The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* Re: DMA problem (?) w/2.4.6-xfs and ServerWorks OSB4 Chipset
@ 2001-09-30 20:37 Marvin Justice
  2001-09-30 20:50 ` Alan Cox
  2001-10-01 14:59 ` Steven Timm
  0 siblings, 2 replies; 15+ messages in thread
From: Marvin Justice @ 2001-09-30 20:37 UTC (permalink / raw)
  To: linux-kernel; +Cc: timm

The error :

Curious - OSB4 thinks the DMA is still running.
OSB4 wait exit

appears to occur during the "rewrite" phase of Bonnie++ every time we run it.
The setup is a Tyan 2515 with a Seagate ST310211A drive. Bonnie ran for ~48 
hours on 2.4.10 without slowdown (I assume this is because the extra check in 
-ac isn't present) but there was some file system corruption after the 1st 24 
hours:

EXT2-fs error (device ide0(3,6)): ext2_free_blocks: Freeing blocks not in 
datazone - block = 2138996092, count = 1

Here's the lspci:

00:00.0 Host bridge: ServerWorks CNB20LE (rev 06)
	Flags: bus master, medium devsel, latency 32

00:00.1 Host bridge: ServerWorks CNB20LE (rev 06)
	Flags: bus master, medium devsel, latency 16

[snip]

00:0f.0 ISA bridge: ServerWorks OSB4 (rev 50)
	Subsystem: ServerWorks OSB4
	Flags: bus master, medium devsel, latency 0

00:0f.1 IDE interface: ServerWorks: Unknown device 0211 (prog-if 8a [Master 
SecP PriP])
	Flags: bus master, medium devsel, latency 64
	I/O ports at ffa0 [size=16]


-- 
Marvin Justice
Software Developer
BOXX Technologies, Inc.
www.boxxtech.com
512-235-6318 (V)
412-835-0434 (F)

^ permalink raw reply	[flat|nested] 15+ messages in thread
* re: DMA problem (?) w/2.4.6-xfs and Serverworks OSB4 Chipset
@ 2001-10-12 20:31 Steven Timm
  2001-10-12 21:12 ` Alan Cox
  0 siblings, 1 reply; 15+ messages in thread
From: Steven Timm @ 2001-10-12 20:31 UTC (permalink / raw)
  To: linux-kernel; +Cc: alan


I had previously reported DMA problems with ultraDMA using
Serverworks OSB4 (LE) chipset talking to IDE drives including
Western Digital and Seagate.

I am now running 2.4.9-0.18 kernel as found at Redhat's Rawhide
which includes Alan's latest diagnostic patches, and am getting
the message like this:

end_request: I/O error, dev 16:01 (hdc), sector 2487128
Curious - OSB4 thinks the DMA is still running.
OSB4 wait exit.
hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }
hdc: dma_intr: error=0x40 { UncorrectableError }, LBAsect=2487198,
sector=2487128

------------------------

with the "Curious..." patch being the new diagnostics added by Alan.
All the various failure modes which we see include this error
message now.

What does this imply...is there any hope for a fix?

Steve Timm


------------------------------------------------------------------
Steven C. Timm (630) 840-8525  timm@fnal.gov  http://home.fnal.gov/~timm/
Fermilab Computing Division/Operating Systems Support
Scientific Computing Support Group--Computing Farms Operations


^ permalink raw reply	[flat|nested] 15+ messages in thread
* Re: DMA problem (?) w/2.4.6-xfs and ServerWorks OSB4 Chipset
@ 2001-09-27 21:34 Steven Timm
  2001-09-27 22:55 ` Alan Cox
  0 siblings, 1 reply; 15+ messages in thread
From: Steven Timm @ 2001-09-27 21:34 UTC (permalink / raw)
  To: linux-kernel


The problem, as described earlier in this thread by Adam McKenna,
describes errors such as

hda: timeout waiting for DMA
hda: irq timeout: status 0x58 { DriveReady SeekComplete DataRequest}

I have been seeing these errors on a number of systems, although
only intermittently, and they have been similar in nature
on all kernels between 2.2.16 and 2.4.7.

A couple months ago it was reported that someone was testing a
2.4.7-ac2 patch level and not having any lock-ups with ultraDMA.
My question--there was a new file "serverworks.c" inserted in the
2.4.6 ac patches.  Does anyone know if that made it into the kernel
and supposedly fixed the problem?  (My guess is that it has *not*
made it in, although there is a drivers/ide/serverworks.c file
in my 2.4.7-2.9 version of the kernel, it is not the same length
and there are some diffs).  If it didn't make it in,
is there any other patch that is known to work to fix this problem
and make ultradma work properly?  (and if I should be able to RTFM
and figure this out for myself, someone please give me a pointer.)


Some have reported
that using multi-word DMA (hdparm -X34) works but this is
not fast enough for us.

We have seen quite a difference on systems that are otherwise
the same (Supermicro 370DLE w/serverworks OSB4 LE chipset) by swapping
different models of hard disk drives.  With some types of drive
(Seagate) we
observe massive corruption of the file system but nothing reported
in /var/log/messages or on the console.  Currently we see hda
timeouts (but only on about 10 systems over the course of 2 months)
which hang the machine but after a reboot things are fine (Western
Digital).

There have been some rumours on other lists that this bug is tied
to simultaneous access of both IDE busses.  Any truth to that?

If anyone can provide help in tracking the existence of the patch,
or has successfully got UltraDMA working on one of these systems by
any means necessary, please let me know.

Thanks

Steve Timm


------------------------------------------------------------------
Steven C. Timm (630) 840-8525  timm@fnal.gov  http://home.fnal.gov/~timm/
Fermilab Computing Division/Operating Systems Support
Scientific Computing Support Group--Computing Farms Operations


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

end of thread, other threads:[~2001-10-12 21:06 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-30 20:37 DMA problem (?) w/2.4.6-xfs and ServerWorks OSB4 Chipset Marvin Justice
2001-09-30 20:50 ` Alan Cox
2001-09-30 21:08   ` Marvin Justice
2001-09-30 21:45     ` Alan Cox
2001-10-01 15:04   ` Steven Timm
2001-10-01 15:10     ` Mark Hahn
2001-10-01 15:23       ` Steven Timm
2001-10-01 14:59 ` Steven Timm
  -- strict thread matches above, loose matches on Subject: below --
2001-10-12 20:31 DMA problem (?) w/2.4.6-xfs and Serverworks " Steven Timm
2001-10-12 21:12 ` Alan Cox
2001-09-27 21:34 DMA problem (?) w/2.4.6-xfs and ServerWorks " Steven Timm
2001-09-27 22:55 ` Alan Cox
2001-09-28 14:53   ` Steven Timm
2001-09-28 15:04     ` Alan Cox
2001-10-04 15:20   ` Benjamin S. Scarlet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox