Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Mar 2001 19:02:33 -0800 (PST)
From:      "Bruce R. Montague" <brucem@mail.cruzio.com>
To:        freebsd-small@freebsd.org
Subject:   hard "panic: no init" w picobsd "dial" config
Message-ID:  <200103150302.f2F32XF44977@mail.cruzio.com>

next in thread | raw e-mail | index | archive | help


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




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