Kernel 4.4.0-184 hangs when issuing tc qdisc command

Bug #1883597 reported by Rune Torgersen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

On stock kernel 4.4.0.184-214, issuing "tc qdisc add dev eth0 root fq maxrate 25mbit" causes CPU lockup
(NMI watchdog: BUG: soft lockup - CPU#26 stuck for 22s! [tc:6394])

This does not occur on 4.4.0.179 or earlier.
Happens on both a intel i40e driver and ixgbe.
---
AlsaDevices:
 total 0
 crw-rw----+ 1 root audio 116, 1 Jun 15 14:52 seq
 crw-rw----+ 1 root audio 116, 33 Jun 15 14:52 timer
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.20.1-0ubuntu2.23
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
DistroRelease: Ubuntu 16.04
HibernationDevice: RESUME=UUID=09e7e0db-e2ed-4cb1-8d1b-2eefdaa81d3a
InstallationDate: Installed on 2019-02-22 (479 days ago)
InstallationMedia: Ubuntu-Server 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
IwConfig: Error: [Errno 2] No such file or directory
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 004: ID 0557:2419 ATEN International Co., Ltd
 Bus 001 Device 003: ID 0557:7000 ATEN International Co., Ltd Hub
 Bus 001 Device 002: ID 0d3d:0040 Tangtop Technology Co., Ltd PS/2 Adapter
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Supermicro SSG-6029P-E1CR12L
Package: linux (not installed)
PciMultimedia:

ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US
 SHELL=/bin/bash
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-184-generic root=UUID=8b0d6ed1-2955-4f7a-aeb6-cbfa319aed17 ro text nomodeset consoleblank=0 nopti crashkernel=384M-:128M crashkernel=384M-2G:64M,2G-:768M
ProcVersionSignature: Ubuntu 4.4.0-184.214-generic 4.4.223
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-184-generic N/A
 linux-backports-modules-4.4.0-184-generic N/A
 linux-firmware 1.157.23
RfKill: Error: [Errno 2] No such file or directory
Tags: xenial
Uname: Linux 4.4.0-184-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: True
dmi.bios.date: 02/27/2018
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 2.0b
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: X11DPH-T
dmi.board.vendor: Supermicro
dmi.board.version: 1.01
dmi.chassis.asset.tag: To be filled by O.E.M.
dmi.chassis.type: 1
dmi.chassis.vendor: Supermicro
dmi.chassis.version: 0123456789
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2.0b:bd02/27/2018:svnSupermicro:pnSSG-6029P-E1CR12L:pvr0123456789:rvnSupermicro:rnX11DPH-T:rvr1.01:cvnSupermicro:ct1:cvr0123456789:
dmi.product.name: SSG-6029P-E1CR12L
dmi.product.version: 0123456789
dmi.sys.vendor: Supermicro
---
AlsaDevices:
 total 0
 crw-rw----+ 1 root audio 116, 1 Jun 15 14:52 seq
 crw-rw----+ 1 root audio 116, 33 Jun 15 14:52 timer
AplayDevices: Error: [Errno 2] No such file or directory
ApportVersion: 2.20.1-0ubuntu2.23
Architecture: amd64
ArecordDevices: Error: [Errno 2] No such file or directory
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
DistroRelease: Ubuntu 16.04
HibernationDevice: RESUME=UUID=09e7e0db-e2ed-4cb1-8d1b-2eefdaa81d3a
InstallationDate: Installed on 2019-02-22 (479 days ago)
InstallationMedia: Ubuntu-Server 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
IwConfig: Error: [Errno 2] No such file or directory
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 004: ID 0557:2419 ATEN International Co., Ltd
 Bus 001 Device 003: ID 0557:7000 ATEN International Co., Ltd Hub
 Bus 001 Device 002: ID 0d3d:0040 Tangtop Technology Co., Ltd PS/2 Adapter
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Supermicro SSG-6029P-E1CR12L
Package: linux (not installed)
PciMultimedia:

ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US
 SHELL=/bin/bash
ProcFB: 0 EFI VGA
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-184-generic root=UUID=8b0d6ed1-2955-4f7a-aeb6-cbfa319aed17 ro text nomodeset consoleblank=0 nopti crashkernel=384M-:128M crashkernel=384M-2G:64M,2G-:768M
ProcVersionSignature: Ubuntu 4.4.0-184.214-generic 4.4.223
RelatedPackageVersions:
 linux-restricted-modules-4.4.0-184-generic N/A
 linux-backports-modules-4.4.0-184-generic N/A
 linux-firmware 1.157.23
RfKill: Error: [Errno 2] No such file or directory
Tags: xenial
Uname: Linux 4.4.0-184-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:

_MarkForUpload: True
dmi.bios.date: 02/27/2018
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 2.0b
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: X11DPH-T
dmi.board.vendor: Supermicro
dmi.board.version: 1.01
dmi.chassis.asset.tag: To be filled by O.E.M.
dmi.chassis.type: 1
dmi.chassis.vendor: Supermicro
dmi.chassis.version: 0123456789
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2.0b:bd02/27/2018:svnSupermicro:pnSSG-6029P-E1CR12L:pvr0123456789:rvnSupermicro:rnX11DPH-T:rvr1.01:cvnSupermicro:ct1:cvr0123456789:
dmi.product.name: SSG-6029P-E1CR12L
dmi.product.version: 0123456789
dmi.sys.vendor: Supermicro

Revision history for this message
Rune Torgersen (runetorgersen) wrote :
Revision history for this message
Rune Torgersen (runetorgersen) wrote :
Revision history for this message
Rune Torgersen (runetorgersen) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1883597

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Rune Torgersen (runetorgersen) wrote : CRDA.txt

apport information

tags: added: apport-collected xenial
description: updated
Revision history for this message
Rune Torgersen (runetorgersen) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Rune Torgersen (runetorgersen) wrote : Lspci.txt

apport information

Revision history for this message
Rune Torgersen (runetorgersen) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Rune Torgersen (runetorgersen) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Rune Torgersen (runetorgersen) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Rune Torgersen (runetorgersen) wrote : ProcModules.txt

apport information

Revision history for this message
Rune Torgersen (runetorgersen) wrote : UdevDb.txt

apport information

Revision history for this message
Rune Torgersen (runetorgersen) wrote : WifiSyslog.txt

apport information

description: updated
Revision history for this message
Rune Torgersen (runetorgersen) wrote : CRDA.txt

apport information

Revision history for this message
Rune Torgersen (runetorgersen) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Rune Torgersen (runetorgersen) wrote : Lspci.txt

apport information

Revision history for this message
Rune Torgersen (runetorgersen) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Rune Torgersen (runetorgersen) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Rune Torgersen (runetorgersen) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Rune Torgersen (runetorgersen) wrote : ProcModules.txt

apport information

Revision history for this message
Rune Torgersen (runetorgersen) wrote : UdevDb.txt

apport information

Revision history for this message
Rune Torgersen (runetorgersen) wrote : WifiSyslog.txt

apport information

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Toke Høiland-Jørgensen (tohojo) wrote :

I can confirm this happens whenever sch_fq is used, regardless of the hardware/driver. This seems to be caused by kernel 4.4.0-180 adding a backport of upstream commit:

695b4ec0f0a9 ("pkt_sched: fq: use proper locking in fq_dump_stats()")

This commit was pulled in as part of upstream stable 4.4.223. I believe backporting this commit to stable was a mistake, and that it should just be reverted. I've reported this to upstream as well, which should appear here once Lore syncs up: https://<email address hidden>/

Revision history for this message
Toke Høiland-Jørgensen (tohojo) wrote :

Sent a revert to the stable tree (my original comment linked above seems to have been lost): https://<email address hidden>/T/

Revision history for this message
Rune Torgersen (runetorgersen) wrote :

Bug present in 4.4.0-185 also.

Revision history for this message
Rune Torgersen (runetorgersen) wrote :

Bug present in 4.4.0-186.

Revision history for this message
Rune Torgersen (runetorgersen) wrote :

Seems to be fixed in 4.4.0-187

Changed in linux (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.