Package: src:linux
Version: 4.9.110-3+deb9u4
Severity: critical
Hi,
For network testing reasons I run several KVM VMs with up to now four virtio
NICs,
where only one NIC is connected and the others are marked as "link_down" in the
KVM configuration.
In the guest the NICs are configured as bonding device with lacp. Up to
linux-image-4.9.0-6-amd64
this worked without issues. Starting with linux-image-4.9.0-7-amd64 the kernel
now reports
after booting:
Aug 27 12:01:39 test-gate-1 kernel: [ 22.881163] bond0: link status up for
interface ens18, enabling it in 0 ms
Aug 27 12:01:39 test-gate-1 kernel: [ 22.882881] bond0: failed to get link
speed/duplex for ens18
Aug 27 12:01:39 test-gate-1 kernel: [ 22.985209] bond0: link status up for
interface ens18, enabling it in 0 ms
Aug 27 12:01:39 test-gate-1 kernel: [ 22.986998] bond0: failed to get link
speed/duplex for ens18
Aug 27 12:01:39 test-gate-1 kernel: [ 23.089250] bond0: link status up for
interface ens18, enabling it in 0 ms
Aug 27 12:01:39 test-gate-1 kernel: [ 23.091765] bond0: failed to get link
speed/duplex for ens18
Aug 27 12:01:40 test-gate-1 kernel: [ 23.193170] bond0: link status up for
interface ens18, enabling it in 0 ms
Aug 27 12:01:40 test-gate-1 kernel: [ 23.195772] bond0: failed to get link
speed/duplex for ens18
ethtool also shows unknown speed and duplex for the virtio interfaces.
This seems to not have been an issue before linux-4.9.0-7.
Switching the virtual NICs from virtio to vmxnet3 solves the issue,
ethtool also reports speed and duplex mode.
I do not know if this is a KVM issue or a kernel issue, but as
the older kernel image works it looks more like a kernel issue to me.
-- Package-specific info:
** Kernel log: boot messages should be attached
** Model information
sys_vendor: QEMU
product_name: Standard PC (i440FX + PIIX, 1996)
product_version: pc-i440fx-2.11
chassis_vendor: QEMU
chassis_version: pc-i440fx-2.11
bios_vendor: SeaBIOS
bios_version: rel-1.11.0-0-g63451fca13-prebuilt.qemu-project.org
** PCI devices:
00:00.0 Host bridge [0600]: Intel Corporation 440FX - 82441FX PMC [Natoma]
[8086:1237] (rev 02)
Subsystem: Red Hat, Inc Qemu virtual machine [1af4:1100]
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR+ FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR- TAbort-
SERR- TAbort-
SERR- TAbort- SERR- TAbort-
SERR- TAbort- SERR- TAbort- SERR-
BAR=0 offset= size=
Capabilities: [70] Vendor Specific Information: VirtIO: Notify
BAR=4 offset=3000 size=1000 multiplier=0004
Capabilities: [60] Vendor Specific Information: VirtIO: DeviceCfg
BAR=4 offset=2000 size=1000
Capabilities: [50] Vendor Specific Information: VirtIO: ISR
BAR=4 offset=1000 size=1000
Capabilities: [40] Vendor Specific Information: VirtIO: CommonCfg
BAR=4 offset= size=1000
Kernel driver in use: virtio-pci
Kernel modules: virtio_pci
00:05.0 SCSI storage controller [0100]: Red Hat, Inc Virtio SCSI [1af4:1004]
Subsystem: Red Hat, Inc Virtio SCSI [1af4:0008]
Physical Slot: 5
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR+ FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR-
BAR=0 offset= size=
Capabilities: [70] Vendor Specific Information: VirtIO: Notify
BAR=4 offset=3000 size=1000 multiplier=0004
Capabilities: [60] Vendor Specific Information: VirtIO: DeviceCfg
BAR=4 offset=2000 size=1000
Capabilities: [50] Vendor Specific Information: VirtIO: ISR
BAR=4 offset=1000 size=1000
Capabilities: [40] Vendor Specific Information: VirtIO: CommonCfg
BAR=4 offset= size=1000
Kernel driver in use: virtio-pci
Kernel modules: virtio_pci
00:08.0 Communication controller [0780]: Red Hat, Inc Virtio console [1af4:1003]
Subsystem: Red Hat, Inc Virtio console [1af4:0003]
Physical Slot: 8
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr-
Stepping- SERR+ FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- SERR-
BAR=0 offset= size=
Capabilities: [70] Vendor Specific Information: VirtIO: Notify
BAR=4 offset=3000 size=1000 multiplier=0004
Capabilities: [60] Vendor Specific Information: VirtIO: DeviceCfg
BAR=4 offset=2000 size=1000
Capabilities: [50] Vendor Specific Information: VirtIO: ISR
BAR=4 offset=1000 size=1000
Capabilities: [40] Vendor Specific Information: VirtIO: CommonCfg