From owner-freebsd-net@FreeBSD.ORG Wed Dec 7 02:34:21 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 68B771065672; Wed, 7 Dec 2011 02:34:21 +0000 (UTC) (envelope-from break19@gmail.com) Received: from mail-qw0-f47.google.com (mail-qw0-f47.google.com [209.85.216.47]) by mx1.freebsd.org (Postfix) with ESMTP id E733E8FC08; Wed, 7 Dec 2011 02:34:20 +0000 (UTC) Received: by qadb17 with SMTP id b17so3609321qad.13 for ; Tue, 06 Dec 2011 18:34:20 -0800 (PST) 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=oxQQHluGKr6Tj1sLdTgu70uJFsSx+ianszDh3sds09A=; b=G7apc93M/UeWjFkf4nLJSpL38/39KEU4gbZ0dV+9FDhfhj94CNlsnf4NcswGj1y09r 5D1ItEVUVSSiil/C66c0I5C5Tv6xTkttjFLAf3an1LkzFQMrtbjppJFOWqYuWWXVUDCo 6UqajObKZP6TxVGCILXTW+phS+Z0pVNUWEjP8= MIME-Version: 1.0 Received: by 10.224.40.10 with SMTP id i10mr14710051qae.82.1323225260358; Tue, 06 Dec 2011 18:34:20 -0800 (PST) Received: by 10.229.24.143 with HTTP; Tue, 6 Dec 2011 18:34:19 -0800 (PST) In-Reply-To: References: <201110042008.48915.break19@gmail.com> <201110071816.17335.break19@gmail.com> <201110071936.50071.break19@gmail.com> <1322792905.1975.3.camel@esl.kevlo.org> <4ED846C1.5040109@gmail.com> <4EDC32F5.3020205@gmail.com> <4EDCA970.4050109@FreeBSD.org> Date: Tue, 6 Dec 2011 20:34:19 -0600 Message-ID: From: Chuck Burns To: Bernhard Schmidt Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "Andrey V. Elsukov" , Adrian Chadd , 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, 07 Dec 2011 02:34:21 -0000 It crashed again earlier, and I have another trace for you. My wifi died, and I tried service netif restart. It refused to associate to the WAP. Unplugging the dongle then caused a kernel panic, attached is the core.txt file from the dump. On Mon, Dec 5, 2011 at 7:59 AM, Bernhard Schmidt w= rote: > On Mon, Dec 5, 2011 at 14:44, Chuck Burns wrote: >> freebeast dumped core - see /var/crash/vmcore.0 >> Sun Dec =A04 14:58:49 CST 2011 >> FreeBSD freebeast 10.0-CURRENT FreeBSD 10.0-CURRENT #4 r228221: Sat >> Dec =A03 09:10:37 CST 2011 >> toor@freebeast:/usr/obj/usr/src/sys/GENERIC =A0amd64 >> panic: >> .. >> #9 =A00xffffffff8092f692 in node_free (ni=3D0xffffff8003565000) >> =A0 =A0at ieee80211_ratectl.h:84 >> #10 0xffffffff8071634b in urtw_free_data_list (sc=3DVariable "sc" is not >> available. >> ) >> =A0 =A0at /usr/src/sys/dev/usb/wlan/if_urtw.c:989 >> #11 0xffffffff8071bf75 in urtw_detach (dev=3D0xfffffe0005b22a00) >> =A0 =A0at /usr/src/sys/dev/usb/wlan/if_urtw.c:957 >> #12 0xffffffff80868d54 in device_detach (dev=3D0xfffffe0005b22a00) >> =A0 =A0at device_if.h:214 >> #13 0xffffffff806df6a8 in usb_detach_device (udev=3D0xfffffe0005b19000, >> =A0 =A0iface_index=3D32 ' ', flag=3DVariable "flag" is not available. >> ) at /usr/src/sys/dev/usb/usb_device.c:1062 >> #14 0xffffffff806dffc4 in usb_unconfigure (udev=3D0xfffffe0005b19000, >> flag=3DVariable "flag" is not available. > > ni/vap does no longer exist at that point because it has been free'd > before. How about attached patch? > > -- > Bernhard