Tien Quoc Dinh schrieb:

Hi,

I think there are a little problem in "rtnetproxy_init_module"

static int __init rtnetproxy_init_module(void)
{
...
    /* Init the task for transmission */
    rtos_task_init(&rtnetproxy_thread, rtnetproxy_transmit_thread, 0,
                   RTOS_LOWEST_RT_PRIORITY);
    rtos_event_init(&rtnetproxy_event);
...
}

When you call rtos_task_init, the "rtnetproxy_transmit_thread" will be
started and waiting for a "rtnetproxy_event". At this time, the
"rtnetproxy_event" has not been init.- it will cause some kernel panic
in my system!

"Rtos_event_init" must be called before "rtos_task_init"!!


Thanks for poiting out! It's fixed in the CVS.


Jan



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
RTnet-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/rtnet-users

Reply via email to