Subject: Installation problems installing NetBSD 1.4.1 on a Sun-SLC (kernel crash)
To: None <port-sparc@netbsd.org>
From: Reinoud Zandijk <zandijk@cs.utwente.nl>
List: port-sparc
Date: 08/29/1999 14:49:11
Hi folks,

I've tried it again :-). My SLC got a brand new 4.5Gb HD yesterday
(disktab addendum later) so I tried to install NetBSD 1.4.1 on it.. Since
the new disk replaced the old 200Mb one, I netbooted the machine on a
NetBSD/arm32 with the NetBSD 1.4.1/sparc installation-kernel.

This didn't work since it crashed not detecting the /dev/fd device
(again). The former installation of 1.3.2 had the same problem and I
reported it quite a while now (some months). Something to do with safe
memory accessing or so. Could anybody give it a second look and please
replace the installation kernel??

OK, I can do it by hand, but calculating your own disklabel isn't really
my hobby. Lucky I had a good calculator :-). My 4.5Gb SEAGATE wasn't known
to /etc/disktab, so no help there either... well, I constucted the thingy
myself and 'll append it although I must admit that it might have some
flaws in it.... like group-sizes etc. Notice that the origional disklabel
reads 9006 cylinders but reserves 9033 cylinders for /dev/sd0c (based on
the number of cylinders), so I changed it....

Cheers,

Reinoud


New /etc/disktab entry :

SEAGATE-ST34520N:\
	:ty#winchester:ns#246:nt#4:nc#9033:\
	:pa#1023360:oa#0:fa#1024:ba#8192:\
	:pb#267648:ob#1023360:\
	:pc#8888472:oc#0:\
	:pd#141696:od#1291008:\
	:pe#267648:oe#1432704:\
	:pf#4361088:of#1700352:\
	:pg#2827032:og#6061440:


My new disklabel :

# /dev/rsd0c:
type: unknown
disk: SEAGATE-ST34520
label: 4.5 Gb Sun-SLC
flags:
bytes/sector: 512
sectors/track: 246
tracks/cylinder: 4
sectors/cylinder: 984
cylinders: 9033
total sectors: 8888472
rpm: 7200
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0		# milliseconds
track-to-track seek: 0	# milliseconds
drivedata: 0 

7 partitions:
#        size   offset     fstype   [fsize bsize   cpg]
  a:  1023360        0     4.2BSD     1024  8192    16   # (Cyl.    0 - 1039)
  b:   267648  1023360       swap                        # (Cyl. 1040 - 1311)
  c:  8888472        0     unused        0     0         # (Cyl.    0 - 9032)
  d:   141696  1291008     4.2BSD     1024  8192    16   # (Cyl. 1312 - 1455)
  e:   267648  1432704     4.2BSD     1024  8192    16   # (Cyl. 1456 - 1727)
  f:  4361088  1700352     4.2BSD     1024  8192    16   # (Cyl. 1728 - 6159)
  g:  2827032  6061440     4.2BSD     1024  8192    16   # (Cyl. 6160 - 9032)