From: chris@versecorp.net
To: Marcelo Tosatti <mtosatti@redhat.com>
Cc: kvm@vger.kernel.org, rl@brabbel.net
Subject: Re: Hangs
Date: Sat, 22 Nov 2008 09:54:34 -0800 [thread overview]
Message-ID: <20081122175434.GA11849@versecorp.net> (raw)
In-Reply-To: <20081121193237.GA22203@dmt.cnet>
>
> In coma perhaps.
>
> > let me know if you need to me to provide any other troubleshooting info.
>
> $ gdb -p pid-of-qemu
>
> (gdb) info threads
>
> Print the backtrace for every thread with:
>
> (gdb) thread N
> (gdb) bt
>
OK, here is the gdb log with the guest stuck in this state:
chris@k9[1]:~/pkgs/kvm/kvm-79% ps aux | grep qemu
root 414 1.9 5.0 1131616 197852 ? Sl 09:22 0:28 /usr/local/bin/qemu-system-x86_64 -daemonize -serial file:Logs/deb_db_serial.log -no-kvm-irqchip -hda Imgs/debdb_root.img -hdb Imgs/debdb_ora.img -m 1024 -cdrom ISOs/ubuntu-8.10-server-amd64.iso -vnc :2 -net nic,macaddr=DE:AD:BE:EF:02:02,model=e1000 -net tap,ifname=tap2,script=/home/chris/kvm/qemu-ifup.sh
chris@k9[2]:~/pkgs/kvm/kvm-79% sudo gdb -p 414
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Attaching to process 414
Reading symbols from /usr/local/bin/qemu-system-x86_64...done.
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/lib/libgnutls.so.26...done.
Loaded symbols for /usr/lib/libgnutls.so.26
Reading symbols from /lib/librt.so.1...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread 0x7f36f1f306e0 (LWP 414)]
[New Thread 0x414f1950 (LWP 422)]
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /lib/libutil.so.1...done.
Loaded symbols for /lib/libutil.so.1
Reading symbols from /usr/lib/libSDL-1.2.so.0...done.
Loaded symbols for /usr/lib/libSDL-1.2.so.0
Reading symbols from /lib/libncurses.so.5...done.
Loaded symbols for /lib/libncurses.so.5
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /usr/lib/libtasn1.so.3...done.
Loaded symbols for /usr/lib/libtasn1.so.3
Reading symbols from /lib/libgcrypt.so.11...done.
Loaded symbols for /lib/libgcrypt.so.11
Reading symbols from /lib/ld-linux-x86-64.so.2...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /usr/lib/libasound.so.2...done.
Loaded symbols for /usr/lib/libasound.so.2
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libdirectfb-1.0.so.0...done.
Loaded symbols for /usr/lib/libdirectfb-1.0.so.0
Reading symbols from /usr/lib/libfusion-1.0.so.0...done.
Loaded symbols for /usr/lib/libfusion-1.0.so.0
Reading symbols from /usr/lib/libdirect-1.0.so.0...done.
Loaded symbols for /usr/lib/libdirect-1.0.so.0
Reading symbols from /lib/libgpg-error.so.0...done.
Loaded symbols for /lib/libgpg-error.so.0
0x00007f36f084b482 in select () from /lib/libc.so.6
(gdb) info threads
2 Thread 0x414f1950 (LWP 422) 0x00007f36f07a03e1 in sigtimedwait ()
from /lib/libc.so.6
1 Thread 0x7f36f1f306e0 (LWP 414) 0x00007f36f084b482 in select ()
from /lib/libc.so.6
(gdb) thread 1
[Switching to thread 1 (Thread 0x7f36f1f306e0 (LWP 414))]#0 0x00007f36f084b482 in select () from /lib/libc.so.6
(gdb) bt
#0 0x00007f36f084b482 in select () from /lib/libc.so.6
#1 0x00000000004094cb in main_loop_wait (timeout=0)
at /home/chris/pkgs/kvm/kvm-79/qemu/vl.c:4719
#2 0x000000000050a7ea in kvm_main_loop ()
at /home/chris/pkgs/kvm/kvm-79/qemu/qemu-kvm.c:619
#3 0x000000000040fafc in main (argc=<value optimized out>,
argv=0x7ffff9f41948) at /home/chris/pkgs/kvm/kvm-79/qemu/vl.c:4871
(gdb) thread 2
[Switching to thread 2 (Thread 0x414f1950 (LWP 422))]#0 0x00007f36f07a03e1 in sigtimedwait () from /lib/libc.so.6
(gdb) bt
#0 0x00007f36f07a03e1 in sigtimedwait () from /lib/libc.so.6
#1 0x000000000050a560 in kvm_main_loop_wait (env=0xc319e0, timeout=0)
at /home/chris/pkgs/kvm/kvm-79/qemu/qemu-kvm.c:284
#2 0x000000000050aaf7 in ap_main_loop (_env=<value optimized out>)
at /home/chris/pkgs/kvm/kvm-79/qemu/qemu-kvm.c:425
#3 0x00007f36f11ba3ea in start_thread () from /lib/libpthread.so.0
#4 0x00007f36f0852c6d in clone () from /lib/libc.so.6
#5 0x0000000000000000 in ?? ()
Thanks for your help, let me know if I can provide more.
Chris
next prev parent reply other threads:[~2008-11-22 17:58 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-19 22:43 Hangs chris
2008-11-20 17:10 ` Hangs chris
2008-11-21 19:32 ` Hangs Marcelo Tosatti
2008-11-21 23:43 ` Hangs Roland Lammel
2008-11-22 17:54 ` chris [this message]
[not found] ` <519a8b110811280305v764fade1w9d02f5c9188f56e5@mail.gmail.com>
2008-11-28 12:35 ` Hangs xming
2008-12-02 10:47 ` Hangs xming
2008-12-02 12:09 ` Hangs Avi Kivity
2008-12-02 20:58 ` Hangs chris
2008-12-02 23:01 ` Hangs xming
2008-12-03 1:20 ` Hangs chris
2008-12-03 9:13 ` Hangs xming
2008-12-03 10:44 ` Hangs Avi Kivity
2008-12-03 17:49 ` Hangs chris
2008-12-18 18:05 ` Hangs chris
-- strict thread matches above, loose matches on Subject: below --
2008-11-14 15:34 Hangs Chris Jones
2008-11-16 16:36 ` Hangs Chris Jones
2008-11-18 21:34 ` Hangs Marcelo Tosatti
2008-11-19 10:57 ` Hangs Roland Lammel
2008-11-19 21:53 ` Hangs Roland Lammel
[not found] ` <20081120015600.GB10846@dmt.cnet>
2008-11-21 15:55 ` Hangs Glauber Costa
2008-11-21 20:29 ` Hangs Roland Lammel
2008-11-21 21:01 ` Hangs Daniel P. Berrange
2008-11-21 23:46 ` Hangs Roland Lammel
2008-12-06 23:18 ` Hangs Roland Lammel
2008-12-09 0:34 ` Hangs xming
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20081122175434.GA11849@versecorp.net \
--to=chris@versecorp.net \
--cc=kvm@vger.kernel.org \
--cc=mtosatti@redhat.com \
--cc=rl@brabbel.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox