Subject: port-hp300/5396: MMU page fault with keystroke in buffer
To: None <gnats-bugs@gnats.netbsd.org>
From: Chris Jantzen <chris@zaphod.friends.cute>
List: netbsd-bugs
Date: 05/03/1998 10:43:40
>Number:         5396
>Category:       port-hp300
>Synopsis:       MMU page fault with keystroke in buffer
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May  3 10:50:01 1998
>Last-Modified:
>Originator:     Chris Jantzen
>Organization:
Oregon State University ACM Chapter
>Release:        NetBSD 1.3 (GENERIC) #0: Mon Jan  5 16:16:28 CST 1998
>Environment:
machine: HP9000/433 64MB RAM 2x500MB HDD
system: NetBSD zaphod 1.3 NetBSD 1.3 (GENERIC) #0: Mon Jan 5 16:16:28 CST 1998 scottr@beech:/amd/toaster/netbsd/src/sys/arch/hp300/compile/GENERIC hp300


>Description:
It appears that whenever a keystroke is still in the buffer, the kernel
faults. Possibly another explanation. See How-To-Repeat. Screenshot follows:

[ preserving 295872 bytes of netbsd symbol table ]
Copyright (c) 1996, 1997 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.3 (GENERIC) #0: Mon Jan  5 16:16:28 CST 1998
    scottr@beech:/amd/toaster/netbsd/src/sys/arch/hp300/compile/GENERIC
HP 9000/433 (33MHz MC68040 CPU+MMU+FPU, 4k on-chip physical I/D caches)
cpu: delay divisor 23, mmuid 6
real mem  = 67096576
avail mem = 56225792
using 1638 buffers containing 6709248 bytes of memory
Parity detection enabled
trap: bad kernel read access at 0x3
trap type 8, code = 0x525, v = 0x3
kernel program counter = 0xc4be0
kernel: MMU fault trap
pid = 0, pc = 000C4BE0, ps = 2100, sfc = 1, dfc = 1
Registers:
             0        1        2        3        4        5        6        7
dreg: 00002704 0000000C 00000224 00000001 00000002 00000000 000D8000 00000000
areg: 00000000 000E3664 00158F78 00158F74 FC14D000 FC002000 00158F2C FFEFFFFC

Kernel stack (00158E5C):
158E5C: 000CBC58 00158EAC 00000080 00000224 00000001 00000002 00000000 000D8000
158E7C: 00000000 00158F78 00158F74 FC14D000 FC002000 00000000 00000000 00158F2C
158E9C: 00001904 00000008 00000525 00000003 00002704 0000000C 00000224 00000001
158EBC: 00000002 00000000 000D8000 00000000 00000000 000E3664 00158F78 00158F74
158EDC: FC14D000 FC002000 00158F2C FFEFFFFC 00000000 2100000C 4BE07008 00158F40
158EFC: 05250005 00250039 00000003 00158F2C 00158F50 00000224 00158F78 00158F50
158F1C: 00000665 00035EBA 005D80B4 00000074 00158F50 00001D1C 00002704 0000000C
158F3C: 005D8040 000EDD54 20000000 256A0064 000C5C20 00158F7C 000C78DA 0000000C
158F5C: FC002000 FFFFFFFC 0014B000 A0000004 FFEFFFFC 000F6078 08E60000 006D9000
158F7C: 00158FAC 00018884 000DA0DC 0000000C FC002000 FFFFFFFC FFEFFFFC FC003810
158F9C: 0015D000 00000000 00000000 FFFFFFFC FFFFEF20 A0000004 00000000 FFEFFFFC
158FBC: FC003810 FC14D000 FC002000 00000001 00000000 00001000 FFEFFFFC FC003810
158FDC: 00158FF4 000C74D4 0015D000 00001000 0000000C 00000000 00000000 00000000
158FFC: 00000000
panic: MMU fault
Stopped at      _Debugger+0x6:  unlk    a6
db>

>How-To-Repeat:
Press Enter twice at the bootloader. Press Enter too late while loading
the kernel.
>Fix:
>Audit-Trail:
>Unformatted: