View unanswered posts | View active topics It is currently Tue Dec 10, 2019 1:07 pm



Reply to topic  [ 230 posts ]  Go to page Previous  1 ... 12, 13, 14, 15, 16, 17, 18 ... 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
iPerf data. *EDIT**From VM running under the Host***

USB NIC - ASIX AX88179_178a - ax88179vz025 driver

[ 4] 0.0-10.0 sec 106 MBytes 88.9 Mbits/sec

On Board NIC - Broadcom Corporation NetXtreme BCM5761S - tg3 driver

[ 4] 0.0-10.0 sec 106 MBytes 84.6 Mbits/sec


Trickstarter's driver consistently has better results than the on board NIC. And over USB!!
(AdamK <------Mind blown)

Great work Trickstarter!!


Thu Feb 21, 2013 5:16 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
That doesn't seem possible. Are you sure you don't have NIC teaming on? ;-) I am away from the code again today, I can take a shot at fixing the stats generation tonight.

On the packaging front I'm starting to wonder how well this is going to work. I think it would obe ne thing to get them in to a vib file, I'm more unsure about if and how the system will automatically load them upon insertion of the USB NIC.


Thu Feb 21, 2013 8:34 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
That was my first impression too. So I ran it again after making sure I wasn't teaming. 0:-)

Your incredibly humble good sir. ;-)

Maybe we can just create a package to replace the default usbnet and include the asix driver there...

That would allow us to put the device to driver mapping in the usbnet.map file. (I think anyway)

Thoughts?


Thu Feb 21, 2013 8:43 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
This one may have working stats counters. Let me know!


Attachments:
ax88179vz026.gz [15.65 KiB]
Downloaded 3412 times
usbnetvz026.gz [16.77 KiB]
Downloaded 3049 times
Thu Feb 21, 2013 6:43 pm
Profile

Joined: Sat Feb 23, 2013 5:22 pm
Posts: 4
Reply with quote
Post Re: ASIX AX88179_178a USB NIC Driver by Trickstarter
Just found out about this thread! Very Cool stuff Trickstarter!

I just purchased two USB NIC adapters and thought I give the two USB drivers a try, but sadly it did not work.

The first one is Sabrent USB 2.0 10/100 and shows up as the following in VMkernel log:

2013-02-24T01:01:12.657Z cpu0:4560)<6>usb 2-1.2: new high speed USB device using ehci_hcd and address 6
2013-02-24T01:01:12.790Z cpu0:4560)<6>usb 2-1.2: New USB device found, idVendor=0b95, idProduct=772a
2013-02-24T01:01:12.790Z cpu0:4560)<6>usb 2-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
2013-02-24T01:01:12.790Z cpu0:4560)<6>usb 2-1.2: Product: AX88x72A
2013-02-24T01:01:12.790Z cpu0:4560)<6>usb 2-1.2: Manufacturer: ASIX Elec. Corp.
2013-02-24T01:01:12.790Z cpu0:4560)<6>usb 2-1.2: SerialNumber: 000002
2013-02-24T01:01:12.791Z cpu2:4560)<6>usb 2-1.2: usbfs: registered usb0206

The second is Apple USB NIC adapter and shows up as the following in VMkernel log:

2013-02-24T01:02:33.016Z cpu2:4560)<6>usb 1-1.3: new high speed USB device using ehci_hcd and address 8
2013-02-24T01:02:33.152Z cpu2:4560)<6>usb 1-1.3: New USB device found, idVendor=05ac, idProduct=1402
2013-02-24T01:02:33.152Z cpu2:4560)<6>usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
2013-02-24T01:02:33.152Z cpu2:4560)<6>usb 1-1.3: Product: Apple USB Ethernet Adapter
2013-02-24T01:02:33.152Z cpu2:4560)<6>usb 1-1.3: Manufacturer: Apple Inc.
2013-02-24T01:02:33.152Z cpu2:4560)<6>usb 1-1.3: SerialNumber: 210618
2013-02-24T01:02:33.153Z cpu0:4560)<6>usb 1-1.3: usbfs: registered usb0108

I'm guessing different set of drivers maybe required?

Thanks


Sat Feb 23, 2013 5:28 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
Lamw,
Can you tail the vmkernel.log, then load the usbnet, then the ax88178, and plug in the adapter? Everything from the successful load of the usbnet module will be helpful. Also after its all loaded up, run esxcfg-nics -l and see if its listed?


Mon Feb 25, 2013 9:19 pm
Profile

Joined: Sat Feb 23, 2013 5:22 pm
Posts: 4
Reply with quote
Post Re: ASIX AX88179_178a USB NIC Driver by Trickstarter
Sure, but the above is already from the VMkernel logs, but here's the complete view from loading the drivers to plugging each of the USB NIC devices:

Code:
2013-02-26T15:25:44.076Z cpu7:5847)Loading module usbnetvz025 ...
2013-02-26T15:25:44.077Z cpu7:5847)Elf: 1852: module usbnetvz025 has license GPL
2013-02-26T15:25:44.078Z cpu7:5847)module heap: Initial heap size: 262144, max heap size: 5562368
2013-02-26T15:25:44.078Z cpu7:5847)vmklnx_module_mempool_init: Mempool max 5562368 being used for module: 71

2013-02-26T15:25:44.078Z cpu7:5847)vmk_MemPoolCreate passed for 64 pages

2013-02-26T15:25:44.078Z cpu7:5847)skb_mem_info mempool for module usbnetvz025 created - max size 23068672
2013-02-26T15:25:44.078Z cpu7:5847)module heap: using memType 2
2013-02-26T15:25:44.078Z cpu7:5847)module heap vmklnx_usbnet: creation succeeded. id = 0x41001c500000
2013-02-26T15:25:44.078Z cpu7:5847)Mod: 4485: Initialization of usbnetvz025 succeeded with module ID 71.
2013-02-26T15:25:44.078Z cpu7:5847)usbnetvz025 loaded successfully.
2013-02-26T15:25:48.438Z cpu6:5849)Loading module ax88179vz026 ...
2013-02-26T15:25:48.438Z cpu6:5849)Elf: 1852: module ax88179vz026 has license GPL
2013-02-26T15:25:48.438Z cpu6:5849)module heap: Initial heap size: 8388608, max heap size: 9756672
2013-02-26T15:25:48.438Z cpu6:5849)vmklnx_module_mempool_init: Mempool max 9756672 being used for module: 72

2013-02-26T15:25:48.438Z cpu6:5849)vmk_MemPoolCreate passed for 2048 pages

2013-02-26T15:25:48.438Z cpu6:5849)skb_mem_info mempool for module ax88179vz026 created - max size 33554432
2013-02-26T15:25:48.438Z cpu6:5849)module heap: using memType 2
2013-02-26T15:25:48.439Z cpu6:5849)module heap vmklnx_rx88179: creation succeeded. id = 0x41001d000000
2013-02-26T15:25:48.439Z cpu6:5849)<6>usbcore: registered new interface driver ax88179_178a
2013-02-26T15:25:48.439Z cpu6:5849)Mod: 4485: Initialization of ax88179vz026 succeeded with module ID 72.
2013-02-26T15:25:48.439Z cpu6:5849)ax88179vz026 loaded successfully.
2013-02-26T15:26:03.566Z cpu5:4560)<6>usb 2-1.3: new high speed USB device using ehci_hcd and address 4
2013-02-26T15:26:03.700Z cpu5:4560)<6>usb 2-1.3: New USB device found, idVendor=0b95, idProduct=772a
2013-02-26T15:26:03.700Z cpu5:4560)<6>usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
2013-02-26T15:26:03.700Z cpu5:4560)<6>usb 2-1.3: Product: AX88x72A
2013-02-26T15:26:03.700Z cpu5:4560)<6>usb 2-1.3: Manufacturer: ASIX Elec. Corp.
2013-02-26T15:26:03.700Z cpu5:4560)<6>usb 2-1.3: SerialNumber: 000002
2013-02-26T15:26:03.700Z cpu5:4560)<6>usb 2-1.3: usbfs: registered usb0204
2013-02-26T15:26:49.361Z cpu5:4560)<6>usb 1-1.3: new high speed USB device using ehci_hcd and address 7
2013-02-26T15:26:49.497Z cpu5:4560)<6>usb 1-1.3: New USB device found, idVendor=05ac, idProduct=1402
2013-02-26T15:26:49.497Z cpu5:4560)<6>usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
2013-02-26T15:26:49.497Z cpu5:4560)<6>usb 1-1.3: Product: Apple USB Ethernet Adapter
2013-02-26T15:26:49.497Z cpu5:4560)<6>usb 1-1.3: Manufacturer: Apple Inc.     
2013-02-26T15:26:49.497Z cpu5:4560)<6>usb 1-1.3: SerialNumber: 210618
2013-02-26T15:26:49.498Z cpu5:4560)<6>usb 1-1.3: usbfs: registered usb0107


Here's the output from lsusb showing each of the devices

Code:
~ # lsusb
Bus 02 Device 04: ID 0b95:772a ASIX Electronics Corp.


Code:
~ # lsusb
Bus 01 Device 07: ID 05ac:1402 Apple, Inc.


also I've already checked that esxcfg-nics -l does not show my new NICs (only the onboard using the tg3 driver) ;)

Code:
~ # esxcfg-nics -l
Name    PCI           Driver      Link Speed     Duplex MAC Address       MTU    Description                   
vmnic0  0000:02:00.00 tg3         Up   1000Mbps  Full   3c:07:54:77:af:54 1500   Broadcom Corporation NetXtreme BCM57765 Gigabit Ethernet


Tue Feb 26, 2013 7:29 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
Sorry for the long delay's my friends.

Jumbo Frames do not work at 9000 mtu on the USB NIC. (Didn't get a chance to try any other mtu settings.)

I tried to set up Jumbo frames on the two TG3 NICs but it destroyed my networking somehow to the point I have to re-install.

Trickstarter,
It does look like the latest version is getting performance counters. After I get this host back up correctly I will investigate further and let you know how well it's counting.

lmaw,
I would try without the Apple USB adapter. I know it's a different chipset. Trickstarter may just need to update the code to include your NIC version. Actually, I just noticed you have the 10/100 USB Based NIC. The driver source code is a little different. Try going to ASIX's website, download the source code for your device, and post it here. Or upload it to dropbox since sometimes uploading large files here can be a bit flaky every now and again. (Sorry Dave! Your site is still awesome!) I'd like to run a diff on the driver sources and see what, if anything, is different. Do you have a Linux box handy to put it on and see if it loads up a default driver in the kernel?

Thanks for everyone's patience!!


Tue Feb 26, 2013 7:38 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
Both of those devices would not work with the driver we have here. They would be covered by AX88772B_772A_760_772_178_LINUX_Driver_v4.5.0 from the asix website. Both USB identifiers you provided are in that source. Sadly it would effectively be starting from scratch with that driver.


Tue Feb 26, 2013 8:10 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
Trickstarter,
Thanks for jumping in. I was completely out of my realm here. 0:-) While I think it would be nice for Lamw, it still wouldn't be ideal in the long run since VMware dropped support for 10/100 NICs with ESX ver 4 anyway. :-(


Tue Feb 26, 2013 8:17 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 230 posts ]  Go to page Previous  1 ... 12, 13, 14, 15, 16, 17, 18 ... 23  Next

Who is online

Users browsing this forum: No registered users and 0 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.