From owner-freebsd-net@FreeBSD.ORG Mon Feb 20 18:02:24 2012 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 0AFEB106564A for ; Mon, 20 Feb 2012 18:02:24 +0000 (UTC) (envelope-from bschmidt@techwires.net) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8AE928FC0A for ; Mon, 20 Feb 2012 18:02:23 +0000 (UTC) Received: by eaan10 with SMTP id n10so2527296eaa.13 for ; Mon, 20 Feb 2012 10:02:22 -0800 (PST) Received-SPF: pass (google.com: domain of bschmidt@techwires.net designates 10.14.95.135 as permitted sender) client-ip=10.14.95.135; Authentication-Results: mr.google.com; spf=pass (google.com: domain of bschmidt@techwires.net designates 10.14.95.135 as permitted sender) smtp.mail=bschmidt@techwires.net Received: from mr.google.com ([10.14.95.135]) by 10.14.95.135 with SMTP id p7mr11032716eef.62.1329760942531 (num_hops = 1); Mon, 20 Feb 2012 10:02:22 -0800 (PST) Received: by 10.14.95.135 with SMTP id p7mr8750153eef.62.1329759119181; Mon, 20 Feb 2012 09:31:59 -0800 (PST) Received: from amy.lab.techwires.net (dslb-088-067-223-031.pools.arcor-ip.net. [88.67.223.31]) by mx.google.com with ESMTPS id w60sm79771547eeb.4.2012.02.20.09.31.57 (version=SSLv3 cipher=OTHER); Mon, 20 Feb 2012 09:31:58 -0800 (PST) Sender: Bernhard Schmidt From: Bernhard Schmidt To: freebsd-net@freebsd.org Date: Mon, 20 Feb 2012 18:32:11 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.0-STABLE; KDE/4.7.4; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201202201832.11604.bschmidt@freebsd.org> X-Gm-Message-State: ALoCoQlmnYedZshULkZqLWVamLMPCg1lrw8rLFwlcdzvvD1GCj3Ys1vj1uKpMWoYDjBoc0UJAfnE Cc: Adam Twardowski , Adrian Chadd Subject: Re: [urtw] Random wireless crash / kernel panic 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: Mon, 20 Feb 2012 18:02:24 -0000 On Monday 20 February 2012 18:03:45 Adam Twardowski wrote: > I do still have the kernel and the crash dump. I'll try that fix tonight > to see how it goes. Unfortunately, the kernel doesn't usually crash, more > likely the wifi stops working and I am forced to reboot the machine to get > it working again. Building urtw(4) as module here helps a lot, kldunload/kldload is just so much faster than a reboot. :) I have a bunch of asorted fixes [1] for urtw(4) which needs some further testing, though I still wasn't able to fix the issue which made me look into this in the first place.. As a test case I force a disconnection from the AP side a few times, which will eventually result in a device timeout and the requirement to reload the module. I believe that one of those might actually address the panic you're seeing, though, it doesn't fix the device timeout. [1] http://techwires.net/~bschmidt/urtw/ -- Bernhard