From owner-freebsd-arm@FreeBSD.ORG Mon Dec 30 15:40:12 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CBC90599 for ; Mon, 30 Dec 2013 15:40:12 +0000 (UTC) Received: from mail-ie0-f176.google.com (mail-ie0-f176.google.com [209.85.223.176]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9542D158A for ; Mon, 30 Dec 2013 15:40:12 +0000 (UTC) Received: by mail-ie0-f176.google.com with SMTP id at1so12038204iec.35 for ; Mon, 30 Dec 2013 07:40:06 -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:content-transfer-encoding:message-id:references :to; bh=8tm7CnVeranvUt2nr5nJuIDMP0KKxTEQrulWse5phk0=; b=CLE485yMtXs5albzjng6DvOJt1pe3p/GpBgZAO3G5Vd+jESsgu/zwYZj3QgrSBfj8T LmvkwpHL9lZUSpniBJm1Qn77qGJ/e+YGaYOlQToyn+VmuTUdV7TVyEzkhqwwcT3TMeps 7UK4quDGUECzUTtjWoCi4tKsRiNr7drMwcXelSHynflz7VAkUlRn8k80fm58e6okt3zz H+9+yd/JhCSKsILP68bk0o9zPJvBjFDP1SUy+nbp8B4skqmICPDR2xSertF+DauiGuIt nWvnp89UnRv8/8nvrJxXc3Z7e83yuKOpgYS1EGZ4Fomy3BRmzs0y4cwVjYLkmp5DorWk RZ6Q== X-Gm-Message-State: ALoCoQmIr5mmrC1LwoK/5xxr8kpNZeGZc0sXvEbe6Myd4OTlSMW5jQpGTQDTz6jD3+wmLaP5760A X-Received: by 10.43.82.69 with SMTP id ab5mr829690icc.95.1388418006587; Mon, 30 Dec 2013 07:40:06 -0800 (PST) Received: from fusion-mac.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPSA id o1sm59932397igh.9.2013.12.30.07.40.05 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 30 Dec 2013 07:40:06 -0800 (PST) Sender: Warner Losh Subject: Re: Boot failure for CURRENT on Mime-Version: 1.0 (Apple Message framework v1085) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: <52C13E6B.4070006@g7iii.net> Date: Mon, 30 Dec 2013 08:40:04 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <65B66781-AB1F-45F6-8990-A0311962FF6B@bsdimp.com> References: <52C13E6B.4070006@g7iii.net> To: Iain Young X-Mailer: Apple Mail (2.1085) Cc: freebsd-arm@FreeBSD.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Dec 2013 15:40:12 -0000 Hi Iain, On Dec 30, 2013, at 2:35 AM, Iain Young wrote: > Hi Folks, >=20 > Tried a build of -CURRENT yesterday (28/29th Dec), and had the = following crash on a Beaglebone White. >=20 > Thought it might be clocks not enabled for the extra serial ports, as > I had a similar crash when I forgot to enable them before, so applied > my (old) patch, but still the same, so wasn't that. >=20 > Did an svn update today (Dec 30th, revision 260082), and while I've > not rebuilt the kernel yet, didn't see any changes in the arm tree > anyway, so suspect the problem remains. If you have the time, narrowing down when the breakage occurred would be = a great help. Warner > I'm not great with the debugger, but if anyone wants extra info > from it, just let me know which commands to type. >=20 > Output from fdt_start to the crash is below. >=20 >=20 > Iain >=20 >=20 > fdt_start: 0x0060A128 > Kernel entry at 0x80200100... > Kernel args: (null) > 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 11.0-CURRENT #6 r260013M: Sun Dec 29 20:43:46 UTC 2013 > root@beaglebone:/usr/obj/usr/src/sys/BEAGLEBONE-TARDIS arm > gcc version 4.2.1 20070831 patched [FreeBSD] > CPU: Cortex A8-r3 rev 2 (Cortex-A core) > Supported features: ARM_ISA THUMB2 JAZELLE THUMBEE ARMv4 Security_Ext > WB disabled EABT branch prediction enabled > LoUU:2 LoC:2 LoUIS:1 > Cache level 1: > 32KB/64B 4-way data cache WT WB Read-Alloc > 32KB/64B 4-way instruction cache Read-Alloc > Cache level 2: > 256KB/64B 8-way unified cache WT WB Read-Alloc Write-Alloc > real memory =3D 268435456 (256 MB) > avail memory =3D 255172608 (243 MB) > Texas Instruments AM3358 Processor, Revision ES1.0 > random device not loaded; using insecure entropy > random: initialized > nexus0: > simplebus0: on nexus0 > aintc0: mem 0x48200000-0x48200fff on = simplebus0 > aintc0: Revision 5.0 > ti_scm0: mem 0x44e10000-0x44e11fff on simplebus0 > am335x_prcm0: mem = 0x44e00000-0x44e012ff on simplebus0 > am335x_prcm0: Clocks: System 24.0 MHz, CPU 500 MHz > am335x_dmtimer0: mem = 0x44e05000-0x44e05fff,0x44e31000-0x44e31fff,0x48040000-0x48040fff,0x480420= 00-0x48042fff,0x48044000-0x48044fff,0x48046000-0x48046fff,0x48048000-0x480= 48fff,0x4804a000-0x4804afff irq 66,67,68,69,92,93,94,95 on simplebus0 >=20 > vm_fault(0xc063dca8, 1000000, 1, 0) -> 1 > Fatal kernel mode data abort: 'Translation Fault (S)' > trapframe: 0xc0770b60 > FSR=3D00000005, FAR=3D0100013e, spsr=3Da0000093 > r0 =3D0100013e, r1 =3Dc05b6d94, r2 =3D0100013e, r3 =3Dc0561878 > r4 =3Dc05602fc, r5 =3D0100013e, r6 =3Dc0770c28, r7 =3Dc18dda80 > r8 =3Dc1805e00, r9 =3Dc0761000, r10=3Dc18dda80, r11=3Dc0770bc4 > r12=3Dc0770bc8, ssp=3Dc0770bb0, slr=3Dc054abb0, pc =3Dc040f0a4 >=20 > [ thread pid 0 tid 100000 ] > Stopped at strcmp+0x14: ldrb r0, [r2] > _______________________________________________ > freebsd-arm@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org"