From owner-freebsd-ia64@FreeBSD.ORG Mon Jul 2 12:36:03 2012 Return-Path: Delivered-To: freebsd-ia64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50C86106564A; Mon, 2 Jul 2012 12:36:03 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id B7BDF8FC0A; Mon, 2 Jul 2012 12:36:02 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1SlfrA-0006PJ-Cj; Mon, 02 Jul 2012 13:35:56 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Slfr9-0007bb-Hy; Mon, 02 Jul 2012 13:35:55 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q62CZtSG036405; Mon, 2 Jul 2012 13:35:55 +0100 (BST) (envelope-from mexas@bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q62CZsxF036404; Mon, 2 Jul 2012 13:35:54 +0100 (BST) (envelope-from mexas@bris.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bris.ac.uk using -f Date: Mon, 2 Jul 2012 13:35:54 +0100 From: Anton Shterenlikht To: Marcel Moolenaar Message-ID: <20120702123554.GA36368@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: Marcel Moolenaar , Anton Shterenlikht , freebsd-current@freebsd.org, freebsd-ia64@freebsd.org References: <20120621154010.GA95280@mech-cluster241.men.bris.ac.uk> <56020E80-DBA0-4D54-BF0C-A5716B657839@xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <56020E80-DBA0-4D54-BF0C-A5716B657839@xcllnt.net> User-Agent: Mutt/1.4.2.3i Cc: freebsd-current@freebsd.org, freebsd-ia64@freebsd.org Subject: Re: init: fatal signal: Segmentation fault X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jul 2012 12:36:03 -0000 On Sun, Jul 01, 2012 at 11:03:49AM -0700, Marcel Moolenaar wrote: > > 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. Well.. I had a complete freeze. The only way to recove was a cold reset, hence the "not properly dismounted" warning. I've no idea why the disk checks were skipped. As far as I remember, I just did a reboot, no extra or special options. > > > 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" boot -s led to the same error "aborting boot". I didn't know about init.bak, will try next time. Anyway, I couldn't figure out how to recover, and decided to re-install. Thanks -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423