From owner-freebsd-arm@FreeBSD.ORG Mon Mar 2 05:20:52 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 252967C4 for ; Mon, 2 Mar 2015 05:20:52 +0000 (UTC) Received: from mail-ie0-f173.google.com (mail-ie0-f173.google.com [209.85.223.173]) (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 DC23CC4B for ; Mon, 2 Mar 2015 05:20:51 +0000 (UTC) Received: by iecrl12 with SMTP id rl12so45029363iec.4 for ; Sun, 01 Mar 2015 21:20:45 -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=RBN3AWySrdY+ttAcz3Imt95LYJuPE/x2Hiv3bJeFE5E=; b=cGO+tjn6BgErpt89QjZ2hQM/yUOh9+w2y9AoD69ZrU9c02Ss6Ypbmq58f8jhlcrhPs XrOeWNoZvnWGJEwoIKRqcIYTTZoFGCDpmvEuv5IDbKnGL7m1HjJSSiZWMhDEe8AF3oi5 ZWyVf6VAdI+jpWuhw4/TAb0EUCWiWMg3nRBySe5yeoXYM84bbeQu8zdptIlCYuv+L70R fHyBdQfciZCoh2wDdK5uWJnBTij0HkX7Aw889XUhfnzw0ROul5u1I/IB7XiTe5bGxIPW rVCO+Oa3uZnDfLlr/mJzSYLSKjJSCKq1M2LKK19drMFkoSNUIKfuvvpxdSOaPSxLuF83 pDgg== X-Gm-Message-State: ALoCoQnhR1YfqGLEjqDRQo4W5bRRWc3ktkPfmBWEJfKZOccoTbjwxZwXsbm4nJujS5FaTjQhid4x X-Received: by 10.107.165.21 with SMTP id o21mr33695158ioe.84.1425273644900; Sun, 01 Mar 2015 21:20:44 -0800 (PST) Received: from netflix-mac-wired.bsdimp.com ([50.253.99.174]) by mx.google.com with ESMTPSA id y5sm6396913ign.7.2015.03.01.21.20.43 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 01 Mar 2015 21:20:44 -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=_28C3BD97-93E1-4576-AB89-25D5DE30E6F6"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5b5 From: Warner Losh In-Reply-To: <20150301210558.3fbdb18b@ivory.wynn.com> Date: Sun, 1 Mar 2015 22:20:42 -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> <20150301210558.3fbdb18b@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 05:20:52 -0000 --Apple-Mail=_28C3BD97-93E1-4576-AB89-25D5DE30E6F6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Mar 1, 2015, at 7:05 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 > Greeting- >=20 > As I suspected doing the newfs on my /export partation was a wild = goose > chase. I didn=E2=80=99t say it would prevent the crash. it just made sure that = subsequent crashes weren=E2=80=99t the result of the first one messing up your = filesystem. > rsync from /usr/ports to /export/ports caused another crash. Here is > the backtrace capture: What=E2=80=99s the panic? Judging from the traceback, it is tripping = over some assert or test for bogus state. Is it another dup alloc panic? = ffs_valloc isn=E2=80=99t on the stack, but that doesn=E2=80=99t mean much... > Tracing pid 1047 tid 100093 td 0xc272e660 > db_trace_self() at db_trace_self > pc =3D 0xc05ffbf0 lr =3D 0xc0231f78 (db_stack_trace+0x108) > sp =3D 0xd4892660 fp =3D 0xd4892678 > r10 =3D 0xd4892908 > db_stack_trace() at db_stack_trace+0x108 > pc =3D 0xc0231f78 lr =3D 0xc02318e8 (db_command+0x294) > sp =3D 0xd4892680 fp =3D 0xd4892720 > r4 =3D 0xc064c9b6 r5 =3D 0x00000000 > r6 =3D 0xc07e3b10 r10 =3D 0xd4892908 > db_command() at db_command+0x294 > pc =3D 0xc02318e8 lr =3D 0xc0231644 (db_command_loop+0x74) > sp =3D 0xd4892728 fp =3D 0xd4892738 > r4 =3D 0xc064c9b6 r5 =3D 0xc066dd32 > r6 =3D 0xc07e3b10 r7 =3D 0xc0721c14 > r8 =3D 0xc077e1c0 r9 =3D 0xc077e1c4 > r10 =3D 0xd4892908 > db_command_loop() at db_command_loop+0x74 > pc =3D 0xc0231644 lr =3D 0xc0234128 (db_trap+0x108) > sp =3D 0xd4892740 fp =3D 0xd4892860 > --More-- r4 =3D 0x00000000 r5 =3D 0xc07e3b1c > r6 =3D 0xc077e1e8 r10 =3D 0xd4892908 > db_trap() at db_trap+0x108 > pc =3D 0xc0234128 lr =3D 0xc03dcedc (kdb_trap+0xd4) > sp =3D 0xd4892868 fp =3D 0xd4892888 > r4 =3D 0x00000000 r5 =3D 0x00000001 > r6 =3D 0xc077e1e8 r7 =3D 0xc0721c14 > kdb_trap() at kdb_trap+0xd4 > pc =3D 0xc03dcedc lr =3D 0xc0614cf8 = (undefinedinstruction+0x2c8) > sp =3D 0xd4892890 fp =3D 0xd4892900 > r4 =3D 0x00000000 r5 =3D 0x00000000 > r6 =3D 0xc0614980 r7 =3D 0xe7ffffff > r8 =3D 0xc272e660 r9 =3D 0xc03dc79c > r10 =3D 0xd4892908 > undefinedinstruction() at undefinedinstruction+0x2c8 > pc =3D 0xc0614cf8 lr =3D 0xc0601310 (exception_exit) > sp =3D 0xd4892908 fp =3D 0xd4892960 > r4 =3D 0xc066dd87 r5 =3D 0xd48929a4 > r6 =3D 0xc068e208 r7 =3D 0xc0770718 > r8 =3D 0xc272e660 r9 =3D 0xc07e5c18 > --More-- r10 =3D 0xc0770580 > exception_exit() at exception_exit > pc =3D 0xc0601310 lr =3D 0xc03dc78c (kdb_enter+0x48) > sp =3D 0xd4892958 fp =3D 0xd4892960 > r0 =3D 0xc077e1d4 r1 =3D 0x00000000 > r2 =3D 0xc0671a3b r3 =3D 0x000000aa > r4 =3D 0xc066dd87 r5 =3D 0xd48929a4 > r6 =3D 0xc068e208 r7 =3D 0xc0770718 > r8 =3D 0xc272e660 r9 =3D 0xc07e5c18 > r10 =3D 0xc0770580 r12 =3D 0x00000000 > $a.8() at $a.8 > pc =3D 0xc03dc7a0 lr =3D 0xc03a260c (vpanic+0xd0) > sp =3D 0xd4892968 fp =3D 0xd4892988 > r4 =3D 0x00000100 r10 =3D 0xc0770580 > vpanic() at vpanic+0xd0 > pc =3D 0xc03a260c lr =3D 0xc03a2660 (kproc_shutdown) > sp =3D 0xd4892990 fp =3D 0xd4892998 > r4 =3D 0xc266d000 r5 =3D 0xd4892b84 > r6 =3D 0x000759c4 r7 =3D 0xc34a7480 > r8 =3D 0x00000000 r9 =3D 0x000041c0 > --More-- r10 =3D 0xc266d000 > kproc_shutdown() at kproc_shutdown > pc =3D 0xc03a2660 lr =3D 0xc0581018 (ffs_nodealloccg) > sp =3D 0xd48929a0 fp =3D 0xd4892a30 > r4 =3D 0xd48929a4 r5 =3D 0xc266d000 > ffs_nodealloccg() at ffs_nodealloccg > pc =3D 0xc0581018 lr =3D 0xc05c4cf4 (ufs_mkdir+0x6c) > sp =3D 0xd4892a38 fp =3D 0xd4892bc0 > r4 =3D 0x000041c0 r5 =3D 0xc2857900 > r6 =3D 0xd4892d48 r7 =3D 0xc0580818 > r8 =3D 0x00000000 r9 =3D 0xc2f81880 > r10 =3D 0xd4892c80 > ufs_mkdir() at ufs_mkdir+0x6c > pc =3D 0xc05c4cf4 lr =3D 0xc062c514 (VOP_MKDIR_APV+0x12c) > sp =3D 0xd4892bc8 fp =3D 0xd4892be0 > r4 =3D 0xd4892d48 r5 =3D 0xc0753234 > r6 =3D 0x00000000 r7 =3D 0xbfffdecc > r8 =3D 0x00000000 r9 =3D 0x00000000 > r10 =3D 0xd4892c88 > VOP_MKDIR_APV() at VOP_MKDIR_APV+0x12c > --More-- pc =3D 0xc062c514 lr =3D 0xc04568c0 = (kern_mkdirat+0x194) > sp =3D 0xd4892be8 fp =3D 0xd4892d80 > r4 =3D 0xd4892c18 r5 =3D 0xd4892cb0 > r6 =3D 0xd4892d44 r10 =3D 0xd4892c88 > kern_mkdirat() at kern_mkdirat+0x194 > pc =3D 0xc04568c0 lr =3D 0xc0456724 (sys_mkdir+0x24) > sp =3D 0xd4892d88 fp =3D 0xd4892d90 > r4 =3D 0xc272e660 r5 =3D 0x00000000 > r6 =3D 0xc07e5900 r7 =3D 0x00000000 > r8 =3D 0xd4892df8 r9 =3D 0xc27206f0 > r10 =3D 0xffffffff > sys_mkdir() at sys_mkdir+0x24 > pc =3D 0xc0456724 lr =3D 0xc0613980 (swi_handler+0x2e4) > sp =3D 0xd4892d98 fp =3D 0xd4892e48 > swi_handler() at swi_handler+0x2e4 > pc =3D 0xc0613980 lr =3D 0xc06012a0 (swi_exit) > sp =3D 0xd4892e50 fp =3D 0xbfffdea0 > r4 =3D 0x23392458 r5 =3D 0x2080c0c8 > r6 =3D 0x2080c0c8 r7 =3D 0x00000088 > r8 =3D 0xffffffff r9 =3D 0x23392458 > --More-- r10 =3D 0xffffffff > swi_exit() at swi_exit > pc =3D 0xc06012a0 lr =3D 0xc06012a0 (swi_exit) > sp =3D 0xd4892e50 fp =3D 0xbfffdea0 > db> tr > Tracing pid 1047 tid 100093 td 0xc272e660 > db_trace_self() at db_trace_self > pc =3D 0xc05ffbf0 lr =3D 0xc0231f78 (db_stack_trace+0x108) > sp =3D 0xd4892660 fp =3D 0xd4892678 > r10 =3D 0xc07e3b24 > db_stack_trace() at db_stack_trace+0x108 > pc =3D 0xc0231f78 lr =3D 0xc02318e8 (db_command+0x294) > sp =3D 0xd4892680 fp =3D 0xd4892720 > r4 =3D 0x00000000 r5 =3D 0x00000000 > r6 =3D 0x00000000 r10 =3D 0xc07e3b24 > db_command() at db_command+0x294 > pc =3D 0xc02318e8 lr =3D 0xc0231644 (db_command_loop+0x74) > sp =3D 0xd4892728 fp =3D 0xd4892738 > r4 =3D 0xc064c9b6 r5 =3D 0xc066dd32 > r6 =3D 0xc07e3b10 r7 =3D 0xc0721c14 > r8 =3D 0xc077e1c0 r9 =3D 0xc077e1c4 > r10 =3D 0xd4892908 > db_command_loop() at db_command_loop+0x74 > pc =3D 0xc0231644 lr =3D 0xc0234128 (db_trap+0x108) > sp =3D 0xd4892740 fp =3D 0xd4892860 > --More-- r4 =3D 0x00000000 r5 =3D 0xc07e3b1c > r6 =3D 0xc077e1e8 r10 =3D 0xd4892908 > db_trap() at db_trap+0x108 > pc =3D 0xc0234128 lr =3D 0xc03dcedc (kdb_trap+0xd4) > sp =3D 0xd4892868 fp =3D 0xd4892888 > r4 =3D 0x00000000 r5 =3D 0x00000001 > r6 =3D 0xc077e1e8 r7 =3D 0xc0721c14 > kdb_trap() at kdb_trap+0xd4 > pc =3D 0xc03dcedc lr =3D 0xc0614cf8 = (undefinedinstruction+0x2c8) > sp =3D 0xd4892890 fp =3D 0xd4892900 > r4 =3D 0x00000000 r5 =3D 0x00000000 > r6 =3D 0xc0614980 r7 =3D 0xe7ffffff > r8 =3D 0xc272e660 r9 =3D 0xc03dc79c > r10 =3D 0xd4892908 > undefinedinstruction() at undefinedinstruction+0x2c8 > pc =3D 0xc0614cf8 lr =3D 0xc0601310 (exception_exit) > sp =3D 0xd4892908 fp =3D 0xd4892960 > r4 =3D 0xc066dd87 r5 =3D 0xd48929a4 > r6 =3D 0xc068e208 r7 =3D 0xc0770718 > r8 =3D 0xc272e660 r9 =3D 0xc07e5c18 > --More-- r10 =3D 0xc0770580 > exception_exit() at exception_exit > pc =3D 0xc0601310 lr =3D 0xc03dc78c (kdb_enter+0x48) > sp =3D 0xd4892958 fp =3D 0xd4892960 > r0 =3D 0xc077e1d4 r1 =3D 0x00000000 > r2 =3D 0xc0671a3b r3 =3D 0x000000aa > r4 =3D 0xc066dd87 r5 =3D 0xd48929a4 > r6 =3D 0xc068e208 r7 =3D 0xc0770718 > r8 =3D 0xc272e660 r9 =3D 0xc07e5c18 > r10 =3D 0xc0770580 r12 =3D 0x00000000 > $a.8() at $a.8 > pc =3D 0xc03dc7a0 lr =3D 0xc03a260c (vpanic+0xd0) > sp =3D 0xd4892968 fp =3D 0xd4892988 > r4 =3D 0x00000100 r10 =3D 0xc0770580 > vpanic() at vpanic+0xd0 > pc =3D 0xc03a260c lr =3D 0xc03a2660 (kproc_shutdown) > sp =3D 0xd4892990 fp =3D 0xd4892998 > r4 =3D 0xc266d000 r5 =3D 0xd4892b84 > r6 =3D 0x000759c4 r7 =3D 0xc34a7480 > r8 =3D 0x00000000 r9 =3D 0x000041c0 > --More-- r10 =3D 0xc266d000 > kproc_shutdown() at kproc_shutdown > pc =3D 0xc03a2660 lr =3D 0xc0581018 (ffs_nodealloccg) > sp =3D 0xd48929a0 fp =3D 0xd4892a30 > r4 =3D 0xd48929a4 r5 =3D 0xc266d000 > ffs_nodealloccg() at ffs_nodealloccg > pc =3D 0xc0581018 lr =3D 0xc05c4cf4 (ufs_mkdir+0x6c) > sp =3D 0xd4892a38 fp =3D 0xd4892bc0 > r4 =3D 0x000041c0 r5 =3D 0xc2857900 > r6 =3D 0xd4892d48 r7 =3D 0xc0580818 > r8 =3D 0x00000000 r9 =3D 0xc2f81880 > r10 =3D 0xd4892c80 > ufs_mkdir() at ufs_mkdir+0x6c > pc =3D 0xc05c4cf4 lr =3D 0xc062c514 (VOP_MKDIR_APV+0x12c) > sp =3D 0xd4892bc8 fp =3D 0xd4892be0 > r4 =3D 0xd4892d48 r5 =3D 0xc0753234 > r6 =3D 0x00000000 r7 =3D 0xbfffdecc > r8 =3D 0x00000000 r9 =3D 0x00000000 > r10 =3D 0xd4892c88 > VOP_MKDIR_APV() at VOP_MKDIR_APV+0x12c > --More-- pc =3D 0xc062c514 lr =3D 0xc04568c0 = (kern_mkdirat+0x194) > sp =3D 0xd4892be8 fp =3D 0xd4892d80 > r4 =3D 0xd4892c18 r5 =3D 0xd4892cb0 > r6 =3D 0xd4892d44 r10 =3D 0xd4892c88 > kern_mkdirat() at kern_mkdirat+0x194 > pc =3D 0xc04568c0 lr =3D 0xc0456724 (sys_mkdir+0x24) > sp =3D 0xd4892d88 fp =3D 0xd4892d90 > r4 =3D 0xc272e660 r5 =3D 0x00000000 > r6 =3D 0xc07e5900 r7 =3D 0x00000000 > r8 =3D 0xd4892df8 r9 =3D 0xc27206f0 > r10 =3D 0xffffffff > sys_mkdir() at sys_mkdir+0x24 > pc =3D 0xc0456724 lr =3D 0xc0613980 (swi_handler+0x2e4) > sp =3D 0xd4892d98 fp =3D 0xd4892e48 > swi_handler() at swi_handler+0x2e4 > pc =3D 0xc0613980 lr =3D 0xc06012a0 (swi_exit) > sp =3D 0xd4892e50 fp =3D 0xbfffdea0 > r4 =3D 0x23392458 r5 =3D 0x2080c0c8 > r6 =3D 0x2080c0c8 r7 =3D 0x00000088 > r8 =3D 0xffffffff r9 =3D 0x23392458 > --More-- r10 =3D 0xffffffff > swi_exit() at swi_exit > pc =3D 0xc06012a0 lr =3D 0xc06012a0 (swi_exit) > sp =3D 0xd4892e50 fp =3D 0xbfffdea0 > db> thanks! Warner --Apple-Mail=_28C3BD97-93E1-4576-AB89-25D5DE30E6F6 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 iQIcBAEBCgAGBQJU8/MrAAoJEGwc0Sh9sBEAaegP/iPtsThY3QGatEdgEWzsM808 nbI48OGZXAMhfM/Xnr8p+D1IdOq1K6qbwbvyGin1M7VKNfy9o6uZav0DuB6qkbUz ROaicJLeRImwAG7hIF2/KX4j7N8PITyY5zeHjuoVtM8oOofYAz/oKQh1rew7PxMF lwYpKMHnThukbWoE9nAbGIK4nAgQh7yZECbj8+TSFpF5N7b57KlfQdIafTqlEVf4 DGMVTB3rgmRWaYZ6QnHzjRq4r6PiCsbZ3oCXOztChsqXMdC73ZF99Evaej3J3i64 qtJdtwhzxAdKZMjVtYs3CWOHo30FKkqiqi6J3CbErSI/Y/RUBY/1tuBWwlIopKWU 6ulzYD3Eh1EEq79s6zihzd9NE+uF5S4zUQ1LTVhGpg20p+tH8sWCvWr2HXlaknwE kmdmw7EPVxGAwNQGrcvEoRk8XPJsKrfnglel44nDLGr01l2gs7JoBQWHZp1S3PXE VhS9nQE3SCILYTVkUGYthkM4+UaxFFyoLTO38nsBUDPG4WRLpjCIpfV4BII4PHO+ VAMwmhFvpynQUVbyRTyiCbTNTodEZW3daAaQet/R8Gtp3sN4QnnoaK/1XTeWuteV Kbl2KaOc499a+esgtaHml+rMormIDdFLiv1dIUbS1N1TuLcOqJkiOii0h112GXa7 46fCCiyPiiWpyHKZNeQi =PtQm -----END PGP SIGNATURE----- --Apple-Mail=_28C3BD97-93E1-4576-AB89-25D5DE30E6F6--