<div dir="ltr"><div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div>Disabling secure boot should make your invalid signature error go away.</div></blockquote></div><div><br></div><div>Thanks, Aruna, I managed to launch my kernel after disabling secure boot. Finally, I am able to continue with my tutorial :-)<br></div><div><br></div><div>What kind of changes in the kernel require testing with valid signatures ? <br></div><div><br></div><div>Thanks,</div><div>Gidi<br></div><div><br> </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 24, 2021 at 4:36 AM Aruna Hewapathirane <<a href="mailto:aruna.hewapathirane@gmail.com">aruna.hewapathirane@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Mar 23, 2021 at 12:37 PM Gidi Gal <<a href="mailto:gidi.gal.linux@gmail.com" target="_blank">gidi.gal.linux@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Greetings,</div><div><br></div><div>After receiving a lot of information regarding my query on how to switch from installed to dev kernel (thank you to all the people that shared their knowledge on this subject), I am now facing "invalid signature" error when I reboot with my installed dev kernel. I shared the logs for the build, install and also .config and x509.genkey in the following <a href="https://drive.google.com/drive/folders/1mVUzrF_5MM4H1x0bLacprvkrXaKtFm6V?usp=sharing" target="_blank">link</a>.</div><div>Please let me know what additional information can help to solve this issue.</div><div><br></div><div>I am following the instructions in <a href="https://kernelnewbies.org/FirstKernelPatch" target="_blank">https://kernelnewbies.org/FirstKernelPatch <br></a></div><div>and I am at the step where I am supposed to verify that a printout was added to the log after I reboot my dev kernel.<br></div><div><br></div><div>Thanks,</div><div>Gidi</div></div></blockquote><div><br></div><div>Gidi,</div><div><br></div><div>From your build.log I see you compiled that kernel 6 times: <br>Kernel: arch/x86/boot/bzImage is ready (#6)<br></div><div><br></div><div>And the install log tells me:</div><div>Sourcing file `/etc/default/grub'<br>Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'<br>Sourcing file `/etc/default/grub.d/init-select.cfg'<br></div><div><br></div><div>I am curious are you using linux mint or Debian ? <br></div><br><div>I also see:</div><div>CC drivers/cpufreq/cpufreq_ondemand.o<br>drivers/cpufreq/cpufreq_ondemand.c: In function ‘od_set_powersave_bias’:<br>drivers/cpufreq/cpufreq_ondemand.c:446:1: warning: the frame size of 1032 bytes is larger than 1024 bytes [-Wframe-larger-than=]<br> 446 | }<br> | ^</div><div>This is what causes the compile time errors with possible missing firmware :-)<br></div><div><br></div><div>and all the kernels you have you can boot into by selecting 'Advanced options' in the grub menu then <br></div><div>choosing the kernel you wish to use.</div><div><br></div><div>Sourcing file `/etc/default/grub'<br>Sourcing file `/etc/default/grub.d/50_linuxmint.cfg'<br>Sourcing file `/etc/default/grub.d/init-select.cfg'<br>Generating grub configuration file ...<br>Found linux image: /boot/vmlinuz-5.12.0-rc3-GIDI-DEV+<br>Found initrd image: /boot/initrd.img-5.12.0-rc3-GIDI-DEV+<br>Found linux image: /boot/vmlinuz-5.12.0-rc3-GIDI-DEV+.old<br>Found initrd image: /boot/initrd.img-5.12.0-rc3-GIDI-DEV+<br>Found linux image: /boot/vmlinuz-5.4.0-64-generic<br>Found initrd image: /boot/initrd.img-5.4.0-64-generic<br>Found linux image: /boot/vmlinuz-5.4.0-58-generic<br>Found initrd image: /boot/initrd.img-5.4.0-58-generic<br>Adding boot menu entry for UEFI Firmware Settings</div><div><br></div><div>Disabling secure boot should make your invalid signature error go away.</div><div><br></div><div>Hope this helps - Aruna<br></div><div><br></div></div></div>
</blockquote></div>