You are not logged in.

#1 2016-09-18 14:56:29

ggalt
Member
Registered: 2013-09-02
Posts: 4

[solved] Kernel Parameter Not Loaded By GRUB_CMDLINE_LINUX_DEFAULT

I have an Intel Baytrail processor that suffers from this kernel bug: https://bugzilla.kernel.org/show_bug.cgi?id=109051 and so requires a kernel parameter of "intel_idle.max_cstate=1".  I have edited /etc/default/grub to include the line: GRUB_CMDLINE_LINUX_DEFAULT="quiet intel_idle.max_cstate=1", but when I reboot, I get:

kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=a5ea7f34-a6db-4695-8e2e-f6d8381c273e rw quiet
kernel: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=a5ea7f34-a6db-4695-8e2e-f6d8381c273e rw quiet

I can manually edit the line at boot by pressing 'e' at the grub boot screen, in which case I end up with:

kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=a5ea7f34-a6db-4695-8e2e-f6d8381c273e rw quiet intel_idle.max_cstate=1
kernel: Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=a5ea7f34-a6db-4695-8e2e-f6d8381c273e rw quiet intel_idle.max_cstate=1

The thing that kills me is that I had this working, but accidentally torched the system, and when I reinstalled, this kernel parameter no longer gets loaded.

I'm currently on 4.7.4-1-ARCH x86_64 (as was the system I blew up).

Any thoughts?

George

Last edited by ggalt (2016-09-18 18:29:59)

Offline

#2 2016-09-18 16:12:32

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: [solved] Kernel Parameter Not Loaded By GRUB_CMDLINE_LINUX_DEFAULT

Did you generate a new grub config after editing /etc/default/grub? Do you have any other instances of grub on your system?

Mod note: not a kernel issue, moving to NC.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

#3 2016-09-18 16:16:12

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: [solved] Kernel Parameter Not Loaded By GRUB_CMDLINE_LINUX_DEFAULT

Welcome to the Arch Linux forums.

First, I don't use Grub so I am not an expert -- but -- /etc/default/grub is not processed during boot.  That file is used by grub-mkconfig to produce a new /boot/grub/grub.cfg
https://wiki.archlinux.org/index.php/GR … ation_file

Note that prior to running grub-mkconfig, ensure that the boot partition really is mounted on /boot first (using the mount command)

Edit: morning afternoon WorMzy smile

Last edited by ewaller (2016-09-18 16:17:16)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2016-09-18 18:23:11

ggalt
Member
Registered: 2013-09-02
Posts: 4

Re: [solved] Kernel Parameter Not Loaded By GRUB_CMDLINE_LINUX_DEFAULT

It was an old grub.cfg.  Thanks.  Dumb mistake.

Offline

#5 2016-09-18 18:25:51

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [solved] Kernel Parameter Not Loaded By GRUB_CMDLINE_LINUX_DEFAULT

Please remember to mark your thread as [Solved] by editing your first post and prepending it to the title.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB