1 |
On Tuesday 23 September 2008, James wrote: |
2 |
> Hello, |
3 |
> |
4 |
> I have a 4M sandisk card and need advice on what to put |
5 |
> in the /etc/conf.d/hdparm file. |
6 |
> |
7 |
> Here's the hardware |
8 |
> CompactFlash ATA device |
9 |
> Model Number: SanDisk SDCFB-4096 |
10 |
> Serial Number: 003416B2397F2159 |
11 |
> Firmware Revision: HDX 4.03 |
12 |
> Standards: |
13 |
> Supported: 4 |
14 |
> Likely used: 4 |
15 |
> Configuration: |
16 |
> Logical max current |
17 |
> cylinders 7964 7964 |
18 |
> heads 16 16 |
19 |
> sectors/track 63 63 |
20 |
> -- |
21 |
> CHS current addressable sectors: 8027712 |
22 |
> LBA user addressable sectors: 8027712 |
23 |
> device size with M = 1024*1024: 3919 MBytes |
24 |
> device size with M = 1000*1000: 4110 MBytes (4 GB) |
25 |
> Capabilities: |
26 |
> LBA, IORDY(may be)(cannot be disabled) |
27 |
> Standby timer values: spec'd by Vendor |
28 |
> R/W multiple sector transfer: Max = 4 Current = 4 |
29 |
> DMA: mdma0 mdma1 mdma2 (?) |
30 |
> Cycle time: min=120ns recommended=120ns |
31 |
> PIO: pio0 pio1 pio2 pio3 pio4 |
32 |
> Cycle time: no flow control=120ns IORDY flow control=120ns |
33 |
> Commands/features: |
34 |
> Enabled Supported: |
35 |
> * CFA feature set |
36 |
> |
37 |
> |
38 |
> |
39 |
> |
40 |
> Any suggestion as to what to put in the /etc/conf.d/hdparm file are |
41 |
> most welcome. |
42 |
> |
43 |
> It's running gentoo just fine with the default entries.... |
44 |
|
45 |
I can't answer your question directly - but from my USB flash card I see that |
46 |
hdparm is not reading it as a hard drive. I can only assume that the CF |
47 |
controller chip is not compatible with the hdparm IO for IDE chip drives: |
48 |
|
49 |
# hdparm /dev/sda |
50 |
|
51 |
/dev/sda: |
52 |
readonly = 0 (off) |
53 |
readahead = 256 (on) |
54 |
geometry = 1023/32/61, sectors = 1997312, start = 0 |
55 |
|
56 |
# hdparm -i /dev/sda |
57 |
|
58 |
/dev/sda: |
59 |
HDIO_GET_IDENTITY failed: Invalid argument |
60 |
|
61 |
# hdparm -I /dev/sda |
62 |
|
63 |
/dev/sda: |
64 |
HDIO_DRIVE_CMD(identify) failed: Input/output error |
65 |
|
66 |
-- |
67 |
Regards, |
68 |
Mick |