Gentoo Archives: gentoo-dev

From: 320095285153-0001@t-online.de (Achim Gottinger)
To: gentoo-dev@g.o
Subject: Re: [gentoo-dev] module dependency issues with new kernel
Date: Tue, 06 Feb 2001 20:59:57
Message-Id: 3A80C233.BD1A7F39@gottinger.de
In Reply to: [gentoo-dev] module dependency issues with new kernel by Dave Bresson
1 Dave Bresson wrote:
2
3 > So i decided to switch to the new 2.4.0.11-rc3 kernel, not only because of
4 > the few improvements, but also i just prefer to make my own, slimmed down,
5 > more optimized kernel for my machine. Anyway, i merged the linux source
6 > of the kernel in question from portage, and all was fine. I then did a
7 > 'make menuconfig', then a 'make bzImage', 'make modules', and 'make
8 > modules_install'. Now i know i didn't include or exclude anything i
9 > shouldn't have (i've rolled my own kernel plenty of times), however when
10 > booting with my new kernel i get "Error configuring module dependencies."
11 > As such, the modules don't work (most importantly my ethernet driver). I
12 > know the drivers compiled and installed in the right spot, since i can
13 > manually do an 'insmod' for my net driver, and then restart the inet
14 > script. So there must be some sort of configuration issue going on i
15 > don't know about. Here a sample of some of the boot errors from
16 > /var/log/boot:
17 >
18 > Calculating kernel module dependencies...
19 > depmod: *** Unresolved symbols in
20 > /lib/modules/2.4.1-pre8/kernel/drivers/char/pc
21 > mcia/serial_cb.o
22 > depmod: *** Unresolved symbols in
23 > /lib/modules/2.4.1-pre8/kernel/drivers/char/pc
24 > mcia/serial_cs.o
25 > depmod: *** Unresolved symbols in
26 > /lib/modules/2.4.1-pre8/kernel/drivers/isdn/av
27 > mb1/avm_cs.o
28 > depmod: *** Unresolved symbols in
29 > /lib/modules/2.4.1-pre8/kernel/drivers/md/line
30 > ar.o
31 > depmod: *** Unresolved symbols in
32 > /lib/modules/2.4.1-pre8/kernel/drivers/md/raid
33 > 0.o
34 >
35 > [...]
36 >
37 > Auto-generating 2.4.0-ac11 modules.conf...
38 > modprobe: Can't open dependencies file /lib/modules/2.4.0-ac11/modules.dep
39 > (No such file or directory)
40 >
41 > And that about ends the errors. Well, right after that it tries to insert
42 > the net driver, but fails. You get the drift. Anyway, it looks like from
43 > the errors that it's still trying to load the modules my old kernel used,
44 > but from my new kernel's mod directory (where they don't exist, since i
45 > didn't need them for my new kernel). However, i still have the same net
46 > module for both kernels, and even that didn't work. Something is
47 > definitely wrong. Somewhere along the line i must've forgotten something
48 > neccessary to configure the correct module dependencies and such. Could
49 > this have anything to do with the discussed 'depmod -a' call from one of
50 > the other threads on the list? Since Pete just put that in, i doubt the
51 > ebuild script i used did this (the one i had was from this morning).
52 > Anyway, does anyone know what might have gone wrong here?
53 >
54 > thanks,
55
56 Hmm thats what I said to pete before the depmod he added to the kernel-ebuild
57 does not work.
58
59 Do you have /lib/modules/2.4.0-ac11/modules.dep?
60
61 If so take a look into it.
62
63 There muste be some wrong path's tha point to /lib/modules/2.4.1-pre8
64
65 change them to .../2.4.0-ac11 and rerun
66
67 depmod -a
68
69 then things should worke fine again.
70
71 achim~
72
73 >
74 >
75 > dave
76 >
77 > _______________________________________________
78 > gentoo-dev mailing list
79 > gentoo-dev@g.o
80 > http://www.gentoo.org/mailman/listinfo/gentoo-dev

Replies

Subject Author
Re: [gentoo-dev] module dependency issues with new kernel Pete Gavin <pete@g.o>
Re: [gentoo-dev] module dependency issues with new kernel Dave Bresson <david.bresson@××××.edu>