1 |
Hi guys, |
2 |
I am another newbie trying to answer a question, here on my eeepc |
3 |
701, hdparm gives even more limited information. This is a 2g |
4 |
kingston compact flash. (Note that even though last line reports i/o |
5 |
error, nothing was written in /var/log/messages about it). I suspect |
6 |
device drivers to yield a block device asap but let optimizations and |
7 |
other extras aside. |
8 |
|
9 |
|
10 |
satelite ~ # hdparm --verbose /dev/sda ; hdparm -i --verbose /dev/sda |
11 |
; hdparm -I --verbose /dev/sda |
12 |
|
13 |
/dev/sda: |
14 |
HDIO_GET_32BIT failed: Invalid argument |
15 |
HDIO_GET_UNMASKINTR failed: Invalid argument |
16 |
HDIO_GET_DMA failed: Invalid argument |
17 |
HDIO_GET_KEEPSETTINGS failed: Invalid argument |
18 |
readonly = 0 (off) |
19 |
readahead = 256 (on) |
20 |
geometry = 7856/16/32, sectors = 4022272, start = 0 |
21 |
|
22 |
/dev/sda: |
23 |
HDIO_GET_IDENTITY failed: Invalid argument |
24 |
|
25 |
/dev/sda: |
26 |
outgoing cdb: 85 08 2e 00 00 00 00 00 00 00 00 00 00 40 ec 00 |
27 |
SG_IO: ATA_16 status=0x2, host_status=0x0, driver_status=0x8 |
28 |
SG_IO: sb[] = {70 00 05 00 00 00 00 10} |
29 |
SG_IO: bad/missing ATA_16 sense data:: 70 00 05 00 00 00 00 10 00 00 |
30 |
00 00 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
31 |
outgoing cdb: 85 08 2e 00 00 00 00 00 00 00 00 00 00 40 a1 00 |
32 |
SG_IO: ATA_16 status=0x2, host_status=0x0, driver_status=0x8 |
33 |
SG_IO: sb[] = {70 00 05 00 00 00 00 10} |
34 |
SG_IO: bad/missing ATA_16 sense data:: 70 00 05 00 00 00 00 10 00 00 |
35 |
00 00 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |
36 |
HDIO_DRIVE_CMD(identify) failed: Input/output error |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
On Wed, Sep 24, 2008 at 1:51 PM, Mick <michaelkintzios@×××××.com> wrote: |
42 |
> On Tuesday 23 September 2008, James wrote: |
43 |
>> Hello, |
44 |
>> |
45 |
>> I have a 4M sandisk card and need advice on what to put |
46 |
>> in the /etc/conf.d/hdparm file. |
47 |
>> |
48 |
>> Here's the hardware |
49 |
>> CompactFlash ATA device |
50 |
>> Model Number: SanDisk SDCFB-4096 |
51 |
>> Serial Number: 003416B2397F2159 |
52 |
>> Firmware Revision: HDX 4.03 |
53 |
>> Standards: |
54 |
>> Supported: 4 |
55 |
>> Likely used: 4 |
56 |
>> Configuration: |
57 |
>> Logical max current |
58 |
>> cylinders 7964 7964 |
59 |
>> heads 16 16 |
60 |
>> sectors/track 63 63 |
61 |
>> -- |
62 |
>> CHS current addressable sectors: 8027712 |
63 |
>> LBA user addressable sectors: 8027712 |
64 |
>> device size with M = 1024*1024: 3919 MBytes |
65 |
>> device size with M = 1000*1000: 4110 MBytes (4 GB) |
66 |
>> Capabilities: |
67 |
>> LBA, IORDY(may be)(cannot be disabled) |
68 |
>> Standby timer values: spec'd by Vendor |
69 |
>> R/W multiple sector transfer: Max = 4 Current = 4 |
70 |
>> DMA: mdma0 mdma1 mdma2 (?) |
71 |
>> Cycle time: min=120ns recommended=120ns |
72 |
>> PIO: pio0 pio1 pio2 pio3 pio4 |
73 |
>> Cycle time: no flow control=120ns IORDY flow control=120ns |
74 |
>> Commands/features: |
75 |
>> Enabled Supported: |
76 |
>> * CFA feature set |
77 |
>> |
78 |
>> |
79 |
>> |
80 |
>> |
81 |
>> Any suggestion as to what to put in the /etc/conf.d/hdparm file are |
82 |
>> most welcome. |
83 |
>> |
84 |
>> It's running gentoo just fine with the default entries.... |
85 |
> |
86 |
> I can't answer your question directly - but from my USB flash card I see that |
87 |
> hdparm is not reading it as a hard drive. I can only assume that the CF |
88 |
> controller chip is not compatible with the hdparm IO for IDE chip drives: |
89 |
> |
90 |
> # hdparm /dev/sda |
91 |
> |
92 |
> /dev/sda: |
93 |
> readonly = 0 (off) |
94 |
> readahead = 256 (on) |
95 |
> geometry = 1023/32/61, sectors = 1997312, start = 0 |
96 |
> |
97 |
> # hdparm -i /dev/sda |
98 |
> |
99 |
> /dev/sda: |
100 |
> HDIO_GET_IDENTITY failed: Invalid argument |
101 |
> |
102 |
> # hdparm -I /dev/sda |
103 |
> |
104 |
> /dev/sda: |
105 |
> HDIO_DRIVE_CMD(identify) failed: Input/output error |
106 |
> |
107 |
> -- |
108 |
> Regards, |
109 |
> Mick |
110 |
> |
111 |
|
112 |
|
113 |
|
114 |
-- |
115 |
When Earth was the only inhabited planet in the Galaxy, it was a |
116 |
primitive place, militarily speaking. The only weapon they had ever |
117 |
invented worth mentioning was a crude and inefficient nuclear-reaction |
118 |
bomb for which they had not even developed the logical defense. - |
119 |
Asimov |