View Single Post
Old 08-30-04, 01:30 PM   #1
laktose
Registered User
 
Join Date: Jan 2004
Posts: 16
Default nvidia.ko invalid module format (version magic problem)

Alright, so at this point i'm stumped.
I compiled kernel 2.6.8.1-3mdk last night and installed it under /lib/modules/2.6.8.1-3mdkcustom
All went as planned
But, when it comes to installing the NVIDIA module I receive the "Invalid module format" error upon running modprobe nvidia.
In my log output it shows:
Aug 30 14:22:34 Isostatic-rebound kernel: nvidia: version magic '2.6.8.1-3mdk 686 gcc-3.4' should be '2.6.8.1-3mdkcustom 686 gcc-3.4'

showing that its saying my kernel is 2.6.8.1-3mdk instead of mdkcustom..
I've tried "sh NVIDIA-blahlblah --kernel-name=2.6.8.1-3mdkcustom" and tried including the EXTRAVERSION before hand. Neither works.
I can "modprobe -f nvidia" and then "init 5" from console, but thats a bit more work than I had hoped to do simply to drop to a X session..
I know there must be some way to get it to change that output, some nvidia file I can change and hardcode the version in or something, but I can't figure it out..

If anyone can help I'd really appreciate it..
Thanks
laktose is offline   Reply With Quote