Qualcomm Robotics RB5 Debian - Unable to enable ftrace

When enabling CONFIG_FTRACE and its dependencies, the platform crash and doesn’t boot.
Attached below is the last piece of the serial log.
This is not an issue in the AOSP version.
Any ideas?

Thanks,
Avri

[ 8.210932] Unable to handle kernel NULL pointer dereference at virtual address 0000000000000000
[ 8.220027] Mem abort info:
[ 8.222932] ESR = 0x96000004
[ 8.226119] EC = 0x25: DABT (current EL), IL = 32 bits
[ 8.231589] SET = 0, FnV = 0
[ 8.234740] EA = 0, S1PTW = 0
[ 8.237975] FSC = 0x04: level 0 translation fault
[ 8.242988] Data abort info:
[ 8.245959] ISV = 0, ISS = 0x00000004
[ 8.249903] CM = 0, WnR = 0
[ 8.252956] user pgtable: 4k pages, 48-bit VAs, pgdp=0000000100c16000
[ 8.259610] [0000000000000000] pgd=0000000000000000, p4d=0000000000000000
[ 8.266591] Internal error: Oops: 96000004 [#2] PREEMPT SMP
[ 8.272321] Modules linked in: spi_geni_qcom(+) i2c_qcom_geni(+) pinctrl_lpass_lpi(+)
[ 8.280369] CPU: 5 PID: 216 Comm: systemd-udevd Tainted: G D 5.15.0-qcomlt-arm64 #54
[ 8.289654] Hardware name: Qualcomm Technologies, Inc. Robotics RB5 (DT)
[ 8.296540] pstate: 80400005 (Nzcv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=–)
[ 8.303694] pc : trace_module_notify+0x130/0x240
[ 8.308447] lr : trace_module_notify+0xf4/0x240
[ 8.313106] sp : ffff80001132bb10
[ 8.316512] x29: ffff80001132bb10 x28: ffffcbae61ebd570 x27: ffffcbae643d7000
[ 8.323838] x26: ffffcbae6447dde0 x25: 000000002d82e3c0 x24: ffffcbae6447d0d8
[ 8.331164] x23: ffffcbae05b07280 x22: 0000000000000000 x21: ffffcbae6447dda0
[ 8.338492] x20: ffffcbae648402c8 x19: ffffcbae6447d3d0 x18: 0000000000000000
[ 8.345817] x17: 0000000004040038 x16: 0000000000000000 x15: ffff8000112fd000
[ 8.353141] x14: ffff26c6c4ae7191 x13: 0069706c5f737361 x12: 706c5f6c7274636e
[ 8.360464] x11: ffff80001138d000 x10: ffff26c6c4ae7290 x9 : ffffcbae62053b54
[ 8.367789] x8 : 0101010101010101 x7 : 706c5f737361706c x6 : 0000000000078c05
[ 8.375115] x5 : ffff26c6c4b36980 x4 : 0000000000000000 x3 : ffffcbae6447d0d8
[ 8.382438] x2 : ffff26c6c1ff49c0 x1 : ffffffffffffcbff x0 : 0000000000000000
[ 8.389762] Call trace:
[ 8.392278] trace_module_notify+0x130/0x240
[ 8.396671] blocking_notifier_call_chain_robust+0x84/0xf0
[ 8.402304] load_module+0x1a30/0x29c0
[ 8.406160] __do_sys_finit_module+0xbc/0x130
[ 8.410636] __arm64_sys_finit_module+0x2c/0x3c
[ 8.415296] invoke_syscall+0x50/0x120
[ 8.419153] el0_svc_common.constprop.0+0x4c/0xf4
[ 8.423982] do_el0_svc+0x30/0x9c
[ 8.427390] el0_svc+0x20/0x60
[ 8.430540] el0t_64_sync_handler+0x1a8/0x1b0
[ 8.435015] el0t_64_sync+0x1a0/0x1a4
[ 8.438788] Code: 910b2294 910102ba a90573fb d503201f (f94002db)
[ 8.445053] —[ end trace 674781fa79d667c5 ]—
[ 8.520226] hub 1-1:1.0: USB hub found
[ 8.525025] hub 1-1:1.0: 4 ports detected
[ 8.613318] usb 2-1: new SuperSpeed Plus Gen 2x1 USB device number 2 using xhci-hcd
[ 8.679643] hub 2-1:1.0: USB hub found
[ 8.684002] hub 2-1:1.0: 4 ports detected
[ 9.001627] usb 2-1.1: new SuperSpeed USB device number 3 using xhci-hcd
[ 9.468963] ax88179_178a 2-1.1:1.0 eth0: register ‘ax88179_178a’ at usb-xhci-hcd.0.auto-1.1, ASIX AX88179 USB 3.0 Gigabit Ethernet, 00:0e:c6:81:79:01
[ 9.507256] ax88179_178a 2-1.1:1.0 enx000ec6817901: renamed from eth0
[ 39.901354] LT9611_1V2: disabling
[ 82.080895] random: crng init done
Begin: Loading essential drivers … done.
Begin: Running /scripts/init-premount … done.
Begin: Mounting root file system … Begin: Running /scripts/local-top … done.
Begin: Running /scripts/local-premount … done.
Warning: fsck not present, so skipping root file system
[ 139.111796] EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null). Quota mode: none.
done.
Begin: Running /scripts/local-bottom … done.
Begin: Running /scripts/init-bottom … done.
[ 139.234333] systemd[1]: System time before build time, advancing clock.

Were you able to find a solution to this issue?

nop. Moved to use AOSP.

Hi,
This issue seems to be resolved with the 6.1 release (origin/release/qcomlt-6.1).
thanks,
Avri