NetBSD Problem Report #25970

Received: (qmail 5321 invoked by uid 605); 19 Jun 2004 15:24:16 -0000
Message-Id: <20040619150639.5D3B72D0C1@festningen.uninett.no>
Date: Sat, 19 Jun 2004 17:06:39 +0200 (CEST)
From: jarle@uninett.no
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: jarle@uninett.no
To: gnats-bugs@gnats.NetBSD.org
Cc: he@uninett.no
Subject: Sun3x miniroot init dies
X-Send-Pr-Version: 3.95

>Number:         25970
>Category:       port-sun3
>Synopsis:       Sun3x miniroot init dies
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-sun3-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 19 15:25:00 +0000 2004
>Closed-Date:    Sun Jun 27 03:47:57 +0000 2004
>Last-Modified:  Sat Jul 03 16:00:01 +0000 2004
>Originator:     Jarle Greipsland
>Release:        NetBSD 2.0_BETA
>Organization:

>Environment:


System: NetBSD gjok.urc.uninett.no 2.0_BETA NetBSD 2.0_BETA (INSTALL3X) #0:
Fri Jun 11 22:03:38 UTC 2004 autobuild@tgm.netbsd.org:/autobuild/netbsd-2-0/sun3/OBJ/autobuild/netbsd-2-0/src/sys/arch/sun3/compile/INSTALL3X sun3
Architecture: sun3x
Machine: sun3/80
>Description:
I had to discard the original disk in my Sun3/80, and dug up an old disk
that was lying around.  I tried to install the 2.0_BETA version from the
releng autobuild system.  I followed the instructions in the INSTALL
document, and partitioned the disk, downloaded the miniroot file system
from NFS to the swap partition, and booted from it.  Everything seemed fine
until the kernel tried to start init.  Then it panicked, complaining that
init died.

Console log:
>How-To-Repeat:
Try to install a 2.0_BETA distribution on a blank disk in a Sun3/80.

>Fix:

dunno.
>Release-Note:
>Audit-Trail:

From: Chuck Silvers <chs@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/25970 CVS commit: src/distrib/sun3/miniroot
Date: Sun, 27 Jun 2004 03:45:25 +0000 (UTC)

 Module Name:	src
 Committed By:	chs
 Date:		Sun Jun 27 03:45:25 UTC 2004

 Modified Files:
 	src/distrib/sun3/miniroot: list

 Log Message:
 update shlibs.  fixes PR 25970.


 To generate a diff of this commit:
 cvs rdiff -r1.7 -r1.8 src/distrib/sun3/miniroot/list

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

State-Changed-From-To: open->closed 
State-Changed-By: chs 
State-Changed-When: Sun Jun 27 03:46:58 UTC 2004 
State-Changed-Why:  
fixed by rev. 1.8 of distrib/sun3/miniroot/list. 
requested pull-up for 2.0 branch. 

From: Havard Eidnes <he@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:  
Subject: pr/25970 CVS commit: [netbsd-2-0] src/distrib/sun3/miniroot
Date: Sun, 27 Jun 2004 13:44:01 +0000 (UTC)

 Module Name:	src
 Committed By:	he
 Date:		Sun Jun 27 13:44:01 UTC 2004

 Modified Files:
 	src/distrib/sun3/miniroot [netbsd-2-0]: list

 Log Message:
 Pull up revision 1.8 (requested by chs in ticket #560):
   Update shared libraries.  Fixes PR#25970.


 To generate a diff of this commit:
 cvs rdiff -r1.7 -r1.7.2.1 src/distrib/sun3/miniroot/list

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.


From: Jarle Greipsland <jarle@uninett.no>
To: gnats-bugs@gnats.netbsd.org, chs@netbsd.org
Cc: port-sun3-maintainer@netbsd.org
Subject: Re: port-sun3/25970
Date: Sat, 03 Jul 2004 14:49:10 +0200 (CEST)

 chs@netbsd.org writes:
 > Synopsis: Sun3x miniroot init dies
 > 
 > State-Changed-From-To: open->closed
 > State-Changed-By: chs
 > State-Changed-When: Sun Jun 27 03:46:58 UTC 2004
 > State-Changed-Why: 
 > fixed by rev. 1.8 of distrib/sun3/miniroot/list.

 Not quite.  Things have certainly improved; all programs located
 in /sbin or /bin work fine, including init, so at least I have a
 shell.  However, most programs in /usr/bin or /usr/sbin will not
 start (/usr/bin/tar seems to be the lone exception, apart from
 the shell scripts).  Most of these programs are used by the
 install script, which therefore fails very quickly.  One of the
 first actions of install is to find the list of disks that are
 candidates for installation, and that function tries to use sort
 and sed, and both of these fail.

 # sort
 sort: 1: Syntax error: "(" unexpected

 It seems that they are not recognized as executables, but are
 being run as shell scripts instead.

 Suggestions?

 Also, ps is included in the miniroot, but libkvm.so is not, so ps
 will not work.  Either include libkvm.so, or exclude ps, I'd say.

 					-jarle
 -- 
 "We're thinking about upgrading from SunOS 4.1.1 to SunOS 3.5."
 				-- Henry Spencer

From: Jarle Greipsland <jarle@uninett.no>
To: gnats-bugs@gnats.netbsd.org, chs@netbsd.org
Cc: port-sun3-maintainer@netbsd.org
Subject: Re: port-sun3/25970
Date: Sat, 03 Jul 2004 15:14:30 +0200 (CEST)

 Jarle Greipsland <jarle@uninett.no> writes:
 > Not quite.  Things have certainly improved; all programs located
 > in /sbin or /bin work fine, including init, so at least I have a
 > shell.  However, most programs in /usr/bin or /usr/sbin will not
 > start (/usr/bin/tar seems to be the lone exception, apart from
 > the shell scripts).  Most of these programs are used by the
 > install script, which therefore fails very quickly.  One of the
 > first actions of install is to find the list of disks that are
 > candidates for installation, and that function tries to use sort
 > and sed, and both of these fail.
 > 
 > # sort
 > sort: 1: Syntax error: "(" unexpected
 > 
 > It seems that they are not recognized as executables, but are
 > being run as shell scripts instead.
 OK, after poking around a bit, I did
 # cd /usr
 # ln -s lib libexec
 in the miniroot environment.  Then the /usr/bin and /usr/sbin
 binaries seemed to work normally.  Perhaps the symlink should be
 included in the miniroot build process?
 					-jarle

From: Jarle Greipsland <jarle@uninett.no>
To: gnats-bugs@gnats.netbsd.org, chs@netbsd.org
Cc: port-sun3-maintainer@netbsd.org
Subject: Re: port-sun3/25970
Date: Sat, 03 Jul 2004 15:49:27 +0200 (CEST)

 Jarle Greipsland <jarle@uninett.no> writes:
 > Also, ps is included in the miniroot, but libkvm.so is not, so
 > ps will not work.  Either include libkvm.so, or exclude ps, I'd
 > say.
 libz.so.0.4 and libbz2.so.1.0 are also necessary, so that pax can
 decompress the distribution sets for installations over ftp.

 					-jarle

From: Chuck Silvers <chuq@chuq.com>
To: Jarle Greipsland <jarle@uninett.no>
Cc: gnats-bugs@gnats.netbsd.org, port-sun3-maintainer@netbsd.org
Subject: Re: port-sun3/25970
Date: Sat, 3 Jul 2004 06:50:09 -0700

 On Sat, Jul 03, 2004 at 03:14:30PM +0200, Jarle Greipsland wrote:
 > OK, after poking around a bit, I did
 > # cd /usr
 > # ln -s lib libexec
 > in the miniroot environment.  Then the /usr/bin and /usr/sbin
 > binaries seemed to work normally.  Perhaps the symlink should be
 > included in the miniroot build process?
 > 					-jarle


 yup.  it's checked in and should be pulled up to the 2.0 branch soon.

 thanks,
 -Chuck

From: Chuck Silvers <chuq@chuq.com>
To: Jarle Greipsland <jarle@uninett.no>
Cc: gnats-bugs@gnats.netbsd.org, port-sun3-maintainer@netbsd.org
Subject: Re: port-sun3/25970
Date: Sat, 3 Jul 2004 07:01:42 -0700

 On Sat, Jul 03, 2004 at 03:49:27PM +0200, Jarle Greipsland wrote:
 > Jarle Greipsland <jarle@uninett.no> writes:
 > > Also, ps is included in the miniroot, but libkvm.so is not, so
 > > ps will not work.  Either include libkvm.so, or exclude ps, I'd
 > > say.
 > libz.so.0.4 and libbz2.so.1.0 are also necessary, so that pax can
 > decompress the distribution sets for installations over ftp.

 doh, I'm a little to quick for my own good.
 I'll add libkvm, libm, libbz2 and libz.
 let me know when you're done looking and
 I'll check in this silly file once more.

 -Chuck

From: Chuck Silvers <chuq@chuq.com>
To: Jarle Greipsland <jarle@uninett.no>
Cc: gnats-bugs@gnats.netbsd.org, port-sun3-maintainer@netbsd.org
Subject: Re: port-sun3/25970
Date: Sat, 3 Jul 2004 07:11:56 -0700

 ok, I did find and ldd and found that ping needs libipsec and
 libcurses has an updated major number.  so I'll update those as well.
 that should be everything.

 -Chuck


From: Jarle Greipsland <jarle@uninett.no>
To: chuq@chuq.com
Cc: gnats-bugs@gnats.netbsd.org, port-sun3-maintainer@netbsd.org
Subject: Re: port-sun3/25970
Date: Sat, 03 Jul 2004 17:59:00 +0200 (CEST)

 Chuck Silvers <chuq@chuq.com> writes:
 > > libz.so.0.4 and libbz2.so.1.0 are also necessary, so that pax can
 > > decompress the distribution sets for installations over ftp.
 > 
 > doh, I'm a little to quick for my own good.
 > I'll add libkvm, libm, libbz2 and libz.
 > let me know when you're done looking and
 > I'll check in this silly file once more.

 OK, by copying in to the miniroot the libraries you listed, I
 managed to successfully install NetBSD-2.0_BETA to my Sun3/80.
 While the sysinst program may not be overly sophisticated for an
 installation program, the install script for the Sun3 port sure
 is quaint :-)
 					-jarle
 -- 
 "I hear that if you play the NT 4.0 CD backwards, you get a satanic message"
 "--That's nothing. If you play it forward, it installs NT 4.0!"
 				-- johnny99@sydney.dialix.oz.au
>Unformatted:


 >b sd(,,1) -s
 Boot: sd(0,0,1) -s
 >> NetBSD/sun3 ufsboot [1.12]
 ufsboot: trying netbsd
 open netbsd: No such file or directory
 ufsboot: trying netbsd.old
 open netbsd.old: No such file or directory
 ufsboot: trying netbsd.sun3x
 958972+165620 [90272+74845]=0x13b02c
 starting program at 0x4000
 console is ttya
 Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
     The NetBSD Foundation, Inc.  All rights reserved.
 Copyright (c) 1982, 1986, 1989, 1991, 1993
     The Regents of the University of California.  All rights reserved.

 NetBSD 2.0_BETA (INSTALL3X) #0: Fri Jun 11 22:03:38 UTC 2004
         autobuild@tgm.netbsd.org:/autobuild/netbsd-2-0/sun3/OBJ/autobuild/netbsd-2-0/src/sys/arch/sun3/compile/INSTALL3X
 Model: sun3x 80
 fpu: mc68882
 total memory = 16384 KB
 avail memory = 14824 KB
 mainbus0 (root)
 obio0 at mainbus0
 iommu0 at obio0 addr 0x60000000
 memerr0 at obio0 addr 0x61001000 ipl 7: (Parity memory)
 intreg0 at obio0 addr 0x61001400
 zsc0 at obio0 addr 0x62000000 ipl 6: (softpri 3)
 kbd0 at zsc0 channel 0: baud rate 1200
 zsc0:  channel 1 not configured
 zsc1 at obio0 addr 0x62002000 ipl 6: (softpri 3)
 zstty0 at zsc1 channel 0 (console i/o)
 zstty1 at zsc1 channel 1
 eeprom0 at obio0 addr 0x64000000
 clock0 at obio0 addr 0x640007f8 ipl 5
 le0 at obio0 addr 0x65002000 ipl 3: address 08:00:20:07:78:2b
 le0: 8 receive buffers, 2 transmit buffers
 dma0 at obio0 addr 0x66001000 ipl 2: rev 0
 esp0 at obio0 addr 0x66000000 ipl 2: ESP100, 20MHz, SCSI ID 7
 scsibus0 at esp0: 8 targets, 8 luns per target
 fdc0 at obio0 addr 0x6e000000 ipl 6 vect 0x40: (softpri 2) chip 82072
 enabling interrupts
 scsibus0: waiting 2 seconds for devices to settle...
 sd0 at scsibus0 target 0 lun 0: <SEAGATE, ST32155N, 0532> disk fixed
 sd0: 2049 MB, 4177 cyl, 8 head, 125 sec, 512 bytes/sect x 4197405 sectors
 sd0: async, 8-bit transfers
 boot device: sd0b
 root on sd0b dumps on sd0b
 WARNING: clock gained 7 days -- CHECK AND RESET THE DATE!
 root file system type: ffs
 panic: init died (signal 0, exit 1)
 syncing disks... done

 dumping to dev 7,1 offset 191616
 dump succeeded
 rebooting...

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.