From owner-freebsd-geom@FreeBSD.ORG Thu Oct 1 06:27:04 2009 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E9EE106566B for ; Thu, 1 Oct 2009 06:27:04 +0000 (UTC) (envelope-from dnaeon@gmail.com) Received: from mail-fx0-f222.google.com (mail-fx0-f222.google.com [209.85.220.222]) by mx1.freebsd.org (Postfix) with ESMTP id F3D958FC0C for ; Thu, 1 Oct 2009 06:27:03 +0000 (UTC) Received: by fxm22 with SMTP id 22so2550811fxm.36 for ; Wed, 30 Sep 2009 23:27:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=ZbrLB9/1eIBXOE1aineZplWDapLpyWFu9O4YOhw4PEI=; b=xwmdm2BlAIFmusc4MNa5Yn8fn7udQiJPInP0UcpALlAnhMaLG/GOapYPWMj+6o4Rti jHXWd/9Wc/qJ8a7csq42qFf66Hg9zJ2HrRu4Y7kVUzj3R5iNFgIGvQDB5USb9m7pGYVA ewEbHXKG6sxtWWiNWsJpO/9MtAD+e8l0G+PrE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=WucU2wMdJLYjNk4ONR8UTnIni3mucDoumFegEm70J7D0RczHRwnyvQgWx/1CyEG53U 7/CuaYHYL7nHiwL4jYlajQh+TlRqokAa+Vvc6TnipjDTj37PiMyHzMlP7lkuRWsFLAwb N0TVi9eZKCCSCEB2Bt5MN5ET20hi2Y5s2POyw= Received: by 10.86.8.36 with SMTP id 36mr838691fgh.7.1254378422781; Wed, 30 Sep 2009 23:27:02 -0700 (PDT) Received: from tsunami.bsdworld (unix-heaven.org [95.111.44.219]) by mx.google.com with ESMTPS id l19sm1064221fgb.2.2009.09.30.23.27.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 30 Sep 2009 23:27:00 -0700 (PDT) Message-ID: <4AC44BD6.9090308@gmail.com> Date: Thu, 01 Oct 2009 09:27:34 +0300 From: Marin Atanasov User-Agent: Thunderbird 2.0.0.23 (X11/20090906) MIME-Version: 1.0 To: freebsd-geom@freebsd.org References: <4AC3E432.9010603@gmail.com> In-Reply-To: <4AC3E432.9010603@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: gmirror issue? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Oct 2009 06:27:04 -0000 Marin Atanasov wrote: > Hi, > > I was doing some tests under 8.0-RC1 and noticed that when I set-up a > root partition with gmirror, after the first reboot with the new > mirrored root partition the system is not able to continue the boot > process. > > The error message that is being printed is this: > > pid 63 (swapon), uid 0: exited on signal 11 > .... > pid 65: (fsck), uid 0: exited on signal 11 > Segmentation fault > Unknown error; help! > ERROR: ABORTING BOOT (sending SIGTERM to parent)! > > > The full details about the implementation setup I'm using with > gmirror/gvinum are described here: > http://www.daemonforums.org/showthread.php?p=27010#post27010 > > Regards, > Marin > Forgot to mention that this error only occurs the first time you boot into your 8.0-RC1 system, after when you have set-up root with the new mirror filesystem. This does not apply for 7.2 Also the real issue for this is that /etc/fstab contains one new line at the end of the file like this: ^@^@^@^@ Removing that line fixes this. Another thing that I've noticed is that /boot/loader.conf content it missing. Needs to be re-created again. And then you can boot into your mirrored root partition. Does anyone know why these happen - I mean the strange entry in fstab and the empty loader.conf files? Regards, Marin