From: Trevor Cordes <trevor@tecnopolis.ca>
To: linux-ide@vger.kernel.org
Subject: ide dma bug?
Date: Sun, 4 Sep 2005 15:18:44 -0500 [thread overview]
Message-ID: <20050904201844.GA12464@pog.tecnopolis.ca> (raw)
I'm getting a couple of times every couple of days:
Sep 1 07:09:53 piles kernel: hdq: dma_intr: bad DMA status (dma_stat=75)
Sep 1 07:09:53 piles kernel: hdq: dma_intr: status=0x50 { DriveReady SeekComplete }
Sep 1 07:09:53 piles kernel: ide: failed opcode was: unknown
Sep 1 07:10:26 piles kernel: hdr: dma_intr: bad DMA status (dma_stat=75)
Sep 1 07:10:26 piles kernel: hdr: dma_intr: status=0x50 { DriveReady SeekComplete }
Sep 1 07:10:26 piles kernel: ide: failed opcode was: unknown
Sep 3 19:41:36 piles kernel: hdt: dma_intr: bad DMA status (dma_stat=75)
Sep 3 19:41:36 piles kernel: hdt: dma_intr: status=0x50 { DriveReady SeekComplete }
Sep 3 19:41:36 piles kernel: ide: failed opcode was: unknown
It's my franken-computer file-server that has 12 IDE PATA drives running a
combo of RAID6 and RAID0 (and a little RAID1). They're running off of the
onboard Intel 845D IDE, onboard Promise PDC20276 (used only as a simple
IDE controller), 1 Promise Ultra100 TX2 PDC20268, and 2 CMD680-based
cards. 8 drives are 250GB (3 diff brands -- on purpose!), 4 are 160GB.
The 8 250's are all IDE masters. The 4 160's share 2 IDE channels
(master+slave).
The 160's are hdq, hdr, hds, and hdt. Those are the ONLY drives that show
these intermittent dma errors. Obviously the problem has to do with using
some drives as slaves. I was reluctant to put in another IDE card (having
so many already scares me), but have one on order right now. I'm hoping
having them all on master will alleviate this problem.
Note, besides the log messages, I see no other symptoms. The RAID array
stays up and things seem to run fine. However, a friend said to me the
following and so I write this email:
"Not good... means you've got DMA problems. Possibly related to
having too many scatter-gather operations pending simultaneously all
being triggered off one or two IRQs... ??? I'd post to either ATA or
Kernel or RAID mailing lists and ask for opinions, since that's a
potential BIG problem in terms of CPU usage."
"What you're telling me about those disks tells me that there's a slight
bug in the driver code - basically straggler interrup handler looks for
DMA results, sees bogosity, checks drive for errors and print message
about bad-DMA-but-drives-are-fine."
My kernel is 2.6.12-1.1372_FC3
My hdparm's are all identical:
#hdparm /dev/hds
/dev/hds:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 256 (on)
next reply other threads:[~2005-09-04 20:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-04 20:18 Trevor Cordes [this message]
2005-09-05 11:39 ` ide dma bug? Christoph Burger-Scheidlin
2005-09-05 16:00 ` Mark Lord
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=20050904201844.GA12464@pog.tecnopolis.ca \
--to=trevor@tecnopolis.ca \
--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).