You are not logged in.

#1 2023-05-22 17:48:00

jrgiacone
Member
Registered: 2021-04-24
Posts: 19

Kernel 6.3.2 Resuming from suspend fails due to Broadcom BCM43602

Hi I recently reinstalled archlinux on my laptop, it is a dell xps 9550 with the Broadcom BCM43602 Rev 1.

When resuming from suspend, the system freezes and is unresponsive unless a hard reset is enabled.

I have a workaround for this by running a script in system-d when sleeping:

#!/bin/sh
set -u
case "$1" in
    pre)
        /usr/sbin/modprobe -r brcmfmac_wcc brcmfmac
        ;;
    post)
        /usr/sbin/modprobe brcmfmac
        ;;
    *)
        echo "unknown action $1"
        ;;
esac

Has anyone else run into this problem or does anyone know how to fix this without resorting to unloading the module and reloading it upon boot?

Last edited by jrgiacone (2023-05-22 17:48:19)

Offline

#2 2023-05-22 18:15:31

loqs
Member
Registered: 2014-03-06
Posts: 17,310

Re: Kernel 6.3.2 Resuming from suspend fails due to Broadcom BCM43602

Please post the system journal for a failed resume if anything is recorded in it.  Does linux-lts also have the issue?

Offline

#3 2023-05-23 01:39:32

jrgiacone
Member
Registered: 2021-04-24
Posts: 19

Re: Kernel 6.3.2 Resuming from suspend fails due to Broadcom BCM43602

loqs wrote:

Please post the system journal for a failed resume if anything is recorded in it.  Does linux-lts also have the issue?

lts does not have the issue present, the issue is also present on fedora, likely showing up in the 6.2.X kernel version.

The logs do not have much context here is the last bit before I enter sleep, this is from running journalctl -b-1

May 22 18:34:57 archtop systemd[475]: Reached target Exit the Session.
May 22 18:34:57 archtop (sd-pam)[476]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8004 servi>
May 22 18:34:57 archtop systemd[1]: user@973.service: Deactivated successfully.
May 22 18:34:57 archtop iwd[348]: [DHCPv4] l_dhcp_client_stop:1264 Entering state: DHCP_STATE_INIT
May 22 18:34:57 archtop systemd[1]: Stopped User Manager for UID 973.
May 22 18:34:57 archtop kmix[998]: org.kde.kmix: Could not get icon for "audio-card-analog-pci"
May 22 18:34:57 archtop NetworkManager[357]: <info>  [1684805697.9318] device (wlan0): new IWD device state is disc>
May 22 18:34:57 archtop NetworkManager[357]: <info>  [1684805697.9320] device (wlan0): new IWD device state is disc>
May 22 18:34:57 archtop NetworkManager[357]: <info>  [1684805697.9320] device (wlan0): state change: deactivating ->
May 22 18:34:57 archtop systemd-resolved[327]: wlan0: Bus client reset search domain list.
May 22 18:34:57 archtop kernel: ieee80211 phy0: brcmf_inetaddr_changed: fail to get arp ip table err:-52
May 22 18:34:57 archtop systemd-resolved[327]: wlan0: Bus client set default route setting: no
May 22 18:34:57 archtop systemd-resolved[327]: wlan0: Bus client reset DNS server list.
May 22 18:34:57 archtop systemd[1]: Stopping User Runtime Directory /run/user/973...
May 22 18:34:57 archtop NetworkManager[357]: <info>  [1684805697.9451] device (wlan0): state change: disconnected ->
May 22 18:34:57 archtop systemd[1]: run-user-973.mount: Deactivated successfully.
May 22 18:34:57 archtop systemd[1]: user-runtime-dir@973.service: Deactivated successfully.
May 22 18:34:58 archtop systemd[1]: Stopped User Runtime Directory /run/user/973.
May 22 18:34:58 archtop systemd[1]: Removed slice User Slice of UID 973.
May 22 18:34:58 archtop systemd[1]: user-973.slice: Consumed 1.070s CPU time.
May 22 18:34:58 archtop kscreenlocker_greet[1908]: kf.kirigami: Failed to find a Kirigami platform plugin
May 22 18:34:58 archtop kscreenlocker_greet[1908]: qt.qpa.wayland: Wayland does not support QWindow::requestActivat>
May 22 18:34:58 archtop plasmashell[686]: file:///usr/lib/qt/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5>
May 22 18:34:58 archtop systemd[1]: Reached target Sleep.
May 22 18:34:58 archtop kded5[660]: ktp-kded-module: "screen-saver-away" presence change request: "away" ""
May 22 18:34:58 archtop kded5[660]: ktp-kded-module: plugin queue activation: "away" ""
May 22 18:34:58 archtop systemd[1]: Starting System Suspend...
May 22 18:34:58 archtop systemd-sleep[1979]: Entering sleep state 'suspend'...
May 22 18:34:58 archtop kernel: PM: suspend entry (deep)

I can upload the entire log if it would be useful, but it doesn't store logs from the suspend, all I know is unloading the module and reloading it on the normal kernel solves the problem, issue is not present on LTS yet.

Offline

#4 2023-05-23 02:10:21

loqs
Member
Registered: 2014-03-06
Posts: 17,310

Re: Kernel 6.3.2 Resuming from suspend fails due to Broadcom BCM43602

Might possibly be fixed by https://git.kernel.org/pub/scm/linux/ke … null.patch which is queued for 6.3.4.

Offline

#5 2023-05-23 04:29:51

jrgiacone
Member
Registered: 2021-04-24
Posts: 19

Re: Kernel 6.3.2 Resuming from suspend fails due to Broadcom BCM43602

loqs wrote:

Might possibly be fixed by https://git.kernel.org/pub/scm/linux/ke … null.patch which is queued for 6.3.4.

sorry no idea what happened even lts is not working the system just restarts after suspend now... i am at such a loss i just uninstalled the kde-applications-meta but even on reinstalling same issue:

May 22 21:26:16 archtop kernel: reserve setup_data: [mem 0x000000002af6e000-0x000000002afb7fff] reserved
...skipping...
May 22 21:26:33 archtop plasmashell[763]: file:///usr/lib/qt/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop de>
May 22 21:26:34 archtop systemd[1]: Stopping User Manager for UID 973...
May 22 21:26:34 archtop systemd[586]: Activating special unit Exit the Session...
May 22 21:26:34 archtop systemd[586]: Stopped target Main User Target.
May 22 21:26:34 archtop systemd[586]: Stopping D-Bus User Message Bus...
May 22 21:26:34 archtop systemd[586]: Stopped D-Bus User Message Bus.
May 22 21:26:34 archtop systemd[586]: Removed slice User Core Session Slice.
May 22 21:26:34 archtop systemd[586]: Stopped target Basic System.
May 22 21:26:34 archtop systemd[586]: Stopped target Paths.
May 22 21:26:34 archtop systemd[586]: Stopped target Sockets.
May 22 21:26:34 archtop systemd[586]: Stopped target Timers.
May 22 21:26:34 archtop systemd[586]: Closed D-Bus User Message Bus Socket.
May 22 21:26:34 archtop systemd[586]: Closed GnuPG network certificate management daemon.
May 22 21:26:34 archtop systemd[586]: Closed GnuPG cryptographic agent and passphrase cache (access for web browsers).
May 22 21:26:34 archtop systemd[586]: Closed GnuPG cryptographic agent and passphrase cache (restricted).
May 22 21:26:34 archtop systemd[586]: Closed GnuPG cryptographic agent (ssh-agent emulation).
May 22 21:26:34 archtop systemd[586]: Closed GnuPG cryptographic agent and passphrase cache.
May 22 21:26:34 archtop systemd[586]: Closed p11-kit server.
May 22 21:26:34 archtop systemd[586]: Closed PipeWire PulseAudio.
May 22 21:26:34 archtop systemd[586]: Closed PipeWire Multimedia System Socket.
May 22 21:26:34 archtop systemd[586]: Removed slice User Application Slice.
May 22 21:26:34 archtop systemd[586]: Reached target Shutdown.
May 22 21:26:34 archtop systemd[586]: Finished Exit the Session.
May 22 21:26:34 archtop systemd[586]: Reached target Exit the Session.
May 22 21:26:34 archtop (sd-pam)[587]: pam_warn(systemd-user:setcred): function=[pam_sm_setcred] flags=0x8004 service=[systemd-user] terminal=[] >
May 22 21:26:34 archtop systemd[1]: user@973.service: Deactivated successfully.
May 22 21:26:34 archtop systemd[1]: Stopped User Manager for UID 973.
May 22 21:26:34 archtop systemd[1]: Stopping User Runtime Directory /run/user/973...
May 22 21:26:34 archtop systemd[1]: run-user-973.mount: Deactivated successfully.
May 22 21:26:34 archtop systemd[1]: user-runtime-dir@973.service: Deactivated successfully.
May 22 21:26:34 archtop systemd[1]: Stopped User Runtime Directory /run/user/973.
May 22 21:26:34 archtop systemd[1]: Removed slice User Slice of UID 973.
May 22 21:26:34 archtop systemd[1]: user-973.slice: Consumed 1.209s CPU time.
May 22 21:26:34 archtop systemd-logind[440]: The system will suspend now!
May 22 21:26:34 archtop NetworkManager[445]: <info>  [1684815994.4640] manager: sleep: sleep requested (sleeping: no  enabled: yes)
May 22 21:26:34 archtop NetworkManager[445]: <info>  [1684815994.4641] manager: NetworkManager state is now ASLEEP
May 22 21:26:34 archtop NetworkManager[445]: <info>  [1684815994.4644] device (wlan0): state change: activated -> deactivating (reason 'sleeping'>
May 22 21:26:34 archtop dbus-daemon[437]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedeskto>
May 22 21:26:34 archtop kded5[738]: org.kde.plasma.nm.kded: Unhandled active connection state change:  3
May 22 21:26:34 archtop systemd[1]: Starting Network Manager Script Dispatcher Service...
May 22 21:26:34 archtop dbus-daemon[437]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
May 22 21:26:34 archtop systemd[1]: Started Network Manager Script Dispatcher Service.
May 22 21:26:34 archtop iwd[438]: [DHCPv4] l_dhcp_client_stop:1264 Entering state: DHCP_STATE_INIT
May 22 21:26:34 archtop NetworkManager[445]: <info>  [1684815994.5753] device (wlan0): new IWD device state is disconnecting
May 22 21:26:34 archtop NetworkManager[445]: <info>  [1684815994.5754] device (wlan0): state change: deactivating -> disconnected (reason 'sleepi>
May 22 21:26:34 archtop systemd-resolved[427]: wlan0: Bus client reset search domain list.
May 22 21:26:34 archtop systemd-resolved[427]: wlan0: Bus client set default route setting: no
May 22 21:26:34 archtop systemd-resolved[427]: wlan0: Bus client reset DNS server list.
May 22 21:26:34 archtop NetworkManager[445]: <info>  [1684815994.5890] device (wlan0): new IWD device state is disconnected
May 22 21:26:34 archtop NetworkManager[445]: <info>  [1684815994.5894] device (wlan0): state change: disconnected -> unmanaged (reason 'sleeping'>
May 22 21:26:34 archtop kernel: ieee80211 phy0: brcmf_inetaddr_changed: fail to get arp ip table err:-52
May 22 21:26:35 archtop kscreenlocker_greet[1486]: kf.kirigami: Failed to find a Kirigami platform plugin
May 22 21:26:35 archtop kscreenlocker_greet[1486]: qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
May 22 21:26:35 archtop systemd[1]: Reached target Sleep.
May 22 21:26:35 archtop systemd[1]: Starting System Suspend...

Offline

#6 2023-06-06 20:02:32

markJT
Member
Registered: 2018-10-18
Posts: 13

Re: Kernel 6.3.2 Resuming from suspend fails due to Broadcom BCM43602

I'm also having a similar issue on my Dell XPS 13 9350 (more info here: https://bbs.archlinux.org/viewtopic.php … #p2103670). This has only been a recent-ish issue, having started earlier this year.

For the workaround posted above, can I ask how you would initiate and run this?

Thanks!

Offline

Board footer

Powered by FluxBB