On 09/02/13 22:11, Rod Smith wrote: > On 09/02/2013 10:31 AM, Laszlo Ersek wrote: >> On 09/02/13 11:21, Laszlo Ersek wrote: >>> On 08/31/13 21:23, Rod Smith wrote: >>> >>>> I've been trying to use the CSM-enabled OVMF with QEMU, with no >>>> luck; > ... >>> Let's stick with Gerd's RPMs from <http://www.kraxel.org/repos/> for >>> now. > > OK. > >> I suspect that you forgot to add the >> >> -L /usr/share/edk2.git/ovmf-x64 >> >> option to qemu's command line, when testing Gerd's package. > > That's gotten me a bit further, but it's still hanging. Instead of > producing a blank display, it now boots to the OVMF EFI user interface > or into an EFI boot loader on the disk. If I boot to the EFI user > interface and use the built-in boot manager to try to launch a legacy > boot loader, though, it hangs, with the following message: > > iPXE (http://ipxe.org) 00:03.0 C980 PCI2.10 PnP PMM+007D4D50+00734D20 C980 > Press Ctrl-B to configure iPXE (PCI 00:03.0)... > > If I include "-net none" among the options, it skips the PXE stuff and > hangs with: > > SeaBIOS (version > 1.7.3-26.b59.g915f64a-20130821_04145-jenkins.xeni.kraxel.org) > > Press F12 for boot menu.
Did you try pressing F12 here? >>> - the qemu command line, > > qemu-system-x86_64 \ > -hda qemu.img \ > -cdrom ISOs/Fedora-19-x86_64-DVD.iso \ > -bios /usr/share/edk2.git/ovmf-x64//OVMF-with-csm.fd \ > -L /usr/share/edk2.git/ovmf-x64/ \ > -display vnc=localhost:0 & > > I've tried variants of this -- different CD-ROM images, using the > CD-ROM as -hdb, adding "-net none", omitting "-display > vnc=localhost:0", etc., all with the same effect. Maybe -enable-kvm would make a difference... >>> - the output produced on qemu's debug console. > There's no output displayed. You need to add -debugcon file:/tmp/test.debug -global isa-debugcon.iobase=0x402 (This is documented in the OVMF README.) I used the same binaries as in my previous email, and they seem to work for me: qemu-img create -f qcow2 test.img 8G qemu-system-x86_64 \ -enable-kvm \ -m 1536 \ -hda test.img \ -cdrom Fedora-Live-XFCE-x86_64-19-Alpha-TC5-1.iso \ -bios /usr/share/edk2.git/ovmf-x64/OVMF-with-csm.fd \ -device cirrus-vga,romfile=/usr/share/edk2.git/ovmf-x64/vgabios-cirrus.bin \ -display vnc=localhost:0 \ -monitor stdio \ -S \ -debugcon file:/tmp/test.debug \ -global isa-debugcon.iobase=0x402 \ -net none I connect with vncviewer, then issue "cont" at the qemu monitor prompt. If I don't press any key, in a few seconds the "Press F12 for boot menu." message is displayed, and soon the Fedora LiveCD boot screen is shown. If I interrupt the boot at the TianoCore splash screen, I can navigate to Boot Manager | Legacy CD ROM | Secondary Master CD ROM. When I press Enter, "Press F12 for boot menu." appears again, soon followed by the Fedora LiveCD boot screen. Maybe it doesn't even hang for you, could it be just crazy slow with TCG? Can you try -enable-kvm? Also, the -debugcon etc. flags should produce some debug output in the file specified, even though extreme verbosity is not enabled in Gerd's build. Laszlo ------------------------------------------------------------------------------ Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel