Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"failed to calculate module dependencies"
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
splakdatter
n00b
n00b


Joined: 09 Jul 2002
Posts: 28
Location: Stroop, NL

PostPosted: Sun Aug 04, 2002 3:01 pm    Post subject: "failed to calculate module dependencies" Reply with quote

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
View user's profile Send private message
b-llwyd
Guru
Guru


Joined: 24 Jul 2002
Posts: 302
Location: Uppsala, Sweden

PostPosted: Sun Aug 04, 2002 4:22 pm    Post subject: Reply with quote

You did a make modules modules_install, right?
Try copying your /usr/src/linux/System.map to /boot
Back to top
View user's profile Send private message
ViMan
n00b
n00b


Joined: 18 Jun 2002
Posts: 51

PostPosted: Thu Aug 08, 2002 9:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
SPW
Guru
Guru


Joined: 22 Jul 2003
Posts: 318
Location: Lëtzebuerg

PostPosted: Wed Aug 20, 2003 7:50 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum