wireless modules not loaded after suspend?

Bug #2037560 reported by Joe Barnett
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

On mantic, after a suspend my network doesn't come up automatically. I have historically run the following to "reset" networking; not sure what of it is necessary and what's not, but this brings it up:

$ sudo systemctl stop NetworkManager.service; sudo rmmod ath10k_pci ath10k_core ath; sleep 3; sudo modprobe ath10k_pci ; sudo systemctl start NetworkManager.service

rmmod does complain that none of the ath* modules are currently loaded, so perhaps that's why the network doesn't come up automatically?

ProblemType: Bug
DistroRelease: Ubuntu 23.10
Package: linux-image-6.5.0-5-generic 6.5.0-5.5
ProcVersionSignature: Ubuntu 6.5.0-5.5-generic 6.5.0
Uname: Linux 6.5.0-5-generic x86_64
ApportVersion: 2.27.0-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: jbarnett 74523 F.... wireplumber
 /dev/snd/controlC0: jbarnett 74523 F.... wireplumber
 /dev/snd/seq: jbarnett 74508 F.... pipewire
CasperMD5CheckResult: unknown
CurrentDesktop: GNOME
Date: Wed Sep 27 08:12:37 2023
InstallationDate: Installed on 2019-08-17 (1502 days ago)
InstallationMedia: Ubuntu 19.04 "Disco Dingo" - Alpha amd64 (20190305.1)
MachineType: {report['dmi.sys.vendor']} {report['dmi.product.name']}
ProcFB: 0 i915drmfb
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.5.0-5-generic root=UUID=83cade14-7628-437d-8517-36ad82f00d20 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 linux-restricted-modules-6.5.0-5-generic N/A
 linux-backports-modules-6.5.0-5-generic N/A
 linux-firmware 20230919.git3672ccab-0ubuntu2
SourcePackage: linux
UpgradeStatus: Upgraded to mantic on 2023-09-26 (1 days ago)
dmi.bios.date: 03/25/2021
dmi.bios.release: 1.15
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 1.15.1
dmi.board.name: 0N338G
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 31
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr1.15.1:bd03/25/2021:br1.15:svnDellInc.:pnXPS159575:pvr:rvnDellInc.:rn0N338G:rvrA00:cvnDellInc.:ct31:cvr:sku080D:
dmi.product.family: XPS
dmi.product.name: XPS 15 9575
dmi.product.sku: 080D
dmi.sys.vendor: Dell Inc.

Revision history for this message
Joe Barnett (thejoe) wrote :
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joe Barnett (thejoe) wrote :

This may be related to this file that I had set up at some point (to workaround some suspend bluetooth issues?):

$ cat /usr/lib/systemd/system-sleep/bluetooth
#!/bin/sh

case $1 in
  pre)
    systemctl stop NetworkManager.service
    rmmod ath10k_pci ath10k_core ath
    btmgmt power off
  ;;
  post)
    btmgmt power on
    modprobe ath10k_pci
    systemctl start NetworkManager.service
  ;;
esac

... at least that would explain the unloading of the modules, but not sure why the `post` section isn't reloading them?

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.