From owner-freebsd-small Thu Mar 15 12:44:17 2001 Delivered-To: freebsd-small@freebsd.org Received: from info.iet.unipi.it (info.iet.unipi.it [131.114.9.184]) by hub.freebsd.org (Postfix) with ESMTP id 73A6637B718 for ; Thu, 15 Mar 2001 12:44:12 -0800 (PST) (envelope-from luigi@info.iet.unipi.it) Received: (from luigi@localhost) by info.iet.unipi.it (8.9.3/8.9.3) id VAA35603; Thu, 15 Mar 2001 21:44:19 +0100 (CET) (envelope-from luigi) From: Luigi Rizzo Message-Id: <200103152044.VAA35603@info.iet.unipi.it> Subject: Re: hard "panic: no init" w picobsd "dial" config In-Reply-To: <200103150302.f2F32XF44977@mail.cruzio.com> from "Bruce R. Montague" at "Mar 14, 2001 07:02:33 pm" To: "Bruce R. Montague" Date: Thu, 15 Mar 2001 21:44:19 +0100 (CET) Cc: freebsd-small@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL61 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG as you can imagine, the only version that i tested somehow (and on a local tree, with the /usr/ports/picobsd things) is the "bridge" one... So if you have patches to the PICOBSD and crunch.conf files, they are welcome... One note -- oinit was a solution to save memory and let the system run in 4MB. I seriously doubt we can even think of it with 4.x due to generic code bloat. At which point, the next viable configs being 8 or 16MB, who cares about 200KB more in the decompressed image as long as it fits the floppy. cheers luigi > > A hard "panic: no init" occurs when attempting to > boot the vanilla uncustomized picobsd "dial" > configuration under 4.3 BETA (4.3-BETA #0: Mon Mar > 12). The system enters a "jack-rabbit" crash/reboot > cycle during boot with the "no init" message. > > System was built in > "./src/release/picobsd/build" > with "picobsd dial" command. > > Problem occurs because neither "init" or "oinit" is > included in the "dial" crunch.conf file > ("./src/release/picobsd/dial/crunch.conf"). Apparently > in the past one or the other of these was written > to crunch.conf via the "dial" Makefile as per setting > of ${INIT}. The in-dir Makefiles no longer exist. > > One fix is to > > ==> 1) change the default build setting > specified at the top of > "./src/release/picobsd/dial/PICOBSD" > to "oinit" (instead of init): > > > ---------- > > --- PICOBSD.original Wed Mar 14 18:25:28 2001 > +++ PICOBSD Wed Mar 14 18:25:48 2001 > @@ -2,7 +2,7 @@ > # $FreeBSD: src/release/picobsd/dial/PICOBSD,v 1.5.2.2 2001/02/20 00:34:17 luigi Exp $ > #Line starting with #PicoBSD contains PicoBSD build parameters > #marker def_sz init MFS_inodes floppy_inodes > -#PicoBSD 2000 init 4096 32768 > +#PicoBSD 2000 oinit 4096 32768 > options MD_ROOT_SIZE=2000 # same as def_sz > > # > > ----------- > > > ==> 2) and update > "./src/release/picobsd/dial/crunch.conf" > with the line > "progs oinit": > > ---------- > > --- crunch.conf.original Wed Mar 14 15:36:03 2001 > +++ crunch.conf Wed Mar 14 17:51:43 2001 > @@ -25,6 +25,7 @@ > ln gzip gzcat > ln less more > > +progs oinit > progs sh test kget echo pwd msg stty > progs hostname cat kill sps vm ns > progs chmod chown help getty > > ---------- > > > This might not be the desired fix, since the "dial" > end-user might want to run a full shell, but that > requires additional programs (login). > > > > - bruce > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-small" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message