*** doniks_ is now known as doniks | 00:34 | |
*** ChanServ sets mode: +v T4 | 02:47 | |
kimmoli | rinigus: ok. i'll take a look after c0ffee | 03:00 |
---|---|---|
kimmoli | rinigus: we have a green https://build.merproject.org/project/monitor/nemo:testing:hw:oneplus:onyx - i wait merbot to shutup about the patterns and lock 3.0.1.11, and trigger CI | 03:57 |
kimmoli | aaand it's in the pipeline https://gitlab.com/sailfishos-porters-ci/onyx-ci/-/jobs/153922573 | 04:10 |
rinigus | kimmoli: thank you very much, will test tonight | 05:35 |
rinigus | OTA though... | 05:35 |
rinigus | kimmoli: you may want to trigger ci again, obs was still building whole ci was working. Not sure why | 05:38 |
kimmoli | yes, i did build obs again with merged config | 05:48 |
kimmoli | rinigus: rebuilding CI | 05:54 |
kimmoli | rinigus: i'm doing ota as soon as my test-device gets some charge | 05:54 |
dr_gogeta86 | good morning | 06:31 |
kimmoli | rinigus: brief testing looks good | 06:42 |
T4 | <adampigg> Gm dr_gogeta86 | 06:58 |
rinigus | kimmoli: great to hear :) | 07:05 |
*** ChanServ sets mode: +v T4 | 08:56 | |
HelloPotter_ | hey there i have image magick installed, but when building it's saying no image magick is installed | 10:00 |
HelloPotter_ | please help | 10:10 |
rinigus | kimmoli: I've updated, rebooted as usual. while idle, I had already 2-3 random reboots. just enabled persistent journal, let's see if it can catch the cause. | 10:39 |
kimmoli | rinigus: i have uptime of >4 hours | 10:39 |
rinigus | kimmoli: 21 min over here so far. but haven't checked it before. | 10:41 |
kimmoli | i meant to say no random reboots | 10:41 |
rinigus | understood :) | 10:42 |
mal | HelloPotter_: when doing what? | 10:45 |
HelloPotter_ | @mal when building hybris-hal, by the way i just solve it , one thing mal, if you dont mind can you please give the solution again of libsf_compat_layer', needed by 'hybris-hal', missing and no known rule to make it, because i just forget how to fix that | 10:53 |
mal | HelloPotter_: which android base? | 11:27 |
mal | if 15.1, then clone libhybris to some suitable place, either external/ or hybris/mw/? git clone --recurse-submodules https://github.com/mer-hybris/libhybris.git -b android8-initial | 11:27 |
HelloPotter_ | @mal yes it 15.1, thanks | 11:29 |
rinigus | kimmoli: rebooted again. uptime about 1h 20min. seems to occure during email sync if I assume the same pattern happens every 5 minutes or so. journal section at https://ptpb.pw/SLcC . let's see if the same will happen in 1-2 hours | 11:44 |
kimmoli | rinigus: ok. i had no emails active, now activated gmail. | 11:47 |
rinigus | kimmoli: cannot exclude failing hardware either. I had a strange crash (before updates). hasn't happened earlier, but maybe related with the current reboots. although, I would expect (hope) that these reboots are something else. let's see if you can reproduce them with active email | 11:51 |
kimmoli | rinigus: ok. my other onyx has worked mostly without hickups, last time i had to reboot was due missing alarms | 11:52 |
kimmoli | .e. didn't wakeup from sleep on alarm | 11:52 |
T4 | <elros34> rinigus: check ramoops, few kernels have problem with new firewall rules which cause kernel panic in tcp_mt at xt_tcpudp.c | 11:55 |
HelloPotter_ | @mal hey there i am littlebit confuse about the section 5.4.1(Kernel Config) on sailfish os hardware adaptation developent kit, i think that i need to verfy the defconfig file which is used to make boot image, so i go to the device/motorola/potter/BoardConfig.mk file and checked that the file name is potter_defconfig, whic source is kernel/motorola/msm8953/, but i see that there is no file called potter_defconfig | 12:10 |
mal | HelloPotter_: it should be in some subfolder arch/arm64/configs probably | 12:11 |
mal | assuming you have correct kernel in use | 12:11 |
HelloPotter_ | ok im checking | 12:12 |
HelloPotter_ | @mal yes it's there | 12:13 |
HelloPotter_ | @mal by following the official guide when i trying to do make -c kernel/motorola/msm8953/arch/arm64/configs/potter_defconfig it's saying unknown option -c | 12:16 |
mal | HelloPotter_: you don't do that | 12:19 |
mal | HelloPotter_: only make hybris-hal | 12:19 |
HelloPotter_ | @mal i already make hybris-hal | 12:20 |
mal | that all you need for now | 12:21 |
mal | it will include building kernel | 12:22 |
HelloPotter_ | @mal one more thing when i use mer-kernel-check utility it's showing me some errors like this ERROR: CONFIG_DUMMY is invalid | 12:24 |
HelloPotter_ | ERROR: CONFIG_VT is invalid | 12:24 |
HelloPotter_ | ERROR: CONFIG_DEVTMPFS is invalid | 12:24 |
HelloPotter_ | ERROR: CONFIG_DEVTMPFS_MOUNT is invalid | 12:24 |
HelloPotter_ | ERROR: CONFIG_NLS_UTF8 is invalid | 12:24 |
HelloPotter_ | ERROR: CONFIG_FHANDLE is invalid | 12:24 |
HelloPotter_ | ERROR: CONFIG_SYSVIPC is invalid | 12:24 |
mal | did you define those in defconfig? | 12:25 |
HelloPotter_ | nope? | 12:25 |
HelloPotter_ | did i need to deine them? | 12:25 |
HelloPotter_ | define* | 12:25 |
mal | HelloPotter_: obviously if those are claimed as errors then you define those as instructed by kernel checker | 12:33 |
HelloPotter_ | @mal like this one ERROR: CONFIG_SYSVIPC is invalid | 12:39 |
HelloPotter_ | It is unset | 12:39 |
HelloPotter_ | Allowed values : y | 12:39 |
HelloPotter_ | Comment says: Inter Process Communication option is required to run Mer | 12:39 |
HelloPotter_ | @mal did i need set it's value as y | 12:40 |
HelloPotter_ | @mal after editing those should i again need to compile the hybris-hal | 12:43 |
mal | HelloPotter_: yes | 12:45 |
HelloPotter_ | ok i will edit the out/target/product/$DEVICE/obj/KERNEL_OBJ/.config file and recompile the hybris-hal | 12:47 |
HelloPotter_ | no no sorry i need to edit the potter_defconfig file | 12:48 |
rinigus | kimmoli: n=2, exactly the same line in the log, just after carddav-client message | 12:57 |
kimmoli | ok, my is still running | 12:57 |
rinigus | btw, where are carddav accounts defined. I suspect its using an account that I deleted some time ago and is not anymore in gui either. | 12:57 |
rinigus | kimmoli: what is the time interval between the checks for your email? mine is 5 min - could be related to # times its called | 12:59 |
kimmoli | 5min | 12:59 |
rinigus | ok, then its probably not that. let's see for a bit longer... | 13:00 |
mal | HelloPotter_: yes, you edit defconfig, you only check .config that the changes were correctly included in the build, you never edit .config | 13:05 |
kimmoli | rinigus: ill check my journals | 13:06 |
mal | rinigus: kimmoli just curious, hopefully you don't get the network crash issue in onyx when using 3.0.1.11, fp2 doesn't seem to have it | 13:07 |
kimmoli | i have only LTE active | 13:08 |
rinigus | mal: it could be network related. it happens while checking email or carddav. I'm on LTE as well. how can I test for that network crash condition? | 13:08 |
mal | rinigus: the reports so far have said that heavy usage of network can cause kernel panic, there is bad workaround if that is the case | 13:10 |
T4 | <elros34> check dmesg | 13:10 |
mal | I have so far used 3.0.1.11 on fp2 for several without a single crash, I have used maps and other online services during that time | 13:11 |
rinigus | mal: haven't used network excessively, phone is mainly just sleeping. as for dmesg (if its for me) what should I check? | 13:11 |
mal | *several days | 13:11 |
kimmoli | yeah we have it | 13:12 |
kimmoli | just rebooted when opening youtube and instagram on tabs | 13:12 |
mal | yes, web browsing can trigger it easily | 13:12 |
kimmoli | stock browser, just two random sites which are bloated | 13:12 |
T4 | <elros34> rinigus: check ramoops, few kernels have problem with new firewall rules which cause kernel panic in tcp_mt at xt_tcpudp.c | 13:13 |
mal | I tried to play youtube videos for quite a while and no crashes | 13:13 |
T4 | <elros34> its ipv6 related | 13:13 |
rinigus | just managed to force crash via youtube as well. | 13:14 |
rinigus | and the browser. | 13:15 |
rinigus | so, what's the workaround? | 13:15 |
T4 | <elros34> remove /etc/connman/firewall* | 13:15 |
mal | rinigus: the "proper" workaround is to make config repo provide the package that provides those configs and only add the main.conf of that package to config sparse | 13:16 |
mal | afaik that should work | 13:17 |
HelloPotter_ | @mal i just fixed those errors, but i have now only two errors CONFIG_DEVTMPFS_MOUNT and CONFIG_DUMMY, which both of them are not exist in the defconfig file, similar are exist in the defconfig are CONFIG_DUMMY_IRQ and CONFIG_DEVTMPFS | 13:17 |
rinigus | elros34: reading irc log - how to check for ramoops? | 13:17 |
HelloPotter_ | @mal what should i do at this point | 13:17 |
mal | HelloPotter_: like I said, if something required is missing you add the flag to defconfig with correct value | 13:18 |
T4 | <elros34> depends on kernel: /proc/last_kmsg ir something in /sys/pstore/ | 13:18 |
rinigus | mal: you mean that /etc/connman/firewall* should be in a separate package that we don't pull in onyx? | 13:18 |
HelloPotter_ | @mal mean i can just add CONFIG_DEVTMPFS_MOUNT=y in the defconfig | 13:19 |
mal | yes | 13:19 |
mal | rinigus: you add Provides: connman-configs-sailfish to droid-config spec and then add etc/connman/main.conf from that package to config sparse | 13:20 |
mal | rinigus: that should do it, hopefully | 13:21 |
HelloPotter_ | thank u , and more thing did i just ignore all the warnings, or just carefully read the comments and set the flag properly | 13:23 |
rinigus | elros34: indeed, in last_kmsg there is a lot of bitterness about ip6 in kernel panic message. | 13:24 |
rinigus | I will try to remove filters and see if it works. probably it does and then we can fix it properly via droid-config | 13:24 |
T4 | <elros34> does it crash in tcp_mt function? | 13:24 |
mal | HelloPotter_: make sure you keep CONFIG_AUDIT=y and use CONFIG_SECURITY_SELINUX_BOOTPARAM=y (and set selinux=0 to kernel commandline in device repo BoardConfig.mk) | 13:25 |
HelloPotter_ | ok i will check them | 13:27 |
rinigus | elros34: here is the log - https://ptpb.pw/bVzP . doesn't look like tcp_mt | 13:31 |
mal | rinigus: but ipv6 related anyway | 13:34 |
T4 | <elros34> doesn't reach tcp_mt but otherwise looks similar, anyway offset value is incorrect in ip6t_do_table so it doesn't matter. | 13:35 |
rinigus | elros34: thanks for the insight! | 13:35 |
mal | rinigus: maybe check fp2 kernel (fp2-m-sibon branch) to see if you can see anything related difference there | 13:36 |
T4 | <elros34> this is kernel workarnound I tested since yesterday: https://pastebin.com/4My7pu9E. Looking at fp2 kernel proper fix its probably here https://github.com/mlehtima/android_kernel_fairphone_fp2/commit/02435b1c3f4b70ffe18edb31a66afedabd0ba12b#diff-9d6008057cbcd2c59a759f916b9bd770 | 13:41 |
rinigus | mal and elros34: could check what's the state in onyx kernel over there. | 13:43 |
rinigus | later tonight, though. | 13:43 |
mal | rinigus: that commit is in onyx already | 13:45 |
rinigus | :( | 13:47 |
mal | rinigus: fp2 has two other commits in netfilter though | 13:50 |
mal | rinigus: https://github.com/mlehtima/android_kernel_fairphone_fp2/commits/hybris-fp2-m-sibon/net/ipv6/netfilter/ip6_tables.c | 13:50 |
rinigus | mal: thanks! | 14:01 |
mal | @elros34 rinigus if you are interested, try building a patched connman (checkout the upgrade-3.0.1 branch from mer-core and apply this patch https://git.merproject.org/mer-core/connman/commit/fc3068b0b8c063db4790fe9233c173bc804967d2) | 14:01 |
mal | if that is not enough also try to patch iptables https://git.merproject.org/mer-core/iptables/blob/master/rpm/0001-xtables-Improve-extension-handle-management-unload-i.patch | 14:02 |
T4 | <elros34> thx I will test it latter | 14:04 |
HelloPotter_ | @mal hey there you said that i need to set selinux=0 to the kernel commandline, u mean in this flag BOARD_KERNEL_CMDLINE | 14:41 |
mal | yes, like this https://github.com/mer-hybris/device-sony-nile/blob/hybris-sony-aosp-8.1.0_r47_20181015/PlatformConfig.mk#L43 | 14:45 |
mal | the exact file depends on the device but in lineage it's usually BoardConfig.mk | 14:45 |
HelloPotter_ | ok i got that | 14:47 |
mal | you should find similar lines in some file | 14:50 |
HelloPotter_ | @mal in boardconfig file my whole kernel section BOARD_KERNEL_CMDLINE := console=ttyHSL0,115200,n8 androidboot.console=ttyHSL0 androidboot.hardware=qcom user_debug=30 msm_rtb.filter=0x237 | 14:55 |
HelloPotter_ | BOARD_KERNEL_CMDLINE += ehci-hcd.park=3 androidboot.bootdevice=7824900.sdhci lpm_levels.sleep_disabled=1 vmalloc=350M | 14:55 |
HelloPotter_ | BOARD_KERNEL_CMDLINE += selinux=0 | 14:55 |
HelloPotter_ | BOARD_KERNEL_BASE := 0x80000000 | 14:55 |
HelloPotter_ | BOARD_KERNEL_IMAGE_NAME := Image.gz | 14:55 |
HelloPotter_ | BOARD_KERNEL_PAGESIZE := 2048 | 14:55 |
HelloPotter_ | BOARD_KERNEL_SEPARATED_DT := true | 14:55 |
HelloPotter_ | TARGET_CUSTOM_DTBTOOL := dtbTool_custom | 14:55 |
HelloPotter_ | BOARD_DTBTOOL_ARGS := --force-v3 --motorola 1 | 14:55 |
HelloPotter_ | BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x01000000 --tags_offset 0x00000100 | 14:56 |
HelloPotter_ | TARGET_KERNEL_ARCH := arm64 | 14:56 |
HelloPotter_ | TARGET_KERNEL_HEADER_ARCH := arm64 | 14:56 |
HelloPotter_ | TARGET_KERNEL_CONFIG := potter_defconfig | 14:56 |
HelloPotter_ | TARGET_KERNEL_SOURCE := kernel/motorola/msm8953 | 14:56 |
HelloPotter_ | TARGET_KERNEL_CLANG_COMPILE := true | 14:56 |
HelloPotter_ | TARGET_USE_SDCLANG := true | 14:56 |
HelloPotter_ | is this correct | 14:56 |
HelloPotter_ | i just copied BOARD_KERNEL_CMDLINE += selinux=0 the line from your given link and paste it after the second line | 14:58 |
mal | HelloPotter_: never paste more than 3 lines to the channel | 14:59 |
mal | use pastebin for large amounts of text | 14:59 |
*** ChanServ sets mode: +v T4 | 15:00 | |
HelloPotter_ | @mal ok sorry for that | 15:01 |
mal | anyway that seems fine | 15:02 |
HelloPotter_ | ok | 15:03 |
HelloPotter_ | @mal now should i look into those warnings or just ignore them | 15:03 |
mal | you can skip those for now | 15:04 |
mal | probably | 15:04 |
HelloPotter_ | ok | 15:04 |
HelloPotter_ | @mal hey there i am getting confused about installing scratchbox2, beacause my arch is arm64 | 15:38 |
mal | PORT_ARCH is always armv7hl | 15:41 |
mal | for arm devices | 15:41 |
HelloPotter_ | is this will run on arm64 | 15:45 |
r0kk3rz | yeah, its like a 32bit mode of aarch64 devices | 15:47 |
mal | HelloPotter_: just use armv7hl like I said | 15:47 |
mal | also make sure it's defined in the .hadk.env file you created | 15:48 |
HelloPotter_ | ok | 15:49 |
HelloPotter_ | @hey there i previously maked a mistake in .hadk.env file i set the PORT_ARCH="arm64", now i made the the changes, after that i deleted the whole output directory, but when i am doing breakfast potter, it's saying TARGET_ARCH=arm64, is there any way to fix this | 15:58 |
T4 | <elros34> try source ~/.hadk.env or quit sdk and enter to it again | 16:04 |
mal | HelloPotter_: do not confuse android side build with .hadk.env | 16:07 |
mal | HelloPotter_: .hadk.env is for sailfish side of things | 16:07 |
HelloPotter_ | i tried all of them, but didn't work, can i change the achitechture BoardConfig.mk | 17:08 |
mal | HelloPotter_: NO! | 17:28 |
mal | HelloPotter_: what are doing now? I don't understand the problem | 17:29 |
mal | we told you to change the PORT_ARCH correctly, then exit sdk and go back, that's it | 17:29 |
HelloPotter_ | i exited the sdk , changed the PORT_ARCH int the .hadk.env file, then re entered the sdk my arch in breakfast result still not changed | 17:31 |
r0kk3rz | thats fine | 17:32 |
HelloPotter_ | i dont understand if i make the hybris-hal in TRAGET_ARCH=arm64 and then use the tooling and sdk of armv7hl, there is no problem? | 17:34 |
r0kk3rz | yeah, its kinda mixed mode | 17:37 |
HelloPotter_ | ok | 17:39 |
mal | HelloPotter_: TARGET_ARCH is the android side arch, not sailfish arch | 17:39 |
mal | those are not always the same | 17:39 |
HelloPotter_ | ohh, now i understand, sorry i get too much confused | 17:41 |
HelloPotter_ | hey there when i trying to do sb2 -t $VENDOR-$DEVICE-$PORT_ARCH gcc main.c -o test its saying sb2: Error: Invalid target specified, aborting. | 18:10 |
mal | did you read the warning box in hadk pdf before creating the target? | 18:13 |
mal | the instructions in wiki use different naming and the warning box tells what to use instead | 18:14 |
HelloPotter_ | so i need to change the tooling name | 18:16 |
HelloPotter_ | and target name must be motorola-potter-armv7hl | 18:17 |
HelloPotter_ | i did this time correctly but his time no out in the console, but there are no errors also | 18:28 |
HelloPotter_ | sorry i got the output | 18:30 |
HelloPotter_ | ds | 18:59 |
r0kk3rz | lol | 18:59 |
rinigus | kimmoli: so far, so good. as expected, stability can be gained through dropping of filters. I can look (probably on the weekend) if commits similar to fp2 kernel ones can help. although, on the first look, they seem to be different in lineageos onyx kernel | 19:12 |
mal | rinigus: did you try the connman patch? | 19:12 |
mal | rinigus: (and in case that not enough also the iptables patch) | 19:13 |
rinigus | mal: no, I didn't. haven't had a chance to work on it. do you think its a better way than to patch the kernel? | 19:13 |
mal | yes | 19:13 |
mal | afaik | 19:13 |
HelloPotter_ | @mal rpm/dhd/helpers/add_new_device.sh it's saying launch this script from the /home/err0r/Desktop/New_Oss/Sailfish_Os directory | 19:21 |
HelloPotter_ | @mal but i am in PlatformSDK err0r@err0r:~/Desktop/New_Oss/Sailfish_Os$ | 19:21 |
mal | ? | 19:21 |
HelloPotter_ | it is in the section of creating repositories for new devices | 19:23 |
piggz | mal: https://github.com/mer-hybris/broadcom-bluetooth seems quite dated ...requires bluez4! | 19:28 |
piggz | i feel a fork is needed | 19:28 |
mal | hmm | 19:30 |
piggz | mal: i dont even think it needs bluez to build ? | 19:32 |
mal | piggz: it seems the brcm_patchram_plus_usb.c might need bluez | 19:35 |
piggz | ok... | 19:35 |
mal | but see how badly build breaks with bluez5 | 19:36 |
piggz | why are there 2 versions of the code? it looks like the spec builds the older one | 19:36 |
mal | piggz: other is upstream, same thing | 19:37 |
piggz | mal: there is a difference between the 2 dirs.. | 19:39 |
piggz | mainly around forking | 19:39 |
piggz | mal: well, it builds fine | 19:44 |
piggz | and i wont be testing the usb part | 19:45 |
mal | piggz: ok, then it should be fine to use | 19:48 |
mal | piggz: just fix the dependencies in spec if needed, or add another spec | 19:48 |
piggz | mal: it seems to work too, even though my version was newer... | 20:09 |
piggz | 2011/2014 | 20:09 |
piggz | my version seems to just add support for rfkill | 20:10 |
T4 | <Zosenko> http://www.myriadgroup.com/en/products/device-solutions/mobile-software/alien-dalvik/ | 20:18 |
*** ChanServ sets mode: +v T4 | 20:21 | |
piggz | @eugenio_g7 pushed config changes for gst and BT to my repo | 20:27 |
piggz | one day we will have to better combine and work from a common repo! | 20:27 |
HelloPotter_ | @mal should i configure middleware now | 20:31 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!