Bug 16831

Summary: Mainline's asix driver does not work with A-Link NA1GU - does not send data
Product: Drivers Reporter: Zarhan (zarhan)
Component: NetworkAssignee: drivers_network (drivers_network)
Status: RESOLVED DUPLICATE    
Severity: normal CC: alan, myxal.mxl, rom_as, tt
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.39 Subsystem:
Regression: No Bisected commit-id:

Description Zarhan 2010-08-23 15:35:25 UTC
Using A-Link NA1GU, which uses ASIX 88772 chip, does not work with mainline kernel's asix driver. The driver detects the network interface correctly. However, when attempting to use the device, it does not send data frames at all. TX counters do increase, and tcpdump shows packets being sent - but they do not appear on the wire in reality. This applies to any and all packets - arps, DHCP requests, ICMP's, whatever. Receiving data works ok.

This issue appeared at three separate computers, one of them an Alix router (Geode board) running Debian with kernel 2.6.26, one desktop computer (Ubuntu with kernel 2.6.28), and one laptop running Gentoo Linux and kernel 2.6.35.

The driver code from the vendor, located at 

http://www.asix.com.tw/FrootAttach/driver/AX88772B_772A_760_772_178_LINUX2.6.32_Driver_v3.2.0_Source.tar.bz2

works ok and compiles against kernel sources 2.6.26 and 2.6.28 (Debian and Ubuntu variants). However, it does not compile against kernel 2.6.35 (tarball's readme says that tested until 2.6.32). 

Any chances of integrating the functional differences to the main tree?
Comment 1 Zarhan 2010-10-25 11:00:26 UTC
Still not fixed in 2.6.36.
Comment 2 Zarhan 2010-10-25 11:26:43 UTC
Looks like new version from vendor now compiles even with 2.6.36, so it's fixed from my point of view..
Comment 3 tt 2010-12-20 22:09:15 UTC
I can confirm the behaviour where the device won't actually send anything. This happens with two different machines, one running 2.6.34 or 2.6.36.2 and the other running 2.6.33.5.

I was able to fix this on the other machine, running kernel 2.6.33.5, by using the vendor asix driver version 3.5.0. On the other machine this didn't help with either of the kernels. The device didn't work.

The A-Link NA1GU has the ASIX AX88178 chipset.
Comment 4 Zarhan 2011-01-06 13:14:11 UTC
This is still present in 2.6.37. Luckily the vendor's version still works.
Comment 5 Zarhan 2011-01-06 16:37:09 UTC
http://asix.com.tw/FrootAttach/driver/AX88772B_772A_760_772_178_LINUX2.6.35_Driver_v3.5.0_Source.tar.bz2

Link to the working vendor-supplied driver.
Comment 6 Roman Savochenko 2011-06-06 12:22:04 UTC
I have like problem with D-Link Corp. DUB-E100 Fast Ethernet [asix].
The problem present on 2.6.38 and 2.6.39 kernel versions!
Comment 7 Alan 2013-12-10 21:58:10 UTC
Closing as obsolete, please re-open if still present in modern kernels
Comment 8 Alan 2013-12-23 11:43:37 UTC

*** This bug has been marked as a duplicate of bug 29082 ***