<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>50098</bug_id>
          
          <creation_ts>2024-04-19 20:56:09 +0300</creation_ts>
          <short_desc>CONFIG_CONSOLE_LOGLEVEL_QUIET=3</short_desc>
          <delta_ts>2024-08-08 20:35:55 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>kernel-image-un-def</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Антон Мидюков">antohami</reporter>
          <assigned_to name="Vitaly Chikunov">vt</assigned_to>
          <cc>iv</cc>
    
    <cc>kernelbot</cc>
    
    <cc>placeholder</cc>
    
    <cc>vt</cc>
    
    <cc>zerg</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>245064</commentid>
    <comment_count>0</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2024-04-19 20:56:09 +0300</bug_when>
    <thetext>Предлагаю понизить уровень шума для режима загрузки с quiet с 4 уровня сообщений на третий:
-CONFIG_CONSOLE_LOGLEVEL_QUIET=4
+CONFIG_CONSOLE_LOGLEVEL_QUIET=3

На 4 уровне выскакивают всякие сообщения, которые пользователь пофиксить не сможет, но при этом тихая загрузка нарушается. Уже более года уровень сообщений снижаем параметром loglevel=3 после quiet, чтобы была действительно тихая загрузка. Если поменяем у всех наших ядер, можно будет убрать из kernel cmdline.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>245067</commentid>
    <comment_count>1</comment_count>
    <who name="Vitaly Chikunov">vt</who>
    <bug_when>2024-04-20 02:58:13 +0300</bug_when>
    <thetext>Для сравнения

redhat/configs/fedora/generic/CONFIG_CONSOLE_LOGLEVEL_QUIET:CONFIG_CONSOLE_LOGLEVEL_QUIET=3
redhat/configs/rhel/generic/CONFIG_CONSOLE_LOGLEVEL_QUIET:CONFIG_CONSOLE_LOGLEVEL_QUIET=4
debian.master/config/config.common.ubuntu:2101:CONFIG_CONSOLE_LOGLEVEL_QUIET=4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>245068</commentid>
    <comment_count>2</comment_count>
    <who name="Vitaly Chikunov">vt</who>
    <bug_when>2024-04-20 03:04:51 +0300</bug_when>
    <thetext>+
suse/config/arm64/default:13265:CONFIG_CONSOLE_LOGLEVEL_QUIET=4
clearlinux/config:9835:CONFIG_CONSOLE_LOGLEVEL_QUIET=4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>245069</commentid>
    <comment_count>3</comment_count>
    <who name="Vitaly Chikunov">vt</who>
    <bug_when>2024-04-20 03:21:53 +0300</bug_when>
    <thetext>Но вообще, эту опцию как раз добавил Редхат для того чтоб сделать =3.

&gt; Author:     Hans de Goede &lt;hdegoede@redhat.com&gt;
&gt; AuthorDate: Tue Jun 19 13:57:26 2018 +0200
&gt; Commit:     Petr Mladek &lt;pmladek@suse.com&gt;
&gt; CommitDate: Wed Jun 27 16:14:29 2018 +0200
&gt; 
&gt;     printk: Make CONSOLE_LOGLEVEL_QUIET configurable
&gt; 
&gt;     The goal of passing the &quot;quiet&quot; option to the kernel is for the kernel
&gt;     to be quiet unless something really is wrong.
&gt; 
&gt;     Sofar passing quiet has been (mostly) equivalent to passing
&gt;     loglevel=4 on the kernel commandline. Which means to show any messages
&gt;     with a level of KERN_ERR or higher severity on the console.
&gt; 
&gt;     In practice this often does not result in a quiet boot though, since
&gt;     there are many false-positive or otherwise harmless error messages printed,
&gt;     defeating the purpose of the quiet option. Esp. the ACPICA code is really
&gt;     bad wrt this, but there are plenty of others too.
&gt; 
&gt;     This commit makes CONSOLE_LOGLEVEL_QUIET configurable.
&gt; 
&gt;     This for example will allow distros which want quiet to really mean quiet
&gt;     to set CONSOLE_LOGLEVEL_QUIET so that only messages with a higher severity
&gt;     then KERN_ERR (CRIT, ALERT, EMERG) get printed, avoiding an endless game
&gt;     of whack-a-mole silencing harmless error messages.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>245070</commentid>
    <comment_count>4</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2024-04-20 03:43:02 +0300</bug_when>
    <thetext>(Ответ для Vitaly Chikunov на комментарий #3)
&gt; Но вообще, эту опцию как раз добавил Редхат для того чтоб сделать =3.

Red Hat сначала 6 лет на Fedora гоняет и лишь потом внедряет ;)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>245532</commentid>
    <comment_count>5</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2024-04-27 04:45:08 +0300</bug_when>
    <thetext>Я не вижу противопоказаний для снижения уровня логов ядра для опции quiet. Мы от неё ждём тишины, а получаем пугающие предупреждения, которые не исправить. Их исправить можно только исправлением UEFI, но это, как правило, не исправляется производителем материнской платы или ноутбука.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>245605</commentid>
    <comment_count>6</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2024-04-28 21:21:35 +0300</bug_when>
    <thetext>kernel-image-6.8-6.8.8-alt1 -&gt; sisyphus:

 Sat Apr 27 2024 Kernel Bot &lt;kernelbot@altlinux&gt; 6.8.8-alt1
 - v6.8.8 (2024-04-27).
 - Restore kernel and kernel-headers provides.
 - config: CONFIG_CONSOLE_LOGLEVEL_QUIET=3 (ALT#50098).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>249876</commentid>
    <comment_count>7</comment_count>
    <who name="Антон Мидюков">antohami</who>
    <bug_when>2024-08-08 13:09:49 +0300</bug_when>
    <thetext>Может и в p10 сделаем?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>249902</commentid>
    <comment_count>8</comment_count>
    <who name="Vitaly Chikunov">vt</who>
    <bug_when>2024-08-08 20:35:55 +0300</bug_when>
    <thetext>Добавил.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>