NDISsulator: Setting up a 3Com pc card

Tim Bishop tim-lists at bishnet.net
Mon Sep 27 13:10:38 PDT 2004


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



More information about the freebsd-mobile mailing list