From owner-freebsd-current@FreeBSD.ORG Fri Mar 27 22:39:31 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 163F01065675 for ; Fri, 27 Mar 2009 22:39:31 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.swip.net [212.247.154.65]) by mx1.freebsd.org (Postfix) with ESMTP id A1ED78FC1A for ; Fri, 27 Mar 2009 22:39:30 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MXw7gxVQKqGXY79tIT8aFQ==:17 a=RXU8rH1-GXzFeLofioUA:9 a=Iq6T14F4KmCvT5u858oA:7 a=VtVivex77SmfUhW-XOd3pGFExhkA:4 a=LY0hPdMaydYA:10 Received: from [62.113.132.61] (account mc467741@c2i.net HELO laptop) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1221249193; Fri, 27 Mar 2009 23:39:28 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Fri, 27 Mar 2009 23:41:58 +0100 User-Agent: KMail/1.9.7 References: <75656435-49E2-457A-9CFE-8706CD44916E@gmail.com> In-Reply-To: <75656435-49E2-457A-9CFE-8706CD44916E@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200903272341.58463.hselasky@c2i.net> Cc: Nikolay Denev Subject: Re: axe(4) (Belkin F5D5055) problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2009 22:39:32 -0000 On Friday 27 March 2009, Nikolay Denev wrote: > Hello, > > I'm running -current from 23.03.09 and I'm experiencing some axe(4) > problems. > Basically the network connection works but when some more serious > traffic hits the > interface (i.e. torrent download) it then dies, ifconfig down/up > does not help, only replugging of the adapter. > > I've tried running with hw.usb2.axe.debug=15 and the output was many > lines of: > > axe_bulk_write_callback:853: transfer complete > > then a pause of several seconds and the kernel begins to print : > > axe_bulk_write_callback:925: transfer error, USB_ERR_TIMEOUT If you start seeing timeouts, then the device has probably died. What happens if you try: usbconfig -u XXX -a YYY reset where XXX and YYY matches the numbers after "ugen" for your device. NOTE: The if-net link will be reset. --HPS > > Another strange thing that I noticed is that, while the interface > seems to be > connected and working, if I type many times ifconfig ue0 consecutively > most of the time it would show different settings for the auto > negotiated link. > I.e. it would cycle between 100baseTX-FDX, 1000baseT-FDX, no carrier, > 100BaseT-FDX hw-loopback and 1000BaseT-FDX hw-loopback. > > The switch does not seem to register link flaps. > > The kernel messages for the interface are : > > ugen2.5: at usbus2 > axe0: on usbus2 > axe0: PHYADDR 0xe0:0x01 > miibus0: on axe0 > ukphy0: PHY 1 on miibus0 > ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, > 1000baseT, 1000baseT-FDX, auto > ue0: on axe0 > ue0: Ethernet address: 00:11:50:xx:xx:xx > > devinfo -vr | grep phy > ukphy0 pnpinfo oui=0xa0bc model=0x1 rev=0x2 at phyno=1