Michael Thénault
2013-03-07 09:55:08 UTC
hello,
I'm working on a arm system with the 2.6.38.8 kernel.
When I try to send can frames (with cansend, cangen or sockets) the tx
queue is getting full and then i get this error :
write: No buffer space available
I've been monitoring the CAN bus with an oscilloscope and nothing
seems to happen.
I saw a thread with the similar problem, and there was some problem
with the one-shot mode. This mode doesn't work with me :
# ip link set can0 up type can one-shot on
RTNETLINK answers: Operation not supported
here are some details :
# ip -details -statistics link show can0
4: can0: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UNKNOWN qlen 10
link/can
can state ERROR-PASSIVE restart-ms 0
bitrate 125000 sample-point 0.875
tq 500 prop-seg 6 phase-seg1 7 phase-seg2 2 sjw 1
mcp251x: tseg1 3..16 tseg2 2..8 sjw 1..4 brp 1..64 brp-inc 1
clock 8000000
re-started bus-errors arbit-lost error-warn error-pass bus-off
0 0 0 4 4 0
RX: bytes packets errors dropped overrun mcast
0 0 0 0 0 0
TX: bytes packets errors dropped carrier collsns
0 0 3 3 0 0
what am i doing wrong ?
Thank you in advance for your help
--
To unsubscribe from this list: send the line "unsubscribe linux-can" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
I'm working on a arm system with the 2.6.38.8 kernel.
When I try to send can frames (with cansend, cangen or sockets) the tx
queue is getting full and then i get this error :
write: No buffer space available
I've been monitoring the CAN bus with an oscilloscope and nothing
seems to happen.
I saw a thread with the similar problem, and there was some problem
with the one-shot mode. This mode doesn't work with me :
# ip link set can0 up type can one-shot on
RTNETLINK answers: Operation not supported
here are some details :
# ip -details -statistics link show can0
4: can0: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UNKNOWN qlen 10
link/can
can state ERROR-PASSIVE restart-ms 0
bitrate 125000 sample-point 0.875
tq 500 prop-seg 6 phase-seg1 7 phase-seg2 2 sjw 1
mcp251x: tseg1 3..16 tseg2 2..8 sjw 1..4 brp 1..64 brp-inc 1
clock 8000000
re-started bus-errors arbit-lost error-warn error-pass bus-off
0 0 0 4 4 0
RX: bytes packets errors dropped overrun mcast
0 0 0 0 0 0
TX: bytes packets errors dropped carrier collsns
0 0 3 3 0 0
what am i doing wrong ?
Thank you in advance for your help
--
To unsubscribe from this list: send the line "unsubscribe linux-can" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html