Subject: port-alpha/8216: panic: machine check in XentArith
To: None <>
From: None <>
List: netbsd-bugs
Date: 08/17/1999 11:15:36
>Number:         8216
>Category:       port-alpha
>Synopsis:       panic: machine check in XentArith
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-alpha-maintainer (NetBSD/alpha Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Aug 17 11:05:01 1999
>Originator:     Jarle Greipsland
>Release:        NetBSD-current 1999-08-14
System: NetBSD honey 1.4J NetBSD 1.4J (HONEY) #3: Tue Aug 17 17:37:07 CEST 1999     jarle@honey:/usr/src/sys/arch/alpha/compile/HONEY alpha


On my PC164 system I tried running the 'crashme' program.  Well, it did
indeed crash the system.  I compiled the crashme utility out of the current
package sources, version seems to be 2.4.  I then started it as

% crashme +2000 666 100 1:00:00

It ran for a while, and then the system panicked:

unexpected machine check:

    mces    = 0x1
    vector  = 0x670
    param   = 0xfffffc0000006060
    pc      = 0xfffffc0000300498
    ra      = 0x120001ac8
    curproc = 0xfffffc0004e265d8
        pid = 543, comm = crashme

panic: machine check
Stopped in crashme at   Debugger+0x4:   ret     zero,(ra)
db> trace
Debugger() at Debugger+0x4
panic() at panic+0xe4
machine_check() at machine_check+0x1fc
interrupt() at interrupt+0x134
XentInt() at XentInt+0x1c
--- interrupt (from ipl 0) ---
XentArith() at XentArith
--- arithmetic trap ---
*ABS*() at 0
*ABS*() at 0
--- root of call graph ---

Clearly not the appropriate behavior.  I know that there have(?) been some
problems with the kernel Debugger, so I don't know whether the above trace
tells the whole truth.

Also, the system has a slightly bad memory module, so it will print out
warnings about 'processor correctable errors' during periods with high
activity.  Though so far the system have never crashed during normal
operations.  But I guess there is always the chance that the two
abnormalties might be related.

The crashme panics seem quite reproducable, so if anyone require more
information I could surely repeat the exercise.

Run crashme with the manpage parameter set.

No idea.
"If it makes goo on the windshield, we'll call it a bug."
				-- Larry Wall