Constant Reboots Via Stock And Source Compilation

Post Reply
Dataghost
Posts: 8
Joined: Mon Jul 29, 2019 10:12 am
languages_spoken: english
ODROIDs: XU4, N2
Has thanked: 0
Been thanked: 1 time
Contact:

Constant Reboots Via Stock And Source Compilation

Post by Dataghost »

Been going through the source code since the first release and still can not pinpoint why there is still random reboots, have used logcat to capture everything and its just not showing me what I need to see. Anyone have any ideas as to why with the N2 there is constant reboots, sometimes just sitting it will reboot, I have tried other N2 units, without usb dongles in place etc. Not a lot of luck. Any thoughts? Not happening with other s922x boards. Disappointing for sure.
These users thanked the author Dataghost for the post:
milesian (Wed Nov 20, 2019 2:04 am)

User avatar
odroid
Site Admin
Posts: 35846
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1299 times
Been thanked: 907 times
Contact:

Re: Constant Reboots Via Stock And Source Compilation

Post by odroid »

We will try to find a root cause.

Here is a brief plan.
- Install the latest Android 64bit OS image into an eMMC.
- Install Gapps and Kodi
- Keep playing 4K test clips on Kodi from a Samba server via Gbit Ethernet network.
- Keep logging CPU temperature, memory usage and raw Kernel messages to a host computer via USB-UART console cable.
- Run this configuration for a week.

BTW, which S922X boards did you test?

milesian
Posts: 20
Joined: Fri Nov 10, 2017 6:52 am
languages_spoken: english
ODROIDs: xu4
Has thanked: 33 times
Been thanked: 1 time
Contact:

Re: Constant Reboots Via Stock And Source Compilation

Post by milesian »


odroid wrote: - Keep logging CPU temperature, memory usage and raw Kernel messages to a host computer via USB-UART console cable.
- Run this configuration for a week.
Is it possible for me to provide these logs via ADB over network? If so, please provide guidance on the exact commands to use.

Sent from my ONEPLUS A5000 using Tapatalk


User avatar
odroid
Site Admin
Posts: 35846
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1299 times
Been thanked: 907 times
Contact:

Re: Constant Reboots Via Stock And Source Compilation

Post by odroid »

I don't think the standard ADB has such specific commands.
We need to make a script to access the temperature and memory usage via SYSFS on a normal ADB shell or remote serial console.

User avatar
odroid
Site Admin
Posts: 35846
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1299 times
Been thanked: 907 times
Contact:

Re: Constant Reboots Via Stock And Source Compilation

Post by odroid »

We've run the test for 48 hours and we observed two random reboot events. But our host monitoring PC had a problem and we couldn't capture any log.
We will keep trying to find any possible root causes.

robdroid
Posts: 5
Joined: Fri Nov 15, 2019 4:02 am
languages_spoken: english
Has thanked: 0
Been thanked: 0
Contact:

Re: Constant Reboots Via Stock And Source Compilation

Post by robdroid »

Please share this script and we can also run it.

On 32-bit (source compiled) We have this happen almost daily. 23 times in the last week.

See here: viewtopic.php?f=178&t=36849 for UART logs.

Dataghost
Posts: 8
Joined: Mon Jul 29, 2019 10:12 am
languages_spoken: english
ODROIDs: XU4, N2
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Constant Reboots Via Stock And Source Compilation

Post by Dataghost »

Still happening on the latest source code updates, crazy, not happening on any of the beelink or Ugoos. I give my head a shake. Can not be a heat issue, its not..... Beelinks get much hotter and have much less heat dispersion and the cover is completely off the box. Disappointing for sure.

Dataghost
Posts: 8
Joined: Mon Jul 29, 2019 10:12 am
languages_spoken: english
ODROIDs: XU4, N2
Has thanked: 0
Been thanked: 1 time
Contact:

Re: Constant Reboots Via Stock And Source Compilation

Post by Dataghost »

odroid wrote:
Fri Nov 22, 2019 7:55 pm
We've run the test for 48 hours and we observed two random reboot events. But our host monitoring PC had a problem and we couldn't capture any log.
We will keep trying to find any possible root causes.
Thank you

User avatar
odroid
Site Admin
Posts: 35846
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1299 times
Been thanked: 907 times
Contact:

Re: Constant Reboots Via Stock And Source Compilation

Post by odroid »

We could reproduce the issue and we've been trying various kernel patches.
But there is no solution yet. I think we may need longer period to find a reliable solution.
Please be patient for a couple of weeks.
Sorry for the inconvenience caused.
These users thanked the author odroid for the post:
milesian (Fri Nov 29, 2019 12:28 am)

sousaplex
Posts: 10
Joined: Fri Sep 15, 2017 12:20 am
languages_spoken: english
ODROIDs: C2
Has thanked: 0
Been thanked: 0
Contact:

Re: Constant Reboots Via Stock And Source Compilation

Post by sousaplex »

Happy to also run the script for testing.

User avatar
odroid
Site Admin
Posts: 35846
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 1299 times
Been thanked: 907 times
Contact:

Re: Constant Reboots Via Stock And Source Compilation

Post by odroid »

We released new updates which fixed the random reboot issue while playing videos.
32bit: https://wiki.odroid.com/odroid-n2/os_im ... e_20191205
64bit: https://wiki.odroid.com/odroid-n2/os_im ... 4_20191205

mad_ady
Posts: 8807
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 583 times
Been thanked: 526 times
Contact:

Re: Constant Reboots Via Stock And Source Compilation

Post by mad_ady »

Out of curiosity - what was causing the reboots?

User avatar
rooted
Posts: 8106
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 727 times
Been thanked: 270 times
Contact:

Re: Constant Reboots Via Stock And Source Compilation

Post by rooted »

mad_ady wrote:Out of curiosity - what was causing the reboots?
You could likely find it in the git.

mad_ady
Posts: 8807
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 583 times
Been thanked: 526 times
Contact:

Re: Constant Reboots Via Stock And Source Compilation

Post by mad_ady »

Ok, you've caught me! I was being lazy :D

Post Reply

Return to “Android”

Who is online

Users browsing this forum: adamforeman and 0 guests