[opensuse-kernel] CONFIG_EFI_MIXED (x86_64 kernel vs. 32-bit UEFI)
Current openSUSE kernels have CONFIG_EFI_MIXED (support for 32-bit UEFI in x86_64 kernel) disabled. This was set when the option was introduced in 3.15 with comment "do we use a bootloader that can support it?" However, while grub2 can boot x86_64 kernel under 32-bit UEFI even without CONFIG_EFI_MIXED, the option is needed for kernel to access efivars (needed for efibootmgr and therefore grub2-install) and UEFI services. So I would like to suggest enabling CONFIG_EFI_MIXED; it's only available on x86_64 but I'm not sure which flavours: default, desktop, debug and vanilla should have it, xen and ec2 can't; I'm not sure about pv: would support for EFI mixed mode make any sense there? Michal Kubeček -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On Thu, 16 Jul 2015 14:33:10 +0200, Michal Kubecek wrote:
Current openSUSE kernels have CONFIG_EFI_MIXED (support for 32-bit UEFI in x86_64 kernel) disabled. This was set when the option was introduced in 3.15 with comment "do we use a bootloader that can support it?"
However, while grub2 can boot x86_64 kernel under 32-bit UEFI even without CONFIG_EFI_MIXED, the option is needed for kernel to access efivars (needed for efibootmgr and therefore grub2-install) and UEFI services.
So I would like to suggest enabling CONFIG_EFI_MIXED; it's only available on x86_64 but I'm not sure which flavours: default, desktop, debug and vanilla should have it, xen and ec2 can't; I'm not sure about pv: would support for EFI mixed mode make any sense there?
This was already requested in bug 935027. Joey, any progress on this? Takashi -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
Hi, On Thu, Jul 16, 2015 at 02:47:51PM +0200, Takashi Iwai wrote:
On Thu, 16 Jul 2015 14:33:10 +0200, Michal Kubecek wrote:
Current openSUSE kernels have CONFIG_EFI_MIXED (support for 32-bit UEFI in x86_64 kernel) disabled. This was set when the option was introduced in 3.15 with comment "do we use a bootloader that can support it?"
However, while grub2 can boot x86_64 kernel under 32-bit UEFI even without CONFIG_EFI_MIXED, the option is needed for kernel to access efivars (needed for efibootmgr and therefore grub2-install) and UEFI services.
So I would like to suggest enabling CONFIG_EFI_MIXED; it's only available on x86_64 but I'm not sure which flavours: default, desktop, debug and vanilla should have it, xen and ec2 can't; I'm not sure about pv: would support for EFI mixed mode make any sense there?
This was already requested in bug 935027.
Joey, any progress on this?
Takashi
Gary adds comment#4 on bsc#935027 for shim doesn't support 32-bit. So, it needs disable secure boot in BIOS, then using grub2 but no shim. Regards Joey Lee -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On Tue, 28 Jul 2015 12:03:24 +0200, joeyli wrote:
Hi,
On Thu, Jul 16, 2015 at 02:47:51PM +0200, Takashi Iwai wrote:
On Thu, 16 Jul 2015 14:33:10 +0200, Michal Kubecek wrote:
Current openSUSE kernels have CONFIG_EFI_MIXED (support for 32-bit UEFI in x86_64 kernel) disabled. This was set when the option was introduced in 3.15 with comment "do we use a bootloader that can support it?"
However, while grub2 can boot x86_64 kernel under 32-bit UEFI even without CONFIG_EFI_MIXED, the option is needed for kernel to access efivars (needed for efibootmgr and therefore grub2-install) and UEFI services.
So I would like to suggest enabling CONFIG_EFI_MIXED; it's only available on x86_64 but I'm not sure which flavours: default, desktop, debug and vanilla should have it, xen and ec2 can't; I'm not sure about pv: would support for EFI mixed mode make any sense there?
This was already requested in bug 935027.
Joey, any progress on this?
Takashi
Gary adds comment#4 on bsc#935027 for shim doesn't support 32-bit. So, it needs disable secure boot in BIOS, then using grub2 but no shim.
But it doesn't mean that we need to disable that *kernel* config, right? Takashi -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On Tue, Jul 28, 2015 at 12:13:45PM +0200, Takashi Iwai wrote:
On Tue, 28 Jul 2015 12:03:24 +0200, joeyli wrote:
Hi,
On Thu, Jul 16, 2015 at 02:47:51PM +0200, Takashi Iwai wrote:
On Thu, 16 Jul 2015 14:33:10 +0200, Michal Kubecek wrote:
Current openSUSE kernels have CONFIG_EFI_MIXED (support for 32-bit UEFI in x86_64 kernel) disabled. This was set when the option was introduced in 3.15 with comment "do we use a bootloader that can support it?"
However, while grub2 can boot x86_64 kernel under 32-bit UEFI even without CONFIG_EFI_MIXED, the option is needed for kernel to access efivars (needed for efibootmgr and therefore grub2-install) and UEFI services.
So I would like to suggest enabling CONFIG_EFI_MIXED; it's only available on x86_64 but I'm not sure which flavours: default, desktop, debug and vanilla should have it, xen and ec2 can't; I'm not sure about pv: would support for EFI mixed mode make any sense there?
This was already requested in bug 935027.
Joey, any progress on this?
Takashi
Gary adds comment#4 on bsc#935027 for shim doesn't support 32-bit. So, it needs disable secure boot in BIOS, then using grub2 but no shim.
But it doesn't mean that we need to disable that *kernel* config, right?
Takashi
Yes, I will enable CONFIG_EFI_MIXED. Joey Lee -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On Tue, Jul 28, 2015 at 06:29:32PM +0800, joeyli wrote:
On Tue, Jul 28, 2015 at 12:13:45PM +0200, Takashi Iwai wrote:
On Tue, 28 Jul 2015 12:03:24 +0200, joeyli wrote:
Hi,
On Thu, Jul 16, 2015 at 02:47:51PM +0200, Takashi Iwai wrote:
On Thu, 16 Jul 2015 14:33:10 +0200, Michal Kubecek wrote:
Current openSUSE kernels have CONFIG_EFI_MIXED (support for 32-bit UEFI in x86_64 kernel) disabled. This was set when the option was introduced in 3.15 with comment "do we use a bootloader that can support it?"
However, while grub2 can boot x86_64 kernel under 32-bit UEFI even without CONFIG_EFI_MIXED, the option is needed for kernel to access efivars (needed for efibootmgr and therefore grub2-install) and UEFI services.
So I would like to suggest enabling CONFIG_EFI_MIXED; it's only available on x86_64 but I'm not sure which flavours: default, desktop, debug and vanilla should have it, xen and ec2 can't; I'm not sure about pv: would support for EFI mixed mode make any sense there?
This was already requested in bug 935027.
Joey, any progress on this?
Takashi
Gary adds comment#4 on bsc#935027 for shim doesn't support 32-bit. So, it needs disable secure boot in BIOS, then using grub2 but no shim.
But it doesn't mean that we need to disable that *kernel* config, right?
Takashi
Yes, I will enable CONFIG_EFI_MIXED.
I already did so in master branch yesterday. We may want that in stable as well so that it gets into openSUSE Leap but I'm not sure how (or if) config changes are propagated from master to stable. Michal Kubeček -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On Tue, 28 Jul 2015 12:47:46 +0200, Michal Kubecek wrote:
On Tue, Jul 28, 2015 at 06:29:32PM +0800, joeyli wrote:
On Tue, Jul 28, 2015 at 12:13:45PM +0200, Takashi Iwai wrote:
On Tue, 28 Jul 2015 12:03:24 +0200, joeyli wrote:
Hi,
On Thu, Jul 16, 2015 at 02:47:51PM +0200, Takashi Iwai wrote:
On Thu, 16 Jul 2015 14:33:10 +0200, Michal Kubecek wrote:
Current openSUSE kernels have CONFIG_EFI_MIXED (support for 32-bit UEFI in x86_64 kernel) disabled. This was set when the option was introduced in 3.15 with comment "do we use a bootloader that can support it?"
However, while grub2 can boot x86_64 kernel under 32-bit UEFI even without CONFIG_EFI_MIXED, the option is needed for kernel to access efivars (needed for efibootmgr and therefore grub2-install) and UEFI services.
So I would like to suggest enabling CONFIG_EFI_MIXED; it's only available on x86_64 but I'm not sure which flavours: default, desktop, debug and vanilla should have it, xen and ec2 can't; I'm not sure about pv: would support for EFI mixed mode make any sense there?
This was already requested in bug 935027.
Joey, any progress on this?
Takashi
Gary adds comment#4 on bsc#935027 for shim doesn't support 32-bit. So, it needs disable secure boot in BIOS, then using grub2 but no shim.
But it doesn't mean that we need to disable that *kernel* config, right?
Takashi
Yes, I will enable CONFIG_EFI_MIXED.
I already did so in master branch yesterday. We may want that in stable as well so that it gets into openSUSE Leap but I'm not sure how (or if) config changes are propagated from master to stable.
We need to adjust it manually for each branch, as they aren't based with the same kernel version any longer. Takashi -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On Tue, Jul 28, 2015 at 12:50:02PM +0200, Takashi Iwai wrote:
On Tue, 28 Jul 2015 12:47:46 +0200, Michal Kubecek wrote:
On Tue, Jul 28, 2015 at 06:29:32PM +0800, joeyli wrote:
Yes, I will enable CONFIG_EFI_MIXED.
I already did so in master branch yesterday. We may want that in stable as well so that it gets into openSUSE Leap but I'm not sure how (or if) config changes are propagated from master to stable.
We need to adjust it manually for each branch, as they aren't based with the same kernel version any longer.
I updated stable branch. As far as I can see, there is no branch for Leap yet; I guess it's going to be forked from stable when stable moves to 4.2, right? Michal Kubeček -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On Wed, 29 Jul 2015 13:30:32 +0200, Michal Kubecek wrote:
On Tue, Jul 28, 2015 at 12:50:02PM +0200, Takashi Iwai wrote:
On Tue, 28 Jul 2015 12:47:46 +0200, Michal Kubecek wrote:
On Tue, Jul 28, 2015 at 06:29:32PM +0800, joeyli wrote:
Yes, I will enable CONFIG_EFI_MIXED.
I already did so in master branch yesterday. We may want that in stable as well so that it gets into openSUSE Leap but I'm not sure how (or if) config changes are propagated from master to stable.
We need to adjust it manually for each branch, as they aren't based with the same kernel version any longer.
I updated stable branch. As far as I can see, there is no branch for Leap yet; I guess it's going to be forked from stable when stable moves to 4.2, right?
Yes, that's the plan. Thanks! Takashi -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On Tue, Jul 28, 2015 at 12:47:46PM +0200, Michal Kubecek wrote:
On Tue, Jul 28, 2015 at 06:29:32PM +0800, joeyli wrote:
On Tue, Jul 28, 2015 at 12:13:45PM +0200, Takashi Iwai wrote:
On Tue, 28 Jul 2015 12:03:24 +0200, joeyli wrote:
Hi,
On Thu, Jul 16, 2015 at 02:47:51PM +0200, Takashi Iwai wrote:
On Thu, 16 Jul 2015 14:33:10 +0200, Michal Kubecek wrote:
Current openSUSE kernels have CONFIG_EFI_MIXED (support for 32-bit UEFI in x86_64 kernel) disabled. This was set when the option was introduced in 3.15 with comment "do we use a bootloader that can support it?"
However, while grub2 can boot x86_64 kernel under 32-bit UEFI even without CONFIG_EFI_MIXED, the option is needed for kernel to access efivars (needed for efibootmgr and therefore grub2-install) and UEFI services.
So I would like to suggest enabling CONFIG_EFI_MIXED; it's only available on x86_64 but I'm not sure which flavours: default, desktop, debug and vanilla should have it, xen and ec2 can't; I'm not sure about pv: would support for EFI mixed mode make any sense there?
This was already requested in bug 935027.
Joey, any progress on this?
Takashi
Gary adds comment#4 on bsc#935027 for shim doesn't support 32-bit. So, it needs disable secure boot in BIOS, then using grub2 but no shim.
But it doesn't mean that we need to disable that *kernel* config, right?
Takashi
Yes, I will enable CONFIG_EFI_MIXED.
I already did so in master branch yesterday. We may want that in stable as well so that it gets into openSUSE Leap but I'm not sure how (or if) config changes are propagated from master to stable.
Michal Kubeček
Thanks for your help, and sorry for my delay. Joey Lee -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On Thu, Jul 16, 2015 at 3:33 PM, Michal Kubecek <mkubecek@suse.cz> wrote:
Current openSUSE kernels have CONFIG_EFI_MIXED (support for 32-bit UEFI in x86_64 kernel) disabled. This was set when the option was introduced in 3.15 with comment "do we use a bootloader that can support it?"
However, while grub2 can boot x86_64 kernel under 32-bit UEFI even without CONFIG_EFI_MIXED, the option is needed for kernel to access efivars (needed for efibootmgr and therefore grub2-install) and UEFI services.
I feel like it is needed to also select correct grub2 platform (i386-efi vs. x86_64-efi), but this requires more changes - it needs grub2 patch (present upstream), perl-Bootloader change (currently it is always 64 bit on x86_64) and may be yast-bootloader, not sure.
So I would like to suggest enabling CONFIG_EFI_MIXED; it's only available on x86_64 but I'm not sure which flavours: default, desktop, debug and vanilla should have it, xen and ec2 can't; I'm not sure about pv: would support for EFI mixed mode make any sense there?
Michal Kubeček
-- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On Thu, Jul 16, 2015 at 05:48:59PM +0300, Andrei Borzenkov wrote:
On Thu, Jul 16, 2015 at 3:33 PM, Michal Kubecek <mkubecek@suse.cz> wrote:
Current openSUSE kernels have CONFIG_EFI_MIXED (support for 32-bit UEFI in x86_64 kernel) disabled. This was set when the option was introduced in 3.15 with comment "do we use a bootloader that can support it?"
However, while grub2 can boot x86_64 kernel under 32-bit UEFI even without CONFIG_EFI_MIXED, the option is needed for kernel to access efivars (needed for efibootmgr and therefore grub2-install) and UEFI services.
I feel like it is needed to also select correct grub2 platform (i386-efi vs. x86_64-efi), but this requires more changes - it needs grub2 patch (present upstream), perl-Bootloader change (currently it is always 64 bit on x86_64) and may be yast-bootloader, not sure.
We have grub2-i386-efi package in openSUSE. It's only for i586 architecture but it can be installed on x86_64 and used as grub2-mkimage target. I had some problems with the resulting efi loader image but I haven't identified the cause yet. Michal Kubeček -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
В Thu, 16 Jul 2015 18:51:08 +0200 Michal Kubecek <mkubecek@suse.cz> пишет:
On Thu, Jul 16, 2015 at 05:48:59PM +0300, Andrei Borzenkov wrote:
On Thu, Jul 16, 2015 at 3:33 PM, Michal Kubecek <mkubecek@suse.cz> wrote:
Current openSUSE kernels have CONFIG_EFI_MIXED (support for 32-bit UEFI in x86_64 kernel) disabled. This was set when the option was introduced in 3.15 with comment "do we use a bootloader that can support it?"
However, while grub2 can boot x86_64 kernel under 32-bit UEFI even without CONFIG_EFI_MIXED, the option is needed for kernel to access efivars (needed for efibootmgr and therefore grub2-install) and UEFI services.
I feel like it is needed to also select correct grub2 platform (i386-efi vs. x86_64-efi), but this requires more changes - it needs grub2 patch (present upstream), perl-Bootloader change (currently it is always 64 bit on x86_64) and may be yast-bootloader, not sure.
We have grub2-i386-efi package in openSUSE. It's only for i586 architecture but it can be installed on x86_64 and used as grub2-mkimage target.
Of course. What I mean that upstream will auto-detect whether EFI is 32 or 64 and automatically generate correct image. Assuming suitable kernel support of course.
I had some problems with the resulting efi loader image but I haven't identified the cause yet.
Michal Kubeček
-- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
On Thursday 16 of July 2015 21:48:02 Andrei Borzenkov wrote:
В Thu, 16 Jul 2015 18:51:08 +0200
Michal Kubecek <mkubecek@suse.cz> пишет:
We have grub2-i386-efi package in openSUSE. It's only for i586 architecture but it can be installed on x86_64 and used as grub2-mkimage target.
Of course. What I mean that upstream will auto-detect whether EFI is 32 or 64 and automatically generate correct image. Assuming suitable kernel support of course.
I found this commit: commit 1a33de8b5612f8d7ab344546f8a91fa814f712b5 Author: Steve McIntyre <steve@einval.com> Date: Fri Mar 27 14:51:51 2015 +0100 Recognize EFI platform even in case of mismatch between Linux and EFI. Some x86 systems might be capable of running a 64-bit Linux kernel but only use a 32-bit EFI (e.g. Intel Bay Trail systems). It's useful for grub-install to be able to recognise such systems, to set the default x86 platform correctly. To allow grub-install to know the size of the firmware rather than just the size of the kernel, there is now an extra EFI sysfs file to describe the underlying firmware. Read that if possible, otherwise fall back to the kernel type as before. Signed-off-by: Steve McIntyre <steve@einval.com> I'll give it a try when I find time. Michal Kubeček -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
participants (4)
-
Andrei Borzenkov
-
joeyli
-
Michal Kubecek
-
Takashi Iwai