public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Jani Forssell" <jani.forssell@viasys.com>
To: <linux-kernel@vger.kernel.org>
Cc: "Alan Cox" <alan@lxorguk.ukuu.org.uk>,
	akpm@zip.com.au, "François Cami" <stilgar2k@wanadoo.fr>,
	daniel.blueman@btinternet.com, "Vojtech Pavlik" <vojtech@suse.cz>
Subject: VIA KT133 & HPT 370 IDE disk corruption
Date: Fri, 18 Jan 2002 17:16:33 +0200	[thread overview]
Message-ID: <00c201c1a033$1cf46700$b71c64c2@viasys.com> (raw)

We first reported disk corruption with a VIA KT133A based board (Abit KT7A)

http://marc.theaimsgroup.com/?l=linux-kernel&m=100651892331843&w=2
http://marc.theaimsgroup.com/?l=linux-kernel&m=100669782329815&w=2

and then switched to a VIA KT133 board (Abit KT7) that showed the same
symptoms. It finally seems to be working, so I'm going to try to summarise
our
experiences.

The test configuration is:

VIA KT133
kernels: stock 2.4.18pre2, 2.2.21pre2 and 2.2.20 (both with Hedrick
IDE patch 05042001 )
Two hdds and a cdrom attached to the onboard hpt 370 controller
3com 905b-tx
Matrox G200 AGP

In this configuration, we could force an oops

http://marc.theaimsgroup.com/?l=linux-kernel&m=101052001508211&w=2

with all the kernels we tested on each boot by running:

cat /dev/hde > null &
cat /dev/hdg > null &
ping -f -s 64000 otherMachine &

It usually took about 15 seconds for the oops to trigger. We also verified
that wgetting a file (instead of ping -f) on the local 100mbit network would
trigger the oops.

The peculiar thing is that with certain BIOS settings the disk read & write
test didn't show errors, even when left running over the weekend. But when
the ping -f was launched, it started immediately showing disk corruption
(from
4 to ~1000 bytes in 64 megabyte blocks). The data corruption most likely
happened when both disks were read in parallel. We weren't able to trigger
disk corruption with disks on VIA IDE (686A & 686B).

It turned out that the main culprit was the NIC that was attached to PCI
slot
4. Moving it to slot 3 resolved the disk corruption as well as the oopses
that
occured. Other PCI slots to avoid for the NIC were 5 and 6. Slot 4 & 6
shares
an IRQ with the VIA USB controller, but I did try disabling it from the BIOS
but it didn't help (lspci didn't show the device after it had been
disabled).
Slot 5 shares and IRQ with the Highpoint controller.

Finally, we tested that it works with an  Adaptec 2940UW SCSI card in PCI
slot
1 and the NIC in PCI slot 3.

More details on request. Does anyone have any idea what causes this?

Jani Forssell


             reply	other threads:[~2002-01-18 15:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-18 15:16 Jani Forssell [this message]
2002-01-19  0:35 ` VIA KT133 & HPT 370 IDE disk corruption Tim Moore
2002-01-19  0:54   ` Aaron Tiensivu
2002-01-19  1:05     ` Tim Moore
2002-01-19 11:01   ` Ville Herva
2002-01-19 20:49     ` Jani Forssell

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='00c201c1a033$1cf46700$b71c64c2@viasys.com' \
    --to=jani.forssell@viasys.com \
    --cc=akpm@zip.com.au \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=daniel.blueman@btinternet.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stilgar2k@wanadoo.fr \
    --cc=vojtech@suse.cz \
    /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