From nobody Thu Jan 18 14:18:10 2024 X-Original-To: fs@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 4TG4bR0BFTz58PLM for ; Thu, 18 Jan 2024 14:18:11 +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 4TG4bQ4fkdz4bwb for ; Thu, 18 Jan 2024 14:18:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705587490; 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: in-reply-to:in-reply-to:references:references; bh=S5HSCfe4WGp7mahLOAtfoOPRyXi1GPjdjZWTH19oUeY=; b=IjbHNLBN6PpAZ8Ld6wN4G9O4h0bJMs7UNO8/2D2zcuFZoZuZfObhCXTMOlmRiJOjgXxP3I mzHxwOV91BfwfxasMZgZyeSYCeivBPKArFBbjAZwayjauQVsRYBbTGUg5ERisTQ29wgduR ZR7BdhQzxvviOlVrpC4z19rnbfjoZ/FRsUd4tOxir1DElTj+6PEd0EYoCdTLc11r+EBSrQ 1xCadEMA2uGSaSWl+3xgrVy5SYFW1Z1+2YE62nJOR/7oJ9A9z78waG5o3JS0eDcV+IqRor QVwbHh8dmsOIpm8ajsCEwVuhUFRLDDFuY2613lGLIvELddsQf9Tb55oYgGDiow== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705587490; a=rsa-sha256; cv=none; b=aTA80V9yJfi1Gdve/sfo8RuxpdqM+htr3/+Cn3ELhyM4cJuRMt+GgZecV99hxbbFXd06Yt EGuogKvU8swspCp/tXSj11XfuflagMPQTB2B64pwNrao+ApxHe7BPugv7UgIbPOOVEesM/ FEMLQddywiHayjA8lfkVc95JcVS9HlGet+FeAHaH0dIseBZ9BkE+/yd19gCOPxQR9vsNJe GJjD11tQYtesKgjUJNFAQD0rf6EVehgodOCaWiO8Vbnk0OagM9WpT4TZPey1UUn5cUaPqD wm7LlV0jiJv7LLeuCAMB76BeR2QcXNm7uLW2wD1d8hGA3nrm6+cQmuRcnwuwVQ== 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 4TG4bQ3knqz19B0 for ; Thu, 18 Jan 2024 14:18:10 +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 40IEIApN053360 for ; Thu, 18 Jan 2024 14:18:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40IEIALx053359 for fs@FreeBSD.org; Thu, 18 Jan 2024 14:18:10 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: fs@FreeBSD.org Subject: [Bug 276420] zfs panic: VERIFY(zio->io_stage == ZIO_STAGE_VDEV_IO_START) failed Date: Thu, 18 Jan 2024 14:18:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.2-STABLE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jfc@mit.edu X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276420 --- Comment #1 from John F. Carr --- 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,=20 func=3D, line=3D, fmt=3D) 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) 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' ,=20 zp_mac =3D '\000' , 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 ,=20 io_done =3D 0xffffffff82b71880 , 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 , 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 ,=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.=