Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 05 Mar 2024 09:59:02 +0000
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)
Message-ID:  <bug-277499-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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.=



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