View previous topic :: View next topic |
Author |
Message |
pakkypnut n00b
Joined: 10 Jul 2002 Posts: 26 Location: Canberra
|
Posted: Wed Jul 10, 2002 4:50 am Post subject: modprobe fails to find modules.dep |
|
|
Anyone help
After using Gerks stage3 tarball, everything went ok including compiling the kernel. But on reboot, it can't find my modules, it is looking in /libs/modules/2.4.19-r3 directory which doesn't exist, the kernel I compiled is r6, anyway I can fix this? should I have done an export CONFIG_PROTECT= before emerge ppc-sources?
Any info would help
ps I created a link pointing 2.4.19-r3 at the r6 directory, but it keeps coming back with link level to deep (too many links) so that failed... _________________ And some said that even the trees had been a bad move, and that no one should ever have left the oceans.
Douglas Adams - Hitchhikers Guide to the Galaxy |
|
Back to top |
|
|
delta407 Bodhisattva
Joined: 23 Apr 2002 Posts: 2876 Location: Chicago, IL
|
Posted: Wed Jul 10, 2002 4:51 am Post subject: |
|
|
Did you make modules_install? _________________ I don't believe in witty sigs. |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Wed Jul 10, 2002 5:18 am Post subject: |
|
|
Are you sure your bootloader is picking up the right kernel? Perhaps yaboot.conf needs editing or ybin needs rerunning. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
pakkypnut n00b
Joined: 10 Jul 2002 Posts: 26 Location: Canberra
|
Posted: Wed Jul 10, 2002 6:16 am Post subject: |
|
|
I have done a make modules_install, everything was done properly, and all the files are there, except that they are in /lib/modules/2.4.19-r6, I have put an extra line in modules.conf so that depmod, insmod etc can find the right directory, but still no luck - and I'm using bootx as a loader so I have no clue as to how to configure this, should i be using yaboot? (my ppc is a mac 7500/200) _________________ And some said that even the trees had been a bad move, and that no one should ever have left the oceans.
Douglas Adams - Hitchhikers Guide to the Galaxy |
|
Back to top |
|
|
AfterShoxX n00b
Joined: 09 Jul 2002 Posts: 16
|
Posted: Wed Jul 10, 2002 8:38 am Post subject: |
|
|
I encountered the same problem when compiling my kernel.
I think, although I'm not sure, that it was because I compiled the kernel while I booted via the Gentoo Boot CD (thought maybe the kernel from the CD was rc3). I remade the kernel (make dep; make clean; make vmlinux; make modules; make modules_install) while booted from the HD and I the error disappeared. |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Wed Jul 10, 2002 2:52 pm Post subject: |
|
|
pakkypnut wrote: | and I'm using bootx as a loader |
Aha - then did you copy your new vmlinux file to BootX's Linux Kernels folder? _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
pakkypnut n00b
Joined: 10 Jul 2002 Posts: 26 Location: Canberra
|
Posted: Wed Jul 10, 2002 10:38 pm Post subject: |
|
|
now I have, and it works thx _________________ And some said that even the trees had been a bad move, and that no one should ever have left the oceans.
Douglas Adams - Hitchhikers Guide to the Galaxy |
|
Back to top |
|
|
|