From nobody Tue Mar 5 09:59:02 2024 X-Original-To: bugs@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 4Tprck73WRz5CKSc for ; Tue, 5 Mar 2024 09:59:02 +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 4Tprck4bnwz4V9v for ; Tue, 5 Mar 2024 09:59:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709632742; a=rsa-sha256; cv=none; b=gRqjfMm6ovMsRSVM3zf3lX/S8/ZGF/S5p1ktSBEYTvhm6CnR354UxfbOKR87Mwdw8a6ovH G2acy0wy0hoEEASCeCqnU+8BTSkabEKXDWs+KmCLzpeXg/I/EdZsECu6a6rVk7i7zwCJBR 2y7ywUNLofDbs+ftA0oFoJwyK4Yck+DFWjNHp3Mbgk90br09SxDMSdv8IjpoffDgThUg6b zow6tYY/cUoGBgH8NkVx5r/YJ23J/75nK75ROeJRnJbiP4z/WW0Ri2s5gAK0gRhUjms4xC G4T2PkbIC8yZGU9B1SrGp7kvQE2sPuEvpfmN8SpIWZ2/SSc6O1QEK45PugwHVQ== 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=1709632742; 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; bh=jlLziaWgGN5Dj1yjQptb0hN7suzs09KrPhDyccjcomg=; b=WG4EuwYLSyrmbowb+Lz2+C3ZJBNhY4LWKGhs5SbZZ+0t/PrST/eW0OJURVoOBnuDf1HQfb lk7RRl5W83cCLRqXlguYsjaLhWahHYaycCkIW4ICQkO+F7g/hepw6fvOIeBev8mCReVoTK vqDwErguL/CJV+aJADSkY4UPjQt37XtHxmCBgGVuP+9saOw6GDhgRCPM2wMcWyjehNh1ot pKyQdibyYqbPIs8/KN785qyBaZQCXYYc5W0EC7YcbfxvhcfCSOQe1gxOi5aq8+Oo8fSW/L Jhferobv7JRgRsoNo56Ll6sQCzIzdoYmMRm/Tk2G3MNT3f0+2PaGGbv916mXhw== 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 4Tprck45f6z11n7 for ; Tue, 5 Mar 2024 09:59:02 +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 4259x29d014153 for ; Tue, 5 Mar 2024 09:59:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4259x26p014152 for bugs@FreeBSD.org; Tue, 5 Mar 2024 09:59:02 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: bugs@FreeBSD.org Subject: [Bug 277499] panic in doneq0 xpt_done_td xpt_done_process after HDD falling off the bus (Periph destroyed) Date: Tue, 05 Mar 2024 09:59:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 15.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: bsd@kobyla.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277499 Bug ID: 277499 Summary: panic in doneq0 xpt_done_td xpt_done_process after HDD falling off the bus (Periph destroyed) Product: Base System Version: 15.0-CURRENT Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: bsd@kobyla.org Created attachment 248946 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D248946&action= =3Dedit detailed kgdb trace log The only active geom there is the single vdev zfs partition (without a replication). gmirror "efi" one is idle and such usually do not cause any problems, only active zfs matters FreeBSD 15.0-CURRENT #2 main-n268534-32fdcff8703d: Mon Feb 26 01:08:14 EET = 2024 (ada3:ahcich3:0:0:0): READ_FPDMA_QUEUED. ACB: 60 b0 88 e0 81 40 57 00 00 07= 00 00 (ada3:ahcich3:0:0:0): CAM status: Command timeout (ada3:ahcich3:0:0:0): Retrying command, 2 more tries remain ahcich3: SATA connect time=3D100us status=3D00000133 ahcich3: AHCI reset: device found ahcich3: AHCI reset: device ready after 100ms ahcich3: Timeout on slot 26 port 0 ahcich3: is 00000000 cs 00000000 ss 3c000000 rs 3c000000 tfd 50 serr 000000= 00 cmd 0000dd17 ahcich3: AHCI reset... (ada3:ahcich3:0:0:0): READ_FPDMA_QUEUED. ACB: 60 b0 88 e0 81 40 57 00 00 07= 00 00 (ada3:ahcich3:0:0:0): CAM status: Command timeout (ada3:ahcich3:0:0:0): Retrying command, 1 more tries remain ahcich3: SATA connect time=3D100us status=3D00000133 ahcich3: AHCI reset: device found ahcich3: AHCI reset: device ready after 100ms ipfw: 24111 Nat TCP 10.0.11.17:39346 10.0.6.178:10050 in via em0 ahcich3: Timeout on slot 2 port 0 ahcich3: is 00000000 cs 00000000 ss 0000003c rs 0000003c tfd 50 serr 000000= 00 cmd 0000c517 ahcich3: AHCI reset... (ada3:ahcich3:0:0:0): READ_FPDMA_QUEUED. ACB: 60 b0 88 e0 81 40 57 00 00 07= 00 00 (ada3:ahcich3:0:0:0): CAM status: Command timeout (ada3:ahcich3:0:0:0): Retrying command, 0 more tries remain ahcich3: SATA connect time=3D100us status=3D00000133 ahcich3: AHCI reset: device found ahcich3: AHCI reset: device ready after 100ms (ada3:ahcich3:0:0:0): Periph destroyed GEOM_MIRROR: Device efi: provider ada3p99 disconnected. Fatal trap 12: page fault while in kernel mode cpuid =3D 1; apic id =3D 02 fault virtual address =3D 0x18 fault code =3D supervisor write data, page not present instruction pointer =3D 0x20:0xffffffff80325322 stack pointer =3D 0x28:0xfffffe0121bf5e80 frame pointer =3D 0x28:0xfffffe0121bf5ea0 code segment =3D base 0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current process =3D 4 (doneq0) rdi: fffff80001e2b660 rsi: 0000000000000001 rdx: 00000000000013f6 rcx: 0000000000000000 r8: ffffffff80c87ff0 r9: 0000000000526415 rax: 0000000000000000 rbx: fffff80001e2b660 rbp: fffffe0121bf5ea0 r10: 0000000000001388 r11: 000000008059e074 r12: 0000000000000000 r13: fffffe0121bf5eb8 r14: 0000000000000000 r15: fffff80001f42740 trap number =3D 12 panic: page fault cpuid =3D 1 time =3D 1709613907 KDB: stack backtrace: db_trace_self_wrapper() at 0xffffffff8045142b =3D db_trace_self_wrapper+0x2b/frame 0xfffffe0121bf5b60 vpanic() at 0xffffffff8074c855 =3D vpanic+0x135/frame 0xfffffe0121bf5c90 panic() at 0xffffffff8074c713 =3D panic+0x43/frame 0xfffffe0121bf5cf0 trap_fatal() at 0xffffffff80bb43dc =3D trap_fatal+0x40c/frame 0xfffffe0121b= f5d50 trap_pfault() at 0xffffffff80bb442f =3D trap_pfault+0x4f/frame 0xfffffe0121= bf5db0 calltrap() at 0xffffffff80b8c238 =3D calltrap+0x8/frame 0xfffffe0121bf5db0 --- trap 0xc, rip =3D 0xffffffff80325322, rsp =3D 0xfffffe0121bf5e80, rbp = =3D 0xfffffe0121bf5ea0 --- xpt_done_process() at 0xffffffff80325322 =3D xpt_done_process+0x222/frame 0xfffffe0121bf5ea0 xpt_done_td() at 0xffffffff80327485 =3D xpt_done_td+0xf5/frame 0xfffffe0121= bf5ef0 fork_exit() at 0xffffffff80705acf =3D fork_exit+0x7f/frame 0xfffffe0121bf5f= 30 fork_trampoline() at 0xffffffff80b8d29e =3D fork_trampoline+0xe/frame 0xfffffe0121bf5f30 --- trap 0, rip =3D 0, rsp =3D 0, rbp =3D 0 --- KDB: enter: panic --=20 You are receiving this mail because: You are the assignee for the bug.=