--
My beaglebone's sd card is corrupted on read only file system after 27 days of work.
Do you have any suggestion?
I'm up to my third SanDisk/KingMax SD card, and a friend of mine is up to his second as well. Seems the beagles just love killing sdcards.
Not sure if it's a power supply issue or what. I notice on the same system I'm getting GPIO input bounce off open collector digital pulse sources, so perhaps the 5v regulated power supply I have them on has ripples or not enough surge capacity or something. I'm going to try my third SDcard one powered exclusively off a regulated USB power supply (it's not doing anything but network and reading a slow pulse output).
But yeah, I've tried two different SDcard manufacturers, and the beagle just loves chewing through them. At best the beagle's are just really super sensitive to power supply quality, and at worst they have some sort of design flaw that chews cards (which would be a huge shame and pretty much rule them out from here on in for me as a valid dev platform...)
Jon
--
For more options, visit http://beagleboard.org/discuss
-- Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Senior Staff Specialist, Cricket Coach Microsoft Windows Free Zone - Linux used for all Computing Tasks
echo "tmpfs /tmp tmpfs nodev,nosuid 0 0" >> /etc/fstab
echo "tmpfs /var/log tmpfs nodev,nosuid 0 0" >> /etc/fstab
Good! keep us updated on this..By the way I found that cirtuirco guys made a "cape" to have a NAND mounted atop the BBhttp://circuitco.com/support/index.php?title=BeagleBone_4Gb_16-Bit_NAND_Module, but there is a note in the reseller site telling something like: "no driver, development purpose only"..Did someone tried it out?byeLuca
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
If it helps I have been running small embedded systems using MIDE modules
and CF cards for over eleven years with very few failures. And I did not
even use a filesystem that is flash friendly (I used ext3). The filesystem
was mounted rw and I am using Debian linux with normal logging enabled to
the MIDE/CF cards.
All these tails of short life seem to be worst cases.
David
--
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
After a few days after a proudly wrote the report of my tests the sd filesystem started to be corrupted somewhere and I was no more able to connect with ssh. A manual reboot from serial console caused the kernel to panic because of impossibility to load some library after remounted the rootfs.No way!We still look for a solution! :(
Can you keep the rootfs marked as read-only? I see very little that could be influenced by the hardware here and advise you to test your use case well on any platform, since the Bone isn't likely causing your issue.
> >
> > As an aside, the gpio pin is attached to an open collector pulse
> > power monitor and I get really bad bounce on the beagle io pins. I've
> > never seen bounce on digital pulse interfaces before... yet another
> > annoyance with the bones...
>
> Regarding GPIO bounce, the GPIOs are reasonably quick on am335x, do you
> see bounce when observing them with a scope? I believe the GPIO
> subsystem is on a 100 MHz clock that rotates between each bank (check
> TRM for sure) so 25 MHz input is possible (although the timing would
> have to line up nicely to avoid aliasing). Sorry, I'm not much help
> here other than to suggest you put some hardware filtering on there or
> debounce in software.
The slew rate on the digital outputs is programmable. Try setting the lower slew rate.
>
> -Andrew
>
> --
> For more options, visit http://beagleboard.org/discuss
I just want to share with you my experience. Using Ext3 on a micro-sd flash is a bad idea b/c of journaling support in ext3/ext4 filesystem. It will tend to wear and kill your sd flash even quicker.
The approach i am taking is using a fat filesystem as the root partition of the sd-card. I then mount the root filesystem from a squashfs archive. Next, overlay the root-filesystem with advanced union filesystem (aufs) with a tmpfs. Now, i would have an OS that would not write the the flash card but ram. This is by far the best approach i can think of to minimize flash errors. Although i still get flash error, but i believe it is at the MMC bus level (signal level), not actually the memory chip.
How exactly are you interfacing to this external device? And what
exactly is the device? It sounds like some kind of power meter or
similar?
Thank Andrew. I appreciate your help. I really wish I had more time to test this properly but alas I don't. One of my remote units is coming back into civilization for only one day before it heads back out into the wild frontier. For that one I'll stick with good half measures and then will get to work on a smaller Angstrom or BuildRoot fs for 50 more expected to head out in a month.It always seems to be the case that on the benchtop, for months on end, after lots of testing that I had no issues whatsoever with SD card corruption on 2 different units. It was only until I scaled from 2 units to 100 that I started to see more failures. Lesson to be learned I guess - expect the unexpected.
Did anyone every figure out why a read-only filesystem is still causing problems as an earlier poster already remarked?
--