[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2013-12-03 Thread James Hunt
... as if by magic it hung again :) I managed to trigger it by toggling the following two key combos rapidly starting from within the qemu console: ctrl-alt-1 # switch to console (actually, we're already there, but ...) ctrl-alt-2 # switch out of console ** Attachment added: "kvm-strace.log.gz"

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2013-12-04 Thread James Hunt
I never saw the issue with saucy. Downgrading to 1.5.0+dfsg-3ubuntu5.1 certainly appears to have resolved the issue for me, so it's looking like a regression introduced by 1.6.0+dfsg-2ubuntu4. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribe

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2013-12-04 Thread Serge Hallyn
Thanks, James. I suspect this is due to the arm64-user-static patchset i added. As mjt has pointed out it has a lot of cruft in it. I'll have to drop it and try to come up with a smaller patchset. ** Changed in: qemu (Ubuntu) Status: New => Confirmed ** Changed in: qemu (Ubuntu) Impo

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2013-12-09 Thread Serge Hallyn
Hi, 1.7 is currently building trusty. Could you please test with it and make sure that this bug is fixed with that version? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu in Ubuntu. https://bugs.launchpad.net/bugs/1257352 Title

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2013-12-13 Thread James Hunt
Hi Serge, 1.7.0+dfsg-2ubuntu2 still exhibits the problem I'm afraid. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu in Ubuntu. https://bugs.launchpad.net/bugs/1257352 Title: kvm hangs occasionally when switching out of the qem

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2013-12-16 Thread James Hunt
Hi Serge, Yes, I get the hang on upstream too (HEAD e157b8fdd412d48eacfbb8c67d3d58780154faa3). -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu in Ubuntu. https://bugs.launchpad.net/bugs/1257352 Title: kvm hangs occasionally wh

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2013-12-16 Thread Serge Hallyn
** Also affects: qemu Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu in Ubuntu. https://bugs.launchpad.net/bugs/1257352 Title: kvm hangs occasionally when switching out of the qemu co

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2013-12-16 Thread Serge Hallyn
Thanks, James. I'll aim to test on some older releases and bisect if possible. If you have a chance to test on precise, raring, and saucy, or to actually bisect in the upstream git tree, please let me know. -- You received this bug notification because you are a member of Ubuntu Server Team, w

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2014-03-18 Thread Serge Hallyn
Hi James, just a quick check - do you get this with the qemu package in ppa :ubuntu-virt/candidate? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu in Ubuntu. https://bugs.launchpad.net/bugs/1257352 Title: kvm hangs occasionall

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2014-03-25 Thread James Hunt
HI Serge - yes, problem is still there with the ppa versions: $ dpkg -l|egrep "kvm|qemu" ii ipxe-qemu 1.0.0+git-2013.c3d1e78-2ubuntu1 all PXE boot firmware - ROM images for qemu ii kvm-ipxe

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2014-03-26 Thread Serge Hallyn
That is an odd looking list - why is qemu-system-x86 still on 1.7.0, while qemu-system-common is on 2.0? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu in Ubuntu. https://bugs.launchpad.net/bugs/1257352 Title: kvm hangs occasio

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2014-04-15 Thread James Hunt
Sorry - ignore that. However, problem persists on a separate fully- updated amd64 trusty system running kvm version 2.0.0~rc1+dfsg-0ubuntu3. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu in Ubuntu. https://bugs.launchpad.net/bugs

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2014-04-15 Thread Serge Hallyn
I've been trying to reproduce with current trusty, but on amd64, with no success. Which guest were you using? Can you reproduce it just booting a desktop iso with SDL graphics, i.e. kvm -cdrom ubuntu-13.10-desktop-$arch.iso -m 512 ? (Will test on i386. If that succeeds then I can bisect.) --

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2014-04-16 Thread James Hunt
Hi Serge, I'm running on pure amd64 too so the problem is not arch-specific. The simplest way to recreate: $ kvm -cdrom /usr/lib/memtest86+/memtest86+.iso -m 512 Just hold down control+alt and frantically toggle the monitor using the '2' and '1'. Within a couple of seconds it hangs. -- You re

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2014-04-16 Thread Serge Hallyn
Sadly a bisect pointed to the unlikely commit 7a239e46. Upstream git head is still affected. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu in Ubuntu. https://bugs.launchpad.net/bugs/1257352 Title: kvm hangs occasionally when

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2014-04-16 Thread Serge Hallyn
Maddeningly, I've not yet been able to reproduce this by doing for i in `seq 1 100`; do xdotool search --name qemu keydown ctrl+alt+2 xdotool search --name qemu keyup ctrl+alt+2 xdotool search --name qemu keydown ctrl+alt+1 xdotool search --name qemu keyup ctrl+alt+

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2014-04-16 Thread Serge Hallyn
A-ha, the reason is that this only triggers if the qemu window is focused. Running the script while focusing does reproduce (and do other weird things). So perhaps this is happening in sdl_grab_start(), which exits early if the app is not focused? -- You received this bug notification because y

[Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2014-04-17 Thread Serge Hallyn
Interestingly, after i lock the qemu console up with the xdo script, the screen is always locked in ctrl-alt-2, that is, the monitor, not the vm display, hitting ctrl-alt-1 never returns it to the vm display, but if i continue the xdo script running, it sometimes does return to the vm display, w

Re: [Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2013-12-03 Thread Serge Hallyn
Is this new to this version? Can you reproduce it with either saucy's kvm, or with the previous version published in trusty? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to qemu in Ubuntu. https://bugs.launchpad.net/bugs/1257352 Title

Re: [Bug 1257352] Re: kvm hangs occasionally when switching out of the qemu console

2013-12-13 Thread Serge Hallyn
That's surprising. Can you test it with upstream qemu? ( git clone git://git.qemu.org/qemu.git cd qemu ./configure --target-list=x86_64-softmmu make cd x86_64-softmmu ./qemu-system-x86_64 --enable-kvm ) -- You received this bug notification becau