NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-i386/54191: i386 kernel does not boot via 64-bit EFI



>Number:         54191
>Category:       port-i386
>Synopsis:       i386 kernel hangs/reboots when running via 64-bit EFI bootloader
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 10 15:15:00 +0000 2019
>Originator:     Michal Gorny
>Release:        NetBSD 8.99.37
>Organization:
>Environment:
System: NetBSD pomiocikbsd.local 8.99.37 NetBSD 8.99.37 (GENERIC) #0: Thu May 9 14:42:33 UTC 2019 root@pomiocikbsd.local:/usr/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
I have installed NetBSD/amd64 on UEFI using information from [1]. I have
added the EFI bootloader to my systemd-boot instance, and the amd64
version is working just fine.

Afterwards, I wanted to install i386 version of the system. However,
the kernel fails to boot when started via 64-bit EFI bootloader
(from /usr/mdec/bootx64.efi). If CSM is disabled, it reboots immediately
after loading the kernel. If CSM is enabled, it just hangs with blank
screen (and non-blinking cursor at top).

For completeness, I should add that 32-bit EFI bootloader (bootia32.efi)
can not be used on 64-bit UEFI (EFI says that the binary is invalid).

[1] https://wiki.netbsd.org/Installation_on_UEFI_systems/

>How-To-Repeat:
Install NetBSD according to the linked guide (I had to enable CSM
and boot BIOS-compatible bootloader from install image).  Then start
64-bit EFI bootloader and try to boot the kernel.

I have also tried building and installing the kernel from trunk. 

>Fix:



Home | Main Index | Thread Index | Old Index