--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: linux-image-4.9.0-6-amd64: hv_netvsc stuk in loop if setting both channels and mtu
- From: Yorick de Wid <yorick17@outlook.com>
- Date: Thu, 22 Mar 2018 21:45:52 +0000
- Message-id: <AM0PR0402MB3475FC9063E29ECCB9F196A8DFA90@AM0PR0402MB3475.eurprd04.prod.outlook.com>
Package: src:linux
Version: 4.9.82-1+deb9u3
Severity: critical
Justification: breaks the whole system
Dear Maintainer,
If both the MTU and channels are set using ethtool the Microsoft Hyper-V network drivers crashes.
The network driver gets stuck in a loop and causes one or more kernel threads to consume all
processing power. In turn, this sometimes triggers a CPU soft lockup. Microsoft already fixed
the issue and pushed the patch upstream. The patch has been tested and solves the issue for this
Debian and kernel version. The kernel module should be updated to include the patch.
Thanks,
Y.
-- Package-specific info:
** Version:
Linux version 4.9.0-6-amd64 (debian-kernel@lists.debian.org) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1) ) #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02)
** Command line:
BOOT_IMAGE=/boot/vmlinuz-4.9.0-6-amd64 root=UUID=88905bff-0987-4bbb-8008-7559257d30db ro quiet
** Not tainted
** Kernel log:
[ 1.435836] input: Microsoft Vmbus HID-compliant Mouse as /devices/0006:045E:0621.0001/input/input0
[ 1.435891] hid 0006:045E:0621.0001: input: <UNKNOWN> HID v0.01 Mouse [Microsoft Vmbus HID-compliant Mouse] on
[ 1.436768] SCSI subsystem initialized
[ 1.437787] hv_vmbus: registering driver hv_storvsc
[ 1.439078] hv_vmbus: registering driver hv_netvsc
[ 1.439763] scsi host0: storvsc_host_t
[ 1.441200] hv_netvsc: hv_netvsc channel opened successfully
[ 1.444720] scsi 0:0:0:0: Direct-Access Msft Virtual Disk 1.0 PQ: 0 ANSI: 5
[ 1.448314] hv_netvsc 16e56bf6-b65b-4cf1-ab9b-7b633777ea52: Send section size: 6144, Section count:2560
[ 1.448900] hv_netvsc 16e56bf6-b65b-4cf1-ab9b-7b633777ea52: Device MAC 00:15:5d:03:a9:2d link state up
[ 1.450100] hv_netvsc: hv_netvsc channel opened successfully
[ 1.456672] hv_netvsc b1f72f74-0803-431e-9888-903c8114fad3: Send section size: 6144, Section count:2560
[ 1.456792] hv_netvsc b1f72f74-0803-431e-9888-903c8114fad3: Device MAC 00:15:5d:03:a9:2f link state down
[ 1.457487] hv_netvsc: hv_netvsc channel opened successfully
[ 1.460473] scsi 0:0:0:1: CD-ROM Msft Virtual DVD-ROM 1.0 PQ: 0 ANSI: 0
[ 1.463332] hv_netvsc ddf31567-ff1d-4c49-9154-fa861273de9a: Send section size: 6144, Section count:2560
[ 1.463512] hv_netvsc ddf31567-ff1d-4c49-9154-fa861273de9a: Device MAC 00:15:5d:03:a9:30 link state up
[ 1.479138] sr 0:0:0:1: [sr0] scsi-1 drive
[ 1.479138] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 1.479264] sr 0:0:0:1: Attached scsi CD-ROM sr0
[ 1.480155] sd 0:0:0:0: [sda] 266338304 512-byte logical blocks: (136 GB/127 GiB)
[ 1.480157] sd 0:0:0:0: [sda] 4096-byte physical blocks
[ 1.481055] sd 0:0:0:0: [sda] Write Protect is off
[ 1.481057] sd 0:0:0:0: [sda] Mode Sense: 0f 00 00 00
[ 1.481267] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 1.492431] sda: sda1 sda2 sda3
[ 1.493562] sd 0:0:0:0: [sda] Attached SCSI disk
[ 1.518009] random: fast init done
[ 1.558079] PM: Starting manual resume from disk
[ 1.558081] PM: Hibernation image partition 8:3 present
[ 1.558082] PM: Looking for hibernation image.
[ 1.558586] PM: Image not found (code -22)
[ 1.558587] PM: Hibernation image not present or could not be loaded.
[ 2.026673] EXT4-fs: Warning: mounting with data=journal disables delayed allocation and O_DIRECT support!
[ 2.036601] EXT4-fs (sda2): mounted filesystem with journalled data mode. Opts: (null)
[ 2.222932] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 2.269485] systemd[1]: systemd 232 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN)
[ 2.269528] systemd[1]: Detected virtualization microsoft.
[ 2.269531] systemd[1]: Detected architecture x86-64.
[ 2.271095] systemd[1]: Set hostname to <localhost>.
[ 2.574704] systemd[1]: Listening on udev Control Socket.
[ 2.574784] systemd[1]: Listening on Journal Audit Socket.
[ 2.574816] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 2.574847] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 2.574865] systemd[1]: Listening on udev Kernel Socket.
[ 2.574889] systemd[1]: Listening on Journal Socket (/dev/log).
[ 2.700162] EXT4-fs (sda2): re-mounted. Opts: errors=remount-ro
[ 2.746669] systemd-journald[221]: Received request to flush runtime journal from PID 1
[ 2.918130] input: PC Speaker as /devices/platform/pcspkr/input/input1
[ 2.919047] EFI Variables Facility v0.08 2004-May-17
[ 2.923692] pstore: using zlib compression
[ 2.923695] pstore: Registered efi as persistent store backend
[ 2.926211] hv_utils: Registering HyperV Utility Driver
[ 2.926212] hv_vmbus: registering driver hv_util
[ 2.927993] hv_utils: Using TimeSync version 4.0
[ 2.932101] hv_vmbus: registering driver hyperv_keyboard
[ 2.933301] input: AT Translated Set 2 keyboard as /de
vices/LNXSYSTM:00/LNXSYBUS:00/ACPI0004:00/VMBUS:00/d34b2567-b9b6-42b9-8778-0a4ec0b955bf/serio0/input/input2
[ 2.964645] hv_vmbus: registering driver hv_balloon
[ 2.964952] hv_vmbus: registering driver hyperv_fb
[ 2.965565] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 2.965611] sr 0:0:0:1: Attached scsi generic sg1 type 5
[ 2.966674] checking generic (f8000000 300000) vs hw (f8000000 300000)
[ 2.966675] fb: switching to hyperv_fb from EFI VGA
[ 2.966714] Console: switching to colour dummy device 80x25
[ 2.967557] hyperv_fb: Screen resolution: 1152x864, Color depth: 32
[ 2.968148] Console: switching to colour frame buffer device 144x54
[ 3.106392] sd 0:0:0:0: [storvsc] Sense Key : Illegal Request [current]
[ 3.106393] sd 0:0:0:0: [storvsc] Add. Sense: Invalid command operation code
[ 3.106565] sd 0:0:0:0: [storvsc] Sense Key : Illegal Request [current]
[ 3.106567] sd 0:0:0:0: [storvsc] Add. Sense: Invalid command operation code
[ 3.201830] Adding 2095100k swap on /dev/sda3. Priority:-1 extents:1 across:2095100k FS
[ 3.427555] Process accounting resumed
[ 3.505789] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 3.505795] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 3.537815] random: crng init done
[ 3.567286] sd 0:0:0:0: [storvsc] Sense Key : Illegal Request [current]
[ 3.567288] sd 0:0:0:0: [storvsc] Add. Sense: Invalid command operation code
[ 3.567487] sd 0:0:0:0: [storvsc] Sense Key : Illegal Request [current]
[ 3.567489] sd 0:0:0:0: [storvsc] Add. Sense: Invalid command operation code
[ 3.672689] FS-Cache: Loaded
[ 3.673689] Key type dns_resolver registered
[ 3.756955] FS-Cache: Netfs 'cifs' registered for caching
[ 3.757011] Key type cifs.spnego registered
[ 3.757015] Key type cifs.idmap registered
[ 3.824135] CIFS VFS: Error connecting to socket. Aborting operation.
[ 3.824711] CIFS VFS: cifs_mount failed w/return code = -111
[ 4.160072] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 4.270543] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
[ 4.508055] IPv6: ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready
[ 5.236923] hv_netvsc b1f72f74-0803-431e-9888-903c8114fad3: net device safe to remove
[ 5.241516] hv_netvsc: hv_netvsc channel opened successfully
[ 5.250387] hv_netvsc b1f72f74-0803-431e-9888-903c8114fad3: Send section size: 6144, Section count:2560
[ 5.250778] hv_netvsc b1f72f74-0803-431e-9888-903c8114fad3: Device MAC 00:15:5d:03:a9:2f link state down
[ 5.276022] hv_netvsc b1f72f74-0803-431e-9888-903c8114fad3: net device safe to remove
[ 5.280530] hv_netvsc: hv_netvsc channel opened successfully
[ 5.289421] hv_netvsc b1f72f74-0803-431e-9888-903c8114fad3: Send section size: 6144, Section count:2560
[ 5.289851] hv_netvsc b1f72f74-0803-431e-9888-903c8114fad3: Device MAC 00:15:5d:03:a9:2f link state down
[ 51.089607] hv_balloon: Received INFO_TYPE_MAX_PAGE_CNT
[ 51.089701] hv_balloon: Data Size is 8
[ 119.776493] fuse init (API version 7.26)
** Model information
sys_vendor: Microsoft Corporation
product_name: Virtual Machine
product_version: Hyper-V UEFI Release v1.0
chassis_vendor: Microsoft Corporation
chassis_version: Hyper-V UEFI Release v1.0
bios_vendor: Microsoft Corporation
bios_version: Hyper-V UEFI Release v1.0
board_vendor: Microsoft Corporation
board_name: Virtual Machine
board_version: Hyper-V UEFI Release v1.0
** Loaded modules:
fuse
cpufreq_conservative
cpufreq_userspace
cpufreq_powersave
nls_utf8
cifs
sha256_ssse3
cmac
md4
des_generic
arc4
dns_resolver
fscache
nls_ascii
nls_cp437
vfat
fat
serio_raw
crct10dif_pclmul
crc32_pclmul
ghash_clmulni_intel
sg
hyperv_fb
hv_balloon
hyperv_keyboard
hv_utils
efi_pstore
efivars
pcspkr
evdev
joydev
efivarfs
ip_tables
x_tables
autofs4
ext4
crc16
jbd2
crc32c_generic
fscrypto
ecb
mbcache
sd_mod
sr_mod
cdrom
crc32c_intel
hid_generic
hv_netvsc
hv_storvsc
scsi_transport_fc
scsi_mod
hid_hyperv
hid
aesni_intel
aes_x86_64
glue_helper
lrw
gf128mul
ablk_helper
cryptd
hv_vmbus
** Network interface configuration:
auto lo
iface lo inet loopback
iface eth0 inet static
address 192.168.17.6
netmask 255.255.255.0
iface eth0 inet6 manual
auto eth0
iface eth1 inet manual
iface eth1 inet6 manual
iface eth2 inet dhcp
iface eth2 inet6 manual
** Network status:
*** IP interfaces and addresses:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:15:5d:03:a9:2d brd ff:ff:ff:ff:ff:ff
inet 192.168.17.6/24 brd 192.168.17.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::215:5dff:fe03:a92d/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <NO-CARRIER,BROADCAST,NOARP,UP> mtu 9000 qdisc mq state DOWN group default qlen 830
link/ether 00:15:5d:03:a9:2f brd ff:ff:ff:ff:ff:ff
4: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 00:15:5d:03:a9:30 brd ff:ff:ff:ff:ff:ff
inet 10.0.3.195/23 brd 10.0.3.255 scope global eth2
valid_lft forever preferred_lft forever
inet6 fe80::215:5dff:fe03:a930/64 scope link
valid_lft forever preferred_lft forever
*** Device statistics:
Inter-| Receive | Transmit
face |bytes packets errs drop fifo frame compressed multicast|bytes packets errs drop fifo colls carrier compressed
eth1: 0 0 0 0 0 0 0 0 0 0 0 136365 0 0 0 0
eth2: 2058030 8003 0 16 0 0 0 6788 239483 812 0 0 0 0 0 0
lo: 51553489 152704 0 0 0 0 0 0 51553489 152704 0 0 0 0 0 0
eth0: 17634419 85960 0 0 0 0 0 49 12346082 83333 0 0 0 0 0 0
*** Protocol statistics:
Ip:
Forwarding: 2
241771 total packets received
1 with invalid addresses
0 forwarded
0 incoming packets discarded
240023 incoming packets delivered
236774 requests sent out
Icmp:
0 ICMP messages received
0 input ICMP message failed
ICMP input histogram:
0 ICMP messages sent
0 ICMP messages failed
ICMP output histogram:
Tcp:
38 active connection openings
25 passive connection openings
6 failed connection attempts
11 connection resets received
16 connections established
239779 segments received
237589 segments sent out
0 segments retransmitted
0 bad segments received
33 resets sent
Udp:
293 packets received
0 packets to unknown port received
0 packet receive errors
58 packets sent
0 receive buffer errors
0 send buffer errors
IgnoredMulti: 87
UdpLite:
TcpExt:
14 TCP sockets finished time wait in fast timer
122 delayed acks sent
Quick ack mode was activated 4 times
76166 packets directly queued to recvmsg prequeue
TCPDirectCopyFromPrequeue: 335707
129944 packet headers predicted
6 packet headers predicted and directly queued to user
1484 acknowledgments not containing data payload received
122445 predicted acknowledgments
TCPDSACKOldSent: 4
8 connections reset due to unexpected data
2 connections reset due to early user close
TCPRcvCoalesce: 5227
TCPAutoCorking: 282
TCPOrigDataSent: 232450
TCPHystartTrainDetect: 2
TCPHystartTrainCwnd: 56
TCPKeepAlive: 27
IpExt:
InMcastPkts: 114
OutMcastPkts: 10
InBcastPkts: 116
OutBcastPkts: 28
InOctets: 69706577
OutOctets: 62956580
InMcastOctets: 8242
OutMcastOctets: 544
InBcastOctets: 11751
OutBcastOctets: 3157
InNoECTPkts: 241771
** PCI devices:
** USB devices:
not available
-- System Information:
Debian Release: 9.4
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-6-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages linux-image-4.9.0-6-amd64 depends on:
ii initramfs-tools [linux-initramfs-tool] 0.130
ii kmod 23-2
ii linux-base 4.5
Versions of packages linux-image-4.9.0-6-amd64 recommends:
pn firmware-linux-free <none>
ii irqbalance 1.1.0-2.3
Versions of packages linux-image-4.9.0-6-amd64 suggests:
pn debian-kernel-handbook <none>
ii grub-efi-amd64 2.02~beta3-5
pn linux-doc-4.9 <none>
Versions of packages linux-image-4.9.0-6-amd64 is related to:
pn firmware-amd-graphics <none>
pn firmware-atheros <none>
ii firmware-bnx2 20161130-3
ii firmware-bnx2x 20161130-3
pn firmware-brcm80211 <none>
pn firmware-cavium <none>
pn firmware-intel-sound <none>
pn firmware-intelwimax <none>
pn firmware-ipw2x00 <none>
pn firmware-ivtv <none>
pn firmware-iwlwifi <none>
pn firmware-libertas <none>
pn firmware-linux-nonfree <none>
pn firmware-misc-nonfree <none>
pn firmware-myricom <none>
pn firmware-netxen <none>
pn firmware-qlogic <none>
pn firmware-realtek <none>
pn firmware-samsung <none>
pn firmware-siano <none>
pn firmware-ti-connectivity <none>
pn xen-hypervisor <none>
-- no debconf information
--- End Message ---