7.821 bytes

Service Hints & Tips

Document ID: DJON-3SXMXV

This document is provided to IBM and our Business Partners to help sell and/or service IBM products. It is not to be distributed beyond that audience or used for any other purpose.

Cross Brand - Trap Errors (Descriptions)

Applicable to: World-Wide

Service Information:
The purpose of this tip is to provide guidance for servicers and customers experiencing Trap Errors. It is beyond the scope of this tip to provide detailed fault resolution. The correct support structure should be used to resolve the problem. There are a maximum of 255 possible traps. Trap errors consist of interrupts and exceptions. An interrupt is an event external to the processor that can occur at random times during system operation. An exception is a special condition which is detected by the processor during the execution of instructions. Exceptions only occur when the processor is executing instructions. Traps 0 thru 16, with the exclusion of Trap 2, are special exceptions that are detected by the processor. Trap 2 is a non-maskable interrupt error indicating a catastrophic system failure. Traps 17-31 are exceptions reserved by Intel*, and traps 32-255 are maskable interrupts that are user-defined. A summary of the traps are shown below:


TRAP # DESCRIPTION
dec (hex)
0 0000 Divide by zero error
1 0001 Debug exception
2 0002 NMI interrupt
3 0003 Debug Breakpoint
4 0004 Overflow Detected
5 0005 Bound Range Exceeded
6 0006 Invalid Opcode Instruction
7 0007 Coprocessor Not Available
8 0008 Double Fault
9 0009 Coprocessor Segment Overrun
10 000A Invalid Task State Segment
11 000B Segment Not Present
12 000C Stack Fault
13 000D General Protection
14 000E Page Fault
15 000F INTEL Reserved - Do Not Use
16 0010 Coprocessor Error
17-31 0011-1F INTEL Reserved - Do Not Use
32-255 0020-FF Maskable Interrupts

Note:
This tip only deals with the first 16 traps, which concern the servicer. Traps 0 through 16 are "Exceptions," which means if they occur the processor takes the appropriate action according to the instructions in the interrupt handler routine of the user's operating system. The exception handler can vary widely according to the software vendor. The following list gives a description of traps 0-16 and provides direction for the most efficient problem resolution.

TRAP 0000 - DIVIDE ERROR
- A program attempted to divide a number by zero. Contact software support.

TRAP 0001 - DEBUG ERROR
- Contact software support.

TRAP 0002 - NMI INTERRUPT
- An NMI interrupt is generated by the system when a catastrophic error occurs. There are four possible causes of this problem. These are summarised below:
110 error - system board parity error.
111 error - I/O channel check (adapter card error).
112 error - watchdog timeout (may be hardware or software).
113 error - DMA timeout (may be hardware or software).
The Service Aid Diskette (SADA) may be useful to determine whether the problem was a 110, 111, 112 or 113 error.
Note: if a 112 or 113 error cannot be resolved by hardware troubleshooting, software support should be contacted. (Some operating systems do not support this service aid).

TRAP 0003 - BREAKPOINT
- This is a special instruction (INT 3) used in debugging software, which was left in the code either accidentally or by design, Contact software support.

TRAP 0004 - OVERFLOW
- An overflow occurred while doing an arithmetic operation. Contact software support.

TRAP 0005 - BOUND RANGE EXCEEDED
- A bound instruction exceeded the specific limits. Contact software support.

TRAP 0006 - INVALID OP CODE
- The processor tried to execute an unreserved invalid op code. Contact software support.

TRAP 0007 - COPROCESSOR NOT AVAILABLE
- If coprocessor diagnostics run error-free, contact software support.

TRAP 0008 - DOUBLE FAULT
- The processor detected an exception while processing an exception. It could be caused by either hardware or software. If trap 0002 is also being experienced, contact hardware support.

TRAP 0009 - COPROCESSOR OVERRUN
- The middle position of a coprocessor operand is protected or non-present. Contact software support.

TRAP 000A - INVALID TASK STATE SEGMENT
A task switch to an invalid task switch segment was attempted. Contact software support.

TRAP 000B - SEGMENT NOT PRESENT
- The segment being referenced is not present. Contact software support.

TRAP 000C - STACK FAULT
- Contact software support.

TRAP 000D - GENERAL PROTECTION EXCEPTION
- All protection violations which do not cause another exception cause a TRAP 000D. Contact software support.

TRAP 000E - PAGE FAULT
- The page being referenced is not present in memory or the procedure referencing the page does not have enough privilege to access the page. Contact software support.

TRAP 000F - RESERVED BY INTEL

TRAP 0010 - COPROCESSOR ERROR
- The processor detected an error from the coprocessor. This could be caused by hardware or software.


SAS KEYWORDS:
PSY2 PS2 PS/2 PSY2PROG
PSY2ERR D/T8550 D/T8555 D/T8560
D/T8565 D/T8570 D/T8580 D/T8590
D/T8595 D/T8600 D/T8556 D/T8557
D/T9556 D/T9557 D/T9576 D/T9577
D/T9585 D/T9595 D/T95XX OS/2
OS2 D/T3892 3892 D/T3891
3891APP


Search Keywords

Hint Category

General Information

Date Created

10-11-93

Last Updated

26-03-98

Revision Date

26-03-99

Brand

Cross Brand

Product Family

Various

Machine Type

Various

Model

TypeModel

Retain Tip (if applicable)

H002039

Reverse Doclinks
and Admin Purposes