roland Tollenaar wrote:
> Hi
>
> > > > > Assertion failed! drivers/xenomai/can/rtcan_raw.c:rtcan_tx_push:171
> > > > > dev->tx_socket == 0
> > > > > (3) TX skb still in use
> > > >
> > > > Why are you trying to send loopback messages?
> > >
> > > I'm not. Of that I am certain.
> >
> > The above kernel message states it clearly. Something on your computer is
> > trying to send loopback messages. The above message can *only* appear if
> > loopback is activated. So please investigate this issue and switch it
> > off.
>
> The place i look is in proc/rtcan/rtcan2/info.

Why do you have so many CAN interfaces? What about rtcan0 and rtcan1? Does 
your CAN hardware have several CAN ports?

> The mode is empty. 
> Always. I don;t set the mode in the application and on running
> rtcanrecv I don't specify loopback.
>
> What else can I do to make certain there is no listen_only mode on?

You could explicitely call SIOCSCANCTRLMODE with 0.

>
> > > this is not a kernel setting. loopback and listenonly capability is
> > > set in the kernel but I am not using it at the moment. But it is
> > > usefull for testing and it should not be a problem if not turned on?
> >
> > So far you are right.
> >
> > See above. I'm not convinced.
>
> If its any consolation I have not seen that message for a while. But
> of course I have debug messages turned off in the kernel config now.

Without CONFIG_XENO_DRIVERS_CAN_DEBUG this message will never pop up.

> Slight correction. I AM getting CAN errors at the moment
> 000000088. I believe this is bus error and protocol error.

If this is the can_id field what do the data fields say?

--
Sebastian

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to