From owner-freebsd-arm@FreeBSD.ORG Mon Oct 20 19:32:07 2014 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 ABD2CE88 for ; Mon, 20 Oct 2014 19:32:07 +0000 (UTC) Received: from mail-n.franken.de (drew.ipv6.franken.de [IPv6:2001:638:a02:a001:20e:cff:fe4a:feaa]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mail-n.franken.de", Issuer "Thawte DV SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3A7C6E3B for ; Mon, 20 Oct 2014 19:32:07 +0000 (UTC) Received: from [192.168.1.200] (p508F2DDA.dip0.t-ipconnect.de [80.143.45.218]) (Authenticated sender: macmic) by mail-n.franken.de (Postfix) with ESMTP id DDFF51C0B4026; Mon, 20 Oct 2014 21:32:02 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: Panic on Raspberry Pi when using portsnap fetch on RPi From: Michael Tuexen In-Reply-To: Date: Mon, 20 Oct 2014 21:32:00 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Luiz Otavio O Souza X-Mailer: Apple Mail (2.1878.6) Cc: freebsd-arm 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, 20 Oct 2014 19:32:07 -0000 On 20 Oct 2014, at 19:32, Luiz Otavio O Souza = wrote: > On 20 October 2014 08:36, Michael Tuexen wrote: >> Dear all, >>=20 >> when running r273290 on a RPi B I get: >>=20 >> root@raspberry-pi:~ # portsnap fetch >> Looking up portsnap.FreeBSD.org mirrors... 7 mirrors found. >> Fetching public key from ec2-eu-west-1.portsnap.freebsd.org... done. >> Fetching snapshot tag from ec2-eu-west-1.portsnap.freebsd.org... = done. >> Fetching snapshot metadata... done. >> Fetching snapshot generated at Mon Oct 20 02:01:46 CEST 2014: >> d1d778ba5c714e3a8b1d0083f422f8f5cd6b9b59a154b6100% of 66 MB 345 = kBps 03m18s >> Extracting snapshot... >> vm_fault(0xc067e178, 0, 1, 0) -> 1 >> Fatal kernel mode data abort: 'Translation Fault (P)' >> trapframe: 0xdbdf8d38 >> FSR=3D00000017, FAR=3D00000024, spsr=3D00000113 >> r0 =3D00000000, r1 =3Dc232cc00, r2 =3D00000001, r3 =3Dc24a0148 >> r4 =3Dc24a02b4, r5 =3Dc24a0000, r6 =3D00000200, r7 =3D00000000 >> r8 =3Dc24a0148, r9 =3Dc24bc52c, r10=3D00000000, r11=3Ddbdf8db0 >> r12=3D00000000, ssp=3Ddbdf8d88, slr=3Dc04c3a30, pc =3Dc04c3a3c >>=20 >> [ thread pid 11 tid 100021 ] >> Stopped at bcm_sdhci_dma_intr+0x44: ldr r0, [r0, = #0x024] >> db> where >> Tracing pid 11 tid 100021 td 0xc24a9990 >> db_trace_self() at db_trace_self >> pc =3D 0xc04a6dec lr =3D 0xc013243c (db_stack_trace+0xf4) >> sp =3D 0xdbdf8a40 fp =3D 0xdbdf8a58 >> r10 =3D 0xc067cf1c >> db_stack_trace() at db_stack_trace+0xf4 >> pc =3D 0xc013243c lr =3D 0xc0131dac (db_command+0x270) >> sp =3D 0xdbdf8a60 fp =3D 0xdbdf8b00 >> r4 =3D 0x00000000 r5 =3D 0x00000000 >> r6 =3D 0x00000072 >> db_command() at db_command+0x270 >> pc =3D 0xc0131dac lr =3D 0xc0131b10 (db_command_loop+0x60) >> sp =3D 0xdbdf8b08 fp =3D 0xdbdf8b18 >> r4 =3D 0xc04e71f4 r5 =3D 0xc0501dd8 >> r6 =3D 0xc067cf08 r7 =3D 0xc05a5868 >> r8 =3D 0xc0673114 r9 =3D 0xc0673110 >> r10 =3D 0x00000001 >> db_command_loop() at db_command_loop+0x60 >> pc =3D 0xc0131b10 lr =3D 0xc0134584 (db_trap+0xd8) >> sp =3D 0xdbdf8b20 fp =3D 0xdbdf8c40 >> r4 =3D 0x00000000 r5 =3D 0xc067cf14 >> r6 =3D 0xc0673140 >> db_trap() at db_trap+0xd8 >> pc =3D 0xc0134584 lr =3D 0xc0293308 (kdb_trap+0xbc) >> sp =3D 0xdbdf8c48 fp =3D 0xdbdf8c68 >> r4 =3D 0x00000000 r5 =3D 0x00000017 >> r6 =3D 0xc0673140 r7 =3D 0xc05a5868 >> kdb_trap() at kdb_trap+0xbc >> pc =3D 0xc0293308 lr =3D 0xc04b9f48 (dab_fatal+0x174) >> sp =3D 0xdbdf8c70 fp =3D 0xdbdf8c88 >> r4 =3D 0xdbdf8d38 r5 =3D 0x00000017 >> r6 =3D 0x600001d3 r7 =3D 0x00000024 >> r8 =3D 0xdbdf8d38 r9 =3D 0x00000013 >> r10 =3D 0x00000001 >> dab_fatal() at dab_fatal+0x174 >> pc =3D 0xc04b9f48 lr =3D 0xc04b9d00 = (data_abort_handler+0x3e0) >> sp =3D 0xdbdf8c90 fp =3D 0xdbdf8d30 >> r4 =3D 0xc24430ac r5 =3D 0xc24a9990 >> r6 =3D 0xdbdf8eb0 r7 =3D 0x00000000 >> data_abort_handler() at data_abort_handler+0x3e0 >> pc =3D 0xc04b9d00 lr =3D 0xc04a8bac (exception_exit) >> sp =3D 0xdbdf8d38 fp =3D 0xdbdf8db0 >> r4 =3D 0xc24a02b4 r5 =3D 0xc24a0000 >> r6 =3D 0x00000200 r7 =3D 0x00000000 >> r8 =3D 0xc24a0148 r9 =3D 0xc24bc52c >> r10 =3D 0x00000000 >> exception_exit() at exception_exit >> pc =3D 0xc04a8bac lr =3D 0xc04c3a30 = (bcm_sdhci_dma_intr+0x38) >> sp =3D 0xdbdf8d88 fp =3D 0xdbdf8db0 >> r0 =3D 0x00000000 r1 =3D 0xc232cc00 >> r2 =3D 0x00000001 r3 =3D 0xc24a0148 >> r4 =3D 0xc24a02b4 r5 =3D 0xc24a0000 >> r6 =3D 0x00000200 r7 =3D 0x00000000 >> r8 =3D 0xc24a0148 r9 =3D 0xc24bc52c >> r10 =3D 0x00000000 r12 =3D 0x00000000 >> bcm_sdhci_dma_intr() at bcm_sdhci_dma_intr+0x44 >> pc =3D 0xc04c3a3c lr =3D 0xc04c0ca0 (bcm_dma_intr+0x11c) >> sp =3D 0xdbdf8db8 fp =3D 0xdbdf8dd0 >> r4 =3D 0xc24a02b4 r5 =3D 0x00000006 >> r6 =3D 0xc04a2a3c r7 =3D 0xc24a0200 >> r8 =3D 0x000004c9 r9 =3D 0xc24bc52c >> bcm_dma_intr() at bcm_dma_intr+0x11c >> pc =3D 0xc04c0ca0 lr =3D 0xc022ddd4 = (intr_event_execute_handlers+0xb8) >> sp =3D 0xdbdf8dd8 fp =3D 0xdbdf8df8 >> r4 =3D 0xc2324d00 r5 =3D 0xc2324d48 >> r6 =3D 0xc24bc500 r7 =3D 0xc04fbc5b >> r8 =3D 0x000004c9 r9 =3D 0xc24bc52c >> intr_event_execute_handlers() at intr_event_execute_handlers+0xb8 >> pc =3D 0xc022ddd4 lr =3D 0xc022e724 (ithread_loop+0xa8) >> sp =3D 0xdbdf8e00 fp =3D 0xdbdf8e38 >> r4 =3D 0xc24b4d00 r5 =3D 0xc24a9990 >> r6 =3D 0xc2324d00 r7 =3D 0xc067e7d4 >> r8 =3D 0xc04fbc5b r9 =3D 0x00000000 >> r10 =3D 0xc05bff40 >> ithread_loop() at ithread_loop+0xa8 >> pc =3D 0xc022e724 lr =3D 0xc022b6f4 (fork_exit+0x84) >> sp =3D 0xdbdf8e40 fp =3D 0xdbdf8e58 >> r4 =3D 0xc24a9990 r5 =3D 0xc2443000 >> r6 =3D 0xc022e67c r7 =3D 0xc24b4d00 >> r8 =3D 0xdbdf8e60 r9 =3D 0x00000000 >> r10 =3D 0x00000000 >> fork_exit() at fork_exit+0x84 >> pc =3D 0xc022b6f4 lr =3D 0xc04a8b3c (swi_exit) >> sp =3D 0xdbdf8e60 fp =3D 0x00000000 >> r4 =3D 0xc022e67c r5 =3D 0xc24b4d00 >> r6 =3D 0x00000000 r7 =3D 0x00000000 >> r8 =3D 0x00000000 >> swi_exit() at swi_exit >> pc =3D 0xc04a8b3c lr =3D 0xc04a8b3c (swi_exit) >> sp =3D 0xdbdf8e60 fp =3D 0x00000000 >>=20 >> Any idea what could be the issue? >=20 > Hi Michael, >=20 > Could you try to get the line number ? How? >=20 > I've tested on r273066 and it just works: >=20 > root@raspberry-pi:~ # portsnap fetch > Looking up portsnap.FreeBSD.org mirrors... 7 mirrors found. > Fetching public key from ec2-sa-east-1.portsnap.freebsd.org... done. > Fetching snapshot tag from ec2-sa-east-1.portsnap.freebsd.org... done. > Fetching snapshot metadata... done. > Fetching snapshot generated at Sun Oct 19 22:01:46 BRST 2014: > d1d778ba5c714e3a8b1d0083f422f8f5cd6b9b59a154b6100% of 66 MB 99 = kBps 11m26s > Extracting snapshot... done. > Verifying snapshot integrity... done. > Fetching snapshot tag from ec2-sa-east-1.portsnap.freebsd.org... done. > Fetching snapshot metadata... done. > Updating from Sun Oct 19 22:01:46 BRST 2014 to Mon Oct 20 11:38:48 = BRST 2014. > Fetching 4 metadata patches... done. > Applying metadata patches... done. > Fetching 0 metadata files... done. > Fetching 1402 patches. > (1402/1402) 100.00% done. > done. > Applying patches... > done. > Fetching 0 new ports or files... done. > root@raspberry-pi:~ # >=20 > I've a new image based on r273291, but it is not tested yet, i'll > report back if I find any problems with it. Are you using an nfs based filesystem? Best regards Michael >=20 > Regards, > Luiz >=20