Subject: Re: NetBSD Hang after disklabel, xsm crash
To: Harald Bjoroy <harald@bitcon.no>
From: Patrick Welche <prlw1@cam.ac.uk>
List: port-i386
Date: 07/29/1998 16:07:16
Harald Bjoroy wrote:
>
>
> >
> > Sorry, I can't remember the beginning: how do you get to 6281856 ? If
> > below (63s/16h/6244c) is right, then 63*16*6244=6293952 should be the
> > magic number, and something like
>
> I didn't remember the cylinder count, it is 6232.
>
> >
> > thisdisk|Harald's disk:\
> > :dt=ST506:se#512:ns#63:nt#16:sc#6244:nc#4092:\
> > :pa#6293952:oa#0:ta=4.2BSD:ba#8192:fa#1024:\
> > :pc#6293952:oc#0:\
> > :pd#6293952:od#0:
> >
>
> I don't understand what you have done with sc and nc;
>
> The docu for disktab states:
> ---------
> nt num Number of tracks per cylinder
> nc num Total number of cylinders on the disk
> sc num Number of sectors per cylinder, nc*nt default
> ---------
>
> On my disk this is
>
> nt=number of heads= 16
> nc=number of cylinders = 6232
>
> Which gives sc=nc*nt=6232*16 = 99712 (which I'll ignore, since it is
> default)
You're right !! Sorry - that should have been (Now with 6232c/16h/63s)
thisdisk|Harald's disk:\
:dt=ST506:se#512:ns#63:nt#16:sc#1008:nc#6232:\
:pa#6281856:oa#0:ta=4.2BSD:ba#8192:fa#1024:\
:pc#6281856:oc#0:\
:pd#6281856:od#0:
(and the sc=nc*nt has already been corrected in the disktab manpage to
sc=ns*nt)
Sorry,
Patrick