problems installing

Mark Kirby <[email protected]> Sat, 4 Apr 2009 19:56:01 +0100
Newsgroups gmane.os.netbsd.ports.sgimips
Message-ID <[email protected]>
Hi,

trying to get 5.99.8 installed on my O2. The 1st problem i had was  
disklabel would only show me as having a 35MB disk. dd'ing the disk  
fixed that problem, not sure if it was my setup or whether disklabel  
will not work if irix is all ready on the disk.

I then managed to get sysinst to install the system and all was well.  
rebooted and went back into the prom set the environment variables up  
and typed boot. The bootstrap comes up but fails to find the kernel.

all info bellow.

Any ideas?

Thanks

Mark

 > hinv
System: IP32
Processor: 225 Mhz R10000, with FPU
Primary I-cache size: 32 Kbytes
Primary D-cache size: 22 Kbytes
Secondary cache size: 1024 Kbytes
Memory Size: 256 Mbytes
Graphics: CRM, Rev C
Audio: A3 version 1
SCSI Disk: scsi(0)disk(2)
SCSI CDROM: scsi(0)cdrom(4)

prom variables

SystemPartition=scsi(0)disk(2)rdisk(0)partition(8)
OSLoadPartition=scsi(0)disk(2)rdisk(0)partition(0)
OSLoader=boot
OSLoadFilename=/netbsd

 >boot
50560+2800 enty: 0x80002000

NetBSD/sgimips 5.99.8 Bootstrap, Revision 1.5
([email protected], Wed Mar 25 19:41:22 UTC 2009)

devopen: scsi(0)disk(2)rdisk(0)partition(0) type scsi file /netbsd
open scsi(0)disk(2)rdisk(0)partition(0)/netbsd: no such file or  
directory
Boot failed!  Halting ...
 >

Disklabel

#disklabel sd0
type: unknown
disk: BB018135B5
label:
flags:
bytes/sector: 512
sectors/track: 254
tracks/cylinder: 20
sectors/cylinder: 5080
cylinders: 7001
total sectors: 35565080
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0
track-to-track seek: 0
drivedata: 0

16 partitions:
#		size		offset		fstype	[fsize  bsize cpg/sgs]
  a: 33456880         10160      4.2BSD    2048  16384    0   #  
(Cyl.	  2 -	 6587)
  b:  2098040	  33467040		  swap                       # (Cyl.   6588  
-	 7000)
  c: 35565080	         0      unused       0      0        #  
(Cyl.      0 -    7000)
  d:    10160		     0		  boot                       # (Cyl.	  0  
-       1)

./sgivol sd0
disklabel shows 35565080 sectors
checksum: 00000000
root part: 0
swap part: 1
bootfile: /netbsd

Volume header files:
boot	offset	2 blocks,  length     58740 bytes (115 blocks)

SGI patitions:
  0:a blocks 33456880 first	10160 type 4 (BSD4.2)
  1:b blocks  2098040 first 33467040 type 3 (Raw)
  3:d blocks    10160 first 0 type 4 (BSD4.2)
  8:i blocks    10176 first 0 type 0 (Volume Header)
10:k blocks 35565080 first 0 type 6 (Volume)