Tuesday, 2024-08-27

T42<nalakawula> Do you guys by any chance can help me on how to capture install log and boot log? I'm following this guide to install but stuck on boot loop and want to capture the log.08:25
T42<nalakawula> https://github.com/sailfish-on-ginkgo/main?tab=readme-ov-file#how-to-install08:25
T42<nalakawula> 08:25
T42<nalakawula> Thanks08:25
T42<elros34> twrp installation log should be in /tmp/recovery.log or something like that. Make sure installation finished without error08:28
T42<nalakawula> the installation is finished without error. I think the error is not related to the OS08:46
T42<nalakawula> ```08:46
T42<nalakawula>  Installing Sailfish OS 4.5.0.2408:46
T42<nalakawula>                    Please wait ...08:46
T42<nalakawula> Archive:  /sdcard/sailfishos-4.5.0.24-20240114-ginkgo.zip08:46
T42<nalakawula>   inflating: /tmp/hybris-installer/sfos-rootfs.tar.bz208:46
T42<nalakawula>   inflating: /tmp/hybris-installer/META-INF/com/google/android/updater-script08:46
T42<nalakawula>   inflating: /tmp/hybris-installer/META-INF/com/google/android/update-binary08:46
T42<nalakawula>   inflating: /tmp/hybris-installer/tar08:46
T42<nalakawula> hybris-installer: Patching TWRP's broken tar...08:46
T42<nalakawula> hybris-installer: Extracting SFOS rootfs...08:46
T42<nalakawula> ..08:46
T42<nalakawula> long file list here08:46
T42<nalakawula> ..08:47
T42<nalakawula> hybris-installer: Disabling forced encryption in vendor fstab...08:47
T42<nalakawula> hybris-installer: Mount unit for persist not found; copying current /persist to rootfs...08:47
T42<nalakawula> hybris-installer: Moving back droid-boot image...08:47
T42<nalakawula> hybris-installer: Writing hybris-boot image...08:47
T42<nalakawula> 26880+0 records in08:47
T42<nalakawula> 26880+0 records out08:47
T42<nalakawula> 13762560 bytes transferred in 0.590 secs (23326372 bytes/sec)08:47
T42<nalakawula> hybris-installer: Symlinking boot images to /sdcard...08:47
T42<nalakawula> ln: cannot create symbolic link from '/data/.stowaways/sailfishos/boot/droid-boot.img' to '/sdcard//droid-boot.img': File exists08:47
T42<nalakawula> ln: cannot create symbolic link from '/data/.stowaways/sailfishos/boot/hybris-boot.img' to '/sdcard//hybris-boot.img': File exists08:47
T42<nalakawula> hybris-installer: Sailfish OS installed successfully.08:47
T42<nalakawula> __bionic_open_tzdata: couldn't find any tzdata when looking for CST6CDT,M3.2.0,M11.1.0!08:47
T42<nalakawula> __bionic_open_tzdata: couldn't find any tzdata when looking for posixrules!08:47
T42<nalakawula> Segmentation fault08:47
T42<nalakawula> expr: Unexpected end of input08:47
T42<nalakawula> expr: Unexpected extra input '2'08:47
T42<nalakawula> 08:47
T42<elros34> why do you use not latest release? Looks good except this  segmentation fault. Use pastebin services for such long pastes08:50
T42<nalakawula> Same thing happen to the latest release too.09:02
T42<nalakawula> I tried the older release because of curiosity if the issue only affect latest version.09:02
T42<nalakawula> 09:02
T42<nalakawula> Maybe i need another miui a9 or another lineage 16?09:02
T42<nalakawula> currently i use  V10.3.2.0.PCOIDXM A9 -> then flash lineage-16.0-20191121-UNOFFICIAL-ginkgo.zip -> all good, i can boot to home screen.09:02
T42<nalakawula> But when i format the data to ext4 and flash sailfish I got boot loop 😂09:02
T42<elros34> that is the question for maintainer. I can see this image doesn't have disabled telnet so you should be able to use it: check host dmesg when you power device up, "telnet 192.168.2.15 2323"09:09
T42<nalakawula> tried several times09:21
T42<nalakawula> ```09:21
T42<nalakawula> telnet 192.168.2.15 232309:21
T42<nalakawula> Trying 192.168.2.15...09:21
T42<nalakawula> telnet: Unable to connect to remote host: No route to host```09:21
T42<nalakawula> 09:21
T42<nalakawula> 09:21
T42<nalakawula> I can see the usb eth is connected then disconnected, align with the boot loop09:21
T42<WunderW_PL> I had similar error I think, but configuring usb networking helped09:22
T42<elros34> "touch /data/.stowaways/sailfishos/init_enter_debug2" in twrp and try again: https://sailfishos.wiki/books/hadk/page/hadk-hot#bkmrk-2022.07.31%3A-generati09:23
T42<nalakawula> I can telnet now:09:46
T42<nalakawula> ```09:46
T42<nalakawula> / #  tail -f /init.log09:46
T42<nalakawula> + sync09:46
T42<nalakawula> + inject_loop09:46
T42<nalakawula> + INJ_DIR=/init-ctl09:46
T42<nalakawula> + INJ_STDIN=/init-ctl/stdin09:46
T42<nalakawula> + mkdir /init-ctl09:46
T42<nalakawula> + mkfifo /init-ctl/stdin09:46
T42<nalakawula> + echo 'This entire directory is for debugging init - it can safely be removed'09:46
T42<nalakawula> + echo '########################## Beginning inject loop'09:47
T42<nalakawula> ########################## Beginning inject loop```09:47
T42<elros34> enabled persistent journal logging, ready info on screen, continue booting and grab system d log09:50
T42<nalakawula> Great, i can grab system.journal and convert it to plaintext:10:07
T42<nalakawula> https://pastebin.com/Uz0waG2210:07
T42<elros34> is that really all? I do not see any bootloop10:18
T42<elros34> did  you use journalctl --no-page command?10:18
T42<nalakawula> I was copied that log from twrp: /data/.stowaways/sailfishos/var/log11:56
T42<nalakawula> Here another log that i grab from journalctl --no-page --follow:11:57
T42<nalakawula> https://pastebin.com/iHvdVHyB12:00
T42<nalakawula> 12:00
T42<nalakawula> On terminal 1:12:00
T42<nalakawula> - touch /data/.stowaways/sailfishos/init_enter_debug212:00
T42<nalakawula> - telnet12:00
T42<nalakawula> - journalctl --no-page --follow12:00
T42<nalakawula> 12:00
T42<nalakawula> On terminal 2:12:00
T42<nalakawula> - telnet12:00
T42<nalakawula> - echo "continue" >/init-ctl/stdin12:00
T42<nalakawula> https://pastebin.com/iHvdVHyB12:16
T42<nalakawula> 12:16
T42<nalakawula> On twrp:12:16
T42<nalakawula> - touch /data/.stowaways/sailfishos/init_enter_debug212:16
T42<nalakawula> 12:16
T42<nalakawula> On terminal 1:12:16
T42<nalakawula> - telnet12:16
T42<nalakawula> - journalctl --no-page --follow12:16
T42<nalakawula> 12:16
T42<nalakawula> On terminal 2:12:16
T42<nalakawula> - telnet12:16
T42<nalakawula> - echo "continue" >/init-ctl/stdin (edited)12:17
T42<nalakawula> https://pastebin.com/iHvdVHyB12:17
T42<nalakawula> 12:17
T42<nalakawula> On twrp:12:17
T42<nalakawula> - touch /data/.stowaways/sailfishos/init_enter_debug212:17
T42<nalakawula> - reboot12:17
T42<nalakawula> 12:17
T42<nalakawula> On terminal 1:12:17
T42<nalakawula> - telnet12:17
T42<nalakawula> - journalctl --no-page --follow12:17
T42<nalakawula> 12:17
T42<nalakawula> On terminal 2:12:17
T42<nalakawula> - telnet12:17
T42<nalakawula> - echo "continue" >/init-ctl/stdin (edited)12:17
*** rdr_ is now known as rdr14:09
mal@fredldotme are you still here?15:24
T42<fredldotme> I am indeed15:51
mal@fredldotme about that libhybris PR, are there issues with it for you?15:57
malhave you tested it?16:00
T42<fredldotme> I'll take a look in a few minutes, just came home16:01
malok16:02
T42<fredldotme> yup, this looks promising!16:29
mal@fredldotme thanks for testing, we'll that17:15
mal*we'll merge that17:15
T42<elros34> @sumarsono: --no-page and --follow are wrong, use what I asked so journalctl --no-page or "--no-tail -f" according to linked hadk-hot. Did you enable persistent journal?21:23
T42<elros34> ah I didn't notice there more logs after few white lines21:27

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