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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-11-2018, 08:52 PM
|
#1
|
LQ Newbie
Registered: Dec 2018
Posts: 3
Rep: 
|
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 12:44 PM.
|
|
|
12-11-2018, 09:15 PM
|
#2
|
Member
Registered: Jul 2018
Posts: 494
|
|
|
|
12-11-2018, 09:26 PM
|
#3
|
LQ Newbie
Registered: Dec 2018
Posts: 3
Original Poster
Rep: 
|
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!
|
|
|
12-11-2018, 10:07 PM
|
#4
|
Member
Registered: Jul 2018
Posts: 494
|
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!
|
|
|
12-12-2018, 12:54 AM
|
#5
|
LQ Newbie
Registered: Dec 2018
Posts: 3
Original Poster
Rep: 
|
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.
|
|
|
02-01-2019, 07:00 PM
|
#6
|
LQ Newbie
Registered: Feb 2019
Location: Sydney Australia
Distribution: Fedora
Posts: 17
Rep: 
|
Problem is systems that just stop, dead.
Quote:
Originally Posted by BigFalcon
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
|
|
|
All times are GMT -5. The time now is 04:42 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|