Date: Tue, 21 Nov 2023 17:16:02 +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-dkoQAJ9noK@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 #30 from Cheng Cui <cc@FreeBSD.org> --- I found a good workaround. Basically, the following commands did the job without scanning or restarting the wlan0 interface. 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:~ #=20 root@n1_iwl_vm:~ # uname -a FreeBSD n1_iwl_vm 15.0-CURRENT FreeBSD 15.0-CURRENT #19 main-488bc7e9a: Tue= Nov 21 11:42:00 EST 2023=20=20=20=20 root@n1_iwl_vm:/usr/obj/usr/src/amd64.amd64/sys/GENERIC amd64 root@n1_iwl_vm:~ # pciconf -lv | grep -B3 network iwlwifi0@pci0:0:5:0: class=3D0x028000 rev=3D0x1a hdr=3D0x00 vendor=3D0x8= 086 device=3D0x2723 subvendor=3D0x8086 subdevice=3D0x0084 vendor =3D 'Intel Corporation' device =3D 'Wi-Fi 6 AX200' class =3D network root@n1_iwl_vm:~ # root@n1_iwl_vm:~ # ifconfig wlan0 create wlandev iwlwifi0 regdomain fcc cou= ntry US 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:~ # 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 157 (5785 MHz 11a) bssid f4:69:42:57:3f:0e regdomain FCC country US authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit txpower 23 bmiss 7 mcastrate 6 mgmtrate 6 scanvalid 60 wme roaming MANUAL parent interface: iwlwifi0 media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11a status: associated=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20 <<< associated! nd6 options=3D29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> root@n1_iwl_vm:~ # dhclient wlan0 DHCPREQUEST on wlan0 to 255.255.255.255 port 67=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 <<< request IP addr through DHCP DHCPACK from 192.168.1.1 Nov 21 11:51:35 n1_iwl_vm dhclient[654]: 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 157 (5785 MHz 11a) bssid f4:69:42:57:3f:0e regdomain FCC country US authmode WPA2/802.11i privacy ON deftxkey UNDEF AES-CCM 2:128-bit txpower 23 bmiss 7 mcastrate 6 mgmtrate 6 scanvalid 60 wme roaming MANUAL parent interface: iwlwifi0 media: IEEE 802.11 Wireless Ethernet OFDM/36Mbps mode 11a 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=3D2.904 ms 64 bytes from 192.168.1.1: icmp_seq=3D1 ttl=3D64 time=3D1.073 ms 64 bytes from 192.168.1.1: icmp_seq=3D2 ttl=3D64 time=3D1.924 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.073/1.967/2.904/0.748 ms --=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-dkoQAJ9noK>