AnsweredAssumed Answered

Kernel 3.14, CAN state issue

Question asked by Angelo Dureghello on Sep 1, 2015
Latest reply on Sep 8, 2015 by alejandrolozano

Dear all,

 

i have a brief question:

 

Using kernel 3.14 on a similar sabreauto board, with "ip addr show" after first boot i see

2: can0: <NOARP,ECHO> mtu 16 qdisc noop state DOWN qlen 10
    link/can 

 

This is correct when there is not CAN communication.

 

bash-3.2# ip link set can0 type can bitrate 1000000 triple-sampling on
bash-3.2# ip addr show    
2: can0: <NOARP,ECHO> mtu 16 qdisc noop state DOWN qlen 10
    link/can 

bash-3.2# ip link set can0 up
2: can0: <NOARP,UP,LOWER_UP,ECHO> mtu 16 qdisc pfifo_fast state UNKNOWN qlen 10
    link/can 

 

As you can see, after set to "up", final state is UNKNOWN.

It stays UNKNOWN also while communicating. Communication with remote host BTW works.

 

Is this UNKNOWN state a signal i set up something wrong in the kernel ? Do i have to worry about ?

 

Thanks

angelo

Outcomes