Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 02-04-06, 03:07 PM   #1
BSD
Registered User
 
BSD's Avatar
 
Join Date: Jun 2004
Posts: 81
Default [Upgraded to 2.6, kernel module build error]

I just upgraded to the 2.6 kernel, and everything except the nvidia kernel module seems to work. I used the nvidia .run installer to install the latest linux drivers, but it said: ERROR: unable to build the nvidia kernel module.
I attached the nvidia-installer.log file. All help is greatly appreciated.
Attached Files
File Type: log nvidia-installer.log (19.5 KB, 423 views)
BSD is offline   Reply With Quote
Old 02-04-06, 04:07 PM   #2
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: [Upgraded to 2.6, kernel module build error]

This looks like a problem with the kernel source tree you're building against:


/usr/src/linux-2.6.15.2/Makefile modules
/usr/src/linux-2.6.15.2/Makefile:486: .config: No such file or directory
...
make -rR -f /usr/src/linux-2.6.15.2/scripts/Makefile.modpost
/usr/src/linux-2.6.15.2/scripts/Makefile.modpost:38: .config: No such file or directory
make[4]: *** No rule to make target `.config'. Stop.
zander is offline   Reply With Quote
Old 02-04-06, 09:34 PM   #3
BSD
Registered User
 
BSD's Avatar
 
Join Date: Jun 2004
Posts: 81
Default Re: [Upgraded to 2.6, kernel module build error]

What do you suggest I do to fix this problem? What is wrong with it? I'm pretty sure I had the same problem with 2.6.13 ( I could be wrong).

Last edited by BSD; 02-04-06 at 10:21 PM.
BSD is offline   Reply With Quote
Old 02-05-06, 08:04 AM   #4
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: [Upgraded to 2.6, kernel module build error]

You need to install the correct configuration file as .config and configure the kernel source tree (this used to be possible with `make prepare-all`, but the KBUILD rules may have changed recently). Alternatively, rebuild/reinstall your kernel and be sure not to clean it with `make mproper` afterwards.
zander is offline   Reply With Quote
Old 02-05-06, 01:10 PM   #5
BSD
Registered User
 
BSD's Avatar
 
Join Date: Jun 2004
Posts: 81
Default Re: [Upgraded to 2.6, kernel module build error]

Quote:
Originally Posted by zander
Alternatively, rebuild/reinstall your kernel and be sure not to clean it with `make mproper` afterwards.
I actually did make mrproper before I compiled. I did it in this order:
make mrproper
make menuconfig
make -j5 bzImage
make -j5 modules
make modules_install
move system.map, bzimage, vmlinuz to /boot
lilo
rm /etc/modprobe.conf
generate-modprobe.conf
depmod 2.6.15.2

Is it not correct?
BSD is offline   Reply With Quote
Old 02-05-06, 09:04 PM   #6
BSD
Registered User
 
BSD's Avatar
 
Join Date: Jun 2004
Posts: 81
Default Re: [Upgraded to 2.6, kernel module build error]

Alright, now how do I have the nvidia module installed for both 2.4 and 2.6. Everytime I boot 2.4 now, I have to re-install the drivers to startx (and same if I switch back to 2.6). Thanks for your help.
BSD is offline   Reply With Quote
Old 02-06-06, 06:39 AM   #7
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: [Upgraded to 2.6, kernel module build error]

After you've installed the driver with either kernel running, you can add a kernel module for the other to the installation with nvidia-installer's -K option.
zander is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
Corrupted display - 302.17 - Dell Precision T3500 (G98 [Quadro NVS 295]) gbailey NVIDIA Linux 1 06-27-12 10:24 AM
UEFI+Nvidia - NVRM: Your system is not currently configured to drive a VGA console... interzoneuk NVIDIA Linux 0 06-26-12 04:51 AM
xorg locks-up with newest nvidia drivers w/ vdpau. theroot NVIDIA Linux 1 06-24-12 11:04 AM
Diablo 3 build guide: Barbarian, Demon Hunter, Monk, Witch Doctor and Wizard News Archived News Items 0 05-12-12 12:00 PM
X Failed to load NVdriver c00lr4c3r NVIDIA Linux 13 10-22-02 01:44 PM

All times are GMT -5. The time now is 07:17 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.