No luck with nvidia-x11-drv on Fedora Core 6.

Matthias Saou thias at spam.spam.spam.spam.spam.spam.spam.egg.and.spam.freshrpms.net
Sun Oct 29 22:46:32 CET 2006


Philippe A. wrote :

> I am unable to get nvidia-x11-drv to compile during boot. I'm told the
> kernel source is not installed. I tried to do the dkms procedure manually
> but stil have no luck. Can anyone tell me what I'm missing or doing wrong? I
> build software from time to time, but I don't keep up very well with changes
> in the kernel build strategy.
> 
> Basically, I tried that:
> 
> yum install nvidia-x11-drv
> cd /usr/src/nvidia*
> dkms build -m nvidia -v 1.0.9626-2 -k `uname -r` -a `uname -p` -c
> ./dkms.conf --kernelsourcedir=/usr/src/linux/
> 
> dkms reports:
> 
> ---8<---
> Preparing kernel 2.6.18-1.2798.fc6 for module build:
> (This is not compiling a kernel, just preparing kernel symbols)
> Storing current .config to be restored when complete
> Running Generic preparation routine
> make mrproper......
> using /usr/src/linux//configs/kernel-2.6.18-i686.config
> make oldconfig......
> make prepare-all........
> 
> Building module:
> cleaning build area....
> make KERNELRELEASE=2.6.18-1.2798.fc6 module KERNDIR=/lib/modules/2.6.18-
> 1.2798.fc6 IGNORE_CC_MISMATCH=1....(bad exit status: 2)
> 
> Error! Bad return status for module build on kernel: 2.6.18-1.2798.fc6(i686)
> Consult the make.log in the build directory
> /var/lib/dkms/nvidia/1.0.9626-2/build/ for more information.
> ---8<---
> 
> In spite of my best efforts to help dkms, it reports the following in the
> make.log:
> 
> *** Unable to determine the target kernel version. ***
> 
> /usr/src/linux is a symlink to /usr/src/redhat/BUILD/kernel-2.6.18/linux-
> 2.6.18.i686, which I deployed with:
> 
> rpmbuild kernel-2.6.spec -bp --target i686
> 
> uname -a reports:
> 
> Linux phil 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:54:20 EDT 2006 i686 i686
> i386 GNU/Linux
> 
> I have copied the corresponding config in my kernel source dir.

You're doing some pretty weird stuff! Why rebuild an entire kernel? And
why not just try and use its kernel-devel sub-package?
But could the very first issue not simply be the "i586 kernel is
installed instead of i686" bug if you were already seeing it with the
original kernel? It's been mentioned here already :

http://fedoraproject.org/wiki/Bugs/FC6Common
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=211941

Matthias

-- 
Clean custom Red Hat Linux rpm packages : http://freshrpms.net/
Fedora Core release 6 (Rawhide) - Linux kernel 2.6.18-1.2798.fc6
Load : 0.00 0.03 0.04


More information about the freshrpms-list mailing list