Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1099462

Summary: /dev/console doesn't ouput to ttyS0
Product: Red Hat Enterprise Linux 6 Reporter: Chris Pelland <cpelland>
Component: guest-imagesAssignee: Joey Boggs <jboggs>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 6.5CC: cpelland, dgregor, fdinitto, jboggs, jgreguske, jhenner, leiwang, pm-eus, wshi, yuliu
Target Milestone: rcKeywords: Regression, ZStream
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: rhel-guest-image-6.5-20140613.0.el6_5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-23 07:37:11 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: 1075125    
Bug Blocks:    

Description Chris Pelland 2014-05-20 11:37:26 UTC
This bug has been copied from bug #1075125 and has been proposed
to be backported to 6.5 z-stream (EUS).

Comment 5 yuliu 2014-05-21 06:16:50 UTC
Version:
rhel-guest-image-6.5-20140520.0.x86_64.qcow2
 
Steps:
[root@localhost ~]# echo dsasdfa >/dev/console
dsasdfa
[root@localhost ~]# echo adfafadfaf >/dev/ttyS0
adfafadfaf
[root@localhost ~]# 

#cat /etc/grub.conf |grep kernel

kernel /boot/vmlinuz-2.6.32-431.20.2.el6.x86_64 ro root=UUID=7dbf1feb-af43-48a3-93a8-9f8cc7707731 rd_NO_LUKS console=tty0 console=ttyS0,115200n8 LANG=en_US.UTF-8 rd_NO_MD SYSFONT=latarcyrheb-sun16 crashkernel=auto  KEYBOARDTYPE=pc KEYTABLE=us rd_NO_LVM rd_NO_DM rhgb quiet

Result: ttyS0 set correctly and /dev/console output to /dev/ttyS0.

Comment 6 Joey Boggs 2014-05-23 15:26:39 UTC
*** Bug 1100630 has been marked as a duplicate of this bug. ***

Comment 7 Wei Shi 2014-05-26 01:18:39 UTC
The fix to this bug has cause another issue to the RHEL-based virtual machine,
https://bugzilla.redhat.com/show_bug.cgi?id=1100630, user could not login to the vm through console.

Comment 8 yuliu 2014-05-26 11:10:27 UTC
Version:
rhel-guest-image-6.5-20140523.0.x86_64.qcow2

Problem did not happen on this build.
Red Hat Enterprise Linux Server release 6.5 (Santiago)
Kernel 2.6.32-431.20.2.el6.x86_64 on an x86_64

dhcp-9-250.nay.redhat.com login: 
Red Hat Enterprise Linux Server release 6.5 (Santiago)
Kernel 2.6.32-431.20.2.el6.x86_64 on an x86_64

dhcp-9-250.nay.redhat.com login: root
Last login: Mon May 26 06:07:21 on ttyS0
[root@dhcp-9-250 ~]# 
[root@dhcp-9-250 ~]# 
[root@dhcp-9-250 ~]# 
[root@dhcp-9-250 ~]# 

@Joey, would you please change this bug's status to ON_QA please, since you added it to Errata and fixed in this build.
And also correct the version in "Fixed In Version:".

Comment 9 yuliu 2014-05-27 00:47:01 UTC
Verified as comment8.

Comment 10 yuliu 2014-06-16 02:39:10 UTC
Version:
rhel-guest-image-6.5-20140613.0.x86_64.qcow2

Red Hat Enterprise Linux Server release 6.5 (Santiago)
Kernel 2.6.32-431.17.1.el6.x86_64 on an x86_64

localhost.localdomain.localdomain login: root
Last login: Sun Jun 15 22:22:06 on ttyS0
[root@localhost ~]# 
[root@localhost ~]# 
[root@localhost ~]# 
[root@localhost ~]# 
[root@localhost ~]# echo sadfa >/dev/ttyS0
sadfa
[root@localhost ~]# echo asdfaf >/dev/console 
asdfaf
[root@localhost ~]# 

Problem didn't happen on this build.

Comment 12 errata-xmlrpc 2014-06-23 07:37:11 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.

http://rhn.redhat.com/errata/RHBA-2014-0782.html