[OpenWrt-Devel] netifd: pppoe broken with fsl-gianfar

Ulrich Weber uweber.linux at gmail.com
Fri Dec 4 07:54:17 EST 2015


Hi,

upgrading to latest openwrt trunk broke PPPoE connectivity with fsl-gianfar Ethernet driver for me.
Reason is the fsl-gianfar driver changed its behavior regarding link state notifications:

linux 3.10:
[ 1471.142926] libphy: mdio at ffe24000:09 - Link is Up - 1000/Full

ip monitor:
15:43:53.022412 write(1, "4: eth2: <BROADCAST,MULTICAST,UP"..., 854: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default
15:43:53.022747 write(1, " link/ether 6c:98:eb:00:03:4a"..., 55 link/ether 6c:98:eb:00:03:4a brd ff:ff:ff:ff:ff:ff
15:43:53.024733 write(1, "4: eth2: <BROADCAST,MULTICAST,UP"..., 534: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500


linux 3.18:
[ 124.043991] fsl-gianfar soc at ffe00000:ethernet at b2000 eth2: Link is Down
[ 125.044128] fsl-gianfar soc at ffe00000:ethernet at b2000 eth2: Link is Up - 1Gbps/Full - flow control rx/tx

ip monitor:
15:47:48.653391 write(1, "4: eth2: <BROADCAST,MULTICAST,UP"..., 854: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default
15:47:48.653733 write(1, " link/ether 6c:98:eb:00:03:4a"..., 55 link/ether 6c:98:eb:00:03:4a brd ff:ff:ff:ff:ff:ff
15:47:50.650452 write(1, "4: eth2: <NO-CARRIER,BROADCAST,M"..., 894: eth2: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN group default
15:47:50.651642 write(1, " link/ether 6c:98:eb:00:03:4a"..., 55 link/ether 6c:98:eb:00:03:4a brd ff:ff:ff:ff:ff:ff
15:47:51.650352 write(1, "4: eth2: <BROADCAST,MULTICAST,UP"..., 854: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default
15:47:51.651372 write(1, " link/ether 6c:98:eb:00:03:4a"..., 55 link/ether 6c:98:eb:00:03:4a brd ff:ff:ff:ff:ff:ff


Netifd starts the pppd process and tears it immediately down due the link down notification,
going in an endless ifup/pppd start/pppd kill/ifdown loop...

So is the Ethernet driver misbehaving or is it a netifd bug or both?
PPPoE with e1000 driver in vmware works fine...


Cheers
 Ulrich
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list