Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Descriptionyalzhang@redhat.com
2021-09-23 03:03:27 UTC
Description of problem:
hotplug interface initialized fail in guest with "no MMIO resource"
Version-Release number of selected component (if applicable):
qemu-kvm-6.1.0-2.el9.x86_64
How reproducible:
100%
Steps to Reproduce:
1. start a q35 guest with pcie-to-pci-bridge;
2. hotpolug an interface to this pcie-to-pci-bridge, and check it on the vm, the hotplug interface can not be initialized successfully.
# virsh attach-interface new network default --model rtl8139
Interface attached successfully
# virsh dumpxml new
<controller type='pci' index='5' model='pcie-to-pci-bridge'>
<model name='pcie-pci-bridge'/>
<alias name='pci.5'/>
<address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
</controller>
......
<interface type='network'>
<mac address='52:54:00:f7:0c:ab'/>
<source network='default' portid='d8c4430d-cf35-4d21-aa52-58cb510de627' bridge='virbr0'/>
<target dev='vnet5'/>
<model type='rtl8139'/>
<alias name='net1'/>
<address type='pci' domain='0x0000' bus='0x05' slot='0x01' function='0x0'/>
</interface>
1) before hotplug, there is one network interface in vm:
# ip l
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
link/ether 52:54:00:4b:aa:00 brd ff:ff:ff:ff:ff:ff
2)hotplug will trigger some error msg as below in vm:
[root@localhost ~]# [ 26.266573] pci 0000:04:01.0: [10ec:8139] type 00 class 0x020000
[ 26.267988] pci 0000:04:01.0: reg 0x10: [io 0x0000-0x00ff]
[ 26.269126] pci 0000:04:01.0: reg 0x14: [mem 0x00000000-0x000000ff]
[ 26.270526] pci 0000:04:01.0: reg 0x30: [mem 0x00000000-0x0003ffff pref]
[ 26.276532] pci 0000:04:01.0: BAR 6: no space for [mem size 0x00040000 pref]
[ 26.277799] pci 0000:04:01.0: BAR 6: failed to assign [mem size 0x00040000 pref]
[ 26.278965] pci 0000:04:01.0: BAR 0: no space for [io size 0x0100]
[ 26.279814] pci 0000:04:01.0: BAR 0: failed to assign [io size 0x0100]
[ 26.280681] pci 0000:04:01.0: BAR 1: no space for [mem size 0x00000100]
[ 26.281553] pci 0000:04:01.0: BAR 1: failed to assign [mem size 0x00000100]
[ 26.330164] 8139cp: 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
[ 26.331562] ACPI: \_SB_.GSIH: Enabled at IRQ 23
[ 26.332470] 8139cp 0000:04:01.0: no MMIO resource
[ 26.333723] 8139cp: probe of 0000:04:01.0 failed with error -5
[ 26.340081] 8139too: 8139too Fast Ethernet driver 0.9.28
[ 26.340768] 8139too 0000:04:01.0: This (id 10ec:8139 rev 20) is an enhanced 8139C+ chip, use 8139cp
[root@localhost ~]# ip l
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000
link/ether 52:54:00:4b:aa:00 brd ff:ff:ff:ff:ff:ff
[root@localhost ~]# # lspci | grep Eth
01:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
04:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8100/8101L/8139 PCI Fast Ethernet Adapter (rev 20)
Actual results:
interface hotplug to pcie-to-pci-bridge can not be initialized successfully
Expected results:
should initialized successfully
Additional info:
1)Starting vm with interface attached to pcie-to-pci-bridge has no such issue;
2)No issue with qemu-kvm-6.0.0-13.el9.x86_64
Comment 1yalzhang@redhat.com
2021-09-23 03:31:41 UTC
*** This bug has been marked as a duplicate of bug 2001732 ***
Description of problem: hotplug interface initialized fail in guest with "no MMIO resource" Version-Release number of selected component (if applicable): qemu-kvm-6.1.0-2.el9.x86_64 How reproducible: 100% Steps to Reproduce: 1. start a q35 guest with pcie-to-pci-bridge; 2. hotpolug an interface to this pcie-to-pci-bridge, and check it on the vm, the hotplug interface can not be initialized successfully. # virsh attach-interface new network default --model rtl8139 Interface attached successfully # virsh dumpxml new <controller type='pci' index='5' model='pcie-to-pci-bridge'> <model name='pcie-pci-bridge'/> <alias name='pci.5'/> <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/> </controller> ...... <interface type='network'> <mac address='52:54:00:f7:0c:ab'/> <source network='default' portid='d8c4430d-cf35-4d21-aa52-58cb510de627' bridge='virbr0'/> <target dev='vnet5'/> <model type='rtl8139'/> <alias name='net1'/> <address type='pci' domain='0x0000' bus='0x05' slot='0x01' function='0x0'/> </interface> 1) before hotplug, there is one network interface in vm: # ip l 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000 link/ether 52:54:00:4b:aa:00 brd ff:ff:ff:ff:ff:ff 2)hotplug will trigger some error msg as below in vm: [root@localhost ~]# [ 26.266573] pci 0000:04:01.0: [10ec:8139] type 00 class 0x020000 [ 26.267988] pci 0000:04:01.0: reg 0x10: [io 0x0000-0x00ff] [ 26.269126] pci 0000:04:01.0: reg 0x14: [mem 0x00000000-0x000000ff] [ 26.270526] pci 0000:04:01.0: reg 0x30: [mem 0x00000000-0x0003ffff pref] [ 26.276532] pci 0000:04:01.0: BAR 6: no space for [mem size 0x00040000 pref] [ 26.277799] pci 0000:04:01.0: BAR 6: failed to assign [mem size 0x00040000 pref] [ 26.278965] pci 0000:04:01.0: BAR 0: no space for [io size 0x0100] [ 26.279814] pci 0000:04:01.0: BAR 0: failed to assign [io size 0x0100] [ 26.280681] pci 0000:04:01.0: BAR 1: no space for [mem size 0x00000100] [ 26.281553] pci 0000:04:01.0: BAR 1: failed to assign [mem size 0x00000100] [ 26.330164] 8139cp: 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004) [ 26.331562] ACPI: \_SB_.GSIH: Enabled at IRQ 23 [ 26.332470] 8139cp 0000:04:01.0: no MMIO resource [ 26.333723] 8139cp: probe of 0000:04:01.0 failed with error -5 [ 26.340081] 8139too: 8139too Fast Ethernet driver 0.9.28 [ 26.340768] 8139too 0000:04:01.0: This (id 10ec:8139 rev 20) is an enhanced 8139C+ chip, use 8139cp [root@localhost ~]# ip l 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP mode DEFAULT group default qlen 1000 link/ether 52:54:00:4b:aa:00 brd ff:ff:ff:ff:ff:ff [root@localhost ~]# # lspci | grep Eth 01:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection 04:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8100/8101L/8139 PCI Fast Ethernet Adapter (rev 20) Actual results: interface hotplug to pcie-to-pci-bridge can not be initialized successfully Expected results: should initialized successfully Additional info: 1)Starting vm with interface attached to pcie-to-pci-bridge has no such issue; 2)No issue with qemu-kvm-6.0.0-13.el9.x86_64