Bug#907637: bonding with virtio NICs does not work any more

2019-09-20 Thread Salvatore Bonaccorso
Hi Robert,

On Mon, Nov 12, 2018 at 05:08:56PM +0100, Salvatore Bonaccorso wrote:
> hi Robert,
> 
> On Sun, Sep 09, 2018 at 03:38:53PM +0200, Salvatore Bonaccorso wrote:
> > Control: tags -1 + moreinfo
> > 
> > Hi Robert,
> > 
> > If you downgrate to 4.9.107-1 (which was only in
> > stretch-proposed-updates and then superseeded by 4.9.110-1), does you
> > problem disapear?
> > 
> > In 4.9.110-1 I see the change backported from
> > https://git.kernel.org/linus/b5bf0f5b16b9c316c34df9f31d4be8729eb86845
> > 
> > In mainline there was a followup, to ratelimit the warning:
> > https://git.kernel.org/linus/11e9d7829dd08dbafb24517fe922f11c3a8a9dc2
> 
> Did you got a chance to check this? Does cherry picking the above
> commit solves the issue?

We did not see a followup on #907637. Did you had a chance to verify
on the above?

Regards,
Salvatore



Bug#907637: bonding with virtio NICs does not work any more

2018-11-12 Thread Salvatore Bonaccorso
hi Robert,

On Sun, Sep 09, 2018 at 03:38:53PM +0200, Salvatore Bonaccorso wrote:
> Control: tags -1 + moreinfo
> 
> Hi Robert,
> 
> If you downgrate to 4.9.107-1 (which was only in
> stretch-proposed-updates and then superseeded by 4.9.110-1), does you
> problem disapear?
> 
> In 4.9.110-1 I see the change backported from
> https://git.kernel.org/linus/b5bf0f5b16b9c316c34df9f31d4be8729eb86845
> 
> In mainline there was a followup, to ratelimit the warning:
> https://git.kernel.org/linus/11e9d7829dd08dbafb24517fe922f11c3a8a9dc2

Did you got a chance to check this? Does cherry picking the above
commit solves the issue?

Regards,
Salvatore



Processed: Re: Bug#907637: bonding with virtio NICs does not work any more

2018-09-09 Thread Debian Bug Tracking System
Processing control commands:

> tags -1 + moreinfo
Bug #907637 [src:linux] bonding with virtio NICs does not work any more
Added tag(s) moreinfo.

-- 
907637: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=907637
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#907637: bonding with virtio NICs does not work any more

2018-09-09 Thread Salvatore Bonaccorso
Control: tags -1 + moreinfo

Hi Robert,

If you downgrate to 4.9.107-1 (which was only in
stretch-proposed-updates and then superseeded by 4.9.110-1), does you
problem disapear?

In 4.9.110-1 I see the change backported from
https://git.kernel.org/linus/b5bf0f5b16b9c316c34df9f31d4be8729eb86845

In mainline there was a followup, to ratelimit the warning:
https://git.kernel.org/linus/11e9d7829dd08dbafb24517fe922f11c3a8a9dc2

Regards,
Salvatore



Bug#907637: bonding with virtio NICs does not work any more

2018-08-30 Thread Robert Sander
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