Listing Supported Kernel Parameters?

Henry C hc128168 at gmail.com
Mon Dec 31 11:48:58 EST 2018


Thanks.

I just downloaded the source here:
http://vault.centos.org/7.5.1804/os/Source/SPackages/kernel-3.10.0-862.el7.src.rpm

And to my surprise, I don't even see mce as a kernel parameter based on the
command you suggested:
$ grep -r "early_param" . | grep mce
$

So it seems like "early_param" only covers some kernel parameters but not
all.

Thanks for your suggestion tho!


On Mon, Dec 31, 2018 at 10:37 PM Valentin Vidic <Valentin.Vidic at carnet.hr>
wrote:

> On Mon, Dec 31, 2018 at 02:27:35PM +0800, Henry C wrote:
> > I am looking for a command (or alike) to list all the supported kernel
> > parameters based on my current kernel.
> >
> > If such command doesn't exist, it would still be great to see a complete
> > list like this one:
> > https://www.kernel.org/doc/html/v4.15/admin-guide/kernel-parameters.html
> >
> > But I can't find anything (reliable) for v3.10.
>
> Not sure if there is a command for that but you can always grep for
> ^early_param in that version and get something like this:
>
> early_param("debug", debug_kernel);
> early_param("quiet", quiet_kernel);
> early_param("loglevel", loglevel);
> ...
>
> --
> Valentin
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20190101/dbcacfbf/attachment.html>


More information about the Kernelnewbies mailing list