Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 2024 14:18:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 276420] zfs panic: VERIFY(zio->io_stage == ZIO_STAGE_VDEV_IO_START) failed
Message-ID:  <bug-276420-3630-Drt3b6tBak@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-276420-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-276420-3630@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=3D276420

--- Comment #1 from John F. Carr <jfc@mit.edu> ---
Repeating the dd command, this time with bs=3D8m, caused another panic with=
 a
different message but also related to tracking state of I/O.  I have a crash
dump this time.  The new kernel is based off
4c4633fdffbe8e4b6d328c2bc9bb3edacc9ab50a.  There are no substantial changes=
 to
the ZFS kernel code in between.

panic: VERIFY(zio->io_stall =3D=3D NULL) failed

cpuid =3D 38
time =3D 1705586225
KDB: stack backtrace:
#0 0xffffffff80c19745 at kdb_backtrace+0x65
#1 0xffffffff80bce982 at vpanic+0x152
#2 0xffffffff82a2a2ea at spl_panic+0x3a
#3 0xffffffff82c201e8 at zio_execute+0x308
#4 0xffffffff80c2e0eb at taskqueue_run_locked+0xab
#5 0xffffffff80c2f183 at taskqueue_thread_loop+0xd3
#6 0xffffffff80b88730 at fork_exit+0x80
#7 0xffffffff81061b7e at fork_trampoline+0xe

#4  0xffffffff82a2a2ea in spl_panic (file=3D<optimized out>,=20
    func=3D<optimized out>, line=3D<optimized out>, fmt=3D<unavailable>)
    at
/usr/home/jfc/freebsd/src/sys/contrib/openzfs/module/os/freebsd/spl/spl_mis=
c.c:107
        ap =3D {{gp_offset =3D 40, fp_offset =3D 48,=20
            overflow_arg_area =3D 0xfffffe03a6f8ae20,=20
            reg_save_area =3D 0xfffffe03a6f8adc0}}
#5  0xffffffff82c201e8 in __zio_execute (zio=3D0xfffff804582b19a0)
    at /usr/home/jfc/freebsd/src/sys/contrib/openzfs/module/zfs/zio.c:2175
        stage =3D ZIO_STAGE_VDEV_IO_DONE
        pipeline =3D (ZIO_STAGE_VDEV_IO_START | ZIO_STAGE_VDEV_IO_DONE |
ZIO_STAGE_VDEV_IO_ASSESS | ZIO_STAGE_DONE)
#6  zio_execute (zio=3D<optimized out>)
    at /usr/home/jfc/freebsd/src/sys/contrib/openzfs/module/zfs/zio.c:2130
        cookie =3D 0
#7  0xffffffff80c2e0eb in taskqueue_run_locked (
    queue=3Dqueue@entry=3D0xfffff801afeafb00)
    at /usr/home/jfc/freebsd/src/sys/kern/subr_taskqueue.c:512
        et =3D {et_link =3D {tqe_next =3D 0xfffffe03a6f8aec0,=20
            tqe_prev =3D 0xffffffff80bdac78 <_sleep+712>}, et_td =3D 0x0,=20
          et_section =3D {bucket =3D 0}, et_old_priority =3D 0 '\000'}
        tb =3D {tb_running =3D 0xfffff804582b1db0, tb_seq =3D 3579256,=20
          tb_canceling =3D false, tb_link =3D {le_next =3D 0x0,=20
            le_prev =3D 0xfffff801afeafb10}}
        task =3D 0xfffff804582b1db0
        in_net_epoch =3D false
        pending =3D 1

The zio argument to __zio_execute is

{io_bookmark =3D {zb_objset =3D 2437, zb_object =3D 1, zb_level =3D 0, zb_b=
lkid =3D
3700975},
    io_prop =3D {
      zp_checksum =3D ZIO_CHECKSUM_INHERIT, zp_compress =3D ZIO_COMPRESS_IN=
HERIT,
      zp_complevel =3D 0 '\000',=20
      zp_type =3D DMU_OT_NONE, zp_level =3D 0 '\000', zp_copies =3D 0 '\000=
',
      zp_dedup =3D 0,=20
      zp_dedup_verify =3D 0, zp_nopwrite =3D 0, zp_encrypt =3D 0, zp_byteor=
der =3D 0,=20
      zp_salt =3D "\000\000\000\000\000\000\000",
      zp_iv =3D '\000' <repeats 11 times>,=20
      zp_mac =3D '\000' <repeats 15 times>, zp_zpl_smallblk =3D 0},
    io_type =3D ZIO_TYPE_WRITE,=20
    io_child_type =3D ZIO_CHILD_VDEV,
    io_trim_flags =3D 0,
    io_cmd =3D 0,=20
    io_priority =3D ZIO_PRIORITY_ASYNC_WRITE,
    io_reexecute =3D 0 '\000',
    io_state =3D "\001",=20
    io_txg =3D 23709657,
    io_spa =3D 0xfffffe03a69f9000,
    io_bp =3D 0x0,
    io_bp_override =3D 0x0,
    io_bp_copy =3D {
      blk_dva =3D
      {{dva_word =3D {0, 0}},
       {dva_word =3D {0, 0}},
       {dva_word =3D {0, 0}}},
      blk_prop =3D 0,
      blk_pad =3D {
        0, 0}, blk_phys_birth =3D 0, blk_birth =3D 0, blk_fill =3D 0,
        blk_cksum =3D {zc_word =3D {0, 0, 0, 0}}},=20
    io_parent_list =3D
    {list_size =3D 48, list_offset =3D 16,
     list_head =3D {list_next =3D 0xfffff802c327cd60,=20
                  list_prev =3D 0xfffff802c327cd60}},
    io_child_list =3D {list_size =3D 48, list_offset =3D 32,
                     list_head =3D {
                       list_next =3D 0xfffff8068a043800,
                       list_prev =3D 0xfffff8068a043800}},
    io_logical =3D 0xfffff804899659a0,
    io_transform_stack =3D 0x0,
    io_ready =3D 0x0,
    io_children_ready =3D 0x0,=20
    io_physdone =3D 0xffffffff82a7cd30 <arc_write_physdone>,=20
    io_done =3D 0xffffffff82b71880 <vdev_raidz_child_done>,
    io_private =3D 0xfffff801623fc490,=20
    io_prev_space_delta =3D 0,
    io_bp_orig =3D {blk_dva =3D {{dva_word =3D {0, 0}}, {dva_word =3D {0, 0=
}},
                             {dva_word =3D {0, 0}}}, blk_prop =3D 0,
                             blk_pad =3D {0, 0}, blk_phys_birth =3D 0,
                             blk_birth =3D 0,=20
                             blk_fill =3D 0, blk_cksum =3D {zc_word =3D {0,=
 0, 0,
0}}},
    io_lsize =3D 4096,
    io_abd =3D 0xfffff801623fc4a8,=20
    io_orig_abd =3D 0xfffff801623fc4a8,
    io_size =3D 4096,
    io_orig_size =3D 4096,
    io_vd =3D 0xfffffe03a6d7d000,=20
    io_vsd =3D 0x0,
    io_vsd_ops =3D 0x0,
    io_metaslab_class =3D 0xfffff801623c2000,
    io_offset =3D 459490152448,=20
    io_timestamp =3D 1564556504339,
    io_queued_timestamp =3D 1564556504259,
    io_target_timestamp =3D 0,=20
    io_delta =3D 0,
    io_delay =3D 0,
    io_queue_node =3D {avl_child =3D {0x0, 0x0}, avl_pcb =3D 1},
    io_offset_node =3D {avl_child =3D {0x0, 0x0}, avl_pcb =3D 1},
    io_alloc_node =3D {avl_child =3D {0x0, 0x0}, avl_pcb =3D 0},=20
    io_alloc_list =3D {zal_list =3D {list_size =3D 72, list_offset =3D 0,
                                 list_head =3D {list_next =3D 0xfffff804582=
b1c98,
                                              list_prev =3D 0xfffff804582b1=
c98}},
                     zal_size =3D 0},=20
    io_flags =3D 3672192,
    io_stage =3D ZIO_STAGE_VDEV_IO_DONE,=20
    io_pipeline =3D (ZIO_STAGE_VDEV_IO_START | ZIO_STAGE_VDEV_IO_DONE |
ZIO_STAGE_VDEV_IO_ASSESS | ZIO_STAGE_DONE),
    io_orig_flags =3D 1048704,
    io_orig_stage =3D ZIO_STAGE_READY,=20
    io_orig_pipeline =3D (ZIO_STAGE_VDEV_IO_START | ZIO_STAGE_VDEV_IO_DONE |
ZIO_STAGE_VDEV_IO_ASSESS | ZIO_STAGE_DONE),
    io_pipeline_trace =3D (ZIO_STAGE_OPEN | ZIO_STAGE_VDEV_IO_START |
ZIO_STAGE_VDEV_IO_ASSESS),=20
    io_error =3D 0,
    io_child_error =3D {0, 0, 0, 0},
    io_children =3D {{0, 1}, {0, 0}, {0, 0}, {0, 0}},=20
    io_child_count =3D 1,
    io_phys_children =3D 0,
    io_parent_count =3D 1,
    io_stall =3D 0xfffff804582b1ce8,=20
    io_gang_leader =3D 0x0,
    io_gang_tree =3D 0x0,
    io_executor =3D 0xfffff801b92c5000,
    io_waiter =3D 0x0,=20
    io_bio =3D 0x0,
    io_lock =3D
    {lock_object =3D {lo_name =3D 0xffffffff82ca3c8d <.L.str.112+1> "zio->i=
o_lock",=20
                    lo_flags =3D 577830912, lo_data =3D 0, lo_witness =3D 0=
x0},
     sx_lock =3D 18446735284676890624},
    io_cv =3D {
      cv_description =3D 0xffffffff82caea62 <.L.str.113+1> "zio->io_cv",
      cv_waiters =3D 0},
    io_allocator =3D 0,=20
    io_cksum_report =3D 0x0,
    io_ena =3D 0,
    io_tqent =3D
    {tqent_task =3D {ta_link =3D {stqe_next =3D 0x0},=20
                   ta_pending =3D 0, ta_priority =3D 0 '\000', ta_flags =3D=
 0 '\000',=20
                   ta_func =3D 0xffffffff82a2bd90 <taskq_run_ent>,
                   ta_context =3D 0xfffff804582b1db0},=20
     tqent_timeout_task =3D {q =3D 0x0,
                           t =3D {ta_link =3D {stqe_next =3D 0x0},
                                ta_pending =3D 0,=20
                                ta_priority =3D 0 '\000', ta_flags =3D 0 '\=
000',
                                ta_func =3D 0x0, ta_context =3D 0x0},
                           c =3D {c_links =3D {
            le =3D {le_next =3D 0x0, le_prev =3D 0x0},
            sle =3D {sle_next =3D 0x0}, tqe =3D {tqe_next =3D 0x0,=20
                                           tqe_prev =3D 0x0}}, c_time =3D 0,
c_precision =3D 0, c_arg =3D 0x0, c_func =3D 0x0, c_lock =3D 0x0,=20
                                           c_flags =3D 0, c_iflags =3D 0, c=
_cpu =3D
0}, f =3D 0},
     tqent_func =3D 0xffffffff82c1fee0 <zio_execute>,=20
     tqent_arg =3D 0xfffff804582b19a0, tqent_id =3D 0,
     tqent_hash =3D {cle_next =3D 0x0, cle_prev =3D 0x0},
     tqent_type =3D 0 '\000', tqent_registered =3D 0 '\000',
     tqent_cancelled =3D 0 '\000', tqent_rc =3D 0}}

--=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-276420-3630-Drt3b6tBak>