From owner-freebsd-arm@FreeBSD.ORG Sun Jan 18 21:41:39 2015 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 D3FC3575 for ; Sun, 18 Jan 2015 21:41:39 +0000 (UTC) Received: from mail-ie0-f174.google.com (mail-ie0-f174.google.com [209.85.223.174]) (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 94DA61A8 for ; Sun, 18 Jan 2015 21:41:39 +0000 (UTC) Received: by mail-ie0-f174.google.com with SMTP id at20so28166940iec.5 for ; Sun, 18 Jan 2015 13:41:38 -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=pDMHPGYGIzupVzp6L4KE36NymsA1qSBglQXNHOLVEto=; b=CcJlhv7HHnNEDaMBEHUETgzyUReP6zfaR7tyJZuiaLUu1VK4SJ3U8AO2ylcerzc8Ry qSAP1L/qgUlViyK0rkNs0FTrzmUPp8rRQoa+s5AufQWnzH32cTn6ZV0jDWW5aaIUK24P j1YiKJ2NnwRa4MW9yJafbWhUw60TQlosdGlP4QtuObUf06UWfkI2fAIAr/FINEzrAn2E xFLE6ooR73FZh65kwqe+EhjEJKW6g4HQgyIXKLjHJREWlXx+J23x5buCfSSL7rYTqB1e xLxgWcr022rO/c8LO4K/YELhAB5qEryNufqN/YAM0RZ53yEWebfzSG1AMVsYmd54hbnF uVnQ== X-Gm-Message-State: ALoCoQnFWbIPJsORzuEWqOxO+gKkTl07Br9P3OLsqAcYtreak1CfNqkZJ1ynfXZBSaxqkhhZrlqT X-Received: by 10.50.67.100 with SMTP id m4mr16039026igt.22.1421617298172; Sun, 18 Jan 2015 13:41:38 -0800 (PST) Received: from netflix-mac-wired.bsdimp.com ([50.253.99.174]) by mx.google.com with ESMTPSA id qr1sm5335739igb.18.2015.01.18.13.41.37 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 18 Jan 2015 13:41:37 -0800 (PST) Sender: Warner Losh Subject: Re: Raspberry Pi stability improved Mime-Version: 1.0 (Mac OS X Mail 8.1 \(1993\)) Content-Type: multipart/signed; boundary="Apple-Mail=_31D15C8C-47D0-40CF-9AB1-D474A73FEB71"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5b3 From: Warner Losh X-Priority: 3 In-Reply-To: Date: Sun, 18 Jan 2015 14:41:36 -0700 Message-Id: References: To: Michael Tuexen X-Mailer: Apple Mail (2.1993) Cc: freebsd-arm 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: Sun, 18 Jan 2015 21:41:40 -0000 --Apple-Mail=_31D15C8C-47D0-40CF-9AB1-D474A73FEB71 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Jan 18, 2015, at 11:29 AM, Michael Tuexen = wrote: >=20 > On 18 Jan 2015, at 16:51, Daisuke Aoyama wrote: >>=20 >> Hi Michael, >>=20 >> Did you use /etc/rc.d/autosize ("option AutoSize" in = crochet-freebsd)? > No, I used (for a year or so) the script from > git://github.com/daveish/freebsd-arm-tools.git > and did a manual resize after the system got up. If you reside with gpart, you may hit a frustratingly stupid gpart bug. We tell a lie about the CHS of the SD cards. This lie works its way into = the alignment of the partitions. The md and da devices also lie about the CHS of SD cards. They tell = different lies (and often times different USB adapters tell different lies) so that screws up gpart. It = assumes that the CHS is The Truth and The One True Way to create partitions is to have them cylinder group = sized and aligned, even when resizing an existing partition. However, since the CHS is a lie, and = nobody can get their story straight, gpart expresses its displeasure by starting the partition at a new = location, effectively killing your filesystem which now starts at the wrong place on the disk... That=E2=80=99s what=E2=80=99s killing the autoresize. :( Sadly, I have = no fix for this, but it is a problem I hit about 6-9 months ago=E2=80=A6 I talked about the problem then, but I can=E2=80=99t recall = if it was on a public mailing list or just private email to part=E2=80=99s author. Warner --Apple-Mail=_31D15C8C-47D0-40CF-9AB1-D474A73FEB71 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 iQIcBAEBCgAGBQJUvCiQAAoJEGwc0Sh9sBEApfkP/jG57gmTb3pwanxHDIEixo6u ePjNoxI6vsrNYuqojrhcfnwMErMNEk1z69UGiXKmtzbr3jXjZCZv7EZWrnDFBFps kPiVhnI9OGkmQD6vBg5em6x4i0GYR7CnoFKXmTuWrpE8dGTOzxVjihkPdJKBryJB gBjIJX8spApHDzTafH0u0m5qPT8NuAOrMb7fb7YTwlbopXvRGd3Kz2ufSCeH4wlD x4/mYTjYCSrR1lLHUhelwclgTEoH8BPmd3RE5KkQO+npOcFiBpmrvF3kvSVtHN9i 8aczq0Z6q9BnZqVdOKDsQld4iwGCSlKCtoXfAXz5L6ARkGi4Dz4wJt2/LEsEq+vv RJqa/cvLXo0i4jFIAD1j22mWHfbi1zjGTgxTRBYN7DDfEymNoIlc37o89cEsf4x7 uNLj6RdQ4Y0GWZ+BVea6avl2Jeh2NdrczS0KLNk1Qp4GtWEobqStRQ24FjpkTX3z 5+/udKvYqvb/qUetlqLC8ZVsjYM4PmNKPk4qAnbvQnVpOCZQTV9ssz7gWG6S3yub BFy+C4q9ernyrt1wIkvs/qd+6gki5p9Z9hx7WSP0PY/yVGwSu5GaoYdjA0XhDYD7 d237ZyvTdit1UZUmdAsOwqkl3NhqsYgjyxwDZYyLepnObR2/rqlgYHYtkxuU6cME DOCKW9PPrGQHN3yo/Hh/ =aZ+j -----END PGP SIGNATURE----- --Apple-Mail=_31D15C8C-47D0-40CF-9AB1-D474A73FEB71--