kernel-source RPM & video card
FedoraForum.org - Fedora Support Forums and Community
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 22
  1. #1
    Wangberg Guest

    kernel-source RPM & video card

    i booted to command prompt and tried to intall the drivers for my NVIDIA FX 5200, and got an error message. So here is a copy of the log file. In addition, i tried to install the 'kernel-source' RPM, but it doesn't seem like it did anything, as it says, "nothing to do". Any light on this issue would be a great help....i'm trying to get my screen from being shifted to the right to centered....it seems many have this issue and nobody can answer the question....but installing specific drivers have been known to help. (i don't understand why this would help because FC6 detects and "auto-configures' my video card and monitor....weird)

    PS. i'm back to FC...bye bye SUSE.

    log file:
    Code:
    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation time: Fri Jan 19 05:46:11 2007
    
    option status:
      license pre-accepted    : false
      update                  : false
      force update            : false
      expert                  : false
      uninstall               : false
      driver info             : false
      no precompiled interface: false
      no ncurses color        : false
      query latest driver ver : false
      OpenGL header files     : true
      no questions            : false
      silent                  : false
      no backup               : false
      kernel module only      : false
      sanity                  : false
      add this kernel         : false
      no runlevel check       : false
      no network              : false
      no ABI note             : false
      no RPMs                 : false
      force tls               : (not specified)
      force compat32 tls      : (not specified)
      X install prefix        : /usr/X11R6
      OpenGL install prefix   : /usr
      compat32 install prefix : (not specified)
      installer install prefix: /usr
      utility install prefix  : /usr
      kernel name             : (not specified)
      kernel include path     : (not specified)
      kernel source path      : (not specified)
      kernel output path      : (not specified)
      kernel install path     : (not specified)
      proc mount point        : /proc
      ui                      : (not specified)
      tmpdir                  : /tmp
      ftp mirror              : ftp://download.nvidia.com
      RPM file list           : (not specified)
    
    Using: nvidia-installer ncurses user interface
    -> License accepted.
    -> No precompiled kernel interface was found to match your kernel; would you li
       ke the installer to attempt to download a kernel interface for your kernel f
       rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
    -> No matching precompiled kernel interface was found on the NVIDIA ftp site;
       this means that the installer will need to compile a kernel interface for
       your kernel.
    -> Performing CC test with CC="cc".
    ERROR: Unable to determine the version of the kernel sources located in
           '/lib/modules/2.6.18-1.2798.fc6/source'.  Please make sure you have
           installed the kernel source files for your kernel and that they are
           properly configured; on Red Hat Linux systems, for example, be sure you
           have the 'kernel-source' RPM installed.  If you know the correct kernel
           source files are installed, you may specify the kernel source path with
           the '--kernel-source-path' command line option.
    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.
    installing 'kernel-source'
    Code:
    [root@localhost ~]# yum install kernel-source
    Loading "installonlyn" plugin
    Setting up Install Process
    Setting up repositories
    livna                     100% |=========================| 1.1 kB    00:00
    core                      100% |=========================| 1.1 kB    00:00
    updates                   100% |=========================| 1.2 kB    00:00
    extras                    100% |=========================| 1.1 kB    00:00
    Reading repository metadata in from local files
    primary.xml.gz            100% |=========================| 110 kB    00:25
    ################################################## 362/362
    primary.xml.gz            100% |=========================| 408 kB    01:19
    ################################################## 1076/1076
    primary.xml.gz            100% |=========================| 536 kB    02:58
    http://fedora.server4you.net/fedora/extras/6/i386/repodata/primary.xml.gz: [Errno 4] Socket Error: timed out
    Trying other mirror.
    primary.xml.gz            100% |=========================| 1.7 MB    06:15
    ################################################## 5543/5543
    Parsing package install arguments
    No Match for argument: kernel-source
    Nothing to do
    [root@localhost ~]# --kernel-source-path
    -bash: --kernel-source-path: command not found
    [root@localhost ~]#

  2. #2
    Join Date
    Oct 2004
    Location
    London, UK
    Posts
    4,995
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    yum install kernel-devel

    should do it (you don't need the kernel*src.rpm for most installs in fedora)

  3. #3
    Wangberg Guest
    sideways, didn't help...same log only different time. here it is:

    Code:
    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation time: Fri Jan 19 17:11:32 2007
    
    option status:
      license pre-accepted    : false
      update                  : false
      force update            : false
      expert                  : false
      uninstall               : false
      driver info             : false
      no precompiled interface: false
      no ncurses color        : false
      query latest driver ver : false
      OpenGL header files     : true
      no questions            : false
      silent                  : false
      no backup               : false
      kernel module only      : false
      sanity                  : false
      add this kernel         : false
      no runlevel check       : false
      no network              : false
      no ABI note             : false
      no RPMs                 : false
      force tls               : (not specified)
      force compat32 tls      : (not specified)
      X install prefix        : /usr/X11R6
      OpenGL install prefix   : /usr
      compat32 install prefix : (not specified)
      installer install prefix: /usr
      utility install prefix  : /usr
      kernel name             : (not specified)
      kernel include path     : (not specified)
      kernel source path      : (not specified)
      kernel output path      : (not specified)
      kernel install path     : (not specified)
      proc mount point        : /proc
      ui                      : (not specified)
      tmpdir                  : /tmp
      ftp mirror              : ftp://download.nvidia.com
      RPM file list           : (not specified)
    
    Using: nvidia-installer ncurses user interface
    -> License accepted.
    -> No precompiled kernel interface was found to match your kernel; would you li
       ke the installer to attempt to download a kernel interface for your kernel f
       rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
    -> No matching precompiled kernel interface was found on the NVIDIA ftp site;
       this means that the installer will need to compile a kernel interface for
       your kernel.
    -> Performing CC test with CC="cc".
    ERROR: Unable to determine the version of the kernel sources located in
           '/lib/modules/2.6.18-1.2798.fc6/source'.  Please make sure you have
           installed the kernel source files for your kernel and that they are
           properly configured; on Red Hat Linux systems, for example, be sure you
           have the 'kernel-source' RPM installed.  If you know the correct kernel
           source files are installed, you may specify the kernel source path with
           the '--kernel-source-path' command line option.
    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.

  4. #4
    Join Date
    Oct 2004
    Location
    London, UK
    Posts
    4,995
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok, in FC6 kernel sources linux/config.h has been removed so edit nv-linux.h and delete/comment out

    #include <linux/config.h>

    edit

    see here also, you may need to run the installer with the '-x' flag apparently
    http://www.nvnews.net/vbulletin/show...&highlight=fc6
    Last edited by sideways; 19th January 2007 at 10:40 AM.

  5. #5
    Wangberg Guest
    Quote Originally Posted by sideways
    ok, in FC6 kernel sources linux/config.h has been removed so edit nv-linux.h and delete/comment out

    #include <linux/config.h>

    edit

    see here also, you may need to run the installer with the '-x' flag apparently
    http://www.nvnews.net/vbulletin/show...&highlight=fc6
    thanks for the help and all, but i have absolutely no idea what you're talking about. linux/conf.h ?? and what is nv-linux.h ?

    please be more specific...

  6. #6
    Join Date
    Oct 2004
    Location
    London, UK
    Posts
    4,995
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    the two posts below address this. If it doesn't solve your problem why not install the kmod-nvidia module from livna: http://fedorasolved.org/video-soluti...dia-yum-livna/

    http://www.nvnews.net/vbulletin/showthread.php?t=79585
    http://www.nvnews.net/vbulletin/showthread.php?t=72490

  7. #7
    Wangberg Guest
    this totally worked and solved my display issue!!! thanks for all the help!

  8. #8
    Wangberg Guest
    i have found that after i reinstall fc6 and do all the updates (including the kernel) i cannot install the nvidia drivers via the link in the previous post. I've also tried the .run file from their website. neither work, both with errors in regards to the new kernel. i think there is some confusion between the old and new...

    here is the code when i tried to yum install.
    Code:
    [root@localhost ~]# yum install kmod-nvidiaLoading "installonlyn" plugin
    Setting up Install Process
    Setting up repositories
    livna                     100% |=========================| 1.1 kB    00:00     
    Reading repository metadata in from local files
    primary.xml.gz            100% |=========================| 106 kB    00:01     
    livna     : ################################################## 335/335
    Parsing package install arguments
    Resolving Dependencies
    --> Populating transaction set with selected packages. Please wait.
    ---> Downloading header for kmod-nvidia to pack into transaction set.
    kmod-nvidia-1.0.9746-1.2. 100% |=========================|  18 kB    00:00     
    ---> Package kmod-nvidia.i686 0:1.0.9746-1.2.6.19_1.2895.fc6 set to be installed
    --> Running transaction check
    --> Processing Dependency: kernel-i686 = 2.6.19-1.2895.fc6 for package: kmod-nvidia
    --> Processing Dependency: nvidia-kmod-common >= 1.0.9746 for package: kmod-nvidia
    --> Restarting Dependency Resolution with new changes.
    --> Populating transaction set with selected packages. Please wait.
    ---> Downloading header for xorg-x11-drv-nvidia to pack into transaction set.
    xorg-x11-drv-nvidia-1.0.9 100% |=========================|  34 kB    00:01     
    ---> Package xorg-x11-drv-nvidia.i386 0:1.0.9746-7.lvn6 set to be updated
    ---> Downloading header for kernel to pack into transaction set.
    kernel-2.6.19-1.2895.fc6. 100% |=========================| 211 kB    00:02     
    ---> Package kernel.i686 0:2.6.19-1.2895.fc6 set to be installed
    --> Running transaction check
    --> Populating transaction set with selected packages. Please wait.
    ---> Package kernel.i586 0:2.6.18-1.2798.fc6 set to be erased
    --> Running transaction check
    
    Dependencies Resolved
    
    =============================================================================
     Package                 Arch       Version          Repository        Size 
    =============================================================================
    Installing:
     kmod-nvidia             i686       1.0.9746-1.2.6.19_1.2895.fc6  livna             2.3 M
    Removing:
     kernel                  i586       2.6.18-1.2798.fc6  installed          43 M
    Installing for dependencies:
     kernel                  i686       2.6.19-1.2895.fc6  updates            16 M
     xorg-x11-drv-nvidia     i386       1.0.9746-7.lvn6  livna             4.9 M
    
    Transaction Summary
    =============================================================================
    Install      3 Package(s)         
    Update       0 Package(s)         
    Remove       1 Package(s)         
    
    Total download size: 24 M
    Is this ok [y/N]: y
    Downloading Packages:
    (1/3): xorg-x11-drv-nvidi 100% |=========================| 4.9 MB    00:30     
    (2/3): kmod-nvidia-1.0.97 100% |=========================| 2.3 MB    00:14     
    (3/3): kernel-2.6.19-1.28 100% |=========================|  16 MB    01:25     
    warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID a109b1ec
    Importing GPG key 0xA109B1EC "Livna.org rpms <rpm-key@livna.org>" from /etc/pki/rpm-gpg/RPM-GPG-KEY-livna
    Is this ok [y/N]: y
    Running Transaction Test
    Finished Transaction Test
    
    
    Transaction Check Error:   package kernel-2.6.19-1.2895.fc6 is already installed
      file /boot/System.map-2.6.19-1.2895.fc6 from install of kernel-2.6.19-1.2895.fc6 conflicts with file from package kernel-2.6.19-1.2895.fc6
      file /boot/config-2.6.19-1.2895.fc6 from install of kernel-2.6.19-1.2895.fc6 conflicts with file from package kernel-2.6.19-1.2895.fc6
      file /boot/symvers-2.6.19-1.2895.fc6.gz from install of kernel-2.6.19-1.2895.fc6 conflicts with file from package kernel-2.6.19-1.2895.fc6
      file /boot/vmlinuz-2.6.19-1.2895.fc6 from install of kernel-2.6.19-1.2895.fc6 conflicts with file from package kernel-2.6.19-1.2895.fc6
    here is the log for when i try to install using the .run file "/var/log/nvidia-installer.log":
    Code:
    nvidia-installer log file '/var/log/nvidia-installer.log'
    creation time: Sun Feb 11 01:19:06 2007
    
    option status:
      license pre-accepted    : false
      update                  : false
      force update            : false
      expert                  : false
      uninstall               : false
      driver info             : false
      no precompiled interface: false
      no ncurses color        : false
      query latest driver ver : false
      OpenGL header files     : true
      no questions            : false
      silent                  : false
      no backup               : false
      kernel module only      : false
      sanity                  : false
      add this kernel         : false
      no runlevel check       : false
      no network              : false
      no ABI note             : false
      no RPMs                 : false
      force tls               : (not specified)
      force compat32 tls      : (not specified)
      X install prefix        : /usr/X11R6
      OpenGL install prefix   : /usr
      compat32 install prefix : (not specified)
      installer install prefix: /usr
      utility install prefix  : /usr
      kernel name             : (not specified)
      kernel include path     : (not specified)
      kernel source path      : (not specified)
      kernel output path      : (not specified)
      kernel install path     : (not specified)
      proc mount point        : /proc
      ui                      : (not specified)
      tmpdir                  : /tmp
      ftp mirror              : ftp://download.nvidia.com
      RPM file list           : (not specified)
    
    Using: nvidia-installer ncurses user interface
    -> License accepted.
    -> No precompiled kernel interface was found to match your kernel; would you li
       ke the installer to attempt to download a kernel interface for your kernel f
       rom the NVIDIA ftp site (ftp://download.nvidia.com)? (Answer: Yes)
    -> No matching precompiled kernel interface was found on the NVIDIA ftp site;
       this means that the installer will need to compile a kernel interface for
       your kernel.
    -> Performing CC test with CC="cc".
    ERROR: Unable to find the kernel source tree for the currently running kernel. 
           Please make sure you have installed the kernel source files for your
           kernel and that they are properly configured; on Red Hat Linux systems,
           for example, be sure you have the 'kernel-source' RPM installed.  If you
           know the correct kernel source files are installed, you may specify the
           kernel source path with the '--kernel-source-path' command line option.
    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.

  9. #9
    Join Date
    Oct 2004
    Location
    London, UK
    Posts
    4,995
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    does 'uname -m' say i586 or i686?

    If i586 then you have a well-know bug from installing Fc6, which can be fixed, it's the first listed in common issues here

    http://fedoraproject.org/wiki/Bugs/FC6Common

    (They have a 'Kernel Fix script' link which you can run)
    Last edited by sideways; 10th February 2007 at 11:02 PM.

  10. #10
    Wangberg Guest
    nope...

    Code:
    [mike@localhost ~]$ uname -m
    i686
    [mike@localhost ~]$

  11. #11
    Join Date
    Oct 2004
    Location
    London, UK
    Posts
    4,995
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    what's the output of 'rpm -qa | grep kernel' and 'ls -l /usr/src/kernels' and 'ls -l /usr/src'

    I can see that you did have a i586 kernel (2798).

    You may have a link in your source directory to 1586 kernel sources, but have an i686 kernel.

    If there is a 586 kernel or kernel source then you need to remove it and install the 1686 one

  12. #12
    leigh123linux Guest
    uname doesn't work for this try

    rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n"|grep kernel|sort

    http://forums.fedoraforum.org/showthread.php?t=139751

  13. #13
    Wangberg Guest
    Code:
    [root@localhost ~]# rpm -qa | grep kernel
    kernel-headers-2.6.19-1.2895.fc6
    kernel-2.6.19-1.2895.fc6
    kernel-2.6.18-1.2798.fc6
    [root@localhost ~]# ls -l /usr/src/kernels
    ls: /usr/src/kernels: No such file or directory
    [root@localhost ~]# ls -l /usr/src/kernel
    ls: /usr/src/kernel: No such file or directory
    [root@localhost ~]# ls -l /usr/src
    total 4
    drwxr-xr-x 7 root root 4096 Feb 11 04:09 redhat
    [root@localhost ~]#
    I did a yum update kernel which updated from kernel-2.6.18-1.2798.fc6 to kernel-2.6.19-1.2895.fc6. I looked up on this site how to delete the old kernels, but read that it was unnecessary and that fc6 automatically uses the newer kernel....this problem however, leads me to believe that the update is corrupt or something.

    more help would be much appreciated.

  14. #14
    Join Date
    Oct 2004
    Location
    London, UK
    Posts
    4,995
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok, you need to yum install kernel-devel, to get the src in /usr/src/kernels.

    Make sure you are booted into the new kernel (uname -a should show kernel 2895)

    and finally, I should have specified the rpm query in the form leigh posted above (and on the fedora site)
    to show the architecture

    Code:
    rpm -qa --queryformat "%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n"|grep kernel|sort

  15. #15
    leigh123linux Guest
    Quote Originally Posted by Wangberg
    Code:
    [root@localhost ~]# rpm -qa | grep kernel
    kernel-headers-2.6.19-1.2895.fc6
    kernel-2.6.19-1.2895.fc6
    kernel-2.6.18-1.2798.fc6
    [root@localhost ~]# ls -l /usr/src/kernels
    ls: /usr/src/kernels: No such file or directory
    [root@localhost ~]# ls -l /usr/src/kernel
    ls: /usr/src/kernel: No such file or directory
    [root@localhost ~]# ls -l /usr/src
    total 4
    drwxr-xr-x 7 root root 4096 Feb 11 04:09 redhat
    [root@localhost ~]#
    I did a yum update kernel which updated from kernel-2.6.18-1.2798.fc6 to kernel-2.6.19-1.2895.fc6. I looked up on this site how to delete the old kernels, but read that it was unnecessary and that fc6 automatically uses the newer kernel....this problem however, leads me to believe that the update is corrupt or something.

    more help would be much appreciated.
    The kernel-devel provides this

    yum install kernel-devel

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Open Source Video Card!
    By tajidinabd in forum Linux Chat
    Replies: 45
    Last Post: 31st October 2007, 03:29 PM
  2. Replies: 2
    Last Post: 18th June 2005, 08:36 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •