Date: Tue, 21 Nov 2023 17:47:27 +0000 From: bugzilla-noreply@freebsd.org To: wireless@FreeBSD.org Subject: [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 Message-ID: <bug-271979-21060-7SjLiUyftj@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-271979-21060@https.bugs.freebsd.org/bugzilla/> References: <bug-271979-21060@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271979 --- 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 crash= es.=20 root@n1_iwl_vm:~ # ifconfig lo0: flags=3D1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 1= 6384 options=3D680003<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=3D21<PERFORMNUD,AUTO_LINKLOCAL> root@n1_iwl_vm:~ # ifconfig wlan0 create wlandev iwlwifi0 regdomain fcc cou= ntry US ssid SpectrumSetup-0F root@n1_iwl_vm:~ # ifconfig lo0: flags=3D1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 1= 6384 options=3D680003<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=3D21<PERFORMNUD,AUTO_LINKLOCAL> wlan0: flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500 options=3D0 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=3D29<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=3D20, val=3D0, arg_len=3D7]: Invalid argument ioctl[SIOCS80211, op=3D20, val=3D0, arg_len=3D7]: Invalid argument root@n1_iwl_vm:~ # iwlwifi0: Not associated and the session protection is o= ver already... iwlwifi0: linuxkpi_ieee80211_connection_loss: vif 0xfffffe00bdea8c80 vap 0xfffffe00bdea8010 state AUTH root@n1_iwl_vm:~ # ifconfig lo0: flags=3D1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 1= 6384 options=3D680003<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=3D21<PERFORMNUD,AUTO_LINKLOCAL> wlan0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 15= 00 options=3D0 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=3D29<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=3D1008049<UP,LOOPBACK,RUNNING,MULTICAST,LOWER_UP> metric 0 mtu 1= 6384 options=3D680003<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=3D21<PERFORMNUD,AUTO_LINKLOCAL> wlan0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 15= 00 options=3D0 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=3D29<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=3D0 ttl=3D64 time=3D3.485 ms 64 bytes from 192.168.1.1: icmp_seq=3D1 ttl=3D64 time=3D2.810 ms 64 bytes from 192.168.1.1: icmp_seq=3D2 ttl=3D64 time=3D1.336 ms --- 192.168.1.1 ping statistics --- 3 packets transmitted, 3 packets received, 0.0% packet loss round-trip min/avg/max/stddev =3D 1.336/2.544/3.485/0.897 ms root@n1_iwl_vm:~ # --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271979-21060-7SjLiUyftj>