Subject: Re: slow writes on ixpide0?
To: Jonathan Kay <jpk@panix.com>
From: Quentin Garnier <cube@cubidou.net>
List: port-amd64
Date: 08/21/2007 19:44:43
--hc1Ad1NXUysMDyjB
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Aug 21, 2007 at 01:37:25PM -0400, Jonathan Kay wrote:
> Hello again,
>   I'm seeing some rampant slowness with a secondary drive on an ATI/AMD
> (IXP IDE) based motherboard.  There are two sata drives attached to it,
> and the primary one reads & writes fast, but the secondary one refuses
> to write any faster than 7MB/s.  It does however, read really fast.
> (Again, this is a dedicated hosting machine, so some of my testing
> abilities are limited..)
>=20
> from the dmesg, I see that it reports:
> wd1: quirks 2<FORCE_LBA48>
> but don't see anything else to indicate a problem.
>=20
> Any ideas?  Is it possibly just a bad harddrive & I should try to get
> it replaced?
> Thank you again!
> Jonathan
>=20
> here are some excerpts from my dmesg that are relevant to the situ:
>=20
> ixpide0 at pci0 dev 18 function 0
> ixpide0: ATI Technologies IXP IDE Controller (rev. 0x00)
> ixpide0: bus-master DMA support present
> ixpide0: primary channel configured to native-PCI mode
> ixpide0: using irq 5 for native-PCI interrupt
> atabus0 at ixpide0 channel 0
> ixpide0: secondary channel configured to native-PCI mode
> atabus1 at ixpide0 channel 1
> atabus2 at ixpide1 channel 0
> atabus3 at ixpide1 channel 1
> wd0 at atabus0 drive 0: <WDC WD2000JS-00MHB0>
> wd0: drive supports 16-sector PIO transfers, LBA48 addressing
> wd0: 186 GB, 387621 cyl, 16 head, 63 sec, 512 bytes/sect x 390721968 sect=
ors
> wd0: 32-bit data port
> wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
> wd0(ixpide0:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using D=
MA)
> wd1 at atabus1 drive 0: <ST3250620NS>
> wd1: quirks 2<FORCE_LBA48>
> wd1: drive supports 16-sector PIO transfers, LBA48 addressing
> wd1: 232 GB, 484521 cyl, 16 head, 63 sec, 512 bytes/sect x 488397168 sect=
ors
> wd1: 32-bit data port
> wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
> wd1(ixpide0:1:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using D=
MA)

What does atactl wd1 identify have to say about the driver?

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"You could have made it, spitting out benchmarks
Owe it to yourself not to fail"
Amplifico, Spitting Out Benchmarks, Hometakes Vol. 2, 2005.

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

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

iQEVAwUBRsski9goQloHrPnoAQLSTggAkemP5cO/RG0yrKSArriCIH6cD+TkYRim
Ht17H7h9e0AAkuviSYUxWsDV4Wh/45FXwHGZkJYJ6UWvkjTDrQ6dWANSaKue05g8
KcZyJ9szwB/LS003hbPqfbXEyPE8B8WN8h7Qb1wPKBruYtjj223J8Sqf/Yszw//x
TA953BX3H67OgGHCOIm+GEMaMyaxbjDLLPQkUhxVwgk3Tcbni07LnwZl32rFX+p2
c3PQCnI6ca5G8ogrNUCyTfx2zRIxpQDTyKaT0Ar/4B0dKxCT2s0ak6WxRJdFL4Bl
JP+sk6Hdl5w9PkrLj0k5qffTmni3v+dDqFFh9eNjsTf2A7U0s3mNTw==
=1Gk1
-----END PGP SIGNATURE-----

--hc1Ad1NXUysMDyjB--