Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Sep 2004 21:10:32 +0100
From:      Tim Bishop <tim-lists@bishnet.net>
To:        Ted Lindgreen <ted@sanne.nlnetlabs.nl>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: NDISsulator: Setting up a 3Com pc card
Message-ID:  <1096315832.37600.1.camel@inferno.sixth.bishnet.net>
In-Reply-To: <200409271556.i8RFu6Lp093800@sanne.nlnetlabs.nl>
References:  <200409271556.i8RFu6Lp093800@sanne.nlnetlabs.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1096315832.37600.1.camel>