Skip to contentSkip to conversation

Problems with 1GB SimpleTech CF Card

DISCUSSION Steven Scholz 2 participants 3 messages May 24, 2006 libata

lore
Share & tools
lore
#0 lore raw

Hi all,

I get repeatable erros when accessing a 1GB SimpleTech CF Flash Card (SLCF1GBJ).

I tested on three different systems (i86, arm, ppc) with three different kernel versions (2.6.13, 2.6.14, 2.4.20). On ARM and PPC I tested pcmcia mode _and_ TrueATA mode. Other, smaller (!) CF Cards are working fine.

So here we go:

~ # hdparm -i /dev/hda
Model=STI Flash 7.0.0, FwRev=05/03/04, SerialNo=STI J107004201112846
Config={ HardSect NotMFM Removeable DTR>10Mbs nonMagnetic } RawCHS=2006/16/63, TrkSize=0, SectSize=0, ECCbytes=4 BuffType=unknown, BuffSize=0kB, MaxMultSect=1, MultSect=off CurCHS=2006/16/63, CurSects=2022048, LBA=yes, LBAsects=2022048 IORDY=no, tPIO={min:120,w/IORDY:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
AdvancedPM=no WriteCache=enabled

When doing "mke2fs /dev/hda1" after 30 seconds I get

	hda: irq timeout: status=0xd0 { Busy }
	ide: failed opcode was: unknown
	ide0: reset: master: error (0x00?)

and then after a long time loads of

end_request: I/O error, dev hda, sector 786495 Buffer I/O error on device hda1, logical block 786432 lost page write due to I/O error on hda1

messages.

Has anyone else seen this before? Is it related to the size of the CF card? The smaller, working cards use

	CurCHS=980/8/32, CurSects=250880, LBA=yes, LBAsects=250880
	CurCHS=980/16/32, CurSects=501760, LBA=yes, LBAsects=501760

Thanks a million!

--
Steven

#1 lore raw
Quoted 3 lines · Steven Scholz

Hi all,

I get repeatable erros when accessing a 1GB SimpleTech CF Flash Card (SLCF1GBJ).

..

Quoted 10 lines

~ # hdparm -i /dev/hda
Model=STI Flash 7.0.0, FwRev=05/03/04, SerialNo=STI J107004201112846
Config={ HardSect NotMFM Removeable DTR>10Mbs nonMagnetic } RawCHS=2006/16/63, TrkSize=0, SectSize=0, ECCbytes=4 BuffType=unknown, BuffSize=0kB, MaxMultSect=1, MultSect=off CurCHS=2006/16/63, CurSects=2022048, LBA=yes, LBAsects=2022048 IORDY=no, tPIO={min:120,w/IORDY:120}
PIO modes: pio0 pio1 pio2 pio3 pio4
AdvancedPM=no WriteCache=enabled

Quoted 5 lines

When doing "mke2fs /dev/hda1" after 30 seconds I get

	hda: irq timeout: status=0xd0 { Busy }
	ide: failed opcode was: unknown
	ide0: reset: master: error (0x00?)

Mmmm.. No idea, but one thing to try is "hdparm -W0" on the card, and see if that makes any difference.

Cheers

#2 lore raw

Mark,

Quoted 8 lines
Quoted 5 lines

When doing "mke2fs /dev/hda1" after 30 seconds I get

    hda: irq timeout: status=0xd0 { Busy }
    ide: failed opcode was: unknown
    ide0: reset: master: error (0x00?)

Mmmm.. No idea, but one thing to try is "hdparm -W0" on the card, and see if that makes any difference.

No. It does not make any difference. Thanks.

BTW:
a) Windows does its famous Blue Screen when accessing the card. So it looks like this special CF card is broken.
b) I got a new one today. SLCF1GBJ-F. Same revision (7.0.0) and same firmware (05/03/04) and same geometry. Only that this one reports "fixed" and not "removable". But this can NOT be the reason for one working and the other not working! (I hardcoded the config->id value ...)

--
Steven