I'm CC'ing the seabios mailing list.
On Tue, May 10, 2011 at 04:32:29PM -0500, Adnan Khaleel wrote:
I'm using a modified version of Qemu that adds some additional functionality to the chipset being emulated and now I can't seem to boot from the hard disk since the bios is reporting that no boot devices are available.
Would you give me some pointers on what I have to do to enable debugging on Seabios and Qemu so that I can see whats happening? I've changed the debug level to 8 in the seabios config but nothing seems to be printed on the terminal.
Sounds like you need the debug output routed to stdio:
qemu ... -chardev stdio,id=seabios -device isa-debugcon,iobase=0x402,chardev=seabios
Hi there, I'm trying to debug a fail where a disk partition fails to show up in Qemu thats using seabios.
The MBR shows up and I'm presented with a boot menu and when selected, linux under qemu does some initialization but then the partition never shows up under Qemu and I get a message saying
"Waiting for device /dev/disk/by-uuid/XXXXX ...... Could not find /dev/disk/by-uuid/XXXXX Want me to fail back to /dev/disk/by-id/YYYYY"
I'm attaching a bios log of the boot up. I can't make out too much so I wanted to share this with the Seabios developers to see if they could spot something unusual. I did however notice one debug print message
ahci disk read, lba 8c30d6, count 3f, buf 0x00070000, rc 0 invalid handle_legacy_disk:841:
And I was wondering if that could be a telltale sign of the failure. In any case, any help would be appreciated. Also, I must add that I'm using a modified version of Qemu that has a Q35 chipset model thats been developed by Isaku Yamahata and also utilises an AHCI device model.