Subject: Segfault with newfs on IBM0662S12
To: None <port-sparc@NetBSD.ORG>
From: Volker Schmidt <volker@Illuminatus.MZ.Rhein-Main.DE>
List: port-sparc
Date: 02/21/1997 22:12:49
Hello!

I tried labeling a IBM 0662S12 on a sun4c (SS1+) and getting
segfaults from newfs from the miniroot of NetBSD-1.2.

What's the trick to get it labeling correctly so that newfs can
do it's job?

BTW: While booting the IBM 0662S12 is announced with 4119 cyl.,
5 heads and 99 sectors. The IBM application sheet for SunOS and
the /etc/disktab.shadow mentions the geometry with 3803/5/108.
I'm confused about this.

Here's my disktab (it's written down from screen as I type this
on my PC):

# disklabel sd1
#/dev/rsd1c
type: SCSI
disk: SCSI disk
label: blah
flags:
bytes/sector: 512
sectors/track: 108
tracks/cylinder: 5
sectors/cylinder: 540
cylinders: 3803
total sectors: 2053620
rpm: 5400
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track-seek: 0  # milliseconds
drivedata: 0

8 partitions:
#        size    offset     fstype   [fsize bsize   cpg]
  a:    99900         0     4.2BSD     1024  8192    16   # (Cyl.    0 - 184)
  b:   255960     99900       swap                        # (Cyl.  185 - 658)
  c:  2053620         0    unknown                        # (Cyl.    0 - 3802)
  d:   599940    355860     4.2BSD     1024  8192    16   # (Cyl.  659 - 1769)
  e:   199800    955800     4.2BSD     1024  8192    16   # (Cyl. 1770 - 2139)
  f:   898020   1155600     4.2BSD     1024  8192    16   # (Cyl. 2140 - 3802)

  Thanks,
  --volker
-- 
PGP public key available on request.

UNIX is friendly, but it chooses it's friends!