sailfish-containers / lxc-templates-desktop

LXC templates adapted to SailfishOS
GNU Lesser General Public License v2.1
9 stars 2 forks source link

Starting the container on the Galaxy S2 (i9100) - low priority #4

Open edp17 opened 4 years ago

edp17 commented 4 years ago

On the device, the container cannot be started. It gives the following error:

lxc-start Debian 20200729100819.902 ERROR    lxc_conf - conf.c:lxc_setup_devpts:1576 - Invalid argument - Failed to mount new devpts instance
lxc-start Debian 20200729100819.902 ERROR    lxc_conf - conf.c:lxc_setup:3520 - Failed to setup new devpts instance
lxc-start Debian 20200729100819.903 ERROR    lxc_start - start.c:do_start:1219 - Failed to setup container "Debian"
lxc-start Debian 20200729100819.903 ERROR    lxc_sync - sync.c:__sync_wait:57 - An error occurred in another process (expected sequence number 5)
lxc-start Debian 20200729100819.905 ERROR    lxc_container - lxccontainer.c:wait_on_daemonized_start:834 - Received container state "ABORTING" instead of "RUNNING"
lxc-start Debian 20200729100820.139 ERROR    lxc_start - start.c:__lxc_start:1887 - Failed to spawn container "Debian"

(It can be related, this device is using EGL_PLATFORM=fbdev (rather than hwcomposer) in /var/lib/environment/compositor/droid-hal-device.conf.)

edp17 commented 4 years ago

Just like for the other device, I have compared the lxc-checkconfig on the S2 (i9100) and the Note 4 (treltexx) and I spotted that this was missing on the S2: CONFIG_NF_NAT_IPV4 Both of them supported in kernels: 3.7–3.19, 4.0–4.20, 5.0 The S2 has a kernel 3.0, so if this is required, then it will not work on the S2 as there is no kernel support for that. :(