Opened 8 months ago

Last modified 3 hours ago

#14454 assigned bug

Cannot boot UEFI images on a Surface Book: kernel panic

Reported by: warpdesign2 Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Drivers Version: R1/Development
Keywords: uefi, surface book, Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

Trying to boot an UEFI image on a Surface Book gives a kernel panic

Attachments (3)

kernelpanichaiku.jpg (400.4 KB) - added by warpdesign2 8 months ago.
Kernel panic while trying to boot an UEFI image on a Surface Book
haikuSmall.jpg (65.6 KB) - added by warpdesign2 2 days ago.
For reference: on left is a small pocket boot. The text on the screen appears a lot smaller and is very difficult to read.
20190418_112145.jpg (972.4 KB) - added by warpdesign2 10 hours ago.
OnScreen debug 1

Download all attachments as: .zip

Change History (18)

Changed 8 months ago by warpdesign2

Attachment: kernelpanichaiku.jpg added

Kernel panic while trying to boot an UEFI image on a Surface Book

comment:2 Changed 8 months ago by diver

Component: - GeneralSystem/Boot Loader
Owner: changed from nobody to jessicah
Status: newassigned

comment:3 Changed 8 months ago by KapiX

Blocked By: 9910 added

comment:4 Changed 8 months ago by diver

Component: System/Boot LoaderDrivers
Owner: changed from jessicah to nobody

comment:5 Changed 7 months ago by warpdesign2

How relevant is it? I'm trying to boot from an USB stick...

comment:6 Changed 4 days ago by waddlesplash

Blocked By: 9910 removed

Not at all.

Probably this was an XHCI problem. Please retest under a recent nightly. If you still get the panic on first try, use a USB2 drive.

Changed 2 days ago by warpdesign2

Attachment: haikuSmall.jpg added

For reference: on left is a small pocket boot. The text on the screen appears a lot smaller and is very difficult to read.

comment:7 in reply to:  6 Changed 2 days ago by warpdesign2

Replying to waddlesplash:

Not at all.

Probably this was an XHCI problem. Please retest under a recent nightly. If you still get the panic on first try, use a USB2 drive.

Do recent build support UEFI?

I downloaded an anyboot file from here: https://download.haiku-os.org/nightly-images/x86_64/

I get a panic with the error "PANIC: did not find any boot partitions!".

Btw, on small high DPI display, the text appears so small that it's almost unreadable.

comment:8 Changed 2 days ago by waddlesplash

Yes, they do.

Did you test this with a USB2 drive as I requested, or only a USB3 one? The former usually works, the latter currently does not.

comment:9 Changed 2 days ago by warpdesign2

Yes I did. Tried with both USB3 and USB2 drive: got the same panic error. Btw the keyboard doesn't work when in kernel panic.

comment:10 Changed 14 hours ago by waddlesplash

OK. I'll need a syslog before I can try to debug this more. If you soft-reset the device while it is in KDL, the bootloader should be able to save a copy of the previous syslog, see here: https://www.haiku-os.org/docs/userguide/en/bootloader.html

Otherwise, using the "on-screen debug output" (with "on screen paging" disabled) and hoping that the relevant information is in the final screen may be a possibility.

comment:11 Changed 11 hours ago by warpdesign2

I can't softboot since the keyboard does not work in KDL.

Tried pressing shift before booting Haiku but it doesn't appears to work: it continues to boot and crashes again and do not go to the boot menu.

comment:12 Changed 11 hours ago by warpdesign2

I also tried plugging in an USB keyboard but it still doesn't show the boot menu when pressing shift.

Is there a way to change default boot options on the usb stick by modifying some text file maybe? This way I could enable the on-screen debug output by default.

Last edited 11 hours ago by warpdesign2 (previous) (diff)

comment:13 Changed 11 hours ago by diver

Try smashing space bar instead of holding shift. IIRC holding shift doesn't work on EFI machines.

Changed 10 hours ago by warpdesign2

Attachment: 20190418_112145.jpg added

OnScreen debug 1

comment:14 Changed 10 hours ago by warpdesign2

Space bar works, so I enabled "on-screen debug output" and disabled "screen paging". Here is the last things that appear (see third thread attachment). If needed I may increase the screen resolution so that more debug may appear (I reduced it in the boot loader to make text appear bigger).

comment:15 Changed 3 hours ago by waddlesplash

Please re-test with the NVMe driver blacklisted in the bootloader (it's in add-ons/kernel/drivers/disk/nvme_disk.) But even this may not be enough for us to see precisely what the issue is, and we may need to figure out some other method of getting the whole syslog.

Note: See TracTickets for help on using tickets.