samsung-p4wifi kernel 4.18-rc1 is not booting past switch_root
Created by: Decatf
The samsung-p4wifi kernel 4.17 and prior are working. I've rebased onto 4.18-rc1. It isn't booting past switch_root
. The ssh shell isn't accessible so it hasn't booted that far.
In attempt to get some more logs. I changed the init script to log to kmsg just before the switch_root:
echo "Performing switch_root now." | tee /dev/kmsg
# shellcheck disable=SC2093
exec switch_root /sysroot /sbin/init
echo "ERROR: switch_root failed!" | tee /dev/kmsg
echo "Looping forever. Install and use the debug-shell hook to debug this." | tee /dev/kmsg
echo "For more information, see <https://postmarketos.org/debug-shell>" | tee /dev/kmsg
loop_forever
There's the log right before switch_root. There isn't any ERROR: switch_root failed
message. So I either it doesn't get beyond that command or maybe it stuck there?
[ 22.791384] Performing switch_root now.
I don't know out how to do further debugging of the boot process between the switch_root
and ssh shell becoming available.