[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    Re: [gentoo-dev] kernel 2.4.10 further issues
From:       Martin Schlemmer <azarah () gentoo ! org>
Date:       2001-09-30 15:08:07
[Download RAW message or body]

On Sun, 2001-09-30 at 03:00, Nathaniel Grady wrote:
Hi

> I have that problem all the time (well, every time i compile my kernel
just about...). The quick and dirty solution is just while "unable to
load module net-pf1"'s are flying bye, login as root (you're at a login
prompt - you just can't see it cauz of all the crap), run depmod -a and
voila, it stopps and goes away untilly you descided it's time for a new
kernel... that is:
> ->reboot to new kernel
> ->wait for some net-pf1 errors to go by
> ->type root and hit enter
> ->type password and hit enter
> ->type depmod -a and hit enter
> -> should be fixed :)
> 
> --Nathaniel Grady
> (nutopianate)
> 
> On Sat, Sep 29, 2001 at 04:59:51PM -0600, Collins Richey wrote:
> > On Sat, 29 Sep 2001 17:08:38 -0500 Dan Nelson <taligent@family.net>
> > wrote:
> > 
> > > I now have the kernel compiled, but when I reboot, I run into a loop
> > > trying 
> > > to load module net-pf1.  My boot log shows the following:
> > > 
> > > Calculating kernel module dependencies...
> > > depmod: *** Unresolved symbols in 
> > > /lib/modules/2.4.4-ac9/kernel/drivers/cdrom/aztcd.o
> > > depmod: *** Unresolved symbols in 
> > > /lib/modules/2.4.4-ac9/kernel/drivers/cdrom/cdu31a.o
> > > 
> > > and ends with:
> > > 
> > > Auto-generating 2.4.10 modules.conf...
> > > modprobe: Can't open dependencies file
> > > /lib/modules/2.4.10/modules.dep (No 
> > > such file or directory)
> > > >>[34;01m Error configuring module dependencies.
> > > 
> > > I can't seem to find why this box is still looking for 2.4.4-ac9
> > > modules now 
> > > that I have recompiled.  I did the compilation correctly and even
> > > followed 
> > > the suggestion to do a make mrproper and to rename the 2.4.4-ac9
> > > library 
> > > prior to the compilation.
> > > 
> > > Any further suggestions would be appreciated.
> > > 
> > 
> > Maybe depmod -a ?
> > 
> > --
> > Collins Richey
> > Denver Area
> > gentoo_rc6 xfce+sylpheed
> > 
> > _______________________________________________
> > gentoo-dev mailing list
> > gentoo-dev@cvs.gentoo.org
> > http://cvs.gentoo.org/mailman/listinfo/gentoo-dev
> 
> _______________________________________________
> gentoo-dev mailing list
> gentoo-dev@cvs.gentoo.org
> http://cvs.gentoo.org/mailman/listinfo/gentoo-dev

Just had this same problem.  Tracked it to the fact that earlier
versions of the initscripts used 

  modprobe -c >/etc/modules.conf

to generate modules.conf (or something similar)

The problem with this is, that the modules path is then hardcoded into
/etc/modules.conf and thus 'depmod -ae -F System.map 2.4.10' do not use
the right /lib/modules/...

/etc/modules.conf snippit (shows the hardcoded paths)
----------------cut here-----------------------------
path[boot]=/lib/modules/boot
path[toplevel]=/lib/modules/2.4.9-ac10
path[toplevel]=/lib/modules/2.4
....
# Miscellaneous file and directory names
generic_stringfile=/lib/modules/2.4.9-ac10/modules.generic_string
pcimapfile=/lib/modules/2.4.9-ac10/modules.pcimap
isapnpmapfile=/lib/modules/2.4.0-ac10/modules.isapnpmap
usbmapfile=/lib/modules/2.4.9-ac10/modules.usbmap
parportmapfile=/lib/modules/2.4.9-ac10/modules.parportmap
ieee1394mapfile=/lib/modules/2.4.9-ac10/modules.ieee1394map
depfile=/lib/modules/2.4.9-ac10/modules.dep
persistdir=/var/lib/modules/persist
....
----------------cut here-----------------------------

I havent really looked at RC6's way of doing this, so not sure if it is
affected (i know RC5) is (still had modules.conf from RC5), and how to
best fix this, but hope that this is enouth info to fix the problem for
the maintainers of initscrips/whatever packages is concerned.


Greetings,
  MS
--

Martin Schlemmer
Gentoo Linux Developer, Desktop Team Developer
Cape Town, South Africa



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic