From nobody Mon Feb 05 20:49:37 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 4TTJQn5h2Qz5903w for ; Mon, 5 Feb 2024 20:49:37 +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 4TTJQn2FTgz4yhC for ; Mon, 5 Feb 2024 20:49:37 +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=1707166177; 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=twICTko+pcNA9p0alonldFIo5Tn7sKAuyuW3+xBpNQM=; b=hiHT9yV3Dawt+TY2PYt+FS0xKKyIW0WBRoaDVa5qPGinFsNgU5vOfLZHW8n1QM3SyrBU1U SMasDcTHLr19/TJHYu5zQbmChMBXsBzjNlsMJHwKWHtkBtp6R8UUhYZXIYY/pFa2OBFOV3 KFyKT8w48hMHyqgkVgrP8f3e+vK2Ne7WlITMpTqEKuviCTor57qoSB1ZX8YxrVymBNL/lc 7c/hyI2sxLg6aOWtCYoh7eEx1/8VqcJ8ZmWjeFyuBfAfwee28xFVnuWoDk3PNUHSrqLx10 6tg9W+XF3kNkE1+LhZfHecaNyOvAa6lHmE5RHLTJVZAJ6WR8Wuj8QF2c47ccUg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1707166177; a=rsa-sha256; cv=none; b=q/P8kp2UNrNX7/haO1J8Io6iKaxgzCIxOR5XUpg+6DUHJa0J4Gf8rwblYNoK3guRq0kD/o NGQ1lOf33i7nVt9RqRPQTHBDTmXCiAg16EA38gUwJ8dG51FkVA1yTqXvP9b9ot7ycskSXx /eiiUghYMeuvuw/KXujLYj97SGyAx3nsAHf9LG2M6zbWwf1CncoeXO1kdgG0OA+hxz2Gzm Fojn6+2xAERf6lXhbt6n5JzDVZ8gzZzjR9/TkRf/9BH2jWAmjiqA7mUHp1wIcon4gGwV9z b+a/+fPtdjDoqoF+xzfBhIuaNF/AdVj25UzTT4nya94NUJDqXdkRIHgjUfxLSA== 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 4TTJQn1JWYztsl for ; Mon, 5 Feb 2024 20:49:37 +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 415Knb5g011122 for ; Mon, 5 Feb 2024 20:49:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 415Knbl0011121 for fs@FreeBSD.org; Mon, 5 Feb 2024 20:49:37 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 268005] rsync to FAT32 flash drive gets "Freeing unused sector" errors Date: Mon, 05 Feb 2024 20:49:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: se@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: se@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc assigned_to bug_status 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=3D268005 Stefan E=C3=9Fer changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |se@FreeBSD.org Assignee|fs@FreeBSD.org |se@FreeBSD.org Status|New |Open --- Comment #5 from Stefan E=C3=9Fer --- I have been able to reproduce the issue with alloc/free tracing added to msdosfs: usemap_free: cluster=3D185185 usemap_alloc: cluster=3D361562 usemap_free: cluster=3D185186 usemap_alloc: cluster=3D361563 /mnt/FAT32: Freeing unused sector 185186 2 fffffff8 /dev/md0: remounting read-only due to corruption remounted /dev/md0 read-only In this test run block 185186 has been freed twice in a row. I'll ltry to identify the code path that causes usemap_free() to be called twice for a single vnode operation. --=20 You are receiving this mail because: You are the assignee for the bug.=