T42 | Enid %lastname% was added by: Enid %lastname% | 01:39 |
---|---|---|
T42 | 🏵$ERENDiPiTY🏵 %lastname% was added by: 🏵$ERENDiPiTY🏵 %lastname% | 11:34 |
T42 | <🏵$ERENDiPiTY🏵 %lastname%> Is there any Sailfish Port for xiaomi MiA1 (Tissot) ? | 11:34 |
T42 | <ankaos> @🏵$ERENDiPiTY🏵 %lastname% [Is there any Sailfish Port for xiaomi MiA1 (Ti …], I ported mi a1 | 12:38 |
electro575 | @elros34 : hi, i have appli audit=0. Now i have no GUI | 16:44 |
electro575 | DSME problem always, my journalctl -> https://dpaste.org/pq3m | 16:44 |
electro575 | my dmesg too -> https://dpaste.org/Q4kN | 16:45 |
electro575 | droid-hal-init -> /usr/bin/droid/droid-hal-early-init.sh: No such file or directory | 16:46 |
electro575 | libc: Unable to set property "sys.shutdown.requested" to "1": connection failed; errno=111 (Connection refused) | 16:46 |
T42 | <elros34> have you read /usr/lib/systemd/system/dsme.service? It will reboot device in case of many failures so mask it and run it manually maybe via gdb or strace to see why it fails. | 16:52 |
electro575 | okey thanks | 17:13 |
electro575 | @elros34 : access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) | 17:23 |
electro575 | all strace dsme -> https://dpaste.org/j7iy | 17:25 |
T42 | <elros34> it will not work that way, check dsme.service how it is started. I have never debug dsme | 17:29 |
electro575 | @elros34 : this service https://dpaste.org/ELhL | 17:35 |
T42 | <elros34> yeah you don't need to show me it I have same on device:P | 17:39 |
electro575 | yes, i don't know what can i do, my device is 32 bit | 17:40 |
electro575 | but, this is necessary to have this file ? ld.so.preload | 17:41 |
electro575 | my device don't want to boot on GUI | 17:41 |
T42 | <elros34> ld.so.preload i's not an error, ignore it. check logcat your serviceemanager faisl, you should already know that. Maybe try: strace -f dsme -- -p /usr/lib/dsme/startup.so | 17:42 |
electro575 | droid-hal-init is failed | 17:42 |
electro575 | the log of -> https://dpaste.org/O16r | 17:44 |
T42 | <elros34> does it segfault if you start it without strace? or it just happen when it's started via systemd service? | 17:49 |
T42 | <elros34> in dmesg you have (dsme) (1123): undefined instruction: pc=c056980c but only once | 17:50 |
electro575 | journalctl -> systemd[1]: dsme.service: Main process exited, code=killed, status=11/SEGV | 17:50 |
T42 | <elros34> yeah I know but what happen if you run it manually without strace | 17:51 |
electro575 | i have never tried to launch dsme binary alone without all system | 17:51 |
electro575 | just this -> https://dpaste.org/6jgu | 17:52 |
electro575 | dsme looking for watchdog | 17:52 |
T42 | <elros34> c'mon I just give you the command how to start it 5 minutes ago | 17:53 |
electro575 | how can i check if watchdog is enable ? with zcat /proc/zconfig ? | 17:53 |
T42 | <elros34> dsme -- -p /usr/lib/dsme/startup.so | 17:53 |
electro575 | no segfault | 17:54 |
electro575 | DSME 0.81.2 starting up | 17:54 |
electro575 | dsme wdd: Could not open any watchdog filesdsme wdd: no WD's opened; WD kicking disabled | 17:54 |
electro575 | that's all | 17:54 |
T42 | <elros34> so you need to figure out why it fails via systemd | 17:55 |
electro575 | okey | 17:56 |
electro575 | via dsme.service file ? | 17:56 |
electro575 | okey, understand | 17:57 |
T42 | <elros34> I would first try to remove Private*/ Protect* and all these sandbox options and StartLimitAction=reboot so it will not reboot your device | 17:57 |
electro575 | ok | 17:58 |
electro575 | @elros34 : the next step is debug droid-hal-init ? | 18:02 |
electro575 | droid-hal-init: Failed to initialize property area | 18:02 |
electro575 | dsme : active (running) | 18:03 |
electro575 | i have too this : encsfa[1565]: Device /dev/sailfish/home doesn't exist or access denied. | 18:04 |
T42 | <elros34> Figure out which option cause issue | 18:04 |
T42 | <elros34> probably PrivateNetwork | 18:04 |
T42 | <elros34> and check logcat | 18:04 |
electro575 | @elros34 : ok, good for GUI | 18:24 |
T42 | <elros34> so which option in dsme.service caused failure? | 18:24 |
electro575 | but reboot after init | 18:24 |
electro575 | not again found, it just a line ? | 18:25 |
electro575 | my modification it's about a lib64 simply | 18:25 |
T42 | <elros34> https://irclogs.sailfishos.org/logs/%23sailfishos-porters/latest.log.html#t2021-01-30T17:57:49 | 18:25 |
electro575 | yes | 18:26 |
electro575 | reboot and reboot now, ... i'm looking for | 18:29 |
electro575 | i have just uncomment Protect... | 18:30 |
electro575 | two line | 18:30 |
electro575 | @elros34: i'm eating, just break few minutes | 18:32 |
electro575 | @elros34 : it's two lines Protect which do bootloop at 5 sec startup | 18:43 |
electro575 | with comment ProvateNetwork | 18:44 |
electro575 | PrivateNetwork | 18:44 |
T42 | <elros34> so just PrivateNetwork=no is not enough? Create in sparse/etc/systemd/system/dsme.service.d/override.conf file nad put there: [Service] and then in new line all options you want to override. That way you will not have to edit dsme.service every time you install sailfish | 18:56 |
electro575 | yes, i'm looking for the right conf | 18:59 |
electro575 | @elros34 : i don't arrived to find the right configuration, | 19:05 |
electro575 | i have bootloop or dsme failed | 19:06 |
T42 | <sayanthtezro> Can Someone port this os to violet? | 19:07 |
T42 | <sayanthtezro> https://github.com/MiCode/Xiaomi_Kernel_OpenSource/tree/violet-p-oss | 19:08 |
T42 | <sayanthtezro> https://github.com/LineageOS/android_device_xiaomi_violet | 19:08 |
electro575 | sorry, don't know | 19:14 |
electro575 | @elros34 : i can comment this two line | 19:15 |
electro575 | #ProtectHome=yes | 19:15 |
electro575 | #ProtectSystem=full | 19:15 |
electro575 | @elros34 : if i launch this cmd : dsme -- -p /usr/lib/dsme/startup.so | 19:27 |
electro575 | the security code is asking and GUI work more | 19:28 |
T42 | <elros34> sorry I don't get. You claimed dsme.service worked now you are running it manually. | 19:31 |
electro575 | yes :/ | 19:35 |
electro575 | but droid-hal-init failed | 19:35 |
electro575 | i have this | 19:36 |
electro575 | PrivateTmp=no | 19:36 |
electro575 | PrivateNetwork=true | 19:36 |
electro575 | #ProtectHome=yes | 19:36 |
electro575 | #ProtectSystem=full | 19:36 |
electro575 | /home/sailfish is not create too | 19:37 |
T42 | <elros34> did you fixed failing servicemanager? | 19:39 |
electro575 | yes, it's fix | 19:39 |
electro575 | i get some log again to debug, but dsme it's a question ! | 19:43 |
electro575 | @elros34, if you see another problem to fix in this logs, say it to me | 19:50 |
electro575 | dmesg -> https://dpaste.org/8evn | 19:50 |
electro575 | journalctl -> https://dpaste.org/Kd33 | 19:50 |
electro575 | logcat -> https://dpaste.org/Pm86 | 19:50 |
electro575 | i will looking for another choose to debug | 19:50 |
electro575 | have a nice evening, bye thanks | 19:58 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!