[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: booting 5.10 686-pae kernel on domU



On Sun, 4 Sep 2022, Andy Smith wrote:

Hello,

On Sun, Sep 04, 2022 at 11:07:35AM +0100, Tim Woodall wrote:
Should I be able to boot a 686-pae i686 kernel on a xen domU (bullseye -
but bookworm fails too)

The Linux kernel removed PV mode 32-bit Xen domU support at version
5.9. What type of virtualisation are you using? (show us your domain
config file from /etc/xen)

type=pvh should work. type=pv is not expected to work. I don't know
about type=hvm.

kernel="/usr/lib/grub-xen/grub-i386-xen.bin"
memory=256
name="test17"
type="pvh"
pvshim=1
disk=[ 'script=block-iscsi,vdev=xvda,target=portal=xen17:3260,iqn=iqn.xen17:test17,w',
]
vif=[ 'bridge=xenbr0,mac=00:16:3e:e0:70:50',
]

But you've given me the clue I needed to fix it:
kernel="/usr/lib/grub-xen/grub-i386-xen_pvh.bin"

and remove pvshim=1


Thanks!

Making the domU multiarch and booting it with an amd64 kernel while
retaining the i686 userland should work.

Good idea.

Tim.



Reply to: