← Back to team overview

kernel-packages team mailing list archive

[Bug 1048755] Re: 0b95:1780 Connection errors with asix driver on Linux 2.6.39+

 

Sorry I'll not be able to do another round of upstream testing. The
machine where the USB network adapters are connected to is in a
production environment, so it'll be much cheaper for the customer to use
kernel 2.6.38 as long as possible and then simply get rid of those
adapters, instead of scheduling another downtime and maintenance work.
Thank you anyway.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1048755

Title:
  0b95:1780 Connection errors with asix driver on Linux 2.6.39+

Status in “linux” package in Ubuntu:
  Expired

Bug description:
  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.

  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

  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1048755/+subscriptions