qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] bug (bisected): qemu-system-sh4 serial console, ctrl-C


From: Rob Landley
Subject: Re: [Qemu-devel] bug (bisected): qemu-system-sh4 serial console, ctrl-C kills emulator
Date: Mon, 01 Sep 2014 10:23:08 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

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

[Prev in Thread] Current Thread [Next in Thread]