Subject: Re: SCSI read error during base.tgz install
To: None <port-mac68k@netbsd.org>
From: Marco van de Voort <marcov@dragon.stack.nl>
List: port-mac68k
Date: 06/10/2002 15:32:30
> 
> I am trying to install NetBSD mac68k 1.5 on a Quadra 610. I have a conner 
> (non Apple ROM) 1 gig SCSI drive internal, and an Apple CD drive that I 
> have booted from, and I have all my files on.
> 
> I am following Matt Theobald's walk thru to do the install.
> 
> Every time I try it, I get about 9/10th's of the way thru the base.tgz 
> unpacking/install, and it reports a SCSI Read Error #5, and then hangs. 
> (Force Quit locks up the system, and I can't do anything else, so each 
> time I have just had to hit the reset button).

(my system: IIci)

Make your 1st partition significantly smaller than 1Gb. My root is 250 MB,
and when I did that, NetBSD suddenly installed fine, after numerous failed
attempts.

It seems that you _can_ partitions entirely above 1 GB from within NetBSD,
but partitions that span the 1 GB barrier act funny. 

If I give a df on such a partition, say one from roughly 900 MB to 1200 it
seems to calculate the size of the partition as 1200 MB. (iow calc from
the start of HD, not of partition in disklabel):

The "e" partition is the one I'm talking about here. It only has 40 MB on
it. The "f" partition is entirely above the 1 GB, and doesn't suffer from
this.

label: fictitious
flags:
bytes/sector: 512
sectors/track: 126
tracks/cylinder: 8
sectors/cylinder: 1008
cylinders: 4243
total sectors: 4308352
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

7 partitions:
#        size   offset     fstype   [fsize bsize cpg/sgs]
  a:   500000       96     4.2BSD        0     0     0   # (Cyl.    0*-
496*)
  b:   122846   500096       swap                        # (Cyl.  496*-
617*)
  c:  4308352        0     unused        0     0         # (Cyl.    0 -
4274*)
  d:   100000   622942        HFS                        # (Cyl.  617*-
717*)
  e:  1000000  1722942     4.2BSD        0     0     0   # (Cyl. 1709*-
2701*)
  f:  1585410  2722942     4.2BSD        0     0     0   # (Cyl. 2701*-
4274*)
  g:  1000000   722942     4.2BSD        0     0     0   # (Cyl.  717*-
1709*)
disklabel: boot block size 0
disklabel: super block size 0
temp141a# df
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/sd0a      241799   145633    71986    66%    /
kernfs              1        1        0   100%    /kern
procfs              4        4        0   100%    /proc
/dev/sd0f      767214    95460   595032    13%    /usr/pkgsrc
/dev/sd0e     1251093   807359   443734    64%    /fpc