Subject: 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: None <collver@peak.org>
List: netbsd-bugs
Date: 04/12/2005 22:16:00
>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 2005  ben@sanctum:/usr/ben/obj/sys/arch/hpcmips/compile/MOBY hpcmips
Architecture: mipsel
Machine: hpcmips
>Description:

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:

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 sectors
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)


On NetBSD/hpcmips this line is missing from the boot messagese:

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

Is this a bug in wd?  How can I determine what PIO mode is being used here?

>How-To-Repeat:
>Fix:
unknown