From nobody Tue Aug 30 19:05:20 2022 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 4MHGwK2kRJz4b72t for ; Tue, 30 Aug 2022 19:05:21 +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 4MHGwK0xpgz3Qgl for ; Tue, 30 Aug 2022 19:05:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4MHGwJ72C2zsCR for ; Tue, 30 Aug 2022 19:05:20 +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 27UJ5KY4020076 for ; Tue, 30 Aug 2022 19:05:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 27UJ5K6L020075 for fs@FreeBSD.org; Tue, 30 Aug 2022 19:05:20 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 265951] ext2fs: kernel panic when trivial rsync operation from zfs to ext3 partitions Date: Tue, 30 Aug 2022 19:05:20 +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.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: imp@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661886321; 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=VLo66edKrrKSyLsRAfLBXGl55VA/L6SrVjBbniCGE5I=; b=WqiDQLzIIEqk3X88apzj3fq8EdsMAul/3zk4a81hXcNFyYWgRYJe3TXt3Z8Cgn96G1sXLc 5kVJkJFgt8ipdzYOpkHLbyE8zmTmMs+uvkX15dJCl68CJWrzCFwkPDHT4W+Fw3/cx/fVW1 5/Thz78JqFqKdvZhCW3hrf5zg7CJH+KJivP4BS3IHrUQO+3yufRMjSuLyPJ39ouldbfziO +jWGjRvqNw1czGO808bA/fS/0Ybv4JmrGWEnDCRw9RwydyoE75NnBp+0SpmaUusBjLJUU4 P9tDcQ1ETfVtaXJQJgL9TS63KAN3pP6+tm2awLj6k5YOz6q4DBPK/fsxTo/j3Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661886321; a=rsa-sha256; cv=none; b=KHe7zQQZnzrnqNSMHYD6NC5gNDKamOxMHppGnRlBGmZc2ck61ZyUBY43T+W6OSvhdrMTtw 1YF92Glb9zrE+jNlP2TT4Z/HjETjM9up3e/jf+XuYilpH/aLu/IpzK8fI1B58x3pe3wFAz JpYtLzbX8BBdWA9k/y4faZl+lKiNYhxqmfYpuCTFTp0+TCtWdorE1yfGDcwXw7ewlJ7bir Sl0Ud/IdbQpbzQXFxkJduczxFcVwBJtpkhPUto+N7uWFqymWsQgNRDnybiV0F+DyvwYSm/ xsxBxfG06/exEnOWQsQgjd6PXrIA+FBJfNcNFFU5a8Ut685AYlsgnlbsmsGt7g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265951 Warner Losh changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |imp@FreeBSD.org --- Comment #3 from Warner Losh --- > There should be some safety code to avoid any kernel panic on this usecas= e (as the data disk which hold ext3fs was distinct from the system disk). Of course. That's what makes this a bug. There's a fair amount of code alre= ady that tries to return an error rather than use erroneous data, but inside and outside of ext3fs code. Of course it shouldn't panic. To help make this bug report actionable, however, a more complete way to reproduce this would be useful. The description is a good start, but what options do I need to pass to rsync? What kind of files are required in the = ZFS dataset? How many? What sizes? etc. The corruption could come from ext2fs.k= o, zfs.ko or something else that's impossible to guess given the current information. Also, what was the corruption in UFS? On crashes, the superblocks and other metadata, let alone dirty data pages, aren't pushed out to disk (since when= the system panics, it's hard to know if you are syncing good data, junk or if syncing is even possible given the damage). fsck will repair these problems, though. So more information about the corruption on the UFS partitions, and what options were used to create them would also help us know if that part = of the bug is 'expected inflight operation uncertainty at the time of panic' o= r if its something new that also needs to be investigated. --=20 You are receiving this mail because: You are the assignee for the bug.=