From nobody Sun Dec 15 08:35:38 2024 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 4Y9xGz0ms2z5gV0X for ; Sun, 15 Dec 2024 08:35:39 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y9xGy6F77z4P44 for ; Sun, 15 Dec 2024 08:35:38 +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=1734251738; 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=ZMm3IRJ8O4qzFdUpxV/5jbFi1vdkfwRZRp5pJmQtjZg=; b=THS1rE8xe7s7CxS5DWlQj4usJ8bcJ9NQ7xL39c0RRvuUdi+P0Xmx4seBy/acx2cqZBmE2E 2Q0cMj8wOGpxU5UQpQXcoCh+Eddc8NC9LWafea+PBjX8Nx+Fb6QrDasiLgVABaMOiZhyWF ZDPq5xe4H1/w8h3ej3RlS6YBJkwtC2qvxhBLddaQtU2ilV6iIk3xgDpv7lds4EKOFyNIPI lUcXS2lRTLRV5ZMM0PdNuTqaPBvxMSB82Ga5GUq6o1ZitF38PA1Fo9vNkWW2yojtQiSdbm W2ootCSBM18lnghicNO9D+p7N5ARYXdj9FFoMmCgFwvHKU8VdddCEdh9jODVpA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734251738; a=rsa-sha256; cv=none; b=XGYutRoD/uvu+F73FlQcuUR8eS/VAAxRqn7vJkj87eBtcWJmtM/QlNN4fteUZUAhdyCchS E3U5HnW6Osbswv4nQFSGuFdefsds3xk6I2hYpcvTylfbtr1OmATtBL10w9C1ngVkezHCy0 aDcOdYOlSx8sL23WJomHJIoR+hw/18SMgdbvbG4p48JWwjMBkAZ+aAPjGvWCYxytMqBfqn gV/Venx8DtWFXmYtESzSad+VrMB0RyQTXzl24ymqjamA01sx8bB6Ekn9ln01NSuUqL9aOq 5zOX1NeP7T9GhU2N5udWCMt8sVjxEUTr285YLseO3T2MpP0pMvGqQaBSVOWZQg== 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 4Y9xGy5Y4cz114j for ; Sun, 15 Dec 2024 08:35:38 +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 4BF8ZctK023099 for ; Sun, 15 Dec 2024 08:35:38 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4BF8Zc7F023098 for bugs@FreeBSD.org; Sun, 15 Dec 2024 08:35:38 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 283341] In version FreeBSD12.2 to FreeBSD 14.2 (include) bhyve host don't boot guest FreeBSD any version on BSD partition Date: Sun, 15 Dec 2024 08:35:38 +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: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dym@afalina.od.ua 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D283341 Bug ID: 283341 Summary: In version FreeBSD12.2 to FreeBSD 14.2 (include) bhyve host don't boot guest FreeBSD any version on BSD partition Product: Base System Version: Unspecified Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: dym@afalina.od.ua In version FreeBSD12.2 to FreeBSD 14.2 (include) bhyve host don't boot guest FreeBSD any version on BSD partition. # uname -a FreeBSD HOST 14.2-RELEASE FreeBSD 14.2-RELEASE c8918d6c7 HOST amd64 FreeBSD guest no boot if partitioning BSD-label. This has been going on since version FreeBSD 12.2 and to this moment, see report https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254813 Reproduce: Fresh install FreeBSD 14.2, install vm-bhyve. Install into bhyve new FreeBSD 14.2 (in sample, it doesn't really depend on whether it's line 13, 14 or 15) guest. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D # cat testboot.conf uuid=3D"c3b3fb80-bab9-11ef-a22f-ac1f6bf2c45c" loader=3D"bhyveload" cpu=3D8 memory=3D16G #disk0_type=3D"ahci-hd" #disk0_type=3D"virtio-blk" disk0_type=3D"nvme" disk0_name=3D"system.img" --------------------------------- # vm start testboot Starting FreeBSD14.2 * found guest in /VM/test * booting... =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D After installing system in partition "BSD label": # vm console test ... nvme0: temperature threshold not supported nvme0: SET_FEATURES (09) sqid:0 cid:9 nsid:0 cdw10:00000008 cdw11:00000000 nvme0: FEATURE NOT CHANGEABLE (01/0e) crd:0 m:0 dnr:0 p:1 sqid:0 cid:9 cdw0= :0 nda0 at nvme0 bus 0 scbus1 target 0 lun 1 nda0: nda0: Serial Number NVME-4-0 nda0: nvme version 1.4 nda0: 40960MB (83886080 512 byte sectors) cd0 at ahcich0 bus 0 scbus0 target 0 lun 0 cd0: Removable CD-ROM SCSI device cd0: Serial Number BHYVE-0FEB-8A5B-3E90 cd0: 600.000MB/s transfers (SATA 3.x, UDMA6, ATAPI 12bytes, PIO 8192bytes) cd0: 1249MB (639668 2048 byte sectors) Loader variables: Manual root filesystem specification: : [options] Mount using filesystem and with the specified (optional) option list. eg. ufs:/dev/da0s1a zfs:zroot/ROOT/default cd9660:/dev/cd0 ro (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /) ? List valid disk boot devices . Yield 1 second (for background tasks) Abort manual input mountroot> ? List of GEOM managed disk devices: iso9660/14_2_RELEASE_AMD64_CD cd0 diskid/DISK-NVME-4-0a ufsid/675e8fff44f37a2ea diskid/DISK-NVME-4-0 ufsid/675e8fff44f37a2e nda0a n= da0 --------------------------------- If I press ENTER result: panic: mountroot: unable to (re-)mount root. cpuid =3D 0 time =3D 9 KDB: stack backtrace: #0 0xffffffff80b8b89d at kdb_backtrace+0x5d #1 0xffffffff80b3dc01 at vpanic+0x131 #2 0xffffffff80b3dac3 at panic+0x43 #3 0xffffffff80c2152c at vfs_mountroot+0x1cac #4 0xffffffff80ac6f83 at start_init+0x23 #5 0xffffffff80af760f at fork_exit+0x7f #6 0xffffffff80ffd3fe at fork_trampoline+0xe Uptime: 9s Automatic reboot in 15 seconds - press a key on the console to abort --------------------------------- If I write ufs:/dev/nda0a after prompt system normal loading. --------------------------------- Guest system: # uname -a FreeBSD test 14.2-RELEASE FreeBSD 14.2-RELEASE releng/14.2-n269506-c8918d6c= 7412 GENERIC amd64 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D --=20 You are receiving this mail because: You are the assignee for the bug.=