Subject: fatal kernel trap
To: None <port-alpha@netbsd.org>
From: Andrew Gillham <gillhaa@ghost.whirlpool.com>
List: port-alpha
Date: 12/01/1999 00:16:54
Hello,

I've installed a cheapo RTL8139A ethernet card in my AlphaPC164, and
I can fairly consistently cause a panic with ttcp.  The console reports
a fatal kernel panic, and "unaligned access fault", the traceback is
below.  For some reason ddb always causes the second "lockmgr" panic
as well. :)

What else is needed for a PR on this? 

-Andrew

(gdb) bt
#0  0xfffffc0000562238 in dumpsys ()
    at ../../../../arch/alpha/alpha/machdep.c:1316
#1  0xfffffc0000561e40 in cpu_reboot (howto=260, bootstr=0x0)
    at ../../../../arch/alpha/alpha/machdep.c:1135
#2  0xfffffc00003ede5c in panic (fmt=0xfffffc00005a408e "lockmgr: no context")
    at ../../../../kern/subr_prf.c:217
#3  0xfffffc00003da33c in lockmgr (lkp=0xfffffe00000ae230, flags=0, 
    interlkp=0x0) at ../../../../kern/kern_lock.c:355
#4  0xfffffc0000413fdc in vfs_busy (mp=0xfffffe00000ae200, flags=0, 
    interlkp=0xfffffc0000685b98) at ../../../../kern/vfs_subr.c:244
#5  0xfffffc0000418cd4 in sys_sync (p=0xfffffc0000680d48, v=0x0, retval=0x0)
    at ../../../../kern/vfs_syscalls.c:557
#6  0xfffffc0000417890 in vfs_shutdown () at ../../../../kern/vfs_subr.c:2283
#7  0xfffffc0000561de8 in cpu_reboot (howto=256, bootstr=0x0)
    at ../../../../arch/alpha/alpha/machdep.c:1118
#8  0xfffffc00003ede5c in panic (fmt=0xfffffc00005c504a "trap")
    at ../../../../kern/subr_prf.c:217
#9  0xfffffc000056aaa8 in trap (a0=18446739675697749114, a1=40, a2=1, entry=4, 
    framep=0xfffffe00029e3718) at ../../../../arch/alpha/alpha/trap.c:545
#10 0xfffffc0000300634 in XentUna ()
    at ../../../../arch/alpha/alpha/locore.s:643
#11 0xfffffc0000450858 in tcp_input (m=0xfffffc0000a709b0)
    at ../../../../netinet/tcp_input.c:677
can not access 0xfffffffe, invalid translation (invalid L1 PTE)
can not access 0xfffffffe, invalid translation (invalid L1 PTE)
---Type <return> to continue, or q <return> to quit---
Cannot access memory at address 0xfffffffffffffffe.