Determining OBP revision from the Operating System

Document ID   Synopsis   Date
17004   Determining OBP revision from the Operating System   24 May 2000


Description  
It is possible to determine the Open Boot Prom (OBP) revision of most 
SPARCstations from the UNIX prompt using the adb or prtconf command. This allows
planning for needed update/upgrades can be done without having to schedule down
time just to find out if the maintenance is needed.

NOTE: Using the adb command as noted below requires root privileges.


Finding the OBP version with Solaris 1.x (SunOS 4.x):
=====================================================

Type the following -

	# echo '*romp+c/xx' | adb /vmunix /dev/kmem

The system responds with a message such as -

	not core file = /dev/kmem
	0xffe8e95c:	2	4

This output is in hexadecimal format. In this case the "2	4" indicates
that this machine's OBP version is 2.4


Finding the OBP version with Solaris 2.x (SunOS 5.x):
=====================================================

Note: This command will not work on UltraSPARC systems - see next section.

Type the following -

	# echo '*romp+c/xx' | adb /dev/ksyms /dev/kmem

The system responds with a message such as -

	not core file = /dev/kmem
	0xffd0c804:	2	f

This output is in hexadecimal format. In this case the "2	f" indicates
that this machine's OBP version is 2.15


Finding the OBP version with Solaris 2.5 (SunOS 5.5) and later:
===============================================================

Note: This command will work with all systems including UltraSPARC

Type the following -

	# prtconf -V
	
The system responds with a message such as -

	OpenBoot 2.24

This output is NOT in hexadecimal format, but corresponds to actual OBP version.      

SOLUTION SUMMARY:

       
Applies To Hardware, AFO Vertical Team Docs, AFO Vertical Team Docs/Hardware
Attachments (none)
Document Content INFODOC ID: 17004