Date: Fri, 30 Jul 2010 15:19:36 -0700 From: David Wolfskill <david@catwhisker.org> To: Marko Zec <zec@icir.org> Cc: Bjoern Zeeb <bz@freebsd.org>, current@freebsd.org Subject: Re: PCcard NIC insert: "Fatal trap 12: page fault while in kernel mode" Message-ID: <20100730221936.GH12818@albert.catwhisker.org> In-Reply-To: <201007310012.50975.zec@icir.org> References: <20100730204312.GA12818@albert.catwhisker.org> <201007310012.50975.zec@icir.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] 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 thing.] Thanks. Peace, david -- David H. Wolfskill david@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. [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkxTT/cACgkQmprOCmdXAD0etwCfVbnjobaNZzgvJqx9cT8TAq8O j/IAoINRUSbV35Ve/FFDPu4NxoAz6dFT =7MkR -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100730221936.GH12818>
