Bug 506616

Summary: EASYFIX [qemu netboot] Eliminate 3 second delay on PXE boot
Product: [Fedora] Fedora Reporter: Warren Togami <wtogami>
Component: etherbootAssignee: Eduardo Habkost <ehabkost>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dwmw2, ehabkost, gcosta, itamar, jaswinder, markmc, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 5.4.4-16.fc11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-09-03 12:16:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 480594    

Description Warren Togami 2009-06-18 00:08:18 UTC
Currently if you ask qemu-kvm to netboot, it always delays 3 seconds, unnecessarily asking if you really want to netboot.  This 3 second delay can be eliminated by generating a new Etherboot zrom with the delay configured to a negative value.

http://rom-o-matic.net/etherboot/etherboot-5.4.4/contrib/rom-o-matic/build.php?version=5.4.4&F=&arch=i386&nic=rtl8139%3Artl8139+--+[0x10ec%2C0x8139]&ofmt=Binary+ROM+Image%28.zrom%29&A=Configure

ASK_BOOT=-1 (defaults to 3)

This will generate a new .zrom to replace:
/usr/share/etherboot/rtl8139.zrom

Comment 1 Mark McLoughlin 2009-06-19 16:46:01 UTC
Okay, pushing to updates-testing - please test and update bodhi

* Fri Jun 19 2009 Mark McLoughlin <markmc> - 5.4.4-15
- Disable ASK_BOOT (bug #506616)

Comment 2 Fedora Update System 2009-06-19 16:46:35 UTC
etherboot-5.4.4-15.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/etherboot-5.4.4-15.fc11

Comment 3 Fedora Update System 2009-06-24 19:21:57 UTC
etherboot-5.4.4-15.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update etherboot'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-6863

Comment 4 Fedora Update System 2009-06-27 02:58:31 UTC
etherboot-5.4.4-16.fc11 has been pushed to the Fedora 11 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update etherboot'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-7024

Comment 5 Fedora Update System 2009-07-02 05:41:53 UTC
etherboot-5.4.4-16.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Warren Togami 2009-08-31 19:54:40 UTC
The F-12 qemu with gPXE seems to have regressed and added two or three separate delays during netboot.

+ qemu-kvm -hda /dev/null -boot n -m 256 -net nic,model=rtl8139 -net tap,script=/usr/sbin/examplebridge-ifup

gPXE (http://etherboot.org) - 00:00.0 C900 PCI2.10 INT19 C900
Press CTRL-B to configure gPXE (PCI 00:00.0)...

*** delay of ~3 seconds ***

Press F12 for boot menu

*** delay of ~2 seconds ***

Press N to skip booting from gPXE (PCI 00:00.1)...

*** delay of ~3 seconds ***

The last prompt, if you press N it seems to skip the delay but it goes ahead and boots via gPXE anyway.  This prompt seems to be both incorrect and also with no purpose.

In these cases, you have requested -boot n so why is it second guessing the user with delays?

Comment 7 Mark McLoughlin 2009-09-03 12:16:18 UTC
Warren, please file a new F-12 bug. Thanks