Wednesday, 2026-05-20

*** amccarthy is now known as Guest975300:49
*** amccarthy_ is now known as amccarthy00:49
nightishamanmal: https://pastebin.com/kdWV8rtr the issue is happening also with the lineageos boot.img and vendor_kernel_boot.img. I might test tomorrow what the kernel prints by booting full LineageOS android instead of hybris init, but I think it has to do with the issue that pKVM can't load the protected modules02:29
T42<nightishaman> It’s either modprobe is broken or something in the kernel is broken. I will enable a higher loglevel tomorrow. Also Claude suggested disabling pKVM02:44
nightishamanmal: so i conclude, the recovery successfully loads it, with linageos kernel and vendor kernel boot it is broken, so the only angle is that the init_boot image has something that breaks the early load20:20
nightishamanand unless that is fixed or i disable pkvm, it wont boot20:20
nightishamani didnt test that yet20:21
malcheck what the recovery does?20:35
malmaybe it disables watchdog or something20:35
malcheck the .rc files at least20:35
malin recovery ramdisks20:35
nightishamanthe issue is certainly due to the failed pKVM load, pKVM loads even before init runs and calls modprobe to load the module. In hybris init_boot it fails with error code 11(EAGAIN) and the modules dont load, in android recovery it does load and the EL2 code is run, eliminating the issue20:36
nightishamanwhen the modules are not run in the pKVM context, they fail to load and the kernel panic happens because one variable can only be set one time and the module tries to register again and set that only once variable and fails. the memory of the variable is cleared because the first module is unloaded and the pointer points to other memory20:37
nightishamanjust a question, where is modprobe on the hybris init_boot?20:38
nightishamanif u know that?20:38
nightishamani think i found the issue20:42
nightishamanthere is no modprobe on hybris-init_boot20:42
nightishamanstock android has it in init_boot at /system/bin/modprobe20:42
nightishamanwhich is where CONFIG_MODPROBE_PATH in kernel points to20:42
nightishamanmal: where does the modprobe come from that the init-script uses?20:44
malit's prebuilt https://github.com/mer-hybris/android_external_busybox_prebuilt20:46
malmodprobe is in busybox20:46
T42<nightishaman> hmm, pKVM can’t call that probably20:47

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