[Intel AlderLake]Read files to FAT32 or UFS partition cause data corrupt due to P-Core-Core

2022-02-15 Thread Chen, Alvin W
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 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 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 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 partition to FAT32. Do the testing as above.



Regards,
Alvin Chen
Dell | Comercial Client Group
office +86-10-82862506, fax +86-10-82861554, Dell Lync 8672506 
weike_c...@dell.com



Internal Use - Confidential


Re: Buildworld fails with external GCC toolchain

2022-02-15 Thread Yasuhiro Kimura
From: Yasuhiro Kimura 
Subject: Re: Buildworld fails with external GCC toolchain
Date: Tue, 15 Feb 2022 08:26:00 +0900 (JST)

>> I have amd64 world + kernel building with GCC 9 and the only remaining
>> open review not merged yet is https://reviews.freebsd.org/D34147.
>> 
>> It is work to keep it working though and I hadn't worked on it again
>> until recently.
> 
> Thanks for letting me know. I tried patch of the review and confirmed
> both buildworld and buildkernel succeed with GCC 9 and binutils 2.37.
> So I reached start point now and can test binutils 2.38.

I tried buildworld and buildkernel with binutils 2.38 and they
completed successfully.

Just FYI.

---
Yasuhiro Kimura