Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jul 2002 17:31:54 -0400 (EDT)
From:      Andrew Gallatin <gallatin@cs.duke.edu>
To:        freebsd-alpha@freebsd.org
Subject:   machine checks on a AlphaPC 164LX 
Message-ID:  <15669.57930.427134.220183@grasshopper.cs.duke.edu>

next in thread | raw e-mail | index | archive | help

I've got a PC164LX which will crash with a machine check under heavy
disk IO to its on-board CMD 646 ATA controller.

The panic's always look something like this:

unexpected machine check:

    mces    = 0x1
    vector  = 0x670
    param   = 0xfffffc0000006068
    pc      = 0xfffffc0000575624
    ra      = 0xfffffc000035e590
    curproc = 0

panic: machine check
panic
Stopped at      Debugger+0x2c:  ldq     ra,0(sp) <0xfffffe00176a7720>
 <ra=0xfffffc0000560be0,sp=0xfffffe00176a7720>
db> tr
Debugger() at Debugger+0x2c
panic() at panic+0x100
machine_check() at machine_check+0x1f0
interrupt() at interrupt+0x198
XentInt() at XentInt+0x28
--- interrupt (from ipl 4) ---
cia_bwx_inb() at cia_bwx_inb+0x24
ata_dmastatus() at ata_dmastatus+0x30
ata_pci_intr() at ata_pci_intr+0x3a8
ata_intr() at ata_intr+0x24
isa_handle_intr() at isa_handle_intr+0x2c
alpha_dispatch_intr() at alpha_dispatch_intr+0x8c
interrupt() at interrupt+0x1d8
XentInt() at XentInt+0x28
--- interrupt (from ipl 0) ---
vm_page_zero_idle() at vm_page_zero_idle+0x20
Lpgzero() at Lpgzero+0x8
--- root of call graph ---



If I look at what ATA is using for the call to cia_bwx_inb (via bus
pio) in gdb, I don't see anything terribly wrong (like an out-of-range
value):

(kgdb) p *adp->device->channel->r_altio 
$7 = {r_link = {cqe_next = 0xfffffe0004db0300, cqe_prev = 0xfffffe0004db0380}, 
  r_sharelink = {le_next = 0x0, le_prev = 0x0}, r_sharehead = 0x0, 
  r_start = 1014, r_end = 1014, r_flags = 3, r_virtual = 0x0, r_bustag = 0, 
  r_bushandle = 1014, r_dev = 0xfffffe0004db1100, r_rm = 0xfffffc000064e4b8}

1014 is in the range of IO-ports:
     atapci0: <CMD 646 ATA controller> port 0x1110-0x111f irq 5 at device 11.0 on pci0

I'm starting to think that this might be just a sick motherboard.  Does
anybody else have any feelings about this?

Thanks,

Drew



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15669.57930.427134.220183>