Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36397 - Kppp timeout and expire (trying to load an unknow ppp0 module)
Summary: Kppp timeout and expire (trying to load an unknow ppp0 module)
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All All
: High blocker
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-23 15:04 UTC by Francesco Pretto
Modified: 2004-12-23 06:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francesco Pretto 2003-12-23 15:04:47 UTC
the bug (and reason, and possibile resolution):

1) With ppp support compiled as modules, kppp try (?) to load the modules, but it calls an non-existant module called ppp0, causing pppd to timeout and fail connection. Errors log:

Dec 23 13:10:21 [modprobe] modprobe: Can't locate module ppp0
Dec 23 13:10:21 [modprobe] modprobe: Can't locate module ppp0
Dec 23 13:10:21 [pppd] pppd 2.4.1 started by root, uid 0
Dec 23 13:10:21 [modprobe] modprobe: Can't locate module ppp0
Dec 23 13:10:21 [modprobe] modprobe: Can't locate module ppp0
Dec 23 13:10:22 [modprobe] modprobe: Can't locate module ppp0
.... etc, until timeout expire

Maybe kppp is trying to load modules like ppp_generic, ppp_async, bsd_comp or ppp_deflate? But ppp0 is not a module, and there isn't a standard alias for it. RESOLUTION: make kppp to don't (even try...) load ANY module. A correct call of pppd is sufficient to automagically load the needed modules (it detects what is needed).

REPRODUCIBLE: Always

Version of the software: 2.1.2-any, kde 3.1.4

Step to reproduce: Above notes should be sufficient

I think this bug should be sent to the kde upstream.

Yes, my english is evil too...
Comment 1 Chuck Brewer 2004-01-20 21:03:06 UTC
Sounds like a bad module alias. Alias should be /dev/ppp* -> ppp_generic
Comment 2 Dominik Stadler (RETIRED) gentoo-dev 2004-02-19 14:54:15 UTC
In the file /etc/modules.conf I have added the following

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

And /etc/modprobe.conf contains an alias for ppp0 to ppp

> grep ppp0 /etc/modprobe.conf
alias ppp0 ppp

also there needs to be a device /dev/ppp
> ls -al /dev/ppp
crw-------    1 root     root     108,   0  1. J
Comment 3 Dominik Stadler (RETIRED) gentoo-dev 2004-02-19 14:54:15 UTC
In the file /etc/modules.conf I have added the following

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

And /etc/modprobe.conf contains an alias for ppp0 to ppp

> grep ppp0 /etc/modprobe.conf
alias ppp0 ppp

also there needs to be a device /dev/ppp
> ls -al /dev/ppp
crw-------    1 root     root     108,   0  1. Jän 1970  /dev/ppp

maybe some of these things are missing?
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2004-08-20 18:23:13 UTC
Is this still an issue Francesco?
Comment 5 Gregorio Guidi (RETIRED) gentoo-dev 2004-12-23 06:36:46 UTC
No response from reporter.