-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wed, 4 Mar 2015 10:18:28 +0000 "Richard W.M. Jones" <rjones@redhat.com> wrote:
On Tue, Mar 03, 2015 at 07:37:47PM -0600, Dennis Gilmore wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Hi all,
I was testing oz/imagefactory on 32 bit arm, you have to have kernel-lpae installed to run kvm. while you can have the regular kernel installed also. You end up having the system booting the regular kernel and you do not get kvm. Ideally supermin will work with the lpae kernel. https://github.com/libguestfs/supermin/blob/master/src/kernel.ml#L112 explictly removes it.
This check was added in the following commit:
commit dc3e43babd76883df0493b57d563ca3b69e2662c Author: Richard W.M. Jones <rjones@redhat.com> Date: Thu Aug 1 11:49:15 2013 +0100
helper: On arm, don't choose a .lpae or .tegra kernel.
The vexpress-aX emulation we are using in qemu doesn't support these kernels.
The concern was that the lpae kernels don't boot under qemu. If they do, then I can remove this check.
Can you see if supermin works if you set some variation of:
export SUPERMIN_KERNEL=/boot/vmlinuz-<version>.lpae export SUPERMIN_KERNEL_VERSION=<version> export SUPERMIN_MODULES=/lib/modules/<version>.lpae
which should bypass the check.
You might also need to set SUPERMIN_DTB to point to a DTB, or maybe not if qemu is generating device trees correctly on ARM 32 bit these days.
Roll on aarch64 :-)
Rich.
It worked just fine. I did not need to use a different dtb, the tegra kernel is gone now. Dennis -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJU97KoAAoJEH7ltONmPFDRfeAP/ReOmwFaixDIS/tgLHLBvQ7i pga/hO3kFp/AxTQs5s4U7qUfBLGSb7RuzBNmPnMCNFHEOG3wzjK2Jqm+OqXFBGol 9fWvY7TdyMwRtfh8Ks6BVNjgTl3dIkjxv8f6dkqPiW85temvL2u8ZYBRwqyv5uKr alXUNTKi6mnahwUCrV1VK39OudjDtXtUBwRPm50LDAEX8qa7NoK/mAg2Ux7EtHk7 DaJZirb3iFCDL3aY7dDO2WZMb8v1uVugXRyWymYRxoJqjfyf9ZS+rAXVXfDVZfNV 3K443/PRFvr93LGH+bZKS63NTgl4L6xiwhgLNjxk1xmZEU6cmHv9JVUEnt3t5ELg 6PV8jo6Ib3GLZ2MWLKIWaevzfcBIt3pWY4/nx+2zc9RmQDsCLI1JM1U8Eq0k2oGO PnfpiAuiGfHOg/CAKXf+ThJmnDl9E4Fhwu1sfJX2DJfN38AskLuNd6M55HQ5yS0A q+xWkDWfCHd8/Of4M+eMCUqfxKjk4qLuqoDi0bz8wPRRF6BdY798i+pFC/eQoXnl m0WDE5ioDhfVTOiYX/rChG2SShj0s7PJVobFMZhptvXGosQyMvUsFf5DDMo2jAXX PjAHDf/U+VloVdzsWjqiZ9klcSQ6MdF/og75i7VyQwwYQqLw+CZJWCRcVjwlUJ9e OKEwVHM5JBpdsK9RZ1XY =SIDZ -----END PGP SIGNATURE-----