Bug 83381 - 4-ports 82576 detect 2 ports when add "intel_iommu=on pci=assign-busses".
Summary: 4-ports 82576 detect 2 ports when add "intel_iommu=on pci=assign-busses".
Status: NEW
Alias: None
Product: Virtualization
Classification: Unclassified
Component: kvm (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: virtualization_kvm
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-28 01:54 UTC by Zhou, Chao
Modified: 2014-09-05 07:00 UTC (History)
3 users (show)

See Also:
Kernel Version: 3.17.0-rc1
Subsystem:
Regression: No
Bisected commit-id:


Attachments
dmesg-good (51.96 KB, text/plain)
2014-08-28 02:01 UTC, Zhou, Chao
Details
lspci good (440 bytes, application/octet-stream)
2014-08-28 02:01 UTC, Zhou, Chao
Details
lspci-t-good (534 bytes, text/plain)
2014-08-28 02:02 UTC, Zhou, Chao
Details
dmesg-bad (43.17 KB, text/plain)
2014-08-28 02:02 UTC, Zhou, Chao
Details
lspci-bad (262 bytes, text/plain)
2014-08-28 02:03 UTC, Zhou, Chao
Details
lspci-t-bad (1.55 KB, application/octet-stream)
2014-08-28 02:03 UTC, Zhou, Chao
Details

Description Zhou, Chao 2014-08-28 01:54:21 UTC
Environment:
------------
Host OS (ia32/ia32e/IA64):ia32e
Guest OS (ia32/ia32e/IA64):ia32e
Guest OS Type (Linux/Windows):linux
kvm.git Commit:54ad89b05ec49b90790de814647b244d3d2cc5ca
qemu.git Commit:c47c61be8dcd91689c8fc77776db924d684c3b39
Host Kernel Version:3.17.0-rc1
Hardware:HSW-Desktop

Bug detailed description:
--------------------------
the 4-ports 82576 can detect 2 ports when add "intel_iommu=on pci=assign-busses" in kernel of grub.
the 4-ports 82576 can detect 4 ports without "intel_iommu=on pci=assign-busses"
when add "intel_iommu=on", 4-ports 82576 detected 4 ports.
when add "pci=assign-busses" ,the 4-ports 82576 can detect 2 ports.

note: 
kernel version: 3.0.0+ (kvm+qemu-kvm:e72ef590_fda19064)
1.the 4-ports 82576 can detect 4 ports when add "intel_iommu=on pci=assign-busses".
2. when add "intel_iommu=on" or "pci=assign-busses" to boot the system, 4-ports 82576 detected 4 ports


Reproduce steps:
----------------
1. add "intel_iommu=on pci=assign-busses" in kernel of grub
2. boot up the system
3. lspci | grep Eth

Current result:
----------------
4-ports 82576 detect 2 ports

Expected result:
----------------
4-ports 82576 detect 4 ports



Basic root-causing log:
----------------------
Comment 1 Zhou, Chao 2014-08-28 02:01:08 UTC
Created attachment 148561 [details]
dmesg-good
Comment 2 Zhou, Chao 2014-08-28 02:01:39 UTC
Created attachment 148571 [details]
lspci good
Comment 3 Zhou, Chao 2014-08-28 02:02:18 UTC
Created attachment 148581 [details]
lspci-t-good
Comment 4 Zhou, Chao 2014-08-28 02:02:55 UTC
Created attachment 148591 [details]
dmesg-bad
Comment 5 Zhou, Chao 2014-08-28 02:03:25 UTC
Created attachment 148601 [details]
lspci-bad
Comment 6 Zhou, Chao 2014-08-28 02:03:56 UTC
Created attachment 148611 [details]
lspci-t-bad
Comment 7 Wanpeng Li 2014-09-04 23:30:06 UTC
Hi Chao,
Comment 8 Wanpeng Li 2014-09-04 23:31:22 UTC
Cc Alex Williamson <alex.williamson@redhat.com>
Comment 9 Alex Williamson 2014-09-05 00:27:27 UTC
Is this a regression?

Has it ever worked?

Why is this filed against kvm since it appears to have no relation to qemu or kvm?
Comment 10 Robert Ho 2014-09-05 07:00:55 UTC
I greped its history, it was found on 3.9 kernel and was cerntain it was fine in 3.0. I think it shall be a regression.
As for the component it's related to, I agree we can change its component to kernle or else, other than KVM.

Note You need to log in before you can comment on or make changes to this bug.