From owner-freebsd-net@FreeBSD.ORG Tue Jun 15 05:18:55 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACFFC1065674 for ; Tue, 15 Jun 2010 05:18:55 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe10.swip.net [212.247.155.33]) by mx1.freebsd.org (Postfix) with ESMTP id 2330B8FC1A for ; Tue, 15 Jun 2010 05:18:54 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=IcRiYJMB21UA:10 a=ygRHs6EKU7oA:10 a=8nJEP1OIZ-IA:10 a=M8b_wTzEtboA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=Vt2AcnKqAAAA:8 a=6I5d2MoRAAAA:8 a=LR4RE2_GVRJqrhQT9hkA:9 a=NZtxOFrxHk-MTxd9FBoA:7 a=-ma_WNCoKxBfr3w6pTl6sl5pnUIA:4 a=wPNLvfGTeEIA:10 a=SV7veod9ZcQA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe10.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 1201457078; Tue, 15 Jun 2010 07:08:51 +0200 From: Hans Petter Selasky To: pyunyh@gmail.com Date: Tue, 15 Jun 2010 07:06:02 +0200 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <4BE44E2D.6060907@gmail.com> <4C148135.7080704@gmail.com> <20100614211155.GB4257@michelle.cdnetworks.com> In-Reply-To: <20100614211155.GB4257@michelle.cdnetworks.com> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201006150706.03039.hselasky@c2i.net> Cc: freebsd-net@freebsd.org, Sergey Perevalov Subject: Re: [axe][ue0] Device send packets but any host in network can not receive any packet from it. X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jun 2010 05:18:55 -0000 On Monday 14 June 2010 23:11:55 Pyun YongHyeon wrote: > On Sun, Jun 13, 2010 at 11:56:53AM +0500, Sergey Perevalov wrote: > > On 04.06.2010 02:46, Pyun YongHyeon wrote: > > >On Thu, Jun 03, 2010 at 06:51:00PM +0500, Perevalov Sergey wrote: > > >>On 02.06.2010 03:24, Pyun YongHyeon wrote: > > >>>On Tue, Jun 01, 2010 at 11:31:13PM +0500, Perevalov Sergey wrote: > > >>>>Hi! > > >>>>I tried it with crossover cable but results was the same bad. Then > > >>>> set debug flag hw.usb.axe.debug: to 15, and started ping -f from > > >>>> ue0. And in /var/log/messages I found these strings: > > >>>> > > >>>>Jun 1 22:28:34 laptop kernel: axe_bulk_read_callback:842: bulk read > > >>>>error, USB_ERR_CANCELLED > > >>>>Jun 1 22:28:35 laptop kernel: axe_bulk_write_callback:870: transfer > > >>>>complete > > >>>>Jun 1 22:29:12 laptop kernel: axe_bulk_write_callback:941: transfer > > >>>>error, USB_ERR_TIMEOUT > > >>>>Jun 1 22:29:51 laptop last message repeated 4 times > > >>>>Jun 1 22:31:40 laptop last message repeated 11 times > > >>>> > > >>>>Then i googled it and found this > > >>>>http://www.mail-archive.com/freebsd-usb@freebsd.org/msg04388.html > > >>>>the problem is described definitely like mine. > > >>>>I read all thread and found the patch usb2_ethernet.patch2, but I > > >>>> havn't found > > >>>>sys/dev/usb2/ethernet/usb2_ethernet.c file for patch. > > >>>> > > >>>>how can I try to apply this patch to my system? > > >>>>http://www.mail-archive.com/freebsd-usb@freebsd.org/msg04403.html > > >>> > > >>>I believe the bug in the thread was fixed long time ago. > > >>>If you're using 8.0-RELEASE, try latest stable/8 or > > >>>8.1-PRERELEASE and see whether axe(4) works or not. > > >> > > >>I have just finished testing device on my updated freebsd: > > >>FreeBSD homeserv 8.1-PRERELEASE FreeBSD 8.1-PRERELEASE #0: Thu Jun 3 > > >>17:22:44 UTC 2010 user@homeserv:/usr/obj/usr/src/sys/GENERIC i386 > > >>And it still shows the same problem when I try to ping -f any host from > > >>ue0: > > >> > > >>Jun 3 18:29:40 homeserv kernel: ue0: link state changed to UP > > >>Jun 3 18:29:42 homeserv kernel: axe_bulk_write_callback: transfer > > >>complete > > >>Jun 3 18:29:42 homeserv last message repeated 21 times > > >>Jun 3 18:29:52 homeserv kernel: axe_bulk_write_callback: transfer > > >>error, USB_ERR_TIMEOUT > > > > > >I don't see abnormal things in axe(4). Maybe Hans can help(CCed). > > > > > >>Jun 3 18:30:21 homeserv last message repeated 3 times > > > > Hi, Pyun! > > I would send this device to you for solve this problem, if you do not > > mind. Because, I can't use it in my FreeBSD system. > > So, if you interested send me in private message your address and I will > > send it as soon as possible. > > Thanks for the offer. I already have two variants of AX88178 based > controller and both work fine without problems. I vaguely guess > it could be related with ehci(4) as I don't see offending code in > axe(4). Of course, this does not necessary mean axe(4) is bug free > but I couldn't find clue yet. > Hans, can you see other possible cause of the issue? > Hi, I think it is a protocol issue. Maybe they created a new USB protocol ? --HPS