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: <20150306060914.GF28187@wfg-t540p.sh.intel.com>
Date:	Fri, 6 Mar 2015 14:09:14 +0800
From:	Fengguang Wu <fengguang.wu@...el.com>
To:	Andy Lutomirski <luto@...capital.net>
Cc:	fengguang.wu@...el.com, LKP <lkp@...org>,
	linux-kernel@...r.kernel.org
Subject: [x86] INFO: task swapper:1 blocked for more than 120 seconds.

Greetings,

0day kernel testing robot got the below dmesg and the first bad commit is

git://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git revert-a0bd5e26b32a2e1f08ff99017d0997118fbb2485-ef8254ad414cbb8034c9a56396eeb24f5dd5b0de

commit ef8254ad414cbb8034c9a56396eeb24f5dd5b0de
Author:     Andy Lutomirski <luto@...capital.net>
AuthorDate: Thu Feb 26 15:14:01 2015 -0800
Commit:     Andy Lutomirski <luto@...capital.net>
CommitDate: Thu Mar 5 15:35:21 2015 -0800

    x86: Switch all C consumers of kernel_stack to this_cpu_sp0
    
    This will make modifying the semantics of kernel_stack easier.
    
    Signed-off-by: Andy Lutomirski <luto@...capital.net>

+------------------------------------------------------------------+------------+------------+------------+
|                                                                  | 8d67558185 | ef8254ad41 | c87d971315 |
+------------------------------------------------------------------+------------+------------+------------+
| boot_successes                                                   | 12         | 0          | 0          |
| boot_failures                                                    | 68         | 20         | 12         |
| Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 68         |            |            |
| backtrace:serio_handle_event                                     | 68         |            |            |
| INFO:task_blocked_for_more_than#seconds                          | 0          | 20         | 12         |
| Kernel_panic-not_syncing:hung_task:blocked_tasks                 | 0          | 20         | 12         |
| backtrace:misc_register                                          | 0          | 20         | 12         |
| backtrace:vga_arb_device_init                                    | 0          | 20         | 12         |
| backtrace:kernel_init_freeable                                   | 0          | 20         | 12         |
| backtrace:watchdog                                               | 0          | 20         | 12         |
+------------------------------------------------------------------+------------+------------+------------+


[    8.256018] random: nonblocking pool is initialized
[    8.256018] random: nonblocking pool is initialized
[  240.191019] INFO: task swapper:1 blocked for more than 120 seconds.
[  240.191019] INFO: task swapper:1 blocked for more than 120 seconds.
[  240.192012]       Not tainted 4.0.0-rc2-00051-gef8254a #5
[  240.192012]       Not tainted 4.0.0-rc2-00051-gef8254a #5
[  240.193004] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.

git bisect start c87d97131581b68d2662319b92bed9e1bdb8f294 13a7a6ac0a11197edcd0f756a035f472b42cdf8b --
git bisect good 98ad05d11493f4185838e72442e456b69b52cd8a  # 09:18     20+      0  Merge 'jtkirshe-net/community' into devel-roam-rand-201503060832
git bisect good 727969f6d9f5a5eab5f24683af0b31cb2c63b11e  # 10:02     20+      7  Merge 'block/blk-polled-io' into devel-roam-rand-201503060832
git bisect  bad 85ea6a2a342c2b53d831ef1a07e58d47c17913dc  # 10:29      0-     15  Merge 'luto/x86/entry' into devel-roam-rand-201503060832
git bisect good f8e92fb4b0ffc4d62279ab39f34e798e37e90b0b  # 11:03     20+     12  Merge tag 'alternatives_padding' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp into x86/asm
git bisect good ebfc453e27c676e104378366a0b027e5c6918631  # 11:06     20+      0  x86/asm/entry/64: Clean up and document various entry code details
git bisect good 8d675581859712bee09a055ed8f785d80dac1eca  # 11:11     20+     11  x86: Add this_cpu_sp0() to read sp0 for the current cpu
git bisect  bad da29fb2a793e4f649d93ce2d1ed320ebe8516262  # 11:20      0-      1  x86: Rename init_tss to cpu_tss
git bisect  bad 88ff9006163d296a0665338585c36d9bfb85235d  # 11:38      0-      2  x86, asm: Change the 32-bit sysenter code to use sp0
git bisect  bad ef8254ad414cbb8034c9a56396eeb24f5dd5b0de  # 11:44      0-     20  x86: Switch all C consumers of kernel_stack to this_cpu_sp0
# first bad commit: [ef8254ad414cbb8034c9a56396eeb24f5dd5b0de] x86: Switch all C consumers of kernel_stack to this_cpu_sp0
git bisect good 8d675581859712bee09a055ed8f785d80dac1eca  # 11:46     60+     68  x86: Add this_cpu_sp0() to read sp0 for the current cpu
# extra tests with DEBUG_INFO
git bisect good ef8254ad414cbb8034c9a56396eeb24f5dd5b0de  # 11:58     60+     60  x86: Switch all C consumers of kernel_stack to this_cpu_sp0
# extra tests on HEAD of linux-devel/devel-roam-rand-201503060832
git bisect  bad c87d97131581b68d2662319b92bed9e1bdb8f294  # 11:58      0-     12  0day head guard for 'devel-roam-rand-201503060832'
# extra tests on tree/branch luto/x86/entry
git bisect  bad c68358fe5abeb55f430015010f14fc458f5d7d57  # 12:15      0-     37  x86, asm: Rename INIT_TSS_IST to TSS_IST
# extra tests with first bad commit reverted
# extra tests on tree/branch linus/master
git bisect good 99aedde0869ce194539166ac5a4d2e1a20995348  # 12:24     60+     16  Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
# extra tests on tree/branch next/master
git bisect good cbbf783608bd1f177fd8b1f6498bb2481116beed  # 12:30     60+     22  Add linux-next specific files for 20150305


This script may reproduce the error.

----------------------------------------------------------------------------
#!/bin/bash

kernel=$1

kvm=(
	qemu-system-x86_64
	-enable-kvm
	-cpu Haswell,+smep,+smap
	-kernel $kernel
	-m 320
	-smp 2
	-net nic,vlan=1,model=e1000
	-net user,vlan=1
	-boot order=nc
	-no-reboot
	-watchdog i6300esb
	-rtc base=localtime
	-serial stdio
	-display none
	-monitor null 
)

append=(
	hung_task_panic=1
	earlyprintk=ttyS0,115200
	rd.udev.log-priority=err
	systemd.log_target=journal
	systemd.log_level=warning
	debug
	apic=debug
	sysrq_always_enabled
	rcupdate.rcu_cpu_stall_timeout=100
	panic=-1
	softlockup_panic=1
	nmi_watchdog=panic
	oops=panic
	load_ramdisk=2
	prompt_ramdisk=0
	console=ttyS0,115200
	console=tty0
	vga=normal
	root=/dev/ram0
	rw
	drbd.minor_count=8
)

"${kvm[@]}" --append "${append[*]}"
----------------------------------------------------------------------------

Thanks,
Fengguang

View attachment "dmesg-quantal-kbuild-21:20150306114251:i386-randconfig-r1-0305:4.0.0-rc2-00051-gef8254a:5" of type "text/plain" (32175 bytes)

View attachment "dmesg-quantal-client1-1:20150306110733:i386-randconfig-r1-0305:4.0.0-rc2-00050-g8d67558:3" of type "text/plain" (59701 bytes)

View attachment "config-4.0.0-rc2-00051-gef8254a" of type "text/plain" (75642 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ