uninterruptable sleeping process "/sbin/insmod rtai_lxrt"
Lorenzo Orsatti
lorenzo.orsatti at gmail.com
Mon Jan 9 11:34:46 CET 2006
Hi,
try to patch rtai-3.2/base/sched/sched.c in the following way:
*** sched.c.old 2005-05-04 14:15:12.000000000 +0200
--- sched.c.new 2005-11-30 14:40:58.000000000 +0100
***************
*** 1849,1854 ****
--- 1849,1856 ----
lnxtsk->rtai_tskext(0) = NULL;
#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10)
lnxtsk->state = TASK_ZOMBIE;
+ #else
+ lnxtsk->exit_state = EXIT_ZOMBIE;
#endif
rt_global_sti();
force_sig(SIGKILL, lnxtsk);
the reason is a name change in the linux kernel from version 2.6.10,
and the problem was already posted here.
Lorenzo
2006/1/9, Yang Huang <justin8086 at gmail.com>:
> Hi there,
>
> I am using RTAI 3.2 with Linux 2.6.10. Something is strange to me and
> I cannot explain, any hint on the question is appreciated.
>
> after "insmod" of the RTAI module, I found with "ps" that some processes remain:
>
> PID Uid VmSize Stat Command
> ........
> 96 root 496 D
> /sbin/insmod rtai_lxrt
> 98 root 496 D
> /sbin/insmod rtai_lxrt
> 99 root 496 D
> /sbin/insmod rtai_lxrt
> 100 root 496 D
> /sbin/insmod rtai_lxrt
> ........
>
> I tried to "rmmod" all the RTAI module, including rtai_lxrt, but the
> processes above are still there! Why?
>
> When I run a module, which invokes some RTAI service, "rt_task_init"
> for instance, there will be more such processes appear. Why?
>
> I have been searching the answer within the list and google for days
> but without a satisfied result. Thank you in advanced for any help!
>
> Yang
>
> _______________________________________________
> RTAI mailing list
> RTAI at rtai.org
> https://mail.rtai.org/cgi-bin/mailman/listinfo/rtai
>
More information about the Rtai
mailing list