[lkp] [sysctl] 3a4e538898: piglit.igt/gem_mmap_gtt/basic-small-bo-tiledx.fail
by kernel test robot
FYI, we noticed the following commit:
https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git sysctl/writes_strict
commit 3a4e5388986b14005561e4ec9f70363c53c78397 ("sysctl: return EINVAL on out-of-bound writes")
in testcase: piglit
with following parameters: group=igt-basic
on test machine: lkp-skl-d01: 8 threads Skylake with 8G memory
caused below changes:
2016-05-24 00:21:34 piglit run igt -t igt/gem_mmap_gtt/basic-small-bo /tmp/lkp/piglit-results
[1/3] fail: 1 |
[2/3] fail: 2 /
[3/3] fail: 3 -
[3/3] fail: 3 \
Thank you for running Piglit!
Results have been written to /tmp/lkp/piglit-results
igt/gem_mmap_gtt/basic-small-bo.seconds: .856120689
2016-05-24 00:21:35 piglit summary console /tmp/lkp/piglit-results/results.json.bz2
igt/gem_mmap_gtt/basic-small-bo: fail
igt/gem_mmap_gtt/basic-small-bo-tiledx: fail
igt/gem_mmap_gtt/basic-small-bo-tiledy: fail
summary:
name: piglit-results
---- --------------
pass: 0
fail: 3
crash: 0
skip: 0
timeout: 0
warn: 0
incomplete: 0
dmesg-warn: 0
dmesg-fail: 0
changes: 0
fixes: 0
regressions: 0
total: 3
2016-05-24 00:21:40 piglit run igt -t igt/gem_mmap/basic-small-bo /tmp/lkp/piglit-results
[1/1] fail: 1 |
[1/1] fail: 1 /
Thank you for running Piglit!
Results have been written to /tmp/lkp/piglit-results
igt/gem_mmap/basic-small-bo.seconds: .683090438
2016-05-24 00:21:40 piglit summary console /tmp/lkp/piglit-results/results.json.bz2
igt/gem_mmap/basic-small-bo: fail
summary:
name: piglit-results
---- --------------
pass: 0
fail: 1
crash: 0
skip: 0
timeout: 0
warn: 0
incomplete: 0
dmesg-warn: 0
dmesg-fail: 0
changes: 0
fixes: 0
regressions: 0
total: 1
To reproduce:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp run job.yaml
Thanks,
Xiaolong
6 years, 2 months
[fbcon] f6b88598e9: WARNING: CPU: 2 PID: 254 at drivers/video/console/fbcon.c:1103 fbcon_init+0x3b6/0x610
by kernel test robot
FYI, we noticed the following commit:
https://github.com/0day-ci/linux Scot-Doyle/fbcon-warn-on-invalid-cursor-blink-intervals/20160520-063418
commit f6b88598e9bf2d5be5746cc4c7f0f75502de1b4c ("fbcon: warn on invalid cursor blink intervals")
in testcase: unixbench
with following parameters: cpufreq_governor=performance/nr_task=100%/test=dhry2reg
on test machine: lkp-ivb-d03: 4 threads Ivy Bridge with 4G memory
caused below changes:
+--------------------------------------------------------------------------+----------+------------+
| | v4.6-rc7 | f6b88598e9 |
+--------------------------------------------------------------------------+----------+------------+
| boot_successes | 2119 | 13 |
| boot_failures | 82 | 9 |
| BUG:sleeping_function_called_from_invalid_context_at_kernel/irq/manage.c | 36 | |
| backtrace:register_console | 29 | |
| backtrace:init_netconsole | 29 | |
| backtrace:do_init_module | 30 | |
| backtrace:load_module | 31 | |
| backtrace:SYSC_finit_module | 31 | |
| backtrace:SyS_finit_module | 31 | |
| WARNING:at_fs/btrfs/inode.c:#btrfs_destroy_inode[btrfs] | 1 | |
| WARNING:at_fs/btrfs/extent-tree.c:#btrfs_free_block_groups[btrfs] | 1 | |
| drm:fw_domains_get[i915]] | 19 | |
| drm:__gen6_gt_wait_for_thread_c0[i915]] | 19 | |
| backtrace:snb_uncore_imc_init_box | 19 | |
| invoked_oom-killer:gfp_mask=0x | 28 | |
| Mem-Info | 28 | |
| Out_of_memory:Kill_process | 27 | |
| backtrace:_do_fork | 13 | |
| backtrace:SyS_clone | 6 | |
| backtrace:do_sys_open | 1 | 9 |
| backtrace:SyS_open | 1 | 9 |
| backtrace:SYSC_newstat | 1 | |
| backtrace:SyS_newstat | 1 | |
| backtrace:call_usermodehelper_exec_work | 4 | |
| Kernel_panic-not_syncing:Out_of_memory_and_no_killable_processes | 3 | |
| backtrace:vfs_write | 16 | |
| backtrace:SyS_write | 16 | |
| backtrace:vfs_fallocate | 3 | |
| backtrace:SyS_fallocate | 3 | |
| backtrace:vfs_read | 7 | |
| backtrace:SyS_read | 7 | |
| backtrace:do_mlock | 5 | |
| backtrace:SyS_mlock | 5 | |
| backtrace:kimage_load_segment | 1 | |
| backtrace:SyS_kexec_load | 1 | |
| BUG:kernel_test_crashed | 2 | |
| drm:intel_cpu_fifo_underrun_irq_handler[i915]] | 3 | |
| drm:intel_set_pch_fifo_underrun_reporting[i915]] | 3 | |
| drm:intel_pch_fifo_underrun_irq_handler[i915]] | 3 | |
| WARNING:at_fs/xfs/xfs_file.c:#xfs_file_dio_aio_write | 4 | |
| WARNING:at_fs/xfs/xfs_file.c:#xfs_file_read_iter | 2 | |
| backtrace:do_io_submit | 2 | |
| backtrace:SyS_io_submit | 2 | |
| BUG:unable_to_handle_kernel | 5 | |
| Oops | 5 | |
| RIP:i915_capture_error_state[i915] | 1 | |
| Kernel_panic-not_syncing:Fatal_exception | 5 | |
| backtrace:i915_hangcheck_elapsed | 1 | |
| drm:i915_reset[i915]] | 1 | |
| BUG:kernel_test_hang | 1 | |
| RIP:ftrace_stub | 4 | |
| backtrace:return_to_handler | 2 | |
| backtrace:ftrace_graph_caller | 1 | |
| WARNING:at_drivers/video/console/fbcon.c:#fbcon_init | 0 | 9 |
| backtrace:fbcon_init | 0 | 9 |
| backtrace:warn_slowpath_fmt | 0 | 9 |
| backtrace:visual_init | 0 | 9 |
| backtrace:con_install | 0 | 9 |
| backtrace:tty_init_dev | 0 | 9 |
+--------------------------------------------------------------------------+----------+------------+
[ 13.127961] cdrom: Uniform CD-ROM driver Revision: 3.20
[ 13.128224] sr 4:0:0:0: Attached scsi CD-ROM sr0
[ 13.138102] ------------[ cut here ]------------
[ 13.138109] WARNING: CPU: 2 PID: 254 at drivers/video/console/fbcon.c:1103 fbcon_init+0x3b6/0x610
[ 13.138110] blink interval < 50 ms
[ 13.138131] Modules linked in: sr_mod cdrom x86_pkg_temp_thermal coretemp snd_hda_codec_realtek snd_hda_codec_generic ppdev kvm irqbypass crct10dif_pclmul snd_hda_intel crc32_pclmul ahci snd_hda_codec crc32c_intel i915 libahci snd_hda_core snd_hwdep snd_pcm drm_kms_helper snd_timer syscopyarea sysfillrect ghash_clmulni_intel sysimgblt serio_raw fb_sys_fops cryptd pcspkr snd libata soundcore drm shpchp wmi parport_pc parport video
[ 13.138133] CPU: 2 PID: 254 Comm: systemd-logind Not tainted 4.6.0-rc7-00001-gf6b88598 #1
[ 13.138134] Hardware name: Hewlett-Packard HP Pro 3340 MT/17A1, BIOS 8.07 01/24/2013
[ 13.138137] 0000000000000000 ffff8800b76afa30 ffffffff8142e95a ffff8800b76afa80
[ 13.138139] 0000000000000000 ffff8800b76afa70 ffffffff8107b9d1 0000044fb76b0000
[ 13.138141] ffff8800b7460400 ffff8800b741ac00 ffff880111098000 0000000000000001
[ 13.138142] Call Trace:
[ 13.138147] [<ffffffff8142e95a>] dump_stack+0x63/0x89
[ 13.138151] [<ffffffff8107b9d1>] __warn+0xd1/0xf0
[ 13.138154] [<ffffffff8107ba3f>] warn_slowpath_fmt+0x4f/0x60
[ 13.138157] [<ffffffff81533857>] ? con_copy_unimap+0x37/0x70
[ 13.138160] [<ffffffff8149db56>] fbcon_init+0x3b6/0x610
[ 13.138163] [<ffffffff810a1119>] ? __might_sleep+0x49/0x80
[ 13.138165] [<ffffffff815349fa>] visual_init+0xca/0x130
[ 13.138168] [<ffffffff8153771a>] vc_allocate+0xea/0x1c0
[ 13.138171] [<ffffffff81537817>] con_install+0x27/0xe0
[ 13.138174] [<ffffffff815228c2>] tty_init_dev+0x72/0x1c0
[ 13.138176] [<ffffffff81522f75>] tty_open+0x565/0x640
[ 13.138181] [<ffffffff8158422f>] ? kobj_lookup+0x10f/0x160
[ 13.138185] [<ffffffff811ffcd7>] chrdev_open+0xb7/0x190
[ 13.138189] [<ffffffff811f863f>] do_dentry_open+0x1cf/0x310
[ 13.138191] [<ffffffff811ffc20>] ? cdev_put+0x30/0x30
[ 13.138194] [<ffffffff811f99d8>] vfs_open+0x58/0x60
[ 13.138196] [<ffffffff81209766>] path_openat+0x1a6/0x13d0
[ 13.138198] [<ffffffff810a1119>] ? __might_sleep+0x49/0x80
[ 13.138200] [<ffffffff8120ba2e>] do_filp_open+0x7e/0xe0
[ 13.138202] [<ffffffff8120ab66>] ? getname_flags+0x56/0x1f0
[ 13.138205] [<ffffffff811d87f5>] ? kmem_cache_alloc+0x1a5/0x200
[ 13.138207] [<ffffffff812196d6>] ? __alloc_fd+0x46/0x180
[ 13.138209] [<ffffffff811f9d16>] do_sys_open+0x116/0x1f0
[ 13.138211] [<ffffffff811f9e0e>] SyS_open+0x1e/0x20
[ 13.138214] [<ffffffff81906af2>] entry_SYSCALL_64_fastpath+0x1a/0xa4
[ 13.138215] ---[ end trace 906614667f342710 ]---
[ 13.138215] ---[ end trace 906614667f342710 ]---
To reproduce:
git clone git://git.kernel.org/pub/scm/linux/kernel/git/wfg/lkp-tests.git
cd lkp-tests
bin/lkp install job.yaml # job file is attached in this email
bin/lkp run job.yaml
Thanks,
Kernel Test Robot
6 years, 2 months
[chrdev] 65e5b1e9eb: kernel BUG at drivers/base/driver.c:153!
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git chrdev-warn
commit 65e5b1e9eb3f777ab7535b74b490e882eeec79d7
Author: Linus Walleij <linus.walleij(a)linaro.org>
AuthorDate: Fri Feb 19 15:14:29 2016 +0100
Commit: Linus Walleij <linus.walleij(a)linaro.org>
CommitDate: Mon May 23 10:15:20 2016 +0200
chrdev: allocate dynamic chardevs in all unused holes
This is a duct-tape-and-chewing-gum solution to the problem
with the major numbers running out when allocating major
numbers dynamically.
To avoid collisions in the major space, we supply a bitmap with
"holes" that exist in the lower range of major numbers [0-254]
and pick numbers from there, beginning with the unused char
device 8 and moving up through 26, 40, 60-63, 93-94, 102,
120-127, 159, 213-215, 222-223 and 234-254.
The algorithm will behave like the old dynamic assignment
to begin with: dynamic majors will be assigned starting with
254, 253, ... but when it reaches 234 it will make a jump
and assign 223 and so on.
It will also FAIL if we actually fill up all free major
numbers. This seems to me like the reasonable thing to do
since the other numbers are, after all, reserved.
This also deletes the comment /* temporary */ which must be
one of the biggest lies ever.
This also updates the Documentation/devices.txt document to
reflect that all these numbers are used for dynamic assignment.
Reported-by: Ying Huang <ying.huang(a)linux.intel.com>
Cc: Linus Torvalds <torvalds(a)linux-foundation.org>
Cc: Greg Kroah-Hartman <gregkh(a)linuxfoundation.org>
Cc: Alan Cox <alan(a)linux.intel.com>
Cc: Arnd Bergmann <arnd(a)arndb.de>
Signed-off-by: Linus Walleij <linus.walleij(a)linaro.org>
---
ChangeLog v4->v5:
- Create a new macro, BITS32() in <linux/bitops.> that allow
us to make an intuitive bitmask for the existing major
number. This reuses GENMASK(), clamps the arguments and
switch them around: to me it is atleast most intuitive to
have the lower bit before the higher one.
- Use BITS32() and BIT_MASK() to define the bitlist for
available devices.
- Assign dynamic majors from the top down (254, 253...) like
the old code was doing. I tried assigning bottom up
(8, 20,...) but that gave rise to "interesting" phenomena
on Intels test servers running random QEMU: character
devices in the lower range would stop probing properly,
even if they have a major number not colliding with the
dynamic assignment. At one time IDE tape (major 37) and
one time ISDN (major 45). No clue as to why.
ChangeLog v3->v4:
- Create the BITS() macro in a separate patch. This was
more tangled up than I thought, as the nice build servers
quickly told me.
ChangeLog v2->v3:
- Of course I had a dangling hunk for pr_dbg()->pr_debug()
in my working tree. Mea culpa.
- Fix the redefinition of BITS() in select.c to use the
more precise name FDS_BITS() over the generic plural.
ChangeLog v1->v2:
- Follow-up on the previous RFC patch, this uses Torvald's
suggested bitmap approach to allocate devices instead of
a list of free numbers.
- As a result of using find_first_zero_bit(), the major
numbers are assigned from low to high instead from high
to low. It's a bit scarier but I guess drivers using
dynamic numbers should be all right with it, I'm more
worried about userspaces expecting dynamic majors to
be in the [234,254] range. Input welcome, maybe I'm
just chicken.
- This still needs to be applied on top of the previous
fix to start warning about going below major 234. If
you prefer to just get this patch and get rid of the
problem then tell me.
+--------------------------------------------------+------------+------------+------------+
| | 7639dad93a | 65e5b1e9eb | 062d4b159d |
+--------------------------------------------------+------------+------------+------------+
| boot_successes | 194 | 0 | 0 |
| boot_failures | 3 | 22 | 13 |
| INFO:suspicious_RCU_usage | 1 | | |
| RCU_used_illegally_from_idle_CPU | 1 | | |
| RCU_used_illegally_from_extended_quiescent_state | 1 | | |
| Out_of_memory:Kill_process | 2 | | |
| kernel_BUG_at_drivers/base/driver.c | 0 | 22 | 13 |
| invalid_opcode:#[##]SMP | 0 | 22 | 13 |
| RIP:driver_register | 0 | 22 | 13 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 22 | 13 |
| backtrace:kernel_init_freeable | 0 | 22 | 13 |
+--------------------------------------------------+------------+------------+------------+
[ 13.631034] mptctl: /dev/mptctl @ (major,minor=10,220)
[ 13.631765] Fusion MPT LAN driver 3.04.20
[ 13.633012] ------------[ cut here ]------------
[ 13.633663] kernel BUG at drivers/base/driver.c:153!
[ 13.634560] invalid opcode: 0000 [#1] SMP
[ 13.635139] Modules linked in:
[ 13.635710] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.6.0-08908-g65e5b1e #3
[ 13.636669] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 13.637900] task: ffff88002f6cc040 ti: ffff88002f6d0000 task.ti: ffff88002f6d0000
[ 13.638955] RIP: 0010:[<ffffffff81bc8342>] [<ffffffff81bc8342>] driver_register+0x13/0xbf
[ 13.640182] RSP: 0018:ffff88002f6d3e90 EFLAGS: 00010246
[ 13.640953] RAX: ffffffff8428ce20 RBX: ffffffff846b6c7a RCX: ffffffff81778379
[ 13.641901] RDX: 0000000000000001 RSI: 0000000000000001 RDI: ffffffff8428d3a0
[ 13.642799] RBP: ffff88002f6d3e98 R08: 0000000000001000 R09: 0000000000000000
[ 13.643734] R10: ffff88002f6d3d30 R11: ffff88002754a167 R12: 00000000ffffffff
[ 13.644663] R13: 0000000000000000 R14: ffffffff8462d7cf R15: 0000000000000001
[ 13.645565] FS: 0000000000000000(0000) GS:ffff88002fc00000(0000) knlGS:0000000000000000
[ 13.646675] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 13.647435] CR2: 0000000000000000 CR3: 0000000004021000 CR4: 00000000000006e0
[ 13.648390] Stack:
[ 13.648797] ffffffff846b6c8a ffff88002f6d3f08 ffffffff8100219d ffffffff83e3b900
[ 13.650079] ffffffff83e1da08 ffff88003146d639 0000000000000200 ffffffff83c4a3ad
[ 13.651367] 0000000000000006 0000000000000bfc ffffffff848a26d0 0000000000000006
[ 13.652708] Call Trace:
[ 13.653131] [<ffffffff846b6c8a>] ? sbp2_init+0x10/0x12
[ 13.653834] [<ffffffff8100219d>] do_one_initcall+0x90/0x11f
[ 13.654593] [<ffffffff8462d7cf>] ? set_debug_rodata+0x12/0x12
[ 13.655367] [<ffffffff8462e125>] kernel_init_freeable+0x1cb/0x258
[ 13.656203] [<ffffffff82eb6442>] kernel_init+0xe/0xf5
[ 13.656941] [<ffffffff82ec26af>] ret_from_fork+0x1f/0x40
[ 13.657712] [<ffffffff82eb6434>] ? rest_init+0x13b/0x13b
[ 13.658432] Code: 41 5d 5d c3 0f 1f 44 00 00 55 48 8b 7f 70 48 89 e5 e8 fa cb 6b ff 5d c3 0f 1f 44 00 00 48 8b 47 08 48 83 b8 90 00 00 00 00 75 02 <0f> 0b 55 48 89 e5 41 54 53 48 83 78 48 00 48 89 fb 74 07 48 83
[ 13.664929] RIP [<ffffffff81bc8342>] driver_register+0x13/0xbf
[ 13.665770] RSP <ffff88002f6d3e90>
[ 13.666340] ---[ end trace 436246de15e831a7 ]---
[ 13.666984] Kernel panic - not syncing: Fatal exception
git bisect start 062d4b159d4050872338b7744dc39f1116adb149 2dcd0af568b0cf583645c8a317dd12e344b1c72a --
git bisect bad 6daec6b4daccbc58c89461e0725862ae66a17b3c # 17:52 0- 22 Merge 'gpio/chrdev-warn' into devel-catchup-201605231710
git bisect good 4696c05eb03faeb83997502696bd9bfae2163390 # 18:00 22+ 0 Merge 'gpio/set-get-data' into devel-catchup-201605231710
git bisect good 64034acabd630cdf8d01395bc398af7a214cc48e # 18:10 22+ 0 Merge 'gpio/chardev-step-2' into devel-catchup-201605231710
git bisect bad 65e5b1e9eb3f777ab7535b74b490e882eeec79d7 # 18:19 0- 22 chrdev: allocate dynamic chardevs in all unused holes
# first bad commit: [65e5b1e9eb3f777ab7535b74b490e882eeec79d7] chrdev: allocate dynamic chardevs in all unused holes
git bisect good 7639dad93a5564579987abded4ec05e3db13659d # 18:22 65+ 2 Merge tag 'trace-v4.7-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace
# extra tests with DEBUG_INFO
git bisect bad 65e5b1e9eb3f777ab7535b74b490e882eeec79d7 # 18:35 0- 66 chrdev: allocate dynamic chardevs in all unused holes
# extra tests on HEAD of linux-devel/devel-catchup-201605231710
git bisect bad 062d4b159d4050872338b7744dc39f1116adb149 # 18:36 0- 13 0day head guard for 'devel-catchup-201605231710'
# extra tests on tree/branch gpio/chrdev-warn
git bisect bad 65e5b1e9eb3f777ab7535b74b490e882eeec79d7 # 18:40 0- 22 chrdev: allocate dynamic chardevs in all unused holes
# extra tests with first bad commit reverted
git bisect good 1d45b8c7a5bda7073cc6bd288a87d88c48c634c1 # 18:56 65+ 0 Revert "chrdev: allocate dynamic chardevs in all unused holes"
# extra tests on tree/branch linus/master
git bisect good 7639dad93a5564579987abded4ec05e3db13659d # 18:59 66+ 2 Merge tag 'trace-v4.7-2' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace
# extra tests on tree/branch linux-next/master
git bisect good 9ef1954096d000910d2de5d2ebb01c4059f7bf7c # 19:12 66+ 0 Add linux-next specific files for 20160523
This script may reproduce the error.
----------------------------------------------------------------------------
#!/bin/bash
kernel=$1
initrd=quantal-core-x86_64.cgz
wget --no-clobber https://github.com/fengguang/reproduce-kernel-bug/raw/master/initrd/$initrd
kvm=(
qemu-system-x86_64
-enable-kvm
-cpu kvm64
-kernel $kernel
-initrd $initrd
-m 812
-smp 2
-device e1000,netdev=net0
-netdev user,id=net0
-boot order=nc
-no-reboot
-watchdog i6300esb
-rtc base=localtime
-serial stdio
-display none
-monitor null
)
append=(
hung_task_panic=1
earlyprintk=ttyS0,115200
systemd.log_level=err
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[*]}"
----------------------------------------------------------------------------
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
6 years, 2 months
[block] e0d3dd5854: INFO: suspicious RCU usage. ]
by kernel test robot
FYI, we noticed the following commit:
https://github.com/0day-ci/linux Shaohua-Li/block-throttle-prepare-support-multiple-limits/20160511-082233
commit e0d3dd5854af35d080411e2c51308f58f72ed18b ("block-throttle: add .low interface")
on test machine: vm-kbuild-1G: 2 threads qemu-system-x86_64 -enable-kvm -cpu Haswell,+smep,+smap with 1G memory
caused below changes:
+------------------------------+------------+------------+
| | dd11b46868 | e0d3dd5854 |
+------------------------------+------------+------------+
| boot_successes | 4 | 0 |
| boot_failures | 0 | 3 |
| INFO:suspicious_RCU_usage | 0 | 3 |
| backtrace:async_run_entry_fn | 0 | 3 |
+------------------------------+------------+------------+
[ 10.334955] scsi host0: Virtio SCSI HBA
[ 10.344798]
[ 10.345419] ===============================
[ 10.346304] [ INFO: suspicious RCU usage. ]
[ 10.347214] 4.6.0-rc3-00122-ge0d3dd5 #2 Not tainted
[ 10.348196] -------------------------------
[ 10.349134] kernel/cgroup.c:4037 cgroup_mutex or RCU read lock required!
[ 10.350853]
[ 10.350853] other info that might help us debug this:
[ 10.350853]
[ 10.352921]
[ 10.352921] rcu_scheduler_active = 1, debug_locks = 0
[ 10.354431] 5 locks held by kworker/u4:3/110:
[ 10.355327] #0: ("events_unbound"){.+.+.+}, at: [<ffffffff810b86a5>] process_one_work+0x18d/0x63b
[ 10.357444] #1: ((&entry->work)
[ 10.357887] tun: Universal TUN/TAP device driver, 1.6
[ 10.357887] tun: (C) 1999-2004 Max Krasnyansky <maxk(a)qualcomm.com>
[ 10.360437] ){+.+.+.}, at: [<ffffffff810b86a5>] process_one_work+0x18d/0x63b
[ 10.362235] #2: (&shost->scan_mutex){+.+.+.}, at: [<ffffffff81773c0f>] scsi_scan_host_selected+0x7c/0x104
[ 10.364398] #3: (&(&q->__queue_lock)->rlock){..-...}, at: [<ffffffff81541545>] blkcg_exit_queue+0x19/0x38
[ 10.366652] #4: (&(&blkcg->lock)->rlock){......}, at: [<ffffffff81540702>] blkg_destroy_all+0x78/0xb4
[ 10.368788]
[ 10.368788] stack backtrace:
[ 10.370073] CPU: 0 PID: 110 Comm: kworker/u4:3 Not tainted 4.6.0-rc3-00122-ge0d3dd5 #2
[ 10.371731] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 10.373494] Workqueue: events_unbound async_run_entry_fn
[ 10.374583] 0000000000000000 ffff880035d67578 ffffffff8154f4de ffff880035d52ac0
[ 10.376444] 0000000000000001 ffff880035d675a8 ffffffff810e7088 0000000000000000
[ 10.378332] 0000000000000000 ffffffff836f0240 ffff88003e48ca90 ffff880035d675d0
[ 10.380214] Call Trace:
[ 10.380896] [<ffffffff8154f4de>] dump_stack+0x86/0xc0
[ 10.381873] [<ffffffff810e7088>] lockdep_rcu_suspicious+0xf7/0x100
[ 10.383006] [<ffffffff8113814a>] css_next_descendant_post+0x5e/0xb9
[ 10.384125] [<ffffffff81541767>] blk_throtl_update_valid_limit+0x30/0x133
[ 10.385276] [<ffffffff815418aa>] throtl_pd_offline+0x40/0x63
[ 10.386347] [<ffffffff81540463>] blkg_destroy+0xf6/0x31d
[ 10.387362] [<ffffffff810e527c>] ? noop_count+0xb/0xb
[ 10.388348] [<ffffffff811561cb>] ? is_ftrace_trampoline+0x4b/0x71
[ 10.389446] [<ffffffff810bd26b>] ? __kernel_text_address+0x37/0x55
[ 10.390556] [<ffffffff81064784>] ? print_context_stack+0x6f/0xde
[ 10.391635] [<ffffffff810e527c>] ? noop_count+0xb/0xb
[ 10.392615] [<ffffffff810e8073>] ? check_usage+0xda/0x5bc
[ 10.393695] [<ffffffff810e6761>] ? add_lock_to_list+0x84/0x8b
[ 10.395323] [<ffffffff810ea813>] ? __lock_acquire+0x16ef/0x191e
[ 10.396434] [<ffffffff810e85de>] ? check_irq_usage+0x89/0x9a
[ 10.397489] [<ffffffff810e85de>] ? check_irq_usage+0x89/0x9a
[ 10.398539] [<ffffffff810ea327>] ? __lock_acquire+0x1203/0x191e
[ 10.399617] [<ffffffff810eb287>] ? lock_acquire+0x188/0x223
[ 10.400663] [<ffffffff81540702>] ? blkg_destroy_all+0x78/0xb4
[ 10.401719] [<ffffffff8154070d>] blkg_destroy_all+0x83/0xb4
[ 10.402759] [<ffffffff8154154d>] blkcg_exit_queue+0x21/0x38
[ 10.403798] [<ffffffff81529caf>] blk_release_queue+0x2b/0xd7
[ 10.404847] [<ffffffff8155160f>] kobject_put+0x81/0x95
[ 10.405840] [<ffffffff815235f2>] blk_put_queue+0x15/0x17
[ 10.406852] [<ffffffff81774ada>] scsi_device_dev_release_usercontext+0xbf/0x10f
[ 10.408484] [<ffffffff81774a1b>] ? scsi_device_dev_release+0x1e/0x1e
[ 10.409598] [<ffffffff810b8bb1>] execute_in_process_context+0x2b/0x87
[ 10.410734] [<ffffffff81774a19>] scsi_device_dev_release+0x1c/0x1e
[ 10.411832] [<ffffffff817268f4>] device_release+0x59/0x8e
[ 10.412851] [<ffffffff8155160f>] kobject_put+0x81/0x95
[ 10.413839] [<ffffffff81726c5c>] put_device+0x17/0x19
[ 10.414826] [<ffffffff817758cf>] __scsi_remove_device+0xcb/0xd0
[ 10.415895] [<ffffffff81772bf7>] scsi_probe_and_add_lun+0x2f0/0x936
[ 10.417031] [<ffffffff81773890>] __scsi_scan_target+0xaa/0x1cf
[ 10.418088] [<ffffffff81773ae6>] scsi_scan_channel+0x65/0x7f
[ 10.419134] [<ffffffff81773c62>] scsi_scan_host_selected+0xcf/0x104
[ 10.420245] [<ffffffff81773d07>] do_scsi_scan_host+0x70/0x75
[ 10.421293] [<ffffffff81773eca>] do_scan_async+0x1c/0x15c
[ 10.422316] [<ffffffff810c1308>] async_run_entry_fn+0x39/0xc3
[ 10.423375] [<ffffffff810b8813>] process_one_work+0x2fb/0x63b
[ 10.424439] [<ffffffff810b96d9>] worker_thread+0x24f/0x384
[ 10.425464] [<ffffffff810b948a>] ? rescuer_thread+0x2ba/0x2ba
[ 10.426520] [<ffffffff810be619>] kthread+0xfb/0x103
[ 10.427483] [<ffffffff81cb5272>] ret_from_fork+0x22/0x50
[ 10.428524] [<ffffffff810be51e>] ? kthread_create_on_node+0x1ca/0x1ca
[ 10.430483] Atheros(R) L2 Ethernet Driver - version 2.2.3
[ 10.431413] scsi 0:0:1:0: Direct-Access QEMU QEMU HARDDISK 2.4. PQ: 0 ANSI: 5
[ 10.433419] Copyright (c) 2007 Atheros Corporation.
FYI, raw QEMU command line is:
qemu-system-x86_64 -enable-kvm -cpu Haswell,+smep,+smap -kernel /pkg/linux/x86_64-nfsroot/gcc-6/e0d3dd5854af35d080411e2c51308f58f72ed18b/vmlinuz-4.6.0-rc3-00122-ge0d3dd5 -append 'root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-kbuild-1G-8/bisect_boot-1-debian-x86_64-2015-02-07.cgz-x86_64-nfsroot-e0d3dd5854af35d080411e2c51308f58f72ed18b-20160523-89777-1kpfl6n-0.yaml ARCH=x86_64 kconfig=x86_64-nfsroot branch=linux-devel/devel-hourly-2016051922 commit=e0d3dd5854af35d080411e2c51308f58f72ed18b BOOT_IMAGE=/pkg/linux/x86_64-nfsroot/gcc-6/e0d3dd5854af35d080411e2c51308f58f72ed18b/vmlinuz-4.6.0-rc3-00122-ge0d3dd5 max_uptime=600 RESULT_ROOT=/result/boot/1/vm-kbuild-1G/debian-x86_64-2015-02-07.cgz/x86_64-nfsroot/gcc-6/e0d3dd5854af35d080411e2c51308f58f72ed18b/0 LKP_SERVER=inn earlyprintk=ttyS0,115200 systemd.log_level=err 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 rw ip=::::vm-kbuild-1G-8::dhcp' -initrd /fs/sdc1/initrd-vm-kbuild-1G-8 -m 1024 -smp 2 -device e1000,netdev=net0 -netdev user,id=net0,hostfwd=tcp::23007-:22 -boot order=nc -no-reboot -watchdog i6300esb -rtc base=localtime -device virtio-scsi-pci,id=scsi0 -drive file=/fs/sdc1/disk0-vm-kbuild-1G-8,if=none,id=hd0,media=disk,aio=native,cache=none -device scsi-hd,bus=scsi0.0,drive=hd0,scsi-id=1,lun=0 -drive file=/fs/sdc1/disk1-vm-kbuild-1G-8,if=none,id=hd1,media=disk,aio=native,cache=none -device scsi-hd,bus=scsi0.0,drive=hd1,scsi-id=1,lun=1 -drive file=/fs/sdc1/disk2-vm-kbuild-1G-8,if=none,id=hd2,media=disk,aio=native,cache=none -device scsi-hd,bus=scsi0.0,drive=hd2,scsi-id=1,lun=2 -drive file=/fs/sdc1/disk3-vm-kbuild-1G-8,if=none,id=hd3,media=disk,aio=native,cache=none -device scsi-hd,bus=scsi0.0,drive=hd3,scsi-id=1,lun=3 -drive file=/fs/sdc1/disk4-vm-kbuild-1G-8,if=none,id=hd4,media=disk,aio=native,cache=none -device scsi-hd,bus=scsi0.0,drive=hd4,scsi-id=1,lun=4 -pidfile /dev/shm/kboot/pid-vm-kbuild-1G-8 -serial file:/dev/shm/kboot/serial-vm-kbuild-1G-8 -daemonize -display none -monitor null
Thanks,
Kernel Test Robot
6 years, 2 months
[x86] ad81363cd6: kernel BUG at lib/atomic64_test.c:184!
by kernel test robot
FYI, we noticed the following commit:
https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs iso-atomic
commit ad81363cd63bc4700ad2f98e91cb20faf81e5c04 ("x86: Use ISO atomics")
on test machine: vm-vp-quantal-x86_64: 2 threads qemu-system-x86_64 -enable-kvm with 360M memory
caused below changes:
+------------------------------------------+------------+------------+
| | 2359154bd8 | ad81363cd6 |
+------------------------------------------+------------+------------+
| boot_successes | 10 | 0 |
| boot_failures | 0 | 10 |
| kernel_BUG_at_lib/atomic64_test.c | 0 | 10 |
| invalid_opcode:#[##]SMP | 0 | 10 |
| RIP:test_atomic64 | 0 | 10 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 10 |
| backtrace:test_atomics | 0 | 10 |
| backtrace:kernel_init_freeable | 0 | 10 |
+------------------------------------------+------------+------------+
[ 0.949900] generic_sse: 17784.000 MB/sec
[ 0.950806] xor: using function: prefetch64-sse (19576.000 MB/sec)
[ 0.951956] ------------[ cut here ]------------
[ 0.952898] kernel BUG at lib/atomic64_test.c:184!
[ 0.954041] invalid opcode: 0000 [#1] SMP
[ 0.955069] Modules linked in:
[ 0.955936] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.6.0-00010-gad81363 #1
[ 0.957161] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 0.958950] task: ffff880013028040 ti: ffff880013030000 task.ti: ffff880013030000
[ 0.960559] RIP: 0010:[<ffffffff827f6ac0>] [<ffffffff827f6ac0>] test_atomic64+0x9c2/0x9c4
[ 0.962392] RSP: 0000:ffff880013033e78 EFLAGS: 00010246
[ 0.963427] RAX: 1111111122222222 RBX: ffffffff827f6ac2 RCX: deadbeefdeafcafe
[ 0.964645] RDX: 1111111122222221 RSI: aaa31337c001d00d RDI: 0000000000000246
[ 0.965842] RBP: ffff880013033e88 R08: 2002011000001001 R09: ffff8800131f0000
[ 0.967053] R10: ffff880013033e70 R11: ffffffff821b37a0 R12: ffff8800131f0008
[ 0.968272] R13: 0000000000000000 R14: ffffffff8241d050 R15: ffff880013dd63c0
[ 0.969481] FS: 0000000000000000(0000) GS:ffff880013c00000(0000) knlGS:0000000000000000
[ 0.971179] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 0.972239] CR2: 00000000ffffffff CR3: 0000000002418000 CR4: 00000000000006f0
[ 0.973445] Stack:
[ 0.974101] 1111111122222221 1111111122222222 ffff880013033e98 ffffffff827f6ad0
[ 0.975976] ffff880013033f08 ffffffff81000403 ffffffff823a7000 ffffffff8239fd88
[ 0.977856] ffff880014e1550e 0000000000000200 ffffffff821f5075 0000000000000001
[ 0.979738] Call Trace:
[ 0.980451] [<ffffffff827f6ad0>] test_atomics+0xe/0xe
[ 0.981450] [<ffffffff81000403>] do_one_initcall+0xe8/0x17b
[ 0.982504] [<ffffffff827af83a>] ? set_debug_rodata+0x12/0x12
[ 0.983572] [<ffffffff827b00d4>] kernel_init_freeable+0x1cf/0x257
[ 0.984672] [<ffffffff81cac102>] kernel_init+0xe/0xf5
[ 0.985669] [<ffffffff81cba772>] ret_from_fork+0x22/0x50
[ 0.986687] [<ffffffff81cac0f4>] ? rest_init+0x13b/0x13b
[ 0.987713] Code: 22 22 11 11 11 11 48 89 45 f0 48 8b 45 f0 48 89 45 f8 48 8b 45 f8 48 85 c0 7e 10 48 8d 50 ff 48 8b 45 f8 f0 48 0f b1 55 f0 75 e3 <0f> 0b 55 48 89 e5 e8 fd ee ff ff e8 2e f6 ff ff 55 45 31 c9 48
[ 0.995163] RIP [<ffffffff827f6ac0>] test_atomic64+0x9c2/0x9c4
[ 0.996308] RSP <ffff880013033e78>
[ 0.997140] ---[ end trace b63161db4a10d7b2 ]---
[ 0.998082] Kernel panic - not syncing: Fatal exception
FYI, raw QEMU command line is:
qemu-system-x86_64 -enable-kvm -kernel /pkg/linux/x86_64-nfsroot/gcc-6/ad81363cd63bc4700ad2f98e91cb20faf81e5c04/vmlinuz-4.6.0-00010-gad81363 -append 'root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-vp-quantal-x86_64-61/bisect_boot-1-quantal-core-x86_64.cgz-x86_64-nfsroot-ad81363cd63bc4700ad2f98e91cb20faf81e5c04-20160523-106725-1xpyqfq-0.yaml ARCH=x86_64 kconfig=x86_64-nfsroot branch=linux-devel/devel-hourly-2016052013 commit=ad81363cd63bc4700ad2f98e91cb20faf81e5c04 BOOT_IMAGE=/pkg/linux/x86_64-nfsroot/gcc-6/ad81363cd63bc4700ad2f98e91cb20faf81e5c04/vmlinuz-4.6.0-00010-gad81363 max_uptime=600 RESULT_ROOT=/result/boot/1/vm-vp-quantal-x86_64/quantal-core-x86_64.cgz/x86_64-nfsroot/gcc-6/ad81363cd63bc4700ad2f98e91cb20faf81e5c04/0 LKP_SERVER=inn earlyprintk=ttyS0,115200 systemd.log_level=err 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 rw ip=::::vm-vp-quantal-x86_64-61::dhcp drbd.minor_count=8' -initrd /fs/sdd1/initrd-vm-vp-quantal-x86_64-61 -m 360 -smp 2 -device e1000,netdev=net0 -netdev user,id=net0 -boot order=nc -no-reboot -watchdog i6300esb -rtc base=localtime -pidfile /dev/shm/kboot/pid-vm-vp-quantal-x86_64-61 -serial file:/dev/shm/kboot/serial-vm-vp-quantal-x86_64-61 -daemonize -display none -monitor null
Thanks,
Kernel Test Robot
6 years, 2 months
[sched/fair] b5179ac70d: INFO: task killall5:11539 blocked for more than 120 seconds.
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
commit b5179ac70de85ef477cedf8b026a57913754cf1e
Author: Peter Zijlstra <peterz(a)infradead.org>
AuthorDate: Wed May 11 16:10:34 2016 +0200
Commit: Ingo Molnar <mingo(a)kernel.org>
CommitDate: Thu May 12 09:55:31 2016 +0200
sched/fair: Prepare to fix fairness problems on migration
Mike reported that our recent attempt to fix migration problems:
3a47d5124a95 ("sched/fair: Fix fairness issue on migration")
broke interactivity and the signal starve test. We reverted that
commit and now let's try it again more carefully, with some other
underlying problems fixed first.
One problem is that I assumed ENQUEUE_WAKING was only set when we do a
cross-cpu wakeup (migration), which isn't true. This means we now
destroy the vruntime history of tasks and wakeup-preemption suffers.
Cure this by making my assumption true, only call
sched_class::task_waking() when we do a cross-cpu wakeup. This avoids
the indirect call in the case we do a local wakeup.
Reported-by: Mike Galbraith <mgalbraith(a)suse.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz(a)infradead.org>
Cc: Andrew Hunter <ahh(a)google.com>
Cc: Ben Segall <bsegall(a)google.com>
Cc: Linus Torvalds <torvalds(a)linux-foundation.org>
Cc: Matt Fleming <matt(a)codeblueprint.co.uk>
Cc: Mike Galbraith <efault(a)gmx.de>
Cc: Morten Rasmussen <morten.rasmussen(a)arm.com>
Cc: Paul Turner <pjt(a)google.com>
Cc: Pavan Kondeti <pkondeti(a)codeaurora.org>
Cc: Peter Zijlstra <peterz(a)infradead.org>
Cc: Thomas Gleixner <tglx(a)linutronix.de>
Cc: byungchul.park(a)lge.com
Cc: linux-kernel(a)vger.kernel.org
Fixes: 3a47d5124a95 ("sched/fair: Fix fairness issue on migration")
Signed-off-by: Ingo Molnar <mingo(a)kernel.org>
+--------------------------------------------------+------------+------------+------------+
| | c58d25f371 | b5179ac70d | c660ebcab5 |
+--------------------------------------------------+------------+------------+------------+
| boot_successes | 1203 | 257 | 54 |
| boot_failures | 17 | 49 | 3 |
| BUG:kernel_test_crashed | 17 | 24 | 1 |
| INFO:task_blocked_for_more_than#seconds | 0 | 17 | 3 |
| RIP:__sanitizer_cov_trace_pc | 0 | 2 | |
| RIP:native_apic_mem_write | 0 | 46 | 3 |
| Kernel_panic-not_syncing:hung_task:blocked_tasks | 0 | 46 | 3 |
| backtrace:lru_add_drain_all | 0 | 29 | 2 |
| backtrace:SyS_mlockall | 0 | 28 | 2 |
| backtrace:lock_torture_writer | 0 | 36 | 3 |
| backtrace:watchdog | 0 | 46 | 3 |
| invoked_oom-killer:gfp_mask=0x | 0 | 2 | |
| Mem-Info | 0 | 2 | |
| Out_of_memory:Kill_process | 0 | 2 | |
| backtrace:vfs_read | 0 | 1 | |
| backtrace:SyS_read | 0 | 1 | |
| RIP:native_safe_halt | 0 | 10 | |
| backtrace:cpu_startup_entry | 0 | 10 | |
| RIP:lock_is_held | 0 | 7 | |
| backtrace:do_mlock | 0 | 13 | |
| backtrace:SyS_mlock | 0 | 13 | |
| RIP:debug_lockdep_rcu_enabled | 0 | 5 | |
| backtrace:do_migrate_pages | 0 | 1 | |
| backtrace:SyS_migrate_pages | 0 | 1 | |
| RIP:__fentry | 0 | 1 | |
| INFO:rcu_preempt_detected_stalls_on_CPUs/tasks | 0 | 2 | 1 |
| backtrace:do_sys_open | 0 | 3 | |
| backtrace:SyS_open | 0 | 3 | |
| backtrace:schedule_timeout | 0 | 2 | 1 |
| RIP:stutter_wait | 0 | 1 | |
| backtrace:SyS_move_pages | 0 | 1 | |
| RIP:check_flags | 0 | 6 | 1 |
| RIP:___might_sleep | 0 | 3 | 1 |
| backtrace:do_group_exit | 0 | 1 | |
| backtrace:SyS_exit_group | 0 | 1 | |
| RIP:__lock_is_held | 0 | 2 | |
| RIP:arch_local_irq_restore | 0 | 4 | |
| RIP:fgraph_trace | 0 | 1 | |
| RIP:arch_local_irq_save | 0 | 1 | |
| backtrace:SYSC_newstat | 0 | 1 | |
| backtrace:SyS_newstat | 0 | 1 | |
| RIP:arch_local_save_flags | 0 | 3 | 1 |
| backtrace:tty_ldisc_setup | 0 | 1 | |
| backtrace:tty_init_dev | 0 | 1 | |
| backtrace:_do_fork | 0 | 1 | |
| backtrace:call_usermodehelper_exec_work | 0 | 1 | |
| backtrace:SYSC_perf_event_open | 0 | 0 | 1 |
| backtrace:SyS_perf_event_open | 0 | 0 | 1 |
+--------------------------------------------------+------------+------------+------------+
[ 67.041473] init: hwclock-save main process (11520) terminated with status 70
[ 67.044842] init: plymouth-upstart-bridge main process (11521) terminated with status 1
[ 240.238015] INFO: task killall5:11539 blocked for more than 120 seconds.
[ 240.240672] Not tainted 4.6.0-rc7-00117-gb5179ac #1
[ 240.241466] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
[ 240.242611] killall5 D ffff8800123afcb8 14072 11539 11525 0x00000000
[ 240.243688] ffff8800123afcb8 00ffffff8100f75b ffff8800103d40d8 ffff8800103d40c0
[ 240.244917] ffff88000abe8700 ffff880000610080 ffff8800123b0000 ffff8800123afe50
[ 240.246185] 0000000000000002 ffffffff81456831 ffff8800123afe48 ffff8800123afcd0
[ 240.252329] Call Trace:
[ 240.252687] [<ffffffff81456831>] ? usleep_range+0x66/0x66
[ 240.253454] [<ffffffff814530a9>] schedule+0x30/0x48
[ 240.254150] [<ffffffff8145686f>] schedule_timeout+0x3e/0xfb
[ 240.254947] [<ffffffff814571e2>] ? _raw_spin_unlock_irq+0x2c/0x4e
[ 240.255834] [<ffffffff81456831>] ? usleep_range+0x66/0x66
[ 240.256818] [<ffffffff8127fd5c>] ? __this_cpu_preempt_check+0x1c/0x1f
[ 240.257821] [<ffffffff810a4a4f>] ? trace_hardirqs_on_caller+0x1c2/0x1e1
[ 240.258805] [<ffffffff810a4a7b>] ? trace_hardirqs_on+0xd/0xf
[ 240.260274] [<ffffffff81453a06>] __wait_for_common+0x12d/0x176
[ 240.261172] [<ffffffff81453a06>] ? __wait_for_common+0x12d/0x176
[ 240.262080] [<ffffffff8109076f>] ? wake_up_q+0x4c/0x4c
[ 240.262806] [<ffffffff81453a73>] wait_for_completion+0x24/0x26
[ 240.263637] [<ffffffff8107e1f8>] flush_work+0x25d/0x284
[ 240.264659] [<ffffffff8107c770>] ? flush_workqueue_prep_pwqs+0x233/0x233
[ 240.265638] [<ffffffff81453915>] ? __wait_for_common+0x3c/0x176
[ 240.266492] [<ffffffff81145da0>] lru_add_drain_all+0x1a9/0x1cd
[ 240.267340] [<ffffffff8116a408>] SyS_mlockall+0x65/0x174
[ 240.268181] [<ffffffff81457b3c>] entry_SYSCALL_64_fastpath+0x1f/0xbd
[ 240.269180] [<ffffffff8127fd5c>] ? __this_cpu_preempt_check+0x1c/0x1f
[ 240.270133] [<ffffffff810a1d75>] ? trace_hardirqs_off_caller+0xf1/0x13e
[ 240.271115] 2 locks held by killall5/11539:
[ 240.271725] #0: (lock#2){+.+...}, at: [<ffffffff81145c2b>] lru_add_drain_all+0x34/0x1cd
[ 240.273144] #1: (cpu_hotplug.lock){++++++}, at: [<ffffffff81066077>] get_online_cpus+0x33/0x84
[ 240.274532] Sending NMI to all CPUs:
[ 240.275434] NMI backtrace for cpu 0
[ 240.276270] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.6.0-rc7-00117-gb5179ac #1
[ 240.277354] task: ffffffff81a0b540 ti: ffffffff81a00000 task.ti: ffffffff81a00000
[ 240.278434] RIP: 0010:[<ffffffff810229a1>] [<ffffffff810229a1>] native_safe_halt+0x6/0x8
[ 240.279629] RSP: 0018:ffffffff81a03ec0 EFLAGS: 00000202
[ 240.280463] RAX: ffffffff81a0b540 RBX: 0000000000000000 RCX: 0000000000000000
[ 240.281502] RDX: ffffffff81a0b540 RSI: ffffffff81774d6d RDI: ffffffff8179782d
[ 240.282556] RBP: ffffffff81a03ec0 R08: 0000000000000000 R09: 0000000000000000
[ 240.283587] R10: ffffffff81a03df8 R11: 0000000000000001 R12: ffffffff81a00000
[ 240.284668] R13: 0000000000000000 R14: ffffffff81a00000 R15: ffffffff81a04000
[ 240.285724] FS: 0000000000000000(0000) GS:ffff880010200000(0000) knlGS:0000000000000000
[ 240.286896] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 240.287732] CR2: 00007f4b74889688 CR3: 00000000121e7000 CR4: 00000000000006b0
[ 240.289081] DR0: 0000000000c3b4f0 DR1: 0000000000000000 DR2: 0000000000000000
[ 240.290123] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
[ 240.291155] Stack:
[ 240.291463] ffffffff81a03ed0 ffffffff810104cd ffffffff81a03ee0 ffffffff81010ac1
[ 240.292702] ffffffff81a03ef0 ffffffff8109fd9e ffffffff81a03f38 ffffffff8109ff09
[ 240.293780] ffffffff8108dea6 ffffffff81a00000 0000000000000002 0000000000000000
[ 240.294845] Call Trace:
[ 240.295220] [<ffffffff810104cd>] default_idle+0x24/0x37
[ 240.297607] [<ffffffff81010ac1>] arch_cpu_idle+0xf/0x11
[ 240.298394] [<ffffffff8109fd9e>] default_idle_call+0x28/0x2f
[ 240.299255] [<ffffffff8109ff09>] cpu_startup_entry+0x164/0x224
[ 240.300393] [<ffffffff8108dea6>] ? preempt_latency_start+0x21/0x57
[ 240.301316] [<ffffffff81450b71>] rest_init+0x168/0x16e
[ 240.302080] [<ffffffff81c7f0c3>] ? trace_event_define_fields_x86_irq_vector+0x2c/0x2c
[ 240.303240] [<ffffffff81c7c0cf>] start_kernel+0x449/0x456
[ 240.304098] [<ffffffff81c7b120>] ? early_idt_handler_array+0x120/0x120
[ 240.305064] [<ffffffff81c7b2b8>] x86_64_start_reservations+0x2a/0x2c
[ 240.306019] [<ffffffff81c7b3e8>] x86_64_start_kernel+0x12e/0x13d
[ 240.306902] Code: 48 89 e5 0f 09 5d c3 55 48 89 e5 9c 58 5d c3 55 48 89 e5 57 9d 5d c3 55 48 89 e5 fa 5d c3 55 48 89 e5 fb 5d c3 55 48 89 e5 fb f4 <5d> c3 55 48 89 e5 f4 5d c3 55 49 89 c9 49 89 d0 8b 07 48 89 e5
[ 240.310774] NMI backtrace for cpu 1
[ 240.311313] CPU: 1 PID: 18 Comm: khungtaskd Not tainted 4.6.0-rc7-00117-gb5179ac #1
[ 240.312645] task: ffff88000fed0480 ti: ffff88000fed4000 task.ti: ffff88000fed4000
[ 240.313730] RIP: 0010:[<ffffffff8101b7d4>] [<ffffffff8101b7d4>] native_apic_mem_write+0xc/0xe
[ 240.314964] RSP: 0018:ffff88000fed7d28 EFLAGS: 00000046
[ 240.315752] RAX: 0000000000000000 RBX: 0000000000000c00 RCX: 0000000000000002
[ 240.316969] RDX: 0000000000000002 RSI: 0000000000000c00 RDI: 0000000000000300
[ 240.318010] RBP: ffff88000fed7d28 R08: 0000000000000001 R09: 0000000000000000
[ 240.319069] R10: ffffffff8245eea0 R11: 0000000000000001 R12: 0000000000000002
[ 240.320153] R13: 0000000000000003 R14: 0000000000000001 R15: ffffffff8101c649
[ 240.321190] FS: 0000000000000000(0000) GS:ffff880010400000(0000) knlGS:0000000000000000
[ 240.322369] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 240.323214] CR2: 00007f86055713d0 CR3: 0000000001a06000 CR4: 00000000000006a0
[ 240.324519] DR0: 0000000000c3b4f0 DR1: 0000000000000000 DR2: 0000000000000000
[ 240.325581] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000600
[ 240.326614] Stack:
[ 240.326929] ffff88000fed7d50 ffffffff8101b883 0000000000000286 0000000000000040
[ 240.328078] 00000000001cf960 ffff88000fed7d78 ffffffff8101eb62 0000000000000003
[ 240.329176] 000000028179477f ffffffff8179477f ffff88000fed7d88 ffffffff8101ec2c
[ 240.330247] Call Trace:
[ 240.330615] [<ffffffff8101b883>] __default_send_IPI_dest_field+0x58/0x5f
[ 240.331597] [<ffffffff8101eb62>] _flat_send_IPI_mask+0x41/0x68
[ 240.332655] [<ffffffff8101ec2c>] flat_send_IPI_mask+0x11/0x13
[ 240.333515] [<ffffffff8101c664>] nmi_raise_cpu_backtrace+0x1b/0x1d
[ 240.334424] [<ffffffff812660ee>] nmi_trigger_all_cpu_backtrace+0x12a/0x293
[ 240.335441] [<ffffffff8101c695>] arch_trigger_all_cpu_backtrace+0x19/0x1b
[ 240.336749] [<ffffffff810f49cd>] watchdog+0x407/0x4b0
[ 240.337514] [<ffffffff810f45c6>] ? rcu_read_lock+0x84/0x84
[ 240.338333] [<ffffffff81086a7f>] kthread+0xe3/0xf2
[ 240.339070] [<ffffffff810a4a4f>] ? trace_hardirqs_on_caller+0x1c2/0x1e1
[ 240.340095] [<ffffffff81457d72>] ret_from_fork+0x22/0x50
[ 240.340879] [<ffffffff8108699c>] ? kthread_worker_fn+0x163/0x163
[ 240.341769] Code: 90 66 90 5d c3 55 48 89 e5 57 9d 66 66 90 66 90 5d c3 55 48 89 e5 fa 66 66 90 66 66 90 5d c3 55 89 ff 48 89 e5 89 b7 00 d0 5f ff <5d> c3 55 48 89 e5 8b 04 25 00 d3 5f ff 0f ba e0 0c 73 04 f3 90
[ 240.344776] Kernel panic - not syncing: hung_task: blocked tasks
[ 240.345779] CPU: 1 PID: 18 Comm: khungtaskd Not tainted 4.6.0-rc7-00117-gb5179ac #1
[ 240.346874] 00000000ffffffff ffff88000fed7d70 ffffffff81261683 ffffffff0fed0480
[ 240.348191] ffffffff8177e39e ffff88000fed7e00 0000000000000002 ffff88000fed7df0
[ 240.348713] ffffffff81132d3b ffff880000000008 ffff88000fed7e00 ffff88000fed7d98
[ 240.348713] Call Trace:
[ 240.348713] [<ffffffff81261683>] dump_stack+0xb1/0x103
[ 240.348713] [<ffffffff81132d3b>] panic+0xfa/0x2a7
[ 240.348713] [<ffffffff810f49d9>] watchdog+0x413/0x4b0
[ 240.348713] [<ffffffff810f45c6>] ? rcu_read_lock+0x84/0x84
[ 240.348713] [<ffffffff81086a7f>] kthread+0xe3/0xf2
[ 240.348713] [<ffffffff810a4a4f>] ? trace_hardirqs_on_caller+0x1c2/0x1e1
[ 240.348713] [<ffffffff81457d72>] ret_from_fork+0x22/0x50
[ 240.348713] [<ffffffff8108699c>] ? kthread_worker_fn+0x163/0x163
[ 240.348713] Kernel Offset: disabled
Elapsed time: 250
git bisect start c660ebcab59299b0f78d34625284a5582658bb56 2dcd0af568b0cf583645c8a317dd12e344b1c72a --
git bisect bad 9ae4681372e9ca0410ca000a0b59063d7ae07512 # 13:37 240- 15 Merge 'uml/linux-next' into devel-spot-201605221230
git bisect bad 12fa4247b3496ba213577c3631e78fe77d5c4c1f # 13:46 268- 9 Merge 'anttip-media/zd1301' into devel-spot-201605221230
git bisect bad 37c97bf7a28b106b395467b1ca3e4ba6cb730b22 # 13:52 300- 9 Merge 'linux-review/Dexuan-Cui/Drivers-hv-vmbus-fix-the-race-when-querying-updating-the-percpu-list/20160522-122421' into devel-spot-201605221230
git bisect good 801cd38d92b5318f9f5b9ac98993ddde2f20cedd # 13:58 309+ 5 0day base guard for 'devel-spot-201605221230'
git bisect bad f7df9be067160eef52f04bd2f137a20683fb1c12 # 14:05 296- 6 Merge tag 'armsoc-dt' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
git bisect good 917fa5353da05e8a0045b8acacba8d50400d5b12 # 14:12 306+ 3 Revert "phy dp83867: Fix compilation with CONFIG_OF_MDIO=m"
git bisect bad 46c13450624e36302547a2ac3695f2350fe7ffc3 # 14:20 157- 4 Merge tag 'acpi-4.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
git bisect good 07dc900e17a94681877b5797ce62ba97fa170400 # 15:10 308+ 3 perf/x86: Move Kconfig.perf and other perf configuration bits to events/Kconfig
git bisect bad 62a0027839a4a69bc5d2696672242019a6bb6221 # 15:18 279- 6 Merge branch 'x86-debug-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good 3f56e687a138481894a1088d5aa7d41951bdb020 # 15:25 310+ 8 perf/core: Disable the event on a truncated AUX record
git bisect good cf6ed9a6682d3f171cf9550d4bbe0ef31b768a7e # 15:31 309+ 4 Merge branch 'ras-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good 4afd0565552c87f23834db9121dd9cf6955d0b43 # 15:37 309+ 5 x86/arch_prctl/64: Restore accidentally removed put_cpu() in ARCH_SET_GS
git bisect bad 1be0eb2a97d756fb7dd8c9baf372d81fa9699c09 # 15:44 294- 7 sched/fair: Clean up scale confusion
git bisect good 2159197d66770ec01f75c93fb11dc66df81fd45b # 15:51 309+ 12 sched/core: Enable increased load resolution on 64-bit kernels
git bisect good e5ef27d0f5acf9f1db2882d7546a41c021f66820 # 15:57 310+ 4 sched: Make hrtick_notifier an explicit call
git bisect good 8c5e95548d41a48b1eb2be741107a259251ebd86 # 16:02 302+ 5 sched/core: Remove unused variable
git bisect bad b5179ac70de85ef477cedf8b026a57913754cf1e # 16:11 194- 27 sched/fair: Prepare to fix fairness problems on migration
git bisect good 4eb867651721228ee2eeae142c53378375303e8b # 16:23 301+ 2 Merge branch 'smp/hotplug' into sched/core, to resolve conflicts
git bisect good c58d25f371f5e4b2dfbec3a7bd6f3c24dd79095b # 17:10 303+ 3 sched/fair: Move record_wakee()
# first bad commit: [b5179ac70de85ef477cedf8b026a57913754cf1e] sched/fair: Prepare to fix fairness problems on migration
git bisect good c58d25f371f5e4b2dfbec3a7bd6f3c24dd79095b # 18:02 905+ 17 sched/fair: Move record_wakee()
# extra tests with DEBUG_INFO
git bisect bad b5179ac70de85ef477cedf8b026a57913754cf1e # 18:09 382- 13 sched/fair: Prepare to fix fairness problems on migration
# extra tests on HEAD of linux-devel/devel-spot-201605221230
git bisect bad c660ebcab59299b0f78d34625284a5582658bb56 # 18:09 0- 3 0day head guard for 'devel-spot-201605221230'
# extra tests on tree/branch linus/master
git bisect bad f6c658df63856db3bf8f467024b1dbee37b5399c # 18:21 151- 5 Merge tag 'for-f2fs-4.7' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs
# extra tests on tree/branch linus/master
git bisect bad f6c658df63856db3bf8f467024b1dbee37b5399c # 18:21 0- 5 Merge tag 'for-f2fs-4.7' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs
# extra tests on tree/branch linux-next/master
This script may reproduce the error.
----------------------------------------------------------------------------
#!/bin/bash
kernel=$1
initrd=quantal-core-x86_64.cgz
wget --no-clobber https://github.com/fengguang/reproduce-kernel-bug/raw/master/initrd/$initrd
kvm=(
qemu-system-x86_64
-enable-kvm
-cpu kvm64
-kernel $kernel
-initrd $initrd
-m 300
-smp 2
-device e1000,netdev=net0
-netdev user,id=net0
-boot order=nc
-no-reboot
-watchdog i6300esb
-rtc base=localtime
-serial stdio
-display none
-monitor null
)
append=(
hung_task_panic=1
earlyprintk=ttyS0,115200
systemd.log_level=err
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[*]}"
----------------------------------------------------------------------------
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
6 years, 2 months
[drivers/of] ac78f9bdcf: BUG: KASAN: stack-out-of-bounds in unflatten_dt_nodes at addr ffff88000d8df7a0
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
commit ac78f9bdcf3836cafcd114a76a9473380a3faef5
Author: Rhyland Klein <rklein(a)nvidia.com>
AuthorDate: Wed May 11 13:36:57 2016 -0400
Commit: Rob Herring <robh(a)kernel.org>
CommitDate: Mon May 16 07:56:04 2016 -0500
drivers/of: Fix depth when unflattening devicetree
When the implementation for unflatten_dt_node() changed from being
recursive to being non-recursive, it had a side effect of increasing the
depth passed to fdt_next_node() by 1. This is fine most of the time, but
it seems that when the end of the dtb is being parsed, it will cause the
FDT_END condition in fdt_next_node() to return a different value
(returning nextoffset instead of -FDT_ERR_NOTFOUND). This ends up passing
an FDT_ERR_TRUNCATED error back to the unflatten_dt_node() which then
sees that and complains "Error -8 processing FDT" causing boot to fail.
This patch simply avoids incrementing depth and uses modified accesses
for local array indices so that the depth is the same as it was before
the change as far as fdt_next_node() is concerned.
This problem was discovered trying to boot Tegra210-Smaug platforms.
Fixes: 50800082f176 ("drivers/of: Avoid recursively calling unflatten_dt_node()")
Signed-off-by: Rhyland Klein <rklein(a)nvidia.com>
Signed-off-by: Rob Herring <robh(a)kernel.org>
+-------------------------------------------------------------+------------+------------+------------+
| | b9c43856f2 | ac78f9bdcf | aae7be9bc8 |
+-------------------------------------------------------------+------------+------------+------------+
| boot_successes | 190 | 0 | 0 |
| boot_failures | 0 | 66 | 24 |
| BUG:KASAN:stack-out-of-bounds_in_unflatten_dt_nodes_at_addr | 0 | 66 | 24 |
| backtrace:of_unittest | 0 | 66 | 24 |
| backtrace:kernel_init_freeable | 0 | 66 | 24 |
+-------------------------------------------------------------+------------+------------+------------+
[ 36.335087] Key type encrypted registered
[ 36.349176] AppArmor: AppArmor sha1 policy hashing enabled
[ 36.391653] ==================================================================
[ 36.405717] BUG: KASAN: stack-out-of-bounds in unflatten_dt_nodes+0x231/0xd7a at addr ffff88000d8df7a0
[ 36.421327] Read of size 8 by task swapper/1
[ 36.432079] page:ffffea00003637c0 count:0 mapcount:0 mapping: (null) index:0x0
[ 36.442473] flags: 0x4000000000000000()
[ 36.445548] page dumped because: kasan: bad access detected
[ 36.457117] CPU: 0 PID: 1 Comm: swapper Not tainted 4.6.0-rc1-00048-gac78f9b #2
[ 36.469190] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 36.484344] 0000000000000000 ffff88000d8df568 ffffffff818d4b39 ffff88000d8df5e0
[ 36.493596] ffffffff81295db9 ffffffff81e08d52 0000000000000246 ffff880000001e88
[ 36.517994] 00000000000105b0 ffff880011e41ea8 00000000000104d0 ffff880011e40000
[ 36.532175] Call Trace:
[ 36.533459] [<ffffffff818d4b39>] dump_stack+0x1e/0x20
[ 36.544725] [<ffffffff81295db9>] kasan_report+0x353/0x49c
[ 36.553440] [<ffffffff81e08d52>] ? unflatten_dt_nodes+0x231/0xd7a
[ 36.562709] [<ffffffff81295f58>] __asan_report_load8_noabort+0x14/0x16
[ 36.575341] [<ffffffff81e08d52>] unflatten_dt_nodes+0x231/0xd7a
[ 36.577596] [<ffffffff81e08b21>] ? reverse_nodes+0xd6/0xd6
[ 36.587133] [<ffffffff811745fc>] ? __module_text_address+0x11/0x110
[ 36.597406] [<ffffffff8110914b>] ? __kernel_text_address+0x24/0x44
[ 36.601351] [<ffffffff8103c2c3>] ? print_context_stack+0x65/0xb1
[ 36.611902] [<ffffffff8103bb77>] ? dump_trace+0x245/0x25b
[ 36.620559] [<ffffffff8117d1bc>] ? get_symbol_pos+0x371/0x383
[ 36.633842] [<ffffffff82c33d92>] ? of_unittest_platform_populate+0x4d2/0x4d2
[ 36.641815] [<ffffffff8117d6ae>] ? kallsyms_expand_symbol+0x192/0x1d1
[ 36.652189] [<ffffffff82c33e7c>] ? of_unittest_check_tree_linkage+0xea/0xea
[ 36.662448] [<ffffffff82c33e7c>] ? of_unittest_check_tree_linkage+0xea/0xea
[ 36.676286] [<ffffffff8117e367>] ? __sprint_symbol+0x17e/0x1b0
[ 36.691194] [<ffffffff8117e1e9>] ? kallsyms_lookup+0x11b/0x11b
[ 36.701171] [<ffffffff81216b7f>] ? split_free_page+0x8c/0x8c
[ 36.711813] [<ffffffff812185b2>] ? get_page_from_freelist+0xdfe/0x1118
[ 36.720849] [<ffffffff81218ac6>] ? __alloc_pages_nodemask+0x1fa/0xd73
[ 36.727927] [<ffffffff812188cc>] ? get_page_from_freelist+0x1118/0x1118
[ 36.732030] [<ffffffff82c33e7c>] ? of_unittest_check_tree_linkage+0xea/0xea
[ 36.749509] [<ffffffff811745fc>] ? __module_text_address+0x11/0x110
[ 36.755189] [<ffffffff8117cc36>] ? is_module_text_address+0xf/0x1d
[ 36.764908] [<ffffffff81294e7b>] ? kasan_poison_shadow+0x2f/0x31
[ 36.773909] [<ffffffff812954cb>] ? kasan_unpoison_shadow+0x14/0x35
[ 36.785266] [<ffffffff81294e7b>] ? kasan_poison_shadow+0x2f/0x31
[ 36.798322] [<ffffffff81e089f4>] ? of_platform_default_populate+0x33/0x33
[ 36.800789] [<ffffffff81e098fc>] __unflatten_device_tree+0x61/0x139
[ 36.811859] [<ffffffff81e09a10>] of_fdt_unflatten_tree+0x3c/0x55
[ 36.821628] [<ffffffff82c33f84>] of_unittest+0x108/0x2d36
[ 36.830554] [<ffffffff8100045d>] ? do_one_initcall+0x144/0x2d5
[ 36.833764] [<ffffffff82c33e7c>] ? of_unittest_check_tree_linkage+0xea/0xea
[ 36.844634] [<ffffffff818da652>] ? kobject_add_internal+0x69e/0x69e
[ 36.859800] [<ffffffff82c33e7c>] ? of_unittest_check_tree_linkage+0xea/0xea
[ 36.866082] [<ffffffff818f8472>] ? kasprintf+0xb8/0xd6
[ 36.874407] [<ffffffff812936e1>] ? kfree+0x119/0x121
[ 36.882068] [<ffffffff82c33e7c>] ? of_unittest_check_tree_linkage+0xea/0xea
[ 36.902597] [<ffffffff810005d5>] do_one_initcall+0x2bc/0x2d5
[ 36.911554] [<ffffffff81000319>] ? try_to_run_init_process+0x43/0x43
[ 36.913905] [<ffffffff8110c205>] ? parse_args+0x60a/0x61d
[ 36.922006] [<ffffffff82bbe987>] kernel_init_freeable+0x28a/0x343
[ 36.931825] [<ffffffff82101a4c>] kernel_init+0x11/0x152
[ 37.021292] [<ffffffff82114a42>] ret_from_fork+0x22/0x40
[ 37.030465] [<ffffffff82101a3b>] ? rest_init+0xa2/0xa2
[ 37.036507] Memory state around the buggy address:
[ 37.041869] ffff88000d8df680: 00 f1 f1 f1 f1 04 f4 f4 f4 f2 f2 f2 f2 04 f4 f4
[ 37.059951] ffff88000d8df700: f4 f2 f2 f2 f2 04 f4 f4 f4 f2 f2 f2 f2 00 f4 f4
git bisect start aae7be9bc83c7114bfd6aac494f645cfab2b29ea 2dcd0af568b0cf583645c8a317dd12e344b1c72a --
git bisect bad 4a6164bb9872a74da4e8b1e4aacc96dcfe18efc1 # 21:32 0- 22 Merge 'linux-review/Pankaj-Gupta-Pankaj-Gupta/driver-cpufreq-simplified-goto-out-in-cpufreq_register_driver/20160516-193013' into devel-spot-201605162258
git bisect bad 03c91278999199b34a06ae3a4995d5425c42a092 # 21:32 0- 22 Merge 'linux-review/Lidza-Louina/staging-lustre-ptlrpc-Removes-potential-null-dereference/20160516-222040' into devel-spot-201605162258
git bisect good 54d57aad966cb06ebad163f6f1e71c5c9451080e # 21:37 63+ 0 Merge 'crypto/master' into devel-spot-201605162258
git bisect good f5e1222dcdc4c15af413175412e47d3acbc4b093 # 21:43 63+ 0 Merge 'linux-review/David-Wu/add-i2c-driver-supported-for-rk3399/20160516-222634' into devel-spot-201605162258
git bisect bad b250344292edcf125ef310b5e3e631390f7b3bf4 # 21:43 0- 22 Merge 'robh/dt/testing' into devel-spot-201605162258
git bisect good d7fb8300d732a999c034ef4707d150d5579c27a8 # 21:48 63+ 0 Documentation: dt: clock: fix spelling mistakes
git bisect good 718756b5033f6f75562aab17601326df104527e8 # 21:52 61+ 0 Documentation: dt: soc: fix spelling mistakes
git bisect good c4263233f30e72f2645ff83c9074c994f88b015a # 21:57 63+ 0 drivers/of: Specify parent node in of_fdt_unflatten_tree()
git bisect good b9c43856f21d97ffdfdd642acf2eb0b52d3b1555 # 22:00 61+ 0 of: dynamic: changeset prop-update revert fix
git bisect bad 35dd822447f5e029b4b27b09f8999097f8cc72a2 # 22:00 0- 22 drivers/of: Fix build warning in populate_node()
git bisect bad ac78f9bdcf3836cafcd114a76a9473380a3faef5 # 22:10 0- 7 drivers/of: Fix depth when unflattening devicetree
# first bad commit: [ac78f9bdcf3836cafcd114a76a9473380a3faef5] drivers/of: Fix depth when unflattening devicetree
git bisect bad 047eb65024c00807ff8f0407580f088b23cf908e # 22:23 0- 3 of/unittest: Remove unnecessary module.h header inclusion
git bisect good b9c43856f21d97ffdfdd642acf2eb0b52d3b1555 # 22:23 186+ 0 of: dynamic: changeset prop-update revert fix
# extra tests with DEBUG_INFO
git bisect bad ac78f9bdcf3836cafcd114a76a9473380a3faef5 # 22:36 0- 26 drivers/of: Fix depth when unflattening devicetree
# extra tests on HEAD of linux-devel/devel-spot-201605162258
git bisect bad aae7be9bc83c7114bfd6aac494f645cfab2b29ea # 22:37 0- 24 0day head guard for 'devel-spot-201605162258'
# extra tests on tree/branch linux-next/master
# extra tests with first bad commit reverted
git bisect good c14ce6fc5e7a1d392468bfc0f7fc78e1f618323e # 23:20 189+ 0 Revert "drivers/of: Fix depth when unflattening devicetree"
# extra tests on tree/branch linus/master
git bisect good 03b979dd0323ace8e29a0561cd5232f73a060c09 # 23:44 183+ 0 Merge tag 'please-pull-misc-4.7' of git://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux
# extra tests on tree/branch linux-next/master
This script may reproduce the error.
----------------------------------------------------------------------------
#!/bin/bash
kernel=$1
initrd=quantal-core-x86_64.cgz
wget --no-clobber https://github.com/fengguang/reproduce-kernel-bug/raw/master/initrd/$initrd
kvm=(
qemu-system-x86_64
-enable-kvm
-cpu kvm64
-kernel $kernel
-initrd $initrd
-m 300
-smp 2
-device e1000,netdev=net0
-netdev user,id=net0
-boot order=nc
-no-reboot
-watchdog i6300esb
-rtc base=localtime
-serial stdio
-display none
-monitor null
)
append=(
hung_task_panic=1
earlyprintk=ttyS0,115200
systemd.log_level=err
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[*]}"
----------------------------------------------------------------------------
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
6 years, 2 months
[of: unittest] 6204328380: [ INFO: possible recursive locking detected ]
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git topic/renesas-overlays
commit 6204328380f967f599f6120b7d5e348550d00110
Author: Pantelis Antoniou <pantelis.antoniou(a)konsulko.com>
AuthorDate: Wed Oct 14 13:16:15 2015 +0300
Commit: Geert Uytterhoeven <geert+renesas(a)glider.be>
CommitDate: Tue May 17 10:21:53 2016 +0200
of: unittest: changeset helpers
Signed-off-by: Pantelis Antoniou <pantelis.antoniou(a)konsulko.com>
+--------------------------------------------------+------------+------------+-------------+
| | 8299c42b46 | 6204328380 | v4.6_051814 |
+--------------------------------------------------+------------+------------+-------------+
| boot_successes | 84 | 0 | 0 |
| boot_failures | 4 | 22 | 13 |
| BUG:kernel_test_crashed | 2 | | |
| BUG:unable_to_handle_kernel | 2 | | |
| Oops | 2 | | |
| EIP_is_at_perf_prepare_sample | 1 | | |
| Kernel_panic-not_syncing:Fatal_exception | 2 | | |
| INFO:trying_to_register_non-static_key | 1 | | |
| BUG:spinlock_lockup_suspected_on_CPU | 1 | | |
| EIP_is_at__wake_up_common | 1 | | |
| backtrace:fd_timer_workfn | 1 | | |
| INFO:possible_recursive_locking_detected | 0 | 22 | 13 |
| INFO:task_blocked_for_more_than#seconds | 0 | 22 | 13 |
| INFO:lockdep_is_turned_off | 0 | 22 | 13 |
| EIP_is_at_native_apic_mem_write | 0 | 22 | 13 |
| Kernel_panic-not_syncing:hung_task:blocked_tasks | 0 | 22 | 13 |
| backtrace:of_unittest | 0 | 22 | 13 |
| backtrace:kernel_init_freeable | 0 | 22 | 13 |
| backtrace:watchdog | 0 | 22 | 13 |
+--------------------------------------------------+------------+------------+-------------+
[ 13.689998]
[ 13.690000] =============================================
[ 13.690000] =============================================
[ 13.690001] [ INFO: possible recursive locking detected ]
[ 13.690001] [ INFO: possible recursive locking detected ]
[ 13.690003] 4.6.0-00021-g6204328 #4 Not tainted
[ 13.690003] 4.6.0-00021-g6204328 #4 Not tainted
[ 13.690004] ---------------------------------------------
[ 13.690004] ---------------------------------------------
[ 13.690006] swapper/1 is trying to acquire lock:
[ 13.690006] swapper/1 is trying to acquire lock:
[ 13.690015] (of_mutex){+.+.+.}, at: [<799b4010>] of_changeset_apply+0x12/0x2a
[ 13.690015] (of_mutex){+.+.+.}, at: [<799b4010>] of_changeset_apply+0x12/0x2a
[ 13.690015]
[ 13.690015] but task is already holding lock:
[ 13.690015]
[ 13.690015] but task is already holding lock:
[ 13.690021] (of_mutex){+.+.+.}, at: [<7a92ccde>] of_unittest+0xcee/0x1469
[ 13.690021] (of_mutex){+.+.+.}, at: [<7a92ccde>] of_unittest+0xcee/0x1469
[ 13.690022]
[ 13.690022] other info that might help us debug this:
[ 13.690022]
[ 13.690022] other info that might help us debug this:
[ 13.690023] Possible unsafe locking scenario:
[ 13.690023]
[ 13.690023] Possible unsafe locking scenario:
[ 13.690023]
[ 13.690023] CPU0
[ 13.690023] CPU0
[ 13.690024] ----
[ 13.690024] ----
[ 13.690026] lock(of_mutex);
[ 13.690026] lock(of_mutex);
[ 13.690028] lock(of_mutex);
[ 13.690028] lock(of_mutex);
[ 13.690028]
[ 13.690028] *** DEADLOCK ***
[ 13.690028]
[ 13.690028]
[ 13.690028] *** DEADLOCK ***
[ 13.690028]
[ 13.690029] May be due to missing lock nesting notation
[ 13.690029]
[ 13.690029] May be due to missing lock nesting notation
[ 13.690029]
[ 13.690031] 1 lock held by swapper/1:
[ 13.690031] 1 lock held by swapper/1:
[ 13.690036] #0: (of_mutex){+.+.+.}, at: [<7a92ccde>] of_unittest+0xcee/0x1469
[ 13.690036] #0: (of_mutex){+.+.+.}, at: [<7a92ccde>] of_unittest+0xcee/0x1469
[ 13.690037]
[ 13.690037] stack backtrace:
[ 13.690037]
[ 13.690037] stack backtrace:
[ 13.690039] CPU: 0 PID: 1 Comm: swapper Not tainted 4.6.0-00021-g6204328 #4
[ 13.690039] CPU: 0 PID: 1 Comm: swapper Not tainted 4.6.0-00021-g6204328 #4
[ 13.690041] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 13.690041] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 13.690048] 00000001 78268000 7adc7f00 7824fda8 794e6c71 7824fe28 79079bd5 7a18b57b
[ 13.690048] 00000001 78268000 7adc7f00 7824fda8 794e6c71 7824fe28 79079bd5 7a18b57b
[ 13.690054] 7a18c0d8 7a18b46e 0000191e 7ad7acac 7adc7f00 00000001 00000000 782683dc
[ 13.690054] 7a18c0d8 7a18b46e 0000191e 7ad7acac 7adc7f00 00000001 00000000 782683dc
[ 13.690060] 7adc7f00 782683dc 00000000 00000000 00001400 7adc7f00 782683dc 00000000
[ 13.690060] 7adc7f00 782683dc 00000000 00000000 00001400 7adc7f00 782683dc 00000000
[ 13.690061] Call Trace:
[ 13.690061] Call Trace:
[ 13.690065] [<794e6c71>] dump_stack+0x16/0x18
[ 13.690065] [<794e6c71>] dump_stack+0x16/0x18
[ 13.690069] [<79079bd5>] __lock_acquire+0x94b/0xd36
[ 13.690069] [<79079bd5>] __lock_acquire+0x94b/0xd36
[ 13.690072] [<79076a89>] ? __lock_is_held+0x24/0x43
[ 13.690072] [<79076a89>] ? __lock_is_held+0x24/0x43
[ 13.690074] [<7907a455>] lock_acquire+0x105/0x147
[ 13.690074] [<7907a455>] lock_acquire+0x105/0x147
[ 13.690076] [<799b4010>] ? of_changeset_apply+0x12/0x2a
[ 13.690076] [<799b4010>] ? of_changeset_apply+0x12/0x2a
[ 13.690089] [<79b9cd93>] mutex_lock_nested+0x4e/0x635
[ 13.690089] [<79b9cd93>] mutex_lock_nested+0x4e/0x635
[ 13.690092] [<799b4010>] ? of_changeset_apply+0x12/0x2a
[ 13.690092] [<799b4010>] ? of_changeset_apply+0x12/0x2a
[ 13.690100] [<799b4010>] ? of_changeset_apply+0x12/0x2a
[ 13.690100] [<799b4010>] ? of_changeset_apply+0x12/0x2a
[ 13.690103] [<7a92ccde>] ? of_unittest+0xcee/0x1469
[ 13.690103] [<7a92ccde>] ? of_unittest+0xcee/0x1469
[ 13.690106] [<799b4010>] of_changeset_apply+0x12/0x2a
[ 13.690106] [<799b4010>] of_changeset_apply+0x12/0x2a
[ 13.690109] [<7a92cce6>] of_unittest+0xcf6/0x1469
[ 13.690109] [<7a92cce6>] of_unittest+0xcf6/0x1469
[ 13.690113] [<7915654b>] ? slab_free_freelist_hook+0x67/0x7b
[ 13.690113] [<7915654b>] ? slab_free_freelist_hook+0x67/0x7b
[ 13.690115] [<791590f0>] ? kfree+0x2b2/0x2f0
[ 13.690115] [<791590f0>] ? kfree+0x2b2/0x2f0
[ 13.690118] [<7a92bff0>] ? of_unittest_changeset+0xb9e/0xb9e
[ 13.690118] [<7a92bff0>] ? of_unittest_changeset+0xb9e/0xb9e
[ 13.690121] [<7a8ba016>] do_one_initcall+0x16b/0x269
[ 13.690121] [<7a8ba016>] do_one_initcall+0x16b/0x269
[ 13.690123] [<7a8b9501>] ? repair_env_string+0x2a/0x95
[ 13.690123] [<7a8b9501>] ? repair_env_string+0x2a/0x95
[ 13.690125] [<7905dd72>] ? parse_args+0x431/0x54c
[ 13.690125] [<7905dd72>] ? parse_args+0x431/0x54c
[ 13.690128] [<7a8ba2cb>] kernel_init_freeable+0x1b7/0x287
[ 13.690128] [<7a8ba2cb>] kernel_init_freeable+0x1b7/0x287
[ 13.690130] [<79b9902a>] kernel_init+0x8/0x155
[ 13.690130] [<79b9902a>] kernel_init+0x8/0x155
[ 13.690133] [<79ba1bf0>] ret_from_kernel_thread+0x20/0x40
[ 13.690133] [<79ba1bf0>] ret_from_kernel_thread+0x20/0x40
[ 13.690135] [<79b99022>] ? rest_init+0x12a/0x12a
[ 13.690135] [<79b99022>] ? rest_init+0x12a/0x12a
[ 13.964871] evbug: Connected device: input1 (AT Translated Set 2 keyboard at isa0060/serio0/input0)
[ 13.964871] evbug: Connected device: input1 (AT Translated Set 2 keyboard at isa0060/serio0/input0)
[ 13.968104] power_supply test_ac: power_supply_changed
git bisect start 52297a8ebe8a7ee32c7632a662f7fde3f75c4c0c 2dcd0af568b0cf583645c8a317dd12e344b1c72a --
git bisect bad be7e3381dcabe56d93b02738bc63242832cfbf7f # 02:45 0- 1 Merge 'linux-review/Arnd-Bergmann/phy-exynos-mipi-video-avoid-uninitialized-variable-use/20160511-205615' into devel-hourly-2016051814
git bisect bad cc4b809e457c7dea467f206d8237f25854aac0c9 # 02:55 0- 18 Merge 'linux-review/Colin-King/misc-sgi-gru-format-0x-prefixed-int-ts_ctxnum-with-x/20160516-203510' into devel-hourly-2016051814
git bisect good eb38364cc42a8c6d2effed388a4f5ab1081028a8 # 03:04 22+ 3 Merge 'regulator/fix/ccv' into devel-hourly-2016051814
git bisect bad fe8d7311514dacb2e0f486e9c8f7058c0acc36d7 # 03:12 0- 12 Merge 'perf/perf/max-stack' into devel-hourly-2016051814
git bisect bad a40834568189d19359d68afaa46e1d1b2361e1fb # 03:20 0- 1 Merge 'linux-review/minyard-acm-org/kdump-Fix-gdb-macros-work-work-with-newer-and-64-bit-kernels/20160511-083235' into devel-hourly-2016051814
git bisect good 911ac96d5431111865505a19eb6a60a963913376 # 03:27 21+ 3 Merge 'rcu/rcu/next' into devel-hourly-2016051814
git bisect good 08bfa8b5277ffb793678dd1c51971500d59b8646 # 03:33 21+ 0 Merge 'linux-review/Michal-Nazarewicz/usb-gadget-f_fs-buffer-data-from-oversized-OUT-requests/20160517-031236' into devel-hourly-2016051814
git bisect good 37b94bf44fa4907ccf67ab6765a87f997ae7c3d4 # 03:46 20+ 3 Merge 'renesas/devel' into devel-hourly-2016051814
git bisect good a5a252c7099435fda20cfd61dd3d80f09022e08a # 03:53 22+ 0 Merge 'arm/component' into devel-hourly-2016051814
git bisect bad 396fcdf38a1309be4edb9280ca29cae19fb595fe # 04:03 0- 2 Merge 'renesas-drivers/topic/overlays' into devel-hourly-2016051814
git bisect good cac89ef469286ef99ed1e4cf49634969cd2b65ee # 04:10 22+ 1 doc: dt: Document the target root overlay method
git bisect bad a75373f739df9075bb23183bdd272684500083a0 # 04:23 0- 22 of: configfs: Use %zu to format size_t
git bisect good 8299c42b469a37a4661cc8a995c2dc8a31647f60 # 04:30 21+ 1 of: Maintainer fixes for dynamic
git bisect bad e78bb87940291be209c5edaf943f12956c50c663 # 04:36 0- 22 of: rename *_node_sysfs to _node_post
git bisect bad 6204328380f967f599f6120b7d5e348550d00110 # 04:43 0- 22 of: unittest: changeset helpers
# first bad commit: [6204328380f967f599f6120b7d5e348550d00110] of: unittest: changeset helpers
git bisect good 8299c42b469a37a4661cc8a995c2dc8a31647f60 # 04:45 66+ 4 of: Maintainer fixes for dynamic
# extra tests with DEBUG_INFO
git bisect bad 6204328380f967f599f6120b7d5e348550d00110 # 04:54 0- 25 of: unittest: changeset helpers
# extra tests on HEAD of linux-devel/devel-hourly-2016051814
git bisect bad 52297a8ebe8a7ee32c7632a662f7fde3f75c4c0c # 04:54 0- 13 0day head guard for 'devel-hourly-2016051814'
# extra tests on tree/branch renesas-drivers/topic/renesas-overlays
git bisect bad e3d7267805913ef57c0bf562ee50c58eec0dd051 # 05:06 0- 25 arm64: dts: salvator-x: Add overlay for polled GPIO keyboard
# extra tests with first bad commit reverted
git bisect good 480d8019f2cb757ad52e8eacc7bea1c5997740c6 # 05:15 63+ 5 Revert "of: unittest: changeset helpers"
# extra tests on tree/branch linus/master
# extra tests on tree/branch linux-next/master
This script may reproduce the error.
----------------------------------------------------------------------------
#!/bin/bash
kernel=$1
initrd=yocto-minimal-i386.cgz
wget --no-clobber https://github.com/fengguang/reproduce-kernel-bug/raw/master/initrd/$initrd
kvm=(
qemu-system-x86_64
-enable-kvm
-kernel $kernel
-initrd $initrd
-m 256
-smp 1
-device e1000,netdev=net0
-netdev user,id=net0
-boot order=nc
-no-reboot
-watchdog i6300esb
-rtc base=localtime
-serial stdio
-display none
-monitor null
)
append=(
hung_task_panic=1
earlyprintk=ttyS0,115200
systemd.log_level=err
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[*]}"
----------------------------------------------------------------------------
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
6 years, 2 months
[x86] c1fe4040e0: kernel BUG at lib/atomic64_test.c:184!
by kernel test robot
Greetings,
0day kernel testing robot got the below dmesg and the first bad commit is
https://github.com/0day-ci/linux David-Howells/Provide-atomics-and-bitops-implemented-with-ISO-C-11-atomics/20160518-232119
commit c1fe4040e08f20918f8719e0eef2ac0eb8c98014
Author: David Howells <dhowells(a)redhat.com>
AuthorDate: Wed May 18 16:11:52 2016 +0100
Commit: 0day robot <fengguang.wu(a)intel.com>
CommitDate: Wed May 18 23:21:29 2016 +0800
x86: Use ISO atomics
Make x86 use the ISO intrinsic atomics.
This boots fine, however it can't NOP out the LOCK prefixes if the number
of online CPUs is 1.
Without this patch, according to size -A, .text for my test kernel is:
.text 6268981 18446744071578845184
with this patch:
.text 6268277 18446744071578845184
There are still some underoptimisations to be dealt with.
Signed-off-by: David Howells <dhowells(a)redhat.com>
+------------------------------------------+------------+------------+------------+
| | 0edef8aaa2 | c1fe4040e0 | 4e0fb874ce |
+------------------------------------------+------------+------------+------------+
| boot_successes | 67 | 0 | 0 |
| boot_failures | 0 | 23 | 13 |
| kernel_BUG_at_lib/atomic64_test.c | 0 | 23 | 12 |
| invalid_opcode:#[##]PREEMPT_SMP | 0 | 23 | 12 |
| RIP:test_atomic64 | 0 | 23 | 12 |
| Kernel_panic-not_syncing:Fatal_exception | 0 | 23 | 13 |
| backtrace:test_atomics | 0 | 23 | 12 |
| backtrace:kernel_init_freeable | 0 | 23 | 12 |
| BUG:unable_to_handle_kernel | 0 | 0 | 1 |
| Oops | 0 | 0 | 1 |
| RIP:load_balance | 0 | 0 | 1 |
+------------------------------------------+------------+------------+------------+
[ 0.511094] generic_sse: 5347.000 MB/sec
[ 0.511756] xor: using function: prefetch64-sse (8643.000 MB/sec)
[ 0.512687] ------------[ cut here ]------------
[ 0.513394] kernel BUG at lib/atomic64_test.c:184!
[ 0.514365] invalid opcode: 0000 [#1] PREEMPT SMP
[ 0.515158] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.6.0-rc5-00012-gc1fe404 #1
[ 0.516253] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Debian-1.8.2-1 04/01/2014
[ 0.517565] task: ffff880000068000 ti: ffff880000070000 task.ti: ffff880000070000
[ 0.518662] RIP: 0010:[<ffffffff8277ad1b>] [<ffffffff8277ad1b>] test_atomic64+0x9c2/0x9c4
[ 0.519914] RSP: 0000:ffff880000073e70 EFLAGS: 00010246
[ 0.520698] RAX: 1111111122222222 RBX: ffffffff8277ad1d RCX: deadbeefdeafcafe
[ 0.521759] RDX: 1111111122222221 RSI: aaa31337c001d00d RDI: 00000000001d7610
[ 0.522806] RBP: ffff880000073e80 R08: 2002011000001001 R09: 0000000000000000
[ 0.523873] R10: ffffffff82204802 R11: ffffffff821d0f18 R12: ffff8800000830e0
[ 0.524923] R13: 0000000000000000 R14: ffffffff827ea0b0 R15: 0000000000000001
[ 0.525983] FS: 0000000000000000(0000) GS:ffff880010200000(0000) knlGS:0000000000000000
[ 0.527191] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 0.528035] CR2: 00000000ffffffff CR3: 000000000240b000 CR4: 00000000000006f0
[ 0.529106] Stack:
[ 0.529413] 1111111122222221 1111111122222222 ffff880000073e90 ffffffff8277ad2b
[ 0.530573] ffff880000073f00 ffffffff8274dfd9 0001000100000000 ffffffff82384dd8
[ 0.531736] ffffffff8237a2e8 ffff88001151e6ae ffffffff8232e989 0000000000000001
[ 0.532804] Call Trace:
[ 0.533150] [<ffffffff8277ad2b>] test_atomics+0xe/0xe
[ 0.533837] [<ffffffff8274dfd9>] do_one_initcall+0xe3/0x171
[ 0.534607] [<ffffffff8274d7d7>] ? set_debug_rodata+0x12/0x12
[ 0.535465] [<ffffffff8274e20b>] kernel_init_freeable+0x1a4/0x22e
[ 0.536298] [<ffffffff81c84d3b>] kernel_init+0x9/0xeb
[ 0.536986] [<ffffffff81c8cee2>] ret_from_fork+0x22/0x40
[ 0.537714] [<ffffffff81c84d32>] ? rest_init+0xb9/0xb9
[ 0.538430] Code: 22 22 11 11 11 11 48 89 45 f0 48 8b 45 f0 48 89 45 f8 48 8b 45 f8 48 85 c0 7e 10 48 8d 50 ff 48 8b 45 f8 f0 48 0f b1 55 f0 75 e3 <0f> 0b 55 48 89 e5 e8 fd ee ff ff e8 2e f6 ff ff 55 83 ca ff 48
[ 0.542108] RIP [<ffffffff8277ad1b>] test_atomic64+0x9c2/0x9c4
[ 0.542921] RSP <ffff880000073e70>
[ 0.543419] ---[ end trace 40ad0f6fa83f9d43 ]---
[ 0.544040] Kernel panic - not syncing: Fatal exception
git bisect start 4e0fb874ce1711684dca8ec2a058a032c1d692ff 2dcd0af568b0cf583645c8a317dd12e344b1c72a --
git bisect good 9cc14018a54030760dbc12e42e957a76b818386b # 01:07 22+ 0 Merge 'linux-review/Manuel-Sch-lling/console-Add-persistent-scrollback-buffers-for-all-VGA-consoles/20160509-184118' into devel-spot-201605182239
git bisect good d938f6caa55659bbf103402941519bbdeafca7d2 # 01:15 22+ 0 Merge 'linux-review/Matt-Roper/Pre-calculate-SKL-style-atomic-watermarks-final-CI-run/20160512-221034' into devel-spot-201605182239
git bisect good d20519b2f6acbc50a420a78a6ae47e024bd72318 # 01:20 22+ 0 Merge 'sergeh-security/2016-05-17/capsetfile' into devel-spot-201605182239
git bisect good 1a39d6312499afd77cc8aa2807fcf5947380a647 # 01:26 22+ 9 Merge 'kvm/queue' into devel-spot-201605182239
git bisect good 73debab6ecf813afbaedf10071c0f5deb9a2e916 # 01:30 21+ 8 Merge 'linux-review/Jiri-Olsa/warning-in-uncore_pci_probe/20160517-230122' into devel-spot-201605182239
git bisect bad e2b675bb32f8e411e0a2b68ab3f70a4aa2986318 # 01:35 1- 22 Merge 'linux-review/Matt-Redfearn/MIPS-Add-definitions-of-SegCtl-registers-and-use-them/20160518-231448' into devel-spot-201605182239
git bisect good b7450be5e618a86c50e7ddf20087d9ccd8531bfe # 01:47 22+ 8 Merge 'linux-review/Daniel-Lezcano/cpuidle-Fix-coupled-state-parameter-in-cpuidle_enter/20160517-225529' into devel-spot-201605182239
git bisect good ed1fb177482c9bd5276e6b1c29133cf891e1774e # 01:51 21+ 15 Merge 'linux-review/Arnd-Bergmann/crypto-public_key-select-CRYPTO_AKCIPHER/20160518-231635' into devel-spot-201605182239
git bisect bad 58d223b42152ca16f9dc237db8dc8fff2c5961fa # 01:56 1- 7 Merge 'linux-review/David-Howells/Provide-atomics-and-bitops-implemented-with-ISO-C-11-atomics/20160518-232119' into devel-spot-201605182239
git bisect good 64e859f31105b5fce1311620290c596350242c05 # 02:01 23+ 0 Provide atomic64_t and atomic_long_t using ISO atomics
git bisect good f257b5e7b40d11e56e5778499eb184bc7583695c # 02:08 21+ 0 Provide an implementation of bitops using C++11 atomics
git bisect bad c1fe4040e08f20918f8719e0eef2ac0eb8c98014 # 02:15 0- 23 x86: Use ISO atomics
git bisect good 0edef8aaa23086290fe93a64a3720953331cd3eb # 02:21 23+ 0 Make the ISO bitops use 32-bit values internally
# first bad commit: [c1fe4040e08f20918f8719e0eef2ac0eb8c98014] x86: Use ISO atomics
git bisect good 0edef8aaa23086290fe93a64a3720953331cd3eb # 02:23 67+ 0 Make the ISO bitops use 32-bit values internally
# extra tests with DEBUG_INFO
git bisect bad c1fe4040e08f20918f8719e0eef2ac0eb8c98014 # 02:32 0- 69 x86: Use ISO atomics
# extra tests on HEAD of linux-devel/devel-spot-201605182239
git bisect bad 4e0fb874ce1711684dca8ec2a058a032c1d692ff # 02:32 0- 13 0day head guard for 'devel-spot-201605182239'
# extra tests on tree/branch linux-review/David-Howells/Provide-atomics-and-bitops-implemented-with-ISO-C-11-atomics/20160518-232119
# extra tests with first bad commit reverted
# extra tests on tree/branch linus/master
# extra tests on tree/branch linux-next/master
This script may reproduce the error.
----------------------------------------------------------------------------
#!/bin/bash
kernel=$1
kvm=(
qemu-system-x86_64
-enable-kvm
-cpu kvm64
-kernel $kernel
-m 300
-smp 2
-device e1000,netdev=net0
-netdev user,id=net0
-boot order=nc
-no-reboot
-watchdog i6300esb
-rtc base=localtime
-serial stdio
-display none
-monitor null
)
append=(
hung_task_panic=1
earlyprintk=ttyS0,115200
systemd.log_level=err
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[*]}"
----------------------------------------------------------------------------
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/lkp Intel Corporation
6 years, 2 months