All of lore.kernel.org
 help / color / mirror / Atom feed
* Setting 32bit IO on SATA drives
@ 2004-10-26 21:50 J.A. Magallon
  2004-10-26 23:01 ` Jeff Garzik
  2004-10-27  2:19 ` Mark Lord
  0 siblings, 2 replies; 4+ messages in thread
From: J.A. Magallon @ 2004-10-26 21:50 UTC (permalink / raw)
  To: Lista Linux-Kernel

Hi all...

I have a bunch of SATA drives on a RAID-5 setup.
I was investigating the usual things on ide disks to optimize performance,
with hdparm.

The defalt settings, as they boot:

sata_promise version 1.00
ACPI: PCI interrupt 0000:00:07.0[A] -> GSI 17 (level, low) -> IRQ 177
ata1: SATA max UDMA/133 cmd 0xF0802200 ctl 0xF0802238 bmdma 0x0 irq 177
...
ata1: dev 0 cfg 49:2f00 82:7c6b 83:7f09 84:4003 85:7c69 86:3e01 87:4003 88:407f
ata1: dev 0 ATA, max UDMA/133, 490234752 sectors: lba48
ata1: dev 0 configured for UDMA/133

nada:~# lsscsi -l
[0:0:0:0]    disk    ATA      Maxtor 7Y250M0   YAR5  /dev/sda
  state=running queue_depth=1 scsi_level=6 type=0 device_blocked=0 timeout=30

nada:~# hdparm /dev/sda

/dev/sda:
 HDIO_GET_MULTCOUNT failed: Operation not supported
 IO_support   =  0 (default 16-bit)
 readonly     =  0 (off)
 readahead    = 256 (on)
 geometry     = 30515/255/63, sectors = 251000193024, start = 0

nada:~# hdparm -c /dev/sda

/dev/sda:
 IO_support   =  0 (default 16-bit)

nada:~# 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)

How can I make 32bit IO active ?

TIA

--
J.A. Magallon <jamagallon()able!es>     \               Software is like sex:
werewolf!able!es                         \         It's better when it's free
Mandrakelinux release 10.1 (Community) for i586
Linux 2.6.9-jam1 (gcc 3.4.1 (Mandrakelinux 10.1 3.4.1-4mdk)) #4



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Setting 32bit IO on SATA drives
  2004-10-26 21:50 Setting 32bit IO on SATA drives J.A. Magallon
@ 2004-10-26 23:01 ` Jeff Garzik
  2004-10-27  2:19 ` Mark Lord
  1 sibling, 0 replies; 4+ messages in thread
From: Jeff Garzik @ 2004-10-26 23:01 UTC (permalink / raw)
  To: J.A. Magallon; +Cc: Lista Linux-Kernel

J.A. Magallon wrote:
> How can I make 32bit IO active ?


32bit isn't relevant if you are using DMA.

libata is hardcoded to use 16bit PIO data transfers.

	Jeff


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Setting 32bit IO on SATA drives
  2004-10-26 21:50 Setting 32bit IO on SATA drives J.A. Magallon
  2004-10-26 23:01 ` Jeff Garzik
@ 2004-10-27  2:19 ` Mark Lord
  2004-10-27 20:16   ` Bill Davidsen
  1 sibling, 1 reply; 4+ messages in thread
From: Mark Lord @ 2004-10-27  2:19 UTC (permalink / raw)
  To: J.A. Magallon; +Cc: Lista Linux-Kernel

 > HDIO_GET_MULTCOUNT failed: Operation not supported

Fyi, I have removed that bogus error message from my
working copy of hdparm.

Cheers
-- 
Mark Lord
(hdparm keeper & the original "Linux IDE Guy")

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Setting 32bit IO on SATA drives
  2004-10-27  2:19 ` Mark Lord
@ 2004-10-27 20:16   ` Bill Davidsen
  0 siblings, 0 replies; 4+ messages in thread
From: Bill Davidsen @ 2004-10-27 20:16 UTC (permalink / raw)
  To: linux-kernel, Mark Lord; +Cc: J.A. Magallon, Lista Linux-Kernel

Mark Lord wrote:
>  > HDIO_GET_MULTCOUNT failed: Operation not supported
> 
> Fyi, I have removed that bogus error message from my
> working copy of hdparm.

I thought it wasn't supported. I presume you mean you detected that the 
operation should not be attempted rather than causing an error to fail 
silently.

-- 
    -bill davidsen (davidsen@tmr.com)
"The secret to procrastination is to put things off until the
  last possible moment - but no longer"  -me

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-10-27 20:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-26 21:50 Setting 32bit IO on SATA drives J.A. Magallon
2004-10-26 23:01 ` Jeff Garzik
2004-10-27  2:19 ` Mark Lord
2004-10-27 20:16   ` Bill Davidsen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.