Bug 894451 - boot hangs without console connected
Summary: boot hangs without console connected
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: qemu
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fedora Virtualization Maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-11 19:15 UTC by Brian Lane
Modified: 2013-02-27 14:34 UTC (History)
11 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-02-27 14:34:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
test script to reproduce problem (594 bytes, text/plain)
2013-01-11 19:16 UTC, Brian Lane
no flags Details

Description Brian Lane 2013-01-11 19:15:28 UTC
Description of problem:
When running virt-install using a serial console it will not start to boot unless the console has been connected. And, if you wait around 15 seconds before connecting the console you need to hit a key before the kernel will start to boot.


Version-Release number of selected component (if applicable):
python-virtinst-0.600.3-2.fc18.noarch

How reproducible:
Always

Steps to Reproduce:
Test script attached

cmdline is:

virt-install -n console-test -r 1024 --noreboot --noautoconsole --graphics none \
--disk path=$ISO,device=cdrom \
--extra-args "stage2=live:CDLABEL=Fedora\x2018\x20x86_64 console=tty0 console=ttyS0,115200n8" \
--location $ISOMOUNT

Comment 1 Brian Lane 2013-01-11 19:16:29 UTC
Created attachment 677055 [details]
test script to reproduce problem

Comment 2 Cole Robinson 2013-01-14 19:43:31 UTC
Thanks for the report Brian, I can reproduce.

Amit, this is what the flow control patches are supposed to fix, right? Patches my need tweaking for 1.2 (or I screwed up the backport).

Comment 3 Amit Shah 2013-01-24 10:37:24 UTC
Can you fetch the qemu command line generated by the virt-install command?  I'm not sure where to look, Cole, you can help perhaps.

Comment 4 Amit Shah 2013-01-25 04:10:11 UTC
I think this is fixed upstream by b37a2e4576530597dda880387e3f4da52c42b5b5

Comment 5 Cole Robinson 2013-01-25 23:38:22 UTC
(In reply to comment #3)
> Can you fetch the qemu command line generated by the virt-install command? 
> I'm not sure where to look, Cole, you can help perhaps.

For reference, libvirt sticks qemu command line (and not much else) in /var/log/libvirt/qemu/<name>.log

Though I can reproduce with a hacked ISO I have that adds console=ttyS0:

qemu-kvm -cdrom boot_with_serial.iso -serial pty


(In reply to comment #4)
> I think this is fixed upstream by b37a2e4576530597dda880387e3f4da52c42b5b5

Yep, that fixes things for me. Thanks Amit!

bcl, I'll push a build early next week.

Comment 6 Fedora Update System 2013-02-02 22:33:11 UTC
qemu-1.2.2-6.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/qemu-1.2.2-6.fc18

Comment 7 Fedora Update System 2013-02-12 04:58:04 UTC
qemu-1.2.2-6.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


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