OpenmediaVault on Odroid C1+ CRASHES/ FREEZES

Post Reply
HansCie
Posts: 5
Joined: Fri May 18, 2018 5:45 am
languages_spoken: english
ODROIDs: Odroid C1+
Contact:

OpenmediaVault on Odroid C1+ CRASHES/ FREEZES

Unread post by HansCie » Fri May 18, 2018 5:58 am

Hello all,

I recently switched from raspberry pi to odroid c1+ for a "simple" networkfileserver. Main reason was the networkspeed that is 1 GB for Odroid vs 100MB for raspberry.
Now all works well, but only the system freezes or crashes every 10-20 hours. The longest time it was up and running before freezing was maybe 1.5-2 days...
The raspberry would go on for weeks and months before crashing/ freezing...

So, I have been trying to get some info from system-log files, but to be honest I am not sure where I should look for?

I am thinking in two possible strategies to approach this:
- trying to find the cause for the "freeze"/ crash and see if this can be solved, or
- in case of a freeze/ crash, have the odroid automatically reboot

I am not sure how the second strategy could be implemented (if at all) and using the first strategy I would need some guidance as to where to look for clues.

Any help would be greatly appreciated!

Thanks already!


HansCie

User avatar
odroid
Site Admin
Posts: 29408
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: OpenmediaVault on Odroid C1+ CRASHES/ FREEZES

Unread post by odroid » Fri May 18, 2018 11:47 pm

Try to find a clue in "/var/log" directory.

I've never tried the OMV image on C1+.
But we have two small headless servers for our internal VPN purpose and its uptime must be over several months at least.
They are running our Ubuntu 16.04 minimal image on C1+ boards.

User avatar
mad_ady
Posts: 5119
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1
Location: Bucharest, Romania
Contact:

Re: OpenmediaVault on Odroid C1+ CRASHES/ FREEZES

Unread post by mad_ady » Sat May 19, 2018 3:53 am

I would also recommend setting up netconsole. I suspect you're running out of memory. Netconsole messages should show msny oom messages.

User avatar
odroid
Site Admin
Posts: 29408
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: OpenmediaVault on Odroid C1+ CRASHES/ FREEZES

Unread post by odroid » Sat May 19, 2018 4:28 am

Yes!
OMV's boot.ini file should have a couple of options to disable VPU and HDMI output to save ~150MB of RAM.
https://github.com/mdrjr/c1_bootini/blo ... ni#L64-L72

HansCie
Posts: 5
Joined: Fri May 18, 2018 5:45 am
languages_spoken: english
ODROIDs: Odroid C1+
Contact:

Re: OpenmediaVault on Odroid C1+ CRASHES/ FREEZES

Unread post by HansCie » Mon May 21, 2018 10:34 pm

Thanks for your replies!

@odroid: could not find specifics in the /var/log directory

@ mad_ady: I try to set up netconsole as I have a spare raspberry and it seems/ seemed quite strightforward... still I have not yet been able to log the kernel-output from the odroid to the raspberry... I have tried several setups I found... Any suggestions on that?

@odroid: I will free up the RAM by disabling VPU and HDMI output - see what it brings

Keep you posted, I 'd be happy with other/ further suggestions, thank you!

HansCie

User avatar
mad_ady
Posts: 5119
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1
Location: Bucharest, Romania
Contact:

Re: OpenmediaVault on Odroid C1+ CRASHES/ FREEZES

Unread post by mad_ady » Mon May 21, 2018 11:04 pm

See this guide: viewtopic.php?t=26965

HansCie
Posts: 5
Joined: Fri May 18, 2018 5:45 am
languages_spoken: english
ODROIDs: Odroid C1+
Contact:

Re: OpenmediaVault on Odroid C1+ CRASHES/ FREEZES

Unread post by HansCie » Wed May 23, 2018 8:31 am

@ all:

I disabled VPU and HDMI output​.
Otherwise I tried to set up netconsole, which seemed too complicated​ to get it working on the SSH level (probably small mistakes in programming/ coding).
Than in in the OMV shell I found in the diagnostics TAB > system logs > settings: REMOTE SYSLOG.

I put in the ip address of one of the other raspberry's I have and it started recording. Probably because of the changes I made previously (netconsole setup of receiver and sender).

SOOOO... that is now ready to record any kernel panic that might occur...

BUT: surprisingly the system is up now for 1 day and 10 hours, which is a record... This must have to do with the disabling VPU and HDMI as these are the only changes I made.
I'll get back here if and when the system crashes.. If not in a few days: I consider this case solved.

I'll keep you posted!

Thanks

User avatar
odroid
Site Admin
Posts: 29408
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English
ODROIDs: ODROID
Contact:

Re: OpenmediaVault on Odroid C1+ CRASHES/ FREEZES

Unread post by odroid » Wed May 23, 2018 10:10 am

So far so good.
It is very worth to keep monitoring the RAM usage.

User avatar
mad_ady
Posts: 5119
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1
Location: Bucharest, Romania
Contact:

Re: OpenmediaVault on Odroid C1+ CRASHES/ FREEZES

Unread post by mad_ady » Wed May 23, 2018 1:26 pm

Murphy's laws state that a system will not crash while you are monitoring it for crashes :D

HansCie
Posts: 5
Joined: Fri May 18, 2018 5:45 am
languages_spoken: english
ODROIDs: Odroid C1+
Contact:

Re: OpenmediaVault on Odroid C1+ CRASHES/ FREEZES

Unread post by HansCie » Fri May 25, 2018 7:18 am

Still going strong... no crash for 3 days days and 8 hours...

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 2 guests