T42 | <supirlelik96> /graphical | 11:46 |
---|---|---|
T42 | <supirlelik96> https://paste.ubuntu.com/p/2bk3cFx96Q/ | 11:54 |
T42 | <supirlelik96> https://paste.ubuntu.com/p/MRJmrsfGw3/ log initt | 11:55 |
T42 | <supirlelik96> https://paste.ubuntu.com/p/tfsHyGKGHS/ log initt (edited) | 11:55 |
T42 | <supirlelik96> https://paste.ubuntu.com/p/QCmM5jTpkR/ (re @SailfishFreenodeIRCBridgeBot: <mal>come on, just s...) | 12:07 |
T42 | <edp_17> Hi all, I though, would be easier to make an aarch64 build. I've updated the target and rebuilt hybris-hal but when tried to build droid-hal, I got this error: https://paste.ubuntu.com/p/3r6JsdDdzs/ | 12:16 |
T42 | <edp_17> Can please someone advise how to solve it? | 12:16 |
mal | @edp_17 there are the built arm versions of some files in system/core, please remove those manually | 12:23 |
mal | @edp_17 so remove all *.o files from anywhere under system/core | 12:23 |
mal | @supirlelik96 I don't understand what you have done to make those become files and not be symlinks, those come from a common place | 12:24 |
T42 | <supirlelik96> ok | 12:38 |
mal | @supirlelik96 is that still a file after reinstalling | 12:42 |
T42 | <supirlelik96> https://paste.ubuntu.com/p/W82r2XRxHd/ | 12:47 |
T42 | <supirlelik96> vibration work | 12:47 |
T42 | <supirlelik96> phone on logo redmi | 12:48 |
T42 | <edp_17> mal: thanks | 12:51 |
mal | @supirlelik96 which android base is that? | 12:52 |
T42 | <supirlelik96> lineage os 16 | 12:53 |
mal | are you sure you have correctly disabled selinux? | 12:53 |
T42 | <supirlelik96> mal: https://github.com/Dhina17/android_device_xiaomi_onclite/tree/lineage-16.0 | 12:53 |
T42 | <supirlelik96> yes (re @SailfishFreenodeIRCBridgeBot: <mal>are you sure yo...) | 12:53 |
mal | show full output of "journalctl -b --no-pager" | 12:54 |
T42 | <supirlelik96> audit = n in kerne; | 12:54 |
T42 | <supirlelik96> ok (re @SailfishFreenodeIRCBridgeBot: <mal>show full outpu...) | 12:54 |
T42 | <supirlelik96> and cmdline selinux=0 (re @supirlelik96: audit = n in kerne;) | 12:54 |
mal | @supirlelik96 no, CONFIG_AUDIT should be =y in kernel | 12:54 |
T42 | <supirlelik96> 😮 | 12:54 |
mal | show the defconfig file | 12:54 |
T42 | <supirlelik96> ok | 12:54 |
T42 | <supirlelik96> https://paste.ubuntu.com/p/KKgJQ2Q55d/ | 12:55 |
T42 | <supirlelik96> defconfig mal | 12:55 |
T42 | <supirlelik96> mal : defconfig on ubuntu pastebin (edited) | 12:56 |
T42 | <edp_17> mal: didn't work: https://paste.ubuntu.com/p/Nz3d35crXt/ | 12:57 |
mal | @supirlelik96 change to CONFIG_AUDIT=y and rebuild | 12:58 |
T42 | <supirlelik96> ok | 12:58 |
mal | @edp_17 go to rpm/dhd and run "git clean -x -d -f" | 12:58 |
T42 | <edp_17> okay, thanks. | 12:58 |
T42 | <supirlelik96> mal: https://paste.ubuntu.com/p/GxqY7dD8my/ | 13:01 |
T42 | <supirlelik96> mal: full journalctl log https://paste.ubuntu.com/p/GxqY7dD8my/ (edited) | 13:01 |
mal | show output of /usr/libexec/droid-hybris/system/bin/logcat | 13:04 |
T42 | <supirlelik96> ok | 13:05 |
mal | how did you rebuild kernel? | 13:06 |
T42 | <supirlelik96> I'm recompiling the kernel using clang | 13:06 |
T42 | <supirlelik96> mal : | 13:07 |
T42 | <supirlelik96> sh-5.0# /usr/libexec/droid-hybris/system/bin/logcat | 13:07 |
T42 | <supirlelik96> logcat read failure | 13:07 |
T42 | <supirlelik96> sh-5.0# | 13:07 |
T42 | <supirlelik96> https://paste.ubuntu.com/p/CzVqT52fcs/ log droid-hal broken | 13:09 |
mal | what did you mean by that kernel build, did you build it the normal, how did you install the kernel? | 13:13 |
mal | *normal way | 13:14 |
T42 | <supirlelik96> yes | 13:14 |
T42 | <supirlelik96> Yes, the kernel is assembled normally and I flash it hybirs-boot. img in twrp | 13:14 |
mal | can you verify the correct kernel is used, check output of "zcat /proc/config.gz | grep CONFIG_AUDIT" | 13:16 |
T42 | <supirlelik96> ok | 13:18 |
T42 | <edp_17> mal: cleaning rpm/dhd has worked. Thanks! | 14:27 |
T42 | <supirlelik96> https://paste.ubuntu.com/p/YsktxzC9jp/ dmesg | 15:39 |
mal | you never said if you verified what CONFIG_AUDIT is in your device using the command I gave | 15:45 |
T42 | <supirlelik96> My CONFIG_AUDIT=y | 16:06 |
mal | do you have the proper ld.config.28.txt file setup, it seems the config you have on github is missing some parts so I can't verify it | 16:08 |
mal | also you should not have folders tmp, installroot in the config repo git | 16:09 |
mal | those are always regenerated at build time | 16:10 |
T42 | <supirlelik96> Yeah | 16:11 |
T42 | <supirlelik96> I will update the sources | 16:11 |
mal | the whole sparse folder is missing from that git repo | 16:15 |
T42 | <supirlelik96> Yes | 17:19 |
T42 | <supirlelik96> Yeah | 17:19 |
T42 | <supirlelik96> mal: https://paste.ubuntu.com/p/2k9gYSmbKh/ | 18:10 |
T42 | <supirlelik96> I have CONFIG_AUDIT=y in my kernel and your command outputs y too | 18:10 |
T42 | <supirlelik96> I have CONFIG_AUDIT=y in my kernel hybris and your command outputs y too (edited) | 18:11 |
mal | still waiting for the config repo to be update | 18:14 |
T42 | <supirlelik96> i am updating repo on git | 18:14 |
T42 | <supirlelik96> mal: https://github.com/sailfish-os-on-onclite/droid-configs-onclite | 18:25 |
T42 | <supirlelik96> I updated repi | 18:25 |
T42 | <supirlelik96> I updated source on repo (edited) | 18:25 |
mal | do you have /system/etc/ld.config.28.txt file? | 18:29 |
mal | @supirlelik96 https://github.com/sailfish-os-on-onclite/droid-configs-onclite/blob/main/sparse/lib/systemd/system/multi-user.target.wants/system-etc-ld.config.28.txt.mount that looks wrong, the symlink should be pointing ../ | 18:30 |
mal | I mean to ../system-etc-ld.config.28.txt.mount | 18:31 |
T42 | <supirlelik96> i see | 18:31 |
mal | but you should also check that you have /system/etc/ld.config.28.txt | 18:31 |
mal | on device | 18:31 |
T42 | <supirlelik96> ok | 18:31 |
T42 | <supirlelik96> mal: system_root& | 18:41 |
T42 | <supirlelik96> mal: system_root? (edited) | 18:41 |
mal | don't you have /system? | 18:42 |
T42 | <supirlelik96> yes | 18:43 |
T42 | <supirlelik96> /system_root/system | 18:43 |
mal | the /system should point to that afaik | 18:43 |
T42 | <supirlelik96> https://paste.ubuntu.com/p/jxYgBwd7zw/ | 18:43 |
T42 | <supirlelik96> I have ld.config.28.txt | 18:44 |
mal | so now fix the symlink I mentioned a moment ago | 18:45 |
T42 | <supirlelik96> ok | 18:46 |
T42 | <elros34> will that mount unit even work? It should be in /usr/lib/systemd intead /lib/systemd/ | 18:49 |
mal | yeah | 18:49 |
mal | @supirlelik96 fix that also | 18:50 |
T42 | <elros34> From which droid-config repo do you copy files? It's outdated if it use /lib/systemd/ | 18:53 |
mal | @elros34 I think the example in faq points to a quite old commit | 18:56 |
mal | it should be fixed | 18:57 |
T42 | <elros34> right but he also has sparse/etc/selinux/ and mny other files probably copied from different device | 18:58 |
mal | yeah | 19:01 |
T42 | <supirlelik96> yes from mi a2 (re @elros34: right but he also ha...) | 19:06 |
T42 | <elros34> that doesn't tell me much, codename or even url would be better | 19:09 |
T42 | <supirlelik96> i fixed symlink and rebuild droid-config | 19:19 |
T42 | <supirlelik96> i fixed symlink and rebuild droid-configs (edited) | 19:19 |
T42 | <supirlelik96> i fixed symlinks and rebuild droid-configs (edited) | 19:19 |
mal | please do not edit telegram posts on this channel, those are shown duplicated in irc side | 19:33 |
T42 | <supirlelik96> ok | 19:33 |
T42 | <elros34> according to github path and symlink is still wrong | 19:38 |
T42 | <elros34> also with your latest commit some important lines from ld.config.28.txt were also removed | 19:41 |
T42 | <supirlelik96> https://paste.ubuntu.com/p/93TkBmknQp/ | 19:54 |
T42 | <supirlelik96> https://paste.ubuntu.com/p/FZrWjSGwQk/ init log | 19:56 |
T42 | <supirlelik96> [ 34.384944] droid-hal-init: Failed to initialize property area | 19:58 |
T42 | <elros34> yeah or ignore advices... If you would not add that grep init then it would be clear whether selinux is corectly disabled from dmesg | 19:58 |
T42 | <supirlelik96> https://paste.ubuntu.com/p/P5wQs62rSV/ | 20:00 |
T42 | <elros34> as you can see your previous dmesg starts from second 0, this once from 3 which is too late | 20:01 |
T42 | <supirlelik96> In the audit=y kernel and in the device tree BoardConfig.mk I added the parameters: | 20:02 |
T42 | <supirlelik96> In the audit=y kernel and in the device tree BoardConfig.mk I added | 20:02 |
T42 | <supirlelik96> In the audit=y kernel and in the device tree BoardConfig.mk I added the parameters: (edited) | 20:02 |
T42 | <supirlelik96> In the audit=y kernel and in the device tree BoardConfig.mk I added the parameters: | 20:02 |
T42 | <supirlelik96> BOARD_KERNEL_CMDLINE += systemd.legacy_systemd_cgroup_controller=yes | 20:02 |
T42 | <supirlelik96> BOARD_KERNEL_CMDLINE += androidboot.selinux=permissive | 20:02 |
T42 | <supirlelik96> BOARD_KERNEL_CMDLINE += audit=0 selinux=0 androidboot.configfs=true (edited) | 20:02 |
T42 | <supirlelik96> when I do dmesg, I only have 3 (re @elros34: as you can see your ...) | 20:03 |
T42 | <supirlelik96> when I do dmesg, I only have from 3 (edited) (re @elros34: as you can see your ...) | 20:03 |
T42 | <elros34> because it's too late, you need to reboot and be fast. I do not believe changes users make so I always ask for dmesg | 20:04 |
T42 | <supirlelik96> ok | 20:04 |
T42 | <supirlelik96> https://paste.ubuntu.com/p/9WDPkPTc2X/ dmesg from 0 | 20:07 |
T42 | <supirlelik96> https://paste.ubuntu.com/p/9WDPkPTc2X/ dmesg from 0.65 (edited) | 20:07 |
T42 | <supirlelik96> https://paste.ubuntu.com/p/9WDPkPTc2X/ dmesg from 0.65 (re @elros34: because it's too lat...) | 20:08 |
T42 | <neochapay> Oh kmmmon disable selinux first!!!! (re @supirlelik96: https://paste.ubuntu...) | 20:10 |
T42 | <supirlelik96> WHAT??? (re @supirlelik96: In the audit=y kerne...) | 20:10 |
T42 | <neochapay> You kernel start with enabled selinux as i say you 1 week ago... (re @supirlelik96: WHAT???) | 20:11 |
T42 | <neochapay> Disable it | 20:11 |
T42 | <supirlelik96> in kernel defconfig? | 20:11 |
T42 | <neochapay> I don't know how you device generate kernel cmd line. | 20:12 |
T42 | <neochapay> . (re @supirlelik96: in kernel defconfig?) | 20:12 |
T42 | <elros34> it's possible to do this via defconfig only CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=0: https://github.com/mer-hybris/mer-kernel-check/pull/27/files | 20:16 |
T42 | <supirlelik96> ok THANK YOU (re @elros34: it's possible to do ...) | 20:18 |
T42 | <supirlelik96> CONFIG_SECURITY_SELINUX_BOOTPARAM=y | 20:20 |
T42 | <supirlelik96> CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=0 | 20:20 |
T42 | <supirlelik96> I have this parameter | 20:20 |
T42 | <supirlelik96> I already had this parameter | 20:20 |
T42 | <supirlelik96> I already had this parameter (re @elros34: it's possible to do ...) | 20:20 |
T42 | <supirlelik96> CONFIG_SECURITY_SELINUX_BOOTPARAM=y | 20:21 |
T42 | <supirlelik96> this line remove? | 20:21 |
T42 | <supirlelik96> I already had this line (edited) (re @elros34: it's possible to do ...) | 20:21 |
T42 | <elros34> obviously no | 20:21 |
T42 | <supirlelik96> yeah | 20:21 |
T42 | <elros34> if you can confirm it in config.gz then dmesg from 0s is not required | 20:22 |
T42 | <supirlelik96> ok | 20:22 |
T42 | <supirlelik96> onc:/ # zcat /proc/config.gz | grep CONFIG_SECURITY_SELINUX_BOOTPARAM | 20:26 |
T42 | <supirlelik96> # CONFIG_SECURITY_SELINUX_BOOTPARAM is not set (re @elros34: if you can confirm i...) | 20:26 |
T42 | <supirlelik96> onc:/ # zcat /proc/config.gz | grep CONFIG_SECURITY_SELINUX_BOOTPARAM | 20:26 |
T42 | <supirlelik96> # CONFIG_SECURITY_SELINUX_BOOTPARAM is not set (edited) (re @elros34: if you can confirm i...) | 20:26 |
T42 | <elros34> now you do understand why I ask about dmesg:) | 20:27 |
T42 | <supirlelik96> yes | 20:27 |
T42 | <elros34> show you .config or config.gz | 20:29 |
T42 | <supirlelik96> https://paste.ubuntu.com/p/YCrm62F92b/ | 20:30 |
T42 | <supirlelik96> ok (re @elros34: show you .config or ...) | 20:30 |
T42 | <elros34> that log looks good, look at line 95 | 20:31 |
T42 | <supirlelik96> wow | 20:32 |
T42 | <supirlelik96> https://paste.ubuntu.com/p/zmTWGDJp3D/ (re @elros34: show you .config or ...) | 20:32 |
T42 | <elros34> that doesn't make sense | 20:33 |
T42 | <supirlelik96> I correctly understood that it is necessary to fix this error with droid-hal-init | 20:34 |
T42 | <supirlelik96> [ 34.384944] droid-hal-init: Failed to initialize property area | 20:34 |
T42 | <supirlelik96> yeah | 20:34 |
T42 | <elros34> you are mixing something so we are going nowhere. Read again link I gave few days ago. Then compare your config.gz and .config. Your latest dmesg suggest that you have correct defconfig but in your latest paste it is not correct | 20:38 |
T42 | <supirlelik96> yeah | 20:41 |
T42 | <elros34> your create symlink wrong way ln -s ..somename. It should be ln -s ../somename | 20:42 |
T42 | <supirlelik96> https://paste.ubuntu.com/p/h23rCmSfpK/ | 20:43 |
T42 | <supirlelik96> https://paste.ubuntu.com/p/h23rCmSfpK/ defconfig my kernel (edited) | 20:43 |
T42 | <supirlelik96> I created a symlink like this ln-s ..file-name link-name | 20:44 |
T42 | <supirlelik96> I created a symlink like this ln -s ..file-name symlink-name (edited) | 20:45 |
T42 | <supirlelik96> I understand thank you (re @elros34: your create symlink ...) | 20:45 |
T42 | <elros34> also add printk.devkmsg=on to kernel boot params | 20:46 |
T42 | <supirlelik96> щл | 20:48 |
T42 | <supirlelik96> ok | 20:48 |
T42 | <supirlelik96> Im rebuidling kernel (re @elros34: also add printk.devk...) | 21:01 |
T42 | <supirlelik96> also droid-configs and rootfs | 21:01 |
T42 | <elros34> did you finally fixed /usr/lib/systemd path? | 21:02 |
T42 | <supirlelik96> ? | 21:06 |
T42 | <supirlelik96> I created symlinks correctly now (re @elros34: did you finally fixe...) | 21:06 |
T42 | <elros34> https://irclogs.sailfishos.org/logs/%23sailfishos-porters/%23sailfishos-porters.2021-08-01.log.html#t2021-08-01T18:49:13 | 21:07 |
T42 | <supirlelik96> I don't understand what needs to be done to fix it? | 21:09 |
T42 | <elros34> simply move sparse/lib/systemd to sparse/usr/lib/systemd | 21:10 |
T42 | <supirlelik96> ok | 21:10 |
T42 | <supirlelik96> thanks | 21:10 |
T42 | <supirlelik96> Im fixed and building rootfs | 21:11 |
T42 | <supirlelik96> Im fixed and building droid-configs and also roofs (edited) | 21:11 |
T42 | <supirlelik96> Im fixed path and building droid-configs and also roofs (edited) | 21:13 |
T42 | <supirlelik96> https://paste.ubuntu.com/p/fGn7999kc4/ init log | 21:35 |
T42 | <supirlelik96> https://paste.ubuntu.com/p/G4zGWGxDvC/ | 21:37 |
T42 | <supirlelik96> https://paste.ubuntu.com/p/G4zGWGxDvC/ journalctl (edited) | 21:37 |
mal | did you fix the systemd paths | 21:38 |
T42 | <supirlelik96> iam fixed paths | 21:39 |
T42 | <supirlelik96> and simlinks | 21:39 |
mal | I meant what elros34 said, you need to move the sparse/lib/systemd folder to sparse/usr/lib/systemd in config repo | 21:40 |
T42 | <elros34> why do you keep adding | grep init, always provide full logs | 21:40 |
T42 | <supirlelik96> ok | 21:40 |
T42 | <supirlelik96> yes (re @SailfishFreenodeIRCBridgeBot: <mal>I meant what el...) | 21:40 |
mal | your repo in github still has those in lib https://github.com/sailfish-os-on-onclite/droid-configs-onclite/tree/main/sparse | 21:41 |
T42 | <supirlelik96> https://paste.ubuntu.com/p/57SD9KdTDc/ console-ramoops | 21:42 |
T42 | <supirlelik96> Im not updated source on git (re @SailfishFreenodeIRCBridgeBot: <mal>your repo in gi...) | 21:43 |
T42 | <elros34> why console-ramoops? According to that log you have not added printk.devkmsg=on to bootparams. How excatly did you build kernel? | 21:44 |
T42 | <supirlelik96> yes | 21:45 |
T42 | <supirlelik96> im update source on git | 21:45 |
T42 | <supirlelik96> https://paste.ubuntu.com/p/dCDC2tRjNj/ kmsg dev | 21:47 |
T42 | <elros34> line 41, do you see printk.devkmsg=on there? | 21:49 |
T42 | <supirlelik96> no | 21:50 |
T42 | <supirlelik96> yeag | 21:51 |
T42 | <supirlelik96> yeah (edited) | 21:51 |
T42 | <supirlelik96> In cmdline kernel ignoring and cmdline in BoardConfig.mk isnt ignore | 21:51 |
T42 | <supirlelik96> https://paste.ubuntu.com/p/sp9QWZbcsK/ | 21:52 |
T42 | <elros34> could you answer question I asked/ | 21:52 |
T42 | <supirlelik96> The cmdline is ignored in the kernel it is necessary to add the cmdline in the device tree | 21:52 |
T42 | <supirlelik96> I will have to rebuild the device tree again and the kernel | 21:53 |
T42 | <elros34> I asked how excatly do you build kernel. | 21:53 |
T42 | <supirlelik96> The cmdline is ignored in the kernel it is necessary to add the cmdline in the device tree BoardConfig.mk (edited) | 21:53 |
T42 | <supirlelik96> in kernel/xiaomi/onclite/ ARCH64=arm make mrproper | 21:54 |
T42 | <supirlelik96> android_root (re @elros34: I asked how excatly ...) | 21:54 |
T42 | <supirlelik96> in kernel/xiaomi/onclite/ ARCH64=arm make mrproper | 21:55 |
T42 | <supirlelik96> android_root rebuild hybris-hal (edited) (re @elros34: I asked how excatly ...) | 21:55 |
T42 | <supirlelik96> in HABUILD_SDK | 21:55 |
T42 | <supirlelik96> in kernel/xiaomi/onclite/ ARCH64=arm make mrproper | 21:55 |
T42 | <supirlelik96> android_root rebuild hybris-hal | 21:55 |
T42 | <supirlelik96> (source build/envsetup.sh | 21:55 |
T42 | <supirlelik96> export USE_CCACHE=1 | 21:55 |
T42 | <supirlelik96> breakfast $DEVICE | 21:55 |
T42 | <supirlelik96> make -j$(nproc --all) hybris-hal droidmedia) (edited) (re @elros34: I asked how excatly ...) | 21:55 |
T42 | <elros34> is that all? | 21:56 |
T42 | <supirlelik96> yes | 21:57 |
T42 | <supirlelik96> only the kernel that I changed is recompiled | 21:58 |
T42 | <elros34> I see not reason for make mrproper. Also after building hybris-hal you need to package it: build_packages.sh -d. | 21:58 |
T42 | <supirlelik96> okey | 21:58 |
T42 | <supirlelik96> I am rebuild droid-configs | 21:59 |
T42 | <supirlelik96> Hmm, but I still did the droid-configs rebild | 22:00 |
T42 | <supirlelik96> Hmm, but I still did the droid-configs rebuld (edited) | 22:00 |
T42 | <supirlelik96> Hmm, but I still did the droid-configs rebuilf (edited) | 22:00 |
T42 | <supirlelik96> Hmm, but I still did the droid-configs rebuild (edited) | 22:00 |
mal | @supirlelik96 what did I tell you about editing post in telegram? I see those last edits as 4 separate lines in irc | 22:21 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!