From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=ALL_TRUSTED,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,NO_DNS_FOR_FROM autolearn=ham autolearn_force=no version=3.4.6 Received: from [192.168.88.254] (unknown [125.160.109.234]) by gnuweeb.org (Postfix) with ESMTPSA id 477F980866; Fri, 23 Sep 2022 14:12:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1663942330; bh=FGb2l90V8zDZ6r7RxOl0H4y1Fck2VGT9n84opKEhyAo=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=eKuAVPaJALT/JtC7WCSVL8L/zPSoEaSyScelGKs3MhgaqdX1RcOkJ9JQ3uULPwOgX eebEnUFw3RlYJT60hlvBTETKRtgggecEAZzciIAyjgQMKEOdLh30Pu6TTAs/ak4Uof W94Qf8BlEgp8z8+v/lqlQbXjFAX1Acto/ic7lK3YlSU2q8qJovptXUfHpAqp+FJTlU WnEn1jOLqRFJZX60oHU8oLvxfIpoHT3qCop6Ifi84RKAGKlE0ARgLf6kNU62V6/I/P pTIjoYYtGc76VoXoxSZqypsgRGei4ltAwDfzsgpStSO234sJ6TjKxmEszNhcS1pil+ nGwTTN6XATYWw== Message-ID: Date: Fri, 23 Sep 2022 21:12:06 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [printk] e695fbe780: BUG:scheduling_while_atomic Content-Language: en-US To: kernel test robot , GNU/Weeb Mailing List Cc: lkp@lists.01.org, lkp@intel.com References: <202209231537.b9d509b-oliver.sang@intel.com> From: Ammar Faizi In-Reply-To: <202209231537.b9d509b-oliver.sang@intel.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: On 9/23/22 3:02 PM, kernel test robot wrote: > > > Greeting, > > FYI, we noticed the following commit (built with gcc-11): > > commit: e695fbe780f429298dca1fd826601968b5d00200 ("printk: Prepare for SCRU console list protection") > https://github.com/ammarfaizi2/linux-block paulmck/linux-rcu/printk.2022.09.11a > > in testcase: boot > > on test machine: qemu-system-i386 -enable-kvm -cpu SandyBridge -smp 2 -m 4G > > caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace): > > > +-----------------------------+------------+------------+ > | | c522626383 | e695fbe780 | > +-----------------------------+------------+------------+ > | boot_successes | 12 | 0 | > | boot_failures | 0 | 16 | > | BUG:scheduling_while_atomic | 0 | 16 | > +-----------------------------+------------+------------+ > > > If you fix the issue, kindly add following tag > | Reported-by: kernel test robot > | Link: https://lore.kernel.org/r/202209231537.b9d509b-oliver.sang@intel.com > > > [ 0.326642][ T0] printk: console [tty0] enabled > [ 0.327777][ T0] printk: console [ttyS0] enabled > [ 0.329795][ T0] printk: bootconsole [earlyser0] disabled > [ 0.332327][ T0] BUG: scheduling while atomic: swapper/0/0x00000002 > [ 0.333877][ T0] Modules linked in: > [ 0.335157][ T0] CPU: 0 PID: 0 Comm: swapper Not tainted 6.0.0-rc1-00138-ge695fbe780f4 #1 > [ 0.337196][ T0] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.16.0-debian-1.16.0-4 04/01/2014 > [ 0.343745][ T0] Call Trace: > [ 0.344608][ T0] ? show_stack+0x33/0x39 > [ 0.345628][ T0] dump_stack_lvl+0x20/0x2a > [ 0.346859][ T0] dump_stack+0xd/0x10 > [ 0.347869][ T0] __schedule_bug.cold+0x56/0x66 > [ 0.349104][ T0] __schedule+0x3df/0x4d0 > [ 0.350260][ T0] ? prb_read+0x78/0x1c0 > [ 0.351334][ T0] schedule+0x52/0xd0 > [ 0.352362][ T0] schedule_timeout+0x8d/0xd0 > [ 0.353504][ T0] ? __might_sleep+0x2f/0x90 > [ 0.354723][ T0] __wait_for_common+0x8b/0x190 > [ 0.355826][ T0] ? usleep_range_state+0xc0/0xc0 > [ 0.357005][ T0] wait_for_completion+0x1c/0x20 > [ 0.358239][ T0] synchronize_srcu+0x5e/0x80 > [ 0.359453][ T0] ? get_completed_synchronize_rcu+0x10/0x10 > [ 0.360879][ T0] console_unregister_locked+0x8b/0xa5 > [ 0.362247][ T0] register_console.cold+0x5f/0x6c > [ 0.363569][ T0] univ8250_console_init+0x1b/0x25 > [ 0.364813][ T0] console_init+0x1f/0x24 > [ 0.365865][ T0] start_kernel+0x2b9/0x3bb > [ 0.367072][ T0] i386_start_kernel+0x42/0x44 > [ 0.385824][ T0] startup_32_smp+0x161/0x164 Thanks for reporting, I will forward this to Paul. -- Ammar Faizi