From owner-freebsd-arm@FreeBSD.ORG Sat Dec 6 12:53:13 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 99F66291 for ; Sat, 6 Dec 2014 12:53:13 +0000 (UTC) Received: from mail-wi0-x22f.google.com (mail-wi0-x22f.google.com [IPv6:2a00:1450:400c:c05::22f]) (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 2AD6EDD8 for ; Sat, 6 Dec 2014 12:53:13 +0000 (UTC) Received: by mail-wi0-f175.google.com with SMTP id l15so1054503wiw.2 for ; Sat, 06 Dec 2014 04:53:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=QCn73JDSa2OsQIYa+Gn5CdqGJeqVx3iQJ2bKj83B+zc=; b=YBJasrFqtQ7wVeBeJ536WiT+LdKQ36wNng+uyLGzi+rO0nQgdUoFmWXYapPInfsD1f nVOKNHQcBNZf22jx3/cYFEw07ehZJylDlOatCmK30DTeA5z2NwbHUlMCQMd+dg4utu+T 1wu/LD380t29H9auUnzF+nBQYSiTIg6JJRs1Ln1I5PdNv7owLXGqC2/JukjOWBS6VN5/ q6FSqc5/dJiEZUwPP/wSiCH5trm69dLRphpOBsOs+eEVGGj+ts0oSYWm9OO9SLchHkVj BxlKEGIvRaSoALusasJOicVe+eIGkm2Uc//L89nqJc1TjoOi8u8guj9kUzESz1++69af 31ZQ== MIME-Version: 1.0 X-Received: by 10.181.27.135 with SMTP id jg7mr11205010wid.56.1417870391581; Sat, 06 Dec 2014 04:53:11 -0800 (PST) Received: by 10.216.127.72 with HTTP; Sat, 6 Dec 2014 04:53:11 -0800 (PST) In-Reply-To: <201412051306.sB5D6otZ007591@mech-as221.men.bris.ac.uk> References: <201412051306.sB5D6otZ007591@mech-as221.men.bris.ac.uk> Date: Sat, 6 Dec 2014 10:53:11 -0200 Message-ID: Subject: Re: single user mode? From: Luiz Otavio O Souza To: mexas@bris.ac.uk Content-Type: text/plain; charset=UTF-8 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: Sat, 06 Dec 2014 12:53:13 -0000 On 5 December 2014 at 11:06, Anton Shterenlikht wrote: > Is it possible to enter a single user mode > on arm 10.1-release? > > 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? If you are using RPi with official or crochet images then yes, you can force it to boot in single user mode and run fsck, but (and there always a but) you can only do that from serial console, the vt framebuffer starts too late to allow you to break into loader prompt. And as others have said it is not clear if the semi-known bug affects armv6 (we can't yet say if is safe to fsck your disk on arm). Luiz