PCcard NIC insert: "Fatal trap 12: page fault while in kernel mode"

David Wolfskill david at catwhisker.org
Fri Jul 30 22:19:37 UTC 2010

On Sat, Jul 31, 2010 at 12:12:50AM +0200, Marko Zec wrote:
> ...
> > Symptom is that I get a panic on insert (or kernel probe, if it's
> > inserted already at boot time) of a PCcard NIC.
> VIMAGE kernels

Oh -- right.  I fogot that I had configured this kernel for VIMAGE so
Julian to demo something at a meeting a few months back ... and had
never un-configured it.

> do not properly set curvnet context when dynamically attaching 
> devices (such as USB or pccard NICs), that's why the dereferencing V_if_index 
> fails.  You can use the "show pcpu" and "show vnets" DDB commands to 
> determine whether curvnet context is properly set or not.
> bz's vimage tree from p4://depot/user/bz/vimage/... aims at fixing those and 
> many other initialization issues with VIMAGE kernels, though I don't know how 
> stable it is currently...

Well, I reckon he can speak up when he feels it's appropriate.  :-}

For now, I can probably copy this off to a different slice for VIMAGE
experimentation, and revert my "normal" head/current stuff to
non-VIMAGE, then.

[I was kinda wondernig why no one else was reporting this sort of


David H. Wolfskill				david at catwhisker.org
Depriving a girl or boy of an opportunity for education is evil.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20100730/93e23a4f/attachment.pgp

More information about the freebsd-current mailing list