Anbox
landeel
Status: New User - Welcome
Joined: 29 Oct 2020
Posts: 3
Reply Quote
I can't get Anbox to start on Lubuntu 20.04 with Liquorix 5.8.x kernel.
When I execute the "anbox.appmgr", the splash screen shows up, hangs a while and then it closes.
It does work with 20.04's vanilla 5.4 kernel.
Any thoughts?
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 3990
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
github.com/anbox/anbox/blob/master/docs/install.md#install-necessary-kernel-modules

Requires kernel modules, that will build.

To run liquorix on a frozen pool distro, you have to learn enough to know that that means, in particular, when it comes to building kernel modules that probably will not work on newer kernels than the frozen pool contains.

I'd never heard of anbox, and it only took me a few clicks to find the probable failure cause, incompatible kernel modules.

My thoughts are: pick one, distro packaged kernels and their modules, and things will work the way you want, OR use liquorix and learn what that means in terms of using frozen pool distros [it means don't do it if you need special kernel modules], OR learn how to try to build new modules on latest kernels when they probably are failing to compile, which is no fun.

Liquorix has done its job, it installed, booted, and that's the end of liquorixes task, after that, it's all on you.
Back to top
landeel
Status: New User - Welcome
Joined: 29 Oct 2020
Posts: 3
Reply Quote
Hey!

[link]
:: Quote ::
Starting with Ubuntu 19.04 binder and ashmem are now build with the standard Ubuntu kernel (>= 5.0) and you don’t have to install the modules from the PPA anymore.


The required modules are 'ashmem_linux' and 'binder_linux'.

They are supposedly in mainline since kernel 5.0.

Using liquorix, I can see 'ashmem_linux' in lsmod, but I can't see 'binder_linux'.

I've tried to build from the sources provided by anbox, but they're not compatible with kernels newer than 5.7.something.

I can 'modprobe binder_linux' without any errors, but still it's not listed in lsmod.

EDIT:
Related issue report in Anbox's github:
[link]
Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 851
Reply Quote
I think the issue is that I recently introduced building ASHMEM as a module with some patches that didn't quite work. In Zen Kernel I reverted those patches [1] and now build both binder and ashmem statically [2].

Next release should fix your issue. If not, you'll need to wait for 5.9 or there's something else wrong on your system.

[1] github.com/zen-kernel/zen-kernel/commit/92c5e5feeb0051ca936d29877ee067e33d5e7de8
[2] github.com/damentz/liquorix-package/commit/8c3cb2e12aac64ff28550b812e76ba0e6bc89adc
Back to top
landeel
Status: New User - Welcome
Joined: 29 Oct 2020
Posts: 3
Reply Quote
Thank you!
I've tried 5.8 after the changes and Anbox won't start.
Same thing with 5.9.
I guess the problem is on Anbox's side.
Back to top
Display posts from previous:   

All times are GMT - 8 Hours