**** BEGIN LOGGING AT Fri Nov 02 02:59:58 2018 **** BEGIN LOGGING AT Fri Nov 02 04:09:59 2018 Nov 02 11:33:28 hexc0de was added by: hexc0de Nov 02 12:23:39 @UniversalSuperBox, https://github.com/Halium/docs/pull/116 Nov 02 14:47:30 just created issue for my device port, pushed manifest too Nov 02 14:49:29 i have issues compiling kernel with config_pid_ns enabled, and the stacktrace doesn't help me understand where to look for the problem it finds Nov 02 14:50:22 https://pastebin.com/8wv1DAag if anyone would like to have a look and point me into the right direction :) Nov 02 14:51:52 it appears to point to fs/built-in.o but i can't actually seem to find the file ? Nov 02 14:53:59 only proper hit on duckduck is another halium ticket :) Nov 02 14:54:31 @rogieroudshoorn, you need to find where that function is defined (`pidns_operations`) and figure out why file containing that function is not compiled (Makefile problem) or if that function is excluded from compilation by some `#fdef`s why they are there, or find the place where that function is used and maybe it is guarded w Nov 02 14:54:31 ith some `#ifdef` Nov 02 14:55:03 @rogieroudshoorn, [Edit] you need to find where that function is defined (`pidns_operations`) and figure out why file containing that function is not compiled (Makefile problem) or if that function is excluded from compilation by some `#fdef`s why they are there, or find the place where that function is used and maybe it is gu Nov 02 14:55:03 arded with some` #ifdef` Nov 02 14:59:00 i can see a struct pidnsoperations and a &pidnsoperations Nov 02 14:59:58 #ifdef CONFIG_PID_NS … &pidns_operations, … #endif Nov 02 15:00:15 that seems legit right? it declares the item if config_pid_ns is enabled ... Nov 02 15:01:25 the other one declares a struct instance (to a type of struct)\ Nov 02 15:01:36 so i guess my problem is that there's 2 declarations, but no usage? Nov 02 15:03:09 and the .c file points to the .h file Nov 02 15:03:09 hmmm Nov 02 15:06:14 and is `CONFIG_PID_NS` defined? Nov 02 15:06:54 once i define it, it produces this error - if i don't, error disappears Nov 02 15:07:03 you can easily quickly check if that c-file is compiled by adding #error "HEY" as first line. Nov 02 15:07:08 (it's a necessary flag for LXC) Nov 02 15:07:13 [Edit] you can easily quickly check if that c-file is compiled by adding `#error "HEY"` as first line. Nov 02 15:07:15 good idea ;) Nov 02 15:07:35 [Edit] you can easily quickly check if that c-file is compiled by adding `#error "HEY"` as first line. … and rebuild kernel (hybris-boot) Nov 02 15:08:26 yeah, it is Nov 02 15:11:25 @rogieroudshoorn, so this is the place where that symbol is referenced, the place where it is defined needs to be compiled in too Nov 02 15:11:51 yeah, as far as i can see it is - it's a struct in a .h file, which is referenced by this file Nov 02 15:12:05 being #include Nov 02 15:13:53 it's funny - there's five namespaces, and they're probably mostly enabled, but it fails on this one Nov 02 15:14:25 header file should contain only declaration, not definition Nov 02 15:14:39 definition should be inside .c file Nov 02 15:15:41 header file has: extern const struct proc_ns_operations pidns_operations; Nov 02 15:16:00 with the proc_ns_operations definition Nov 02 15:16:45 and the .c file declares an array with a bunch of structs; one per namespace feature Nov 02 15:21:24 it doesn't feel like i'm looking at the actual problem Nov 02 15:25:16 namespaces on Kernel 3.4.0 isn't completely implemented (PID_NS) Nov 02 15:26:16 ah, i guess that explains. how do the other 3.4 devices handle this? Nov 02 15:27:18 (Photo, 1280x800) https://irc.ubports.com/QSYSNCdP.png Nov 02 15:28:00 This could explain. I got a similar error, where it couldn't compile due to that undefined reference on halium 5. Nov 02 15:28:01 5.1 Nov 02 15:29:09 [Edit] This could explain. I got a similar error, where it couldn't compile due to that undefined reference on halium 5.1 Nov 02 15:30:39 so maybe my LXC doesn't start because of something else then ... Nov 02 15:30:55 I compile my kernel 3.4.113 with CONFIG_PID_NS=y and it wen ok Nov 02 15:31:11 [Edit] I compile my kernel 3.4.113 with CONFIG_PID_NS=y and it goes ok Nov 02 15:31:13 @minlexx, I'm using 3.4.0 *specifically* Nov 02 15:31:34 (Sticker, 486x512) https://irc.ubports.com/7B4UJ6uv.webp Nov 02 15:32:09 i'm on 3.4.113 too Nov 02 15:32:16 could also be backports? Nov 02 15:32:25 could be... Nov 02 15:32:58 @rogieroudshoorn, so c-file should have this `proc_ns_operations` defined without extern Nov 02 15:33:12 what's your kernel @minlexx ? maybe some grepping in yours will show me what i'm missing Nov 02 15:35:03 @rogieroudshoorn, https://github.com/minlexx/android_kernel_samsung_msm8974/blob/halium-7.1/fs/proc/namespaces.c#L17 Nov 02 15:35:40 but this not pidns_operations Nov 02 15:36:41 I'm trying again with kernel version 3.4.112 Nov 02 15:36:43 yeah, funny Nov 02 15:36:45 Phantom Nov 02 15:40:16 Anyone can help? Cant get ssh working on OP3T, here is dmesg -w output: https://paste.ubuntu.com/p/yFNM56xyjQ/ Nov 02 15:41:11 dhcpcd enp0s20f0u1 --nohook ipv6 Nov 02 15:41:59 @rogieroudshoorn, grepping for CONFIG_PID_NS in kernel source does not give me anything interesting except file kernel/pid_namespace.c :) so it looks almost like no-op Nov 02 15:42:18 also it's been removed in later lineageos versions again ... Nov 02 15:42:47 `pidns_operations` is not found at all Nov 02 15:43:01 Can you point me to original error? Nov 02 15:43:55 who are you asking @bhushanshah ? Nov 02 15:44:23 Nvm, found what I was looking for Nov 02 15:44:39 @rogieroudshoorn, [Edit] https://github.com/minlexx/android_kernel_samsung_msm8974/blob/halium-7.1/fs/proc/namespaces.c#L17 Nov 02 15:46:49 since hammerhead also doesn't have it, i guess it's unnecessary Nov 02 15:47:42 i'll patch my kernel Nov 02 15:48:21 Can you link kernel? Nov 02 15:48:42 https://github.com/rogieroudshoorn/android_kernel_samsung_msm8930-common Nov 02 15:48:51 ugh i need to remove that ugly face Nov 02 15:50:20 the offending lines have been removed in later lineage versions, so i'm just removing them Nov 02 15:50:51 https://github.com/rogieroudshoorn/android_kernel_samsung_msm8930-common/blob/cm-14.1/fs/proc/namespaces.c line 27-29 Nov 02 15:53:52 @VeryOriginalUsername, what can I do about it? Nov 02 15:54:05 type it into your terminal Nov 02 15:54:13 maybe with sudo if it doesn't work Nov 02 15:54:40 it means your device is up, but it doesn't get network address automatically from your PC (which is quite common) Nov 02 15:54:51 you need to tell your PC to give it an ip & possibly even mac address Nov 02 15:55:03 @VeryOriginalUsername, what command exactly, please? Nov 02 15:55:19 @VeryOriginalUsername, this one Nov 02 15:56:14 @VeryOriginalUsername, $ dhcpcd enp0s20f0u1 --nohook ipv6 … Command 'dhcpcd' not found, but can be installed with: … sudo apt install dhcpcd5 Nov 02 15:56:29 see if your distro uses dhclient Nov 02 15:56:41 so `dhclient enp0s20f0u1` Nov 02 15:57:08 or maybe refer to this part of the docs Nov 02 15:57:08 http://docs.halium.org/en/latest/porting/debug-build/logging-in.html Nov 02 15:58:28 @VeryOriginalUsername, dhclient enp0s20f0u1 … RTNETLINK answers: Operation not permitted Nov 02 15:58:43 try again with sudo Nov 02 15:59:51 @VeryOriginalUsername, no output, just hangs after I typed password Nov 02 16:00:05 wait and see if it fixes things Nov 02 16:00:13 @VeryOriginalUsername, if not then do this Nov 02 16:00:32 @rogieroudshoorn, you cannot remove it , it has been cached by tg Nov 02 16:00:34 afaik Nov 02 16:00:53 @VeryOriginalUsername, ok, thanks, I'll try that Nov 02 16:01:12 @abhishek_0, so-called Ivan syndrome Nov 02 16:09:56 Hi, I get this error while building, "system/core/libpixelflinger/codeflinger/CodeCache.cpp:141:24: error: use of undeclared identifier 'mspace_realloc'", what can I do? Nov 02 16:10:28 Sorry I had to use pastebin Nov 02 16:11:53 @VeryOriginalUsername, can't set the password : https://paste.ubuntu.com/p/ZXmf7dmF9Y/ Nov 02 16:12:46 try using this script that will do it for you Nov 02 16:12:47 https://gitlab.com/JBBgameich/halium-install Nov 02 16:12:56 @VeryOriginalUsername, [Edit] can't set the password : https://paste.ubuntu.com/p/ZXmf7dmF9Y/ just to confirm this is UT rootfs not Halium ref Nov 02 16:16:53 is there a shorthand to reboot into android recovery from halium-rootfs? Nov 02 16:19:59 @VeryOriginalUsername, nothing, can't set password, oot@localhost:/# passwd … passwd: Authentication token manipulation error … passwd: password unchanged Nov 02 16:20:41 did you umount the rootfs before running that script? Nov 02 16:24:25 @VeryOriginalUsername, the instructions don't say to unmount, so when to unmount? Nov 02 16:24:48 uh Nov 02 16:24:56 I don't know, try rebooting your host and trying again Nov 02 16:33:18 @VeryOriginalUsername, nothing, same output, can't change the password at all Nov 02 18:08:00 wow, got LXC to start :) Nov 02 18:19:36 now if anything would actually work ... Nov 02 18:23:14 @rogieroudshoorn, you'll need to add caf repo , if it is a qcom device Nov 02 18:26:51 i probably do then Nov 02 18:28:35 i have added qcom-common from halium Nov 02 18:28:39 is that what you mean? Nov 02 19:07:38 @minlexx, my *cough* "solution" was this: https://gist.github.com/doniks/75d16dda43d241feb79b721bab6c4940 it allowed me to compile and move on Nov 02 19:46:52 @dohniks, 😱 well of course, remove everything that does not compile and go on 😂 Nov 02 19:48:00 I've halium rootfs and plasma to gui. so those things I did not break Nov 02 19:50:35 I never managed to `lxc-attach -n android` but I have no clue whether that is related or whether that would actually be very helpful if it did work ... Nov 02 23:16:18 so I somehow managed to build halium-5.1 images for nicki but it doesn't boot at all Nov 02 23:16:27 no telnet, no ssh, no dmesg entries Nov 02 23:16:50 https://github.com/konradybcio/android_kernel_sony_msm8x27/blob/halium-5.1/arch/arm/configs/cyanogenmod_nicki_defconfig my defconfig Nov 02 23:17:09 @VeryOriginalUsername, I suspect I missed something there (even though I checked with kernel config checker mentioned in docs) Nov 03 01:19:31 s2_santana was added by: s2_santana **** ENDING LOGGING AT Sat Nov 03 02:59:58 2018