Sun Microsystems, Inc.  Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-1007555.1
Update Date:2009-02-22
Keywords:

Solution Type  Problem Resolution Sure

Solution  1007555.1 :   ADMIN: "uname -a" and "uname -i" returns sun4u[TM] instead of full description on Ultra[TM] 60 and Ultra[TM] 80 (and E220R and E420R)  


Related Items
  • Sun Ultra 80 Workstation
  •  
  • Sun Enterprise 220R Server
  •  
  • Sun Ultra 60 Workstation
  •  
  • Sun Enterprise 420R Server
  •  
Related Categories
  • GCS>Sun Microsystems>Desktops>Workstations
  •  
  • GCS>Sun Microsystems>Servers>Entry-Level Servers
  •  

PreviouslyPublishedAs
210455


Symptoms
The following document assumes a PATH variable that contains /usr/sbin and /usr/bin. For commands or files that normally exist outside of these common directories, full paths are specified.
Problem Description: 
"uname -i" and "uname -a" commands give an incorrect output compared to another E420R machine. 
# uname -a
SunOS <hostname> 5.7 Generic_106541-19 sun4u sparc sun4u

# uname -i
sun4u

Sun4U[TM]
is the correct architecture, but the uname output is missing the actual description of
the machine such as "SUNW,Ultra-E420R".
NOTE:
E220R is actually based on Ultra60 motherboard.
E420R is actually based on Ultra80 motherboard.
So, even if the uname command functions properly, it may still identify E220R as an Ultra60
and a E420R as an Ultra80.


Resolution
When ADMIN returns sun4u instead of full description:

Solutions:

It appears that the Operating System is not giving a correct hardware platform output. Below are the things you should check and verify on the system.

1. Make sure that the OBP (boot PROM) version and prtdiag output show the correct info for the system board:

# /usr/platform/`uname -i`/sbin/prtdiag | head -1

If this shows incorrect system info, i.e. a E420R machine shows up as an Ultra80, this can be corrected by updating the NVRAM with a proper "banner-name".

Also, run:

# prtconf -V

OBP 3.23.0 1999/06/30 13:53

This shows you the OBP version. If it's not up to date, install the OPB patch.

The latest version of OBP patch is available at http://sunsolve.sun.com .

2. Verify that the link "SUNW,Ultra-80" exists under the /usr/platform directory. If this is an Ultra[TM] 60, substitute "Ultra60" for "Ultra80" in

the commands below.

A properly configured link should look like this:

lrwxrwxrwx 1 root root 5 May 29 2001 SUNW,Ultra-80 -> sun4u/

If the link is missing, create the SUNW,Ultra-80 to sun4u link:

# cd /usr/platform

# ln -s sun4u SUNW,Ultra-80

3. Last thing, check to see if the OS version installed on this machine supports this type of hardware.

# more /etc/release

Solaris[TM] 7 s998s_SunServer_21al2b SPARC

Copyright 1998 Sun Microsystems, Inc. All Rights Reserved.

Assembled 06 October 1998

(October 6, 1998 gives us a clue that this is an old release of Solaris 7)

Minimum supported OS releases are:

For Ultra[TM] 60/E220R: Sol 2.5.1 HW:11/97 or Sol 2.6 HW:3/98 or any later OS.

For Ultra[TM] 80/E420R: Sol 2.5.1 HW:11/97 or Sol 2.6 HW:5/98 or Sol 7 HW:8.99 or any later OS.

Both 2.5.1 and 2.6 installations have to be performed by first booting from an Operating Environment Installation CD.

For specific instructions see <Document: 1005945.1> 

There is an unsupported way to run an unsupported version of the OS on either the Ultra[TM]-E220R or E420R system.

You can change the "boot-file" to the value "/platform/sun4u/kernel/unix", which is the "quick and dirty" way to make it run. If you have changed the "boot-file" and the system has an unsupported OS version installed on the system, you will see the problem with the "uname -i" and "uname -a" commands not getting a correct hardware platform output.

THE ABOVE PROCEDURE IS NOT SUPPORTED BY SUN MICROSYSTEMS.



Product
Sun Enterprise 420R Server
Sun Enterprise 220R Server
Ultra 80 Workstation
Ultra 60 Workstation

Internal Comments
Also check:

Problem Resolution <Document: 1005945.1> .


error, troubleshooting, configuration
Previously Published As
46355

Change History
Date: 2006-01-18
User Name: 111868
Action: Update Canceled
Comment: *** Restored Published Content *** deleting working copy
Version: 0
Date: 2006-01-18
User Name: 111868
Action: Update Started
Comment: SSH AUDIT
Version: 0
Date: 2005-10-04
User Name: 111868
Action: Approved
Comment: removed references to absoleted articles, re-publishing

Attachments
This solution has no attachment
  Copyright © 2011 Sun Microsystems, Inc.  All rights reserved.
 Feedback