From nobody Tue Nov 21 17:16:02 2023 X-Original-To: wireless@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SZWHR61Ssz51yRP for ; Tue, 21 Nov 2023 17:16:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SZWHR4p2cz4dtd for ; Tue, 21 Nov 2023 17:16:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700586963; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=bQbK2Spxoea5Pqpe+j7PkFIq8ZzAYI7BDYWr8eDBt+U=; b=k4pJZQUi2ol1NUIUzT1sRY06YvEFOFN8ip4wTZGQIwjsiYUAbQc1nI7djAJ7l5zEbD1rx8 Z0GaXtMirCINBXk2yUW65a2s6ugOoAbdvVjKWQ/1tcdJlZtlupApNPvZy+4CMUYa0s27qR zpwI6BPs/R/LD864pU+aaBSPPnnXWb1Frp0N8fBYElB5Qttk32sJt3uYtVQM8apCZLKMWY +poHuiaPlg/BVk2/ZFNllHtmZoYFicMdRCX4uFyz71YZJxhB8Ku0Qfpw7/fpbq2KcfBeBz JeRYqz57dMZt0MtokaJDxokuQTtMfILE6hIpVdNOXycGOhCbgncz0JzhcI337w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700586963; a=rsa-sha256; cv=none; b=PdQHc6Ki3fBsfTNcdgw++ZbIpQOb/TRLJNiK+HzWeK0S3Vj9076EeEd3+RaX/a/DugXfZI vXA09Fm0w1vqvihFL5EK3dae6yKteTeLG01mioZFT/muHJjiWGDuRe1tH9XemjsjnGubZ3 4/+QeGf3Of4WfaEyxMDD2uqTYinCUtcei6vl9eeZH/Dnvp4BSCm/cQyYSbKpum/vXVb3Fg kyleTEGNX8mMPDene6c5qGFEWdHZ3v5riwVRVyFBGASzmr09IZR3qCOY+jEQ34vtYwZWvE icL2WGIfe2mAkzYwPGBrGeKVfFSl8RC67dvPRlphTrAU6cr/EiqRrn0BWHG0NA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SZWHR3srSzkck for ; Tue, 21 Nov 2023 17:16:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 3ALHG394097752 for ; Tue, 21 Nov 2023 17:16:03 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3ALHG3bL097751 for wireless@FreeBSD.org; Tue, 21 Nov 2023 17:16:03 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Tue, 21 Nov 2023 17:16:02 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: crash, install, needs-qa X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: cc@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bz@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Discussions List-Archive: https://lists.freebsd.org/archives/freebsd-wireless List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-wireless@freebsd.org X-BeenThere: freebsd-wireless@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271979 --- Comment #30 from Cheng Cui --- 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 metric 0 mtu 1= 6384 options=3D680003 inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 groups: lo nd6 options=3D21 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 metric 0 mtu 1= 6384 options=3D680003 inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 groups: lo nd6 options=3D21 wlan0: flags=3D8843 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 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 metric 0 mtu 1= 6384 options=3D680003 inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1 groups: lo nd6 options=3D21 wlan0: flags=3D8843 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 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.=