| View previous topic :: View next topic |
| Author |
Message |
nhut n00b

Joined: 17 Nov 2002 Posts: 4
|
Posted: Sun Nov 17, 2002 3:27 am Post subject: Update-modules problem |
|
|
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 |
|
 |
scdgro n00b


Joined: 16 Nov 2002 Posts: 56
|
Posted: Sun Nov 17, 2002 9:15 am Post subject: |
|
|
| Do you have compiled ppp support in the kernel ? |
|
| Back to top |
|
 |
nhut n00b

Joined: 17 Nov 2002 Posts: 4
|
Posted: Sun Nov 17, 2002 8:07 pm Post subject: |
|
|
| PPP support is compiled as a module. I can do "modprobe ppp_generic" and it works. |
|
| Back to top |
|
 |
puke Tux's lil' helper


Joined: 05 Oct 2002 Posts: 128
|
Posted: Sun Nov 17, 2002 9:02 pm Post subject: |
|
|
| 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 |
|
 |
nhut n00b

Joined: 17 Nov 2002 Posts: 4
|
Posted: Sun Nov 17, 2002 11:06 pm Post subject: |
|
|
| 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 |
|
 |
|