From nobody Tue Nov 21 17:47:27 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 4SZWzh1Qzrz521fM for ; Tue, 21 Nov 2023 17:47:28 +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 4SZWzh0J8Sz4jnL for ; Tue, 21 Nov 2023 17:47:28 +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=1700588848; 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=QNx79ltxvIBdG+LQbHPGVHWnF1B3EQNLcog3gUQj6fA=; b=Rv6Sa75Kg7Fr9fPtATyMywXTEKmpM1OPjDtjMEo0PVggKlA3AwyAJxhgWU94WZfw/2f6EK gA5+Igahf9AYaORqyPF8+4QDrVlQzEA9GipsMXymtuf7MoBXyyvgVSm7wxQZmH81ZGHn9X VBYIv1+cqIqRPowfqRY/38dXx5cUTCIBrbAHS7+dj93eeiHHsAVu6NwZbQ58SyX7nmYAG/ PvHp15xP5r3+ZcOCiFKnEFhfLOQIWc62sTfV6aiJmxGqHUbjOaduhQay88a9syB1hF9F8B FAxE2I3iB2T2k8It87qtCZhoz2G0yGczlDdyCeyR/ibDF8GHzDAvb4SY9lbP/g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700588848; a=rsa-sha256; cv=none; b=P6bDDFR6vVFpOn0arsObC3YFWkwwjFLlTkbQQyxQEWP0sTYrWwDbhT7lMcpmtBTt/2xGec BWhhZlJm9E3ZrCvQP+Z3CWYeAQqZii33yuQPYcNqPWF4UOjPrBwhOTTN4dpi82smODevap wDTgUcpquBfmAs5VNTCphVlhYjJf0zjT6A4J9ReiQtc4zovj6h1POZkRI8EFsDIRRvnq7O FhN3jXS8SRW7XJvy06bk5CKHlBzqjJVm5uMOmB9BJhRi0yNcyD6zGV0RVnOCPgMk65oRq+ DEk+nGmm3sOLlWjhRQghyTk+aPxzhs+faM10WAWozmVilCA8j7aergZhj5Lb4g== 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 4SZWzg6Wd2zlVv for ; Tue, 21 Nov 2023 17:47:27 +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 3ALHlRCO041850 for ; Tue, 21 Nov 2023 17:47:27 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3ALHlRRm041849 for wireless@FreeBSD.org; Tue, 21 Nov 2023 17:47:27 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:47:27 +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 #32 from Cheng Cui --- (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 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:~ # ifconfig wlan0 create wlandev iwlwifi0 regdomain fcc cou= ntry US ssid SpectrumSetup-0F 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=3D8802 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 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 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 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 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 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 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 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.=