[Mesh] mesh routers can't opkg install kmod-usb-acm

Jake jake at spaz.org
Mon Oct 16 00:28:59 PDT 2017


On Sun, 15 Oct 2017, Alexander Papazoglou wrote:
> The error means that you have a mismatch between the kernel version you are
> running and the one required for the package. Ever since this [
> https://dev.openwrt.org/changeset/29686] happened OpenWRT requires that
> modules are from the same build as the kernel you are running, by checking
> a hash.
>
> Unfortunately it seems that
> http://builds.sudomesh.org/builds/chaos_calmer/ar71xx/packages/ only
> contains a smattering of packages, and kmod-usb-acm is not among them.Any
> reason for this?
>
> All kmod- packages ought to be built and made available there, in order to
> guarantee kernel compatibility. And your opkg.conf "base" pointer should
> point at the sudomesh repo.
> For instant gratification, you can try "opkg --force-depends install
> <package>" (but don't expect it to work).

thanks so much Alex!  of course i tried --force-depends but it didn't work,
although if i then run it a second time it claims that:
Package kmod-usb-acm (3.18.23-1) installed in root is up to date.

but it still doesn't work, no surprise there.  Marc thought the problem was
that kernel modules did not auto-load, but they totally are supposed to and
anyway i couldn't load it with modprobe and i don't even know if it installed
anywhere.

I downloaded
http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/generic/packages/base/kmod-usb-acm_3.18.23-1_ar71xx.ipk
but it's an .ipk file and i have no idea how it's made, if i wanted to fuck
with its hash function to force it to try to run... although i guess it's the
kernel that's checking the hash of the file against a whitelist or something?

if you're saying that the opkg.conf file should be differnet from this:
https://github.com/sudomesh/sudowrt-firmware/issues/108
please make a comment there or just tell me here so it can be improved.. i
don't know if anyone else understands this stuff as well as you do and if they
do they're too busy to work on this part of the mesh.  and four ducks are
depending on it! (actually stuff works but i want to migrate away from a laptop
and just use a mesh node to do this stuff)

thank you
-jake

> 2017-10-15 19:16 GMT-07:00 Jake <jake at spaz.org>:
>
>> i'm trying to use a mesh router to operate a duck coop door, and this
>> means i
>> want the USB port to recognize an ACM serial port.  This is a normal thing
>> for
>> openWRT and usually works thusly:
>>
>> opkg update # downloads opkg package lists to /tmp
>> opkg install kmod-usb-acm # installs a kernel module for ACM serial USB
>> devices
>>
>> unfortunately, there are some problems with present mesh node firmware
>> (including a node that was flashed in December 2015 and another which was
>> flashed recently) and this process doesn't work.
>>
>> for starters, the opkg.conf on mesh nodes is messed up - i'm not sure why
>> but
>> there's a github issue here:
>> https://github.com/sudomesh/sudowrt-firmware/issues/108
>>
>> to get "opkg update" to work, follow the instructions in the first comment.
>> That works for me, but when i do "opkg install kmod-usb-acm" i get the
>> following error:
>>
>> # opkg install kmod-usb-acm
>> Installing kmod-usb-acm (3.18.23-1) to root...
>> Downloading http://downloads.openwrt.org/chaos_calmer/15.05.1/ar71xx/gen
>> eric/packages/base/kmod-usb-acm_3.18.23-1_ar71xx.ipk.
>> Collected errors:
>>  * satisfy_dependencies_for: Cannot satisfy the following dependencies for
>>  * kmod-usb-acm:
>>  *  kernel (= 3.18.23-1-b2f200610f46d20ef52d269421369d0c) *
>>  * opkg_install_cmd: Cannot install package kmod-usb-acm.
>> # uname -a
>>     Linux jerkey-tl-wdr3500-2 3.18.23 #1 Fri Dec 25 00:14:49 EST 2015 mips
>> GNU/Linux
>>
>> i have no idea what this error means or why it's happening, can anyone
>> offer
>> advice?
>>
>> thank you,
>> -jake
>> _______________________________________________
>> mesh mailing list
>> mesh at lists.sudoroom.org
>> https://sudoroom.org/lists/listinfo/mesh
>>
>



More information about the mesh mailing list