Re: [Bug report] Kernel 5.7 become unbootable

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Apr 10, 2020 at 04:16:58PM +0800, Like Xu wrote:
> On 2020/4/10 3:12, Mikhail Gavrilov wrote:
> > Hi folks.
> > I use Fedora Rawhide and today's update came with the new kernel
> > 5.7.0-0.rc0.git6.1.
> > As it turned out this kernel won't boot. Instead, I see the black
> > screen and some times see messages:
> > exit_boot() failed!
> > efi_main() failed!
> > 
> > The last working kernel is kernel-core-5.7.0-0.rc0.git2.1
> > 
> > I looked at the spec file and found out that the last bootable kernel
> > was related to the commit cad18da0afb1
> > (https://src.fedoraproject.org/rpms/kernel/c/9949db6070c6ca501d7235760ca8aba120db7448?branch=master),
> > and the first non-bootable kernel related to the commit a10c9c710f9e
> > (https://src.fedoraproject.org/rpms/kernel/c/0561e0bf0e459dd4b27a77670de838128b87bd0e?branch=master)
> > 
> > Of course, knowing these two commits, I made bisecting with the vanilla kernel:
> > 
> > 
> > Can anyone here help me with this issue?
> 
> I encountered the same issue as you:
> 
> exit_boot() failed!
> efi_main() failed!
> 
> and the following patches are very suspicious:
> 
> x86/boot/compressed/64: Use LEA to initialize boot stack pointer
> x86/boot/compressed/64: Use 32-bit (zero-extended) MOV for z_output_len
> x86/boot/compressed/64: Remove .bss/.pgtable from bzImage
> x86/boot/compressed: Remove .eh_frame section from bzImage
> 
> I am not sure if reverting these patches can help you.
> 
> Thanks,
> Like Xu
> 

Please try with the patches at
https://lore.kernel.org/linux-efi/20200409130434.6736-1-ardb@xxxxxxxxxx/

In particular, patches 3 and 4. The first one is a fix for upstream
commit 3ee372ccce4d ("x86/boot/compressed/64: Remove .bss/.pgtable from bzImage")



[Index of Archives]     [Linux ia64]     [Linux Kernel]     [DCCP]     [Linux ARM]     [Yosemite News]     [Linux SCSI]     [Linux Hams]
  Powered by Linux