Date: Wed, 21 Aug 2013 10:16:28 +0400 From: Andrey Fesenko <f0andrey@gmail.com> To: Martin Laabs <mailinglists@martinlaabs.de> Cc: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: Debug stalling Raspberry Message-ID: <CA%2BK5SrPr3rZNzHxLass8MJvPtApt83u6oi6uY2uXM%2Bj2uWLSdw@mail.gmail.com> In-Reply-To: <5213CD1A.7000506@martinlaabs.de>
index | next in thread | previous in thread | raw e-mail
On Wed, Aug 21, 2013 at 12:10 AM, Martin Laabs <mailinglists@martinlaabs.de> wrote: > Hi, > > currently I run r254441 on a raspberry pi b and every time I run portsnap > the cpu stopps running. > This happens during the snapshot verify while around 25k files are gunziped > and sha256ed (file after file of cause). I can reproduce this but the Pi > does not hang reproducible at the same file but the last processed file is > different from try to try. > > There is, at least at the video console, no kernel panic. The kernel itself > still responds to icmp ping packages and echos the keyboard output. But > everything else does not work. (I know this behavior from disconnected > harddisks containing the kernel/system) > The current consumption also dropps around 100mA. > > It is very interesting that this behavior is not limited to the internal > MMC card but also occurs when the data is stored external on an usb stick. > > My question is how to debug this bug since I have no idea where to start. > >From my experience with bare metal arm systems I would start connecting a > jtag debugger but I am afraid getting all the symbols mapped correct to the > gdb. And even if this works - what should I monitor and what should I test for? > There might be however a more simple solution. So any suggestion is welcome. > > If you can reproduce this bug I also would be very happy. > it seems this is still not the solution http://lists.freebsd.org/pipermail/freebsd-arm/2013-August/006209.html "crash/freez random time after ~r253751" Nice test, buildkernel crash stable after -------------------------------------------------------------- >>> stage 3.1: making dependencies -------------------------------------------------------------- cd /usr/obj/usr/src/sys/RPI-B; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=armv6 MACHINE=arm CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac _SHLIBDIRPREFIX=/usr/obj/usr/src/tmp _LDSCRIPTROOT= VERSION="FreeBSD 10.0-CURRENT armv6 1000044" INSTALL="sh /usr/src/tools/install.sh" PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/legacy/bin:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin CC="cc " CXX="c++ " CPP="cpp " AS="as" AR="ar" LD="ld" NM=nm OBJDUMP= RANLIB=ranlib STRINGS= COMPILER_TYPE=clang make -m /usr/src/share/mk KERNEL=kernel depend -DNO_MODULES_OBJ machine -> /usr/src/sys/arm/include cc -c -O -pipe -std=c99 -g -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -nostdinc -I. -I/usr/src/sys -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/dev/ath -I/usr/src/sys/dev/ath/ath_hal -I/usr/src/sys/contrib/dev/ath/ath_hal -I/usr/src/sys/contrib/ngatm -I/usr/src/sys/dev/twa -I/usr/src/sys/dev/cxgb -I/usr/src/sys/dev/cxgbe -I/usr/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -funwind-tables -mllvm -arm-enable-ehabi -ffreestanding /usr/src/sys/arm/arm/genassym.c NM='nm' sh /usr/src/sys/kern/genassym.sh genassym.o > assym.s awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -p awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -q awk -f /usr/src/sys/tools/vnode_if.awk /usr/src/sys/kern/vnode_if.src -h if [ -f /usr/src/sys/boot/fdt/dts/rpi.dts ]; then dtc -O dtb -o rpi.dtb -b 0 -p 1024 /usr/src/sys/boot/fdt/dts/rpi.dts; fi awk -f /usr/src/sys/tools/miidevs2h.awk /usr/src/sys/dev/mii/miidevs awk -f /usr/src/sys/tools/pccarddevs2h.awk /usr/src/sys/dev/pccard/pccarddevshelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BK5SrPr3rZNzHxLass8MJvPtApt83u6oi6uY2uXM%2Bj2uWLSdw>
