clearlinux / distribution

Placeholder repository to allow filing of general bugs/issues/etc against the Clear Linux OS for Intel Architecture linux distribution
519 stars 28 forks source link

Xen DomU Support #237

Open imswynne opened 5 years ago

imswynne commented 5 years ago

I need a Clear Linux kernel that has support for running as a Xen DomU so that PV drivers work correctly. Clear Linux kernel bundles that I have observed so far only appear to support KVM or native use.

Please create a bundle with a kernel that has the options enabled per Xen documentation for DomU usage. See https://wiki.xenproject.org/wiki/Mainline_Linux_Kernel_Configs

ahkok commented 5 years ago

Try the AWS images.

https://github.com/clearlinux-pkgs/linux-aws/blob/master/config#L458

imswynne commented 5 years ago

On an Oracle VM Server packaged Xen 4.4.4, I get the following after installing the kernel-aws and attempting to boot from the aws kernel:

image

Then it drops me to the EFI shell.

ahkok commented 5 years ago

Didn't realize this was about Oracle VM Server. Reopening.

ahkok commented 5 years ago

The AWS kernels are non-UEFI, which explain the error. You're booting in UEFI mode, perhaps?

imswynne commented 5 years ago

That would have saved me a lot of work had I known it existed. I was lead to believe that Clear Linux was UEFI-only. I had to modify the stack I am working with to support UEFI. I've reverted back, but what is the procedure to get Clear Linux to boot from a non-UEFI kernel? Simply changing the instance to use BIOS instead of OVMF does not seem to do the trick.

ahkok commented 5 years ago

I would start with the AWS image, but maybe some of the others also may work. See for instance:

https://download.clearlinux.org/releases/25690/clear/

It's a bit hard to understand your problem. Are you trying to switch an existing install over, or just get any of our default images to boot?