scripts/runqemu: disable unfs boot mode for qemuppc
cover scripts/runqemu: disable unfs boot mode for qemuppc
It's a workaround to fix yocto bug:
[Bug 414][PPC] kernel panic when booting poky-image-sdk-qemuppc through UNFS
Liming Wang (1):
scripts/runqemu: disable unfs boot mode for qemuppc
scripts/runqemu | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
PATCH 1/1 scripts/runqemu: disable unfs boot mode for qemuppc
Because unfs boot mode is unstable for qemuppc, disable it temporarily.
Signed-off-by Liming Wang <[email protected]>
--- scripts/runqemu | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)
scripts/runqemu +6 -0
@@ -351,6 +351,12 @@ if [ -z "$FSTYPE" ]; then usage fi fi + +if [ "$FSTYPE" = "nfs" -a "$MACHINE" = "qemuppc" ]; then + echo "Error: NFS boot mode is unstable for qemuppc, please don't use it now" + exit 1 +fi + # FSTYPE is now set for all cases # Handle cases where a ROOTFS type is given instead of a filename, e.g.
Signature · 1 line
1.7.0.4
Quoted 13 lines · Liming Wang
Because unfs boot mode is unstable for qemuppc, disable it temporarily.
Signed-off-by Liming Wang<[email protected]>--- scripts/runqemu | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-)scripts/runqemu +0
-0
scripts/runqemu if [ -z "$FSTYPE" ]; then · line 356
Quoted 6 lines
scripts/runqemu +3
-0@@ -351,6 +351,12 @@ if [ -z "$FSTYPE" ]; then usage fi fi + +if [ "$FSTYPE" = "nfs" -a "$MACHINE" = "qemuppc" ]; then + echo "Error: NFS boot mode is unstable for qemuppc, please don't use it now"
We can drop the last part.
"Error: usermode NFS boot is not available for qemuppc."
... or something similar is sufficient.
On the v2, make sure to cc' Saul just to be sure that this doesn't miss any filters.
Cheers,
Bruce
Quoted 6 lines
scripts/runqemu +3
-0+ exit 1 +fi + # FSTYPE is now set for all cases # Handle cases where a ROOTFS type is given instead of a filename, e.g.