Subject: install/32863: miniroot install fails on Amiga
To: None <install-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <lhecking@users.sourceforge.net>
List: netbsd-bugs
Date: 02/17/2006 15:40:00
>Number:         32863
>Category:       install
>Synopsis:       miniroot install fails on Amiga
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    install-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 17 15:40:00 +0000 2006
>Originator:     Lars Hecking
>Release:        2.1
>Organization:
>Environment:
n/a
>Description:
I was trying to install NetBSD 2.0.2, 2.1 or 3.0 on my Amiga 3000,
but the miniroot crashes when booting off swap. At first, I suspected
hardware problems, but it turns out that the NetBSD 1.6 miniroot
installation works just fine. I also have a fully working NetBSD 1.6.2
installation on this machine, running off a different HD.

Here is what I posted to port-amiga:
| I tried a miniroot install onto a new drive, but get dropped into the
| debugger. See below for the trace; any typos are mine ...
| ...
| Kernelized RAIDframe activated
| uvm_fault(0x214580, 0x4000, 0, 0x2) -> 0xe
|   type 8, code [mmu,,ssw]: 4a5
| trap type 8, code = 4a5, v = 4879
| pid = 0, lid = 1, pc = 0003B3E8, ps = 2300, sfc = 1, dfc = 1
| Registers:
| ...
| ...
| Kernel stack (002F5DA4):
| ...
| ...
| panic: MMU fault
| Stopped in pid 0.1 (swapper) at netbsd:cpu_Debugger 0x6: unlk a6
| db> trace
| cpu_Debugger(8,1,e6a66,2f5dc4,1a876a) + 6
| panic(1ef841,2,2f5e54,1a8ad2,8) + 8
| panictrap(8,4a5,4879,2f5edc) + 6c
| trapmmufault(8,4a5,4879,2f5edc,2606d8) + 328
| trap(8,4a5,4879) + 398
| in6_domifattach(?)
| if_attachdomain(263d50) + e
| if_attachdomain(0,5,ad303,dfffffc,0) + 24
| main(2f5fb4) + 350
| start() + 298
| 
| This is an A3000 with 2MB chip/16MB fast, GForce 040 w/ 6MB, EGS
| Spectrum (2?) gfx card, no network card.

>How-To-Repeat:
Prepare miniroot installation as per documentation, boot miniroot
off swap.

>Fix: