This document describes how to boot a Sun 220R or 420R from an external RAID using a qlogic ultra 160 SCSI card

  1. make sure the SCSI card is in a 64 bit PCI slot
  2. plug the RAID into the SCSI card
  3. get the PDF for Sun StorEdge PCI Dual Ultra3 SCSI Host Adapter: Installation Guide and Release Notes
  4. boot off internal disk
  5. 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
  6. load the patch: 112697 for Solaris 8, 112706 for Solaris 9
    ftp://sunsolve.sun.com/pub/patches/112697*
  7. load the recommended patch cluster
  8. sudo shutdown -y -g0 -i0
  9. from OK prompt, reset, then interrupt the boot
  10. 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
  11. boot disk -r
  12. 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
  13. sudo shutdown -y -g0 -i0
  14. at the OK prompt, run
    nvalias raid /pci@1f,4000/pci@4/scsi@5/sd@2,0
    nvstore
    setenv boot-device raid
    reset
  15. if it doesn't work, you might have to update the open boot prom
    • Sun E220R: patch 106455
    • Sun E420R: patch 109082
  16. 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
  17. 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