Bug 1097999

Summary: virtio-console modules should be included in 90qemu module
Product: Red Hat Enterprise Linux 7 Reporter: Kazuo Moriwaka <kmoriwak>
Component: dracutAssignee: dracut-maint
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: low Docs Contact:
Priority: unspecified    
Version: 7.0CC: agruenba, dracut-maint-list, harald, jstodola, kmoriwak, mbanas, pholica
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-05 08:20:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
hvc_error.png none

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