Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Oct 2021 15:55:45 +0200
From:      Roger Pau =?utf-8?B?TW9ubsOp?= <royger@freebsd.org>
To:        "Lizbeth Mutterhunt, Ph.D" <lizbethmutterhunt@gmail.com>
Cc:        freebsd-xen@freebsd.org
Subject:   Re: another xen-kernel UEFI story
Message-ID:  <YXLC4Xb2abd7ztr9@MacBook-Air-de-Roger.local>
In-Reply-To: <963984F2-DC4C-4ADB-AFD4-0ADE8724F75B@gmail.com>
References:  <3839452.BRNeRiNLvY@freebsd_current> <YRItEsEb/IaXqE9V@Air-de-Roger> <CAPPf1PFgOTpuibYQt47oUf2E6my0pvC42cB8k4cd5Qb9DO6hfA@mail.gmail.com> <YXJharmD2BvgVSRU@MacBook-Air-de-Roger.local> <963984F2-DC4C-4ADB-AFD4-0ADE8724F75B@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 22, 2021 at 11:53:59AM +0200, Lizbeth Mutterhunt, Ph.D wrote:
> This wasn’t it; still the same: preempt and stuck!
> 
> Lizbeth
> 
> > On 22 Oct 2021, at 08:59, Roger Pau Monné <royger@freebsd.org> wrote:
> > 
> > On Thu, Oct 21, 2021 at 10:48:57PM +0200, Lizbeth Mutterhunt, Ph.D wrote:
> >> /boot/loader.conf:
> >> cuse_load="YES"
> >> kernel_load="YES"
> >> vfs.root.mountfrom="ufs:ada1p6"
> >> #beastie_disable="YES"
> >> hint.hwpstate_intel.0.disabled="1"
> >> set vfs.root.mountfrom.options="rw"
> >> if_bridge_load="YES"
> >> debug.hwpstate_verbose="1"
> >> if_tap_load="YES"
> >> fusefs_load="YES"
> >> xen_kernel="/boot/xen"
> >> xen_cmdline="dom0_mem=4048M dom0_max_vcpus=4 dom0=pvh1 com1=115200,8n1
> >> guest_loglvl=all loglvl=all"
> >> boot_multicons="YES"
> >> boot_serial="YES"
> >> comconsole_speed="9600"
> >> console="comconsole,efi" *[not accepting any vidconsole]*
> >> boot_verbose="YES"
> >> vga=current
> >> bitmap_name="/boot/splash"
> >> net.link.bridge.inherit_mac=1
> >> snd_driver_load="YES"
> >> kern.racct.enable=1
> >> compat.linuxkpi.i915_disable_power_well="0"
> >> 
> >> Thanks, Roger.
> >>> 
> >> So far, so good, what do you think? will we get this thing to work?
> > 
> > Your xen_cmdline is slightly wrong, it should be:
> > 
> > xen_cmdline="dom0_mem=4048M dom0_max_vcpus=4 dom0=pvh com1=9600,8n1 guest_loglvl=all loglvl=all"
> > 
> > Note it's dom0=pvh, not pvh1. And the speed of the serial console
> > needs to be adjusted to match the one you are using (9600), or you
> > won't see any output.
> > 
> > Also make sure the line is not split by your editor, or else it won't
> > be parsed correctly.

Let's try with a slightly simpler loader.conf then, just to see if we
can get some output from Xen:

xen_kernel="/boot/xen"
xen_cmdline="dom0_mem=4048M dom0=pvh com1=9600,8n1 console=com1,vga"
boot_multicons="YES"
boot_serial="YES"
comconsole_speed="9600"
console="comconsole,efi"
vfs.root.mountfrom="ufs:ada1p6"

Can you paste all the output you get on the serial when using this
loader.conf?

Thanks, Roger.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YXLC4Xb2abd7ztr9>