Bugzilla – Bug 117684
YaST-module for IDE DMA mode does not list UltraDMA/100 for Hitachi HDS722525VLAT80
Last modified: 2005-09-22 07:18:08 UTC
When I try to set the IDE DMA mode of my brand new 250 GB Hitachi HDS722525VLAT80 to UltraDMA/100, only DMA modes up to UltraDMA/33 are listed. However, with the 160 GB model HDS722516VLAT80 of the same series, all modes up to UltraDMA/100 are listed. Furthermore, the commands cat /proc/ide/ide0/hda/settings and cat /proc/ide/ide1/hdc/settings list "70" as "max" for "current_speed" for both harddisks, which seems to specify the DMA mode, and UltraDMA/100 should correspond to 69, so it should be supported for both. When I specify /dev/hda:udma5 /dev/hdc:udma5 as DEVICES_FORCE_IDE_DMA both harddisks are set to UltraDMA/100 correctly. Why doesn't the IDE DMA module let me select UltraDMA/100 in the first place?
The yast module detects possible values using 'hdparm -i <device>' command. Please, attach output of the command for the disks.
hdparm does not give UDMA 5 for the 250 GB disk. No mode is marked as active probably because I have "/dev/hda:udma5 /dev/hdc:udma5" as "DEVICES_FORCE_IDE_DMA". Output: /sbin/hdparm -i /dev/hdc /dev/hdc: Model=HDS722525VLAT80, FwRev=V36OA6MA, SerialNo=VN69TECKC2ET8A Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs } RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=52 BuffType=DualPortCache, BuffSize=7938kB, MaxMultSect=16, MultSect=16 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 pio3 pio4 DMA modes: mdma0 mdma1 mdma2 UDMA modes: udma0 udma1 udma2 AdvancedPM=yes: disabled (255) WriteCache=enabled Drive conforms to: ATA/ATAPI-6 T13 1410D revision 3a: * signifies the current active mode /sbin/hdparm -i /dev/hda /dev/hda: Model=HDS722516VLAT80, FwRev=V34OA6EA, SerialNo=VN643ECDD516WD Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs } RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=52 BuffType=DualPortCache, BuffSize=7938kB, MaxMultSect=16, MultSect=16 CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455 IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120} PIO modes: pio0 pio1 pio2 pio3 pio4 DMA modes: mdma0 mdma1 mdma2 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5 AdvancedPM=yes: disabled (255) WriteCache=enabled Drive conforms to: ATA/ATAPI-6 T13 1410D revision 3a: * signifies the current active mode
Hdparm reports UDMA33 as the fastest mode. The problem may be in the hdparm utility, kernel or in the disk itself. Reassigned to hdparm maintainer
"hdparm maintainer" that does not really know too much about the internals ... expanding CC list. Jens: can you help ?
Please try hdparm -I
To me, it looks like they both report udma5. For the 250 GB model: hdparm -I /dev/hdc /dev/hdc: ATA device, with non-removable media powers-up in standby; SET FEATURES subcmd spins-up. Model Number: HDS722525VLAT80 Serial Number: VN69TECKC2ET8A Firmware Revision: V36OA6MA Standards: Used: ATA/ATAPI-6 T13 1410D revision 3a Supported: 6 5 4 3 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: 488397168 device size with M = 1024*1024: 238475 MBytes device size with M = 1000*1000: 250059 MBytes (250 GB) Capabilities: LBA, IORDY(can be disabled) bytes avail on r/w long: 52 Queue depth: 32 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 (0x00fe) Recommended acoustic management value: 128, current value: 254 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: * NOP cmd * READ BUFFER cmd * WRITE BUFFER cmd * Host Protected Area feature set * Release interrupt * 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 Address Offset Reserved Area Boot SET FEATURES subcommand required to spinup after power up Power-Up In Standby feature set Advanced Power Management feature set * READ/WRITE DMA QUEUED * General Purpose Logging feature set * 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 120min for SECURITY ERASE UNIT. HW reset results: CBLID- below Vih Device num = 0 determined by CSEL Checksum: correct For the 160 GB model: hdparm -I /dev/hda /dev/hda: ATA device, with non-removable media powers-up in standby; SET FEATURES subcmd spins-up. Model Number: HDS722516VLAT80 Serial Number: VN643ECDD516WD Firmware Revision: V34OA6EA Standards: Used: ATA/ATAPI-6 T13 1410D revision 3a Supported: 6 5 4 3 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: 321672960 device size with M = 1024*1024: 157066 MBytes device size with M = 1000*1000: 164696 MBytes (164 GB) Capabilities: LBA, IORDY(can be disabled) bytes avail on r/w long: 52 Queue depth: 32 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 (0x00fe) Recommended acoustic management value: 128, current value: 254 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: * NOP cmd * READ BUFFER cmd * WRITE BUFFER cmd * Host Protected Area feature set * Release interrupt * 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 Address Offset Reserved Area Boot SET FEATURES subcommand required to spinup after power up Power-Up In Standby feature set Advanced Power Management feature set * READ/WRITE DMA QUEUED * General Purpose Logging feature set * 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 88min for SECURITY ERASE UNIT. HW reset results: CBLID- above Vih Device num = 0 determined by CSEL Checksum: correct
OK, so the yast module should use -I switch ...
Fixed in yast2-tune-2.13.0