Re: Intel Centrino Wireless-N 1000 can't connect to AP
Will I need to tie debug? Not wifi, laptop use is indeed very painful 2013/12/11 Adrian Chadd adr...@freebsd.org OK, I'll see if my centrino 1xx / 1xxx units match yours and are problematic. Please file a PR! -a On 7 December 2013 05:34, 乔楚 honestq...@gmail.com wrote: Today ,I upgrade my freebsd from 10-beta4 to current. Now, my freebsd can't connect to wireless AP. Wireless LAN strike. iwn0 in /var/log/message: Dec 7 08:02:00 x201i kernel: iwn0: Intel Centrino Wireless-N 1000 mem 0xf240-0xf2401fff irq 16 at device 0.0 on pci2 Dec 7 08:02:00 x201i kernel: iwn0: attempting to allocate 1 MSI vectors (1 supported) Dec 7 08:02:00 x201i kernel: msi: routing MSI IRQ 266 to local APIC 0 vector 62 Dec 7 08:02:00 x201i kernel: iwn0: using IRQ 266 for MSI Dec 7 08:02:00 x201i kernel: iwn0: MIMO 1T2R, BGS, address 8c:a9:82:5a:41:58 Dec 7 08:02:00 x201i kernel: iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps Dec 7 08:02:00 x201i kernel: iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps Dec 7 08:02:00 x201i kernel: iwn0: 1T2R Dec 7 08:02:00 x201i kernel: iwn0: 11ng MCS 20MHz Dec 7 08:02:00 x201i kernel: iwn0: MCS 0-7: 6.5Mbps - 65Mbps Dec 7 08:02:00 x201i kernel: iwn0: 11ng MCS 20MHz SGI Dec 7 08:02:00 x201i kernel: iwn0: MCS 0-7: 7Mbps - 72Mbps Dec 7 08:02:00 x201i kernel: iwn0: 11ng MCS 40MHz: Dec 7 08:02:00 x201i kernel: iwn0: MCS 0-7: 13.5Mbps - 135Mbps Dec 7 08:02:00 x201i kernel: iwn0: 11ng MCS 40MHz SGI: Dec 7 08:02:00 x201i kernel: iwn0: MCS 0-7: 15Mbps - 150Mbps .. Dec 7 08:02:00 x201i kernel: wlan0: Ethernet address: f0:de:f1:52:cf:16 Dec 7 08:02:00 x201i kernel: iwn0: iwn_intr: fatal firmware error Dec 7 08:02:00 x201i kernel: firmware error log: Dec 7 08:02:00 x201i kernel: error type = SYSASSERT (0x0005) Dec 7 08:02:00 x201i kernel: program counter = 0x00018DBC Dec 7 08:02:00 x201i kernel: source line = 0x0032 Dec 7 08:02:00 x201i kernel: error data = 0x0001 Dec 7 08:02:00 x201i kernel: branch link = 0x00018D6E00018D6E Dec 7 08:02:00 x201i kernel: interrupt link = 0x0826 Dec 7 08:02:00 x201i kernel: time= 1538064582 Dec 7 08:02:00 x201i kernel: driver status: Dec 7 08:02:00 x201i kernel: tx ring 0: qid=0 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 1: qid=1 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 2: qid=2 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 3: qid=3 cur=2 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 4: qid=4 cur=57 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 5: qid=5 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 6: qid=6 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 7: qid=7 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 8: qid=8 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 9: qid=9 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 10: qid=10 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 11: qid=11 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 12: qid=12 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 13: qid=13 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 14: qid=14 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 15: qid=15 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 16: qid=16 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 17: qid=17 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 18: qid=18 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 19: qid=19 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: rx ring: cur=29 .. Dec 7 08:02:01 x201i wpa_supplicant[667]: ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Device not configured Dec 7 08:02:01 x201i wpa_supplicant[667]: wlan0: Failed to initiate AP scan I do not know where the problem is? If necessary, I can tie debugging. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Intel Centrino Wireless-N 1000 can't connect to AP
OK, I'll see if my centrino 1xx / 1xxx units match yours and are problematic. Please file a PR! -a On 7 December 2013 05:34, 乔楚 honestq...@gmail.com wrote: Today ,I upgrade my freebsd from 10-beta4 to current. Now, my freebsd can't connect to wireless AP. Wireless LAN strike. iwn0 in /var/log/message: Dec 7 08:02:00 x201i kernel: iwn0: Intel Centrino Wireless-N 1000 mem 0xf240-0xf2401fff irq 16 at device 0.0 on pci2 Dec 7 08:02:00 x201i kernel: iwn0: attempting to allocate 1 MSI vectors (1 supported) Dec 7 08:02:00 x201i kernel: msi: routing MSI IRQ 266 to local APIC 0 vector 62 Dec 7 08:02:00 x201i kernel: iwn0: using IRQ 266 for MSI Dec 7 08:02:00 x201i kernel: iwn0: MIMO 1T2R, BGS, address 8c:a9:82:5a:41:58 Dec 7 08:02:00 x201i kernel: iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps Dec 7 08:02:00 x201i kernel: iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps Dec 7 08:02:00 x201i kernel: iwn0: 1T2R Dec 7 08:02:00 x201i kernel: iwn0: 11ng MCS 20MHz Dec 7 08:02:00 x201i kernel: iwn0: MCS 0-7: 6.5Mbps - 65Mbps Dec 7 08:02:00 x201i kernel: iwn0: 11ng MCS 20MHz SGI Dec 7 08:02:00 x201i kernel: iwn0: MCS 0-7: 7Mbps - 72Mbps Dec 7 08:02:00 x201i kernel: iwn0: 11ng MCS 40MHz: Dec 7 08:02:00 x201i kernel: iwn0: MCS 0-7: 13.5Mbps - 135Mbps Dec 7 08:02:00 x201i kernel: iwn0: 11ng MCS 40MHz SGI: Dec 7 08:02:00 x201i kernel: iwn0: MCS 0-7: 15Mbps - 150Mbps .. Dec 7 08:02:00 x201i kernel: wlan0: Ethernet address: f0:de:f1:52:cf:16 Dec 7 08:02:00 x201i kernel: iwn0: iwn_intr: fatal firmware error Dec 7 08:02:00 x201i kernel: firmware error log: Dec 7 08:02:00 x201i kernel: error type = SYSASSERT (0x0005) Dec 7 08:02:00 x201i kernel: program counter = 0x00018DBC Dec 7 08:02:00 x201i kernel: source line = 0x0032 Dec 7 08:02:00 x201i kernel: error data = 0x0001 Dec 7 08:02:00 x201i kernel: branch link = 0x00018D6E00018D6E Dec 7 08:02:00 x201i kernel: interrupt link = 0x0826 Dec 7 08:02:00 x201i kernel: time= 1538064582 Dec 7 08:02:00 x201i kernel: driver status: Dec 7 08:02:00 x201i kernel: tx ring 0: qid=0 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 1: qid=1 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 2: qid=2 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 3: qid=3 cur=2 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 4: qid=4 cur=57 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 5: qid=5 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 6: qid=6 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 7: qid=7 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 8: qid=8 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 9: qid=9 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 10: qid=10 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 11: qid=11 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 12: qid=12 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 13: qid=13 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 14: qid=14 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 15: qid=15 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 16: qid=16 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 17: qid=17 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 18: qid=18 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 19: qid=19 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: rx ring: cur=29 .. Dec 7 08:02:01 x201i wpa_supplicant[667]: ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Device not configured Dec 7 08:02:01 x201i wpa_supplicant[667]: wlan0: Failed to initiate AP scan I do not know where the problem is? If necessary, I can tie debugging. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Intel Centrino Wireless-N 1000 can't connect to AP
A lot of work has gone on in -current with the iwn driver. It's quite possible that the recent changes has broken things. Would you please do this: * recompile with IWN_DEBUG defined in your kernel cofig * sysctl dev.iwn.0.debug=0x13ff (That turns on command debugging, tx/rx debugging, interrupt debugging and calibration debugging.) If you do that for both 10b3 and -head I can compare the two. Also, please post the output of pciconf -lv. I'd like to see which centrino-100 you're using. I thought I had tested it out on the Centrino 100 (I have a couple here) but there may be more variants that I haven't yet tested on. Thanks! -a On 7 December 2013 05:34, 乔楚 honestq...@gmail.com wrote: Today ,I upgrade my freebsd from 10-beta4 to current. Now, my freebsd can't connect to wireless AP. Wireless LAN strike. iwn0 in /var/log/message: Dec 7 08:02:00 x201i kernel: iwn0: Intel Centrino Wireless-N 1000 mem 0xf240-0xf2401fff irq 16 at device 0.0 on pci2 Dec 7 08:02:00 x201i kernel: iwn0: attempting to allocate 1 MSI vectors (1 supported) Dec 7 08:02:00 x201i kernel: msi: routing MSI IRQ 266 to local APIC 0 vector 62 Dec 7 08:02:00 x201i kernel: iwn0: using IRQ 266 for MSI Dec 7 08:02:00 x201i kernel: iwn0: MIMO 1T2R, BGS, address 8c:a9:82:5a:41:58 Dec 7 08:02:00 x201i kernel: iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps Dec 7 08:02:00 x201i kernel: iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps Dec 7 08:02:00 x201i kernel: iwn0: 1T2R Dec 7 08:02:00 x201i kernel: iwn0: 11ng MCS 20MHz Dec 7 08:02:00 x201i kernel: iwn0: MCS 0-7: 6.5Mbps - 65Mbps Dec 7 08:02:00 x201i kernel: iwn0: 11ng MCS 20MHz SGI Dec 7 08:02:00 x201i kernel: iwn0: MCS 0-7: 7Mbps - 72Mbps Dec 7 08:02:00 x201i kernel: iwn0: 11ng MCS 40MHz: Dec 7 08:02:00 x201i kernel: iwn0: MCS 0-7: 13.5Mbps - 135Mbps Dec 7 08:02:00 x201i kernel: iwn0: 11ng MCS 40MHz SGI: Dec 7 08:02:00 x201i kernel: iwn0: MCS 0-7: 15Mbps - 150Mbps .. Dec 7 08:02:00 x201i kernel: wlan0: Ethernet address: f0:de:f1:52:cf:16 Dec 7 08:02:00 x201i kernel: iwn0: iwn_intr: fatal firmware error Dec 7 08:02:00 x201i kernel: firmware error log: Dec 7 08:02:00 x201i kernel: error type = SYSASSERT (0x0005) Dec 7 08:02:00 x201i kernel: program counter = 0x00018DBC Dec 7 08:02:00 x201i kernel: source line = 0x0032 Dec 7 08:02:00 x201i kernel: error data = 0x0001 Dec 7 08:02:00 x201i kernel: branch link = 0x00018D6E00018D6E Dec 7 08:02:00 x201i kernel: interrupt link = 0x0826 Dec 7 08:02:00 x201i kernel: time= 1538064582 Dec 7 08:02:00 x201i kernel: driver status: Dec 7 08:02:00 x201i kernel: tx ring 0: qid=0 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 1: qid=1 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 2: qid=2 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 3: qid=3 cur=2 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 4: qid=4 cur=57 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 5: qid=5 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 6: qid=6 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 7: qid=7 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 8: qid=8 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 9: qid=9 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 10: qid=10 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 11: qid=11 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 12: qid=12 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 13: qid=13 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 14: qid=14 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 15: qid=15 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 16: qid=16 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 17: qid=17 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 18: qid=18 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: tx ring 19: qid=19 cur=0 queued=0-- Dec 7 08:02:00 x201i kernel: rx ring: cur=29 .. Dec 7 08:02:01 x201i wpa_supplicant[667]: ioctl[SIOCS80211, op=103, val=0, arg_len=128]: Device not configured Dec 7 08:02:01 x201i wpa_supplicant[667]: wlan0: Failed to initiate AP scan I do not know where the problem is? If necessary, I can tie debugging. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Intel Centrino Wireless-N 1000 can't connect to AP
1. # uname -a FreeBSD x201i.honestqiao.com 11.0-CURRENT FreeBSD 11.0-CURRENT #2 r259057M: Sun Dec 8 08:27:41 CST 2013 r...@x201i.honestqiao.com:/usr/obj/usr/src/sys/HonestQiaoKernel11 amd64 # pciconf -lv iwn0@pci0:2:0:0:class=0x028000 card=0x13158086 chip=0x00848086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = 'Centrino Wireless-N 1000 [Condor Peak]' class = network # sysctl dev.iwn.0.debug=0x13ff iwn_rx_phy: received PHY stats iwn_notif_intr: cur=19; qid 9 idx 111 flags 0 type 193(MPDU_RX_DONE) len 216 iwn5000_get_rssi: agc 63 rssi 4114 5655 0 result -84 interrupt reg1=0x1000 reg2=0x interrupt reg1=0x8000 reg2=0x iwn_notif_intr: cur=20; qid 9 idx 112 flags 0 type 192(RX_PHY) len 68 iwn_rx_phy: received PHY stats iwn_notif_intr: cur=21; qid 9 idx 113 flags 0 type 193(MPDU_RX_DONE) len 216 iwn5000_get_rssi: agc 62 rssi 4370 5143 0 result -83 interrupt reg1=0x1000 reg2=0x interrupt reg1=0x8000 reg2=0x iwn_notif_intr: cur=22; qid 9 idx 115 flags 0 type 192(RX_PHY) len 68 iwn_rx_phy: received PHY stats iwn_notif_intr: cur=23; qid 9 idx 116 flags 0 type 193(MPDU_RX_DONE) len 288 iwn5000_get_rssi: agc 63 rssi 4371 3343 0 result -88 interrupt reg1=0x1000 reg2=0x wlan configure in /etc/rc.conf: ifconfig_iwn0=ether f0:de:f1:52:cf:17 wlans_iwn0=wlan0 ifconfig_wlan0=mode 11n WPA DHCP #wlandebug_wlan0=scan+auth+assoc wpa_supplicant_program=/usr/sbin/wpa_supplicant wpa_supplicant_flags=-s # Extra flags to pass to wpa_supplicant wpa_supplicant_conf_file=/etc/wpa_supplicant.conf #background_dhclient=YES 2. When I run /etc/rc.d/netif restart, I see wlan0 connect to My AP. #ifconfig iwn0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 2290 ether f0:de:f1:52:cf:17 nd6 options=21PERFORMNUD,AUTO_LINKLOCAL media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng status: associated wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether f0:de:f1:52:cf:17 inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL media: IEEE 802.11 Wireless Ethernet MCS mode 11ng status: associated ssid OpenBSD channel 11 (2462 MHz 11g ht/20) bssid 8c:21:0a:43:ef:d4 country US authmode WPA2/802.11i privacy ON deftxkey UNDEF txpower 14 bmiss 10 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 64 protmode CTS ampdulimit 64k -amsdutx amsdurx shortgi wme roaming MANUAL But after amoment, it's disconnect. #ifconfig iwn0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 2290 ether f0:de:f1:52:cf:17 nd6 options=21PERFORMNUD,AUTO_LINKLOCAL media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng status: associated wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether f0:de:f1:52:cf:17 inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier ssid channel 11 (2462 MHz 11g ht/20) country US authmode WPA1+WPA2/802.11i privacy ON deftxkey UNDEF txpower 14 bmiss 10 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 64 protmode CTS ampdulimit 8k -amsdutx amsdurx shortgi wme roaming MANUAL 3. Remove wlan configure in /etc/rc.conf, and recreate wlan0 interface. #ifconfig wlan0 destroy #ifconfig wlan0 create wlandev iwn0 Dec 8 11:04:49 x201i kernel: wlan0: Ethernet address: f0:de:f1:52:cf:17 # ifconfig wlan0 up scan SSID/MESH IDBSSID CHAN RATE S:N INT CAPS OpenBSD 8c:21:0a:43:ef:d4 11 54M -68:-95 100 EPS RSN HTCAP WME ATH WPS 4. Reback wlan configure in /etc/rc.conf, and recreate wlan0 interface. Dec 8 11:11:42 x201i kernel: wlan0: Ethernet address: f0:de:f1:52:cf:17 Dec 8 11:11:42 x201i wpa_supplicant[10681]: Successfully initialized wpa_supplicant Dec 8 11:11:43 x201i wpa_supplicant[10682]: wlan0: Trying to associate with 8c:21:0a:43:ef:d4 (SSID='OpenBSD' freq=2462 MHz) Dec 8 11:11:43 x201i kernel: wlan0: link state changed to UP Dec 8 11:11:43 x201i wpa_supplicant[10682]: wlan0: Associated with 8c:21:0a:43:ef:d4 Dec 8 11:11:43 x201i kernel: iwn0: iwn_intr: fatal firmware error Dec 8 11:11:43 x201i kernel: firmware error log: Dec 8 11:11:43 x201i kernel: error type = SYSASSERT (0x0005) Dec 8 11:11:43 x201i kernel: program counter = 0x00018DBC Dec 8 11:11:43 x201i kernel: source line = 0x0032 Dec 8 11:11:43 x201i kernel: error data = 0x0001 Dec 8 11:11:43 x201i kernel: branch link = 0x00018D6E00018D6E Dec 8 11:11:43 x201i kernel: interrupt link = 0x0826 Dec 8 11:11:43 x201i kernel: time= 1876630549 Dec 8 11:11:43 x201i kernel:
Re: Intel Centrino Wireless-N 1000 can't connect to AP
Hi. Can you paste the whole dmesg log from the time you start WPA supplicant up to when it crashes? I'd like to see what commands lead to the firmware crash. Thanks! Adrian On Dec 7, 2013 7:13 PM, 乔楚 honestq...@gmail.com wrote: 1. # uname -a FreeBSD x201i.honestqiao.com 11.0-CURRENT FreeBSD 11.0-CURRENT #2 r259057M: Sun Dec 8 08:27:41 CST 2013 r...@x201i.honestqiao.com:/usr/obj/usr/src/sys/HonestQiaoKernel11 amd64 # pciconf -lv iwn0@pci0:2:0:0:class=0x028000 card=0x13158086 chip=0x00848086 rev=0x00 hdr=0x00 vendor = 'Intel Corporation' device = 'Centrino Wireless-N 1000 [Condor Peak]' class = network # sysctl dev.iwn.0.debug=0x13ff iwn_rx_phy: received PHY stats iwn_notif_intr: cur=19; qid 9 idx 111 flags 0 type 193(MPDU_RX_DONE) len 216 iwn5000_get_rssi: agc 63 rssi 4114 5655 0 result -84 interrupt reg1=0x1000 reg2=0x interrupt reg1=0x8000 reg2=0x iwn_notif_intr: cur=20; qid 9 idx 112 flags 0 type 192(RX_PHY) len 68 iwn_rx_phy: received PHY stats iwn_notif_intr: cur=21; qid 9 idx 113 flags 0 type 193(MPDU_RX_DONE) len 216 iwn5000_get_rssi: agc 62 rssi 4370 5143 0 result -83 interrupt reg1=0x1000 reg2=0x interrupt reg1=0x8000 reg2=0x iwn_notif_intr: cur=22; qid 9 idx 115 flags 0 type 192(RX_PHY) len 68 iwn_rx_phy: received PHY stats iwn_notif_intr: cur=23; qid 9 idx 116 flags 0 type 193(MPDU_RX_DONE) len 288 iwn5000_get_rssi: agc 63 rssi 4371 3343 0 result -88 interrupt reg1=0x1000 reg2=0x wlan configure in /etc/rc.conf: ifconfig_iwn0=ether f0:de:f1:52:cf:17 wlans_iwn0=wlan0 ifconfig_wlan0=mode 11n WPA DHCP #wlandebug_wlan0=scan+auth+assoc wpa_supplicant_program=/usr/sbin/wpa_supplicant wpa_supplicant_flags=-s # Extra flags to pass to wpa_supplicant wpa_supplicant_conf_file=/etc/wpa_supplicant.conf #background_dhclient=YES 2. When I run /etc/rc.d/netif restart, I see wlan0 connect to My AP. #ifconfig iwn0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 2290 ether f0:de:f1:52:cf:17 nd6 options=21PERFORMNUD,AUTO_LINKLOCAL media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng status: associated wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether f0:de:f1:52:cf:17 inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL media: IEEE 802.11 Wireless Ethernet MCS mode 11ng status: associated ssid OpenBSD channel 11 (2462 MHz 11g ht/20) bssid 8c:21:0a:43:ef:d4 country US authmode WPA2/802.11i privacy ON deftxkey UNDEF txpower 14 bmiss 10 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 64 protmode CTS ampdulimit 64k -amsdutx amsdurx shortgi wme roaming MANUAL But after amoment, it's disconnect. #ifconfig iwn0: flags=8802BROADCAST,SIMPLEX,MULTICAST metric 0 mtu 2290 ether f0:de:f1:52:cf:17 nd6 options=21PERFORMNUD,AUTO_LINKLOCAL media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng status: associated wlan0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500 ether f0:de:f1:52:cf:17 inet 0.0.0.0 netmask 0xff00 broadcast 255.255.255.255 nd6 options=29PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier ssid channel 11 (2462 MHz 11g ht/20) country US authmode WPA1+WPA2/802.11i privacy ON deftxkey UNDEF txpower 14 bmiss 10 scanvalid 60 bgscan bgscanintvl 300 bgscanidle 250 roam:rssi 7 roam:rate 64 protmode CTS ampdulimit 8k -amsdutx amsdurx shortgi wme roaming MANUAL 3. Remove wlan configure in /etc/rc.conf, and recreate wlan0 interface. #ifconfig wlan0 destroy #ifconfig wlan0 create wlandev iwn0 Dec 8 11:04:49 x201i kernel: wlan0: Ethernet address: f0:de:f1:52:cf:17 # ifconfig wlan0 up scan SSID/MESH IDBSSID CHAN RATE S:N INT CAPS OpenBSD 8c:21:0a:43:ef:d4 11 54M -68:-95 100 EPS RSN HTCAP WME ATH WPS 4. Reback wlan configure in /etc/rc.conf, and recreate wlan0 interface. Dec 8 11:11:42 x201i kernel: wlan0: Ethernet address: f0:de:f1:52:cf:17 Dec 8 11:11:42 x201i wpa_supplicant[10681]: Successfully initialized wpa_supplicant Dec 8 11:11:43 x201i wpa_supplicant[10682]: wlan0: Trying to associate with 8c:21:0a:43:ef:d4 (SSID='OpenBSD' freq=2462 MHz) Dec 8 11:11:43 x201i kernel: wlan0: link state changed to UP Dec 8 11:11:43 x201i wpa_supplicant[10682]: wlan0: Associated with 8c:21:0a:43:ef:d4 Dec 8 11:11:43 x201i kernel: iwn0: iwn_intr: fatal firmware error Dec 8 11:11:43 x201i kernel: firmware error log: Dec 8 11:11:43 x201i kernel: error type = SYSASSERT (0x0005) Dec 8 11:11:43 x201i kernel: program counter = 0x00018DBC Dec 8