* Listing Supported Kernel Parameters?
@ 2018-12-31 6:27 Henry C
2018-12-31 14:37 ` Valentin Vidic
0 siblings, 1 reply; 5+ messages in thread
From: Henry C @ 2018-12-31 6:27 UTC (permalink / raw)
To: kernelnewbies
[-- Attachment #1.1: Type: text/plain, Size: 340 bytes --]
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.
[-- Attachment #1.2: Type: text/html, Size: 588 bytes --]
[-- Attachment #2: Type: text/plain, Size: 170 bytes --]
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Listing Supported Kernel Parameters?
2018-12-31 6:27 Listing Supported Kernel Parameters? Henry C
@ 2018-12-31 14:37 ` Valentin Vidic
2018-12-31 16:48 ` Henry C
0 siblings, 1 reply; 5+ messages in thread
From: Valentin Vidic @ 2018-12-31 14:37 UTC (permalink / raw)
To: kernelnewbies
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Listing Supported Kernel Parameters?
2018-12-31 14:37 ` Valentin Vidic
@ 2018-12-31 16:48 ` Henry C
2018-12-31 17:01 ` Valentin Vidic
0 siblings, 1 reply; 5+ messages in thread
From: Henry C @ 2018-12-31 16:48 UTC (permalink / raw)
To: Valentin Vidic; +Cc: kernelnewbies
[-- Attachment #1.1: Type: text/plain, Size: 1332 bytes --]
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@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
>
[-- Attachment #1.2: Type: text/html, Size: 2370 bytes --]
[-- Attachment #2: Type: text/plain, Size: 170 bytes --]
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Listing Supported Kernel Parameters?
2018-12-31 16:48 ` Henry C
@ 2018-12-31 17:01 ` Valentin Vidic
2018-12-31 17:12 ` Henry C
0 siblings, 1 reply; 5+ messages in thread
From: Valentin Vidic @ 2018-12-31 17:01 UTC (permalink / raw)
To: 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.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.
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Listing Supported Kernel Parameters?
2018-12-31 17:01 ` Valentin Vidic
@ 2018-12-31 17:12 ` Henry C
0 siblings, 0 replies; 5+ messages in thread
From: Henry C @ 2018-12-31 17:12 UTC (permalink / raw)
To: Valentin Vidic; +Cc: kernelnewbies
[-- Attachment #1.1: Type: text/plain, Size: 906 bytes --]
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.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.
>
> 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
>
[-- Attachment #1.2: Type: text/html, Size: 1667 bytes --]
[-- Attachment #2: Type: text/plain, Size: 170 bytes --]
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-12-31 17:14 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-12-31 6:27 Listing Supported Kernel Parameters? Henry C
2018-12-31 14:37 ` Valentin Vidic
2018-12-31 16:48 ` Henry C
2018-12-31 17:01 ` Valentin Vidic
2018-12-31 17:12 ` Henry C
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).