Date: Fri, 30 Jul 2010 19:37:43 -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: <20100731023743.GJ12818@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
--GNsO7fNsq+j2k5eo
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:
> ....
> VIMAGE kernels do not properly set curvnet context when dynamically attac=
hing=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.
> ...
Thanks again; rebuilding kernel after removing the VIMAGE option made
the difference:
g1-219(9.0-C)[1] uname -a
FreeBSD g1-219.catwhisker.org. 9.0-CURRENT FreeBSD 9.0-CURRENT #75 r210635:=
Fri Jul 30 16:06:13 PDT 2010 root@d254.dwolf.juniper.net.:/usr/obj/usr=
/src/sys/CANARY i386
g1-219(9.0-C)[2] ifconfig ath0
ath0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
ether 00:40:96:a7:a7:01
media: IEEE 802.11 Wireless Ethernet autoselect mode 11b
status: associated
g1-219(9.0-C)[3] ifconfig wlan0
wlan0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 15=
00
ether 00:40:96:a7:a7:01
inet 172.17.1.219 netmask 0xffff0000 broadcast 172.17.255.255
media: IEEE 802.11 Wireless Ethernet DS/2Mbps mode 11b
status: associated
ssid lmdhw-net channel 1 (2412 MHz 11b) bssid 00:04:5a:cd:d4:17
regdomain FCC indoor ecm authmode OPEN privacy ON deftxkey 1
wepkey 1:40-bit txpower 23 bmiss 7 scanvalid 60 bgscan bgscanintvl =
300
bgscanidle 250 roam:rssi 7 roam:rate 1 wme burst
g1-219(9.0-C)[4] pciconf -lv | grep -A 6 '^ath0'
ath0@pci0:5:0:0: class=3D0x020000 card=3D0xcb2114b9 chip=3D0x0013168=
c rev=3D0x01 hdr=3D0x00
vendor =3D 'Atheros Communications Inc.'
device =3D '802.11a/b/g Wireless Adapter (AR2312)'
class =3D network
subclass =3D ethernet
g1-219(9.0-C)[5]=20
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.
--GNsO7fNsq+j2k5eo
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (FreeBSD)
iEYEARECAAYFAkxTjHcACgkQmprOCmdXAD3yawCcD0zPEwWB0e+pSpT0cylwxLM8
0a8AnA4IiYc9VO01Iy1Jos3aYQwfCPKJ
=D3xz
-----END PGP SIGNATURE-----
--GNsO7fNsq+j2k5eo--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100731023743.GJ12818>
