linux issues
https://source.puri.sm/Librem5/linux/-/issues
2024-03-18T18:28:54Z
https://source.puri.sm/Librem5/linux/-/issues/498
Kernel oops - queued_spin_lock_slowpath
2024-03-18T18:28:54Z
Jan Vlug
Kernel oops - queued_spin_lock_slowpath
I sometimes get this crash:
```
Mar 15 09:04:13 avalon kernel: Unable to handle kernel paging request at virtual address ffff800081312181
Mar 15 09:04:13 avalon kernel: Mem abort info:
Mar 15 09:04:13 avalon kernel: ESR = 0x0000000096...
I sometimes get this crash:
```
Mar 15 09:04:13 avalon kernel: Unable to handle kernel paging request at virtual address ffff800081312181
Mar 15 09:04:13 avalon kernel: Mem abort info:
Mar 15 09:04:13 avalon kernel: ESR = 0x0000000096000047
Mar 15 09:04:13 avalon kernel: EC = 0x25: DABT (current EL), IL = 32 bits
Mar 15 09:04:13 avalon kernel: SET = 0, FnV = 0
Mar 15 09:04:13 avalon kernel: EA = 0, S1PTW = 0
Mar 15 09:04:13 avalon kernel: FSC = 0x07: level 3 translation fault
Mar 15 09:04:13 avalon kernel: Data abort info:
Mar 15 09:04:13 avalon kernel: ISV = 0, ISS = 0x00000047, ISS2 = 0x00000000
Mar 15 09:04:13 avalon kernel: CM = 0, WnR = 1, TnD = 0, TagAccess = 0
Mar 15 09:04:13 avalon kernel: GCS = 0, Overlay = 0, DirtyBit = 0, Xs = 0
Mar 15 09:04:13 avalon kernel: swapper pgtable: 4k pages, 48-bit VAs, pgdp=00000000819e8000
Mar 15 09:04:13 avalon kernel: [ffff800081312181] pgd=10000000fffff003, p4d=10000000fffff003, pud=10000000ffffe003, pmd=10000000ffffa003, pte=0000000000000000
Mar 15 09:04:13 avalon kernel: bq25890-charger 3-006a: Upstream supply changed: 1.
Mar 15 09:04:13 avalon kernel: Internal error: Oops: 0000000096000047 [#1] PREEMPT SMP
Mar 15 09:04:13 avalon kernel: Modules linked in: aes_ce_ccm algif_hash algif_skcipher af_alg rfcomm bnep
Mar 15 09:04:13 avalon kernel: bq25890-charger 3-006a: Disabling OTG_EN pin
Mar 15 09:04:13 avalon kernel: st_magn_i2c st_sensors_i2c st_magn st_sensors st_lsm6dsx_i2c st_lsm6dsx_spi st_lsm6dsx usb_f_acm u_serial usb_f_ncm u_ether caam_jr caamhash_desc caamalg_des>
Mar 15 09:04:13 avalon kernel: mtdblock
Mar 15 09:04:13 avalon kernel: bq25890-charger 3-006a: Upstream supply changed: 1.
Mar 15 09:04:13 avalon kernel: mtd_blkdevs overlay ofpart xhci_plat_hcd spi_nor xhci_hcd mtd usbcore aes_ce_blk crct10dif_ce ghash_ce sha2_ce sha1_ce pwm_vibra dwc3 ulpi udc_core cdns_mhdp>
Mar 15 09:04:13 avalon kernel: CPU: 1 PID: 560 Comm: NetworkManager Not tainted 6.6.0-1-librem5 #1
Mar 15 09:04:13 avalon kernel: Hardware name: Purism Librem 5r4 (DT)
Mar 15 09:04:13 avalon kernel: pstate: 800000c5 (Nzcv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
Mar 15 09:04:13 avalon kernel: bq25890-charger 3-006a: Disabling OTG_EN pin
Mar 15 09:04:13 avalon kernel: pc : queued_spin_lock_slowpath+0x374/0x488
Mar 15 09:04:13 avalon kernel: lr : _raw_spin_lock_irqsave+0x80/0xa0
Mar 15 09:04:13 avalon kernel: sp : ffff8000850abb20
Mar 15 09:04:13 avalon kernel: x29: ffff8000850abb20 x28: ffff000008693a00 x27: 0000000000000000
Mar 15 09:04:13 avalon kernel: x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000001
Mar 15 09:04:13 avalon kernel: x23: 0000000000000000 x22: ffff800081312100 x21: ffff8000812ff008
Mar 15 09:04:13 avalon kernel: x20: ffff0000a49bc100 x19: ffff00001a3b814c x18: 0000000000000000
Mar 15 09:04:13 avalon kernel: x17: 0000000000000000 x16: 0000000000000000 x15: 0000ffffded160d8
Mar 15 09:04:13 avalon kernel: x14: ffffffffffffffff x13: 0000000000000020 x12: 0101010101010101
Mar 15 09:04:13 avalon kernel: x11: 7f7f7f7f7f7f7f7f x10: 00007fffc86f7d30 x9 : ffff800080d18890
Mar 15 09:04:13 avalon snapd[569]: udevmon.go:149: udev event error: Unable to parse uevent, err: cannot parse libudev event: invalid env data
Mar 15 09:04:13 avalon snapd[569]: udevmon.go:149: udev event error: Unable to parse uevent, err: cannot parse libudev event: invalid env data
Mar 15 09:04:13 avalon kernel: x8 : 0101010101010101 x7 : 0000000080808080 x6 : 0000000000000051
Mar 15 09:04:13 avalon kernel: x5 : 0000000000080000 x4 : ffff800081312130 x3 : ffff800081312130
Mar 15 09:04:13 avalon kernel: x2 : 0000000000000000 x1 : ffff0000a49bc100 x0 : ffff0000a49bc108
Mar 15 09:04:13 avalon kernel: Call trace:
Mar 15 09:04:13 avalon kernel: queued_spin_lock_slowpath+0x374/0x488
Mar 15 09:04:13 avalon kernel: _raw_spin_lock_irqsave+0x80/0xa0
Mar 15 09:04:13 avalon kernel: __pm_runtime_resume+0x44/0xa0
Mar 15 09:04:13 avalon kernel: dev_ethtool+0x1a0/0x1a30
Mar 15 09:04:13 avalon kernel: dev_ioctl+0x2a4/0x3f0
Mar 15 09:04:13 avalon kernel: sock_do_ioctl+0xc0/0x108
Mar 15 09:04:13 avalon kernel: sock_ioctl+0x120/0x378
Mar 15 09:04:13 avalon kernel: __arm64_sys_ioctl+0xb0/0x100
Mar 15 09:04:13 avalon kernel: invoke_syscall+0x50/0x128
Mar 15 09:04:13 avalon kernel: el0_svc_common.constprop.0+0x48/0xf0
Mar 15 09:04:13 avalon kernel: do_el0_svc+0x24/0x38
Mar 15 09:04:13 avalon kernel: el0_svc+0x30/0x88
Mar 15 09:04:13 avalon kernel: el0t_64_sync_handler+0xc0/0xc8
Mar 15 09:04:13 avalon kernel: el0t_64_sync+0x190/0x198
Mar 15 09:04:13 avalon kernel: Code: 91002020 8b0402c4 f863d8c6 aa0403e3 (f8266861)
Mar 15 09:04:13 avalon kernel: bq25890-charger 3-006a: Upstream supply changed: 1.
Mar 15 09:04:13 avalon kernel: ---[ end trace 0000000000000000 ]---
```
https://source.puri.sm/Librem5/linux/-/issues/497
suspend not working with 6.6
2024-03-18T17:34:02Z
Joao Azevedo
suspend not working with 6.6
This was reported by a user
> With the recent updates (to kernel 6.6.0)
> my L5 can not suspend anymore. But it was suspending before.
>
> I have tried to resolve this with the help of the forum
> but it seems we cannot debug the probl...
This was reported by a user
> With the recent updates (to kernel 6.6.0)
> my L5 can not suspend anymore. But it was suspending before.
>
> I have tried to resolve this with the help of the forum
> but it seems we cannot debug the problem. The discussion is here:
>
> https://forums.puri.sm/t/does-suspend-work-for-you/22910/33
>
> where I posted dmesg and log files. The only message is that
> the non bootable CPUs are not killed anymore. It tries to suspend and
> gets back on immediately. sudo systemctl suspend does the same.
>
> in dmesg we see
>
> [ 168.453324] Disabling non-boot CPUs …
> [ 168.453336] Wakeup pending. Abort CPU freeze
> [ 168.453338] Non-boot CPUs are not disabled
>
> If this looks like a kernel problem
>
> Below I have pasted the
> relevant part of journalctl
```
Mar 04 18:32:38 pureos systemd[1]: Starting Suspend…
Mar 04 18:32:38 pureos systemd-sleep[1981]: Suspending system…
Mar 04 18:32:38 pureos kernel: PM: suspend entry (deep)
Mar 04 18:32:39 pureos kernel: Filesystems sync: 0.028 seconds
Mar 04 18:32:39 pureos kernel: Freezing user space processes
Mar 04 18:32:39 pureos kernel: Freezing user space processes completed
(elapsed 0.009 seconds)
Mar 04 18:32:39 pureos kernel: OOM killer disabled.
Mar 04 18:32:39 pureos kernel: Freezing remaining freezable tasks
Mar 04 18:32:39 pureos kernel: Freezing remaining freezable tasks
completed (elapsed 0.001 seconds)
Mar 04 18:32:39 pureos kernel: printk: Suspending console(s) (use
no_console_suspend to debug)
Mar 04 18:32:39 pureos kernel: Disabling non-boot CPUs …
Mar 04 18:32:39 pureos kernel: psci: CPU1 killed (polled 0 ms)
Mar 04 18:32:39 pureos kernel: psci: CPU2 killed (polled 0 ms)
Mar 04 18:32:39 pureos kernel: psci: CPU3 killed (polled 4 ms)
Mar 04 18:32:39 pureos kernel: Enabling non-boot CPUs …
Mar 04 18:32:39 pureos kernel: Detected VIPT I-cache on CPU1
Mar 04 18:32:39 pureos kernel: GICv3: CPU1: found redistributor 1
region 0:0x00000000388a0000
Mar 04 18:32:39 pureos kernel: CPU1: Booted secondary processor
0x0000000001 [0x410fd034]
Mar 04 18:32:39 pureos kernel: CPU1 is up
Mar 04 18:32:39 pureos kernel: Detected VIPT I-cache on CPU2
Mar 04 18:32:39 pureos kernel: GICv3: CPU2: found redistributor 2
region 0:0x00000000388c0000
Mar 04 18:32:39 pureos kernel: CPU2: Booted secondary processor
0x0000000002 [0x410fd034]
Mar 04 18:32:39 pureos kernel: CPU2 is up
Mar 04 18:32:39 pureos kernel: Detected VIPT I-cache on CPU3
Mar 04 18:32:39 pureos kernel: GICv3: CPU3: found redistributor 3
region 0:0x00000000388e0000
Mar 04 18:32:39 pureos kernel: CPU3: Booted secondary processor
0x0000000003 [0x410fd034]
Mar 04 18:32:39 pureos kernel: CPU3 is up
Mar 04 18:32:39 pureos kernel: caam 30900000.crypto: registering rng-
caam
Mar 04 18:32:39 pureos kernel: OOM killer enabled.
Mar 04 18:32:39 pureos kernel: Restarting tasks … done.
Mar 04 18:32:39 pureos kernel: random: crng reseeded on system
resumption
Mar 04 18:32:39 pureos kernel: thermal thermal_zone3: failed to read
out thermal zone (-61)
Mar 04 18:32:39 pureos kernel: PM: suspend exit
Mar 04 18:32:39 pureos systemd-sleep[1981]: System resumed.
```
https://source.puri.sm/Librem5/linux/-/issues/496
regular half hang
2024-03-12T23:52:25Z
primalmotion
regular half hang
since the few latest kernel upgrade, my L5 half hangs very often. By half hang I mean parts of the system hang. Phosh works, but it is impossible to sudo anything (sudo ls will hang forever before asking for a password). It is impossible...
since the few latest kernel upgrade, my L5 half hangs very often. By half hang I mean parts of the system hang. Phosh works, but it is impossible to sudo anything (sudo ls will hang forever before asking for a password). It is impossible to reboot cleanly, switching the hks seemingly does nothing (the 4G, wifi symbol stays here even when turn off). I have collected 2 logs that should contain the relevant parts. They're a bit long because I'm never sure when exactly the problem occurs since this happens mostly during charge. I also don't know if charging is causing the issue, of just staying active for a long time (sleep is deactivated during charging).
[silent-crash](/uploads/a0b8ff42d5624ba1ecc38d2773bbb992/silent-crash)
[silent-crash-2](/uploads/a88a087d96d40bb11e61580f64ac4d6e/silent-crash-2)
https://source.puri.sm/Librem5/linux/-/issues/495
Regular hangs of L5
2024-03-12T23:05:23Z
Jan Vlug
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 ...
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](/uploads/ce8be53d14823f6218caffee3d1b6f89/journal_2024-25_1_short.log) 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 ]---
```
https://source.puri.sm/Librem5/linux/-/issues/494
backlight probe failure triggers blank display after power on
2023-12-12T13:03:14Z
Guido Gunther
backlight probe failure triggers blank display after power on
We had a report in the matrix channels that after power one the device would start booting but the display would stay blank. I've seen this on my development device here too now more than once (it's more likely to show that as this is bo...
We had a report in the matrix channels that after power one the device would start booting but the display would stay blank. I've seen this on my development device here too now more than once (it's more likely to show that as this is booted way more often than daily device):
```
# cat /sys/kernel/debug/devices_deferred
backlight-dsi platform: wait for supplier /soc@0/bus@30800000/i2c@30a40000/backlight@36/led@0
30a00000.mipi-dsi.0 mipi-dsi: supplier backlight-dsi not ready
2-0038
30320000.lcd-controller mxsfb: Cannot connect bridge
```
triggered by a timeout of the backlight driver to read on i2c:
```
[ 0.921367] lm3692x 2-0036: Cannot read/clear faults: -110
[ 0.926880] lm3692x 2-0036: Fail writing initialization values
[ 0.933098] lm3692x: probe of 2-0036 failed with error -110
```
Full dmesg: [dmesg](/uploads/4216624ac49189ce35ea16f2c2c1d389/dmesg)
https://source.puri.sm/Librem5/linux/-/issues/493
initrd.img 6x are too large, will likely cause failure with lack of space in ...
2023-10-30T19:52:59Z
Joao Azevedo
initrd.img 6x are too large, will likely cause failure with lack of space in /boot in next kernel updates.
The initrd.img-6.x.0-1-librem5 with `osk-sdl` for kernels `6.2.0-1`, `6.3.0-1` and `6.4.0-1` now use `96,1 MB` of space each.
The `/boot` partition on the Librem 5 has 451 MB of space.
With the added `vmlinuz` taking `25 MB` each, th...
The initrd.img-6.x.0-1-librem5 with `osk-sdl` for kernels `6.2.0-1`, `6.3.0-1` and `6.4.0-1` now use `96,1 MB` of space each.
The `/boot` partition on the Librem 5 has 451 MB of space.
With the added `vmlinuz` taking `25 MB` each, that means that 3 kernels (3x `96,1 MB`) in the `/boot` partition will take up about `363 MB` of space in the boot partiton. Leaving less than `100 MB` free for the kernel update.
That will not be sufficient for the next Kernel update to be completed successfully.because the `imitrd` and `vmlinuz` for an update now take more than 100MB combined.
And will make most likely that the next kernel update we release to fail to complete on users devices.
`ncdu` from my current `boot` partition:
```
96,1 MiB [######### ] initrd.img-6.4.0-1-librem5
96,1 MiB [######### ] initrd.img-6.3.0-1-librem5
25,0 MiB [## ] vmlinuz-6.4.0-1-librem5
24,9 MiB [## ] vmlinuz-6.3.0-1-librem5
3,9 MiB [ ] System.map-6.4.0-1-librem5
3,9 MiB [ ] System.map-6.3.0-1-librem5
566,0 KiB [ ] /dtbs
199,0 KiB [ ] config-6.3.0-1-librem5
198,0 KiB [ ] config-6.4.0-1-librem5
! 12,0 KiB [ ] /lost+found
3,0 KiB [ ] boot.scr.bak
3,0 KiB [ ] boot.scr
2,0 KiB [ ] /grub
@ 0,0 B [ ] dtb-6.4.0-1-librem5
@ 0,0 B [ ] dtb-6.3.0-1-librem5
@ 0,0 B [ ] dtb
```
`apt` from a failed update due to lack of space today. Had to remove the oldest kernel and run the update a second time to fix this.
```
pigz: abort: write error on <stdout> (No space left on device)#.............]
E: mkinitramfs failure pigz 28
update-initramfs: failed for /boot/initrd.img-6.4.0-1-librem5 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
```
The full output:
```
Setting up linux-image-6.4.0-1-librem5 (6.4.16pureos1~byz1) ...
update-initramfs: Generating /boot/initrd.img-6.4.0-1-librem5
setupcon: The keyboard model is unknown, assuming 'pc105'. Keyboard may be confi
gured incorrectly.
cp: cannot stat '/etc/reader.conf': No such file or directory
pigz: abort: write error on <stdout> (No space left on device)#.............]
E: mkinitramfs failure pigz 28
update-initramfs: failed for /boot/initrd.img-6.4.0-1-librem5 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Using DTB: freescale/imx8mq-librem5-r4.dtb
Installing /usr/lib/linux-image-6.4.0-1-librem5/freescale/imx8mq-librem5-r4.dtb into /boot/dtbs/6.4.0-1-librem5/freescale/imx8mq-librem5-r4.dtb
Taking backup of imx8mq-librem5-r4.dtb.
Installing new imx8mq-librem5-r4.dtb.
Installing /usr/lib/linux-image-6.4.0-1-librem5/freescale/imx8mq-librem5-r4.dtb into /boot/dtbs/6.4.0-1-librem5/freescale/imx8mq-librem5-r4.dtb
Taking backup of imx8mq-librem5-r4.dtb.
Installing new imx8mq-librem5-r4.dtb.
flash-kernel: deferring update (trigger activated)
dpkg: error processing package linux-image-6.4.0-1-librem5 (--configure):
installed linux-image-6.4.0-1-librem5 package post-installation script subprocess returned error exit status 1
Setting up ncurses-term (6.2+20201114-2+deb11u2) ...
Setting up openssh-sftp-server (1:8.4p1-5+deb11u2) ...
Setting up libx11-xcb1:arm64 (2:1.7.2-1+deb11u2) ...
Setting up liblapack3:arm64 (3.9.0-3+deb11u1) ...
Setting up libxpm4:arm64 (1:3.5.12-1.1+deb11u1) ...
Setting up libgs9:arm64 (9.53.3~dfsg-7+deb11u6) ...
Setting up openssh-server (1:8.4p1-5+deb11u2) ...
rescue-ssh.target is a disabled or a static unit, not starting it.
Setting up libx11-dev:arm64 (2:1.7.2-1+deb11u2) ...
Setting up ghostscript (9.53.3~dfsg-7+deb11u6) ...
Setting up dbus-user-session (1.12.28-0+deb11u1) ...
Setting up libdbus-1-dev:arm64 (1.12.28-0+deb11u1) ...
dpkg: dependency problems prevent configuration of linux-image-librem5:
linux-image-librem5 depends on linux-image-6.4.0-1-librem5 (>= 6.4.16pureos1~byz1); however:
Package linux-image-6.4.0-1-librem5 is not configured yet.
dpkg: error processing package linux-image-librem5 (--configure):
dependency problems - leaving unconfigured
Setting up libcurl4-openssl-dev:arm64 (7.74.0-1.3+deb11u10) ...
dpkg: dependency problems prevent configuration of librem5-base-defaults:
librem5-base-defaults depends on linux-image-librem5 (>= 6.3.7pureos2) | linux-image-amd64; however:
Package linux-image-librem5 is not configured yet.
Package linux-image-amd64 is not installed.
dpkg: error processing package librem5-base-defaults (--configure):
dependency problems - leaving unconfigured
Setting up libwebkit2gtk-4.0-37:arm64 (2.42.1-1~deb11u2) ...
Setting up dbus-x11 (1.12.28-0+deb11u1) ...
Setting up libc6-dev:arm64 (2.31-13+deb11u7) ...
Setting up xwayland (2:1.20.11-1+deb11u8) ...
Setting up firefox-esr (115.4.0esr-1~deb11u1) ...
Setting up libx11-xcb-dev:arm64 (2:1.7.2-1+deb11u2) ...
Setting up gir1.2-webkit2-4.0:arm64 (2.42.1-1~deb11u2) ...
Setting up libncurses-dev:arm64 (6.2+20201114-2+deb11u2) ...
Setting up ssh (1:8.4p1-5+deb11u2) ...
dpkg: dependency problems prevent configuration of librem5-base:
librem5-base depends on librem5-base-defaults (>= 65pureos1~byz1); however:
Package librem5-base-defaults is not configured yet.
dpkg: error processing package librem5-base (--configure):
dependency problems - leaving unconfigured
Setting up libtinfo-dev:arm64 (6.2+20201114-2+deb11u2) ...
dpkg: dependency problems prevent configuration of librem5-gnome-base:
librem5-gnome-base depends on librem5-base (>= 65pureos1~byz1); however:
Package librem5-base is not configured yet.
dpkg: error processing package librem5-gnome-base (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of librem5-gnome-phone:
librem5-gnome-phone depends on librem5-gnome-base; however:
Package librem5-gnome-base is not configured yet.
dpkg: error processing package librem5-gnome-phone (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of librem5-gnome:
librem5-gnome depends on librem5-gnome-base; however:
Package librem5-gnome-base is not configured yet.
librem5-gnome depends on librem5-gnome-phone; however:
Package librem5-gnome-phone is not configured yet.
dpkg: error processing package librem5-gnome (--configure):
dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libglib2.0-0:arm64 (2.66.8-1pureos3) ...
Processing triggers for libc-bin (2.31-13+deb11u7) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for sgml-base (1.30) ...
Processing triggers for mailcap (3.69) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Setting up phosh-plugins (0.32.0-1pureos1~byz1) ...
Processing triggers for flash-kernel (3.104pureos1) ...
Using DTB: freescale/imx8mq-librem5-r4.dtb
Installing /usr/lib/linux-image-6.4.0-1-librem5/freescale/imx8mq-librem5-r4.dtb into /boot/dtbs/6.4.0-1-librem5/freescale/imx8mq-librem5-r4.dtb
Taking backup of imx8mq-librem5-r4.dtb.
Installing new imx8mq-librem5-r4.dtb.
flash-kernel: installing version 6.4.0-1-librem5
Generating boot script u-boot image... done.
Taking backup of boot.scr.
Installing new boot.scr.
Errors were encountered while processing:
linux-image-6.4.0-1-librem5
linux-image-librem5
librem5-base-defaults
librem5-base
librem5-gnome-base
librem5-gnome-phone
librem5-gnome
E: Sub-process /usr/bin/dpkg returned an error code (1)
```
https://source.puri.sm/Librem5/linux/-/issues/491
ethernet connection not activated when hoyoki dock is connected
2023-08-29T09:41:13Z
Chris Vogel
ethernet connection not activated when hoyoki dock is connected
Kernel version: 6.3.0-1-librem5 (PureOS Byzantium)
The ethernet connection is not activated when the hoyoki dock is connected.
Here's a dmesg of the dock being connected:
```
[Fr Aug 18 12:29:51 2023] bq25890-charger 3-006a: Upstream ...
Kernel version: 6.3.0-1-librem5 (PureOS Byzantium)
The ethernet connection is not activated when the hoyoki dock is connected.
Here's a dmesg of the dock being connected:
```
[Fr Aug 18 12:29:51 2023] bq25890-charger 3-006a: Upstream supply changed: 1.
[Fr Aug 18 12:29:51 2023] bq25890-charger 3-006a: Disabling OTG_EN pin
[Fr Aug 18 12:29:51 2023] bq25890-charger 3-006a: Upstream supply changed: 1.
[Fr Aug 18 12:29:51 2023] bq25890-charger 3-006a: Disabling OTG_EN pin
[Fr Aug 18 12:29:51 2023] bq25890-charger 3-006a: Upstream supply changed: 1.
[Fr Aug 18 12:29:51 2023] bq25890-charger 3-006a: Disabling OTG_EN pin
[Fr Aug 18 12:29:51 2023] bq25890-charger 3-006a: Upstream supply changed: 1.
[Fr Aug 18 12:29:51 2023] bq25890-charger 3-006a: Disabling OTG_EN pin
[Fr Aug 18 12:29:51 2023] bq25890-charger 3-006a: Upstream supply changed: 1.
[Fr Aug 18 12:29:51 2023] bq25890-charger 3-006a: Disabling OTG_EN pin
[Fr Aug 18 12:29:51 2023] bq25890-charger 3-006a: Upstream supply changed: 1.
[Fr Aug 18 12:29:51 2023] bq25890-charger 3-006a: Disabling OTG_EN pin
[Fr Aug 18 12:29:52 2023] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
[Fr Aug 18 12:29:52 2023] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 3
[Fr Aug 18 12:29:52 2023] xhci-hcd xhci-hcd.5.auto: hcc params 0x0220fe6c hci version 0x110 quirks 0x0000000000010010
[Fr Aug 18 12:29:52 2023] xhci-hcd xhci-hcd.5.auto: irq 208, io mem 0x38100000
[Fr Aug 18 12:29:52 2023] xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
[Fr Aug 18 12:29:52 2023] xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 4
[Fr Aug 18 12:29:52 2023] xhci-hcd xhci-hcd.5.auto: Host supports USB 3.0 SuperSpeed
[Fr Aug 18 12:29:52 2023] bq25890-charger 3-006a: Upstream supply changed: 1.
[Fr Aug 18 12:29:52 2023] bq25890-charger 3-006a: Disabling OTG_EN pin
[Fr Aug 18 12:29:52 2023] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.03
[Fr Aug 18 12:29:52 2023] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[Fr Aug 18 12:29:52 2023] usb usb3: Product: xHCI Host Controller
[Fr Aug 18 12:29:52 2023] usb usb3: Manufacturer: Linux 6.3.0-1-librem5 xhci-hcd
[Fr Aug 18 12:29:52 2023] usb usb3: SerialNumber: xhci-hcd.5.auto
[Fr Aug 18 12:29:52 2023] hub 3-0:1.0: USB hub found
[Fr Aug 18 12:29:52 2023] hub 3-0:1.0: 1 port detected
[Fr Aug 18 12:29:52 2023] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[Fr Aug 18 12:29:52 2023] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.03
[Fr Aug 18 12:29:52 2023] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[Fr Aug 18 12:29:52 2023] usb usb4: Product: xHCI Host Controller
[Fr Aug 18 12:29:52 2023] usb usb4: Manufacturer: Linux 6.3.0-1-librem5 xhci-hcd
[Fr Aug 18 12:29:52 2023] usb usb4: SerialNumber: xhci-hcd.5.auto
[Fr Aug 18 12:29:52 2023] hub 4-0:1.0: USB hub found
[Fr Aug 18 12:29:52 2023] hub 4-0:1.0: 1 port detected
[Fr Aug 18 12:29:52 2023] bq25890-charger 3-006a: Upstream supply changed: 1.
[Fr Aug 18 12:29:52 2023] bq25890-charger 3-006a: Disabling OTG_EN pin
[Fr Aug 18 12:29:52 2023] cdns-mhdp-imx 32c00000.hdmi: Wait PLL Ack failed
[Fr Aug 18 12:29:52 2023] usb 3-1: new high-speed USB device number 2 using xhci-hcd
[Fr Aug 18 12:29:52 2023] usb 3-1: New USB device found, idVendor=2109, idProduct=2822, bcdDevice= 7.04
[Fr Aug 18 12:29:52 2023] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Fr Aug 18 12:29:52 2023] usb 3-1: Product: USB2.0 Hub
[Fr Aug 18 12:29:52 2023] usb 3-1: Manufacturer: VIA Labs, Inc.
[Fr Aug 18 12:29:52 2023] usb 3-1: SerialNumber: 000000001
[Fr Aug 18 12:29:52 2023] usb 3-1: Device is not authorized for usage
[Fr Aug 18 12:29:52 2023] usb 4-1: new SuperSpeed USB device number 2 using xhci-hcd
[Fr Aug 18 12:29:52 2023] hub 3-1:1.0: USB hub found
[Fr Aug 18 12:29:52 2023] hub 3-1:1.0: 4 ports detected
[Fr Aug 18 12:29:52 2023] usb 4-1: New USB device found, idVendor=2109, idProduct=0822, bcdDevice= 7.04
[Fr Aug 18 12:29:52 2023] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[Fr Aug 18 12:29:52 2023] usb 4-1: Product: USB3.1 Hub
[Fr Aug 18 12:29:52 2023] usb 4-1: Manufacturer: VIA Labs, Inc.
[Fr Aug 18 12:29:52 2023] usb 4-1: SerialNumber: 000000001
[Fr Aug 18 12:29:52 2023] usb 4-1: Device is not authorized for usage
[Fr Aug 18 12:29:53 2023] usb 3-1: authorized to connect
[Fr Aug 18 12:29:53 2023] hub 4-1:1.0: USB hub found
[Fr Aug 18 12:29:53 2023] hub 4-1:1.0: 4 ports detected
[Fr Aug 18 12:29:53 2023] usb 4-1: authorized to connect
[Fr Aug 18 12:29:53 2023] usb 3-1.4: new high-speed USB device number 3 using xhci-hcd
[Fr Aug 18 12:29:54 2023] usb 3-1.4: New USB device found, idVendor=1a40, idProduct=0101, bcdDevice= 1.11
[Fr Aug 18 12:29:54 2023] usb 3-1.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[Fr Aug 18 12:29:54 2023] usb 3-1.4: Product: USB 2.0 Hub
[Fr Aug 18 12:29:54 2023] usb 3-1.4: Device is not authorized for usage
[Fr Aug 18 12:29:54 2023] imx-sdma 30bd0000.dma-controller: restart cyclic channel 3
[Fr Aug 18 12:29:54 2023] hub 3-1.4:1.0: USB hub found
[Fr Aug 18 12:29:54 2023] hub 3-1.4:1.0: 4 ports detected
[Fr Aug 18 12:29:54 2023] usb 3-1.4: authorized to connect
[Fr Aug 18 12:29:54 2023] usb 4-1.1: new SuperSpeed USB device number 3 using xhci-hcd
[Fr Aug 18 12:29:54 2023] usb 4-1.1: New USB device found, idVendor=0bda, idProduct=8153, bcdDevice=30.00
[Fr Aug 18 12:29:54 2023] usb 4-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=6
[Fr Aug 18 12:29:54 2023] usb 4-1.1: Product: USB 10/100/1000 LAN
[Fr Aug 18 12:29:54 2023] usb 4-1.1: Manufacturer: Realtek
[Fr Aug 18 12:29:54 2023] usb 4-1.1: SerialNumber: 000001000000
[Fr Aug 18 12:29:54 2023] r8152-cfgselector 4-1.1: Device is not authorized for usage
[Fr Aug 18 12:29:54 2023] imx-sdma 30bd0000.dma-controller: restart cyclic channel 3
[Fr Aug 18 12:29:54 2023] r8152-cfgselector 4-1.1: authorized to connect
[Fr Aug 18 12:29:54 2023] usb 3-1.4.1: new low-speed USB device number 4 using xhci-hcd
[Fr Aug 18 12:29:54 2023] usb 3-1.4.1: New USB device found, idVendor=099a, idProduct=7202, bcdDevice= 0.06
[Fr Aug 18 12:29:54 2023] usb 3-1.4.1: New USB device strings: Mfr=0, Product=2, SerialNumber=0
[Fr Aug 18 12:29:54 2023] usb 3-1.4.1: Product: Wireless Keyboard/Mouse
[Fr Aug 18 12:29:54 2023] usb 3-1.4.1: Device is not authorized for usage
[Fr Aug 18 12:29:54 2023] input: Wireless Keyboard/Mouse as /devices/platform/soc@0/38100000.usb/xhci-hcd.5.auto/usb3/3-1/3-1.4/3-1.4.1/3-1.4.1:1.0/0003:099A:7202.0015/input/input49
[Fr Aug 18 12:29:55 2023] hid-generic 0003:099A:7202.0015: input,hidraw0: USB HID v1.11 Keyboard [Wireless Keyboard/Mouse] on usb-xhci-hcd.5.auto-1.4.1/input0
[Fr Aug 18 12:29:55 2023] input: Wireless Keyboard/Mouse as /devices/platform/soc@0/38100000.usb/xhci-hcd.5.auto/usb3/3-1/3-1.4/3-1.4.1/3-1.4.1:1.1/0003:099A:7202.0016/input/input50
[Fr Aug 18 12:29:55 2023] input: Wireless Keyboard/Mouse Consumer Control as /devices/platform/soc@0/38100000.usb/xhci-hcd.5.auto/usb3/3-1/3-1.4/3-1.4.1/3-1.4.1:1.1/0003:099A:7202.0016/input/input51
[Fr Aug 18 12:29:55 2023] usb 3-1.4.3: new high-speed USB device number 5 using xhci-hcd
[Fr Aug 18 12:29:55 2023] hid-generic 0003:099A:7202.0016: input,hiddev96,hidraw1: USB HID v1.11 Mouse [Wireless Keyboard/Mouse] on usb-xhci-hcd.5.auto-1.4.1/input1
[Fr Aug 18 12:29:55 2023] usb 3-1.4.1: authorized to connect
[Fr Aug 18 12:29:55 2023] usb 3-1.4.3: New USB device found, idVendor=05e3, idProduct=0751, bcdDevice=14.04
[Fr Aug 18 12:29:55 2023] usb 3-1.4.3: New USB device strings: Mfr=3, Product=4, SerialNumber=0
[Fr Aug 18 12:29:55 2023] usb 3-1.4.3: Product: USB Storage
[Fr Aug 18 12:29:55 2023] usb 3-1.4.3: Manufacturer: USB Storage
[Fr Aug 18 12:29:55 2023] usb 3-1.4.3: Device is not authorized for usage
[Fr Aug 18 12:29:55 2023] imx-sdma 30bd0000.dma-controller: restart cyclic channel 3
[Fr Aug 18 12:29:55 2023] usb-storage 3-1.4.3:1.0: USB Mass Storage device detected
[Fr Aug 18 12:29:55 2023] scsi host1: usb-storage 3-1.4.3:1.0
[Fr Aug 18 12:29:55 2023] usb 3-1.4.3: authorized to connect
[Fr Aug 18 12:29:55 2023] usb 3-1.4.4: new high-speed USB device number 6 using xhci-hcd
[Fr Aug 18 12:29:55 2023] usb 3-1.4.4: New USB device found, idVendor=05e3, idProduct=0751, bcdDevice=14.04
[Fr Aug 18 12:29:55 2023] usb 3-1.4.4: New USB device strings: Mfr=3, Product=4, SerialNumber=0
[Fr Aug 18 12:29:55 2023] usb 3-1.4.4: Product: USB Storage
[Fr Aug 18 12:29:55 2023] usb 3-1.4.4: Manufacturer: USB Storage
[Fr Aug 18 12:29:55 2023] usb 3-1.4.4: Device is not authorized for usage
[Fr Aug 18 12:29:55 2023] usb-storage 3-1.4.4:1.0: USB Mass Storage device detected
[Fr Aug 18 12:29:55 2023] scsi host2: usb-storage 3-1.4.4:1.0
[Fr Aug 18 12:29:55 2023] usb 3-1.4.4: authorized to connect
[Fr Aug 18 12:29:56 2023] scsi 1:0:0:0: Direct-Access Generic STORAGE DEVICE 1404 PQ: 0 ANSI: 6
[Fr Aug 18 12:29:56 2023] sd 1:0:0:0: [sdb] Media removed, stopped polling
[Fr Aug 18 12:29:56 2023] sd 1:0:0:0: [sdb] Attached SCSI removable disk
[Fr Aug 18 12:29:56 2023] scsi 2:0:0:0: Direct-Access Generic STORAGE DEVICE 1404 PQ: 0 ANSI: 6
[Fr Aug 18 12:29:57 2023] sd 2:0:0:0: [sdc] Media removed, stopped polling
[Fr Aug 18 12:29:57 2023] sd 2:0:0:0: [sdc] Attached SCSI removable disk
[Fr Aug 18 12:30:35 2023] edt_ft5x06 2-0038: Unable to fetch data, error: -6
```
While the dock is still connected the ethernet adapter can be resurrected by unloading and reloading its kernel module(s):
```
root@pureos:~# dmesg -W -T &
root@pureos:~# rmmod r8153_ecm r8152
[Fr Aug 18 12:38:18 2023] usbcore: deregistering interface driver r8153_ecm
[Fr Aug 18 12:38:18 2023] usbcore: deregistering interface driver r8152
[Fr Aug 18 12:38:18 2023] usbcore: deregistering device driver r8152-cfgselector
root@pureos:~# modprobe r8152
[Fr Aug 18 12:38:40 2023] usbcore: registered new device driver r8152-cfgselector
[Fr Aug 18 12:38:40 2023] r8152-cfgselector 4-1.1: reset SuperSpeed USB device number 3 using xhci-hcd
[Fr Aug 18 12:38:40 2023] r8152 4-1.1:1.0: Direct firmware load for rtl_nic/rtl8153a-3.fw failed with error -2
[Fr Aug 18 12:38:40 2023] r8152 4-1.1:1.0: unable to load firmware patch rtl_nic/rtl8153a-3.fw (-2)
[Fr Aug 18 12:38:40 2023] r8152 4-1.1:1.0 eth0: v1.12.13
[Fr Aug 18 12:38:40 2023] usbcore: registered new interface driver r8152
root@pureos:~# [Fr Aug 18 12:38:40 2023] usbcore: registered new interface driver r8153_ecm
[Fr Aug 18 12:38:41 2023] r8152 4-1.1:1.0 enxXXXXXXXXXX: renamed from eth0
```
https://source.puri.sm/Librem5/linux/-/issues/490
Kernel crash after ending phone call resulting in black screen
2023-08-17T15:31:33Z
Guido Gunther
Kernel crash after ending phone call resulting in black screen
```
Aug 07 20:12:42 nn kernel: ------------[ cut here ]------------
Aug 07 20:12:42 nn kernel: NETDEV WATCHDOG: wwan0 (qmi_wwan): transmit queue 0 timed out
Aug 07 20:12:42 nn kernel: WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:525...
```
Aug 07 20:12:42 nn kernel: ------------[ cut here ]------------
Aug 07 20:12:42 nn kernel: NETDEV WATCHDOG: wwan0 (qmi_wwan): transmit queue 0 timed out
Aug 07 20:12:42 nn kernel: WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:525 dev_watchdog+0x280/0x2a0
Aug 07 20:12:42 nn pulseaudio[904]: Playback too far ahead (46145), drop source 8856
Aug 07 20:12:43 nn kernel: Modules linked in: aes_ce_ccm uinput rfcomm algif_hash algif_skcipher af_alg bnep redpine_sdio redpine_91x bluetooth mac80211 cfg80211 usb_f_acm u_serial usb_f_ncm u_ether st_magn_i2c>
Aug 07 20:12:43 nn kernel: led_class_multicolor nft_masq nft_chain_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 libcomposite nf_tables libcrc32c ledtrig_timer nfnetlink fuse zram ip_tables x_tables ip>
Aug 07 20:12:43 nn kernel: edt_ft5x06 2-0038: Unable to fetch data, error: -110
Aug 07 20:12:43 nn kernel: CPU: 0 PID: 0 Comm: swapper/0 Tainted: G C 6.3.0-1-librem5 #1
Aug 07 20:12:43 nn kernel: Hardware name: Purism Librem 5r4 (DT)
Aug 07 20:12:43 nn kernel: pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
Aug 07 20:12:43 nn kernel: pc : dev_watchdog+0x280/0x2a0
Aug 07 20:12:43 nn kernel: imx-pgc imx-pgc-domain.5: failed to enable regulator: -ETIMEDOUT
Aug 07 20:12:43 nn kernel: lr : dev_watchdog+0x280/0x2a0
Aug 07 20:12:43 nn kernel: sp : ffff800008003e00
Aug 07 20:12:43 nn kernel: x29: ffff800008003e00 x28: ffff800009641d00 x27: 0000000000000002
Aug 07 20:12:43 nn kernel: x26: ffff8000096389e0 x25: ffff8000096389e0 x24: ffff8000092a9008
Aug 07 20:12:43 nn kernel: x23: ffff800009636000 x22: 0000000000000000 x21: ffff000006fe43dc
Aug 07 20:12:43 nn kernel: x20: ffff000006fe4000 x19: ffff000006fe4488 x18: 0000000000000000
Aug 07 20:12:43 nn kernel: x17: ffff8000b0ac1000 x16: ffff800008000000 x15: 0000000000000030
Aug 07 20:12:43 nn kernel: x14: 0000000000000000 x13: 74756f2064656d69 x12: 7420302065756575
Aug 07 20:12:43 nn kernel: x11: 00000000ffffdfff x10: 00000000ffffdfff x9 : ffff800008197f64
Aug 07 20:12:43 nn kernel: x8 : 000000000002ffe8 x7 : c0000000ffffdfff x6 : 0000000000017ff4
Aug 07 20:12:43 nn kernel: x5 : 0000000000000000 x4 : ffff0000b9d6ba08 x3 : ffff0000b9d77f30
Aug 07 20:12:43 nn kernel: x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff800009641d00
Aug 07 20:12:43 nn kernel: Call trace:
Aug 07 20:12:43 nn kernel: dev_watchdog+0x280/0x2a0
Aug 07 20:12:43 nn kernel: call_timer_fn+0x3c/0x1d0
Aug 07 20:12:43 nn kernel: expire_timers+0xcc/0x190
Aug 07 20:12:43 nn kernel: run_timer_softirq+0xfc/0x268
Aug 07 20:12:43 nn kernel: ------------[ cut here ]------------
Aug 07 20:12:43 nn kernel: __do_softirq+0x118/0x3a4
Aug 07 20:12:43 nn kernel: [CRTC:33:crtc-0] vblank wait timed out
Aug 07 20:12:43 nn kernel: ____do_softirq+0x18/0x30
Aug 07 20:12:43 nn kernel: call_on_irq_stack+0x24/0x58
Aug 07 20:12:43 nn kernel: WARNING: CPU: 3 PID: 6754 at drivers/gpu/drm/drm_atomic_helper.c:1618 drm_atomic_helper_wait_for_vblanks.part.0+0x280/0x2b0
Aug 07 20:12:43 nn kernel: do_softirq_own_stack+0x24/0x38
Aug 07 20:12:43 nn kernel: Modules linked in:
Aug 07 20:12:43 nn kernel: __irq_exit_rcu+0xac/0xf0
Aug 07 20:12:43 nn kernel: aes_ce_ccm
Aug 07 20:12:43 nn kernel: irq_exit_rcu+0x18/0x30
Aug 07 20:12:43 nn kernel: uinput
```
The effect is that blank/unblank still turns backlight on/off but the display stays dark. pgc 5 is the GPU power domain IIRC.
https://source.puri.sm/Librem5/linux/-/issues/485
Phone unresponsive overnight
2023-06-18T20:11:50Z
Travis Wrightsman
Phone unresponsive overnight
Sorry I do not have a more specific title yet, but this morning my Librem 5 was not responding to power button presses. The blue notification LED was still pulsing. I tried connecting to serial over USB but the phone was not detected on ...
Sorry I do not have a more specific title yet, but this morning my Librem 5 was not responding to power button presses. The blue notification LED was still pulsing. I tried connecting to serial over USB but the phone was not detected on my Librem 14. I am on `byzantium`, running a [custom kernel](https://source.puri.sm/angus.ainslie/linux/-/jobs/423813/artifacts/file/debian/output/linux-image-6.2.0-1-librem5_6.2.13pureos3+gitlabci1_arm64.deb) from @angus.ainslie.
Logs from end of `journalctl -b -1` after hard rebooting:
```
Jun 17 23:46:04 pureos systemd-logind[793]: Power key pressed.
Jun 17 23:46:04 pureos kernel: edt_ft5x06 2-0038: Unable to fetch data, error: -6
Jun 17 23:46:04 pureos gsd-xsettings[1595]: Failed to get current UI legacy scaling factor
Jun 17 23:46:04 pureos gsd-xsettings[1595]: Failed to get current UI legacy scaling factor
Jun 17 23:46:04 pureos gsd-color[1568]: unable to get EDID for xrandr-DSI-1: unable to get EDID for output
Jun 17 23:46:07 pureos systemd[1]: systemd-rfkill.service: Succeeded.
Jun 17 23:46:07 pureos kernel: Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
Jun 17 23:46:07 pureos kernel: Mem abort info:
Jun 17 23:46:07 pureos kernel: ESR = 0x0000000096000004
Jun 17 23:46:07 pureos kernel: EC = 0x25: DABT (current EL), IL = 32 bits
Jun 17 23:46:07 pureos kernel: SET = 0, FnV = 0
Jun 17 23:46:07 pureos kernel: EA = 0, S1PTW = 0
Jun 17 23:46:07 pureos kernel: FSC = 0x04: level 0 translation fault
Jun 17 23:46:07 pureos kernel: Data abort info:
Jun 17 23:46:07 pureos kernel: ISV = 0, ISS = 0x00000004
Jun 17 23:46:07 pureos kernel: CM = 0, WnR = 0
Jun 17 23:46:07 pureos kernel: user pgtable: 4k pages, 48-bit VAs, pgdp=00000000fc917000
Jun 17 23:46:07 pureos kernel: [0000000000000000] pgd=0000000000000000, p4d=0000000000000000
Jun 17 23:46:07 pureos kernel: Internal error: Oops: 0000000096000004 [#1] PREEMPT SMP
Jun 17 23:46:07 pureos kernel: Modules linked in: brcmfmac cfg80211 brcmutil hi846 s5k3l6xx imx8mq_mipi_csi2(C) imx7_media_csi hid_multitouch usbhid st_magn_i2c st_magn st_lsm6dsx_i2c st_lsm6dsx_spi st_lsm6dsx wireguard libchacha20poly1305 chacha_neon poly1305_neon libcurve25519_generic ip6_udp_tunnel udp_tunnel usb_f_acm u_serial usb_f_ncm u_ether st_sensors_i2c st_sensors caam_jr caamhash_desc caamalg_desc crypto_engine option usb_wwan qmi_wwan cdc_wdm usbserial usbnet mii snd_soc_imx_hdmi snd_soc_simple_card snd_soc_gtm601 hantro_vpu v4l2_vp9 snd_soc_hdmi_codec snd_soc_simple_card_utils v4l2_h264 v4l2_mem2mem mousedev dw9714 leds_lm3560 v4l2_flash_led_class vcnl4000 videobuf2_dma_contig snd_soc_fsl_sai videobuf2_memops snd_soc_fsl_utils snd_soc_wm8962 v4l2_fwnode industrialio_triggered_buffer videobuf2_v4l2 v4l2_async imx_pcm_dma kfifo_buf gnss_mtk snd_soc_core snd_pcm_dmaengine gnss_serial gnss videobuf2_common videodev caam error mc snd_pcm snd_timer imx2_wdt snd soundcore watchdog rfkill_hks rfkill
Jun 17 23:46:07 pureos kernel: imx_rproc ledtrig_pattern ip6t_REJECT nf_reject_ipv6 xt_hl ip6_tables ip6t_rt ipt_REJECT nf_reject_ipv4 xt_LOG nf_log_syslog nft_limit xt_limit xt_addrtype xt_tcpudp xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat nf_tables libcrc32c nfnetlink libcomposite ledtrig_timer fuse ip_tables x_tables ipv6 algif_skcipher af_alg uas usb_storage mtdblock mtd_blkdevs overlay ofpart xhci_plat_hcd xhci_hcd spi_nor mtd usbcore aes_ce_blk crct10dif_ce ghash_ce sha2_ce pwm_vibra dwc3 cdns_mhdp_imx ulpi sha1_ce udc_core cdns_mhdp_drmcore drm_display_helper phy_fsl_imx8mq_usb usb_common bq25890_charger imx_dcss edt_ft5x06 tps6598x clk_bd718x7 typec roles imx_sdma snvs_pwrkey virt_dma [last unloaded: st_lsm6dsx]
Jun 17 23:46:08 pureos kernel: CPU: 2 PID: 8625 Comm: kworker/2:1 Tainted: G C 6.2.0-1-librem5 #1
Jun 17 23:46:08 pureos kernel: Hardware name: Purism Librem 5r4 (DT)
Jun 17 23:46:08 pureos kernel: Workqueue: events request_firmware_work_func
Jun 17 23:46:08 pureos kernel: pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
Jun 17 23:46:08 pureos kernel: pc : brcmf_sdio_firmware_callback+0x48/0x8f0 [brcmfmac]
Jun 17 23:46:08 pureos kernel: lr : brcmf_fw_request_done+0x15c/0x194 [brcmfmac]
Jun 17 23:46:08 pureos kernel: sp : ffff80000ecdbcb0
Jun 17 23:46:08 pureos kernel: x29: ffff80000ecdbcb0 x28: 0000000000000000 x27: 0000000000000000
Jun 17 23:46:08 pureos kernel: x26: ffff00003264af74 x25: ffff0000a2ddcd05 x24: 0000000000000003
Jun 17 23:46:08 pureos kernel: x23: ffff00006d312000 x22: ffff00000afa3800 x21: 00000000fffffffe
Jun 17 23:46:08 pureos kernel: x20: ffff0000033df408 x19: 0000000000000000 x18: 00000000ffffffff
Jun 17 23:46:08 pureos kernel: x17: 6c632e6f6964732d x16: 323537333463616d x15: 6f00000003000070
Jun 17 23:46:08 pureos kernel: x14: 6600000003000000 x13: 00626f6c625f6d6c x12: 632e6f6964732d32
Jun 17 23:46:08 pureos kernel: x11: 3537333463616d66 x10: 6d6372622f6d6372 x9 : ffff80000173694c
Jun 17 23:46:08 pureos kernel: x8 : ffff0000bf225580 x7 : 37333463616d666d x6 : 6372622f6d637262
Jun 17 23:46:08 pureos kernel: x5 : ffff80000ecdbbf8 x4 : ffff80000ecdbc20 x3 : 0000000000000000
Jun 17 23:46:08 pureos kernel: x2 : ffff00006d312000 x1 : 0000000000000000 x0 : 0000000000000000
Jun 17 23:46:08 pureos kernel: Call trace:
Jun 17 23:46:08 pureos kernel: brcmf_sdio_firmware_callback+0x48/0x8f0 [brcmfmac]
Jun 17 23:46:08 pureos kernel: brcmf_fw_request_done+0x15c/0x194 [brcmfmac]
Jun 17 23:46:08 pureos kernel: request_firmware_work_func+0x54/0xa0
Jun 17 23:46:08 pureos kernel: process_one_work+0x204/0x480
Jun 17 23:46:08 pureos kernel: worker_thread+0x154/0x450
Jun 17 23:46:08 pureos kernel: kthread+0x114/0x120
Jun 17 23:46:08 pureos kernel: ret_from_fork+0x10/0x20
Jun 17 23:46:08 pureos kernel: Code: f9423801 f90047e1 d2800001 f9403e80 (f9400016)
Jun 17 23:46:08 pureos kernel: ---[ end trace 0000000000000000 ]---
Jun 17 23:46:51 pureos mmsdtng[997]: ../plugins/modemmanager.c:cb_dbus_signal_sms_added() Got new SMS
Jun 17 23:46:51 pureos mmsdtng[997]: ../plugins/modemmanager.c:mmsd_process_sms() This is a regular SMS.
Jun 17 23:46:51 pureos vvmd[1004]: ../plugins/modemmanager.c:vvmd_check_pdu_type() VVM is not enabled! Not Processing SMS
Jun 17 23:46:52 pureos ModemManager[859]: <warn> [modem1] couldn't parse SMS part: 'Failed to parse CMGR read result: response didn't match '''
```
https://source.puri.sm/Librem5/linux/-/issues/484
SD card is unwritable after resume from suspend
2023-12-22T15:40:24Z
Jonathan Brielmaier
SD card is unwritable after resume from suspend
I'm using suspend on battery for some weeks now. One big issue is, that sometimes (once a day or more often) the SD card is non-writable after resuming from suspend.
My `/home` partition is on the SD card so I need to reboot in order to ...
I'm using suspend on battery for some weeks now. One big issue is, that sometimes (once a day or more often) the SD card is non-writable after resuming from suspend.
My `/home` partition is on the SD card so I need to reboot in order to resolve this issue.
I tried on Sebastian's advice the kernel from https://source.puri.sm/Librem5/linux/-/merge_requests/711 but it didn't resolve the problem nor mitigated it.
The kernel log when this happens has entries like this:
```
Jun 17 11:21:13 claudii kernel: sd 0:0:0:0: [sda] tag#0 device offline or changed
Jun 17 11:21:13 claudii kernel: I/O error, dev sda, sector 50403224 op 0x0:(READ) flags 0x3000 phys_seg 1 prio class 2
Jun 17 11:21:13 claudii kernel: EXT4-fs warning (device dm-0): ext4_dx_find_entry:1791: inode #1586190: lblock 2: comm pool-org.gnome.: error -5 reading directory block
Jun 17 11:21:13 claudii kernel: sd 0:0:0:0: [sda] tag#0 device offline or changed
Jun 17 11:21:13 claudii kernel: I/O error, dev sda, sector 50403480 op 0x0:(READ) flags 0x3000 phys_seg 1 prio class 2
Jun 17 11:21:13 claudii kernel: EXT4-fs warning (device dm-0): ext4_dx_find_entry:1791: inode #1586190: lblock 6: comm gnome-clocks: error -5 reading directory block
Jun 17 11:22:11 claudii kernel: edt_ft5x06 2-0038: Unable to fetch data, error: -6
Jun 17 11:23:05 claudii kernel: sd 0:0:0:0: [sda] tag#0 device offline or changed
```
```
$ lsblk /dev/sda
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 1 119,1G 0 disk
├─vg_home-lv_home 254:0 0 80G 0 lvm /home
├─vg_home-lv_boot 254:1 0 1G 0 lvm
└─vg_home-lv_root 254:2 0 38,1G 0 lvm
$ uname -r
6.3.0-1-librem5
$ sudo journalctl --since=2023-06-17 | grep Librem
Jun 17 10:29:07 claudii kernel: Machine model: Purism Librem 5r4
```
If you need more debug information, just let me know how to obtain/collect them.
https://source.puri.sm/Librem5/linux/-/issues/482
Redpine card often isn't recognized at mmc_rescan
2023-06-02T19:51:24Z
Sebastian Krzyszkowiak
Redpine card often isn't recognized at mmc_rescan
The Redpine card often doesn't show up during MMC scan. Currently we have plastered it over by rescanning every second, so it eventually shows up - but it's not battery-friendly (see #184) and it doesn't address the actual problem.
When...
The Redpine card often doesn't show up during MMC scan. Currently we have plastered it over by rescanning every second, so it eventually shows up - but it's not battery-friendly (see #184) and it doesn't address the actual problem.
When it doesn't work:
```
[ 1410.401187] mmc1: mmc_rescan_try_freq: trying to init card at 400000 Hz
[ 1410.401229] mmc1: clock 0Hz busmode 2 powermode 1 cs 0 Vdd 21 width 1 timing 0
[ 1410.401256] sdhci-esdhc-imx 30b50000.mmc: change pinctrl state for uhs 0
[ 1410.406789] sdhci-esdhc-imx 30b50000.mmc: Initial signal voltage of 3.3v
[ 1410.428625] mmc1: clock 400000Hz busmode 2 powermode 2 cs 0 Vdd 21 width 1 timing 0
[ 1410.428670] sdhci-esdhc-imx 30b50000.mmc: desired SD clock: 400000, actual: 390625
[ 1410.452644] mmc1: starting CMD52 arg 00000c00 flags 00000195
[ 1410.453010] mmc1: sdhci: IRQ status 0x00018000
[ 1410.453053] mmc1: req done (CMD52): -110: 00000000 00000000 00000000 00000000
[ 1410.453071] mmc1: starting CMD52 arg 80000c08 flags 00000195
[ 1410.453426] mmc1: sdhci: IRQ status 0x00018000
[ 1410.453463] mmc1: req done (CMD52): -110: 00000000 00000000 00000000 00000000
[ 1410.453480] mmc1: clock 400000Hz busmode 2 powermode 2 cs 1 Vdd 21 width 1 timing 0
[ 1410.453511] sdhci-esdhc-imx 30b50000.mmc: change pinctrl state for uhs 0
[ 1410.453522] sdhci-esdhc-imx 30b50000.mmc: desired SD clock: 400000, actual: 390625
[ 1410.454804] mmc1: starting CMD0 arg 00000000 flags 000000c0
[ 1410.454983] mmc1: sdhci: IRQ status 0x00000001
[ 1410.454992] mmc1: req done (CMD0): 0: 00000000 00000000 00000000 00000000
[ 1410.456263] mmc1: clock 400000Hz busmode 2 powermode 2 cs 0 Vdd 21 width 1 timing 0
[ 1410.456288] sdhci-esdhc-imx 30b50000.mmc: change pinctrl state for uhs 0
[ 1410.456296] sdhci-esdhc-imx 30b50000.mmc: desired SD clock: 400000, actual: 390625
[ 1410.457580] mmc1: starting CMD8 arg 000001aa flags 000002f5
[ 1410.457940] mmc1: sdhci: IRQ status 0x00018000
[ 1410.457980] mmc1: req done (CMD8): -110: 00000000 00000000 00000000 00000000
[ 1410.457996] mmc1: starting CMD5 arg 00000000 flags 000002e1
[ 1410.458351] mmc1: sdhci: IRQ status 0x00018000
[ 1410.458393] mmc1: req failed (CMD5): -110, retrying...
[ 1410.458745] mmc1: sdhci: IRQ status 0x00018000
[ 1410.458787] mmc1: req failed (CMD5): -110, retrying...
[ 1410.459140] mmc1: sdhci: IRQ status 0x00018000
[ 1410.459181] mmc1: req failed (CMD5): -110, retrying...
[ 1410.459534] mmc1: sdhci: IRQ status 0x00018000
[ 1410.459570] mmc1: req done (CMD5): -110: 00000000 00000000 00000000 00000000
[ 1410.459586] mmc1: starting CMD55 arg 00000000 flags 000000f5
[ 1410.459941] mmc1: sdhci: IRQ status 0x00018000
[ 1410.459976] mmc1: req done (CMD55): -110: 00000000 00000000 00000000 00000000
[ 1410.459991] mmc1: starting CMD55 arg 00000000 flags 000000f5
[ 1410.460345] mmc1: sdhci: IRQ status 0x00018000
[ 1410.460381] mmc1: req done (CMD55): -110: 00000000 00000000 00000000 00000000
[ 1410.460396] mmc1: starting CMD55 arg 00000000 flags 000000f5
[ 1410.460750] mmc1: sdhci: IRQ status 0x00018000
[ 1410.460794] mmc1: req done (CMD55): -110: 00000000 00000000 00000000 00000000
[ 1410.460814] mmc1: starting CMD55 arg 00000000 flags 000000f5
[ 1410.461170] mmc1: sdhci: IRQ status 0x00018000
[ 1410.461220] mmc1: req done (CMD55): -110: 00000000 00000000 00000000 00000000
[ 1410.461238] mmc1: clock 400000Hz busmode 1 powermode 2 cs 0 Vdd 21 width 1 timing 0
[ 1410.461273] sdhci-esdhc-imx 30b50000.mmc: change pinctrl state for uhs 0
[ 1410.461283] sdhci-esdhc-imx 30b50000.mmc: desired SD clock: 400000, actual: 390625
[ 1410.461307] mmc1: starting CMD1 arg 00000000 flags 000000e1
[ 1410.461664] mmc1: sdhci: IRQ status 0x00018000
[ 1410.461712] mmc1: req done (CMD1): -110: 00000000 00000000 00000000 00000000
[ 1410.461745] mmc1: clock 0Hz busmode 2 powermode 0 cs 0 Vdd 0 width 1 timing 0
[ 1410.461788] sdhci-esdhc-imx 30b50000.mmc: change pinctrl state for uhs 0
```
When in works:
```
[ 1414.324980] mmc1: mmc_rescan_try_freq: trying to init card at 400000 Hz
[ 1414.325023] mmc1: clock 0Hz busmode 2 powermode 1 cs 0 Vdd 21 width 1 timing 0
[ 1414.325049] sdhci-esdhc-imx 30b50000.mmc: change pinctrl state for uhs 0
[ 1414.330140] sdhci-esdhc-imx 30b50000.mmc: Initial signal voltage of 3.3v
[ 1414.355722] mmc1: clock 400000Hz busmode 2 powermode 2 cs 0 Vdd 21 width 1 timing 0
[ 1414.355764] sdhci-esdhc-imx 30b50000.mmc: desired SD clock: 400000, actual: 390625
[ 1414.380374] mmc1: starting CMD52 arg 00000c00 flags 00000195
[ 1414.380772] mmc1: sdhci: IRQ status 0x00018000
[ 1414.380907] mmc1: req done (CMD52): -110: 00000000 00000000 00000000 00000000
[ 1414.380936] mmc1: starting CMD52 arg 80000c08 flags 00000195
[ 1414.381300] mmc1: sdhci: IRQ status 0x00018000
[ 1414.381346] mmc1: req done (CMD52): -110: 00000000 00000000 00000000 00000000
[ 1414.381478] mmc1: clock 400000Hz busmode 2 powermode 2 cs 1 Vdd 21 width 1 timing 0
[ 1414.381510] sdhci-esdhc-imx 30b50000.mmc: change pinctrl state for uhs 0
[ 1414.381521] sdhci-esdhc-imx 30b50000.mmc: desired SD clock: 400000, actual: 390625
[ 1414.382804] mmc1: starting CMD0 arg 00000000 flags 000000c0
[ 1414.382985] mmc1: sdhci: IRQ status 0x00000001
[ 1414.382994] mmc1: req done (CMD0): 0: 00000000 00000000 00000000 00000000
[ 1414.384267] mmc1: clock 400000Hz busmode 2 powermode 2 cs 0 Vdd 21 width 1 timing 0
[ 1414.384298] sdhci-esdhc-imx 30b50000.mmc: change pinctrl state for uhs 0
[ 1414.384308] sdhci-esdhc-imx 30b50000.mmc: desired SD clock: 400000, actual: 390625
[ 1414.385606] mmc1: starting CMD8 arg 000001aa flags 000002f5
[ 1414.385982] mmc1: sdhci: IRQ status 0x00018000
[ 1414.386028] mmc1: req done (CMD8): -110: 00000000 00000000 00000000 00000000
[ 1414.386047] mmc1: starting CMD5 arg 00000000 flags 000002e1
[ 1414.386377] mmc1: sdhci: IRQ status 0x00000001
[ 1414.386385] mmc1: req done (CMD5): 0: 90ff8000 00000000 00000000 00000000
[ 1414.386401] mmc1: starting CMD5 arg 01300000 flags 000002e1
[ 1414.386732] mmc1: sdhci: IRQ status 0x00000001
[ 1414.386739] mmc1: req done (CMD5): 0: 90ff8000 00000000 00000000 00000000
[ 1414.386760] mmc1: starting CMD3 arg 00000000 flags 00000075
[ 1414.387083] mmc1: sdhci: IRQ status 0x00000001
[ 1414.387092] mmc1: req done (CMD3): 0: fffd0000 00000000 00000000 00000000
[ 1414.387107] mmc1: starting CMD7 arg fffd0000 flags 00000015
[ 1414.387429] mmc1: sdhci: IRQ status 0x00000001
[ 1414.387436] mmc1: req done (CMD7): 0: 00001ed7 00000000 00000000 00000000
[ 1414.387450] mmc1: starting CMD52 arg 00000000 flags 00000195
[ 1414.387784] mmc1: sdhci: IRQ status 0x00000001
[ 1414.387791] mmc1: req done (CMD52): 0: 00001032 00000000 00000000 00000000
[ 1414.387805] mmc1: starting CMD52 arg 00001000 flags 00000195
[ 1414.388140] mmc1: sdhci: IRQ status 0x00000001
[ 1414.388147] mmc1: req done (CMD52): 0: 00001017 00000000 00000000 00000000
[ 1414.388161] mmc1: starting CMD52 arg 00002400 flags 00000195
[ 1414.388494] mmc1: sdhci: IRQ status 0x00000001
[ 1414.388502] mmc1: req done (CMD52): 0: 00001001 00000000 00000000 00000000
[ 1414.388521] mmc1: starting CMD52 arg 00002600 flags 00000195
[ 1414.388860] mmc1: sdhci: IRQ status 0x00000001
[ 1414.388869] mmc1: req done (CMD52): 0: 00001001 00000000 00000000 00000000
[ 1414.388888] mmc1: starting CMD52 arg 00001200 flags 00000195
[ 1414.389223] mmc1: sdhci: IRQ status 0x00000001
[ 1414.389232] mmc1: req done (CMD52): 0: 00001000 00000000 00000000 00000000
[ 1414.389249] mmc1: starting CMD52 arg 00001400 flags 00000195
[ 1414.389584] mmc1: sdhci: IRQ status 0x00000001
[ 1414.389593] mmc1: req done (CMD52): 0: 00001010 00000000 00000000 00000000
[ 1414.389609] mmc1: starting CMD52 arg 00001600 flags 00000195
[ 1414.389945] mmc1: sdhci: IRQ status 0x00000001
[ 1414.389952] mmc1: req done (CMD52): 0: 00001000 00000000 00000000 00000000
[ 1414.389967] mmc1: starting CMD52 arg 00200000 flags 00000195
[ 1414.390301] mmc1: sdhci: IRQ status 0x00000001
[ 1414.390308] mmc1: req done (CMD52): 0: 00001020 00000000 00000000 00000000
[ 1414.390323] mmc1: starting CMD52 arg 00200200 flags 00000195
[ 1414.390656] mmc1: sdhci: IRQ status 0x00000001
[ 1414.390664] mmc1: req done (CMD52): 0: 00001004 00000000 00000000 00000000
[ 1414.390679] mmc1: starting CMD52 arg 00200400 flags 00000195
[ 1414.391014] mmc1: sdhci: IRQ status 0x00000001
[ 1414.391026] mmc1: req done (CMD52): 0: 0000101b 00000000 00000000 00000000
[ 1414.391048] mmc1: starting CMD52 arg 00200600 flags 00000195
[ 1414.391387] mmc1: sdhci: IRQ status 0x00000001
[ 1414.391399] mmc1: req done (CMD52): 0: 00001004 00000000 00000000 00000000
[ 1414.391421] mmc1: starting CMD52 arg 00200800 flags 00000195
[ 1414.391758] mmc1: sdhci: IRQ status 0x00000001
[ 1414.391770] mmc1: req done (CMD52): 0: 00001016 00000000 00000000 00000000
[ 1414.391792] mmc1: starting CMD52 arg 00200a00 flags 00000195
[ 1414.392129] mmc1: sdhci: IRQ status 0x00000001
[ 1414.392140] mmc1: req done (CMD52): 0: 00001091 00000000 00000000 00000000
[ 1414.392163] mmc1: starting CMD52 arg 00200c00 flags 00000195
[ 1414.392500] mmc1: sdhci: IRQ status 0x00000001
[ 1414.392513] mmc1: req done (CMD52): 0: 00001021 00000000 00000000 00000000
[ 1414.392539] mmc1: starting CMD52 arg 00200e00 flags 00000195
[ 1414.392886] mmc1: sdhci: IRQ status 0x00000001
[ 1414.392899] mmc1: req done (CMD52): 0: 00001002 00000000 00000000 00000000
[ 1414.392925] mmc1: starting CMD52 arg 00201000 flags 00000195
[ 1414.393266] mmc1: sdhci: IRQ status 0x00000001
[ 1414.393279] mmc1: req done (CMD52): 0: 0000100c 00000000 00000000 00000000
[ 1414.393305] mmc1: starting CMD52 arg 00201200 flags 00000195
[ 1414.393647] mmc1: sdhci: IRQ status 0x00000001
[ 1414.393660] mmc1: req done (CMD52): 0: 00001000 00000000 00000000 00000000
[ 1414.393687] mmc1: starting CMD52 arg 00201400 flags 00000195
[ 1414.394032] mmc1: sdhci: IRQ status 0x00000001
[ 1414.394045] mmc1: req done (CMD52): 0: 00001022 00000000 00000000 00000000
[ 1414.394071] mmc1: starting CMD52 arg 00201600 flags 00000195
[ 1414.394413] mmc1: sdhci: IRQ status 0x00000001
[ 1414.394426] mmc1: req done (CMD52): 0: 00001004 00000000 00000000 00000000
[ 1414.394450] mmc1: starting CMD52 arg 00201800 flags 00000195
[ 1414.394792] mmc1: sdhci: IRQ status 0x00000001
[ 1414.394804] mmc1: req done (CMD52): 0: 00001000 00000000 00000000 00000000
[ 1414.394827] mmc1: starting CMD52 arg 00201a00 flags 00000195
[ 1414.395166] mmc1: sdhci: IRQ status 0x00000001
[ 1414.395176] mmc1: req done (CMD52): 0: 00001000 00000000 00000000 00000000
[ 1414.395197] mmc1: starting CMD52 arg 00201c00 flags 00000195
[ 1414.395538] mmc1: sdhci: IRQ status 0x00000001
[ 1414.395550] mmc1: req done (CMD52): 0: 00001020 00000000 00000000 00000000
[ 1414.395572] mmc1: starting CMD52 arg 00201e00 flags 00000195
[ 1414.395911] mmc1: sdhci: IRQ status 0x00000001
[ 1414.395923] mmc1: req done (CMD52): 0: 00001032 00000000 00000000 00000000
[ 1414.395946] mmc1: starting CMD52 arg 00202000 flags 00000195
[ 1414.396287] mmc1: sdhci: IRQ status 0x00000001
[ 1414.396297] mmc1: req done (CMD52): 0: 000010ff 00000000 00000000 00000000
[ 1414.396320] mmc1: starting CMD52 arg 00002600 flags 00000195
[ 1414.396659] mmc1: sdhci: IRQ status 0x00000001
[ 1414.396672] mmc1: req done (CMD52): 0: 00001001 00000000 00000000 00000000
[ 1414.396695] mmc1: starting CMD52 arg 80002603 flags 00000195
[ 1414.397038] mmc1: sdhci: IRQ status 0x00000001
[ 1414.397051] mmc1: req done (CMD52): 0: 00001003 00000000 00000000 00000000
[ 1414.397074] mmc1: clock 400000Hz busmode 2 powermode 2 cs 0 Vdd 21 width 1 timing 2
[ 1414.397118] sdhci-esdhc-imx 30b50000.mmc: change pinctrl state for uhs 2
[ 1414.397132] sdhci-esdhc-imx 30b50000.mmc: desired SD clock: 400000, actual: 390625
[ 1414.397170] mmc1: clock 50000000Hz busmode 2 powermode 2 cs 0 Vdd 21 width 1 timing 2
[ 1414.397199] sdhci-esdhc-imx 30b50000.mmc: desired SD clock: 50000000, actual: 50000000
[ 1414.397230] sdhci-esdhc-imx 30b50000.mmc: change pinctrl state for uhs 2
[ 1414.397241] sdhci-esdhc-imx 30b50000.mmc: desired SD clock: 50000000, actual: 50000000
```
https://source.puri.sm/Librem5/linux/-/issues/481
6.3: v4l2/csi issue
2023-06-01T14:02:54Z
Evangelos Ribeiro Tzaras
6.3: v4l2/csi issue
I had a small UI freeze and thought I had another instance of #480,
but looking at `dmesg` it does appear to be a different issue altogether.
I'm running a 6.3 kernel (apparently grabbed from CI at some point):
```
> $ apt policy linux-...
I had a small UI freeze and thought I had another instance of #480,
but looking at `dmesg` it does appear to be a different issue altogether.
I'm running a 6.3 kernel (apparently grabbed from CI at some point):
```
> $ apt policy linux-image-6.3.0-1-librem5
linux-image-6.3.0-1-librem5:
Installed: 6.3.2pureos1+gitlabci1
Candidate: 6.3.4pureos1
Version table:
6.3.4pureos1 500
500 https://repo.pureos.net/pureos landing/main arm64 Packages
6.3.3pureos1 500
500 https://repo.pureos.net/pureos byzantium/main arm64 Packages
*** 6.3.2pureos1+gitlabci1 100
100 /var/lib/dpkg/status
```
I will observer if I get this (or #480 ) in 6.3.4 (but I don't have any reproducers, so will just have to use the device and see if there's any weirdness).
I have attached the full dmesg log as well [v4l2_bugged.log](/uploads/8560240c82f30dcb09e4f1961506f795/v4l2_bugged.log)
```
[163280.118971] ------------[ cut here ]------------
[163280.118986] WARNING: CPU: 3 PID: 180535 at drivers/media/v4l2-core/v4l2-mc.c:475 pipeline_pm_power_one+0x104/0x160 [videodev]
[163280.119091] Modules linked in: aes_ce_ccm st_magn_i2c st_magn st_lsm6dsx_i2c st_lsm6dsx_spi st_lsm6dsx hi846 s5k3l6xx imx8mq_mipi_csi2(C
) imx7_media_csi qmi_wwan cdc_wdm option usbnet usb_wwan mii usbserial rfcomm algif_hash algif_skcipher af_alg bnep redpine_sdio redpine_91x
bluetooth mac80211 cfg80211 st_sensors_i2c st_sensors exfat usb_f_acm u_serial usb_f_ncm u_ether caam_jr mousedev caamhash_desc caamalg_des
c crypto_engine ledtrig_pattern aes_ce_blk crct10dif_ce ghash_ce snd_soc_simple_card sha2_ce snd_soc_simple_card_utils hantro_vpu pwm_vibra
snd_soc_gtm601 sha1_ce snd_soc_imx_hdmi v4l2_vp9 v4l2_h264 snd_soc_hdmi_codec v4l2_mem2mem gnss_mtk dw9714 snd_soc_fsl_sai leds_lm3560 vcnl4
000 gnss_serial snd_soc_wm8962 videobuf2_dma_contig snd_soc_fsl_utils industrialio_triggered_buffer kfifo_buf v4l2_flash_led_class gnss edt_
ft5x06 imx_pcm_dma videobuf2_memops v4l2_fwnode videobuf2_v4l2 v4l2_async caam error videobuf2_common videodev mc snd_soc_core snd_pcm_dmaen
gine snd_pcm snd_timer imx2_wdt snd soundcore watchdog
[163280.119302] rfkill_hks imx_rproc rfkill leds_pwm_multicolor led_class_multicolor libcomposite ledtrig_timer fuse zram ip_tables x_table
s ipv6 uas usb_storage mtdblock mtd_blkdevs overlay ofpart xhci_plat_hcd xhci_hcd usbcore spi_nor mtd cdns_mhdp_imx cdns_mhdp_drmcore drm_di
splay_helper dwc3 ulpi udc_core imx_dcss phy_fsl_imx8mq_usb tps6598x usb_common bq25890_charger typec clk_bd718x7 roles snvs_pwrkey imx_sdma
virt_dma [last unloaded: st_lsm6dsx]
[163280.119412] CPU: 3 PID: 180535 Comm: VideoCapture Tainted: G WC 6.3.0-1-librem5 #1
[163280.119420] Hardware name: Purism Librem 5r4 (DT)
[163280.119425] pstate: a0000005 (NzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[163280.119433] pc : pipeline_pm_power_one+0x104/0x160 [videodev]
[163280.119499] lr : pipeline_pm_power.part.0+0x5c/0x100 [videodev]
[163280.119564] sp : ffff80000ff93ba0
[163280.119568] x29: ffff80000ff93ba0 x28: 0000000000000004 x27: 0000000000000000
[163280.119579] x26: 0000000000000000 x25: 0000000045585401 x24: 0000000045535201
[163280.119589] x23: ffff0000137d1000 x22: 00000000ffffffff x21: 00000000ffffffff
[163280.119600] x20: ffff00003e4c64d0 x19: 00000000ffffffff x18: 0000000000000000
[163280.119611] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
[163280.119621] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000
[163280.119631] x11: 0000000000000000 x10: 0000000000000000 x9 : ffff80000121c68c
[163280.119642] x8 : ffff000028b61708 x7 : 0000000000000000 x6 : 0000000000000000
[163280.119653] x5 : 000000000000001e x4 : ffff00003e4c64d0 x3 : 0000000000000004
[163280.119663] x2 : 0000000000000002 x1 : 0000000000000002 x0 : ffff00003e4c64d0
[163280.119674] Call trace:
[163280.119678] pipeline_pm_power_one+0x104/0x160 [videodev]
[163280.119744] pipeline_pm_power.part.0+0x5c/0x100 [videodev]
[163280.119809] v4l2_pipeline_pm_use+0x5c/0xa0 [videodev]
[163280.119875] v4l2_pipeline_pm_put+0x1c/0x48 [videodev]
[163280.119940] imx7_csi_video_release+0x4c/0x90 [imx7_media_csi]
[163280.119956] v4l2_release+0xec/0x100 [videodev]
[163280.120020] __fput+0x78/0x260
[163280.120033] ____fput+0x18/0x30
[163280.120041] task_work_run+0x88/0xe8
[163280.120049] do_notify_resume+0x240/0xdc0
[163280.120058] el0_svc+0x74/0x88
[163280.120068] el0t_64_sync_handler+0xb8/0xc0
[163280.120076] el0t_64_sync+0x190/0x198
[163280.120083] ---[ end trace 0000000000000000 ]---
[163280.121864] ------------[ cut here ]------------
[163280.121883] WARNING: CPU: 3 PID: 180535 at drivers/media/v4l2-core/v4l2-mc.c:475 pipeline_pm_power_one+0x104/0x160 [videodev]
[163280.121986] Modules linked in: aes_ce_ccm st_magn_i2c st_magn st_lsm6dsx_i2c st_lsm6dsx_spi st_lsm6dsx hi846 s5k3l6xx imx8mq_mipi_csi2(C
) imx7_media_csi qmi_wwan cdc_wdm option usbnet usb_wwan mii usbserial rfcomm algif_hash algif_skcipher af_alg bnep redpine_sdio redpine_91x
bluetooth mac80211 cfg80211 st_sensors_i2c st_sensors exfat usb_f_acm u_serial usb_f_ncm u_ether caam_jr mousedev caamhash_desc caamalg_des
c crypto_engine ledtrig_pattern aes_ce_blk crct10dif_ce ghash_ce snd_soc_simple_card sha2_ce snd_soc_simple_card_utils hantro_vpu pwm_vibra
snd_soc_gtm601 sha1_ce snd_soc_imx_hdmi v4l2_vp9 v4l2_h264 snd_soc_hdmi_codec v4l2_mem2mem gnss_mtk dw9714 snd_soc_fsl_sai leds_lm3560 vcnl4
000 gnss_serial snd_soc_wm8962 videobuf2_dma_contig snd_soc_fsl_utils industrialio_triggered_buffer kfifo_buf v4l2_flash_led_class gnss edt_
ft5x06 imx_pcm_dma videobuf2_memops v4l2_fwnode videobuf2_v4l2 v4l2_async caam error videobuf2_common videodev mc snd_soc_core snd_pcm_dmaen
gine snd_pcm snd_timer imx2_wdt snd soundcore watchdog
[163280.122196] rfkill_hks imx_rproc rfkill leds_pwm_multicolor led_class_multicolor libcomposite ledtrig_timer fuse zram ip_tables x_table
s ipv6 uas usb_storage mtdblock mtd_blkdevs overlay ofpart xhci_plat_hcd xhci_hcd usbcore spi_nor mtd cdns_mhdp_imx cdns_mhdp_drmcore drm_di
splay_helper dwc3 ulpi udc_core imx_dcss phy_fsl_imx8mq_usb tps6598x usb_common bq25890_charger typec clk_bd718x7 roles snvs_pwrkey imx_sdma
virt_dma [last unloaded: st_lsm6dsx]
[163280.122308] CPU: 3 PID: 180535 Comm: VideoCapture Tainted: G WC 6.3.0-1-librem5 #1
[163280.122316] Hardware name: Purism Librem 5r4 (DT)
[163280.122320] pstate: a0000005 (NzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[163280.122327] pc : pipeline_pm_power_one+0x104/0x160 [videodev]
[163280.122394] lr : pipeline_pm_power.part.0+0x5c/0x100 [videodev]
[163280.122460] sp : ffff80000ff93ba0
[163280.122463] x29: ffff80000ff93ba0 x28: 0000000000000004 x27: 0000000000000000
[163280.122474] x26: 0000000000000000 x25: 0000000045585401 x24: 0000000045535201
[163280.122485] x23: ffff0000137d1000 x22: 00000000ffffffff x21: 00000000ffffffff
[163280.122496] x20: ffff00003e4c64d0 x19: 00000000ffffffff x18: 0000000000000000
[163280.122507] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
[163280.122518] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000
[163280.122528] x11: 0000000000000000 x10: 0000000000000000 x9 : ffff80000121c68c
[163280.122538] x8 : ffff000028b61708 x7 : 0000000000000000 x6 : 0000000000000000
[163280.122548] x5 : 000000000000001e x4 : ffff00003e4c64d0 x3 : 0000000000000004
[163280.122559] x2 : 0000000000000002 x1 : 0000000000000002 x0 : ffff00003e4c64d0
[163280.122570] Call trace:
[163280.122574] pipeline_pm_power_one+0x104/0x160 [videodev]
[163280.122641] pipeline_pm_power.part.0+0x5c/0x100 [videodev]
[163280.122708] v4l2_pipeline_pm_use+0x5c/0xa0 [videodev]
[163280.122773] v4l2_pipeline_pm_put+0x1c/0x48 [videodev]
[163280.122839] imx7_csi_video_release+0x4c/0x90 [imx7_media_csi]
[163280.122854] v4l2_release+0xec/0x100 [videodev]
[163280.122919] __fput+0x78/0x260
[163280.122932] ____fput+0x18/0x30
[163280.122940] task_work_run+0x88/0xe8
[163280.122949] do_notify_resume+0x240/0xdc0
[163280.122958] el0_svc+0x74/0x88
[163280.122968] el0t_64_sync_handler+0xb8/0xc0
[163280.122976] el0t_64_sync+0x190/0x198
[163280.122983] ---[ end trace 0000000000000000 ]---
[163280.126234] ------------[ cut here ]------------
[163280.126263] WARNING: CPU: 3 PID: 180535 at drivers/media/v4l2-core/v4l2-mc.c:475 pipeline_pm_power_one+0x104/0x160 [videodev]
[163280.126397] Modules linked in: aes_ce_ccm st_magn_i2c st_magn st_lsm6dsx_i2c st_lsm6dsx_spi st_lsm6dsx hi846 s5k3l6xx imx8mq_mipi_csi2(C
) imx7_media_csi qmi_wwan cdc_wdm option usbnet usb_wwan mii usbserial rfcomm algif_hash algif_skcipher af_alg bnep redpine_sdio redpine_91x
bluetooth mac80211 cfg80211 st_sensors_i2c st_sensors exfat usb_f_acm u_serial usb_f_ncm u_ether caam_jr mousedev caamhash_desc caamalg_des
c crypto_engine ledtrig_pattern aes_ce_blk crct10dif_ce ghash_ce snd_soc_simple_card sha2_ce snd_soc_simple_card_utils hantro_vpu pwm_vibra
snd_soc_gtm601 sha1_ce snd_soc_imx_hdmi v4l2_vp9 v4l2_h264 snd_soc_hdmi_codec v4l2_mem2mem gnss_mtk dw9714 snd_soc_fsl_sai leds_lm3560 vcnl4
000 gnss_serial snd_soc_wm8962 videobuf2_dma_contig snd_soc_fsl_utils industrialio_triggered_buffer kfifo_buf v4l2_flash_led_class gnss edt_
ft5x06 imx_pcm_dma videobuf2_memops v4l2_fwnode videobuf2_v4l2 v4l2_async caam error videobuf2_common videodev mc snd_soc_core snd_pcm_dmaen
gine snd_pcm snd_timer imx2_wdt snd soundcore watchdog
[163280.126619] rfkill_hks imx_rproc rfkill leds_pwm_multicolor led_class_multicolor libcomposite ledtrig_timer fuse zram ip_tables x_table
s ipv6 uas usb_storage mtdblock mtd_blkdevs overlay ofpart xhci_plat_hcd xhci_hcd usbcore spi_nor mtd cdns_mhdp_imx cdns_mhdp_drmcore drm_di
splay_helper dwc3 ulpi udc_core imx_dcss phy_fsl_imx8mq_usb tps6598x usb_common bq25890_charger typec clk_bd718x7 roles snvs_pwrkey imx_sdma
virt_dma [last unloaded: st_lsm6dsx]
[163280.126737] CPU: 3 PID: 180535 Comm: VideoCapture Tainted: G WC 6.3.0-1-librem5 #1
[163280.126745] Hardware name: Purism Librem 5r4 (DT)
[163280.126751] pstate: a0000005 (NzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[163280.126759] pc : pipeline_pm_power_one+0x104/0x160 [videodev]
[163280.126827] lr : pipeline_pm_power.part.0+0x5c/0x100 [videodev]
[163280.126893] sp : ffff80000ff93ba0
[163280.126896] x29: ffff80000ff93ba0 x28: 0000000000000004 x27: 0000000000000000
[163280.126907] x26: 0000000000000000 x25: 0000000045585401 x24: 0000000045535201
[163280.126918] x23: ffff0000137d1000 x22: 00000000ffffffff x21: 00000000ffffffff
[163280.126930] x20: ffff00003e4c64d0 x19: 00000000ffffffff x18: 0000000000000000
[163280.126940] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
[163280.126950] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000
[163280.126961] x11: 0000000000000000 x10: 0000000000000000 x9 : ffff80000121c68c
[163280.126972] x8 : ffff000028b61708 x7 : 0000000000000000 x6 : 0000000000000000
[163280.126982] x5 : 000000000000001e x4 : ffff00003e4c64d0 x3 : 0000000000000004
[163280.126992] x2 : 0000000000000002 x1 : 0000000000000002 x0 : ffff00003e4c64d0
[163280.127004] Call trace:
[163280.127008] pipeline_pm_power_one+0x104/0x160 [videodev]
[163280.127074] pipeline_pm_power.part.0+0x5c/0x100 [videodev]
[163280.127139] v4l2_pipeline_pm_use+0x5c/0xa0 [videodev]
[163280.127205] v4l2_pipeline_pm_put+0x1c/0x48 [videodev]
[163280.127271] imx7_csi_video_release+0x4c/0x90 [imx7_media_csi]
[163280.127288] v4l2_release+0xec/0x100 [videodev]
[163280.127352] __fput+0x78/0x260
[163280.127369] ____fput+0x18/0x30
[163280.127378] task_work_run+0x88/0xe8
[163280.127389] do_notify_resume+0x240/0xdc0
[163280.127401] el0_svc+0x74/0x88
[163280.127415] el0t_64_sync_handler+0xb8/0xc0
[163280.127423] el0t_64_sync+0x190/0x198
[163280.127432] ---[ end trace 0000000000000000 ]---
[163280.665185] ------------[ cut here ]------------
[163280.665204] WARNING: CPU: 3 PID: 180535 at drivers/media/v4l2-core/v4l2-mc.c:475 pipeline_pm_power_one+0x104/0x160 [videodev]
[163280.665309] Modules linked in: aes_ce_ccm st_magn_i2c st_magn st_lsm6dsx_i2c st_lsm6dsx_spi st_lsm6dsx hi846 s5k3l6xx imx8mq_mipi_csi2(C
) imx7_media_csi qmi_wwan cdc_wdm option usbnet usb_wwan mii usbserial rfcomm algif_hash algif_skcipher af_alg bnep redpine_sdio redpine_91x
bluetooth mac80211 cfg80211 st_sensors_i2c st_sensors exfat usb_f_acm u_serial usb_f_ncm u_ether caam_jr mousedev caamhash_desc caamalg_des
c crypto_engine ledtrig_pattern aes_ce_blk crct10dif_ce ghash_ce snd_soc_simple_card sha2_ce snd_soc_simple_card_utils hantro_vpu pwm_vibra
snd_soc_gtm601 sha1_ce snd_soc_imx_hdmi v4l2_vp9 v4l2_h264 snd_soc_hdmi_codec v4l2_mem2mem gnss_mtk dw9714 snd_soc_fsl_sai leds_lm3560 vcnl4
000 gnss_serial snd_soc_wm8962 videobuf2_dma_contig snd_soc_fsl_utils industrialio_triggered_buffer kfifo_buf v4l2_flash_led_class gnss edt_
ft5x06 imx_pcm_dma videobuf2_memops v4l2_fwnode videobuf2_v4l2 v4l2_async caam error videobuf2_common videodev mc snd_soc_core snd_pcm_dmaen
gine snd_pcm snd_timer imx2_wdt snd soundcore watchdog
[163280.665520] rfkill_hks imx_rproc rfkill leds_pwm_multicolor led_class_multicolor libcomposite ledtrig_timer fuse zram ip_tables x_table
s ipv6 uas usb_storage mtdblock mtd_blkdevs overlay ofpart xhci_plat_hcd xhci_hcd usbcore spi_nor mtd cdns_mhdp_imx cdns_mhdp_drmcore drm_di
splay_helper dwc3 ulpi udc_core imx_dcss phy_fsl_imx8mq_usb tps6598x usb_common bq25890_charger typec clk_bd718x7 roles snvs_pwrkey imx_sdma
virt_dma [last unloaded: st_lsm6dsx]
[163280.665631] CPU: 3 PID: 180535 Comm: VideoCapture Tainted: G WC 6.3.0-1-librem5 #1
[163280.665639] Hardware name: Purism Librem 5r4 (DT)
[163280.665643] pstate: a0000005 (NzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[163280.665651] pc : pipeline_pm_power_one+0x104/0x160 [videodev]
[163280.665717] lr : pipeline_pm_power.part.0+0x5c/0x100 [videodev]
[163280.665783] sp : ffff80000ff93ba0
[163280.665786] x29: ffff80000ff93ba0 x28: 0000000000000004 x27: 0000000000000000
[163280.665797] x26: 0000000000000000 x25: 0000000045585401 x24: 0000000045535201
[163280.665808] x23: ffff0000137d1000 x22: 00000000ffffffff x21: 00000000ffffffff
[163280.665819] x20: ffff00003e4c64d0 x19: 00000000ffffffff x18: 0000000000000000
[163280.665830] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
[163280.665840] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000
[163280.665850] x11: 0000000000000000 x10: 0000000000000000 x9 : ffff80000121c68c
[163280.665861] x8 : ffff000028b61708 x7 : 0000000000000000 x6 : 0000000000000000
[163280.665872] x5 : 000000000000001e x4 : ffff00003e4c64d0 x3 : 0000000000000004
[163280.665882] x2 : 0000000000000002 x1 : 0000000000000002 x0 : ffff00003e4c64d0
[163280.665893] Call trace:
[163280.665897] pipeline_pm_power_one+0x104/0x160 [videodev]
[163280.665963] pipeline_pm_power.part.0+0x5c/0x100 [videodev]
[163280.666030] v4l2_pipeline_pm_use+0x5c/0xa0 [videodev]
[163280.666096] v4l2_pipeline_pm_put+0x1c/0x48 [videodev]
[163280.666160] imx7_csi_video_release+0x4c/0x90 [imx7_media_csi]
[163280.666177] v4l2_release+0xec/0x100 [videodev]
[163280.666242] __fput+0x78/0x260
[163280.666255] ____fput+0x18/0x30
[163280.666263] task_work_run+0x88/0xe8
[163280.666272] do_notify_resume+0x240/0xdc0
[163280.666281] el0_svc+0x74/0x88
[163280.666292] el0t_64_sync_handler+0xb8/0xc0
[163280.666300] el0t_64_sync+0x190/0x198
[163280.666307] ---[ end trace 0000000000000000 ]---
[163280.713895] ------------[ cut here ]------------
[163280.713914] WARNING: CPU: 2 PID: 180535 at drivers/media/v4l2-core/v4l2-mc.c:475 pipeline_pm_power_one+0x104/0x160 [videodev]
[163280.714017] Modules linked in: aes_ce_ccm st_magn_i2c st_magn st_lsm6dsx_i2c st_lsm6dsx_spi st_lsm6dsx hi846 s5k3l6xx imx8mq_mipi_csi2(C
) imx7_media_csi qmi_wwan cdc_wdm option usbnet usb_wwan mii usbserial rfcomm algif_hash algif_skcipher af_alg bnep redpine_sdio redpine_91x
bluetooth mac80211 cfg80211 st_sensors_i2c st_sensors exfat usb_f_acm u_serial usb_f_ncm u_ether caam_jr mousedev caamhash_desc caamalg_des
c crypto_engine ledtrig_pattern aes_ce_blk crct10dif_ce ghash_ce snd_soc_simple_card sha2_ce snd_soc_simple_card_utils hantro_vpu pwm_vibra
snd_soc_gtm601 sha1_ce snd_soc_imx_hdmi v4l2_vp9 v4l2_h264 snd_soc_hdmi_codec v4l2_mem2mem gnss_mtk dw9714 snd_soc_fsl_sai leds_lm3560 vcnl4
000 gnss_serial snd_soc_wm8962 videobuf2_dma_contig snd_soc_fsl_utils industrialio_triggered_buffer kfifo_buf v4l2_flash_led_class gnss edt_
ft5x06 imx_pcm_dma videobuf2_memops v4l2_fwnode videobuf2_v4l2 v4l2_async caam error videobuf2_common videodev mc snd_soc_core snd_pcm_dmaen
gine snd_pcm snd_timer imx2_wdt snd soundcore watchdog
[163280.714228] rfkill_hks imx_rproc rfkill leds_pwm_multicolor led_class_multicolor libcomposite ledtrig_timer fuse zram ip_tables x_table
s ipv6 uas usb_storage mtdblock mtd_blkdevs overlay ofpart xhci_plat_hcd xhci_hcd usbcore spi_nor mtd cdns_mhdp_imx cdns_mhdp_drmcore drm_di
splay_helper dwc3 ulpi udc_core imx_dcss phy_fsl_imx8mq_usb tps6598x usb_common bq25890_charger typec clk_bd718x7 roles snvs_pwrkey imx_sdma
virt_dma [last unloaded: st_lsm6dsx]
[163280.714339] CPU: 2 PID: 180535 Comm: VideoCapture Tainted: G WC 6.3.0-1-librem5 #1
[163280.714347] Hardware name: Purism Librem 5r4 (DT)
[163280.714352] pstate: a0000005 (NzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[163280.714360] pc : pipeline_pm_power_one+0x104/0x160 [videodev]
[163280.714427] lr : pipeline_pm_power.part.0+0x5c/0x100 [videodev]
[163280.714492] sp : ffff80000ff93ba0
[163280.714496] x29: ffff80000ff93ba0 x28: 0000000000000004 x27: 0000000000000000
[163280.714507] x26: 0000000000000000 x25: 0000000045585401 x24: 0000000045535201
[163280.714518] x23: ffff0000137d1000 x22: 00000000ffffffff x21: 00000000ffffffff
[163280.714529] x20: ffff00003e4c64d0 x19: 00000000ffffffff x18: 0000000000000000
[163280.714540] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
[163280.714550] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000
[163280.714561] x11: 0000000000000000 x10: 0000000000000000 x9 : ffff80000121c68c
[163280.714571] x8 : ffff000028b61708 x7 : 0000000000000000 x6 : 0000000000000000
[163280.714582] x5 : 000000000000001e x4 : ffff00003e4c64d0 x3 : 0000000000000004
[163280.714592] x2 : 0000000000000002 x1 : 0000000000000002 x0 : ffff00003e4c64d0
[163280.714604] Call trace:
[163280.714608] pipeline_pm_power_one+0x104/0x160 [videodev]
[163280.714674] pipeline_pm_power.part.0+0x5c/0x100 [videodev]
[163280.714740] v4l2_pipeline_pm_use+0x5c/0xa0 [videodev]
[163280.714805] v4l2_pipeline_pm_put+0x1c/0x48 [videodev]
[163280.714872] imx7_csi_video_release+0x4c/0x90 [imx7_media_csi]
[163280.714887] v4l2_release+0xec/0x100 [videodev]
[163280.714952] __fput+0x78/0x260
[163280.714965] ____fput+0x18/0x30
[163280.714973] task_work_run+0x88/0xe8
[163280.714981] do_notify_resume+0x240/0xdc0
[163280.714991] el0_svc+0x74/0x88
[163280.715001] el0t_64_sync_handler+0xb8/0xc0
[163280.715009] el0t_64_sync+0x190/0x198
[163280.715016] ---[ end trace 0000000000000000 ]---
[163348.350392] ------------[ cut here ]------------
[163348.350419] WARNING: CPU: 1 PID: 180535 at drivers/media/v4l2-core/v4l2-mc.c:475 pipeline_pm_power_one+0x104/0x160 [videodev]
[163348.350544] Modules linked in: aes_ce_ccm st_magn_i2c st_magn st_lsm6dsx_i2c st_lsm6dsx_spi st_lsm6dsx hi846 s5k3l6xx imx8mq_mipi_csi2(C
) imx7_media_csi qmi_wwan cdc_wdm option usbnet usb_wwan mii usbserial rfcomm algif_hash algif_skcipher af_alg bnep redpine_sdio redpine_91x
bluetooth mac80211 cfg80211 st_sensors_i2c st_sensors exfat usb_f_acm u_serial usb_f_ncm u_ether caam_jr mousedev caamhash_desc caamalg_des
c crypto_engine ledtrig_pattern aes_ce_blk crct10dif_ce ghash_ce snd_soc_simple_card sha2_ce snd_soc_simple_card_utils hantro_vpu pwm_vibra
snd_soc_gtm601 sha1_ce snd_soc_imx_hdmi v4l2_vp9 v4l2_h264 snd_soc_hdmi_codec v4l2_mem2mem gnss_mtk dw9714 snd_soc_fsl_sai leds_lm3560 vcnl4
000 gnss_serial snd_soc_wm8962 videobuf2_dma_contig snd_soc_fsl_utils industrialio_triggered_buffer kfifo_buf v4l2_flash_led_class gnss edt_
ft5x06 imx_pcm_dma videobuf2_memops v4l2_fwnode videobuf2_v4l2 v4l2_async caam error videobuf2_common videodev mc snd_soc_core snd_pcm_dmaen
gine snd_pcm snd_timer imx2_wdt snd soundcore watchdog
[163348.350766] rfkill_hks imx_rproc rfkill leds_pwm_multicolor led_class_multicolor libcomposite ledtrig_timer fuse zram ip_tables x_table
s ipv6 uas usb_storage mtdblock mtd_blkdevs overlay ofpart xhci_plat_hcd xhci_hcd usbcore spi_nor mtd cdns_mhdp_imx cdns_mhdp_drmcore drm_di
splay_helper dwc3 ulpi udc_core imx_dcss phy_fsl_imx8mq_usb tps6598x usb_common bq25890_charger typec clk_bd718x7 roles snvs_pwrkey imx_sdma
virt_dma [last unloaded: st_lsm6dsx]
[163348.350887] CPU: 1 PID: 180535 Comm: VideoCapture Tainted: G WC 6.3.0-1-librem5 #1
[163348.350897] Hardware name: Purism Librem 5r4 (DT)
[163348.350902] pstate: a0000005 (NzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[163348.350910] pc : pipeline_pm_power_one+0x104/0x160 [videodev]
[163348.350979] lr : pipeline_pm_power.part.0+0x5c/0x100 [videodev]
[163348.351044] sp : ffff80000ff93ba0
[163348.351047] x29: ffff80000ff93ba0 x28: 0000000000000004 x27: 0000000000000000
[163348.351058] x26: 0000000000000000 x25: 0000000045585401 x24: 0000000045535201
[163348.351069] x23: ffff0000137d1000 x22: 00000000ffffffff x21: 00000000ffffffff
[163348.351081] x20: ffff00003e4c64d0 x19: 00000000ffffffff x18: 0000000000000000
[163348.351092] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
[163348.351102] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000
[163348.351112] x11: 0000000000000000 x10: 0000000000000000 x9 : ffff80000121c68c
[163348.351123] x8 : ffff000028b61708 x7 : 0000000000000000 x6 : 0000000000000000
[163348.351133] x5 : 000000000000001e x4 : ffff00003e4c64d0 x3 : 0000000000000004
[163348.351144] x2 : 0000000000000002 x1 : 0000000000000002 x0 : ffff00003e4c64d0
[163348.351155] Call trace:
[163348.351160] pipeline_pm_power_one+0x104/0x160 [videodev]
[163348.351227] pipeline_pm_power.part.0+0x5c/0x100 [videodev]
[163348.351293] v4l2_pipeline_pm_use+0x5c/0xa0 [videodev]
[163348.351359] v4l2_pipeline_pm_put+0x1c/0x48 [videodev]
[163348.351425] imx7_csi_video_release+0x4c/0x90 [imx7_media_csi]
[163348.351441] v4l2_release+0xec/0x100 [videodev]
[163348.351507] __fput+0x78/0x260
[163348.351522] ____fput+0x18/0x30
[163348.351531] task_work_run+0x88/0xe8
[163348.351540] do_notify_resume+0x240/0xdc0
[163348.351550] el0_svc+0x74/0x88
[163348.351561] el0t_64_sync_handler+0xb8/0xc0
[163348.351570] el0t_64_sync+0x190/0x198
[163348.351577] ---[ end trace 0000000000000000 ]---
[163348.358192] WARNING: CPU: 3 PID: 180535 at drivers/media/v4l2-core/v4l2-mc.c:475 pipeline_pm_power_one+0x104/0x160 [videodev]
[163348.358315] Modules linked in: aes_ce_ccm st_magn_i2c st_magn st_lsm6dsx_i2c st_lsm6dsx_spi st_lsm6dsx hi846 s5k3l6xx imx8mq_mipi_csi2(C
) imx7_media_csi qmi_wwan cdc_wdm option usbnet usb_wwan mii usbserial rfcomm algif_hash algif_skcipher af_alg bnep redpine_sdio redpine_91x
bluetooth mac80211 cfg80211 st_sensors_i2c st_sensors exfat usb_f_acm u_serial usb_f_ncm u_ether caam_jr mousedev caamhash_desc caamalg_des
c crypto_engine ledtrig_pattern aes_ce_blk crct10dif_ce ghash_ce snd_soc_simple_card sha2_ce snd_soc_simple_card_utils hantro_vpu pwm_vibra
snd_soc_gtm601 sha1_ce snd_soc_imx_hdmi v4l2_vp9 v4l2_h264 snd_soc_hdmi_codec v4l2_mem2mem gnss_mtk dw9714 snd_soc_fsl_sai leds_lm3560 vcnl4
000 gnss_serial snd_soc_wm8962 videobuf2_dma_contig snd_soc_fsl_utils industrialio_triggered_buffer kfifo_buf v4l2_flash_led_class gnss edt_
ft5x06 imx_pcm_dma videobuf2_memops v4l2_fwnode videobuf2_v4l2 v4l2_async caam error videobuf2_common videodev mc snd_soc_core snd_pcm_dmaen
gine snd_pcm snd_timer imx2_wdt snd soundcore watchdog
[163348.358535] rfkill_hks imx_rproc rfkill leds_pwm_multicolor led_class_multicolor libcomposite ledtrig_timer fuse zram ip_tables x_table
s ipv6 uas usb_storage mtdblock mtd_blkdevs overlay ofpart xhci_plat_hcd xhci_hcd usbcore spi_nor mtd cdns_mhdp_imx cdns_mhdp_drmcore drm_di
splay_helper dwc3 ulpi udc_core imx_dcss phy_fsl_imx8mq_usb tps6598x usb_common bq25890_charger typec clk_bd718x7 roles snvs_pwrkey imx_sdma
virt_dma [last unloaded: st_lsm6dsx]
[163348.358654] CPU: 3 PID: 180535 Comm: VideoCapture Tainted: G WC 6.3.0-1-librem5 #1
[163348.358663] Hardware name: Purism Librem 5r4 (DT)
[163348.358669] pstate: a0000005 (NzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[163348.358677] pc : pipeline_pm_power_one+0x104/0x160 [videodev]
[163348.358746] lr : pipeline_pm_power.part.0+0x5c/0x100 [videodev]
[163348.358812] sp : ffff80000ff93ba0
[163348.358816] x29: ffff80000ff93ba0 x28: 0000000000000004 x27: 0000000000000000
[163348.358827] x26: 0000000000000000 x25: 0000000045585401 x24: 0000000045535201
[163348.358838] x23: ffff0000137d1000 x22: 00000000ffffffff x21: 00000000ffffffff
[163348.358849] x20: ffff00003e4c64d0 x19: 00000000ffffffff x18: 0000000000000000
[163348.358860] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
[163348.358870] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000
[163348.358881] x11: 0000000000000000 x10: 0000000000000000 x9 : ffff80000121c68c
[163348.358891] x8 : ffff000028b61708 x7 : 0000000000000000 x6 : 0000000000000000
[163348.358902] x5 : 000000000000001e x4 : ffff00003e4c64d0 x3 : 0000000000000004
[163348.358912] x2 : 0000000000000002 x1 : 0000000000000002 x0 : ffff00003e4c64d0
[163348.358924] Call trace:
[163348.358929] pipeline_pm_power_one+0x104/0x160 [videodev]
[163348.359010] pipeline_pm_power.part.0+0x5c/0x100 [videodev]
[163348.359078] v4l2_pipeline_pm_use+0x5c/0xa0 [videodev]
[163348.359145] v4l2_pipeline_pm_put+0x1c/0x48 [videodev]
[163348.359211] imx7_csi_video_release+0x4c/0x90 [imx7_media_csi]
[163348.359228] v4l2_release+0xec/0x100 [videodev]
[163348.359297] __fput+0x78/0x260
[163348.359313] ____fput+0x18/0x30
[163348.359322] task_work_run+0x88/0xe8
[163348.359331] do_notify_resume+0x240/0xdc0
[163348.359342] el0_svc+0x74/0x88
[163348.359355] el0t_64_sync_handler+0xb8/0xc0
[163348.359363] el0t_64_sync+0x190/0x198
[163348.359372] ---[ end trace 0000000000000000 ]---
[163348.360877] ------------[ cut here ]------------
[163348.360900] WARNING: CPU: 3 PID: 180535 at drivers/media/v4l2-core/v4l2-mc.c:475 pipeline_pm_power_one+0x104/0x160 [videodev]
[163348.361010] Modules linked in: aes_ce_ccm st_magn_i2c st_magn st_lsm6dsx_i2c st_lsm6dsx_spi st_lsm6dsx hi846 s5k3l6xx imx8mq_mipi_csi2(C
) imx7_media_csi qmi_wwan cdc_wdm option usbnet usb_wwan mii usbserial rfcomm algif_hash algif_skcipher af_alg bnep redpine_sdio redpine_91x
bluetooth mac80211 cfg80211 st_sensors_i2c st_sensors exfat usb_f_acm u_serial usb_f_ncm u_ether caam_jr mousedev caamhash_desc caamalg_des
c crypto_engine ledtrig_pattern aes_ce_blk crct10dif_ce ghash_ce snd_soc_simple_card sha2_ce snd_soc_simple_card_utils hantro_vpu pwm_vibra
snd_soc_gtm601 sha1_ce snd_soc_imx_hdmi v4l2_vp9 v4l2_h264 snd_soc_hdmi_codec v4l2_mem2mem gnss_mtk dw9714 snd_soc_fsl_sai leds_lm3560 vcnl4
000 gnss_serial snd_soc_wm8962 videobuf2_dma_contig snd_soc_fsl_utils industrialio_triggered_buffer kfifo_buf v4l2_flash_led_class gnss edt_
ft5x06 imx_pcm_dma videobuf2_memops v4l2_fwnode videobuf2_v4l2 v4l2_async caam error videobuf2_common videodev mc snd_soc_core snd_pcm_dmaen
gine snd_pcm snd_timer imx2_wdt snd soundcore watchdog
[163348.361225] rfkill_hks imx_rproc rfkill leds_pwm_multicolor led_class_multicolor libcomposite ledtrig_timer fuse zram ip_tables x_table
s ipv6 uas usb_storage mtdblock mtd_blkdevs overlay ofpart xhci_plat_hcd xhci_hcd usbcore spi_nor mtd cdns_mhdp_imx cdns_mhdp_drmcore drm_di
splay_helper dwc3 ulpi udc_core imx_dcss phy_fsl_imx8mq_usb tps6598x usb_common bq25890_charger typec clk_bd718x7 roles snvs_pwrkey imx_sdma
virt_dma [last unloaded: st_lsm6dsx]
[163348.361340] CPU: 3 PID: 180535 Comm: VideoCapture Tainted: G WC 6.3.0-1-librem5 #1
[163348.361349] Hardware name: Purism Librem 5r4 (DT)
[163348.361354] pstate: a0000005 (NzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[163348.361361] pc : pipeline_pm_power_one+0x104/0x160 [videodev]
[163348.361432] lr : pipeline_pm_power.part.0+0x5c/0x100 [videodev]
[163348.361498] sp : ffff80000ff93ba0
[163348.361501] x29: ffff80000ff93ba0 x28: 0000000000000004 x27: 0000000000000000
[163348.361512] x26: 0000000000000000 x25: 0000000045585401 x24: 0000000045535201
[163348.361523] x23: ffff0000137d1000 x22: 00000000ffffffff x21: 00000000ffffffff
[163348.361533] x20: ffff00003e4c64d0 x19: 00000000ffffffff x18: 0000000000000000
[163348.361544] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
[163348.361554] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000
[163348.361564] x11: 0000000000000000 x10: 0000000000000000 x9 : ffff80000121c68c
[163348.361574] x8 : ffff000028b61708 x7 : 0000000000000000 x6 : 0000000000000000
[163348.361585] x5 : 000000000000001e x4 : ffff00003e4c64d0 x3 : 0000000000000004
[163348.361595] x2 : 0000000000000002 x1 : 0000000000000002 x0 : ffff00003e4c64d0
[163348.361606] Call trace:
[163348.361610] pipeline_pm_power_one+0x104/0x160 [videodev]
[163348.361675] pipeline_pm_power.part.0+0x5c/0x100 [videodev]
[163348.361741] v4l2_pipeline_pm_use+0x5c/0xa0 [videodev]
[163348.361806] v4l2_pipeline_pm_put+0x1c/0x48 [videodev]
[163348.361872] imx7_csi_video_release+0x4c/0x90 [imx7_media_csi]
[163348.361888] v4l2_release+0xec/0x100 [videodev]
[163348.361953] __fput+0x78/0x260
[163348.361965] ____fput+0x18/0x30
[163348.361973] task_work_run+0x88/0xe8
[163348.361981] do_notify_resume+0x240/0xdc0
[163348.361990] el0_svc+0x74/0x88
[163348.362001] el0t_64_sync_handler+0xb8/0xc0
[163348.362009] el0t_64_sync+0x190/0x198
[163348.362016] ---[ end trace 0000000000000000 ]---
[163348.984808] ------------[ cut here ]------------
[163348.984830] WARNING: CPU: 1 PID: 180535 at drivers/media/v4l2-core/v4l2-mc.c:475 pipeline_pm_power_one+0x104/0x160 [videodev]
[163348.984945] Modules linked in: aes_ce_ccm st_magn_i2c st_magn st_lsm6dsx_i2c st_lsm6dsx_spi st_lsm6dsx hi846 s5k3l6xx imx8mq_mipi_csi2(C
) imx7_media_csi qmi_wwan cdc_wdm option usbnet usb_wwan mii usbserial rfcomm algif_hash algif_skcipher af_alg bnep redpine_sdio redpine_91x
bluetooth mac80211 cfg80211 st_sensors_i2c st_sensors exfat usb_f_acm u_serial usb_f_ncm u_ether caam_jr mousedev caamhash_desc caamalg_des
c crypto_engine ledtrig_pattern aes_ce_blk crct10dif_ce ghash_ce snd_soc_simple_card sha2_ce snd_soc_simple_card_utils hantro_vpu pwm_vibra
snd_soc_gtm601 sha1_ce snd_soc_imx_hdmi v4l2_vp9 v4l2_h264 snd_soc_hdmi_codec v4l2_mem2mem gnss_mtk dw9714 snd_soc_fsl_sai leds_lm3560 vcnl4
000 gnss_serial snd_soc_wm8962 videobuf2_dma_contig snd_soc_fsl_utils industrialio_triggered_buffer kfifo_buf v4l2_flash_led_class gnss edt_
ft5x06 imx_pcm_dma videobuf2_memops v4l2_fwnode videobuf2_v4l2 v4l2_async caam error videobuf2_common videodev mc snd_soc_core snd_pcm_dmaen
gine snd_pcm snd_timer imx2_wdt snd soundcore watchdog
[163348.985188] rfkill_hks imx_rproc rfkill leds_pwm_multicolor led_class_multicolor libcomposite ledtrig_timer fuse zram ip_tables x_table
s ipv6 uas usb_storage mtdblock mtd_blkdevs overlay ofpart xhci_plat_hcd xhci_hcd usbcore spi_nor mtd cdns_mhdp_imx cdns_mhdp_drmcore drm_di
splay_helper dwc3 ulpi udc_core imx_dcss phy_fsl_imx8mq_usb tps6598x usb_common bq25890_charger typec clk_bd718x7 roles snvs_pwrkey imx_sdma
virt_dma [last unloaded: st_lsm6dsx]
[163348.985334] CPU: 1 PID: 180535 Comm: VideoCapture Tainted: G WC 6.3.0-1-librem5 #1
[163348.985344] Hardware name: Purism Librem 5r4 (DT)
[163348.985351] pstate: a0000005 (NzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[163348.985362] pc : pipeline_pm_power_one+0x104/0x160 [videodev]
[163348.985456] lr : pipeline_pm_power.part.0+0x5c/0x100 [videodev]
[163348.985541] sp : ffff80000ff93ba0
[163348.985545] x29: ffff80000ff93ba0 x28: 0000000000000004 x27: 0000000000000000
[163348.985557] x26: 0000000000000000 x25: 0000000045585401 x24: 0000000045535201
[163348.985569] x23: ffff0000137d1000 x22: 00000000ffffffff x21: 00000000ffffffff
[163348.985582] x20: ffff00003e4c64d0 x19: 00000000ffffffff x18: 0000000000000000
[163348.985594] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
[163348.985606] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000
[163348.985618] x11: 0000000000000000 x10: 0000000000000000 x9 : ffff80000121c68c
[163348.985631] x8 : ffff000028b61708 x7 : 0000000000000000 x6 : 0000000000000000
[163348.985643] x5 : 000000000000001e x4 : ffff00003e4c64d0 x3 : 0000000000000004
[163348.985655] x2 : 0000000000000002 x1 : 0000000000000002 x0 : ffff00003e4c64d0
[163348.985668] Call trace:
[163348.985674] pipeline_pm_power_one+0x104/0x160 [videodev]
[163348.985772] pipeline_pm_power.part.0+0x5c/0x100 [videodev]
[163348.985870] v4l2_pipeline_pm_use+0x5c/0xa0 [videodev]
[163348.985954] v4l2_pipeline_pm_put+0x1c/0x48 [videodev]
[163348.986041] imx7_csi_video_release+0x4c/0x90 [imx7_media_csi]
[163348.986066] v4l2_release+0xec/0x100 [videodev]
[163348.986145] __fput+0x78/0x260
[163348.986170] ____fput+0x18/0x30
[163348.986179] task_work_run+0x88/0xe8
[163348.986196] do_notify_resume+0x240/0xdc0
[163348.986213] el0_svc+0x74/0x88
[163348.986231] el0t_64_sync_handler+0xb8/0xc0
[163348.986242] el0t_64_sync+0x190/0x198
[163348.986253] ---[ end trace 0000000000000000 ]---
[163349.010101] ------------[ cut here ]------------
[163349.010132] WARNING: CPU: 2 PID: 180535 at drivers/media/v4l2-core/v4l2-mc.c:475 pipeline_pm_power_one+0x104/0x160 [videodev]
[163349.010278] Modules linked in: aes_ce_ccm st_magn_i2c st_magn st_lsm6dsx_i2c st_lsm6dsx_spi st_lsm6dsx hi846 s5k3l6xx imx8mq_mipi_csi2(C
) imx7_media_csi qmi_wwan cdc_wdm option usbnet usb_wwan mii usbserial rfcomm algif_hash algif_skcipher af_alg bnep redpine_sdio redpine_91x
bluetooth mac80211 cfg80211 st_sensors_i2c st_sensors exfat usb_f_acm u_serial usb_f_ncm u_ether caam_jr mousedev caamhash_desc caamalg_des
c crypto_engine ledtrig_pattern aes_ce_blk crct10dif_ce ghash_ce snd_soc_simple_card sha2_ce snd_soc_simple_card_utils hantro_vpu pwm_vibra
snd_soc_gtm601 sha1_ce snd_soc_imx_hdmi v4l2_vp9 v4l2_h264 snd_soc_hdmi_codec v4l2_mem2mem gnss_mtk dw9714 snd_soc_fsl_sai leds_lm3560 vcnl4
000 gnss_serial snd_soc_wm8962 videobuf2_dma_contig snd_soc_fsl_utils industrialio_triggered_buffer kfifo_buf v4l2_flash_led_class gnss edt_
ft5x06 imx_pcm_dma videobuf2_memops v4l2_fwnode videobuf2_v4l2 v4l2_async caam error videobuf2_common videodev mc snd_soc_core snd_pcm_dmaen
gine snd_pcm snd_timer imx2_wdt snd soundcore watchdog
[163349.010506] rfkill_hks imx_rproc rfkill leds_pwm_multicolor led_class_multicolor libcomposite ledtrig_timer fuse zram ip_tables x_table
s ipv6 uas usb_storage mtdblock mtd_blkdevs overlay ofpart xhci_plat_hcd xhci_hcd usbcore spi_nor mtd cdns_mhdp_imx cdns_mhdp_drmcore drm_di
splay_helper dwc3 ulpi udc_core imx_dcss phy_fsl_imx8mq_usb tps6598x usb_common bq25890_charger typec clk_bd718x7 roles snvs_pwrkey imx_sdma
virt_dma [last unloaded: st_lsm6dsx]
[163349.010632] CPU: 2 PID: 180535 Comm: VideoCapture Tainted: G WC 6.3.0-1-librem5 #1
[163349.010642] Hardware name: Purism Librem 5r4 (DT)
[163349.010648] pstate: a0000005 (NzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[163349.010657] pc : pipeline_pm_power_one+0x104/0x160 [videodev]
[163349.010730] lr : pipeline_pm_power.part.0+0x5c/0x100 [videodev]
[163349.010797] sp : ffff80000ff93ba0
[163349.010801] x29: ffff80000ff93ba0 x28: 0000000000000004 x27: 0000000000000000
[163349.010813] x26: 0000000000000000 x25: 0000000045585401 x24: 0000000045535201
[163349.010823] x23: ffff0000137d1000 x22: 00000000ffffffff x21: 00000000ffffffff
[163349.010835] x20: ffff00003e4c64d0 x19: 00000000ffffffff x18: 0000000000000000
[163349.010846] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
[163349.010857] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000
[163349.010868] x11: 0000000000000000 x10: 0000000000000000 x9 : ffff80000121c68c
[163349.010879] x8 : ffff000028b61708 x7 : 0000000000000000 x6 : 0000000000000000
[163349.010890] x5 : 000000000000001e x4 : ffff00003e4c64d0 x3 : 0000000000000004
[163349.010900] x2 : 0000000000000002 x1 : 0000000000000002 x0 : ffff00003e4c64d0
[163349.010912] Call trace:
[163349.010917] pipeline_pm_power_one+0x104/0x160 [videodev]
[163349.010986] pipeline_pm_power.part.0+0x5c/0x100 [videodev]
[163349.011051] v4l2_pipeline_pm_use+0x5c/0xa0 [videodev]
[163349.011117] v4l2_pipeline_pm_put+0x1c/0x48 [videodev]
[163349.011183] imx7_csi_video_release+0x4c/0x90 [imx7_media_csi]
[163349.011201] v4l2_release+0xec/0x100 [videodev]
[163349.011267] __fput+0x78/0x260
[163349.011285] ____fput+0x18/0x30
[163349.011294] task_work_run+0x88/0xe8
[163349.011304] do_notify_resume+0x240/0xdc0
[163349.011316] el0_svc+0x74/0x88
[163349.011328] el0t_64_sync_handler+0xb8/0xc0
[163349.011336] el0t_64_sync+0x190/0x198
[163349.011345] ---[ end trace 0000000000000000 ]---
[163352.943741] ------------[ cut here ]------------
[163352.943767] WARNING: CPU: 3 PID: 180535 at drivers/media/v4l2-core/v4l2-mc.c:475 pipeline_pm_power_one+0x104/0x160 [videodev]
[163352.943891] Modules linked in: aes_ce_ccm st_magn_i2c st_magn st_lsm6dsx_i2c st_lsm6dsx_spi st_lsm6dsx hi846 s5k3l6xx imx8mq_mipi_csi2(C
) imx7_media_csi qmi_wwan cdc_wdm option usbnet usb_wwan mii usbserial rfcomm algif_hash algif_skcipher af_alg bnep redpine_sdio redpine_91x
bluetooth mac80211 cfg80211 st_sensors_i2c st_sensors exfat usb_f_acm u_serial usb_f_ncm u_ether caam_jr mousedev caamhash_desc caamalg_des
c crypto_engine ledtrig_pattern aes_ce_blk crct10dif_ce ghash_ce snd_soc_simple_card sha2_ce snd_soc_simple_card_utils hantro_vpu pwm_vibra
snd_soc_gtm601 sha1_ce snd_soc_imx_hdmi v4l2_vp9 v4l2_h264 snd_soc_hdmi_codec v4l2_mem2mem gnss_mtk dw9714 snd_soc_fsl_sai leds_lm3560 vcnl4
000 gnss_serial snd_soc_wm8962 videobuf2_dma_contig snd_soc_fsl_utils industrialio_triggered_buffer kfifo_buf v4l2_flash_led_class gnss edt_
ft5x06 imx_pcm_dma videobuf2_memops v4l2_fwnode videobuf2_v4l2 v4l2_async caam error videobuf2_common videodev mc snd_soc_core snd_pcm_dmaen
gine snd_pcm snd_timer imx2_wdt snd soundcore watchdog
[163352.944112] rfkill_hks imx_rproc rfkill leds_pwm_multicolor led_class_multicolor libcomposite ledtrig_timer fuse zram ip_tables x_table
s ipv6 uas usb_storage mtdblock mtd_blkdevs overlay ofpart xhci_plat_hcd xhci_hcd usbcore spi_nor mtd cdns_mhdp_imx cdns_mhdp_drmcore drm_di
splay_helper dwc3 ulpi udc_core imx_dcss phy_fsl_imx8mq_usb tps6598x usb_common bq25890_charger typec clk_bd718x7 roles snvs_pwrkey imx_sdma
virt_dma [last unloaded: st_lsm6dsx]
[163352.944228] CPU: 3 PID: 180535 Comm: VideoCapture Tainted: G WC 6.3.0-1-librem5 #1
[163352.944237] Hardware name: Purism Librem 5r4 (DT)
[163352.944242] pstate: a0000005 (NzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[163352.944251] pc : pipeline_pm_power_one+0x104/0x160 [videodev]
[163352.944321] lr : pipeline_pm_power.part.0+0x5c/0x100 [videodev]
[163352.944386] sp : ffff80000ff93ba0
[163352.944390] x29: ffff80000ff93ba0 x28: 0000000000000004 x27: 0000000000000000
[163352.944401] x26: 0000000000000000 x25: 0000000045585401 x24: 0000000045535201
[163352.944413] x23: ffff0000137d1000 x22: 00000000ffffffff x21: 00000000ffffffff
[163352.944424] x20: ffff00003e4c64d0 x19: 00000000ffffffff x18: 0000000000000000
[163352.944434] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
[163352.944445] x14: 0000000000000000 x13: 0000000000000000 x12: 0000000000000000
[163352.944456] x11: 0000000000000000 x10: 0000000000000000 x9 : ffff80000121c68c
[163352.944467] x8 : ffff000028b61708 x7 : 0000000000000000 x6 : 0000000000000000
[163352.944478] x5 : 000000000000001e x4 : ffff00003e4c64d0 x3 : 0000000000000004
[163352.944488] x2 : 0000000000000002 x1 : 0000000000000002 x0 : ffff00003e4c64d0
[163352.944499] Call trace:
[163352.944504] pipeline_pm_power_one+0x104/0x160 [videodev]
[163352.944571] pipeline_pm_power.part.0+0x5c/0x100 [videodev]
[163352.944637] v4l2_pipeline_pm_use+0x5c/0xa0 [videodev]
[163352.944703] v4l2_pipeline_pm_put+0x1c/0x48 [videodev]
[163352.944769] imx7_csi_video_release+0x4c/0x90 [imx7_media_csi]
[163352.944786] v4l2_release+0xec/0x100 [videodev]
[163352.944852] __fput+0x78/0x260
[163352.944866] ____fput+0x18/0x30
[163352.944875] task_work_run+0x88/0xe8
[163352.944885] do_notify_resume+0x240/0xdc0
[163352.944895] el0_svc+0x74/0x88
[163352.944906] el0t_64_sync_handler+0xb8/0xc0
[163352.944914] el0t_64_sync+0x190/0x198
[163352.944922] ---[ end trace 0000000000000000 ]---
[163353.009621] imx7-csi 30a90000.csi: capture format not valid
[163353.226627] imx7-csi 30a90000.csi: imx7_csi_video_s_fmt_vid_cap queue busy
[163353.937314] imx7-csi 30a90000.csi: imx7_csi_video_s_fmt_vid_cap queue busy
[163354.175796] imx7-csi 30a90000.csi: imx7_csi_video_s_fmt_vid_cap queue busy
[164586.806287] bq25890-charger 3-006a: Upstream supply changed: 0.
[164586.806317] bq25890-charger 3-006a: Disabling OTG_EN pin
[164586.808877] bq25890-charger 3-006a: Upstream supply changed: 0.
[164586.808890] bq25890-charger 3-006a: Disabling OTG_EN pin
[164586.809652] tps6598x 0-003f: The interrupt is masked , how did it fire ?? 380100a
[164586.821468] bq25890-charger 3-006a: Upstream supply changed: 0.
[164586.821493] bq25890-charger 3-006a: Disabling OTG_EN pin
[164586.925929] bq25890-charger 3-006a: Upstream supply changed: 0.
[164586.925954] bq25890-charger 3-006a: Disabling OTG_EN pin
[164592.623762] ------------[ cut here ]------------
[164592.623783] WARNING: CPU: 1 PID: 143697 at drivers/media/v4l2-core/v4l2-mc.c:475 pipeline_pm_power_one+0x104/0x160 [videodev]
[164592.623893] Modules linked in: aes_ce_ccm st_magn_i2c st_magn st_lsm6dsx_i2c st_lsm6dsx_spi st_lsm6dsx hi846 s5k3l6xx imx8mq_mipi_csi2(C) imx7_media_csi qmi_wwan cdc_wdm option usbnet usb_wwan mii usbserial rfcomm algif_hash algif_skcipher af_alg bnep redpine_sdio redpine_91x bluetooth mac80211 cfg80211 st_sensors_i2c st_sensors exfat usb_f_acm u_serial usb_f_ncm u_ether caam_jr mousedev caamhash_desc caamalg_desc crypto_engine ledtrig_pattern aes_ce_blk crct10dif_ce ghash_ce snd_soc_simple_card sha2_ce snd_soc_simple_card_utils hantro_vpu pwm_vibra snd_soc_gtm601 sha1_ce snd_soc_imx_hdmi v4l2_vp9 v4l2_h264 snd_soc_hdmi_codec v4l2_mem2mem gnss_mtk dw9714 snd_soc_fsl_sai leds_lm3560 vcnl4000 gnss_serial snd_soc_wm8962 videobuf2_dma_contig snd_soc_fsl_utils industrialio_triggered_buffer kfifo_buf v4l2_flash_led_class gnss edt_ft5x06 imx_pcm_dma videobuf2_memops v4l2_fwnode videobuf2_v4l2 v4l2_async caam error videobuf2_common videodev mc snd_soc_core snd_pcm_dmaengine snd_pcm snd_timer imx2_wdt snd soundcore watchdog
[164592.624103] rfkill_hks imx_rproc rfkill leds_pwm_multicolor led_class_multicolor libcomposite ledtrig_timer fuse zram ip_tables x_tables ipv6 uas usb_storage mtdblock mtd_blkdevs overlay ofpart xhci_plat_hcd xhci_hcd usbcore spi_nor mtd cdns_mhdp_imx cdns_mhdp_drmcore drm_display_helper dwc3 ulpi udc_core imx_dcss phy_fsl_imx8mq_usb tps6598x usb_common bq25890_charger typec clk_bd718x7 roles snvs_pwrkey imx_sdma virt_dma [last unloaded: st_lsm6dsx]
[164592.624216] CPU: 1 PID: 143697 Comm: gdbus Tainted: G WC 6.3.0-1-librem5 #1
[164592.624224] Hardware name: Purism Librem 5r4 (DT)
[164592.624229] pstate: a0000005 (NzCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[164592.624237] pc : pipeline_pm_power_one+0x104/0x160 [videodev]
[164592.624302] lr : pipeline_pm_power.part.0+0x5c/0x100 [videodev]
[164592.624367] sp : ffff80000d16ba70
[164592.624370] x29: ffff80000d16ba70 x28: 0000000000000009 x27: 0000ffff9f5b5de8
[164592.624381] x26: fffffffffffffdfe x25: 0000000000000009 x24: ffff00005d4e1280
[164592.624392] x23: ffff0000137d1000 x22: 00000000ffffffff x21: 00000000ffffffff
[164592.624403] x20: ffff00003e4c64d0 x19: 00000000ffffffff x18: ffff80000d16bb18
[164592.624413] x17: 0000000000000000 x16: ffff800008e27fd8 x15: ffff00000c7b080c
[164592.624424] x14: 0000000000000000 x13: 000000001007ffff x12: 0000000000000000
[164592.624434] x11: 00000000000006e0 x10: 0000000000000002 x9 : ffff80000121c68c
[164592.624445] x8 : ffff000028b61708 x7 : 0000000000000000 x6 : 0000000000000000
[164592.624455] x5 : 000000000000001e x4 : ffff00003e4c64d0 x3 : 0000000000000004
[164592.624466] x2 : 0000000000000002 x1 : 0000000000000002 x0 : ffff00003e4c64d0
[164592.624477] Call trace:
[164592.624481] pipeline_pm_power_one+0x104/0x160 [videodev]
[164592.624546] pipeline_pm_power.part.0+0x5c/0x100 [videodev]
[164592.624611] v4l2_pipeline_pm_use+0x5c/0xa0 [videodev]
[164592.624676] v4l2_pipeline_pm_put+0x1c/0x48 [videodev]
[164592.624742] imx7_csi_video_release+0x4c/0x90 [imx7_media_csi]
[164592.624757] v4l2_release+0xec/0x100 [videodev]
[164592.624821] __fput+0x78/0x260
[164592.624833] ____fput+0x18/0x30
[164592.624841] task_work_run+0x88/0xe8
[164592.624849] do_exit+0x2e0/0x988
[164592.624859] do_group_exit+0x3c/0xa0
[164592.624865] get_signal+0x920/0x938
[164592.624872] do_notify_resume+0x178/0xdc0
[164592.624881] el0_svc+0x74/0x88
[164592.624891] el0t_64_sync_handler+0xb8/0xc0
[164592.624899] el0t_64_sync+0x190/0x198
[164592.624906] ---[ end trace 0000000000000000 ]---
[164594.409672] edt_ft5x06 2-0038: Unable to fetch data, error: -6
```
https://source.puri.sm/Librem5/linux/-/issues/480
etnaviv hung gpu
2023-06-03T21:09:49Z
Evangelos Ribeiro Tzaras
etnaviv hung gpu
With 6.3 (`6.3.0~rc7pureos1` from landing) based kernel (and mesa 21.2.6-1pureos4) I run into a "hung GPU" bug.
What happened:
I pressed the powerbutton to unblank the display blanked after it had been blanked due to inactivity.
The di...
With 6.3 (`6.3.0~rc7pureos1` from landing) based kernel (and mesa 21.2.6-1pureos4) I run into a "hung GPU" bug.
What happened:
I pressed the powerbutton to unblank the display blanked after it had been blanked due to inactivity.
The display remained black for some time (but it did recover after a couple of minutes IIRC).
```
Mai 12 09:14:55 poseidon systemd-logind[464]: Operation 'sleep' finished.
Mai 12 09:14:55 poseidon phosh-session[20037]: The XKEYBOARD keymap compiler (xkbcomp) reports:
Mai 12 09:14:55 poseidon phosh-session[20037]: > Warning: Unsupported maximum keycode 569, clipping.
Mai 12 09:14:55 poseidon phosh-session[20037]: > X11 cannot support keycodes above 255.
Mai 12 09:14:55 poseidon phosh-session[20037]: Errors from xkbcomp are not fatal to the X server
Mai 12 09:14:55 poseidon NetworkManager[438]: <info> [1683875695.6540] manager: sleep: wake requested (sleeping: yes enabled: yes)
Mai 12 09:14:55 poseidon ModemManager[615]: <info> [sleep-monitor] system is resuming
Mai 12 09:14:55 poseidon NetworkManager[438]: <info> [1683875695.6546] device (usb0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Mai 12 09:14:55 poseidon systemd-networkd[353]: lo: Reset carrier
Mai 12 09:14:55 poseidon systemd-networkd[353]: usb0: Link UP
Mai 12 09:14:55 poseidon NetworkManager[438]: <info> [1683875695.6693] device (wlan0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Mai 12 09:14:55 poseidon NetworkManager[438]: <info> [1683875695.6834] device (p2p-dev-wlan0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Mai 12 09:14:55 poseidon NetworkManager[438]: <info> [1683875695.6874] manager: NetworkManager state is now DISCONNECTED
Mai 12 09:14:55 poseidon phosh[951]: Power save mode 0 requested
Mai 12 09:14:55 poseidon phosh[951]: Power save mode 0 requested
Mai 12 09:14:55 poseidon phosh[951]: Power save mode 0 requested
Mai 12 09:14:55 poseidon wpa_supplicant[481]: nl80211: Could not set interface 'p2p-dev-wlan0' UP
Mai 12 09:14:55 poseidon wpa_supplicant[481]: nl80211: deinit ifname=p2p-dev-wlan0 disabled_11b_rates=0
Mai 12 09:14:55 poseidon wpa_supplicant[481]: p2p-dev-wlan0: Failed to initialize driver interface
Mai 12 09:14:55 poseidon wpa_supplicant[481]: P2P: Failed to enable P2P Device interface
Mai 12 09:14:55 poseidon wpa_supplicant[481]: dbus: fill_dict_with_properties dbus_interface=fi.w1.wpa_supplicant1.Interface.P2PDevice dbus_property=P2PDeviceConfig getter failed
Mai 12 09:14:55 poseidon NetworkManager[438]: <info> [1683875695.8040] device (wlan0): supplicant interface state: internal-starting -> disconnected
Mai 12 09:14:55 poseidon NetworkManager[438]: <info> [1683875695.8042] device (p2p-dev-wlan0): state change: unavailable -> unmanaged (reason 'removed', sys-iface-state: 'removed')
Mai 12 09:14:55 poseidon NetworkManager[438]: <info> [1683875695.8063] Wi-Fi P2P device controlled by interface wlan0 created
Mai 12 09:14:55 poseidon NetworkManager[438]: <info> [1683875695.8074] manager: (p2p-dev-wlan0): new 802.11 Wi-Fi P2P device (/org/freedesktop/NetworkManager/Devices/29)
Mai 12 09:14:55 poseidon NetworkManager[438]: <info> [1683875695.8086] device (p2p-dev-wlan0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Mai 12 09:14:55 poseidon NetworkManager[438]: <info> [1683875695.8124] device (wlan0): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed')
Mai 12 09:14:55 poseidon NetworkManager[438]: <info> [1683875695.8174] device (p2p-dev-wlan0): state change: unavailable -> disconnected (reason 'none', sys-iface-state: 'managed')
Mai 12 09:14:55 poseidon NetworkManager[438]: <info> [1683875695.8344] device (wlan0): supplicant interface state: disconnected -> scanning
Mai 12 09:14:55 poseidon NetworkManager[438]: <info> [1683875695.8345] device (p2p-dev-wlan0): supplicant management interface state: disconnected -> scanning
Mai 12 09:14:55 poseidon wpa_supplicant[481]: wlan0: Reject scan trigger since one is already pending
Mai 12 09:14:55 poseidon NetworkManager[438]: <warn> [1683875695.8676] sup-iface[1cc078666ec85ead,14,wlan0]: call-p2p-cancel: failed with P2P cancel failed
Mai 12 09:14:55 poseidon phosh[951]: Got zwlr_output_manager serial 2717
Mai 12 09:14:55 poseidon phosh[951]: Monitor DSI-1 enabled
Mai 12 09:14:55 poseidon phosh[951]: DBus call phosh_monitor_manager_handle_get_current_state
Mai 12 09:14:55 poseidon phosh[951]: DBus phosh_monitor_manager_handle_get_resources
Mai 12 09:14:55 poseidon gsd-xsettings[1084]: Failed to get current UI legacy scaling factor
Mai 12 09:14:55 poseidon gsd-xsettings[1084]: Failed to get current UI legacy scaling factor
Mai 12 09:14:55 poseidon phosh[951]: DBus phosh_monitor_manager_handle_get_resources
Mai 12 09:14:55 poseidon gsd-color[1067]: unable to get EDID for xrandr-DSI-1: unable to get EDID for output
Mai 12 09:14:55 poseidon phosh[951]: DBus call phosh_monitor_manager_handle_get_crtc_gamma for crtc 0, serial 28
Mai 12 09:14:55 poseidon phosh[951]: Gamma table entries: 0
Mai 12 09:14:56 poseidon goa-daemon[816]: goa_http_client_check() failed: 2 — Error resolving “cloud.puri.sm”: Temporary failure in name resolution
Mai 12 09:14:56 poseidon goa-daemon[816]: /org/gnome/OnlineAccounts/Accounts/account_1653396722_0: Setting AttentionNeeded to TRUE because EnsureCredentials() failed with: Invalid password with username “evangelos.tzaras@puri.sm” (goa-error-quark, 0): Cannot resolve hostname (goa-error-quark, 4)
Mai 12 09:14:56 poseidon goa-daemon[816]: g_socket_client_connect_to_host() failed: Error resolving “bellmoch.de”: Name or service not known (g-resolver-error-quark, 0)
Mai 12 09:14:56 poseidon goa-daemon[816]: g_socket_client_connect_to_host() failed: Error resolving “imap.librem.one”: Name or service not known (g-resolver-error-quark, 0)
Mai 12 09:14:56 poseidon goa-daemon[816]: /org/gnome/OnlineAccounts/Accounts/account_1657201308_0: Setting AttentionNeeded to TRUE because EnsureCredentials() failed with: Invalid password with username “devrtz@librem.one” (goa-error-quark, 0): Error resolving “imap.librem.one”: Name or service not known (goa-error-q>
Mai 12 09:14:56 poseidon kernel: etnaviv-gpu 38000000.gpu: recover hung GPU!
Mai 12 09:14:56 poseidon kernel: etnaviv-gpu 38000000.gpu: offending task: phoc (/usr/bin/phoc -S -C /usr/share/phosh/phoc.ini -E bash -lc 'gnome-session --disable-acceleration-check --session=phosh --builtin')
Mai 12 09:14:56 poseidon kernel: etnaviv-gpu 38000000.gpu: timed out waiting for idle: idle=0x7fffbffe
Mai 12 09:14:56 poseidon wpa_supplicant[481]: wlan0: CTRL-EVENT-REGDOM-CHANGE init=BEACON_HINT type=UNKNOWN
Mai 12 09:14:57 poseidon goa-daemon[816]: goa_http_client_check() failed: 2 — Error resolving “cloud.puri.sm”: Temporary failure in name resolution
Mai 12 09:14:57 poseidon goa-daemon[816]: g_socket_client_connect_to_host() failed: Error resolving “bellmoch.de”: Name or service not known (g-resolver-error-quark, 0)
Mai 12 09:14:57 poseidon goa-daemon[816]: g_socket_client_connect_to_host() failed: Error resolving “imap.librem.one”: Name or service not known (g-resolver-error-quark, 0)
Mai 12 09:14:57 poseidon kernel: etnaviv-gpu 38000000.gpu: recover hung GPU!
Mai 12 09:14:57 poseidon kernel: etnaviv-gpu 38000000.gpu: offending task: Xwayland (Xwayland :0 -rootless -terminate -core -listen 42 -listen 43 -wm 64)
Mai 12 09:14:57 poseidon kernel: etnaviv-gpu 38000000.gpu: timed out waiting for idle: idle=0x7fffbffe
Mai 12 09:14:58 poseidon kernel: etnaviv-gpu 38000000.gpu: recover hung GPU!
Mai 12 09:14:58 poseidon kernel: etnaviv-gpu 38000000.gpu: offending task: Xwayland (Xwayland :0 -rootless -terminate -core -listen 42 -listen 43 -wm 64)
Mai 12 09:14:58 poseidon kernel: etnaviv-gpu 38000000.gpu: timed out waiting for idle: idle=0x7fffbffe
Mai 12 09:14:58 poseidon kernel: etnaviv-gpu 38000000.gpu: recover hung GPU!
Mai 12 09:14:58 poseidon kernel: etnaviv-gpu 38000000.gpu: offending task: Xwayland (Xwayland :0 -rootless -terminate -core -listen 42 -listen 43 -wm 64)
Mai 12 09:14:58 poseidon kernel: etnaviv-gpu 38000000.gpu: timed out waiting for idle: idle=0x7fffbffe
Mai 12 09:14:58 poseidon systemd-logind[464]: Power key pressed.
Mai 12 09:14:59 poseidon kernel: etnaviv-gpu 38000000.gpu: recover hung GPU!
Mai 12 09:14:59 poseidon kernel: etnaviv-gpu 38000000.gpu: offending task: phoc (/usr/bin/phoc -S -C /usr/share/phosh/phoc.ini -E bash -lc 'gnome-session --disable-acceleration-check --session=phosh --builtin')
Mai 12 09:14:59 poseidon NetworkManager[438]: <info> [1683875699.5230] device (wlan0): supplicant interface state: scanning -> disconnected
Mai 12 09:14:59 poseidon NetworkManager[438]: <info> [1683875699.5259] device (p2p-dev-wlan0): supplicant management interface state: scanning -> disconnected
Mai 12 09:14:59 poseidon kernel: etnaviv-gpu 38000000.gpu: timed out waiting for idle: idle=0x7fffbffe
```
and then periodically more of the same:
```
Mai 12 09:15:00 poseidon kernel: etnaviv-gpu 38000000.gpu: recover hung GPU!
Mai 12 09:15:00 poseidon kernel: etnaviv-gpu 38000000.gpu: offending task: Xwayland (Xwayland :0 -rootless -terminate -core -listen 42 -listen 43 -wm 64)
Mai 12 09:15:00 poseidon kernel: etnaviv-gpu 38000000.gpu: timed out waiting for idle: idle=0x7fffbffe
Mai 12 09:15:00 poseidon kernel: etnaviv-gpu 38000000.gpu: recover hung GPU!
Mai 12 09:15:00 poseidon kernel: etnaviv-gpu 38000000.gpu: offending task: phoc (/usr/bin/phoc -S -C /usr/share/phosh/phoc.ini -E bash -lc 'gnome-session --disable-acceleration-check --session=phosh --builtin')
Mai 12 09:15:00 poseidon kernel: etnaviv-gpu 38000000.gpu: timed out waiting for idle: idle=0x7fffbffe
Mai 12 09:15:01 poseidon systemd-networkd[353]: wlan0: Gained IPv6LL
Mai 12 09:15:01 poseidon kernel: etnaviv-gpu 38000000.gpu: recover hung GPU!
Mai 12 09:15:01 poseidon kernel: etnaviv-gpu 38000000.gpu: offending task: phoc (/usr/bin/phoc -S -C /usr/share/phosh/phoc.ini -E bash -lc 'gnome-session --disable-acceleration-check --session=phosh --builtin')
[...]
Mai 12 09:15:01 poseidon kernel: etnaviv-gpu 38000000.gpu: timed out waiting for idle: idle=0x7fffbffe
Mai 12 09:15:01 poseidon kernel: etnaviv-gpu 38000000.gpu: recover hung GPU!
Mai 12 09:15:01 poseidon kernel: etnaviv-gpu 38000000.gpu: offending task: phoc (/usr/bin/phoc -S -C /usr/share/phosh/phoc.ini -E bash -lc 'gnome-session --disable-acceleration-check --session=phosh --builtin')
Mai 12 09:15:01 poseidon kernel: etnaviv-gpu 38000000.gpu: timed out waiting for idle: idle=0x7fffbffe
Mai 12 09:15:02 poseidon kernel: etnaviv-gpu 38000000.gpu: recover hung GPU!
Mai 12 09:15:02 poseidon kernel: etnaviv-gpu 38000000.gpu: offending task: phoc (/usr/bin/phoc -S -C /usr/share/phosh/phoc.ini -E bash -lc 'gnome-session --disable-acceleration-check --session=phosh --builtin')
Mai 12 09:15:02 poseidon kernel: etnaviv-gpu 38000000.gpu: timed out waiting for idle: idle=0x7fffbffe
Mai 12 09:15:02 poseidon kernel: etnaviv-gpu 38000000.gpu: recover hung GPU!
Mai 12 09:15:02 poseidon kernel: etnaviv-gpu 38000000.gpu: offending task: phoc (/usr/bin/phoc -S -C /usr/share/phosh/phoc.ini -E bash -lc 'gnome-session --disable-acceleration-check --session=phosh --builtin')
Mai 12 09:15:02 poseidon kernel: edt_ft5x06 2-0038: Unable to fetch data, error: -6
Mai 12 09:15:02 poseidon phosh[951]: Got zwlr_output_manager serial 2718
Mai 12 09:15:03 poseidon kernel: etnaviv-gpu 38000000.gpu: timed out waiting for idle: idle=0x7fffbffe
Mai 12 09:15:02 poseidon phosh[951]: Monitor DSI-1 disabled
Mai 12 09:15:03 poseidon phosh[951]: DBus phosh_monitor_manager_handle_get_resources
Mai 12 09:15:03 poseidon phosh[951]: Skipping disabled DSI-1
Mai 12 09:15:03 poseidon phosh[951]: DBus call phosh_monitor_manager_handle_get_current_state
Mai 12 09:15:03 poseidon gsd-xsettings[1084]: Failed to get current UI legacy scaling factor
Mai 12 09:15:03 poseidon gsd-xsettings[1084]: Failed to get current UI legacy scaling factor
Mai 12 09:15:03 poseidon phosh[951]: DBus phosh_monitor_manager_handle_get_resources
Mai 12 09:15:03 poseidon phosh[951]: Skipping disabled DSI-1
Mai 12 09:15:03 poseidon gsd-color[1067]: unable to get EDID for xrandr-DSI-1: unable to get EDID for output
Mai 12 09:15:03 poseidon phosh[951]: Power save mode 3 requested
Mai 12 09:15:03 poseidon kernel: etnaviv-gpu 38000000.gpu: recover hung GPU!
Mai 12 09:15:03 poseidon kernel: etnaviv-gpu 38000000.gpu: offending task: phoc (/usr/bin/phoc -S -C /usr/share/phosh/phoc.ini -E bash -lc 'gnome-session --disable-acceleration-check --session=phosh --builtin')
Mai 12 09:15:03 poseidon goa-daemon[816]: /org/gnome/OnlineAccounts/Accounts/account_1653396722_0: Setting AttentionNeeded to FALSE because EnsureCredentials() succeded
Mai 12 09:15:03 poseidon kernel: etnaviv-gpu 38000000.gpu: timed out waiting for idle: idle=0x7fffbffe
Mai 12 09:15:03 poseidon kernel: etnaviv-gpu 38000000.gpu: recover hung GPU!
Mai 12 09:15:03 poseidon kernel: etnaviv-gpu 38000000.gpu: offending task: phoc (/usr/bin/phoc -S -C /usr/share/phosh/phoc.ini -E bash -lc 'gnome-session --disable-acceleration-check --session=phosh --builtin')
Mai 12 09:15:04 poseidon kernel: etnaviv-gpu 38000000.gpu: timed out waiting for idle: idle=0x7fffbffe
Mai 12 09:15:04 poseidon kernel: etnaviv-gpu 38000000.gpu: recover hung GPU!
Mai 12 09:15:04 poseidon kernel: etnaviv-gpu 38000000.gpu: offending task: Xwayland (Xwayland :0 -rootless -terminate -core -listen 42 -listen 43 -wm 64)
Mai 12 09:15:04 poseidon kernel: etnaviv-gpu 38000000.gpu: timed out waiting for idle: idle=0x7fffbffe
Mai 12 09:15:05 poseidon kernel: etnaviv-gpu 38000000.gpu: recover hung GPU!
Mai 12 09:15:05 poseidon kernel: etnaviv-gpu 38000000.gpu: offending task: Xwayland (Xwayland :0 -rootless -terminate -core -listen 42 -listen 43 -wm 64)
Mai 12 09:15:05 poseidon kernel: etnaviv-gpu 38000000.gpu: timed out waiting for idle: idle=0x7fffbffe
Mai 12 09:15:05 poseidon kernel: etnaviv-gpu 38000000.gpu: recover hung GPU!
Mai 12 09:15:05 poseidon kernel: etnaviv-gpu 38000000.gpu: offending task: Xwayland (Xwayland :0 -rootless -terminate -core -listen 42 -listen 43 -wm 64)
Mai 12 09:15:05 poseidon kernel: etnaviv-gpu 38000000.gpu: timed out waiting for idle: idle=0x7fffbffe
Mai 12 09:15:06 poseidon systemd-logind[464]: Power key pressed.
Mai 12 09:15:06 poseidon kernel: etnaviv-gpu 38000000.gpu: recover hung GPU!
Mai 12 09:15:06 poseidon kernel: etnaviv-gpu 38000000.gpu: offending task: Xwayland (Xwayland :0 -rootless -terminate -core -listen 42 -listen 43 -wm 64)
Mai 12 09:15:06 poseidon kernel: etnaviv-gpu 38000000.gpu: timed out waiting for idle: idle=0x7fffbffe
Mai 12 09:15:06 poseidon kernel: etnaviv-gpu 38000000.gpu: recover hung GPU!
Mai 12 09:15:06 poseidon kernel: etnaviv-gpu 38000000.gpu: offending task: phoc (/usr/bin/phoc -S -C /usr/share/phosh/phoc.ini -E bash -lc 'gnome-session --disable-acceleration-check --session=phosh --builtin')
Mai 12 09:15:06 poseidon kernel: etnaviv-gpu 38000000.gpu: timed out waiting for idle: idle=0x7fffbffe
Mai 12 09:15:07 poseidon kernel: etnaviv-gpu 38000000.gpu: recover hung GPU!
Mai 12 09:15:07 poseidon kernel: etnaviv-gpu 38000000.gpu: offending task: phoc (/usr/bin/phoc -S -C /usr/share/phosh/phoc.ini -E bash -lc 'gnome-session --disable-acceleration-check --session=phosh --builtin')
Mai 12 09:15:07 poseidon kernel: etnaviv-gpu 38000000.gpu: timed out waiting for idle: idle=0x7fffbffe
Mai 12 09:15:07 poseidon kernel: etnaviv-gpu 38000000.gpu: recover hung GPU!
Mai 12 09:15:07 poseidon kernel: etnaviv-gpu 38000000.gpu: offending task: phoc (/usr/bin/phoc -S -C /usr/share/phosh/phoc.ini -E bash -lc 'gnome-session --disable-acceleration-check --session=phosh --builtin')
Mai 12 09:15:08 poseidon kernel: etnaviv-gpu 38000000.gpu: timed out waiting for idle: idle=0x7fffbffe
Mai 12 09:15:08 poseidon kernel: etnaviv-gpu 38000000.gpu: recover hung GPU!
Mai 12 09:15:08 poseidon kernel: etnaviv-gpu 38000000.gpu: offending task: phoc (/usr/bin/phoc -S -C /usr/share/phosh/phoc.ini -E bash -lc 'gnome-session --disable-acceleration-check --session=phosh --builtin')
Mai 12 09:15:08 poseidon phosh[951]: Power save mode 0 requested
Mai 12 09:15:08 poseidon kernel: etnaviv-gpu 38000000.gpu: timed out waiting for idle: idle=0x7fffbffe
```
https://source.puri.sm/Librem5/linux/-/issues/478
Sparklan card does not support SAE (WPA3, OWE)
2023-05-04T21:34:18Z
Sebastian Krzyszkowiak
Sparklan card does not support SAE (WPA3, OWE)
Trying to connect to an AP using SAE (either WPA3 or OWE) does not work on Sparklan cards. User has to switch to WPA2 in order to connect.
Trying to connect to an AP using SAE (either WPA3 or OWE) does not work on Sparklan cards. User has to switch to WPA2 in order to connect.
https://source.puri.sm/Librem5/linux/-/issues/476
modem frequently disappears (ttyUSB1 timed out 10 consecutive times, marking ...
2023-05-02T16:53:33Z
Matthias Apitz
modem frequently disappears (ttyUSB1 timed out 10 consecutive times, marking modem as invalid)
On an uptodate L5 with new modem firmware (but issue existed before already) I face from time to time the modem disappearing; `journalctl`shows:
```
Apr 25 09:08:15 pureos sudo[23493]: purism : TTY=pts/2 ; PWD=/home/purism ; USER=root ...
On an uptodate L5 with new modem firmware (but issue existed before already) I face from time to time the modem disappearing; `journalctl`shows:
```
Apr 25 09:08:15 pureos sudo[23493]: purism : TTY=pts/2 ; PWD=/home/purism ; USER=root ; COMMAND=/usr/bin/apt update
Apr 25 09:08:15 pureos sudo[23493]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=1000)
Apr 25 09:09:00 pureos sudo[23493]: pam_unix(sudo:session): session closed for user root
Apr 25 09:09:59 pureos ModemManager[5761]: <warn> [modem4] port ttyUSB1 timed out 8 consecutive times
Apr 25 09:10:04 pureos ModemManager[5761]: <warn> [modem4] port ttyUSB1 timed out 9 consecutive times
Apr 25 09:10:07 pureos ModemManager[5761]: <warn> [modem4/bearer9] connection attempt #1 failed: Serial command timed out
Apr 25 09:10:07 pureos ModemManager[5761]: <info> [modem4] state changed (connecting -> registered)
Apr 25 09:10:07 pureos ModemManager[5761]: <info> [modem4/bearer9] connection #1 finished: duration 0s, tx: 0 bytes, rx: 0 bytes
Apr 25 09:10:07 pureos ModemManager[5761]: <error> [modem4] port ttyUSB1 timed out 10 consecutive times, marking modem as invalid
Apr 25 09:10:07 pureos mmsdtng[867]: ../plugins/modemmanager.c:modem_state_changed_cb() State Change: Old State: 10 New State: 8, Reason: 1
Apr 25 09:10:07 pureos mmsdtng[867]: ../plugins/modemmanager.c:mmsd_mm_get_modem_state() MM_MODEM_GOOD_STATE: 8
Apr 25 09:10:07 pureos mmsdtng[867]: ../plugins/modemmanager.c:mmsd_mm_state() MMSD_MM_STATE_READY
Apr 25 09:10:07 pureos mmsdtng[867]: ../plugins/modemmanager.c:mmsd_mm_state() Setting Bearer Handler
Apr 25 09:10:07 pureos mmsdtng[867]: ../src/service.c:mms_service_set_bearer_handler() service 0xaaaad27f8370 handler 0xaaaab6475a20
Apr 25 09:10:07 pureos NetworkManager[567]: <info> [1682406607.6709] modem["ttyUSB1"]: modem state changed, 'connecting' --> 'registered' (reason: user-requested)
Apr 25 09:10:07 pureos NetworkManager[567]: <warn> [1682406607.6712] modem-broadband[ttyUSB1]: failed to connect modem: Serial command timed out
Apr 25 09:10:07 pureos NetworkManager[567]: <info> [1682406607.6714] device (ttyUSB1): state change: prepare -> failed (reason 'unknown', sys-iface-state: 'managed')
Apr 25 09:10:07 pureos mmsdtng[867]: ../plugins/modemmanager.c:mmsd_modem_unavailable() Disabling Bearer Handler
Apr 25 09:10:07 pureos mmsdtng[867]: ../src/service.c:mms_service_set_bearer_handler() service 0xaaaad27f8370 handler (nil)
Apr 25 09:10:07 pureos mmsdtng[867]: ../plugins/modemmanager.c:mmsd_disconnect_from_sms_wap() Stopping watching SMS WAPs
Apr 25 09:10:07 pureos mmsdtng[867]: ../plugins/modemmanager.c:mmsd_mm_state() Modem vanished, Disabling plugin
Apr 25 09:10:07 pureos mmsdtng[867]: ../plugins/modemmanager.c:mmsd_mm_state() MMSD_MM_STATE_NO_MODEM
Apr 25 09:10:07 pureos mmsdtng[867]: ../plugins/modemmanager.c:cb_object_removed() Modem removed: /org/freedesktop/ModemManager1/Modem/4
Apr 25 09:10:07 pureos NetworkManager[567]: <warn> [1682406607.6798] device (ttyUSB1): Activation: failed for connection 'Fonic'
Apr 25 09:10:07 pureos NetworkManager[567]: <info> [1682406607.6823] device (ttyUSB1): state change: failed -> disconnected (reason 'none', sys-iface-state: 'managed')
Apr 25 09:10:07 pureos NetworkManager[567]: <info> [1682406607.6897] device (ttyUSB1): state change: disconnected -> unmanaged (reason 'removed', sys-iface-state: 'removed')
Apr 25 09:10:32 pureos sm.puri.OSK0.desktop[1285]: Debug: Tried file "/home/purism/.local/share/squeekboard/keyboards/terminal/us.yaml", but it's missing: No such file or directory (os error 2)
Apr 25 09:10:32 pureos sm.puri.OSK0.desktop[1285]: Info: Loaded layout Resource: terminal/us
Apr 25 09:10:34 pureos dbus-daemon[875]: [session uid=1000 pid=875] Activating service name='org.gnome.DejaDup' requested by ':1.29' (uid=1000 pid=1064 comm="/usr/libexec/phosh ")
Apr 25 09:10:34 pureos sm.puri.OSK0.desktop[1285]: Debug: Tried file "/home/purism/.local/share/squeekboard/keyboards/terminal/us.yaml", but it's missing: No such file or directory (os error 2)
Apr 25 09:10:34 pureos sm.puri.OSK0.desktop[1285]: Info: Loaded layout Resource: terminal/us
Apr 25 09:10:35 pureos dbus-daemon[875]: [session uid=1000 pid=875] Successfully activated service 'org.gnome.DejaDup'
Apr 25 09:10:35 pureos sm.puri.OSK0.desktop[1285]: Debug: Tried file "/home/purism/.local/share/squeekboard/keyboards/terminal/us.yaml", but it's missing: No such file or directory (os error 2)
Apr 25 09:10:35 pureos sm.puri.OSK0.desktop[1285]: Info: Loaded layout Resource: terminal/us
Apr 25 09:10:35 pureos deja-dup[23788]: g_object_set: assertion 'G_IS_OBJECT (object)' failed
Apr 25 09:10:35 pureos sm.puri.OSK0.desktop[1285]: Debug: Tried file "/home/purism/.local/share/squeekboard/keyboards/terminal/us.yaml", but it's missing: No such file or directory (os error 2)
Apr 25 09:10:35 pureos sm.puri.OSK0.desktop[1285]: Info: Loaded layout Resource: terminal/us
Apr 25 09:10:36 pureos sm.puri.OSK0.desktop[1285]: Debug: Tried file "/home/purism/.local/share/squeekboard/keyboards/terminal/us.yaml", but it's missing: No such file or directory (os error 2)
Apr 25 09:10:36 pureos sm.puri.OSK0.desktop[1285]: Info: Loaded layout Resource: terminal/us
Apr 25 09:10:42 pureos wpa_supplicant[628]: wlan0: WPA: Group rekeying completed with cc:ce:1e:7b:f5:b9 [GTK=CCMP]
Apr 25 09:10:42 pureos kernel: redpine_91x: Packet Dropped as Key ID not matched with both current and previous Key ID
Apr 25 09:10:42 pureos kernel: redpine_91x: Packet Dropped as Key ID not matched with both current and previous Key ID
Apr 25 09:10:53 pureos sm.puri.Phosh.desktop[6209]: Missing chrome or resource URL: resource://gre/modules/UpdateListener.jsm
Apr 25 09:10:53 pureos sm.puri.Phosh.desktop[6209]: Missing chrome or resource URL: resource://gre/modules/UpdateListener.sys.mjs
Apr 25 09:10:55 pureos systemd[843]: vte-spawn-d7951a5a-42b3-466c-a4a4-bd3dfdb5f19e.scope: Succeeded.
Apr 25 09:10:55 pureos systemd[843]: vte-spawn-d7951a5a-42b3-466c-a4a4-bd3dfdb5f19e.scope: Consumed 1.064s CPU time.
Apr 25 09:10:55 pureos systemd[843]: vte-spawn-2d3d46c0-02c6-4d5b-878d-927c2d6f2eeb.scope: Succeeded.
Apr 25 09:10:55 pureos systemd[843]: vte-spawn-2d3d46c0-02c6-4d5b-878d-927c2d6f2eeb.scope: Consumed 1min 29.398s CPU time.
Apr 25 09:10:56 pureos dbus-daemon[875]: [session uid=1000 pid=875] Activating via systemd: service name='org.freedesktop.Tracker1' unit='tracker-store.service' requested by ':1.2' (uid=1000 pid=872 comm="/usr/libexec/tracker-miner-fs ")
Apr 25 09:10:56 pureos systemd[843]: Starting Tracker metadata database store and lookup manager...
Apr 25 09:10:56 pureos dbus-daemon[875]: [session uid=1000 pid=875] Successfully activated service 'org.freedesktop.Tracker1'
Apr 25 09:10:56 pureos systemd[843]: Started Tracker metadata database store and lookup manager.
Apr 25 09:11:01 pureos yad[23844]: ../../../../../gdk/x11/gdkwindow-x11.c:5650 drawable is not a native X11 window
Apr 25 09:11:01 pureos phosh[1064]: Could not find application for app-id 'yad'
Apr 25 09:11:01 pureos sm.puri.OSK0.desktop[1285]: Debug: Tried file "/home/purism/.local/share/squeekboard/keyboards/terminal/us.yaml", but it's missing: No such file or directory (os error 2)
Apr 25 09:11:01 pureos sm.puri.OSK0.desktop[1285]: Info: Loaded layout Resource: terminal/us
Apr 25 09:11:03 pureos sm.puri.Phosh.desktop[23839]: /home/purism/Pictures/2023-04-25-091100.png|5|
Apr 25 09:11:09 pureos dbus-daemon[875]: [session uid=1000 pid=875] Activating via systemd: service name='org.freedesktop.Tracker1.Miner.Extract' unit='tracker-extract.service' requested by ':1.2' (uid=1000 pid=872 comm="/usr/libexec/tracker-miner-fs ")
```
https://source.puri.sm/Librem5/linux/-/issues/475
qmi_wwan netdev watchdog / xhci: Ring expansion failed
2023-04-18T13:30:41Z
Martin Kepplinger
qmi_wwan netdev watchdog / xhci: Ring expansion failed
after literally letting the phone lie on the table doing nothing, after 3 days, suddenly the following happens, suggesting some kind of memory leak:
```
Apr 16 06:40:58 pureos kernel: ------------[ cut here ]------------
Apr 16 06:40:58...
after literally letting the phone lie on the table doing nothing, after 3 days, suddenly the following happens, suggesting some kind of memory leak:
```
Apr 16 06:40:58 pureos kernel: ------------[ cut here ]------------
Apr 16 06:40:58 pureos kernel: NETDEV WATCHDOG: wwx2a413d796d06 (qmi_wwan): transmit queue 0 timed out
Apr 16 06:40:58 pureos kernel: WARNING: CPU: 0 PID: 0 at net/sched/sch_generic.c:525 dev_watchdog+0x280/0x2a0
Apr 16 06:40:58 pureos kernel: Modules linked in: brcmfmac_cyw bnep hci_uart btqca bluetooth brcmfmac brcmutil mtdblock mtd_blkdevs ofpart spi_nor mtd caam_jr caamhash_desc caamalg_desc crypto_engine st_lsm6dsx>
Apr 16 06:40:58 pureos kernel: ip_tables x_tables ipv6 uas usb_storage xhci_plat_hcd xhci_hcd usbcore dwc3 ulpi aes_ce_blk crct10dif_ce ghash_ce sha2_ce sha1_ce pwm_vibra cdns_mhdp_imx cdns_mhdp_drmcore udc_co>
Apr 16 06:40:58 pureos kernel: CPU: 0 PID: 0 Comm: swapper/0 Tainted: G C 6.2.10-librem5-00003-g9c48b1bed3ca #235
Apr 16 06:40:58 pureos kernel: Hardware name: Purism Librem 5r4 (DT)
Apr 16 06:40:58 pureos kernel: pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
Apr 16 06:40:58 pureos kernel: pc : dev_watchdog+0x280/0x2a0
Apr 16 06:40:58 pureos kernel: lr : dev_watchdog+0x280/0x2a0
Apr 16 06:40:58 pureos kernel: sp : ffff800008003e00
Apr 16 06:40:58 pureos kernel: x29: ffff800008003e00 x28: ffff800009601d00 x27: 0000000000000002
Apr 16 06:40:58 pureos kernel: x26: ffff8000095f89e0 x25: ffff8000095f89e0 x24: ffff800009268008
Apr 16 06:40:58 pureos kernel: x23: ffff8000095f6000 x22: 0000000000000000 x21: ffff0000c1fc53dc
Apr 16 06:40:58 pureos kernel: x20: ffff0000c1fc5000 x19: ffff0000c1fc5488 x18: 00000000fffffffe
Apr 16 06:40:58 pureos kernel: x17: 6974203020657565 x16: 75712074696d736e x15: 617274203a296e61
Apr 16 06:40:58 pureos kernel: x14: 77775f696d712820 x13: 74756f2064656d69 x12: 7420302065756575
Apr 16 06:40:58 pureos kernel: x11: 00000000ffffdfff x10: 00000000ffffdfff x9 : ffff800008718f94
Apr 16 06:40:58 pureos kernel: x8 : 000000000002ffe8 x7 : 0000000000000000 x6 : 0000000000000000
Apr 16 06:40:58 pureos kernel: x5 : 0000000000000000 x4 : 0000000000000000 x3 : 0000000000000000
Apr 16 06:40:58 pureos kernel: x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff800009601d00
Apr 16 06:40:58 pureos kernel: Call trace:
Apr 16 06:40:58 pureos kernel: dev_watchdog+0x280/0x2a0
Apr 16 06:40:58 pureos kernel: call_timer_fn+0x3c/0x1cc
Apr 16 06:40:58 pureos kernel: expire_timers+0xcc/0x190
Apr 16 06:40:58 pureos kernel: run_timer_softirq+0xfc/0x260
Apr 16 06:40:58 pureos kernel: __do_softirq+0x120/0x3c0
Apr 16 06:40:58 pureos kernel: ____do_softirq+0x18/0x24
Apr 16 06:40:58 pureos kernel: call_on_irq_stack+0x2c/0x54
Apr 16 06:40:58 pureos kernel: do_softirq_own_stack+0x24/0x3c
Apr 16 06:40:58 pureos kernel: __irq_exit_rcu+0xb8/0xe0
Apr 16 06:40:58 pureos kernel: irq_exit_rcu+0x18/0x24
Apr 16 06:40:58 pureos kernel: el1_interrupt+0x38/0x70
Apr 16 06:40:58 pureos kernel: el1h_64_irq_handler+0x18/0x2c
Apr 16 06:40:58 pureos kernel: el1h_64_irq+0x64/0x68
Apr 16 06:40:58 pureos kernel: cpuidle_enter_state+0xbc/0x4b0
Apr 16 06:40:58 pureos kernel: cpuidle_enter+0x40/0x60
Apr 16 06:40:58 pureos kernel: do_idle+0x234/0x2c0
Apr 16 06:40:58 pureos kernel: cpu_startup_entry+0x2c/0x3c
Apr 16 06:40:58 pureos kernel: rest_init+0xf8/0x100
Apr 16 06:40:58 pureos kernel: arch_post_acpi_subsys_init+0x0/0x28
Apr 16 06:40:58 pureos kernel: start_kernel+0x708/0x748
Apr 16 06:40:58 pureos kernel: __primary_switched+0xbc/0xc4
Apr 16 06:40:58 pureos kernel: ---[ end trace 0000000000000000 ]---
Apr 16 14:28:28 pureos kernel: ------------[ cut here ]------------
Apr 16 14:28:28 pureos kernel: Failed to get suitable pool for 38200000.usb
Apr 16 14:28:28 pureos kernel: WARNING: CPU: 0 PID: 0 at kernel/dma/pool.c:279 dma_alloc_from_pool+0x90/0x1e0
Apr 16 14:28:28 pureos kernel: Modules linked in: brcmfmac_cyw bnep hci_uart btqca bluetooth brcmfmac brcmutil mtdblock mtd_blkdevs ofpart spi_nor mtd caam_jr caamhash_desc caamalg_desc crypto_engine st_lsm6dsx>
Apr 16 14:28:28 pureos kernel: ip_tables x_tables ipv6 uas usb_storage xhci_plat_hcd xhci_hcd usbcore dwc3 ulpi aes_ce_blk crct10dif_ce ghash_ce sha2_ce sha1_ce pwm_vibra cdns_mhdp_imx cdns_mhdp_drmcore udc_co>
Apr 16 14:28:28 pureos kernel: CPU: 0 PID: 0 Comm: swapper/0 Tainted: G WC 6.2.10-librem5-00003-g9c48b1bed3ca #235
Apr 16 14:28:28 pureos kernel: Hardware name: Purism Librem 5r4 (DT)
Apr 16 14:28:28 pureos kernel: pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
Apr 16 14:28:28 pureos kernel: pc : dma_alloc_from_pool+0x90/0x1e0
Apr 16 14:28:28 pureos kernel: lr : dma_alloc_from_pool+0x90/0x1e0
Apr 16 14:28:28 pureos kernel: sp : ffff800008003850
Apr 16 14:28:28 pureos kernel: x29: ffff800008003850 x28: ffff8000098e5740 x27: 0000000000000000
Apr 16 14:28:28 pureos kernel: x26: ffff0000c0860600 x25: ffff800008003910 x24: ffff0000c0ad9010
Apr 16 14:28:28 pureos kernel: x23: ffff8000098e5720 x22: ffff8000080e0990 x21: ffff8000090c6178
Apr 16 14:28:28 pureos kernel: x20: 0000000000001000 x19: ffff0000d634e298 x18: ffff0000ff7a804c
Apr 16 14:28:28 pureos kernel: x17: ffff8000f64cc000 x16: 001fffffffffffff x15: f935e8b07ee39061
Apr 16 14:28:28 pureos kernel: x14: 0000000000000000 x13: 6273752e30303030 x12: 3032383320726f66
Apr 16 14:28:28 pureos kernel: x11: 00000000ffffdfff x10: 00000000ffffdfff x9 : ffff8000080b4a58
Apr 16 14:28:28 pureos kernel: x8 : 000000000002ffe8 x7 : c0000000ffffdfff x6 : 0000000000017ff4
Apr 16 14:28:28 pureos kernel: x5 : ffff0000ff735a08 x4 : 0000000000000000 x3 : 0000000000000027
Apr 16 14:28:28 pureos kernel: x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff800009601d00
Apr 16 14:28:28 pureos kernel: Call trace:
Apr 16 14:28:28 pureos kernel: dma_alloc_from_pool+0x90/0x1e0
Apr 16 14:28:28 pureos kernel: dma_direct_alloc+0x94/0x310
Apr 16 14:28:28 pureos kernel: dma_alloc_attrs+0x88/0x100
Apr 16 14:28:28 pureos kernel: dma_pool_alloc+0x11c/0x200
Apr 16 14:28:28 pureos kernel: xhci_segment_alloc+0x94/0x160 [xhci_hcd]
Apr 16 14:28:28 pureos kernel: xhci_alloc_segments_for_ring+0xe4/0x1d0 [xhci_hcd]
Apr 16 14:28:28 pureos kernel: xhci_ring_expansion+0x74/0x380 [xhci_hcd]
Apr 16 14:28:28 pureos kernel: prepare_ring+0x198/0x2c0 [xhci_hcd]
Apr 16 14:28:28 pureos kernel: prepare_transfer+0x88/0x170 [xhci_hcd]
Apr 16 14:28:28 pureos kernel: xhci_queue_bulk_tx+0xd4/0x910 [xhci_hcd]
Apr 16 14:28:28 pureos kernel: xhci_urb_enqueue+0x330/0x580 [xhci_hcd]
Apr 16 14:28:28 pureos kernel: usb_hcd_submit_urb+0xd0/0xa90 [usbcore]
Apr 16 14:28:28 pureos kernel: usb_submit_urb+0x1f0/0x670 [usbcore]
Apr 16 14:28:28 pureos kernel: rx_submit+0x148/0x310 [usbnet]
Apr 16 14:28:28 pureos kernel: rx_complete+0x200/0x330 [usbnet]
Apr 16 14:28:28 pureos kernel: __usb_hcd_giveback_urb+0xa4/0x164 [usbcore]
Apr 16 14:28:28 pureos kernel: usb_giveback_urb_bh+0xb0/0x1a0 [usbcore]
Apr 16 14:28:28 pureos kernel: tasklet_action_common.constprop.0+0x104/0x130
Apr 16 14:28:28 pureos kernel: tasklet_action+0x30/0x40
Apr 16 14:28:28 pureos kernel: __do_softirq+0x120/0x3c0
Apr 16 14:28:28 pureos kernel: ____do_softirq+0x18/0x24
Apr 16 14:28:28 pureos kernel: call_on_irq_stack+0x2c/0x54
Apr 16 14:28:28 pureos kernel: do_softirq_own_stack+0x24/0x3c
Apr 16 14:28:28 pureos kernel: __irq_exit_rcu+0xb8/0xe0
Apr 16 14:28:28 pureos kernel: irq_exit_rcu+0x18/0x24
Apr 16 14:28:28 pureos kernel: el1_interrupt+0x38/0x70
Apr 16 14:28:28 pureos kernel: el1h_64_irq_handler+0x18/0x2c
Apr 16 14:28:28 pureos kernel: el1h_64_irq+0x64/0x68
Apr 16 14:28:28 pureos kernel: cpuidle_enter_state+0xc0/0x4b0
Apr 16 14:28:28 pureos kernel: cpuidle_enter+0x40/0x60
Apr 16 14:28:28 pureos kernel: do_idle+0x234/0x2c0
Apr 16 14:28:28 pureos kernel: cpu_startup_entry+0x30/0x3c
Apr 16 14:28:28 pureos kernel: rest_init+0xf8/0x100
Apr 16 14:28:28 pureos kernel: arch_post_acpi_subsys_init+0x0/0x28
Apr 16 14:28:28 pureos kernel: start_kernel+0x708/0x748
Apr 16 14:28:28 pureos kernel: __primary_switched+0xbc/0xc4
Apr 16 14:28:28 pureos kernel: ---[ end trace 0000000000000000 ]---
Apr 16 14:28:28 pureos kernel: xhci-hcd xhci-hcd.4.auto: Ring expansion failed
Apr 16 14:28:28 pureos kernel: ------------[ cut here ]------------
Apr 16 14:28:28 pureos kernel: Failed to get suitable pool for 38200000.usb
Apr 16 14:28:28 pureos kernel: WARNING: CPU: 0 PID: 14 at kernel/dma/pool.c:279 dma_alloc_from_pool+0x90/0x1e0
Apr 16 14:28:28 pureos kernel: Modules linked in: brcmfmac_cyw bnep hci_uart btqca bluetooth brcmfmac brcmutil mtdblock mtd_blkdevs ofpart spi_nor mtd caam_jr caamhash_desc caamalg_desc crypto_engine st_lsm6dsx>
Apr 16 14:28:28 pureos kernel: ip_tables x_tables ipv6 uas usb_storage xhci_plat_hcd xhci_hcd usbcore dwc3 ulpi aes_ce_blk crct10dif_ce ghash_ce sha2_ce sha1_ce pwm_vibra cdns_mhdp_imx cdns_mhdp_drmcore udc_co>
Apr 16 14:28:28 pureos kernel: CPU: 0 PID: 14 Comm: ksoftirqd/0 Tainted: G WC 6.2.10-librem5-00003-g9c48b1bed3ca #235
Apr 16 14:28:28 pureos kernel: Hardware name: Purism Librem 5r4 (DT)
Apr 16 14:28:28 pureos kernel: pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
Apr 16 14:28:28 pureos kernel: pc : dma_alloc_from_pool+0x90/0x1e0
Apr 16 14:28:28 pureos kernel: lr : dma_alloc_from_pool+0x90/0x1e0
Apr 16 14:28:28 pureos kernel: sp : ffff800009b036b0
Apr 16 14:28:28 pureos kernel: x29: ffff800009b036b0 x28: ffff8000098e5740 x27: 0000000000000000
Apr 16 14:28:28 pureos kernel: x26: ffff0000c0860600 x25: ffff800009b03770 x24: ffff0000c0ad9010
Apr 16 14:28:28 pureos kernel: x23: ffff8000098e5720 x22: ffff8000080e0990 x21: ffff8000090c6178
Apr 16 14:28:28 pureos kernel: x20: 0000000000001000 x19: ffff00000682c998 x18: ffff0000ff7a804c
Apr 16 14:28:28 pureos kernel: x17: 000000040044ffff x16: 001fffffffffffff x15: a313d2543da5da02
Apr 16 14:28:28 pureos kernel: x14: 0000000000000000 x13: 6273752e30303030 x12: 3032383320726f66
Apr 16 14:28:28 pureos kernel: x11: 00000000ffffdfff x10: 00000000ffffdfff x9 : ffff8000080b4a58
Apr 16 14:28:28 pureos kernel: x8 : 000000000002ffe8 x7 : c0000000ffffdfff x6 : 0000000000017ff4
Apr 16 14:28:28 pureos kernel: x5 : ffff0000ff735a08 x4 : 0000000000000000 x3 : 0000000000000027
Apr 16 14:28:28 pureos kernel: x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff0000c0254740
Apr 16 14:28:28 pureos kernel: Call trace:
Apr 16 14:28:28 pureos kernel: dma_alloc_from_pool+0x90/0x1e0
Apr 16 14:28:28 pureos kernel: dma_direct_alloc+0x94/0x310
Apr 16 14:28:28 pureos kernel: dma_alloc_attrs+0x88/0x100
Apr 16 14:28:28 pureos kernel: dma_pool_alloc+0x11c/0x200
Apr 16 14:28:28 pureos kernel: xhci_segment_alloc+0x94/0x160 [xhci_hcd]
Apr 16 14:28:28 pureos kernel: xhci_alloc_segments_for_ring+0xe4/0x1d0 [xhci_hcd]
Apr 16 14:28:28 pureos kernel: xhci_ring_expansion+0x74/0x380 [xhci_hcd]
Apr 16 14:28:28 pureos kernel: prepare_ring+0x198/0x2c0 [xhci_hcd]
Apr 16 14:28:28 pureos kernel: prepare_transfer+0x88/0x170 [xhci_hcd]
Apr 16 14:28:28 pureos kernel: xhci_queue_bulk_tx+0xd4/0x910 [xhci_hcd]
Apr 16 14:28:28 pureos kernel: xhci_urb_enqueue+0x330/0x580 [xhci_hcd]
Apr 16 14:28:28 pureos kernel: usb_hcd_submit_urb+0xd0/0xa90 [usbcore]
Apr 16 14:28:28 pureos kernel: usb_submit_urb+0x1f0/0x670 [usbcore]
Apr 16 14:28:28 pureos kernel: rx_submit+0x148/0x310 [usbnet]
Apr 16 14:28:28 pureos kernel: rx_alloc_submit+0x58/0x94 [usbnet]
Apr 16 14:28:28 pureos kernel: usbnet_bh+0x2d0/0x36c [usbnet]
Apr 16 14:28:28 pureos kernel: usbnet_bh_tasklet+0x1c/0x30 [usbnet]
Apr 16 14:28:28 pureos kernel: tasklet_action_common.constprop.0+0x104/0x130
Apr 16 14:28:28 pureos kernel: tasklet_action+0x30/0x40
Apr 16 14:28:28 pureos kernel: __do_softirq+0x120/0x3c0
Apr 16 14:28:28 pureos kernel: run_ksoftirqd+0x54/0x70
Apr 16 14:28:28 pureos kernel: smpboot_thread_fn+0x244/0x270
Apr 16 14:28:28 pureos kernel: kthread+0x114/0x120
Apr 16 14:28:28 pureos kernel: ret_from_fork+0x10/0x20
Apr 16 14:28:28 pureos kernel: ---[ end trace 0000000000000000 ]---
Apr 16 14:28:28 pureos kernel: xhci-hcd xhci-hcd.4.auto: Ring expansion failed
```
does NXP possibly have a workaround for us? https://community.nxp.com/t5/i-MX-Processors/imx8mq-yocto-4-9-51-ga-USB3-0-issue/m-p/857504 seen when searching real quick...
https://source.puri.sm/Librem5/linux/-/issues/474
WiFi stays "connected" when access point is out of range
2023-04-28T09:33:50Z
Jan Vlug
WiFi stays "connected" when access point is out of range
It happens from time to time that the WiFi (according to the indicator in the top status bar) stays connected, even when I'm far out of range of the access points of that specific WiFi network. The network is than still "available" but d...
It happens from time to time that the WiFi (according to the indicator in the top status bar) stays connected, even when I'm far out of range of the access points of that specific WiFi network. The network is than still "available" but does not work.
If I ping for example, I get the Destination Host Unreachable message.
If I disable the WiFi from the quick settings, the network starts working again (via 4G).
See the log for details:
[WiFi-connected-while-out-of-reach.log](/uploads/b3b8cb8998e7967472d6abf4113cfe8f/WiFi-connected-while-out-of-reach.log)
I left the house after roughly 15:35
Then you see in the log messages like this:
```
Apr 14 15:38:53 avalon kernel: redpine_91x: Antenna is changed to 3
Apr 14 15:39:19 avalon kernel: redpine_91x: Antenna is changed to 2
```
They keep appearing until I brought the interface down and up again:
```
Apr 14 16:08:18 avalon kernel: redpine_91x: <==== Interface DOWN ====>
Apr 14 16:10:16 avalon kernel: redpine_91x: <==== Interface UP ====>
```
At 16:10 I enabled WiFi hotspot, the issue happened before that.
Maybe related to issue #308.
https://source.puri.sm/Librem5/linux/-/issues/472
s5k3l6xx: support HKS-disconnection / module removal while streaming
2023-04-05T09:12:44Z
Martin Kepplinger
s5k3l6xx: support HKS-disconnection / module removal while streaming
we have a udev rule that simply unloads the module when the HKS disconnects the device. But for the rear camera, things a are not balanced **when streaming**:
```
[ 386.136907] ------------[ cut here ]------------
[ 386.136926] WARNIN...
we have a udev rule that simply unloads the module when the HKS disconnects the device. But for the rear camera, things a are not balanced **when streaming**:
```
[ 386.136907] ------------[ cut here ]------------
[ 386.136926] WARNING: CPU: 3 PID: 2907 at drivers/regulator/core.c:2330 _regulator_put.part.0+0x160/0x170
[ 386.136950] Modules linked in: hi846 s5k3l6xx(-) aes_ce_ccm redpine_sdio redpine_91x bluetooth mac80211 cfg80211 qmi_wwan cdc_wdm usbnet option mii usb_wwan usbserial mousedev caam_jr caamhash_desc caamalg_desc crypto_engine usb_f_acm u_serial usb_f_ncm u_ether aes_ce_blk crct10dif_ce snd_soc_gtm601 ghash_ce hantro_vpu sha2_ce v4l2_vp9 sha1_ce snd_soc_simple_card v4l2_h264 v4l2_mem2mem snd_soc_imx_hdmi pwm_vibra snd_soc_simple_card_utils snd_soc_hdmi_codec snd_soc_wm8962 edt_ft5x06 st_lsm6dsx_spi dw9714 snd_soc_fsl_sai snd_soc_fsl_utils videobuf2_dma_contig videobuf2_memops st_magn_spi st_sensors_spi leds_lm3560 videobuf2_v4l2 videobuf2_common v4l2_fwnode v4l2_flash_led_class v4l2_async st_lsm6dsx_i2c imx_pcm_dma st_magn_i2c st_magn st_sensors_i2c st_lsm6dsx vcnl4000 st_sensors industrialio_triggered_buffer videodev gnss_mtk kfifo_buf gnss_serial mc gnss caam snd_soc_core imx2_wdt error snd_pcm_dmaengine snd_pcm snd_timer watchdog snd rfkill_hks soundcore rfkill libcomposite
[ 386.137173] ledtrig_timer ledtrig_pattern fuse zram ip_tables x_tables ipv6 uas usb_storage mtdblock mtd_blkdevs overlay ofpart xhci_plat_hcd xhci_hcd spi_nor usbcore mtd dwc3 ulpi cdns_mhdp_imx cdns_mhdp_drmcore drm_display_helper imx_dcss tps6598x udc_core bq25890_charger phy_fsl_imx8mq_usb usb_common typec clk_bd718x7 roles snvs_pwrkey imx_sdma virt_dma [last unloaded: imx8mq_mipi_csi2(C)]
[ 386.137272] CPU: 3 PID: 2907 Comm: rmmod Tainted: G C 6.1.22-librem5-00453-g7834de6cba92 #224
[ 386.137280] Hardware name: Purism Librem 5r4 (DT)
[ 386.137284] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 386.137291] pc : _regulator_put.part.0+0x160/0x170
[ 386.137299] lr : regulator_bulk_free+0x68/0x94
[ 386.137307] sp : ffff80000bff3b20
[ 386.137310] x29: ffff80000bff3b20 x28: ffff000028e88e80 x27: 0000000000000000
[ 386.137321] x26: 0000000000000000 x25: 0000000000000000 x24: ffff8000095289e0
[ 386.137331] x23: ffff8000091a7008 x22: ffff0000698680f8 x21: ffff800009701b00
[ 386.137342] x20: ffff00003a8bcd00 x19: ffff00003a8bcd00 x18: 0000000000000000
[ 386.137353] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
[ 386.137363] x14: 000000000000001d x13: 0000000000000000 x12: 0000000000000000
[ 386.137373] x11: 0000000000000001 x10: ffff000009514ea8 x9 : ffff80000875a628
[ 386.137384] x8 : ffff80000884aff4 x7 : 0000000000000000 x6 : ffff000028e88e80
[ 386.137394] x5 : 0000000000000001 x4 : 0000000000000000 x3 : ffff800009701b00
[ 386.137404] x2 : ffff000028e88e80 x1 : 0000000000000000 x0 : 0000000000000001
[ 386.137415] Call trace:
[ 386.137419] _regulator_put.part.0+0x160/0x170
[ 386.137427] regulator_bulk_free+0x68/0x94
[ 386.137434] devm_regulator_bulk_release+0x24/0x30
[ 386.137441] release_nodes+0x64/0x104
[ 386.137450] devres_release_group+0xd4/0x140
[ 386.137457] i2c_device_remove+0x50/0xe0
[ 386.137465] device_remove+0x54/0x8c
[ 386.137475] device_release_driver_internal+0x1e4/0x250
[ 386.137483] driver_detach+0x58/0xa0
[ 386.137491] bus_remove_driver+0x64/0x100
[ 386.137498] driver_unregister+0x38/0x70
[ 386.137506] i2c_del_driver+0x5c/0xa4
[ 386.137511] s5k3l6xx_i2c_driver_exit+0x18/0xe9c [s5k3l6xx]
[ 386.137529] __arm64_sys_delete_module+0x184/0x31c
[ 386.137541] invoke_syscall+0x50/0x120
[ 386.137550] el0_svc_common.constprop.0+0xd4/0xf4
[ 386.137557] do_el0_svc+0x24/0x30
[ 386.137564] el0_svc+0x2c/0x84
[ 386.137573] el0t_64_sync_handler+0xb8/0xc0
[ 386.137580] el0t_64_sync+0x18c/0x190
[ 386.137587] ---[ end trace 0000000000000000 ]---
```
also, the focus driver needs to be taken into account.
https://source.puri.sm/Librem5/linux/-/issues/469
edt_ft5x06_debugfs_upgrade_bin_write directly accesses user memory
2023-03-15T22:58:24Z
Sebastian Krzyszkowiak
edt_ft5x06_debugfs_upgrade_bin_write directly accesses user memory
Seems like it's missing a `copy_from_user` call. This is clearly seen with `CONFIG_ARM64_SW_TTBR0_PAN` enabled, which enforces kernel/userspace memory boundary:
```
[ 76.187513] Unable to handle kernel access to user memory outside uacc...
Seems like it's missing a `copy_from_user` call. This is clearly seen with `CONFIG_ARM64_SW_TTBR0_PAN` enabled, which enforces kernel/userspace memory boundary:
```
[ 76.187513] Unable to handle kernel access to user memory outside uaccess routines at virtual address 0000aaaaf7ed9d80
```
```
[ 76.463004] Call trace:
[ 76.465452] string+0x50/0x100
[ 76.468513] vsnprintf+0x170/0x750
[ 76.471919] snprintf+0x58/0x80
[ 76.475063] edt_ft5x06_debugfs_upgrade_bin_write+0xa8/0x350 [edt_ft5x06]
```
https://source.puri.sm/Librem5/linux/-/issues/468
Use the 200MHz parent for uart4 so that higher BT baud rates can be used.
2023-03-15T12:24:23Z
Martin Kepplinger
Use the 200MHz parent for uart4 so that higher BT baud rates can be used.
I create this issue because I merged https://source.puri.sm/Librem5/linux/-/merge_requests/641 but then reverted it again because it introduced an error. Sorry about that Angus. If I understand it correctly, you think about changing `imx...
I create this issue because I merged https://source.puri.sm/Librem5/linux/-/merge_requests/641 but then reverted it again because it introduced an error. Sorry about that Angus. If I understand it correctly, you think about changing `imx_register_uart_clocks()` instead anyways.