Repeated corruption of SDcards

Discussions about RaZberry - Z-Wave board for Raspberry computer
nochkin
Posts: 38
Joined: 29 Feb 2016 05:05

Re: Repeated corruption of SDcards

Post by nochkin »

15 MB/s sounds reasonable for Class 10 card.
So I guess it's just a matter of checking it using h2testw (probably will pass, but anyway) and trying another brand card.
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: Repeated corruption of SDcards

Post by pz1 »

Got the H2testw downloaded from Heise. No errors detected. Writing speed 10.2 Mbyte/s; Read 17,9 MByte/s
(Funny enough the little card is marked as 30 MB/s. My supplier advertised it as: ≤ 10 MByte/sec. They have proven to be very reliable in the 40+ years that I am a customer)

Code: Select all

Fertig, kein Fehler aufgetreten.
Sie können die Testdateien *.h2w jetzt löschen oder nach Belieben
nochmals überprüfen.
Schreibrate: 10,2 MByte/s
Leserate: 17,9 MByte/s
H2testw v1.4
PS: This card has been corrupted and re-programmed several times (> 10)
nochkin
Posts: 38
Joined: 29 Feb 2016 05:05

Re: Repeated corruption of SDcards

Post by nochkin »

The card looks OK for an average Class 10 card.
I could only guess that there is some weird incompatibility with Pi using this card.

I know it's a hassle, but:
If you swap the cards with your good working Pi setup and this one, do the corruption problems move to another Pi or stay there? Just trying to isolate the issue with the actual Pi board.
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: Repeated corruption of SDcards

Post by pz1 »

[*]
nochkin wrote: I know it's a hassle, but:
If you swap the cards with your good working Pi setup and this one, do the corruption problems move to another Pi or stay there? Just trying to isolate the issue with the actual Pi board.
Perfectly fair question!
As a matter of fact a couple of weeks ago I cloned my existing installation following this this recipe to new hardware (Pi+SDCard+UZB1).
Please note that cloning meant building from the ground up, and restore the backup files from ExpertUI and SmartHome. That installation also crashed within 14 days after start.
nochkin
Posts: 38
Joined: 29 Feb 2016 05:05

Re: Repeated corruption of SDcards

Post by nochkin »

Nice. So what was different in the "new" setup?
Your SD Card, Pi board and UZB stick are all new? Does that mean the same power supply?

Btw, how does the corruption look like? I mean why do you think it's corrupted?
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: Repeated corruption of SDcards

Post by pz1 »

nochkin wrote:Nice. So what was different in the "new" setup?
Your SD Card, Pi board and UZB stick are all new? Does that mean the same power supply?
I had crashes with 3 different power supplies
[/quote]Btw, how does the corruption look like? I mean why do you think it's corrupted?[/quote]
I really do not have a clue. With 40+ years experience in ICT, I am 90% sure it is a software issue. I am now in the phase of ruling out hardware problems. It is a tedious job. In a few months when I do not really need the heating, I'll do some more rigorous software modules testing.
nochkin
Posts: 38
Joined: 29 Feb 2016 05:05

Re: Repeated corruption of SDcards

Post by nochkin »

I mean how do you figure out the system is corrupted? How do you check?
Your initial message indicated that you checked sda1 and sda2, and both are clean.
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: Repeated corruption of SDcards

Post by pz1 »

I does not reboot, and quite a while before the final breakdown there are many different problems with the fs. For example once I could not navigate the /etc directory. At an other occasion I could no longer see the icons in SmartHome. Never the same pattern though.
nochkin
Posts: 38
Joined: 29 Feb 2016 05:05

Re: Repeated corruption of SDcards

Post by nochkin »

When it crashes, try to ssh to the box (if possible, of course) and see the latest in /var/log/messages and dmesg.
You may get a clue on what's going on.
pz1
Posts: 2053
Joined: 08 Apr 2012 13:44

Re: Repeated corruption of SDcards

Post by pz1 »

nochkin wrote:When it crashes, try to ssh to the box
That is not possible. Therefor I now run the installation where the logs are written to a vfat USB-stick ;)
Post Reply