init: fatal signal: Segmentation fault

Marcel Moolenaar marcel at xcllnt.net
Sun Jul 1 18:04:15 UTC 2012


On Jun 21, 2012, at 8:40 AM, Anton Shterenlikht wrote:

	*snip*
> Trying to mount root from ufs:/dev/da2p2 [rw]...
> WARNING: / was not properly dismounted
> Jun 21 17:35:34 init: fatal signal: Segmentation fault
> Setting hostuuid: 0aa09909-35f1-11df-b7f8-00110a31e60a.
> Setting hostid: 0xc70eae4e.
> Entropy harvesting: interrupts ethernet point_to_point kickstart.
> Fast boot: skipping disk checks.

Why are you forcing a fast boot? Subsequent problems are the result
of not making your file system clean.

> mount: /dev/da2p2: R/W mount of / denied. Filesystem is not clean - run fsck.: Operation not permitted
> Mounting root filesystem rw failed, startup aborted
> ERROR: ABORTING BOOT (sending SIGTERM to parent)!
> Jun 21 17:36:06 init: /bin/sh on /etc/rc terminated abnormally, going to single user mode
> Jun 21 17:36:06 init: fatal signal: Segmentation fault

I don't know if there's a separate problem with init(8) dumping
core or the immediate consequence of the above.

> How can I recover from this?

boot -s and see what happens. If init(8) dies again, use a
different init(8) by setting init_path at the loader prompt.
SOmething like the following could do the trick:

	set init_path="/sbin/init.bak"

FYI,

-- 
Marcel Moolenaar
marcel at xcllnt.net




More information about the freebsd-current mailing list