[Orange Pi 3 LTS] Freezes

  • please, could you tell me how to?

    Change is non-persistent. If you reboot the system, it's already gone.

    Unfortunately it froze.

    That's not that surprising. As I said, CEC and Cedrus doesn't have anything in common, except one shared clock.

    In any case, I observed freezing problem already in the past on OrangePi 3 (non LTS), but not on the other boards. I went over many things several times, but I couldn't find anything important. Search continues...

  • That's not that surprising. As I said, CEC and Cedrus doesn't have anything in common, except one shared clock.

    One thing I tried was turning off CEC from the TV side, and well that really pissed off the device (5-6 LOW_DRIVE warnings every 6 seconds) and it actually froze during menu navigation pretty quickly. I'm testing now with CEC turned off on the Kodi side to see if that has any actual influence as reported earlier. I feel like I have already been there, the next thing will be CEC off on both ends.

    Whatever the cause it is locking up everything (USB keyboard, serial console, network, etc).

  • At least with the original OPi3, it was possible to crash the system just by rapidly switching between playing different files. Can you trigger it this way? If we find some pattern, it will be easier to find the solution.

  • frakkin64 can you confirm, that with new CEC patches, you don't see messages such as:

    cec-dw_hdmi: message 10 timed out

    dw_hdmi_cec_hardirq: stat=11 LOW_DRIVE

    It doesn't matter if CEC on TV is enabled or not.

  • frakkin64 can you confirm, that with new CEC patches, you don't see messages such as:

    cec-dw_hdmi: message 10 timed out

    dw_hdmi_cec_hardirq: stat=11 LOW_DRIVE


    It doesn't matter if CEC on TV is enabled or not.

    If CEC is on from the device side, yes. If CEC is off from the device side, no. But it's not frequent, usually a few times at start up, and then throughout usage.

  • Can you give me your exact messages? I'm interested in numbers in them.


    Anyway, I went through CedarX vendor lib and found some differences regarding MPEG2 setup. You can try this kernel patch:

    http://ix.io/4Fsv However, I couldn't find any real world difference. Maybe something can be done on ffmpeg side.

  • Can you give me your exact messages? I'm interested in numbers in them.

    Generally this is what I see.

    Sep 05 13:51:00 LibreELEC kernel: dw_hdmi_cec_hardirq: stat=11 LOW_DRIVE

    Sep 05 13:51:01 LibreELEC kernel: dw_hdmi_cec_hardirq: stat=11 LOW_DRIVE

    Sep 05 13:51:01 LibreELEC kernel: dw_hdmi_cec_hardirq: stat=11 LOW_DRIVE

    Sep 05 13:51:02 LibreELEC kernel: dw_hdmi_cec_hardirq: stat=11 LOW_DRIVESep 05 13:51:02 LibreELEC kernel: dw_hdmi_cec_hardirq: stat=11 LOW_DRIVE

    Sep 05 13:51:02 LibreELEC kernel: dw_hdmi_cec_hardirq: stat=11 LOW_DRIVE

    Sep 05 13:51:03 LibreELEC kernel: dw_hdmi_cec_hardirq: stat=11 LOW_DRIVE

    Sep 05 13:51:03 LibreELEC kernel: dw_hdmi_cec_hardirq: stat=11 LOW_DRIVE

    Sep 05 13:51:17 LibreELEC kernel: dw_hdmi_cec_hardirq: stat=11 LOW_DRIVE

    Sep 05 13:51:18 LibreELEC kernel: dw_hdmi_cec_hardirq: stat=11 LOW_DRIVE

    Sep 05 13:51:18 LibreELEC kernel: dw_hdmi_cec_hardirq: stat=11 LOW_DRIVE

    Sep 05 13:51:18 LibreELEC kernel: dw_hdmi_cec_hardirq: stat=11 LOW_DRIVE

  • My last test was to try and repeat what OP reported, turning off CEC from the Kodi side. And the device still froze, so my feeling is CEC is not the cause.


    Interesting, this was on the serial console:

    Edited once, last by frakkin64: Merged a post created by frakkin64 into this post. (September 7, 2023 at 10:49 AM).

  • IDK file system causes crash. Maybe low memory situation. Can you also please enable KASAN? It should print error report in dmesg whenever memory issue is detected.

  • IDK file system causes crash. Maybe low memory situation. Can you also please enable KASAN? It should print error report in dmesg whenever memory issue is detected.

    It's a bit all over the place, SError, then unimplemented instruction, random freezing. Feels like a memory problem. I'll compile with KASAN as well and see what happens.

  • Guys, I would like to contribute a bit at least on this, but I dont inderstand 85% of what you talk about, but I strongly appeciate and Im gratefull about the work you do. thanks really a lot

  • turning off CEC from the Kodi side. And the device still froze, so my feeling is CEC is not the cause.


    I am sorry to further muddy the waters, but what version of LE were you running?

    This is just anecdotal, and not any kind of proof, but there was one of my Opi3LTS' that was also locking up even with CEC off. I had been running the recent v11 nightlies on it. I had actually written "flaky" on it with a marker and pretty much tossed it in the corner. But just for S&G I loaded the v11 nigthly from January 9th on it (the same version that has been running on another Opi3Lts for months without freezing).

    and now the same "flaky" board that wouldn't last more than 6 hours with a recent nightly on it has been running nonstop for over 48 hours with an old nightly from January. (and in both of these cases, CEC was OFF).

    I will install your kgdb/kdb kernel and keep my serial terminal recording...