Wednesday, 2019-05-29

T4<adampigg> Lbt: when you wake up, lean over to the obs server and hit the reset butto.,.and maybe the turbo button :)05:44
*** OhYash1 is now known as ohyash06:56
T4<Harsh18262> Nope07:15
Mister_Magistermal: can i force sailfish to add repo with OTA update?09:59
malyes, you need to add the repo config file the same way community-adaptation repos are added (https://github.com/mer-hybris/community-adaptation) so just make an ini file for your repo and add to config repo sparse to correct place10:02
Mister_Magisterohhh but i won't be able to install package from that repo with the same update as i add repo right? it will require 2 updates before app gets in. but makes sense thanks10:06
T4<Harsh18262> mal did u find anything from the kernel log and dmesg?10:23
T4jamesisaweeb was added by: jamesisaweeb10:30
T4<elros34> @Harsh18262: you need to get logs from sailfish boot not your twrp. Is this a/b partitions device?  Do you have skip_initramfs in kernel commandline when you boot to android (not twrp).10:36
T4<Harsh18262> no it is single partition device and it is not booting to android10:37
Mister_Magistermal: i added ini file repo is in ssu but not in zypper, how do i change that?10:40
T4<elros34> What do you mean "it is not booting to android"? Flash your lineage boot.img, boot to android and get kernel commandline options10:40
malMister_Magister: did you try ssu ur?10:53
malor something to refresh repos10:53
Mister_Magistermal: refreshing repos didn't help but i already know how to add zypper repo10:55
malthat shouldn't be needed10:56
malrepos from ssu should always appear in zypper also10:56
malssu lr shows the correct repos?10:56
Mister_Magisterssu lr shows it10:57
Mister_Magisterbut pkcon or zypper don't10:57
Mister_Magisteri added file in /etc/zypp/repos.d and it works perfectly10:57
mallike I said that should not be needed, wondering what went wrong10:59
Mister_Magistermaybe reboot?10:59
malnot sure11:00
Mister_Magisteri wil just add that file11:01
Mister_Magisteroh ssu ur added them11:01
T4<Harsh18262> how to get kernel commandline options?11:05
T4<elros34> cat /proc/cmdline or somewhere at the beginning of dmesg11:07
T4<adampigg> mal, somone reported that pine TS/ issue might be fixed11:21
mal@adampigg in kernel or something else?11:24
masha11Hello. I took all the logs from my device (griffin), which is in bootloop.11:55
masha11journalctl: https://pastebin.com/0Xba7ejs, /sys/fs/pstore/console-ramoops: https://pastebin.com/WD3eCQuA, /sys/fs/pstore/dmesg-ramoops-0: https://pastebin.com/uD7qg3Lz11:58
masha11dmesg: https://pastebin.com/erTmqEBD, /proc/kmsg: https://pastebin.com/iDGUgCGZ,  /dev/kmsg: https://pastebin.com/hper1EdK11:59
masha11Help me, please,  understand the errors.12:00
malno output from logcat, also get that (/usr/libexec/droid-hybris/system/bin/logcat)12:14
masha11mal: ok, thanks12:15
Mister_Magistermal: yeee that ssu repo didn't appear in zypper after installing updated configs package12:18
malMister_Magister: maybe it needs ssu ur in %post12:20
malor something12:20
Mister_Magisteri will add it12:20
maland of course make sure it has ssu as dependency12:21
mallike community-adaptation spec has12:21
masha11mal: /usr/libexec/droid-hybris/system/bin/logcat: https://pastebin.com/nDCQPjFE12:22
malat least some firmware issue, Cannot open the file /firmware/image/keymaste.mdt errno = 2, not sure if an issue12:27
T4<adampigg> mal, /apparently we now have  a better TS...more responsive, smoother vertical swipes, but still no horizontal...wtf!12:28
malmasha11: is /fsg mounted12:29
malmasha11: show output of command "mount"12:29
mal@adampigg strange12:29
masha11mal: yes, mount: https://pastebin.com/MYUF15Xa12:31
masha11i don't really have a file /firmware/image/keymaste.mdt12:35
mallike I said, not sure if that is bad thing12:35
malanything like that anywhere on the device?12:36
Mister_Magistermasha11: what if you have some .gz file in /firmware12:39
masha11mal: no12:40
masha11Mister_Magister: I don't have a .gz file in / firmware12:43
T4<elros34> masha11: does it stop on "Started Start User Session." or you didn't grab whole journal? does it also reboots when you mask user@100000.service?12:46
malthe usual suspect is ril12:48
masha11@elros34, not a full log was captured. I restarted it. https://pastebin.com/4Qti7b5812:53
malmasha11: you do know that you can add -f to journalctl to follow the log, it might tell something on reboot, similarly "dmesg -w"12:55
masha11mal: thanks, did not know.12:56
T4<Harsh18262> got the cmdline log but what to do with that https://paste.ubuntu.com/p/x72DBHsNTs/ after flashing the sailfos zip the device is not booting but after flashing the boot .img from the lineageos it boots into lineage and also when installing the sailfish os zip i get the following error:"mount: Failed to mount /dev/block/bootdevice/by-na13:00
T4me/userdata" but then to it proceeds and finishes installing the zip sucessfully13:00
T4<elros34> cmdline was needed to check whether you bootloader adds skip_initramfs but looks like no. The rest is expected13:06
malso the question remains why doesn't the device show up in host dmesg, does it fail to load initramfs for some other reason or something13:07
T4<elros34> @Harsh18262: Press recovery button when it bootloops if it reboots to recovery then cat /sys/fs/pstore/console-ramoops13:09
masha11mal: can i show you logs after reboot? dmesg -k: https://pastebin.com/etSdvPN7 journalctl -n1000 -f: https://pastebin.com/ZrsG3VPQ13:12
T4<Harsh18262> when bootlooping there is no file in the pstore folder but when the lineage os boot there was a file https://paste.ubuntu.com/p/gQ7wyNGSzP/13:13
masha11I am disturbed by this line: "EXT2-fs (sda20): error: ext2_lookup: deleted inode referenced". I mounted the / data section manually in ext2.13:14
malmasha11: run systemctl mask user@100000 and see if rebooting still continues13:17
masha11mal: ok13:18
T4<elros34> @Harsh18262: strange, are you sure you did not poweroff device between bootloop and twrp boot?13:18
T4<Harsh18262> yes i let loop for 2-3 times and then booted to twrp13:19
masha11mal: rebooting continues.13:22
T4<elros34> so try different way: flash lineage boot and then boot hybris-boot. It should reboots to android and /proc/last_kmsg or ramoops should contains something13:22
T4<elros34> @Harsh18262: ^13:22
T4<elros34> masha11: what about these systemd[1]: mount-sd@sda8.service. I don't think udisks2 should try to mount your internal partitions13:24
T4<Harsh18262> flash just the lineage boot.img or the full zip13:24
T4<elros34> only boot images13:24
masha11@elros34 What do I need to do in this case?13:26
T4<elros34> not sure if its important, maybe try remove /lib/udev/rules.d/80-udisks2.rules or whole udisks213:27
masha11@elros34 Ok, thanks. I will try.13:29
T4<Harsh18262> console-ramopps - https://paste.ubuntu.com/p/j7WzxRzPM3/13:43
T4<Harsh18262> @elros34 ^13:44
T4<elros34> how fast it bootloops? there 50s boot log in your paste13:51
masha11@elros34 remove /lib/udev/rules.d/80-udisks2.rules did not change anything. Whole udisks2  to remove from /lib/systemd/system/udisks2.service?13:53
T4<Harsh18262> this is again after booting into lineage after installing hybris-boot.img there is no file generated after installing the hybris-boot it reboots just after the asus logo13:53
T4<elros34> masha11: just look at the journal, you should see the difference13:53
T4<Harsh18262> the boot steps are powered by android logo then bootloader unlocked warning msg then asus logo and it stays at the asus logo for near about half second and the same process starts again13:55
T4<elros34> try with unmodified defconfig14:03
T4<Harsh18262> @elros34 meaning without any changes from mer_verify_kernel_config14:11
T4<Harsh18262> ?14:11
masha11@elros34 Errors "systemd[1]: mount-sd@sda8.service:" persisted. The deleted file /lib/udev/rules.d/80-udisks2.rules is created automatically after reboot.14:14
T4<elros34> yes, could be some config change that cause early kernel crash14:14
masha11I will continue tomorrow.14:15
vknechtcamrecording with 3.0.3.9 (with both jolla-cam & p-o-v) I get "shared memfd open() failed: Function not implemented" then C"ameraBin error: "Failed to connect stream: Connection terminated" and "CameraBin error: "Internal data stream error."15:35
vknechtI think my droidmedia and gst are ok, same as testing:fp2 (droidmedia-0.20181119.0+9+g68fc534  gstreamer1.0-droid-0.20181213.0-1.3.21)15:35
vknechtis there some submodule update required from 3.0.2.8 for a 14.1 based port ? the fake sensor stuff looks 15.1 only ?15:37
malvknecht: testing fp2 is not yet 3.0.315:37
malvknecht: check logcat and GST_DEBUG15:38
vknechtfunny, "reset" doesn't work in terminal anymore...15:39
T4<elros34> reset is now in ncurses package15:40
vknechtlogcat: https://paste.ubuntu.com/p/4qVF7yRX2Z/15:48
vknechtgstdebug: https://paste.ubuntu.com/p/z2PspvyMZm/15:53
vknechthmm, don't have sound, maybe it's pulseaudio related: https://github.com/kunquat/kunquat/issues/58016:02
vknechtshould I rebuild audioflingerglue or something ?16:02
malvknecht: did you built that on OBS, if so give link to the project16:05
mal*build16:05
vknechtthe p-o-v ? https://build.merproject.org/package/binaries/nemo:devel:hw:TCL:idol3/harbour-advanced-camera?repository=sailfish_latest_armv7hl16:06
malvknecht: your device of course16:08
vknechtah sorry... https://build.merproject.org/project/show/nemo:devel:hw:TCL:idol316:08
malvknecht: you didn't update packages in that, compare the versions to those of fp2 https://build.merproject.org/project/show/nemo:devel:hw:fairphone:fp2-sibon16:09
malat least pulseaudio plugin is too old16:09
vknechtah, thanks ! really should make this osc script I'm thinking about to automate comparison16:12
vknechtthanks again, works much better now :-)16:54
malvknecht: camera works also?16:56
vknechtyes16:56
vknechtand sound is back16:56
malgood16:57
malvknecht: a good reminder to check if adaptation packages should be updated when doing an update16:57
malvknecht: I think the reason was that you checked fp2 testing repo instead of devel, I have been too perfectionist again and haven't done new release yet16:59
vknechtyes :-) https://build.merproject.org/package/show/nemo:testing:hw:fairphone:fp2-sibon/pulseaudio-modules-droid16:59
malvknecht: I have one quite rare bug to fix before release, although the bug has existed for a long time but I finally want to fix it17:01
piggzmal: can i build yout brains on spec files.....17:14
vknechtI'm sure this bug doesn't stand a chance, it will be crushed swiftly :-)17:15
piggzthe one i have created for libevdev, is similar in structure to other packages.  libevdev is a submodule in my repo, and i have an rpm/libevdev.spec file.....17:15
malvknecht: I already know the a bit ugly way to fix it17:15
piggzit runs the %prep stage, but fails on build, becuase I think it is in the wrong folder17:15
piggzbut, i cant see how it is any different to all the other packages using that strcture17:15
malvknecht: it's an issue in error handling of droid-camres which I use on device to handle camera configs when changing camera modules17:16
piggzi added pwd and ls commands to the build, and can see i need to be down a level https://build.merproject.org/package/live_build_log/home:piggz:dontbeevil/libevdev/sailfishos_3.0.3.9_latest_armv7hl/armv8el17:16
piggzmal: if u use p-o-v, then camres is not needed ;)17:17
malpiggz: yes, but some people probably use official camera app17:20
malpiggz: about that build error, for some reason it doesn't go the the libevdev subfolder17:20
mal*to the17:20
piggzmal: i know that!17:21
piggz:D17:21
piggzmy comparison is https://git.merproject.org/r0kk3rz/gstreamer/blob/master/rpm/gstreamer.spec17:21
malpiggz: https://build.merproject.org/package/live_build_log/home:mal:testing/libevdev/sailfishos_latest_armv7hl/armv8el17:37
malpiggz: almost17:38
malpiggz: the issue was mainly incorrectly commented out stuff in spec, and after that missing ldconfig, successfully built now17:41
piggzmal: so, just those 3 commented lines in prep?17:44
malpiggz: yes, ad the ldconfig17:49
mal*and17:49
piggzmal: what kind of language doesnt have proper comments??17:50
malpiggz: https://github.com/mer-hybris/droid-hal-device/blob/master/droid-hal-%40DEVICE%40.spec.template#L1417:50
piggzyes, i remember seeing that17:50
malpiggz: libinput is missing the ldconfig part18:27
piggzmal: fixed already ;)18:27
piggzstop stalking my builds :P18:27
malyep18:27
malpiggz: :DD18:27
mgrovermal: can your latest target update from 3.0.3.9 repos? or have they not been released yetr19:11
*** mgrover is now known as ghosalmartin19:11
malghosalmartin: what do you mean? latest is 3.0.3.919:12
ghosalmartinmal: refreshing fails due to19:13
ghosalmartin[sdk|plugin:/ssu?repo=sdk] Valid metadata not found at specified URL19:13
ghosalmartinso has something gone wrong19:14
malghosalmartin: is sdk?19:15
ghosalmartinnah target19:15
malfor which repo?19:17
ghosalmartinall of them :P19:17
ghosalmartinhttps://pastebin.com/tpni9Vwm19:17
malghosalmartin: is version correct, check ssu re or ssu lr in target using sb219:20
ghosalmartinso it seems correct19:21
ghosalmartinhttps://pastebin.com/CV0TXSKc19:21
maldoes this give same sb2 -t $VENDOR-$DEVICE-$PORT_ARCH -R -msdk-install ssu lr19:22
ghosalmartinyep19:24
ghosalmartinama attempt to do it again from scratch hopefully something was just corrupted but i doubt it19:33
maloops, always good idea to do testing on my main device, I managed to break it, no UI anymore, lipstick crashes20:00
malmanaged to recover it, reboot in the middle of update is not very nice20:09
ghosalmartinisnt there a normally a big warning saying don't reboot during update :P20:09
ghosalmartinmal: does rild on hybris-15.1 need anything special? /firmware is mounted and fine20:11
malghosalmartin: usually android 8 uses binderized ofono plugin, not sure if that is needed for you20:18
malcheck the config from nile repo if you are using that20:19
ghosalmartinhmm for now id settle for rild starting and creating socket20:19
malah20:19
ghosalmartinfor whatever reason when I start it manually it starts fine20:19
ghosalmartinbut if boot does its ignored20:19
ghosalmartinor "dies"20:19
ghosalmartinsilently to make ti worse20:19
malcheck logcat20:19
ghosalmartinany idea if logs such as "Cannot find entry android.hardware.configstore@1.0::ISurfaceFlingerConfigs/default in either framework or device manifest." mean an selinux failure and need the stubs?20:22
ghosalmartinvendor binder is failing as well so i wonder if thatll need the stubs too like the servicemanager one20:23
malghosalmartin: do you have correct rc file for vnd20:57
ghosalmartinyeah i do now20:58
ghosalmartinits wierd my phones started to perform a firmware update20:58
ghosalmartinnever seen this before20:58
ghosalmartinmal: for now id settle for just a target that builds20:59
ghosalmartinalthough i could just package up the out/ folder and the rpm folder and throw it to obs to build cant i21:00
ghosalmartinah maybe not, slightly too big for that, 5.4 gigs21:00
ghosalmartinmal: for the time being am using the 3.0.2.8 target21:07
malghosalmartin: did you remember to update sdk also?21:13
ghosalmartinthe sdk was a different version, that version actually, would that of caused the issue?21:13
malnot sure21:14
malI think I remember having some issue if sdk was too old21:14
malbut not sure21:14
malghosalmartin: also I suggest reinstalling tooling21:15
ghosalmartinive tried both tbf, for now it seems to of worked so ama leave it be, still issues with build_packages -d though21:15
malghosalmartin: what issues?21:16
ghosalmartinhttps://pastebin.com/hfrWfupA21:17
ghosalmartinmy dh submodule could be really out of date tbf21:17
malghosalmartin: could be21:23
ghosalmartini dont even think we use usergroupgen21:24
ghosalmartinmal: btw in telnet does the "clear" command work?21:25
vknechtghosalmartin, needed to install ncurses for clear and reset to work with 3.0.321:28
vknechtthanks @elros34 :)21:29
ghosalmartinvknecht, hmm okay i updated to 3.0.3 and basically my whole UI broke, so I wonder if t was some big leap forward21:29
ghosalmartinhttps://pastebin.com/izZicwEj21:29
malghosalmartin: did you see any segfaults in logs?21:30
ghosalmartinthats segfaulting and a few others including pulseaudio and nfgd21:30
ghosalmartinmal: yeahh21:30
malghosalmartin: of any android side stuff?21:30
ghosalmartinmal: nah, servicemanager.rc was segfaulting but I sorted that out by overriding it and adding the preload21:32
malghosalmartin: did you add all of the rc files from nile21:32
ghosalmartinmal: yeah21:32
malas mentioned in faq21:32
ghosalmartinthis was a fresh build from that now21:33
malghosalmartin: did you change config submodule to 3.0.3 branch21:33
ghosalmartinmal...no21:33
ghosalmartinitll be whatever latest master it21:33
malupgrade-3.0.321:33
malnot sure if relevant for your issue but some devices like fp2 needed it21:34
malghosalmartin: not relevant for you, only on 32-bit devices21:34
ghosalmartinyeah didnt work, it shows the first loadng spinner21:35
ghosalmartinthen breaks and reattempts that21:35
ghosalmartinit really could be a dirty build21:35
malat least it gets that far21:35
malshow journal21:35
maland logcat21:35
ghosalmartinlemme try the build for it for a sanity check21:35
ghosalmartinbefore21:36

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