All of lore.kernel.org
 help / color / mirror / Atom feed
* x86_64 32-bit EFI mixed mode boot broken
@ 2024-03-21 21:45 Clayton Craft
  0 siblings, 0 replies; 19+ messages in thread
From: Clayton Craft @ 2024-03-21 21:45 UTC (permalink / raw)
  To: linux-efi, Ard Biesheuvel; +Cc: clayton

[-- Attachment #1: Type: text/plain, Size: 1284 bytes --]

I've been chasing a problem with 32-bit EFI mixed mode booting on two different
(x86_64) Intel Bay Trail platforms, where the system reboots or hangs seemingly
very early somewhere before or after loading the kernel. I've not been able to
get any output from the kernel or stub over efifb when the issue happens[0], and
do not have serial console access on these systems. 

v6.8 fails for me, and presumably so does everything back to v6.2. v6.1 is able
to boot OK on these platforms with mixed mode, and it looks like there are a lot
of changes from 6.1..6.2 for EFI/mixed mode booting. I did managed to bisect the
issue to: 

        commit e2ab9eab324cdf240de89741e4a1aa79919f0196
        Author: Ard Biesheuvel <ardb@kernel.org>
        Date:   Tue Nov 22 17:10:02 2022 +0100
        
            x86/boot/compressed: Move 32-bit entrypoint code into .text section

However I'm not sure how to proceed from here, or if my bisect is all that
useful since the commit seems to be in the middle of a bunch of changes I do not
understand. I've been using systemd-boot to test this (both the full bootloader
and UKI w/ the sd-boot stub). Is 32-bit mixed mode on x86_64 working for others?

Thanks,
Clayton

0. Using "debug ignore_loglevel earlycon=efifb earlyprintk=efi,keep efi=debug"

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread
* x86_64 32-bit EFI mixed mode boot broken
@ 2024-03-21 22:05 Clayton Craft
  2024-03-21 22:48 ` Ard Biesheuvel
  0 siblings, 1 reply; 19+ messages in thread
From: Clayton Craft @ 2024-03-21 22:05 UTC (permalink / raw)
  To: x86, linux-kernel, linux-efi, Thomas Gleixner, Ingo Molnar,
	Borislav Petkov, Dave Hansen
  Cc: Ard Biesheuvel, regressions

[-- Attachment #1: Type: text/plain, Size: 1274 bytes --]

I've been chasing a problem with 32-bit EFI mixed mode booting on two different
(x86_64) Intel Bay Trail platforms, where the system reboots or hangs seemingly
very early somewhere before or after loading the kernel. I've not been able to
get any output from the kernel or stub over efifb when the issue happens[0], and
do not have serial console access on these systems.

v6.8 fails for me, and presumably so does everything back to v6.2. v6.1 is able
to boot OK on these platforms with mixed mode, and it looks like there are a lot
of changes from 6.1..6.2 for EFI/mixed mode booting. I did managed to bisect the
issue to:

        commit e2ab9eab324cdf240de89741e4a1aa79919f0196
        Author: Ard Biesheuvel <ardb@kernel.org>
        Date:   Tue Nov 22 17:10:02 2022 +0100

            x86/boot/compressed: Move 32-bit entrypoint code into .text section

However I'm not sure how to proceed from here, or if my bisect is all that
useful since the commit seems to be in the middle of a bunch of changes I do not
understand. I've been using systemd-boot to test this (both the full bootloader
and UKI w/ the sd-boot stub). Is 32-bit mixed mode on x86_64 working for others?

Thanks,
Clayton

0. Using "debug ignore_loglevel earlycon=efifb earlyprintk=efi,keep efi=debug"

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2024-04-02  6:25 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-21 21:45 x86_64 32-bit EFI mixed mode boot broken Clayton Craft
  -- strict thread matches above, loose matches on Subject: below --
2024-03-21 22:05 Clayton Craft
2024-03-21 22:48 ` Ard Biesheuvel
2024-03-22  0:06   ` Clayton Craft
2024-03-22 12:52     ` Ard Biesheuvel
2024-03-22 16:18       ` Clayton Craft
2024-03-22 16:51         ` Ard Biesheuvel
2024-03-22 17:57           ` Clayton Craft
2024-03-22 18:30             ` Ard Biesheuvel
2024-03-22 19:34               ` Clayton Craft
2024-03-23 12:39                 ` Ard Biesheuvel
2024-03-23 17:18                   ` Ard Biesheuvel
2024-03-24  5:53                     ` Clayton Craft
2024-03-24 14:49   ` Hans de Goede
2024-03-24 17:43     ` Ard Biesheuvel
2024-03-24 20:45       ` Clayton Craft
2024-03-24 20:53         ` Ard Biesheuvel
2024-04-01 22:44           ` Clayton Craft
2024-04-02  6:25             ` Ard Biesheuvel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.