This document describes how to
boot a Sun 220R or 420R from an external RAID using a
qlogic ultra 160 SCSI card
- make sure the SCSI card is in a 64 bit PCI slot
- plug the RAID into the SCSI card
- get the PDF for Sun StorEdge PCI Dual Ultra3 SCSI Host Adapter:
Installation Guide and Release Notes
- boot off internal disk
- load the drivers
- Go to
http://wwws.sun.com/software/download
- select View All under Browse All Products
- find and click on Sun StorEdge PCI Dual Ultra3 SCSI Host Adapter
- Register
- Download the 32 bit and the 64 bit packages
- sudo pkgadd -d . SUNWqux SUNWqusu SUNWqusx SUNWqusux
- load the patch: 112697 for Solaris 8, 112706 for Solaris 9
ftp://sunsolve.sun.com/pub/patches/112697*
- load the recommended patch cluster
- sudo shutdown -y -g0 -i0
- from OK prompt, reset, then interrupt the boot
- run probe-scsi-all to get the path of the RAID. It will be something like
/pci@1f,4000/pci@4/scsi@5/sd@2,0
NOTE: you need to use sd, not disk
- boot disk -r
- format should now see the RAID. partition; dump | restore; installboot
- format for partitioning
- sudo fsck /dev/rdsk/c3t2d0s0
- sudo mount /dev/dsk/c3t2d0s0 /mnt
- sudo installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c3t2d0s0
- sudo ufsdump 0f - / | ( cd /mnt; sudo ufsrestore rf - )
- sudo rm /mnt/restoresymtable
- sudo touch /mnt/reconfigure
- sudo vi /mnt/etc/vfstab
- sudo mount /mnt
- sudo shutdown -y -g0 -i0
- at the OK prompt, run
nvalias raid /pci@1f,4000/pci@4/scsi@5/sd@2,0
nvstore
setenv boot-device raid
reset
- if it doesn't work, you might have to update the open boot prom
- Sun E220R: patch 106455
- Sun E420R: patch 109082
- To flash the prom on 220s or 420s, you have to open it and move
a jumper from pins 1+2 (write protect) to pins 2+3 (write enable),
flash the prom, then move the jumper back
220R: J2703
420R: J3001
- some other useful OK prompt commands:
- show-devs
fibre-channel@ indicates Qlogic with x86 bios
QLGC,qla@ indicates Qlogic with fcode (sun sparc)
- "pci@...qla@..." select-dev
- show-children
- show-connection-mode
- 2 set-connection-mode
- show-data-rate
- show-adapter-loopid