Subject: port-alpha/8939: unexpected machine check
To: None <gnats-bugs@gnats.netbsd.org>
From: None <jarle@runit.no>
List: netbsd-bugs
Date: 12/03/1999 01:25:27
>Number:         8939
>Category:       port-alpha
>Synopsis:       unexpected machine check
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-alpha-maintainer (NetBSD/alpha Portmaster)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec  3 01:24:01 1999
>Last-Modified:
>Originator:     Jarle Greipsland
>Organization:
	
>Release:        1999-11-27
>Environment:
	
System: NetBSD honey.runit.sintef.no 1.4P NetBSD 1.4P (HONEY) #14: Thu Dec  2 22:03:19 CET 1999     jarle@honey.runit.sintef.no:/usr/src/sys/arch/alpha/compile/HONEY alpha


>Description:
While running a couple of crashme processes the following suddenly appeared
on the console:

unexpected machine check:

    mces    = 0x1
    vector  = 0x670
    param   = 0xfffffc0000006060
    pc      = 0xfffffc00003004c8
    ra      = 0x120001ac8
    curproc = 0xfffffc00054f1558
        pid = 332, comm = crashme

panic: machine check
Stopped in crashme at   cpu_Debugger+0x4:       ret     zero,(ra)
db> trace
cpu_Debugger() at cpu_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
db> ps
 PID             PPID       PGRP        UID S   FLAGS          COMMAND    WAIT
>How-To-Repeat:
Run a couple of crashme processes ...
	
>Fix:
	

No idea.  However, the problem seems reproducible, so I may be able to
provide additional information in case someone tells me what they want to
know and how to get at it.
						-jarle
-- 
"Arithmetic is being able to count up to twenty without taking off your
 shoes."			-- Mickey Mouse
>Audit-Trail:
>Unformatted:
>332              285        285        666 2  0x4006          crashme
 328              243        243        666 2  0x4006          crashme
 291              242        291          0 3  0x4086              csh   ttyin
 290              233        290        666 3  0x4186              top  select
 285              233        285        666 3  0x4086          crashme    wait
 243              233        243        666 3  0x4086          crashme    wait
 242              241        242      16073 3  0x4086              csh   pause
 241              238        238      16073 3  0x4184            xterm  select
 238              236        238      16073 3  0x4084              csh   pause
 236              215        215          0 3    0x84            sshd1  select
 233              229        233        666 3  0x4086              csh   pause
 229              224        229          0 3  0x4086              csh   pause
 224              223        224      16073 3  0x4086             bash    wait
 223              220        220      16073 3  0x4184            xterm  select
 220              218        220      16073 3  0x4084              csh   pause
 218              215        215          0 3    0x84            sshd1  select
 217                1        217          0 3  0x4086              csh   ttyin
 215                1        215          0 3    0x84            sshd1  select
 203                1        203          0 3    0x84            inetd  select
 200                1        200          0 3    0x84            xntpd   pause
 198                1        198          0 3   0x184             cron nanosle
 168              167        167          0 3    0x84     lfs_cleanerd segment
 167                1        167          0 3    0x84     lfs_cleanerd    wait
 164                1        164          0 3    0x84        mount_mfs  mfsidl
 158                1        158          0 3    0x84          portmap  select
 151                1        151          0 2    0x84          syslogd
 4                  0          0          0 3 0x20204          ioflush  syncer
 3                  0          0          0 3 0x20204           reaper  reaper
 2                  0          0          0 3 0x20204       pagedaemon daemon_
 1                  0          1          0 3  0x4084             init    wait
 0                 -1          0          0 3 0x20204          swapper schedul

The system in question reports at the top of the dmesg output:

Digital AlphaPC 164 500 MHz
8192 byte page size, 1 processor.
total memory = 128 MB
(2472 KB reserved for PROM, 125 MB used by NetBSD)
avail memory = 113 MB
using 816 buffers containing 6528 KB of memory
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21164A-2 (pass 2)