Kernel PANIC often when turning WiFi off, on current 3.19.0-27-generic (see text, my be one older), happened before on previous kernel, and one or two, probably more, before that one.

Bug #1482892 reported by Páll Haraldsson
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
High
Unassigned

Bug Description

When opening lots of network connections and disconnecting from WiFi I get two light blinkning (CAPS LOCK light and the one to it's right) - assuming kernel PANIC.

[As Google Chrome opens a lot of tabs, when starting, I've used the trick of disconnecting WiFi for a while (and sometimes killing Chrome processes, but not this time I believe, but it shouldn't matter), to get it to avoid OOM.]

This is not the first time I've gotten a kernel PANIC this way or the only kernel (may be a few versions back). I assume this is a bug in the kernel (also), but also in (proprietary) wl:

lsmod |grep wl
wl 6369280 0
cfg80211 540672 1 wl

syslog:

Aug 8 16:59:18 Ryksugan dnsmasq[826]: setting upstream servers from DBus
Aug 8 16:59:18 Ryksugan whoopsie[680]: [16:59:18] Cannot reach: https://daisy.ubuntu.com
Aug 8 16:59:18 Ryksugan kernel: [ 2554.480178] cfg80211: World regulatory domain updated:
Aug 8 16:59:18 Ryksugan kernel: [ 2554.480184] cfg80211: DFS Master region: unset
Aug 8 16:59:18 Ryksugan kernel: [ 2554.480186] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Aug 8 16:59:18 Ryksugan kernel: [ 2554.480190] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
Aug 8 16:59:18 Ryksugan kernel: [ 2554.480192] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
Aug 8 16:59:18 Ryksugan kernel: [ 2554.480195] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm), (N/A)
Aug 8 16:59:18 Ryksugan kernel: [ 2554.480197] cfg80211: (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
Aug 8 16:59:18 Ryksugan kernel: [ 2554.480200] cfg80211: (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm), (N/A)
Aug 8 16:59:18 Ryksugan NetworkManager[737]: <info> NetworkManager state is now DISCONNECTED
Aug 8 16:59:18 Ryksugan NetworkManager[737]: <warn> Connection disconnected (reason -3)
Aug 8 16:59:18 Ryksugan wpa_supplicant[792]: wlan0: CTRL-EVENT-SCAN-STARTED
Aug 8 16:59:18 Ryksugan dbus[745]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service'
Aug 8 16:59:18 Ryksugan NetworkManager[737]: <info> (wlan0): supplicant interface state: completed -> disconnected
Aug 8 16:59:18 Ryksugan systemd[1]: Starting Network Manager Script Dispatcher Service...
Aug 8 16:59:18 Ryksugan dbus[745]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Aug 8 16:59:18 Ryksugan systemd[1]: Started Network Manager Script Dispatcher Service.
Aug 8 16:59:18 Ryksugan nm-dispatcher: Dispatching action 'down' for wlan0
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@Aug 8 17:04:47 Ryksugan rsyslogd: [origin software="rsyslogd" swVersion="7.4.4" x-pid="686" x-info="http://www.rsyslog.com"] start
Aug 8 17:04:47 Ryksugan rsyslogd: rsyslogd's groupid changed to 104

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: linux-image-3.19.0-26-generic 3.19.0-26.27
ProcVersionSignature: Ubuntu 3.19.0-26.27-generic 3.19.8-ckt4
Uname: Linux 3.19.0-26-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.17.2-0ubuntu1.2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: palli 1645 F.... pulseaudio
CurrentDesktop: Unity
Date: Sat Aug 8 17:10:24 2015
HibernationDevice: RESUME=UUID=8bc9eb31-5629-4dc3-b989-1223eaf31529
InstallationDate: Installed on 2014-08-21 (351 days ago)
InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2)
MachineType: Dell Inc. Inspiron 1525
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.19.0-26-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-3.19.0-26-generic N/A
 linux-backports-modules-3.19.0-26-generic N/A
 linux-firmware 1.143
SourcePackage: linux
UpgradeStatus: Upgraded to vivid on 2015-04-06 (124 days ago)
dmi.bios.date: 10/27/2009
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A17
dmi.board.name: 0U990C
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvrA17:bd10/27/2009:svnDellInc.:pnInspiron1525:pvr:rvnDellInc.:rn0U990C:rvr:cvnDellInc.:ct8:cvr:
dmi.product.name: Inspiron 1525
dmi.sys.vendor: Dell Inc.

Revision history for this message
Páll Haraldsson (pall-haraldsson) wrote :
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote : Re: Kernel PANIC often when turning WiFi off

Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.2 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.2-rc6-unstable/

Changed in linux (Ubuntu):
importance: Undecided → High
status: Confirmed → Incomplete
Revision history for this message
Páll Haraldsson (pall-haraldsson) wrote :
Download full text (3.1 KiB)

This just happened again, and I believe I was running the latest (Ubuntu) kernel. No, not the upstream one.. It just seemed too much work.. and wouldn't prove anything if I can't get Ubuntu to freeze as that doesn't always happen.. I guess I really should get around to this as if it would happen again it would at least prove, not fixed upstream. The cause might however be in bcmwl (or an interaction between it in the kernel). I think the former here is *it*:

lsmod |grep wl
wl 6369280 0
cfg80211 540672 1 wl

Installed files" of bcmwl has no .ko but have files such as a Makefile:

/usr/src/bcmwl-6.30.223.248+bdcom/patches/0015-add-support-for-Linux-3.18.patch

[then this is a build a .ko, right? Do I need then linux-sources, I believe I don't and haven't had it installed in the past but I have it installed now, may have done that at some point, myself.. It hasn't been updated in a while, is at 3.19.0.17.16. I'm trying to learn thing so I could maybe be more helful in the future and/or not send bugus report if this one is it..]

What I'm running now:

uname -a
Linux Ryksugan 3.19.0-27-generic #29-Ubuntu SMP Fri Aug 14 21:43:37 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

In case I forgot to restart after last kernel upgrade (I have Ksplice, but ages ago, it seemed to just stop working), then I would have been running /boot/initrd.img-3.19.0-26-generic

Might only have worked pre-Nov 2014. It's just not something I had to do very often (or decided to try, to turn WiFi off, but it should always be safe). Possibly this might be even older and I just didn't try to trigger it.

Very probably this might have to do with this, (and could very well has started around 3.17/3.18 timeframe):

bcmwl (6.30.223.248+bdcom-0ubuntu2) vivid; urgency=medium

  * debian/dkms.conf.in,
    debian/patches/0014-add-support-for-Linux-3.17.patch,
    debian/patches/0015-add-support-for-Linux-3.18.patch:
    - Add support for Linux 3.17 (LP: #1358966).
      Credit for the patch goes to Brian Norris.
    - Add support for Linux 3.18 (LP: #1358966).
      Credit for the patch goes to Krzysztof Kolasa.

 -- Alberto Milone <email address hidden> Thu, 06 Nov 2014 18:43:27 +0100

bcmwl (6.30.223.248+bdcom-0ubuntu1) utopic; urgency=medium

  * New upstream release: (LP: #1342645)
    - This is an official public release from Broadcom.
  * debian/dkms.conf.in:
    - Drop patches for kernels 3.10 (now upstream)

 -- Robert Ancell <email address hidden> Fri, 01 Aug 2014 11:09:43 +1200

ls -lrt /boot/initrd.img-3.1*
-rw-r--r-- 1 root root 19976179 apr 10 17:20 /boot/initrd.img-3.13.0-47-generic *
-rw-r--r-- 1 root root 21782845 apr 19 13:54 /boot/initrd.img-3.19.0-15-generic *
-rw-r--r-- 1 root root 21737800 jún 3 21:54 /boot/initrd.img-3.19.0-20-lowlatency *
-rw-r--r-- 1 root root 21782780 ágú 10 20:31 /boot/initrd.img-3.19.0-26-generic
-rw-r--r-- 1 root root 21788996 ágú 15 18:24 /boot/initrd.img-3.19.0-27-generic

marked with a star those I've not run in ages, just didn't clean up in case this doesn't resolve on day. The oldest or next oldest, I think worked at some point(I had more, but had to free space on /boot and deleted...

Read more...

summary: - Kernel PANIC often when turning WiFi off
+ Kernel PANIC often when turning WiFi off, on current 3.19.0-27-generic
+ (see text, my be one older), happened before on previous kernel, and one
+ or two before that one.
summary: Kernel PANIC often when turning WiFi off, on current 3.19.0-27-generic
(see text, my be one older), happened before on previous kernel, and one
- or two before that one.
+ or two, probably more, before that one.
Revision history for this message
Páll Haraldsson (pall-haraldsson) wrote :

Strangely,

grep 'Linux version' /var/log/syslog*
/var/log/syslog:Aug 19 20:29:44 Ryksugan kernel: [ 0.000000] Linux version 3.19.0-27-generic (buildd@lgw01-17) (gcc version 4.9.2 (Ubuntu 4.9.2-10ubuntu13) ) #29-Ubuntu SMP Fri Aug 14 21:43:37 UTC 2015 (Ubuntu 3.19.0-27.29-generic 3.19.8-ckt5)

[that is the kernel running *after* reboot/hitting the bug ones again.]

Usually I see older restarts (wanted to confirm, seeing that one on previous boot, but none is showing up:

ls -lrt /var/log/syslog*
-rw-r----- 1 syslog adm 157822 ágú 10 19:11 /var/log/syslog.7.gz
-rw-r----- 1 syslog adm 68255 ágú 14 12:18 /var/log/syslog.6.gz
-rw-r----- 1 syslog adm 89442 ágú 15 13:55 /var/log/syslog.5.gz
-rw-r----- 1 syslog adm 135946 ágú 16 17:03 /var/log/syslog.4.gz
-rw-r----- 1 syslog adm 30798 ágú 17 20:03 /var/log/syslog.3.gz
-rw-r----- 1 syslog adm 9142 ágú 18 19:58 /var/log/syslog.2.gz
-rw-r----- 1 syslog adm 1229249 ágú 19 16:53 /var/log/syslog.1
-rw-r----- 1 syslog adm 1574828 ágú 19 21:31 /var/log/syslog

Seems I've had uptime, for 9 days.. unusual this long.. usually hit this or the other bugs/crashes I sent, more frequently:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1473742

that one may have happened only ones or twice, but might be related?

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Shawn Pringle (shawn.pringle) wrote :
Download full text (31.7 KiB)

Here I am in 2017, and it seems to be a regression bug. A bug that has come back, or perhaps it was never fixed and the user who reported it fixed, did so because it went from always crashing to intermittent crashing. A user will learn not to turn off wifi and the panics stops but the bug lurks away. I am using an Exomate and not only does it panic when turning off wifi but on startup it panics intermittently whenever you use a USB device you left plugged into it or plug in a USB device. After many power cycles and with periods of remaining off, the perpetual panics abate but I know not to turn off wifi now.

See also: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/404626?comments=all

As a user, I am getting similar symptoms. Although the cause may not be same, people are going to go there first when they search, so am linking to here from there.

This is a cheap netbook for Students. Free for Students in Argentina and their teachers. The hardware is from a similar year.

There are hot keys combinations that do various things using a special 'fn' key you use in conjunction with keys f1 through f10. One is (Fn+F2). If I use the GUI or Fn+F2 to turn off wifi, it kernel panics.

# uname -a
Linux Exomate-X352 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:08:14 UTC 2014 i686 i686 i686 GNU/Linux

# dmesg | tail
[ 1.544827] fb0: VESA VGA frame buffer device
[ 1.544880] intel_idle: MWAIT substates: 0x20220
[ 1.544895] intel_idle: v0.4 model 0x1C
[ 1.544900] intel_idle: lapic_timer_reliable_states 0x2
[ 1.544905] tsc: Marking TSC unstable due to TSC halts in idle states deeper than C2
[ 1.545040] ipmi message handler version 39.2
[ 1.545770] ACPI: AC Adapter [AC0] (on-line)
[ 1.545982] input: Lid Switch as /devices/LNXSYSTM:00/device:00/PNP0A08:00/PNP0C0D:00/input/input0
[ 1.546020] ACPI: Lid Switch [LID]
[ 1.546150] input: Power Button as /devices/LNXSYSTM:00/device:00/PNP0A08:00/PNP0C0C:00/input/input1
[ 1.546180] ACPI: Power Button [PWRB]
[ 1.546427] input: Sleep Button as /devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input2
[ 1.546437] ACPI: Sleep Button [SLPB]
[ 1.546692] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input3
[ 1.546701] ACPI: Power Button [PWRF]
[ 1.551281] thermal LNXTHERM:00: registered as thermal_zone0
[ 1.551288] ACPI: Thermal Zone [TZ01] (32 C)
[ 1.551362] GHES: HEST is not enabled!
[ 1.551684] isapnp: Scanning for PnP cards...
[ 1.551746] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[ 1.572935] 00:04: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 1.582845] Linux agpgart interface v0.103
[ 1.583218] agpgart-intel 0000:00:00.0: Intel GMA3150 Chipset
[ 1.583362] agpgart-intel 0000:00:00.0: detected gtt size: 524288K total, 262144K mappable
[ 1.583604] agpgart-intel 0000:00:00.0: detected 8192K stolen memory
[ 1.584145] agpgart-intel 0000:00:00.0: AGP aperture is 256M @ 0xd0000000
[ 1.584699] tpm_tis 00:06: 1.2 TPM (device-id 0xFE, rev-id 70)
[ 1.584993] ACPI: Battery Slot [BAT1] (battery present)
[ 1.684648] brd: module loaded
[ 1.687112] loop: module loaded
[ 1.688475] li...

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.