From nobody Sun Jul 28 18:30:27 2024 X-Original-To: virtualization@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 4WX95v2yLrz5RQ8b for ; Sun, 28 Jul 2024 18:30:27 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WX95v0wJRz3ypZ for ; Sun, 28 Jul 2024 18:30:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722191427; a=rsa-sha256; cv=none; b=kdP/gH9OnSwKFfKNCR77IkoKtrduzSAP9tnjbz99Zk9/x4TXTOLBFuhLzIV4b6dNk747iW +Z75FdaHH3FHIzBBnN7wvpuR3T8BpuH/2K1WccHqDBuKEQVoNrmdaXQqm0eUBly2k3DObC PDFxO9cMvPSQ8bWDBQ5/NG9u02EjMiMAcIrbZdQ7ro4R04GL8B8vDZE7oB1q3IPTpp6rlf AecxAx3tTEcR9AOP4eHaaUsgsgz+4J4unfHYA6pM29INPmYVW00N2ryP4cj/bj7T3L0S+S Q6GfcwAvfvPlj2AF65Nex5jCZrtRDfPT0829GB/uQ3HGtHXV0ElSTRFLNLYgEA== 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=1722191427; 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=0XB7TXWtE/2Dh5G89lbSZdDjLjoEUUnwX7wOJz+2fQI=; b=DhSBdlR3z+DgjFbOKZxztynsh6zSuxFtOYeVivEWr4fM+PJP087PsbUCNbtUVFAX8oLhh2 BE/n4VugQrGWIMTFyA0l548W4G6sHDDoVLbpmSKI4vOjzDunMHl/2G07qlvU7ofIooaVAQ qV1/wds6teWgwl9fuq2Wx+7ObXqbseT+Wb2F82MfAPGrpD+znL8dlXS9gyjHEaA2sxfhmy kFSZ9gntDeyVOlCz+OfQjgKvyVLH9th78Z43GoBOpho2ciqmXTkzQVn1SuR5sHA6QRNMcz 4/ivaYKm+kX0hrXyc3AZuu04k1wnhETVF+6SnHYFx+1RDhejZVyuXv5SC9QzQA== 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 4WX95v0WQkz120R for ; Sun, 28 Jul 2024 18:30:27 +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 46SIUQB5058613 for ; Sun, 28 Jul 2024 18:30:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 46SIUQVT058612 for virtualization@FreeBSD.org; Sun, 28 Jul 2024 18:30:26 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: virtualization@FreeBSD.org Subject: [Bug 280481] virtualization/bhyve: When bhyve virtualizes Linux Ubuntu,the Raspberry PI Imager does not recognizes any USB stick / sd card Date: Sun, 28 Jul 2024 18:30:27 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: Unspecified 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: virtualization@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: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D280481 Bug ID: 280481 Summary: virtualization/bhyve: When bhyve virtualizes Linux Ubuntu,the Raspberry PI Imager does not recognizes any USB stick / sd card Product: Base System Version: Unspecified Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: bhyve Assignee: virtualization@FreeBSD.org Reporter: marietto2008@gmail.com Created attachment 252338 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D252338&action= =3Dedit raspberry pi imager frozen when it should recognize the sd card passed thru bhyve. Hello. I'm running Ubuntu 24.04 virtualized with bhyve using these parameters : /usr/sbin/./bhyve-lin -S -c sockets=3D2,cores=3D2,threads=3D2 -m 8G -w -H -= A \ -s 0,hostbridge \ -s 1,ahci-hd,/mnt/$vmdisk4'p2'/bhyve/img/Linux/Ubuntu-2404-Android.img,bootind= ex=3D1 \ -s 2,ahci-hd,/dev/$vmdisk15 \ -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 11,hda,play=3D/dev/dsp,rec=3D/dev/dsp \ -s 13,virtio-net,tap9 \ -s 14,virtio-9p,sharename=3D/ \ -s 29,fbuf,tcp=3D0.0.0.0:5909,w=3D1600,h=3D950,wait \ -s 30,xhci,tablet \ -s 31,lpc \ -l bootrom,/usr/local/share/uefi-firmware/BHYVE_UEFI_CODE.fd \ vm0:9 < /dev/null & sleep 2 && vncviewer 0:9 Where /dev/$vmdisk15 is : Disk /dev/sdb: 953,68 GiB, 1024005767168 bytes, 2000011264 sectors Disk model: BHYVE SATA DISK=20 Units: sectors of 1 * 512 =3D 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: gpt Disk identifier: E0E79E7B-DC41-4DD7-9B8C-62B075FAF126 Dispositivo Start Fine Settori Size Tipo /dev/sdb1 2048 34815 32768 16M ChromeOS kernel /dev/sdb2 34816 67583 32768 16M ChromeOS kernel /dev/sdb3 67584 1116159 1048576 512M Linux filesystem /dev/sdb4 1116160 2000009215 1998893056 953,1G Linux filesystem My intention was to write the Lineage OS to the sd card using the Raspberry= PI Imager,without to rebooting and without using Linux natively. Well,it is not able to detect my sd card (that I have placed inside my SD card TO USB adapter). The images below shows that the sd card passed through bhyve is not recogni= zed by the RaspBerry Pi Imager,that freezes. What can I do to unfreezes it ? Let us know,thanks. --=20 You are receiving this mail because: You are the assignee for the bug.=