From owner-freebsd-usb@FreeBSD.ORG Thu Apr 29 17:30:01 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96C9F1065672 for ; Thu, 29 Apr 2010 17:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 56C6F8FC14 for ; Thu, 29 Apr 2010 17:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o3THU1vr095364 for ; Thu, 29 Apr 2010 17:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o3THU1BU095362; Thu, 29 Apr 2010 17:30:01 GMT (envelope-from gnats) Resent-Date: Thu, 29 Apr 2010 17:30:01 GMT Resent-Message-Id: <201004291730.o3THU1BU095362@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, SERGEY PEREVALOV Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 208BF106566C for ; Thu, 29 Apr 2010 17:26:06 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 0C6DC8FC0A for ; Thu, 29 Apr 2010 17:26:06 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o3THQ5en048101 for ; Thu, 29 Apr 2010 17:26:05 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o3THQ5KD048090; Thu, 29 Apr 2010 17:26:05 GMT (envelope-from nobody) Message-Id: <201004291726.o3THQ5KD048090@www.freebsd.org> Date: Thu, 29 Apr 2010 17:26:05 GMT From: SERGEY PEREVALOV To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/146153: [axe][usb] Hosts in network doesn't receive any packets from gigabit usb to ethernet adapter X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Apr 2010 17:30:01 -0000 >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: at usbus4 axe0: on usbus4 axe0: PHYADDR 0xe0:0x02 miibus0: on axe0 rgephy0: PHY 2 on miibus0 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto ue0: on axe0 ue0: Ethernet address: 00:0e:c6:88:09:4e usbconfig: laptop# usbconfig ugen0.1: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen1.1: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen2.1: at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen3.1: at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON ugen4.1: at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen4.2: at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON ugen0.2: at usbus0, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON ifconfig: ue0: flags=8843 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 ) 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: