From owner-freebsd-arm@FreeBSD.ORG Fri Dec 5 21:04:23 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2E044C72 for ; Fri, 5 Dec 2014 21:04:23 +0000 (UTC) Received: from mail-ie0-f172.google.com (mail-ie0-f172.google.com [209.85.223.172]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E88DC7FA for ; Fri, 5 Dec 2014 21:04:22 +0000 (UTC) Received: by mail-ie0-f172.google.com with SMTP id tr6so1501473ieb.17 for ; Fri, 05 Dec 2014 13:04:16 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to; bh=lvibbZZJc1M/wy4NBxbIjVmnvVHyRN9pV7uw05IqTOI=; b=bkMKj0QbVCS5PpSDkinjWj6zwTMaNavZ+uGZfVtKhG54NCwpXwmX5u9+b/q21eWEB1 K+JBzi5kpRQ9SsqALUbXbgV/Cz3fUB73K2PSfeo7KlGgoYSlKWw390E3KZlPyDVrnJT0 UPYJhtEpc51pD1DE9jauR2I7+sfpKkXTWRHmIubmaqdB3E5GhYEBF84ub29gyLzWrUt2 Z8P84zuiqxJvX5PL+0CjMfzpQaicfdjnQKmmqutGMiqzB0/wI7sRjVYiYw9N/Drjep8v s8k4K5JInLjWM/xQgg5naUY6d1H+UhFr+VycanGSa0qGqxfMuqM+AUfJaIltW4iNGOls XICg== X-Gm-Message-State: ALoCoQmUBgde2bVA/WbIZc5lsreub1QQbTt5YvxNrf8K5x+RKt4/xG32OLgpneqVOSqNm3RCu/4E X-Received: by 10.42.71.194 with SMTP id l2mr16825646icj.71.1417812960538; Fri, 05 Dec 2014 12:56:00 -0800 (PST) Received: from netflix-mac-wired.bsdimp.com ([50.253.99.174]) by mx.google.com with ESMTPSA id ga3sm1351508igd.10.2014.12.05.12.55.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 05 Dec 2014 12:55:59 -0800 (PST) Sender: Warner Losh Subject: Re: single user mode? Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Content-Type: multipart/signed; boundary="Apple-Mail=_5D1AA07D-67F0-4CE1-9BDD-CE2F9264F948"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5b3 From: Warner Losh In-Reply-To: <20141205204719.GD25139@funkthat.com> Date: Fri, 5 Dec 2014 13:55:58 -0700 Message-Id: <64ED447D-BCC8-48DC-A92A-5C0839B36029@bsdimp.com> References: <201412051306.sB5D6otZ007591@mech-as221.men.bris.ac.uk> <20141205204719.GD25139@funkthat.com> To: John-Mark Gurney X-Mailer: Apple Mail (2.1993) Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Dec 2014 21:04:23 -0000 --Apple-Mail=_5D1AA07D-67F0-4CE1-9BDD-CE2F9264F948 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Dec 5, 2014, at 1:47 PM, John-Mark Gurney wrote: >=20 > Anton Shterenlikht wrote this message on Fri, Dec 05, 2014 at 05:06 = -0800: >> Is it possible to enter a single user mode >> on arm 10.1-release? >=20 > If you're using loader, yes it is possible, but often loader is not > used on arm... >=20 >> My disk, well.. the sd card, got corrupted, >> so wanted to run fsck on it, but cannot >> enter a single user mode. I ended up putting >> the sd card into a laptop and running fsck there. >> This fixed lots of panics, but is it possible >> to enter the single user mode on arm, and >> run fsck directly there? >=20 > You do know of: > fsck_y_enable=3D"NO" # Set to YES to do fsck -y if the initial = preen fails. >=20 > which might help=E2=80=A6 There=E2=80=99s a semi-known, semi-reproducible issue with arm (but = maybe not armv6) where ANY errors that require an FSCK will land you in this situation. = It hasn=E2=80=99t been tracked down yet. There seems to be three or four variations that = Ian and I have run into. The trouble is tracking this down is a big investment in = time, potentially, and there=E2=80=99s been lots of bigger fish to fry :( Warner --Apple-Mail=_5D1AA07D-67F0-4CE1-9BDD-CE2F9264F948 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJUghvfAAoJEGwc0Sh9sBEARbsQAK0MNk5XTOD6qpE2yjPiNG/4 gjst1926Vcu3DRp5xMUHgTulvpt+VVYCSMr57adwErUW0hmgXxTZiZFOHefVTLmB v3EW9f4XnK7FdLQ7Q/NKZnQYcqK2RTOdMo5T4giA5BdB4TNqmi9RuIhQxqVFlHGZ bK5IyGPrKF7DkeC+QgTmyW53lmE3Duht9UqyuyFVFr+0sEY3kImTSCHh8sRJD2GW UWeq4NvuYEIySFP4kt/e5bRlEvOoVyacTexdxaO0j7B8RP8b4ySP3AAGoLJgqXbs hsphVSIfm/cvO/xBaBlV5A1YUqd5fz65ShGVdZwE3xKnCNRi1MS4SVGjqORzY7X7 K4K9WRwD1zlJqIbjJt2j/Di+AGs2GnVIrq9ai3iLRAKFxFbB0CytWmVjDfxY4D9u vqQNasktuiyz6UOcSQ8RDqYpptiKMkyfc6EorB0UblOkaYccNPEwpmPAJI8GHK6l veDpvWbPuSqxbtDO+bS9ezegc8wcSRwqAqCYYSCIpeSCW/mSRG7i0ljlu4qnS4xU 0C3gDibww25ft0k4vxTqj9asjHYz//ZuUc6txw0rRGQb7UYT4LJvCGIxMXvyA8YN uRRImDAYovDYP9yrgqZcha+iqaWaFjejVY2aLMd/f84IYuSLFwdd81gCpEFFwHCT SkseiN2AWL4tYkXvUa3u =Gyid -----END PGP SIGNATURE----- --Apple-Mail=_5D1AA07D-67F0-4CE1-9BDD-CE2F9264F948--