Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Kernel Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th May 2007, 00:58
andrewa andrewa is offline
Junior Member
 
Join Date: May 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Question XEN flavour stops GUI with Nvidia card

Hi!
I struggled installing FC6 on a 32 Intel CPU with NV6200 card:
- If I start installation in graphics mode, I get coloured lines on the screen when CPU enters graphics mode.
- If I install in text mode, installation is OK and FC starts in text mode. When I issue "init 5" command from the text mode screen, the same mess appears on the screen.
Kernel version is 2.6.18-1.2798fc6xen. I try installing with skipddc, noprobe, resolution= . . . . - no difference.
/etc/X11/xorg.conf has a line:
driver "nv"
I read, that "..NV does not support XEN . . " Is this the problem in my case? How can I install FC6 without XEN? Or can I enter GUI some other way with Nvidia card in the CPU? I had previously installed from same DVD on a CPU with other than NV graphics card and FC6 works OK.
Please, help.
Andrew
Reply With Quote
Sponsored Links
  #2  
Old 24th May 2007, 19:33
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Do you need the Xen kernel? If not, search for other kernels with
Code:
yum search kernel
or
Code:
yum search linux
If you find a suitable kernel, you can install it like this:
Code:
yum install package_name
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 24th May 2007, 23:03
andrewa andrewa is offline
Junior Member
 
Join Date: May 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Is there an easy way

Thanks for the advice!
I do not need XEN, but to use yum command for the replacement of the current XEN kernel, I need valid LAN card tuning to access internet and I cannot do it in text mode. First, I am not quite familiar with the config files and the syntactics, on the other I cannot open even gedit - it says it cannot find display! I have a couple of books about Linux and I can learn (with disgust) about editing the correct config file, but from terminal I cannot even edit files!
Is it possible, that FC6 is announced for download on fedoraproject site only with XEN-kernel, which makes it impossible to install on any CPU with Nvidia card?!!
I am not in love with Windows, but my hair stands on end when I have to struggle with the results of short-witted problems in Linux.
Andrew
Reply With Quote
  #4  
Old 25th May 2007, 15:34
andrewa andrewa is offline
Junior Member
 
Join Date: May 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Where are kernel source files?

Hi!
I sweated during the night over XEN-kernel replacement and moved quite ahead: installed 2.6.20-1.2948.fc6 kernel for i686 and also kernel-devel, which is required by NVIDIA driver. Still I get stuck in the following problem: NV driver cannot find the folder with the source files and I have no idea what path to point here:
sh NVIDIA-Linux-x86-1.0-9755-pkg1.run --kernel-source-path /???????

I pointed to /lib/modules/2.6.20-1.2948.fc6, but get an error message, that:
/lib/modules/2.6.20-1.2948.fc6/include/linux/kernel.h is not found.

No command for file searching from text window is famous to me. Can You give a tip where to tell NV to look for the kernel source files?
Andrew
Reply With Quote
  #5  
Old 25th May 2007, 16:58
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Quote:
Originally Posted by andrewa
I pointed to /lib/modules/2.6.20-1.2948.fc6, but get an error message, that:
/lib/modules/2.6.20-1.2948.fc6/include/linux/kernel.h is not found.

No command for file searching from text window is famous to me. Can You give a tip where to tell NV to look for the kernel source files?
Andrew
What's the output of
Code:
updatedb
locate kernel.h
?

Quote:
on the other I cannot open even gedit - it says it cannot find display! I have a couple of books about Linux and I can learn (with disgust) about editing the correct config file, but from terminal I cannot even edit files!
You can use gedit only if a desktop is installed on the system and you're logged in on the desktop. On the command line, you can use an editor like vi:

http://www.howtoforge.com/faq/12_15_en.html

eth0's network configuration is in /etc/sysconfig/network-scripts/ifcfg-eth0.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 26th May 2007, 13:56
andrewa andrewa is offline
Junior Member
 
Join Date: May 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Compiler incompatibility issue

Thanks for the location command! Compilation is done. Still there is a problem, presumably with compiler versions. Perhaps same version, which had been used for the kernel, should be installed now. Below is the end of the Nvidia driver install.log file. Can You give further instructions? Maybe best way out is to use a linux-friendly video card!
Andrew

NVIDIA: left KBUILD.
-> done.
-> Kernel module compilation complete.
ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most
frequently when this kernel module was built against the wrong or
improperly configured kernel sources, with a version of gcc that differs
from the one used to build the target kernel, or if a driver such as
rivafb/nvidiafb is present and prevents the NVIDIA kernel module from
obtaining ownership of the NVIDIA graphics device(s).

Please see the log entries 'Kernel module load error' and 'Kernel
messages' at the end of the file '/var/log/nvidia-installer.log' for
more information.
-> Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko':
-1 Invalid module format
-> Kernel messages:
Bluetooth: Core ver 2.11
NET: Registered protocol family 31
Bluetooth: HCI device and connection manager initialized
Bluetooth: HCI socket layer initialized
Bluetooth: L2CAP ver 2.8
Bluetooth: L2CAP socket layer initialized
Bluetooth: RFCOMM socket layer initialized
Bluetooth: RFCOMM TTY layer initialized
Bluetooth: RFCOMM ver 1.8
Bluetooth: HIDP (Human Interface Emulation) ver 1.1
SELinux: initialized (dev autofs, type autofs), uses genfs_contexts
SELinux: initialized (dev autofs, type autofs), uses genfs_contexts
SELinux: initialized (dev autofs, type autofs), uses genfs_contexts
eth0: no IPv6 routers present
audit(1180180908.522:4): enforcing=0 old_enforcing=1 auid=4294967295
audit(1180180908.523:5): user pid=2501 uid=81 auid=4294967295
subj=system_u:system_r:system_dbusd_t:s0 msg='avc: received setenforce
notice (enforcing=0)
: exe="?" (sauid=81, hostname=?, addr=?, terminal=?)'
nvidia: version magic '2.6.20-1.2948.fc6 SMP mod_unload 686 4KSTACKS '
should be '2.6.20-1.2948.fc6 SMP mod_unload 586 4KSTACKS '
audit(1180182110.308:6): enforcing=1 old_enforcing=0 auid=4294967295
audit(1180182110.313:7): user pid=2501 uid=81 auid=4294967295
subj=system_u:system_r:system_dbusd_t:s0 msg='avc: received setenforce
notice (enforcing=1)
: exe="?" (sauid=81, hostname=?, addr=?, terminal=?)'
audit(1180182115.173:8): enforcing=0 old_enforcing=1 auid=4294967295
audit(1180182115.174:9): user pid=2501 uid=81 auid=4294967295
subj=system_u:system_r:system_dbusd_t:s0 msg='avc: received setenforce
notice (enforcing=0)
: exe="?" (sauid=81, hostname=?, addr=?, terminal=?)'
nvidia: version magic '2.6.20-1.2948.fc6 SMP mod_unload 686 4KSTACKS '
should be '2.6.20-1.2948.fc6 SMP mod_unload 586 4KSTACKS '
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.
Reply With Quote
  #7  
Old 26th May 2007, 20:26
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
Default

Hm... You could try another gcc version (run
Code:
yum search gcc
to get a list of available gcc packages).

BTW, I'd switch off SELinux. I'm not sure if this is the problem here, but I wouldn't be surprised.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 27th May 2007, 00:25
andrewa andrewa is offline
Junior Member
 
Join Date: May 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

The problem turned to be in the mixture of i586 kernel, mistakenly installed, and i686 kernel devel. That is why the compilation, which is done on the base of i686 source files cannot be installed in i586 kernel.
It is a FC bug, known to the Nvidia guys. I replaced i586 with i686 kernel files to match the source files (and my processor) and the driver was installed successfully.
I handled all text mode operations with disgust, but finally learned a lot about FC to help me arrange the several Linux machines in our company. Still wondering: why FC and NV guys do not pay more attention to such simple welfares like installing a graphic system from within a graphic environment. Having the distro CD/DVD should be enough to accomplish it without digging into the config jungle with vim!
Andrew
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Integrated Graphics Controller and PCI Dual Head Graphics Card awgieD Technical 2 8th September 2006 11:08


All times are GMT +2. The time now is 01:35.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.