From nobody Sun Oct 8 14:04:50 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 4S3P784TlLz4wnqt for ; Sun, 8 Oct 2023 14:04:52 +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 4S3P783Mzsz4bTq for ; Sun, 8 Oct 2023 14:04:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696773892; a=rsa-sha256; cv=none; b=YQbqqu7OgoAAFnCJ+ZMhzZN8YIfMdvHhXGjQsGjR/Q4XdRyfF7n5tlA+7VmvHOUW+2Y7UZ j2sEfwZYOVD14cGsUih9HsmGvnucg0nBglUzCUqgEz+1V5/oq4SHlF/WV/s35xq7AkT3oS O42g+R7mwSCCw+q748Q+wdm8YOAziFG9kMoTm7P6jibdvWAJgdG+SEkU66P81xALRS0MZL rV599104pjVsxlbe/g5B0rmJOOB/sauRhD09XgjPHNLFup1A5UqBjtQHnqlQ6wJc5j8crs ii5UIhGenAh+OQN3eenO7ROA61xrAIRX+zavaGSLssx/LGgN1Qzcf6iCkoeMJA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696773892; 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=0gSLxZKBL5cHrcKm2qDIpMCraP1+bZtTkx5rO0sxQG8=; b=NVvKFHOkcXij9MgVFohNpKVjQ8jWL1sweQ1pUwO4PjIiq4kmvnTbalUGENBQCna8jn/Hxp HiEGU+Yn5mPcl6Gr+vFjHJqKWn+4ISo9QO7Ywpx+Ul/7XKMqhP2u5hAfdkWGI/tztaOlGF 1RJ4TSS1C/u8mtJH/Wq0wnJVs34FLIcSXNkUwzVYS4wgmngMk/ws4mrs28Ns2oXf9Jmd9r rTtiyqE0NNj1XRvDl/qV7YBND8eS5hKnmCMRGYf1KvyUBLqMyW+Laml3hZqXf1q+qnI84F EqMYyHD8gAwOtL4AU0qMpYfVrt0340edDu6UfEa0CLcSCYSEFot05E54FoQA8g== 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 4S3P782Qv9z1s5 for ; Sun, 8 Oct 2023 14:04:52 +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 398E4qoi078378 for ; Sun, 8 Oct 2023 14:04:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 398E4qMt078377 for wireless@FreeBSD.org; Sun, 8 Oct 2023 14:04:52 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: Sun, 08 Oct 2023 14:04:50 +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: oleglelchuk@gmail.com 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 #19 from Oleg --- And now I experienced this panic after compiling the latest 15-CURRENT kern= el:=20 panic: lkpi_sta_auth_to_scan: lsta 0xfffff800022bb000 state not NONE: 0, ns= tate 1 arg 1 . Before the latest wifi-related commits to the kernel, this bug was always triggered if I typed "ifconfig wlan0 up" before executing the wpa_supplicant command. But now it is only sometimes triggered: __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:57 57 __asm("movq %%gs:%P1,%0" : "=3Dr" (td) : "n" (offsetof(stru= ct pcpu, (kgdb) #0 __curthread () at /usr/src/sys/amd64/include/pcpu_aux.h:57 #1 doadump (textdump=3D0) at /usr/src/sys/kern/kern_shutdown.c:405 #2 0xffffffff837ed323 in vt_kms_postswitch () from /boot/modules/drm.ko #3 0xffffffff8099300e in vt_window_switch (vw=3D0xfffff800272252c0) at /usr/src/sys/dev/vt/vt_core.c:595 #4 0xffffffff80b4ed63 in kern_reboot (howto=3D4) at /usr/src/sys/kern/kern_shutdown.c:501 #5 0xffffffff80b4f53f in vpanic (fmt=3D0xffffffff8118fa9b "%s",=20 ap=3Dap@entry=3D0xfffffe0201c09430) at /usr/src/sys/kern/kern_shutdown.= c:970 #6 0xffffffff80b4f2e3 in panic (fmt=3D) at /usr/src/sys/kern/kern_shutdown.c:894 #7 0xffffffff8104ecbc in trap_fatal (frame=3D0xfffffe0201c09530,=20 eva=3D18446744069414584320) at /usr/src/sys/amd64/amd64/trap.c:952 #8 0xffffffff8104ed6e in trap_pfault (frame=3D0xfffffe0201c09530,=20 usermode=3Dfalse, signo=3D, ucode=3D) at /usr/src/sys/amd64/amd64/trap.c:760 #9 #10 0xffffffff836c65d0 in intel_atomic_get_global_obj_state () from /boot/modules/i915kms.ko #11 0xffffffff8367c35c in skl_compute_wm () from /boot/modules/i915kms.ko #12 0xffffffff8364464f in intel_atomic_check () from /boot/modules/i915kms.= ko #13 0xffffffff837ad783 in drm_atomic_check_only () from /boot/modules/drm.ko #14 0xffffffff837adbc3 in drm_atomic_commit () from /boot/modules/drm.ko #15 0xffffffff837bd298 in drm_client_modeset_commit_atomic () from /boot/modules/drm.ko #16 0xffffffff837bd384 in drm_client_modeset_commit_locked () from /boot/modules/drm.ko #17 0xffffffff837bd511 in drm_client_modeset_commit () from /boot/modules/drm.ko #18 0xffffffff837fff13 in drm_fb_helper_restore_fbdev_mode_unlocked () from /boot/modules/drm.ko #19 0xffffffff837ed461 in vt_kms_postswitch () from /boot/modules/drm.ko #20 0xffffffff80992ed1 in vt_window_switch (vw=3D0xfffffe01eaccc2b0,=20 vw@entry=3D0xffffffff816a9c98 ) at /usr/src/sys/dev/vt/vt_core.c:612 #21 0xffffffff8099422f in vtterm_cngrab (tm=3D) at /usr/src/sys/dev/vt/vt_core.c:1863 #22 0xffffffff80adf1f6 in cngrab () at /usr/src/sys/kern/kern_cons.c:385 #23 0xffffffff80b4f471 in vpanic ( fmt=3D0xffffffff811e2547 "%s: lsta %p state not NONE: %#x, nstate %d arg %d\n", ap=3Dap@entry=3D0xfffffe0201c09ce0) at /usr/src/sys/kern/kern_shutdo= wn.c:942 #24 0xffffffff80b4f2e3 in panic ( fmt=3D0xffffffff00000000 ) at /usr/src/sys/kern/kern_shutdown.c:894 #25 0xffffffff80dd1d37 in lkpi_sta_auth_to_scan (vap=3D0xfffffe0201449010,= =20 nstate=3DIEEE80211_S_SCAN, arg=3D1) at /usr/src/sys/compat/linuxkpi/common/src/linux_80211.c:1167 #26 0xffffffff80dd9223 in lkpi_iv_newstate (vap=3D0xfffffe0201449010,=20 nstate=3DIEEE80211_S_SCAN, arg=3D1) at /usr/src/sys/compat/linuxkpi/common/src/linux_80211.c:2064 #27 0xffffffff80cfeb37 in ieee80211_newstate_cb (xvap=3D0xfffffe0201449010,= =20 npending=3D) at /usr/src/sys/net80211/ieee80211_proto.c:= 2546 #28 0xffffffff80bb4b2b in taskqueue_run_locked ( queue=3Dqueue@entry=3D0xfffff804663bd500) at /usr/src/sys/kern/subr_taskqueue.c:512 #29 0xffffffff80bb5be3 in taskqueue_thread_loop ( arg=3Darg@entry=3D0xfffffe01fdb75110) at /usr/src/sys/kern/subr_taskqueue.c:824 #30 0xffffffff80b050b2 in fork_exit ( callout=3D0xffffffff80bb5b10 ,=20 arg=3D0xfffffe01fdb75110, frame=3D0xfffffe0201c09f40) at /usr/src/sys/kern/kern_fork.c:1160 #31 (kgdb) --=20 You are receiving this mail because: You are on the CC list for the bug.=