I have verified 7.0.0-44.44 fixes this on resolute for me. Similar
circumstances (pebble unit tests not snapd, inside a workshop). I was
able to reliably hit this, updated only the kernel to this, now it is
resolved.

---

I made lockups a panic:

$ sysctl kernel.softlockup_panic kernel.hardlockup_panic 
kernel.panic_on_rcu_stall kernel.hung_task_panic kernel.panic kernel.sysrq
kernel.softlockup_panic = 1
kernel.hardlockup_panic = 1
kernel.panic_on_rcu_stall = 1
kernel.hung_task_panic = 1
kernel.panic = 10
kernel.sysrq = 184

Also needed to disable kdump and have the panic go into uefi pstore...
zfs root is not great for kdump.

---

Oops#1 Part3
<4>[ 2834.156165] PKRU: 55555554
<4>[ 2834.156166] Call Trace:
<4>[ 2834.156168]  <TASK>
<4>[ 2834.156172]  aa_label_is_subset+0x3f/0x70
<4>[ 2834.156175]  update_sk_ctx+0xfd/0x2c0
<4>[ 2834.156178]  aa_unix_file_perm+0x5c2/0x740
<4>[ 2834.156182]  aa_sock_file_perm+0x91/0xf0
<4>[ 2834.156185]  aa_file_perm+0x36c/0x3b0
<4>[ 2834.156188]  apparmor_file_permission+0x58/0x1c0
<4>[ 2834.156190]  ? srso_alias_return_thunk+0x5/0xfbef5
<4>[ 2834.156194]  ? aa_unix_sock_perm+0x83/0x1e0
<4>[ 2834.156196]  ? srso_alias_return_thunk+0x5/0xfbef5
<4>[ 2834.156199]  security_file_permission+0x5b/0x170
<4>[ 2834.156202]  rw_verify_area+0x57/0x180
<4>[ 2834.156206]  vfs_write+0x7c/0x490
<4>[ 2834.156209]  ? aa_do_perms+0xbb/0x120
<4>[ 2834.156212]  ? srso_alias_return_thunk+0x5/0xfbef5
<4>[ 2834.156215]  ksys_write+0xc6/0xf0
<4>[ 2834.156217]  __x64_sys_write+0x19/0x30
<4>[ 2834.156220]  x64_sys_call+0x22f/0x2390
<4>[ 2834.156223]  do_syscall_64+0x105/0x580
<4>[ 2834.156229]  ? srso_alias_return_thunk+0x5/0xfbef5
<4>[ 2834.156231]  ? aa_unix_sock_perm+0x83/0x1e0
<4>[ 2834.156234]  ? srso_alias_return_thunk+0x5/0xfbef5
<4>[ 2834.156235]  ? __check_object_size+0x51/0x100
<4>[ 2834.156239]  ? srso_alias_return_thunk+0x5/0xfbef5
<4>[ 2834.156241]  ? move_addr_to_user+0xd6/0x170
<4>[ 2834.156245]  ? srso_alias_return_thunk+0x5/0xfbef5
<4>[ 2834.156247]  ? do_getsockname+0x85/0xc0
<4>[ 2834.156251]  ? srso_alias_return_thunk+0x5/0xfbef5
<4>[ 2834.156253]  ? __sys_getsockname+0x8f/0xd0
<4>[ 2834.156256]  ? srso_alias_return_thunk+0x5/0xfbef5
<4>[ 2834.156258]  ? srso_alias_return_thunk+0x5/0xfbef5
<4>[ 2834.156260]  ? arch_exit_to_user_mode_prepare.isra.0+0xd/0xe0
Oops#1 Part2
<4>[ 2834.156262]  ? srso_alias_return_thunk+0x5/0xfbef5
<4>[ 2834.156264]  ? do_syscall_64+0x140/0x580
<4>[ 2834.156267]  ? srso_alias_return_thunk+0x5/0xfbef5
<4>[ 2834.156269]  ? __x64_sys_epoll_ctl+0x6c/0xb0
<4>[ 2834.156272]  ? srso_alias_return_thunk+0x5/0xfbef5
<4>[ 2834.156274]  ? arch_exit_to_user_mode_prepare.isra.0+0xd/0xe0
<4>[ 2834.156277]  ? srso_alias_return_thunk+0x5/0xfbef5
<4>[ 2834.156279]  ? do_syscall_64+0x140/0x580
<4>[ 2834.156281]  ? srso_alias_return_thunk+0x5/0xfbef5
<4>[ 2834.156283]  ? srso_alias_return_thunk+0x5/0xfbef5
<4>[ 2834.156285]  ? arch_exit_to_user_mode_prepare.isra.0+0xd/0xe0
<4>[ 2834.156287]  ? srso_alias_return_thunk+0x5/0xfbef5
<4>[ 2834.156289]  ? do_syscall_64+0x140/0x580
<4>[ 2834.156291]  ? srso_alias_return_thunk+0x5/0xfbef5
<4>[ 2834.156293]  ? irqentry_exit+0x97/0x6f0
<4>[ 2834.156296]  ? srso_alias_return_thunk+0x5/0xfbef5
<4>[ 2834.156298]  ? exc_page_fault+0x94/0x1e0
<4>[ 2834.156300]  entry_SYSCALL_64_after_hwframe+0x76/0x7e
<4>[ 2834.156302] RIP: 0033:0x4152ee
<4>[ 2834.156320] Code: ff cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc cc 
cc cc cc cc cc cc cc cc cc cc 49 89 f2 48 89 fa 48 89 ce 48 89 df 0f 05 <48> 3d 
01 f0 ff ff 76 13 48 f7 d8 48 89 c1 48 c7 c0 ff ff ff ff bb
<4>[ 2834.156322] RSP: 002b:00002f83ec75f448 EFLAGS: 00000206 ORIG_RAX: 
0000000000000001
<4>[ 2834.156324] RAX: ffffffffffffffda RBX: 0000000000000009 RCX: 
00000000004152ee
<4>[ 2834.156326] RDX: 0000000000000009 RSI: 00002f83ec75f6f0 RDI: 
0000000000000009
<4>[ 2834.156327] RBP: 00002f83ec75f488 R08: 0000000000000000 R09: 
0000000000000000
<4>[ 2834.156328] R10: 0000000000000000 R11: 0000000000000206 R12: 
00002f83ec75f5b8
Oops#1 Part1
<4>[ 2834.156330] R13: 0000000000000005 R14: 00002f83ec704f00 R15: 
ffffffffffffffff
<4>[ 2834.156334]  </TASK>
<4>[ 2834.156335] Modules linked in: veth vhost_net tap btrfs libblake2b xor 
raid6_pq vhost_vsock vmw_vsock_virtio_transport_common vhost vhost_iotlb vsock 
nft_masq nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 bridge 
stp llc nf_tables nfnetlink rfcomm snd_seq_dummy snd_hrtimer qrtr cmac 
algif_hash algif_skcipher af_alg bnep binfmt_misc amd_atl intel_rapl_msr 
nls_iso8859_1 intel_rapl_common snd_hda_codec_alc662 snd_hda_codec_realtek_lib 
snd_hda_codec_generic snd_hda_codec_atihdmi snd_hda_codec_hdmi edac_mce_amd 
snd_hda_intel joydev input_leds rtw89_8852ce amdgpu snd_hda_codec rtw89_8852c 
snd_hda_core rtw89_pci snd_intel_dspcfg snd_intel_sdw_acpi snd_hwdep rtw89_core 
snd_pcm kvm_amd snd_seq_midi kvm snd_seq_midi_event amdxcp 
drm_panel_backlight_quirks mac80211 snd_rawmidi gpu_sched btusb drm_buddy 
irqbypass btmtk drm_ttm_helper rapl btrtl ttm snd_seq btbcm drm_exec btintel 
drm_suballoc_helper snd_seq_device snd_timer nzxt_kraken3 bluetooth 
drm_display_helper gigabyte_wmi wmi_bmof r8169 i2c_piix4 cfg80211
<4>[ 2834.156412]  k10temp cec snd rc_core i2c_smbus libarc4 i2c_algo_bit 
realtek soundcore phylink mac_hid sch_fq_codel efi_pstore hid_logitech_hidpp 
zfs(PO) spl(O) hid_logitech_dj uas usb_storage hid_generic usbhid hid nvme ahci 
libahci nvme_core nvme_keyring ghash_clmulni_intel nvme_auth ccp video hkdf wmi 
dm_mirror dm_region_hash dm_log lp ppdev parport msr dmi_sysfs autofs4 
aesni_intel
<4>[ 2834.156451] CR2: 000000000000004c
<4>[ 2834.156453] ---[ end trace 0000000000000000 ]---

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2170572

Title:
  linux-image-7.0.0-38-generic randomly freezes Lenovo Legion 5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2170572/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to