Kernel oops + system freeze on network-bridge shutdown
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bridge-utils (Ubuntu) |
Invalid
|
Critical
|
Unassigned | ||
Xenial |
Invalid
|
Critical
|
Unassigned | ||
Yakkety |
Invalid
|
Critical
|
Unassigned | ||
linux (Ubuntu) |
Fix Released
|
Critical
|
Unassigned | ||
Xenial |
Fix Released
|
Critical
|
Tim Gardner |
Bug Description
A Kernel oops leaves Ubuntu 16.04 unusable when a network bridge is brought down on a HPE 530SFP+ 10GBit NIC that uses bnx2x as a driver. This error does not appear in Ubuntu 14.04 however.
The error is reproducible whenever issuing the commands "shutdown", "service networking stop" or "brctl delbr br0". Manually creating the bridge and subsequently bringing it down results in the same error.
/var/log/kern.log:
[...]
Aug 23 15:09:46 base1 kernel: [ 617.996677] device ens1f0 left promiscuous mode
Aug 23 15:09:46 base1 kernel: [ 617.996699] br0: port 1(ens1f0) entered disabled state
Aug 23 15:09:46 base1 kernel: [ 617.996730] BUG: unable to handle kernel NULL pointer dereference at 00000000000000d2
Aug 23 15:09:46 base1 kernel: [ 618.008306] IP: [<ffffffffc0486
Aug 23 15:09:46 base1 kernel: [ 618.020549] PGD 10374c0067 PUD 1033927067 PMD 0
Aug 23 15:09:46 base1 kernel: [ 618.032773] Oops: 0002 [#1] SMP
Aug 23 15:09:46 base1 kernel: [ 618.044434] Modules linked in: nls_iso8859_1 ipmi_ssif intel_rapl x86_pkg_
Aug 23 15:09:46 base1 kernel: [ 618.058563] CPU: 3 PID: 4049 Comm: brctl Not tainted 4.4.0-34-generic #53-Ubuntu
Aug 23 15:09:46 base1 kernel: [ 618.058564] Hardware name: HP ProLiant DL120 Gen9/ProLiant DL120 Gen9, BIOS P86 05/05/2016
Aug 23 15:09:46 base1 kernel: [ 618.058574] task: ffff881030676040 ti: ffff8810341e4000 task.ti: ffff8810341e4000
Aug 23 15:09:46 base1 kernel: [ 618.058576] RIP: 0010:[<
Aug 23 15:09:46 base1 kernel: [ 618.058754] RSP: 0018:ffff881034
Aug 23 15:09:46 base1 kernel: [ 618.058769] RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000
Aug 23 15:09:46 base1 kernel: [ 618.058774] RDX: ffff881038470848 RSI: 0000000000000000 RDI: 0000000000000000
Aug 23 15:09:46 base1 kernel: [ 618.058775] RBP: ffff8810341e7d78 R08: 0000000000000000 R09: ffffffff8170d949
Aug 23 15:09:46 base1 kernel: [ 618.058776] R10: ffffea0000d61340 R11: ffff8810329d2c00 R12: 00000000000000c0
Aug 23 15:09:46 base1 kernel: [ 618.058777] R13: ffff881030044000 R14: ffff881038470840 R15: 0000000000000000
Aug 23 15:09:46 base1 kernel: [ 618.058782] FS: 00007f9aebc9470
Aug 23 15:09:46 base1 kernel: [ 618.058789] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Aug 23 15:09:46 base1 kernel: [ 618.058790] CR2: 00000000000000d2 CR3: 000000102fe83000 CR4: 00000000001406e0
Aug 23 15:09:46 base1 kernel: [ 618.058802] Stack:
Aug 23 15:09:46 base1 kernel: [ 618.058806] 0000000000000000 ffff8810356a4c00 ffff8810341e7d98 ffffffffc0489258
Aug 23 15:09:46 base1 kernel: [ 618.058822] ffff8810356a4c00 ffff881038470840 ffff8810341e7dc0 ffffffffc0479bd8
Aug 23 15:09:46 base1 kernel: [ 618.058825] ffff881038470838 ffff881038470848 ffff881038470000 ffff8810341e7df8
Aug 23 15:09:46 base1 kernel: [ 618.058827] Call Trace:
Aug 23 15:09:46 base1 kernel: [ 618.058863] [<ffffffffc0489
Aug 23 15:09:46 base1 kernel: [ 618.058870] [<ffffffffc0479
Aug 23 15:09:46 base1 kernel: [ 618.058889] [<ffffffffc0479
Aug 23 15:09:46 base1 kernel: [ 618.058895] [<ffffffffc0479
Aug 23 15:09:46 base1 kernel: [ 618.058911] [<ffffffffc047b
Aug 23 15:09:46 base1 kernel: [ 618.058984] [<ffffffff81345
Aug 23 15:09:46 base1 kernel: [ 618.059095] [<ffffffff81704
Aug 23 15:09:46 base1 kernel: [ 618.059121] [<ffffffff81220
Aug 23 15:09:46 base1 kernel: [ 618.059223] [<ffffffff8106b
Aug 23 15:09:46 base1 kernel: [ 618.059264] [<ffffffff8122b
Aug 23 15:09:46 base1 kernel: [ 618.059266] [<ffffffff81220
Aug 23 15:09:46 base1 kernel: [ 618.059359] [<ffffffff8182d
Aug 23 15:09:46 base1 kernel: [ 618.059369] Code: 1b c1 c0 e9 30 ff ff ff 90 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 55 48 89 e5 41 54 53 49 89 fc 31 c0 49 81 c4 c0 00 00 00 <66> 89 87 d2 00 00 00 48 8b 87 c0 00 00 00 49 39 c4 48 8b 08 74
Aug 23 15:09:46 base1 kernel: [ 618.059514] RIP [<ffffffffc0486
Aug 23 15:09:46 base1 kernel: [ 618.059522] RSP <ffff8810341e7d68>
Aug 23 15:09:46 base1 kernel: [ 618.059523] CR2: 00000000000000d2
Aug 23 15:09:46 base1 kernel: [ 618.060149] ---[ end trace f915551f71712a3d ]---
[...]
dmesg | grep bnx2x:
[ 3.523820] bnx2x: QLogic 5771x/578xx 10/20-Gigabit Ethernet Driver bnx2x 1.712.30-0 (2014/02/10)
[ 3.544982] bnx2x 0000:03:00.0: msix capability found
[ 3.549671] bnx2x 0000:03:00.0: part number 0-0-0-0
[ 3.682788] bnx2x 0000:03:00.1: msix capability found
[ 3.685014] bnx2x 0000:03:00.1: part number 0-0-0-0
[ 4.588510] bnx2x 0000:03:00.0 ens1f0: renamed from eth1
[ 4.688509] bnx2x 0000:03:00.1 ens1f1: renamed from eth2
[ 10.104242] bnx2x 0000:03:00.0 ens1f0: failed to initialize vlan filtering on this port
[ 10.713654] bnx2x 0000:03:00.0 ens1f0: using MSI-X IRQs: sp 47 fp[0] 50 ... fp[5] 55
[ 11.946057] bnx2x 0000:03:00.0 ens1f0: NIC Link is Up, 10000 Mbps full duplex, Flow control: ON - receive & transmit
/etc/network/
# The loopback network interface
auto lo
iface lo inet loopback
# The primary 10GbE network interface
auto ens1f0
iface ens1f0 inet manual
# The secondary 10GbE network interface
# auto ens1f1
# iface ens1f1 inet manual
# Bridged network interface
auto br0
iface br0 inet static
address 192.168.xxx.xxx
netmask 255.255.255.0
network 192.168.xxx.0
broadcast 192.168.xxx.255
gateway 192.168.xxx.xxx
dns-nameservers 192.168.xxx.xxx 192.168.xxx.xxx
dns-search xxx
bridge_ports ens1f0
bridge_hello 2
bridge_fd 9
bridge_maxage 12
bridge_stp off
lsb_release -rd:
Description: Ubuntu 16.04.1 LTS
Release: 16.04
cat /proc/version_
Ubuntu 4.4.0-34.53-generic 4.4.15
apt-cache policy bridge-utils:
bridge-utils:
Installed: 1.5-9ubuntu1
Candidate: 1.5-9ubuntu1
Version table:
*** 1.5-9ubuntu1 500
500 http://
100 /var/lib/
---
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Dependencies:
gcc-6-base 6.0.1-0ubuntu1
libc6 2.23-0ubuntu3
libgcc1 1:6.0.1-0ubuntu1
DistroRelease: Ubuntu 16.04
InstallationDate: Installed on 2016-08-22 (1 days ago)
InstallationMedia: Ubuntu-Server 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
Package: linux
PackageArchitec
ProcVersionSign
Tags: xenial
Uname: Linux 4.4.0-34-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
---
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
Dependencies:
gcc-6-base 6.0.1-0ubuntu1
libc6 2.23-0ubuntu3
libgcc1 1:6.0.1-0ubuntu1
DistroRelease: Ubuntu 16.04
InstallationDate: Installed on 2016-08-22 (1 days ago)
InstallationMedia: Ubuntu-Server 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
Package: linux
PackageArchitec
ProcVersionSign
Tags: xenial
Uname: Linux 4.4.0-34-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
description: | updated |
affects: | ubuntu → linux (Ubuntu) |
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
tags: | added: kernel-fixed-upstream |
description: | updated |
Changed in linux (Ubuntu Xenial): | |
status: | New → Confirmed |
importance: | Undecided → High |
no longer affects: | linux (Ubuntu Yakkety) |
Changed in bridge-utils (Ubuntu Yakkety): | |
importance: | Undecided → High |
Changed in bridge-utils (Ubuntu Xenial): | |
importance: | Undecided → High |
Changed in linux (Ubuntu Xenial): | |
importance: | High → Critical |
Changed in bridge-utils (Ubuntu Yakkety): | |
importance: | High → Critical |
Changed in linux (Ubuntu): | |
importance: | High → Critical |
Changed in bridge-utils (Ubuntu Xenial): | |
importance: | High → Critical |
Changed in linux (Ubuntu Xenial): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Xenial): | |
status: | Fix Committed → Fix Released |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.
To change the source package that this bug is filed about visit https:/ /bugs.launchpad .net/ubuntu/ +bug/1616107/ +editstatus and add the package name in the text box next to the word Package.
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]