[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: harddisk DMA



On Sat, Mar 19, 2005 at 09:04:07AM +0100, Uwe wrote:
> hi there,
> 
> i have 2.6.10-9 installed on SIS chipset hardware. the SIS5513 module is 
> loaded, but doesn't work with DMA support for my harddisks.
> hdparm -d1 /dev/hda tells me that this operation is not supported:
> 
> filou:~# cat /proc/ide/hda/settings 
> name                    value           min             max             mode
> ----                    -----           ---             ---             ----
> acoustic                0               0               254             rw
> address                 0               0               2               rw
> bios_cyl                65535           0               65535           rw
> bios_head               16              0               255             rw
> bios_sect               63              0               63              rw
> bswap                   0               0               1               r
> current_speed           0               0               70              rw
> failures                0               0               65535           rw
> init_speed              0               0               70              rw
> io_32bit                0               0               3               rw
> keepsettings            0               0               1               rw
> lun                     0               0               7               rw
> max_failures            1               0               65535           rw
> multcount               0               0               16              rw
> nice1                   1               0               1               rw
> nowerr                  0               0               1               rw
> number                  0               0               3               rw
> pio_mode                write-only      0               255             w
> unmaskirq               0               0               1               rw
> using_dma               0               0               1               rw
> wcache                  1               0               1               rw
> filou:~# 
> filou:~# hdparm -d1 /dev/hda
> 
> /dev/hda:
>  setting using_dma to 1 (on)
>  HDIO_SET_DMA failed: Operation not permitted
>  using_dma    =  0 (off)
> filou:~# 
> 
> 
> i have no idea, weher to start searching. there is also some misterious dmesg 
> message:
> 
> PCI: Using ACPI for IRQ routing
> ** Routing PCI interrupts for all devices because "pci=routeirq"
> ** was specified.  If this was required to make a driver work,
> ** please email the output of "lspci" to bjorn.helgaas@hp.com
> ** so I can fix the driver.
> ACPI: PCI interrupt 0000:00:02.7[C] -> GSI 18 (level, low) -> IRQ 18
> ACPI: PCI interrupt 0000:00:03.0[A] -> GSI 20 (level, low) -> IRQ 20
> ACPI: PCI interrupt 0000:00:03.1[B] -> GSI 21 (level, low) -> IRQ 21
> ACPI: PCI interrupt 0000:00:03.2[C] -> GSI 22 (level, low) -> IRQ 22
> ACPI: PCI interrupt 0000:00:03.3[D] -> GSI 23 (level, low) -> IRQ 23
> ACPI: PCI interrupt 0000:00:04.0[A] -> GSI 19 (level, low) -> IRQ 19
> ACPI: PCI interrupt 0000:00:05.0[A] -> GSI 17 (level, low) -> IRQ 17
> ACPI: PCI interrupt 0000:00:06.0[A] -> GSI 16 (level, low) -> IRQ 16
> ACPI: PCI interrupt 0000:00:07.0[A] -> GSI 16 (level, low) -> IRQ 16
> ACPI: PCI interrupt 0000:00:09.0[A] -> GSI 16 (level, low) -> IRQ 16
> PCI-DMA: Disabling IOMMU.
> 
> but i don't know if this corresponds to a non working ide-dma...

Could you include the section of dmesg where ide is detected and setup?
Gotta make sure it didn't load ide-generic before the sis driver in
which case the generic driver (which is not dma capable obviously) is
running the drives instead of the native sis driver (which likely does
support dma).

Also which model HD is it?  Some are blicklisted in the kernel for
having some firmware bug that makes the drive unreliable with dma
enabled on certain controllers.

Len Sorensen



Reply to: