Public bug reported:

Within Quantal I cannot start a kvm client using graphical card (amd hd
5450) (anymore). I can start a different client using a differrent
device (usb device)

I've had this machine running under Quantal with the pci device assigned and 
was still trying to verify it's proper operation. 
- It could be due to an xorg update within Quantal that I'm having problems 
now, but I've unassigned the device
- It could be due to a kernel update within Quantal, I'm seeing a kernel BUG 
line within dmesg

Under 12.04 this client machine just can be started.

The message shown by virt-manager, on starting the machine:
Error starting domain: Timed out during operation: cannot acquire state change 
lock

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 96, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 117, in tmpcb
    callback(*args, **kwargs)
  File "/usr/share/virt-manager/virtManager/domain.py", line 1090, in startup
    self._backend.create()
  File "/usr/lib/python2.7/dist-packages/libvirt.py", line 620, in create
    if ret == -1: raise libvirtError ('virDomainCreate() failed', dom=self)
libvirtError: Timed out during operation: cannot acquire state change lock


An extract from dmesg (grep -i msi) the device I'm trying to assign is 
0000:06:00.0
(device 0000:03:00.0 is the usb device for the other machine that does work)

[    2.267420] xhci_hcd 0000:04:00.0: >irq 85 for MSI/MSI-X
[    2.267426] xhci_hcd 0000:04:00.0: >irq 86 for MSI/MSI-X
[    2.919867] r8169 0000:09:00.0: >irq 87 for MSI/MSI-X
[   11.237982] snd_hda_intel 0000:05:00.1: >irq 88 for MSI/MSI-X
[   11.256406] snd_hda_intel 0000:06:00.1: >irq 89 for MSI/MSI-X
[   40.246889] fglrx_pci 0000:05:00.0: >irq 90 for MSI/MSI-X
[   40.486203] fglrx_pci 0000:06:00.0: >irq 91 for MSI/MSI-X
[ 2223.578420] pci-stub 0000:03:00.0: >irq 73 for MSI/MSI-X
[ 2223.587210] pci-stub 0000:03:00.0: >irq 73 for MSI/MSI-X
[ 2223.587228] pci-stub 0000:03:00.0: >irq 74 for MSI/MSI-X
[ 2466.712694] kernel BUG at /build/buildd/linux-3.5.0/drivers/pci/msi.c:341!
[ 2466.712743] RIP: 0010:[<ffffffff8136ba84>]  [<ffffffff8136ba84>] 
free_msi_irqs+0x144/0x150
[ 2466.712778]  [<ffffffff8136c905>] pci_disable_msi+0x45/0x70
[ 2466.712854] RIP  [<ffffffff8136ba84>] free_msi_irqs+0x144/0x150


the libvirt/qemu log for the device:
2012-10-21 07:14:04.523+0000: starting up
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin 
QEMU_AUDIO_DRV=none /usr/bin/kvm -name opencl-d3 -S -M pc-1.2 -enable-kvm -m 
1024 -smp 5,sockets=5,cores=1,threads=1 -uuid 
50508978-b639-f497-0016-6c9d543f0d03 -no-user-config -nodefaults -chardev 
socket,id=charmonitor,path=/var/lib/libvirt/qemu/opencl-d3.monitor,server,nowait
 -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown 
-device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive 
file=/mnt/data/kvm/opencl-d3/vda.img,if=none,id=drive-virtio-disk0,format=raw 
-device 
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
 -netdev tap,fd=36,id=hostnet0,vhost=on,vhostfd=37 -device 
virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:d4:a7:25,bus=pci.0,addr=0x3 
-chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 
-vnc 127.0.0.1:13 -vga cirrus -device intel-hda,id=sound0,bus=pci.0,addr=0x4 
-device hda-duplex,id=sound0-codec0,bus=sound0.0,cad=0 -device 
pci-assign,host=06:00.0,id=hostdev0,configfd=38,bus=pci.0,addr=0x7 -device 
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6
char device redirected to /dev/pts/17
Host-side INTx sharing not supported, using MSI instead.
Some devices do not to work properly in this mode.

compared with 12.04, two lines are added to the log: Host-side... and
Some...

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: qemu-kvm 1.2.0+noroms-0ubuntu2
ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
Uname: Linux 3.5.0-17-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.6.1-0ubuntu3
Architecture: amd64
Date: Sun Oct 21 09:18:25 2012
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121015.2)
MachineType: To be filled by O.E.M. To be filled by O.E.M.
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.5.0-17-generic 
root=UUID=a7db4ac4-4331-403e-a928-7e9ab41e1231 ro quiet splash vt.handoff=7
SourcePackage: qemu-kvm
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/12/2012
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1102
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: SABERTOOTH 990FX
dmi.board.vendor: ASUSTeK COMPUTER INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: To Be Filled By O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: To Be Filled By O.E.M.
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr1102:bd03/12/2012:svnTobefilledbyO.E.M.:pnTobefilledbyO.E.M.:pvrTobefilledbyO.E.M.:rvnASUSTeKCOMPUTERINC.:rnSABERTOOTH990FX:rvrRev1.xx:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
dmi.product.name: To be filled by O.E.M.
dmi.product.version: To be filled by O.E.M.
dmi.sys.vendor: To be filled by O.E.M.

** Affects: qemu-kvm (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug quantal

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to qemu-kvm in Ubuntu.
https://bugs.launchpad.net/bugs/1069302

Title:
  kvm client does not start with pci passthrough (amd hd5450)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu-kvm/+bug/1069302/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to