Open Halytskyi opened 5 years ago
After tests I see that I have issue when installed "snapd" or it can be issue with "squashfs-tools" which dependence of "snapd". Didn't find how to fix it.
Seems upgrading snapd to the latest version (2.38) and kernel to linux-image-4.4.167-1161-rockchip-ayufan-g6f1664023387 solved issue. Still testing.
@Halytskyi How can I get those debug logs? I suspect I may have a similar issue, roughly ever other time I do sudo reboot now
, Rock64 just doesn't boot up.
I have an HDMI cable in the whole time and the screen doesn't even turn on and I'm unable to ping it either. The white LED usually stays on (I have seen it turn off too sometimes though) and I just have to press the power button in this situation to bring the board back up.
Nope, still have the similar issues when snapd installed :(
...
[ OK ] Mounted Mount unit for keepalived, revision 198.
[ OK ] Mounted Mount unit for lxd, revision 9930.
[ OK ] Mounted Mount unit for core, revision 6410.
[ OK ] Mounted Mount unit for lxd, revision 10153.
[ OK ] Mounted Mount unit for core, revision 6352.
[ OK ] Mounted Mount unit for core, revision 6533.
[ OK ] Mounted Mount unit for lxd, revision 10348.
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Found device /dev/ttyS2.
[ 12.557256] mali-utgard ff300000.gpu: Failed to get pvtm
[ OK ] Reached target Sound Card.
[ 12.674386] devfreq ff300000.gpu: Couldn't update frequency transition information.
[ OK ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[ 13.652582] Unable to handle kernel paging request at virtual address dead000000000160
[ 13.665841] pgd = ffffffc0f861c000
[ 13.678600] [dead000000000160] *pgd=0000000000000000, *pud=0000000000000000
[ 13.691816] Internal error: Oops: 96000004 [#1] SMP
[ 13.704304] Modules linked in: dw_hdmi_i2s_audio mali ip_tables x_tables autofs4
[ 13.717074] CPU: 3 PID: 42 Comm: kworker/3:1 Not tainted 4.4.167-1161-rockchip-ayufan-g6f1664023387 #1
[ 13.729807] Hardware name: Pine64 Rock64 (DT)
[ 13.742043] Workqueue: events read_wq_handler
[ 13.754219] task: ffffffc0f8028e00 task.stack: ffffffc0f7c14000
[ 13.766480] PC is at squashfs_bh_to_actor+0x1b8/0x1d0
[ 13.778510] LR is at squashfs_process_blocks+0x128/0x310
[ 13.790569] pc : [<ffffff80082bed34>] lr : [<ffffff80082ba7a4>] pstate: 20000145
[ 13.802993] sp : ffffffc0f7c17c60
[ 13.814873] x29: ffffffc0f7c17c60 x28: 0000000000000000
[ 13.827049] x27: 0000000000000400 x26: 0000000000000000
[ 13.839215] x25: 0000000000000000 x24: 00000000000003ae
[ 13.851257] x23: 0000000000000002 x22: ffffffc0e6404d00
[ 13.863236] x21: ffffffc0e64043c0 x20: 0000000000000000
[ 13.875273] x19: ffffffc0f862bf80 x18: 0000007f8b9cea70
[ 13.887241] x17: 0000004420121c10 x16: ffffff80081e699c
[ 13.899203] x15: 0000000000000000 x14: 0000000000000003
[ 13.910997] x13: 0000000000000003 x12: 1fffffffffffffff
[ 13.922578] x11: 00000044201b8000 x10: 0000000000000a30
[ 13.934138] x9 : 0000000000000000 x8 : 0000000000000400
[ 13.945577] x7 : 0000000000001000 x6 : 000000032dc09380
[ 13.956938] x5 : ffffffbdc0000000 x4 : ffffff8009225000
[ 13.968247] x3 : 00000000e6a802d7 x2 : 0000000000000004
[ 13.979581] x1 : 0000000000000000 x0 : dead000000000160
...
@valorl try upgrade kernel to the linux-image-4.4.167-1161-rockchip-ayufan-g6f1664023387 version, should solve issue with HDMI (I had no working HDMI on some older kernel versions). I getting logs via serial console, see https://forum.pine64.org/showthread.php?tid=5029
@Halytskyi I don't think it's an HDMI problem in my case. It works fine when it boots, it's just that sometimes, I do sudo reboot now
and the machine just doesn't seem boot back at all and doesn't even wake up the HDMI-connected screen. In that case, I have to intervene and press the power button again, then it boots.
Is there any other way I can get any debug information from the failed boots? I don't have the tools needed to set up a serial connection.
I am having "failed to get leakage" and "failed to get pvtm" issues on every boot now..it happened a couple times and a reboot resolved and now I can't boot at all. I was working on my wifi trying to get it to automatically connect when it began, not sure if that is related.
I am having "failed to get leakage" and "failed to get pvtm" issues on every boot now..it happened a couple times and a reboot resolved and now I can't boot at all. I was working on my wifi trying to get it to automatically connect when it began, not sure if that is related.
Im getting this too, it reboots sometimes but othertimes it gets really stuck. This never seems to occur with poweroff
I encountered the same problem in Ubuntu 20.04 with kernel 4.4.194. This problem occurred probabilistically( 50% ) when snpad call the squashfs driver. It will disappear if I close the squashfs driver or purge the snapd. There may be some problem in the squashfs driver.
Time to time (from 10 times 1-2 successful) I have issue with boot (tried different SD cards on different Rock64 boards). In debug console "Unable to handle kernel paging request at virtual address ffffff8008207038":
Tried different bionic images versions (from 0.7.9 to 0.7.14).