Subject: port-amiga/4983: Panic: MMU Fault in Amiga NetBSD 1.3
To: None <gnats-bugs@gnats.netbsd.org>
From: None <emiller@thecreation.com>
List: netbsd-bugs
Date: 02/12/1998 09:00:16
>Number:         4983
>Category:       port-amiga
>Synopsis:       Panic: MMU Fault
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 12 09:05:06 1998
>Last-Modified:
>Originator:     Eric K. Miller
>Organization:
Genesis Multimedia Solutions
>Release:        NetBSD-1.3
>Environment:
System: NetBSD thecreation.com 1.3 NetBSD 1.3 (thecreation) #0: Fri Jan 30 02:22:07 EST 1998 emiller@thecreation.com:/usr/src/sys/arch/amiga/compile/thecreation amiga


>Description:

Configuration:
Amiga 2000
A2091 SCSI card
MultiFaceCard III
2 Ariadne Ethernet Cards
SupraRAM 2000 board (2MB 16-bit RAM)
Derringer 50MHz '030/'882 accelerator
1GB Internal IBM drive
1GB External Seagate drive

Produces a Kernel Panic: MMU Fault message
very often.  Sometimes twice within an hour.

I've heard there might be a bug in the Ariadne driver (the new le? driver)
two other people have contacted me saying that they have the same problem
with a similar configuration with Ariadnes.  Their solution was to revert to
NetBSD 1.2.1.  Though this might not be related, NAT does not appear to work on this machine either.


dmesg -M netbsd.7.core produces:


NetBSD 1.3 (thecreation) #0: Fri Jan 30 02:22:07 EST 1998
    emiller@thecreation.com:/usr/src/sys/arch/amiga/compile/thecreation
Amiga 500/2000 (m68030 CPU/MMU m68882 FPU)
real  mem = 33554432 (4096 pages)
avail mem = 29573120 (3610 pages)
using 217 buffers containing 1777664 bytes of memory
memory segment 0 at 8000000 size 2000000
memory segment 1 at 200000 size 200000
memory segment 2 at 0 size 100000
mainbus0 (root)
clock0 at mainbus0: CIA B system hz 100 hardware hz 715909
Calibrating delay loop... 166/1024 us
a2kbbc0 at mainbus0
ser0 at mainbus0: input fifo 512 output fifo 32
par0 at mainbus0
kbd0 at mainbus0: CIA A type Amiga
ms0 at mainbus0
ms1 at mainbus0
grfcc0 at mainbus0
grf0 at grfcc0: width 640 height 400 colors 4
ite0 at grf0: rows 50 cols 79 repeat at (30/100)s next at (10/100)s has keyboard
fdc0 at mainbus0: dmabuf pa 0xe3030: dmabuf ka 0x2c6f030
fd0 at fdc0 unit 0: 3.5dd 80 cyl, 2 head, 11 sec [9 sec], 512 bytes/sec
fd1 at fdc0 unit 1: 3.5dd 80 cyl, 2 head, 11 sec [9 sec], 512 bytes/sec
aucc0 at mainbus0
audio0 at aucc0
zbus0 at mainbus0: mem 0x02d8c000-0x02dfbfff
atzsc0 at zbus0 pa 0xe90000 man/pro 514/3: dmamask 0xffffff
scsibus0 at atzsc0: 8 targets
atzsc0: target 0 now synchronous, period=256ns, offset=12.
sd0 at scsibus0 targ 0 lun 0: <IBM, DPES-31080, S31S> SCSI1 0/direct fixed
sd0: 1034MB, 4903 cyl, 4 head, 108 sec, 512 bytes/sect x 2118144 sectors
atzsc0: target 1 now synchronous, period=256ns, offset=12.
sd1 at scsibus0 targ 1 lun 0: <SEAGATE, ST31230N, 0594> SCSI2 0/direct fixed
sd1: 1010MB, 3992 cyl, 5 head, 103 sec, 512 bytes/sect x 2069860 sectors
le0 at zbus0 pa 0xea0000 man/pro 2167/201: address 00:60:30:00:21:fc
le0: 16 receive buffers, 4 transmit buffers
le1 at zbus0 pa 0xeb0000 man/pro 2167/201: address 00:60:30:00:22:d0
le1: 16 receive buffers, 4 transmit buffers
mfc0 at zbus0 pa 0xec0000 man/pro 2092/18
mfcs0 at mfc0: input fifo 1024 output fifo 128
mfcs1 at mfc0: input fifo 1024 output fifo 128
10 views configured
sbicgo: HELP! no bounce allocated for 1
xfer: (0x613e34->0x820fe34,20)
alloc ZII target 1 bounce pa 0x3f0000
Allocating 1 bounce at 3f0000
warning found rdb->secpercyl(515) != rdb->nsectors(104) * rdb->nheads(5)
sbicgo: HELP! no bounce allocated for 0
xfer: (0x613e34->0x820fe34,20)
alloc ZII target 0 bounce pa 0x3e0000
Allocating 0 bounce at 3e0000
root on sd0a dumps on sd0b
root file system type: ffs
IP Filter: initialized.  Default = pass all, Logging = enabled
le0: lost carrier
le1: lost carrier
warning found rdb->secpercyl(515) != rdb->nsectors(104) * rdb->nheads(5)
vm_fault(0x1b8000, 29ba000, 1, 0) -> 1
  type 8, code [mmu,,ssw]: 402075d
trap type 8, code = 402075d, v = 29ba000
pid = 232, pc = 0010AFAE, ps = 2400, sfc = 1, dfc = 1
Registers:
             0        1        2        3        4        5        6        7
dreg: 00000098 0000007F 00000117 00002404 00000036 000072F6 00000000 00000236
areg: 02F2F40C 029B9FFF 02F2F2F6 029B9EE9 001887D8 0061C800 02B17D9C 0DFFFAD4

Kernel stack (02B17C2C):
B17C2C: 0012BFBE 02B17CF0 00000080 0012BF58 00000008 0402075D 029BA000 00000008
B17C4C: 02B17C9C 0012C30A 00000008 0402075D 029BA000 02B17CF0 00000008 00000000
B17C6C: 00000000 00000000 0402075D 029BA000 00680200 029B9EE9 001887D8 0061C800
B17C8C: 02B17D38 000D3206 029BA000 00000001 02B17CDC 0012C660 00000008 0402075D
B17CAC: 029BA000 02B17CF0 00680200 00000000 00000000 00000117 00002404 00000036
B17CCC: 000072F6 00000000 00000236 02F2F2F6 02B17D9C 00002056 00000008 0402075D
B17CEC: 029BA000 00000098 0000007F 00000117 00002404 00000036 000072F6 00000000
B17D0C: 00000236 02F2F40C 029B9FFF 02F2F2F6 029B9EE9 001887D8 0061C800 02B17D9C
B17D2C: 0DFFFAD4 00000000 24000010 AFAEB008 06E8075D 0241FF00 029BA000 029B9FFF
B17D4C: 02F2D798 32113211 0010AFB4 0010AFB2 0010AFB0 02F2C1FF 0241FF0B 000FF487
B17D6C: 00000098 02B17D88 000000FF 000000FF C0200000 0010AFA8 00000000 00000117
B17D8C: 029B9FFF 00000117 006A2E00 001887C8 02B17DD4 00003544 0061C800 029B9EE9
B17DAC: 000072F6 00000117 00000003 000000B8 00000000 006427D0 0061C800 006B8300
B17DCC: 0061C828 02B17E00 02B17E08 00003E40 0061C800 000072C0 006B8300 00002104
B17DEC: 0061C828 006B831E 006B8300 00000000 00670E00 F2C00300 FDCA03FF 02B17E50
B17E0C: 00054EE8 0061C828 00000000 00000200 00000000 00000000 0069F5A4 00000014
panic: MMU fault
syncing disks... 16 16 13 4 done

dumping to dev 401, offset 3279
dump 33 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8
 7 6 5 4 3 2


>How-To-Repeat:

There is no easy way to reproduce the problem other than to use the machine.
I have had the machine up for 3 days before.  Other times, it went down in 
less than 10 minutes. :(

>Fix:

None.

>Audit-Trail:
>Unformatted: