PBP locking up multiple times per day - keyboard and mouse unresponsive
#1
Hello All,

I have three PBP's running the pre-package Manjaro KDE setup. After a recent update one of them has been having this lockup problem a couple of times per day (with heavy use during the work day). The symptom is that the UI freezes, no mouse movement and no keyboard response.

I've dug through the journalctl logs to try to identify errors that could help to explain what's happening. Here are a few entries that are correlated with the time of the latest incident. I've tried searching for similar bug reports along these lines and they appear to be either very old and/or have nothing to do with the OS version and/or hardware set that we have here. I think the most striking thing here to me is that there are multiple segfaults happening and there's a serious error in the kernel. These are near the bottom below, but I've added other errors leading up in case they can provide more hints.

Code:
Feb 26 18:08:47 xyz-pinebook-pro kernel: rockchip-vop ff900000.vop: Adding to iommu group 3
Code:
Feb 26 18:08:47 xyz-pinebook-pro kernel: rockchip-dp ff970000.edp: no DP phy configured
Code:
Feb 26 18:08:47 xyz-pinebook-pro kernel: rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_component_ops [rockchipdrm])


Code:
Feb 26 18:09:34 xyz-pinebook-pro systemd-udevd[403]: event1: Failed to call EVIOCSKEYCODE with scan code 0x70066, and key code 142: Invalid argument
...

Code:
Feb 26 18:09:35 xyz-pinebook-pro kernel: watchdog: watchdog0: watchdog did not stop!

Code:
Feb 26 18:21:45 xyz-pinebook-pro pulseaudio[1520]: ALSA woke us up to read new data from the device, but there was actually nothing to read.
Feb 26 18:21:45 xyz-pinebook-pro pulseaudio[1520]: Most likely this is a bug in the ALSA driver 'snd_soc_simple_card'. Please report this issue to the ALSA developers.
Feb 26 18:21:45 xyz-pinebook-pro pulseaudio[1520]: We were woken up with POLLIN set -- however a subsequent snd_pcm_avail() returned 0 or another value < min_avail.

Code:
Feb 26 18:21:46 xyz-pinebook-pro systemd-coredump[1657]: Process 1509 (baloo_file) of user 1001 dumped core.
                                                           
                                                           Stack trace of thread 1651:
                                                           #0  0x0000ffff82508bb0 n/a (liblmdb.so + 0x3bb0)
                                                           #1  0x0000ffff8250b63c n/a (liblmdb.so + 0x663c)
                                                           #2  0x0000ffff8250be98 n/a (liblmdb.so + 0x6e98)
                                                           #3  0x0000ffff8250c364 mdb_get (liblmdb.so + 0x7364)
                                                           #4  0x0000ffff83aa1bdc _ZN5Baloo10DocumentDB3getEy (libKF5BalooEngine.so.5 + 0xdbdc)
                                                           #5  0x0000ffff83abe770 _ZN5Baloo16WriteTransaction14removeDocumentEy (libKF5BalooEngine.so.5 + 0x2a770)
...

Code:
Feb 26 18:26:39 xyz-pinebook-pro kernel: ieee80211 phy0: brcmf_fw_crashed: Firmware has halted or crashed
Feb 26 18:26:39 xyz-pinebook-pro kernel: ieee80211 phy0: brcmf_fil_cmd_data: bus is down. we have nothing to do.
Feb 26 18:26:40 xyz-pinebook-pro kernel: ieee80211 phy0: brcmf_cfg80211_get_tx_power: error (-5)

Code:
Feb 26 18:26:40 xyz-pinebook-pro kernel: brcmfmac: brcmf_sdiod_probe: Failed to set F1 blocksize
Feb 26 18:26:40 xyz-pinebook-pro kernel: brcmfmac: brcmf_sdio_bus_reset: Failed to probe after sdio device reset: ret -123
Feb 26 18:26:40 xyz-pinebook-pro kernel: mmc0: card 0001 removed
Code:
Feb 26 18:26:40 xyz-pinebook-pro NetworkManager[769]: <info>  [1614382000.9279] manager: NetworkManager state is now DISCONNECTED
Code:
Feb 26 18:26:40 xyz-pinebook-pro NetworkManager[769]: <info>  [1614382000.9457] device (p2p-dev-wlan0): state change: disconnected -> unmanaged (reason 'removed', sys-ifac>
Code:
Feb 26 18:26:40 xyz-pinebook-pro NetworkManager[769]: <info>  [1614382000.9519] radio killswitch /sys/devices/platform/fe310000.mmc/mmc_host/mmc0/mmc0:0001/mmc0:0001:1/iee>
Code:
Feb 26 18:26:40 xyz-pinebook-pro wpa_supplicant[859]: Could not read interface p2p-dev-wlan0 flags: No such device


Code:
Feb 26 18:26:41 xyz-pinebook-pro kernel: Unable to handle kernel NULL pointer dereference at virtual address 0000000000000039
Feb 26 18:26:41 xyz-pinebook-pro kernel: Mem abort info:
Feb 26 18:26:42 xyz-pinebook-pro kernel:   ESR = 0x96000021
Feb 26 18:26:42 xyz-pinebook-pro kernel:   EC = 0x25: DABT (current EL), IL = 32 bits
Feb 26 18:26:42 xyz-pinebook-pro kernel:   SET = 0, FnV = 0
Feb 26 18:26:42 xyz-pinebook-pro kernel:   EA = 0, S1PTW = 0
Feb 26 18:26:42 xyz-pinebook-pro kernel: Data abort info:
Feb 26 18:26:42 xyz-pinebook-pro kernel:   ISV = 0, ISS = 0x00000021
Feb 26 18:26:42 xyz-pinebook-pro kernel:   CM = 0, WnR = 0
Feb 26 18:26:42 xyz-pinebook-pro kernel: user pgtable: 4k pages, 48-bit VAs, pgdp=0000000029381000
Feb 26 18:26:42 xyz-pinebook-pro kernel: [0000000000000039] pgd=0000000000000000, p4d=0000000000000000
Feb 26 18:26:42 xyz-pinebook-pro kernel: Internal error: Oops: 96000021 [#1] SMP
Feb 26 18:26:42 xyz-pinebook-pro kernel: Modules linked in: uvcvideo bnep zram joydev snd_soc_hdmi_codec snd_soc_simple_amplifier btsdio hci_uart panfrost btqca gpu_sched >
Feb 26 18:26:42 xyz-pinebook-pro kernel: CPU: 1 PID: 445 Comm: pan_js Tainted: G         C        5.11.1-1-MANJARO-ARM #1
Feb 26 18:26:42 xyz-pinebook-pro kernel: Hardware name: Pine64 Pinebook Pro (DT)
Feb 26 18:26:42 xyz-pinebook-pro kernel: pstate: 60000005 (nZCv daif -PAN -UAO -TCO BTYPE=--)
Feb 26 18:26:42 xyz-pinebook-pro kernel: pc : panfrost_job_is_idle+0x19c/0x290 [panfrost]
Feb 26 18:26:42 lance-pinebook-pro kernel: lr : panfrost_job_free+0x6c/0x94 [panfrost]

Any help with trying to pinpoint what's going on here would be great. This has appeared only very recently after some upgrades to Manjaro. I'm not sure if there's a relationship there.

Thanks,
Chris
  Reply
#2
I am running Manjaro GNOME and I also have these hangups. The problem isn't that recent, I have had such hangups since about kernel 5.8. Switching to the linux-pinebookpro kernel (which is at 5.7) doesn't seem to fix the problem either.

I can't relliably reproduce the problem, but it usually happens when I have Firefox open with more than one tab, when I browse big websites like reddit.
  Reply
#3
I recognize these hangups in combination with firefox usage...
  Reply
#4
Try running Firefox in "safe mode". I had to go that for other reasons but maybe it'll help this too.
  Reply
#5
i've seen this issue in chromium browser and os. usually the best way to get the PBP useable again is to let it sit where it can cool down, or introduce some airflow to the bottom of the shell. i can pretty consistently recreate this same kind of issue in almost any OS, when my PBP is in my lap, or sat on a couch cushion.
  Reply
#6
The panfrost kernel errors seem highly correlated with the problem. I've raised a panfrost issue here with the details. https://gitlab.freedesktop.org/mesa/mesa/-/issues/4389

The mesa folks seem to think that the error is a todo that has been around a very long time, so not likely to be the regression I'm seeing. Another suggestion is that KWin has changed somehow exposing the problem.

I'm going try and see if I can get Debian with Wayland/GNOME working and see if it sidesteps the problem. So far it is working off of an SD card. I just need to work out an audio issue and then see if it crashes less often in this configuration.
  Reply
#7
I had the problem of Firefox locking up my PBP.

Eventually I fixed it by creating a new profile and deleting the old ones.

]$ firefox -ProfileManager

Cheers!
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Mouse does not work now WEF 1 1,643 11-11-2021, 05:33 PM
Last Post: WEF
  PacMan Transaction Summary Blank Until Mouse Moves dennisfaucher 0 1,305 06-02-2021, 09:27 AM
Last Post: dennisfaucher
  Keyboard issue: Debian PineSupporter 8 7,622 02-01-2021, 09:57 PM
Last Post: PineSupporter
  ANSI keyboard fix for ubuntu Mangled 0 1,936 10-05-2020, 02:15 PM
Last Post: Mangled
  Kali Linux for Pinebook Pro Mouse buttons switched BananaPekan 0 1,716 07-31-2020, 08:22 AM
Last Post: BananaPekan
  Error when running pinebook-pro-keyboard-updater NoahB 13 14,843 07-29-2020, 06:33 PM
Last Post: guiltydoggy
  Some keyboard shortcuts won't work on Manjaro KDE Daysleeper_Ed 6 10,167 07-02-2020, 02:19 PM
Last Post: perceg
  Kali Linux PB Pro Whacky Keyboard fredortiz95 0 1,699 06-13-2020, 03:38 PM
Last Post: fredortiz95
Question International Keyboard on Pinebook Pro TDC_PBP 3 5,066 05-09-2020, 04:06 PM
Last Post: TDC_PBP
  Manjaro Arm users - What does your trackpad/keyboard conf file look like? Eggmonkey 7 7,691 04-21-2020, 08:27 AM
Last Post: Surehand53

Forum Jump:


Users browsing this thread: 1 Guest(s)