From nobody Tue Aug 10 07:38:58 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 A070111FEB26 for ; Tue, 10 Aug 2021 07:39:08 +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 4GkPwD495Wz3QL1; Tue, 10 Aug 2021 07:39:08 +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 13097298B2; Tue, 10 Aug 2021 07:39:07 +0000 (UTC) (envelope-from royger@freebsd.org) Date: Tue, 10 Aug 2021 09:38:58 +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> 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: <3839452.BRNeRiNLvY@freebsd_current> X-Spam: Yes X-ThisMailContainsUnwantedMimeParts: N 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, There are a couple of things to look at, first of all, do you have a serial console attached to the box? It seems like you do because you have the serial output options enabled in loader.conf, in which case can you paste the output you get from the serial when booting? Also note that the line: xen_cmdline="dom0_mem=4048M dom0_max_vcpus=4 dom0pvh=1 com1=115200,8n1 guest_loglvl=all loglvl=all" Is wrong unless you are using Xen 4.7. The handbook [0] states that for Xen 4.11 and greater dom0=pvh should be used instead of dom0pvh=1. Also note that the line: hw.pci.mcfg=0 Is not needed unless you are using Xen 4.7. 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. Thanks, Roger. [0] https://docs.freebsd.org/en/books/handbook/virtualization/#virtualization-host-xen