Open JakeStanger opened 6 years ago
You probably only need to enable CONFIG_DEVPTS_MULTIPLE_INSTANCES
.
root@localhost:~# systemctl status lxc@android
● lxc@android.service - LXC Container: android
Loaded: loaded (/lib/systemd/system/lxc@.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2018-06-20 05:33:40 UTC; 3min 14s ago
Docs: man:lxc-start
man:lxc
Main PID: 1180 (lxc-start)
Memory: 2.3M
CPU: 605ms
CGroup: /system.slice/system-lxc.slice/lxc@android.service
└─1180 /usr/bin/lxc-start -F -n android
Jun 20 05:33:40 localhost.localdomain systemd[1]: Started LXC Container: android.
Jun 20 05:33:41 localhost.localdomain lxc-start[1180]: 4870 blocks
Jun 20 05:33:41 localhost.localdomain lxc-start[1180]: mkdir: cannot create directory '/var/lib/lxc/android/rootfs//cache': File exists
Jun 20 05:33:41 localhost.localdomain lxc-start[1180]: mount: mount point /var/lib/lxc/android/rootfs//cache is a symbolic link to nowhere
Jun 20 05:33:41 localhost.localdomain lxc-start[1180]: lxc-start: start.c: preserve_ns: 153 No such file or directory - Kernel does not support attaching to pid namespaces.
LXC is running now; lxc-checkconfig
now has Multiple /dev/pts instances
enabled but others are still missing. All test results same as before.
Other graphics tests:
root@localhost:~# test_egl
library "libgui.so" wasn't loaded and RTLD_NOLOAD prevented it
library "/vendor/lib/libGLESv2.so" not found
library "/vendor/lib/libGLESv1_CM.so" not found
Segmentation fault
root@localhost:~# test_glesv2
library "libgui.so" wasn't loaded and RTLD_NOLOAD prevented it
library "/vendor/lib/libGLESv2.so" not found
library "/vendor/lib/libGLESv1_CM.so" not found
Segmentation fault
These files exist but with _tegra
before the file extension.
Passing as environment variables:
root@localhost:~# LIBGLESV2=/vendor/lib/egl/libGLESv2_tegra.so LIBEGL=/vendor/lib/egl/libEGL_tegra.so test_egl
Segmentation fault
Same for test_glesv2
Question - should I have anything on the device screen at this point? Currently just got the lenovo
boot splash screen where display hangs.
The container needs to start fully start before most tests work.
I see, that'd make sense. Any idea where I should be going with the remaining missings? Other unspecified kernel config options or parameters? Cheers.
You can read lxc-checkconfig to see which kernel config it's actually checking for, it's just a script. But I don't think it will help with the segaults. Unfortunately, I don't have a great suggestion for those. You could give plasma mobile a shot. Maybe it's actually all good. Sometimes the libhybris tests themselves are broken and it's not actually a problem in your port
i have similar errors as shown in logs is there any fix till now?
Other graphics tests:
root@localhost:~# test_egl library "libgui.so" wasn't loaded and RTLD_NOLOAD prevented it library "/vendor/lib/libGLESv2.so" not found library "/vendor/lib/libGLESv1_CM.so" not found Segmentation fault root@localhost:~# test_glesv2 library "libgui.so" wasn't loaded and RTLD_NOLOAD prevented it library "/vendor/lib/libGLESv2.so" not found library "/vendor/lib/libGLESv1_CM.so" not found Segmentation fault
These files exist but with
_tegra
before the file extension.Passing as environment variables:
root@localhost:~# LIBGLESV2=/vendor/lib/egl/libGLESv2_tegra.so LIBEGL=/vendor/lib/egl/libEGL_tegra.so test_egl Segmentation fault
Same for
test_glesv2
any solution for this problem?
root@localhost:~# test_audio Audio device API version 0200 doesn't match platform current 3004.test_audio: test_audio.c:71: main: Assertion `audiohw->common.version == AUDIO_DEVICE_API_VERSION_CURRENT' failed. Aborted
fixed this?
and is buletooth work?
I've never made any progress on this since my last post I'm afraid.
well look into the system or find / 2>&1 |grep libGLESv1_CM.so and find where gles is located and look for this file libcamera_compat_layer.so also use gdb to track and see what is the issue with those i have same issue with test_audio
If you're looking into porting it yourself, you could do those things and put the results here. It's been three years since I've played with the thing, and I don't exactly have it to hand nor the time to be looking into that.
Tree: halium-7.1
usb: Manufacturer: GNU/Linux Device
appears indmesg
on host.LXC container:
test_gps
gets as far as*** tracking....
- I am not sure whether this counts as a succesful test or not.test_hwcomposer
test_lights
This is expected behaviour since the device has no lights.
test_vibrator
works succesfully.test_wifi 1
Wifi itself is working and an internet connection can be established.
test_sensors
I presume this is SELinux related, at a guess?
test_audio
test_camera
test_input
test_nfc
Again expected as device does not have NFC
test_recorder
lxc_checkconfig
Do I need to add parameters to the kernel cmdline for the missing entries to become enabled? Passing my kernel config shows they are all enabled.