Laptop reboots itself after long sleep time with closed lid

Bug #2008979 reported by Kole de nNix
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

HP laptop with AMD Ryzen 7 5700U with Radeon Graphics
Last journal log in attachments.
Laptop booted at 12:59 GMT+3
Going to sleep at 16:57 GMT+3 (lid closed)
Resume itself (lid still closed) at 6:36 GMT+3 next morning
Rebooting itself after that

Logs from journalctl in attachment.
There are some errors from logs:

мар 02 06:36:38 NickLap kernel: amdgpu 0000:04:00.0: SMU uninitialized but power gate requested for 6!
мар 02 06:36:38 NickLap kernel: WARNING: CPU: 10 PID: 33325 at drivers/gpu/drm/amd/amdgpu/../pm/swsmu/amdgpu_smu.c:227 smu_dpm_set_power_gate+0x1d9/0x200 [amdgpu]
мар 02 06:36:38 NickLap kernel: Modules linked in: usblp cdc_acm exfat rfcomm ccm cmac algif_hash algif_skcipher af_alg snd_ctl_led bnep snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_acp3x_pdm_dma snd_acp3x_rn snd_soc_dmic snd_hda_codec_hdmi snd_sof_amd_renoir intel_rapl_msr snd_sof_amd_acp intel_rapl_common amdgpu snd_hda_intel snd_sof_pci snd_sof snd_intel_dspcfg rtw88_8822ce snd_intel_sdw_acpi snd_sof_utils edac_mce_amd snd_hda_codec rtw88_8822c snd_soc_core uvcvideo btusb snd_hda_core iommu_v2 rtw88_pci gpu_sched btrtl snd_compress snd_hwdep videobuf2_vmalloc ac97_bus btbcm drm_ttm_helper rtw88_core kvm_amd snd_pcm_dmaengine videobuf2_memops btintel snd_seq_midi snd_pci_ps crct10dif_pclmul snd_seq_midi_event ttm videobuf2_v4l2 ghash_clmulni_intel binfmt_misc btmtk kvm mac80211 drm_display_helper snd_acp_pci videobuf2_common aesni_intel snd_rawmidi snd_pci_acp6x nls_iso8859_1 cec bluetooth snd_seq snd_pcm crypto_simd videodev cryptd rc_core snd_seq_device hp_wmi rapl joydev input_leds
мар 02 06:36:38 NickLap kernel: sparse_keymap mc drm_kms_helper snd_pci_acp5x serio_raw ecdh_generic snd_timer platform_profile cfg80211 ecc i2c_algo_bit fb_sys_fops wmi_bmof snd_rn_pci_acp3x hid_multitouch syscopyarea snd_acp_config snd sysfillrect sysimgblt snd_soc_acpi snd_pci_acp3x soundcore ccp libarc4 k10temp ucsi_acpi typec_ucsi typec mac_hid wireless_hotkey amd_pmc acpi_tad sch_fq_codel msr parport_pc ppdev lp drm parport pstore_blk ramoops reed_solomon efi_pstore pstore_zone ip_tables x_tables autofs4 uas usb_storage usbhid rtsx_pci_sdmmc nvme hid_generic xhci_pci ahci crc32_pclmul i2c_piix4 libahci nvme_core xhci_pci_renesas rtsx_pci wmi i2c_hid_acpi i2c_hid hid video
мар 02 06:36:38 NickLap kernel: CPU: 10 PID: 33325 Comm: kworker/10:1 Tainted: G W 5.19.0-32-generic #33~22.04.1-Ubuntu
мар 02 06:36:38 NickLap kernel: Hardware name: HP HP Pavilion Laptop 15-eh1xxx/88D0, BIOS F.12 11/11/2021
мар 02 06:36:38 NickLap kernel: Workqueue: events amdgpu_device_delay_enable_gfx_off [amdgpu]
мар 02 06:36:38 NickLap kernel: RIP: 0010:smu_dpm_set_power_gate+0x1d9/0x200 [amdgpu]
мар 02 06:36:38 NickLap kernel: Code: e2 4c 8b 6f 50 4d 85 ed 75 03 4c 8b 2f e8 bf 30 d2 e7 41 89 d8 4c 89 e1 4c 89 ea 48 89 c6 48 c7 c7 88 a3 d7 c1 e8 df 18 20 e8 <0f> 0b b8 a1 ff ff ff e9 bf fe ff ff e9 70 6a 38 00 e9 6b 6a 38 00
мар 02 06:36:38 NickLap kernel: RSP: 0018:ffffb894d0747dd0 EFLAGS: 00010246
мар 02 06:36:38 NickLap kernel: RAX: 0000000000000000 RBX: 0000000000000006 RCX: 0000000000000000
мар 02 06:36:38 NickLap kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
мар 02 06:36:38 NickLap kernel: RBP: ffffb894d0747df8 R08: 0000000000000000 R09: 0000000000000000
мар 02 06:36:38 NickLap kernel: R10: 0000000000000000 R11: 0000000000000000 R12: ffffffffc1dc8cbc
мар 02 06:36:38 NickLap kernel: R13: ffff8a5701a53870 R14: 0000000000000001 R15: ffff8a57077a8be8
мар 02 06:36:38 NickLap kernel: FS: 0000000000000000(0000) GS:ffff8a59ff880000(0000) knlGS:0000000000000000
мар 02 06:36:38 NickLap kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
мар 02 06:36:38 NickLap kernel: CR2: 0000563b6c72f728 CR3: 00000003f5810000 CR4: 0000000000350ee0
мар 02 06:36:38 NickLap kernel: Call Trace:
мар 02 06:36:38 NickLap kernel: <TASK>
мар 02 06:36:38 NickLap kernel: amdgpu_dpm_set_powergating_by_smu+0xa4/0x180 [amdgpu]
мар 02 06:36:38 NickLap kernel: amdgpu_device_delay_enable_gfx_off+0x46/0x70 [amdgpu]
мар 02 06:36:38 NickLap kernel: process_one_work+0x21f/0x400
мар 02 06:36:38 NickLap kernel: worker_thread+0x50/0x3f0
мар 02 06:36:38 NickLap kernel: ? rescuer_thread+0x3a0/0x3a0
мар 02 06:36:38 NickLap kernel: kthread+0xee/0x120
мар 02 06:36:38 NickLap kernel: ? kthread_complete_and_exit+0x20/0x20
мар 02 06:36:38 NickLap kernel: ret_from_fork+0x22/0x30
мар 02 06:36:38 NickLap kernel: </TASK>
мар 02 06:36:38 NickLap kernel: ---[ end trace 0000000000000000 ]---
мар 02 06:36:38 NickLap kernel: ACPI: EC: interrupt blocked
мар 02 06:36:38 NickLap kernel: amd_pmc AMDI0005:00: Last suspend didn't reach deepest state
мар 02 06:36:38 NickLap kernel: ACPI: EC: interrupt unblocked
мар 02 06:36:38 NickLap kernel: ACPI: button: The lid device is not compliant to SW_LID.
мар 02 06:36:38 NickLap kernel: pci 0000:00:00.2: can't derive routing for PCI INT A
мар 02 06:36:38 NickLap kernel: pci 0000:00:00.2: PCI INT A: no GSI
мар 02 06:36:38 NickLap kernel: nvme nvme0: 8/0/0 default/read/poll queues
мар 02 06:36:38 NickLap kernel: ata2: SATA link down (SStatus 0 SControl 300)
мар 02 06:36:38 NickLap kernel: ata1: SATA link down (SStatus 0 SControl 300)
мар 02 06:36:38 NickLap kernel: usb 1-4: reset full-speed USB device number 4 using xhci_hcd
мар 02 06:36:38 NickLap kernel: amdgpu 0000:04:00.0: amdgpu: failed to write reg 28b4 wait reg 28c6
мар 02 06:36:38 NickLap kernel: amdgpu 0000:04:00.0: amdgpu: failed to write reg 1a6f4 wait reg 1a706
мар 02 06:36:38 NickLap kernel: amdgpu 0000:04:00.0: amdgpu: failed to write reg 28b4 wait reg 28c6
мар 02 06:36:38 NickLap kernel: amdgpu 0000:04:00.0: amdgpu: failed to write reg 1a6f4 wait reg 1a706
мар 02 06:36:38 NickLap kernel: watchdog: BUG: soft lockup - CPU#7 stuck for 27s! [kworker/u32:30:36732]
мар 02 06:36:38 NickLap kernel: Modules linked in: usblp cdc_acm exfat rfcomm ccm cmac algif_hash algif_skcipher af_alg snd_ctl_led bnep snd_hda_codec_realtek snd_hda_codec_generic ledtrig_audio snd_acp3x_pdm_dma snd_acp3x_rn snd_soc_dmic snd_hda_codec_hdmi snd_sof_amd_renoir intel_rapl_msr snd_sof_amd_acp intel_rapl_common amdgpu snd_hda_intel snd_sof_pci snd_sof snd_intel_dspcfg rtw88_8822ce snd_intel_sdw_acpi snd_sof_utils edac_mce_amd snd_hda_codec rtw88_8822c snd_soc_core uvcvideo btusb snd_hda_core iommu_v2 rtw88_pci gpu_sched btrtl snd_compress snd_hwdep videobuf2_vmalloc ac97_bus btbcm drm_ttm_helper rtw88_core kvm_amd snd_pcm_dmaengine videobuf2_memops btintel snd_seq_midi snd_pci_ps crct10dif_pclmul snd_seq_midi_event ttm videobuf2_v4l2 ghash_clmulni_intel binfmt_misc btmtk kvm mac80211 drm_display_helper snd_acp_pci videobuf2_common aesni_intel snd_rawmidi snd_pci_acp6x nls_iso8859_1 cec bluetooth snd_seq snd_pcm crypto_simd videodev cryptd rc_core snd_seq_device hp_wmi rapl joydev input_leds
мар 02 06:36:38 NickLap kernel: sparse_keymap mc drm_kms_helper snd_pci_acp5x serio_raw ecdh_generic snd_timer platform_profile cfg80211 ecc i2c_algo_bit fb_sys_fops wmi_bmof snd_rn_pci_acp3x hid_multitouch syscopyarea snd_acp_config snd sysfillrect sysimgblt snd_soc_acpi snd_pci_acp3x soundcore ccp libarc4 k10temp ucsi_acpi typec_ucsi typec mac_hid wireless_hotkey amd_pmc acpi_tad sch_fq_codel msr parport_pc ppdev lp drm parport pstore_blk ramoops reed_solomon efi_pstore pstore_zone ip_tables x_tables autofs4 uas usb_storage usbhid rtsx_pci_sdmmc nvme hid_generic xhci_pci ahci crc32_pclmul i2c_piix4 libahci nvme_core xhci_pci_renesas rtsx_pci wmi i2c_hid_acpi i2c_hid hid video
мар 02 06:36:38 NickLap kernel: CPU: 7 PID: 36732 Comm: kworker/u32:30 Tainted: G W 5.19.0-32-generic #33~22.04.1-Ubuntu
мар 02 06:36:38 NickLap kernel: Hardware name: HP HP Pavilion Laptop 15-eh1xxx/88D0, BIOS F.12 11/11/2021
мар 02 06:36:38 NickLap kernel: Workqueue: events_unbound async_run_entry_fn
мар 02 06:36:38 NickLap kernel: RIP: 0010:amdgpu_device_wreg+0x0/0x50 [amdgpu]
мар 02 06:36:38 NickLap kernel: Code: 08 00 00 73 1f 49 03 b4 24 c0 08 00 00 88 16 48 83 c4 08 5b 41 5c 41 5d 5d 31 d2 89 d6 89 d7 e9 f6 3f 81 e8 0f 0b 0f 1f 40 00 <0f> 1f 44 00 00 55 48 89 e5 41 55 41 89 f5 41 54 49 89 fc 53 48 83
мар 02 06:36:38 NickLap kernel: RSP: 0018:ffffb894d0897c50 EFLAGS: 00000246
мар 02 06:36:38 NickLap kernel: RAX: 000000000000001e RBX: ffff8a57077a0000 RCX: 0000000000000000
мар 02 06:36:38 NickLap kernel: RDX: 00000000ffffffff RSI: 00000000000028e5 RDI: ffff8a57077a0000
мар 02 06:36:38 NickLap kernel: RBP: ffffb894d0897c70 R08: 0000000000000000 R09: 0000000000000000
мар 02 06:36:38 NickLap kernel: R10: 0000000000000000 R11: 0000000000000000 R12: 000000000000000f
мар 02 06:36:38 NickLap kernel: R13: 0000000000002987 R14: ffff8a57077a0000 R15: ffffffffc1c1a460
мар 02 06:36:38 NickLap kernel: FS: 0000000000000000(0000) GS:ffff8a59ff7c0000(0000) knlGS:0000000000000000
мар 02 06:36:38 NickLap kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
мар 02 06:36:38 NickLap kernel: CR2: 00007fd832ceeae0 CR3: 00000003f5810000 CR4: 0000000000350ee0
мар 02 06:36:38 NickLap kernel: Call Trace:
мар 02 06:36:38 NickLap kernel: <TASK>
мар 02 06:36:38 NickLap kernel: ? gfxhub_v1_0_program_invalidation+0x74/0x170 [amdgpu]
мар 02 06:36:38 NickLap kernel: gfxhub_v1_0_gart_enable+0x228/0x260 [amdgpu]
мар 02 06:36:38 NickLap kernel: gmc_v9_0_hw_init+0x16e/0x4a0 [amdgpu]
мар 02 06:36:38 NickLap kernel: gmc_v9_0_resume+0x15/0x40 [amdgpu]
мар 02 06:36:38 NickLap kernel: amdgpu_device_ip_resume_phase1+0xde/0x220 [amdgpu]
мар 02 06:36:38 NickLap kernel: amdgpu_device_resume+0x1ea/0x2f0 [amdgpu]
мар 02 06:36:38 NickLap kernel: amdgpu_pmops_resume+0x37/0x80 [amdgpu]
мар 02 06:36:38 NickLap kernel: pci_pm_resume+0x77/0x110
мар 02 06:36:38 NickLap kernel: ? pci_legacy_resume+0x90/0x90
мар 02 06:36:38 NickLap kernel: dpm_run_callback+0x6c/0x170
мар 02 06:36:38 NickLap kernel: device_resume+0xad/0x220
мар 02 06:36:38 NickLap kernel: async_resume+0x1e/0x50
мар 02 06:36:38 NickLap kernel: async_run_entry_fn+0x33/0x130
мар 02 06:36:38 NickLap kernel: process_one_work+0x21f/0x400
мар 02 06:36:38 NickLap kernel: worker_thread+0x50/0x3f0
мар 02 06:36:38 NickLap kernel: ? rescuer_thread+0x3a0/0x3a0
мар 02 06:36:38 NickLap kernel: kthread+0xee/0x120
мар 02 06:36:38 NickLap kernel: ? kthread_complete_and_exit+0x20/0x20
мар 02 06:36:38 NickLap kernel: ret_from_fork+0x22/0x30
мар 02 06:36:38 NickLap kernel: </TASK>
мар 02 06:36:38 NickLap kernel: [drm] PCIE GART of 1024M enabled.
мар 02 06:36:38 NickLap kernel: [drm] PTB located at 0x000000F400900000
мар 02 06:36:38 NickLap kernel: amdgpu 0000:04:00.0: amdgpu: SMU is resuming...
мар 02 06:36:38 NickLap kernel: amdgpu 0000:04:00.0: amdgpu: SMU: I'm not done with your previous command: SMN_C2PMSG_66:0x0000001A SMN_C2PMSG_82:0x000000F4
мар 02 06:36:38 NickLap kernel: amdgpu 0000:04:00.0: amdgpu: Failed to SetDriverDramAddr!
мар 02 06:36:38 NickLap kernel: amdgpu 0000:04:00.0: amdgpu: Failed to setup smc hw!
мар 02 06:36:38 NickLap kernel: [drm:amdgpu_device_ip_resume_phase2 [amdgpu]] *ERROR* resume of IP block <smu> failed -62
мар 02 06:36:38 NickLap kernel: amdgpu 0000:04:00.0: amdgpu: amdgpu_device_ip_resume failed (-62).
мар 02 06:36:38 NickLap kernel: amdgpu 0000:04:00.0: PM: dpm_run_callback(): pci_pm_resume+0x0/0x110 returns -62
мар 02 06:36:38 NickLap kernel: amdgpu 0000:04:00.0: PM: failed to resume async: error -62
---
ProblemType: Bug
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC1: koledennix 1632 F.... pulseaudio
 /dev/snd/controlC2: koledennix 1632 F.... pulseaudio
 /dev/snd/controlC0: koledennix 1632 F.... pulseaudio
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
DistroRelease: Ubuntu 22.04
InstallationDate: Installed on 2023-02-26 (3 days ago)
InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230223)
MachineType: HP HP Pavilion Laptop 15-eh1xxx
Package: linux (not installed)
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=ru_RU.UTF-8
 SHELL=/bin/bash
ProcFB: 0 amdgpudrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.19.0-35-generic root=UUID=c4db002b-dd9a-4347-98af-3b2e23393703 ro quiet splash vt.handoff=7
ProcVersionSignature: Ubuntu 5.19.0-35.36~22.04.1-generic 5.19.17
RelatedPackageVersions:
 linux-restricted-modules-5.19.0-35-generic N/A
 linux-backports-modules-5.19.0-35-generic N/A
 linux-firmware 20220329.git681281e4-0ubuntu3.10
Tags: jammy wayland-session
Uname: Linux 5.19.0-35-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 11/11/2021
dmi.bios.release: 15.12
dmi.bios.vendor: AMI
dmi.bios.version: F.12
dmi.board.asset.tag: Base Board Asset Tag
dmi.board.name: 88D0
dmi.board.vendor: HP
dmi.board.version: 78.13
dmi.chassis.type: 10
dmi.chassis.vendor: HP
dmi.chassis.version: Chassis Version
dmi.ec.firmware.release: 78.13
dmi.modalias: dmi:bvnAMI:bvrF.12:bd11/11/2021:br15.12:efr78.13:svnHP:pnHPPavilionLaptop15-eh1xxx:pvr:rvnHP:rn88D0:rvr78.13:cvnHP:ct10:cvrChassisVersion:sku39V94EA#ACB:
dmi.product.family: 103C_5335KV HP Pavilion
dmi.product.name: HP Pavilion Laptop 15-eh1xxx
dmi.product.sku: 39V94EA#ACB
dmi.sys.vendor: HP

Revision history for this message
Kole de nNix (koledennix) wrote :
Paul White (paulw2u)
affects: ubuntu → linux (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 2008979

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
Revision history for this message
Kole de nNix (koledennix) wrote : AlsaInfo.txt

apport information

tags: added: apport-collected jammy wayland-session
description: updated
Revision history for this message
Kole de nNix (koledennix) wrote : CRDA.txt

apport information

Revision history for this message
Kole de nNix (koledennix) wrote : CurrentDmesg.txt

apport information

Revision history for this message
Kole de nNix (koledennix) wrote : IwConfig.txt

apport information

Revision history for this message
Kole de nNix (koledennix) wrote : Lspci.txt

apport information

Revision history for this message
Kole de nNix (koledennix) wrote : Lspci-vt.txt

apport information

Revision history for this message
Kole de nNix (koledennix) wrote : Lsusb.txt

apport information

Revision history for this message
Kole de nNix (koledennix) wrote : Lsusb-t.txt

apport information

Revision history for this message
Kole de nNix (koledennix) wrote : Lsusb-v.txt

apport information

Revision history for this message
Kole de nNix (koledennix) wrote : PaInfo.txt

apport information

Revision history for this message
Kole de nNix (koledennix) wrote : ProcCpuinfo.txt

apport information

Revision history for this message
Kole de nNix (koledennix) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Kole de nNix (koledennix) wrote : ProcInterrupts.txt

apport information

Revision history for this message
Kole de nNix (koledennix) wrote : ProcModules.txt

apport information

Revision history for this message
Kole de nNix (koledennix) wrote : PulseList.txt

apport information

Revision history for this message
Kole de nNix (koledennix) wrote : RfKill.txt

apport information

Revision history for this message
Kole de nNix (koledennix) wrote : UdevDb.txt

apport information

Revision history for this message
Kole de nNix (koledennix) wrote : WifiSyslog.txt

apport information

Revision history for this message
Kole de nNix (koledennix) wrote : acpidump.txt

apport information

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