/srv/irclogs.ubuntu.com/2014/12/20/#ubuntu-kernel.txt

=== infinity_ is now known as infinity
=== cnd_ is now known as cnd
=== broder_ is now known as broder
=== mukhbiir is now known as neoark
=== beisner- is now known as beisner
=== kees_ is now known as kees
alkisgHi, is the 32bit kernel supposed to be loadable under a 64bit UEFI environment? If so, from what version onwards?19:43
mjg59alkisg: No19:50
mjg59Oh wait19:50
alkisgmjg59: so http://cateee.net/lkddb/web-lkddb/EFI_STUB.html doesn't work under 32 bit?19:51
alkisgI do see the 32bit kernels having that wrapper from 3.4 and after...19:52
alkisgI'm just not sure if it's broken...19:52
mjg59So yeah that will work19:52
mjg59But not if you're just trying to boot it as an EFI executable19:52
mjg5964-bit EFI can't run 32-bit EFI executables19:52
mjg59If you're using grub it *should* work19:52
alkisgWait wait maybe that's why I was having issues19:52
alkisgI tried to load it from ipxe.efi (netbooting)19:52
mjg59Right that definitely won't work19:53
alkisggrub loads it as a bzimage?19:53
mjg59Yes19:53
mjg59But bear in mind that your firmware is free to put UEFI services above 4GB19:53
alkisgSo why the wrapper? At which case it would work? (in 32 bit images)19:53
mjg59In which case a 32-bit kernel is never going to work19:53
mjg59The PE/COFF wrapper will work fine if you have 32-bit firmware19:53
alkisgAh, got it19:53
alkisg(09:53:26 μμ) mjg59: But bear in mind that your firmware is free to put UEFI services above 4GB ==> so it's possible that I won't be able to load a 32bit kernel even with grub (as bzimage), right?19:54
alkisgI mean, if I do have a 64bit uefi system which puts things above 4 gb and then calls grub, which then tries to load my 32bit bzimage kernel...19:55
alkisgThank you :)19:57
mjg59alkisg: You'll jump into the kernel20:02
mjg59But the kernel won't be able to make any UEFI calls20:02
mjg59So various things will be broken20:03
alkisgI was wondering about that... how clever are the 32bit kernels, autodetecting bios/uefi and adjusting their calls automatically...???20:03
mjg59Pretty clever20:03
alkisgCool!!!20:03
alkisgOK, my only question left now is if syslinux.efi is able to load bzimage and not just efi applications... I'll ask that in #syslinux. Thanks again! :)20:04
alkisgAh, no, I have another one:20:08
alkisgIs it possible to boot a 32bit installation with a 64bit kernel?20:09
alkisghttp://askubuntu.com/questions/543658/install-64-bit-kernel-in-32-bit-ubuntu20:10
mjg59That ought to mostly work20:15
=== lifeless_ is now known as lifeless

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!