Re: Alpha: ALi 15x3 DMA completely broken now

From: viro
Date: Thu Nov 06 2003 - 01:59:25 EST


On Thu, Nov 06, 2003 at 01:34:35AM -0500, Jason Papadopoulos wrote:
>
> Hello. 2.4.21-rc could not start DMA at boot time on
> my system, but hdparm could turn it on afterwards. Now
> with 2.4.22, nothing will turn on DMA; using hdparm
> locks the machine immediately.
>
> The machine in question is an DS10 Alphaserver, Ali
> M5229 rev c0 IDE controller. Has 2.4.23-pre made any
> fixes for this device?

Yes - setup_irq() fix in 2.4.23-pre8 (arch/alpha/kernel/irq.c) had
fixed IDE hangs on DS10 (verified for 5229 rev c1). If that doesn't
help, try to narrow it down - try 2.4.21-* + irq.c change and see
where does it stop working.

It should be able to do DMA at boot time, BTW:

wynton:~# dmesg |head -2
Linux version 2.4.23-pre8 (al@wynton) (gcc version 3.3.2 20031005 (Debian prerelease)) #1 SMP Fri Oct 24 04:27:45 EDT 2003
Booting GENERIC on Tsunami variation Webbrick using machine vector Webbrick from SRM
wynton:~# lspci |grep M5229
00:0d.0 IDE interface: ALi Corporation M5229 IDE (rev c1)
wynton:~# hdparm -i /dev/hdc|grep modes
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 *udma2 udma3 udma4
wynton:~# hdparm -i /dev/hda|grep modes
PIO modes: pio0 pio1 pio2 pio3 pio4
DMA modes: sdma0 sdma1 sdma2 mdma0 mdma1 *mdma2

DS10 with cdrom on hda and disk on hdc, no ide-related arguments in command
line. Revision c0 won't do UDMA, but it should be able to do DMA just fine...

What configuration do you have?
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/