From owner-freebsd-arm@FreeBSD.ORG Sun Dec 28 18:48:48 2014 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 D515F898; Sun, 28 Dec 2014 18:48:48 +0000 (UTC) Received: from mout0.freenet.de (mout0.freenet.de [IPv6:2001:748:100:40::2:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "*.freenet.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9190F2E57; Sun, 28 Dec 2014 18:48:48 +0000 (UTC) Received: from [195.4.92.142] (helo=mjail2.freenet.de) by mout0.freenet.de with esmtpa (ID freebsdnewbie@freenet.de) (port 25) (Exim 4.82 #2) id 1Y5ItS-0003OG-F1; Sun, 28 Dec 2014 19:48:46 +0100 Received: from localhost ([::1]:48044 helo=mjail2.freenet.de) by mjail2.freenet.de with esmtpa (ID freebsdnewbie@freenet.de) (Exim 4.82 #2) id 1Y5ItS-0006C1-Au; Sun, 28 Dec 2014 19:48:46 +0100 Received: from mx11.freenet.de ([195.4.92.21]:40608) by mjail2.freenet.de with esmtpa (ID freebsdnewbie@freenet.de) (Exim 4.82 #2) id 1Y5Iqt-0003eo-3v; Sun, 28 Dec 2014 19:46:07 +0100 Received: from p5b2552b8.dip0.t-ipconnect.de ([91.37.82.184]:50564 helo=[127.0.0.1]) by mx11.freenet.de with esmtpsa (ID freebsdnewbie@freenet.de) (TLSv1.2:DHE-RSA-AES128-SHA:128) (port 587) (Exim 4.82 #2) id 1Y5Iqs-0002Iw-U8; Sun, 28 Dec 2014 19:46:07 +0100 Message-ID: <54A04FEB.2080809@freenet.de> Date: Sun, 28 Dec 2014 19:46:03 +0100 From: =?windows-1252?Q?Manuel_St=FChn?= User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Ian Lepore Subject: Re: vm_fault during BBB-boot References: <54A0376A.8080908@freenet.de> <1419789437.1018.207.camel@freebsd.org> In-Reply-To: <1419789437.1018.207.camel@freebsd.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 141228-0, 28.12.2014), Outbound message X-Antivirus-Status: Clean X-Originated-At: 91.37.82.184!50564 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: Sun, 28 Dec 2014 18:48:48 -0000 Am 28.12.2014 um 18:57 schrieb Ian Lepore: > I can't reproduce this on my BBB. I sync'd to the exact rev you used > and rebuilt, installed it all on an sdcard and booted, and I boot all > the way to the login prompt. I even diff'd my boot messages against the > ones you posted and there are no significant differences other than > pathnames and compile times. > > Maybe a stack backtrace would help... enter 'bt' at that db> prompt and > post the output (everything from the vm_fault(...)-> 1 to the end of the > backtrace). [...] mmcsd0: 8GB at mmc0 48.0MHz/4bit/65535-block vm_fault(0xc0788e48, 0, 1, 0) -> 1 Fatal kernel mode data abort: 'Translation Fault (S)' trapframe: 0xdd0cbc60 FSR=00000005, FAR=00000010, spsr=00000113 r0 =00000000, r1 =00000004, r2 =00003d2e, r3 =00000137 r4 =c2be4180, r5 =c2be4180, r6 =c078876c, r7 =c0869a24 r8 =028f5c28, r9 =c0713d48, r10=00000000, r11=dd0cbcb0 r12=00000001, ssp=dd0cbcb0, slr=00101010, pc =c0377d64 [ thread pid 12 tid 100006 ] Stopped at _sx_assert+0x48: ldr r14, [r0, #0x010] db> bt Tracing pid 12 tid 100006 td 0xc2a7d660 db_trace_self() at db_trace_self pc = 0xc05c43d4 lr = 0xc02324d0 (db_stack_trace+0x108) sp = 0xdd0cb960 fp = 0xdd0cb978 r10 = 0xc0787b70 db_stack_trace() at db_stack_trace+0x108 pc = 0xc02324d0 lr = 0xc0231e28 (db_command+0x294) sp = 0xdd0cb980 fp = 0xdd0cba20 r4 = 0x00000000 r5 = 0x00000000 r6 = 0x00000000 db_command() at db_command+0x294 pc = 0xc0231e28 lr = 0xc0231b80 (db_command_loop+0x78) sp = 0xdd0cba28 fp = 0xdd0cba38 r4 = 0xc060cef5 r5 = 0xc062832d r6 = 0xc0787b5c r7 = 0xc06cfce8 r8 = 0xc07235e4 r9 = 0xc07235e0 r10 = 0x00000001 db_command_loop() at db_command_loop+0x78 pc = 0xc0231b80 lr = 0xc0234698 (db_trap+0x108) sp = 0xdd0cba40 fp = 0xdd0cbb60 r4 = 0x00000000 r5 = 0xc0787b68 r6 = 0xc0723608 db_trap() at db_trap+0x108 pc = 0xc0234698 lr = 0xc03a8c38 (kdb_trap+0xd4) sp = 0xdd0cbb68 fp = 0xdd0cbb88 r4 = 0x00000000 r5 = 0x00000005 r6 = 0xc0723608 r7 = 0xc06cfce8 kdb_trap() at kdb_trap+0xd4 pc = 0xc03a8c38 lr = 0xc05d9464 (dab_fatal+0x1c0) sp = 0xdd0cbb90 fp = 0xdd0cbba8 r4 = 0xdd0cbc60 r5 = 0x00000005 r6 = 0x600001d3 r7 = 0x00000010 r8 = 0xc2a7d660 r9 = 0xdd0cbc60 r10 = 0x00000001 dab_fatal() at dab_fatal+0x1c0 pc = 0xc05d9464 lr = 0xc05d91a4 (abort_handler+0x66c) sp = 0xdd0cbbb0 fp = 0xdd0cbc58 r4 = 0x00000005 r5 = 0x00000001 r6 = 0xc0788e48 r7 = 0xdd0cbea0 abort_handler() at abort_handler+0x66c pc = 0xc05d91a4 lr = 0xc05c61e0 (exception_exit) sp = 0xdd0cbc60 fp = 0xdd0cbcb0 r4 = 0xc2be4180 r5 = 0xc2be4180 r6 = 0xc078876c r7 = 0xc0869a24 r8 = 0x028f5c28 r9 = 0xc0713d48 r10 = 0x00000000 exception_exit() at exception_exit pc = 0xc05c61e0 lr = 0x00101010 (0x101010) sp = 0xdd0cbcb0 fp = 0xdd0cbcb0 r0 = 0x00000000 r1 = 0x00000004 r2 = 0x00003d2e r3 = 0x00000137 r4 = 0xc2be4180 r5 = 0xc2be4180 r6 = 0xc078876c r7 = 0xc0869a24 r8 = 0x028f5c28 r9 = 0xc0713d48 r10 = 0x00000000 r12 = 0x00000001 _sx_assert() at _sx_assert+0x48 pc = 0xc0377d64 lr = 0xc085e4d0 ($a+0x54) sp = 0xdd0cbcb8 fp = 0xdd0cbdb8 Unknown entry: 0 $a() at $a+0x54 pc = 0xc085e4d0 lr = 0xc085e4d0 ($a+0x54) sp = 0xdd0cbcb8 fp = 0xdd0cbdb8 Unable to unwind into user mode db>