From nobody Thu Jan 13 08:55:47 2022 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 73C191947395 for ; Thu, 13 Jan 2022 08:55:48 +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 4JZJDg5zVlz3rXW for ; Thu, 13 Jan 2022 08:55:47 +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 9E7301D877 for ; Thu, 13 Jan 2022 08:55:47 +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 20D8tlxI051174 for ; Thu, 13 Jan 2022 08:55:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 20D8tlGP051173 for bugs@FreeBSD.org; Thu, 13 Jan 2022 08:55:47 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 261169] [Intel AlderLake]Read&Write files to FAT32 or UFS partition cause data corrupt Date: Thu, 13 Jan 2022 08:55:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: vico13.chen@gmail.com 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1642064147; 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=eCiyZsxhKsv6mfesa4a005uyOyZbFv01HA/LXBnz0M0=; b=F/MijwaVFcZfe/eBnfpxwI102zX5cO1Y2QcvECv+qptwBxQpLAm0WPDPkoF87A8FP6J++b k7T4ciCMFtyvVqnZtBI/oXDrojApMIb8223tCnfG8X3Aoh3uQmbzwbPpaz9OW/Yay18vjc Tikf0P+JU7J4WAkFWoWCCadJt/Flv+sBm01TM87iKEebdbv9wc2CH3YZEsvN84ZeZGYfwE 5cO+vcfyzjdSY62gklItF/D7rXBcGPidEl7wMGUUhPdcIi7Un49e0Ccuq30UyPrP2hyqwD COXHAnwJWiQlUTaqjI8Dvs4l9RDG506UKQfKa/QVyFlXqT7vblx8WnfCDFMR8w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1642064147; a=rsa-sha256; cv=none; b=Co+AAj8dP6em+v6e9zx5EeQ0AQy5ctaBwr4bQD3hv9yCEG9Xgh1mqCh+CpWHh9cm+HHfHO GQgVhjFimgf0mHJi26gVKmTZfbtLjTk0sWbbp0szUKtW3VwQSKyV+4DO+BQEXXW+rn6ReN u/cclHJwb04t8awSdSQO15/X7NsD4VKF/wUyECqhafcf8H/VhawVggPtebbHyqIbK6bQKj 3JnqtZbx9z6H491glHHA6VD+Crw+aoFcM80ozVKvzvrtCWeJci7gcSDZ7XvUx8vE+iYE+X Spty9N8UGcV1G0PguCii1OcrmHabLt1m6Bq3ePbobz4/6/L+jpZfoIRMJ6QMvQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261169 Bug ID: 261169 Summary: [Intel AlderLake]Read&Write files to FAT32 or UFS partition cause data corrupt Product: Base System Version: 13.0-STABLE Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: vico13.chen@gmail.com For Intel Adler Lake P core + E core processor (i7-12700T), copying files to FAT32 partition, the file corrutped (50%), but ZFS is fine. After disabling= E core in the code by restrict the max cpu number, this issue is gone. And No= E core processor has no such issue, like i7-12400. HW ENV: CPU: Intel AlderLake 12th Gen i7-12700T Disk: NVME SSD There are 3 methods to reproduce this issue: 1. Make FreeBSD 13 USB disk installer, install FreeBSD with UFS, and select install source and ports, the txz package checking will be failed. 2. Boot to shell by USB disk installer, and mount a FAT32 parition (on SSD), and copy a 300MB file to the FAT32, compare the sha256 checksums for the so= urce file and the dst file, the checksum are different (50%). Or if there is a 3= 00MB file in FAT32 partition, mount the parition, and for the first time check t= he sha256 value by running 'sha256 file.tgz', the checksum is wrong, but the second time, the checksum is correct.=20 3. Install FreeBSD 13 with ZFS, and it can work well. And boot into FreeBSD, disable swap, and format the SWAP partition to FAT32. Do the testing as abo= ve. --=20 You are receiving this mail because: You are the assignee for the bug.=