You are not logged in.
Pages: 1
I'm trying to enable 32 bit I/O support on my disk, but it's failing.
$ sudo hdparm -c3 /dev/sda
/dev/sda:
setting 32-bit IO_support flag to 3
HDIO_SET_32BIT failed: Invalid argument
IO_support = 0 (default 16-bit)
$ sudo hdparm -c1 /dev/sda
/dev/sda:
setting 32-bit IO_support flag to 1
HDIO_SET_32BIT failed: Invalid argument
IO_support = 0 (default 16-bit)
Does this have to do with the hard disk controller?
Unsupported feature or something?
Offline
32bit isn't relevant if you are using DMA.
libata is hardcoded to use 16bit PIO data transfers.
To check what transfer mode is used, run 'hdparm -I /dev/sda' and search for '*' in 'capabilities' section.
Offline
It gives me this:
Capabilities:
LBA, IORDY(can be disabled)
Standby timer values: spec'd by Standard, with device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
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=120ns IORDY flow control=120ns
Yet, I can't even enable the DMA.
$ sudo hdparm -d1 /dev/sda
/dev/sda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Inappropriate ioctl for device
Why?
Offline
hdparm doesn't work with libata driver which is used for s-ata drives and in some kernels for the old p-ata drives.
Offline
My drive is a WD 160GB ATA and I'm using kernel 2.6.20 Arch 0.8 (Voodoo).
What should I do? Is there an alternative to the libata driver?
Or alternative to hdparm?
Offline
My drive is a WD 160GB ATA and I'm using kernel 2.6.20 Arch 0.8 (Voodoo).
What should I do? Is there an alternative to the libata driver?
Or alternative to hdparm?
I did never use the arch kernels but it seems that you are using libata driver with it.
Since this is the case, you should do nothing. Libata is the new driver which is faster than the old one and it enables dma by default, for instance.
Offline
How can I tell if I'm using the libata driver?
Or how can I tell that DMA is enabled on my disk?
I saw another tool, sdparm. Is that helpful in any way?
Offline
It even says so in dmesg:
ata1.00: configured for UDMA2
1000
Offline
Ah ok thanks.
Offline
With libata the only option right now is DMA on. Also, I read somewhere in a mailing list discussing libata that 32 bit I/O makes no difference with DMA, only the older disk access modes (PIO?).
Offline
Pages: 1