** Summary changed: - Connection errors with asix driver in Linux 3.2+ + Connection errors with asix driver on Linux 2.6.39+
** Description changed: - This bug report is similar to bug #947723, but is not solved with kernel - 3.2.0-30.48. + This bug report is similar to bug #947723, but still unsolved. In fact + the problem got worse with newer kernel versions. - I upgraded a router from Natty to Precise. This router has 2 "real" network cards (Intel & Realtek based) and 2 USB-Ethernet adapters (Level1 USB-0201) that are using the asix driver. - After the upgrade I noticed erratic connection problems with one of asix devices and the line "kernel: [133466.272231] asix 1-6:1.0: eth2: link up, 100Mbps, full-duplex, lpa 0x45E1" was appearing every 5-30 minutes in the syslog. After some time the same problem also started happening with the second asix device. The connection basically works, but every once in a while no data is received anymore for about one minute. The Realtek and Intel network cards do not show any problems. + I upgraded a router from Natty to Precise. This router has 2 "real" network cards (Intel & Realtek based) and 2 USB-Ethernet adapters (Level1 USB-0201) that are using the asix driver and has worked flawlessly with Natty. + After the upgrade I noticed erratic connection problems every 5-30 minutes on one of asix devices and the line "kernel: [133466.272231] asix 1-6:1.0: eth2: link up, 100Mbps, full-duplex, lpa 0x45E1" was appearing everytime in the syslog. After some time the same problem also started happening with the second asix device. The connection basically works, but every once in a while no data is received anymore for about one minute. The Realtek and Intel network cards do not show any problems. lsusb: Bus 001 Device 002: ID 0b95:1780 ASIX Electronics Corp. AX88178 Bus 001 Device 003: ID 0b95:1780 ASIX Electronics Corp. AX88178 The ouput of "ifconfig" looks like this for the asix devices: RX packets:371695 errors:19 dropped:140772 overruns:0 frame:2 TX packets:431601 errors:0 dropped:0 overruns:0 carrier:0 - Additionally when running tcpdump on the asix devices, every incoming - packet is followed by a line "19:41:12.355857 6b:f0:34:24:68:ef > - 3e:00:c1:ff:00:11, ethertype Unknown (0xbd58), length 66:". The *actual* - MAC address of this asix device is 00:11:6b:f0:34:24, which are the last - 2 numbers of the receiver and the first 4 numbers of the sender in the - tcpdump output. + Additionally when running tcpdump on the asix devices, every incoming packet is followed by a line + "19:41:12.355857 6b:f0:34:24:68:ef > 3e:00:c1:ff:00:11, ethertype Unknown (0xbd58), length 66:". + The *actual* MAC address of this asix device is 00:11:6b:f0:34:24, which are the last 2 numbers of the receiver and the first 4 numbers of the sender in the tcpdump output. - I downloaded the drivers from the Asix website - (http://www.asix.com.tw/FrootAttach/driver/AX88772B_772A_760_772_178_LINUX_Driver_v4.4.0_Source.zip), - compiled them and copied the resulting module asix.ko into - /lib/modules/3.2.0-30-generic/kernel/drivers/net/usb/ && depmod -a && - modprobe asix. By changing this single file the problem disappeared. - When loading this driver the line "kernel: [ 1414.449529] wan2: rxqlen 0 - --> 5" is printed to the syslog, in case this has any meaning. + I downloaded the drivers from the Asix website (http://www.asix.com.tw/FrootAttach/driver/AX88772B_772A_760_772_178_LINUX_Driver_v4.4.0_Source.zip), compiled them and copied the resulting module asix.ko into /lib/modules/3.2.0-30-generic/kernel/drivers/net/usb/ && depmod -a && modprobe asix. With this driver the output of "ifconfig" didn't include errors/dropped anymore and the output of tcpdump looked normal (no unknown ethertype). However the intermittent connection drops still occured. The driver printed the following lines into syslog whenever the connection was interrupted: + Sep 10 20:21:05 hostname kernel: [ 2509.259180] eth2: ax88178 - Link status is: 0 + Sep 10 20:21:07 hostname kernel: [ 2511.051420] eth2: kevent 4 scheduled + Sep 10 20:21:07 hostname kernel: [ 2511.051428] eth2: ax88178 - Link status is: 1 - I also tried various other kernels: - With the latest kernel from Oneiric (http://ubuntu.mirror.cambrium.nl/ubuntu//pool/main/l/linux/linux-image-3.0.0-25-generic_3.0.0-25.41_amd64.deb), the problem does NOT appear. - With kernel 3.1.10 (http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.1.10-precise/linux-image-3.1.10-030110-generic_3.1.10-030110.201201181135_amd64.deb) the problem does NOT appear. - With mainline kernel 3.6rc5 (http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-rc5-quantal/linux-image-3.6.0-030600rc5-generic_3.6.0-030600rc5.201209082035_amd64.deb) the problem DOES appear. So the mainline kernel is affected as well. - The precise kernel (3.2.0-30.48) is of course causing the problem too. - So the offending change must have been introduced with Linux 3.2. I can - also try other kernels if necessary, however since this is a machine in - production it can take a while. + I also tried various other kernels. + The following kernel versions showed no or hardly any errors in the output of "ifconfig" and "tcpdump" and the connection was stable: + Latest Natty kernel 2.6.38-15.66 amd64 + + The following kernel versions showed no or hardly any errors in the output of "ifconfig" and "tcpdump", however intermittent connection drops happened as explained above: + Kernel 2.6.39 (http://kernel.ubuntu.com/~kernel-ppa/mainline/v2.6.39.4-oneiric/linux-image-2.6.39-02063904-generic_2.6.39-02063904.201108040905_amd64.deb) + Latest Oneiric kernel 3.0.0-25.41 + Kernel 3.1.10 (http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.1.10-precise/linux-image-3.1.10-030110-generic_3.1.10-030110.201201181135_amd64.deb) + + The following kernel versions showed a lot of dropped packets in the output of "ifconfig", tcpdump displays "unknown ethertype" on all incoming packets and the connection was unstable: + Latest Precise kernel 3.2.0-30.48 + Mainline kernel 3.6rc5 (http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.6-rc5-quantal/linux-image-3.6.0-030600rc5-generic_3.6.0-030600rc5.201209082035_amd64.deb) + + + As an additional note there is only PPPoE traffic flowing over the asix devices. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1048755 Title: Connection errors with asix driver on Linux 2.6.39+ To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1048755/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
