From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:55175) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THJx5-0008Mr-9q for qemu-devel@nongnu.org; Thu, 27 Sep 2012 15:40:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1THJwu-0000wq-6j for qemu-devel@nongnu.org; Thu, 27 Sep 2012 15:40:50 -0400 Received: from mail-bk0-f45.google.com ([209.85.214.45]:60534) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1THJwt-0000vW-Ue for qemu-devel@nongnu.org; Thu, 27 Sep 2012 15:40:40 -0400 Received: by bkcjf3 with SMTP id jf3so1628673bkc.4 for ; Thu, 27 Sep 2012 12:40:38 -0700 (PDT) Message-ID: <5064ABB2.2000503@gmail.com> Date: Thu, 27 Sep 2012 22:40:34 +0300 From: Nikolai Kondrashov MIME-Version: 1.0 References: <20120927142751.28864.67471.reportbug@gimli.ponomarevs.fi> <50646F5F.7080703@msgid.tls.msk.ru> <50647E08.7050606@gmail.com> <506489CD.8080605@msgid.tls.msk.ru> In-Reply-To: <506489CD.8080605@msgid.tls.msk.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] Bug#688964: qemu-kvm: Fedora 17 guest hangs on boot with soft lockup in udevd List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Michael Tokarev Cc: Jan Kiszka , "Michael S. Tsirkin" , Gerd Hoffmann , 688964@bugs.debian.org, qemu-devel On 09/27/2012 08:15 PM, Michael Tokarev wrote: > Ok. I reproduced this, I _think_, and now I want some confirmation > from you. This is my command line: > > QEMU_AUDIO_DRV=none qemu-kvm -nodefconfig -nodefaults -enable-kvm \ > -monitor stdio -rtc base=utc \ > -device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 \ > -m 512 -vga cirrus -cdrom Fedora-17-x86_64-Live-Desktop.iso \ > -device intel-hda,id=sound0,bus=pci.0,addr=0x4 \ > -device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 > > leads to this in guest: > > ... > Starting udev Wait for Complete Device Initialization... > [ 4.123978] piix4_smbus 0000:00:01.3: SMBus Host Controller at 0xb100, revision 0 > [ 4.311473] microcode: AMD CPU family 0x6 not supported > [ 4.355429] microcode: AMD CPU family 0x6 not supported > [ 7.323032] ALSA sound/pci/hda/hda_intel.c:823 azx_get_response timeout, switching to polling mode: last cmd=0x000f0000 > [ 8.325018] ALSA sound/pci/hda/hda_intel.c:831 No response from codec, disabling MSI: last cmd=0x000f0000 > [ 36.055021] BUG: soft lockup - CPU#0 stuck for 22s! [udevd:385] > > Is it the issue you're seeing? > > Removing hda-duplex device lets it to work. Removing piix3-usb-uhci > allows it to boot too. Even removing the explicit bus address from > piix3-usb-uhci allow it to boot. > > Nikolai, please verify if this is the issue you're seeing, and > please try without sound device. If this is the case, let's > downgrade this bug from important to normal, since emulated sound > devices aren't really of high priority in this context, and there > should be easy workaround (to disable sound). I wasn't able to get a backtrace, unfortunately. It just isn't printed. Could I be missing some trick? However, removing the sound device did help. I'll try the patch you sent in another message next. Thank you.