Date: Mon, 4 Jul 2016 23:18:00 -0700 From: Russell Haley <russ.haley@gmail.com> To: Warner Losh <imp@bsdimp.com> Cc: freebsd-arm <freebsd-arm@freebsd.org> Subject: Re: Dead SD Card? Message-ID: <CABx9NuQXHmyn35ryMZAHs6MnEFqV6O7V1Ufr8-8cDMNxZ34zJg@mail.gmail.com> In-Reply-To: <CANCZdfrRZSi_SeOxoTzAwuFegcF4Q-HhYC4waBcB-AG0U-j=Kg@mail.gmail.com> References: <CABx9NuQHDjQ5huvXzY%2BOaS47OQrT%2BYUj_gQdjrExRE7TuZV6HQ@mail.gmail.com> <CABx9NuR872Gfc=72A__EvM=OD5nNB_n5zTwpys9ZyccQMe8TLw@mail.gmail.com> <CANCZdfrRZSi_SeOxoTzAwuFegcF4Q-HhYC4waBcB-AG0U-j=Kg@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 4, 2016 at 11:14 PM, Warner Losh <imp@bsdimp.com> wrote: > 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... Where would I go to look up said error codes? Does "umass-sim" indicate the Software Interface Module from the CAM bus? Thanks, Russ > On Tue, Jul 5, 2016 at 12:07 AM, Russell Haley <russ.haley@gmail.com> wrote: >> On Mon, Jul 4, 2016 at 10:21 PM, Russell Haley <russ.haley@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@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-arm >> To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABx9NuQXHmyn35ryMZAHs6MnEFqV6O7V1Ufr8-8cDMNxZ34zJg>