Bug 645322
Summary: | Emit message "BUG: kvm_destroy_phys_mem: invalid parameters (slot=-1)" when boot guest with vf/pf attached | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | juzhang <juzhang> |
Component: | kvm | Assignee: | Alex Williamson <alex.williamson> |
Status: | CLOSED WONTFIX | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 5.6 | CC: | michen, mkenneth, virt-maint, ykaul |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-06-03 15:26:34 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 580946 |
Description
juzhang
2010-10-21 10:18:29 UTC
Host dmesg when boot guest with pf attached 1.before boot guest,clear dmesg #dmesg -c #dmesg 2.dmesg while booting guest with pf attached #dmesg device tap0 entered promiscuous mode breth0: topology change detected, propagating breth0: port 2(tap0) entering forwarding state PCI: Enabling device 0000:03:00.1 (0400 -> 0403) ACPI: PCI Interrupt 0000:03:00.1[B] -> GSI 40 (level, low) -> IRQ 210 PM: Writing back config space on device 0000:03:00.1 at offset f (was 200, writing 207) PM: Writing back config space on device 0000:03:00.1 at offset c (was 0, writing 400000) PM: Writing back config space on device 0000:03:00.1 at offset 7 (was 0, writing e3244000) PM: Writing back config space on device 0000:03:00.1 at offset 6 (was 1, writing b021) PM: Writing back config space on device 0000:03:00.1 at offset 5 (was 0, writing e3800000) PM: Writing back config space on device 0000:03:00.1 at offset 4 (was 0, writing e3220000) PM: Writing back config space on device 0000:03:00.1 at offset 1 (was 100000, writing 100400) assign device: host bdf = 3:0:1 printk: 7 messages suppressed. kvm: 6492: cpu0 unimplemented perfctr wrmsr: 0x186 data 0x130079 kvm: 6492: cpu0 unimplemented perfctr wrmsr: 0xc1 data 0xffd74eae kvm: 6492: cpu0 unimplemented perfctr wrmsr: 0x186 data 0x530079 kvm: 6492: cpu1 unimplemented perfctr wrmsr: 0x186 data 0x130079 kvm: 6492: cpu1 unimplemented perfctr wrmsr: 0xc1 data 0xffd74eae kvm: 6492: cpu1 unimplemented perfctr wrmsr: 0x186 data 0x530079 kvm: 6492: cpu2 unimplemented perfctr wrmsr: 0x186 data 0x130079 kvm: 6492: cpu2 unimplemented perfctr wrmsr: 0xc1 data 0xffd74eae kvm: 6492: cpu2 unimplemented perfctr wrmsr: 0x186 data 0x530079 kvm: 6492: cpu3 unimplemented perfctr wrmsr: 0x186 data 0x130079 While annoying, I believe this error message is harmless. When a PCI bar is mapped, device assignment attempts tries to destroy the previous mapping so that it can setup the new mapping. However, the core PCI code has already set the previous mapping to unassigned, which essentially does the same thing. So when device assignment does it, it's already been cleared, so we get the error messages. This upstream patch seems to resolve it by checking mappings before blindly trying to remove them: http://git.kernel.org/?p=virt/kvm/qemu-kvm.git;a=commitdiff;h=f839a3ef7103dd745a1bd9290655df0d69c3f3b2 This request was evaluated by Red Hat Product Management for inclusion in the current release of Red Hat Enterprise Linux. Because the affected component is not scheduled to be updated in the current release, Red Hat is unfortunately unable to address this request at this time. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. This request was erroneously denied for the current release of Red Hat Enterprise Linux. The error has been fixed and this request has been re-proposed for the current release. This is a benign error message when caused by device assignment. It potentially serves a purpose for non-device assignment triggers, but we can't tell the difference at the place in the code where this occurs. Fixing would require potentially intrusive changes. Resolving as WONTFIX. |