Subject: Re: UltraDMA problems under 1.6F (probably hardware)
To: None <current-users@netbsd.org>
From: gabriel rosenkoetter <gr@eclipsed.net>
List: current-users
Date: 08/15/2002 00:55:46
--eAbsdosE1cNLO4uF
Content-Type: multipart/mixed; boundary="J/dobhs11T7y2rNN"
Content-Disposition: inline


--J/dobhs11T7y2rNN
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Aug 13, 2002 at 09:51:32PM -0400, gabriel rosenkoetter wrote:
> But it's a valid datapoint, there's a secondary IDE bus, and I've
> got the cabling to try each as the sole drive on their bus (or,
> really, take the 10 GB out of the picture entirely, since it's doing
> precisely zip right now).

Tried this. The Maxtor 160 GB drive still degrades to nothing but
PIO 4 (shedding all Ultra-DMA and all DMA modes along the way) when
on the IDE bus alone.

On Wed, Aug 14, 2002 at 07:25:14AM -0400, gabriel rosenkoetter wrote:
> Maybe I'll try trading the UDMA 66 10 GB drive with the UDMA 133
> 160(ish) GB drive to confirm Matthias's experience.

Also no change.

In addition, I tried a kernel with:

wd0 at pciide? channel 0 drive 0 flags 0x0cac

to try to force the drive to something reasonable (that's PIO mode
4, DMA mode 2, Ultra-DMA mode 4, which this drive, by all reports,
should support with ease). All that buys me is more IDE bus errors
than I care to sit through on boot (perhaps never-ending?)

I'm about to boot again with:

wd0 at pciide? channel 0 drive 1 flags 0x0ffc

in the hopes that, by forcing DMA and Ultra-DMA off, I at least
won't have to sit through the degradation process during boot (and
maybe will do away with the pausing-during-I/O problem?)

In case you missed it the first time, the important bits of my
dmesg are attached again here (from the boot with the problematic
Maxtor drive as the slave). If I find time tomorrow evening, I may
try changes similar to those Matthias describes in Message-Id:
<200208141348.PAA0000004861@zel459.zel.kfa-juelich.de>. (Any thoughts
on where to look for the timings?)

--=20
gabriel rosenkoetter
gr@eclipsed.net

--J/dobhs11T7y2rNN
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=dmesg_wd+pciide

pciide0 at pci0 dev 4 function 0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc4)
pciide0: bus-master DMA support present
pciide0: primary channel configured to compatibility mode
wd1 at pciide0 channel 0 drive 0: <WDC AC310200R>
wd1: drive supports 16-sector PIO transfers, LBA addressing
wd1: 9787 MB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 20044080 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
wd0 at pciide0 channel 0 drive 1: <Maxtor 4G160J8>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 152 GB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 320173056 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6
pciide0: primary channel interrupting at irq 14
wd1(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA data transfers)
wd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA data transfers)
pciide0: secondary channel configured to compatibility mode
pciide0: disabling secondary channel (no drives)
pciide0:0:1: lost interrupt
pciide0:0:1: bus-master DMA error: missing interrupt, status=0x61
wd0: transfer error, downgrading to Ultra-DMA mode 2
wd1(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA data transfers)
wd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA data transfers)
wd0d: DMA error reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
pciide0:0:1: lost interrupt
pciide0:0:1: bus-master DMA error: missing interrupt, status=0x61
wd0: transfer error, downgrading to Ultra-DMA mode 1
wd1(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA data transfers)
wd0(pciide0:0:1): using PIO mode 4, Ultra-DMA mode 1 (using DMA data transfers)
wd0d: DMA error reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
pciide0:0:1: lost interrupt
pciide0:0:1: bus-master DMA error: missing interrupt, status=0x61
wd0: transfer error, downgrading to DMA mode 2
wd1(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA data transfers)
wd0(pciide0:0:1): using PIO mode 4, DMA mode 2 (using DMA data transfers)
wd0d: DMA error reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
pciide0:0:1: lost interrupt
pciide0:0:1: bus-master DMA error: missing interrupt, status=0x61
wd0: transfer error, downgrading to PIO mode 4
wd1(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA data transfers)
wd0(pciide0:0:1): using PIO mode 4
wd0d: DMA error reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying
wd0: soft error (corrected)

--J/dobhs11T7y2rNN--

--eAbsdosE1cNLO4uF
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (NetBSD)

iD8DBQE9WzRS9ehacAz5CRoRArFDAKCj6Btk+OeZcw+Lk1ZwL22I6xhR7wCgivtr
xW67cvujUbASdD1IrsqOLYA=
=g5GP
-----END PGP SIGNATURE-----

--eAbsdosE1cNLO4uF--