Friday, 2019-07-26

T42<LittleBoy8506> if i use CM 14.1 then which hybris version is compatible ?05:40
T42<LittleBoy8506> 11.0 ?05:41
vknecht14.1 :-)05:42
T42<LittleBoy8506> and it require to install CM14.1 before flashing sailfish ?05:43
vknechtfirst choose a working CM/LOS base, flash it and test ; so if the base is 14.1, then use hybris-14.105:44
vknechtyes, the base rom has to be flashed before sfos05:44
T42Manishmaen was added by: Manishmaen06:57
Mister_Magistero/07:42
T42singhnsk was added by: singhnsk08: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.sh10:13
T42<LittleBoy8506> ./rpm/dhd/helpers/util.sh: line 67: zypper: command not found10:13
T42<LittleBoy8506> ./rpm/dhd/helpers/util.sh: line 92: sb2: command not found10:13
T42<LittleBoy8506> * Building rpm/droid-hal-z2_plus.spec10:13
T42<LittleBoy8506> ./rpm/dhd/helpers/util.sh: line 249: mb2: command not found10: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 hadk10:29
T42<LittleBoy8506> @LittleBoy8506 [!! Error: $DEVICE is undefined. Please run had …], now getting this10:30
Mister_Magistersometimes i wonder how people do this10:31
deathmisthey, 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/9mUE1ppa12:02
maldeathmist: could be some detection issue caused by the fact that the path contains "sd"12:05
deathmistmal: got distracted for a bit, which path are you talking about? it seems only TheKit had a similar issue back in 201713:38
maldeathmist: the device path13:42
maldeathmist: your device has device nodes where path has some sd* so it would in theory cause incorrect match somewhere13:43
deathmistmal: "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
malmy guess is https://git.merproject.org/mer-core/udisks214:15
deathmistI'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
malelectro5751: before we do anything else you need to do what elros34 told you to do last night17:05
Danct12good night17:06
Danct12anyway, found that the calling issue is in fact nothing to do with the modem nor the unknown ril command17:06
electro5751ok, i say it to you, just 1 min17:06
electro5751i can give to you my all changes17:06
electro5751bye Danct1217:07
malDanct12: what was it then?17:07
Danct12nah not a bye17:07
Danct12just developing in midnight17:07
Danct12mal: it was pulseaudio couldn't route the call to voicecall profile properly im sure17:08
Danct12used jusa's pulseaudio dev branch and deathmist hacky script make calls works17:08
malok, good17:08
malwould be interesting to know why sms doesn't work17:08
Danct12still a very hacky and temporary method anyway, i wouldn't recommend using it as a permanent solution17:09
malsure17:10
Danct12sms actually works for me, i could receive messages from the spammy services from my carrier17:10
Danct12and sending messages works too, just tried17:11
malok, good17:11
malDanct12: can you show the hacky script you use?17:12
Danct12https://github.com/sailfish-santoni/droid-config-santoni/blob/969f84ea197f65d341f675772f2f7d94b010a7bc/sparse/usr/bin/droid/callaudiod.sh17:13
malDanct12: to which profile does pulseaudio set those by default?17:14
malah, voicecall-voice1 and so on17:16
Danct12those aren't available for the standard pulseaudio-modules-droid anyway17:17
Danct12https://github.com/jusa/pulseaudio-modules-droid/tree/dev17:17
electro575mal, my changes -> https://dpaste.de/TDJf17:29
Danct12just for curiousity, what is the song that is being played for the headset playback on csd?17:29
malelectro575: I didn't ask for changes, I asked you to do what elros said17:30
electro575elros34 was said to me : comment out (add # at the beggining of line) "exec /lib/systemd/systemd unit=$startup_target" in /sbin/preinit17:30
electro575now uncomment exec /lib/systemd in /sbin/preinit, reboot, echo contine, wait for few secund and grab dmesg17:30
electro575just this17:30
malelectro575: didn't he also say to revert the kernel changes I told and use the ones before that17:30
malelectro575: the defconfig changes in that are not the ones he said to use17:31
electro575no, see the end17:31
mal?17:32
electro575DEVICE-disable droid-hal-preinit & user@100000.service17:32
electro575DEVICE-vi /etc/systemd/journald.conf17:32
electro575DEVICE-disable watchdog17:32
electro575<elros34> comment out (add # at the beggining of line) "exec /lib/systemd/systemd unit=$startup_target" in /sbin/preinit17:32
malthat has nothing to do with kernel changes17:32
electro575have this : Dmesg -> <4>[ 1043.392873] c0 preinit: (1043.39) Welcome to Sailfish OS 3.0.3.10 (Hossa)17:32
electro575and this : <T42> <elros34> now uncomment exec /lib/systemd in /sbin/preinit, reboot, echo contine, wait for few secund and grab dmesg17:32
malelectro575: listen to what I say, the kernel defconfig changes you have in that would require changes to init-script17:32
electro575okey17:33
maland elros said the correct changes he wants you to use would not require changes17:33
malelectro575: find the backup of the previous defconfig I told you17:33
electro575previous defconfig is ? the original defconfig you download at the beginning ?17:34
malthe one from maybe 2 or 3 days ago before I said to use the changes in a link I gave17:34
electro575if you want, but to do what ?17:35
malI specifically told you to take a backup of the defconfig before you did those changes, now find the backup17:35
electro575ok, if you want17:35
electro575but not really mainly changes i noticed17:36
malelectro575: there is a very big difference between those17:36
electro575ok, we will see the diff with the original file17:37
malelectro575: I still don't know if you modified kernel checker and init-script17:37
electro575i don't have modify init-script and kernel checker17:38
malthen there is no way you could have used the defconfig changes you just gave in that link17:38
electro575we can reset all config and try again to debug17:39
malelectro575: 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 it17:40
electro575ok, i try to find old config17:40
malelectro575: and you give wrong information, the defconfig changes in last link you gave are impossible to use without init-script changes17:40
electro575so, i will take original defconfig17:41
malthe device too would stop very early in the boot and you would only have telnet in port 2317:41
malwhat original?17:41
electro575the first download defconfig t0lte17:42
malI didn't ask to use that17:42
electro575i'm sorry, i'm not expert in sailfishOS, i don't know what i can doing for debug17:42
malthis has nothing to do with sailfish, just simple logic17:43
malI asked you to find the backup I told you to take, are you sure you really too a backup?17:43
electro575defconfig original file must changes or not ?17:43
electro575due to kernel checker ?17:43
electro575kernel checker give out ERROR and WARNING17:43
electro575How Fix it and it's an obligation to have 0 ERROR ?17:44
malelectro575: so you really didn't understand anything I just said17:44
malÝOU DO NOT USE THE UNMODIFIED LINEAGEOS DEFCONFIG17:45
malelectro575: answer this question, did you take a backup of the modified defconfig two or three days ago when I asked?17:45
electro575ok, don't cry, i understand it's not really good until now17:45
electro575yes17:45
malso where is it17:46
electro575i search17:46
malnot a very good backup if you cannot even find it17:46
electro575file : lineageos_t0lte_defconfig_2019_07_2417:47
malso now use that17:47
electro575~/hadk/kernel/samsung/smdk4412/arch/arm/configs/17:47
electro575it's on my computer17:47
electro575so, i make hybris-boot17:48
electro575and flash it17:48
electro575?17:48
malfirst show what changes the file has17:48
electro575ok17:48
malgo to ~/hadk/kernel/samsung/smdk4412 and run "git diff" then show output of that17:49
electro575how cat all17:50
mal?17:50
electro575+CONFIG_AUDIT=n17:50
Danct12git diff > gitdiff.txt17:51
Danct12is this the command you're looking for?17:51
electro575y17:51
electro575https://dpaste.de/WxQU17:51
electro575wrong paste17:52
electro575mal , https://dpaste.de/N94f17:52
malI don't understand, did you at some point commit something to your local kernel git?17:55
electro575not until the beginning i use hack pdf17:56
malwhat does "git log" say in ~/hadk/kernel/samsung/smdk441217:56
electro575the file has17:56
electro575hard17:58
electro575160Mo of log17:58
malelectro575: I didn't want all of it17:58
malonly the first things it prints17:58
electro575when i tape git log17:59
malsoon I will give up17:59
electro575ok18:00
electro575so, we stop ?18:00
malelectro575: DO WHAT I SAID!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!18:01
electro575https://dpaste.de/2ep618:01
electro575i don't know if it's the last log18:01
electro575but i paste the first log i saw18:01
electro575sorry, i don't understand i will give up18:02
malelectro575: 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 those18:02
electro575i will paste you two part18:03
electro575as it will be okey18:04
maltwo parts? I don't understand18:04
malyou only need to show me about 20-30 lines of what it prints18:04
malhow is it possible you cannot understand that18:04
electro575in up18:04
electro575or down18:05
electro575after type git log18:05
T42<elros34> mal: if you talk about DEVTMPFS*=n then IIRC they are ignored and enabled anyway by this kernel18:05
mal@elros34 yes, those looked wrong18:05
mal@elros34 very difficult to get anything done18:05
electro575https://dpaste.de/9hOz18:05
malelectro575: you said you didn't commit anything and there you have a commit made by you18:06
T42<elros34> I remember he said few theys ago these devtmpfs were enabled even when he disable them18:06
malok18:06
mal@elros34 so you think the changes in this link are reasonable https://dpaste.de/TDJf ?18:07
electro575i'm sorry if i had wrong things18:07
electro575it's not my ambition18:07
malelectro575: so we are still waiting for you to do what was asked yesterday18:08
electro575say to me what i must do18:08
electro575i will doing18:08
electro575i have gave you my changes log18:09
electro575in a paste18:09
T42<elros34> mal: looks good except AUDIT=n SECURITY_SELINUX=n18:09
electro575If you or elros34 want to help debugging, i'm ready to do18:11
mal@elros34 I'm not sure how to proceed, the defconfig he now has is not exactly that anymore18:11
malgetting anything done takes such a long time always18:13
Danct12alright, is there any application to test fm radio?18:13
Danct12fm radio tests from csd doesn't seem to work for me since the button is always blacked out even with the headphone plugged18:13
Danct12headset detection works though, so it does detect that a headphone is plugged18:14
malDanct12: did you add all needed things for fm radio?18:14
malDanct12: fm radio is included in media app if you have the correct package installed18:14
Danct12yes, i did have fm radio for qcom enabled18:15
Danct12https://github.com/sailfish-santoni/droid-config-santoni/blob/master/patterns/jolla-hw-adaptation-santoni.yaml#L87-L8918:15
Danct12not sure which media app18:16
malDanct12: and the config stuff neede for fm radio?18:16
malDanct12: the latter of those is the media app plugin18: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 do18:17
T42<elros34> thats the point, we figure out that commenting out " echo > /dev/watchdog let /sbin/preinit reach starting systemd18:19
malok18:19
T42<elros34> but systemd was commented out so device reboot. I told him to uncomment it and then grab logs18:19
Danct12installed the media app, as soon when i plug my headphones in, the app froze18:20
Danct12and it never recovered18:20
malDanct12: did you add the needed config changes?18:20
malelectro575: yesterday you edited /sbin/preinit file, now you need to edit it again18:21
electro575ok18:21
electro575i turn on my device18:21
electro575good, i can edit the file18:23
electro575what i must do in this file ?18:24
malelectro575: now find the line with exec /lib/systemd/systemd18:27
electro575ok18:27
malis there a # at beginning of that line?18:27
electro575yes, it's comment18:27
electro575with a #18:28
malremove the #18:28
electro575ok18:28
maland save the file18:28
electro575done18:28
malthen reboot and after you are back in telnet do the usual echo continue18:30
electro575reboot -> manually ?18:30
electro575with button ?18:30
electro575or pass by TWRP ?18:30
malit never matters how you reboot18:30
electro575how can i reboot so ? i don't understand matters18:31
electro575it's not writted you want to say ?18:32
electro575Can i go in TWRP and do System -> Restart ?18:32
malno need to use twrp18:32
electro575A command to reboot ? as in linux18:33
malnot sure if typing reboot to telnet works18:33
electro575"reboot"18:33
malor power button or something18:33
malyou must have rebooted the device many times18:33
electro575sh-3.2# reboot18:33
electro575Failed to talk to init daemon.18:33
electro575ok, so power button18:33
electro575power button done18:34
electro575good, i have telnet after reboot18:35
electro575i tape this command : echo "continue" >/init-ctl/stdin18:35
electro575done18:35
malafter you do echo continue try to get dmesg after a few seconds18:35
electro575ok18:36
malassuming it doesn't reboot right away18:36
electro575yes, device doesn't reboot18:36
malso try dmesg and also journalctl18:36
electro575ok18:36
electro575O18:36
electro575my device reboot18:36
electro575i had nothing to do18:36
Danct12mal: I did have the configs added.18:37
malDanct12: just to be sure, did you understand that the other one is a symlink not a file18:37
Danct12lrwxrwxrwx 1 root root   21 Jul 27 01:30 fmradio.conf -> fmradio.conf.disabled18:38
malyes18:38
electro575mal : journalctl -> https://dpaste.de/UnsF18:38
malelectro575: is that all? try journalctl -f18:38
Danct12yeah i already had that before18:38
malDanct12: anything in logs?18:38
electro575https://dpaste.de/PyZg18:38
Danct12here's what shown in dmesg18: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 you18:40
electro575https://dpaste.de/nctq18:40
mal@elros34 indeed, took quite a while18:40
electro575what can we do with journalctl ?18:40
electro575it's no bootloop so ?18:40
mal@elros34 it seems systemd is not printing much18:41
T42<elros34> but dmesg still has no preinit messages, how is that possiblle18:41
malnot sure18:41
malusually dmesg should also show something from systemd18:42
electro575what 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 possible18:44
mal@elros34 wondering if the kernel config could have some issues18:44
malcausing systemd to hang or something18:44
malelectro575: does "systemctl status" show anything?18:44
electro575Failed to get D-Bus connection: Operation not permitted18:45
T42<elros34> electro575: if your device does not reboot anymore you can disable persisten logging as it may confuse you18:47
T42<elros34> also you can remove /init_enter_debug218:48
electro575So -> Storage=volatile ?18:48
electro575@elros3418:49
T42<elros34> yes, also when you grab journalctl always use --no-pager18:49
electro575ok18:49
electro575why --no-pager ?18:50
T42<elros34> to print all logs18:51
electro575@elros34 : #disable_watchdog in the file sbin/preinit18:51
electro575i must uncomment disable_watchdog ,18:52
electro575?18:52
T42<elros34> don't touch it, this the reson for your trouble18:52
electro575O, okey18:52
electro575what can i do to save my configuration of sailfish OS ? I must just save my defconfig only18:53
electro575i'm afraid if i must recompile the sailfishOS completly18:53
electro575of bootloop again, ...18:53
electro575What do you use to save all files of your project ?18:54
Danct12we use git18:56
Danct12so we push our work for the public to see18:56
electro575git for one path only ?18:56
electro575or 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
electro575sh-3.2# systemctl status19:02
electro575Failed to get D-Bus connection: Operation not permitted19:02
T42<elros34> so you did everyting I told you and rebooted device?19:03
electro575not reboot, reboot with power button ?19:03
electro575changes files done19:04
T42<elros34> reboot -f19:04
electro575ok19:04
electro575done19:05
malDanct12: 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 code19:06
electro575a light blink and my device reboot19:06
Danct12nope, not built as a module19:06
malDanct12: can you link to your kernel sources19:07
T42<elros34> electro575: how fast does it reboot? Similar to previous issue or after severla seconds19:07
electro575white blinking19:07
Danct12https://github.com/sailfish-santoni/android_kernel_xiaomi_msm8937/blob/hybris-15.119:07
electro575@elros34 : 59 second19:09
electro575better than 30 second19:09
electro575@elros34 : c2 systemd-journald[10538]: Received request to flush runtime journal from PID 119:11
electro575@elros34 : is disable -> "droid-hal-init.service" and "etc/systemd/system/user@100000.service"19:15
electro575mal, 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 itself19:17
electro575my device reboot too quickly to tape a command19:19
electro575where point this : etc/systemd/system/droid-hal-init.service19:19
electro575and this : etc/systemd/system/user@100000.service19:20
electro575i had command : ln -s /dev/null19:20
electro575rm link so ?19:20
electro575@elros3419:20
T42<elros34> I already said leave it, you said it takes 60s for reboot and now that it reboots too quickly19:21
electro575yes but19:21
electro575telnet is available just 5 sec19:22
electro575so it can possible to run this19:22
electro575but after -> reboot19:22
electro575i try this19:22
T42<elros34> ok so you need to still use init_enter_debug2 if it reboots to fast19:23
electro575O, okey19:23
electro575@elros34 : how you remove a symlink ? ln -s19:27
T42<elros34> you ask me 3th time, do NOT touch it right now19:29
electro575@okey, i have reboot with init_enter_debug219:31
electro575@elros3419:32
T42<elros34> so you should already know what to do: last command I gave and echo continue19:32
electro575@elros34 : journalctl --no-tail -f & echo "continue" >/init-ctl/stdin19:35
electro575no more log on journalctl in other terminal19:35
electro575the device reboot19:35
electro575@elros34 : https://dpaste.de/ivkN19:40
electro575sh-3.2# systemctl status19:43
electro575Failed to get D-Bus connection: Operation not permitted19:43
electro575@elros34 : Are you here ?19:45
T42<elros34> why there are 2 logs theer? didn't you disable persistent loggin?19:47
electro575i have disable persistent loggin19:48
T42<elros34> ok19:48
electro575RateLimitInterval is ?19:48
electro5753s ? 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 defconfig19:49
electro575@elros34 : https://dpaste.de/yjFx19:51
electro575fix your defconfig with what  changes ?19:51
T42<elros34> oh finally proper dmesg19:51
electro575proper ?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 yesterday19:57
electro575Do you want i paste my defconfig ?19:57
electro575disable watchdog in my defconfig if u want19:58
electro575@elros34 : selinux=0 and audit=0 in my defconfig19: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 think19:59
electro575okey19:59
T42<Harsh18262> @elros the changes from my defconfig are not getting applied in .config i cant understand why20:01
electro575@elros34 : https://dpaste.de/79FK20:01
T42<Harsh18262> my defconfig https://paste.ubuntu.com/p/58nmb5T2Vt/20:02
T42<elros34> electro575: CONFIG_AUDIT=y20: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
electro575append in config.gz ?20:08
electro575i'm not an idiot, i just ask to do the right thinks20:08
electro575sure, i do'nt understand all sentences, i'm not an english man20:10
electro575@elros3420:12
electro575please ? mal maybe20:17
T42<elros34> sorry I am not very patience person so maybe somobody else will help you now20: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 kernel20:20
T42<Harsh18262> ok20:20
electro575@elros34 : it's normal, when you know what you must do20:22
electro575you want to go fast20:22
electro575but when you don't know what, ...20:22
electro575but what can i do now to have a stable startup20:24
electro575@elros34 : so, can you say it to me for CONFIG_AUDIT=y, what can i do20:25
electro575please20:25
T42<elros34> pastebin your defconfig20:26
electro575@elros34 : https://dpaste.de/79FK20:27
T42<elros34> not this, your lineagea_t0lte_defconfig20:30
electro575ok20:30
electro575@elros34 : https://dpaste.de/04nR20: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 every20:40
T42<elros34> want to*20:40
electro575@elros34 : yes, this https://dpaste.de/7gEt20:44
T42<Harsh18262> @elros lsusb -v | grep iSerial20:49
T42<Harsh18262> give mer only and then the device shuts of what does tha mean20:49
T42<elros34> depends how fast does it reboot20:49
T42<Harsh18262> it does not reboot it just shutoff20:50
mal@elros34 he should have some old defconfig in local git, this was the git diff he did earlier https://dpaste.de/N94f20:50
malmaybe 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 output20: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 5secs20:52
T42<Harsh18262> i have to hard reboot it20:52
electro575@elros34 : add this, in my defconfig computer ? or in my device20:53
electro575in my defconfig computer i suppose20:53
malelectro575: you cannot modify kernel config on device20:53
T42<elros34> to your lineageos_t0tle_defconfig20:53
electro575ok20:53
T42<elros34> @Harsh18262: does dmesg -w prints something about mer20:54
malelectro575: just to be sure that you added the defconfig changes to the end of the file20:57
T42<Harsh18262> just this20:57
T42<Harsh18262> [79055.310539] usb 1-2: Manufacturer: Mer Boat Loader20:57
T42<Harsh18262> [79055.310544] usb 1-2: SerialNumber: Mer20:57
electro575@mal, ok20:58
T42<Harsh18262> @mal how to fix dependencies error in kernel some configs for sfos are not gettting applied but are present in the defconfig21:00
electro575@elros34 : https://dpaste.de/OkFV21:01
electro575maybe, if it's necessary -> output of make hybris-boot21:02
electro575https://dpaste.de/SVWJ21:02
T42<Harsh18262> result from mer checker https://paste.ubuntu.com/p/Pp4F3DkJG2/21:03
mal@Harsh18262 show your defconfig21: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/*/.config21:06
T42<Harsh18262> i am trying minimal defconfig as it worked for elctro21:07
mal@Harsh18262 but you have different device, of course you need to fix the errors21:07
T42<elros34> @Harsh18262 in case its telnet 2323 you might add init_eneter_debug221:08
T42<Harsh18262> ok i will try again21:10
T42<Harsh18262> @elderos i have to do it after entering telnet 2323?21:11
electro575@elros34 : i'm compiling21: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_debug221:12
electro575@elros34 : https://dpaste.de/6cGr21:14
electro575cause of CONFIG_SECURITY_SELINUX_BOOTPARAM is printed by mer kernel checker21:14
electro575@elros34 : https://dpaste.de/p0wH21:15
T42<elros34> CONFIG_AUDIT=y21:15
electro575yes sorry21:16
T42<Harsh18262> @elros i dont have any telnet access nor 23 neither 2323 right now21:17
electro575@elros34 : https://dpaste.de/ca6j21:27
electro575CONFIG_SECURITY_SELINUX_BOOTPARAM not printed21: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 applied21:30
electro575ok21:30
T42<elros34> @Harsh18262 for example?21:31
T42<Harsh18262> arch/arm64/configs/X00TD_defconfig:777⚠️ override: reassigning to symbol VT21:31
T42<Harsh18262> arch/arm64/configs/X00TD_defconfig:783⚠️ override: reassigning to symbol NETFILTER_XT_MATCH_CONNTRACK21:31
T42<Harsh18262> arch/arm64/configs/X00TD_defconfig:784⚠️ override: reassigning to symbol TMPFS_POSIX_ACL21:31
T42<Harsh18262> arch/arm64/configs/X00TD_defconfig:785⚠️ override: reassigning to symbol UNIX21:31
T42<Harsh18262> arch/arm64/configs/X00TD_defconfig:786⚠️ override: reassigning to symbol NET21:31
T42<Harsh18262> arch/arm64/configs/X00TD_defconfig:787⚠️ override: reassigning to symbol IKCONFIG_PROC21:31
T42<Harsh18262> only these are applied21:31
T42<Harsh18262> https://paste.ubuntu.com/p/c7qzvSTwyg/21:32
T42<Harsh18262> i have added these21:32
T42<elros34> how do know they are not applied? have you checked out/*.config21:33
T42<Harsh18262> mer checker is still telling it as error and not set21:33
electro575@elros34 : no /dev/watchdog or * exist21:34
T42<elros34> @Harsh18262 it? be more specific21:35
T42<Harsh18262> https://paste.ubuntu.com/p/xC4HKQxqRj/21:35
T42<Harsh18262> mer checker result21: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/stdin21:36
T42<Harsh18262> for example mer checker is saying ERROR: CONFIG_DEVTMPFS_MOUNT is invalid but this is defined in defconfig\21:36
electro575ok21:36
electro575@elros34 : after continue -> https://dpaste.de/UFyr21:39
electro575no more log for journalctl21:39
electro575the device not reboot21:40
electro575humm, the device, ...21:40
electro575i don't have telnet access now21:40
electro575the light of the screen is now less brightness21:41
T42<elros34> @Harsh18262 are you useing correct defconfig? lets try something: CONFIG_IKCONFIG=y CONFIG_PROC_FS=y  CONFIG_IKCONFIG_PROC=y21:41
electro575@elros34, thank you for your help21:42
electro575now, the device had reboot, i have telnet access21:43
T42<Harsh18262> @elros can this be caused dur to duplicate lines21:43
electro575what to do now ? trying remove init_debug_2 ? or enable droid-hal-init ? etc/systemd/system/user@100000.service21:44
T42<elros34> if you add them at the end of file then it shouldn't be21:44
T42<elros34> @Harsh18262 ^21:44
T42<elros34> electro575: where is dmesg I asked? explain what happen to device precisely21:45
electro575i haven't seen the device but log append21:46
electro575in terminal21:46
electro575the device reboot after few seconds21:46
electro575and the brightness is less with the same text21:46
electro575Samsung GALAXY Note II21:46
electro575the text stay display but the telnet session reboot21:47
electro575https://dpaste.de/zh6Z21:47
electro575the text stay displayed during reboot21:48
electro575https://dpaste.de/UFyr21:49
electro575dmesg21:49
electro575@elros3421:49
T42<elros34> you wait too long to grab logs so eary messages are missing:21:49
electro575this full21:50
electro575https://dpaste.de/6uwo21:50
T42<elros34> look at this, it starts at 320s, I want to see dmesg from 0 secund21:51
electro575ok21:51
electro575@elros34 : https://dpaste.de/okDg21:53
T42<elros34> so you didn't pasted whole log earlier or you get new one?21:53
electro575because i suppose you want just the end21:54
electro575nono, it's THE full log21:54
electro575not new21:54
T42<elros34> cmon we alread lost 2 days because you didn't paste whole last_kmsg few days ago and now again21:55
electro575sorry21: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 logs21:56
electro575ok21:56
electro575@elros34 :22:01
electro575https://dpaste.de/hReK22:01
electro575https://dpaste.de/huq322:01
electro575@elros3422:03
T42<elros34> I see just I am not sure where is the issue. SHow your fixup-mountpoints22:04
electro575@elros3422:05
electro575https://dpaste.de/xUpb22:05
T42<elros34> when you lose telnet, does device reboot straightaway?22:05
electro575the device reboot, i don't know the time but the text display stay22:05
electro575fast reboot i suppose22:06
electro575with reboot -f22:06
electro575yes straightaway22:06
electro575humm, not really22:06
electro575the log display22:07
electro575in dmesg22:07
T42<elros34> show one of your mount units, cat /lib/systemd/system/system.mount or other22:07
electro575this display22:07
electro575https://dpaste.de/nmeC22:07
electro575before reboot22:08
electro575in dmesg22:08
electro575https://dpaste.de/fVUb22:08
electro575@elros34 : sorry22:13
electro575don't call you22:13
T42<elros34> what about  data.mount22:14
electro575no data.mount22:15
electro575@elros3422:15
electro575@elros34 : https://dpaste.de/Q7Hb22:16
electro575@elros34 : https://dpaste.de/6uTr22:17
electro575@elros34 : https://dpaste.de/iO2w22:18
electro575@elros34 : https://dpaste.de/nzPi22: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 units22:20
electro575https://dpaste.de/n63J22:20
electro575ok22:21
electro575then ?22:21
electro575i reboot22:21
T42<elros34> maybe enabling persistent logging will reveal why it lose telnet. I have no more ideas for now22:21
electro575ok, i save this, i go to sleep22:22
electro575maybe at tomorrow22:22
electro575thank you a lot22:22
electro575@elros34 bye22:22
T42<elros34> take care22:23
electro575thanks22:23

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