Bug 1311321 - grub2-efi does not honor serial directive
Summary: grub2-efi does not honor serial directive
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: grub2
Version: 7.2
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Peter Jones
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks: 1420851 1477664 1571842
TreeView+ depends on / blocked
 
Reported: 2016-02-23 23:37 UTC by Alex Williamson
Modified: 2021-06-10 11:10 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-22 15:36:29 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Alex Williamson 2016-02-23 23:37:16 UTC
Description of problem:

I use identical grub configurations for UEFI installs of both RHEL7.2 and Fedora 23:

# cat /etc/default/grub 
GRUB_TIMEOUT=30
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL="console serial"
GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1"
GRUB_CMDLINE_LINUX="intel_iommu=on iommu=pt console=ttyS0,115200n8"
GRUB_DISABLE_RECOVERY="true"
GRUB_DISABLE_OS_PROBER="true"

With fc23 this works as expected, I have grub I/O on both the graphics console and the serial port, with RHEL7.2 I only get output to the graphics console.

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

Fedora:
grub2-efi-2.02-0.25.fc23.x86_64
grub2-tools-2.02-0.25.fc23.x86_64

RHEL7.2:
grub2-efi-2.02-0.34.el7_2.x86_64
grub2-tools-2.02-0.34.el7_2.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Install RHEL7.2 to a UEFI system with standard ttyS0/0x3f8 serial port
2. Attempt to configure grub2 output on both graphics and serial
3.

Actual results:
I/O only on graphics

Expected results:
Mirrored I/O on both outputs

Additional info:
Rebuilding the fc23 src.rpm on RHEL7.2 and installing the resulting rpms resolves the issue.

Comment 4 Peter Jones 2018-06-04 14:20:28 UTC
I *think* this should be fixed in RHEL 7.5 please test it.  If it isn't fixed there, it definitely should be for 7.6.

Comment 5 Alex Williamson 2018-06-14 16:32:10 UTC
Seems to work with grub2-efi-x64-2.02-0.65.el7_4.2.x86_64


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