From nobody Fri Jan 19 18:30:30 2024 X-Original-To: bugs@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 4TGp87372xz575sf for ; Fri, 19 Jan 2024 18:30:31 +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 4TGp8609wFz4cfc for ; Fri, 19 Jan 2024 18:30:30 +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=1705689030; 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; bh=O3pWE8BRtC/QRFEv8smtgiVMTCoS8XZRQVW2iGC/+HY=; b=OKB02v42k5baD9biAYC1RL89Q45Y65pJhdh1yWpy2DwNxjLZH/N3Zeft/xL70osSmUj3sz liK9qTgonRq4hY3ggEGg+Lakf8Zr/eCk2n0C729W0r6PWuBWOmHtiEU5vSn5I6Xr0Vjp2a p+pcYNh8zMwR7PkiBHYn0geeYGVODuXOJd//jWdUrAsyGOHZHFI1l0OAFt5HulTVCJzxoU OEKeopqTTQgHier065HuRAoakBq9Ze68DKNslnkr26O+BnyaDF91m01EO5Co+6UpmpW6OC 5cCFWMxOxHMfJ0aYTr8Jp6YdIhoCuEHO5l+3qp6/cLys4hfjYO7XbbcMjfPeYA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705689030; a=rsa-sha256; cv=none; b=Mux0isvP+RSsCBNj6H/+eBZZDKPuqHkpZe7aAtxPEODvXyDadWhq2SwBH2CQXjI8JTbpI4 oQ68/DB7CLpfBt9wzrSmJ3HX9UqdWkampNmYqNjjxFsGeKYP6KoHLk4LDIihz9gf80wILl xuCfHDUnf3XPrrQVinT9e1gM/YK0WoV+wpGcfweNF0D/0V/hgQjvtiM071bmmcRr3MXB8T q87AGbyl7asQXxeIaD4gulkRZrblb6Mm1kbnF+obyjPU9viZVrWH2JczbVNehS60fvUpQu y3/0xRLBThrIUYb7L8n5iqxGxOhMlDWx+7H/9226XMa0iVa9ahyOHqrecBq3tg== 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 4TGp8565rcz12gM for ; Fri, 19 Jan 2024 18:30:29 +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 40JIUTdi097153 for ; Fri, 19 Jan 2024 18:30:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 40JIUTpr097152 for bugs@FreeBSD.org; Fri, 19 Jan 2024 18:30:29 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: bugs@FreeBSD.org Subject: [Bug 276464] assertion failure running fsck_msdosfs -n Date: Fri, 19 Jan 2024 18:30:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.2-STABLE X-Bugzilla-Keywords: 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: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: 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: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276464 Bug ID: 276464 Summary: assertion failure running fsck_msdosfs -n Product: Base System Version: 13.2-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: jfc@mit.edu Running fsck_msdosfs -n on a bad filesystem produces the following output: ** /dev/zvol/fast/fat32s1 ** Phase 1 - Read FAT and checking connectivity FAT starts with odd byte sequence (f8ffff0ffffffff7) Correct? no ** Phase 2 - Checking Directories /archive/2013-02-02 Drum1 doesn't start a new cluster chain Truncate? no Assertion failed: (fat_is_cl_head(fat, head)), function checkchain, file /usr/home/jfc/freebsd/src/sbin/fsck_msdosfs/fat.c, line 1046. The assertion may be invalid with -n. Alternatively, this code from dir.c line 985 } else { mod |=3D k =3D checksize(fat, p, &dirent); if (k & FSDIRMOD) mod |=3D THISMOD; } should not execute if (mod & FSERROR). This is the same bad filesystem from bug 276408. # file -s /dev/zvol/fast/fat32 /dev/zvol/fast/fat32: DOS/MBR boot sector MS-MBR 9M english at offset 0x10+= 0xFF "Invalid partition table" at offset 0x127 "Error loading operating system" = at offset 0x146 "Missing operating system", disk signature 0xaab3b4a1, created with driveID 0x81 at 21:59:0; partition 1 : ID=3D0xc, active, start-CHS (0x0,1,1), end-CHS (0x280,254,63), startsector 63, 586067202 sectors # file -s /dev/zvol/fast/fat32s1=20 /dev/zvol/fast/fat32s1: DOS/MBR boot sector, code offset 0x5a+2, OEM-ID "MSWIN4.1", sectors/cluster 64, Media descriptor 0xf8, sectors/track 63, he= ads 255, hidden sectors 63, sectors 586067202 (volumes > 32 MB), FAT (32 bit), sectors/FAT 71533, serial number 0x1dd91023, label: "SEA_DISK " --=20 You are receiving this mail because: You are the assignee for the bug.=