linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Alpha: ALi 15x3 DMA completely broken now
@ 2003-11-06  6:34 Jason Papadopoulos
  2003-11-06  6:58 ` viro
  0 siblings, 1 reply; 3+ messages in thread
From: Jason Papadopoulos @ 2003-11-06  6:34 UTC (permalink / raw)
  To: linux-kernel


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?

Thanks in advance,
jasonp


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

* Re: Alpha: ALi 15x3 DMA completely broken now
  2003-11-06  6:34 Alpha: ALi 15x3 DMA completely broken now Jason Papadopoulos
@ 2003-11-06  6:58 ` viro
  2003-11-07  6:28   ` Jason Papadopoulos
  0 siblings, 1 reply; 3+ messages in thread
From: viro @ 2003-11-06  6:58 UTC (permalink / raw)
  To: Jason Papadopoulos; +Cc: linux-kernel

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?

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

* Re: Alpha: ALi 15x3 DMA completely broken now
  2003-11-06  6:58 ` viro
@ 2003-11-07  6:28   ` Jason Papadopoulos
  0 siblings, 0 replies; 3+ messages in thread
From: Jason Papadopoulos @ 2003-11-07  6:28 UTC (permalink / raw)
  To: viro; +Cc: linux-kernel

At 06:58 AM 11/6/03 +0000, viro@parcelfarce.linux.theplanet.co.uk wrote:

 >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:

I actually have a rev c1 controller.

And it works now, with DMA turned on at boot time. Attempting to
turn on UDMA with hdparm, even with irq.c patched, still causes
an immediate hang.

I don't care though. Thanks a million.

jasonp


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

end of thread, other threads:[~2003-11-07 22:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-06  6:34 Alpha: ALi 15x3 DMA completely broken now Jason Papadopoulos
2003-11-06  6:58 ` viro
2003-11-07  6:28   ` Jason Papadopoulos

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).