Opened 3 years ago
Closed 2 years ago
#17375 closed bug (fixed)
UEFI Boot Loader: Black screen with Haiku revisions > 55219
Reported by: | andreas_dr | Owned by: | nobody |
---|---|---|---|
Priority: | blocker | Milestone: | R1/beta4 |
Component: | System/Boot Loader/EFI | Version: | R1/Development |
Keywords: | Cc: | jessicah, kallisti5 | |
Blocked By: | Blocking: | ||
Platform: | All |
Description (last modified by )
Hi,
Seems like bootloader with UEFI is broken with rev > 55219 as it only shows a black screen. Also pressing space does not help.
I attach some files related to my computer as reference that might help to find out whats going on.
Also the computer does not seem to be hanging as I accepts NUMLOCK and changes NUMLOCK lamp. :D
It just shows a black screen.
Attachments (4)
Change History (24)
by , 3 years ago
Attachment: | haiku-syslog.txt added |
---|
by , 3 years ago
Attachment: | debian-dmesg.txt added |
---|
by , 3 years ago
Attachment: | debian-gdisk.txt added |
---|
comment:1 by , 3 years ago
Description: | modified (diff) |
---|
comment:2 by , 3 years ago
Description: | modified (diff) |
---|
comment:3 by , 3 years ago
Component: | - General → System/Boot Loader/EFI |
---|
comment:4 by , 3 years ago
comment:5 by , 3 years ago
I know at least one thing with mmu regions in that change was fixed later on. Can you try recent hrevs efi loaders?
comment:7 by , 3 years ago
Cc: | added |
---|
hrev55216 is the suspect commit. That caused problems on my hardware in its original version, but I think it has been fixed since.
CC jessicah, kallisti5.
comment:8 by , 3 years ago
Milestone: | Unscheduled → R1/beta4 |
---|
comment:9 by , 2 years ago
Priority: | normal → blocker |
---|
Marking as blocker as it's a non-booting system regression.
follow-up: 15 comment:10 by , 2 years ago
This issue isn't easily reproducible.. but we have a few data points:
- andreas_dr
- Host: AMD Ryzen 9 3950X 16-Core Processor (2019), MB: "X370 Gaming X"
- Description: "Only shows black screen"
- Maxis
- Host: AMD Athlon 5350(4 Cores) (2015) , MB: ASRock AM1B-ITX
- Description: "In my case even num lock and caps lock don't work"
I think we need to build confidence about a few things:
- "black screen" could be a failed framebuffer or radeon_hd driver. We need clarification around behavior. Do the bootloader icons show up? What troubleshooting steps have been attempted?
- How is haiku being booted? USB, CD, NVMe, etc?
I have a Ryzen 9 5950X and Haiku EFI is booting just fine via EFI. (I need to confirm the EFI loader version though)
comment:11 by , 2 years ago
If anyone can compile the bootloader, try changing this line: https://github.com/haiku/haiku/blob/d223f9d9c2967e2055bf68b22f6a5a4e22276065/src/system/boot/platform/efi/serial.cpp#L54 to
if (sSerialUsesEFI) { if (sSerial == NULL) return;
comment:12 by , 2 years ago
For Andreas, it's definitely the partitioning change that introduced the failure, I've already confirmed that with him, by providing a number of loader variants in the past.
comment:13 by , 2 years ago
Test loader to try: https://github.com/jessicah/jessicah.github.io/raw/master/haiku_loader.efi
follow-up: 16 comment:14 by , 2 years ago
Actually, I don't think that previous one is the right fix, but do try it anyway.
My next fix to try: https://dev.haiku-os.org/raw-attachment/ticket/17375/haiku_loader.efi
comment:15 by , 2 years ago
Replying to kallisti5:
- "black screen" could be a failed framebuffer or radeon_hd driver. We need clarification around behavior. Do the bootloader icons show up? What troubleshooting steps have been attempted?
- How is haiku being booted? USB, CD, NVMe, etc?
Bootloader's icons didn't show up. Im my case pressing space button did not work. Haiku booted with USB
comment:16 by , 2 years ago
Replying to jessicah:
Actually, I don't think that previous one is the right fix, but do try it anyway.
My next fix to try: https://dev.haiku-os.org/raw-attachment/ticket/17375/haiku_loader.efi
This fix did not help in my case. I renamed dowloaded haiku_loader.efi into bootx64.efi and replaced original bootx64.efi located at /haiku esp/efi/boot/bootx64.efi
comment:19 by , 2 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
That was an unrelated fix, will await confirmation from Andreas.
comment:20 by , 2 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Says it's working with current nightly, so closing, but the commit that supposedly broke booting shouldn't have been fixed by hrev56167.
I confirm this bug. In my case even num lock and caps lock don't work. I have machine CPU: AMD Athlon 5350(4 Cores), MB: ASRock AM1B-ITX, GPU: AMD Radeon RX 550 2GiB, RAM: 16 GiB. I bisected problem and found out that in hrev55299 UEFI bootloader doesn't work but working in hrev55296. May be it related to X512's commit https://git.haiku-os.org/haiku/commit/?id=f1fa58bfbc7578fd0c8ac2c974dd2c7f3be7bec4