Re: [Qemu-devel] bug (bisected): qemu-system-sh4 serial console, ctrl-C kills emulator
Il 01/09/2014 07:05, Rob Landley ha scritto: 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. I get a 404 error, but this is most likely not sh4 specific---can you just post here the command line? Paolo
Re: [Qemu-devel] bug (bisected): qemu-system-sh4 serial console, ctrl-C kills emulator
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
Re: [Qemu-devel] bug (bisected): qemu-system-sh4 serial console, ctrl-C kills emulator
On 09/01/14 03:07, Paolo Bonzini wrote: Il 01/09/2014 07:05, Rob Landley ha scritto: 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. I get a 404 error, but this is most likely not sh4 specific---can you just post here the command line? I just did (sorry, checked the mailing list folder and didn't see a reply, I forgot gmail filters out duplicates like being cc'd on the same message, because the gmail developers hate threading.) The correct URL is: http://landley.net/aboriginal/bin/system-image-sh4.tar.bz2 The command line is: 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 And the email telling me to use that command line way back when was: http://lists.gnu.org/archive/html/qemu-devel/2009-02/msg00825.html More context: http://lists.gnu.org/archive/html/qemu-devel/2010-03/msg00976.html Sorry for the confusion, I _really_ need to stop sending these things after midnight... Rob
[Qemu-devel] bug (bisected): qemu-system-sh4 serial console, ctrl-C kills emulator
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