Bug 1061925 - grub2 breaks acpi_osi kernel option with spaces
Summary: grub2 breaks acpi_osi kernel option with spaces
Keywords:
Status: CLOSED DUPLICATE of bug 923374
Alias: None
Product: Fedora
Classification: Fedora
Component: grub2
Version: 19
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-02-05 21:36 UTC by Cesar Eduardo Barros
Modified: 2014-06-23 08:15 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-06-23 08:15:08 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


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