From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CE890C43387 for ; Mon, 31 Dec 2018 16:49:37 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 71814213A2 for ; Mon, 31 Dec 2018 16:49:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="S1wn5Hb1" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 71814213A2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.91) (envelope-from ) id 1ge0kc-0007my-0L; Mon, 31 Dec 2018 11:49:14 -0500 Received: from mail-ed1-x535.google.com ([2a00:1450:4864:20::535]) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1ge0kZ-0007mp-LF for kernelnewbies@kernelnewbies.org; Mon, 31 Dec 2018 11:49:11 -0500 Received: by mail-ed1-x535.google.com with SMTP id h15so22897989edb.4 for ; Mon, 31 Dec 2018 08:49:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QFSi8LTwLV/UMYGKlwSUUYWjWNrKu0ahlyZ3OJ4yKJs=; b=S1wn5Hb1oK5qbizlsUdBjZA2zbalUZASIaXHiyse9HNxvktTw8Ggs2FTV/1vcuGLPG a/8hm7qqsxBbYuj9X84SIBBxxA4WJrP6t9/PumDW+i5rGPescvQvGDxEpdiTxACq8aSC 7E3cr2pTSaAFZ2CAqgxY2XC4HOInQnmksG/U0tIvIZoHjwxPoqQX9ntXdM/jLOl+Qf2s aK49OmzUeszfYYLplXiMORWZMa5kW1rQLwmoYAGC6HB4vwFQ3inPb9JR7CpnjYKQhZgQ jW56XpVhsl4mLbtZKZVYQG9ZLt//RilwMRIqzAtsXQmrABb5ZCgDinfrijf9lgusUxtF K1Pw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QFSi8LTwLV/UMYGKlwSUUYWjWNrKu0ahlyZ3OJ4yKJs=; b=rG/Ukef0+LT9Cnsx9yXLOPQxUbE3YC2e/nasog2oDxQAD4p53UZuQ0WMi4SrO3WFfV KyO4NUlRMu0GC1iFwEqAweMF4M3VCs6bshjsKNb9gcmOb5Iv4iMMjldMNZpdQtpcGme9 aCTmuEeFIULX7w1EAJiF2nTaX8JYBYmcGwVjflZFBPiT2PlG2L9Z2P9WuKcA9EfbwtUe YOW264NrqIN908LKhboNixzmcJAPvID4M3tA+dsNm4PqC/K6qOALS/9ZlJt0wXgoutkk mz0Y2+i0t5M9b1/P9UzviIBGtou+XMYN2RAMnsn+K1uSytry3w4fr/SERxpKVpezEv1z alBg== X-Gm-Message-State: AA+aEWbVkBtdu1Z3h8qhKB+V79FGAvO0i7hQIfQp5ljs+rZbdz+3fQ4Q x7ouEhH/hTs2d2a1/cwMw7UTWOw1CA3tQYlGlKZBj1mv X-Google-Smtp-Source: AFSGD/XLcsVPpPMR3wVrs6ZIAdyCtv6kEbufjqTvdBf0htRw36fMMKyzVQDdk19pe5tUmplN77xgxfpLdsr/gWSL1H4= X-Received: by 2002:a17:906:9413:: with SMTP id q19-v6mr28123172ejx.208.1546274948916; Mon, 31 Dec 2018 08:49:08 -0800 (PST) MIME-Version: 1.0 References: <20181231143731.GA8140@gavran.carpriv.carnet.hr> In-Reply-To: <20181231143731.GA8140@gavran.carpriv.carnet.hr> From: Henry C Date: Tue, 1 Jan 2019 00:48:58 +0800 Message-ID: Subject: Re: Listing Supported Kernel Parameters? To: Valentin Vidic Cc: kernelnewbies@kernelnewbies.org X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============5562224570985476443==" Errors-To: kernelnewbies-bounces@kernelnewbies.org --===============5562224570985476443== Content-Type: multipart/alternative; boundary="0000000000000e2b39057e543158" --0000000000000e2b39057e543158 Content-Type: text/plain; charset="UTF-8" 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 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 > --0000000000000e2b39057e543158 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks.=

I just downloaded the source here:

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

So it seems like "early_param" only co= vers some kernel parameters but not all.

Thanks fo= r your suggestion tho!


On Mon, Dec 31, 2018 at 10:37 PM Va= lentin 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 co= mplete
> 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
Kernel= newbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailma= n/listinfo/kernelnewbies
--0000000000000e2b39057e543158-- --===============5562224570985476443== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============5562224570985476443==--