Subject: Re: DMA mode selection question
To: None <jeffw@pdxlug.org>
From: Quentin Garnier <cube@cubidou.net>
List: netbsd-help
Date: 04/03/2007 23:10:45
--cCGECKyMKQhNsQbf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Apr 03, 2007 at 01:40:18PM -0700, jeffw@pdxlug.org wrote:
> Hi all,
> I've got an older i386 (PI) with an IDE drive that supports Ultra33, and
> for which NetBSD (3.1) aggrees yet sets the drive to the next mode down:
>=20
> # dmesg | grep wd0
> wd0 at atabus0 drive 0: <FUJITSU MPB3043ATU>
> wd0: drive supports 16-sector PIO transfers, LBA addressing
> wd0: 4125 MB, 8940 cyl, 15 head, 63 sec, 512 bytes/sect x 8448300 sectors
> wd0: 32-bit data port
> wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
> wd0(piixide0:0:0): using PIO mode 4, DMA mode 2 (using DMA)
> boot device: wd0
> root on wd0a dumps on wd0b
>=20
> The IDE controller is an on-board Intel 82371SB IDE Interface (PIIX3)
> (rev. 0x00) and the IDE cable is a std 40-pin/40-conductor which should
> be fine up to Ultra33 speeds.  The kernel is just a paired down GENERIC
> with the wd(4) flag set to 0x0000 ( uses whatever mode the drive says it
> supports). Any idea why the drivve isn't getting the highest supported
> setting?

Well, because the IDE controller doesn't support it...

--=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.

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

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

iQEVAwUBRhLC1dgoQloHrPnoAQKgmggAn1Ye2cox6A//uVK2VBxxu/wLBVaB1lUF
b33GubgO00o/4ll1nXCQOYmcMA+8AGC5DuictGMMDvKK7aOC7TLSIzYW15GF2U8s
CvUzBFMOVoZ2tlX5LMu1hYLvtXtwhvc+NXRBkXYAqqRtY6BtR/niCltWJSzKu9lS
8WCiB6n+nI/HohCzhx65bzC8Vfeplec439wdT2nxsB5NjpRn9SZtihn+EhVMgwTl
jHa0boVRQMnqTYvKzJ4pWRCSSXl5cq3yIhYTXoxCl877rXBvOWbi/DIQN05TmyyZ
ROhkA6fSzlGL2JMiBYdwDSNa+YIQ1NV1Lcq+fZv5Eh7xDrr0k1kc3Q==
=muVW
-----END PGP SIGNATURE-----

--cCGECKyMKQhNsQbf--