[Bug 271979] bsdinstall(8): iwlwifi(4): system crash when authenticating for Wi-Fi: panic: lkpi_sta_auth_to_scan: lsta 0x... state not NONE: 0, nstate 1 arg 1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Nov 2023 17:47:27 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271979
--- Comment #32 from Cheng Cui <cc@FreeBSD.org> ---
(In reply to Cheng Cui from comment #31)
Workaround update:
Well, I retrieved what I am missing. It looks adding the ssid in the first
place during "ifconfig wlan0 create" makes it stable. I found no more crashes.
root@n1_iwl_vm:~ # ifconfig
lo0: flags=1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
groups: lo
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
root@n1_iwl_vm:~ # ifconfig wlan0 create wlandev iwlwifi0 regdomain fcc country
US ssid SpectrumSetup-0F
root@n1_iwl_vm:~ # ifconfig
lo0: flags=1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
groups: lo
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
wlan0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=0
ether e0:2e:0b:92:e5:82
groups: wlan
ssid SpectrumSetup-0F channel 1 (2412 MHz 11b)
regdomain FCC country US authmode OPEN privacy OFF txpower 30 bmiss 7
scanvalid 60 wme bintval 0
parent interface: iwlwifi0
media: IEEE 802.11 Wireless Ethernet autoselect (autoselect)
status: no carrier
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
root@n1_iwl_vm:~ # wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant.conf
Successfully initialized wpa_supplicant
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument
ioctl[SIOCS80211, op=20, val=0, arg_len=7]: Invalid argument
root@n1_iwl_vm:~ # iwlwifi0: Not associated and the session protection is over
already...
iwlwifi0: linuxkpi_ieee80211_connection_loss: vif 0xfffffe00bdea8c80 vap
0xfffffe00bdea8010 state AUTH
root@n1_iwl_vm:~ # ifconfig
lo0: flags=1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
groups: lo
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=0
ether e0:2e:0b:92:e5:82
groups: wlan
ssid SpectrumSetup-0F channel 1 (2412 MHz 11g) bssid f4:69:42:57:3f:0d
regdomain FCC country US authmode WPA2/802.11i privacy ON
deftxkey UNDEF AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid 60
protmode CTS wme roaming MANUAL
parent interface: iwlwifi0
media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g
status: associated
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
root@n1_iwl_vm:~ # dhclient wlan0
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
Nov 21 12:42:57 n1_iwl_vm dhclient[653]: Bogus Host Name option 12: n1_iwl_vm
(n1_iwl_vm)
Bogus Host Name option 12: n1_iwl_vm (n1_iwl_vm)
bound to 192.168.1.214 -- renewal in 21600 seconds.
root@n1_iwl_vm:~ # ifconfig
lo0: flags=1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 16384
options=680003<RXCSUM,TXCSUM,LINKSTATE,RXCSUM_IPV6,TXCSUM_IPV6>
inet 127.0.0.1 netmask 0xff000000
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
groups: lo
nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
options=0
ether e0:2e:0b:92:e5:82
inet 192.168.1.214 netmask 0xffffff00 broadcast 192.168.1.255
groups: wlan
ssid SpectrumSetup-0F channel 1 (2412 MHz 11g) bssid f4:69:42:57:3f:0d
regdomain FCC country US authmode WPA2/802.11i privacy ON
deftxkey UNDEF AES-CCM 2:128-bit txpower 30 bmiss 7 scanvalid 60
protmode CTS wme roaming MANUAL
parent interface: iwlwifi0
media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11g
status: associated
nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
root@n1_iwl_vm:~ # ping -c 3 -S 192.168.1.214 192.168.1.1
PING 192.168.1.1 (192.168.1.1) from 192.168.1.214: 56 data bytes
64 bytes from 192.168.1.1: icmp_seq=0 ttl=64 time=3.485 ms
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=2.810 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=1.336 ms
--- 192.168.1.1 ping statistics ---
3 packets transmitted, 3 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 1.336/2.544/3.485/0.897 ms
root@n1_iwl_vm:~ #
--
You are receiving this mail because:
You are on the CC list for the bug.