C1+ Freezing

Moderators: mdrjr, odroid

C1+ Freezing

Unread postby uu0113 » Thu Nov 02, 2017 10:29 pm

Hi.

I own an Odroid C1+ (rev0.4 20150930) and C2.

While the C2 is running super fine (using LibreElec) I cannot get the C1+ working stable. The issue persists since I own it (over 1 years) and no software release or update ever solved it and I tried a lot! It seems to me the C1+ has a hardware problem. That's why I bought the C2. I want to see if it's the hardware...

Issue Description
  • Once I disconnect ANY keyboard and/or mouse from one of the USB ports, the C1+ immediately freezes.
  • Also the C+1 freezes occasionally when I am typing anything for 30-60 seconds and move the mouse for a random time within the menu. The C1+ somtimes hangs and recoves (if I hold still) but when active (e.g. playing a movie) it freezes completely and never comes back. Power cycle the only solution here.

I am currently running "LibreELEC-Odroid_C1.arm-8.0.4a.img" onto Sandisk 8GB SD-Card. LAN and HDMI are connected. I tried different keyboards, mouses, USB hubs and power sources (MicroUSB and Power Supply) with no success.

Anyone experience the same issues? Any clues what's wrong with the board?
uu0113
 
Posts: 1
Joined: Thu Nov 02, 2017 10:15 pm
languages_spoken: english
ODROIDs: C1+,C2

Re: C1+ Freezing

Unread postby mad_ady » Fri Nov 03, 2017 12:37 am

Try the official ubuntu image - mine is rock solid, though it's headless
User avatar
mad_ady
 
Posts: 3238
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2

Re: C1+ Freezing

Unread postby meveric » Fri Nov 03, 2017 2:33 am

uu0113 wrote:Issue Description
  • Once I disconnect ANY keyboard and/or mouse from one of the USB ports, the C1+ immediately freezes.

That's a known issue, the C1 has broken USB drivers that causes this issue (and other USB related issues)
uu0113 wrote:
  • Also the C+1 freezes occasionally when I am typing anything for 30-60 seconds and move the mouse for a random time within the menu. The C1+ somtimes hangs and recoves (if I hold still) but when active (e.g. playing a movie) it freezes completely and never comes back. Power cycle the only solution here.

Not sure if this is also related to the USB issue, but also the C1 has very little RAM and can't handle many tasks simultaneously, that can also cause lock ups, you might want to watch memory usage, maybe over ssh to see what the system is doing around the time it's locking up.

uu0113 wrote:I am currently running "LibreELEC-Odroid_C1.arm-8.0.4a.img" onto Sandisk 8GB SD-Card. LAN and HDMI are connected.

Probably also an issue, LibreELEC is multimedia oriented, doing other stuff than watching movies, may very likely cause issues, as the video layer is on top of everything else normally.
Also I'm not sure if LibreELEC uses ZRAM or any other kind of SWAP, which also means, on memory issues, you are more likely to end up in a deadly "lock".
Other OS like Ubuntu, or Debian, normally use ZRAM to reduce the memory issues of the C1.

uu0113 wrote:I tried different keyboards, mouses, USB hubs and power sources (MicroUSB and Power Supply) with no success.

Since this issue is related to the USB drivers itself changing the USB hardware connected to it, has probably minimal to no effect.
I have the same issues on my ODROIDs, removing keyboard causes a freeze, and as I use a wireless keyboard, for about 3-5 ODROIDs I permanently have on for testing, I'm switching keyboard through boards quite often and the C1 is not a nice player in that kind of setup.

uu0113 wrote:Anyone experience the same issues? Any clues what's wrong with the board?

See above, you're not alone.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.
User avatar
meveric
 
Posts: 8214
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1

Re: C1+ Freezing

Unread postby bobcov » Sun Feb 04, 2018 5:28 pm

I have gotten to this forum in a round-about way due to this issue on an Android TV box running 5.11 on an Amlogic S905 processor.
I have a very similar issue and I believe it is related to CPU core management. I shut off CPU core management last night and since that time my number and frequency of freezes and my ability to create them almost at will has dropped 99 percent.
When I got this box in July 2017 I first noticed a problem while using Netflix. The box would freeze but only when I used my Logitech wireless keyboard with USB dongle to move the cursor to go forward or back in the movie. And not every time, but often enough to finally prompt me this weekend to investigate. Also, only very rarely would it crash outside of Netflix, but also only when cursor movement was involved.
To make a long investigation story shorter, it came down to theorizing that USB mouse and keyboard functions were causing some kind of interrupt problem. Loading 3rd party firmware onto the box allowed me to get a log file which showed as one of the last entries before freezing that an IRQ was losing its connection to a CPU core being shutdown while another core subsequently was being rebooted. I'm not technical enough to understand what it all meant, but I got a utility to shut down core management and leave the cores running and the problem was vastly reduced. I now am thinking the remaining shutdowns, which are very hard to make happen, may be heat-related. The cpu has a tiny little heatsink and temps were about about 74C when the last freeze happened. That might well be within spec, but I haven't checked yet. Also, I have meant to dig out the remote controller which came with the TV box. It has a small keyboard and may use a different architecture than USB and might be a trouble-free option which will not trigger freezes. So, the long and short of it is is I believe there is a problem with USB and CPU performance management but I am not versed enough technically to know if what I have observed supports my conclusions.
bobcov
 
Posts: 1
Joined: Sun Feb 04, 2018 5:09 pm
languages_spoken: english


Return to Issues

Who is online

Users browsing this forum: No registered users and 3 guests