Boot from USB Causes Kernel Panic on gru-kevin #255
Labels
No labels
CI enhacement
CS10 (chromestick)
HIGH PRIOROITY
Low Priority
Solved
TODO
arm64
armhf
bug
c100 (veyron minnie)
duplicate
enhancement
good first issue
help wanted
invalid
minor bug
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ev4/PrawnOS#255
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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_rootfails because it fails to findnew_rootbut 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).
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.
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 :)
Thanks!
Also my bad, I meant deblobbed Coreboot. From what I can tell it ships with some blobs in ARM TPM but based on my experience with another RK3399 machine they aren't hard to remove and don't significantly impact usability.
Edit: I marked this as an off topic response for (hopefully) obvious reasons. I didn't remove it because I thought the information may be useful to someone at some point.
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
blkidthe usb flash drive we are booting from is missing!Created release with this fix: https://github.com/SolidHal/PrawnOS/releases/tag/v1.3.1