Date: Tue, 02 Jul 2013 00:15:19 +0200 From: "Ronald Klop" <ronald-freebsd8@klop.yi.org> To: freebsd-arm@freebsd.org, "Manuel Diaz Ferreiro" <manudferreiro@gmail.com> Subject: Re: 10-current sheevaplug boot fails Message-ID: <op.wzkdftzu8527sy@212-182-167-131.ip.telfort.nl> In-Reply-To: <51D14074.6080101@gmail.com> References: <op.wzistd2p8527sy@212-182-167-131.ip.telfort.nl> <51D14074.6080101@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 01 Jul 2013 10:40:20 +0200, Manuel Diaz Ferreiro <manudferreiro@gmail.com> wrote: > Try adding: > > printf("%s: frame=%p\n", __func__, frame); > just before the !INKERNEL(frame) check > in sys/arm/arm/stack_machdep.c. Thanks for your answer. I don't see a !INKERNEL check in that file. Only a 'while (INKERNEL(frame))' check. I put it above the 'if !def EABI && !def clang' statement. Without INVARIANTS/DIAGNOSTICS/etc. it boots until this: usbus0: EHCI version 1.0 usbus0: set host controller mode usbus0 on ehci0 cryptosoft0: <software crypto> Timecounters tick every 1.000 msec ipfw2 initialized, divert loadable, nat loadable, default to accept, logging disabled usbus0: 480Mbps High Speed USB v2.0 Fatal kernel mode data abort: 'Alignment Fault 1' trapframe: 0xde21cb90 FSR=00000001, FAR=de21cc0c, spsr=60000093 r0 =0002ceac, r1 =ffffffff, r2 =0000001c, r3 =0002ceac r4 =de21cc04, r5 =de21cc0c, r6 =00000000, r7 =c0cab4c0 r8 =798ee230, r9 =00000015, r10=00000001, r11=de21cbfc r12=c0bb2370, ssp=de21cbdc, slr=c0bd1b18, pc =c0a62a1c [ thread pid 12 tid 100006 ] Stopped at binuptime+0x70: und 0xe1c500d0 db> With INVARIANTS it gives this: ## Starting application at 0x00900000 ... KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2013 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 10.0-CURRENT #8: Tue Jul 2 00:09:03 CEST 2013 root@mailjail.klop.ws:/usr/obj/arm.arm/usr/src/sys/SHEEVAPLUG arm FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 WARNING: WITNESS option enabled, expect reduced performance. WARNING: DIAGNOSTIC option enabled, expect reduced performance. panic: lock "vm map (user)" 0xc0fca050 already initialized KDB: enter: panic So no sign of the added printf with the frame pointer. This was tested at a just svn updated 10-CURRENT using EABI and clang. These are the defaults, aren't they? Any ideas? Ronald.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.wzkdftzu8527sy>