public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: chris@versecorp.net
To: Avi Kivity <avi@redhat.com>
Cc: kvm@vger.kernel.org
Subject: Re: Hangs
Date: Wed, 3 Dec 2008 09:49:18 -0800	[thread overview]
Message-ID: <20081203174918.GA17825@versecorp.net> (raw)
In-Reply-To: <49366326.8020509@redhat.com>

On Wed, Dec 03, 2008 at 12:44:54PM +0200, Avi Kivity wrote:
> chris@versecorp.net wrote:
> >
> >I have a way to reproduce my instance of the problem easily now.   I was 
> >trying
> >to build a new kernel on my guest,  and found that depmod hangs guests 
> >every time. 
> >   In my case, I only have an amd processor - I don't have an intel 
> >host to try it on, right now,  but it happens on Ubuntu 8.04
> >and Ubuntu 8.10 guests, both using kvm-79 and the version of kvm that ships
> >with ubuntu 8.10.
> >  
> 
> What's your guest, how is qemu launched (command line)?
> 
> -- 
> error compiling committee.c: too many arguments to function
> 
> --
> To unsubscribe from this list: send the line "unsubscribe kvm" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

The guest is Ubuntu 8.10 server (64-bit version).  I also have the same 
problems with Ubuntu 8.04LTS server.

Here's the command line:

sudo /usr/local/bin/qemu-system-x86_64        \
     -no-kvm-irqchip                         \
     -daemonize                               \
     -hda Imgs/sam_home.img                   \
     -m 512                                   \
     -cdrom ISOs/ubuntu-8.10-server-amd64.iso \
     -parallel /dev/lp0                       \
     -vnc :1                                  \
     -net nic,macaddr=DE:AD:BE:EF:01:01,model=e1000 \
     -net tap,ifname=tap1,script=/home/chris/kvm/qemu-ifup.sh \
     >>& Logs/sam_run.log

Earlier in the mail chain, Marcelo had me run vmstat when it was hung,
and it was all zeros.  He also asked for a stack trace on the qemu and it
showed two threads:

	(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 ?? ()

If I can provide any other debug info I'm happy to.   I'm beginning to suspect
you'll be able to easily reproduce it if you run Ubuntu 8.10 as a guest on 
amd processors.

  reply	other threads:[~2008-12-03 17:50 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     ` Hangs chris
     [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                   ` chris [this message]
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=20081203174918.GA17825@versecorp.net \
    --to=chris@versecorp.net \
    --cc=avi@redhat.com \
    --cc=kvm@vger.kernel.org \
    /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