Debug early kernel stages

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

 



Hi all,
I'm trying to debug/trace early stages of kernel boot on x86 (just for fun and learning). I mean very first stages when CPU is still in real-mode. Since tools like printk/kdb/kgdb are not available at this early stages, the best solution I found is using the debug program freedos with freedos/loadlin. I wonder if somebody have ever used this method and can give me some suggestions (for example how to fix breakpoints or what happens when switching to protected mode) or can suggest me some alternative methods (maybe gdb+kexec?).

Thank you very much.
Luke


--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux