LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 11-20-2015, 10:17 AM   #1
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 890

Rep: Reputation: Disabled
Reliability of SD/MMC for running OS


Hi,

I've been doing embedded Linux based systems for quite some time now.
I'm using Buildroot as opposed to Slackware. The point here is that Slackware would be overkill. With Buildroot I can get fully usable system that, depending on the target goal, can be between 4 to 40MB in size, kernel included. The size matters when it comes to installation time and very often the devices do not have enough flash storage for a full blown system. In addition, systems generated with Buildroot will keep most of the frequently changing files in the tmpfs, which prevents killing the NAND flash too quickly. And last, but not least, Buildroot gives me the fine-grained control over what goes into the final filesystem. As you can see, I have no big experience with Slackware ARM.

And now my question:

I think many of you is using SD/MMC and doing full Slackware installation on such a medium. I would like to ask you, what is the reliability of such setups? I mean, does it behave well running for extended period of times or do you experience some hiccups related to SD/MMC not being reliable and erroneous?

I'm personally really scared of SD/MMC and I try to avoid it as much as possible. The point is that, I have experienced some erroneous behaviors. It wasn't frequent, but still. What I observed was read errors, write errors and system hangups. The hangup happened to me recently on RPi B+, even though the system was running from ramfs. I credit this to the SD/MMC driver for RPi having some errors.

I would phrase it in the following way: give me your board running from SD/MMC and after shorter or longer time I'll hang it and it will hang due to the SD/MMC error

I don't remember where I read it, but somebody said that even the most expensive SD/MMC won't give much more reliability over a cheaper card. They are simply not reliable.

Please let me know your thoughts and experience.

--
Best regards,
Andrzej Telszewski
 
Old 11-20-2015, 01:20 PM   #2
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 752

Rep: Reputation: 92
I have an RPI B that has been up one year six days 24X7 today in my garden shed with the exception of a couple power outages. It's connected to a DIY weather station circuit. Data from circuit plus data parsed from BOM webpage at nearby airport is stored in a round robin database and a csv file. Halfway through this period I also started parsing and collecting data for forex and spot prices. All this is served up on a web page available on our lan via wireless. Webpage contents include pre-formatted text that along with data and graphs (as images) is updated every 15 minutes. Much of the info is presented in fancybox popups. There is also a webcam providing video feed of back garden on demand.

I was concerned about the rewrites and power outages but so far the only problem I have had was from birds. Blackbirds nested in the shed near my setup and and while the parents didn't bother anything the fledgings must've been attracted by the LEDs and pecked at the circuit board before leaving home for good damaging my humidity sensor:<(

I don't know how long it would take me to put all that together with Buildroot but everything with the exception of four slackbuilds came with a Slackwarearm install less the gui stuff.
 
Old 11-20-2015, 01:33 PM   #3
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 890

Original Poster
Rep: Reputation: Disabled
Hi,

@justwantin the question is, are you running all of this from SD card?

--
Best regards,
Andrzej Telszewski
 
Old 11-20-2015, 01:37 PM   #4
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 752

Rep: Reputation: 92
Yes
 
Old 11-20-2015, 01:44 PM   #5
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 890

Original Poster
Rep: Reputation: Disabled
Hi,

Quote:
Originally Posted by justwantin View Post
Yes
I don't believe it

--
Best regards,
Andrzej Telszewski
 
Old 11-20-2015, 02:06 PM   #6
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 752

Rep: Reputation: 92
What reason would there be for me to lie. I don't have shares in Kingston or Sandisk. I have also had a cards go bad but I would put that down to my abuse. The setup I described is a prototype that, as I said, has been running headless for over a year year with access via ssh. I intend to build something more permanent (and bird proof) with a bananapipro and 2.5" hdd. That will go into a stevenson screen on a post instead of a shelf behind a window in a garden shed. I just haven't, had time.
 
Old 11-20-2015, 02:11 PM   #7
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 890

Original Poster
Rep: Reputation: Disabled
Hi,

Quote:
What reason would there be for me to lie.
Don't take it too seriously, there was no insult in my reply.
Please note the "" at the end of the phrase, well,

--
Best regards,
Andrzej Telszewski
 
Old 11-20-2015, 02:21 PM   #8
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 752

Rep: Reputation: 92
I've seen people smile as the stuck hooks in worms!
 
Old 11-20-2015, 02:36 PM   #9
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 890

Original Poster
Rep: Reputation: Disabled
Hi,

@justwantin when I smile I smile because I smile

--
Best regards,
Andrzej Telszewski
 
Old 11-23-2015, 04:41 AM   #10
nolretou
Member
 
Registered: Apr 2014
Distribution: Slackware
Posts: 98

Rep: Reputation: Disabled
Some cards support only FAT32.
Some cards seems to support e.g. EXT2, but fails after a while.

Sandisk Extreme Pro seems to be the best choice.

Here's a non-exhaustive chart :
http://pandorawiki.org/SD_compatibility_list

Note that the read/write speeds are related to the Open Pandora, which is limited to around 17MB/s.
 
Old 11-23-2015, 09:04 AM   #11
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 890

Original Poster
Rep: Reputation: Disabled
Hi,

Quote:
Some cards support only FAT32.
How is this possible? I've never heard of such a limitation.

--
Best regards,
Andrzej Telszewski
 
Old 11-23-2015, 09:45 AM   #12
nolretou
Member
 
Registered: Apr 2014
Distribution: Slackware
Posts: 98

Rep: Reputation: Disabled
I have absolutely no idea.
I saw it myself a bunch of times, that's why I stick with the expensive extreme pro. I think extreme are also ok, but I didn't test any since 2012.
 
Old 11-23-2015, 10:02 AM   #13
atelszewski
Member
 
Registered: Aug 2007
Distribution: Slackware
Posts: 890

Original Poster
Rep: Reputation: Disabled
Hi,

Can you give me a bit more details?
You mean mke2fs is not able to create the file system structure?
Or you cannot use fdisk to partition?

--
Best regards,
Andrzej Telszewski
 
Old 11-23-2015, 10:12 AM   #14
nolretou
Member
 
Registered: Apr 2014
Distribution: Slackware
Posts: 98

Rep: Reputation: Disabled
Usually, partitioning and formatting works.
As soon as you write data, you run into I/O errors.
 
Old 11-26-2015, 02:06 PM   #15
Penthux
Member
 
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 264

Rep: Reputation: 74
Since the release of the Samsung EVO microSD cards I have used them, almost exclusively, on the rpi and rpi2. These cards have proven to be 100% stable and reliable, more so than any other SD or microSD card I have used on these devices. I believe the Samsung EVO microSD cards to be superior and that's why I use them and would recommend them to anyone and everyone. In all the time I have used these cards they have not given me one single problem.

I have approx. 5 rpi and rpi2 devices active at the moment, using Samsung EVO microSD cards in 4 of them. I use them for; running and testing (mainly Slackware ARM) Linux operating systems, KODI, SlackBuilding lots of packages, doing lots and lots of BASH scripting, running a web server, running a ntp server, and lately I've been doing a bit of Python development to interact with some website projects.

I cannot recall how many installations of Slackware ARM I have performed on the Samsung EVO microSD cards, but it will literally be 100s. Or the countless hours/days/weeks/months I have spent working with them.

If you are wanting the best microSD card then, in my experience, I cannot recommend the Samsung EVO highly enough.
 
  


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
Ricoh Sd/mmc Card Reader Won't Read Mmc Cards it-s Linux - Hardware 4 07-02-2011 05:49 AM
What is the relationship between the linux mmc media driver and mmc host driver? archieval Linux - General 0 07-13-2009 12:36 AM
Accessing MMC card in Laptop built-in MMC Card Slot with knoppix bröggle Linux - Laptop and Netbook 0 08-18-2004 08:44 AM
mv -f reliability rtaft Linux - Software 1 01-07-2004 12:46 PM
Reliability satwar Linux - General 3 06-27-2003 03:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 03:18 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration