From nobody Sat May 06 10:37:47 2023 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 4QD3sl3gbsz49QGH for ; Sat, 6 May 2023 10:37:47 +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 4QD3sl0fNtz3xkw for ; Sat, 6 May 2023 10:37:47 +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=1683369467; 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=Jm0EQqhbCQV3hzbMlQmgOsnISNymklIO01ItHW2Ai20=; b=LfzKG6IBxghtMvRql7WpRI06jGv25irwxZ+9lgAoNb+zBQGFpPs47Rm0Okd8g15Rgws9k7 h0PGv/SZR1jyQF/PxMARiG0G5ppeCsI38HuBLo5cQ4aQrb3Rqo3bA2YNRwCVR2fu07bAFc sK71IsfF4vvLwknrwZsTner6oq5cvsm/rOEQhm9DMJN14LyG3nnpuoILoFgJBqzwM4YhPj fJ/rRLNv6rmrpKLEd23OlpckZVkwEon/a3gRoK4EEDTsRAHAgICBn+6yrnf1iQNaqtnzYe R5sBzT/PujkJsJUrS4RJ4NedLlvdDrZ1j2pmQSsmMa2HPvH6E8g32qQ9YMY0gw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1683369467; a=rsa-sha256; cv=none; b=GGfUdhkYFMjOZFjJB8GZsEOQpBFT7oR/NKcdzUW4+fmA3h5BRES3lXGkQYLNMtadd4VFg0 wCNJWSF+OXPKOCTlNIkKARb1hlmSmPbIhPkESdp3NDMOBWOjeUafaMQBgFesD3YePBRz+h kgMeDnjjsahoTUXEUDrnG+qAm1axwgtjzihfUka9m82IPq1ReBXL5Lomk0NN/NyAqQjlMU n5pcB/VF4CEReGdculq8UC77dWlDK91SArRlKnm18VZ95Nq5bR7TXe2CZ0hk7Q2kSdBXMC BCb6r1LPkZnMD1iNkT97YMc46WHFQ2L/7IXhUAz36uguDRwkxgpSw2dqblp4Aw== 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 4QD3sk6kQ6zYcn for ; Sat, 6 May 2023 10:37:46 +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 346AbkqM078068 for ; Sat, 6 May 2023 10:37:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 346Abkwm078067 for bugs@FreeBSD.org; Sat, 6 May 2023 10:37:46 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 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 Date: Sat, 06 May 2023 10:37: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.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: yanhuih@vmware.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 attachments.created 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 X-ThisMailContainsUnwantedMimeParts: N 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.=