Hi guys,
I am another newbie trying to answer a question, here on my eeepc
701, hdparm gives even more limited information. This is a 2g
kingston compact flash. (Note that even though last line reports i/o
error, nothing was written in /var/log/messages about it). I suspect
device drivers to yield a block device asap but let optimizations and
other extras aside.
satelite ~ # hdparm --verbose /dev/sda ; hdparm -i --verbose /dev/sda
; hdparm -I --verbose /dev/sda
/dev/sda:
HDIO_GET_32BIT failed: Invalid argument
HDIO_GET_UNMASKINTR failed: Invalid argument
HDIO_GET_DMA failed: Invalid argument
HDIO_GET_KEEPSETTINGS failed: Invalid argument
readonly = 0 (off)
readahead = 256 (on)
geometry = 7856/16/32, sectors = 4022272, start = 0
/dev/sda:
HDIO_GET_IDENTITY failed: Invalid argument
/dev/sda:
outgoing cdb: 85 08 2e 00 00 00 00 00 00 00 00 00 00 40 ec 00
SG_IO: ATA_16 status=0x2, host_status=0x0, driver_status=0x8
SG_IO: sb[] = {70 00 05 00 00 00 00 10}
SG_IO: bad/missing ATA_16 sense data:: 70 00 05 00 00 00 00 10 00 00
00 00 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
outgoing cdb: 85 08 2e 00 00 00 00 00 00 00 00 00 00 40 a1 00
SG_IO: ATA_16 status=0x2, host_status=0x0, driver_status=0x8
SG_IO: sb[] = {70 00 05 00 00 00 00 10}
SG_IO: bad/missing ATA_16 sense data:: 70 00 05 00 00 00 00 10 00 00
00 00 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
HDIO_DRIVE_CMD(identify) failed: Input/output error
On Wed, Sep 24, 2008 at 1:51 PM, Mick <[EMAIL PROTECTED]> wrote:
> 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
>
--
When Earth was the only inhabited planet in the Galaxy, it was a
primitive place, militarily speaking. The only weapon they had ever
invented worth mentioning was a crude and inefficient nuclear-reaction
bomb for which they had not even developed the logical defense. -
Asimov