T42 | <edp_17> Hi all, Can somebody take a look into these, please? Build on OBS failed. Can you help me how to fix these , please? (Is it something I need to change in the uploaded files or something else?) | 02:18 |
---|---|---|
T42 | <edp_17> i9100: https://build.sailfishos.org/project/monitor/nemo:devel:hw:samsung:i9100?arch_armv8el=1&defaults=0&failed=1&repo_sailfish_latest_armv7hl=1 | 02:18 |
T42 | <edp_17> treltexx: https://build.sailfishos.org/project/monitor/nemo:devel:hw:samsung:treltexx?arch_armv8el=1&defaults=0&failed=1&repo_sailfish_latest_armv7hl=1 | 02:18 |
T42 | <edp_17> Thanks in advance. | 02:18 |
mal | @edp_17 too old libhybris in your project | 04:06 |
mal | update that to latest version in those projects | 04:06 |
T42 | <edp_17> mal: Thanks. I thought defined the latest in the _service file. | 07:39 |
mal | @edp_17 you have defined 0.0.5.24 but latest is 0.0.5.42 | 10:51 |
techgeekster | mai: Goodmoring! So some of the ld.config.28.txt mounts do not exist. Should I delete the non-existant ones (like dir.vendor = /odm/bin/) and keep the ones that work? | 12:43 |
mal | techgeekster: what? just copy the file from the link mentioned in faq and setup the mount service | 12:50 |
techgeekster | I did. The droid-hal-init service works fine now. Yesterday you told me to check if the paths of ld.conifg.28.txt apear in the system due to error 4023 W ServiceManagement: Waited for hwservicemanager.ready for a second, waiting another... | 12:52 |
T42 | <edp_17> mal: Oh, I did not realised that. Will review all four ports because probably this is a problem on all of them. | 12:53 |
T42 | <edp_17> Thanks! | 12:53 |
mal | techgeekster: is ld.config.28.txt now should it output of mount | 12:57 |
techgeekster | mal: Sorry did not understand. Could you rephrase? | 12:58 |
techgeekster | https://paste.ubuntu.com/p/63v48dRPFJ/ This is the logcat. Should i put the library mentioned in line 2 in the ld file? | 13:01 |
T42 | <elros34> you should check whether your new ld.config is bind mounted. Type: findmnt or mount to figure out that | 13:03 |
mal | techgeekster: I told you several times https://github.com/mer-hybris/hadk-faq#hybris-16-0 check the part about ld.config.28.txt | 13:04 |
mal | and like elros34 said after the changes and a reboot you need to verify that is shown in output of mount | 13:05 |
techgeekster | I did all the mentioned steps in the faq and rebuild the image. That is why I find it weird that it does not work. Let me try again | 13:09 |
mal | techgeekster: did you check journal and output of mount | 13:09 |
mal | show what changes you did, are you sure you symlinked it correctly | 13:10 |
mal | also are you sure you copied the file correctly | 13:10 |
mal | *files | 13:10 |
techgeekster | the symlink should be ln -s .. ? | 13:12 |
techgeekster | Let me do the steps again (maybe I missed something), push the changes to github and send you the repo | 13:14 |
T42 | <zinstack625> I'm trying out hybris-17.1 and it's getting to initial setup, but with no display. During initial setup it seems to drop telnet, how can I disable that? | 13:14 |
mal | techgeekster: we are still waiting for some logs | 13:16 |
mal | techgeekster: if failed to do that service correctly maybe you should show exactly what you have on device related to those se we can see what is wrong | 13:17 |
mal | @zinstack625 hybris-17.1 needs some manual changes to get it working | 13:17 |
T42 | <zinstack625> mal: is the "manualliness" like editing libhybris? I seems to get the android side up though.. | 13:19 |
mal | @zinstack625 how did you determine android side is up if you lose telnet? | 13:20 |
mal | various changes to configs and things like that are needed | 13:20 |
T42 | <zinstack625> @mal [@zinstack625 how did you determine android sid …], I lost telnet in hybris-16 during initial setup. It's reacting to power button presses, turning the display backlight on and off, which suggests that hwcomposer is likely fine | 13:22 |
T42 | <zinstack625> Oh, sorry, instinctive reply | 13:22 |
T42 | <zinstack625> I'm fine with changing configs, made a branch just for that | 13:23 |
mal | I'm confused now, you are talking about both 16.0 and 17.1 | 13:23 |
T42 | <zinstack625> Telnet also died with perfectly fine hybris 16. The same applies for 17.1, afaik it has nothing to do with libhybris | 13:25 |
T42 | <zinstack625> The common thing seems to be that it dies specifically at initial setup, and gets fine after that. That made my opinion that android side is up | 13:26 |
T42 | <elros34> @zinstack625 mask usb-moded. If that will not help then check whether some init*rc files imports *usb*.rc and comment it out. | 13:32 |
mal | @zinstack625 what kind of things have do to config repo so far? | 13:35 |
T42 | <zinstack625> mal: shamelessly stolen ld.config.29.txt, some system/etc/init rc files to disable services and point some to existing binaries | 13:38 |
T42 | <zinstack625> Basic necessities to make android side happy | 13:38 |
mal | from where did you take those? do you have the needed selinux changes done? | 13:42 |
T42 | <zinstack625> mal: I just enabled selinux, what changes are needed? | 13:48 |
T42 | <zinstack625> was looking at this: https://github.com/SailfishOS-sagit/droid-config-sagit | 13:48 |
mal | did you copy the selinux files, not sure if those are different for each device or not | 13:50 |
mal | https://piggz.co.uk/sailfishos-porters-archive/index.php?log=2021-03-08.txt#line121 | 13:51 |
T42 | <zinstack625> mal: on it | 13:53 |
piggz | mal: how do i inhibit the android charge screen? | 15:23 |
piggz | i have both fighting eachother | 15:23 |
T42 | <F1a5H> I also noticed that ^ on ocean @zinstack625 | 15:24 |
piggz | i guess i delete the android side servive from init | 15:27 |
mal | piggz: I thought that would be done by default | 15:28 |
piggz | mal: well, its been missed somehoe on volle (mtk) | 15:29 |
piggz | mal: ive identified the service, kpoc_charger | 15:37 |
piggz | ill just have to do the usual magic to inhibit it | 15:37 |
T42 | <zinstack625> Hmm, selinux is permissive on both sides, yet it disallows access to binder. logcat is spammed, but among the agressive waiting there is: https://pastebin.com/KVSXqrcD. For some reason, kernel cannot load vibrator firmware again, I would guess for the same reason (generally) | 18:18 |
T42 | <zinstack625> Here's a tiny slice of logcat I'm getting: https://pastebin.com/BV7qwgze | 18:41 |
mal | show also journal | 18:45 |
mal | @zinstack625 did you copy the selinux files? | 18:45 |
mal | as mentioned in the link I gave earlier | 18:46 |
T42 | <zinstack625> Yep, but the script insisted on making those a symlink for some reason | 18:46 |
T42 | <zinstack625> Those symlinks are valid though | 18:46 |
mal | symlinks do not work, that is why I said to copy those | 18:48 |
mal | what script do you mean? | 18:48 |
mal | if you mean when some issue when building the config repo then you have too old subdmodule | 18:49 |
T42 | <zinstack625> Ok, I'll try it | 18:51 |
T42 | <Verevka86> @zinstack625 [Ok, I'll try it], https://github.com/SailfishOS-sagit/android_kernel_xiaomi_msm8998/commit/16c496ae8af76113b389aaecf8ca9974543729a3 | 19:42 |
piggz | mal: got a ery strange error on 4.0.1 on the volla..... | 19:55 |
piggz | shortly after UI loads, at some random time, UI lock up completely | 19:55 |
piggz | lipstick prints | 19:55 |
piggz | lipstick[1946]: [D] unknown:0 - prepare: validate failed for display 0: 6 | 19:56 |
piggz | a bunch of times | 19:56 |
piggz | mal: hmmm | 20:00 |
piggz | Mar 14 19:59:22 VollaPhone droid-hal-init: Service 'vendor.hwcomposer-2-1' (pid 1056) received signal 11 | 20:00 |
piggz | Mar 14 19:59:22 VollaPhone droid-hal-init: Sending signal 9 to service 'vendor.hwcomposer-2-1' (pid 1056) process group... HYBRIS: killing PID instead of process group. | 20:00 |
piggz | Mar 14 19:59:22 VollaPhone droid-hal-init: starting service 'vendor.hwcomposer-2-1'... | 20:00 |
piggz | Mar 14 19:59:22 VollaPhone lipstick[2013]: [D] unknown:0 - prepare: validate failed for display 0: 6 | 20:00 |
piggz | so, somehow, 4.0.1 manages to crach hwcomposer | 20:00 |
mal | hmm | 20:03 |
piggz | mal: and https://paste.mozilla.org/VcY63wF6 | 20:10 |
piggz | any debuging tips with this one? | 20:17 |
mal | piggz: that didn't happen on 3.4.0? | 20:28 |
piggz | mal: no it didnt | 20:29 |
piggz | mal: i remember it happening in december on a cbeta version ... never got round to looking properly | 20:29 |
mal | which kernel did that have? | 20:29 |
piggz | Linux VollaPhone 4.4.146+ #16 SMP PREEMPT Sun Nov 22 10:20:28 UTC 2020 aarch64 GNU/Linux | 20:30 |
mal | does your init.rc have something like this https://github.com/mer-hybris/hybris-patches/pull/16/files | 20:30 |
mal | piggz: but since your device has systemd mostly running not sure if that can be the reason | 20:31 |
mal | do you use the legacy cgroup for systemd? | 20:31 |
piggz | mal: i wondered that ... no, i havnt made that change.... | 20:32 |
piggz | esp as its 4.4 | 20:32 |
piggz | mal: | 20:32 |
piggz | mkdir /dev/cg2_bpf | 20:32 |
piggz | # Removed during droid-hal-device build : mount cgroup2 cg2_bpf /dev/cg2_bpf nodev noexec nosuid | 20:32 |
piggz | chown root root /dev/cg2_bpf | 20:32 |
piggz | chmod 0600 /dev/cg2_bpf | 20:32 |
piggz | # Removed during droid-hal-device build : mount bpf bpf /sys/fs/bpf nodev noexec nosuid | 20:32 |
piggz | so, its removed already | 20:32 |
mal | piggz: remove all parts | 20:35 |
piggz | mal: still crashes | 20:39 |
mal | piggz: does test_hwcomposer work? | 20:46 |
mal | piggz: oh, you said UI was up for a moment | 20:47 |
piggz | mal: yes, ui works for a while | 20:48 |
piggz | then, after opening a few apps, locks up | 20:48 |
mal | piggz: is it stable if you don't open apps? | 20:50 |
mal | piggz: sound a bit like the old fence leak issue | 20:50 |
mal | but since you didn't have it before that is not very likely | 20:50 |
piggz | mal: well, earliler, it locked up when i was swiping up the menu a lot | 20:50 |
mal | piggz: have you had any other graphics issues? | 20:53 |
piggz | mal: none, ti was quite ok in < 4 | 20:53 |
mal | piggz: like wrong order in rendering or something? | 20:53 |
piggz | mal: clean boot, no issue yet... | 20:56 |
piggz | but some mali errors in logcat | 20:56 |
piggz | https://paste.mozilla.org/nkW9upMb | 20:56 |
piggz | mal: then, it failed when opening the weather | 20:57 |
piggz | https://paste.mozilla.org/nhMnhjKF | 20:58 |
T42 | <zinstack625> Updating submodules helped, now no firmware can load | 20:58 |
T42 | <zinstack625> Like I can read the file in /vendor/firmware/, selinux is permissive and doesn't seem to care, but after loading module, it says it couldn't read firmware | 21:00 |
mal | @zinstack625 can you show some errors | 21:01 |
T42 | <zinstack625> mal: my lovely vibrator https://pastebin.com/ffKB3pPQ | 21:02 |
mal | have you tried if it still works+ | 21:03 |
mal | maybe focus on more critical issues first | 21:03 |
T42 | <zinstack625> mal: the same is for adreno and wlan, just can't demonstate that as vividly | 21:08 |
T42 | <zinstack625> Lipstick tries to start, but can't init hwcomposer, because it can't load firmware | 21:09 |
mal | @zinstack625 check zcat /proc/config.gz | grep CONFIG_FW_LOADER_USER_HELPER | 21:12 |
mal | if you don't have that try enabling that in kernel | 21:12 |
T42 | <zinstack625> Ok, mer-kernel-check must have clouded my mind | 21:13 |
mal | that needs some improvements | 21:20 |
T42 | <zinstack625> I've got gui on hybris-17.1 | 21:32 |
mal | cool | 21:34 |
rinigus | piggz: probably not related, but cg2_bpf in your case is still mounted by systemd unit. to get rid of it, you have to apply that patch and rebuild hal | 21:40 |
piggz | rinigus: i dont see a mount unut for that | 21:42 |
rinigus | piggz: there should be something, otherwise you don't get that comment "Removed during droid-hal-device build" in init.rc | 21:43 |
rinigus | maybe not mount unit, but something is mounting it probably. df -ha ? | 21:44 |
piggz | rinigus: | 21:45 |
piggz | %define makefstab_skip_entries /dev/cg2_bpf /dev/cpuctl /dev/stune /sys/fs/bpf | 21:45 |
piggz | i skip it | 21:45 |
rinigus | piggz: haven't used that one. I hope it works :) | 21:46 |
piggz | rinigus: u never skipped annoying entries? | 21:47 |
rinigus | piggz: I am on simple device(s) and can mostly copy jolla's configs. so, maybe they are skipped somewhere that I don't realize | 21:48 |
rinigus | getting late over here, good luck with volla! | 21:49 |
piggz | rinigus: well, late too | 21:49 |
piggz | mal: i will try rebasing our custom qt5-qpa-hwcomposer-plugin | 21:51 |
mal | ok | 21:56 |
mal | how old is the version? | 21:56 |
piggz | mal: modified 5.6.2.16 | 21:56 |
mal | piggz: what changes do you have in it? | 21:58 |
piggz | mal: https://github.com/HelloVolla/qt5-qpa-hwcomposer-plugin/tree/hwc2_skip_hwc_module | 21:59 |
piggz | mal: nope, same crash | 22:07 |
T42 | <zinstack625> How does sparse-10 work? If it finds this folder, it ignores sparse, and if android_version_major is not 10, it ignores sparse-10? | 22:31 |
mal | no, it copies files from sparse and if android version major 10 is found then it copies over files from there | 22:37 |
mal | https://github.com/mer-hybris/droid-hal-configs/blob/master/droid-configs.inc#L394 | 22:38 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!