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

Jake jake at spaz.org
Mon Oct 16 02:01:45 PDT 2017


thanks so much for doing this!  i'm guessing that part of the reason the list
of modules was reduced was because people didn't want to wait for everything to
compile?

is there an alternate solution, perhaps something like modifying the sudomesh
kernel to not check hashes on kernel modules?  then would I be able to use an
upstream kmod-usb-acm for example?

i don't think i'm anywhere near being able to compile a branch of the
sudowrt-firmware.  maybe i'll come to the next meeting and see if anyone has
time to show me how it's done, or integrate your pull request to master.

thank you again Alex

-jake

On Sun, 15 Oct 2017, Alexander Papazoglou wrote:

> I made a branch of sudowrt-firmware called build-all-kmods which should do
> just that (for home nodes).
>
> The opkg.conf stuff probably needs to be changed in makenode.
>
> Alex
>
>
> 2017-10-15 22:18 GMT-07:00 Alexander Papazoglou <papazoga at gmail.com>:
>
>> Jake,
>>
>> 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).
>>
>> Alex
>>
>>
>> 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