Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nvidia kernel emerge problem.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
holymacaroni
n00b
n00b


Joined: 06 Mar 2003
Posts: 63

PostPosted: Thu Jun 19, 2003 10:44 pm    Post subject: Nvidia kernel emerge problem. Reply with quote

hi, everytime i try to emerge the nvidia kernel i get an error saying it needs MTRR enabled in the kernel. well ok, so i recompiled my kernel with MTRR support added in and rebooted. i log back in and do another emerge of the nvidia kernel and i still get the same error. i have agpgart enabled and i know i can always go download the drivers from nvidia's web site, but i'd just like to know what's up with this. thanks!

EDIT: well, it looks like i can't even compile the nvidia kernel i downloaded from nvidia's web site because of an unresolved symbol involving add_mtrr and del_mtrr. i did an ls /proc/mtrr and it showed nothing so what's going on? it says in the kernel help file that once it was enabled and the kernel recompiled, etc that a /proc/mtrr file would be created.
Back to top
View user's profile Send private message
holymacaroni
n00b
n00b


Joined: 06 Mar 2003
Posts: 63

PostPosted: Fri Jun 20, 2003 12:28 am    Post subject: Reply with quote

ok, i fixed it. in case anyone else has this problem, don't forget that /boot isn't mounted by default so what i had to do was:

mount /boot

THEN

cp /usr/src/linux/arch/i386/boot/bzImage /boot

umount /boot

reboot and voila.
Back to top
View user's profile Send private message
scootersmk
Apprentice
Apprentice


Joined: 17 May 2003
Posts: 186
Location: Knoxville, TN

PostPosted: Thu Oct 09, 2003 6:30 am    Post subject: Reply with quote

does this alway need to be done when recompiling kernel or just for certain things
_________________
Long live the gentoo forums!!!!!
Back to top
View user's profile Send private message
Regor
Guru
Guru


Joined: 06 Aug 2002
Posts: 545
Location: 39° 2' 48" N, 120° 59' 2" W

PostPosted: Thu Oct 09, 2003 9:53 am    Post subject: Reply with quote

Whenever you build a new kernel you need to mount /boot and copy it over. Unlike the way that holymacaroni did it you should always keep your old working kernel around in case you screwed up something building the new one. You don't want to be in a situation where you copied over your only good kernel with a bad one and have to boot rescue media to recover.
_________________
Sometimes the appropriate response to reality is to go insane.
-Philip K. Dick, Valis
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum