PDA

View Full Version : can't enable DMA on SATA drives (which come up as hda???)


johannlo
2006-11-17, 10:43 PM CST
Hi - I can't use hdparm -d1 flag, it gives operation not permitted.

Even stranger, I have 3x SATA drives on my Gigabyte 965P mobo. Two are running through the intel controller and one through the gigabyte controller. The HDD on the gigabyte controller comes up as sda and screams. But the two attached to 'IDE' ??? are very slow, which is why I need to turn on DMA!!!

OUtputs attached below

/dev/hda:

Model=ST3320620AS, FwRev=3.AAE, SerialNo=5QF1DENY
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs RotSpdTol>.5% }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=unknown, BuffSize=16384kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
IORDY=on/off, tPIO={min:120,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=no WriteCache=enabled
Drive conforms to: Unspecified: ATA/ATAPI-1 ATA/ATAPI-2 ATA/ATAPI-3 ATA/ATAPI-4 ATA/ATAPI-5 ATA/ATAPI-6 ATA/ATAPI-7

* signifies the current active mode

[root@localhost johannlo]# hdparm -I /dev/hda

/dev/hda:

ATA device, with non-removable media
Model Number: ST3320620AS
Serial Number: 5QF1DENY
Firmware Revision: 3.AAE
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: 625142448
device size with M = 1024*1024: 305245 MBytes
device size with M = 1000*1000: 320072 MBytes (320 GB)
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Recommended acoustic management value: 254, current value: 0
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:
SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
* Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* DOWNLOAD_MICROCODE
SET_MAX security extension
* 48-bit Address feature set
* Device Configuration Overlay feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
* General Purpose Logging feature set
* SATA-I signaling speed (1.5Gb/s)
* SATA-II signaling speed (3.0Gb/s)
* Native Command Queueing (NCQ)
* Phy event counters
Device-initiated interface power management
* Software settings preservation
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
not supported: enhanced erase
Checksum: correct

johannlo
2006-11-18, 06:56 AM CST
I fixed it - just used the noprobe=hda (etc.) options on my kernel line. now its seeing it as sda, sdb (etc.) and lsmod no longer gives me any ide modules loaded except for cd-rom!

Now FC6 is positively blazing (just like windoze hehe)

/dev/sdc:
Timing cached reads: 16728 MB in 2.00 seconds = 8379.23 MB/sec
Timing buffered disk reads: 222 MB in 3.01 seconds = 73.85 MB/sec