XEN flavour stops GUI with Nvidia card

Discussion in 'Kernel Questions' started by andrewa, May 23, 2007.

  1. andrewa

    andrewa New Member

    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
     
  2. falko

    falko Super Moderator

    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 [I]package_name[/I]
     
  3. andrewa

    andrewa New Member

    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
     
  4. andrewa

    andrewa New Member

    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
     
  5. falko

    falko Super Moderator

    What's the output of
    Code:
    updatedb
    locate kernel.h
    ?

    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.
     
  6. andrewa

    andrewa New Member

    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.
     
  7. falko

    falko Super Moderator

    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.
     
  8. andrewa

    andrewa New Member

    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
     

Share This Page