**** BEGIN LOGGING AT Mon Dec 30 02:59:57 2019 Dec 30 06:44:24 trying to fix the 502 bad gateway issue with Jenkins...so it'll be up and down for a bit Dec 30 08:47:11 Morning! Dec 30 10:32:17 bshah: You around? Dec 30 13:15:12 Tofe: For when you got a moment: https://github.com/webOS-ports/nyx-modules-hybris/pull/5 Dec 30 13:15:26 Seems you didn't have access so added your access. Dec 30 13:18:01 Herrie: aye Dec 30 13:23:23 I finally got some time to look into Halium 8.1 a bit more ;) Dec 30 13:23:49 Got stuff to switch to our rootfs now, but seems stuff got stuck on Android side. Just not really sure how/what to debug there... Any ideas? Dec 30 13:24:35 bshah: https://paste.ubuntu.com/p/G4wCg2BmZX/ Dec 30 13:25:05 Not sure we need ueventd for Halium? We had it enabled in 5.1/7.1 but not sure it's actually used. Mer guys actively disable it at their end. Dec 30 16:05:52 Tofe: You got a real pinephone too now? Dec 30 16:06:02 I mean "non-dev" ;) Dec 30 16:12:43 Herrie: well it's still a beta version of the real phone, but yes, it's looking like a phone now :) Dec 30 16:15:38 Tofe: Ah so you also have a SIM slot that works :) ? Dec 30 16:15:43 yes ! Dec 30 16:15:46 Tofe: This is my Halium 8.1 status: https://paste.ubuntu.com/p/NzyDZzQ4pb/ Dec 30 16:15:54 Not too bad it seems, just need to figure out what's wrong Dec 30 16:15:56 well I still have to get ofono working, but yes Dec 30 16:16:34 Seems that it's expecting boot done which I don't emit yet on Android side probably Dec 30 16:17:08 the ueventd lead seems the logical one Dec 30 16:17:39 Yeah I tried to kill that one, but keeps popping up Dec 30 16:17:40 :S Dec 30 16:17:50 And seems LXC doesn't start properly Dec 30 16:17:53 "capabilities requested but the kernel does not support ambient capabilities" I wonder what that means Dec 30 16:18:17 I think maybe something for camera sensor Dec 30 16:18:36 "init: panic: rebooting to bootloader" <-- I guess everything that comes after that can't be truster Dec 30 16:18:38 trusted Dec 30 16:18:56 it's the same ambient thing for rild Dec 30 16:19:14 Well maybe it's Hammerhead somehow Dec 30 16:19:27 Not sure... Hence I also created a Cedric build for Hacker1245 to check Dec 30 16:19:30 See if we get the same Dec 30 16:26:00 Tofe: What was the manual way to start the LXC container with some debug again? Dec 30 16:26:59 ah, mmh Dec 30 16:28:44 well I think you have logs in /usr/lib/lxc ? Dec 30 16:28:51 or /var/lib/lxc Dec 30 16:32:19 Tofe: Ehm no log it seems Dec 30 16:32:52 Just the system.img and some .sh files Dec 30 16:34:14 looks like you can add --logpriority=DEBUG to lxc-start in the .service file Dec 30 16:35:48 for the log, could it be in /usr/libexec/lxc ? Dec 30 16:37:20 I have ./var/volatile/log/lxc/lxc-monitord.log and ./var/volatile/log/lxc/android.log Dec 30 16:37:35 the latter one maybe? Dec 30 16:38:24 https://paste.ubuntu.com/p/HyccBwymQQ/ Dec 30 16:38:57 "lxc-start 20191227101938.312 ERROR lxc_start - start.c:start:1439 - No such file or directory - Failed to exec "/init". Dec 30 16:39:29 yes, it's the return code of "/init", after its failure Dec 30 16:39:39 lxc seems to be working fine here Dec 30 16:40:41 Matches for init: https://paste.ubuntu.com/p/fByr27CfCB/ Dec 30 16:42:31 I mean, "/init" is android's "init" in the android rootfs image Dec 30 16:47:49 Which doesn't seem to be there Dec 30 16:48:03 Let me check on working image what I get Dec 30 16:48:11 Could be something small somewhere I overlooked Dec 30 16:48:19 but... android *is* launched, given your log Dec 30 16:48:24 There were so many patches on mer side Dec 30 16:48:38 Some which I wasn't sure what to do with 100% Dec 30 16:58:42 Tofe: I mean on 5.1 I have "./var/lib/lxc/android/rootfs/init" however my init for 8.1 doesn't seem to be in rootfs folder but in subfolders isntead Dec 30 16:58:56 ah ok Dec 30 16:59:09 well maybe yes Dec 30 19:15:04 Tofe: Guess I'll go through the repos one more time to see if I missed something obvious in init bits Dec 30 19:15:34 I'm sorry I don't have any real clue on this one Dec 30 19:17:14 Ok well I can ask the SFOS guys as well. Mer did quite some custom stuff Dec 30 19:17:31 It's not always clear if that's useful for us or not Dec 30 19:17:43 I can paste some links later so you can have a look Dec 30 19:18:16 I.e. they do mounts themselves and ignore the fstab and some other things like that Dec 30 19:18:41 For which I'm not 100% sure what we would do at our end Dec 30 19:18:56 They have systemd taking care of selinux for example Dec 30 19:19:30 Some custom shutdown script and sequence for hybris in Android etc Dec 30 19:19:49 And more things like that Dec 30 19:23:55 I mean see: https://github.com/mer-hybris/android_system_core/commits/hybris-15.1 Dec 30 19:34:16 I cherry picked what was Dec 30 19:34:39 I was pretty sure about, but some things I simply don't have a clue about Dec 30 21:03:40 Herrie: tested the rootfs Dec 30 21:03:52 got a black screen Dec 30 21:04:18 Hacker1245: As expected I'd say. Can you pull some logs? Dec 30 21:04:22 yep Dec 30 21:04:27 You should be able to ADB into shell I think Dec 30 21:05:06 not from rootfs Dec 30 21:05:08 At least I can in Hammerhead Dec 30 21:05:22 I can do adb shell and see journalctl for example Dec 30 21:05:36 Otherwise just pull the /proc/last_kmsg or the console_ramoops Dec 30 21:05:51 Seeing you have newer kernel it's console_ramoops I guess in your case Dec 30 21:05:56 Hammerhead I used had 3.4 kernel Dec 30 21:06:41 https://paste.ubuntu.com/p/gbnyjyPTS9/ Dec 30 21:09:27 Hmmz that differs quite a bit from mine Dec 30 21:09:43 https://paste.ubuntu.com/p/NzyDZzQ4pb/ Dec 30 21:10:04 why does it not see the system image Dec 30 21:10:17 hmm what do you have in /data? Dec 30 21:16:05 restoring backup Dec 30 21:16:21 wait I'm stupid Dec 30 21:16:31 I restored the Android 10 backup Dec 30 21:19:22 Hehe Dec 30 21:19:27 I was already wondering Dec 30 21:19:35 You should have system.img it tries to mount Dec 30 21:19:53 Not android-rootfs.img Dec 30 21:21:35 I installed LOS 15.1 and it still has the rootfs image Dec 30 21:21:46 but why Dec 30 21:22:58 android-data halium-rootfs lost+found luneos luneos-data media Dec 30 21:23:10 that's what I have in data Dec 30 21:37:58 any ideas? Dec 30 21:50:09 restoring backup Dec 30 21:53:13 Let me grab my Hammerhead in a minute Dec 30 22:04:48 Need to reflash 8.1 again, gimme a minute Dec 30 22:09:08 This is via ADB shell on 8.1 image: https://paste.ubuntu.com/p/6HqFVsgPV5/ Dec 30 22:10:10 hmm Dec 30 22:10:26 In recovery I have this inside data: android-data halium-rootfs luneos luneos-data media Dec 30 22:10:45 I have the same thing Dec 30 22:11:16 I have files inside my halium-rootfs and luneos as well Dec 30 22:13:05 These are the .img's I have: https://paste.ubuntu.com/p/kVHpZRXr77/ Dec 30 22:13:37 I'll check tomorrow Dec 30 22:13:42 OK Dec 30 22:13:55 Here also bedtime soon **** ENDING LOGGING AT Tue Dec 31 02:59:57 2019