On 02/01/2012 10:42 AM, Michael Jäntsch wrote: > Hi everyone, > > for about a month now, I have a problem with messages that get stalled, > causing the select system call on several CAN sockets to time out. We're > using the PEAK PCAN-USB interface on a Ubuntu 11.10 (kernel: > 3.0.0-15-generic). I've been using the system for about 2 years now and > there were no revelant changes to the protocol or software lately. This > problem occurs quite frequently now.
When did the reported problems start to show up? After switching to a new kernel? > What happens is, that our master sends out a message and receives 13 > reply messages from 13 different nodes on the bus, at a frequency of > 50Hz. This works for some time (minutes) and then a timeout on the > select system call occurs that reads from the 13 sockets. Wireshark > shows that there is an unusual time delay between the messages. They get > sent at the same time and are normally received within the time of > 2-4ms. When the timeout occurs, this time is 30ms. When I turn on the > debug information in the peak driver I see debug output with time > stamps. On this layer the times are still ok when the timeout occurs. > Talking to the peak support, I got pointed at the socket can layer which > in this case might be causing the problem. However, I have no idea how > to debug this and find out more about the problem. Hm, is there some other activity blocking the kernel? You could use ftrace to find out what's going on. Wolfgang. PS: please do not use this mailing list any longer but send your questions to the new "linux-can" mailing list address "[email protected]". For subscription or mailing list archives please have a look to: http://vger.kernel.org/vger-lists.html#linux-can Mail archives of the new linux-can mailing list can be found at: http://dir.gmane.org/gmane.linux.can http://marc.info/?l=linux-can&r=1&w=2 _______________________________________________ Socketcan-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/socketcan-users
