On Sat, Jul 31, 2010 at 12:12:50AM +0200, Marko Zec wrote: > .... > VIMAGE kernels 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. > ... 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_at_d254.dwolf.juniper.net.:/usr/obj/usr/src/sys/CANARY i386 g1-219(9.0-C)[2] ifconfig ath0 ath0: flags=8843<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=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500 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_at_pci0:5:0:0: class=0x020000 card=0xcb2114b9 chip=0x0013168c rev=0x01 hdr=0x00 vendor = 'Atheros Communications Inc.' device = '802.11a/b/g Wireless Adapter (AR2312)' class = network subclass = ethernet g1-219(9.0-C)[5] Peace, david -- 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.
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:05 UTC