Cael
Posts: 96
Joined: Sat Jul 07, 2012 7:08 am

Kernel 4.19.57~.65 Causing Some kind of Memory Deadlock (Pi4)

Sun Aug 11, 2019 6:23 pm

i Discovered this over at the LibreElec Forums working (well testing more or less) with "MagicSeb" on his build for LibreElec with RetroArch.

Something that started to plague it was kernel Panics/instability on a "Crash to Kodi" (like Kodi restarting almost in a loop,cant enter settings w/o a loop, trying to reboot the pi causing a Deadlock,) we tried narrowing it down to Stock "Lakka" Firmware... No dice.. tried Stock FW and kernel. BINGO.. we got somewhere..

the stock image of that point used 4.19.56

trying 4.19.57 n higher w/ or w/o updated Firmware was resulting in the same instability. we had others testing builds, it happened on 1GB models, 2GB Models and 4GB Models.

tried going back to 4.19.56 but updated firmware to latest (to fix Wifi issues) and we got stability back. I dont know how to track down the exact change/ Exact single commit for the Pi Kernel where this Broke.

but the instability issues causing the deadlocks after launching RetroArch would be either idle or Playing a game or launch game then pull up quick menu.. it didnt matter. it'd cause a "Deadlock on Memory" kernel panic after 2 to 2hrs n 30 mins.

Here's the crashes i captured (sorry crappy phone is crappy, and i was using n old pizza box to prop the screen, i dont have stands for this it was a quick 3D Print a friend did for me,)
(this one happened with RetroArch after the 2hr 30 min mark)
Image
(this one occurred trying to reboot from Kodi)
Image

those crashes were w/ 4.19.64

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 26672
Joined: Sat Jul 30, 2011 7:41 pm

Re: Kernel 4.19.57~.65 Causing Some kind of Memory Deadlock (Pi4)

Sun Aug 11, 2019 9:20 pm

This should be posted on our github issues report repo. https://github.com/raspberrypi/linux
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

Cael
Posts: 96
Joined: Sat Jul 07, 2012 7:08 am

Re: Kernel 4.19.57~.65 Causing Some kind of Memory Deadlock (Pi4)

Sun Aug 11, 2019 10:06 pm

jamesh wrote:
Sun Aug 11, 2019 9:20 pm
This should be posted on our github issues report repo. https://github.com/raspberrypi/linux
done! https://github.com/raspberrypi/linux/issues/3142

Return to “Troubleshooting”