Howto debug boot device not showing up in bios
Can somebody give me some pointers on what the best way to debug the boot process in Qemu and seabios? Seabios reports that no boot device is present even though I'm passing it the hda commandline argument.
What I'm looking for in particular is what Qemu does to map the path to a device and how it passes this on to seabios. Any information on debug switches, general description of the process would be extremely helpful.
AK
Hi....
Quoted 2 lines · Adnan Khaleel
Can somebody give me some pointers on what the best way to debug the boot process in Qemu and seabios?
At first, I guess "-s" a.k.a qemu gdb stub of Qemu could help you...but uhm, on a second thought, I think it is the qemu itself that you need to run under Qemu...
regarding seabios code, i have no idea how to debug that... is it a binary blob only?
Signature · 7 lines
regards, Mulyadi Santosa Freelance Linux trainer and consultant blog: the-hydra.blogspot.com training: mulyaditraining.blogspot.com
I meant what is the best way to debug the qemu and seabios interaction, I don't necessarily want to inspect instructions but rather just the function calls and trace the process so I can compare it for another case that isn't working.
AK
_____
From: Mulyadi Santosa [mailto:[email protected]]
To: [email protected]
Cc: [email protected]
Sent: Tue, 10 May 2011 01:49:31 -0500
Subject: Re: [Qemu-devel] Howto debug boot device not showing up in bios
Hi....
Quoted 2 lines · Adnan Khaleel
Can somebody give me some pointers on what the best way to debug the boot process in Qemu and seabios?
At first, I guess "-s" a.k.a qemu gdb stub of Qemu could help you...but uhm, on a second thought, I think it is the qemu itself that you need to run under Qemu...
regarding seabios code, i have no idea how to debug that... is it a binary blob only?
--
regards,
Mulyadi Santosa
Freelance Linux trainer and consultant
blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com