Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Apr 2010 17:26:05 GMT
From:      SERGEY PEREVALOV <perevalov84@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   usb/146153: [axe][usb] Hosts in network doesn't receive any packets from gigabit usb to ethernet adapter
Message-ID:  <201004291726.o3THQ5KD048090@www.freebsd.org>
Resent-Message-ID: <201004291730.o3THU1BU095362@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         146153
>Category:       usb
>Synopsis:       [axe][usb] Hosts in network doesn't receive any packets from gigabit usb to ethernet adapter
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 29 17:30:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     SERGEY PEREVALOV
>Release:        FreeBSD 8.0-RELEASE-p2
>Organization:
I own a tiny buisness
>Environment:
FreeBSD laptop 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan  5 16:02:27 UTC 2010     root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
Gigabit usb to ethernet adapter works well within windows, but within FreeBSD 8.0 it doesn't work properly. I found out that hosts in network doesn't receive any packet from this device. I have checked it by tcpdump and ping commands. First I connected only 2 freebsd 8.0 hosts without switch. Then set up network and started ping each. The tcpdump on host, where adapter was installed, showed that it receive and answer to received packets. But another host doesn't receive any packet and continuing send arp packets. And on host where adapter was not installed arp table is empty. I tried to install adapter on another host but problem was repeated.
In attach some tcpdump output from host where adapter was installed.

dmesg:
ugen4.2: <vendor 0x0b95> at usbus4
axe0: <vendor 0x0b95 product 0x1780, rev 2.00/0.01, addr 2> on usbus4
axe0: PHYADDR 0xe0:0x02
miibus0: <MII bus> on axe0
rgephy0: <RTL8169S/8110S/8211B media interface> PHY 2 on miibus0
rgephy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
ue0: <USB Ethernet> on axe0
ue0: Ethernet address: 00:0e:c6:88:09:4e

usbconfig:
laptop# usbconfig
ugen0.1: <UHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen1.1: <UHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen2.1: <UHCI root HUB Intel> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen3.1: <UHCI root HUB Intel> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen4.1: <EHCI root HUB Intel> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
ugen4.2: <product 0x1780 vendor 0x0b95> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
ugen0.2: <Optical Mouse Genius> at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON

ifconfig:
ue0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 00:0e:c6:88:09:4e
        inet 192.168.2.22 netmask 0xffffff00 broadcast 192.168.2.255
        media: Ethernet autoselect (100baseTX <full-duplex>)
        status: active

P.S.: I apologize for my English.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

01:02:49.266149 IP (tos 0x0, ttl 64, id 4535, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 46, length 64
01:02:49.294375 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.2.22 tell 192.168.2.7, length 46
01:02:54.278539 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.2.22 tell 192.168.2.7, length 46
01:02:59.085138 ARP, Ethernet (len 6), IPv4 (len 4), Reply 192.168.2.22 is-at 00:0e:c6:88:09:4e (oui Unknown), length 28
01:02:59.085142 IP (tos 0x0, ttl 64, id 4536, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 47, length 64
01:02:59.085145 IP (tos 0x0, ttl 64, id 4537, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 48, length 64
01:02:59.085147 IP (tos 0x0, ttl 64, id 4538, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 49, length 64
01:02:59.085150 IP (tos 0x0, ttl 64, id 4539, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 50, length 64
01:02:59.085153 IP (tos 0x0, ttl 64, id 4540, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 51, length 64
01:02:59.085155 ARP, Ethernet (len 6), IPv4 (len 4), Reply 192.168.2.22 is-at 00:0e:c6:88:09:4e (oui Unknown), length 28
01:02:59.085158 IP (tos 0x0, ttl 64, id 4541, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 52, length 64
01:02:59.085160 IP (tos 0x0, ttl 64, id 4542, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 53, length 64
01:02:59.085162 IP (tos 0x0, ttl 64, id 4543, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 54, length 64
01:02:59.085165 IP (tos 0x0, ttl 64, id 4544, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 55, length 64
01:02:59.085167 IP (tos 0x0, ttl 64, id 4545, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 56, length 64
01:02:59.778343 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.2.22 tell 192.168.2.7, length 46
01:03:04.778006 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.2.22 tell 192.168.2.7, length 46
01:03:08.904157 ARP, Ethernet (len 6), IPv4 (len 4), Reply 192.168.2.22 is-at 00:0e:c6:88:09:4e (oui Unknown), length 28
01:03:08.904162 IP (tos 0x0, ttl 64, id 4546, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 57, length 64
01:03:08.904164 IP (tos 0x0, ttl 64, id 4547, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 58, length 64
01:03:08.904167 IP (tos 0x0, ttl 64, id 4548, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 59, length 64
01:03:08.904169 IP (tos 0x0, ttl 64, id 4549, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 60, length 64
01:03:08.904172 IP (tos 0x0, ttl 64, id 4550, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 61, length 64
01:03:08.904174 ARP, Ethernet (len 6), IPv4 (len 4), Reply 192.168.2.22 is-at 00:0e:c6:88:09:4e (oui Unknown), length 28
01:03:08.904177 IP (tos 0x0, ttl 64, id 4551, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 62, length 64
01:03:08.904179 IP (tos 0x0, ttl 64, id 4552, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 63, length 64
01:03:08.904182 IP (tos 0x0, ttl 64, id 4553, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 64, length 64
01:03:08.904184 IP (tos 0x0, ttl 64, id 4554, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 65, length 64
01:03:10.277807 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.2.22 tell 192.168.2.7, length 46
01:03:15.777737 ARP, Ethernet (len 6), IPv4 (len 4), Request who-has 192.168.2.22 tell 192.168.2.7, length 46
01:03:18.723175 IP (tos 0x0, ttl 64, id 4555, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 66, length 64
01:03:18.723179 IP (tos 0x0, ttl 64, id 4556, offset 0, flags [none], proto ICMP (1), length 84) 192.168.2.22 > 192.168.2.7: ICMP echo request, id 41483, seq 67, length 64
01:03:18.723181 ARP, Ethernet (len 6), IPv4 (len 4), Reply 192.168.2.22 is-at 00:0e:c6:88:09:4e (oui Unknown), length 28


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004291726.o3THQ5KD048090>