From owner-freebsd-hackers Sun Mar 19 11:10:42 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id LAA16482 for hackers-outgoing; Sun, 19 Mar 1995 11:10:42 -0800 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id LAA16474 for ; Sun, 19 Mar 1995 11:10:39 -0800 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.8/8.6.6) id LAA24321; Sun, 19 Mar 1995 11:10:06 -0800 From: "Rodney W. Grimes" Message-Id: <199503191910.LAA24321@gndrsh.aac.dev.com> Subject: Re: kern/248: scbus attach/probe printf inconsistency To: dufault@hda.com (Peter Dufault) Date: Sun, 19 Mar 1995 11:10:05 -0800 (PST) Cc: freebsd-hackers@freefall.cdrom.com In-Reply-To: <199503191755.MAA00648@hda.com> from "Peter Dufault" at Mar 19, 95 12:55:05 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1985 Sender: hackers-owner@FreeBSD.org Precedence: bulk > > Peter da Silva writes: > > > > > For scsi the only unreal value is sectors/track. All other values are > > > as reported by the drive. > > > > Since s/t can vary either the other two numbers are made up (and not real) or > > you have to make up a s/t value (and thus they're not useful). > > > > The only useful information the SCSI drive reports is the total number of > > blocks (unless it's a very old drive like mine that tells the absolute truth > > in all three categories, but is dinosaurs are in the minority). > > I agree. Even my token dinosaur drive uses ZBR. I haven't checked > my 20MB Seagate drive lately. > > I'll remove the Cyl/Head/Sectors except during the verbose boot. > That will also let the disk probe fit on a single line, it will > soon look something like: > > > (aha0:3:0): "FUJITSU M2654S-512 010P" is a type 0 fixed SCSI 2 > > sd2(aha0:3:0): Direct-Access 1959MB with 4014054 512 byte sectors. Please make that: sd2(aha0:3:0): Direct-Access 1959MB with 4014054 sectors of 512 bytes It reads much easier, and drop the trailing period please, probe messages have under BSD never had them that I can see. [There are a few other places these need removed] > And with verboseboot it can look like: > > > (aha0:3:0): "FUJITSU M2654S-512 010P" is a type 0 fixed SCSI 2 > > sd2(aha0:3:0): Direct-Access 1959MB with 4014054 512 byte sectors Hey, what happened to the period? :-) :-) > > sd2(aha0:3:0): with 2179 cylinders, 21 heads, and 87 sectors/track. Drop the period. > Not that it matters, but all the info (including sectors/track) > is usually from the drive, but the drive makes it up. What??? I can't find a scsi mode sense that will give me sectors/track no place in the *standard*. I can find stuff in the vendor uniq to get zones and sizes of zones, but that is about it. -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD