Subject: kern/3815: SCSI probe code output
To: None <gnats-bugs@gnats.netbsd.org>
From: Erik E. Fair <fair@atomic.clock.org>
List: netbsd-bugs
Date: 06/29/1997 20:55:07
>Number:         3815
>Category:       kern
>Synopsis:       SCSI probe code output
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 29 21:05:00 1997
>Last-Modified:
>Originator:     Erik E. Fair
>Organization:
International Organization of Internet Clock Watchers
>Release:        NetBSD-current, June 29, 1997
>Environment:
	sun4m
System: NetBSD atomic.clock.org 1.2G NetBSD 1.2G (ATOMIC) #6: Thu Jun 26 07:27:48 PDT 1997 root@atomic.clock.org:/usr/src/sys/arch/sparc/compile/ATOMIC sparc


>Description:
	1. It would be useful for the MI SCSI code to always print
	the maximum sync SCSI transfer rate for each device found.

	2. When printing bytes per second, versus bits per second,
	it would be a good idea to keep to the convention that
	bytes per second are "B/s" (capital-B) and bits per second
	are "b/s" (lower-case-b)

	3. it would be useful for "bytes per sector" to be
	abbreviated "bytes/sect" (add "t") to avoid confusion with
	"bytes per second" (and we certainly wouldn't want people to
	think that our SCSI driver only does 512 bytes per second!)

>How-To-Repeat:
	boot the system, observe output; sync SCSI transfer rate
	is only printed for DEBUG kernels, and is printed "Mb/s",
	when "MB/s" is meant. Also note potential confusion when
	sector size is reported.

dma0 at sbus0 slot 4 offset 0x8400000: rev 2
esp0 at dma0 slot 0x4 offset 0x8800000 pri 4: ESP200, 40MHz, SCSI ID 7
scsibus0 at esp0: 8 targets
probe(esp0:0:0): max sync rate 10.00Mb/s
sd0 at scsibus0 targ 0 lun 0: <QUANTUM, FIREBALL1080S, 1Q09> SCSI2 0/direct fixe
d
sd0: 1042MB, 3835 cyl, 4 head, 139 sec, 512 bytes/sec
probe(esp0:1:0): max sync rate 5.00Mb/s
sd1 at scsibus0 targ 1 lun 0: <CONNER, CP30200  SUN0207, 4544> SCSI2 0/direct fi
xed
sd1: 203MB, 2123 cyl, 4 head, 49 sec, 512 bytes/sec
probe(esp0:6:0): max sync rate 4.23Mb/s
cd0 at scsibus0 targ 6 lun 0: <TOSHIBA, CD-ROM XM-3401TA, 0283> SCSI2 5/cdrom re
movable

>Fix:

>Audit-Trail:
>Unformatted: