Problem with PPPoE on 2.5.65-66.bk9
hi all!
I have problem starting ADSL connection on 2.5.65-66.bk9 kernels. Using roaring
penguins software (rp-pppoe).
Configuration:
Slackware linux.
GCC-3.2.2
GlibC-2.3.1
module-init-tools-0.9.10
Kernel Config:
----------------
#
# Loadable module support
#CONFIG_MODULES=yCONFIG_MODULE_UNLOAD=yCONFIG_MODULE_FORCE_UNLOAD=yCONFIG_OBSOLETE_MODPARM=y
# CONFIG_MODVERSIONS is not set
# CONFIG_KMOD is not set
-----------------
#
# Ethernet (10 or 100Mbit)
#CONFIG_NET_ETHERNET=y
# CONFIG_MII is not set
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not setCONFIG_NET_VENDOR_3COM=y
# CONFIG_EL1 is not set
# CONFIG_EL2 is not set
# CONFIG_ELPLUS is not set
# CONFIG_EL16 is not setCONFIG_EL3=m
# CONFIG_3C515 is not set
# CONFIG_VORTEX is not set
# CONFIG_TYPHOON is not set
# CONFIG_LANCE is not set
# CONFIG_NET_VENDOR_SMC is not set
# CONFIG_NET_VENDOR_RACAL is not set
--------------CONFIG_PPP=m
# CONFIG_PPP_MULTILINK is not setCONFIG_PPP_ASYNC=mCONFIG_PPP_SYNC_TTY=mCONFIG_PPP_DEFLATE=mCONFIG_PPP_BSDCOMP=m
# CONFIG_PPPOE is not set
# CONFIG_SLIP is not set
-----------------------------------------------------------------------------
-
Logs:
kernelmessages:
Mar 30 20:01:13 localhost kernel: 3c509.c:1.19b 08Nov2002 [email protected] Mar 30 20:01:13 localhost kernel: http://www.scyld.com/network/3c509.html Mar 30 20:01:13 localhost kernel: loop: loaded (max 8 devices) Mar 30 20:01:13 localhost kernel: Linux video capture interface: v1.00 Mar 30 20:01:13 localhost kernel: Gemtek PCI Radio (rev. 1) found at 0x9800-0x9803. Mar 30 20:01:13 localhost kernel: i2c-proc.o version 2.7.0 (20021208) Mar 30 20:01:13 localhost kernel: i2c-piix4 version 2.7.0 (20021208) Mar 30 20:01:13 localhost kernel: piix4 smbus 00:07.3: Found Intel Corp. 82371AB/EB/MB PIIX4 device Mar 30 20:01:13 localhost kernel: spurious 8259A interrupt: IRQ7. Mar 30 20:01:25 localhost kernel: eth0: Setting 3c5x9/3c5x9B half-duplex mode if_port: 0, sw_info: 1321 Mar 30 20:01:25 localhost kernel: CSLIP: code copyright 1989 Regents of the University of California Mar 30 20:01:25 localhost kernel: PPP generic driver version 2.4.2 Mar 30 20:01:25 localhost kernel: Module ppp_async cannot be unloaded due to
unsafe usage in include/linux/module.h:432
messages:
Mar 30 20:01:25 localhost kernel: eth0: Setting 3c5x9/3c5x9B half-duplex mode if_port: 0, sw_info: 1321 Mar 30 20:01:25 localhost kernel: CSLIP: code copyright 1989 Regents of the University of California Mar 30 20:01:25 localhost kernel: PPP generic driver version 2.4.2 Mar 30 20:01:25 localhost pppd[154]: pppd 2.4.1 started by root, uid 0 Mar 30 20:01:25 localhost kernel: Module ppp_async cannot be unloaded due to unsafe usage in include/linux/module.h:428 Mar 30 20:01:25 localhost pppd[154]: Using interface ppp0 Mar 30 20:01:25 localhost pppd[154]: Connect: ppp0 <--> /dev/pts/0 Mar 30 20:01:56 localhost pppd[154]: LCP: timeout sending Config-Requests Mar 30 20:01:56 localhost pppd[154]: Connection terminated. Mar 30 20:02:00 localhost pppoe[155]: Timeout waiting for PADO packets Mar 30 20:02:00 localhost pppd[154]: Exit.
syslog:
Mar 30 20:01:25 localhost kernel: eth0: Setting 3c5x9/3c5x9B half-duplex mode if_port: 0, sw_info: 1321 Mar 30 20:01:25 localhost kernel: Module ppp_async cannot be unloaded due to unsafe usage in include/linux/module.h:428 Mar 30 20:01:56 localhost pppd[154]: LCP: timeout sending Config-Requests Mar 30 20:02:00 localhost pppoe[155]: Timeout waiting for PADO packets
-----------------------------------------------------------------------------
Compiling ppp modules in to the kernel gives the same result. I have no problems on 2.4.20
Nestor
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 75 lines · Nestor Aaro
Quoted 3 lines · you
Quoted 1 line
#
CONFIG_PPPOEis not setLooks like you forgot to turn on pppoe support in the kernel.
rp-pppoe don't need kernel support. Btw it was working fine in 2.5.42 kernel.
Ok. I try it:
All instructions in readme is followed and here is result:/var/log/kernelmessagesApr 4 22:55:28 localhost kernel: Module ppp_async cannot be unloaded due to unsafe usage in include/linux/module.h:428 Apr 4 22:57:18 localhost kernel: Module pppoe cannot be unloaded due tounsafe usage in
include/linux/module.h:428
/var/log/messagesApr 4 22:55:28 localhost kernel: eth0: Setting 3c5x9/3c5x9B half-duplex mode if_port: 0, sw_info: 1321 Apr 4 22:55:28 localhost kernel: CSLIP: code copyright 1989 Regents of the University of California Apr 4 22:55:28 localhost kernel: PPP generic driver version 2.4.2 Apr 4 22:55:28 localhost pppd[154]: pppd 2.4.1 started by root, uid 0 Apr 4 22:55:28 localhost kernel: Module ppp_async cannot be unloaded due to unsafe usage in include/linux/module.h:428 Apr 4 22:55:28 localhost pppd[154]: Using interface ppp0 Apr 4 22:55:28 localhost pppd[154]: Connect: ppp0 <--> /dev/pts/0 Apr 4 22:55:59 localhost pppd[154]: LCP: timeout sending Config-Requests Apr 4 22:55:59 localhost pppd[154]: Connection terminated. Apr 4 22:56:03 localhost pppoe[155]: Timeout waiting for PADO packets Apr 4 22:56:03 localhost pppd[154]: Exit. Apr 4 22:57:18 localhost kernel: Module pppoe cannot be unloaded due to unsafe usage in include/linux/module.h:428 Apr 4 22:59:51 localhost pppd[1683]: /etc/ppp/plugins/rp-pppoe.so: undefined symbol: generic_establish_ppp Apr 4 22:59:51 localhost pppd[1683]: Couldn't load plugin /etc/ppp/plugins/rp-pppoe.so Apr 4 22:59:51 localhost adsl-connect: ADSL connection lost; attempting re-connection. Apr 4 22:59:56 localhost pppd[1704]: /etc/ppp/plugins/rp-pppoe.so: undefined symbol: generic_establish_ppp Apr 4 22:59:56 localhost pppd[1704]: Couldn't load plugin /etc/ppp/plugins/rp-pppoe.so Apr 4 22:59:56 localhost adsl-connect: ADSL connection lost; attempting re-connection. Apr 4 23:00:01 localhost pppd[1734]: /etc/ppp/plugins/rp-pppoe.so: undefined symbol: generic_establish_ppp Apr 4 23:00:01 localhost pppd[1734]: Couldn't load plugin /etc/ppp/plugins/rp-pppoe.so Apr 4 23:00:01 localhost adsl-connect: ADSL connection lost; attempting re-connection. Apr 4 23:05:56 localhost pppd[1816]: /etc/ppp/plugins/rp-pppoe.so: undefined symbol: generic_establish_ppp Apr 4 23:05:57 localhost pppd[1816]: Couldn't load plugin /etc/ppp/plugins/rp-pppoe.so Apr 4 23:05:57 localhost adsl-connect: ADSL connection lost; attempting re-connection. Apr 4 23:06:02 localhost pppd[1844]: /etc/ppp/plugins/rp-pppoe.so: undefined symbol: generic_establish_ppp Apr 4 23:06:02 localhost pppd[1844]: Couldn't load plugin /etc/ppp/plugins/rp-pppoe.so Apr 4 23:06:02 localhost adsl-connect: ADSL connection lost; attempting re-connection. Apr 4 23:06:07 localhost pppd[1865]: /etc/ppp/plugins/rp-pppoe.so: undefined symbol: generic_establish_ppp Apr 4 23:06:07 localhost pppd[1865]: Couldn't load plugin /etc/ppp/plugins/rp-pppoe.so Apr 4 23:06:07 localhost adsl-connect: ADSL connection lost; attemptingre-connection.
---------------------------------------------------------------------------
---------- But again, all was working fine, without kernel pppoe module and without rp-pppoe plugin in Kernel-2.5.42.----------
Sorry for my bad english! :)