View previous topic :: View next topic |
Author |
Message |
WillyumYum n00b
Joined: 05 Nov 2004 Posts: 45
|
Posted: Sat Mar 19, 2005 9:02 pm Post subject: modprobe pointing to the wrong source??? [fixed, not solved] |
|
|
I'm trying to do "modprobe nvidia" and i'm getting the error "FATAL: Could not load /lub/modules/2.6.11-gentoo-r3/modules.dep: No such file or directory" and the reason is because I'm using the r4 source. I'm not sure why modprobe is pointing to the wrong thing, but how should i go about fixing this?
Thanks _________________ Cheers,
Will
"PS This is what part of the alphabet would look like if Q and R were eliminated" - Mitch Hedberg
Last edited by WillyumYum on Thu Mar 24, 2005 3:48 pm; edited 2 times in total |
|
Back to top |
|
|
Sith_Happens Veteran
Joined: 15 Dec 2004 Posts: 1807 Location: The University of Maryland at College Park
|
Posted: Sat Mar 19, 2005 9:17 pm Post subject: |
|
|
Verify that the /usr/src/linux symlink is pointing to the correct kernel source directory in /usr/src/ (/usr/src/2.6.11-gentoo-r4 I'm guessing), then run: Code: | cd /usr/src/linux
make modules_install | That should fix your problem. Whenever you want to switch kernel sources, emerge them with this command (for gentoo-dev-sources in this example): Code: | USE="symlink" emerge gentoo-dev-sources | This way portage will change the /usr/src/linux symlink for you. If you don't emerge the sources with the symlink useflag, and you don't change the symlink yourself, then /usr/src/linux will still point to your old kernel source directory. _________________ "That question was less stupid; though you asked it in a profoundly stupid way."
I'm the brains behind Jackass! | Tutorials: Shorewall |
|
Back to top |
|
|
WillyumYum n00b
Joined: 05 Nov 2004 Posts: 45
|
Posted: Sat Mar 19, 2005 10:01 pm Post subject: |
|
|
i checked the symlink and it's pointing to the proper source; I'm running the 2005.0 installation right now, so there was no kernel on here prior to this... not sure what's causing this... _________________ Cheers,
Will
"PS This is what part of the alphabet would look like if Q and R were eliminated" - Mitch Hedberg |
|
Back to top |
|
|
Sith_Happens Veteran
Joined: 15 Dec 2004 Posts: 1807 Location: The University of Maryland at College Park
|
Posted: Sat Mar 19, 2005 11:14 pm Post subject: |
|
|
Try running this again, see if if fixes the problem. Code: | cd /usr/src/linux
make modules_install |
_________________ "That question was less stupid; though you asked it in a profoundly stupid way."
I'm the brains behind Jackass! | Tutorials: Shorewall |
|
Back to top |
|
|
WillyumYum n00b
Joined: 05 Nov 2004 Posts: 45
|
Posted: Sun Mar 20, 2005 5:21 pm Post subject: |
|
|
I'm still getting the same error i was initially getting after doing everything you've said; Thanks for the help so far. _________________ Cheers,
Will
"PS This is what part of the alphabet would look like if Q and R were eliminated" - Mitch Hedberg |
|
Back to top |
|
|
Sith_Happens Veteran
Joined: 15 Dec 2004 Posts: 1807 Location: The University of Maryland at College Park
|
Posted: Mon Mar 21, 2005 2:23 am Post subject: |
|
|
Try running depmod (the program that should create modules.dep), and make sure you copied /usr/src/linux/System.map to /boot. _________________ "That question was less stupid; though you asked it in a profoundly stupid way."
I'm the brains behind Jackass! | Tutorials: Shorewall |
|
Back to top |
|
|
WillyumYum n00b
Joined: 05 Nov 2004 Posts: 45
|
Posted: Mon Mar 21, 2005 3:56 am Post subject: |
|
|
when i try to run depmod i still get an error saying
Code: |
WARNING: couldn't open directory /lib/modules/2.6.9-gentoo-r1: No such file or directory
FATAL: Could not open /lib/modules/2.6.9-gentoo-r1/modules.dep.temp for writing: No such file or directory
|
keep in mind i'm trying to install my system with 2.6.11-gentoo-r4 and it's a clean install from liveCD with the newest possible source, portage tree and stage i could find on the mirrors -- i don't know why it's pointing to the wrong kernel. _________________ Cheers,
Will
"PS This is what part of the alphabet would look like if Q and R were eliminated" - Mitch Hedberg |
|
Back to top |
|
|
WillyumYum n00b
Joined: 05 Nov 2004 Posts: 45
|
Posted: Mon Mar 21, 2005 4:46 pm Post subject: |
|
|
don't mean to be annoying, but.... BUMP _________________ Cheers,
Will
"PS This is what part of the alphabet would look like if Q and R were eliminated" - Mitch Hedberg |
|
Back to top |
|
|
alkan Guru
Joined: 06 Aug 2004 Posts: 385 Location: kasimlar yaylasi
|
Posted: Mon Mar 21, 2005 5:08 pm Post subject: |
|
|
may be stupid suggestion, but is your 'uname -r' points to the the right kernel, If not i say your are still running on the old kernel. |
|
Back to top |
|
|
WillyumYum n00b
Joined: 05 Nov 2004 Posts: 45
|
Posted: Mon Mar 21, 2005 6:41 pm Post subject: |
|
|
i aborted the install and i'm starting over, but when i get stuck at that point again (which i have 3 times now) i will check that...Anyone else, please post other suggestions if they come to mind; when i get to that point, if anything works i will post here with problem solved and what fixed it:) _________________ Cheers,
Will
"PS This is what part of the alphabet would look like if Q and R were eliminated" - Mitch Hedberg |
|
Back to top |
|
|
alkan Guru
Joined: 06 Aug 2004 Posts: 385 Location: kasimlar yaylasi
|
Posted: Mon Mar 21, 2005 7:16 pm Post subject: |
|
|
I assume you are not trying modprobe form whithin livecd. |
|
Back to top |
|
|
WillyumYum n00b
Joined: 05 Nov 2004 Posts: 45
|
Posted: Thu Mar 24, 2005 3:48 pm Post subject: |
|
|
alkan wrote: | I assume you are not trying modprobe form whithin livecd. |
i had chrooted into my gentoo installation, but i think i was just trying to install the drivers at the wrong time --- everything is working great now, and I've got my second gentoo installation up and running just how i like it... now i need to customize:) _________________ Cheers,
Will
"PS This is what part of the alphabet would look like if Q and R were eliminated" - Mitch Hedberg |
|
Back to top |
|
|
T0M3K n00b
Joined: 19 Mar 2004 Posts: 67 Location: Brooklyn, NY
|
Posted: Thu Apr 07, 2005 9:30 pm Post subject: |
|
|
Same problem, but I established that for some strange reason, modules are attempted to be taken from live CD
uname -a matches the livecd and moprobe and other tools match the mysterious -r3 kernel. _________________ http://www.dslr.net/ |
|
Back to top |
|
|
|