[Bug 270089] mpr: panic in mpr_complete_command during zpool import

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 10 Mar 2023 16:08:35 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270089

--- Comment #2 from Dan Kotowski <dan.kotowski@a9development.com> ---
# zpool import
   pool: tank
     id: 4890533244228042504
  state: ONLINE
status: Some supported features are not enabled on the pool.
        (Note that they may be intentionally disabled if the
        'compatibility' property is set.)
 action: The pool can be imported using its name or numeric identifier, though
        some features will not be available without an explicit 'zpool
upgrade'.
 config:

        tank                            ONLINE
          raidz1-0                      ONLINE
            diskid/DISK-S6EPNE0T600261  ONLINE
            diskid/DISK-S6EPNE0T600275  ONLINE
            diskid/DISK-S6EPNE0TA03058  ONLINE
            diskid/DISK-S6EPNE0TA03099  ONLINE
            diskid/DISK-S6EPNE0TA03107  ONLINE
# zpool import tank
panic: command not inqueue, state = 0

cpuid = 12
time = 946694892
KDB: stack backtrace:
db_trace_self() at db_trace_self
db_trace_self_wrapper() at db_trace_self_wrapper+0x30
vpanic() at vpanic+0x13c
panic() at panic+0x44
mpr_complete_command() at mpr_complete_command+0x12c
mpr_intr_locked() at mpr_intr_locked+0x7c
mpr_intr_msi() at mpr_intr_msi+0x58
ithread_loop() at ithread_loop+0x2a0
fork_exit() at fork_exit+0x74
fork_trampoline() at fork_trampoline+0x14
KDB: enter: panic
[ thread pid 12 tid 100154 ]
Stopped at      kdb_enter+0x44: undefined       f900027f
db> reset
Uptime: 16m2s
mpr0: Sending StopUnit: path (xpt0:mpr0:0:0:ffffffff):  handle 11
mpr0: Incrementing SSU count
mpr0: Sending StopUnit: path (xpt0:mpr0:0:1:ffffffff):  handle 12
mpr0: Incrementing SSU count
mpr0: Sending StopUnit: path (xpt0:mpr0:0:2:ffffffff):  handle 10
mpr0: Incrementing SSU count
mpr0: Sending StopUnit: path (xpt0:mpr0:0:3:ffffffff):  handle 9
mpr0: Incrementing SSU count
mpr0: Sending StopUnit: path (xpt0:mpr0:0:4:ffffffff):  handle 13
mpr0: Incrementing SSU count
panic: command not inqueue, state = 0

cpuid = 12
time = 946694892
KDB: stack backtrace:
db_trace_self() at db_trace_self
db_trace_self_wrapper() at db_trace_self_wrapper+0x30
vpanic() at vpanic+0x13c
panic() at panic+0x44
mpr_complete_command() at mpr_complete_command+0x12c
mpr_intr_locked() at mpr_intr_locked+0x7c
xpt_sim_poll() at xpt_sim_poll+0x54
mprsas_ir_shutdown() at mprsas_ir_shutdown+0x458
        kern_reboot() at kern_reboot+0x6c4
        db_reset() at db_reset+0xd0
        db_command() at db_command+0x2d8
        db_command_loop() at db_command_loop+0x54
        db_trap() at db_trap+0xf8
        kdb_trap() at kdb_trap+0x28c
        handle_el1h_sync() at handle_el1h_sync+0x10
        --- exception, esr 0
        (null)() at 0
        KDB: enter: panic
        [ thread pid 12 tid 100154 ]
Stopped at      kdb_enter+0x44: undefined       ff900027f900027f
db> reboot
Uptime: 16m2s
mpr0: Sending StopUnit: path (xpt0:mpr0:0:0:ffffffff):  handle 11
mpr0: Incrementing SSU count
mpr0: Sending StopUnit: path (xpt0:mpr0:0:1:ffffffff):  handle 12
mpr0: Incrementing SSU count
mpr0: Sending StopUnit: path (xpt0:mpr0:0:2:ffffffff):  handle 10
mpr0: Incrementing SSU count
mpr0: Sending StopUnit: path (xpt0:mpr0:0:3:ffffffff):  handle 9
mpr0: Incrementing SSU count
mpr0: Sending StopUnit: path (xpt0:mpr0:0:4:ffffffff):  handle 13
mpr0: Incrementing SSU count
mpr0: Decrementing SSU count.
mpr0: Decrementing SSU count.
mpr0: Decrementing SSU count.
mpr0: Decrementing SSU count.
mpr0: Completing stop unit for (xpt0:mpr0:0:3:ffffffff): 
mpr0: Completing stop unit for (xpt0:mpr0:0:1:ffffffff): 
mpr0: Completing stop unit for (xpt0:mpr0:0:4:ffffffff): 
mpr0: Completing stop unit for (xpt0:mpr0:0:2:ffffffff): 
mpr0: Decrementing SSU count.
mpr0: Completing

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