Tuesday, 2024-02-06

*** amccarthy is now known as Guest179506:41
*** amccarthy_ is now known as amccarthy06:41
genericv2https://paste.opensuse.org/pastes/cdffa13d1f8f Lastest logcat. I am currently trying to fix droid-hal-init crash15:30
T42_<elros34> isn't it obvious from few first lines? You already fixed it15:32
genericv2Yeah, 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 selinux15:33
T42_<elros34> but kernel prints: SELinux : Starting in permissive mode. Did you change anythig else selinux related?15:35
genericv2Ohh, thats strange. It must be enabled.15:35
genericv2I am using the last kernel with working se right now15:35
genericv2ah15:35
genericv2config15:35
genericv2forget to copy some files yesterday15: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 again15:37
genericv2yeah i need to add these to sparse15:42
genericv2fixed selinux15:42
malyeah, always add changes to config repo or other places once you have verified some gets fixed16:05
malI 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 time16:06
genericv2mal: oof thats bad16:16
genericv2Parcel  : Expecting header 0x53595354 but found 0x564e4452. Mixing copies of libbinder?16:24
genericv2Currently this is the issue16:24
T42_<elros34> use search function https://piggz.co.uk/sailfishos-porters-archive/index.php16:26
malgenericv2: are you sure you have the correct gbinder.conf as mentioned some days ago?16:26
genericv2[General]16:26
genericv2ApiLevel = 3116:26
genericv2thats it. The file at sparse 1316:27
genericv2must i make it 33?16:27
genericv2okay remembered it, it must be 3116:29
genericv2Also these:16:29
genericv2Mar 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
genericv2Mar 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
malwhich process is giving those "Mixing copies of libbinder" messages=16:31
Mister_Magistermal: how was fosdem16:32
genericv2mal: it only says parcel in logcat, let me check again16:33
genericv2i am stuck again16:46
malMister_Magister: I have never been to fosdem17:02
Mister_Magisterhuh17:03
malgenericv2: logcat tells the pid of the process logging the message which you can use to check "ps aux" output for the process name17:04
genericv2"/vendor/bin/vndservicemanager /dev/vndbinder"17:12
genericv2this "needed or dlopened by" error is not happening on hwservicemanager after changing path to library but still happens on vndkservicemanager17:14
genericv2copied files in hadk-hot to fix this, still same17:14
malhmm, that reminds me of an issue I had before on one device17:16
malwhat happens if you kill that vndservicemanager process, the process should restart automatically after that17:16
genericv2destroyed that process with signal 917:18
malis the error gone after that?17:18
genericv2yeah, it's gone i think17:19
maldoes that help with anything?17:19
genericv2nope, still on mi logo. Also, vndkservicemanager didin't restarted17:19
genericv2what about that could not find errors17:20
malhmm, why didn't it restart17:20
genericv2oh wait xD17:20
genericv2droid-hal-init: starting service 'system_suspend'...17:20
genericv2maybe?17:20
malshow output of commands "systemctl" and "systemctl-user"17:21
malalso whole journal log17:21
genericv2systemctl-user gave "Failed to connect to bus: No such file or directory"17:22
genericv2saving outputs of systemctl and journalctl now17:22
genericv2https://paste.opensuse.org/pastes/23f64775577d17:24
genericv2https://paste.opensuse.org/pastes/ede8e4f22f4317:24
maljournal log is incomplete, missing all early messages, "journalctl -b --no-pager" is the usual way and early enough so message are not lost17:29
Mister_Magistermal: apparently someone claimed you were at fosdem hence confusion and i wanted to make sure :P17:29
malMister_Magister: ok, no idea why anyone said that17:30
Mister_Magisterhappens :P17:30
genericv2mal: https://paste.opensuse.org/73fcc63a8c3817:32
genericv2is it okay now?17:33
malnot much better, maybe increase the log size in /etc/systemd/journald.conf17:33
malI need to go out for a while, will be back in an hour or so17:34
genericv2Okay bye, waiting :)17:35
T42_<elros34> read generating logs section in hadk-hot17:41
genericv2this is log pro max, must be enough i guess xD: https://paste.opensuse.org/pastes/646ed7a08dfd17:47
T42_<elros34> its not about long list of repeated errors but getting them early and ending when nothing new appears17:49
genericv2still not enough? (Booting Linux on physical CPU 0x0)17:50
genericv2i'll save our changes to sparse while waiting17:58
T42_<elros34> have you tried strace vndservicemanager?18:01
genericv2yeah, it was in loop, waots 7 seconds and do something but i don't remember exactly what18:02
T42_<elros34> it crash immediately so you started it probably incorrectly)18:05
genericv2yeah probably18:07
genericv2it's trying to load that selinux library and crashes i think18:08
genericv2hwservicemanager is fine with that lib tho18:08
T42_<elros34> selinux stubs? Are you sure this is really needed?18:10
genericv2yeah that thingy. I'll try to disable it18:11
genericv2it worked i think, looks like vndkservicemanager is not dying anymore18:18
genericv2currently gatekeeperd is ded18:18
genericv2and hwservicemanager is sad about two hal's xD18:18
T42_<elros34> so remove this selinux stub library from every service18:19
genericv2but other two services with this lib looks happy. gatekeeper don't have anything related to it18:21
genericv2is 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 it18:23
genericv2removed then18:24
mal@elros34 my guess for vnd issue is that it gets started before linkerconfig is properly done which makes it load wrong binder lib18:30
malthat happened for me on one device18:30
genericv2Also, can these block boot: SELinux : Unknown class service_manager18:30
genericv2And that hal errors18:31
genericv2mal: 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 again18:41
mal@elros34 do the errors about binder mismatch still appear?18:42
T42_<elros34> we have to wait for new logs to see18:43
genericv2i'll send logcat & full journalctl18:43
genericv2logcat: https://paste.opensuse.org/26dc26c871e618:49
genericv2journal: https://paste.opensuse.org/b3a3123b8a0718:49
genericv2looks like they don't appear anymore18:57
T42_<elros34> yeah because nothing works:019:07
genericv2:(19:07
genericv2i already lose my hope by the way xD19:07
genericv2but idk maybe19:07
genericv2some magic19:10
maljust to be sure, is selinux setup correct in /etc19:10
genericv2yes it is. se is running at permissive19:11
genericv2https://paste.opensuse.org/pastes/3aec4122297619:12
maland those files are copies not symlinks?19:15
malthe file_contexts and policy.3019:15
genericv2policy.30 -> /vendor/etc/selinux/precompiled_sepolicy19:16
genericv2file_contexts -> /vendor/etc/selinux/vendor_file_contexts19:16
genericv2these two are19:16
malare those links?19:16
genericv2yeah19:16
malreplace them with the actual file19:16
genericv2-rw-r--r--    1 root     root         93314 Mar 15 16:48 file_contexts19:18
genericv2-rw-r--r--    1 root     root       1146062 Mar 15 16:49 policy.3019:18
genericv2Done19:18
malnow reboot and see if something changes19:18
genericv2i am not sure what happened but SOMETHING GOOD HAPPENED19:20
genericv2it atleast tried to start lipstick now, but it couldnt find some librarys19:21
genericv2including libbinder.so19:21
genericv2'/lib' is empty tho.19:21
genericv2/ # ls lib19:21
genericv2ld-linux-aarch64.so.1  modules                udev19:21
maldon't guess what is relevant error and what is not19:23
genericv2sure thing19:24
malnew logs as usual19:29
T42_<elros34> empty /lib sounds like installation failed19:32
genericv2logcat: https://paste.opensuse.org/4c9b74d09fc919:41
genericv2journal: https://paste.opensuse.org/4c02341836c519:41
T42_<elros34> for some reason you dont have selinux in enforce mode so I think you need these selinux stubs19:55
T42_<elros34> is /system/etc/init/hwservicemanager.rc same as that one in /usr/libexec?19:58
genericv2They look similar, but they are different20: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-hot20:02
genericv2yes i had thast error20:03
genericv2Mar 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
genericv2great20:08
genericv2i'll continue tomorrow. thanks20:08
T42_<elros34> check if hwcomposer works20:15
malthat libandroidicu.so is the usual thing that it need to be symlinked usually to /odm20:21
malif it really can't be loaded20:21

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!