Bug 494469 - qemu-kvm fails to boot gPXE ROMs
Summary: qemu-kvm fails to boot gPXE ROMs
Keywords:
Status: CLOSED DUPLICATE of bug 512358
Alias: None
Product: Fedora
Classification: Fedora
Component: qemu
Version: 11
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Glauber Costa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F11VirtTarget
TreeView+ depends on / blocked
 
Reported: 2009-04-07 02:37 UTC by Glauber Costa
Modified: 2009-08-07 14:34 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-08-07 14:34:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
magic patch to fix this issue. (1.65 KB, patch)
2009-04-08 03:25 UTC, Glauber Costa
no flags Details | Diff

Description Glauber Costa 2009-04-07 02:37:36 UTC
Description of problem:

Fedora QEMU Maintainer, AKA glommer, spent 3 whole days trying to make gpxe roms boot under kvm. They boot fine under qemu. They simply stall after gpxe menu.

After a lot of investigation, glommer discovered that the problem is the rom sits in a loop waiting for address 0x46c to change its value. This address is updated by the BIOS timer interrupt, which is not ticking.

Further investigation showed that receiving an interrupt seem to block further interrupts from happening correctly. It might be related to acking of interrupts of any kind. This seem to only happen in real mode.

It's not clear whether any interrupt will cause this behaviour.

Version-Release number of selected component (if applicable):
tip.

How reproducible:
Always

Steps to Reproduce:
1. Try to boot a gpxe option rom under kvm
2. cry.
3. There's no number 3.
  
Actual results:
glommer does not find the bug.

Expected results:
someone fixes it, and everyone gets happy.


Additional info:

Comment 1 Mark McLoughlin 2009-04-07 16:10:40 UTC
For reference, the original gPXE request was bug #457979

Comment 2 Glauber Costa 2009-04-07 23:52:43 UTC
New information on this: It seems to happen only on vmx boxes.

temporary solution is to buy from amd ;-)

Comment 3 Glauber Costa 2009-04-08 03:25:47 UTC
Created attachment 338650 [details]
magic patch to fix this issue.

Comment 4 Glauber Costa 2009-04-08 03:26:58 UTC
I just sent the attached patch upstream. It turns out to be a kernel problem.
We have to make sure this is included in F11 kernel, otherwise no one (but me! hehe) will be able to boot gpxe roms in intel machines.

Let us hope it goes smoothly and naturally during kernel rebases.

Comment 5 Mark McLoughlin 2009-04-09 14:34:01 UTC
Glauber has posted a couple more revisions of this patch, the latest is here:

  http://www.mail-archive.com/kvm@vger.kernel.org/msg12736.html

Comment 6 Fedora Admin XMLRPC Client 2009-05-07 12:12:31 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 7 Fedora Admin XMLRPC Client 2009-05-07 12:13:34 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 8 Fedora Admin XMLRPC Client 2009-05-07 12:14:02 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 9 Fedora Admin XMLRPC Client 2009-05-07 17:58:23 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 10 Bug Zapper 2009-06-09 13:23:02 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 11 Mark McLoughlin 2009-08-07 14:34:57 UTC
Okay, bug #512358 tracks this issue better and has a backport of the fix to the F-11 kernel

*** This bug has been marked as a duplicate of bug 512358 ***


Note You need to log in before you can comment on or make changes to this bug.