Subject: Re: port-hpcmips/29959: wd0 does not report what PIO mode is being used
To: None <port-hpcmips-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Quentin Garnier <cube@cubidou.net>
List: netbsd-bugs
Date: 04/13/2005 04:48:01
The following reply was made to PR port-hpcmips/29959; it has been noted by GNATS.

From: Quentin Garnier <cube@cubidou.net>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-hpcmips/29959: wd0 does not report what PIO mode is being used
Date: Wed, 13 Apr 2005 06:47:35 +0200

 --L+ofChggJdETEG3Y
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 Content-Transfer-Encoding: quoted-printable
 
 On Tue, Apr 12, 2005 at 10:16:00PM +0000, collver@peak.org wrote:
 > >Number:         29959
 > >Category:       port-hpcmips
 > >Synopsis:       wd0 does not report what PIO mode is being used
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       low
 > >Responsible:    port-hpcmips-maintainer
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Tue Apr 12 22:16:00 +0000 2005
 > >Originator:     collver@peak.org
 > >Release:        NetBSD 2.0
 > >Organization:
 > >Environment:
 > System: NetBSD moby 2.0 NetBSD 2.0 (MOBY) #0: Fri Apr  8 21:50:58 PDT 200=
 5  ben@sanctum:/usr/ben/obj/sys/arch/hpcmips/compile/MOBY hpcmips
 > Architecture: mipsel
 > Machine: hpcmips
 > >Description:
 >=20
 > On NetBSD/i386 at boot time I normally see wd* report what PIO/DMA/UDMA
 > mode it is using to access the disk.  For example:
 >=20
 > sanctum $ grep ^wd0 /var/run/dmesg.boot
 > wd0 at atabus0 drive 0: <WDC WD400BB-00CAA1>
 > wd0: drive supports 16-sector PIO transfers, LBA addressing
 > wd0: 38166 MB, 77545 cyl, 16 head, 63 sec, 512 bytes/sect x 78165360 sect=
 ors
 > wd0: 32-bit data port
 > wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
 > wd0(piixide0:0:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using =
 DMA data transfers)
 >=20
 >=20
 > On NetBSD/hpcmips this line is missing from the boot messagese:
 >=20
 > moby $ grep ^wd0 /var/run/dmesg.boot
 > wd0 at atabus0 drive 0: <SAMSUNG CF/ATA>
 > wd0: drive supports 1-sector PIO transfers, LBA addressing
 > wd0: 2000 MB, 4065 cyl, 16 head, 63 sec, 512 bytes/sect x 4097520 sectors
 >=20
 > Is this a bug in wd?  How can I determine what PIO mode is being used her=
 e?
 
 What is the IDE controller?  For example, wdc at isa doesn't have an
 atac_set_modes function, thus that line is not printed because as there
 is no way to configure different modes, only the one used by the
 controller (hence PIO mode 0) will be used.
 
 --=20
 Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
 "When I find the controls, I'll go where I like, I'll know where I want
 to be, but maybe for now I'll stay right here on a silent sea."
 KT Tunstall, Silent Sea, Eye to the Telescope, 2004.
 
 --L+ofChggJdETEG3Y
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.6 (NetBSD)
 
 iQEVAwUBQlykZ9goQloHrPnoAQLPKAf/SDtQWfeLkd7xpMplHi37yOBwRXDqpS6r
 EiUA4KbzuHPsDpWm/tAJ0CTSadnZmGMQVLJj7HTVZSeVjRFxx9bgncEAMnrMM9vz
 yGo64cYc2tHPh1bWi3wQgzS881as5+fU9LlY/4nfAbXaNDkYkY5ihKhYbmBhYb+t
 628LBRmOOkGC0rdYZ92CDlw9kowJm0Pg4lk4sIILE7mDC/YWd1kEbvAvULwLO6o2
 xu+dncD9F1NfpEc1Zz+DFhQjQPzDYOFYasy7/9JIej1iWX5dIRjcJWuxG87U1Qrw
 Bw9nb/FgwLyyRXthNf6yi5uM5+7MNGoV5cuDwKwfAnAJ7leIAVnybg==
 =vxl7
 -----END PGP SIGNATURE-----
 
 --L+ofChggJdETEG3Y--