Subject: Configuring Larger Disk for NetBSD on P600
To: None <port-mac68k@NetBSD.ORG>
From: Derrick Hutchinson <derrick1@tribeca.ios.com>
List: port-mac68k
Date: 12/10/1995 18:41:26
I'm trying to configure an IBM 1.92GB hard disk drive to run NetBSD_1.1 in
addition to my Quantum 160MB hard disk drive.  Really, I want to move
everything over to the IBM drive since it is faster and more spacious.  I
am having difficulty using mkfs to set up the filesystems on the IBM
drive--whenever I try to use it to set up SCSI ID #1 (the IBM drive) I get
the following on the screen:

Console Inited

inquiry (0)
inquiry (1)
inquiry (2)
inquiry (3)
inquiry (4)
inquiry (5)
inquiry (6)
modesense page 4(0)
Error on SCSISelect(), #2get_deviceinfo returned 2
Partition read, SCSI ID = 0
Error on SCSISELECT(), #2

followed by window for "Program Finished..."

I initially thought the problem was that the partitions I had were not
within the first eight entries of the partition able, so I moved some
partitions around (to entries e, f, and g in the partition table) with
FWB's HDT (Full Edition) and I still get the same errors.

Using disklabel sd0 & sd1 from NetBSD_1.1 I get [corrections and
annotations in brackets with info from FWB's HDT FE]:

IBM (SCSI-1)
# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: fictitious
flags:
bytes/sector: 512
sectors/track: 91       [94]
tracks/cylinder: 15
sectors/cylinder: 1365  [1410]
cylinders: 2857
rpm: 3600
interleave: 1
trackskew: 0            [8]
cylinderskew: 0         [17]
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:   131070   262394    4.2BSD        0     0     0   # (Cyl.  192*-
288*)    [Root File System]
  b:    65534   196860      swap                        # (Cyl.  144*-
192*)    [Swap]
  c:  3933040        0    unused        0     0         # (Cyl.    0 -
2881*)   [disk size]
  d:      192       64   unknown                        # (Cyl.    0*- 0*)
[FWB Disk Driver]
  e:   196604      256       HFS                        # (Cyl.    0*-
144*)    [System 7.5]
  f:  1310718   917750       HFS                        # (Cyl.  672*-
1632*)   [Work]
  g:   524286   393464    4.2BSD        0     0     0   # (Cyl.  288*-
672*)    [Usr File System]
  h:  1048574  2228468       HFS                        # (Cyl. 1632*- 2400*)

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
=-=-=-=-=-=-=-=-=-=-=-

Quantum (SCSI-6)
# /dev/rsd1c:
type: SCSI
disk: SCSI disk
label: fictitious
flags:
bytes/sector: 512
sectors/track: 54       [64]
tracks/cylinder: 4
sectors/cylinder: 216   [256]
cylinders: 1536
rpm: 3600
interleave: 1
trackskew: 0            [24]
cylinderskew: 0         [28]
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:   292720     4352    4.2BSD        0     0     0   # (Cyl.   20*-
1375*)   [A/UX Root]
  b:    36864   297072      swap                        # (Cyl. 1375*-
1545*)   [Swap]
  c:   333936        0    unused        0     0         # (Cyl.    0 -
1545)    [disksize]
  d:      192       64   unknown                        # (Cyl.    0*- 1*)
[FWB Disk Driver]
  e:     4096      256       HFS                        # (Cyl.    1*- 20*)
[MacOS]
  f:   183586   150350   unknown                        # (Cyl.  696*- 1545*)

I also tried changing the name from "Root File System" to "A/UX Root" with
no success...

Someone has previously mentioned using newfs to set up the partition
information correctly--can anyone walk me through using this utility, I am
somewhat hesitant to stumble through it since the disk I will be using this
on has a significant amount of information I would hate to loose...


Derrick Hutchinson