Wednesday, 2024-09-04

T42<edp_17> I just wonder why do I get this 'forbidden warning' error when compiling the kernel: https://paste.ubuntu.com/p/QwBwjbHx6f/12:21
T42<edp_17> Kernel source is: https://github.com/edp17/android_kernel_lge_hammerhead/tree/lineage-16.012:22
malshould be easy to fix that12:24
T42<b100dian> A warning that is treated as error I suppose12:46
T42<edp_17> Looks like it.12:58
T42<elros34> any particular reason you disabled audit in kernel? I think that is the reason you see this error. I guess this audit_inode(pathname, dir); is stripped, comment out: const char *pathname = name->name; to confirm13:41
T42<edp_17> @elros34 If you are referring to the CONFIG_AUDIT , it was never set for that device in another port with different android base.13:48
T42<edp_17> Now, I've commented out that line and got other errors: https://paste.ubuntu.com/p/k8D29PhCq2/13:48
T42<elros34> maybe just don't disable audit, unless you want to fix all this bugs in kernel13:49
T42<edp_17> Let me try to enable it then.13:51
malyou can disable audit on kernel commandline instead13:54
T42<edp_17> @elros34 : Now Audit is enabled and it is complaining about the undeclared pathname variable in namei.c. :} So, I put it back now.13:55
T42<elros34> sane move:)13:56
T42<edp_17> :) New errors: https://paste.ubuntu.com/p/k8D29PhCq2/15:20
T42<elros34> looks like old one15:48
T42<elros34> do you have enabled CONFIG_CGROUP_MEM_RES_CTLR in  .config15:49
T42<elros34> ah it's halium defconfig, this is why it has unusual android kernel config. I suggest switing back to regular android defconfig and mamke hybris changes on top of it15:57
T42<edp_17> Yes, it is halium because that kernel has the backported bluez5.18:34
T42<edp_17> I thought, could use that kernel with the corresponding device tree.18:35
malyou could just change the defconfig and still use that kernel18:40
T42<edp_17> Oh, is it simple just like that?  Okay, I'll try that.18:43

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!