T42 | <LittleBoy8506> if i use CM 14.1 then which hybris version is compatible ? | 05:40 |
---|---|---|
T42 | <LittleBoy8506> 11.0 ? | 05:41 |
vknecht | 14.1 :-) | 05:42 |
T42 | <LittleBoy8506> and it require to install CM14.1 before flashing sailfish ? | 05:43 |
vknecht | first choose a working CM/LOS base, flash it and test ; so if the base is 14.1, then use hybris-14.1 | 05:44 |
vknecht | yes, the base rom has to be flashed before sfos | 05:44 |
T42 | Manishmaen was added by: Manishmaen | 06:57 |
Mister_Magister | o/ | 07:42 |
T42 | singhnsk was added by: singhnsk | 08:41 |
T42 | <LittleBoy8506> https://paste.ubuntu.com/p/kR4Bsqtz3S/ | 08:45 |
T42 | <Zosenko> Anybody here have Jolla Tablet (working) for sale, pls?🙏 | 09:15 |
T42 | <LittleBoy8506> HABUILD_SDK [z2_plus] s-8506@s8506-X556UR:~/hadk$ rpm/dhd/helpers/build_packages.sh | 10:13 |
T42 | <LittleBoy8506> ./rpm/dhd/helpers/util.sh: line 67: zypper: command not found | 10:13 |
T42 | <LittleBoy8506> ./rpm/dhd/helpers/util.sh: line 92: sb2: command not found | 10:13 |
T42 | <LittleBoy8506> * Building rpm/droid-hal-z2_plus.spec | 10:13 |
T42 | <LittleBoy8506> ./rpm/dhd/helpers/util.sh: line 249: mb2: command not found | 10:13 |
T42 | <LittleBoy8506> * Check /home/s-8506/hadk/droid-hal-z2_plus.log for full log. | 10:13 |
T42 | <LittleBoy8506> !! Error: $DEVICE is undefined. Please run hadk | 10:29 |
T42 | <LittleBoy8506> @LittleBoy8506 [!! Error: $DEVICE is undefined. Please run had …], now getting this | 10:30 |
Mister_Magister | sometimes i wonder how people do this | 10:31 |
deathmist | hey, every single partition (~70) of my OnePlus 5 on 15.1 base is strangely shown in Settings > Storage like this https://i.imgur.com/0ludulv.png what could cause this? journalctl https://pastebin.com/xP3dBeEe all systemd units https://pastebin.com/9mUE1ppa | 12:02 |
mal | deathmist: could be some detection issue caused by the fact that the path contains "sd" | 12:05 |
deathmist | mal: got distracted for a bit, which path are you talking about? it seems only TheKit had a similar issue back in 2017 | 13:38 |
mal | deathmist: the device path | 13:42 |
mal | deathmist: your device has device nodes where path has some sd* so it would in theory cause incorrect match somewhere | 13:43 |
deathmist | mal: "sys-devices-soc-1da4000.ufshc-host0-target0:0:0-0:0:0:0-block-sda-sda1.device" seems that is the case and I'll confirm that in a bit, which project should I look at in order to figure out a patch for this? | 14:12 |
mal | my guess is https://git.merproject.org/mer-core/udisks2 | 14:15 |
deathmist | I'll look into that and some udev rules, thanks :) | 15:31 |
electro5751 | @elros34 : hi elros, how are you ? | 17:00 |
electro5751 | @mal : hi mal, how are you ? | 17:01 |
electro5751 | @vknecht : hi, have you passed a good day ? | 17:02 |
mal | electro5751: before we do anything else you need to do what elros34 told you to do last night | 17:05 |
Danct12 | good night | 17:06 |
Danct12 | anyway, found that the calling issue is in fact nothing to do with the modem nor the unknown ril command | 17:06 |
electro5751 | ok, i say it to you, just 1 min | 17:06 |
electro5751 | i can give to you my all changes | 17:06 |
electro5751 | bye Danct12 | 17:07 |
mal | Danct12: what was it then? | 17:07 |
Danct12 | nah not a bye | 17:07 |
Danct12 | just developing in midnight | 17:07 |
Danct12 | mal: it was pulseaudio couldn't route the call to voicecall profile properly im sure | 17:08 |
Danct12 | used jusa's pulseaudio dev branch and deathmist hacky script make calls works | 17:08 |
mal | ok, good | 17:08 |
mal | would be interesting to know why sms doesn't work | 17:08 |
Danct12 | still a very hacky and temporary method anyway, i wouldn't recommend using it as a permanent solution | 17:09 |
mal | sure | 17:10 |
Danct12 | sms actually works for me, i could receive messages from the spammy services from my carrier | 17:10 |
Danct12 | and sending messages works too, just tried | 17:11 |
mal | ok, good | 17:11 |
mal | Danct12: can you show the hacky script you use? | 17:12 |
Danct12 | https://github.com/sailfish-santoni/droid-config-santoni/blob/969f84ea197f65d341f675772f2f7d94b010a7bc/sparse/usr/bin/droid/callaudiod.sh | 17:13 |
mal | Danct12: to which profile does pulseaudio set those by default? | 17:14 |
mal | ah, voicecall-voice1 and so on | 17:16 |
Danct12 | those aren't available for the standard pulseaudio-modules-droid anyway | 17:17 |
Danct12 | https://github.com/jusa/pulseaudio-modules-droid/tree/dev | 17:17 |
electro575 | mal, my changes -> https://dpaste.de/TDJf | 17:29 |
Danct12 | just for curiousity, what is the song that is being played for the headset playback on csd? | 17:29 |
mal | electro575: I didn't ask for changes, I asked you to do what elros said | 17:30 |
electro575 | elros34 was said to me : comment out (add # at the beggining of line) "exec /lib/systemd/systemd unit=$startup_target" in /sbin/preinit | 17:30 |
electro575 | now uncomment exec /lib/systemd in /sbin/preinit, reboot, echo contine, wait for few secund and grab dmesg | 17:30 |
electro575 | just this | 17:30 |
mal | electro575: didn't he also say to revert the kernel changes I told and use the ones before that | 17:30 |
mal | electro575: the defconfig changes in that are not the ones he said to use | 17:31 |
electro575 | no, see the end | 17:31 |
mal | ? | 17:32 |
electro575 | DEVICE-disable droid-hal-preinit & user@100000.service | 17:32 |
electro575 | DEVICE-vi /etc/systemd/journald.conf | 17:32 |
electro575 | DEVICE-disable watchdog | 17:32 |
electro575 | <elros34> comment out (add # at the beggining of line) "exec /lib/systemd/systemd unit=$startup_target" in /sbin/preinit | 17:32 |
mal | that has nothing to do with kernel changes | 17:32 |
electro575 | have this : Dmesg -> <4>[ 1043.392873] c0 preinit: (1043.39) Welcome to Sailfish OS 3.0.3.10 (Hossa) | 17:32 |
electro575 | and this : <T42> <elros34> now uncomment exec /lib/systemd in /sbin/preinit, reboot, echo contine, wait for few secund and grab dmesg | 17:32 |
mal | electro575: listen to what I say, the kernel defconfig changes you have in that would require changes to init-script | 17:32 |
electro575 | okey | 17:33 |
mal | and elros said the correct changes he wants you to use would not require changes | 17:33 |
mal | electro575: find the backup of the previous defconfig I told you | 17:33 |
electro575 | previous defconfig is ? the original defconfig you download at the beginning ? | 17:34 |
mal | the one from maybe 2 or 3 days ago before I said to use the changes in a link I gave | 17:34 |
electro575 | if you want, but to do what ? | 17:35 |
mal | I specifically told you to take a backup of the defconfig before you did those changes, now find the backup | 17:35 |
electro575 | ok, if you want | 17:35 |
electro575 | but not really mainly changes i noticed | 17:36 |
mal | electro575: there is a very big difference between those | 17:36 |
electro575 | ok, we will see the diff with the original file | 17:37 |
mal | electro575: I still don't know if you modified kernel checker and init-script | 17:37 |
electro575 | i don't have modify init-script and kernel checker | 17:38 |
mal | then there is no way you could have used the defconfig changes you just gave in that link | 17:38 |
electro575 | we can reset all config and try again to debug | 17:39 |
mal | electro575: how many times do I have to say the same thing, I told you what defconfig version to use and you still don't do it | 17:40 |
electro575 | ok, i try to find old config | 17:40 |
mal | electro575: and you give wrong information, the defconfig changes in last link you gave are impossible to use without init-script changes | 17:40 |
electro575 | so, i will take original defconfig | 17:41 |
mal | the device too would stop very early in the boot and you would only have telnet in port 23 | 17:41 |
mal | what original? | 17:41 |
electro575 | the first download defconfig t0lte | 17:42 |
mal | I didn't ask to use that | 17:42 |
electro575 | i'm sorry, i'm not expert in sailfishOS, i don't know what i can doing for debug | 17:42 |
mal | this has nothing to do with sailfish, just simple logic | 17:43 |
mal | I asked you to find the backup I told you to take, are you sure you really too a backup? | 17:43 |
electro575 | defconfig original file must changes or not ? | 17:43 |
electro575 | due to kernel checker ? | 17:43 |
electro575 | kernel checker give out ERROR and WARNING | 17:43 |
electro575 | How Fix it and it's an obligation to have 0 ERROR ? | 17:44 |
mal | electro575: so you really didn't understand anything I just said | 17:44 |
mal | ÝOU DO NOT USE THE UNMODIFIED LINEAGEOS DEFCONFIG | 17:45 |
mal | electro575: answer this question, did you take a backup of the modified defconfig two or three days ago when I asked? | 17:45 |
electro575 | ok, don't cry, i understand it's not really good until now | 17:45 |
electro575 | yes | 17:45 |
mal | so where is it | 17:46 |
electro575 | i search | 17:46 |
mal | not a very good backup if you cannot even find it | 17:46 |
electro575 | file : lineageos_t0lte_defconfig_2019_07_24 | 17:47 |
mal | so now use that | 17:47 |
electro575 | ~/hadk/kernel/samsung/smdk4412/arch/arm/configs/ | 17:47 |
electro575 | it's on my computer | 17:47 |
electro575 | so, i make hybris-boot | 17:48 |
electro575 | and flash it | 17:48 |
electro575 | ? | 17:48 |
mal | first show what changes the file has | 17:48 |
electro575 | ok | 17:48 |
mal | go to ~/hadk/kernel/samsung/smdk4412 and run "git diff" then show output of that | 17:49 |
electro575 | how cat all | 17:50 |
mal | ? | 17:50 |
electro575 | +CONFIG_AUDIT=n | 17:50 |
Danct12 | git diff > gitdiff.txt | 17:51 |
Danct12 | is this the command you're looking for? | 17:51 |
electro575 | y | 17:51 |
electro575 | https://dpaste.de/WxQU | 17:51 |
electro575 | wrong paste | 17:52 |
electro575 | mal , https://dpaste.de/N94f | 17:52 |
mal | I don't understand, did you at some point commit something to your local kernel git? | 17:55 |
electro575 | not until the beginning i use hack pdf | 17:56 |
mal | what does "git log" say in ~/hadk/kernel/samsung/smdk4412 | 17:56 |
electro575 | the file has | 17:56 |
electro575 | hard | 17:58 |
electro575 | 160Mo of log | 17:58 |
mal | electro575: I didn't want all of it | 17:58 |
mal | only the first things it prints | 17:58 |
electro575 | when i tape git log | 17:59 |
mal | soon I will give up | 17:59 |
electro575 | ok | 18:00 |
electro575 | so, we stop ? | 18:00 |
mal | electro575: DO WHAT I SAID!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! | 18:01 |
electro575 | https://dpaste.de/2ep6 | 18:01 |
electro575 | i don't know if it's the last log | 18:01 |
electro575 | but i paste the first log i saw | 18:01 |
electro575 | sorry, i don't understand i will give up | 18:02 |
mal | electro575: that is not correct, the first lines are missing, you type "git log", it will print something, copy the first 20-30 lines and show those | 18:02 |
electro575 | i will paste you two part | 18:03 |
electro575 | as it will be okey | 18:04 |
mal | two parts? I don't understand | 18:04 |
mal | you only need to show me about 20-30 lines of what it prints | 18:04 |
mal | how is it possible you cannot understand that | 18:04 |
electro575 | in up | 18:04 |
electro575 | or down | 18:05 |
electro575 | after type git log | 18:05 |
T42 | <elros34> mal: if you talk about DEVTMPFS*=n then IIRC they are ignored and enabled anyway by this kernel | 18:05 |
mal | @elros34 yes, those looked wrong | 18:05 |
mal | @elros34 very difficult to get anything done | 18:05 |
electro575 | https://dpaste.de/9hOz | 18:05 |
mal | electro575: you said you didn't commit anything and there you have a commit made by you | 18:06 |
T42 | <elros34> I remember he said few theys ago these devtmpfs were enabled even when he disable them | 18:06 |
mal | ok | 18:06 |
mal | @elros34 so you think the changes in this link are reasonable https://dpaste.de/TDJf ? | 18:07 |
electro575 | i'm sorry if i had wrong things | 18:07 |
electro575 | it's not my ambition | 18:07 |
mal | electro575: so we are still waiting for you to do what was asked yesterday | 18:08 |
electro575 | say to me what i must do | 18:08 |
electro575 | i will doing | 18:08 |
electro575 | i have gave you my changes log | 18:09 |
electro575 | in a paste | 18:09 |
T42 | <elros34> mal: looks good except AUDIT=n SECURITY_SELINUX=n | 18:09 |
electro575 | If you or elros34 want to help debugging, i'm ready to do | 18:11 |
mal | @elros34 I'm not sure how to proceed, the defconfig he now has is not exactly that anymore | 18:11 |
mal | getting anything done takes such a long time always | 18:13 |
Danct12 | alright, is there any application to test fm radio? | 18:13 |
Danct12 | fm radio tests from csd doesn't seem to work for me since the button is always blacked out even with the headphone plugged | 18:13 |
Danct12 | headset detection works though, so it does detect that a headphone is plugged | 18:14 |
mal | Danct12: did you add all needed things for fm radio? | 18:14 |
mal | Danct12: fm radio is included in media app if you have the correct package installed | 18:14 |
Danct12 | yes, i did have fm radio for qcom enabled | 18:15 |
Danct12 | https://github.com/sailfish-santoni/droid-config-santoni/blob/master/patterns/jolla-hw-adaptation-santoni.yaml#L87-L89 | 18:15 |
Danct12 | not sure which media app | 18:16 |
mal | Danct12: and the config stuff neede for fm radio? | 18:16 |
mal | Danct12: the latter of those is the media app plugin | 18:16 |
T42 | <elros34> mal: I would not care that much about defconfig right now. He has flashed working kernel so lets grab first journalctl at least to confirm that the bootloop issue is caused by writing "magic close" to watchdog. I tried yesterday but I fail. | 18:16 |
mal | @elros34 can he even get to journal if the device reboots in preinit? | 18:17 |
mal | @elros34 ok, that's what I also asked him to do | 18:17 |
T42 | <elros34> thats the point, we figure out that commenting out " echo > /dev/watchdog let /sbin/preinit reach starting systemd | 18:19 |
mal | ok | 18:19 |
T42 | <elros34> but systemd was commented out so device reboot. I told him to uncomment it and then grab logs | 18:19 |
Danct12 | installed the media app, as soon when i plug my headphones in, the app froze | 18:20 |
Danct12 | and it never recovered | 18:20 |
mal | Danct12: did you add the needed config changes? | 18:20 |
mal | electro575: yesterday you edited /sbin/preinit file, now you need to edit it again | 18:21 |
electro575 | ok | 18:21 |
electro575 | i turn on my device | 18:21 |
electro575 | good, i can edit the file | 18:23 |
electro575 | what i must do in this file ? | 18:24 |
mal | electro575: now find the line with exec /lib/systemd/systemd | 18:27 |
electro575 | ok | 18:27 |
mal | is there a # at beginning of that line? | 18:27 |
electro575 | yes, it's comment | 18:27 |
electro575 | with a # | 18:28 |
mal | remove the # | 18:28 |
electro575 | ok | 18:28 |
mal | and save the file | 18:28 |
electro575 | done | 18:28 |
mal | then reboot and after you are back in telnet do the usual echo continue | 18:30 |
electro575 | reboot -> manually ? | 18:30 |
electro575 | with button ? | 18:30 |
electro575 | or pass by TWRP ? | 18:30 |
mal | it never matters how you reboot | 18:30 |
electro575 | how can i reboot so ? i don't understand matters | 18:31 |
electro575 | it's not writted you want to say ? | 18:32 |
electro575 | Can i go in TWRP and do System -> Restart ? | 18:32 |
mal | no need to use twrp | 18:32 |
electro575 | A command to reboot ? as in linux | 18:33 |
mal | not sure if typing reboot to telnet works | 18:33 |
electro575 | "reboot" | 18:33 |
mal | or power button or something | 18:33 |
mal | you must have rebooted the device many times | 18:33 |
electro575 | sh-3.2# reboot | 18:33 |
electro575 | Failed to talk to init daemon. | 18:33 |
electro575 | ok, so power button | 18:33 |
electro575 | power button done | 18:34 |
electro575 | good, i have telnet after reboot | 18:35 |
electro575 | i tape this command : echo "continue" >/init-ctl/stdin | 18:35 |
electro575 | done | 18:35 |
mal | after you do echo continue try to get dmesg after a few seconds | 18:35 |
electro575 | ok | 18:36 |
mal | assuming it doesn't reboot right away | 18:36 |
electro575 | yes, device doesn't reboot | 18:36 |
mal | so try dmesg and also journalctl | 18:36 |
electro575 | ok | 18:36 |
electro575 | O | 18:36 |
electro575 | my device reboot | 18:36 |
electro575 | i had nothing to do | 18:36 |
Danct12 | mal: I did have the configs added. | 18:37 |
mal | Danct12: just to be sure, did you understand that the other one is a symlink not a file | 18:37 |
Danct12 | lrwxrwxrwx 1 root root 21 Jul 27 01:30 fmradio.conf -> fmradio.conf.disabled | 18:38 |
mal | yes | 18:38 |
electro575 | mal : journalctl -> https://dpaste.de/UnsF | 18:38 |
mal | electro575: is that all? try journalctl -f | 18:38 |
Danct12 | yeah i already had that before | 18:38 |
mal | Danct12: anything in logs? | 18:38 |
electro575 | https://dpaste.de/PyZg | 18:38 |
Danct12 | here's what shown in dmesg | 18:39 |
* Danct12 sent a long message: < https://matrix.org/_matrix/media/v1/download/matrix.org/wmyCMPuAWDqpOgvcdzbkiKps > | 18:39 | |
T42 | <elros34> journactl finally! congratulations to both of you | 18:40 |
electro575 | https://dpaste.de/nctq | 18:40 |
mal | @elros34 indeed, took quite a while | 18:40 |
electro575 | what can we do with journalctl ? | 18:40 |
electro575 | it's no bootloop so ? | 18:40 |
mal | @elros34 it seems systemd is not printing much | 18:41 |
T42 | <elros34> but dmesg still has no preinit messages, how is that possiblle | 18:41 |
mal | not sure | 18:41 |
mal | usually dmesg should also show something from systemd | 18:42 |
electro575 | what is the next step ? | 18:44 |
T42 | <elros34> unless it's executed before echo continue but I repeat to do this after so many times that its not possible | 18:44 |
mal | @elros34 wondering if the kernel config could have some issues | 18:44 |
mal | causing systemd to hang or something | 18:44 |
mal | electro575: does "systemctl status" show anything? | 18:44 |
electro575 | Failed to get D-Bus connection: Operation not permitted | 18:45 |
T42 | <elros34> electro575: if your device does not reboot anymore you can disable persisten logging as it may confuse you | 18:47 |
T42 | <elros34> also you can remove /init_enter_debug2 | 18:48 |
electro575 | So -> Storage=volatile ? | 18:48 |
electro575 | @elros34 | 18:49 |
T42 | <elros34> yes, also when you grab journalctl always use --no-pager | 18:49 |
electro575 | ok | 18:49 |
electro575 | why --no-pager ? | 18:50 |
T42 | <elros34> to print all logs | 18:51 |
electro575 | @elros34 : #disable_watchdog in the file sbin/preinit | 18:51 |
electro575 | i must uncomment disable_watchdog , | 18:52 |
electro575 | ? | 18:52 |
T42 | <elros34> don't touch it, this the reson for your trouble | 18:52 |
electro575 | O, okey | 18:52 |
electro575 | what can i do to save my configuration of sailfish OS ? I must just save my defconfig only | 18:53 |
electro575 | i'm afraid if i must recompile the sailfishOS completly | 18:53 |
electro575 | of bootloop again, ... | 18:53 |
electro575 | What do you use to save all files of your project ? | 18:54 |
Danct12 | we use git | 18:56 |
Danct12 | so we push our work for the public to see | 18:56 |
electro575 | git for one path only ? | 18:56 |
electro575 | or the same as hack pdf ? | 18:57 |
electro575 | @elros34 : after, what can i do ? | 19:01 |
electro575 | @elros34 : how test bootloop or not ? | 19:01 |
electro575 | @elros34 : go TWRP et restart system ? | 19:01 |
electro575 | sh-3.2# systemctl status | 19:02 |
electro575 | Failed to get D-Bus connection: Operation not permitted | 19:02 |
T42 | <elros34> so you did everyting I told you and rebooted device? | 19:03 |
electro575 | not reboot, reboot with power button ? | 19:03 |
electro575 | changes files done | 19:04 |
T42 | <elros34> reboot -f | 19:04 |
electro575 | ok | 19:04 |
electro575 | done | 19:05 |
mal | Danct12: dmesg doesn't looks good, did you build the fm radio driver as module, some devices also need some kernel patching or a custom other code | 19:06 |
electro575 | a light blink and my device reboot | 19:06 |
Danct12 | nope, not built as a module | 19:06 |
mal | Danct12: can you link to your kernel sources | 19:07 |
T42 | <elros34> electro575: how fast does it reboot? Similar to previous issue or after severla seconds | 19:07 |
electro575 | white blinking | 19:07 |
Danct12 | https://github.com/sailfish-santoni/android_kernel_xiaomi_msm8937/blob/hybris-15.1 | 19:07 |
electro575 | @elros34 : 59 second | 19:09 |
electro575 | better than 30 second | 19:09 |
electro575 | @elros34 : c2 systemd-journald[10538]: Received request to flush runtime journal from PID 1 | 19:11 |
electro575 | @elros34 : is disable -> "droid-hal-init.service" and "etc/systemd/system/user@100000.service" | 19:15 |
electro575 | mal, do you know what can i do ? | 19:16 |
T42 | <elros34> leave it disabled for now, lets grab some usuful log first: reboot device, telnet then: journalctl --no-tail -f and let it run untill it reboots itself | 19:17 |
electro575 | my device reboot too quickly to tape a command | 19:19 |
electro575 | where point this : etc/systemd/system/droid-hal-init.service | 19:19 |
electro575 | and this : etc/systemd/system/user@100000.service | 19:20 |
electro575 | i had command : ln -s /dev/null | 19:20 |
electro575 | rm link so ? | 19:20 |
electro575 | @elros34 | 19:20 |
T42 | <elros34> I already said leave it, you said it takes 60s for reboot and now that it reboots too quickly | 19:21 |
electro575 | yes but | 19:21 |
electro575 | telnet is available just 5 sec | 19:22 |
electro575 | so it can possible to run this | 19:22 |
electro575 | but after -> reboot | 19:22 |
electro575 | i try this | 19:22 |
T42 | <elros34> ok so you need to still use init_enter_debug2 if it reboots to fast | 19:23 |
electro575 | O, okey | 19:23 |
electro575 | @elros34 : how you remove a symlink ? ln -s | 19:27 |
T42 | <elros34> you ask me 3th time, do NOT touch it right now | 19:29 |
electro575 | @okey, i have reboot with init_enter_debug2 | 19:31 |
electro575 | @elros34 | 19:32 |
T42 | <elros34> so you should already know what to do: last command I gave and echo continue | 19:32 |
electro575 | @elros34 : journalctl --no-tail -f & echo "continue" >/init-ctl/stdin | 19:35 |
electro575 | no more log on journalctl in other terminal | 19:35 |
electro575 | the device reboot | 19:35 |
electro575 | @elros34 : https://dpaste.de/ivkN | 19:40 |
electro575 | sh-3.2# systemctl status | 19:43 |
electro575 | Failed to get D-Bus connection: Operation not permitted | 19:43 |
electro575 | @elros34 : Are you here ? | 19:45 |
T42 | <elros34> why there are 2 logs theer? didn't you disable persistent loggin? | 19:47 |
electro575 | i have disable persistent loggin | 19:48 |
T42 | <elros34> ok | 19:48 |
electro575 | RateLimitInterval is ? | 19:48 |
electro575 | 3s ? by default ? | 19:49 |
T42 | <elros34> maybe it should changed I am not sure. There nothing obvious in journal, you can grab last_kmsg in telnet (NOT in twrp) but probably you should also now fix your defconfig | 19:49 |
electro575 | @elros34 : https://dpaste.de/yjFx | 19:51 |
electro575 | fix your defconfig with what changes ? | 19:51 |
T42 | <elros34> oh finally proper dmesg | 19:51 |
electro575 | proper ? | 19:52 |
electro575 | @elros34 : why the device reboot after 60 second ? | 19:56 |
T42 | <elros34> maybe it's dsme or something else which writes to watchdog. You could try to mask it: ln -s /dev/null /etc/systemd/system/dsme.service or disable watchdog in defconfig. ALso it might be because you fif some starnge changes to your defconfig yesterday | 19:57 |
electro575 | Do you want i paste my defconfig ? | 19:57 |
electro575 | disable watchdog in my defconfig if u want | 19:58 |
electro575 | @elros34 : selinux=0 and audit=0 in my defconfig | 19:58 |
T42 | <elros34> better always past config.gz because it's your real defconfig, selinux=0 must be ther and don't remove it anymore, audit=0 shouldn't matter I think | 19:59 |
electro575 | okey | 19:59 |
T42 | <Harsh18262> @elros the changes from my defconfig are not getting applied in .config i cant understand why | 20:01 |
electro575 | @elros34 : https://dpaste.de/79FK | 20:01 |
T42 | <Harsh18262> my defconfig https://paste.ubuntu.com/p/58nmb5T2Vt/ | 20:02 |
T42 | <elros34> electro575: CONFIG_AUDIT=y | 20:05 |
electro575 | @elros34 : do changes in my computer or in my device ? | 20:06 |
T42 | <elros34> what are you talking about? you really did not learn anything? | 20:07 |
electro575 | append in config.gz ? | 20:08 |
electro575 | i'm not an idiot, i just ask to do the right thinks | 20:08 |
electro575 | sure, i do'nt understand all sentences, i'm not an english man | 20:10 |
electro575 | @elros34 | 20:12 |
electro575 | please ? mal maybe | 20:17 |
T42 | <elros34> sorry I am not very patience person so maybe somobody else will help you now | 20:19 |
T42 | <Harsh18262> @elros any idea for my prob? | 20:20 |
T42 | <elros34> it's normal some options might have dependecies, conflicts or doesn't exist in your kernel | 20:20 |
T42 | <Harsh18262> ok | 20:20 |
electro575 | @elros34 : it's normal, when you know what you must do | 20:22 |
electro575 | you want to go fast | 20:22 |
electro575 | but when you don't know what, ... | 20:22 |
electro575 | but what can i do now to have a stable startup | 20:24 |
electro575 | @elros34 : so, can you say it to me for CONFIG_AUDIT=y, what can i do | 20:25 |
electro575 | please | 20:25 |
T42 | <elros34> pastebin your defconfig | 20:26 |
electro575 | @elros34 : https://dpaste.de/79FK | 20:27 |
T42 | <elros34> not this, your lineagea_t0lte_defconfig | 20:30 |
electro575 | ok | 20:30 |
electro575 | @elros34 : https://dpaste.de/04nR | 20:32 |
T42 | <elros34> electro575: do you have your saved defconfig before you added AUDIT=n because for now you are missing most changes and I don't to search for every | 20:40 |
T42 | <elros34> want to* | 20:40 |
electro575 | @elros34 : yes, this https://dpaste.de/7gEt | 20:44 |
T42 | <Harsh18262> @elros lsusb -v | grep iSerial | 20:49 |
T42 | <Harsh18262> give mer only and then the device shuts of what does tha mean | 20:49 |
T42 | <elros34> depends how fast does it reboot | 20:49 |
T42 | <Harsh18262> it does not reboot it just shutoff | 20:50 |
mal | @elros34 he should have some old defconfig in local git, this was the git diff he did earlier https://dpaste.de/N94f | 20:50 |
mal | maybe resetting to the previous version might be ok? | 20:51 |
T42 | <elros34> electro575: at this https://pastebin.com/9kRnmhgU, make hybris-boot and use mer-kernel-checker against out/*/.config and paste output | 20:51 |
T42 | <elros34> add* | 20:51 |
T42 | <Harsh18262> and not fully the devices display is off i think as it does not start by keeping the power button pressed for 5secs | 20:52 |
T42 | <Harsh18262> i have to hard reboot it | 20:52 |
electro575 | @elros34 : add this, in my defconfig computer ? or in my device | 20:53 |
electro575 | in my defconfig computer i suppose | 20:53 |
mal | electro575: you cannot modify kernel config on device | 20:53 |
T42 | <elros34> to your lineageos_t0tle_defconfig | 20:53 |
electro575 | ok | 20:53 |
T42 | <elros34> @Harsh18262: does dmesg -w prints something about mer | 20:54 |
mal | electro575: just to be sure that you added the defconfig changes to the end of the file | 20:57 |
T42 | <Harsh18262> just this | 20:57 |
T42 | <Harsh18262> [79055.310539] usb 1-2: Manufacturer: Mer Boat Loader | 20:57 |
T42 | <Harsh18262> [79055.310544] usb 1-2: SerialNumber: Mer | 20:57 |
electro575 | @mal, ok | 20:58 |
T42 | <Harsh18262> @mal how to fix dependencies error in kernel some configs for sfos are not gettting applied but are present in the defconfig | 21:00 |
electro575 | @elros34 : https://dpaste.de/OkFV | 21:01 |
electro575 | maybe, if it's necessary -> output of make hybris-boot | 21:02 |
electro575 | https://dpaste.de/SVWJ | 21:02 |
T42 | <Harsh18262> result from mer checker https://paste.ubuntu.com/p/Pp4F3DkJG2/ | 21:03 |
mal | @Harsh18262 show your defconfig | 21:04 |
T42 | <Harsh18262> https://paste.ubuntu.com/p/zgFCf4nNfX/ | 21:04 |
mal | @Harsh18262 the parts that fail are commented out in defconfig, why? | 21:05 |
T42 | <elros34> electro575: add these: CONFIG_BLK_CGROUP=y CONFIG_HIDRAW=y CONFIG_CGROUP_DEVICE=y CONFIG_SECURITY_SELINUX_BOOTPARAM=y. make hybris-boot, then mer-kernel-checker and if it prints CONFIG_SECURITY_SELINUX_BOOTPARAM then paste freash defconfig and out/*/.config | 21:06 |
T42 | <Harsh18262> i am trying minimal defconfig as it worked for elctro | 21:07 |
mal | @Harsh18262 but you have different device, of course you need to fix the errors | 21:07 |
T42 | <elros34> @Harsh18262 in case its telnet 2323 you might add init_eneter_debug2 | 21:08 |
T42 | <Harsh18262> ok i will try again | 21:10 |
T42 | <Harsh18262> @elderos i have to do it after entering telnet 2323? | 21:11 |
electro575 | @elros34 : i'm compiling | 21:11 |
T42 | <elros34> @Harsh18262: if you have telnet access then what is the issue? If not then in TWRP: touch /data/.stowaways/sailfishos/init_enter_debug2 | 21:12 |
electro575 | @elros34 : https://dpaste.de/6cGr | 21:14 |
electro575 | cause of CONFIG_SECURITY_SELINUX_BOOTPARAM is printed by mer kernel checker | 21:14 |
electro575 | @elros34 : https://dpaste.de/p0wH | 21:15 |
T42 | <elros34> CONFIG_AUDIT=y | 21:15 |
electro575 | yes sorry | 21:16 |
T42 | <Harsh18262> @elros i dont have any telnet access nor 23 neither 2323 right now | 21:17 |
electro575 | @elros34 : https://dpaste.de/ca6j | 21:27 |
electro575 | CONFIG_SECURITY_SELINUX_BOOTPARAM not printed | 21:28 |
T42 | <elros34> should be enough I think. Now flash it and check whether /dev/watchdog exists : ls /dev/watchdog* | 21:30 |
T42 | <Harsh18262> this time i have added all errors from mer checker to defconfig then to not all of them are getting applied | 21:30 |
electro575 | ok | 21:30 |
T42 | <elros34> @Harsh18262 for example? | 21:31 |
T42 | <Harsh18262> arch/arm64/configs/X00TD_defconfig:777⚠️ override: reassigning to symbol VT | 21:31 |
T42 | <Harsh18262> arch/arm64/configs/X00TD_defconfig:783⚠️ override: reassigning to symbol NETFILTER_XT_MATCH_CONNTRACK | 21:31 |
T42 | <Harsh18262> arch/arm64/configs/X00TD_defconfig:784⚠️ override: reassigning to symbol TMPFS_POSIX_ACL | 21:31 |
T42 | <Harsh18262> arch/arm64/configs/X00TD_defconfig:785⚠️ override: reassigning to symbol UNIX | 21:31 |
T42 | <Harsh18262> arch/arm64/configs/X00TD_defconfig:786⚠️ override: reassigning to symbol NET | 21:31 |
T42 | <Harsh18262> arch/arm64/configs/X00TD_defconfig:787⚠️ override: reassigning to symbol IKCONFIG_PROC | 21:31 |
T42 | <Harsh18262> only these are applied | 21:31 |
T42 | <Harsh18262> https://paste.ubuntu.com/p/c7qzvSTwyg/ | 21:32 |
T42 | <Harsh18262> i have added these | 21:32 |
T42 | <elros34> how do know they are not applied? have you checked out/*.config | 21:33 |
T42 | <Harsh18262> mer checker is still telling it as error and not set | 21:33 |
electro575 | @elros34 : no /dev/watchdog or * exist | 21:34 |
T42 | <elros34> @Harsh18262 it? be more specific | 21:35 |
T42 | <Harsh18262> https://paste.ubuntu.com/p/xC4HKQxqRj/ | 21:35 |
T42 | <Harsh18262> mer checker result | 21:35 |
T42 | <elros34> electro575: now in 1 window: while true; do dmesg -c; done, 2 window: journalctl —no-tail -f, 3 windows echo continue > /init-ctl/stdin | 21:36 |
T42 | <Harsh18262> for example mer checker is saying ERROR: CONFIG_DEVTMPFS_MOUNT is invalid but this is defined in defconfig\ | 21:36 |
electro575 | ok | 21:36 |
electro575 | @elros34 : after continue -> https://dpaste.de/UFyr | 21:39 |
electro575 | no more log for journalctl | 21:39 |
electro575 | the device not reboot | 21:40 |
electro575 | humm, the device, ... | 21:40 |
electro575 | i don't have telnet access now | 21:40 |
electro575 | the light of the screen is now less brightness | 21:41 |
T42 | <elros34> @Harsh18262 are you useing correct defconfig? lets try something: CONFIG_IKCONFIG=y CONFIG_PROC_FS=y CONFIG_IKCONFIG_PROC=y | 21:41 |
electro575 | @elros34, thank you for your help | 21:42 |
electro575 | now, the device had reboot, i have telnet access | 21:43 |
T42 | <Harsh18262> @elros can this be caused dur to duplicate lines | 21:43 |
electro575 | what to do now ? trying remove init_debug_2 ? or enable droid-hal-init ? etc/systemd/system/user@100000.service | 21:44 |
T42 | <elros34> if you add them at the end of file then it shouldn't be | 21:44 |
T42 | <elros34> @Harsh18262 ^ | 21:44 |
T42 | <elros34> electro575: where is dmesg I asked? explain what happen to device precisely | 21:45 |
electro575 | i haven't seen the device but log append | 21:46 |
electro575 | in terminal | 21:46 |
electro575 | the device reboot after few seconds | 21:46 |
electro575 | and the brightness is less with the same text | 21:46 |
electro575 | Samsung GALAXY Note II | 21:46 |
electro575 | the text stay display but the telnet session reboot | 21:47 |
electro575 | https://dpaste.de/zh6Z | 21:47 |
electro575 | the text stay displayed during reboot | 21:48 |
electro575 | https://dpaste.de/UFyr | 21:49 |
electro575 | dmesg | 21:49 |
electro575 | @elros34 | 21:49 |
T42 | <elros34> you wait too long to grab logs so eary messages are missing: | 21:49 |
electro575 | this full | 21:50 |
electro575 | https://dpaste.de/6uwo | 21:50 |
T42 | <elros34> look at this, it starts at 320s, I want to see dmesg from 0 secund | 21:51 |
electro575 | ok | 21:51 |
electro575 | @elros34 : https://dpaste.de/okDg | 21:53 |
T42 | <elros34> so you didn't pasted whole log earlier or you get new one? | 21:53 |
electro575 | because i suppose you want just the end | 21:54 |
electro575 | nono, it's THE full log | 21:54 |
electro575 | not new | 21:54 |
T42 | <elros34> cmon we alread lost 2 days because you didn't paste whole last_kmsg few days ago and now again | 21:55 |
electro575 | sorry | 21:55 |
T42 | <elros34> selinux is now properly disabled, you can try to unmask droid-hal-init: rm /etc/systemd/system/droid-hal-init.service, reboot and same logs | 21:56 |
electro575 | ok | 21:56 |
electro575 | @elros34 : | 22:01 |
electro575 | https://dpaste.de/hReK | 22:01 |
electro575 | https://dpaste.de/huq3 | 22:01 |
electro575 | @elros34 | 22:03 |
T42 | <elros34> I see just I am not sure where is the issue. SHow your fixup-mountpoints | 22:04 |
electro575 | @elros34 | 22:05 |
electro575 | https://dpaste.de/xUpb | 22:05 |
T42 | <elros34> when you lose telnet, does device reboot straightaway? | 22:05 |
electro575 | the device reboot, i don't know the time but the text display stay | 22:05 |
electro575 | fast reboot i suppose | 22:06 |
electro575 | with reboot -f | 22:06 |
electro575 | yes straightaway | 22:06 |
electro575 | humm, not really | 22:06 |
electro575 | the log display | 22:07 |
electro575 | in dmesg | 22:07 |
T42 | <elros34> show one of your mount units, cat /lib/systemd/system/system.mount or other | 22:07 |
electro575 | this display | 22:07 |
electro575 | https://dpaste.de/nmeC | 22:07 |
electro575 | before reboot | 22:08 |
electro575 | in dmesg | 22:08 |
electro575 | https://dpaste.de/fVUb | 22:08 |
electro575 | @elros34 : sorry | 22:13 |
electro575 | don't call you | 22:13 |
T42 | <elros34> what about data.mount | 22:14 |
electro575 | no data.mount | 22:15 |
electro575 | @elros34 | 22:15 |
electro575 | @elros34 : https://dpaste.de/Q7Hb | 22:16 |
electro575 | @elros34 : https://dpaste.de/6uTr | 22:17 |
electro575 | @elros34 : https://dpaste.de/iO2w | 22:18 |
electro575 | @elros34 : https://dpaste.de/nzPi | 22:20 |
T42 | <elros34> don't pase everything. I think you can remove storage-usbdisk0.mount. Not sure what is wrong, I remember one device which also stuck in journal. It was due to wrong mount units | 22:20 |
electro575 | https://dpaste.de/n63J | 22:20 |
electro575 | ok | 22:21 |
electro575 | then ? | 22:21 |
electro575 | i reboot | 22:21 |
T42 | <elros34> maybe enabling persistent logging will reveal why it lose telnet. I have no more ideas for now | 22:21 |
electro575 | ok, i save this, i go to sleep | 22:22 |
electro575 | maybe at tomorrow | 22:22 |
electro575 | thank you a lot | 22:22 |
electro575 | @elros34 bye | 22:22 |
T42 | <elros34> take care | 22:23 |
electro575 | thanks | 22:23 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!