[Hardware] hdparm and drives
Andriy Dobrovol's'kii
dobr на iop.kiev.ua
Пт Мар 4 14:57:27 MSK 2005
Hi
Есть система с несколькими устройствами на IDE.
hdparm -I /dev/hdd
/dev/hdd:
ATAPI CD-ROM, with removable media
Model Number: HL-DT-STDVD-ROM GDR8162B
Serial Number:
Firmware Revision: 0015
Standards:
Likely used CD-ROM ATAPI-1
Configuration:
DRQ response: 50us.
Packet size: 12 bytes
Capabilities:
LBA, IORDY(can be disabled)
DMA: sdma0 sdma1 sdma2 mdma0 mdma1 mdma2 udma0 udma1 *udma2
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow
control=120ns
hdparm -I /dev/hdc
/dev/hdc:
ATAPI CD-ROM, with removable media
Model Number: _NEC CD-RW NR-7800B
Serial Number:
Firmware Revision: 1.01
Standards:
Likely used CD-ROM ATAPI-1
Configuration:
DRQ response: 3ms.
Packet size: 12 bytes
Capabilities:
LBA, IORDY(cannot be disabled)
DMA: mdma0 mdma1 mdma2 udma0 udma1 *udma2
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow
control=120ns
hdparm -I /dev/hda
/dev/hda:
ATA device, with non-removable media
Model Number: SAMSUNG SV4002H
Serial Number: 0379J1FT137559
Firmware Revision: QP100-07
Standards:
Used: ATA/ATAPI-6 T13 1410D revision 1
Supported: 6 5 4 3
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 78242976
device size with M = 1024*1024: 38204 MBytes
device size with M = 1000*1000: 40060 MBytes (40 GB)
Capabilities:
LBA, IORDY(cannot be disabled)
bytes avail on r/w long: 4 Queue depth: 1
Standby timer values: spec'd by Standard, no device
specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Recommended acoustic management value: 128, current value: 0
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=120ns IORDY flow
control=120ns
Commands/features:
Enabled Supported:
* NOP cmd
* 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
* Mandatory FLUSH CACHE command
Automatic Acoustic Management feature set
SET MAX security extension
* DOWNLOAD MICROCODE cmd
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
supported: enhanced erase
20min for SECURITY ERASE UNIT. 20min for ENHANCED SECURITY
ERASE UNIT.
HW reset results:
CBLID- above Vih
Device num = 0 determined by the jumper
Checksum: correct
Всё работает, но как-то медленно.
Есть желание "получить больше за те же деньги". :)
Файл /etc/sysconfig/harddisks сплошные комментарии. Я правильно
понимаю, что в моем случае снять комментарий с включения дма вполне
безопасно? И в строку дополнительных ключей можно внести установку
режима pio4?
Или не стоит? И нужно создавать по отдельному файлу на каждое
устройство в /etc/sysconfig/harddisk?
--
Rgrds,
Andriy
*********************************************************************
email: dobr at iop dot kiev dot ua Kyiv, Ukraine
Phone: (380-44) 265-7824 Department of Gas Electronics
Fax: (380-44) 265-2329 Institute of Physics of NASU
*********************************************************************
Подробная информация о списке рассылки Hardware