On Thu, Jan 17, 2013 at 3:59 PM, Bas Laarhoven <s...@xs4all.nl> wrote:

>
> I think that running linuxcnc is mandatory for the lockup. After a dozen
> runs, it looks like I can reproduce the lockup with 100% certainty
> within one hour.
> Using the JTAG interface to attach a debugger to the Bone, I've found
> that once stalled the kernel is still running. It looks like it won't
> schedule properly and almost all time is spent in the cpu_idle thread.
>
> The kernel with extra diagnostics produces these messages:
>
> [ 3480.386342] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
> disables this message.
> [ 3480.395913] INFO: task axis:799 blocked for more than 120 seconds.
> [ 3480.406643] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
> disables this message.
> [ 3600.408670] INFO: task hal_manualtoolc:788 blocked for more than 120
> seconds.
>
> On one run I was able to re-issue a command from the command history
> before that console froze too.
> Since the x86 version seems to be having none of these problems, it
> might be ARM specific.
> Any suggestions on how to proceed? Are other people working on the ARM
> version?
>
> Hi Bas,

I also ran into the same error message while compiling the araisrobo branch
of LinuxCNC.

[  360.305178] INFO: task rsyslogd:359 blocked for more than 120 seconds.
[  360.312006] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables
this message.
[  360.321284] INFO: task cron:462 blocked for more than 120 seconds.
[  360.327768] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables
this message.
[  360.336597] INFO: task sshd:583 blocked for more than 120 seconds.
[  360.343039] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables
this message.
[  360.351774] INFO: task cc1plus:812 blocked for more than 120 seconds.
[  360.358507] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables
this message.
[  480.365188] INFO: task rsyslogd:359 blocked for more than 120 seconds.
[  480.372013] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables
this message.
[  480.380870] INFO: task rsyslogd:371 blocked for more than 120 seconds.
[  480.387702] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables
this message.
[  480.396434] INFO: task cron:462 blocked for more than 120 seconds.
[  480.402875] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables
this message.
[  480.411603] INFO: task sshd:583 blocked for more than 120 seconds.
[  480.418111] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables
this message.
[  480.426856] INFO: task cc1plus:812 blocked for more than 120 seconds.
[  480.433568] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables
this message.

It could be reproduced; please follow the "Building the araisrobo branch
wiki",
    http://wiki.linuxcnc.org/cgi-bin/wiki.pl?ArtekBranch

The configuration is set for "simulation without X11":
./configure --enable-simulator \
    --enable-build-documentation=no \
    --disable-gtk --without-x

The error messages occurs when
Compiling emc/rs274ngc/interpmodule.cc
/usr/bin/g++ -c -I. -Ilibnml/linklist -Ilibnml/cms -Ilibnml/rcs
-Ilibnml/inifile> -Ilibnml/os_intf -Ilibnml/nml -Ilibnml/buffer
-Ilibnml/posemath -Irtapi -Ihal >-Iemc/nml_intf -Iemc/kinematics
-Iemc/motion -Iemc/ini -Iemc/rs274ngc -Iemc/pyt>honplugin
-I/home/ysli/proj/emc2-dev/src/include -I/usr/include/python2.7 -O0 ->g
-Wall -DULAPI  -fPIC -fPIC    emc/rs274ngc/interpmodule.cc -o
objects/emc/rs2>74ngc/interpmodule.o

The araisrobo branch could be compiled and running with the 12.04 image
obtained from http://elinux.org/BeagleBoardUbuntu (boot with SD).
I don't have above error while compiling "arm335x-hal-pru-module".

-Yishin
------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to