Intel wifi fails to resume after suspend

Bug #1825678 reported by Syfer Polski
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned
linux-firmware (Ubuntu)
Invalid
Undecided
Unassigned
linux-hwe (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Yesterday my WiFi card(Intel Wireless 3165) didn't show up on resuming the laptop from a suspend state. I rebooted a few times and found that the situation hadn't changed. Rebooting and choosing older kernels didn't help. I ran lspci and discovered my WiFi card was missing in the output. I shut down the laptop assuming my WiFi card suffered a hardware failure. In the evening, after starting up from a full shutdown, the WiFi card worked again.

Today, the situation happened again, but I approached the debugging more methodically. I looked at nmcli and found it still saw my wifi card but found it unavailable. lspci could still see the Wifi card in the last position. I analyzed dmesg output and discovered an iwlwifi crash(the relevant part of dmesg is provided in wifi_dmesg.txt attachment).

Then, I rebooted the laptop. This didn't fix the issue and from a quick look at lspci, the wifi card was missing again. So I repeated the procedure that worked the previous day - full shutdown, wait 10 seconds, then start up. This restored my WiFi card to a working state and allowed me to file this bug report.

I will be happy to provide any further information that could read to fixing this issue.

Additional information:

1. lsb_release -rd
Description: Peppermint 8 Eight
Release: 8
Yes, that's technically not Ubuntu. However, Peppermint does not modify Ubuntu's kernel, and Peppermint 8 is based on Ubuntu 16.04 Xenial Xerus.

2. apt-cache policy linux-firmware
linux-firmware:
  Installed: 1.157.21
  Candidate: 1.157.21
  Version table:
 *** 1.157.21 500
        500 http://pl.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
        500 http://pl.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages
        500 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages
        100 /var/lib/dpkg/status
     1.157 500
        500 http://pl.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
        500 http://pl.archive.ubuntu.com/ubuntu xenial/main i386 Packages

3. I expected suspend and resume to work like they did for the last two years

4. iwlwifi crashed and dumped its registers.

5. Inxi, in case it's useful(many other bug reporting websites ask for it):
inxi -Fz
System: Host: PiDell Kernel: 4.15.0-47-generic x86_64 (64 bit) Desktop: N/A
           Distro: Peppermint Eight
Machine: System: Dell (portable) product: Inspiron 15 7000 Gaming
           Mobo: Dell model: 065C71 v: A00 Bios: Dell v: 1.7.0 date: 05/08/2018
CPU: Quad core Intel Core i7-7700HQ (-HT-MCP-) cache: 6144 KB
           clock speeds: max: 3800 MHz 1: 800 MHz 2: 800 MHz 3: 800 MHz
           4: 800 MHz 5: 800 MHz 6: 800 MHz 7: 800 MHz 8: 800 MHz
Graphics: Card-1: Intel Device 591b
           Card-2: NVIDIA GP107M [GeForce GTX 1050 Ti Mobile]
           Display Server: X.Org 1.19.6 driver: nvidia
           Resolution: 1920x1080@60.00hz
           GLX Renderer: GeForce GTX 1050 Ti/PCIe/SSE2
           GLX Version: 4.6.0 NVIDIA 396.54
Audio: Card Intel CM238 HD Audio Controller driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k4.15.0-47-generic
Network: Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
           driver: r8169
           IF: enp2s0 state: down mac: <filter>
           Card-2: Intel Wireless 3165 driver: iwlwifi
           IF: wlp3s0 state: up mac: <filter>
Drives: HDD Total Size: 1256.3GB (27.6% used)
           ID-1: /dev/sda model: Micron_1100_SATA size: 256.1GB
           ID-2: /dev/sdb model: TOSHIBA_MQ01ABD1 size: 1000.2GB
Partition: ID-1: / size: 46G used: 38G (87%) fs: ext4 dev: /dev/sdb3
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 51.0C mobo: N/A gpu: 48C
           Fan Speeds (in rpm): cpu: N/A
Info: Processes: 258 Uptime: 51 min Memory: 2152.2/15906.5MB
           Client: Shell (bash) inxi: 2.2.35
---
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: pshem 1905 F.... pulseaudio
CurrentDesktop: LXDE
Dependencies:

DistroRelease: Peppermint 8
HibernationDevice: RESUME=UUID=7681b134-71c7-448a-b097-0639f3c9dcea
InstallationDate: Installed on 2017-08-09 (621 days ago)
InstallationMedia: Peppermint 8 "Eight" - Release amd64 (20170527)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 056: ID 8087:0a2a Intel Corp.
 Bus 001 Device 055: ID 17ef:603b Lenovo
 Bus 001 Device 004: ID 0bda:568a Realtek Semiconductor Corp.
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Dell Inc. Inspiron 15 7000 Gaming
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
Package: linux-firmware 1.157.21 [origin: Ubuntu]
PackageArchitecture: all
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-47-generic root=UUID=8b5bde92-e099-4fb4-990f-97dce1332ce1 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 4.15.0-47.50~16.04.1-generic 4.15.18
RelatedPackageVersions:
 linux-restricted-modules-4.15.0-47-generic N/A
 linux-backports-modules-4.15.0-47-generic N/A
 linux-firmware 1.157.21
Tags: xenial xenial third-party-packages
Uname: Linux 4.15.0-47-generic x86_64
UnreportableReason: This is not an official Peppermint package. Please remove any third party package and try again.
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip input lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 05/08/2018
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.7.0
dmi.board.name: 065C71
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.7.0:bd05/08/2018:svnDellInc.:pnInspiron157000Gaming:pvr:rvnDellInc.:rn065C71:rvrA00:cvnDellInc.:ct10:cvr:
dmi.product.family: Inspiron
dmi.product.name: Inspiron 15 7000 Gaming
dmi.sys.vendor: Dell Inc.
---
ProblemType: Bug
ApportVersion: 2.20.10-0ubuntu27.1
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: pshem 1473 F.... pulseaudio
 /dev/snd/pcmC0D0p: pshem 1473 F...m pulseaudio
CurrentDesktop: KDE
Dependencies:

DistroRelease: Ubuntu 19.04
InstallationDate: Installed on 2019-06-15 (38 days ago)
InstallationMedia: Kubuntu 19.04 "Disco Dingo" - Release amd64 (20190416)
MachineType: Dell Inc. Inspiron 15 7000 Gaming
NonfreeKernelModules: nvidia_modeset nvidia
Package: linux-hwe
PackageArchitecture: all
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.0.0-20-generic root=UUID=d9d00c26-bb51-4f6b-81db-23968b5815e0 ro quiet splash vt.handoff=1
ProcVersionSignature: Ubuntu 5.0.0-20.21-generic 5.0.8
RelatedPackageVersions:
 linux-restricted-modules-5.0.0-20-generic N/A
 linux-backports-modules-5.0.0-20-generic N/A
 linux-firmware 1.178.3
Tags: disco
Uname: Linux 5.0.0-20-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 08/15/2018
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.8.1
dmi.board.name: 065C71
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 10
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.8.1:bd08/15/2018:svnDellInc.:pnInspiron157000Gaming:pvr:rvnDellInc.:rn065C71:rvrA00:cvnDellInc.:ct10:cvr:
dmi.product.family: Inspiron
dmi.product.name: Inspiron 15 7000 Gaming
dmi.product.sku: 0798
dmi.sys.vendor: Dell Inc.

Revision history for this message
Syfer Polski (syferpl) wrote :
no longer affects: network-manager (Ubuntu)
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 1825678

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
tags: added: bionic
Revision history for this message
Syfer Polski (syferpl) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected third-party-packages
description: updated
Revision history for this message
Syfer Polski (syferpl) wrote : CRDA.txt

apport information

Revision history for this message
Syfer Polski (syferpl) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Syfer Polski (syferpl) wrote : IwConfig.txt

apport information

Revision history for this message
Syfer Polski (syferpl) wrote : Lspci.txt

apport information

Revision history for this message
Syfer Polski (syferpl) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Syfer Polski (syferpl) wrote : ProcEnviron.txt

apport information

Revision history for this message
Syfer Polski (syferpl) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Syfer Polski (syferpl) wrote : ProcModules.txt

apport information

Revision history for this message
Syfer Polski (syferpl) wrote : PulseList.txt

apport information

Revision history for this message
Syfer Polski (syferpl) wrote : RfKill.txt

apport information

Revision history for this message
Syfer Polski (syferpl) wrote : UdevDb.txt

apport information

Revision history for this message
Syfer Polski (syferpl) wrote : WifiSyslog.txt

apport information

Syfer Polski (syferpl)
Changed in linux-firmware (Ubuntu):
status: New → Confirmed
Revision history for this message
Syfer Polski (syferpl) wrote :

The same bug happens in Kubuntu 19.04. Since I've now bought a USB WiFi dongle, I can now file a report from a laptop where the internal WiFi card is down. apport-collect information included below, the key highlights are:
iwlwifi 0000:03:00.0: Error, can not clear persistence bit (full context in CurrentDmesg.txt)

tags: added: disco
description: updated
Revision history for this message
Syfer Polski (syferpl) wrote : AlsaInfo.txt

apport information

Revision history for this message
Syfer Polski (syferpl) wrote : CRDA.txt

apport information

Revision history for this message
Syfer Polski (syferpl) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Syfer Polski (syferpl) wrote : IwConfig.txt

apport information

Revision history for this message
Syfer Polski (syferpl) wrote : Lspci.txt

apport information

Revision history for this message
Syfer Polski (syferpl) wrote : Lsusb.txt

apport information

Revision history for this message
Syfer Polski (syferpl) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Syfer Polski (syferpl) wrote : ProcEnviron.txt

apport information

Revision history for this message
Syfer Polski (syferpl) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Syfer Polski (syferpl) wrote : ProcModules.txt

apport information

Revision history for this message
Syfer Polski (syferpl) wrote : PulseList.txt

apport information

Revision history for this message
Syfer Polski (syferpl) wrote : RfKill.txt

apport information

Revision history for this message
Syfer Polski (syferpl) wrote : UdevDb.txt

apport information

Revision history for this message
Syfer Polski (syferpl) wrote : WifiSyslog.txt

apport information

Revision history for this message
Syfer Polski (syferpl) wrote :

After finding a few reports of similar issues caused by a hardware problem, I replaced the WiFi card. For a month since, I've had no issues, which suggests it was a hardware problem. Therefore, I'd like to close this report

Changed in linux (Ubuntu):
status: Incomplete → Invalid
Changed in linux-firmware (Ubuntu):
status: Confirmed → Invalid
Changed in linux-hwe (Ubuntu):
status: New → Invalid
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.