Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Feb 2024 19:40:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 277267] ZFS panic: VERIFY3(zio->io_error == ENXIO) failed (0 == 6)
Message-ID:  <bug-277267-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277267

            Bug ID: 277267
           Summary: ZFS panic: VERIFY3(zio->io_error =3D=3D ENXIO) failed (0
                    =3D=3D 6)
           Product: Base System
           Version: 13.2-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: jfc@mit.edu

My amd64 server crashed while I was running git clone on a repository that =
adds
up to 12 GB unpacked.  The crash dump confirms that the assertion is associ=
ated
with the pool being written.  The pool is a mirror on two
2TB HP MM2000JEFRC HPD4 drives on a 1200 MBps SAS bus.  The smartpqi driver
from FreeBSD 14.0 because it fixes a bug I was hitting.  Otherwise, stable/=
13
with ZFS changes through

282fd2c39ee6 Add vnode_pager_clean_{a,}sync(9)

and other changes through

763b10806cd4 LinuxKPI: 802.11: lsta txq locking cleanup



#3  0xffffffff80bd26bf in vpanic (
    fmt=3D0xffffffff82cf72a7 "VERIFY3(zio->io_error =3D=3D ENXIO) failed (%=
lld =3D=3D
%lld)\n", ap=3Dap@entry=3D0xfffffe03a0489db0)
    at /usr/home/jfc/freebsd/src/sys/kern/kern_shutdown.c:921
        buf =3D "VERIFY3(zio->io_error =3D=3D ENXIO) failed (0 =3D=3D 6)\n"=
, '\000'
<repeats 207 times>
        other_cpus =3D {__bits =3D {281474974613503, 0, 0, 0}}
        td =3D 0xfffff80182b88000
        bootopt =3D <unavailable>
        newpanic =3D <optimized out>
#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 48, fp_offset =3D 48,=20
            overflow_arg_area =3D 0xfffffe03a0489de0,=20
            reg_save_area =3D 0xfffffe03a0489d80}}
#5  0xffffffff82c27e60 in zio_vdev_io_done (zio=3D0xfffff8184fb87000)
    at /usr/home/jfc/freebsd/src/sys/contrib/openzfs/module/zfs/zio.c:3929
        vd =3D 0xfffffe03a0a2e000
        ops =3D 0xffffffff82d0e530 <vdev_disk_ops>
        unexpected_error =3D <optimized out>
#6  0xffffffff82c1ff5b in __zio_execute (zio=3D0xfffff8184fb87000)
    at /usr/home/jfc/freebsd/src/sys/contrib/openzfs/module/zfs/zio.c:2219
        stage =3D ZIO_STAGE_VDEV_IO_DONE
        pipeline =3D <optimized out>
#7  zio_execute (zio=3D<optimized out>)
    at /usr/home/jfc/freebsd/src/sys/contrib/openzfs/module/zfs/zio.c:2130
        cookie =3D 0
#8  0xffffffff80c31e1b in taskqueue_run_locked (
    queue=3Dqueue@entry=3D0xfffff80182f7e200)
    at /usr/home/jfc/freebsd/src/sys/kern/subr_taskqueue.c:518
        et =3D {et_link =3D {tqe_next =3D 0xfffffe03a0489ec0,=20
            tqe_prev =3D 0xffffffff80bde948 <_sleep+712>}, et_td =3D 0x0,=20
          et_section =3D {bucket =3D 0}, et_old_priority =3D 0 '\000'}
        tb =3D {tb_running =3D 0xfffff8184fb87410, tb_seq =3D 523385,=20
          tb_canceling =3D false, tb_link =3D {le_next =3D 0x0,=20
            le_prev =3D 0xfffff80182f7e210}}
        task =3D 0xfffff8184fb87410
        in_net_epoch =3D false
        pending =3D 1
#9  0xffffffff80c32eb3 in taskqueue_thread_loop (
    arg=3Darg@entry=3D0xfffff80178145320)
    at /usr/home/jfc/freebsd/src/sys/kern/subr_taskqueue.c:830
        tq =3D 0xfffff80182f7e200
        tqp =3D <optimized out>
#10 0xffffffff80b8c400 in fork_exit (
    callout=3D0xffffffff80c32de0 <taskqueue_thread_loop>,=20
    arg=3D0xfffff80178145320, frame=3D0xfffffe03a0489f40)
    at /usr/home/jfc/freebsd/src/sys/kern/kern_fork.c:1151
        td =3D 0xfffff80182b88000
        p =3D 0xffffffff81e46828 <proc0>
        dtd =3D <optimized out>

The zio object is

stage =3D 0x200000

*zio =3D
{
  io_bookmark =3D {zb_objset =3D 93, zb_object =3D 1087285, zb_level =3D 0,
                 zb_blkid =3D 0},
  io_prop =3D {zp_checksum =3D ZIO_CHECKSUM_INHERIT,
             zp_compress =3D ZIO_COMPRESS_INHERIT,
             zp_complevel =3D 0 '\000',
             zp_type =3D DMU_OT_NONE,
             zp_level =3D 0 '\000',
             zp_copies =3D 0 '\000',
             zp_dedup =3D 0,
             zp_dedup_verify =3D 0,
             zp_nopwrite =3D 0,
             zp_encrypt =3D 0,
             zp_byteorder =3D 0,
             zp_salt =3D "\000\000\000\000\000\000\000",
             zp_iv =3D '\000' < repeats 11 times >
             , zp_mac =3D '\000' < repeats 15 times >, zp_zpl_smallblk =3D =
0},
  io_type =3D ZIO_TYPE_WRITE, io_child_type =3D ZIO_CHILD_VDEV, io_trim_fla=
gs =3D 0,
  io_cmd =3D 0, io_priority =3D ZIO_PRIORITY_ASYNC_WRITE, io_reexecute =3D =
0 '\000',
  io_state =3D "\001", io_txg =3D 24604026, io_spa =3D 0xfffffe03a0755000,
  io_bp =3D 0xfffff819959c5578, io_bp_override =3D 0x0,
  io_bp_copy =3D {blk_dva =3D {{dva_word =3D {8, 3219260528}},
                           {dva_word =3D {0, 0}},
                           {dva_word =3D {0, 0}}},
                blk_prop =3D 13840414884522819587,
                blk_pad =3D {0, 0},
                blk_phys_birth =3D 0,
                blk_birth =3D 24604026,
                blk_fill =3D 0,
                blk_cksum =3D {zc_word =3D {3816859218741551286,
                                        1781004871607911648,
                                        15693030277188822173,
                                        4275945154273572093}}},
  io_parent_list =3D {list_size =3D 48, list_offset =3D 16,
                    list_head =3D {list_next =3D 0xfffff809344e0820,
                                 list_prev =3D 0xfffff809344e0820}},
  io_child_list =3D {list_size =3D 48, list_offset =3D 32,
                   list_head =3D {list_next =3D 0xfffff8184fb87158,
                                list_prev =3D 0xfffff8184fb87158}},
  io_logical =3D 0xfffff8250eb404d0, io_transform_stack =3D 0x0, io_ready =
=3D 0x0,
  io_children_ready =3D 0x0, io_physdone =3D 0x0,
  io_done =3D 0xffffffff82b6eb00 < vdev_mirror_child_done >,
  io_private =3D 0xfffff808d1b901c8, io_prev_space_delta =3D 0,
  io_bp_orig =3D {blk_dva =3D {{dva_word =3D {8, 3219260528}},
                           {dva_word =3D {0, 0}},
                           {dva_word =3D {0, 0}}},
                blk_prop =3D 13840414884522819587,
                blk_pad =3D {0, 0},
                blk_phys_birth =3D 0,
                blk_birth =3D 24604026,
                blk_fill =3D 0,
                blk_cksum =3D {zc_word =3D {3816859218741551286,
                                        1781004871607911648,
                                        15693030277188822173,
                                        4275945154273572093}}},
  io_lsize =3D 4096, io_abd =3D 0xfffff806be831400,
  io_orig_abd =3D 0xfffff806be831400, io_size =3D 4096, io_orig_size =3D 40=
96,
  io_vd =3D 0xfffffe03a0a2e000, io_vsd =3D 0x0, io_vsd_ops =3D 0x0,
  io_metaslab_class =3D 0xfffff801783e9800, io_offset =3D 1648265584640,
  io_timestamp =3D 349058909606831, io_queued_timestamp =3D 349058909606751,
  io_target_timestamp =3D 0, io_delta =3D 11021342, io_delay =3D 0,
  io_queue_node =3D {avl_child =3D {0xfffff818775ddc40, 0xfffff81e7bd742a0},
                   avl_pcb =3D 18446735417614089285},
  io_offset_node =3D {avl_child =3D {0xfffff818775ddc58, 0xfffff81e7bd742b8=
},
                    avl_pcb =3D 18446735417614089309},
  io_alloc_node =3D {avl_child =3D {0x0, 0x0}, avl_pcb =3D 0},
  io_alloc_list =3D {zal_list =3D {list_size =3D 72, list_offset =3D 0,
                               list_head =3D {list_next =3D 0xfffff8184fb87=
2f8,
                                            list_prev =3D 0xfffff8184fb872f=
8}},
                   zal_size =3D 0},
  io_flags =3D 1575040, io_stage =3D ZIO_STAGE_VDEV_IO_DONE,
  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,
  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_DONE),
  io_error =3D 0, io_child_error =3D {0, 0, 0, 0},
  io_children =3D {{0, 0}, {0, 0}, {0, 0}, {0, 0}}, io_child_count =3D 0,
  io_phys_children =3D 0, io_parent_count =3D 1, io_stall =3D 0x0,
  io_gang_leader =3D 0x0, io_gang_tree =3D 0x0, io_executor =3D 0xfffff8018=
2b88000,
  io_waiter =3D 0x0, io_bio =3D 0x0,
  io_lock =3D {lock_object =3D {lo_name =3D 0xffffffff82ca3c8d <.L.str .112=
 + 1 >
                                      "zio->io_lock",
                            lo_flags =3D 577830912, lo_data =3D 0,
                            lo_witness =3D 0x0},
             sx_lock =3D 1},
  io_cv =3D {cv_description =3D 0xffffffff82caea62 <.L.str .113 + 1 > "zio-=
>io_cv",
           cv_waiters =3D 0},
  io_allocator =3D 0, io_cksum_report =3D 0x0, io_ena =3D 0, io_tqent =3D {
    tqent_task =3D {ta_link =3D {stqe_next =3D 0x0}, ta_pending =3D 0,
                  ta_priority =3D 0 '\000', ta_flags =3D 0 '\000',
                  ta_func =3D 0xffffffff82a2bd90 < taskq_run_ent >,
                  ta_context =3D 0xfffff8184fb87410},
    tqent_timeout_task =3D
        {q =3D 0x0,
         t =3D {ta_link =3D {stqe_next =3D 0x0}, ta_pending =3D 0,
              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, tqe_prev =3D 0x0}},
              c_time =3D 0, c_precision =3D 0, c_arg =3D 0x0, c_func =3D 0x=
0,
              c_lock =3D 0x0, c_flags =3D 0, c_iflags =3D 0, c_cpu =3D 0},
         f =3D 0},
    tqent_func =3D 0xffffffff82c1fee0 < zio_execute >,
    tqent_arg =3D 0xfffff8184fb87000,
    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
  }
}

zio->io_vd->vdev_guid =3D 11713793445848286627 which corresponds to da1 in =
this
pool:

  pool: data
 state: ONLINE
  scan: scrub repaired 0B in 04:45:15 with 0 errors on Sat Oct  7 00:08:52 =
2023
config:

        NAME        STATE     READ WRITE CKSUM
        data        ONLINE       0     0     0
          mirror-0  ONLINE       0     0     0
            da0     ONLINE       0     0     0
            da1     ONLINE       0     0     0
        cache
          nvd0p5    ONLINE       0     0     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-277267-227>