linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Problem using Linux CAN
@ 2015-07-22 10:49 Tim Hotfilter
  2015-07-22 17:41 ` Oliver Hartkopp
  0 siblings, 1 reply; 8+ messages in thread
From: Tim Hotfilter @ 2015-07-22 10:49 UTC (permalink / raw)
  To: linux-can

Hi,

I am developing a control unit using four CAN Controllers based on the Xilinx Zynq 7000. Two CAN Controllers (based on the sja1000) are implemented in the Zynq’s FPGA and two are already integrated. The control unit runs Linux 3.19 with socket can. 
Under higher CAN busload (30% or more) socket CAN returns Error 105: No buffer space available. The problem is independent from the hardware, it occurs on both sja1000 and xilinx can. Restarting the network device by bringing it down and up enables to send again. But since there are other ECUs using watchdogs this solution is not suitable. 
After some kernel debugging it exposes that somehow a transmit interrupt gets lost. This results in a stopped tx queue and the transmit buffer overflows.

Is there a possibility to handle with the lost interrupt, like waking up the queue after a short timeout?

Thank you in advance!

Best regards 
Tim Hotfilter


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-07-25 13:45 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-22 10:49 Problem using Linux CAN Tim Hotfilter
2015-07-22 17:41 ` Oliver Hartkopp
2015-07-22 17:52   ` Tim Hotfilter
2015-07-22 18:39     ` Oliver Hartkopp
     [not found]       ` <0948A186-060F-4A31-8359-755DE78647A0@osdr.org>
2015-07-23 13:13         ` Tim Hotfilter
2015-07-23 17:26           ` Oliver Hartkopp
2015-07-24  7:53             ` Tim Hotfilter
2015-07-25 13:45               ` Oliver Hartkopp

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).