| nightishaman | rinigus: 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 miss | 02:04 |
|---|---|---|
| nightishaman | also mal: I asked Claude about tracing in kernel events and it recommended me adding commandline options for it: https://pastebin.com/c73eVuxv | 02:06 |
| nightishaman | also 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 xmn | 05:48 | |
| *** amccarthy is now known as Guest9932 | 08:13 | |
| *** amccarthy_ is now known as amccarthy | 08:13 | |
| mal | nightishaman: what did you change? | 11:09 |
| Mister_Magister | mal: 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 butt | 11:53 |
| *** amccarthy is now known as Guest9938 | 12:09 | |
| *** amccarthy_ is now known as amccarthy | 12:09 | |
| nightishaman | mal: I added the fips140 module as compilation for the kernel, added that to GS201_MODULE_OUTS and to pantah_defconfig | 17:22 |
| mal | why? | 17:50 |
| mal | and how exactly did you do those changes | 17:50 |
| mal | that module wasn't built before? | 17:50 |
| nightishaman | mal: because lineageos and stock both have that module built | 18:07 |
| nightishaman | and since the modules that hang depend on the crypto this one provides, i thought id add it | 18:07 |
| mal | nightishaman: I don't understand, if it's in lineage why isn't it getting built without any changes? | 18:13 |
| nightishaman | because lineageos uses prebuilt gki and builds the kernel modules on top of that, with prebuilt gki it downloads a prebuilt fips140 module | 18:15 |
| nightishaman | but we cant use prebuilt gki since we need the kernel flags for sailfishos | 18:16 |
| nightishaman | im gonna try something | 18:19 |
| mal | so you don't compile modules on top of the patched gki you build? | 18:21 |
| nightishaman | i do | 18:21 |
| nightishaman | but lineageos dont, and thats where the fips140 module comes from | 18:21 |
| nightishaman | so i had to add it myself | 18:21 |
| mal | that makes no sense at all | 18:22 |
| mal | you just said you build modules which of course would include that module also | 18:22 |
| mal | maybe there is some bad miscommunication now | 18:22 |
| nightishaman | i 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 modules | 18:23 |
| mal | so you are not building all modules then | 18:23 |
| nightishaman | no, the standard build if you compile it yourself doesnt include fips140.ko | 18:24 |
| mal | the error you got said the module has been included twice | 18:24 |
| nightishaman | even when you build like lineageos it builds the normal kernel modules itself on top of gki, but for fips it will always download from google | 18:24 |
| mal | where in android is that module? vendor_boot or similar? system_dlkm? vendor_dlkm? or what+ | 18:25 |
| nightishaman | vendor_kernel_boot | 18:25 |
| mal | you still didn't show how exactly you added that to your build | 18:25 |
| nightishaman | i added CONFIG_CRYPTO_FIPS140_MOD=m to pantah_defconfig in private/device/google/pantah | 18:26 |
| nightishaman | and i added it to GS201_MODULE_OUTS in private/device/google/gs201/constants.bzl | 18:27 |
| nightishaman | thats the only two changes i did | 18:27 |
| mal | grep device repos for fips140 ? | 18:28 |
| mal | does it download any other modules? | 18:29 |
| mal | so your .config didn't what that module before? | 18:29 |
| mal | you probably have something like BOARD_PREBUILT_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES = fips140.ko somewhere in device repos | 18:30 |
| mal | and BOARD_VENDOR_KERNEL_RAMDISK_KERNEL_MODULES_LOAD_EXTRA which might need changes if you remove it from the previous one | 18:30 |
| mal | @b100dian do you want to rebase that maxBuffers droidmedia branch? would just be nicer git history | 18:38 |
| T42 | <b100dian> mal: sure | 18:39 |
| T42 | <b100dian> abrs fault again ;p | 18:41 |
| T42 | <b100dian> mal: done | 18:41 |
| mal | doing some quick regression testing before merging, just testing on some devices which had no issues | 18:50 |
| T42 | <b100dian> appreciated | 18:55 |
| nightishaman | mal: yeah that was it | 19:17 |
| mal | nightishaman: make sure it still ends up in module loading list | 19:21 |
| mal | nightishaman: 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 somehow | 19:55 |
| nightishaman | thanks @adampigg but i think it does the same as the init-debug script from sailfishos | 20:44 |
| T42 | <adampigg> pretty much | 20:45 |
| nightishaman | it still hangs at the second probe of i2c-acpm | 21:21 |
| nightishaman | im gonna try the commandline claude gave me | 21:21 |
| nightishaman | hopefully ftrace finds something | 21:21 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!