linux-can.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Oliver Hartkopp <socketcan@hartkopp.net>
To: Marc Kleine-Budde <mkl@pengutronix.de>,
	Paul Lever <svjeorgia@gmail.com>,
	linux-can@vger.kernel.org
Subject: Re: candump error flags
Date: Fri, 07 Nov 2014 15:56:19 +0100	[thread overview]
Message-ID: <545CDD93.1080600@hartkopp.net> (raw)
In-Reply-To: <545CD775.1030200@pengutronix.de>

On 07.11.2014 15:30, Marc Kleine-Budde wrote:
> On 11/07/2014 02:57 PM, Paul Lever wrote:
>> I'm trying to use the candump -e and -d options to catch errors. I
>> know that frames are being dropped, as I can see missing packets in
>> known sequences, yet I never see anything printed from candump
>> indicating any errors or dropped packets. Is there additional steps
>> needed to get output from -e/-d options? This is on a Beaglebone Black
>> platform.
>> My cmd line is:
>> candump -t a -e -d -r 16000 can0 > /media/testdata.raw&
>
> Make sure you're running a recent new kernel (v3.15 or better) as a lot
> of fixes went into the driver.
>

E.g. the dropcount functionality emerged in Linux 2.6.33
So a Debian Squeeze with 2.6.32 won't make it here ...

Regards,
Oliver

ps. additionally "candump -r 16000 -l can0 &" would be better :-)

  reply	other threads:[~2014-11-07 14:56 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-07 13:57 candump error flags Paul Lever
2014-11-07 14:13 ` Andri Yngvason
2014-11-07 14:30 ` Marc Kleine-Budde
2014-11-07 14:56   ` Oliver Hartkopp [this message]
2014-11-08 14:47     ` Paul Lever
2014-11-08 15:00       ` Oliver Hartkopp
2014-11-08 15:14         ` Paul Lever
2014-11-08 15:29           ` Oliver Hartkopp
2014-11-08 15:34             ` Paul Lever
2014-11-08 16:44               ` Oliver Hartkopp
2014-11-09 14:50                 ` Paul Lever
2014-11-08 16:46           ` Marc Kleine-Budde
2014-11-09 14:52             ` Paul Lever
2014-11-09 15:01               ` Marc Kleine-Budde
2014-11-09 15:23                 ` Paul Lever
2014-11-10  5:29                   ` Pankajkumar Misra (RBEI/EEA2)
2014-11-13 10:20                     ` mcp251x (was: Re: candump error flags) Marc Kleine-Budde

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=545CDD93.1080600@hartkopp.net \
    --to=socketcan@hartkopp.net \
    --cc=linux-can@vger.kernel.org \
    --cc=mkl@pengutronix.de \
    --cc=svjeorgia@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).