Skip to contentSkip to conversation

scripts/runqemu: disable unfs boot mode for qemuppc

PATCH RESEND Applied Liming Wang 2 participants 3 messages Aug 25, 2011 – Aug 30, 2011

lore
Share & tools
lore
#0 lore raw

v2 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(-)
#1 lore raw

PATCH RESEND v2 1/1 scripts/runqemu: disable unfs boot mode for qemuppc

Because unfs boot mode is unstable for qemuppc, disable it temporarily.

---
 scripts/runqemu |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
scripts/runqemu +6 -0
index ed8c05b..f6cc6f4 100755
@@ -351,6 +351,12 @@ if [ -z "$FSTYPE" ]; then
         usage
     fi
 fi
+
+if [ "$FSTYPE" = "nfs" -a "$MACHINE" = "qemuppc" ]; then
+    echo "Error: usermode NFS boot is not available for qemuppc."
+    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
#2 lore raw
Quoted 7 lines · Liming Wang

Because unfs boot mode is unstable for qemuppc, disable it temporarily.

---
 scripts/runqemu |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

Merged to master, thanks.

Richard