kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Kernel Debugging using Qemu
@ 2015-08-15  2:17 Aruna Hewapathirane
  2015-08-15  4:40 ` Saket Sinha
  0 siblings, 1 reply; 3+ messages in thread
From: Aruna Hewapathirane @ 2015-08-15  2:17 UTC (permalink / raw)
  To: kernelnewbies

Hi,

If anyone uses Qemu can someone please show me how to get started ?

I tried :

sudo qemu-system-x86_64 -s -S -kernel arch/x86/boot/bzImage -initrd
/boot/initrd.img-4.1.2-vtaqemu+ /dev/zero

And it does allow me to access through gdb using target remote
localhost:1234 but when I set a breakpoint in kernel_start and
continue it hangs and tells me /bin/sh: can't access tty; job control
turned off ?

I am runing a Debian 4.1.2 custom kernel. I have enabled Intel
virtulization in the bios. And menuconfig have setup virtualization.

After many tries have finally managed to get this far but now I can
use all the help I can get.

And and all suggestions, guidance, *pointers are most welcome.

Thanks - Aruna

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-08-16  4:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-15  2:17 Kernel Debugging using Qemu Aruna Hewapathirane
2015-08-15  4:40 ` Saket Sinha
2015-08-16  4:19   ` Aruna Hewapathirane

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).