Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Unable to calculate Dependencies On boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Yeric
Apprentice
Apprentice


Joined: 17 Feb 2003
Posts: 150

PostPosted: Fri Feb 28, 2003 2:42 pm    Post subject: Unable to calculate Dependencies On boot Reply with quote

Hi ;)

I am getting an annoying, if perhaps harmless error on boot

Unable to calculate dependencies

The boot process slows right down then instead of the lovely green OK

I get !!

The system appears to work ok but I would like ot fix this error

Anyone help me out ?

BTW I do not hink it is kernel related

I have done a modules-update
no errors

and a depmod -a
no errors

Help
appreciated
Back to top
View user's profile Send private message
ravenq
Apprentice
Apprentice


Joined: 19 Feb 2003
Posts: 161

PostPosted: Fri Feb 28, 2003 2:54 pm    Post subject: Reply with quote

What modules are you loading at startup? It could be a specific module that is causing this problem.
_________________
--
The Game is Nothing,
the Playing of it Everything.
Back to top
View user's profile Send private message
tux-fan
Tux's lil' helper
Tux's lil' helper


Joined: 10 Apr 2002
Posts: 131
Location: Paderborn, Germany

PostPosted: Fri Feb 28, 2003 2:59 pm    Post subject: Reply with quote

Have had the same problem a few weeks ago. If I remember right I have outcommened the entries in /etc/modules.d/ppp
Back to top
View user's profile Send private message
scotte
n00b
n00b


Joined: 28 Feb 2003
Posts: 54
Location: Diamond Springs, CA, USA

PostPosted: Fri Feb 28, 2003 4:50 pm    Post subject: Reply with quote

I have the same problem as Yeric. Interestingly, I even had the problem when I had everything compiled into the kernel, using no loadable modules at all!

This is on 1.4rc2.
Back to top
View user's profile Send private message
Bloke2k
Tux's lil' helper
Tux's lil' helper


Joined: 19 Dec 2002
Posts: 84

PostPosted: Fri Feb 28, 2003 5:48 pm    Post subject: Reply with quote

try commenting out modules in modules.autoload and see what happens then add one at time till you see what is causing the problem
Back to top
View user's profile Send private message
Yeric
Apprentice
Apprentice


Joined: 17 Feb 2003
Posts: 150

PostPosted: Fri Feb 28, 2003 5:54 pm    Post subject: Reply with quote

ravenq wrote:
What modules are you loading at startup? It could be a specific module that is causing this problem.


Hi thanks for getting back to me

Ok the only 3 modules I have in my modules.autoload are

aic7xxx <=== My adaptec U2W SCSI Card
advansys <==== My other SCSI Card For DDS Tape
8139too <=== Mys NIC Card

I think but am not entirely sure that SCSI stuff and nic gets loaded before this error, the error occurrs towards end of boot sequence

anoyingly enough dmesg reveals nothing of this error
Back to top
View user's profile Send private message
Yeric
Apprentice
Apprentice


Joined: 17 Feb 2003
Posts: 150

PostPosted: Fri Feb 28, 2003 5:56 pm    Post subject: Reply with quote

scotte wrote:
I have the same problem as Yeric. Interestingly, I even had the problem when I had everything compiled into the kernel, using no loadable modules at all!

This is on 1.4rc2.



Yes mine is also 1.4_RC2

BTW does nayone know the easest way to upgrade to new RC3

would an emerge -e --deep system do the job or is it more complicated ?
Back to top
View user's profile Send private message
scotte
n00b
n00b


Joined: 28 Feb 2003
Posts: 54
Location: Diamond Springs, CA, USA

PostPosted: Fri Feb 28, 2003 6:20 pm    Post subject: Reply with quote

Yeric wrote:

BTW does nayone know the easest way to upgrade to new RC3


Supposedly, it's just a matter of: "emerge sync; emerge -u system; emerge -u world", though I haven't done it yet. I've seen a few other threads on the topic that are worthy of looking at...
Back to top
View user's profile Send private message
Yeric
Apprentice
Apprentice


Joined: 17 Feb 2003
Posts: 150

PostPosted: Fri Feb 28, 2003 10:53 pm    Post subject: Reply with quote

danm this unable to calculate dependencies thing

it now just hangs there

Gentoo 1.4_RC2 Stage 1 start

Abit KG7 Lite
512MB Ram
ATI Rage Pro 4mb GFX
1 X Maxtor ata 133 40GB HD IDE
1 X Adpatec U2W SCSI PCI Card
1 X Advansys SCSI
3 X Seagate HD's 18, 9, 4 GB
1 X Seagte Archive Python 96 DDS3 Autoloader
Realtek 8139 NIC
boot EXT2
/ Reiser
/usr Reiser
/home Reiser
/var Reiser

what gives here I cant believe it is a kernel compile problem because I do not get any unresolved dependencies from a modules-update or depmod

TIA
Back to top
View user's profile Send private message
herring
Apprentice
Apprentice


Joined: 22 Jul 2002
Posts: 187
Location: Norway

PostPosted: Fri Feb 28, 2003 11:24 pm    Post subject: Reply with quote

had this problem myself a while ago, somehow my
/etc/init.d/modules script had wrong path to 'modules-update'.
Look for:
Code:

.
.
ebegin "Calculating module dependencies"
/sbin/modules-update &>/dev/null
eend $? "Failed to calculate dependencies"
.
Back to top
View user's profile Send private message
Yeric
Apprentice
Apprentice


Joined: 17 Feb 2003
Posts: 150

PostPosted: Fri Feb 28, 2003 11:31 pm    Post subject: Reply with quote

herring wrote:
had this problem myself a while ago, somehow my
/etc/init.d/modules script had wrong path to 'modules-update'.
Look for:
Code:

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


Ok sorry but what should I be looking for in init.d/modules?

the path to modules-update ??

Sorry I am having a blank moment :)
Back to top
View user's profile Send private message
scotte
n00b
n00b


Joined: 28 Feb 2003
Posts: 54
Location: Diamond Springs, CA, USA

PostPosted: Fri Feb 28, 2003 11:51 pm    Post subject: Reply with quote

herring wrote:
had this problem myself a while ago, somehow my
/etc/init.d/modules script had wrong path to 'modules-update'.


Hmm! "/etc/init.d/modules" references "/sbin/modules-update" which I don't have! I do have a "/sbin/update-modules".

Looks like I'm just missing the symbolic link between the two, based on what I see in /var/tmp/portage/baselayout-1.8.5.8/image/sbin/...


Last edited by scotte on Fri Feb 28, 2003 11:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
herring
Apprentice
Apprentice


Joined: 22 Jul 2002
Posts: 187
Location: Norway

PostPosted: Fri Feb 28, 2003 11:51 pm    Post subject: Reply with quote

:lol:
Open the file, see if line actually is

/sbin/modules-update...

not /usr/bin/modules-update or something.
Back to top
View user's profile Send private message
Yeric
Apprentice
Apprentice


Joined: 17 Feb 2003
Posts: 150

PostPosted: Fri Feb 28, 2003 11:56 pm    Post subject: Reply with quote

herring wrote:
:lol:
Open the file, see if line actually is

/sbin/modules-update...

not /usr/bin/modules-update or something.


Yep /sbin/modules-update is there

Perhaps I will try Bloke2k's Suggestion, comment out all modules and load em one at a time

unless anyone has a better idea ?

Thanks
Back to top
View user's profile Send private message
herring
Apprentice
Apprentice


Joined: 22 Jul 2002
Posts: 187
Location: Norway

PostPosted: Fri Feb 28, 2003 11:58 pm    Post subject: Reply with quote

scotte wrote:
Looks like I'm just missing the symbolic link between the two, based on what I see in /var/tmp/portage/baselayout-1.8.5.8/image/sbin/...


Strange, did'nt know there was two of them.
Anyhow, you'll have to give the correct path to one of them.
If you don't have /sbin/modules-update there is no wonder you get this error.

EDIT
Code:

bash-2.05b# whereis modules-update
modules-update: /sbin/modules-update /usr/man/man8/modules-update.8.gz /usr/share/man/man8/modules-update.8.gz

bash-2.05b# whereis update-modules
update-modules: /sbin/update-modules /usr/sbin/update-modules

bash-2.05b# ls -lag /sbin/modules-update
-rwxr-xr-x    1 root         2532 Jan 23 02:02 /sbin/modules-update
bash-2.05b# ls -lag /sbin/update-modules
lrwxrwxrwx    1 root           14 Jan 23 02:02 /sbin/update-modules -> modules-update
bash-2.05b# ls -lag /usr/sbin/update-modules
lrwxrwxrwx    1 root           25 Jan 23 02:02 /usr/sbin/update-modules -> ../../sbin/modules-update
bash-2.05b


Yeah, you're right. True file is /sbin/modules-update, but there are 2 symlinks to it called
/sbin/update-modules and
/usr/sbin/update-modules
Back to top
View user's profile Send private message
Yeric
Apprentice
Apprentice


Joined: 17 Feb 2003
Posts: 150

PostPosted: Sat Mar 01, 2003 1:40 am    Post subject: Reply with quote

Well this sure beats me

I can do either update-modules or modules-update without errors

BTW

# out modules did not fix problem

any other ideas ?
Back to top
View user's profile Send private message
Yeric
Apprentice
Apprentice


Joined: 17 Feb 2003
Posts: 150

PostPosted: Sat Mar 01, 2003 5:38 pm    Post subject: Reply with quote

Still getting this error :(

It is when it gets to calculating dependencies bit

then says failed to calculate dependencies

this is on the initialisation bit

anyone else got any ideas on this one ?

will re-emergging portage solve this ?

TIA
Back to top
View user's profile Send private message
Yeric
Apprentice
Apprentice


Joined: 17 Feb 2003
Posts: 150

PostPosted: Sat Mar 01, 2003 5:54 pm    Post subject: Reply with quote

Ok I just spotted another error at start of init

/sbin/rc command egrep not found

could this cause me problems ?

I did a whereis and egrep is in /usr/bin/egrep

I can not remeber how to make apath to this, can someone be kind enough to remind me

I think it is something like

export PATH="usr/bin/egrep":bin

something like that
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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