From nobody Wed Jan 29 13:36:18 2025 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 4YjjqB3j9Vz5mltm for ; Wed, 29 Jan 2025 13:36:22 +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 4YjjqB2pdzz3DFc for ; Wed, 29 Jan 2025 13:36:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738157782; 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: in-reply-to:in-reply-to:references:references; bh=fJoAL4U4ASAODs/fx+k4pSAVAasy3TM3ElOl7O7fZIY=; b=jQZkpcGagWTXUg0YRPzgs2dialW/68UOVkCW6dBZIYWdsXWqBo+DySinDkigCMq6XBfX1G xln4B9vJPJ6TuG5Luf8+DV+Nd4Dus8D9JlHdWmRFaKlORlXnOkmzdb3Hp3SvSkbS6MKzrZ BL60snVDs7NlfLeQPOqmqueoEPJkF8h0m++oKKrKTgLN6qVGRiqnFMjB2y2RYpQZDfdZvJ ZmqHER6EcOLFXf23V8dGTu+Me/cEBXMW//MZRcujaomyUXKfJ1Jh8alaLXYszvEkJUA+Wl N8qwVeo61m35tzCLjet4CqoUr/uzMP51eqyBBkwBpM2+30tU+9q+pm3g0MUEvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1738157782; 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: in-reply-to:in-reply-to:references:references; bh=fJoAL4U4ASAODs/fx+k4pSAVAasy3TM3ElOl7O7fZIY=; b=ehPbCGikEewE4qRh1v7E362tptKEM00899r0etpv9168lq0OsR+I4Jg56LXZMd+68rMKQU 0Kvb/XwnoRIgiFk4vjy2OLzi1wPBQl8xnlkPzoA8vWWupB8Vtdpd9aq9bg/3bkwp8XjE4O Ez7ycmBwKo+XrcbQfzTla0Erri0bDZ188a15ZEFmTy742mkVFoTe27T9X2UCwivO/lQd/d 0HVx72oO5+FyD4ayZOahVXUzuASr3in2uBw6TK3YmKRyeegVHnEgsMwjFqyCWFUnJevpJR i4jOPVE9t2eQ9lDg9KOhPyzFB/3+Iz92tyu5jRpMwh+OqIMiDgHowHAD8hNz2g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1738157782; a=rsa-sha256; cv=none; b=RQbnHSIkteOqw9WrKYNJttirDcq6JiyJNSzNBpCKGp/Z/ISdx9XvaCwx7E4GByMzCUMmSf Rhel8JC55NSOgvf96p5DZosKW4SOmAXKmZaIQRLDnBIRTHloQ9ffz7VJqosp2eEDbxvrzv 1UrWio7+eJiZuKQky19ksQDKu/qxecETtddiQus8cuRRHRFVZ6TllyiJJxUk7PyKeO5l57 JDD6yqWe9ViP5aN58KZuR6hIrdZE3601dcGWQKRdFvSPgJAQzzTodI/NxxVdPOTvNoEzyJ xZe5HYiHmI3NHAzMwUL+eBkx6wAKhlmdrf4VourWnDiPJF30W2dP+taT5iFplQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4YjjqB1k2vz1317 for ; Wed, 29 Jan 2025 13:36:22 +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 50TDaM5Y038861 for ; Wed, 29 Jan 2025 13:36:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50TDaMvi038859 for virtualization@FreeBSD.org; Wed, 29 Jan 2025 13:36:22 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 284431] Bhyve Fails to Boot/Run Tails Linux Date: Wed, 29 Jan 2025 13:36:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 14.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: henrik@gulbra.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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=3D284431 Henrik Gulbrandsen changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |henrik@gulbra.net --- Comment #2 from Henrik Gulbrandsen --- I am not sure about the image file you are booting from here, but I think I= can shed some light on the ISO trouble mentioned in the vm-bhyve bug report. Major Linux distros have support for booting from either UEFI or legacy BIO= S: $ xorriso -indev debian-live-12.9.0-amd64-gnome.iso \ -report_el_torito plain 2> /dev/null | grep "El Torito" El Torito catalog : 1700 1 El Torito cat path : /isolinux/boot.cat El Torito images : N Pltf B Emul Ld_seg Hdpt Ldsiz LBA El Torito boot img : 1 BIOS y none 0x0000 0x00 4 4085 El Torito boot img : 2 UEFI y none 0x0000 0x00 9536 1701 El Torito img path : 1 /isolinux/isolinux.bin El Torito img opts : 1 boot-info-table isohybrid-suitable El Torito img path : 2 /boot/grub/efi.img Tails, however, only includes the BIOS boot image: $ xorriso -indev tails-amd64-6.11.iso \ -report_el_torito plain 2> /dev/null | grep "El Torito" El Torito catalog : 101 1 El Torito cat path : /isolinux/boot.cat El Torito images : N Pltf B Emul Ld_seg Hdpt Ldsiz LBA El Torito boot img : 1 BIOS y none 0x0000 0x00 4 102 El Torito img path : 1 /isolinux/isolinux.bin El Torito img opts : 1 boot-info-table isohybrid-suitable If I remember correctly, there is a fallback option for reading the UEFI bo= ot image from the filesystem, but that will not always be supported. Bhyve will try to boot in BIOS mode. Unfortunately, the BIOS support in bhyve is very limited (read: does not work), especially when it comes to emulated graphics support. This failure to boot a Tails ISO is actually why I wrote a Video BIOS for b= hyve back in 2019. Nobody volunteered to review and integrate those patches, and= I did not want to maintain them indefinitely in a separate repo, so I am afra= id that it could take a lot of work to fix them for FreeBSD 14. Maybe this can be seen as a Tails bug, but bhyve has two different ways to = boot from an ISO file like this, and both of them apparently still fail. --=20 You are receiving this mail because: You are the assignee for the bug.=