[Bug 1319923] [NEW] Console stdin ignored using -nographic mode
john.d at servergy.com
john.d at servergy.com
Thu May 15 16:27:45 UTC 2014
Public bug reported:
(trusty)root at jade-rev4:/home2/qemu/vm2# lsb_release -rd
Description: Ubuntu 14.04 LTS
Release: 14.04
dpkg -l | grep qemu | grep ppc
qemu-system-ppc 2.0.0~rc1+dfsg-
0ubuntu3.1
Launching VM's from qemu-system-ppc frequently fail to read stdin - VM is HUNG ?
/usr/bin/qemu-system-ppc -M ppce500 -nographic -kernel jade-kernel.bin-new \
-initrd svy-initrd-raw.bin -m 1G -enable-kvm \
-append "console=ttyS0 sgyboot=break" \
-name Ubuntu-$$
When the launch sequence works , there is an interactive shell that
busybox commands can be executed:
-- Screen:
Servergy Boot Loader.
==> You are now in a standard shell.
svy-boot# ls
bin dev init mnt root sbin tmp var
boot etc lib proc run sys usr
svy-boot# cat /proc/partitions
major minor #blocks name
253 0 41943040 vda
253 1 8387584 vda1
253 2 33553408 vda2
svy-boot#
--- EOT
However , other launch sequences hang , stdout messages appear , but
stdin is ignored.
I SUSPECT THE ISSUE IS IN QEMU and NOT THE VM because when TERMINTR key is caught (^c ) and
QEMU quits:
--- Screen
Servergy Boot Loader.
==> You are now in a standard shell.
svy-boot# ls < -- stdin IGNORED ;
^C(trusty)root at jade-rev4:/home2/qemu/vm2# qemu: terminating on signal 2
NOTE ^^ Cntr C is caught by QEMU and terminates ;
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: qemu-system-ppc 2.0.0~rc1+dfsg-0ubuntu3.1
ProcVersionSignature: Ubuntu 3.13.0-24.46-powerpc-e500mc 3.13.9
Uname: Linux 3.13.0-24-powerpc-e500mc ppc
ApportVersion: 2.14.1-0ubuntu3
Architecture: powerpc
Date: Thu May 15 11:06:05 2014
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: qemu
UpgradeStatus: Upgraded to trusty on 2014-04-29 (16 days ago)
** Affects: qemu (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug powerpc trusty
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu in Ubuntu.
https://bugs.launchpad.net/bugs/1319923
Title:
Console stdin ignored using -nographic mode
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1319923/+subscriptions
More information about the Ubuntu-server-bugs
mailing list