Likely the card is stuffed.  To be sure, make sure you do an 'eject
/dev/sda' after you insert the card (but before you try to access it.  If
the error still happens, then the card is likely bad.

Some people have had luck recovering bad cards by using 'dd if=/dev/zero
of=/dev/sda' to overwrite the entire contents of the card, which tends to
reset all the erase status of all sectors as well as resetting the internal
state machine of the card.  As usual, YMMV.

Matt

On Sun, Aug 10, 2003 at 12:31:13PM -1000, Graeme Merrall wrote:
> Not exactly sure if this is USB related.  I've got a SanDisk SDDR-05a CF 
> card reader or as lsusb puts it "Bus 002 Device 012: ID 0781:0001 SanDisk 
> Corp. SDDR-05a ImageMate CompactFlash Reader"
> 
> I've got two CF cards both SanDisk branded, one an 8Mb card and the other a
> 16Mb card.  I can read/format the 8Mb card no problems but I'm having some
> issues with the 16Mb card.  I've seen the error  a few times when reading
> the card but I can reproduce it every time when formatting.
> 
> [EMAIL PROTECTED] log]# mkfs -t vfat /dev/sdb1
> mkfs.vfat 2.8 (28 Feb 2001)
> mkfs.vfat: Attempting to create a too large file system
> 
> The information that shows up in the log file is:
> 
> kernel: scsi2: ERROR on channel 0, id 0, lun 0, CDB:
> Read (10) 00 00 00 00 28 00 00 20 00
> kernel: Current sd08:11: sense key Medium Error
> kernel: Additional sense indicates CIRC unrecovered
> error
> kernel:  I/O error: dev 08:11, sector 8
> kernel: scsi2: ERROR on channel 0, id 0, lun 0, CDB:
> Read (10) 00 00 00 00 28 00 00 08 00
> kernel: Current sd08:11: sense key Medium Error
> kernel: Additional sense indicates CIRC unrecovered error
> kernel:  I/O error: dev 08:11, sector 8 .
> 
> I realise this is most likely a SCSI error which is where the CIRC reference
> comes from but i'm hoping someone can shed some light on this.  Am I right
> in thinking that the most likely cause is that the CF card is stuffed?
> 
> I'm running RH9 with the RedHat provided kernel 2.4.20-19.9 so all the USB
> stuff is loaded as a module. I've not got off my butt and recompiled it yet.
> 
> In case it' suseful here's the output of /proc/scsi/scsi.
> Host: scsi2 Channel: 00 Id: 00 Lun: 00
>   Vendor: E-USB Fl Model: ash              Rev:
>   Type:   Direct-Access                    ANSI SCSI revision: 02
>  
> Cheers,
>  Graeme Merrall
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by: Free pre-built ASP.NET sites including
> Data Reports, E-commerce, Portals, and Forums are available now.
> Download today and enter to win an XBOX or Visual Studio .NET.
> http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
> _______________________________________________
> [EMAIL PROTECTED]
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-users

-- 
Matthew Dharm                              Home: [EMAIL PROTECTED] 
Maintainer, Linux USB Mass Storage Driver

Umm, these aren't the droids you're looking for.
                                        -- Bill Gates
User Friendly, 11/14/1998

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to