Test with VT-d patches
A message that is not in the archive (sent off-list or not yet received): 20301128.193551220365059586.JavaMail.servlet@kundenserver
Quoted 9 lines · On Tue, Sep 2, 2008 at 4:17 PM, <[email protected]> wrote:
Hi,
here comes a small part of the dmesg output. Qemu/KVM produces now a CPU usage of about 90%.
Sep 2 11:27:35 ubuntu klogd: [ 335.057707] ------------[ cut here ]------------ Sep 2 11:27:35 ubuntu klogd: [ 335.057711] WARNING: at kernel/irq/manage.c:180 __enable_irq+0x34/0x80() Sep 2 11:27:35 ubuntu klogd: [ 335.057713] Unbalanced enable for IRQ 21
[...]
Quoted 2 lines
This messages comes endless.
Something with IRQs?
Hum, seems that interrupt has already been enabled... did you load the driver for the NIC in the host? With pass-through the device is "owned" by the guest.
Luca
After I destroyed the guest by clicking qume "x" button, and assigned the same assigned device to guest, I met this same issue. The reason is the assigned device doesn't exit normally, then its status is incorrect. Doing FLR should solve the issue. We will add FLR mechanism for it later.
For Gregor's issue, I suspect your device is also in a incorrect status before assignment.
Randy (Weidong)
Quoted 89 lines · [email protected] wrote:
Hi,
here comes a small part of the dmesg output. Qemu/KVM produces now a CPU usage
of about 90%.Sep 2 11:27:35 ubuntu klogd: [ 335.057707] ------------[ cut here ]------------ Sep 2 11:27:35 ubuntu klogd: [ 335.057711] WARNING: at kernel/irq/manage.c:180 __enable_irq+0x34/0x80() Sep 2 11:27:35 ubuntu klogd: [ 335.057713] Unbalanced enable for IRQ 21 Sep 2 11:27:35 ubuntu klogd: [ 335.057714] Modules linked in:
kvm_intelkvm ipv6binfmt_misci915 drm rfcomm l2cap bluetooth ppdevcpufreq_ondemandcpufreq_conservativecpufreq_statsfreq_tablecpufreq_powersavecpufreq_userspacesbs wmi container sbshc video outputpci_slotbay batteryiptable_filterip_tablesx_tablesac lp loopsnd_hda_intelsnd_pcm_osssnd_mixer_osssnd_pcmsnd_seq_dummysnd_seq_osssnd_seq_midisnd_rawmidisnd_seq_midi_eventsnd_seqsnd_timersnd_seq_deviceiTCO_wdtserio_rawpsmouseiTCO_vendor_supportsnd soundcoresnd_page_allocparport_pcparport button shpchppci_hotplugintel_agpjoydev evdev dcdbas ext3 jbd mbcache sgsd_modcrc_t10difsr_modcdromata_genericusbhid hidpata_acpiahci 8139tooehci_hcdlibatauhci_hcd8139cp miiscsi_modusbcore dock thermal processor fan fuse Sep 2 11:27:35 ubuntu klogd:[ 335.057756] Pid: 6609, comm: qemu-system-x86 Tainted: G W 2.6.27-rc4 #5 Sep 2 11:27:35 ubuntu klogd: [ 335.057758] Sep 2 11:27:35 ubuntu klogd: [ 335.057758] Call Trace: Sep 2 11:27:35 ubuntu klogd: [ 335.057761] [<ffffffff802469bc>] warn_slowpath+0xbc/0xf0 Sep 2 11:27:35 ubuntu klogd: [ 335.057769] [<ffffffffa0450ba6>] ? walk_shadow+0x96/0xe0 [kvm] Sep 2 11:27:35 ubuntu klogd: [ 335.057777] [<ffffffffa0455190>] ? paging64_page_fault+0x220/0x270 [kvm] Sep 2 11:27:35 ubuntu klogd: [ 335.057785] [<ffffffffa0456a78>] ? x86_decode_insn+0x8a8/0xe20 [kvm] Sep 2 11:27:35 ubuntu klogd: [ 335.057792] [<ffffffffa04536c0>] ? paging64_shadow_walk_entry+0x0/0x210 [kvm] Sep 2 11:27:35 ubuntu klogd: [ 335.057795] [<ffffffff80294a04>] __enable_irq+0x34/0x80 Sep 2 11:27:35 ubuntu klogd: [ 335.057797] [<ffffffff80294aa2>] enable_irq+0x52/0x80 Sep 2 11:27:35 ubuntu klogd: [ 335.057805] [<ffffffffa044acad>] kvm_assigned_dev_ack_irq+0x2d/0x40 [kvm] Sep 2 11:27:35 ubuntu klogd: [ 335.057812] [<ffffffffa045ad4a>] kvm_notify_acked_irq+0x3a/0x60 [kvm] Sep 2 11:27:35 ubuntu klogd: [ 335.057820] [<ffffffffa045ac01>] kvm_pic_read_irq+0x91/0x140 [kvm] Sep 2 11:27:35 ubuntu klogd: [ 335.057827] [<ffffffffa045ae8f>] kvm_cpu_get_interrupt+0x5f/0x70 [kvm] Sep 2 11:27:35 ubuntu klogd: [ 335.057831] [<ffffffffa0475748>] vmx_intr_assist+0x178/0x190 [kvm_intel] Sep 2 11:27:35 ubuntu klogd: [ 335.057838] [<ffffffffa04503c8>] kvm_arch_vcpu_ioctl_run+0x3a8/0x810 [kvm] Sep 2 11:27:35 ubuntu klogd: [ 335.057841] [<ffffffff8026193a>] ? enqueue_hrtimer+0x8a/0x140 Sep 2 11:27:35 ubuntu klogd: [ 335.057848] [<ffffffffa04455d2>] kvm_vcpu_ioctl+0x2f2/0x5b0 [kvm] Sep 2 11:27:35 ubuntu klogd: [ 335.057856] [<ffffffffa0446d75>] ? kvm_vm_ioctl+0xd5/0x280 [kvm] Sep 2 11:27:35 ubuntu klogd: [ 335.057858] [<ffffffff8020a675>] ? __switch_to+0x265/0x490 Sep 2 11:27:35 ubuntu klogd: [ 335.057860] [<ffffffff802ef7c6>] vfs_ioctl+0x36/0xb0 Sep 2 11:27:35 ubuntu klogd: [ 335.057862] [<ffffffff804e6259>] ? thread_return+0x3d/0x654 Sep 2 11:27:35 ubuntu klogd: [ 335.057864] [<ffffffff802efac3>] do_vfs_ioctl+0x283/0x2f0 Sep 2 11:27:35 ubuntu klogd: [ 335.057866] [<ffffffff802e2078>] ? fget_light+0x68/0xb0 Sep 2 11:27:35 ubuntu klogd: [ 335.057868] [<ffffffff802efbd1>] sys_ioctl+0xa1/0xb0 Sep 2 11:27:35 ubuntu klogd: [ 335.057870] [<ffffffff8020c7da>] system_call_fastpath+0x16/0x1b Sep 2 11:27:35 ubuntu klogd: [ 335.057872] Sep 2 11:27:35 ubuntu klogd: [ 335.057873] ---[ end trace
5c1916f7999c68bb]--This messages comes endless.
Something with IRQs?Regards,
Gregor Glomm