Subject: port-sun3/34524: NetBSD 3.0 / 3.0.1 miniroot for Sun3 panics on Sun 3/80
To: None <,,>
From: None <>
List: netbsd-bugs
Date: 09/14/2006 18:10:00
>Number:         34524
>Category:       port-sun3
>Synopsis:       NetBSD 3.0 / 3.0.1 miniroot for Sun3 panics on Sun 3/80
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-sun3-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 14 18:10:00 +0000 2006
>Originator:     Arthur Townsend
>Release:        3.0 / 3.0.1
Sun 3/80
When I copy the miniroot for sun3 NetBSD 3.0 into the swap device, then boot, I get the following:
Copyright...The Regents of the University of California.  All rights reserved.

trap type=0x2, code=0x0, v=0x0
pid =0, lid=1, pc=F80B5A22, ps=2708, sfc=1, dfc=1
panic: Illegal instruction
Abort at 0xFEFE0166.


for netbsd 3.0.1,

trap type=0x2, code=0x0, v=0x0
pid=0, lid=1, pc=F80B5A92, ps=2700, sfc=1, dfc=1
Abort at 0xF80C19DA.


for netbsd 2.0.2 miniroot,

all goes well to scsibus0: waitin 2 seconds for devices to settle...
trap type=0x10, code=0x0, v=0x0
pid=2, lid=1, pc=F80C4B12, ps=2000, sfc=1, dfc=1
panic: FPU instruction


for 2.1 miniroot also gets FPU panic at the same point.
dd the miniroot to /dev/rsd0b then stop-a, b sd(,,1)-s
Workaround: I copied the NetBSD 1.6.2 miniroot to /dev/rsd0b, rebooted into it, ran install, then control-c'd out at the point where it asked for what disk to use (so that the main disk was mounted read/write at that point).  I commented out "sh MAKEDEV all" and "kill $pid" in the install script, then re-ran install, and loaded the NetBSD 3.0 sets.  After exiting the install script, I mounted the CD to /mnt and sd0a to /mnt2, copied the generic3x kernel to /mnt2, then went to /mnt2/dev and sh /dev/MAKEDEV all.  All the MAKEDEV work is because post NetBSD 1.6.2 adds -r, -m flags to mknod, and the new MAKEDEV script wouldn't work with the old 1.6.2 mknod executable.