[LEDE-DEV] Recent issues w/ sysupgrade
Philip Prindeville
philipp_subx at redfish-solutions.com
Wed Aug 30 11:41:14 PDT 2017
Looking a little further into the console logging, what I’m seeing after a “dd” directly onto the flash is this:
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 6.299598] mount_root: loading kmods from internal overlay
[ 6.307977] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[ 6.316014] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[ 6.459868] block: attempting to load /etc/config/fstab
[ 6.472689] block: extroot: not configured
[ 6.488330] mount_root: rootdisk overlay filesystem has not been formatted yet
[ 6.517993] blk_update_request: I/O error, dev loop0, sector 0
[ 6.724898] block: attempting to load /etc/config/fstab
[ 6.730248] block: extroot: not configured
[ 6.734560] mount_root: overlay filesystem has not been fully initialized yet
[ 6.741823] mount_root: switching to f2fs overlay
if I take the exact same image and try to reinstall it with sysupgrade, I see this:
Press the [f] key and hit [enter] to enter failsafe mode
Press the [1], [2], [3] or [4] key and hit [enter] to select the debug level
[ 5.319594] mount_root: loading kmods from internal overlay
[ 5.328062] kmodloader: loading kernel modules from //etc/modules-boot.d/*
[ 5.336078] kmodloader: done loading kernel modules from //etc/modules-boot.d/*
[ 5.480712] block: attempting to load /etc/config/fstab
[ 5.493487] block: extroot: not configured
[ 5.498237] random: procd: uninitialized urandom read (4 bytes read)
[ 5.515173] mount_root: rootdisk overlay filesystem has not been formatted yet
it’s tough to reproduce, which makes me wonder if it’s either a race condition or an uninitialized variable.
This was after I rebased to:
2f0a855 lantiq: ACMP252: clean up device modules
What would be significantly different about dd’ing an image onto the CF versus the copy that sysupgrade performs?
-Philip
More information about the Lede-dev
mailing list