Friday, 2026-05-22

nightishamanrinigus: can you show me to let the android init system initialize stuff unless i find the fix in the next hours, because i think there's something i miss02:04
nightishamanalso mal: I asked Claude about tracing in kernel events and it recommended me adding commandline options for it: https://pastebin.com/c73eVuxv02:06
nightishamanalso mal: i added compilation of the fips140 module since android recovery also uses that and i wanna make sure to mimic android as much as possible, however now i get this error: https://pastebin.com/UG3Ratcq, any idea how to fix that?02:07
*** xmn_ is now known as xmn05:48
*** amccarthy is now known as Guest993208:13
*** amccarthy_ is now known as amccarthy08:13
malnightishaman: what did you change?11:09
Mister_Magistermal: so remember my modem shenanigans? For other user, sms receiving during volte doesn't work, for me it does work, i feel like it's gonna be massive pain in the butt11:53
*** amccarthy is now known as Guest993812:09
*** amccarthy_ is now known as amccarthy12:09
nightishamanmal: I added the fips140 module as compilation for the kernel, added that to GS201_MODULE_OUTS and to pantah_defconfig17:22
malwhy?17:50
maland how exactly did you do those changes17:50
malthat module wasn't built before?17:50
nightishamanmal: because lineageos and stock both have that module built18:07
nightishamanand since the modules that hang depend on the crypto this one provides, i thought id add it18:07
malnightishaman: I don't understand, if it's in lineage why isn't it getting built without any changes?18:13
nightishamanbecause lineageos uses prebuilt gki and builds the kernel modules on top of that, with prebuilt gki it downloads a prebuilt fips140 module18:15
nightishamanbut we cant use prebuilt gki since we need the kernel flags for sailfishos18:16
nightishamanim gonna try something18:19
malso you don't compile modules on top of the patched gki you build?18:21
nightishamani do18:21
nightishamanbut lineageos dont, and thats where the fips140 module comes from18:21
nightishamanso i had to add it myself18:21
malthat makes no sense at all18:22
malyou just said you build modules which of course would include that module also18:22
malmaybe there is some bad miscommunication now18:22
nightishamani dont know how the prebuilt gki builds the fips module, i saw there was fips140_dist target, but calling that wont build the extra kernel modules18:23
malso you are not building all modules then18:23
nightishamanno, the standard build if you compile it yourself doesnt include fips140.ko18:24
malthe error you got said the module has been included twice18:24
nightishamaneven when you build like lineageos it builds the normal kernel modules itself on top of gki, but for fips it will always download from google18:24
malwhere in android is that module? vendor_boot or similar? system_dlkm? vendor_dlkm? or what+18:25
nightishamanvendor_kernel_boot18:25
malyou still didn't show how exactly you added that to your build18:25
nightishamani added CONFIG_CRYPTO_FIPS140_MOD=m to pantah_defconfig in private/device/google/pantah18:26
nightishamanand i added it to GS201_MODULE_OUTS in private/device/google/gs201/constants.bzl18:27
nightishamanthats the only two changes i did18:27
malgrep device repos for fips140 ?18:28
maldoes it download any other modules?18:29
malso your .config didn't what that module before?18:29
malyou probably have something like BOARD_PREBUILT_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES = fips140.ko somewhere in device repos18:30
maland BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD_EXTRA which might need changes if you remove it from the previous one18:30
mal@b100dian do you want to rebase that maxBuffers droidmedia branch? would just be nicer git history18:38
T42<b100dian> mal: sure18:39
T42<b100dian> abrs fault again ;p18:41
T42<b100dian> mal: done18:41
maldoing some quick regression testing before merging, just testing on some devices which had no issues18:50
T42<b100dian> appreciated18:55
nightishamanmal: yeah that was it19:17
malnightishaman: make sure it still ends up in module loading list19:21
malnightishaman: did you edit the BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD_EXTRA ?19:21
T42<adampigg> nightishaman: if you need it https://paste.opensuse.org/pastes/e7850ecd450e .. just execute it on boot somehow19:55
nightishamanthanks @adampigg but i think it does the same as the init-debug script from sailfishos20:44
T42<adampigg> pretty much20:45
nightishamanit still hangs at the second probe of i2c-acpm21:21
nightishamanim gonna try the commandline claude gave me21:21
nightishamanhopefully ftrace finds something21:21

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