Kernel Newbies archive on lore.kernel.org
 help / Atom feed
* 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 --]

<div dir="ltr"><div dir="ltr">Hi,<div><br></div><div>I am looking for a command (or alike) to list all the supported kernel parameters based on my current kernel.</div><div><br></div><div>If such command doesn&#39;t exist, it would still be great to see a complete list like this one:</div><div><a href="https://www.kernel.org/doc/html/v4.15/admin-guide/kernel-parameters.html">https://www.kernel.org/doc/html/v4.15/admin-guide/kernel-parameters.html</a><br></div><div><br></div><div>But I can&#39;t find anything (reliable) for v3.10.</div><div><br></div><div>Thanks.</div></div></div>

[-- 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 --]

<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Thanks.<div><br></div><div>I just downloaded the source here:</div><div><a href="http://vault.centos.org/7.5.1804/os/Source/SPackages/kernel-3.10.0-862.el7.src.rpm">http://vault.centos.org/7.5.1804/os/Source/SPackages/kernel-3.10.0-862.el7.src.rpm</a><br></div><div><br></div><div>And to my surprise, I don&#39;t even see mce as a kernel parameter based on the command you suggested:</div><div>$ grep -r &quot;early_param&quot; . | grep mce<br></div><div>$</div><div><br></div><div>So it seems like &quot;early_param&quot; only covers some kernel parameters but not all.</div><div><br></div><div>Thanks for your suggestion tho!</div><div><br></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Dec 31, 2018 at 10:37 PM Valentin Vidic &lt;<a href="mailto:Valentin.Vidic@carnet.hr">Valentin.Vidic@carnet.hr</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, Dec 31, 2018 at 02:27:35PM +0800, Henry C wrote:<br>
&gt; I am looking for a command (or alike) to list all the supported kernel<br>
&gt; parameters based on my current kernel.<br>
&gt; <br>
&gt; If such command doesn&#39;t exist, it would still be great to see a complete<br>
&gt; list like this one:<br>
&gt; <a href="https://www.kernel.org/doc/html/v4.15/admin-guide/kernel-parameters.html" rel="noreferrer" target="_blank">https://www.kernel.org/doc/html/v4.15/admin-guide/kernel-parameters.html</a><br>
&gt; <br>
&gt; But I can&#39;t find anything (reliable) for v3.10.<br>
<br>
Not sure if there is a command for that but you can always grep for<br>
^early_param in that version and get something like this:<br>
<br>
early_param(&quot;debug&quot;, debug_kernel);<br>
early_param(&quot;quiet&quot;, quiet_kernel);<br>
early_param(&quot;loglevel&quot;, loglevel);<br>
...<br>
<br>
-- <br>
Valentin<br>
<br>
_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank">Kernelnewbies@kernelnewbies.org</a><br>
<a href="https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" rel="noreferrer" target="_blank">https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
</blockquote></div>

[-- 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 --]

<div dir="ltr">Thanks for your direction!<div><br></div><div>Found what I want!</div><div><br></div><div>Appreicate!</div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Jan 1, 2019 at 1:01 AM Valentin Vidic &lt;<a href="mailto:Valentin.Vidic@carnet.hr">Valentin.Vidic@carnet.hr</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Tue, Jan 01, 2019 at 12:48:58AM +0800, Henry C wrote:<br>
&gt; I just downloaded the source here:<br>
&gt; <a href="http://vault.centos.org/7.5.1804/os/Source/SPackages/kernel-3.10.0-862.el7.src.rpm" rel="noreferrer" target="_blank">http://vault.centos.org/7.5.1804/os/Source/SPackages/kernel-3.10.0-862.el7.src.rpm</a><br>
&gt; <br>
&gt; And to my surprise, I don&#39;t even see mce as a kernel parameter based on the<br>
&gt; command you suggested:<br>
&gt; $ grep -r &quot;early_param&quot; . | grep mce<br>
&gt; $<br>
&gt; <br>
&gt; So it seems like &quot;early_param&quot; only covers some kernel parameters but not all.<br>
<br>
Indeed, mce param seems to be defined using __setup:<br>
<br>
__setup(&quot;mce&quot;, mcheck_enable);<br>
__setup(&quot;nomce&quot;, mcheck_disable);<br>
<br>
-- <br>
Valentin<br>
<br>
_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org" target="_blank">Kernelnewbies@kernelnewbies.org</a><br>
<a href="https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" rel="noreferrer" target="_blank">https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
</blockquote></div>

[-- 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, back to index

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

Kernel Newbies archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/kernelnewbies/0 kernelnewbies/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kernelnewbies kernelnewbies/ https://lore.kernel.org/kernelnewbies \
		kernelnewbies@kernelnewbies.org kernelnewbies@archiver.kernel.org
	public-inbox-index kernelnewbies


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernelnewbies.kernelnewbies


AGPL code for this site: git clone https://public-inbox.org/ public-inbox