Summary: Booting sparc 2 and tweaking NVRAM

From: Greg Polanski (greg_polanski@adc.com)
Date: Tue Oct 26 1999 - 14:26:08 CDT


Karl provided the answer.

1. Set CD to target 3
2. boot boot /sbus/esp@0,800000/sd@0,0 -sr
3. edit /etc/vfstab to reference target 3
4. change disk jumpers to target 3
5. power on and everything works as target 3

Another suggestion was to setenv boot-device
however, the values that I could see are 'disk' or 'net'
It was alread set to disk.
I did not see how to associate the prom device aliase, disk,
with target 0.

Thanks

greg

"Karl W. MacMillan" wrote:
>
> At the ok prompt type setenv boot-device diskname to set the default boot
> device. Then type reset. This is in the Solaris Administration Guide
> that comes with the system (printed or answerbook - I have a 2.6 printed
> version that is VERY handy to have around).
>
> As for the problem booting from target 3, what I have done to fix this is
> to boot -r off the disk as target 0 and connect another device (cdrom,
> disk, anything) as target 3. This will create the /dev entries that you
> need. Why Sun does not provide all possible scsi targets in /dev is
> beyond me ( or at least do a reconfigure early enough in the boot process
> to make it possible to boot from another target ).
>
> Karl
>
> _____________________________________________________
> | Karl W. MacMillan |
> | Peabody Institute of the Johns Hopkins University |
> | Network and Telecommunications Services |
> | karlmac@peabody.jhu.edu |
> | 410/659-8297 |
> -----------------------------------------------------
>
> On Tue, 26 Oct 1999, Greg Polanski wrote:
>
> > I need advice for a SPARC 2, running Solaris 7.
> >
> > How can I tell NVRAM to boot from target 0?
> > How can I fix the image on the disk to recognize
> > that disk target 3 exists?
> >
> > I replaced a NVRAM chip with a dead battery with a
> > working NVRAM chip. However booting from disk is harder
> > than expected.
> >
> > 1. c0t3d0s0 disappears. When I boot from c0t3d0s0, the
> > default, the system comes part way up, and cannot find
> > c0t3d0s0 for fsck. I never get far enough for boot -r to
> > work
> > I jumper the disk to be target 3
> >
> > 2. When I remove the jumpers so the disk is target 0,
> > c0t0d0s0 works. I have to specify
> > boot /sbus/esp@0,800000/sd@0,0:c
> >
> > eeprom does not give me a hint on how to set the eeprom to
> > use target 0 as the boot device instead of target 3.
> > Ideas?
> >
> > If it is in the NVRAM FAQ, I overlooked it.
> >
> > Thank you
> >
> > greg
> >

_______________________________________________________________
Greg Polanski greg_polanski@adc.com
ADC Telecommunications, Inc. 612-946-2270
MS 85 612-946-2465 FAX
PO Box 1101 612-538-1833 pager
Minneapolis, MN 55440-1101 6125381833@minncommpaging.com
_______________________________________________________________



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:13:30 CDT