Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Update-modules problem
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
nhut
n00b
n00b


Joined: 17 Nov 2002
Posts: 4

PostPosted: Sun Nov 17, 2002 3:27 am    Post subject: Update-modules problem Reply with quote

I've just installed Gentoo, and it's really bugging me that on bootup, it says "Calculating module dependencies..." and the check fails.

Update-modules gives heaps of errors, all like
/etc/modules.d/ppp/: alias: 'char-major-108' not found
/etc/modules.d/ppp/: alias: 'ppp-generic' not found
/etc/modules.d/ppp/: alias: '/dev/ppp' not found
etc...

depmod -a works fine. I can use modprobe to load modules.

On another thread, someone symlinked /usr/sbin/update-modules to /sbin/update-modules to solve a problem relating to module dependencies. I've tried doing that, but it had no effect.

Also, etc-update says "Exiting: no configuration files to work on!". I'm not sure if that's normal.

Please help stumped Gentoo newbie. ;) Thanks.
Back to top
View user's profile Send private message
scdgro
n00b
n00b


Joined: 16 Nov 2002
Posts: 56

PostPosted: Sun Nov 17, 2002 9:15 am    Post subject: Reply with quote

Do you have compiled ppp support in the kernel ?
Back to top
View user's profile Send private message
nhut
n00b
n00b


Joined: 17 Nov 2002
Posts: 4

PostPosted: Sun Nov 17, 2002 8:07 pm    Post subject: Reply with quote

PPP support is compiled as a module. I can do "modprobe ppp_generic" and it works.
Back to top
View user's profile Send private message
puke
Tux's lil' helper
Tux's lil' helper


Joined: 05 Oct 2002
Posts: 128

PostPosted: Sun Nov 17, 2002 9:02 pm    Post subject: Reply with quote

Quote:
Update-modules gives heaps of errors, all like
/etc/modules.d/ppp/: alias: 'char-major-108' not found
/etc/modules.d/ppp/: alias: 'ppp-generic' not found
/etc/modules.d/ppp/: alias: '/dev/ppp' not found
etc...


You should have something like this in your /etc/modules.conf:

Code:
alias char-major-108    ppp_generic
alias /dev/ppp          ppp_generic
alias tty-ldisc-3       ppp_async
alias tty-ldisc-14      ppp_synctty
alias ppp-compress-21   bsd_comp
alias ppp-compress-24   ppp_deflate
alias ppp-compress-26   ppp_deflate
Back to top
View user's profile Send private message
nhut
n00b
n00b


Joined: 17 Nov 2002
Posts: 4

PostPosted: Sun Nov 17, 2002 11:06 pm    Post subject: Reply with quote

puke wrote:
Quote:
Update-modules gives heaps of errors, all like
/etc/modules.d/ppp/: alias: 'char-major-108' not found
/etc/modules.d/ppp/: alias: 'ppp-generic' not found
/etc/modules.d/ppp/: alias: '/dev/ppp' not found
etc...


You should have something like this in your /etc/modules.conf:

Code:
alias char-major-108    ppp_generic
alias /dev/ppp          ppp_generic
alias tty-ldisc-3       ppp_async
alias tty-ldisc-14      ppp_synctty
alias ppp-compress-21   bsd_comp
alias ppp-compress-24   ppp_deflate
alias ppp-compress-26   ppp_deflate

Well there's part of the problem, I didn't even have an "/etc/modules.conf". I had an "/etc/modules.conf." (Dot at the end)

That file did have those lines in it. I tried cp /etc/modules.conf. /etc/modules.conf, but I get exactly the same error.
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