Search found 8 matches

by lstutz
Tue 30. Jun 2015, 16:36
Forum: Linux
Topic: Dropped CAN-Frames
Replies: 16
Views: 42189

Re: Dropped CAN-Frames

Hi,

the modifications worked and I got peak-drv to compile against my patched 4.1 kernel. But the issue is still the same. Lost frames even if I don't do anything with the machine. I tried a USBtin adapter with the same kernel (and netdev described like here ) and it works just fine. Any further ...
by lstutz
Mon 29. Jun 2015, 11:08
Forum: Linux
Topic: Dropped CAN-Frames
Replies: 16
Views: 42189

Re: Dropped CAN-Frames

Hi Stéphane,

thanks for your reply. But I can't compile the peak-drv against the 4.1 kernel. I get:

[lstutz@WindowsMe peak-linux-driver-7.14]$ make -C driver RT_CFLAGS="-Wno-error=date-time"
make: Verzeichnis „/home/lstutz/peak-linux-driver-7.14/driver“ wird betreten
***
*** Host machine kernel ...
by lstutz
Wed 24. Jun 2015, 10:57
Forum: Linux
Topic: Dropped CAN-Frames
Replies: 16
Views: 42189

Re: Dropped CAN-Frames

Hello,

first of all, thanks again for your help!

Hum... I admit I don't understand what your wrote above, about some "asm stuff" that may have changed. I would be very astonished if this prevented from building our pcan driver. We first have to check this against this new Kernel asap.
They ...
by lstutz
Tue 23. Jun 2015, 14:52
Forum: Linux
Topic: Dropped CAN-Frames
Replies: 16
Views: 42189

Re: Dropped CAN-Frames

Hello Stéphane,

Your Manjaro system is running a *very* recent kernel. And it seems that it has been discovered some loss of CAN frames issues in these recent kernels (see https://lkml.org/lkml/2015/6/21/115). This could be some explanation of your issue on this system... I applied the patch and ...
by lstutz
Mon 22. Jun 2015, 18:00
Forum: Linux
Topic: Dropped CAN-Frames
Replies: 16
Views: 42189

Re: Dropped CAN-Frames

Hi,

Ok, your stats show that an overrun issue has occurred in the PCAN-USB. Could you please confirm that, each time you loose some CAN frames (when you're re-sizing the window), the "rx_over_errors" is increasing? In other words, we would want to be sure that the frames you're losing are always ...
by lstutz
Mon 22. Jun 2015, 12:09
Forum: Linux
Topic: Dropped CAN-Frames
Replies: 16
Views: 42189

Re: Dropped CAN-Frames

Thanks so far for your help!
Now it shows the Overrun errors:
for c in /sys/class/net/can0/statistics/*; do echo -n "'basename $c': "; cat /$c; done
'basename /sys/class/net/can0/statistics/collisions': 0
'basename /sys/class/net/can0/statistics/multicast': 0
'basename /sys/class/net/can0 ...
by lstutz
Mon 22. Jun 2015, 11:05
Forum: Linux
Topic: Dropped CAN-Frames
Replies: 16
Views: 42189

Re: Dropped CAN-Frames

Hi,

I'm using the peak-usb kernel drivers.
In both case, if the hw looses any frames, some overrun info is given to the upper layers in both cases. I don't get an overrun or error indication on the RX side ('ip -details -statistics link show can0' gives no error indication).

Moreover, using the ...
by lstutz
Fri 19. Jun 2015, 16:52
Forum: Linux
Topic: Dropped CAN-Frames
Replies: 16
Views: 42189

Dropped CAN-Frames

Hello,

I'm currently developing an application using USB PEAK-Can dongles. The dongles are attached to different machines running the latest Ubuntu (kernel 3.19.0-15) and a Manjaro (kernel 4.1.0). SocketCan is used to interface with the dongles.
I'm facing an environment which will occasionally ...