android system complains after boot but still alive no crash lets see adde nthunter kernel overlay and building minimal config
Читать полностью…
can i pm the files ? orig and modded ?
Читать полностью…
log of kernel stock trying to boot with new modules https://pastebin.com/0c4amQ0T
Читать полностью…
yous suggest to restart stock defconfig + just sysvipc or also other flags ? (in menuconfig)
Читать полностью…
unfortunately i got no pin docs for uart
Читать полностью…
then idk, you shouldn't have any issues, inspect logs to see why it fails
Читать полностью…
that were build separately afaik same magic
Читать полностью…
export PATH="/home/lucoz/kernels/linux-x86/clang-r416183b/bin:/home/lucoz/kernels/aarch64-linux-android-4.9-12-5/bin:${PATH}"
make O=out -j$(nproc) ARCH=arm64 \
LLVM=1 \
CC=clang \
AR=llvm-ar \
AS=llvm-as \
NM=llvm-nm \
OBJCOPY=llvm-objcopy \
OBJDUMP=llvm-objdump \
STRIP=llvm-strip \
CLANG_TRIPLE=aarch64-linux-gnu- \
CROSS_COMPILE_COMPAT="/home/lucoz/kernels/arm-linux-androideabi-4.9-12-5/bin/arm-linux-androideabi-" \
CROSS_COMPILE=aarch64-linux-android- builds kernel and modules
it doesn't crash with new module it hangs
Читать полностью…
if you are building and updating all modules, you would no longer be affected by ABI breakages
Читать полностью…
then you shouldn't have any issues with enabling CONFIG_SYSVIPC
Читать полностью…
are you building and updating all modules in all relevant partitions
Читать полностью…
stock defconfig https://raw.githubusercontent.com/cooked71/RE58C2_KERNEL_5-4-254/refs/heads/base/arch/arm64/configs/RE58C2_defconfig
Читать полностью…
generic full version will see the custom kernel features ?
Читать полностью…
https://filebin.net/1bz10u2qlnxha3ta lucoz@ThinkPad-T540p:~/realme_C51_C53_Note50_C60_C51_N53-AndroidU-kernel-source/include/linux$ diff -u /home/lucoz/realme_C51_C53_Note50_C60_C51_N53-AndroidU-kernel-source/include/linux/sched.h \
/home/lucoz/realme_C51_C53_Note50_C60_C51_N53-AndroidU-kernel-source/include/linux/sched.horig
--- /home/lucoz/realme_C51_C53_Note50_C60_C51_N53-AndroidU-kernel-source/include/linux/sched.h 2026-01-08 21:55:28.645169452 +0100
+++ /home/lucoz/realme_C51_C53_Note50_C60_C51_N53-AndroidU-kernel-source/include/linux/sched.horig 2025-05-11 19:04:13.282597884 +0200
@@ -926,11 +926,10 @@
struct nameidata *nameidata;
-#if defined(CONFIG_SYSVIPC) && !defined(CONFIG_ANDROID)
+#ifdef CONFIG_SYSVIPC
struct sysv_sem sysvsem;
struct sysv_shm sysvshm;
#endif
-
#ifdef CONFIG_DETECT_HUNG_TASK
unsigned long last_switch_count;
unsigned long last_switch_time;
@@ -1317,15 +1316,9 @@
//odm alm_id:5321993 struk to reboot function ; build-in oem_data for gki 2023/3/17 wangshuaishuai end
ANDROID_KABI_RESERVE(1);
ANDROID_KABI_RESERVE(2);
-#if defined(CONFIG_SYSVIPC) && defined(CONFIG_ANDROID)
- ANDROID_KABI_USE(3, struct sysv_sem sysvsem);
- _ANDROID_KABI_REPLACE(ANDROID_KABI_RESERVE(4); ANDROID_KABI_RESERVE(5),
- struct sysv_shm sysvshm);
-#else
ANDROID_KABI_RESERVE(3);
ANDROID_KABI_RESERVE(4);
ANDROID_KABI_RESERVE(5);
-#endif
ANDROID_KABI_RESERVE(6);
ANDROID_KABI_RESERVE(7);
ANDROID_KABI_RESERVE(8);
@@ -1342,7 +1335,7 @@
/*
* WARNING: on x86, 'thread_struct' contains a variable-sized
- * structure. It *MUST* be at the end of 'task_struct'.
+ * structure. It *MUST* be at the end of 'task_struct'.
*
* Do not put anything below here!
*/
@@ -2059,4 +2052,4 @@
const struct cpumask *sched_trace_rd_span(struct root_domain *rd);
-#endif
\ No newline at end of file
+#endif
127|RE58C2:/ $ ls -la /proc/sysvipc/
total 0
dr-xr-xr-x 5 root root 0 2026-01-09 10:51 .
dr-xr-xr-x 520 root root 0 1970-01-01 01:00 ..
-r--r--r-- 1 root root 0 2026-01-09 10:51 msg
-r--r--r-- 1 root root 0 2026-01-09 10:51 sem
-r--r--r-- 1 root root 0 2026-01-09 10:51 shm
RE58C2:/ $
we won ?
👍 few few months later ... 😂😂😂 thanks again
Читать полностью…
ok i'll redo all from fresh kernel tree and see.If it should work is a good start
Читать полностью…
see you back mr. nethunter thanks again
Читать полностью…
but stock modules includes also out-of-tree modules
Читать полностью…
sorry, yes are build together with the kernel in the same command
Читать полностью…
and you're certain that this module is in fact built with your kernel?
Читать полностью…
it stuck apparently as try to load sprd_wdt_fiq.ko if keep stock abi mismatch no load timeout bootloop
Читать полностью…
yes vendor_boot lib.. and vendor_dlkm lib.. keeping modules order etc
Читать полностью…
yes checked also magic vs new kernel striped debug
Читать полностью…