From nobody Mon Sep 01 15:22:13 2025 X-Original-To: freebsd-current@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 4cFt0J4Z26z66hSr for ; Mon, 01 Sep 2025 15:22:24 +0000 (UTC) (envelope-from woozle@woozle.net) Received: from wzl.woozle.net (wzl.woozle.net [195.54.192.66]) by mx1.freebsd.org (Postfix) with ESMTP id 4cFt0H226Xz3vQd for ; Mon, 01 Sep 2025 15:22:23 +0000 (UTC) (envelope-from woozle@woozle.net) Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=pass (policy=none) header.from=woozle.net; spf=pass (mx1.freebsd.org: domain of woozle@woozle.net designates 195.54.192.66 as permitted sender) smtp.mailfrom=woozle@woozle.net Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by wzl.woozle.net (Postfix) with ESMTP id CD65E72F for ; Mon, 01 Sep 2025 18:22:15 +0300 (MSK) Received: from localhost (woozle.rinet.ru [195.54.192.68]) by woozle.rinet.ru (8.14.5/8.14.5) with ESMTP id 581FMDfq008038 for ; Mon, 1 Sep 2025 18:22:15 +0300 (MSK) (envelope-from woozle@woozle.net) Date: Mon, 1 Sep 2025 18:22:13 +0300 (MSK) From: Dmitry Morozovsky X-X-Sender: marck@woozle.rinet.ru To: freebsd-current@FreeBSD.org Subject: reviving ZFS in broken sm_start+sm_size state Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-OpenPGP-Key-ID: 6B691B03 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (woozle.rinet.ru [195.54.192.68]); Mon, 01 Sep 2025 18:22:15 +0300 (MSK) X-Spamd-Bar: --- X-Spamd-Result: default: False [-3.63 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_LONG(-0.99)[-0.993]; NEURAL_HAM_SHORT(-0.94)[-0.940]; DMARC_POLICY_ALLOW(-0.50)[woozle.net,none]; R_SPF_ALLOW(-0.20)[+ip4:195.54.192.66]; RCVD_NO_TLS_LAST(0.10)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; ASN(0.00)[asn:31363, ipnet:195.54.192.0/19, country:RU]; RCPT_COUNT_ONE(0.00)[1]; FROM_HAS_DN(0.00)[]; MIME_TRACE(0.00)[0:+]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; RECEIVED_HELO_LOCALHOST(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_DN_NONE(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@FreeBSD.org]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4cFt0H226Xz3vQd Dear colleagues, after some (AFAIR clean) reboot of current with ZFS-on-root I had (OCRed from mobile photo but hopefully good enough) unbootable system with the following panic: --- 8< --- panic: VERIFY3U(entry_offset, <, sm->sm_start + sm->sm_size) failed (1847270282567680 < 92341796864) cpuid = 2 time = 1756738203 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe0149c856d0 vpanic at vpanic+0x136/frame 0xfffffe8149c85800 spl_panic at spl_panic+0x3a/frame 0xfffffe0149c85860 space_map_iterate() at space_map_iterate+0x3b1/frame 0xfffffe0149c85920 space_map_load_length() at space_map_load_length+0x5f/frame 0xfffffe8149c85970 metaslab_load() at metaslab_load+0x529/frame 0xfffffe8149c85a40 metaslab_activate() at metaslab_activate+0x46/frame 0xfffffe8149c85a88 metaslab_alloc_dva_range() at metaslab_alloc_dva_range+0x7f9/frame 0xfffffe0149c85bb0 metaslab_alloc_range() at metaslab_alloc_range+8x2c2/frame 8xfffffe8149c85c70 metaslab_alloc() at metaslab_allo zio_dva_allocate() at 0xfffffe0149c85cc0 zio_execute() at zio iraframe 0xfffffe0149c85e10/frame 0xfffffe0149c85e40 taskqueue_run_locked) at taskqueue_run_locked+0x1c2/frame 0xfffffe0149c85ec0 taskqueue_thread_loop() at taskqueue_thread_loop+0xd3/frame 0xfffffe0149c85ef0 fork_exit() at fork_exit+0x82/frame 0xfffffe0149c85f30 fork_trampoline() at fork_trampoline+0xe/frame 0xfffffe0149c85f30 --- trap 0, rip = 0, rsp = 0, rbp = 0 --- KDB: enter: panic [ thread pid 0 tid 101011] Stopped at --- 8< --- attempts to boot from last snapshot and/or trying to boot from PRERELEASE and zpool import lead to exactly the same results, even with different '-F' options: pool *seems* to be importable but actually isn't due to mad entry_offset as I can see from source any hints how could I resolve this? the pool content itself is not **very** important, but avoiding recreation would be nice thanks in advance! -- Sincerely, D.Marck [MCK-RIPE] [ FreeBSD committer: marck@FreeBSD.org ] --------------------------------------------------------------------------- *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- woozle@woozle.net *** ---------------------------------------------------------------------------