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 Kernel & Hardware
View previous topic :: View next topic  
Author Message
rlyacht
Apprentice
Apprentice


Joined: 17 Apr 2002
Posts: 170

PostPosted: Sat May 25, 2002 3:18 am    Post subject: Failed to calculate module dependencies?! Reply with quote

I recently upgraded my kernel to r5, which has been working fine. I decided to recompile with the pre-empt patch and low latency, and now when I boot I get a messagelike this:


Code:

Calculating module dependencies ...
Calculating module dependencies failed !!
lots of other stuff, eg about ds, and other pcmcia stuff


When I rebuilt my kernel, I had just changed those two options, then did

Code:

make dep && make clean bzImage modules modules_install && emerge pcmia-cs
cp blah/blah/bzImage /boot/bzImage


After my bad boot, I did the emerge pcmcia-cs again just for good measure, but with the same result. If I try to insmod ds, I get an error about missing symbols.

To be sure I didn't do something obviously wrong, I'm re-doing it before I go to bed and I'll see in the morning. Is there something I'm missing? What's going on? etc,etc....
Back to top
View user's profile Send private message
jay
l33t
l33t


Joined: 08 May 2002
Posts: 980

PostPosted: Sat May 25, 2002 7:47 am    Post subject: Reply with quote

Did you change your symlink in /usr/src/linux to /usr/src/linux-2.4.19-gentoo-r5 ? The easisest way to do this, is using the midnight commander.

Otherwise you are compiling the new kernel with your modules from the old kernel!
_________________
Do you want your posessions identified? [ynq] (n)
Back to top
View user's profile Send private message
huw
Apprentice
Apprentice


Joined: 13 May 2002
Posts: 220
Location: UK

PostPosted: Sat May 25, 2002 9:52 am    Post subject: Reply with quote

I had exactly this problem.
You need to: copy your .config to something else. Do "make mrproper" to clean out the source tree then start again from "make menuconfig" When you reboot all your symbol errors should go...(well mine did)

HTH
Back to top
View user's profile Send private message
rlyacht
Apprentice
Apprentice


Joined: 17 Apr 2002
Posts: 170

PostPosted: Sat May 25, 2002 1:41 pm    Post subject: Reply with quote

Thanks, I'll give this a try. BTW, I found this information about mrproper in the kernel howto:

Quote:

`make mrproper' will do a more extensive `clean'ing. It is sometimes necessary; you may wish to do it at every patch. `make mrproper' will also delete your configuration file, so you might want to make a backup of it (.config) if you see it as valuable.



A few hours later ... It worked! Thanks!!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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