lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20191123144150.GN6910@shao2-debian>
Date:   Sat, 23 Nov 2019 22:41:50 +0800
From:   kernel test robot <lkp@...el.com>
To:     Yunfeng Ye <yeyunfeng@...wei.com>
Cc:     "Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
        LKML <linux-kernel@...r.kernel.org>,
        Stephen Rothwell <sfr@...b.auug.org.au>, lkp@...ts.01.org
Subject: [ACPI] eb09878e13: INFO:rcu_sched_self-detected_stall_on_CPU

FYI, we noticed the following commit (built with gcc-7):

commit: eb09878e13013f0faee0a97562da557c4026b8a1 ("ACPI: sysfs: Change ACPI_MASKABLE_GPE_MAX to 0x100")
https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git master

in testcase: boot

on test machine: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -smp 2 -m 8G

caused below changes (please refer to attached dmesg/kmsg for entire log/backtrace):


+-------------------------------------------+----------+------------+
|                                           | v5.4-rc7 | eb09878e13 |
+-------------------------------------------+----------+------------+
| boot_successes                            | 428      | 0          |
| boot_failures                             | 45       | 6          |
| BUG:kernel_hang_in_test_stage             | 44       |            |
| BUG:kernel_timeout_in_boot_stage          | 1        |            |
| INFO:rcu_sched_self-detected_stall_on_CPU | 0        | 6          |
| RIP:console_unlock                        | 0        | 6          |
| BUG:kernel_hang_in_boot_stage             | 0        | 1          |
+-------------------------------------------+----------+------------+


If you fix the issue, kindly add following tag
Reported-by: kernel test robot <lkp@...el.com>


[  101.684119] rcu: INFO: rcu_sched self-detected stall on CPU
[  101.684119] rcu: 	0-....: (24999 ticks this GP) idle=4ca/1/0x4000000000000002 softirq=192/192 fqs=11057 
[  101.684119] 	(t=25000 jiffies g=-1135 q=86)
[  101.684119] NMI backtrace for cpu 0
[  101.684119] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.4.0-rc7-00001-geb09878e13013 #1
[  101.684119] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1 04/01/2014
[  101.684119] Call Trace:
[  101.684119]  <IRQ>
[  101.684119]  dump_stack+0x71/0x98
[  101.684119]  nmi_cpu_backtrace+0x6d/0x7e
[  101.684119]  ? lapic_can_unplug_cpu+0x93/0x93
[  101.684119]  nmi_trigger_cpumask_backtrace+0x5a/0xdf
[  101.684119]  rcu_dump_cpu_stacks+0x91/0xb9
[  101.684119]  rcu_sched_clock_irq+0x20e/0x57c
[  101.684119]  update_process_times+0x24/0x42
[  101.684119]  tick_periodic+0x6a/0x74
[  101.684119]  tick_handle_periodic+0x20/0x5f
[  101.684119]  smp_apic_timer_interrupt+0xc5/0x12d
[  101.684119]  apic_timer_interrupt+0xf/0x20
[  101.684119]  </IRQ>
[  101.684119] RIP: 0010:console_unlock+0x439/0x4de
[  101.684119] Code: 75 15 53 9d 48 83 c4 18 5b 5d 41 5c 41 5d 41 5e 41 5f e9 59 40 06 00 e8 72 41 06 00 53 9d e9 9d 00 00 00 e8 66 41 06 00 53 9d <e9> fe fd ff ff c7 05 87 bd ed 01 00 00 00 00 c6 05 c0 8f dd 01 00
[  101.684119] RSP: 0000:ffffc90000013ce8 EFLAGS: 00000202 ORIG_RAX: ffffffffffffff13
[  101.684119] RAX: 0000000100000000 RBX: 0000000000000202 RCX: 0000000000000000
[  101.684119] RDX: 0000000000000001 RSI: 0000000000000000 RDI: ffffffff81194db4
[  101.684119] RBP: 0000000000000200 R08: 0000000000000000 R09: ffff8880000bbd40
[  101.684119] R10: ffffc90000013df8 R11: ffffc90000013c8f R12: ffffffff82f6fdc0
[  101.684119] R13: 0000000000000000 R14: ffffffff83012694 R15: 0000000000000000
[  101.684119]  ? console_unlock+0x437/0x4de
[  101.684119]  vprintk_emit+0x1e3/0x208
[  101.684119]  ? set_debug_rodata+0x11/0x11
[  101.684119]  printk+0x52/0x6e
[  101.684119]  ? acpi_sleep_proc_init+0x24/0x24
[  101.684119]  acpi_gpe_apply_masked_gpes+0x4a/0x73
[  101.684119]  acpi_scan_init+0xcd/0x22b
[  101.684119]  ? acpi_sleep_proc_init+0x24/0x24
[  101.684119]  acpi_init+0x2d6/0x336
[  101.684119]  do_one_initcall+0x9d/0x1c0
[  101.684119]  kernel_init_freeable+0x19f/0x234
[  101.684119]  ? rest_init+0xc6/0xc6
[  101.684119]  kernel_init+0xa/0xff
[  101.684119]  ret_from_fork+0x3a/0x50
[  101.752140] ACPI: Masking GPE 0x0.
[  101.754794] ACPI: Masking GPE 0x0.
[  101.756132] ACPI: Masking GPE 0x0.
[  101.758716] ACPI: Masking GPE 0x0.
[  101.760131] ACPI: Masking GPE 0x0.
[  101.762631] ACPI: Masking GPE 0x0.
[  101.764139] ACPI: Masking GPE 0x0.
[  101.766641] ACPI: Masking GPE 0x0.
[  101.768129] ACPI: Masking GPE 0x0.
[  101.769703] ACPI: Masking GPE 0x0.
[  101.771234] ACPI: Masking GPE 0x0.
[  101.772127] ACPI: Masking GPE 0x0.
[  101.773742] ACPI: Masking GPE 0x0.
[  101.775270] ACPI: Masking GPE 0x0.
[  101.776126] ACPI: Masking GPE 0x0.
[  101.777650] ACPI: Masking GPE 0x0.
[  101.779285] ACPI: Masking GPE 0x0.
[  101.780132] ACPI: Masking GPE 0x0.
[  101.781667] ACPI: Masking GPE 0x0.
[  101.783204] ACPI: Masking GPE 0x0.
[  101.784126] ACPI: Masking GPE 0x0.
[  101.785672] ACPI: Masking GPE 0x0.
[  101.787196] ACPI: Masking GPE 0x0.
[  101.788125] ACPI: Masking GPE 0x0.
[  101.789766] ACPI: Masking GPE 0x0.
[  101.791293] ACPI: Masking GPE 0x0.
[  101.792126] ACPI: Masking GPE 0x0.
[  101.793866] ACPI: Masking GPE 0x0.
[  101.795388] ACPI: Masking GPE 0x0.
[  101.796126] ACPI: Masking GPE 0x0.
[  101.797654] ACPI: Masking GPE 0x0.
[  101.799227] ACPI: Masking GPE 0x0.
[  101.800126] ACPI: Masking GPE 0x0.
[  101.801670] ACPI: Masking GPE 0x0.
[  101.804126] ACPI: Masking GPE 0x0.
[  101.805656] ACPI: Masking GPE 0x0.
[  101.807162] ACPI: Masking GPE 0x0.
[  101.808126] ACPI: Masking GPE 0x0.
[  101.809716] ACPI: Masking GPE 0x0.
[  101.811220] ACPI: Masking GPE 0x0.
[  101.812126] ACPI: Masking GPE 0x0.
[  101.813663] ACPI: Masking GPE 0x0.
[  101.815270] ACPI: Masking GPE 0x0.
[  101.816126] ACPI: Masking GPE 0x0.
[  101.817633] ACPI: Masking GPE 0x0.
[  101.819205] ACPI: Masking GPE 0x0.
[  101.820129] ACPI: Masking GPE 0x0.
[  101.822700] ACPI: Masking GPE 0x0.
[  101.824138] ACPI: Masking GPE 0x0.
[  101.826750] ACPI: Masking GPE 0x0.
[  101.828139] ACPI: Masking GPE 0x0.
[  101.830919] ACPI: Masking GPE 0x0.
[  101.832134] ACPI: Masking GPE 0x0.
[  101.834923] ACPI: Masking GPE 0x0.
[  101.836141] ACPI: Masking GPE 0x0.
[  101.838930] ACPI: Masking GPE 0x0.
[  101.840131] ACPI: Masking GPE 0x0.
[  101.841657] ACPI: Masking GPE 0x0.
[  101.843252] ACPI: Masking GPE 0x0.


To reproduce:

        # build kernel
	cd linux
	cp config-5.4.0-rc7-00001-geb09878e13013 .config
	make HOSTCC=gcc-7 CC=gcc-7 ARCH=x86_64 olddefconfig prepare modules_prepare bzImage

        git clone https://github.com/intel/lkp-tests.git
        cd lkp-tests
        bin/lkp qemu -k <bzImage> job-script # job-script is attached in this email



Thanks,
lkp


View attachment "config-5.4.0-rc7-00001-geb09878e13013" of type "text/plain" (119257 bytes)

View attachment "job-script" of type "text/plain" (4724 bytes)

Download attachment "dmesg.xz" of type "application/x-xz" (315320 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ