From owner-freebsd-arm@freebsd.org Tue Feb 21 00:53:14 2017 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B0B0BCE6252 for ; Tue, 21 Feb 2017 00:53:14 +0000 (UTC) (envelope-from ian@freebsd.org) Received: from outbound1a.eu.mailhop.org (outbound1a.eu.mailhop.org [52.58.109.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DAAD1B7F for ; Tue, 21 Feb 2017 00:53:13 +0000 (UTC) (envelope-from ian@freebsd.org) X-MHO-User: f787ab4d-f7cf-11e6-95b5-6dfd7dbb0ee5 X-Report-Abuse-To: https://support.duocircle.com/support/solutions/articles/5000540958-duocircle-standard-smtp-abuse-information X-Originating-IP: 73.78.92.27 X-Mail-Handler: DuoCircle Outbound SMTP Received: from ilsoft.org (unknown [73.78.92.27]) by outbound1.eu.mailhop.org (Halon) with ESMTPSA id f787ab4d-f7cf-11e6-95b5-6dfd7dbb0ee5; Tue, 21 Feb 2017 00:52:07 +0000 (UTC) Received: from rev (rev [172.22.42.240]) by ilsoft.org (8.15.2/8.15.2) with ESMTP id v1L0pwEk003518; Mon, 20 Feb 2017 17:51:58 -0700 (MST) (envelope-from ian@freebsd.org) Message-ID: <1487638318.73144.116.camel@freebsd.org> Subject: Re: Fatal kernel abort (was: r313878M builds mmcsd0s2 as read-only & /etc/fstab is missing) From: Ian Lepore To: Tony Hain , "'Svatopluk Kraus'" Cc: freebsd-arm@freebsd.org Date: Mon, 20 Feb 2017 17:51:58 -0700 In-Reply-To: <157701d28bda$dd004700$9700d500$@tndh.net> References: <155401d28ba9$ccdc28c0$66947a40$@tndh.net> <157701d28bda$dd004700$9700d500$@tndh.net> Content-Type: text/plain; charset="ISO-8859-1" X-Mailer: Evolution 3.18.5.1 FreeBSD GNOME Team Port Mime-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Feb 2017 00:53:14 -0000 On Mon, 2017-02-20 at 16:38 -0800, Tony Hain wrote: > [...] > Booting from disk0s2a: > [...] > Mounting from ufs:/dev/ufs/rootfs failed with error 19. > Trying to mount root from ufs:mmcsd0s2 []... > [...] I think that's the trouble right there.  Loader is aware that the rootfs is s2a, then the kernel tries to mount the labeled rootfs (presumably fstab told it to do that), and that fails, and then for some reason it mounts s2, not s2a, and that's not the right partition. Either add a ufs label to the rootfs, or write fstab in terms of the actual slice and partition. -- Ian