linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Ognyan Kulev <ogi@fmi.uni-sofia.bg>
To: linux-ide@vger.kernel.org
Subject: [BUG] OPTi 621, chipset revision 18, hangs with enabled DMA
Date: Sat, 31 Jul 2004 14:41:09 +0300	[thread overview]
Message-ID: <410B8555.6090209@fmi.uni-sofia.bg> (raw)

Hi,

I'm resending here my non-replied post to lkml.  I hope this time to get 
some kind of response.

On my laptop (Compaq Armada 4120), I've used for a long time a Linux 
2.4.20 kernel just because newer kernels hang on partition checks. The 
error was something like the following and it always appeared at 
partition check (this is taken from Internet, but it was similar in my 
case):

Jan 8 22:14:15 darkstar kernel: hda: dma_timer_expiry: dma status == 0x21
Jan 8 22:14:25 darkstar kernel: hda: error waiting for DMA
Jan 8 22:14:25 darkstar kernel: hda: dma timeout retry: status=0x58 { 
DriveReady SeekComplete DataRequest }

After adding "ide=nodma", everything works fine. I see that code in 2.6 
hasn't changed since 2.4 (except because of the API changes in 2.6, of 
course).

So I would like by default DMA to be disabled for OPTi 621 or there to 
be some other resolution. Probably removing the following lines will do 
the work, but I haven't tested it:

if (!noautodma)
	hwif->autodma = 1;

(Some lines above, there is "hwif->autodma=0;".)

BTW In Linux 2.4.19 source, "grep dma drivers/ide/opti621.c" gives nothing.

Regards,
ogi


             reply	other threads:[~2004-07-31 11:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-31 11:41 Ognyan Kulev [this message]
2004-07-31 14:25 ` [BUG] OPTi 621, chipset revision 18, hangs with enabled DMA Ognyan Kulev
2004-08-01  5:55   ` Ognyan Kulev

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=410B8555.6090209@fmi.uni-sofia.bg \
    --to=ogi@fmi.uni-sofia.bg \
    --cc=linux-ide@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;
as well as URLs for NNTP newsgroup(s).