From nobody Wed Feb 16 03:29:11 2022 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 DB5BE19DE359 for ; Wed, 16 Feb 2022 03:29:15 +0000 (UTC) (envelope-from Weike.Chen@Dell.com) Received: from mx0b-00154904.pphosted.com (mx0b-00154904.pphosted.com [148.163.137.20]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jz3NB64Fsz3F8N for ; Wed, 16 Feb 2022 03:29:14 +0000 (UTC) (envelope-from Weike.Chen@Dell.com) Received: from pps.filterd (m0170396.ppops.net [127.0.0.1]) by mx0b-00154904.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 21FMfKiZ011142 for ; Tue, 15 Feb 2022 22:29:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dell.com; h=from : to : subject : date : message-id : references : in-reply-to : content-type : mime-version; s=smtpout1; bh=aeaguKJatPiNStTPiz4OX7ulmb7n9P/3yfEblSmq1+s=; b=KhEL+MxAguFCD/4IyL3yoi73z3WF6BpJl9AniU7z3dgs9mj7yK9SVsJec29B3x6oj3LG c2yhzyc1AZkGvGa+/p2rvZOy0OnTrDFYkLvJ/Eg3sZnVh6QsI0yYpGEJ8w10ObXbgbA7 h0qVSJSpyFuEdfgsvzIAlUGXRNhNX0R+oFCw3J9JdQPGlOMB0Q2ASNOKr8nR0t8PW0rx +tWzlsIsc4SY+MqFGl1fnQg+KfQg9JFx74uLfa2EsW9QVdPEdJy311iDzctRcwE8viqJ q2+GqwVWZFWE0rbEbgYJBzCPTU7Ao+HyY+xIHbVZxQBTWrn9Tqh1QeA4wABNx8xSi3c3 YQ== Received: from mx0b-00154901.pphosted.com (mx0b-00154901.pphosted.com [67.231.157.37]) by mx0b-00154904.pphosted.com (PPS) with ESMTPS id 3e8n6krw8m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 15 Feb 2022 22:29:14 -0500 Received: from pps.filterd (m0089483.ppops.net [127.0.0.1]) by mx0b-00154901.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 21G3Abbo068437 for ; Tue, 15 Feb 2022 22:29:14 -0500 Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2100.outbound.protection.outlook.com [104.47.55.100]) by mx0b-00154901.pphosted.com with ESMTP id 3e8n4pu6mq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 15 Feb 2022 22:29:13 -0500 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=H0suLHx+75d5mK6ZI1qbyVvTNRFLdhQNWgAWclGRZXoVAt+/n0LFT5uXXyyDs9t68XmhDYWnMADkR8LmBct7ngeQEZp8tLbafNarqxw7HZGcOSUaKZRTvhvFW+u9GJZkjjd3FiLX0oslF/1XjuNpuMM0r+kEiD3O8zPEczBzV8Pqm4clADinvc67g4YUaQANdGmGcq55xr8/TT52hfgYuuaj2Rr3MwRmZsIGwsgSuebHl+bLvndXR7bmdn8LY3dKhfN2lfIMswRj6DGFAyBKTV9EM3C8P/s9fV6ls3E63zHwidVfeab2q4wiH31KBdOqumMpCMbzCWU+Kg4R34L1aw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=aeaguKJatPiNStTPiz4OX7ulmb7n9P/3yfEblSmq1+s=; b=lE3r8toRrpywMr/HwsLcEvAFEexwci5qFBCZzAOhvRAjB1sHSPnIy+NzERk/cPtqS8S7GIxMLtGeyHYqufGWxxaFE5Y1M8PButIrJkkOrnrmL8nfbBd3zGxuigUbXJyD8nrV91zuwnAbswqz7gj3MEdt38PQ0gPU2QV8F1S3VcS5frweCfWUZ6WoOXH1nEAwqNCSZM9uYzf5f9X+ySTt8XLUiVuhQyFzSw4hbq1jA1bgG52MQpn3wv8MWD0sIIOod8MDa21edJzxTxzJdN+Tg9Zgh/Hb+H0rk7dDsq8PdL4FytKSendIVNoaEUn2Wps2mAa3sjwShxee1bE1EeX1wg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=dell.com; dmarc=pass action=none header.from=dell.com; dkim=pass header.d=dell.com; arc=none Received: from PH0PR19MB4938.namprd19.prod.outlook.com (2603:10b6:510:94::9) by DS7PR19MB4503.namprd19.prod.outlook.com (2603:10b6:5:2c3::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.16; Wed, 16 Feb 2022 03:29:11 +0000 Received: from PH0PR19MB4938.namprd19.prod.outlook.com ([fe80::704f:ebed:4242:35ed]) by PH0PR19MB4938.namprd19.prod.outlook.com ([fe80::704f:ebed:4242:35ed%5]) with mapi id 15.20.4975.019; Wed, 16 Feb 2022 03:29:11 +0000 From: "Chen, Alvin W" To: "freebsd-current@freebsd.org" Subject: [Intel AlderLake]Read&Write files to FAT32 or UFS partition cause data corrupt due to P-Core&E-Core Thread-Topic: [Intel AlderLake]Read&Write files to FAT32 or UFS partition cause data corrupt due to P-Core&E-Core Thread-Index: AdgiU7LtuqDwFf1bQ0eAzhIfnwoyFwAkPrvwAAAl4WA= Date: Wed, 16 Feb 2022 03:29:11 +0000 Message-ID: References: In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_73dd1fcc-24d7-4f55-9dc2-c1518f171327_Enabled=true; MSIP_Label_73dd1fcc-24d7-4f55-9dc2-c1518f171327_SetDate=2022-02-16T03:29:09Z; MSIP_Label_73dd1fcc-24d7-4f55-9dc2-c1518f171327_Method=Standard; MSIP_Label_73dd1fcc-24d7-4f55-9dc2-c1518f171327_Name=No Protection (Label Only) - Internal Use; MSIP_Label_73dd1fcc-24d7-4f55-9dc2-c1518f171327_SiteId=945c199a-83a2-4e80-9f8c-5a91be5752dd; MSIP_Label_73dd1fcc-24d7-4f55-9dc2-c1518f171327_ActionId=f0b027b1-a48d-4371-ad06-f2b088217420; MSIP_Label_73dd1fcc-24d7-4f55-9dc2-c1518f171327_ContentBits=2 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 23a59bde-57f5-4915-22b1-08d9f0fc7fec x-ms-traffictypediagnostic: DS7PR19MB4503:EE_ x-microsoft-antispam-prvs: x-exotenant: 2khUwGVqB6N9v58KS13ncyUmMJd8q4 x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: a+fDy0M1pSOWQCJnKgot7CR12N1Pkl/MPAviT8cVI/zjrTc9xKnqzxJUgIScGWyUvbkxUs4aZfFvS/P/WvaaNHpfnW6yZwTfgn8cEDryrvQviMOUXYXUsXxVr/gll0xCpBLUrLdmcfSU6QgraG5MsV2VE+64pWCQIsjeRyv4nw/uwlmBLo3B+z6LI6n0lRUl4KdzwaCrDv4hJZWEVtSo3fp9pCHaTU/7n0Bh66WhC/vJUBLuvd9QkRi1BBHDXA+9oOHi/OSE+3QEBJmGy/ueDOTKkZOdWlvxr+oc3Z3U8eZV+q5jrVkJVbCYAqCT+nDYmH05StL6JI2zbX8BPMS+Bm+VsaMTIDzTTfW3zmPspU6obbT0xo37gWt2H1pn3rPP9ELeauIHgBSydRSXyAF3NyZpxFzrUQowLJsd6tDHJXa2WWZxCJwpE76BXCFujUfvFZlbC+tQnFQMHZZTgON/q6VxrSDQ4vj7N4IYk/tzAhRnoxbOhEHHYxDXqBxlN6HbQh1wjTi680Fz5vb+tseEYRZKPiDtz4GNzeNZf2mpRnDuNog8CMxlsJAA29rMglyH4XLngjb5bNe9W9pMoUiZVB3Ia0Ayr9rqHJrIeAkC8ChXRwRfjk7UruxUFIYO+cBcjLfgArWemGeOE94N9v/glQzdGZyzDGfrYTQs9bhTVLq5cNAqJ8hnsN8qwAZ4xZdjpzlnZf/4tY4pXjHFj5O/KgX7ffy5moU02pSqzb72xryIYV0TA2eAns7h/RX7Mb3j4ufaYhznuCPgpXX6u9I8fP2XZ/VHHJ8y0eiNzSxnJBg= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR19MB4938.namprd19.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(38070700005)(71200400001)(64756008)(2940100002)(166002)(8676002)(66946007)(9326002)(76116006)(8936002)(52536014)(66446008)(66476007)(66556008)(55016003)(82960400001)(38100700002)(122000001)(6916009)(508600001)(83380400001)(7696005)(6506007)(86362001)(26005)(186003)(2906002)(33656002)(5660300002)(9686003)(316002)(786003);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?j8HTuC6hu5u4EqzA341qHKMh879nN4bkfZPlPWltYNhT97QvdESh/N4Xax+j?= =?us-ascii?Q?wddgESGmCi/8WHSljRjEzbO7BDaYJB26MUZ5NRpkfi97MKpLh5KfzQpWdO9g?= =?us-ascii?Q?S3aRNT9nxdSyrw2M7ej3f2VAKKKTE0br7uTqC+s8VSmUsBAGpFNeoyGr6OMT?= =?us-ascii?Q?9fwa0oKTt5XmKAq1aLvFWfzHqXOSa6QkMGwSLYGhvo5jvzygMszAIRA60QIF?= =?us-ascii?Q?PZwCT9UQ8hj9Etr5+ori7eA+I9WwLDgB3suHde2bdRGO1tO/bUm1MoWODfiD?= =?us-ascii?Q?UfuVLwf4zGG+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Q?9b6dNR+MH5m3fXkpDHb3zeq9xIUVSCnWm7QD+lxFhsgiDmZLHhyx5Ace0NpI?= =?us-ascii?Q?q1x4lRM6IMtIlvLQCo8YTeBhgwvnVluuYKuoZxFZvYSZqIJXj3x+wnjJld1t?= =?us-ascii?Q?/jtbthf6ZgYp0o4VABQ0deISznbNOQSoNoRucGgxk13NhC8H16ESqJYHLGSV?= =?us-ascii?Q?WmEJ5YGYX/30nAxM8pSFT4lK77pZO99iBCfx+ScFUiyU8UftofYsCUXTr5bs?= =?us-ascii?Q?4V2ItluQNmS7jV6KymhS8Dgx0h/BEsx6f+Furkrthj862ChN8U7/PvNRVAVf?= =?us-ascii?Q?cyOI4HqB2s/XTqz1x1UrxxaqyDLyJH8MspVCYrvVWYP24Hg9NXhM3R60mIst?= =?us-ascii?Q?Kg130WrizLPGRiNHsImFiQlq8wAbxyHKNa0Y80XWtq6+6oMHdn8zjY9DC0pX?= =?us-ascii?Q?kwP+xamx9tBMBBAOLt8Wfao=3D?= Content-Type: multipart/alternative; boundary="_000_PH0PR19MB49388A4BC14B16FCEA5F742D9E359PH0PR19MB4938namp_" 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 X-OriginatorOrg: Dell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR19MB4938.namprd19.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 23a59bde-57f5-4915-22b1-08d9f0fc7fec X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Feb 2022 03:29:11.7159 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 945c199a-83a2-4e80-9f8c-5a91be5752dd X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: q1O3EqSXAAOMdN6ssGSQykC0/pQKFh/5dGtaxzHhO+8JLmnvr45pXTMjj2CbB171mYfYJsB5XLW5NjOlD4yIuA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS7PR19MB4503 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.425,18.0.816 definitions=2022-02-16_01:2022-02-14,2022-02-16 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 spamscore=0 priorityscore=1501 impostorscore=0 mlxscore=0 mlxlogscore=928 suspectscore=0 clxscore=1015 adultscore=0 bulkscore=0 lowpriorityscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2202160014 X-Proofpoint-ORIG-GUID: hmtaR6gXg8K8Rr64SjMHFy_v77XU-YO0 X-Proofpoint-GUID: hmtaR6gXg8K8Rr64SjMHFy_v77XU-YO0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 spamscore=0 adultscore=0 phishscore=0 mlxlogscore=999 bulkscore=0 malwarescore=0 suspectscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2201110000 definitions=main-2202160014 X-Rspamd-Queue-Id: 4Jz3NB64Fsz3F8N X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org; dkim=pass header.d=dell.com header.s=smtpout1 header.b=KhEL+MxA; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); dmarc=pass (policy=none) header.from=Dell.com; spf=pass (mx1.freebsd.org: domain of Weike.Chen@Dell.com designates 148.163.137.20 as permitted sender) smtp.mailfrom=Weike.Chen@Dell.com X-Spamd-Result: default: False [-6.10 / 15.00]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[dell.com:s=smtpout1]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:148.163.137.20:c]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; NEURAL_HAM_LONG(-1.00)[-1.000]; ARC_REJECT(2.00)[signature check failed: fail, {[1] = sig:microsoft.com:reject}]; RCPT_COUNT_ONE(0.00)[1]; DWL_DNSWL_LOW(-1.00)[dell.com:dkim]; RWL_MAILSPIKE_EXCELLENT(0.00)[148.163.137.20:from]; DKIM_TRACE(0.00)[dell.com:+]; DMARC_POLICY_ALLOW(-0.50)[Dell.com,none]; RCVD_IN_DNSWL_NONE(0.00)[104.47.55.100:received]; NEURAL_HAM_SHORT(-1.00)[-1.000]; TO_DN_EQ_ADDR_ALL(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current]; WHITELIST_SPF_DKIM(-3.00)[dell.com:d:+,Dell.com:s:+]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:22843, ipnet:148.163.137.0/24, country:US]; RCVD_COUNT_SEVEN(0.00)[7]; RCVD_IN_DNSWL_LOW(-0.10)[67.231.157.37:received] X-ThisMailContainsUnwantedMimeParts: N --_000_PH0PR19MB49388A4BC14B16FCEA5F742D9E359PH0PR19MB4938namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi Guys, Any updates to support Intel P-core + E-core? I have filed a bug: PR 261169, but no updates. Does anybody know the progress? For Intel Adler Lake P core + E core processor (i7-12700T), copying files t= o FAT32 partition, the file corrupted (50%), but ZFS is fine. After disabli= ng E core in the code by restrict the max cpu number, this issue is gone. A= nd 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 partition (on SSD= ), and copy a 300MB file to the FAT32, compare the sha256 checksums for the= source file and the dst file, the checksum are different (50%). Or if ther= e is a 300MB file in FAT32 partition, mount the partition, and for the firs= t time check the sha256 value by running 'sha256 file.tgz', the checksum is= wrong, but the second time, the checksum is correct. 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 a= bove. Regards, Alvin Chen Dell | Comercial Client Group office +86-10-82862506, fax +86-10-82861554, Dell Lync 8672506 weike_chen@d= ell.com Internal Use - Confidential --_000_PH0PR19MB49388A4BC14B16FCEA5F742D9E359PH0PR19MB4938namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi Guys,
Any updates to support Intel P-core + E-co= re?
I have filed a bug: PR 261169, but no updates.
Does anybody know the progress?

For Intel Adler Lake P core + E core proce= ssor (i7-12700T), copying files to FAT32 partition, the file corrupted (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 issu= e:
1. Make FreeBSD 13 USB disk installer, ins= tall FreeBSD with UFS, and select install source and ports, the txz package= checking will be failed.

2. Boot to shell by USB disk installer, an= d mount a FAT32 partition (on SSD), and copy a 300MB file to the FAT32, com= pare the sha256 checksums for the source file and the dst file, the checksu= m are different (50%). Or if there is a 300MB file in FAT32 partition, mount the partition, and for the first= time check the sha256 value by running 'sha256 file.tgz', the checksum is = wrong, but the second time, the checksum is correct.

3. Install FreeBSD 13 with ZFS, and it can= work well. And boot into FreeBSD, disable swap, and format the SWAP partit= ion to FAT32. Do the testing as above.

 

 

 

Regards,

Alvin Chen

Dell | Comercial Client Group

office +86-10-82862506, fax +86-10-82861554, Dell Ly= nc 8672506 weike_chen@dell.com

 

 

Internal Use - Confidential

--_000_PH0PR19MB49388A4BC14B16FCEA5F742D9E359PH0PR19MB4938namp_--