From: rtilson@sundry.Corp.Sun.COM (Rick Tilson -FTSE- NASC)
Newsgroups: comp.sys.sun.hardware
Subject: Re: Sun-2 CPUs and os 4.0.3
Date: 8 Sep 1992 22:16:13 GMT
Organization: Sun Microsystems Computer Corp.
Distribution: world
Reply-To: rtilson@sundry.Corp.Sun.COM
NNTP-Posting-Host: sundry.corp.sun.com

-------------------------------------------------------
Part Name: Sun-2 CPU

Part Number & Revision: 501-1007-XX

Products Affected: Sun-2    

Serial Numbers: N/A       			Date Code: N/A

Subject: Jumpering of the Sun-2 CPU


Symptom/Topic:

The "Hardware Installation Manual for the Sun-2/120" (Part Number
800-1170-01) and "Hardware Installation Manual for the Sun-2/170"
(Part Number 800-1171-01) indicates that the jumper at J701 should
not be installed. However, if the J701 shunt is not installed on the 
501-1007-XX (68010 CPU) board, the Sun-2 systems will crash during
the booting or installation of SunOS 4.0 or SunOS 4.0.3. The error 
message displayed will be as follows:

   trap address 0x8, pid 1, pc = 470e, sr = 2004, stkfmt 8, context 0
   Bus Error Reg 98<VALID,PROTERR>
   access address ffffff ifetch 0 dfetch 0 hibyte 0 bytex 1 rw 0 fcode 1
   page map 80000000 pmgrp ff
   D0-D7  0 0 ffff 4000 120000 d4d2 1 e
   A0-A7  ffffff 15fb18 4000 13cf36 116e79 e65e4 3a16 39e6
   Begin traceback...fp = 3a16, sp = 39e6
   Called from 1e4fa, fp=3a2e, args=0 2020 2000 2000
   Called from 40b6, fp=0, args=0 0 ffff 4000
   End traceback...


Problem Description:

For the Sun-2, the 0x80 bit is the VALID bit, and the 0x08
bit is the PROTERR bit. The system is getting the panic error
because the 0x10 bit is also on. The SunOS 4.0 and SunOS 4.0.3
code was written to interpret any bits being on in the bus error 
register other than the parity, valid, and protection error bits
as a fatal non-resolvable fault.


Corrective Action:           

Install a shunt at J701 on the 501-1007-XX CPU board before
the installation of SunOS 4.0, or SunOS 4.0.3.

Patch the /vmunix file as follows:
 
As root enter the following commands:
        echo 'trap+0x170?W 0x47' | adb -w /vmunix -
        echo 'trap+0x3b0?W 0x47' | adb -w /vmunix -

If you want to build additional kernels, as root, enter the following
commands:
        echo 'trap+0x170?W 0x47' | adb -w /sys/sun2/OBJ/trap.o -
        echo 'trap+0x3b0?W 0x47' | adb -w /sys/sun2/OBJ/trap.o -

Once the patch has been applied to the kernel, remove the J701 jumper.
  
NOTE: If the jumper is not removed, system performance will be slow.


Comments:

This problem does not occur on the 501-1051-XX CPU board.
The jumper (J700 pins 7-8) should be configured as per the 
installation manuals (OUT).

To verify if the patch has been installed, enter the following
commands:
        echo 'trap+0x16e?i 0x47' | adb -w /vmunix -
        echo 'trap+0x3ae?i 0x47' | adb -w /vmunix -
 
If the patch has been installed, the screen will display:
        _trap+0x16e:    andl    #0x47, d0
        _trap+0x3ae:    andl    #0x47, d0
 
If the patch has not been installed, the screen will display:
        _trap+0x16e:    andl    #0xffffff77, d0
        _trap+0x3ae:    andl    #0xffffff77, d0

There will be no future release of SunOS for the Sun-2 product family.


---
--------------------
Rick Tilson				rtilson@sundry.Corp.Sun.COM
Sun Microsystems Computer Corporation	Field Technical Support Engineering

Sometimes I go off into my own little world;
	but that's ok, they know me there.
--------------------


Newsgroups: comp.sys.sun.hardware