qemu-system-arm hangs configured with TCI (configure --with-tcg-interpreter)

Bug #1008338 reported by ikjn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro QEMU
Fix Released
Low
Unassigned

Bug Description

working on 2012.05 source code from qemu-linaro git repository,

My target machine is 'beagle' softmmu mode running on i386 ubuntu 12.04 host

I turned on the tiny code interpreter, qemu hangs right after when the linux kernel finished to boot and tried to run a user mode process. (it's okay without tci configured)

1. configure options:
configure --enable-trace-backend=simple --target-list='arm-softmmu arm-linux-user'

2. qemu command line:
$QEMU -M beagle -m 256 -clock unix \
 -monitor stdio \
 -drive file=${IMG},if=sd,cache=writeback \
 -serial telnet::4567,server,nowait \
 -usb -s

3. guest console
U-BOOT --> kernel booting messages
...
[ 7.173797] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 7.213439] devtmpfs: mounted
[ 7.226928] Freeing init memory: 228K
Connection closed by foreign host. --> QEMU hangs at this point.

Revision history for this message
Peter Maydell (pmaydell) wrote :

I'm afraid we don't really have much spare resources to hunt down bugs in odd configs like using the TCI interpreter. If you need a fix for this then I think your best options are (a) investigate the bug yourself or (b) try to reproduce a similar problem on a machine model supported by upstream QEMU so you can report a bug upstream. Sorry I can't be more helpful here...

Revision history for this message
ikjn (tiffang) wrote :

Okay, I'll do this with upstream QEMU.

Revision history for this message
Peter Maydell (pmaydell) wrote :

A very similar sounding bug has just been reported upstream with a patch. You might like to try applying it:
http://patchwork.ozlabs.org/patch/165631/
and see whether it fixes your case as well.

Revision history for this message
Peter Maydell (pmaydell) wrote :

The fix I mentioned in the previous comment has been committed upstream and has now made it into qemu-linaro git. It should be in the 2011.07 release.

Changed in qemu-linaro:
status: New → Fix Committed
milestone: none → 2012.07
importance: Undecided → Low
Peter Maydell (pmaydell)
Changed in qemu-linaro:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.