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

Unread post by Dataghost » Wed Nov 20, 2019 1:53 am

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: 32704
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 213 times
Been thanked: 367 times
Contact:

Re: Constant Reboots Via Stock And Source Compilation

Unread post by odroid » Wed Nov 20, 2019 10:37 am

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: 17
Joined: Fri Nov 10, 2017 6:52 am
languages_spoken: english
ODROIDs: xu4
Has thanked: 22 times
Been thanked: 1 time
Contact:

Re: Constant Reboots Via Stock And Source Compilation

Unread post by milesian » Wed Nov 20, 2019 11:52 am


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: 32704
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 213 times
Been thanked: 367 times
Contact:

Re: Constant Reboots Via Stock And Source Compilation

Unread post by odroid » Wed Nov 20, 2019 11:59 am

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: 32704
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 213 times
Been thanked: 367 times
Contact:

Re: Constant Reboots Via Stock And Source Compilation

Unread post by odroid » 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.

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

Unread post by robdroid » Sat Nov 23, 2019 3:48 am

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

Unread post by Dataghost » Mon Nov 25, 2019 3:32 am

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

Unread post by Dataghost » Mon Nov 25, 2019 3:34 am

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: 32704
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 213 times
Been thanked: 367 times
Contact:

Re: Constant Reboots Via Stock And Source Compilation

Unread post by odroid » Thu Nov 28, 2019 5:40 pm

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

Unread post by sousaplex » Sun Dec 08, 2019 2:12 am

Happy to also run the script for testing.

User avatar
odroid
Site Admin
Posts: 32704
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Has thanked: 213 times
Been thanked: 367 times
Contact:

Re: Constant Reboots Via Stock And Source Compilation

Unread post by odroid » Sun Dec 08, 2019 6:22 pm

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

User avatar
mad_ady
Posts: 6874
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 241 times
Been thanked: 178 times
Contact:

Re: Constant Reboots Via Stock And Source Compilation

Unread post by mad_ady » Sun Dec 08, 2019 9:49 pm

Out of curiosity - what was causing the reboots?

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

Re: Constant Reboots Via Stock And Source Compilation

Unread post by rooted » Mon Dec 09, 2019 3:58 am

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

User avatar
mad_ady
Posts: 6874
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1, H2, N2
Location: Bucharest, Romania
Has thanked: 241 times
Been thanked: 178 times
Contact:

Re: Constant Reboots Via Stock And Source Compilation

Unread post by mad_ady » Mon Dec 09, 2019 4:53 am

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

Post Reply

Return to “Android”

Who is online

Users browsing this forum: kafan1986 and 0 guests