tech-kern archive

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

Re: debugging a kernel that doesn't start



On Mon, Sep 12, 2022 at 10:56:46PM +0200, Edgar Fuß wrote:
> Probably stupid question: I can switch the machine to UEFI. Is it easier 
> to debug things from there that from a BIOS boot?

My experience on a mac is that it helps a lot. You can printf() during
early boot, until you call UEFI's ExitBootServices. Removing that call
may cause a crash at some time, but it will let you printf() a bit 
further.

-- 
Emmanuel Dreyfus
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index