Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Feb 1997 14:00:44 +0300 (MSK)
From:      =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= <ache@nagual.ru>
To:        wpaul@freebsd.org, FreeBSD-current <current@freebsd.org>, FreeBSD-SCSI List <scsi@freebsd.org>
Subject:   Nice SCSI probe diagnostic is very broken for other cases
Message-ID:  <Pine.BSF.3.95.970204135336.2086A-100000@nagual.ru>

next in thread | raw e-mail | index | archive | help
Bill, you better restore sc_print_addr() to old variant and make
new variant of this function especially for probe stage printing.

With your changes I have

sd0: Direct-Access 516MB (1057616 512 byte sectors)sd0 at scbus0 target 0 lun 0: with 2740 cyls, 4 heads, and an average 96 sectors/track
						   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
						   sc_print_addr output


Moreover, many error diagnostics call sc_print_addr at the beginnig,
so now some scsi error will looks like

sd0 at scbus0 target 0 lun 0: cannot allocate scsi xs
			      ^ this part can be MUCH longer for some cases

What looks nice for probe stage looks very ugly for error messages.
Please fix it.

-- 
Andrey A. Chernov
<ache@null.net>
http://www.nagual.ru/~ache/




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.970204135336.2086A-100000>