View previous topic :: View next topic |
Author |
Message |
Sujao l33t
Joined: 25 Sep 2004 Posts: 677 Location: Germany
|
Posted: Thu Mar 31, 2005 12:48 pm Post subject: Failed to calculate module dependencies |
|
|
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 |
|
|
Adwin Tux's lil' helper
Joined: 13 Mar 2005 Posts: 128 Location: Poland
|
Posted: Thu Mar 31, 2005 3:15 pm Post subject: |
|
|
Did you change any access rights? Did you use any CHMOD? |
|
Back to top |
|
|
Sujao l33t
Joined: 25 Sep 2004 Posts: 677 Location: Germany
|
Posted: Thu Mar 31, 2005 3:24 pm Post subject: |
|
|
Not that I remember. Which files do you have in mind? I can can check them then. |
|
Back to top |
|
|
Sujao l33t
Joined: 25 Sep 2004 Posts: 677 Location: Germany
|
Posted: Thu Mar 31, 2005 9:32 pm Post subject: |
|
|
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 |
|
|
Adwin Tux's lil' helper
Joined: 13 Mar 2005 Posts: 128 Location: Poland
|
Posted: Tue Apr 05, 2005 12:23 pm Post subject: |
|
|
you can automatically load nvidia by
# echo nvidia >> /etc/modules.autoload.d/kernel-2.x |
|
Back to top |
|
|
murilo_belluzzo n00b
Joined: 16 Apr 2005 Posts: 9 Location: Jundiaí - SP - Brasil
|
Posted: Wed Apr 27, 2005 9:33 pm Post subject: |
|
|
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 |
|
|
neryo Veteran
Joined: 09 Oct 2004 Posts: 1292 Location: Ferrara, Italy, Europe
|
Posted: Mon Aug 01, 2005 4:49 pm Post subject: |
|
|
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..... _________________ cache: a safe place for hiding or storing things..
D-link DWL-G650 AirPlus
Apache Php Mysql |
|
Back to top |
|
|
neryo Veteran
Joined: 09 Oct 2004 Posts: 1292 Location: Ferrara, Italy, Europe
|
Posted: Tue Aug 02, 2005 7:16 am Post subject: |
|
|
murilo_belluzzo:
you could try to comment from /etc/init.d/modules
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 _________________ cache: a safe place for hiding or storing things..
D-link DWL-G650 AirPlus
Apache Php Mysql |
|
Back to top |
|
|
rstebih n00b
Joined: 17 May 2005 Posts: 1 Location: Vancouver, BC, Canada
|
Posted: Thu Aug 04, 2005 4:08 pm Post subject: |
|
|
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 |
|
|
neryo Veteran
Joined: 09 Oct 2004 Posts: 1292 Location: Ferrara, Italy, Europe
|
Posted: Thu Aug 04, 2005 10:55 pm Post subject: |
|
|
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.
the problem is not during the loading modules.. but when the system calculates the dependencies...
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 |
|
|
neryo Veteran
Joined: 09 Oct 2004 Posts: 1292 Location: Ferrara, Italy, Europe
|
Posted: Thu Aug 25, 2005 4:52 pm Post subject: |
|
|
uhm...i have resolved my problem "Failed to calculate.." re-compiling all the system....
there was probably some binary corrupt _________________ cache: a safe place for hiding or storing things..
D-link DWL-G650 AirPlus
Apache Php Mysql |
|
Back to top |
|
|
fw146 n00b
Joined: 29 Dec 2003 Posts: 42
|
Posted: Tue Sep 06, 2005 4:15 pm Post subject: |
|
|
neryo wrote: | uhm...i have resolved my problem "Failed to calculate.." re-compiling all the system....
there was probably some binary corrupt |
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 |
|
|
|