View unanswered posts | View active topics It is currently Thu Nov 15, 2018 4:35 am



Reply to topic  [ 230 posts ]  Go to page Previous  1 ... 16, 17, 18, 19, 20, 21, 22, 23  Next
 ASIX AX88179_178a USB NIC Driver by Trickstarter 
Author Message

Joined: Tue Jan 22, 2013 11:31 am
Posts: 137
Reply with quote
Post Re: ASIX AX88179_178a USB NIC Driver by Trickstarter
Scratch that.. Ones from Win-Star are drivers for both. :-(


Tue Mar 12, 2013 4:40 am
Profile

Joined: Thu Mar 07, 2013 2:59 pm
Posts: 22
Reply with quote
Post Re: ASIX AX88179_178a USB NIC Driver by Trickstarter
Its definitely USB3 Gigabit nic in windows.


Tue Mar 12, 2013 12:52 pm
Profile

Joined: Thu Mar 07, 2013 2:59 pm
Posts: 22
Reply with quote
Post Re: ASIX AX88179_178a USB NIC Driver by Trickstarter
Where is he? :cry:


Wed Mar 13, 2013 5:16 am
Profile

Joined: Tue Jan 22, 2013 11:31 am
Posts: 137
Reply with quote
Post Re: ASIX AX88179_178a USB NIC Driver by Trickstarter
He's quite popular on here and is, I would assume, very busy. He didn't leave everyone without options.
He made a great write up for making your own build environment in this post;

viewtopic.php?f=28&t=4340


Wed Mar 13, 2013 5:23 am
Profile

Joined: Mon Jan 28, 2013 5:09 pm
Posts: 100
Reply with quote
Post Re: ASIX AX88179_178a USB NIC Driver by Trickstarter
I've read through your posts carefully and my conclusion is that this is nothing to do with the AX88179 driver at all. If you look at these error messages:

Quote:
2013-03-10T22:02:27.528Z cpu2:2512)<6>usb 2-1.3: new high speed USB device using ehci_hcd and address 14
2013-03-10T22:02:27.625Z cpu2:2512)<3>usb 2-1.3: device descriptor read/64, error -71
2013-03-10T22:02:27.833Z cpu2:2512)<3>usb 2-1.3: device descriptor read/64, error -71
2013-03-10T22:02:28.028Z cpu2:2512)<6>usb 2-1.3: new high speed USB device using ehci_hcd and address 15
2013-03-10T22:02:28.125Z cpu2:2512)<3>usb 2-1.3: device descriptor read/64, error -71
2013-03-10T22:02:28.333Z cpu2:2512)<3>usb 2-1.3: device descriptor read/64, error -71
2013-03-10T22:02:28.528Z cpu2:2512)<6>usb 2-1.3: new high speed USB device using ehci_hcd and address 16


... those are coming out of the USB core code. They are nothing to do with the AX driver at all. Just to confirm, you should fresh boot the system and without the usbnet or ax modules loaded, plug in the device and watch the vmkernel log. If you're already seeing these errors, and there's no AX driver even loaded, then that's no better evidence to underline that theory.

Those messages suggest the USB code is failing to enumerate the USB device as it's plugged in. I have no idea why that would happen, especially if the device is working well under Windows. Presumably there is a some sort of subtle incompatibly or bug between the USB device, the USB chipset, and the linux code that's trying to pull them all together.

These are the best suggestions I can come up with:

1) Confirm you do see those USB errors before the AX or usbnet drivers are loaded
2) Provide your lspci output
3) Provide output from esxcfg-advcfg -j iovDisableIR
4) Verify that under ESXI, it does gracefully handle the attachment of some other USB device. Try plugging in a flash drive in to the same port- does it produce the same sort of device descriptor errors?
5) Do you have the latest EFI firmware from Apple?
6) You're not trying to attach via a hub correct? This is plugged direct to the Mac?
7) Did your Windows testing go as far as actually setting an IP and moving data over it? Maybe there is a hardware fault that manifests differently on Windows and Linux.
8) Have you tried to natively install a Linux distro and make use of the vendor provided linux drivers?
9) Provide your lsusb -v output (with and without the device plugged in, no nic cable connected on either way)


Wed Mar 13, 2013 7:08 am
Profile

Joined: Thu Mar 07, 2013 2:59 pm
Posts: 22
Reply with quote
Post Re: ASIX AX88179_178a USB NIC Driver by Trickstarter
Hey Trickstarter,

Thanks for the ideas - please see the results below.

1) Confirm you do see those USB errors before the AX or usbnet drivers are loaded
Yes - these errors exist from fresh boot.
2013-03-13T22:28:40.853Z cpu0:2512)<6>usb 2-1.3: new high speed USB device using ehci_hcd and address 10
2013-03-13T22:28:40.949Z cpu0:2512)<3>usb 2-1.3: device descriptor read/64, error -71
2013-03-13T22:28:41.157Z cpu0:2512)<3>usb 2-1.3: device descriptor read/64, error -71
2013-03-13T22:28:41.353Z cpu0:2512)<6>usb 2-1.3: new high speed USB device using ehci_hcd and address 11
2013-03-13T22:28:41.450Z cpu2:2512)<3>usb 2-1.3: device descriptor read/64, error -71
2013-03-13T22:28:41.658Z cpu2:2512)<3>usb 2-1.3: device descriptor read/64, error -71
2013-03-13T22:28:41.855Z cpu2:2512)<6>usb 2-1.3: new high speed USB device using ehci_hcd and address 12
2013-03-13T22:28:42.287Z cpu2:2512)<3>usb 2-1.3: device not accepting address 12, error -71
2013-03-13T22:28:42.372Z cpu2:2512)<6>usb 2-1.3: new high speed USB device using ehci_hcd and address 13
2013-03-13T22:28:42.803Z cpu2:2512)<3>usb 2-1.3: device not accepting address 13, error -71
2013-03-13T22:28:42.803Z cpu6:2512)<3>hub 2-1:1.0: unable to enumerate USB device on port 3


2) Provide your lspci output
~ # lspci
00:00:00.0 Bridge: Intel Corporation Ivy Bridge DRAM Controller
00:00:01.0 Bridge: Intel Corporation Ivy Bridge PCI Express Root Port [PCIe RP[00:00:01.0]]
00:00:02.0 Display controller: Intel Corporation
00:00:14.0 Serial bus controller: Intel Corporation Panther Point USB xHCI Host Controller
00:00:16.0 Communication controller: Intel Corporation Panther Point MEI Controller #1
00:00:1a.0 Serial bus controller: Intel Corporation Panther Point USB Enhanced Host Controller #2
00:00:1b.0 Multimedia controller: Intel Corporation Panther Point High Definition Audio Controller
00:00:1c.0 Bridge: Intel Corporation Panther Point PCI Express Root Port 1 [PCIe RP[00:00:1c.0]]
00:00:1c.1 Bridge: Intel Corporation Panther Point PCI Express Root Port 2 [PCIe RP[00:00:1c.1]]
00:00:1c.2 Bridge: Intel Corporation Panther Point PCI Express Root Port 3 [PCIe RP[00:00:1c.2]]
00:00:1d.0 Serial bus controller: Intel Corporation Panther Point USB Enhanced Host Controller #1
00:00:1f.0 Bridge: Intel Corporation Panther Point LPC Controller
00:00:1f.2 Mass storage controller: Intel Corporation Panther Point AHCI Controller [vmhba0]
00:00:1f.3 Serial bus controller: Intel Corporation Panther Point SMBus Controller
00:01:00.0 Network controller: Broadcom Corporation NetXtreme BCM5761S Gigabit Ethernet [vmnic0]
00:01:00.1 Generic system peripheral: Broadcom Corporation NetXtreme BCM57765 Memory Card Reader
00:02:00.0 Network controller: Broadcom Corporation BCM4331 802.11a/b/g/n
00:03:00.0 Serial bus controller: Agere Systems FW643 PCI Express1394b Controller (PHY/Link)
00:04:00.0 Bridge: Intel Corporation
00:05:00.0 Bridge: Intel Corporation
00:05:03.0 Bridge: Intel Corporation
00:05:04.0 Bridge: Intel Corporation
00:05:05.0 Bridge: Intel Corporation
00:05:06.0 Bridge: Intel Corporation
00:06:00.0 Generic system peripheral: Intel Corporation
00:07:00.0 Bridge: Intel Corporation
00:08:00.0 Bridge: Intel Corporation
00:09:00.0 Network controller: Broadcom Corporation [vmnic32]

3) Provide output from esxcfg-advcfg -j iovDisableIR
~ # esxcfg-advcfg -j iovDisableIR
iovDisableIR = TRUE

4) Verify that under ESXI, it does gracefully handle the attachment of some other USB device. Try plugging in a flash drive in to the same port- does it produce the same sort of device descriptor errors?
No, seems to work. Using exact same port
2013-03-13T22:30:56.024Z cpu6:2512)<6>usb 2-1.3: USB disconnect, address 14
2013-03-13T22:30:56.024Z cpu6:2512)<6>usb 2-1.3: usbfs: unregistered usb020e
2013-03-13T22:30:59.091Z cpu6:2512)<6>usb 2-1.3: new high speed USB device using ehci_hcd and address 15
2013-03-13T22:30:59.208Z cpu6:2512)<6>usb 2-1.3: New USB device found, idVendor=0781, idProduct=5576
2013-03-13T22:30:59.208Z cpu6:2512)<6>usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
2013-03-13T22:30:59.208Z cpu6:2512)<6>usb 2-1.3: Product: Firebird USB Flash Drive
2013-03-13T22:30:59.208Z cpu6:2512)<6>usb 2-1.3: Manufacturer: SanDisk
2013-03-13T22:30:59.208Z cpu6:2512)<6>usb 2-1.3: SerialNumber: 4C532000010915114170
2013-03-13T22:30:59.208Z cpu5:2512)<6>usb 2-1.3: Vendor: 0x0781, Product: 0x5576, Revision: 0x0126
2013-03-13T22:30:59.208Z cpu5:2512)<6>usb 2-1.3: Interface Subclass: 0x06, Protocol: 0x50
2013-03-13T22:30:59.209Z cpu5:2512)WARNING: LinScsiLLD: scsi_add_host:601:vmkAdapter (usb-storage) sgMaxEntries rounded to 255.

Reported size was 255
2013-03-13T22:30:59.209Z cpu5:2512)DMA: 609: DMA Engine 'vmhba38' created using mapper 'DMANull'.
2013-03-13T22:30:59.209Z cpu5:2512)<6>usb-storage 2-1.3:1.0: interface is claimed by usb-storage
2013-03-13T22:30:59.209Z cpu5:2512)<6>usb 2-1.3: device is not available for passthrough
2013-03-13T22:30:59.209Z cpu5:2512)<6>usb 2-1.3: usbfs: registered usb020f
2013-03-13T22:30:59.221Z cpu4:2077)ScsiNpiv: 1525: GetInfo for adapter vmhba38, [0x410005044600], max_vports=0, vports_inuse=0,

linktype=0, state=0, failreason=0, rv=-1, sts=bad0020
2013-03-13T22:31:00.213Z cpu1:3948)usb-storage: detected SCSI revision number 5 on vmhba38
2013-03-13T22:31:00.213Z cpu1:3948)usb-storage: patching inquiry data to change SCSI revision number from 5 to 2 on vmhba38
2013-03-13T22:31:00.213Z cpu1:3948)usb-storage: setting peripheral qualifier to 'not connected' on vmhba38
2013-03-13T22:31:00.213Z cpu4:2492)<6>usb-storage 2-1.3:1.0: unclaiming vmhba38
2013-03-13T22:31:00.213Z cpu4:2492)LinScsiLLD: scsi_remove_host:875: Removed Host Adapter vmhba38
2013-03-13T22:31:00.213Z cpu4:2492)<6>usb 2-1.3: device is available for passthrough
2013-03-13T22:31:00.213Z cpu4:2492)ScsiAdapter: 2243: Unregistering adapter vmhba38
2013-03-13T22:31:00.213Z cpu4:2492)DMA: 654: DMA Engine 'vmhba38' destroyed.

5) Do you have the latest EFI firmware from Apple?
Yes - MM61.0106.B03 (EFI 1.7)

6) You're not trying to attach via a hub correct? This is plugged direct to the Mac?
Yes directly connected.

7) Did your Windows testing go as far as actually setting an IP and moving data over it? Maybe there is a hardware fault that manifests differently on Windows and Linux.
Yes, re-tested just before. Pulled 1gb file over LAN in 9 seconds - same speed as my onboard gigabit nic.

8) Have you tried to natively install a Linux distro and make use of the vendor provided linux drivers?
Will do this now and get back to you. (will take me a while no doubt).

9) Provide your lsusb -v output (with and without the device plugged in, no nic cable connected on either way)
See attached.


Attachments:
connected.txt [34.38 KiB]
Downloaded 205 times
unconnected.txt [34.35 KiB]
Downloaded 224 times
Wed Mar 13, 2013 2:48 pm
Profile

Joined: Thu Mar 07, 2013 2:59 pm
Posts: 22
Reply with quote
Post Re: ASIX AX88179_178a USB NIC Driver by Trickstarter
Funnily enough:

This is on a Centos 5.8 box:

Mar 14 08:53:19 felix kernel: usb 1-5: new high speed USB device using ehci_hcd and address 2
Mar 14 08:53:19 felix kernel: usb 1-5: device descriptor read/64, error -71
Mar 14 08:53:19 felix kernel: usb 1-5: device descriptor read/64, error -71
Mar 14 08:53:20 felix kernel: usb 1-5: new high speed USB device using ehci_hcd and address 3
Mar 14 08:53:20 felix kernel: usb 1-5: device descriptor read/64, error -71
Mar 14 08:53:20 felix kernel: usb 1-5: device descriptor read/64, error -71
Mar 14 08:53:20 felix kernel: usb 1-5: new high speed USB device using ehci_hcd and address 4
Mar 14 08:53:21 felix kernel: usb 1-5: device not accepting address 4, error -71
Mar 14 08:53:21 felix kernel: usb 1-5: new high speed USB device using ehci_hcd and address 5
Mar 14 08:53:21 felix kernel: usb 1-5: device not accepting address 5, error -71

Exact same errors.. no drivers installed yet. Will install them now and advise


Wed Mar 13, 2013 2:52 pm
Profile

Joined: Thu Mar 07, 2013 2:59 pm
Posts: 22
Reply with quote
Post Re: ASIX AX88179_178a USB NIC Driver by Trickstarter
OK spent all day working on this.

I have narrowed down the issue to an issue with the hardware on a Kernel level. It seems the kernel: core usb module is throwing the error.
Its in the (/drivers/usb/core/hub.c) hub_port_init around Line 2301. Specifically, there is a call to the hardware to read the device descriptor, which is returning a Protocol error (71).

Error on centos:
Mar 14 12:30:12 felix kernel: usb 1-5: new high speed USB device using ehci_hcd
Mar 14 12:30:13 felix kernel: usb 1-5: device not accepting address 18, error -71

Through my numerous Google's, many suggested enabling the option on the usb module "old_scheme_first" and "use_both_schemes" - this hasn't helped.

I managed to compile the driver from ASIX on CentOS - but I had to 'hack' it a fair bit to get it there. It loads ok, but doesn't help at all.

Any ideas on where to go from here?

AdamK - can you provide a specific link on where you bought the device you have? I saw a link somewhere, but it didn't allow shipping to Australia. If I can get one working, I'll need 4 of them.


Wed Mar 13, 2013 7:16 pm
Profile

Joined: Tue Jan 22, 2013 11:31 am
Posts: 137
Reply with quote
Post Re: ASIX AX88179_178a USB NIC Driver by Trickstarter
I got them from Newegg.com, but they have StarTech.com labels. I'll put up a proper link tomorrow.


Wed Mar 13, 2013 7:29 pm
Profile

Joined: Mon Jan 28, 2013 5:09 pm
Posts: 100
Reply with quote
Post Re: ASIX AX88179_178a USB NIC Driver by Trickstarter
I have decided to buy one of these nics to use mostly with my Macbook since I don't have an RJ45 on it, but I'll be able to try this driver on it.

http://www.amazon.com/BobjGear-SuperSpe ... sb+gigabit

It should be turning up tomorrow, I'll let you know how I get on with it.


Thu Mar 14, 2013 5:31 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 230 posts ]  Go to page Previous  1 ... 16, 17, 18, 19, 20, 21, 22, 23  Next

Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.