RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1097999 - virtio-console modules should be included in 90qemu module
Summary: virtio-console modules should be included in 90qemu module
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: dracut
Version: 7.0
Hardware: Unspecified
OS: Linux
unspecified
low
Target Milestone: rc
: ---
Assignee: dracut-maint
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-05-15 04:21 UTC by Kazuo Moriwaka
Modified: 2015-03-05 08:20 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: The initramfs does not contain the virtio-console kernel module. Consequence: Specifying "console=hvc0" on the kernel command line hangs the system in the initramfs. Fix: The initramfs now contains the virtio-console kernel module. Result: The system boots up just fine.
Clone Of:
Environment:
Last Closed: 2015-03-05 08:20:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
hvc_error.png (3.90 KB, image/png)
2014-12-15 13:16 UTC, Pavel Holica
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0375 0 normal SHIPPED_LIVE dracut bug fix and enhancement update 2015-03-05 12:50:34 UTC

Description Kazuo Moriwaka 2014-05-15 04:21:52 UTC
Description of problem:

default dracut image doesn't contain virtio-console, it causes hang when end user just setting console=hvc0 to kernel command line. 
This hang is caused by missing of virtio-console module. 


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

RHEL 7.0rc
dracut 0.33 160.el7

How reproducible:

always

Steps to Reproduce:
1. create kvm vm with virtio-serial console 
2. append "console=hvc0" to /etc/default/grub 's kernel option && grub2-mkconfig
3. reboot

Actual results:

kernel hangs with fail of initialize console

Expected results:

boot with serial console

Additional info:

Comment 3 Pavel Holica 2014-12-15 13:16:46 UTC
Created attachment 968977 [details]
hvc_error.png

Hello,
I'm trying to reproduce this bug. I've installed RHEL-7.0 GA and put console=tty0 console=hvc0 on kernel command line, but I'm not sure if I reproduced the issue. I only see attached screenshot.
Is this the issue you were hitting? Thanks.

Comment 4 Kazuo Moriwaka 2014-12-29 15:57:36 UTC
I'm sorry for my first report doesn't contain messages.
I forget details, now. I think I didn't set "console=tty0"

Thanks.

Comment 5 Jan Stodola 2015-01-08 12:24:40 UTC
virtio_console is present in 90qemu/module-setup.sh
virtio_console.ko is present in initramfs
virtio_console is loaded by dracut (hvc0 console is usable in dracut and on booted system)

Tested with dracut-033-227.el7.

Moving to VERIFIED.

Comment 11 errata-xmlrpc 2015-03-05 08:20:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0375.html


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