mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: viro@parcelfarce.linux.theplanet.co.uk
To: Jason Papadopoulos <jasonp@boo.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Alpha: ALi 15x3 DMA completely broken now
Date: Thu, 6 Nov 2003 06:58:06 +0000	[thread overview]
Message-ID: <20031106065806.GO7665@parcelfarce.linux.theplanet.co.uk> (raw)
In-Reply-To: <5.2.1.1.2.20031106012936.00a9b030@boo.net>

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?

  reply	other threads:[~2003-11-06  6:58 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-06  6:34 Jason Papadopoulos
2003-11-06  6:58 ` viro [this message]
2003-11-07  6:28   ` Jason Papadopoulos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031106065806.GO7665@parcelfarce.linux.theplanet.co.uk \
    --to=viro@parcelfarce.linux.theplanet.co.uk \
    --cc=jasonp@boo.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®