From: Viktor Babrian <v@renyi.hu>
To: linux-can@vger.kernel.org
Subject: c_can: (newbie) high system load when frame not acked?
Date: Mon, 12 Jan 2015 18:18:26 +0100 [thread overview]
Message-ID: <alpine.DEB.2.02.1501121751530.28201@login> (raw)
In-Reply-To: <9c72f211-becc-4c0f-94f6-0700dfb1195e@GRBSR0089.marel.net>
Hi,
I am new to linux with can though I have had some experience with both
separately.
I have here an am3359 board (having DCAN CAN controller). CAN transciever
is terminated by a 60R resistor, no other party connected (no cables etc).
I set up a can transmission using cansend:
# ip link set can1 type can bitrate 500000 triple-sampling on
# ip link set can1 up
# cansend can1 5A1#11.2233.44556677.88
Oscilloscope probe is on canh.
Everything works just fine, except:
- Frame is retransmitted for ever (seen on bus)
- user experience drops (serial terminal hardly echoes)
- load is up
- top shows sirq level of 75-80%
after bringing down can1 with
# ip link set can1 down,
I see that load is fine again (=0), however frame retransmission is going
on still (observed by oscilloscope).
Transmission stops only after enabling can1 again:
# ip link set can1 up
Is this expected? Has anybody seen similar behavior?
I am using linux kernel 3.14.26. I have also tried c_can driver from
3.19rc3 ("backported"=copied), same results.
Thanks in advance,
Viktor babrian
next prev parent reply other threads:[~2015-01-12 17:25 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-12-03 17:54 [PATCH v5 3/5] can: mscan: Consolidate and unify state change handling Andri Yngvason
2015-01-12 17:18 ` Viktor Babrian [this message]
[not found] ` <1735533.0yOonAfCy1@heinz>
2015-01-12 18:50 ` c_can: (newbie) high system load when frame not acked? Viktor Babrian
2015-01-13 1:19 ` Tom Evans
2015-01-13 15:10 ` Viktor Babrian
2015-01-13 15:16 ` Marc Kleine-Budde
2015-01-13 15:54 ` Viktor Babrian
2015-01-13 15:55 ` Marc Kleine-Budde
2015-01-13 15:32 ` Andri Yngvason
2015-01-14 1:35 ` Tom Evans
2015-01-14 9:55 ` Andri Yngvason
2015-01-15 0:29 ` Tom Evans
2015-01-18 18:30 ` [PATCH 3.19-rc3] c_can: SIE disabled when berr-reporting is off to reduce irq flood Viktor Babrian
2015-01-18 18:34 ` Marc Kleine-Budde
2015-01-18 18:52 ` Viktor Babrian
2015-01-18 18:56 ` Marc Kleine-Budde
2015-01-19 11:32 ` Viktor Babrian
2015-01-19 22:35 ` Tom Evans
2015-01-18 19:01 ` [PATCH 3.19-rc3] c_can: end transmission on network stop Viktor Babrian
2015-01-20 14:39 ` 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=alpine.DEB.2.02.1501121751530.28201@login \
--to=v@renyi.hu \
--cc=linux-can@vger.kernel.org \
/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