LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 12-11-2018, 09:52 PM   #1
BigFalcon
LQ Newbie
 
Registered: Dec 2018
Posts: 3

Rep: Reputation: Disabled
Remote Crash Reporting for Embedded Linux


Hi! First time posting here. Hopefully this is not a stupid question.

I come mostly from a mobile app development background. But recently looking into an indoor appliance project that involves running some flavour of Linux on either something like a Raspberry Pi or even a TX1.

I am very used to remote crash reporting solutions like Sentry or Crashlytics for mobile development. I am wondering about the same thing for embedded Linux. How do one ensure an anomaly free experience once the device gets into the end users' hands? Or is this somehow not a realistic concern?

Please advise. Thanks in advance!

Last edited by BigFalcon; 12-12-2018 at 01:44 PM.
 
Old 12-11-2018, 10:15 PM   #2
Mechanikx
Member
 
Registered: Jul 2018
Posts: 350

Rep: Reputation: 258Reputation: 258Reputation: 258
Is this what you had in mind?

https://github.com/aaronovz1/crash-handler
 
Old 12-11-2018, 10:26 PM   #3
BigFalcon
LQ Newbie
 
Registered: Dec 2018
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks @Mechanikx for responding!

For iOS/Android development, there are turn-key services (some even for free) that provides a SDK to install into the app. Then it'll just automatically collect any crashes and analytics surrounding anomalies into my cloud account, even if the crashes are happening in production and in the field, without the end-users doing anything. Something like this: https://sentry.io/welcome/

Think if a Smart Thermostat is purchased by thousands of users off Best Buy. How can I as the developer know if there are any problems with my code in the field? Wondering if there are already existing solutions. Thanks!
 
Old 12-11-2018, 11:07 PM   #4
Mechanikx
Member
 
Registered: Jul 2018
Posts: 350

Rep: Reputation: 258Reputation: 258Reputation: 258
Ahhh, I see. I should've read you question more carefully

I'm just spitballing here but I wonder if you would need a separate program other than a crash reporting tool? You could have a cron job that executes a program every x amount of time that checks for a crash log. If it exists it would send the report to your email account, using a program like mailx. I have no experience with embedded devices, so I can't say if this is even possible.

Anyways, good luck!
 
Old 12-12-2018, 01:54 AM   #5
BigFalcon
LQ Newbie
 
Registered: Dec 2018
Posts: 3

Original Poster
Rep: Reputation: Disabled
Hey no, the suggestion makes perfect sense, Thanks! Even tho was hoping for something turn-key. Not saying we expect our project to reach high volume of users. But E-mailed reports gets quickly out of hand if a device do reach a good number of people's hands.
 
Old 02-01-2019, 08:00 PM   #6
beard5849
LQ Newbie
 
Registered: Feb 2019
Location: Sydney Australia
Distribution: Fedora
Posts: 17

Rep: Reputation: Disabled
Problem is systems that just stop, dead.

Quote:
Originally Posted by BigFalcon View Post
Hey no, the suggestion makes perfect sense, Thanks! Even tho was hoping for something turn-key. Not saying we expect our project to reach high volume of users. But E-mailed reports gets quickly out of hand if a device do reach a good number of people's hands.
I've been battling with Banana Pi A20 boards just stopping, no messages, nothing. In the end, it turns our the kernel team have been working on Power Management so from
kernel 4.15.xx some drivers just stop dead. Disabling the GUI console has done the trick here on both an ASRock J1900 Intel system and the Banana Pi (original).

Alan VK2ZIW
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
crash () { crash|crash& }; crash grob115 Linux - Security 6 05-07-2011 04:06 AM
[SOLVED] df reporting 100% but du reporting 20% guna_pmk Linux - Server 1 04-15-2011 12:34 PM
LXer: Open source crash reporting for the iPhone (and OSX) LXer Syndicated Linux News 0 02-02-2009 04:50 PM
Crash, Crash, Crash, Crash and You Guessed it Crash! little_penguin SUSE / openSUSE 8 07-04-2005 10:34 AM
xmms crash xine crash mplayer crash paledread Linux - Software 9 03-09-2004 08:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 09:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration