From owner-freebsd-net@FreeBSD.ORG Sun Dec 31 20:23:11 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A318216A403; Sun, 31 Dec 2006 20:23:11 +0000 (UTC) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from mail-gw2.york.ac.uk (mail-gw2.york.ac.uk [144.32.128.247]) by mx1.freebsd.org (Postfix) with ESMTP id 41CCD13C44B; Sun, 31 Dec 2006 20:23:10 +0000 (UTC) (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from ury.york.ac.uk (ury.york.ac.uk [144.32.108.81]) by mail-gw2.york.ac.uk (8.13.6/8.13.6) with ESMTP id kBVKN78e012129; Sun, 31 Dec 2006 20:23:07 GMT Received: from ury.york.ac.uk (localhost.york.ac.uk [127.0.0.1]) by ury.york.ac.uk (8.13.8/8.13.8) with ESMTP id kBVKN6ib073468; Sun, 31 Dec 2006 20:23:06 GMT (envelope-from gavin.atkinson@ury.york.ac.uk) Received: from localhost (gavin@localhost) by ury.york.ac.uk (8.13.8/8.13.8/Submit) with ESMTP id kBVKN2GY073435; Sun, 31 Dec 2006 20:23:06 GMT (envelope-from gavin.atkinson@ury.york.ac.uk) X-Authentication-Warning: ury.york.ac.uk: gavin owned process doing -bs Date: Sun, 31 Dec 2006 20:23:02 +0000 (GMT) From: Gavin Atkinson X-X-Sender: gavin@ury.york.ac.uk To: Steve Clement In-Reply-To: <4593B7BA.7020803@localhost.lu> Message-ID: <20061231200737.A23766@ury.york.ac.uk> References: <20061225231213.O11113@ury.york.ac.uk> <4593B7BA.7020803@localhost.lu> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-York-MailScanner: Found to be clean X-York-MailScanner-From: gavin.atkinson@ury.york.ac.uk Cc: freebsd-net@freebsd.org, damien.bergamini@free.fr, gabor@freebsd.org Subject: Re: wpi (Intel 3945) driver 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: Sun, 31 Dec 2006 20:23:11 -0000 On Thu, 28 Dec 2006, Steve Clement wrote: > It throws quite a lot of 702 errors at me, especially when there is heavy > traffic load! Yes, I need to look into these at some point. > Also I am currently in Berlin at the CCC (events.ccc.de) and the WiFi traffic > is quite heavy and I don't get a packet out to the world (I can sniff the > traffic) but obtaining a dhcp-lease or any other active communication is > impossible. But it works for you when traffic is less busy? > also when I try to unload the driver it wouldn't unload. Does it give any error messages on the console when it fails to unload? > So I did repeatedly: > > kldunload if_wpi > kldunload if_wpi > kldunload if_wpi > kldunload if_wpi > kldunload if_wpi > > and by the fifth time the kernel crashes with a page fault, now I don't know > whether that is a Kernel issue or a driver issue, who handles unload > requests? Without seeing details of the page fault, it's impossible to say. It would be useful if you could compile a kernel, making sure you have the "standard" -CURRENT debugging options: options KDB options DDB options GDB options INVARIANTS options INVARIANT_SUPPORT options WITNESS options WITNESS_SKIPSPIN up the value of wpi_debug on line 79 of if_wpi.c to 3 and recompile the wpi modules as well. I'd need to see anything logged to the console, as well as the output of "tr" when the machine panics and drops to the debugger (digital photos are fine). Gavin