Bug 1061925

Summary: grub2 breaks acpi_osi kernel option with spaces
Product: [Fedora] Fedora Reporter: Cesar Eduardo Barros <cesarb>
Component: grub2Assignee: Peter Jones <pjones>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: bcl, dennis, hdegoede, lkundrak, mads, pjones
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-23 08:15:08 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:

Description Cesar Eduardo Barros 2014-02-05 21:36:28 UTC
Description of problem:

If you attempt to set an acpi_osi option with spaces on the kernel command line, grub2 converts the space character into a "\x20".

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

grub2-2.00-23.fc19.x86_64
kernel-3.12.9-201.fc19.x86_64

How reproducible:

Always.

Steps to Reproduce:
1. Add acpi_osi=\"!Windows 2009\" to GRUB_CMDLINE_LINUX at /etc/default/grub
2. Regenerate grub.cfg
3. Reboot

Actual results:

As can be seen at /proc/cmdline, it has been converted to "acpi_osi=!Windows\x202009". The kernel messages do not show it ignoring _OSI(Windows 2009).

The grub.cfg file shows acpi_osi="!Windows 2009" as expected.

Expected results:

/proc/cmdline should have a space character between "Windows" and "2009". The kernel messages should show it ignoring _OSI(Windows 2009).

Additional info:

This issue is the same as bug 923374, which was for Fedora 18.

Comment 1 Hans de Goede 2014-06-23 08:15:08 UTC

*** This bug has been marked as a duplicate of bug 923374 ***