[FS#684] bug in kmod-can
LEDE Bugs
lede-bugs at lists.infradead.org
Mon Apr 10 22:58:25 PDT 2017
For full information about what has changed in this task, visit the URL below and click the History tab.
FS#684 - bug in kmod-can
User who did this: Yousong Zhou (yousong)
Task details edited:
-------
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