Leopold Palomo-Avellaneda wrote: > A Dimarts 15 Maig 2007 13:00, Jan Kiszka va escriure: >> Leopold Palomo-Avellaneda wrote: >>> A Dimarts 15 Maig 2007 11:58, Jan Kiszka va escriure: >>> [....] >>> >>>>>>> The idea is the sequent: >>>>>>> >>>>>>> I run a program that open a rt socket. For any reason, mainly because >>>>>>> the programmer is a rocky (as me) the program crash, or simple >>>>>>> killed by the user (crtl + c). >>>>>>> >>>>>>> Then I got a message: >>>>>>> >>>>>>> kernel: Assertion >>>>>>> failed! /root/rtnet-0.9.8/stack/ipv4/udp.c:rt_udp_recvmsg:398 skb >>>>>>> kernel: LXRT releases PID 12483 (ID: simpleserver). >>>>>> Are you sure you are _actually_ running the updated RTAI binaries? I'm >>>>>> asking for a good reason because I used to spend hours debugging ghost >>>>>> issues due to inconsistent builds... >>>>> well, I downloaded this file: >>>>> >>>>> https://www.rtai.org/RTAI/rtai-3.5.tar.bz2 >>>> I do believe you. My point is if you checked twice that the modules >>>> generated from those sources are actually those you loaded on your box. >>> ok, I understand. I'm creating deb packages of rtai, so I'm uninstall and >>> install the packages. I think that the modules are that. >>> >>> [...] >>> >>>>> where? >>>> --- stack/ipv4/udp.c (Revision 1121) >>>> +++ stack/ipv4/udp.c (Arbeitskopie) >>>> @@ -396,6 +396,7 @@ ssize_t rt_udp_recvmsg(struct rtdm_dev_c >>>> } >>>> >>>> skb = rtskb_dequeue_chain(&sock->incoming); >>>> + if (!skb) ipipe_trace_freeze(0); >>>> RTNET_ASSERT(skb != NULL, return -EFAULT;); >>>> >>>> uh = skb->h.uh; >>> applied, compiled, installed but .... >>> >>> RTnet: initialising real-time networking >>> rtipv4: Unknown symbol ipipe_trace_freeze >> That's where my original explanations come in play again. Alternatively: >> >> http://www.xenomai.org/index.php/I-pipe:Tracer > > ok, > > so I must patch the kernel, recompile rtai, and do the test, no? ...
Yep. It is a bit complicated to get the analysis setup right, granted, but it will then simplify the (remote) diagnosis significantly - for both sides. > > uff ... this week. :-] > > thanks for all, > > Leo Jan
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/
_______________________________________________ RTnet-users mailing list RTnet-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rtnet-users