From owner-freebsd-current@FreeBSD.ORG Fri Jul 30 22:19:37 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DFF651065673 for ; Fri, 30 Jul 2010 22:19:36 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (m209-73.dsl.rawbw.com [198.144.209.73]) by mx1.freebsd.org (Postfix) with ESMTP id 98BDA8FC1C for ; Fri, 30 Jul 2010 22:19:36 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.4/8.14.4) with ESMTP id o6UMJaZf061348; Fri, 30 Jul 2010 15:19:36 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.4/8.14.4/Submit) id o6UMJabv061347; Fri, 30 Jul 2010 15:19:36 -0700 (PDT) (envelope-from david) Date: Fri, 30 Jul 2010 15:19:36 -0700 From: David Wolfskill To: Marko Zec Message-ID: <20100730221936.GH12818@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , Marko Zec , current@freebsd.org, Bjoern Zeeb References: <20100730204312.GA12818@albert.catwhisker.org> <201007310012.50975.zec@icir.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6caoKVhN0vwgdRDL" Content-Disposition: inline In-Reply-To: <201007310012.50975.zec@icir.org> User-Agent: Mutt/1.4.2.3i Cc: Bjoern Zeeb , current@freebsd.org Subject: Re: PCcard NIC insert: "Fatal trap 12: page fault while in kernel mode" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jul 2010 22:19:37 -0000 --6caoKVhN0vwgdRDL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 >=20 > 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=20 > devices (such as USB or pccard NICs), that's why the dereferencing V_if_i= ndex=20 > fails. You can use the "show pcpu" and "show vnets" DDB commands to=20 > determine whether curvnet context is properly set or not. >=20 > bz's vimage tree from p4://depot/user/bz/vimage/... aims at fixing those = and=20 > many other initialization issues with VIMAGE kernels, though I don't know= how=20 > 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 --=20 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. --6caoKVhN0vwgdRDL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAkxTT/cACgkQmprOCmdXAD0etwCfVbnjobaNZzgvJqx9cT8TAq8O j/IAoINRUSbV35Ve/FFDPu4NxoAz6dFT =7MkR -----END PGP SIGNATURE----- --6caoKVhN0vwgdRDL--