Date: Sat, 06 May 2023 10:37:47 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 271277] FreeBSD 13.x LSI Logic Parallel, SAS and NVMe Boot Installed VM with 4GB or more than 4GB vMem size re-enter install UI or BTX halted error after installed Message-ID: <bug-271277-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271277 Bug ID: 271277 Summary: FreeBSD 13.x LSI Logic Parallel, SAS and NVMe Boot Installed VM with 4GB or more than 4GB vMem size re-enter install UI or BTX halted error after installed Product: Base System Version: 13.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: yanhuih@vmware.com Created attachment 242013 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D242013&action= =3Dedit FreeBSD 13.x NVMe boot disk shows 2nd GPT table is corrupt or invalid For FreeBSD 13.x guest OS installation in VMware vSphere, if configure its = vMem size to 4GB or larger than 4GB, it has 2 issues. * 1st: Re-enter install UI after fresh install and reboot FreeBSD 13.x 32 b= it VM(Virtual Machine) with LSI Logic Parallel or LSI Logic SAS boot disk * 2nd: BTX halted error happened after fresh install and reboot FreeBSD 13.= x 32 bit VM with NVMe boot disk Please refer to the 2 attached screenshot of "FreeBSD 13.2 32 re-enter inst= all UI.png" and "FreeBSD 13.x BTX halted.png". All tests are based on GA release. ---Test FreeBSD 12.x and 13.x releases--- FreeBSD 13.0: Has these 2 issues FreeBSD 13.1: Has these 2 issues FreeBSD 13.2: Has these 2 issues FreeBSD 12.4: Doesn=E2=80=99t have these 2 issues ---Test FreeBSD 13.x 32bit and 64bit--- FreeBSD 13.x 32bit: Has these 2 issues FreeBSD 13.x 64bit: Doesn=E2=80=99t have these 2 issues ---Tested Storage Controller--- LSI Logic Parallel: Has the 1st issue LSI Logic SAS: Has the 1st issue NVMe: Has the 2nd issue PVSCSI: Doesn=E2=80=99t have these 2 issues SATA: Doesn=E2=80=99t have these 2 issues ####################Test for 1st issue#################### ---Tested vCPU number and vMem Size combination when fresh install a FreeBSD 13.2 VM--- vCPU vMem Re-enter installation? 1 1 No 16 1 No 4 2 No 4 3 No 16 3 No 1 4 Yes 4 4 Yes 4 16 yes 16 16 Yes ---Test Steps--- Step1: Fresh install a FreeBSD 13.2 32bit VM with configuration as below vCPU: 1 vMem: 4GB Hard disk controller: LSI Logic Parallel or LSI Logic SAS Boot Option: BIOS (default), EFI cannot be supported with 32bit Install FreeBSD 13.2 32bit VM with vMem size equal to or larger than 4GB can reproduce this issue. Step2: Install FreeBSD 13.2 32bit OS according to the instructions and rebo= ot Step3: After reboot, re-enter the installation UI. ---Problem Analysis--- The issue will happen with the following conditions 1) FreeBSD 13.x 32bit Fresh install 2) LSI Logic Parallel or SAS boot hard disk 3) vMem >=3D 4GB 4) BIOS Boot ####################Test for 1st issue#################### ####################Test for 2nd issue#################### ---Tested vCPU number and vMem Size combination when fresh install a FreeBSD 13.2 VM--- vCPU vMem BTX Halted? 1 1 No 16 1 No 8 2 No 16 2 No 3 3 No 4 3 No 1 4 Yes 2 4 Yes 3 4 Yes 4 4 Yes 16 4 yes 3 5 Yes 1 5 Yes 8 5 Yes 1 6 Yes 1 8 Yes 32 6 Yes ---Test Steps--- Step1: Fresh install a FreeBSD 13.2 32bit VM with configuration as below vCPU: 1 vMem: 4GB Hard disk controller: NVMe Boot Option: BIOS (default), EFI cannot be supported with 32bit Install FreeBSD 13.2 32bit VM with vMem size equal to or larger than 4GB can reproduce this issue. Step2: Install FreeBSD 13.2 32bit OS according to the instructions and rebo= ot Step3: After reboot, BTX halted error appears. ---Problem Analysis--- The issue will happen with the following conditions 1) FreeBSD 13.x 32bit Fresh install 2) NVMe boot hard disk 3) vMem >=3D 4GB 4) BIOS Boot Note: 1) Cold adding vCPU and vMem with different number in an installed FreeBSD = 13.2 VM is OK 2) UEFI boot cannot be supported in FreeBSD 32bit During the installation, if we choose NVMe disk as boot disk, it will report the following error. The Screenshot of =E2=80=9CFreeBSD 13.x NVMe boot disk= shows 2nd GPT table is corrupt or invalid.png=E2=80=9D is also attached. ****** GEOM:disked/DISK-VMware%20NVME_0000: the secondary GPT table is corrupt or invalid. GEOM:disked/DISK-VMware%20NVME_0000: using the primary only =E2=80=93 recov= ery suggested. GEOM:disked/DISK-VMware%20NVME_0000: the secondary GPT table is corrupt or invalid. GEOM:disked/DISK-VMware%20NVME_0000: using the primary only =E2=80=93 recov= ery suggested. =E2=80=A6=E2=80=A6 ****** Because it doesn=E2=80=99t have this issue for any other storage controller= which attached to boot hard disk, NVMe controller with vMem size equal to or larg= er than 4GB may bring this problem. ####################Test for 2nd issue#################### Would FreeBSD help to fix these 2 issues? Thanks in advance! Yanhui --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-271277-227>