From owner-freebsd-arm@FreeBSD.ORG Mon Mar 2 02:06:04 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 8597CD8B for ; Mon, 2 Mar 2015 02:06:04 +0000 (UTC) Received: from wa3yre.wynn.com (wa3yre.wynn.com [199.89.147.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B22887F9 for ; Mon, 2 Mar 2015 02:06:03 +0000 (UTC) Received: from ivory.wynn.com (mail.wynn.com [199.89.147.3]) (authenticated bits=0) by wa3yre.wynn.com (8.14.3/8.12.6) with ESMTP id t2225xDG036416; Sun, 1 Mar 2015 21:05:59 -0500 (EST) (envelope-from freebsd-arm@wynn.com) Date: Sun, 1 Mar 2015 21:05:58 -0500 From: Brett Wynkoop To: Warner Losh , freebsd-arm@freebsd.org Subject: Re: crash on writing usbstick Message-ID: <20150301210558.3fbdb18b@ivory.wynn.com> In-Reply-To: <1DC8221F-64EA-418C-8CE5-5FFA4F3DBC64@bsdimp.com> References: <20150301041855.5352663e@ivory.wynn.com> <20150301144653.63b38cdf@ivory.wynn.com> <20150301184456.7b5e6487@ivory.wynn.com> <1DC8221F-64EA-418C-8CE5-5FFA4F3DBC64@bsdimp.com> X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.25; x86_64-apple-darwin10.8.0) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 02:06:04 -0000 On Sun, 1 Mar 2015 16:55:59 -0700 Warner Losh wrote: > 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. Greeting- As I suspected doing the newfs on my /export partation was a wild goose chase. rsync from /usr/ports to /export/ports caused another crash. Here is the backtrace capture: 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>=20 -Brett --=20 wynkoop@wynn.com http://prd4.wynn.com/wynkoop/pgp-keys.txt 917-642-6925 929-272-0000 Amendment I Congress shall make no law respecting an establishment of religion, or=20 prohibiting the free exercise thereof; or abridging the freedom of=20 speech, or of the press; or the right of the people peaceably to assemble, and to petition the government for a redress of grievances.