Re: Early boot debigging

Guoqing Liu <[email protected]> Sat, 29 Nov 2014 16:35:25 +0800
Newsgroups org.kernel.vger.linux-newbie
Message-ID <CAMLw+SH6owptQOMjbd35Jr2w36PB-T3ZFj8kz=ra72=9V6fyeg@mail.gmail.com>
Hi  Alexander
  I think  you can try qemu, I think it's better.

good luck.

On Sat, Nov 29, 2014 at 2:41 PM, Alexander Kuleshov
<[email protected]> wrote:
> Hello all,
>
> How can i debug early kernel booting, even before early_printk
> (x86_64). I'm interesting in part which starts to execute right after
> bootloader (https://github.com/torvalds/linux/blob/master/arch/x86/boot/header.S#L297).
> How to do it better? Write grub and vmlinuz to disk with
> losetup/grub-install and connect with gdb, or there is something
> another way to do it?
>
> Thank you.
> --
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to [email protected]
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.linux-learn.org/faqs



-- 
good life
--
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs