On Tuesday 23 September 2008, James wrote:
> Hello,
>
> I have a 4M sandisk card and need advice on what to put
> in the /etc/conf.d/hdparm file.
>
> Here's the hardware
> CompactFlash ATA device
>         Model Number:       SanDisk SDCFB-4096
>         Serial Number:      003416B2397F2159
>         Firmware Revision:  HDX 4.03
> Standards:
>         Supported: 4
>         Likely used: 4
> Configuration:
>         Logical         max     current
>         cylinders       7964    7964
>         heads           16      16
>         sectors/track   63      63
>         --
>         CHS current addressable sectors:    8027712
>         LBA    user addressable sectors:    8027712
>         device size with M = 1024*1024:        3919 MBytes
>         device size with M = 1000*1000:        4110 MBytes (4 GB)
> Capabilities:
>         LBA, IORDY(may be)(cannot be disabled)
>         Standby timer values: spec'd by Vendor
>         R/W multiple sector transfer: Max = 4   Current = 4
>         DMA: mdma0 mdma1 mdma2 (?)
>              Cycle time: min=120ns recommended=120ns
>         PIO: pio0 pio1 pio2 pio3 pio4
>              Cycle time: no flow control=120ns  IORDY flow control=120ns
> Commands/features:
>         Enabled Supported:
>            *    CFA feature set
>
>
>
>
> Any suggestion as to what to put in the /etc/conf.d/hdparm file are
> most welcome.
>
> It's running gentoo just fine with the default entries....

I can't answer your question directly - but from my USB flash card I see that 
hdparm is not reading it as a hard drive.  I can only assume that the CF 
controller chip is not compatible with the hdparm IO for IDE chip drives:

# hdparm /dev/sda

/dev/sda:
 readonly      =  0 (off)
 readahead     = 256 (on)
 geometry      = 1023/32/61, sectors = 1997312, start = 0

# hdparm -i /dev/sda

/dev/sda:
 HDIO_GET_IDENTITY failed: Invalid argument

# hdparm -I /dev/sda

/dev/sda:
 HDIO_DRIVE_CMD(identify) failed: Input/output error

-- 
Regards,
Mick

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to