Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Boot from USB Causes Kernel Panic on gru-kevin #255

Closed
polarisfm opened this issue Dec 5, 2020 · 5 comments
Closed

Boot from USB Causes Kernel Panic on gru-kevin #255

polarisfm opened this issue Dec 5, 2020 · 5 comments

Comments

@polarisfm
Copy link

polarisfm commented Dec 5, 2020

Attempting to boot PrawnOS arm64 on gru-kevin causes the kernel to panic. I have tried this on multiple USB flash drives (both USB C and USB A with an adapter) and it causes the same issue each time.

This occurs on 1.1, 1.2, and 1.3. I really hope this isn't a silly configuration issue, I followed the instructions quite carefully.

switch_root fails because it fails to find new_root but I'm really not familiar enough with the boot process to figure out why this is happening without some level of guidance. The fact this only seems to be happening to me (at least judging my the other reported issues) makes me think I've just done something dumb, so I'm really sorry if that's the case. I'm very new to ARMv8 computing and even newer to using machines that use depthcharge.

Just to be clear, I am not running Coreboot (yet).

A photo of the error is attached below. It is mostly the same on each OS version (besides the things you would expect to be different like the kernel version).

panic

@polarisfm polarisfm changed the title Kernel Panic When Attempting to Boot on gru-kevin Bootfrom from USB Causes Kernel Panic on gru-kevin Dec 7, 2020
@polarisfm polarisfm changed the title Bootfrom from USB Causes Kernel Panic on gru-kevin Boot from USB Causes Kernel Panic on gru-kevin Dec 7, 2020
@polarisfm
Copy link
Author

polarisfm commented Dec 7, 2020

Update: Booting from a microSD card works fine and allows installation to other attached media (internal and external work well).

This issue seems to be specific to USB booting.

@SolidHal
Copy link
Owner

SolidHal commented Dec 9, 2020

Interesting! Thank you for the detailed report @polarisfm
Let me look into this and get back to you.

FYI, unless you specifically reflashed your kevin, you are already running coreboot with depthcharge :)

@polarisfm

This comment has been minimized.

@SolidHal
Copy link
Owner

SolidHal commented Dec 9, 2020

This behavior seems to be the result of a race condition. The kernel seems to not be mapping USB devices quick enough, meaning when we try to get the list of connected devices using blkid the usb flash drive we are booting from is missing!

@SolidHal
Copy link
Owner

SolidHal commented Dec 9, 2020

Created release with this fix: https://github.com/SolidHal/PrawnOS/releases/tag/v1.3.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants