From owner-freebsd-mobile@FreeBSD.ORG Mon Sep 27 20:10:38 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5B35316A4CE for ; Mon, 27 Sep 2004 20:10:38 +0000 (GMT) Received: from carrick.bishnet.net (carrick.bishnet.net [217.204.9.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E6EC43D53 for ; Mon, 27 Sep 2004 20:10:37 +0000 (GMT) (envelope-from tim-lists@bishnet.net) Received: from 82-68-45-195.dsl.in-addr.zen.co.uk ([82.68.45.195]) by carrick.bishnet.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.42 (FreeBSD)) id 1CC1pR-000DXs-Qe; Mon, 27 Sep 2004 21:10:34 +0100 From: Tim Bishop To: Ted Lindgreen In-Reply-To: <200409271556.i8RFu6Lp093800@sanne.nlnetlabs.nl> References: <200409271556.i8RFu6Lp093800@sanne.nlnetlabs.nl> Content-Type: text/plain Message-Id: <1096315832.37600.1.camel@inferno.sixth.bishnet.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Mon, 27 Sep 2004 21:10:32 +0100 Content-Transfer-Encoding: 7bit X-Bishnet-MailScanner-Information: Contact postmaster@bishnet.net X-Bishnet-MailScanner-VirusCheck: Found to be clean X-Bishnet-MailScanner-SpamCheck: not spam, SpamAssassin (score=-4.9, required 5, autolearn=not spam, BAYES_00 -4.90) X-Bishnet-MailScanner-From: tim-lists@bishnet.net cc: freebsd-mobile@freebsd.org Subject: Re: NDISsulator: Setting up a 3Com pc card X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Sep 2004 20:10:38 -0000 On Mon, 2004-09-27 at 16:56, Ted Lindgreen wrote: > Sep 21 11:44:55 petje kernel: Fatal trap 12: page fault while in kernel mode > Sep 21 11:44:55 petje kernel: fault virtual address = 0xdead0059 > Sep 21 11:44:55 petje kernel: fault code = supervisor read, page not present > Sep 21 11:44:55 petje kernel: instruction pointer = 0x8:0xdead0059 > Sep 21 11:44:55 petje kernel: stack pointer = 0x10:0xca43ac10 > Sep 21 11:44:55 petje kernel: frame pointer = 0x10:0xca43ac78 > Sep 21 11:44:55 petje kernel: code segment = base 0x0, limit 0xfffff, type 0x1b > Sep 21 11:44:55 petje kernel: = DPL 0, pres 1, def32 1, gran 1 > Sep 21 11:44:55 petje kernel: processor eflags = interrupt enabled, resume, IOPL = 0 > Sep 21 11:44:55 petje kernel: current process = 31 (ndis swi) > Sep 21 11:44:55 petje kernel: trap number = 12 > Sep 21 11:44:55 petje kernel: panic: page fault > .... > Sep 21 12:17:05 petje kernel: Fatal trap 12: page fault while in kernel mode > Sep 21 12:17:05 petje kernel: fault virtual address = 0x0 > Sep 21 12:17:05 petje kernel: fault code = supervisor write, page not present > Sep 21 12:17:05 petje kernel: instruction pointer = 0x8:0xc1972f5f > Sep 21 12:17:05 petje kernel: stack pointer = 0x10:0xd25498f4 > Sep 21 12:17:05 petje kernel: frame pointer = 0x10:0xd254998c > Sep 21 12:17:05 petje kernel: code segment = base 0x0, limit 0xfffff, type 0x1b > Sep 21 12:17:05 petje kernel: = DPL 0, pres 1, def32 1, gran 1 > Sep 21 12:17:05 petje kernel: processor eflags = interrupt enabled, resume, IOPL = 0 > Sep 21 12:17:05 petje kernel: current process = 591 (ifconfig) > Sep 21 12:17:05 petje kernel: trap number = 12 > Sep 21 12:17:05 petje kernel: panic: page fault > .... > > These two panics are reproducable with a basestation without and > with WEP enabled. > > Without WEP, the current process is ndis swi and the panic occurs > short (but not immediately) after ifconfig...up. > > With WEP the panic happens immediately when ifconfig has set and > enabled the key in the card, and the current process is ifconfig. > > It looks like the panic occurs at the moment when a packet is > received/accepted by the pccard. I've been able to easily reproduce this, consistently. I've been trying to get a dump out of it... but it doesn't seem to want to on my system. With a bit of help I got something out of it, but I didn't get very far. Someone with some more experience might need to solve this one :-) Cheers, Tim. -- Tim Bishop http://www.bishnet.net/tim PGP Key: 0x5AE7D984