1 |
On Sun, 2001-09-30 at 03:00, Nathaniel Grady wrote: |
2 |
Hi |
3 |
|
4 |
> I have that problem all the time (well, every time i compile my kernel |
5 |
just about...). The quick and dirty solution is just while "unable to |
6 |
load module net-pf1"'s are flying bye, login as root (you're at a login |
7 |
prompt - you just can't see it cauz of all the crap), run depmod -a and |
8 |
voila, it stopps and goes away untilly you descided it's time for a new |
9 |
kernel... that is: |
10 |
> ->reboot to new kernel |
11 |
> ->wait for some net-pf1 errors to go by |
12 |
> ->type root and hit enter |
13 |
> ->type password and hit enter |
14 |
> ->type depmod -a and hit enter |
15 |
> -> should be fixed :) |
16 |
> |
17 |
> --Nathaniel Grady |
18 |
> (nutopianate) |
19 |
> |
20 |
> On Sat, Sep 29, 2001 at 04:59:51PM -0600, Collins Richey wrote: |
21 |
> > On Sat, 29 Sep 2001 17:08:38 -0500 Dan Nelson <taligent@××××××.net> |
22 |
> > wrote: |
23 |
> > |
24 |
> > > I now have the kernel compiled, but when I reboot, I run into a loop |
25 |
> > > trying |
26 |
> > > to load module net-pf1. My boot log shows the following: |
27 |
> > > |
28 |
> > > Calculating kernel module dependencies... |
29 |
> > > depmod: *** Unresolved symbols in |
30 |
> > > /lib/modules/2.4.4-ac9/kernel/drivers/cdrom/aztcd.o |
31 |
> > > depmod: *** Unresolved symbols in |
32 |
> > > /lib/modules/2.4.4-ac9/kernel/drivers/cdrom/cdu31a.o |
33 |
> > > |
34 |
> > > and ends with: |
35 |
> > > |
36 |
> > > Auto-generating 2.4.10 modules.conf... |
37 |
> > > modprobe: Can't open dependencies file |
38 |
> > > /lib/modules/2.4.10/modules.dep (No |
39 |
> > > such file or directory) |
40 |
> > > >>[34;01m Error configuring module dependencies. |
41 |
> > > |
42 |
> > > I can't seem to find why this box is still looking for 2.4.4-ac9 |
43 |
> > > modules now |
44 |
> > > that I have recompiled. I did the compilation correctly and even |
45 |
> > > followed |
46 |
> > > the suggestion to do a make mrproper and to rename the 2.4.4-ac9 |
47 |
> > > library |
48 |
> > > prior to the compilation. |
49 |
> > > |
50 |
> > > Any further suggestions would be appreciated. |
51 |
> > > |
52 |
> > |
53 |
> > Maybe depmod -a ? |
54 |
> > |
55 |
> > -- |
56 |
> > Collins Richey |
57 |
> > Denver Area |
58 |
> > gentoo_rc6 xfce+sylpheed |
59 |
> > |
60 |
> > _______________________________________________ |
61 |
> > gentoo-dev mailing list |
62 |
> > gentoo-dev@××××××××××.org |
63 |
> > http://cvs.gentoo.org/mailman/listinfo/gentoo-dev |
64 |
> |
65 |
> _______________________________________________ |
66 |
> gentoo-dev mailing list |
67 |
> gentoo-dev@××××××××××.org |
68 |
> http://cvs.gentoo.org/mailman/listinfo/gentoo-dev |
69 |
|
70 |
Just had this same problem. Tracked it to the fact that earlier |
71 |
versions of the initscripts used |
72 |
|
73 |
modprobe -c >/etc/modules.conf |
74 |
|
75 |
to generate modules.conf (or something similar) |
76 |
|
77 |
The problem with this is, that the modules path is then hardcoded into |
78 |
/etc/modules.conf and thus 'depmod -ae -F System.map 2.4.10' do not use |
79 |
the right /lib/modules/... |
80 |
|
81 |
/etc/modules.conf snippit (shows the hardcoded paths) |
82 |
----------------cut here----------------------------- |
83 |
path[boot]=/lib/modules/boot |
84 |
path[toplevel]=/lib/modules/2.4.9-ac10 |
85 |
path[toplevel]=/lib/modules/2.4 |
86 |
.... |
87 |
# Miscellaneous file and directory names |
88 |
generic_stringfile=/lib/modules/2.4.9-ac10/modules.generic_string |
89 |
pcimapfile=/lib/modules/2.4.9-ac10/modules.pcimap |
90 |
isapnpmapfile=/lib/modules/2.4.0-ac10/modules.isapnpmap |
91 |
usbmapfile=/lib/modules/2.4.9-ac10/modules.usbmap |
92 |
parportmapfile=/lib/modules/2.4.9-ac10/modules.parportmap |
93 |
ieee1394mapfile=/lib/modules/2.4.9-ac10/modules.ieee1394map |
94 |
depfile=/lib/modules/2.4.9-ac10/modules.dep |
95 |
persistdir=/var/lib/modules/persist |
96 |
.... |
97 |
----------------cut here----------------------------- |
98 |
|
99 |
I havent really looked at RC6's way of doing this, so not sure if it is |
100 |
affected (i know RC5) is (still had modules.conf from RC5), and how to |
101 |
best fix this, but hope that this is enouth info to fix the problem for |
102 |
the maintainers of initscrips/whatever packages is concerned. |
103 |
|
104 |
|
105 |
Greetings, |
106 |
MS |
107 |
-- |
108 |
|
109 |
Martin Schlemmer |
110 |
Gentoo Linux Developer, Desktop Team Developer |
111 |
Cape Town, South Africa |