Skip to contentSkip to conversation

task suspending while starting the task

Xenomai-help poornima r 2 participants 2 messages Oct 29, 2007

lore
Share & tools
lore

poornima r

author
#0 lore raw


Hello,

I am working on powerPC board latest Xenomai stable version.
I am communicating between two kernel(queue1.c and queue2.c)modules using Message queues.The queue descriptor is shared between the two kernel modules by using EXPORT_SYMBOL(queue_desc).
The data is sent to the user space(read.c) through message pipes.
This program runs fine somtimes but sometimes the task gets suspended while starting the task.

My questions are:
Is it a valid thing to pass messages through queues between two kernel modules using EXPORT_SYMBOL(queue_desc)? What are the possibilities that a task gets suspending while starting a task?

Thanks & Regards,
Poornima

#1 lore raw
Quoted 10 lines · poornima r

Hello,

I am working on powerPC board latest Xenomai stable version. I am communicating between two kernel(queue1.c and queue2.c)modules using Message queues.The queue descriptor is shared between the two kernel modules by using EXPORT_SYMBOL(queue_desc).
The data is sent to the user space(read.c) through message pipes. This program runs fine somtimes but sometimes the task gets suspended while starting the task.

dmesg output?

Signature · 1 line
Philippe.