[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: i cant use hdparm to configure my hard disk drive



On Tuesday 13 December 2005 21:03, 飘雨时分 wrote:
> # hdparm -c1 /dev/hda5
>
> /dev/hda5:
> setting 32-bit IO_support flag to 1
> HDIO_SET_32BIT failed: Invalid argument
> IO_support = 0 (default 16-bit)
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> does my hard disk support IO_32?
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> # hdparm -I /dev/hda5

I don't know,but you only need to specify a hard drive device not a 
partition on the device, i.e. /dev/hda not /dev/hda5

> /dev/hda5:
>
> ATA device, with non-removable media
> Model Number: ST340810A
> Serial Number: 3FB0YPJB
> Firmware Revision: 3.34
> Standards:
> Supported: 6 5 4 3
> Likely used: 6
> Configuration:
> Logical max current
> cylinders 16383 16383
> heads 16 16
> sectors/track 63 63
> --
> CHS current addressable sectors: 16514064
> LBA user addressable sectors: 71682031
> device size with M = 1024*1024: 35000 MBytes
> device size with M = 1000*1000: 36701 MBytes (36 GB)
> Capabilities:
> LBA, IORDY(can be disabled)
> bytes avail on r/w long: 4 Queue depth: 1
> Standby timer values: spec'd by Standard
> R/W multiple sector transfer: Max = 16 Current = ?
> Advanced power management level: unknown setting (0x0040)
> Recommended acoustic management value: 128, current value: 128
> DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
> Cycle time: min=120ns recommended=120ns
> PIO: pio0 pio1 pio2 pio3 pio4
> Cycle time: no flow control=240ns IORDY flow control=120ns
> Commands/features:
> Enabled Supported:
> * READ BUFFER cmd
> * WRITE BUFFER cmd
> * Host Protected Area feature set
> * Look-ahead
> * Write cache
> * Power Management feature set
> Security Mode feature set
> SMART feature set
> * Device Configuration Overlay feature set
> * Automatic Acoustic Management feature set
> SET MAX security extension
> * Advanced Power Management feature set
> * DOWNLOAD MICROCODE cmd
> * SMART self-test
> * SMART error logging
> Security:
> Master password revision code = 65534
> supported
> not enabled
> not locked
> not frozen
> not expired: security count
> not supported: enhanced erase
> HW reset results:
> CBLID- above Vih
> Device num = 0 determined by CSEL
> Checksum: correct
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> this is /dev/hda5
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /dev/hda5:
> multcount = 0 (off)
> IO_support = 0 (default 16-bit)
> unmaskirq = 0 (off)
> using_dma = 1 (on)
> keepsettings = 0 (off)
> readonly = 0 (off)
> readahead = 256 (on)
> geometry = 65535/16/63, sectors = 11888037, start = 12289788

-- 
Greg Madden



Reply to: