Bug 3335 - Shutdown is handing on qemuarm
Summary: Shutdown is handing on qemuarm
Status: RESOLVED DUPLICATE of bug 684
Alias: None
Product: General Runtime
Classification: Runtime
Component: General Runtime (show other bugs)
Version: 1.2.1
Hardware: x86 arm
: Undecided normal
Target Milestone: ---
Assignee: Saul Wold
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2012-10-25 14:34 UTC by venkata ramana g
Modified: 2012-10-25 14:56 UTC (History)
0 users

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description venkata ramana g 2012-10-25 14:34:00 UTC
"shutdown -h now"
Qemu is hanging while shutdown

Filesystem: core-image-sato-sdk-qemuarm.ext3,core-image-sato-qemuarm.ext3
core-image-sato-sdk-qemux86-64.tar.bz2(nfs)

Arch: Arm

buildtaken from :
http://autobuilder.yoctoproject.org/pub/nightly/20121018-4/machines/qemu/qemuarm/

Log:

 runqemu qemuarm /home/yocto/Yocto-builds-test/20121018-4/zImage-qemuarm.bin 

/home/yocto/Yocto-builds-test/20121018-4/core-image-sato-sdk-qemuarm.ext3 

Continuing with the following parameters:
KERNEL: [/home/yocto/Yocto-builds-test/20121018-4/zImage-qemuarm.bin]
ROOTFS: [/home/yocto/Yocto-builds-test/20121018-4/core-image-sato-sdk-qemuarm.ext3]
FSTYPE: [ext3]
Setting up tap interface under sudo
Acquiring lockfile for tap0...
WARNING: distccd not present, no distcc support loaded.
Running qemu-system-arm...
/opt/poky/1.2.1/sysroots/i686-pokysdk-linux/usr/bin/qemu-system-arm -kernel 
/home/yocto/Yocto-builds-test/20121018-4/zImage-qemuarm.bin -net nic,vlan=0 -net tap,vlan=0,ifname=tap0,script=no,downscript=no -M versatilepb -hda /home/yocto/Yocto-builds-test/20121018-4/core-image-sato-sdk-qemuarm.ext3 -no-reboot -show-cursor -usb -usbdevice wacom-tablet -no-reboot -m 128 --append "root=/dev/sda rw console=ttyAMA0,115200 console=tty ip=192.168.7.2::192.168.7.1:255.255.255.0 mem=128M highres=off "

Then
1. Qemu UI Successfully came up
2. executed "shutdown -h now"
3. Hanged when processing bar shown complete.
4. Given Ctrl+c in lauch terminal, contd...

qemu: terminating on signal 2
root's password:
root's password:
Set 'tap0' nonpersistent
Releasing lockfile of preconfigured tap device 'tap0'
Set 'tap0' nonpersistent
Releasing lockfile of preconfigured tap device 'tap0'
Comment 1 Saul Wold 2012-10-25 14:56:37 UTC
This is a known issue with the kernel

*** This bug has been marked as a duplicate of bug 684 ***