Listing Supported Kernel Parameters?
Hi, 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. Thanks.
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
Thanks. I just downloaded the source here: http://vault.centos.org/7.5.1804/os/Source/SPackages/kernel-3.10.0-862.el7.s... 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@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@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
On Tue, Jan 01, 2019 at 12:48:58AM +0800, Henry C wrote:
I just downloaded the source here: http://vault.centos.org/7.5.1804/os/Source/SPackages/kernel-3.10.0-862.el7.s...
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.
Indeed, mce param seems to be defined using __setup: __setup("mce", mcheck_enable); __setup("nomce", mcheck_disable); -- Valentin
Thanks for your direction! Found what I want! Appreicate! On Tue, Jan 1, 2019 at 1:01 AM Valentin Vidic <Valentin.Vidic@carnet.hr> wrote:
On Tue, Jan 01, 2019 at 12:48:58AM +0800, Henry C wrote:
I just downloaded the source here:
http://vault.centos.org/7.5.1804/os/Source/SPackages/kernel-3.10.0-862.el7.s...
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.
Indeed, mce param seems to be defined using __setup:
__setup("mce", mcheck_enable); __setup("nomce", mcheck_disable);
-- Valentin
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
participants (2)
-
Henry C -
Valentin Vidic