[FS#684] bug in kmod-can

LEDE Bugs lede-bugs at lists.infradead.org
Thu Apr 6 23:52:35 PDT 2017


A new Flyspray task has been opened.  Details are below. 

User who did this - Ken (marconi) 

Attached to Project - LEDE Project
Summary - bug in kmod-can
Task Type - Bug Report
Category - Kernel
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Medium
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details - 
When I installed "kmod-can-usb-8dev", I got an error from "kmod-can" :

root at ap121u:~# opkg install kmod-can-usb-8dev

Installing kmod-can-usb-8dev (4.4.50-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.0/targets/ar71xx/generic/packages/kmod-can-usb-8dev_4.4.50-1_mips_24kc.ipk

Installing kmod-can (4.4.50-1) to root...
Downloading http://downloads.lede-project.org/releases/17.01.0/targets/ar71xx/generic/packages/kmod-can_4.4.50-1_mips_24kc.ipk
Configuring kmod-can.
can-dev is already loaded

Configuring kmod-can-usb-8dev.

Collected errors:
 * pkg_run_script: package "kmod-can" postinst script returned status 255.
 * opkg_configure: kmod-can.postinst returned 255.


When I plugged in the device ( http://www.8devices.com/products/usb2can ), then "ip l" didn't look right :

7: can0:  mtu 16 qdisc noop state DOWN qlen 10
    link/[280]

I tried it on an "Onion Omega" with LEDE 17.01.0 , I got the same symptom as the AP121U.

When I tried it on an "Onion Omega" with "CHAOS CALMER (15.05.1)", it worked OK.

It's even broken with the "virtual CAN' device : kmod-can-vcan

Supply the following if possible:

 - Device problem occurs on

Both "Alfa AP121U" and "Onion Omega" showed the problem

 - Software versions of LEDE release, packages, etc.

LEDE Reboot (17.01.0, r3205-59508e3)

 - Steps to reproduce

# install kmod-vcan :

opkg install kmod-can-vcan

# notice kmod-can error message : "returned 255"

# create virtual CAN interface :

ip link add dev vcan0 type vcan

# print link info :

ip l

# notice "link/[280]" (instead of "link/can"




   


More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=684



More information about the lede-bugs mailing list