From owner-freebsd-arm@FreeBSD.ORG Mon Mar 2 01:54:25 2015 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 1FD9BCD9 for ; Mon, 2 Mar 2015 01:54:25 +0000 (UTC) Received: from mail-ig0-f175.google.com (mail-ig0-f175.google.com [209.85.213.175]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D7A1B6CB for ; Mon, 2 Mar 2015 01:54:24 +0000 (UTC) Received: by igdh15 with SMTP id h15so13572335igd.4 for ; Sun, 01 Mar 2015 17:54:18 -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=BiFr0D6LPbiCA2IPz8avpyarPanWNOTFtPX7yDWXd/c=; b=BK2fSkjJz3b8aNfOvyUMxzRImrtSqG3vQNxT6MZFq87I6GyeQxKSaqZO2U2Ylg9dcJ eHu8edk9XPqQKT79+BOBxDG16UHhkvWxIaHMFVKykM6lfId3bOzp28TVptOnodYDRQfm 0Z9mD6JGH43Djp88Hfxfv/Sa7C4ftTcjLU+6nbL2uihkZhakxbWDIcik97jwRiUVJzIB SHVYQnt+LozAygfpQmBfrImQoOWbnZf+pIAwIkU2xJV3XF0r7tftbrwI6L/48JbSmZZm BH7grhqeflb2f4fizOweOOhhsDxJyFQYqc65XghP1QotMFJZvdM/b0qh6y9uRU7FZ+wE 0OiQ== X-Gm-Message-State: ALoCoQmBmnrv7qLsX0yjgQ+DoU6Wv2vB7otNIx8WdgriiwTI4HQaNlSXrKcrfnTgF1cIusZfrJNX X-Received: by 10.50.25.225 with SMTP id f1mr19055234igg.29.1425260934475; Sun, 01 Mar 2015 17:48:54 -0800 (PST) Received: from netflix-mac-wired.bsdimp.com ([50.253.99.174]) by mx.google.com with ESMTPSA id o1sm6110866igv.18.2015.03.01.17.48.53 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 01 Mar 2015 17:48:53 -0800 (PST) Sender: Warner Losh Subject: Re: crash on writing usbstick Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: multipart/signed; boundary="Apple-Mail=_B990C3AA-5151-41EE-AB39-26BC12A04508"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5b5 From: Warner Losh In-Reply-To: <20150301203244.55578413@ivory.wynn.com> Date: Sun, 1 Mar 2015 18:48:52 -0700 Message-Id: References: <20150301041855.5352663e@ivory.wynn.com> <20150301144653.63b38cdf@ivory.wynn.com> <20150301184456.7b5e6487@ivory.wynn.com> <1DC8221F-64EA-418C-8CE5-5FFA4F3DBC64@bsdimp.com> <20150301203244.55578413@ivory.wynn.com> To: Brett Wynkoop X-Mailer: Apple Mail (2.2070.6) 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: Mon, 02 Mar 2015 01:54:25 -0000 --Apple-Mail=_B990C3AA-5151-41EE-AB39-26BC12A04508 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Mar 1, 2015, at 6:32 PM, Brett Wynkoop = wrote: >=20 > On Sun, 1 Mar 2015 16:55:59 -0700 > Warner Losh wrote: >=20 >> Your filesystem looks messed up. Panics are likely to haunt you. >> You=E2=80=99ll need to newfs it and reload the data. >>=20 >> Also, it would be great if you could type =E2=80=98tr=E2=80=99 to the = db> prompt to >> get a call stack traceback. That would be quite helpful. >>=20 >> Warner >=20 > It seems counter to the design of the ffs, especially with softupdates > enabled that one should have to newfs. fsck claimed to have fixed the > filesystem, but to be complete I have just done a newfs on the > partation again and will attempt the copy yet again. >=20 > root@beaglebone:~ # newfs -J -U /dev/gpt/bbexport > /dev/gpt/bbexport: 14755.0MB (30218160 sectors) block size 32768, > fragment size 4096 using 24 cylinder groups of 626.09MB, 20035 blks, > 80256 inodes. with soft updates > super-block backups (for fsck_ffs -b #) at: > 192, 1282432, 2564672, 3846912, 5129152, 6411392, 7693632, 8975872, > 10258112, 11540352, 12822592, 14104832, 15387072, 16669312, 17951552, > 19233792, 20516032, 21798272, 23080512, 24362752, 25644992, 26927232, > 28209472, 29491712 root@beaglebone:~ # >=20 > When it next crashes I will get a backtrace for the team. I agree you shouldn=E2=80=99t have to do this. However, this will reset = things to a known state, which is important with testing. If you screwed something up in a prior version that=E2=80=99s unusual, fsck might not fix it. = Since we started seeing weird FS junk, we need to make sure that we have a good state. This will let us tell the difference between a FS that=E2=80=99s = weird because it didn=E2=80=99t get flushed on the first panic, and a FS that=E2=80=99s = weird because we=E2=80=99re bogusly writing weird stuff to it. Warner --Apple-Mail=_B990C3AA-5151-41EE-AB39-26BC12A04508 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 iQIcBAEBCgAGBQJU88GFAAoJEGwc0Sh9sBEAwzYQAJVR4L1vI7OPYA3Cy/kX5zYp Xmz2S3NBekTXJ3Cq03k3VqGa8BzA6IEA2Pe5OqiPHL5uXngPcvhJytRH16YfpctV GMar69NooE/NcJO8/InMFhKTQMnbz720tLCqMr15Zx7DVlkt8VqUUiwkhHIGMbbz 6dL2Tm9pouv5qytXX+58K3JbcdrrwQrUdWD2YaFYpp09zUrDlXArcxZ2uu2RYdql w79au/QtzqXQtvJ/0QLFAxH7RreEnoXlxLIZCZbqwNqvXzfe3VNj2UuRLlcpuAlk ///lEd7vrtehl0sHaVpvNGtXPeDtDl7+6KWPpXRbOx2ORAenBXQIS9opWY5pFGDP bMxDVvBepKb6SiOq1tMIo6V7mO9SSvEN9U9bFKh6iy6KYKag8BPXkzNkR5FbS9rV QPKd/9fxM45Ubi0aGH9GUox+XHiJh42PuVYLPKHMQzt7Uvw7giu1ceR6IvR+NfG9 Ri8ZXxBN+7uWjHtnGcyACF7cDij7qkJVAEW4nohJMR1/Usy16HO+mZRtrMAi6MCM gm02XxIgRmPo0eCrUX3cg/9R9LsTwkwvaG4vOB+vSC3Ap5WjvEyHwuKpK80bO+Cl xsH4D8zH5Aq15WuY66dM27RxZ3thI5L2e0kZBNE2OiENiL6gfJTrAliIS7q8jDcM 41V7wv9WLfmg7xe9cl5e =SNc8 -----END PGP SIGNATURE----- --Apple-Mail=_B990C3AA-5151-41EE-AB39-26BC12A04508--