From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=40246 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P0H8a-00058d-G9 for qemu-devel@nongnu.org; Mon, 27 Sep 2010 13:05:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P0H8Y-0008OZ-Ns for qemu-devel@nongnu.org; Mon, 27 Sep 2010 13:05:12 -0400 Received: from hobi.com ([161.58.203.140]:40463) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P0H8Y-0008NT-Jn for qemu-devel@nongnu.org; Mon, 27 Sep 2010 13:05:10 -0400 From: Rick Vernam Subject: Re: [Qemu-devel] qemu: qemu_mutex_lock: Invalid argument Date: Mon, 27 Sep 2010 12:04:48 -0500 References: <201009141500.20960.rickv@hobi.com> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201009271204.52176.rickv@hobi.com> Reply-To: rickv@hobi.com List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Yoshiaki Tamura Cc: qemu-devel@nongnu.org, Corentin Chary On Wednesday 15 September 2010 05:46:55 Yoshiaki Tamura wrote: > Hi Rick, > > 2010/9/15 Corentin Chary : > > On Tue, Sep 14, 2010 at 10:00 PM, Rick Vernam wrote: > >> I don't have nearly enough info to file a proper bug report. > >> > >> I am running qemu-kvm-0.13.0 rc1 > >> starting qemu like so: > >> /root/qemu/bin/qemu-system-x86_64 -cpu host -enable-kvm -drive > >> file=/root/qemu/w2k3_server.raw,if=virtio,aio=native -net > >> nic,model=virtio,macaddr=52:54:00:12:34:56 -net tap,ifname=tap0 > >> -localtime - usb -usbdevice tablet -vga std -vnc :25581 -monitor stdio > >> -m 512 -runas rick > >> > >> Every now and again, qemu will up and quit leaving only the following > >> message: qemu: qemu_mutex_lock: Invalid argument > >> > >> At the moment I can't stop what I'm doing to go learn how to debug qemu, > >> but I'd be happy if anybody is interested in suggesting something I > >> could do to provide some info about this bug... > >> Would it be helpful to build with -O0 -g and run in gdb, then get a bt > >> when it dies? > >> I haven't put this into production yet, so I can still afford downtime & > >> re- compiles...etc. > >> > >> thanks.. > >> > >> host machine is: > >> 2.6.32-gentoo-r7 x86_64 Intel(R) Xeon(R) CPU E5450 @ 3.00GHz > >> GenuineIntel GNU/Linux > >> > >> guest os is Windows Server 2003, Standard Edition. Service Pack 2. > >> Red Het VirtIO Ethernet Adapter Driver Version: 5.1.209.605 > >> Red Hat VirtIO SCSI Controller Driver Version: 6.0.0.10 > >> > >> here is how I ran configure: > >> ./configure --prefix=/root/qemu --target-list=x86_64-softmmu > >> --extra-cflags="- march=native -O2 -pipe" > >> --extra-ldflags="-march=native -O2 -pipe" --audio-drv- list= > >> --audio-card-list= --disable-curses --disable-curl --enable-vnc-tls -- > >> enable-vnc-sasl --enable-vnc-jpeg --enable-vnc-png --enable-vnc-thread > > > > There is two patch for that > > http://patchwork.ozlabs.org/patch/62420/ > > Can you try the patch above? If it works, I need to ask Anthony to > pick it up for 0.13. I have not encountered this problem since applying the patch. So I sure would like to see it in 0.13. Thanks, -Rick > > Thanks, > > Yoshi > > > http://patchwork.ozlabs.org/patch/62263/ > > > > On of these patch is already in master: > > http://git.qemu.org/qemu.git/commit/?id=ac71103dc6b408775ae72067790ab3679 > > 12f75ec > > > > -- > > Corentin Chary > > http://xf.iksaif.net