public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Soeren Sonnenburg <kernel@nn7.de>
To: chuck@encinc.com
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: HPT37x hangs on bus load (IDE DMA hangs on KT400 (shared IRQ problem?))
Date: 23 Aug 2003 12:00:25 +0200	[thread overview]
Message-ID: <1061632825.13919.18.camel@localhost> (raw)

> I have a machine with a Soyo Dragon motherboard (Via KT400 chipset). It has
> an onboard Highpoint HPT372 IDE controller in addition to the Via
> chipset's. I run into trouble reading from these drives with DMA enabled at
> the same time as heavy network activity. (a hang with or without errors or
> a panic, depending on the kernel version). If it manages to work for a few
> minutes, I'll get corruption on the disk reads. With DMA off, everything
> seems OK.

Wow, that seems to be exactly/very close to the problem that I do
observe. When I turn off DMA everything is fine here too.

> IRQ 11 is shared between two of these controllers and the network interface.
> Also sharing that IRQ is a SCSI controller I'm booting off of, but activity on
> that device at the same time as the others doesn't seem to cause any problem.
>
> With 2.4.22-rc2 and 2.6.0-test3, I get these messages:
>
> hdc: dma_timer_expiry: dma status == 0x24

I get mostly nothing (i.e. just a hang, where num look etc is ok, but
the ide stuff seems to wait forever sysrq-t/b is no longer working or
u/s finally hangs the machine completely (no more num working).

Sometimes I see this: 
hde: dma_intr: bad DMA status (dma_stat=76)
hde: dma_intr: status=0x50 { DriveReady SeekComplete }


I have a hpt370a which does not share interrupts. When I play a movie
through a dxr3 while causing some disk activity the machine hangs sooner
or later.

This happens without on a asus a7v8x (KT400 via) with highmem disabled
all pci cards - except for the dxr3 a plain s3 graphics adapter and the
htp370 card - removed.

My guess is that the hpt driver is waiting for some event that never
happens... maybe because it gets interrupted by the network device or
the dxr3 in my case.

that happens with kernel versions 2.4.21 and 2.4.22-rc2 here.

does anyone know where it could hang ?

Soeren.


                 reply	other threads:[~2003-08-23 10:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1061632825.13919.18.camel@localhost \
    --to=kernel@nn7.de \
    --cc=chuck@encinc.com \
    --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