| nightishaman | i got a log | 00:00 |
|---|---|---|
| nightishaman | https://pastebin.com/RaYhes7B | 00:07 |
| nightishaman | to me it looks like a normal reboot | 00:08 |
| nightishaman | so i dont get why it hangs | 00:08 |
| mal | that looks like bootloader log based on the last message | 00:15 |
| nightishaman | the first lines are actually my kernel, checkout the version and before the reboot, it says SKIP exynos | 00:15 |
| nightishaman | thats from my script | 00:15 |
| nightishaman | i put in another log message, lets try it again | 00:16 |
| nightishaman | hmm, the logs again show that it rebooted, this time with my additional messages, it suggests the 50 modules loaded fine and it rebooted, but for some reason, it sometimes doesnt reboot but stall | 00:35 |
| nightishaman | mal: we got a kernel panic | 00:41 |
| nightishaman | so apparently the modules load fine and there is some bug in the reboot chain, but now we got a kernel panic, more specifically an Oops | 00:44 |
| nightishaman | https://pastebin.com/NmpwgQ1d | 00:47 |
| nightishaman | https://github.com/LineageOS/android_kernel_google_gs-6.1_google-modules/blob/5f45eed2e0b4c8bd4755e99b2ca902638be2b9fc/soc/gs/drivers/soc/google/pkvm-s2mpu/common/pkvm_s2mpu.c#L423 this fails | 01:26 |
| nightishaman | causing this to jump into random memory: https://github.com/LineageOS/android_kernel_google_gs-6.1_google-modules/blob/5f45eed2e0b4c8bd4755e99b2ca902638be2b9fc/soc/gs/drivers/phy/samsung/phy-exynos-usbdrd.c#L2022C2-L2022C16 | 01:27 |
| nightishaman | also on line 383 of my last kernel log, it fails to load exynos-pd as a pKVM module | 01:28 |
| nightishaman | it expects it at /lib/modules | 01:28 |
| nightishaman | The weird thing is it fails to load exynos-pd with error 11 which is EAGAIN | 01:42 |
| nightishaman | So my probable guess is that it has to do with the failed pKVM load, that the modules have to be loaded early | 01:57 |
| nightishaman | okay, the google vendor_kernel_boot is actually flattened to /lib/modules, so why isnt mine | 02:09 |
| nightishaman | I gotta test tomorrow whether building LineageOS vendor_kernel_boot produces the non-flattened tree, because Google's vendor_kernel_boot is flattened at /lib/modules and the one I can download from the LineageOS website is also flattened | 02:30 |
| nightishaman | mal: Would it be easier to find out how it gets flattened later or add a step to hybris-boot to take modules.load from out/pantah/dist and create our own vendor_kernel_boot? | 02:43 |
| nightishaman | because the issue is definitely stemming from the different file tree | 02:45 |
| T42 | <adampigg> Nightishaman: maybe helps? https://github.com/HelloVolla/kernel-adaptation-halium-mimir/blob/main/kernel-adaptation-simplified/mkvendorboot.sh | 09:32 |
| T42 | <adampigg> With these halium based builds, we make a vendor-boot with flattened modules | 09:33 |
| *** Nokius6 is now known as Nokius | 15:26 | |
| rinigus | b100dian: harbour-lpac requires pcsc. do we need that? it does compile without and runs without as well | 16:14 |
| T42 | <b100dian> rinigus: I have some pcsc packages (-lite, -ccid) from chum installed. | 18:09 |
| T42 | <b100dian> Pretty sure I didnt manually install them | 18:10 |
| rinigus | b100dian: right, some are there. I'll try to add lpac to chum | 18:28 |
| nightishaman | okay, im downloading full lineageos to compile the kernel and check whether it flattens the lib modules or not | 19:06 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!