[Pianod] Compiling on Raspberry Pi A+
darren
1 at crotchett.com
Sun Jul 24 07:43:51 PDT 2016
I started dd with count=30000000 last night. It was still running this
morning. So, I killed it and restarted it with 1000. It took
approximately 30 minutes and looks like this:
pi at rasp_A_plus:~/pianod2-213 $ dd if=/dev/random count=1000 | tee foobar |
cksum
2151891374 6080
0+1000 records in
11+1 records out
6080 bytes (6.1 kB) copied, 1592.73 s, 0.0 kB/s
I guess 6080 is a match?
So, I tried rerunning it again with 10000. It was taking so long, I
finally killed it too. I will try to get out and get a new sd card today.
I have Pi 3, too. I might try moving the card to it to see how things go.
On Sat, Jul 23, 2016 at 6:59 PM, Perette Barella <perette at barella.org>
wrote:
> I just noticed a mistake in this procedure. I used device capacity
> (1K-blocks column) instead of free space (Available column). The second
> step should be:
>
> - Now make a temp file a little smaller than the free capacity. dd uses
> 512-byte blocks:
> dd if=/dev/random count=17000000 | tee foobar | cksum
>
>
>
> --
> Perette Barella • perette at barella.org • 585-286-1312
> 176 Middlesex Road, Rochester NY 14610
>
> On 2016年07月23日, at 19:38, Perette Barella <perette at barella.org> wrote:
>
> You could do something like this to make sure what’s being written to the
> SD card is consistent
> - Get the free space on the device:
> $ df -k .
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/root 15183756 5530452 8980448 39% /
>
> - Now make a temp file a little smaller than the free capacity. dd uses
> 512-byte blocks:
> dd if=/dev/random count=30000000 | tee foobar | cksum
>
> - When that completes
> cksum foobar
>
> - If the checksums don’t match… then I/O to your SD card isn’t being
> consistent. Of course, this checks free space, and there could be bad
> areas that contain operating system and the compiler.
>
>
>
> _______________________________________________
> Pianod mailing list
> Pianod at lists.deviousfish.com
> http://lists.deviousfish.com/listinfo.cgi/pianod-deviousfish.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.deviousfish.com/pipermail/pianod-deviousfish.com/attachments/20160724/2230add7/attachment-0002.htm>
More information about the Pianod
mailing list