Subject: Re: kern/23079: sd(4) fails to get geometry from SCSI disk
To: None <>
From: Dave Huang <>
List: netbsd-bugs
Date: 10/07/2003 11:26:02
On Tue, Oct 07, 2003 at 06:09:14PM +0200, Juergen Hannken-Illjes wrote:
> Seconded. I see it on systems that didn't show it before. Must be introduced
> during mycroft's changes to sd.c (rev 1.203 - rev 1.210).

I don't know whether it's supposed to say "fabricating a geometry" or
not, but drives these days don't have a simple geometry that can be
expressed as i cylinders, j heads, k sectors/track. In particular, the
sectors/track changes depending on the cylinder. IIRC, SCSI drives
don't even attempt to make up a simple CHS geometry, and NetBSD has
always fabricated one from the number of sectors. However, there's the
notch mode page(?) that will tell you how many sectors are in each
zone. Why do we care about making up a CHS geometry for drives that
don't have one anyway?

That said, I don't see the message on my Quantum XP32150W, so there
must be more to it than what I've said :)
Name: Dave Huang         |  Mammal, mammal / their names are called /
INet: |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan         |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 27 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++