Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Mar 2001 21:44:19 +0100 (CET)
From:      Luigi Rizzo <luigi@info.iet.unipi.it>
To:        "Bruce R. Montague" <brucem@mail.cruzio.com>
Cc:        freebsd-small@FreeBSD.ORG
Subject:   Re: hard "panic: no init" w picobsd "dial" config
Message-ID:  <200103152044.VAA35603@info.iet.unipi.it>
In-Reply-To: <200103150302.f2F32XF44977@mail.cruzio.com> from "Bruce R. Montague" at "Mar 14, 2001 07:02:33 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103152044.VAA35603>