From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=DATE_IN_PAST_12_24,DMARC_NONE, INVALID_DATE,MAILING_LIST_MULTI autolearn=no autolearn_force=no version=4.0.0 Received: from smtp08.iafrica.com ([196.2.51.8]) by cvs.gentoo.org with esmtp (Exim 3.30 #1) id 15nnoV-0002H9-00 for gentoo-dev@cvs.gentoo.org; Sun, 30 Sep 2001 15:07:52 -0600 Received: from nosferatu.lan ([196.30.178.111]) by smtp08.iafrica.com (Sun Internet Mail Server sims.3.5.2000.03.23.18.03.p10) with ESMTP id <0GKH00EJDUQC2K@smtp08.iafrica.com> for gentoo-dev@cvs.gentoo.org; Sun, 30 Sep 2001 23:08:37 +0200 (SAT) From: Martin Schlemmer Subject: Re: [gentoo-dev] kernel 2.4.10 further issues In-reply-to: <20010929210038.A28775@nutopia.org> To: gentoo-dev@cvs.gentoo.org Message-id: <1001884187.956.12.camel@nosferatu.lan> MIME-version: 1.0 X-Mailer: Evolution/0.14 (Preview Release) Content-type: text/plain Content-transfer-encoding: 7bit References: <01092917083800.00385@danno.taligentcorporation.com> <20010929165951.135d1d33.erichey2@home.com> <20010929210038.A28775@nutopia.org> Sender: gentoo-dev-admin@cvs.gentoo.org Errors-To: gentoo-dev-admin@cvs.gentoo.org X-BeenThere: gentoo-dev@cvs.gentoo.org X-Mailman-Version: 2.0 Precedence: bulk Reply-To: gentoo-dev@cvs.gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux development list List-Unsubscribe: , List-Archive: Date: Sun Sep 30 15:08:07 2001 X-Original-Date: Sun, 30 Sep 2001 23:09:46 +0200 X-Archives-Salt: a2bf087d-7470-4140-8e5f-08c0a5d33fff X-Archives-Hash: d66730aabcbd6a94d6785934e3780a5f 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 > > 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