From nobody Mon Jun 10 22:08:41 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 4VymCs4P0Bz5N0mg for ; Mon, 10 Jun 2024 22:08:41 +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 4VymCs2Lyzz4RS9 for ; Mon, 10 Jun 2024 22:08:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1718057321; a=rsa-sha256; cv=none; b=e1Udi8AHKK3MymqIdwESc4UhRXyBiUiw7psJQ7QlbwbL5aQfY7eGcv+YOPC1hxw/N7ns78 mkhadXKeWEYhGsli62Ni9GuLJ0ZR+lp2cRGXt3LDxxOhFas0NFMTNlPK/cDnvqU0M0GGLf beLtp1WbzxSLYDaFOMKIdMqezH0s86n6BUef7dhW3cXbveRaKXRuyrb9RDjCbAZbhb5mRh wnNfczwVun5QJLojT0LUfd+dJOAuNDnfeYHmC62cUhIfUkZf9EXPJcHSuxSFGggZFAh72M 4/XZuGn0kSpJjcDtHuxdRx+mRwy8jirNgtxvzY2XnYOfGXLGCLgXZkgcekvo5Q== 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=1718057321; 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=NDqy6i4D0MBknF2g8LJkgAQKG3p+tA1wJogMmsW3eus=; b=av+hlen14UBAsSPsEDl0AxTToe/245+EQE+GZilbvN5mqE9a+myoDjWpUYHKxg7yvKuZ72 PB72PzxBAlHKc4JabKrb65W8VxgwOlSD42/xfkQUIidIHwzbmlDuwzXPJBU9cgRa6tFAVH kH+ev2pUGePCbSpidAs+yoGKmMZz9VDRlfMKxjGBNvsmP4pqTNBZVvttov+Z/64NU7sE4o eieylRTyuTHTsd5zcUn/hbExiUNIgv1m/g39Rdm4GJ+aqsFcS3bVol9GDQZTbrf7HCbUKw S1e/YMnRDZT9g1iQ50P8dm9qUN6o4DoETZkCv+lWosLsOaGwVsgOHXB6/4Vm1g== 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 4VymCs1yPSzjbJ for ; Mon, 10 Jun 2024 22:08:41 +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 45AM8fXS081984 for ; Mon, 10 Jun 2024 22:08:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 45AM8fY9081983 for ports-bugs@FreeBSD.org; Mon, 10 Jun 2024 22:08:41 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 279659] virtualization/bhyve: When bhyve virtualizes Windows 10/11 Rufus does not recognizes any USB sticks Date: Mon, 10 Jun 2024 22:08:41 +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 Many People 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 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: 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=3D279659 Bug ID: 279659 Summary: virtualization/bhyve: When bhyve virtualizes Windows 10/11 Rufus does not recognizes any USB sticks Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: marietto2008@gmail.com Created attachment 251370 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D251370&action= =3Dedit The images below shows that the USB stick is not recognized by Rufus. Hello. I'm running Windows 11 virtualized with bhyve using these parameters : bhyve -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/da2 \ -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 Where /dev/da2 is : Geom name: da2 Providers: 1. Name: da2 Mediasize: 16053960192 (15G) Sectorsize: 512 Mode: r0w0e0 descr: SanDisk Cruzer ident: 0774911DDC4200A6 rotationrate: unknown fwsectors: 63 fwheads: 255 my intention was to create an USB drive with Rufus. Well,it is not able to detect my USB stick : I have a SanDisk Cruzer. The images below shows that it is not recognized and even the log registry. https://ibb.co/vHSbHQN https://ibb.co/0FYCBfs I've contacted the developer of Rufus,who said : Most likely, the FreeBSB folks did not emulate a full USB stack in their virtualization platform, so they probably use a custom driver to present the USB drive as a non-USB disk to Windows, in which case,Rufus will obviously = not detect it. Unfortunately, while I may do so for a *limited* set of virtual platforms (= i.e. the most popular ones out there), I just can't go around trying every virtualization software out there to figure out what kind of non-USB driver= a virtualization platform uses to present USB drives to Windows. I did add VM= DK (VMWARE) and VHD (Hyper-V) support to Rufus in the past, but I am not going= to go out of my way for BSD. I may however accept a patch... Would someone give more information why this problem occurs ? thanks. --=20 You are receiving this mail because: You are the assignee for the bug.=