Subject: NetBSD 1.5.2 sparc64 install on a Sun Blade 100.
To: None <port-sparc64@netbsd.org>
From: None <Eric.Sammons@frit.frb.org>
List: port-sparc64
Date: 11/28/2001 13:40:41
This is a multipart message in MIME format.
--=_alternative 0067245985256B12_=
Content-Type: text/plain; charset="us-ascii"

I am trying to install the NetBSD 1.5.2 sparc64 software onto my SunBlade 
100.  I have followed the procedures as outlined on the web site. 

How to bootstrap NetBSD/sparc64? (top) 
Grab the files from ftp://ftp.netbsd.org/pub/NetBSD/arch/sparc64/other/ 
Partition a new disk, and newfs it from Solaris. On my 4G disk, I use: 
partition> pr 
Current partition table (original):
Total disk cylinders available: 8186 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders        Size            Blocks
  0       root    wm       0 - 1923        1.00GB    (1924/0/0) 2097160
  1       swap    wu    1924 - 2863      500.29MB    (940/0/0)  1024600
  2     backup    wu       0 - 8185        4.25GB    (8186/0/0) 8922740
  3 unassigned    wm       0               0         (0/0/0)          0
  4        usr    wm    2864 - 8184        2.77GB    (5321/0/0) 5799890
  5 unassigned    wm       0               0         (0/0/0)          0
  6     backup    wm       0 - 8185        4.25GB    (8186/0/0) 8922740
  7 unassigned    wm       0               0         (0/0/0)          0

Install new bootblock on the new disk using the 'bootblk' file from the 
FTP server: 
# installboot bootblk /dev/rdsk/c1t4d0s0

Put the kernel (netbsd) and ofwboot into the disk's root directory. And make sure they match. 
Extract the binary snapshot (all2.tar.gz) onto that disk 
Halt 
Boot from the new disk: boot disk1 or whatever your disk is on. To boot Partition 0 on Target 4 of a Sun PCI 
SCSI controller, use boot /pci@1f,0/pci@1/scsi@1/disk@4,0. (If that gives you troubles, you can also try /pci@1f,0/pci@1/scsi@1/disk@4,0:a, telling it to use the first partition) 
If that just gives you a "The file just loaded does not appear to be executable." that means that you got a debug bootblock somehow, you can boot the 
kernel now with `" /ofwboot" do-boot' (without the `single' quotes!) 


For newfs I of course used the ufs filesystems.  The kernel I am using 
came from an iso image for sparc systems as the netbsd kernel was not 
found on the ftp site.  After which I proceed to perform the boot disk2:a 
from the eeprom (ok prompt).  At which time everything seems to move along 
real well until finally I see the following messages:

raidattach: Asked for 4 units
Kernelized RAIDframe activated
root device: ?
use one of: raid0[a-h] raid1[a-h] raid2[a-h] raid3[a-h] halt
root device: ?

This is a sun blade 100 with 2 hard disks and no raid configurations.  I 
admit this is my first time attempting an install of NetBSD on a Sun 
system.  Perhaps I am missing something?j

Thanks!
---------------------------------------------------------------
Eric L. Sammons
Federal Reserve Automation Services
Work: (804)697-3925
E-mail: eric.sammons@frit.frb.org
---------------------------------------------------------------
--=_alternative 0067245985256B12_=
Content-Type: text/html; charset="us-ascii"


<br><font size=2 face="sans-serif">I am trying to install the NetBSD 1.5.2 sparc64 software onto my SunBlade 100. &nbsp;I have followed the procedures as outlined on the web site. &nbsp;</font>
<br>
<br><font size=4 face="Arial"><b>How to bootstrap NetBSD/sparc64?</b></font><font size=4 face="Times New Roman"><b> </b></font><font size=2 face="Times New Roman"><b>(</b></font><a href=http://www.netbsd.org/Ports/sparc64/faq.html#top><font size=2 color=blue face="Times New Roman"><b><u>top</u></b></font></a><font size=2 face="Times New Roman"><b>)</b></font><font size=4 face="Times New Roman"><b> </b></font>
<ul>
<li><font size=3 face="Times New Roman">Grab the files from </font><a href=ftp://ftp.netbsd.org/pub/NetBSD/arch/sparc64/other/><font size=3 color=blue face="Times New Roman"><u>ftp://ftp.netbsd.org/pub/NetBSD/arch/sparc64/other/</u></font></a><font size=3 face="Times New Roman"> </font>
<li><font size=3 face="Times New Roman">Partition a new disk, and newfs it from Solaris. On my 4G disk, I use: </font>
<br><font size=3 face="Courier New">partition&gt; pr &nbsp; &nbsp;<br>
Current partition table (original):<br>
Total disk cylinders available: 8186 + 2 (reserved cylinders)<br>
<br>
Part &nbsp; &nbsp; &nbsp;Tag &nbsp; &nbsp;Flag &nbsp; &nbsp; Cylinders &nbsp; &nbsp; &nbsp; &nbsp;Size &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Blocks<br>
 &nbsp;0 &nbsp; &nbsp; &nbsp; root &nbsp; &nbsp;wm &nbsp; &nbsp; &nbsp; 0 - 1923 &nbsp; &nbsp; &nbsp; &nbsp;1.00GB &nbsp; &nbsp;(1924/0/0) 2097160<br>
 &nbsp;1 &nbsp; &nbsp; &nbsp; swap &nbsp; &nbsp;wu &nbsp; &nbsp;1924 - 2863 &nbsp; &nbsp; &nbsp;500.29MB &nbsp; &nbsp;(940/0/0) &nbsp;1024600<br>
 &nbsp;2 &nbsp; &nbsp; backup &nbsp; &nbsp;wu &nbsp; &nbsp; &nbsp; 0 - 8185 &nbsp; &nbsp; &nbsp; &nbsp;4.25GB &nbsp; &nbsp;(8186/0/0) 8922740<br>
 &nbsp;3 unassigned &nbsp; &nbsp;wm &nbsp; &nbsp; &nbsp; 0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 &nbsp; &nbsp; &nbsp; &nbsp; (0/0/0) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0<br>
 &nbsp;4 &nbsp; &nbsp; &nbsp; &nbsp;usr &nbsp; &nbsp;wm &nbsp; &nbsp;2864 - 8184 &nbsp; &nbsp; &nbsp; &nbsp;2.77GB &nbsp; &nbsp;(5321/0/0) 5799890<br>
 &nbsp;5 unassigned &nbsp; &nbsp;wm &nbsp; &nbsp; &nbsp; 0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 &nbsp; &nbsp; &nbsp; &nbsp; (0/0/0) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0<br>
 &nbsp;6 &nbsp; &nbsp; backup &nbsp; &nbsp;wm &nbsp; &nbsp; &nbsp; 0 - 8185 &nbsp; &nbsp; &nbsp; &nbsp;4.25GB &nbsp; &nbsp;(8186/0/0) 8922740<br>
 &nbsp;7 unassigned &nbsp; &nbsp;wm &nbsp; &nbsp; &nbsp; 0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0 &nbsp; &nbsp; &nbsp; &nbsp; (0/0/0) &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0<br>
</font></ul>
<ul>
<li><font size=3 face="Times New Roman">Install new bootblock on the new disk using the 'bootblk' file from the FTP server: </font>
<br><font size=3 face="Courier New"># <b>installboot bootblk /dev/rdsk/c1t4d0s0</b><br>
</font></ul>
<ul>
<li><font size=3 face="Times New Roman">Put the kernel (</font><font size=3 face="Courier New">netbsd</font><font size=3 face="Times New Roman">) and </font><font size=3 face="Courier New">ofwboot</font><font size=3 face="Times New Roman"> into the disk's root directory. And make sure they match. </font>
<li><font size=3 face="Times New Roman">Extract the binary snapshot (all2.tar.gz) onto that disk </font>
<li><font size=3 face="Times New Roman">Halt </font>
<li><font size=3 face="Times New Roman">Boot from the new disk: </font><font size=3 face="Courier New">boot disk1</font><font size=3 face="Times New Roman"> or whatever your disk is on. To boot Partition 0 on Target 4 of a Sun PCI SCSI controller, use </font><font size=3 face="Courier New">boot /pci@1f,0/pci@1/scsi@1/disk@4,0</font><font size=3 face="Times New Roman">. (If that gives you troubles, you can also try </font><font size=3 face="Courier New">/pci@1f,0/pci@1/scsi@1/disk@4,0<b>:a</b></font><font size=3 face="Times New Roman">, telling it to use the first partition) </font>
<li><font size=3 face="Times New Roman">If that just gives you a &quot;</font><font size=3 face="Courier New">The file just loaded does not appear to be executable.</font><font size=3 face="Times New Roman">&quot; that means that you got a debug bootblock somehow, you can boot the kernel now with `&quot; /ofwboot&quot; do-boot' (without the `single' quotes!) </font>
<br>
<br>
<br><font size=3 face="Times New Roman">For newfs I of course used the ufs filesystems. &nbsp;The kernel I am using came from an iso image for sparc systems as the netbsd kernel was not found on the ftp site. &nbsp;After which I proceed to perform the boot disk2:a from the eeprom (ok prompt). &nbsp;At which time everything seems to move along real well until finally I see the following messages:</font>
<br>
<br><font size=3 face="Times New Roman">raidattach: Asked for 4 units</font>
<br><font size=3 face="Times New Roman">Kernelized RAIDframe activated</font>
<br><font size=3 face="Times New Roman">root device: ?</font>
<br><font size=3 face="Times New Roman">use one of: raid0[a-h] raid1[a-h] raid2[a-h] raid3[a-h] halt</font>
<br><font size=3 face="Times New Roman">root device: ?</font>
<br>
<br><font size=3 face="Times New Roman">This is a sun blade 100 with 2 hard disks and no raid configurations. &nbsp;I admit this is my first time attempting an install of NetBSD on a Sun system. &nbsp;Perhaps I am missing something?j</font>
<br>
<br><font size=3 face="Times New Roman">Thanks!</font>
<br><font size=2 face="sans-serif">---------------------------------------------------------------<br>
Eric L. Sammons<br>
Federal Reserve Automation Services<br>
Work: (804)697-3925<br>
E-mail: eric.sammons@frit.frb.org<br>
---------------------------------------------------------------</font></ul>
--=_alternative 0067245985256B12_=--