On 09/01/14 00:05, Rob Landley wrote:
> If you grab http://landley.net/aboriginal/bin/qemu-system-sh4.tar.bz2
> extract it and ./run-emulator.sh (which is a fairly straightforward
> qemu-system-sh4 invocation on the included kernel image and squashfs
> root filesystem), older qemu versions would run it just fine, and ctrl-C
> would pass through to the shell. But current qemu, ctrl-C kills the
> emulator.
> 
> I bisected this to commit 02c4bdf1d2ca, although that's between commit
> a9e8aeb3755b (which broke the sh4 pci bus) and b23ea25f5098 (which made
> it boot again), so you have to either revert the first or apply the
> second in order to test that the reverted commit fixes it.
> 
> Rob

This time cc'ing the people who signed-off-by the buggy commit.

Before commit 02c4bdf1d2ca signal handling in qemu-system-sh4 with
serial console on stdin/stdout worked properly, as in ctrl-c would kill
the shell, not the emulator. After that commit, ctrl-c kills the
emulator, not the shell.

You can test this by grabbing the tarball in the first line above, and
runnign the run-emulator.sh script, which is just:

qemu-system-sh4 -M r2d -nographic -no-reboot -kernel zImage -hda hda.sqf
-append "root=/dev/sda rw init=/sbin/init.sh panic=1 PATH=/bin:/sbin
console=ttySC1 noiotrap HOST=sh4" -monitor null -serial null -serial stdio

Again, this worked before the above commit, and has been consistently
broken since that commit.

Rob

Reply via email to