**** BEGIN LOGGING AT Sat Nov 26 03:00:00 2016 Nov 26 08:57:51 morning Nov 26 09:16:51 Morning! Nov 26 09:32:46 Herrie: I've tried rebuilding the initrd image, but it didn't fix the issue Nov 26 09:35:32 Herrie: do you have a previous testing build on your machine ? I'd like to know what size the files are for you Nov 26 09:35:39 (in deploy/mako) Nov 26 09:36:19 Maybe even download a previous zImage.fastboot, to compare with what I have now Nov 26 09:38:02 Tofe: Yeah i have Nov 26 09:38:33 zImage-mako.fastboot I have Nov 26 09:38:43 9,668,608 bytes Nov 26 09:38:49 ok, quite like mine... Nov 26 09:39:11 9,469,952 here Nov 26 09:39:17 initramfs-android-image-mako.cpio.gz = 3,121,800 bytes Nov 26 09:39:18 so it's not a size issue Nov 26 09:39:29 yes, almost same here Nov 26 09:39:44 I must have missed something in the defconfig Nov 26 09:40:33 I'll compare with CM13, which booted fine Nov 26 09:42:37 Yeah if 13 booted fine it's not likely it has to do with something introduced in CM 12 Nov 26 09:42:45 Probably some defconfig indeed Nov 26 09:58:48 unfortunately I messed up when I switched between CM13 and CM12.1, so I lost my defconfig, at least the part where I make it compliant with LuneOS Nov 26 09:59:22 But I should still be able to see what changed Nov 26 10:58:09 Does someone here have a working kernel boot dmesg log ? Nov 26 11:01:00 I have this from my CM12.1 kernel: "rootfs image is not initramfs (junk in compressed archive); looks like an initrd" Nov 26 12:16:52 Tofe: Sorry was taking a nap with the little one who's been on a 4:30-5:00 schedule all week :P Nov 26 12:17:03 So decided to get at least a little sleep in while he's sleeping :P Nov 26 12:17:06 Anything I can do? Nov 26 14:04:12 Herrie: well, not sure; I'll have to see why our initramfs isn't recognized by this kernel. it could be a regression introduced by CM12.1 and fixed in CM13, a missing option in defconfig, or actually or malformed cpio archive. The latter is easy to check, I'll just uncompress it and explore it a bit. Nov 26 14:06:28 nope, the cpio.gz archive looks fine on my computer Nov 26 14:06:35 must be the kernel then, somehow Nov 26 14:07:56 Tofe: Hmmz Nov 26 14:43:06 ok, I've tried a defconfig from a previous version (the 4.4.4 one from morphis) and it could boot on the initramfs Nov 26 14:43:12 to it's definitely a defconfig issue Nov 26 14:43:14 so* Nov 26 15:41:21 Tofe: Ah OK Nov 26 15:41:23 Hmmmz weird Nov 26 15:41:30 But you should be able to compare them 1:1 ? Nov 26 15:41:33 And see where the diffs are Nov 26 15:44:45 yes, I'm now trying to narrow it down Nov 26 15:54:59 It's probably something small & silly (as usual :P) Nov 26 16:37:47 the issue was CONFIG_CGROUP_MEM_RES_CTLR, but I don't know why Nov 26 16:39:23 Next step: http://paste.ubuntu.com/23538353/ Nov 26 16:45:31 oh no... it's actually a combination of several things Nov 26 16:48:32 Tofe: Well that log looks like some solid progress still :) Nov 26 17:09:28 Herrie: I guess we use a custom init for the part android than the one of CM ? Nov 26 17:35:56 Tofe: I'm not sure, but I guess so.... Nov 26 17:36:13 DougReeder: You wanna have a stab at EricBlade's IRC Synergy or you want me to have a look? Nov 26 17:39:48 I have a first bug already :P Nov 26 17:39:54 Will PR to EricBlade Nov 26 17:43:50 EricBlade: https://github.com/ericblade/synirc/pull/1 Nov 26 17:44:34 EricBlade: LuneOS or OWO is a bit more strict on JSON syntax errors with newer Yocto releases. Syntax errors now cause issues where on legacy they would be ignored it seems ;) Nov 26 18:13:37 Added another commit to fix similar issue Nov 26 18:13:53 Trying to get it working on LuneOS now with legacy messaging app sideloaded Nov 26 18:14:12 Will need a few fixes here and there it seems in the config, but that's fine. I'll sort those Nov 26 18:31:58 EricBlade: Seems we don't have all needed frameworks from legacy :( Nov 26 18:33:34 EricBlade: Seems we're missing messaging.library Nov 26 19:04:37 Herrie, I'm working on a successor to Mojo Just Type. I dont really have time for IRC Synergy. Nov 26 19:10:08 Tofe: https://github.com/shr-distribution/meta-smartphone/blob/krogoth/meta-android/recipes-core/initrdscripts/initramfs-boot-android/init.sh Nov 26 19:10:15 DougReeder: OK Nov 26 19:10:23 I'll have a look then Nov 26 19:10:43 Tofe: ^ Is that what you're after? Nov 26 19:12:03 Tofe: Seems we have some in meta-webos-ports too: https://github.com/webOS-ports/meta-webos-ports/blob/krogoth/meta-luneos/recipes-core/initrdscripts/initramfs-boot-android/init.sh Nov 26 19:32:44 Herrie: no, I was more thinking of something like https://github.com/mer-hybris/android_device_lge_mako/blob/hybris-11.0/init.mako.rc Nov 26 19:33:23 but I think the important line in my log is about "init: critical process 'lmkd' exited 4 times in 4 minutes" Nov 26 19:33:48 the rest is actually not in the built CM image so it's quite fine that it fails Nov 26 19:34:10 but lkmd should probably start Nov 26 19:46:28 Let me check my layers for lkmd and mako image as well Nov 26 19:46:52 Nothing in the layers it seems Nov 26 19:49:35 Tofe: It's not in our current image it seems :S Nov 26 19:49:39 So might be something new in 12.1 Nov 26 19:52:09 ok, I'll go fishing news about it :) Nov 26 19:52:54 Sorry seems I searched for lkmd instead of lmkd Nov 26 19:53:02 YOu misspelled it in one of your msgs :P Nov 26 19:53:04 Let me check again Nov 26 19:53:31 :) Nov 26 19:53:52 " as well as new core services added in L: lmkd and logd" Nov 26 19:53:58 See http://newandroidbook.com/Book/4-Services-Preview.pdf Nov 26 19:54:06 thx Nov 26 19:54:07 So yeah seems new in CM12.1 :P Nov 26 19:55:20 Found some reference here: https://github.com/android/platform_system_core/tree/master/lmkd Nov 26 19:56:14 Not sure if this is of any help, it's ulmkd but who knows... https://lwn.net/Articles/511731/ Nov 26 19:57:03 oh, maybe I shouldn't have disabled the low memory killer :p Nov 26 19:57:19 And some more background about the why's: https://groups.google.com/forum/#!topic/android-platform/PW85I7qRBP8 Nov 26 19:57:56 I think I can just remove it from android's init Nov 26 21:52:01 Herrie: I think I found a lead: https://github.com/webOS-ports/android_system_core/commits/wop-10.1/rootdir/init.rc Nov 26 22:10:02 https://github.com/Tofee/android_system_core/commit/deddf2bf2262897bfe95382a88d5fc1e8ced099b ... and now I have to rebuild everything... Nov 26 22:10:08 maybe tomorrow :) **** ENDING LOGGING AT Sun Nov 27 02:59:59 2016