Error installing nvidia driver on x86_64 using dkms ("bad exit
10")
André Costa
blueser at gmail.com
Thu Aug 9 04:27:48 CEST 2007
Hi,
On 8/8/07, André Costa <blueser at gmail.com> wrote:
> Hi Laurent,
>
> On 8/8/07, Laurent Caillat-Vallet <caillat at cc.in2p3.fr> wrote:
> > Hi,
> >
> > André Costa wrote :
> > > I didn't know where to look for logs (neither /var/log/messages nor
> > > dmesg shows me anything about this failure), but I just found this
> > > thread which might be helpful:
> >
> > There should be a 'make.log' or 'build.log' (or something like that)
> > in /var/lib/dkms/nvidia/100.14.11-1/build/ .
> > It might help.
>
> Thks a lot, will look for it as soon as I get home. In the meantime,
> if anyone has already dealt with this issue, please share your
> experiences ;-)
>
> Regards,
>
> Andre
Well, Laurent was right. 'make.log' indeed tells the story:
[...]
ld -m elf_x86_64 -r -o
/var/lib/dkms/nvidia/100.14.11-1.fc7/build/nvidia.o
/var/lib/dkms/nvidia/100.14.11-1.fc7/build/nv-kernel.o
/var/lib/dkms/nvidia/100.14.11-1.fc7/build/nv.o
/var/lib/dkms/nvidia/100.14.11-1.fc7/build/nv-vm.o
/var/lib/dkms/nvidia/100.14.11-1.fc7/build/os-agp.o
/var/lib/dkms/nvidia/100.14.11-1.fc7/build/os-interface.o
/var/lib/dkms/nvidia/100.14.11-1.fc7/build/os-registry.o
/var/lib/dkms/nvidia/100.14.11-1.fc7/build/nv-i2c.o
/var/lib/dkms/nvidia/100.14.11-1.fc7/build/nvacpi.o
ld: Relocatable linking with relocations from format elf32-i386
(/var/lib/dkms/nvidia/100.14.11-1.fc7/build/nv-kernel.o) to format
elf64-x86-64 (/var/lib/dkms/nvidia/100.14.11-1.fc7/build/nvidia.o) is
not supported
make[3]: *** [/var/lib/dkms/nvidia/100.14.11-1.fc7/build/nvidia.o] Error 1
make[2]: *** [_module_/var/lib/dkms/nvidia/100.14.11-1.fc7/build] Error 2
NVIDIA: left KBUILD.
nvidia.ko failed to build!
make[1]: *** [module] Error 1
make: *** [module] Error 2
It turns out I installed 32bit version of the driver by mistake
(nv-kernel.o was indeed a 32bit binary). Installing the x86_64 version
fixed the problem.
Thks Laurent for your help =)
Regards,
Andre
More information about the freshrpms-list
mailing list