Regular hangs of L5
My Librem 5 hangs quite often lately. I have the impression that this started happening after the release of the kernel 6.6 series. I still do not exactly know what happens. But I will try to report here in this issue.
As a first start see the shortened and redacted log file that contains call traces. Roughly 5 minutes after these the Librem 5 completely hangs. I can only shut off by using the power button.
The first call trace is here for convenience, see the log file for more:
Feb 25 18:01:54 avalon kernel: ------------[ cut here ]------------
Feb 25 18:01:54 avalon kernel: WARNING: CPU: 1 PID: 18397 at net/mac80211/scan.c:420 __ieee80211_scan_completed+0x2bc/0x320 [mac80211]
Feb 25 18:01:54 avalon kernel: Modules linked in: aes_ce_ccm algif_hash algif_skcipher af_alg rfcomm bnep usb_f_acm u_serial usb_f_ncm u_ether st_magn_i2c st_sensors_i2c st_magn st_sensors st_lsm6dsx_i2c st_lsm6dsx_spi st_lsm6dsx qmi_wwan cdc_wdm usbnet option mii usb_wwan usbserial caam_jr caamhash_desc caamalg_desc crypto_engine ledtrig_pattern redpine_sdio redpine_91x bluetooth snd_soc_simple_card hantro_vpu mac80211 snd_soc_gtm601 snd_soc_imx_hdmi snd_soc_simple_card_utils snd_soc_hdmi_codec v4l2_vp9 v4l2_h264 cfg80211 v4l2_mem2mem imx8mq_mipi_csi2 hi846 imx7_media_csi s5k3l6xx videobuf2_dma_contig leds_lm3560 videobuf2_memops v4l2_flash_led_class dw9714 v4l2_fwnode videobuf2_v4l2 v4l2_async vcnl4000 snd_soc_fsl_sai mousedev videodev videobuf2_common industrialio_triggered_buffer snd_soc_fsl_utils snd_soc_wm8962 kfifo_buf imx_pcm_dma snd_soc_core mc snd_pcm_dmaengine snd_pcm snd_timer imx2_wdt gnss_mtk gnss_serial gnss watchdog snd soundcore caam rfkill_hks error rfkill imx_rproc leds_pwm_multicolor led_class_multicolor libcomposite
Feb 25 18:01:54 avalon kernel: ledtrig_timer fuse zram ip_tables x_tables ipv6 autofs4 uas usb_storage mtdblock mtd_blkdevs overlay ofpart xhci_plat_hcd xhci_hcd spi_nor usbcore mtd aes_ce_blk crct10dif_ce cdns_mhdp_imx ghash_ce sha2_ce sha1_ce cdns_mhdp_drmcore dwc3 pwm_vibra ulpi phy_fsl_imx8mq_usb imx_dcss drm_display_helper edt_ft5x06 udc_core bq25890_charger usb_common tps6598x typec roles clk_bd718x7 snvs_pwrkey imx_sdma virt_dma
Feb 25 18:01:54 avalon kernel: CPU: 1 PID: 18397 Comm: kworker/u8:35 Tainted: G W 6.6.0-1-librem5 #1
Feb 25 18:01:54 avalon kernel: Hardware name: Purism Librem 5r4 (DT)
Feb 25 18:01:54 avalon kernel: Workqueue: events_unbound async_run_entry_fn
Feb 25 18:01:54 avalon kernel: pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
Feb 25 18:01:54 avalon kernel: pc : __ieee80211_scan_completed+0x2bc/0x320 [mac80211]
Feb 25 18:01:54 avalon kernel: lr : ieee80211_scan_work+0x15c/0x6b8 [mac80211]
Feb 25 18:01:54 avalon kernel: sp : ffff800085583990
Feb 25 18:01:54 avalon kernel: x29: ffff800085583990 x28: ffff000027764900 x27: ffff8000816e6000
Feb 25 18:01:54 avalon kernel: x26: ffff0000277643c0 x25: 0000000000000000 x24: ffff000027765c18
Feb 25 18:01:54 avalon kernel: x23: 0000000000000000 x22: 0000000000000000 x21: ffff000027765b30
Feb 25 18:01:54 avalon kernel: x20: ffff000027764900 x19: 0000000000000000 x18: 00000000fffffffe
Feb 25 18:01:54 avalon kernel: x17: 2e73657461647075 x16: 2070617620676e69 x15: 646e6553203a6465
Feb 25 18:01:54 avalon kernel: x14: 676e6168635f6f66 x13: 2e2e2e2e73657461 x12: 0000000000000040
Feb 25 18:01:54 avalon kernel: x11: ffff000001400000 x10: 0000000000000001 x9 : ffff80007a207b1c
Feb 25 18:01:54 avalon kernel: x8 : ffff0000a49bb480 x7 : 0000000000000000 x6 : ffffffffffffec00
Feb 25 18:01:54 avalon kernel: x5 : 000001939e6d4bdd x4 : ffff000027765b50 x3 : ffffffffffffece8
Feb 25 18:01:54 avalon kernel: x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000000000
Feb 25 18:01:54 avalon kernel: Call trace:
Feb 25 18:01:54 avalon kernel: __ieee80211_scan_completed+0x2bc/0x320 [mac80211]
Feb 25 18:01:54 avalon kernel: ieee80211_scan_work+0x15c/0x6b8 [mac80211]
Feb 25 18:01:54 avalon kernel: cfg80211_process_wiphy_works+0x98/0x100 [cfg80211]
Feb 25 18:01:54 avalon kernel: wiphy_work_flush+0x5c/0x98 [cfg80211]
Feb 25 18:01:54 avalon kernel: wiphy_delayed_work_flush+0x34/0x50 [cfg80211]
Feb 25 18:01:54 avalon kernel: ieee80211_flush_completed_scan+0x54/0xa0 [mac80211]
Feb 25 18:01:54 avalon kernel: ieee80211_reconfig+0x150/0x15f0 [mac80211]
Feb 25 18:01:54 avalon kernel: ieee80211_resume+0x5c/0x80 [mac80211]
Feb 25 18:01:54 avalon kernel: wiphy_resume+0x8c/0x218 [cfg80211]
Feb 25 18:01:54 avalon kernel: dpm_run_callback+0x98/0x260
Feb 25 18:01:54 avalon kernel: device_resume+0x9c/0x200
Feb 25 18:01:54 avalon kernel: async_resume+0x34/0xa8
Feb 25 18:01:54 avalon kernel: async_run_entry_fn+0x3c/0x160
Feb 25 18:01:54 avalon kernel: process_one_work+0x164/0x3b8
Feb 25 18:01:54 avalon kernel: worker_thread+0x338/0x450
Feb 25 18:01:54 avalon kernel: kthread+0x120/0x130
Feb 25 18:01:54 avalon kernel: ret_from_fork+0x10/0x20
Feb 25 18:01:54 avalon kernel: ---[ end trace 0000000000000000 ]---
Edited by Jan Vlug