*** slate has quit IRC | 04:18 | |
*** slate has joined #sailfishos-porters | 04:22 | |
*** slate has quit IRC | 04:30 | |
*** slate has joined #sailfishos-porters | 04:39 | |
*** slate has quit IRC | 04:56 | |
*** slate has joined #sailfishos-porters | 05:00 | |
*** ca158 has left #sailfishos-porters | 05:01 | |
*** slate has quit IRC | 05:10 | |
*** slate has joined #sailfishos-porters | 05:15 | |
*** slate has quit IRC | 06:33 | |
*** slate has joined #sailfishos-porters | 06:39 | |
situ | Morning | 08:26 |
---|---|---|
sledges | mornin! | 09:31 |
lbt | morning | 09:35 |
*** phdeswer has quit IRC | 10:21 | |
*** phdeswer has joined #sailfishos-porters | 10:43 | |
situ | sledges: Shall we continue from where we left yesterday ? | 10:51 |
sledges | situ: so you reverted debugfs? | 10:54 |
sledges | 22:13 < situ> http://pastebin.com/mCwKistY | 10:54 |
sledges | can't see anything suspicious.. | 10:54 |
situ | sledges: so what is causing that crash according to you ? | 10:55 |
situ | [pid 1283] write(2, "QPA-HWC: hw_get_module(HWC_HARDW"..., 106) = 106 | 10:55 |
situ | I suspect this is goint to debugfs somehow | 10:56 |
sledges | hummm.. and if debugfs is double-mounted (android also cares about it)?.. | 10:56 |
situ | Not sure. | 10:57 |
situ | sledges: If I umount debugfs, it will crash somewhere else. | 10:57 |
sledges | same cause? | 10:58 |
sledges | never know ;) | 10:58 |
sledges | situ: ls -l / | 10:58 |
situ | http://pastie.org/9326110 | 11:02 |
situ | Looks like it crashes at the same point with debugfs mounted, let me check again. | 11:12 |
sledges | it is not finding the right hwc*.so, same for gralloc | 11:13 |
sledges | isn't android playing with properties to inject msm8xxx needed bits into X.Y.so search? | 11:14 |
sledges | (hence why phdeswer had to start symlinking) | 11:14 |
sledges | maybe something to messed up with build.prop init*.rc and wherever else we might find property havocs? :)) | 11:15 |
phdeswer | situ: sledges : yep that is the symlinking I did. To get the hwc and gralloc | 11:15 |
situ | Yeah, it crashes at the same points despite debugfs is mounted or not. | 11:18 |
situ | sledges: in u5, I was able to get lipstick working by not mounting debugfs. | 11:18 |
situ | But I didn't have any problems with loading .so's in u5. | 11:21 |
sledges | so it was a false positive when we disabled debugfs just now | 11:21 |
phdeswer | sledges: possibly | 11:21 |
sledges | situ: are you using dhd from your repos | 11:21 |
sledges | or from merged mer-hybris ? | 11:21 |
sledges | (and rest of HA) | 11:22 |
phdeswer | And situ make sure you move the sensors lib out of the dir. Renaming it makes it still crash there | 11:22 |
situ | It's from mer-hybris. | 11:22 |
sledges | situ: maybe something gotten left behind during merge? | 11:22 |
situ | I have moved libqtsensors_sensorfw.so out of the way. | 11:22 |
situ | sledges: Shouldn't be. | 11:23 |
sledges | baking a u5 image with mer-hybris HA? | 11:26 |
situ | I can try that. | 11:26 |
sledges | (just in case we still per-used your repos in the past) | 11:26 |
situ | sledges: sudo mic create fs --arch armv7hl --tokenmap=RNDPATTERN:,RNDRELEASE:latest,ARCH:armv7hl,RELEASE:1.0.5.16 --record-pkgs=name,url --outdir=sfa-hammerhead-ea --pack-to=sfa-hammerhead-ea.tar.bz2 installroot/usr/share/kickstarts/Jolla-\@RELEASE\@-hammerhead-\@ARCH\@.ks 2>&1 | tee out.log | 11:29 |
situ | looks good ? | 11:29 |
sledges | where is adaptation0 repo pointing? | 11:31 |
situ | repo --name=adaptation0-hammerhead-@RELEASE@ --baseurl=http://repo.merproject.org/obs/home:/siteshwar:/hw:/hammerhead/sailfish_1.0.5.16_armv7hl/ | 11:32 |
sledges | and that's from mer-hybris ? | 11:33 |
situ | I didn't get the question. | 11:33 |
sledges | http://repo.merproject.org/obs/home:/siteshwar:/hw:/hammerhead | 11:33 |
sledges | this ha repo has been built using sources on mer-hybris? | 11:34 |
sledges | as opposed to github/siteshwar | 11:34 |
* lbt wonders why dhd provided /init-debug when it's already in hybris/hybris- boot ? | 11:34 | |
situ | sledges: droid-hal-* packages are going to be picked up from local repository | 11:35 |
situ | Which specific packages should I check for ? | 11:35 |
sledges | situ: dhd and libhybris which links against it ^_^ | 11:36 |
sledges | either both should be on obs | 11:36 |
sledges | or both locally | 11:36 |
situ | https://build.merproject.org/project/show/home:siteshwar:hw:hammerhead | 11:36 |
sledges | and for piece of mind: all other ha packages should follow the same logic | 11:36 |
situ | libhybris is from mer-hybris | 11:37 |
sledges | situ: then it's useful to remove dhd from loca lrepo | 11:37 |
situ | dhd I already mentioned is picked up from mer-hybris | 11:37 |
sledges | and just have it as a patterns placeholder | 11:37 |
* sledges nods | 11:38 | |
situ | sledges: Should I delete https://build.merproject.org/package/show/home:siteshwar:hw:hammerhead/droid-hal-hammerhead now ? | 11:38 |
sledges | situ: it's not local repo | 11:38 |
sledges | local repo = repo created with `createrepo` command | 11:39 |
situ | But we are referencing it locally right ? | 11:39 |
situ | repo --name=hammerhead --baseurl=file:///home/situ/droid-local-repo/hammerhead | 11:39 |
sledges | yes | 11:39 |
sledges | for patterns | 11:39 |
sledges | mainly | 11:40 |
sledges | but for package you need to decide | 11:40 |
sledges | either all on obs | 11:40 |
sledges | or all on local-repo | 11:40 |
sledges | otherwise we end up pulling in dhd from local, but libhybris gets pulled in from obs, where it linked against another dhd | 11:40 |
situ | so should I push file:///home/situ/droid-local-repo/hammerhead to https://build.merproject.org/package/show/home:siteshwar:hw:hammerhead/droid-hal-hammerhead | 11:40 |
sledges | are you with me? :) | 11:41 |
situ | I am following you | 11:41 |
situ | so we have some rpm's under file:///home/situ/droid-local-repo/hammerhead | 11:41 |
sledges | im not obs expert to answer that if all - local and remote - packages are of _same_ revision, they would link up fine | 11:41 |
situ | which should be uploaded to https://build.merproject.org/package/show/home:siteshwar:hw:hammerhead/droid-hal-hammerhead | 11:41 |
sledges | situ: it's up to you | 11:42 |
sledges | you know fresh they are | 11:42 |
situ | I will upload the packages to obs repo. | 11:42 |
sledges | ok | 11:43 |
*** hexo is now known as shallow | 11:46 | |
situ | sledges: ok, so it's building now https://build.merproject.org/project/show/home:siteshwar:hw:hammerhead | 11:49 |
situ | now I after it finishes building I can remove following line from my .ks : | 11:49 |
situ | repo --name=hammerhead --baseurl=file:///home/situ/droid-local-repo/hammerhead | 11:50 |
situ | because all these .rpm's are on server now. | 11:50 |
sledges | but then you won't have patterns | 11:51 |
sledges | you should delete droid-hal-*.rpm | 11:51 |
situ | ok, I will delete droid-hal-*.rpm from my local file system repo. | 11:52 |
* sledges nods | 11:52 | |
situ | lbt: Download logfile is not working on this page https://build.merproject.org/package/live_build_log/home:siteshwar:hw:hammerhead/libhybris/sailfish_1.0.5.16_armv7hl/armv8el | 11:54 |
situ | I can't get the full build log. | 11:54 |
lbt | grumble | 11:54 |
sledges | auth? ;) | 11:55 |
lbt | I need to do another OBS update soon - I'll leave it until then | 11:55 |
lbt | sorry for the inconvenience | 11:55 |
lbt | osc cli should work though | 11:55 |
phdeswer | situ: if you can try to start with strace -f (seems it starts always with that) maybe some weird timing issues | 11:58 |
situ | phdeswer: Did you use any of my packages while building ? | 11:59 |
phdeswer | situ: nope. Have not checked that. Busy fixing kernel bugs | 11:59 |
* situ starts building u5 image | 12:03 | |
situ | sledges: nothing provides dconf needed by droid-hal-hammerhead-sailfish-config | 12:06 |
situ | remove dconf from patterns ? | 12:07 |
sledges | hhhright | 12:08 |
sledges | dconf in dhd needs reverting | 12:08 |
situ | sledges: Should I try building u7 instead ? | 12:09 |
situ | Let's try u7. | 12:11 |
sledges | how would that be different from your current img? | 12:12 |
* sledges goes away for an hour | 12:12 | |
situ | So I have uploaded hal packages to OBS, and rebuilt hybris and other packages. | 12:12 |
sledges | ok | 12:17 |
*** slate has quit IRC | 13:25 | |
*** slate has joined #sailfishos-porters | 13:33 | |
situ | sledges: Crashing at the same point | 13:34 |
sledges | situ: revert dconf and off to u5? | 13:44 |
situ | can't we debug u7 directly ? :( | 13:44 |
situ | sledges: What if I provide you strace report for both succesful and failed attempts to start lipstick ? | 13:46 |
sledges | situ: also an option, i just want to test u5 with latest ha | 13:46 |
sledges | to rule out something's left out in ha | 13:46 |
sledges | situ: lipstick succeeds to start intermittently? | 13:47 |
situ | sledges: If I make several attempts to start it, it does start. | 13:47 |
sledges | race..? | 13:48 |
situ | sledges: Let me try to get strace for it | 13:48 |
sledges | oki | 13:49 |
sledges | thanks | 13:49 |
situ | May be this error is related : | 13:51 |
situ | QPA-HWC: hw_get_module(HWC_HARDWARE_MODULE_ID, (const hw_module_t **)(&hwc_module)) in create returned -2 | 13:51 |
situ | vgrade: ^ have we seen this before ? | 13:51 |
Stskeeps | #define ENOENT 2 /* No such file or directory */ | 13:52 |
situ | I remember dealing with such error before. | 13:53 |
situ | phdeswer: How did you fix this error ? | 14:00 |
phdeswer | situ: linked /system/vendor/lib/hw/hwcomposer.ms87something to whatever it was. | 14:02 |
phdeswer | Let me find yesterdays pastebin | 14:02 |
sledges | yet we need to know why it's looking for a wrong one.. | 14:03 |
phdeswer | http://pastebin.com/ghzZz7Tt | 14:04 |
phdeswer | Line 19 | 14:04 |
phdeswer | I think it finds the default first and then tries to find one with hammerhead in it So it having hammerhead in the name moght work too | 14:06 |
phdeswer | Like I did with the gralloc on line 16 or 17 | 14:06 |
sledges | but why not on n5 | 14:06 |
* sledges is looking for a door handle | 14:06 | |
phdeswer | sledges: I suspect libhybris linking. CM != AOSP | 14:07 |
sledges | phdeswer: yes i read that from you earlier too; quite agree yet how could we validate it | 14:08 |
sledges | s/n5/u5/ | 14:09 |
phdeswer | sledges: different version of CM/libhybris/AOSP used? | 14:09 |
situ | http://pastie.org/9326763 | 14:10 |
situ | Looks like a sensor issue now | 14:10 |
situ | I haven't made gralloc links yet. | 14:10 |
phdeswer | situ: try strace -f | 14:11 |
situ | mv /etc/xdg/QtProject/Sensors.conf /root | 14:12 |
phdeswer | Then you can isolate the crash to thread where it happened | 14:12 |
situ | Now I am at this : | 14:12 |
situ | http://pastie.org/9326774 | 14:12 |
situ | phdeswer: grallow.default.so will cause a crash ? | 14:13 |
phdeswer | situ: yes | 14:13 |
situ | ok, moving it | 14:13 |
situ | or rather linking to gralloc.hammerhead.so | 14:14 |
phdeswer | I don't know why there are two grallocs. You can see they have a different size. crf my pastebin and comments earlier | 14:14 |
sledges | there are twos of many thing we don't know... | 14:14 |
sledges | things* | 14:14 |
Stskeeps | fwiw, you should not, in any way, need symlinks | 14:14 |
Stskeeps | if you need symlinks, something else is broken, you should be able to use /system as-is | 14:14 |
sledges | yup, in the end need to figure out why it's looking for that file and not for the right one | 14:15 |
phdeswer | Stskeeps: well some boot scripts in android do a lot of linking in /system | 14:15 |
situ | Now crashing at http://pastie.org/9326790 | 14:15 |
phdeswer | Which does not happen now on n5 | 14:15 |
Stskeeps | how about you go back to step zero, flash a fresh image, and try to start surfaceflinger? | 14:15 |
Stskeeps | under sailfishos setup | 14:15 |
Stskeeps | if that works, fault is somewhere else | 14:15 |
situ | Stskeeps: Yes, we can do that, but let's find out what is missing | 14:16 |
Stskeeps | just saying that if things are working like that, something deep is broken, hence me saying it might be better to trace from the beginning :P | 14:16 |
situ | and then several attempts to start lipstick and it comes up. | 14:18 |
situ | Stskeeps: How should I track it (after reflashing) ? | 14:21 |
situ | ohh ok, will try to start surfaceflinger. | 14:21 |
situ | Stskeeps: I reflashed both cm and sailfish images | 14:28 |
situ | and executed '/system/bin/surfaceflinger ' on boot | 14:28 |
situ | I see cm boot screen. | 14:28 |
Stskeeps | /system/bin/start surfaceflinger right? | 14:29 |
situ | Right, that works too. | 14:29 |
situ | I had executed '/system/bin/surfaceflinger ' earlier. | 14:29 |
Stskeeps | nod | 14:29 |
Stskeeps | so obviously the android part of the system works | 14:29 |
situ | ok | 14:30 |
situ | Stskeeps: ok, what next ? | 14:33 |
sledges | is that part already using hwc and gralloc? | 14:34 |
*** phdeswer has quit IRC | 14:35 | |
sledges | (you could strace surfaceflinger) | 14:37 |
situ | sledges: or look into /proc | 14:40 |
situ | b6713000-b6716000 r-xp 00000000 b3:19 49176 /system/lib/hw/gralloc.msm8974.so | 14:40 |
situ | b66f2000-b6704000 r-xp 00000000 b3:19 49177 /system/lib/hw/hwcomposer.msm8974.so | 14:40 |
situ | which shows both are being used. | 14:40 |
sledges | hmph | 14:40 |
sledges | getprop ? | 14:40 |
sledges | as the getprop command and internal api systemcall are not sharing same codebase | 14:40 |
situ | http://pastie.org/9326910 | 14:41 |
* sledges pull out the door handle | 14:41 | |
sledges | [ro.board.platform]: [msm8974] | 14:41 |
sledges | can we find src line in android where it constructs hwcomposer.%s.so ? | 14:41 |
sledges | worse if it's %s.%s.so :D | 14:42 |
situ | I don't know who will try to load it. | 14:43 |
sledges | find -exec grep -Hw hwcomposer {} \; | grep -w so | 14:44 |
sledges | and go for a tea :)) | 14:44 |
sledges | (filter cpp c h maybe?) | 14:44 |
* situ had tea some time back. | 14:47 | |
* sledges goes for tea ;) | 14:47 | |
*** slate has quit IRC | 15:03 | |
*** slate has joined #sailfishos-porters | 15:10 | |
situ | sledges: No luck http://pastie.org/9327143 | 15:29 |
situ | Stskeeps: Do you have any wild guess how is the library path chosen ? | 15:32 |
situ | It's an interesting read http://blog.spreedly.com/2014/06/24/merge-pull-request-considered-harmful/#.U6w9xqbyfeQ | 15:37 |
situ | In fish shell we never hit the "merge" button to merge pull requests instead we just rebase it. | 15:38 |
situ | so history looks very clean. | 15:38 |
situ | except for pull requests with large changes where we either squash the history or do a regular merge. | 15:39 |
situ | running back home now. | 15:41 |
* sledges also dislikes merges | 15:43 | |
*** vgrade_ has joined #sailfishos-porters | 16:16 | |
vgrade_ | situ:looking at that -2 above , I would need to check code at home but try using https://github.com/siteshwar/libhybris/commit/08d55b6f3c393c0b9511a99e0d40356645a724a3 | 16:17 |
vgrade_ | situ:can you check our IRC logs also for this as it rings a bell with me | 16:18 |
sledges | innterwesting ^_^ | 16:25 |
situ | vgrade: QPA-HWC: err in present returned -1 | 16:30 |
situ | was the one which we fixed earlier. | 16:30 |
situ | -2 is new :) | 16:30 |
situ | sledges: https://github.com/CyanogenMod/android_hardware_libhardware/blob/cm-11.0/hardware.c#L122 | 16:35 |
situ | I think that's the one we are looking for. | 16:35 |
sledges | nice | 16:36 |
sledges | and where it's getting the params from | 16:36 |
sledges | also the mechanism it uses, worth examining closely | 16:37 |
*** vgrade_ has quit IRC | 16:50 | |
situ | sledges: Looks like all the calls to property_get are failing https://github.com/CyanogenMod/android_hardware_libhardware/blob/cm-11.0/hardware.c#L147 | 16:55 |
situ | So it tries to load whatever.default.so | 16:56 |
sledges | ok | 16:59 |
sledges | sec | 16:59 |
situ | Could be an isue with bionic code which reads the properties. | 17:01 |
sledges | https://github.com/mer-hybris/android_system_core/commit/f43d7d43e5b024653ef27724c72104b4a457e00d | 17:02 |
sledges | is the one which worked for us for 10.1 | 17:02 |
sledges | : | 17:02 |
sledges | https://github.com/mer-hybris/android_system_core/commit/aca51a667ae30ea33c51ca1599e222d496b0843f | 17:02 |
sledges | means it cannot be applied straightforwardly across branches | 17:03 |
situ | sledges: but I have already made those changes in my branch and they seemed to work for u5. | 17:03 |
sledges | then we need to figure out exactly why property_get fails | 17:04 |
sledges | maybe property doesn't exist? | 17:04 |
situ | We saw the properties in output of getprop. | 17:04 |
sledges | which property is it reading? | 17:04 |
sledges | at any rate, we simply need to know why it fails now :) | 17:05 |
situ | http://pastie.org/9327447 | 17:05 |
sledges | i remember you had some problems reading kernel property? | 17:05 |
situ | That was fixed. | 17:07 |
sledges | yep ok | 17:07 |
situ | sledges: This part of strace proves that properties are not being read properly http://pastie.org/9327457 | 17:09 |
sledges | riight | 17:11 |
situ | sledges: but value ro.hardware is being read properly http://pastie.org/9327460 | 17:11 |
sledges | 8| | 17:13 |
*** vgrade_ has joined #sailfishos-porters | 17:15 | |
sledges | vgrade_: you need to see this | 17:16 |
sledges | :D | 17:16 |
sledges | 8) | 17:16 |
vgrade_ | remember that android init uses different getprop to other parts of android! | 17:16 |
sledges | in the logs, last two pastes | 17:16 |
situ | sledges: Probably that is because value of ro.hardware is being picked up from kernel parameters https://github.com/siteshwar/android_device_lge_hammerhead/commit/28f39bfa23278ba9726412f9ac0ca832c7de8799 | 17:16 |
sledges | so those are the two datasets (cc: vgrade_ ) | 17:17 |
situ | vgrade_: [22:39] <situ> sledges: This part of strace proves that properties are not being read properly http://pastie.org/9327457 | 17:17 |
situ | vgrade_: [22:41] <situ> sledges: but value ro.hardware is being read properly http://pastie.org/9327460 | 17:17 |
sledges | a code that unifies them | 17:17 |
sledges | is missing | 17:17 |
sledges | (?) | 17:17 |
sledges | or just wrong | 17:17 |
vgrade_ | I put this in our shared hammerhead work doc, weeks ago http://pastie.org/9327476 | 17:19 |
sledges | ;) | 17:19 |
vgrade_ | but this probably related to ro.hardware | 17:20 |
vgrade_ | but interesting that it works sometimes | 17:21 |
vgrade_ | and always for u5 | 17:21 |
situ | I don't think it ever works. | 17:22 |
vgrade_ | situ: I understood you said earlier it works sometimes if you keep truing | 17:23 |
vgrade_ | at least if it never works with u7 thats a better place to be | 17:24 |
situ | vgrade_: That was after I created symbolic links to load the .so's which have msm8974 in name. | 17:24 |
vgrade_ | situ:ok | 17:24 |
vgrade_ | so multiple overlayed problems | 17:24 |
vgrade_ | situ: is property_service running | 17:25 |
situ | vgrade_: Is it a process ? No. | 17:25 |
situ | No such process is running. | 17:25 |
situ | http://pastie.org/9327486 | 17:26 |
vgrade_ | situ do we have /dev/socket/property_service | 17:32 |
sledges | vgrade_: as per paste yes | 17:32 |
sledges | droid-hal 566 root 6u unix 0x00000000 10596 /dev/socket/property_service | 17:32 |
*** phdeswer has joined #sailfishos-porters | 17:37 | |
vgrade_ | so build.prop is where msm8974 comes from | 17:39 |
vgrade_ | any sign of build.prop in the u7 logs situ | 17:40 |
situ | vgrade_: No, I don't see anything related to build.prop | 17:41 |
sledges | in journalctl, fresh from boot | 17:42 |
sledges | as if it would fail to open it or similar | 17:42 |
situ | rebooting | 17:42 |
situ | I don't see anything related. | 17:44 |
situ | I see many of these however http://pastie.org/9327523 | 17:45 |
situ | Jul 04 20:40:56 Jolla timed-qt5[711]: ERROR: DBus call to interface org.ofono.NetworkTime function GetProperties of path /ril_0 failed: Method "GetProperti...sn't exist | 17:45 |
sledges | same rootcause? | 17:49 |
vgrade_ | and there is a build.prop in /system | 17:49 |
situ | vgrade_: Yes | 17:49 |
Stskeeps | what does /usr/libexec/droid-hybris/system/bin/getprop <the property that it should find> say? | 17:50 |
sledges | and don't say __strchr_* errors :D | 17:51 |
vgrade_ | sledges: ballock | 17:51 |
vgrade_ | :) | 17:51 |
sledges | :DD | 17:51 |
sledges | ballocks | 17:51 |
vgrade_ | :) | 17:51 |
sledges | yet he had an Archos tablet.. | 17:51 |
situ | sh-3.2# getprop ro.board.platform | 17:52 |
situ | msm8974 | 17:52 |
sledges | with path | 17:52 |
Stskeeps | use full path | 17:52 |
situ | Stskeeps: No such file | 17:53 |
sledges | ^_^ | 17:53 |
vgrade_ | :) | 17:53 |
Stskeeps | okay, find -name getprop /usr/libexec | 17:53 |
situ | find /usr/libexec -name getprop doesn't find anything | 17:55 |
sledges | 8) | 17:55 |
vgrade_ | https://github.com/mer-hybris/droid-hal-device/blob/hybris-10.1/droid-hal-device.inc#L303 | 17:56 |
vgrade_ | situ getprop in your droid hal out | 17:56 |
situ | None of the rpm's has this file. | 17:57 |
sledges | in your build tree | 17:57 |
situ | None of the droid-hal rpm's * | 17:57 |
sledges | or in mine :P | 17:58 |
situ | no :( | 17:58 |
Stskeeps | ... | 17:58 |
Stskeeps | well it's there in the 4.2.2 | 17:58 |
sledges | sledges@prospect:~$ ls -l hadk/out/target/product/mako/system/bin/ | 17:58 |
vgrade_ | and in our u5 hal | 17:58 |
sledges | adb linker logcat servicemanager updater | 17:58 |
vgrade_ | u5 n5 hal | 17:59 |
sledges | ok, something got left behind | 17:59 |
sledges | during merge | 17:59 |
vgrade_ | or did not get built in tree | 17:59 |
sledges | hybris-hal should build it | 17:59 |
Stskeeps | well | 18:00 |
Stskeeps | maybe it's libhybris that has it | 18:00 |
Stskeeps | and not in libhybris, but in /usr/bin | 18:00 |
sledges | ah right, under my mako it's not there either | 18:01 |
sledges | in build tree ^^ | 18:01 |
* sledges does rpm -qf on mako | 18:01 | |
sledges | getprop is not there | 18:01 |
vgrade_ | https://github.com/mer-hybris/libhybris/blob/master/libhybris/hybris/properties/properties.c | 18:02 |
Stskeeps | it's in libhybris | 18:02 |
sledges | yep | 18:02 |
sledges | /usr/bin | 18:02 |
sledges | so getprop works | 18:02 |
sledges | the property_get doesn't | 18:03 |
situ | sh-3.2# /usr/bin/getprop ro.board.platform | 18:03 |
situ | msm8974 | 18:03 |
* vgrade_ has to go home, back in 1:30 | 18:04 | |
situ | property service responds properly to getprop http://pastie.org/9327574 | 18:04 |
situ | going out for dinner brb | 18:05 |
* sledges off to the training | 18:08 | |
situ | This issue got automatically fixed | 18:41 |
situ | will reboot and test again. | 18:41 |
*** lbt has quit IRC | 18:45 | |
*** Aquilum has quit IRC | 18:45 | |
*** netchip has quit IRC | 18:45 | |
*** Stskeeps has quit IRC | 18:45 | |
*** MSameer has quit IRC | 18:45 | |
*** vgrade has quit IRC | 18:46 | |
*** Aquilum has joined #sailfishos-porters | 18:46 | |
*** MSameer has joined #sailfishos-porters | 18:46 | |
*** netchip has joined #sailfishos-porters | 18:46 | |
*** lbt has joined #sailfishos-porters | 18:46 | |
*** Stskeeps has joined #sailfishos-porters | 18:46 | |
*** vgrade has joined #sailfishos-porters | 18:46 | |
situ | I got very less values in getprop after rebooting http://pastie.org/9327719 | 18:49 |
*** lbt_ has joined #sailfishos-porters | 18:49 | |
*** lbt_ has quit IRC | 18:49 | |
*** lbt_ has joined #sailfishos-porters | 18:49 | |
situ | and on next reboot it shows more values, so behavior of property service is inconsistent. | 18:52 |
*** lbt has quit IRC | 18:56 | |
vgrade | if you look at the differences between the properties listed between boots | 19:31 |
vgrade | is that delta whats in build.prop | 19:32 |
situ | vgrade: I have rebooted now :( | 19:44 |
vgrade | situ: np | 19:45 |
situ | I don't know what has changed so significantly in u7. | 19:45 |
vgrade | do we know its u7 or the hal upstream | 19:47 |
situ | nope :( | 19:48 |
vgrade | certainly seems timing related as one boot gives different results | 19:48 |
vgrade | to another | 19:48 |
vgrade | I might get sometime to get my device on u5 and we can compare | 19:49 |
sledges | systemd droid-hal-init execution order | 21:10 |
tbr | vgrade: systemd changed | 21:12 |
vgrade | sledges: tbr another possibility | 21:15 |
sledges | yep | 21:20 |
sledges | the cause and ffect | 21:20 |
Stskeeps | race condition? | 21:20 |
Stskeeps | perhaps lipstick starts up before init is really up | 21:20 |
vgrade | there should be a handshake though at the end of init | 21:21 |
vgrade | as I recall | 21:21 |
vgrade | but situ was reporting different getprop results after init | 21:23 |
situ | vgrade: Yes, getprop output may change after each reboot. | 21:23 |
vgrade | I seem to recall seeing somwhere in android a comment about props and if it was threadsafe | 21:25 |
situ | Stskeeps: Can I downgrade systemd to a lower version ? | 21:30 |
sledges | boot time optimisations might cause that | 21:36 |
vgrade | Stskeeps: we seem to have a similar check on permissions as we do with qservice in init. https://github.com/siteshwar/android_system_core/blob/hybris-11.0-old/init/property_service.c#L222 | 21:42 |
situ | sledges: My journal log http://pastebin.com/2pbZkKB9 | 21:42 |
vgrade | wonder if new upgrade + this affect props | 21:43 |
* vgrade goes to eat | 21:43 | |
sledges | situ: yet if you launch lipstick from cmdline, it should work everytime (at least get all props) | 21:45 |
sledges | given enough time since boot | 21:45 |
situ | vgrade: Right, so may be property service itself fails to read the properties while starting ? | 21:45 |
situ | sledges: ^ | 21:46 |
vgrade | unless setprop fails to do its job | 21:47 |
situ | vgrade: I think we should try our older .ks with u7 again and check if we get same issue. | 21:49 |
situ | sledges: I am building using .ks at https://github.com/siteshwar/sailfishos_hammerhead_ks/tree/sailfishos_1.0.7.16 | 21:59 |
situ | and expected all the packages to be in mic cache | 21:59 |
situ | but mic is downloading all the packages again. why so ? | 22:00 |
*** slate has quit IRC | 22:36 | |
*** slate has joined #sailfishos-porters | 22:42 | |
situ | I have tried booting 4-5 times using my old .ks and I don't see any issue with property service. Although lipstick automatically came up on 2nd boot only. | 22:48 |
situ | vgrade: It's very consistent, with our old .ks file lipstick automatically comes up on 2nd boot. | 22:49 |
*** slate has quit IRC | 22:59 | |
sledges | situ: and HA is from? | 23:06 |
*** slate has joined #sailfishos-porters | 23:07 | |
vgrade | repo --name=hw-hammerhead --baseurl=http://repo.merproject.org/obs/home:/siteshwar:/hw:/hammerhead/sailfish_1.0.7.16_armv7hl/ | 23:08 |
situ | https://github.com/siteshwar/sailfishos_hammerhead_ks/blob/sailfishos_1.0.7.16/jolla-hammerhead-kickstart.ks#L30 | 23:08 |
situ | lipstick still crashes, but for some other reasons than property service. | 23:09 |
vgrade | so new HA, new jolla repos, different package set | 23:09 |
vgrade | and posts | 23:10 |
vgrade | situ what us the crash reson now | 23:12 |
vgrade | reason | 23:12 |
sledges | sensors? | 23:14 |
sledges | same HA | 23:14 |
sledges | diff package set | 23:14 |
sledges | .urls file pls? ;) | 23:15 |
sledges | i could sort and iff it | 23:15 |
sledges | *diff | 23:15 |
sledges | i reckon mic has an option to output .urls file | 23:16 |
vgrade | --pkglist or smthg | 23:16 |
* sledges shuts down, night for tonight! | 23:18 | |
vgrade | nn sledges | 23:18 |
sledges | --record-pkgs=url | 23:18 |
sledges | (or other options for --record-pkgs) | 23:19 |
sledges | no need for full url | 23:19 |
sledges | nn | 23:20 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!