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
Sujao
l33t
l33t


Joined: 25 Sep 2004
Posts: 677
Location: Germany

PostPosted: Thu Mar 31, 2005 12:48 pm    Post subject: Failed to calculate module dependencies Reply with quote

Hi all,

I have a strange problem. When I boot my gentoo machine I get the following message

Code:
Calculating module dependencies
Failed to calculate dependencies

Loading Module MODULENAME
Failed to load MODULENAME

Loading Module MODULENAME2
Failed to load MODULENAME2

...
...


MODULNAME=respective module name

When I try to manually load I a module I get this message:
Code:
FATAL: Module MODULENAME not found



I really cant remember that I changed anything in my system. I surely didnt recompiled my kernel or modules. I would know that. I also looked through the history of root and didnt find anything suspicious there. Though I must say that this problem occured 10min before I had to go to holiday and I didnt had time to deal with it. Now after 3 weeks I dont remember everything I did before this error occured.

At the moment I dont even have an idea where to look. Should I try to recompile the modules? Any ideas how to find the reason for this mess?
Back to top
View user's profile Send private message
Adwin
Tux's lil' helper
Tux's lil' helper


Joined: 13 Mar 2005
Posts: 128
Location: Poland

PostPosted: Thu Mar 31, 2005 3:15 pm    Post subject: Reply with quote

Did you change any access rights? Did you use any CHMOD?
Back to top
View user's profile Send private message
Sujao
l33t
l33t


Joined: 25 Sep 2004
Posts: 677
Location: Germany

PostPosted: Thu Mar 31, 2005 3:24 pm    Post subject: Reply with quote

Not that I remember. Which files do you have in mind? I can can check them then.
Back to top
View user's profile Send private message
Sujao
l33t
l33t


Joined: 25 Sep 2004
Posts: 677
Location: Germany

PostPosted: Thu Mar 31, 2005 9:32 pm    Post subject: Reply with quote

I think I solved the problem. I made a
Code:
make modules && make modules_install

and nearly all the modules were loaded. I still had to load "nvidia" manually. Otherwise the X-Server aborted with an error. I still get the error "Failed to calculate dependencies". What exactly does this mean? And who is responsible for calculating the dependencies. Knowing that I could check this element for errors.
Back to top
View user's profile Send private message
Adwin
Tux's lil' helper
Tux's lil' helper


Joined: 13 Mar 2005
Posts: 128
Location: Poland

PostPosted: Tue Apr 05, 2005 12:23 pm    Post subject: Reply with quote

you can automatically load nvidia by
# echo nvidia >> /etc/modules.autoload.d/kernel-2.x
Back to top
View user's profile Send private message
murilo_belluzzo
n00b
n00b


Joined: 16 Apr 2005
Posts: 9
Location: Jundiaí - SP - Brasil

PostPosted: Wed Apr 27, 2005 9:33 pm    Post subject: Reply with quote

i getthis error:

Code:
Calculating module dependencies
Failed to calculate dependencies


but all my modules in kernel-2.6 are loaded sucessifully, and im not haveing any problens whit them .... no error msgs.

I simply dont know why this error appers .... can anyone help me solve this ?
Back to top
View user's profile Send private message
neryo
Veteran
Veteran


Joined: 09 Oct 2004
Posts: 1292
Location: Ferrara, Italy, Europe

PostPosted: Mon Aug 01, 2005 4:49 pm    Post subject: Reply with quote

murilo_belluzzo wrote:
i getthis error:

Code:
Calculating module dependencies
Failed to calculate dependencies


but all my modules in kernel-2.6 are loaded sucessifully, and im not haveing any problens whit them .... no error msgs.

I simply dont know why this error appers .... can anyone help me solve this ?


i have the same problem! all modules are loaded correctly, i haven't problems with my gentoo but however appears this error message at boot...

Code:
Calculating module dependencies
Failed to calculate dependencies


i have recompiled my kernel, version 2.6.12-gentoo-r6, i have recompiled baselayout and have ran modules-update.. but nothing.....

anyone have an idea? thanks in advantage..... :roll:
_________________
cache: a safe place for hiding or storing things..

D-link DWL-G650 AirPlus
Apache Php Mysql
Back to top
View user's profile Send private message
neryo
Veteran
Veteran


Joined: 09 Oct 2004
Posts: 1292
Location: Ferrara, Italy, Europe

PostPosted: Tue Aug 02, 2005 7:16 am    Post subject: Reply with quote

murilo_belluzzo:
you could try to comment from /etc/init.d/modules

Code:
&>/dev/null


approximately to line 91, after /sbin/modules-update put the char #

Code:

     90                 ebegin "Calculating module dependencies"
     91                 /sbin/modules-update &>/dev/null
     92                 eend $? "Failed to calculate module dependencies"


reboot your system and you will see the error that /sbin/modules-update gives to you....then post here the string..

After this method, my problem is "Error while loading shared lib... blablabla cannot open shared libraries libstdc++.so.5", but it s strange.. with locate i have found this librarie...

Code:
# locate libstdc++.so.5
/opt/OpenOffice.org/program/libstdc++.so.5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libstdc++.so.5
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.5-20050130/libstdc++.so.5.0.7
#  gcc-config -l
[1] i686-pc-linux-gnu-3.3.5-20050130 *
[2] i686-pc-linux-gnu-3.3.5-20050130-hardened
[3] i686-pc-linux-gnu-3.3.5-20050130-hardenednopie
[4] i686-pc-linux-gnu-3.3.5-20050130-hardenednopiessp
[5] i686-pc-linux-gnu-3.3.5-20050130-hardenednossp


any idea? thanks :roll:
_________________
cache: a safe place for hiding or storing things..

D-link DWL-G650 AirPlus
Apache Php Mysql
Back to top
View user's profile Send private message
rstebih
n00b
n00b


Joined: 17 May 2005
Posts: 1
Location: Vancouver, BC, Canada

PostPosted: Thu Aug 04, 2005 4:08 pm    Post subject: Reply with quote

Make sure the filename extensions ( ie. .ko ) are removed from the module names in the '/etc/modules.autoload.d/kernel-2.x' file.
Back to top
View user's profile Send private message
neryo
Veteran
Veteran


Joined: 09 Oct 2004
Posts: 1292
Location: Ferrara, Italy, Europe

PostPosted: Thu Aug 04, 2005 10:55 pm    Post subject: Reply with quote

rstebih wrote:
Make sure the filename extensions ( ie. .ko ) are removed from the module names in the '/etc/modules.autoload.d/kernel-2.x' file.


no... it's not this the problem... maybe you haven't understood. :wink:
the problem is not during the loading modules.. but when the system calculates the dependencies... :roll:
if you comment this &>/dev/null in the file /etc/init.d/modules, you can see the real problem that happens during the loadng procedure..
For example my problem is cp: error while loading shared libraries... bla bla.. cannot open shared libraries libstdc++.so.5 .. and i haven't found yet the solution.. any idea for this error??


thanks ....
_________________
cache: a safe place for hiding or storing things..

D-link DWL-G650 AirPlus
Apache Php Mysql
Back to top
View user's profile Send private message
neryo
Veteran
Veteran


Joined: 09 Oct 2004
Posts: 1292
Location: Ferrara, Italy, Europe

PostPosted: Thu Aug 25, 2005 4:52 pm    Post subject: Reply with quote

uhm...i have resolved my problem "Failed to calculate.." re-compiling all the system....

Code:
# emerge -e system


there was probably some binary corrupt :x
_________________
cache: a safe place for hiding or storing things..

D-link DWL-G650 AirPlus
Apache Php Mysql
Back to top
View user's profile Send private message
fw146
n00b
n00b


Joined: 29 Dec 2003
Posts: 42

PostPosted: Tue Sep 06, 2005 4:15 pm    Post subject: Reply with quote

neryo wrote:
uhm...i have resolved my problem "Failed to calculate.." re-compiling all the system....

Code:
# emerge -e system


there was probably some binary corrupt :x


Did your baselayout get updated in the process? Could you perhaps check it via
Code:
genlop -t baselayout


I get the same "error". The library is in /usr, which is not mounted at the time modules-update is run. Atleast in my case, as I have usr as a seperate partition.

Oh BTW this particular system is not connected to the net, so your input would help me fix the problem.

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