Subject: Re: port-sun2/32420: NetBSD/sun2 3.0 INSTALL kernel hangs during boot
To: None <port-sun2-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Greg Oster <oster@cs.usask.ca>
List: netbsd-bugs
Date: 04/05/2006 14:35:01
The following reply was made to PR port-sun2/32420; it has been noted by GNATS.

From: Greg Oster <oster@cs.usask.ca>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: port-sun2/32420: NetBSD/sun2 3.0 INSTALL kernel hangs during boot 
Date: Wed, 05 Apr 2006 08:34:22 -0600

 tsutsui@ceres.dti.ne.jp writes:
 > >Number:         32420
 > >Category:       port-sun2
 > >Synopsis:       NetBSD/sun2 3.0 INSTALL kernel hangs during boot
 > >Confidential:   no
 > >Severity:       serious
 > >Priority:       medium
 > >Responsible:    port-sun2-maintainer
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Sat Dec 31 06:10:00 +0000 2005
 > >Originator:     Izumi Tsutsui
 > >Release:        NetBSD 3.0 release
 > >Organization:
 > >Environment:
 > Sun2/120 emulation on tme (installed from pkgsrc/emulators/tme)
 > Architecture: m68k (m68000)
 > Machine: sun2
 > >Description:
 > While RAMDISK and FORMEG kernels in 3.0 boot and work fine on tme,
 > INSTALL kernel (both in miniroot.fs and NetBSD-3.0/sun2/binary/kernel dir)
 > hangs during boot:
 > ---
 > >b st()
 > Boot: st(0,0,0)
 > >> NetBSD/sun2 tapeboot [1.12]
 > tapeboot: loading segment 4
 > 996532+65928 [93632+81419]=0x12e4e4
 > relocating program...Starting program at 0x6000
 > console is keyboard/display
 > Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
 >     The NetBSD Foundation, Inc.  All rights reserved.
 > Copyright (c) 1982, 1986, 1989, 1991, 1993
 >     The Regents of the University of California.  All right reserved.
 > 
 > NetBSD 3.0 (INSTALL) #0: Mon Dec 19 04:13:00 UTC 2005
 > 	builds@b2.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/sun2/2005121820
 > 24Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/arch/sun2/compile/INSTALL
 > Model: sun2 {120,170}
 > fpu: no math support
 > total memory = 4096 KB
 > avail memory = 2822 KB
 > mainbus0 (root)
 > obio0 at mainbus0
 > zs0 at obio0 addr 0x2000 ipl 6 softpri 3
 > zstty0 at zs0 channel 0
 > [ ... hangs here ]
 
 Another datapoint: If I remove zstty1 from the RAMDISK kernel config 
 for sun3, then the RAMDISK kernel gets past this hang point...
 
 I note that in obio.sun3 we have:
 zsc0    at obio0 addr 0x000000
 zsc1    at obio0 addr 0x020000
 
 but the default config for tme says:
 zs0 at obio0 addr 0x020000 ipl 6: tme/machine/sun3/zs
 zs1 at obio0 addr 0x000000 ipl 6: tme/machine/sun3/zs
 
 which would swap around zstty0 and zstty1 ??
 
 Later...
 
 Greg Oster