Dead SD Card?

Warner Losh imp at bsdimp.com
Tue Jul 5 06:14:46 UTC 2016


Or it could be that the meta-data on the card is making FreeBSD taste
a sector beyond the end of the card... Doh! Should have
suggested running md5 on /dev/da2 to see if that worked...

Warner

On Tue, Jul 5, 2016 at 12:07 AM, Russell Haley <russ.haley at gmail.com> wrote:
> On Mon, Jul 4, 2016 at 10:21 PM, Russell Haley <russ.haley at gmail.com> wrote:
>> Does this mean my sd card is dead?
>>
>> # dmesg
>> ...
>> (da2:umass-sim0:0:0:2): READ(10). CDB: 28 40 01 df 75 6a 00 00 80 00
>> (da2:umass-sim0:0:0:2): CAM status: SCSI Status Error
>> (da2:umass-sim0:0:0:2): SCSI status: Check Condition
>> (da2:umass-sim0:0:0:2): SCSI sense: NOT READY asc:3a,0 (Medium not present)
>> (da2:umass-sim0:0:0:2): Error 6, Unretryable error
>
> Never mind, the only thing dead is my brain.  I forgot to use xzcat
> when writing the image:
>
> dd of=/dev/da2
> if=FreeBSD-11.0-ALPHA6-arm-armv6-CUBOX-HUMMINGBOARD-20160701-r302303.img.xz
> bs=1M
>
> Needs to actually be:
>
> xzcat FreeBSD-11.0-ALPHA6-arm-armv6-CUBOX-HUMMINGBOARD-20160701-r302303.img.xz
> | dd of=/dev/da2 bs=1M
>
> The previous error seems to be a red herring.
>
> Thanks,
> Russ
> _______________________________________________
> freebsd-arm at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-arm
> To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"


More information about the freebsd-arm mailing list