[Xenomai-help] [Fwd: Re: rtcan bufferoverflow but no evidence]
Sent the previous one off-list. Sorry.
-------- Original Message --------
Subject: Re: [Xenomai-help] rtcan bufferoverflow but no evidence
Date: Mon, 13 Aug 2007 17:49:07 +0200
From: Roland Tollenaar <[email protected]>
Reply-To: [email protected]
To: Wolfgang Grandegger <[email protected]>
References: <[email protected]> <[email protected]>
Hi,
Quoted 1 line
When you have bound a RTCAN socket, it will receive messages and put them into the RX socket queue. If no task reads them via recv* function
This is the strange thing, I read them via rt_dev_recv. Sure as I am here wrting this email every message gets read out. I send a sync, I get a reply, the reply is read. I can see this very very clearly by monitoring with rtcanrecv as well.
Quoted 1 line
calls, the buffer will overflow sooner than later. Do you use a bound socket just for sending messages?
I send the sync, I recieve the position frame. Like clockwork. There should be no overflow. I have checked all error masks, nothing.
Quoted 1 line
You can (or even should) suppress the overflow messages by disabling the kernel option
CONFIG_XENO_DRIVERS_CAN_DEBUG.
Well yes, but at the same time it would be interesting to know why the buffer seems to be overflowing? I am very curious. :)
Thanks.
Regards,
Roland.
Quoted 3 lines
Wolfgang.