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/04/2006 22:15:04
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: Tue, 04 Apr 2006 16:13:32 -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 ]
 > ---
 
 I see this with twe emulating a sun3/160, and attempting to boot a
 sun3 NetBSD 3.0 RAMDISK kernel.  I don't see the problem when booting 
 an INSTALL kernel though.
 
 > >Fix:
 > Removing "options MALLOC_NOINLINE" from sun2/conf/INSTALL config
 > seems to resolve this, but I'm not sure why.
 > (RAMDISK and FOURMEG don't have the option)
 
 I'm not sure what I should change w/ RAMDISK to make it work..
 
 Later...
 
 Greg Oster