From nobody Mon Sep 11 13:47:19 2023 X-Original-To: current@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 4Rkp1b5BR5z4t3HH for ; Mon, 11 Sep 2023 13:47:31 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mx1.sbone.de (cross.sbone.de [195.201.62.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx1.sbone.de", Issuer "SBone.DE Root Certificate Authority" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Rkp1Z5PBJz4Txv for ; Mon, 11 Sep 2023 13:47:30 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Authentication-Results: mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of bzeeb-lists@lists.zabbadoz.net designates 195.201.62.131 as permitted sender) smtp.mailfrom=bzeeb-lists@lists.zabbadoz.net; dmarc=none Received: from mail.sbone.de (mail.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sbone.de (Postfix) with ESMTPS id C29F38D4A179 for ; Mon, 11 Sep 2023 13:47:22 +0000 (UTC) Received: from content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPS id 7421A2D029D1 for ; Mon, 11 Sep 2023 13:47:22 +0000 (UTC) X-Virus-Scanned: amavisd-new at sbone.de Received: from mail.sbone.de ([IPv6:fde9:577b:c1a9:4902:0:7404:2:1025]) by content-filter.t4-02.sbone.de (content-filter.t4-02.sbone.de [IPv6:fde9:577b:c1a9:4902:0:7404:2:2742]) (amavisd-new, port 10024) with ESMTP id NAR-hPHZ03nF for ; Mon, 11 Sep 2023 13:47:21 +0000 (UTC) Received: from strong-aiccu0.sbone.de (strong-aiccu0.sbone.de [IPv6:fde9:577b:c1a9:f491::2]) (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) (No client certificate requested) by mail.sbone.de (Postfix) with ESMTPSA id 10A862D029D3 for ; Mon, 11 Sep 2023 13:47:20 +0000 (UTC) Date: Mon, 11 Sep 2023 13:47:19 +0000 (UTC) From: "Bjoern A. Zeeb" To: current@FreeBSD.org Subject: kernel trap 12 .. cam_periph_release_locked_buses() panics under panic? Message-ID: <514n7872-pp9r-np6p-q6q3-044q4q90709o@yvfgf.mnoonqbm.arg> X-OpenPGP-Key-Id: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Spamd-Bar: / X-Spamd-Result: default: False [-0.96 / 15.00]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_SPAM_LONG(0.34)[0.342]; R_SPF_ALLOW(-0.20)[+ip4:195.201.62.131]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; MLMMJ_DEST(0.00)[current@FreeBSD.org]; BLOCKLISTDE_FAIL(0.00)[195.201.62.131:server fail]; R_DKIM_NA(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; DMARC_NA(0.00)[zabbadoz.net]; RCVD_COUNT_THREE(0.00)[4]; RCPT_COUNT_ONE(0.00)[1]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:24940, ipnet:195.201.0.0/16, country:DE]; FROM_HAS_DN(0.00)[]; TO_DN_NONE(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[current@freebsd.org]; MIME_TRACE(0.00)[0:+] X-Rspamd-Queue-Id: 4Rkp1Z5PBJz4Txv Hi, had a kernel hitting an alll-to-known wifi issue and panic (I was actually happy I could reproduce) and then the screen kept scrolling for a while panicing all over again and ddb was unusable (not so happy). I assume the problem is cam_periph_release_locked_buses()? /bz ... --- trap 0x80bc1f07, rip = 0xffffffff80381e83, rsp = 0x3d7bb6db69f8, rbp = 0xfffffe00907fa4a0 --- cam_periph_release_locked_buses() at cam_periph_release_locked_buses+0x43/frame 0xfffffe00907fa4a0 kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode cpuid = 2; apic id = 02 fault virtual address = 0xfffffe00907fa4a8 fault code = supervisor read data, page not present instruction pointer = 0x20:0xffffffff8101f660 stack pointer = 0x0:0xfffffe00907f8f90 frame pointer = 0x0:0xfffffe00907f9020 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = resume, IOPL = 0 current process = 0 (iwlwifi0 net80211 t) rdi: fffffe00907f8f90 rsi: 0000000000000008 rdx: fffffe00907fa4a8 rcx: fffffe00907f9030 r8: 0000000000000000 r9: 0000000000000000 rax: 0000000000000000 rbx: fffffe00907f90f0 rbp: fffffe00907f9020 r10: 0000000000000000 r11: 0000000000000000 r12: fffffe00907fa4a8 r13: 0000000000000008 r14: 0000000000000000 r15: fffffe00907f9030 trap number = 12 panic: page fault cpuid = 2 time = 1694439681 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00907f8c60 vpanic() at vpanic+0x132/frame 0xfffffe00907f8d90 panic() at panic+0x43/frame 0xfffffe00907f8df0 trap_fatal() at trap_fatal+0x40c/frame 0xfffffe00907f8e50 trap_pfault() at trap_pfault+0xae/frame 0xfffffe00907f8ec0 calltrap() at calltrap+0x8/frame 0xfffffe00907f8ec0 --- trap 0xc, rip = 0xffffffff8101f660, rsp = 0xfffffe00907f8f90, rbp = 0xfffffe00907f9020 --- db_read_bytes() at db_read_bytes+0xa0/frame 0xfffffe00907f9020 db_get_value() at db_get_value+0x31/frame 0xfffffe00907f9060 db_backtrace() at db_backtrace+0x1d9/frame 0xfffffe00907f90e0 db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00907f9160 vpanic() at vpanic+0x132/frame 0xfffffe00907f9290 panic() at panic+0x43/frame 0xfffffe00907f92f0 trap_fatal() at trap_fatal+0x40c/frame 0xfffffe00907f9350 trap_pfault() at trap_pfault+0xae/frame 0xfffffe00907f93c0 calltrap() at calltrap+0x8/frame 0xfffffe00907f93c0 --- trap 0xc, rip = 0xffffffff8101f660, rsp = 0xfffffe00907f9490, rbp = 0xfffffe00907f9520 --- db_read_bytes() at db_read_bytes+0xa0/frame 0xfffffe00907f9520 db_get_value() at db_get_value+0x31/frame 0xfffffe00907f9560 db_backtrace() at db_backtrace+0x1d9/frame 0xfffffe00907f95e0 db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00907f9660 vpanic() at vpanic+0x132/frame 0xfffffe00907f9790 panic() at panic+0x43/frame 0xfffffe00907f97f0 trap_fatal() at trap_fatal+0x40c/frame 0xfffffe00907f9850 trap_pfault() at trap_pfault+0xae/frame 0xfffffe00907f98c0 calltrap() at calltrap+0x8/frame 0xfffffe00907f98c0 --- trap 0xc, rip = 0xffffffff8101f660, rsp = 0xfffffe00907f9990, rbp = 0xfffffe00907f9a20 --- db_read_bytes() at db_read_bytes+0xa0/frame 0xfffffe00907f9a20 db_get_value() at db_get_value+0x31/frame 0xfffffe00907f9a60 db_backtrace() at db_backtrace+0x1d9/frame 0xfffffe00907f9ae0 db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00907f9b60 vpanic() at vpanic+0x132/frame 0xfffffe00907f9c90 panic() at panic+0x43/frame 0xfffffe00907f9cf0 lkpi_sta_auth_to_scan() at lkpi_sta_auth_to_scan+0x388/frame 0xfffffe00907f9d70 lkpi_iv_newstate() at lkpi_iv_newstate+0x2eb/frame 0xfffffe00907f9df0 ieee80211_newstate_cb() at ieee80211_newstate_cb+0x1e7/frame 0xfffffe00907f9e40 taskqueue_run_locked() at taskqueue_run_locked+0xab/frame 0xfffffe00907f9ec0 taskqueue_thread_loop() at taskqueue_thread_loop+0xd3/frame 0xfffffe00907f9ef0 fork_exit() at fork_exit+0x82/frame 0xfffffe00907f9f30 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe00907f9f30 --- trap 0x80bc1f07, rip = 0xffffffff80381e83, rsp = 0x3d7bb6db69f8, rbp = 0xfffffe00907fa4a0 --- cam_periph_release_locked_buses() at cam_periph_release_locked_buses+0x43/frame 0xfffffe00907fa4a0 kernel trap 12 with interrupts disabled ... -- Bjoern A. Zeeb r15:7