-
Notifications
You must be signed in to change notification settings - Fork 421
Description
Device Information:
- Device: OnePlus 13 (CPH2653)
- ROM/Software Version: OOS 16.0.2.402(EX01) / Android 16
- SELinux Status: Permissive
Kernel Information:
- Base Linux Version: 6.6.89
- Problematic Build:
AK3_OP13_OOS16_android15-6.6.89_KSUN_32966_SuSFS_v2.0.0 (v2.0.0-r7) - Working Build:
AK3_OP13_OOS16_android15-6.6.89_KSUN_32906_SuSFS_v2.0.0 (v2.0.0-r2)
Note: I have not tested the intermediate builds between v2.0.0-r2 and v2.0.0-r7 yet. I plan to test them to narrow down the regression and will report my findings in a follow-up comment.
Description:
I am experiencing a consistent hard crash (instant reboot) when performing intensive I/O operations inside a chroot environment (setup via manual mounting, not restricted by Linux Deploy). The issue specifically occurs when unpacking large archives or installing packages.
This appears to be a regression introduced between KSUN build 32906 and 32966, as the kernel version (6.6.89) and SuSFS version (v2.0.0) remain the same.
Steps to Reproduce:
- Flash the problematic kernel (KSUN_32966).
- Open a root terminal (via Termux tsu or ADB).
- Attempt to unpack a large rootfs archive (e.g., Debian Sid rootfs ~200MB compressed):
tar -xpf rootfs.tar.xz -C /data/chroot/target_dir/
_Alternatively: _Runapt installfor a large package inside the chroot. - Result: The device freezes for a few seconds and then hard reboots.
Troubleshooting & Regression Testing:
- I flashed the previous build (KSUN_32906) and the exact same operation completes successfully without any issues.
- I attempted to capture logs using console-ramoops and pmsg-ramoops after the reboot.
- console-ramoops is empty.
- pmsg-ramoops cuts off abruptly on standard Android logs (Wifi/Sync) with no indication of I/O errors or kernel panics, suggesting the crash is instantaneous and logs are not flushed to NVRAM in time.
Hypothesis:
Since the base kernel version is identical, the issue likely stems from changes in KernelSU Next hooks or specific scheduler/memory management patches applied in the 32966 build that conflict with heavy write operations on UFS.