Bugs item #2778366, was opened at 2009-04-21 22:30
Message generated for change (Tracker Item Submitted) made by encmonkey
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2778366&group_id=180599
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: kernel
Group: v1.0 (example)
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Ian Cote (encmonkey)
Assigned to: Nobody/Anonymous (nobody)
Summary: kvm-84 pci passthrough errors
Initial Comment:
Hello!
This is running on dual quad core Xeons on Ubuntu 9.04rc on kvm-84 (ubuntu
package version) 64bit. The guest is the 8.10 64bit mythbuntu distribution.
I'm trying to allow a linux guest access to a haupppage tv tuner card:
0b:00.0 Multimedia video controller: Conexant Systems, Inc. Device 8880 (rev 0f)
Subsystem: Hauppauge computer works Inc. Device 7801
Flags: bus master, fast devsel, latency 0, IRQ 52
Memory at fde00000 (64-bit, non-prefetchable) [size=2M]
Capabilities: [40] Express Endpoint, MSI 00
Capabilities: [80] Power Management version 2
Capabilities: [90] Vital Product Data <?>
Capabilities: [a0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0
Enable-
Capabilities: [100] Advanced Error Reporting <?>
Capabilities: [200] Virtual Channel <?>
Kernel modules: cx23885
I have the card on it's own bus, and when the card was owned by the host, it
had its own irq. The driver (cx23885) is blacklisted on the host and not
loaded.:
-[0000:00]-+-00.0 Intel Corporation 5400 Chipset Memory Controller Hub
+-01.0-[0000:0c]--
+-05.0-[0000:0b]----00.0 Conexant Systems, Inc. Device 8880
+-09.0-[0000:05-0a]--+-00.0-[0000:08-0a]--+-00.0-[0000:0a]--
| | \-02.0-[0000:09]--+-00.0
Intel Corporation 80003ES2LAN Gigabit Ethernet Controller (Copper)
| | \-00.1
Intel Corporation 80003ES2LAN Gigabit Ethernet Controller (Copper)
| \-00.3-[0000:06-07]----01.0-[0000:07]----0e.0
Areca Technology Corp. ARC-1110 4-Port PCI-X to SATA RAID Controller
+-0f.0 Intel Corporation 5400 Chipset QuickData Technology Device
+-10.0 Intel Corporation 5400 Chipset FSB Registers
+-10.1 Intel Corporation 5400 Chipset FSB Registers
+-10.2 Intel Corporation 5400 Chipset FSB Registers
+-10.3 Intel Corporation 5400 Chipset FSB Registers
+-10.4 Intel Corporation 5400 Chipset FSB Registers
+-11.0 Intel Corporation 5400 Chipset CE/SF Registers
+-15.0 Intel Corporation 5400 Chipset FBD Registers
+-15.1 Intel Corporation 5400 Chipset FBD Registers
+-16.0 Intel Corporation 5400 Chipset FBD Registers
+-16.1 Intel Corporation 5400 Chipset FBD Registers
+-1c.0-[0000:04]--
+-1c.2-[0000:03]----00.0 Intel Corporation 82573L Gigabit Ethernet
Controller
+-1c.3-[0000:02]----00.0 Intel Corporation 82573L Gigabit Ethernet
Controller
+-1d.0 Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB
Controller #1
+-1d.1 Intel Corporation 631xESB/632xESB/3100 Chipset UHCI USB
Controller #2
+-1d.7 Intel Corporation 631xESB/632xESB/3100 Chipset EHCI USB2
Controller
+-1e.0-[0000:01]----02.0 XGI Technology Inc. (eXtreme Graphics
Innovation) Volari Z7/Z9/Z9s
+-1f.0 Intel Corporation 631xESB/632xESB/3100 Chipset LPC Interface
Controller
+-1f.1 Intel Corporation 631xESB/632xESB IDE Controller
+-1f.2 Intel Corporation 631xESB/632xESB/3100 Chipset SATA IDE
Controller
\-1f.3 Intel Corporation 631xESB/632xESB/3100 Chipset SMBus
Controller
Currently I'm getting a ton of warning logs in my kern|message|syslog files to
the point that I've got a 500M kern.log file in 16 hours. The message being
logged is this:
[ 1380.127579] WARNING: at /build/buildd/linux-2.6.28/kernel/irq/manage.c:225
__enable_irq+0x2f/0x80()
[ 1380.127581] Unbalanced enable for IRQ 52
[ 1380.127581] Modules linked in: tun kvm_intel kvm bridge stp coretemp w83793
hwmon_vid i2c_i801 lp parport iTCO_wdt iTCO_vendor_support shpchp psmouse
serio_raw pcspkr joydev
xfs hid_microsoft usbhid arcmsr e1000e raid10 raid456 async_xor async_memcpy
async_tx xor raid1 raid0 multipath linear fbcon tileblit font bitblit softcursor
[ 1380.127599] Pid: 4632, comm: kvm Tainted: G W 2.6.28-11-server
#42-Ubuntu
[ 1380.127600] Call Trace:
[ 1380.127604] [<ffffffff80250927>] warn_slowpath+0xb7/0xf0
[ 1380.127606] [<ffffffff802424b2>] ? enqueue_entity+0x122/0x2b0
[ 1380.127609] [<ffffffff802486cd>] ? enqueue_task_fair+0x3d/0x80
[ 1380.127611] [<ffffffff802199e6>] ? read_tsc+0x16/0x40
[ 1380.127613] [<ffffffff802708b9>] ? getnstimeofday+0x59/0xe0
[ 1380.127615] [<ffffffff8026c5c9>] ? ktime_get_ts+0x59/0x60
[ 1380.127617] [<ffffffff80274b4e>] ? tick_dev_program_event+0x3e/0xc0
[ 1380.127625] [<ffffffffa020a041>] ? gfn_to_hva+0x11/0x90 [kvm]
[ 1380.127632] [<ffffffffa020a1b2>] ? kvm_read_guest_page+0x62/0x70 [kvm]
[ 1380.127640] [<ffffffffa021f33d>] ? pic_irq_request+0x2d/0x80 [kvm]
[ 1380.127643] [<ffffffff8029fbef>] __enable_irq+0x2f/0x80
[ 1380.127645] [<ffffffff8029fc92>] enable_irq+0x52/0x80
[ 1380.127652] [<ffffffffa02098eb>] kvm_assigned_dev_ack_irq+0x2b/0x40 [kvm]
[ 1380.127659] [<ffffffffa020cefa>] kvm_notify_acked_irq+0x3a/0x60 [kvm]
[ 1380.127667] [<ffffffffa020cabc>] kvm_ioapic_update_eoi+0x4c/0xa0 [kvm]
[ 1380.127674] [<ffffffffa02212d5>] apic_mmio_write+0x215/0x440 [kvm]
[ 1380.127681] [<ffffffffa020f12e>] ? vcpu_find_mmio_dev+0x3e/0x80 [kvm]
[ 1380.127689] [<ffffffffa0211e5b>] emulator_write_emulated_onepage+0x9b/0x120
[kvm]
[ 1380.127696] [<ffffffffa0211f50>] emulator_write_emulated+0x70/0x90 [kvm]
[ 1380.127704] [<ffffffffa021c36f>] x86_emulate_insn+0x4ef/0x32e0 [kvm]
[ 1380.127712] [<ffffffffa021a50e>] ? do_insn_fetch+0x8e/0x100 [kvm]
[ 1380.127715] [<ffffffff8022d61d>] ? init_one_hpet_msi_clockevent+0x19d/0x200
[ 1380.127722] [<ffffffffa021bcb0>] ? x86_decode_insn+0x7a0/0x970 [kvm]
[ 1380.127729] [<ffffffffa0209189>] ? kvm_io_bus_find_dev+0x69/0x80 [kvm]
[ 1380.127737] [<ffffffffa021321f>] emulate_instruction+0x15f/0x2f0 [kvm]
[ 1380.127741] [<ffffffffa0239011>] handle_apic_access+0x21/0x60 [kvm_intel]
[ 1380.127744] [<ffffffffa023ac25>] kvm_handle_exit+0xb5/0x1d0 [kvm_intel]
[ 1380.127747] [<ffffffff8069db53>] ? __down_read+0xc3/0xce
[ 1380.127754] [<ffffffffa020e958>] vcpu_enter_guest+0x1f8/0x400 [kvm]
[ 1380.127762] [<ffffffffa021078a>] ? kvm_write_guest_time+0x12a/0x1b0 [kvm]
[ 1380.127769] [<ffffffffa0210c29>] __vcpu_run+0x69/0x2d0 [kvm]
[ 1380.127777] [<ffffffffa02148ea>] kvm_arch_vcpu_ioctl_run+0x8a/0x1f0 [kvm]
[ 1380.127784] [<ffffffffa0209582>] kvm_vcpu_ioctl+0x2e2/0x5a0 [kvm]
[ 1380.127786] [<ffffffff802781ed>] ? futex_requeue+0xfd/0x2e0
[ 1380.127789] [<ffffffff802f60c1>] vfs_ioctl+0x31/0xa0
[ 1380.127791] [<ffffffff802f6475>] do_vfs_ioctl+0x75/0x230
[ 1380.127793] [<ffffffff802f66c9>] sys_ioctl+0x99/0xa0
[ 1380.127796] [<ffffffff8069e7b9>] ? do_device_not_available+0x9/0x10
[ 1380.127798] [<ffffffff8021253a>] system_call_fastpath+0x16/0x1b
[ 1380.127799] ---[ end trace 9cdf556a40d0aa4d ]---
[ 1413.415908] ------------[ cut here ]------------
The hostdev portion of the client file is this:
<hostdev mode='subsystem' type='pci' managed='yes'> (I've tried yes and no
with the same results)
<source>
<address domain='0x0000' bus='0x0b' slot='0x00' function='0x0'/>
</source>
</hostdev>
Is this kind of card unsupported for pci passthrough, or am I doing something
wrong?
Thanks,
ian
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=893831&aid=2778366&group_id=180599
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html