From owner-freebsd-net@FreeBSD.ORG Thu Jun 3 13:52:16 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 F1D0D1065674 for ; Thu, 3 Jun 2010 13:52:15 +0000 (UTC) (envelope-from perevalov84@gmail.com) Received: from mail-pz0-f175.google.com (mail-pz0-f175.google.com [209.85.222.175]) by mx1.freebsd.org (Postfix) with ESMTP id BF6C18FC12 for ; Thu, 3 Jun 2010 13:52:15 +0000 (UTC) Received: by pzk5 with SMTP id 5so37275pzk.14 for ; Thu, 03 Jun 2010 06:52:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=1RXojfJLQ+/Qy6ejRhU/ZISDHVJ1o40WygbHRHcZ87M=; b=tDsVp+jDvs981+kMwmIaERgXgXY3wV/nrEbbneqr/N35VDYlTfKmIn6wghKjCQh3AX 6LVx07pd0/fYmox9JXtcYSYZQT4x0/omrI6MeWNELDdHyBqrnkaeiwzPhNU7XBAEAlRD zS3zG9qwUxVtuvGs+xshB52fxVJQhVcSt1m3E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=At30uSzIDK8AbX+84KBqX8NUisnPB6MFFoC43jrzC4zwWELxQN1O4NtFGVPkxJEYr0 4G7TrLm6SF4vYYo1p1B4bAViTsrvKJ15VsYtc20EvcIqEIQeUoZnMrH4YUA68VyDDhvi XDldqhimcjCjAsHPozaHPuUmnwUK2G4Fdshw4= Received: by 10.140.248.10 with SMTP id v10mr8146549rvh.245.1275573135033; Thu, 03 Jun 2010 06:52:15 -0700 (PDT) Received: from [192.168.2.2] ([92.47.64.220]) by mx.google.com with ESMTPS id q10sm1225381rvp.8.2010.06.03.06.52.10 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 03 Jun 2010 06:52:13 -0700 (PDT) Message-ID: <4C07B344.4060805@gmail.com> Date: Thu, 03 Jun 2010 18:51:00 +0500 From: Perevalov Sergey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.9) Gecko/20100506 Thunderbird/3.0.4 MIME-Version: 1.0 To: pyunyh@gmail.com, freebsd-net@freebsd.org References: <4BE44E2D.6060907@gmail.com> <20100507210516.GI14801@michelle.cdnetworks.com> <4C01760E.2080403@gmail.com> <20100531223204.GE1577@michelle.cdnetworks.com> <4C0551F1.2010609@gmail.com> <20100601222444.GH1577@michelle.cdnetworks.com> In-Reply-To: <20100601222444.GH1577@michelle.cdnetworks.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: 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: Thu, 03 Jun 2010 13:52:16 -0000 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 Jun 3 18:30:21 homeserv last message repeated 3 times -- Regards, Sergey.