From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: vnc=1 / pvgrub / close fb: backend at /local/domain/0/backend/vfb/xx/0 Date: Thu, 23 Oct 2014 09:21:36 +0100 Message-ID: <1414052496.20604.82.camel@citrix.com> References: <544678FE.2000801@crc.id.au> <5446CF1D.6030307@crc.id.au> <1413968436.20604.53.camel@citrix.com> <20141022095906.GG3659@type.bordeaux.inria.fr> <1413974439.18118.1.camel@citrix.com> <1413979542.19198.14.camel@citrix.com> <5447CBE4.6090104@crc.id.au> <1413992405.19198.24.camel@citrix.com> <5447D30A.4040704@crc.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <5447D30A.4040704@crc.id.au> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Steven Haigh Cc: Anthony Perard , Samuel Thibault , Stefano Stabellini , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org On Thu, 2014-10-23 at 02:53 +1100, Steven Haigh wrote: > On 23/10/2014 2:40 AM, Ian Campbell wrote: > > On Thu, 2014-10-23 at 02:23 +1100, Steven Haigh wrote: > > > >> Output using pv-grub: > > > > Can you also post the qemu logs please (under /var/log/xen somewhere I > > think). > > I get very little out of this: > -rw-r--r-- 1 root root 0 Oct 23 02:45 qemu-dm-dev.vm.log > -rw-r--r-- 1 root root 0 Oct 23 02:44 xen-hotplug.log > -rw-r--r-- 1 root root 55 Oct 23 02:45 xl-dev.vm.log > [root@dom0 xen]# cat xl-dev.vm.log > Waiting for domain dev.vm (domid 36) to die [pid 6970] > > That's it :\ :-/ indeed. > >> qemu-system-i38[3956]: segfault at 0 ip (null) sp > >> 00007fffb4573638 error 4 > > > > That might be a smoking gun. Is there a core dump and/or could you try > > and run qemu under gdb? > > Any hints on doing this? I can't say I'm a gdb guru.... I can't find any > core dumps anywhere so that's not really helpful... Fiddling with ulimit might cause core dumps to be created. If not then https://lists.gnu.org/archive/html/qemu-devel/2014-04/msg00302.html https://lists.gnu.org/archive/html/qemu-devel/2011-12/msg02575.html have some hints on running qemu via gdbserver. I've also had luck by configuring the guest with a device model which is a script that dumps its args to a file ("echo $@ > /tmp/qemu.args") and then sleeps for an hour, in another terminal you can then run (fairly quickly, before xl times out) something like: # gdb /path/to/qemu (gdb) run [the content of that file] or possibly even # gdb --args /path/to/qemu `cat /tmp/qemu.args (gdb) run After it crashes the "bt" will get a back trace. Ian.