From nobody Tue Aug 10 13:32:45 2021 X-Original-To: freebsd-xen@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 EE0341754BC8 for ; Tue, 10 Aug 2021 13:32:53 +0000 (UTC) (envelope-from royger@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GkYmP6TFdz4cbc; Tue, 10 Aug 2021 13:32:53 +0000 (UTC) (envelope-from royger@freebsd.org) Received: from localhost (unknown [93.176.187.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: royger) by smtp.freebsd.org (Postfix) with ESMTPSA id 6E6032C77D; Tue, 10 Aug 2021 13:32:53 +0000 (UTC) (envelope-from royger@freebsd.org) Date: Tue, 10 Aug 2021 15:32:45 +0200 From: Roger Pau =?utf-8?B?TW9ubsOp?= To: lizbethmutterhunt@gmail.com Cc: freebsd-xen@freebsd.org Subject: Re: another xen-kernel UEFI story Message-ID: References: <3839452.BRNeRiNLvY@freebsd_current> <3837161.BRNeRiNLvY@freebsd_current> List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-xen List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-xen@freebsd.org X-BeenThere: freebsd-xen@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <3837161.BRNeRiNLvY@freebsd_current> X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N On Tue, Aug 10, 2021 at 02:41:34PM +0200, lizbethmutterhunt@gmail.com wrote: > Op Tuesday, 10 August 2021 09:38:58 CEST schreef u: > > On Mon, Aug 09, 2021 at 05:23:27PM +0200, lizbethmutterhunt@gmail.com wrote: > > > could someone pleas check this link: > > > https://forums.freebsd.org/threads/xen-kernel-doesnt-start-at-all.81556/ > > > > > > does anyone has another idea then duplicating CURRENT and RELEASE via > > > Virtualbox or qemu? > > > > > > XEN simply doesn't boot after setting xen_kernel on in /boot/loader.conf, > > > we tried different ways but none worked. It's loading [text], [data], > > > [syms] and the preconfig but afterwards there's just the reset-button > > > option, because XEN doesn't boot. > > > > > > any help appreciated! > > > > Hello, > hello royger! > > > There are a couple of things to look at, first of all, do you have a > > serial console attached to the box? > I guess so, because there are two possibilities to start from via primary and > secodary console! The serial console is a port (usually a RS-232) on your box that you attach a cable to and connect to another computer, so you can get early text debug output: https://www.computerhope.com/jargon/s/serial-console.htm https://tldp.org/HOWTO/Remote-Serial-Console-HOWTO/intro-why.html There also some boxes that have a virtual serial console like Intel AMT Serial Over LAN: https://en.wikipedia.org/wiki/Intel_Active_Management_Technology If you can setup one of those it would be handy in figuring it what's wrong, since the serial is initialized way before than the VGA adapter and could contain a message detailing what went wrong. > > If you don't have a serial console, and the above doesn't fix your > > issue I would recommend that you switch to plain UEFI booting (ie: no > > BIOS CSM), install FreeBSD 14 (current) and then try to boot Xen with > > UEFI. FreeBSD 14 should have support for booting Xen from UEFI without > > the need of the BIOS CSM mode. > switched in BIOS to plain UEFI mode (auto) but still no difference. > > making my virtual machine with release (works with 14-CURRENT, too!). But what > to do with the hypervisor on an virtual machine; making machines in machines? You can indeed boot Xen inside of QEMU, but in order to boot a FreeBSD dom0 you will need to enable nested virtualization and a virtual IOMMU. Regards, Roger.