Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 09 Oct 2023 04:30:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        wireless@FreeBSD.org
Subject:   [Bug 269824] iwlwifi sporadic loss of connectivity, then kernel panic on service netif restart
Message-ID:  <bug-269824-21060-uzBUDU0DXj@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-269824-21060@https.bugs.freebsd.org/bugzilla/>
References:  <bug-269824-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=3D269824

rkoberman@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rkoberman@gmail.com

--- Comment #11 from rkoberman@gmail.com ---
I'm also seeing this. Restarting the interface often causes a panic. If I h=
ave
X running, the system freezes, but I exited X and restarted the interface d=
 it
crashed. Looks like the failure locks up the graphics. I then started over,
exited X and restarted the interface. Panic immediately after "Starting
wpa_supplicant."
Sun Oct  8 17:37:18 PDT 2023

FreeBSD ptavv 15.0-CURRENT FreeBSD 15.0-CURRENT #7 main-n265807-04c8bfc1761=
0:
Sat Oct  7 23:34:33 PDT 2023=20=20=20=20
root@ptavv:/usr/obj/usr/src/amd64.amd64/sys/GENERIC  amd64

Driver calls the interface an AX211 but pciconf says it's a Alder Lake-P PCH
CNVi WiFi.

Here is the start of core.rxt. I can attach the full file (166K), if it wou=
ld
help.

panic: lkpi_sta_auth_to_scan: lsta 0xfffff8000bb92000 state not NONE: 0, ns=
tate
1 arg 1

Unread portion of the kernel message buffer:
<6>wlan0: ieee80211_new_state_locked: pending SCAN -> AUTH transition lost
<4>Invalid TXQ id
WARNING !drm_modeset_is_locked(&crtc->mutex) failed at
/usr/obj/usr/src/amd64.amd64/sys/GENERIC/usr/ports/graphics/drm-515-kmod/wo=
rk/drm-kmod-drm_v5.15.25_5/drivers/gpu/drm/drm_atomic_helper.$
WARNING !drm_modeset_is_locked(&crtc->mutex) failed at
/usr/obj/usr/src/amd64.amd64/sys/GENERIC/usr/ports/graphics/drm-515-kmod/wo=
rk/drm-kmod-drm_v5.15.25_5/drivers/gpu/drm/drm_atomic_helper.$
WARNING !drm_modeset_is_locked(&crtc->mutex) failed at
/usr/obj/usr/src/amd64.amd64/sys/GENERIC/usr/ports/graphics/drm-515-kmod/wo=
rk/drm-kmod-drm_v5.15.25_5/drivers/gpu/drm/drm_atomic_helper.$
WARNING !drm_modeset_is_locked(&crtc->mutex) failed at
/usr/obj/usr/src/amd64.amd64/sys/GENERIC/usr/ports/graphics/drm-515-kmod/wo=
rk/drm-kmod-drm_v5.15.25_5/drivers/gpu/drm/drm_atomic_helper.$
WARNING !drm_modeset_is_locked(&dev->mode_config.connection_mutex) failed at
/usr/obj/usr/src/amd64.amd64/sys/GENERIC/usr/ports/graphics/drm-515-kmod/wo=
rk/drm-kmod-drm_v5.15.25_5/drivers/gpu/$


Fatal trap 9: general protection fault while in kernel mode
cpuid =3D 8; apic id =3D 18
instruction pointer     =3D 0x20:0xffffffff831d25d0
stack pointer           =3D 0x28:0xfffffe015adc85f0
frame pointer           =3D 0x28:0xfffffe015adc8630
code segment            =3D base 0x0, limit 0xfffff, type 0x1b
                        =3D DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        =3D resume, IOPL =3D 0
current process         =3D 0 (iwlwifi0 net80211 t)
rdi: 85f9894d80558b4c rsi: fffff8000bdcc028 rdx: fffff8000bdcc010
rcx: fffffe014884c3f8  r8: 85f9894d80558b14  r9: 0000000000000000
rax: fffffe015adc89c8 rbx: fffffe014884f2b0 rbp: fffffe015adc8630
r10: fffffe015bf91a72 r11: fffff80319cd8800 r12: fffff80049b92480
r13: fffffe014884c000 r14: fffff80319cd8800 r15: 0000000000000000
trap number             =3D 9
panic: general protection fault
cpuid =3D 8
time =3D 1696811656

KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe015adc8=
330
vpanic() at vpanic+0x132/frame 0xfffffe015adc8460
panic() at panic+0x43/frame 0xfffffe015adc84c0
trap_fatal() at trap_fatal+0x40c/frame 0xfffffe015adc8520
calltrap() at calltrap+0x8/frame 0xfffffe015adc8520
--- trap 0x9, rip =3D 0xffffffff831d25d0, rsp =3D 0xfffffe015adc85f0, rbp =
=3D
0xfffffe015adc8630 ---
intel_atomic_get_global_obj_state() at
intel_atomic_get_global_obj_state+0x90/frame 0xfffffe015adc8630
skl_compute_wm() at skl_compute_wm+0xaec/frame 0xfffffe015adc8850
intel_atomic_check() at intel_atomic_check+0xeff/frame 0xfffffe015adc8920
drm_atomic_check_only() at drm_atomic_check_only+0x4a3/frame 0xfffffe015adc=
8990
drm_atomic_commit() at drm_atomic_commit+0x13/frame 0xfffffe015adc89b0
drm_client_modeset_commit_atomic() at
drm_client_modeset_commit_atomic+0x158/frame 0xfffffe015adc8a20
drm_client_modeset_commit_locked() at
drm_client_modeset_commit_locked+0x74/frame 0xfffffe015adc8a70
drm_client_modeset_commit() at drm_client_modeset_commit+0x21/frame
0xfffffe015adc8a90
drm_fb_helper_restore_fbdev_mode_unlocked() at
drm_fb_helper_restore_fbdev_mode_unlocked+0x83/frame 0xfffffe015adc8ac0
vt_kms_postswitch() at vt_kms_postswitch+0x181/frame 0xfffffe015adc8af0
vt_window_switch() at vt_window_switch+0x25e/frame 0xfffffe015adc8b30
vtterm_cngrab() at vtterm_cngrab+0x4f/frame 0xfffffe015adc8b50
cngrab() at cngrab+0x26/frame 0xfffffe015adc8b70
vpanic() at vpanic+0xd1/frame 0xfffffe015adc8ca0
panic() at panic+0x43/frame 0xfffffe015adc8d00
lkpi_sta_auth_to_scan() at lkpi_sta_auth_to_scan+0x2a7/frame 0xfffffe015adc=
8d80
lkpi_iv_newstate() at lkpi_iv_newstate+0x253/frame 0xfffffe015adc8df0
ieee80211_newstate_cb() at ieee80211_newstate_cb+0x1e7/frame 0xfffffe015adc=
8e40
taskqueue_run_locked() at taskqueue_run_locked+0xab/frame 0xfffffe015adc8ec0
taskqueue_thread_loop() at taskqueue_thread_loop+0xd3/frame 0xfffffe015adc8=
ef0
fork_exit() at fork_exit+0x82/frame 0xfffffe015adc8f30
fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe015adc8f30
--- trap 0x74117411, rip =3D 0x174b174b174b174b, rsp =3D 0x9f3c9f3c9f3c9f3c=
, rbp =3D
0xa1f0a1f0a1f0a1f

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269824-21060-uzBUDU0DXj>