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

Newegg Daily Deals

Reply
 
Thread Tools
Old 03-10-05, 05:11 AM   #1
varqoquau
Registered User
 
Join Date: Mar 2005
Posts: 2
Default make module-install bug ?

Hello,

It seems that make module-install uses the include files in /usr/src/linux, but it uses installs to the running kernel's module tree and not the one one generated by a make modules-install run in /usr/src/linux.
This means that if you are compiling a kernel 2.6.10.4GB under a 2.6.10 you have to reboot twice : first to switch to kernel 2.6.10.4GB (X will fail as loading module nvidia will fail) then make module-install for the nvidia module, then reboot.

I am wrong ? This bug can easily be fixed by retrieving the full name of the built kernel from the .config :
eval $(grep CONFIG_LOCALVERSION .config)
KERNEL_VERSION=$(grep "Linux kernel version" .config | sed "s/# Linux kernel version: //")
KNAME=$KERNEL_VERSION$CONFIG_LOCALVERSION


GaŽl Varoquaux
varqoquau 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
Mageia 2 Cannot Install 71.86.15 for Riva TNT/TNT2 kbulgrien NVIDIA Linux 3 06-29-12 08:27 AM
X Failed to load NVdriver c00lr4c3r NVIDIA Linux 13 10-22-02 01:44 PM
Error messages... HELP!!!! Imperito NVIDIA Linux 3 09-24-02 10:46 PM
GForce drivers installed...but dont work tomfullery NVIDIA Linux 6 09-22-02 08:23 AM
Need help to get the X to work on my Acer TravelMate 630 knchee NVIDIA Linux 16 09-19-02 10:16 PM

All times are GMT -5. The time now is 08:45 PM.


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