Re: NDISsulator: Setting up a 3Com pc card

Tim Bishop <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
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

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.