kernel 2.6.27.7 + nvidia driver = trouble
I've upgraded the kernel to 2.6.27.7 and tried installing the latest nVidia driver. The installation fails right at the end, on a kernel error:
Code:
(the version magic error is also in dmesg output) It looks to me like the nvidia installer thinks I am running the SMP kernel, which I'm not. Any ideas on how get the installer to look at the correct kernel? |
Problem solved: switched to the SMP kernel in the distro. I guess there's no harm in running it even if my hardware is not multicore/processor.
|
Glad it is working.
Not only is there no harm in running the SMP kernel, I believe it is recommended unless you have specific hardware issues with very old system. |
Hello:
I have exactly the same problem. My PC is a AMD Athlon XP 2600+ and my graphic card is a Nvidia GeForce 5200. I can't use the hugesmp.s because it doesn't boot. I have posted my problem here: nvnews.net/vbulletin/showthread.php?t=128908 If I try to compile the module "by hand" I get this error: FATAL: Error inserting nvidia (/lib/modules/2.6.27.7/kernel/drivers/video/nvidia/nvidia.ko): Invalid module format The final line of my dmesg: nvidia: version magic '2.6.27.7-smp SMP mod_unload 686 ' should be '2.6.27.7 mod_unload 486 ' I don't paste the log of the Nvidia's installer because is the same that Lord Zoltar put it on Finally, my gcc-v: my gcc -v: Reading specs from /usr/lib/gcc/i486-slackware-linux/4.2.4/specs Target: i486-slackware-linux Configured with: ../gcc-4.2.4/configure --prefix=/usr --enable-shared --enable-languages=ada,c,c++,fortran,java,objc --enable-threads=posix --enable-__cxa_atexit --disable-checking --with-gnu-ld --verbose --with-arch=i486 --target=i486-slackware-linux --host=i486-slackware-linux Thread model: posix gcc version 4.2.4 Unfortunately it seems that I can't to change to 2.6.27.7-smp ¿Any idea? ¿Maybe must I configure the gcc for my kernel? Sorry if I say anything with nonsense And sorry for my bad english Thank you David |
From CHANGES_AND_HINTS.TXT
Quote:
Quote:
|
It's works!!!!!!!
Thank you allend. Thank you very much.
I downloaded the kernel-headers, executed the script, installed the kernel-headers and I compiled again the driver...but succesfully now!! Because I live in Spain. If not, you would be invited to a tons of beers! :-) I was more than a month trying it :-| Thank you! David |
@davidehm
I appreciate your thanks, but feel that it would be much better directed to Pat V. and to ppr:kut who maintains the nVidia Slackbuild scripts. Also, welcome to LQ. Now that you know how to ask a question, hopefully other problems may take less than a month to resolve. PS- Please do not apologise for your English. It is very much better than my Spanish! |
Quote:
I'll crying for help soon, I'm afraid :) David |
I'm having a similar problem building an NVidia driver for my 2.6.27.7 non-smp kernel in slack 12.2. I have run the linux-2.6.27.7-nosmp-sdk patch to no avail. I just upgraded this machine to Slack 12.2 and it will not boot the smp kernel, failing to mount hda2. In Slack 12.1 I ran the smp generic kernel without problem and built the NVidia driver without problem. My hardware is old, Athlon 1800+, MSI MB, PATA disc. Here is an excript from the nvidialog file in /var/log:
........................................................................................ make -C /lib/modules/2.6.27.7/build \ KBUILD_SRC=/usr/src/linux-2.6.27.7 \ KBUILD_EXTMOD="/tmp/selfgz4316/NVIDIA-Linux-x86-173.14.12-pkg1/usr/src/nv" -f /usr/src/linux-2.6.27.7/Makefile \ modules test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \ echo; \ echo " ERROR: Kernel configuration is invalid."; \ echo " include/linux/autoconf.h or include/config/auto.conf are mis sing."; \ echo " Run 'make oldconfig && make prepare' on kernel src to fix it ."; \ echo; \ /bin/false) mkdir -p ............................................................................................. I tried running "make oldconfig && make prepare" on my source tree but it had no effect on driver compilation, producing identical error log message. I have not yet built a custom kernel. Any ideas? Mark |
Hi mbuechle, why are you using the non-smp kernel?
Anyway, I think that if you must to use the nosmp-sdk patch, you must have installed the huge.s kernel. Sorry if I say something obviously that you know, but I´m noob :-) |
Davidehm, I'm using the non-SMP kernel because my desktop will not boot the SMP one. It did in 12.1 but not 12.2, The boot sequence stops when the boot partition mount is first attempted complaining that the /dev/hda2 does not exist. This happens with either the huge or the generic SMP kernels. Both the huge and the generic non-SMP kernel will boot, the latter with an initrd for reiserfs support. I ran the nosmp-sdk patch but the NVidia driver will not build. I was able to compile a kernel module for my Wacom Graphire tablet without issue so I think the kernel source is OK. I'm not a programmer, so I don't really know how to go about troubleshooting this further except maybe to get a new motherboard,Proc, etc.
|
For GeForce 5 GPU's, I believe it was driver release 173.14.15 that provided support for the 2.6.27 kernel. The latest, as of this post, is 173.14.18.
You may want to check this link periodically. It seems as if you folks need to use a slightly updated driver. -Andy |
Hello:
If it can be useful for you, I downloaded the x86-173.14.16 (BTW, I didn't know that they got out the drivers so oftenly) :) |
All times are GMT -5. The time now is 05:22 PM. |