From nobody Thu Jun 13 19:50:58 2024 X-Original-To: ports-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 4W0Y1Z5zj8z5PFqT for ; Thu, 13 Jun 2024 19:50:58 +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 4W0Y1Z2Y6Qz3wsT for ; Thu, 13 Jun 2024 19:50:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1718308258; a=rsa-sha256; cv=none; b=DIT5c52Nq/FH6cihtcureFXLiq+05RRWLJlAcaY8mzQcbqIcmZAkWm1RdSKmzgQVZOF4Hk wvk0HnlOE3/Ki7p22i05FBnwrfI8qF6nxw4PWpPJYC9Ry1thkpw3nl2AcpdkTpxi92Ng/G SOQmbjKhqse/zfEzlRU6e4yFpZ+VzSc/PppW6NiU49vnzcm/r/MKsr0Ul+l29gDk5zdMJA OP411uxFvi+Qv+P8m9u4MFZjvx4n6i245k9hCvU25uaYhlcuTJwtQq8BFEqBg9xdtaqUpL j3n4WQlYQC3brTXSZr5AFPxJc30DU4JEMpEe35XRzxPpIj0Cu/A+imUTBOmCiQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718308258; 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=+Q6SlCSjbWyQlVQRowQqRPWEokVPMer5XpXcLLRosHc=; b=lfC66UJonjuwgOcJSFjk8zGqhE8LypmGWz959icOl/JEx/pO+U2pfAmx795OHGHRyNB1/b Az/hytX+HdTmFzF3s7VPDWN70e9RBgitNKx+AR9LZUusv06RcBzLzT8KinOVO63UnabCQf hfpEfzG0ou0yyg+H0Ahn9fxFyQGiIJF5WmCFlOvv27YPa0a2evDZ9zUXGtLGMVFHP4J+TB qXKW2pERuUeqxMKQ+HBcCj9N/C5DQEVlDDRR0/rbuS8clU3qwqexZ8CtkewY0uP4fXIvQL SAbnL3UWbjHHBparFWnCS9XmoqZdb8shvHwJ9eAJ6B7Z6/rmui//MWrMY5CZwQ== 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 4W0Y1Z28pyzqHX for ; Thu, 13 Jun 2024 19:50:58 +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 45DJowTL013167 for ; Thu, 13 Jun 2024 19:50:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 45DJow93013166 for ports-bugs@FreeBSD.org; Thu, 13 Jun 2024 19:50:58 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: ports-bugs@FreeBSD.org Subject: [Bug 279720] virtualization/bhyve: it does not boot from the slot where the parameter bootindex=1 is declared. Date: Thu, 13 Jun 2024 19:50:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marietto2008@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279720 Bug ID: 279720 Summary: virtualization/bhyve: it does not boot from the slot where the parameter bootindex=3D1 is declared. Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: marietto2008@gmail.com Hello to everyone. I want to show you what it seems to be a bug in bhyve. Please evaluate the situation below : /usr/sbin/./bhyve-win -S -c sockets=3D4,cores=3D2,threads=3D1 -m 8G -w -H \ -S -c sockets=3D4,cores=3D2,threads=3D1 -m 8G -w -H \ -s 0,hostbridge \ -s 1,ahci-hd,/mnt/$vmdisk0'p2'/bhyve/img/Windows/Windows11.img,bootindex=3D= 1 \ -s 2,ahci-hd,/dev/$vmdisk5 \ -s 8:0,passthru,2/0/0 \ -s 8:1,passthru,2/0/1 \ -s 8:2,passthru,2/0/2 \ -s 8:3,passthru,2/0/3 \ -s 13,virtio-net,tap18 \ -s 29,fbuf,tcp=3D0.0.0.0:5918,w=3D1600,h=3D950,wait \ -s 30,xhci,tablet \ -s 31,lpc \ -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI_CODE.fd \ vm0:18 < /dev/null & sleep 2 && vncviewer 0:18 as you can see I have attached all the slots of my GPU. Infact my Nvidia GPU has 4 slots : 02:00.0 VGA compatible controller: NVIDIA Corporation TU102 [GeForce RTX 20= 80 Ti] (rev a1) 02:00.1 Audio device: NVIDIA Corporation TU102 High Definition Audio Contro= ller (rev a1) 02:00.2 USB controller: NVIDIA Corporation TU102 USB 3.1 Host Controller (r= ev a1) 02:00.3 Serial bus controller: NVIDIA Corporation TU102 USB Type-C UCSI Controller (rev a1) As you can see my GPU has one USB controller and one USB port mini integrat= ed with the controller. Well,I attached a pen drive on the port of the USB controller and then I tried to boot the Windows 11 vm. What's happened ? that,despite I have declared that I want boot the Windows11 vm at slot 1 by adding the parameter bootindex=3D1,instead,it booted from the USB stick att= ached to the mini USB port of the USB controller (yes because on that USB stick I have installed Windows 7,so it can boot). This seems to be a bug,because it does not do what I want. And it is easy to reproduce. Just put bootindex=3D= 1 to every OS that you want to boot and then attach a bootable USB stick to the = usb port of the GPU (it should be recent,it should be a GPU with the USB contro= ller integrated,but the latest high quality GPU models have it),and just run the bhyve VM and you will see that it will not boot the OS you want. --=20 You are receiving this mail because: You are the assignee for the bug.=