*** amccarthy is now known as Guest1795 | 06:41 | |
*** amccarthy_ is now known as amccarthy | 06:41 | |
genericv2 | https://paste.opensuse.org/pastes/cdffa13d1f8f Lastest logcat. I am currently trying to fix droid-hal-init crash | 15:30 |
---|---|---|
T42_ | <elros34> isn't it obvious from few first lines? You already fixed it | 15:32 |
genericv2 | Yeah, thats the error i already fixed. | 15:32 |
T42_ | <elros34> this one too: "servicemanager: Check failed: selinux_status_open(true ) >= 0" | 15:33 |
T42_ | <elros34> its about disabled selinux | 15:33 |
T42_ | <elros34> but kernel prints: SELinux : Starting in permissive mode. Did you change anythig else selinux related? | 15:35 |
genericv2 | Ohh, thats strange. It must be enabled. | 15:35 |
genericv2 | I am using the last kernel with working se right now | 15:35 |
genericv2 | ah | 15:35 |
genericv2 | config | 15:35 |
genericv2 | forget to copy some files yesterday | 15:35 |
T42_ | <elros34> its a good practice to apply changes both to device and repositories otherwise you end up with doing same things all over again | 15:37 |
genericv2 | yeah i need to add these to sparse | 15:42 |
genericv2 | fixed selinux | 15:42 |
mal | yeah, always add changes to config repo or other places once you have verified some gets fixed | 16:05 |
mal | I remember from years ago when I developed one device for two months without adding things to config repo, quite terrible to remember what I had done during that time | 16:06 |
genericv2 | mal: oof thats bad | 16:16 |
genericv2 | Parcel : Expecting header 0x53595354 but found 0x564e4452. Mixing copies of libbinder? | 16:24 |
genericv2 | Currently this is the issue | 16:24 |
T42_ | <elros34> use search function https://piggz.co.uk/sailfishos-porters-archive/index.php | 16:26 |
mal | genericv2: are you sure you have the correct gbinder.conf as mentioned some days ago? | 16:26 |
genericv2 | [General] | 16:26 |
genericv2 | ApiLevel = 31 | 16:26 |
genericv2 | thats it. The file at sparse 13 | 16:27 |
genericv2 | must i make it 33? | 16:27 |
genericv2 | okay remembered it, it must be 31 | 16:29 |
genericv2 | Also these: | 16:29 |
genericv2 | Mar 15 14:00:09 Mi6 droid-hal-init: Control message: Could not find 'android.hardware.media.omx@1.0::IOmxStore/default' for ctl.interface_start from pid: 1461 (/system/bin/hwservicemanager) | 16:29 |
genericv2 | Mar 15 14:00:09 Mi6 droid-hal-init: Control message: Could not find 'com.qualcomm.qti.dpm.api@1.0::IdpmQmi/dpmQmiService' for ctl.interface_start from pid: 1461 (/system/bin/hwservicemanager) | 16:29 |
mal | which process is giving those "Mixing copies of libbinder" messages= | 16:31 |
Mister_Magister | mal: how was fosdem | 16:32 |
genericv2 | mal: it only says parcel in logcat, let me check again | 16:33 |
genericv2 | i am stuck again | 16:46 |
mal | Mister_Magister: I have never been to fosdem | 17:02 |
Mister_Magister | huh | 17:03 |
mal | genericv2: logcat tells the pid of the process logging the message which you can use to check "ps aux" output for the process name | 17:04 |
genericv2 | "/vendor/bin/vndservicemanager /dev/vndbinder" | 17:12 |
genericv2 | this "needed or dlopened by" error is not happening on hwservicemanager after changing path to library but still happens on vndkservicemanager | 17:14 |
genericv2 | copied files in hadk-hot to fix this, still same | 17:14 |
mal | hmm, that reminds me of an issue I had before on one device | 17:16 |
mal | what happens if you kill that vndservicemanager process, the process should restart automatically after that | 17:16 |
genericv2 | destroyed that process with signal 9 | 17:18 |
mal | is the error gone after that? | 17:18 |
genericv2 | yeah, it's gone i think | 17:19 |
mal | does that help with anything? | 17:19 |
genericv2 | nope, still on mi logo. Also, vndkservicemanager didin't restarted | 17:19 |
genericv2 | what about that could not find errors | 17:20 |
mal | hmm, why didn't it restart | 17:20 |
genericv2 | oh wait xD | 17:20 |
genericv2 | droid-hal-init: starting service 'system_suspend'... | 17:20 |
genericv2 | maybe? | 17:20 |
mal | show output of commands "systemctl" and "systemctl-user" | 17:21 |
mal | also whole journal log | 17:21 |
genericv2 | systemctl-user gave "Failed to connect to bus: No such file or directory" | 17:22 |
genericv2 | saving outputs of systemctl and journalctl now | 17:22 |
genericv2 | https://paste.opensuse.org/pastes/23f64775577d | 17:24 |
genericv2 | https://paste.opensuse.org/pastes/ede8e4f22f43 | 17:24 |
mal | journal log is incomplete, missing all early messages, "journalctl -b --no-pager" is the usual way and early enough so message are not lost | 17:29 |
Mister_Magister | mal: apparently someone claimed you were at fosdem hence confusion and i wanted to make sure :P | 17:29 |
mal | Mister_Magister: ok, no idea why anyone said that | 17:30 |
Mister_Magister | happens :P | 17:30 |
genericv2 | mal: https://paste.opensuse.org/73fcc63a8c38 | 17:32 |
genericv2 | is it okay now? | 17:33 |
mal | not much better, maybe increase the log size in /etc/systemd/journald.conf | 17:33 |
mal | I need to go out for a while, will be back in an hour or so | 17:34 |
genericv2 | Okay bye, waiting :) | 17:35 |
T42_ | <elros34> read generating logs section in hadk-hot | 17:41 |
genericv2 | this is log pro max, must be enough i guess xD: https://paste.opensuse.org/pastes/646ed7a08dfd | 17:47 |
T42_ | <elros34> its not about long list of repeated errors but getting them early and ending when nothing new appears | 17:49 |
genericv2 | still not enough? (Booting Linux on physical CPU 0x0) | 17:50 |
genericv2 | i'll save our changes to sparse while waiting | 17:58 |
T42_ | <elros34> have you tried strace vndservicemanager? | 18:01 |
genericv2 | yeah, it was in loop, waots 7 seconds and do something but i don't remember exactly what | 18:02 |
T42_ | <elros34> it crash immediately so you started it probably incorrectly) | 18:05 |
genericv2 | yeah probably | 18:07 |
genericv2 | it's trying to load that selinux library and crashes i think | 18:08 |
genericv2 | hwservicemanager is fine with that lib tho | 18:08 |
T42_ | <elros34> selinux stubs? Are you sure this is really needed? | 18:10 |
genericv2 | yeah that thingy. I'll try to disable it | 18:11 |
genericv2 | it worked i think, looks like vndkservicemanager is not dying anymore | 18:18 |
genericv2 | currently gatekeeperd is ded | 18:18 |
genericv2 | and hwservicemanager is sad about two hal's xD | 18:18 |
T42_ | <elros34> so remove this selinux stub library from every service | 18:19 |
genericv2 | but other two services with this lib looks happy. gatekeeper don't have anything related to it | 18:21 |
genericv2 | is removing still be better? | 18:22 |
T42_ | <elros34> of course it is. This was created for different case and it can cause issues and you proof it | 18:23 |
genericv2 | removed then | 18:24 |
mal | @elros34 my guess for vnd issue is that it gets started before linkerconfig is properly done which makes it load wrong binder lib | 18:30 |
mal | that happened for me on one device | 18:30 |
genericv2 | Also, can these block boot: SELinux : Unknown class service_manager | 18:30 |
genericv2 | And that hal errors | 18:31 |
genericv2 | mal: are you back or just checked once? | 18:32 |
T42_ | <elros34> mal: so far it works after removing selinux stubs, we will see if it happens again | 18:41 |
mal | @elros34 do the errors about binder mismatch still appear? | 18:42 |
T42_ | <elros34> we have to wait for new logs to see | 18:43 |
genericv2 | i'll send logcat & full journalctl | 18:43 |
genericv2 | logcat: https://paste.opensuse.org/26dc26c871e6 | 18:49 |
genericv2 | journal: https://paste.opensuse.org/b3a3123b8a07 | 18:49 |
genericv2 | looks like they don't appear anymore | 18:57 |
T42_ | <elros34> yeah because nothing works:0 | 19:07 |
genericv2 | :( | 19:07 |
genericv2 | i already lose my hope by the way xD | 19:07 |
genericv2 | but idk maybe | 19:07 |
genericv2 | some magic | 19:10 |
mal | just to be sure, is selinux setup correct in /etc | 19:10 |
genericv2 | yes it is. se is running at permissive | 19:11 |
genericv2 | https://paste.opensuse.org/pastes/3aec41222976 | 19:12 |
mal | and those files are copies not symlinks? | 19:15 |
mal | the file_contexts and policy.30 | 19:15 |
genericv2 | policy.30 -> /vendor/etc/selinux/precompiled_sepolicy | 19:16 |
genericv2 | file_contexts -> /vendor/etc/selinux/vendor_file_contexts | 19:16 |
genericv2 | these two are | 19:16 |
mal | are those links? | 19:16 |
genericv2 | yeah | 19:16 |
mal | replace them with the actual file | 19:16 |
genericv2 | -rw-r--r-- 1 root root 93314 Mar 15 16:48 file_contexts | 19:18 |
genericv2 | -rw-r--r-- 1 root root 1146062 Mar 15 16:49 policy.30 | 19:18 |
genericv2 | Done | 19:18 |
mal | now reboot and see if something changes | 19:18 |
genericv2 | i am not sure what happened but SOMETHING GOOD HAPPENED | 19:20 |
genericv2 | it atleast tried to start lipstick now, but it couldnt find some librarys | 19:21 |
genericv2 | including libbinder.so | 19:21 |
genericv2 | '/lib' is empty tho. | 19:21 |
genericv2 | / # ls lib | 19:21 |
genericv2 | ld-linux-aarch64.so.1 modules udev | 19:21 |
mal | don't guess what is relevant error and what is not | 19:23 |
genericv2 | sure thing | 19:24 |
mal | new logs as usual | 19:29 |
T42_ | <elros34> empty /lib sounds like installation failed | 19:32 |
genericv2 | logcat: https://paste.opensuse.org/4c9b74d09fc9 | 19:41 |
genericv2 | journal: https://paste.opensuse.org/4c02341836c5 | 19:41 |
T42_ | <elros34> for some reason you dont have selinux in enforce mode so I think you need these selinux stubs | 19:55 |
T42_ | <elros34> is /system/etc/init/hwservicemanager.rc same as that one in /usr/libexec? | 19:58 |
genericv2 | They look similar, but they are different | 20:01 |
T42_ | <elros34> suse of course baned me for opening link twice so check whether you have libandroidicu errors and fix that according to hadk-hot | 20:02 |
genericv2 | yes i had thast error | 20:03 |
genericv2 | Mar 15 17:39:25 Mi6 lipstick[2413]: library "libandroidicu.so" needed or dlopened by "/usr/libexec/droid-hybris/system/lib64/libmedia.so" is not accessible for the namespace "(default)" | 20:08 |
genericv2 | great | 20:08 |
genericv2 | i'll continue tomorrow. thanks | 20:08 |
T42_ | <elros34> check if hwcomposer works | 20:15 |
mal | that libandroidicu.so is the usual thing that it need to be symlinked usually to /odm | 20:21 |
mal | if it really can't be loaded | 20:21 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!