View previous topic :: View next topic |
Author |
Message |
splakdatter n00b
Joined: 09 Jul 2002 Posts: 28 Location: Stroop, NL
|
Posted: Sun Aug 04, 2002 3:01 pm Post subject: "failed to calculate module dependencies" |
|
|
I compiled 2.4.19 r7 and now I get this at bootup: "failed to calculate module dependencies"
>'depmod -a' gives:
Code: | depmod -a
depmod: *** Unresolved symbols in /lib/modules/2.4.19-gentoo-r7/kernel/net/ipv4/ip_gre.o
depmod: *** Unresolved symbols in /lib/modules/2.4.19-gentoo-r7/kernel/net/ipv4/ipip.o
depmod: *** Unresolved symbols in /lib/modules/2.4.19-gentoo-r7/kernel/net/ipv4/netfilter/ip_tables.o
depmod: *** Unresolved symbols in /lib/modules/2.4.19-gentoo-r7/kernel/net/ipv4/netfilter/ipt_REJECT.o
depmod: *** Unresolved symbols in /lib/modules/2.4.19-gentoo-r7/kernel/net/ipv4/netfilter/ipt_stealth.o
depmod: *** Unresolved symbols in /lib/modules/2.4.19-gentoo-r7/kernel/net/ipv4/netfilter/iptable_filter.o
depmod: *** Unresolved symbols in /lib/modules/2.4.19-gentoo-r7/kernel/net/ipv4/netfilter/iptable_mangle.o
depmod: *** Unresolved symbols in /lib/modules/2.4.19-gentoo-r7/kernel/net/ipv4/netfilter/iptable_nat.o
|
Any suggestions? |
|
Back to top |
|
|
b-llwyd Guru
Joined: 24 Jul 2002 Posts: 302 Location: Uppsala, Sweden
|
Posted: Sun Aug 04, 2002 4:22 pm Post subject: |
|
|
You did a make modules modules_install, right?
Try copying your /usr/src/linux/System.map to /boot |
|
Back to top |
|
|
ViMan n00b
Joined: 18 Jun 2002 Posts: 51
|
Posted: Thu Aug 08, 2002 9:01 pm Post subject: |
|
|
Are you sure that you actually mounted /boot (by default it's not mounted although you can write to a /boot)? Check if it's mounted by using the 'mount' command. |
|
Back to top |
|
|
SPW Guru
Joined: 22 Jul 2003 Posts: 318 Location: Lëtzebuerg
|
Posted: Wed Aug 20, 2003 7:50 am Post subject: |
|
|
splakdatter: I have very similar problems. Quote: | depmod -a
depmod: *** Unresolved symbols in /lib/modules/2.4.19-gentoo-r7/kernel/net/ipv4/ip_gre.o |
in a similar thread rdx_21helped me with this advice: Quote: | Try deleting the modules.dep file in /lib/modules/<kernel version> then regenerating the file with depmod -a.
This fixed it for me atleast. |
Maybe it will be useful. For me it has not yet solved all the problems though.
I try now to get rid of these modules that mess things up. I just configured a new kernel and turned off ip_gre because I don't need it. I suggest you deactivate all of these modules you have problems with and if there are some that you need: just build them into the kernel.
b-llwyd: For me there were some error messages during modules_install, that's why I chose not to compile these kernels with the new kernel
ViMan: What do you mean "to mount /boot"? /boot is a directory on my main partition /dev/hda1 and this partition is mounted to /
I also searched on the internet for "mount /boot" but I did not find out what's the matter with it.
update: my kernel finished compiling and this time "make modules_install" did not give me any errors. my suggestion seems to work (at least for me) |
|
Back to top |
|
|
|