Subject: unexpected machine check on AlphaStation 500
To: None <>
From: ITOH Yasufumi <>
List: port-alpha
Date: 06/25/2001 13:37:02

I've got an AlphaStation 500/500 at very low cost.
However, it frequently falls into debugger with machine check.
For example, building pkgsrc/japanese/skkserv 100% crashes
this box.

I replaced the DIMMs, but it doesn't improve the situation.

Any chance to use this machine?
If this trouble is caused by the 2nd cache, say, disabling it
is enough for me.

ITOH, Yasufumi

% uname -a
NetBSD 1.5V NetBSD 1.5V (RABBLE) #0: Thu May 10 09:42:18 JST 2001 alpha
% cd /usr/pkgsrc/japanese/skkserv
% env TMPDIR=/tmp make
: Merging dictionaries....
/usr/pkgsrc/japanese/skkserv/work.alpha/skk-9.6/jisyo-tools/skkdic-expr -d /tmp  /usr/pkgsrc/japanese/skkserv/work.alpha/skk-9.6/jisyo/SKK-JISYO.L + /usr/pkgsrc/japanese/skkserv/work.alpha/skk-9.6/jisyo/SKK-JISYO.JIS2 |  /usr/pkgsrc/japanese/skkserv/work.alpha/skk-9.6/jisyo-tools/skkdic-sort >/usr/pkgsrc/japanese/skkserv/work.alpha/SKK-JISYO.L

unexpected machine check:

    mces    = 0x1
    vector  = 0x670
    param   = 0xfffffc0000006060
    pc      = 0xfffffc00003002d8
    ra      = 0xfffffc00003003e0
    curproc = 0xfffffc0019c12e50
        pid = 1130, comm = skkdic-sort

panic: machine check
Stopped in pid 1130 (skkdic-sort) at    cpu_Debugger+0x4:       ret     zero,(ra
db> trace
cpu_Debugger() at cpu_Debugger+0x4
panic() at panic+0x144
machine_check() at machine_check+0x1d8
interrupt() at interrupt+0x180
XentInt() at XentInt+0x1c
--- interrupt (from ipl 5) ---
exception_save_regs() at exception_save_regs+0x30
XentInt() at XentInt+0x10
--- interrupt (from ipl 0) ---
--- user mode ---

I managed to build a kernel.  Here's the boot message for your information:

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 1.5V (RABBLE) #0: Thu May 10 09:42:18 JST 2001
Digital AlphaStation 500/500, 500MHz, s/n 
8192 byte page size, 1 processor.
total memory = 512 MB
(2256 KB reserved for PROM, 509 MB used by NetBSD)
avail memory = 469 MB
using 3275 buffers containing 26200 KB of memory
mainbus0 (root)
cpu0 at mainbus0: ID 0 (primary), 21164A-0
cpu0: Architecture extensions: 1<BWX>
cia0 at mainbus0: DECchip 2117x Core Logic Chipset (ALCOR/ALCOR2), pass 3
cia0: extended capabilities: 21<DWEN,BWEN>
cia0: using BWX for PCI config access
pci0 at cia0 bus 0
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
de0 at pci0 dev 6 function 0
de0: interrupting at kn20aa irq 13
de0: DEC 21040 [10Mb/s] pass 2.4
de0: address 00:xx:xx:xx:xx:xx
tga0 at pci0 dev 7 function 0: TGA2 pass 2, board type T8-02
tga0: 1280 x 1024, 8bpp, Bt485 RAMDAC
tga0: interrupting at kn20aa irq 8
wsdisplay0 at tga0
isp0 at pci0 dev 9 function 0
isp0: interrupting at kn20aa irq 12
isp0: invalid NVRAM header
scsibus0 at isp0: 16 targets, 8 luns per target
pceb0 at pci0 dev 10 function 0: Intel 82375EB/SB PCI-EISA Bridge (PCEB) (rev. 0x05)
de1 at pci0 dev 11 function 0
de1: interrupting at kn20aa irq 0
de1: DEC DE500-XA 21140 [10-100Mb/s] pass 1.2
de1: address 00:yy:yy:yy:yy:yy
de1: enabling 10baseT port
siop0 at pci0 dev 12 function 0: Symbios Logic 53c810 (fast scsi)
siop0: interrupting at kn20aa irq 4
scsibus1 at siop0: 8 targets, 8 luns per target
eisa at pceb0 not configured
isa0 at pceb0
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo
com0: console
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo
pckbc0 at isa0 port 0x60-0x64
vga0 at isa0 port 0x3b0-0x3df iomem 0xa0000-0xbffff
wsdisplay1 at vga0
lpt0 at isa0 port 0x3bc-0x3bf irq 7
wss0 at isa0 port 0x530-0x537 irq 9 drq 0: CS4231A
audio0 at wss0: half duplex, mmap
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
spkr0 at pcppi0
isabeep0 at pcppi0
fdc0 at isa0 port 0x3f0-0x3f7 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
mcclock0 at isa0 port 0x70-0x71: mc146818 or compatible
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 0 lun 0: <DEC, RZ29B    (C) DEC, 0016> SCSI2 0/direct fixed
sd0: 4091 MB, 3708 cyl, 20 head, 113 sec, 512 bytes/sect x 8380080 sectors
sd0: Sync (100.0ns offset 12), 16-bit (20.000MB/s) transfers, tagged queueing
cd0 at scsibus0 target 4 lun 0: <DEC, RRD45   (C) DEC, 0436> SCSI2 5/cdrom removable
cd0: Sync (248.0ns offset 12), 8-bit (4.032MB/s) transfers
de0: autosense failed: cable problem?
scsibus1: waiting 2 seconds for devices to settle...
IPsec: Initialized Security Association Processing.
root on sd0a dumps on sd0b
root file system type: ffs