[Hardware] udma-режим на одном шлейфе для двух иде-винчестеров
Ruslan Gordeev
ruslan.gordeev на rambler.ru
Вт Апр 20 07:16:04 MSD 2004
On Mon, 19 Apr 2004 13:57:11 +0400
Sergey Vlasov <vsu at altlinux.ru> wrote:
> Странное явление. А что при этом в выводе dmesg и в /proc/ide/sis?
> И посмотрите, что выдаёт hdparm с опцией -I.
>
rlx at finoadmin> sudo dmesg|grep hdc
ide1: BM-DMA at 0xb408-0xb40f, BIOS settings: hdc:DMA, hdd:DMA
hdc: Maxtor 6Y160P0, ATA DISK drive
hdc: attached ide-disk driver.
hdc: host protected area => 1
hdc: 320173056 sectors (163929 MB) w/7936KiB Cache, CHS=19929/255/63, UDMA(133)
hdc: hdc1
rlx at finoadmin> sudo dmesg|grep hdd
ide1: BM-DMA at 0xb408-0xb40f, BIOS settings: hdc:DMA, hdd:DMA
hdd: Maxtor 6Y160P0, ATA DISK drive
hdd: attached ide-disk driver.
hdd: host protected area => 1
hdd: 320173056 sectors (163929 MB) w/7936KiB Cache, CHS=19929/255/63, UDMA(133)
hdd: hdd1
rlx at finoadmin> cat /proc/ide/sis
SiS 5513 Ultra 133 chipset
--------------- Primary Channel ---------------- Secondary Channel -------------
Channel Status: On On
Operation Mode: Compatible Compatible
Cable Type: 80 pins 80 pins
Drive 0:
UDMA Enabled UDMA Enabled
UDMA Cycle Time 3 CLK UDMA Cycle Time 2 CLK
Drive 1:
UDMA Enabled UDMA Enabled
UDMA Cycle Time 6 CLK UDMA Cycle Time 2 CLK
rlx at finoadmin> sudo hdparm -I /dev/hdc
/dev/hdc:
ATA device, with non-removable media
Model Number: Maxtor 6Y160P0
Serial Number: Y43XRPJE
Firmware Revision: YAR41BW0
Standards:
Supported: 7 6 5 4
Likely used: 7
Configuration:
Logical max current
cylinders 16383 65535
heads 16 1
sectors/track 63 63
--
CHS current addressable sectors: 4128705
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 320173056
device size with M = 1024*1024: 156334 MBytes
device size with M = 1000*1000: 163928 MBytes (163 GB)
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 1
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Advanced power management level: unknown setting (0x0000)
Recommended acoustic management value: 192, current value: 254
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
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
* FLUSH CACHE EXT command
* Mandatory FLUSH CACHE command
* Device Configuration Overlay feature set
* 48-bit Address 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 the jumper
Checksum: correct
rlx at finoadmin> sudo hdparm -I /dev/hdd ~
/dev/hdd:
ATA device, with non-removable media
Model Number: Maxtor 6Y160P0
Serial Number: Y43XRVJE
Firmware Revision: YAR41BW0
Standards:
Supported: 7 6 5 4
Likely used: 7
Configuration:
Logical max current
cylinders 16383 65535
heads 16 1
sectors/track 63 63
--
CHS current addressable sectors: 4128705
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 320173056
device size with M = 1024*1024: 156334 MBytes
device size with M = 1000*1000: 163928 MBytes (163 GB)
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 1
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Advanced power management level: unknown setting (0x0000)
Recommended acoustic management value: 192, current value: 254
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
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
* FLUSH CACHE EXT command
* Mandatory FLUSH CACHE command
* Device Configuration Overlay feature set
* 48-bit Address 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 = 1 determined by the jumper
Checksum: correct
Насколько я понимаю, все пучком. Везде udma включен. Это сразу после перезагрузки. Запускаю консоль, пытаюсь писать на hdd1 - скорость сначала резвая. потом резко падает, система - 100% загрузка. ПРерываю запись, проверяю:
sudo dmesg|grep hdd
ide1: BM-DMA at 0xb408-0xb40f, BIOS settings: hdc:DMA, hdd:DMA
hdd: Maxtor 6Y160P0, ATA DISK drive
hdd: attached ide-disk driver.
hdd: host protected area => 1
hdd: 320173056 sectors (163929 MB) w/7936KiB Cache, CHS=19929/255/63, UDMA(133)
hdd: hdd1
hdd: DMA disabled
DMA ВЫКЛЮЧЕН! Нифига не пойму. hdparm -(i|I) показывает udma режим для этого винта.
/proc/ide/sis - все без изменений.
Бред какой-то...
--
With best regards,
Rulix.
ICQ: 24740791
JID: rulix at jabber.ru
http://www.rulix.tk
Подробная информация о списке рассылки Hardware