From owner-freebsd-net@FreeBSD.ORG Wed Oct 5 03:34:57 2011 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 ECC6D1065675 for ; Wed, 5 Oct 2011 03:34:57 +0000 (UTC) (envelope-from lacombar@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 848208FC16 for ; Wed, 5 Oct 2011 03:34:57 +0000 (UTC) Received: by wwe3 with SMTP id 3so1733540wwe.31 for ; Tue, 04 Oct 2011 20:34:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=J2bywY/vJCOuWwSpUegpIN3/SsFDtT9khVFWgbfEvvA=; b=YxOJIgJET5Qeysw5GJuJZn+Dg79SY/LFWrXi2TWcyrtKS/ty6b4NUaLDmTeJPjOGkV 1Hk29e7KqsjPugBCwpefHVU0dsOLTvZW5S40gVmvor72RqCmfR6Oc7D/tj03Cum1acjk 2jXPHQ2yPhnlfNWrOHMMRDMlY3EAoF9w0u+uk= MIME-Version: 1.0 Received: by 10.227.135.130 with SMTP id n2mr2331999wbt.51.1317785696343; Tue, 04 Oct 2011 20:34:56 -0700 (PDT) Received: by 10.180.103.33 with HTTP; Tue, 4 Oct 2011 20:34:56 -0700 (PDT) In-Reply-To: <201110042203.12082.break19@gmail.com> References: <201110042008.48915.break19@gmail.com> <201110042132.52788.break19@gmail.com> <201110042203.12082.break19@gmail.com> Date: Tue, 4 Oct 2011 23:34:56 -0400 Message-ID: From: Arnaud Lacombe To: Chuck Burns Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-net@freebsd.org Subject: Re: [urtw] Wifi link dying randomly. reboot required to reconnect. 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: Wed, 05 Oct 2011 03:34:58 -0000 Hi, On Tue, Oct 4, 2011 at 11:03 PM, Chuck Burns wrote: > On Tuesday, October 04, 2011 9:41:22 PM Arnaud Lacombe wrote: > >> >> You should now have message on the console, don't you ? >> > > > Actually. I'm not getting any more messages on my console than I have bee= n > getting before.. > Looking closer in the driver, DPRINTF() is only used 6 time and only URTW_DEBUG_TXSTATUS, URTW_DEBUG_INIT, URTW_DEBUG_STATE and URTW_DEBUG_XMIT are actually used... I'd say to wait until the hang re-occur to see if there is anything printed= . - Arnaud > Some more information: > > FreeBSD blackbeast.local 8.2-STABLE FreeBSD 8.2-STABLE #2: Tue Oct =A04 1= 9:57:10 > CDT 2011 =A0 =A0 root@blackbeast.local:/usr/obj/usr/src/sys/BLACKBEAST = =A0amd64 > > sysctl -a | grep urtw: > > net.wlan.0.%parent: urtw0 > hw.usb.urtw.preamble_mode: 2 > hw.usb.urtw.debug: -1 > dev.urtw.0.%desc: vendor 0x0846 product 0x6a00, class 0/0, rev 2.00/1.00,= addr > 2 > dev.urtw.0.%driver: urtw > dev.urtw.0.%location: bus=3D1 hubaddr=3D5 port=3D5 devaddr=3D2 interface= =3D0 > dev.urtw.0.%pnpinfo: vendor=3D0x0846 product=3D0x6a00 devclass=3D0x00 > devsubclass=3D0x00 sernum=3D"" release=3D0x0100 mode=3Dhost intclass=3D0x= 00 > intsubclass=3D0x00 intprotocol=3D0x00 > dev.urtw.0.%parent: uhub5 > dev.urtw.0.stats.tx.1m: 0 > dev.urtw.0.stats.tx.2m: 19 > dev.urtw.0.stats.tx.5.5m: 0 > dev.urtw.0.stats.tx.6m: 0 > dev.urtw.0.stats.tx.9m: 0 > dev.urtw.0.stats.tx.11m: 19 > dev.urtw.0.stats.tx.12m: 69 > dev.urtw.0.stats.tx.18m: 140 > dev.urtw.0.stats.tx.24m: 196 > dev.urtw.0.stats.tx.36m: 4989 > dev.urtw.0.stats.tx.48m: 5788 > dev.urtw.0.stats.tx.54m: 21513 > > usbconfig show_ifdrv: > > ugen5.2: at usbus5, cfg=3D0 md=3DHOST spd= =3DHIGH > (480Mbps) pwr=3DON > ugen5.2.0: urtw0: addr 2> > > usbconfig dump_all_config_desc: > > =A0Configuration index 0 > > =A0 =A0bLength =3D 0x0009 > =A0 =A0bDescriptorType =3D 0x0002 > =A0 =A0wTotalLength =3D 0x0027 > =A0 =A0bNumInterfaces =3D 0x0001 > =A0 =A0bConfigurationValue =3D 0x0001 > =A0 =A0iConfiguration =3D 0x0004 =A0 > =A0 =A0bmAttributes =3D 0x0080 > =A0 =A0bMaxPower =3D 0x00fa > > =A0 =A0Interface 0 > =A0 =A0 =A0bLength =3D 0x0009 > =A0 =A0 =A0bDescriptorType =3D 0x0004 > =A0 =A0 =A0bInterfaceNumber =3D 0x0000 > =A0 =A0 =A0bAlternateSetting =3D 0x0000 > =A0 =A0 =A0bNumEndpoints =3D 0x0003 > =A0 =A0 =A0bInterfaceClass =3D 0x0000 > =A0 =A0 =A0bInterfaceSubClass =3D 0x0000 > =A0 =A0 =A0bInterfaceProtocol =3D 0x0000 > =A0 =A0 =A0iInterface =3D 0x0005 =A0 > > =A0 =A0 Endpoint 0 > =A0 =A0 =A0 =A0bLength =3D 0x0007 > =A0 =A0 =A0 =A0bDescriptorType =3D 0x0005 > =A0 =A0 =A0 =A0bEndpointAddress =3D 0x0081 =A0 > =A0 =A0 =A0 =A0bmAttributes =3D 0x0002 =A0 > =A0 =A0 =A0 =A0wMaxPacketSize =3D 0x0200 > =A0 =A0 =A0 =A0bInterval =3D 0x0000 > =A0 =A0 =A0 =A0bRefresh =3D 0x0000 > =A0 =A0 =A0 =A0bSynchAddress =3D 0x0000 > > =A0 =A0 Endpoint 1 > =A0 =A0 =A0 =A0bLength =3D 0x0007 > =A0 =A0 =A0 =A0bDescriptorType =3D 0x0005 > =A0 =A0 =A0 =A0bEndpointAddress =3D 0x0002 =A0 > =A0 =A0 =A0 =A0bmAttributes =3D 0x0002 =A0 > =A0 =A0 =A0 =A0wMaxPacketSize =3D 0x0200 > =A0 =A0 =A0 =A0bInterval =3D 0x0000 > =A0 =A0 =A0 =A0bRefresh =3D 0x0000 > =A0 =A0 =A0 =A0bSynchAddress =3D 0x0000 > > =A0 =A0 Endpoint 2 > =A0 =A0 =A0 =A0bLength =3D 0x0007 > =A0 =A0 =A0 =A0bDescriptorType =3D 0x0005 > =A0 =A0 =A0 =A0bEndpointAddress =3D 0x0003 =A0 > =A0 =A0 =A0 =A0bmAttributes =3D 0x0002 =A0 > =A0 =A0 =A0 =A0wMaxPacketSize =3D 0x0200 > =A0 =A0 =A0 =A0bInterval =3D 0x0000 > =A0 =A0 =A0 =A0bRefresh =3D 0x0000 > =A0 =A0 =A0 =A0bSynchAddress =3D 0x0000 > > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org" >