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]
Date:   Sat, 11 Mar 2017 13:48:46 +0800
From:   Fengguang Wu <fengguang.wu@...el.com>
To:     Christian König <christian.koenig@....com>
Cc:     Alex Deucher <alexander.deucher@....com>,
        Sinclair Yeh <syeh@...are.com>, "Roger.He" <Hongbo.He@....com>,
        amd-gfx@...ts.freedesktop.org, dri-devel@...ts.freedesktop.org,
        linux-kernel@...r.kernel.org, LKP <lkp@...org>
Subject: [drm/ttm] cf6c467d67 kernel BUG at include/linux/mm.h:460!

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 cf6c467d67d319e239aec57d7ba31cb9946f29bf
Author:     Christian König <christian.koenig@....com>
AuthorDate: Tue Jan 10 14:08:28 2017 +0100
Commit:     Alex Deucher <alexander.deucher@....com>
CommitDate: Fri Jan 27 12:20:33 2017 -0500

     drm/ttm: add BO priorities for the LRUs
     
     This way the driver can specify a priority for a BO which has the effect that
     a BO is only evicted when all other BOs with a lower priority are evicted
     first.
     
     Reviewed-by: Sinclair Yeh <syeh@...are.com>
     Signed-off-by: Christian König <christian.koenig@....com>
     Reviewed-by: Roger.He <Hongbo.He@....com>
     Signed-off-by: Alex Deucher <alexander.deucher@....com>

2ee7fc92cf  drm/ttm: remove allow_errors parameter from ttm_bo_force_list_clean
cf6c467d67  drm/ttm: add BO priorities for the LRUs
+-----------------------------------------------------------------------+------------+------------+
|                                                                       | 2ee7fc92cf | cf6c467d67 |
+-----------------------------------------------------------------------+------------+------------+
| boot_successes                                                        | 0          | 0          |
| boot_failures                                                         | 179        | 26         |
| WARNING:at_drivers/gpu/drm/drm_mode_config.c:#drm_mode_config_cleanup | 179        | 26         |
| WARNING:at_arch/x86/mm/dump_pagetables.c:#note_page                   | 179        |            |
| kernel_BUG_at_include/linux/mm.h                                      | 0          | 26         |
| invalid_opcode:#[##]SMP                                               | 0          | 26         |
| EIP:put_page_testzero                                                 | 0          | 26         |
| Kernel_panic-not_syncing:Fatal_exception                              | 0          | 26         |
+-----------------------------------------------------------------------+------------+------------+

[    4.819359] [drm] Initialized vgem 1.0.0 20120112 for virtual device on minor 0
[    4.820591] [drm] Found bochs VGA, ID 0xb0c0.
[    4.821198] [drm] Framebuffer size 16384 kB @ 0xfd000000, mmio @ 0xfebf0000.
[    4.822357] [TTM] Zone  kernel: Available graphics memory: 135446 kiB
[    4.823200] [TTM] Initializing pool allocator
[    4.823900] [TTM] Initializing DMA pool allocator
[    4.826964] bochsdrmfb: enable CONFIG_FB_LITTLE_ENDIAN to support this framebuffer
[    4.828024] [drm] Initialized bochs-drm 1.0.0 20130925 for 0000:00:02.0 on minor 1
[    4.829168] ------------[ cut here ]------------
[    4.829805] WARNING: CPU: 0 PID: 1 at drivers/gpu/drm/drm_mode_config.c:458 drm_mode_config_cleanup+0x178/0x1e3
[    4.831403] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.11.0-rc1-next-20170309 #1
[    4.832417] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[    4.833814] Call Trace:
[    4.834154]  dump_stack+0x55/0x6e
[    4.834608]  ? drm_mode_config_cleanup+0x178/0x1e3
[    4.835230]  __warn+0xad/0xc4
[    4.835623]  warn_slowpath_null+0x11/0x16
[    4.836144]  drm_mode_config_cleanup+0x178/0x1e3
[    4.836750]  bochs_kms_fini+0x17/0x21
[    4.837232]  bochs_unload+0x18/0x38
[    4.837694]  drm_dev_unregister+0x32/0x9d
[    4.838219]  drm_put_dev+0x3b/0x47
[    4.838686]  bochs_pci_remove+0xe/0x10
[    4.839197]  pci_device_remove+0x1c/0x44
[    4.839755]  driver_probe_device+0x121/0x25c
[    4.840367]  __driver_attach+0x51/0x6d
[    4.840880]  bus_for_each_dev+0x4e/0x6b
[    4.841426]  driver_attach+0x14/0x16
[    4.841892]  ? driver_probe_device+0x25c/0x25c
[    4.842487]  bus_add_driver+0xb3/0x18c
[    4.842973]  driver_register+0x6f/0xa4
[    4.843467]  __pci_register_driver+0x45/0x48
[    4.844020]  drm_pci_init+0x3a/0xad
[    4.844492]  ? qxl_init+0x5a/0x5a
[    4.844946]  bochs_init+0x3a/0x51
[    4.845405]  do_one_initcall+0xaa/0x1c5
[    4.845908]  ? repair_env_string+0x25/0x89
[    4.846452]  ? parse_args+0x1c3/0x28f
[    4.846950]  kernel_init_freeable+0x124/0x1e9
[    4.847557]  ? rest_init+0xaa/0xaa
[    4.848043]  kernel_init+0x8/0xd0
[    4.848524]  ret_from_fork+0x21/0x30
[    4.849022] ---[ end trace df6b9e3a91551133 ]---
[    4.849666] page:d25a75ec count:0 mapcount:0 mapping:ffffffff index:0x0 compound_mapcount: 0
[    4.850788] flags: 0x8000000()
[    4.851263] raw: 08000000 ffffffff 00000000 ffffffff 00000000 d25a75c9 00010001 00000000
[    4.852329] raw: 00000000
[    4.852692] page dumped because: VM_BUG_ON_PAGE(page_ref_count(page) == 0)
[    4.853653] ------------[ cut here ]------------
[    4.854264] kernel BUG at include/linux/mm.h:460!
[    4.855127] invalid opcode: 0000 [#1] SMP
[    4.855693] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G        W       4.11.0-rc1-next-20170309 #1
[    4.856901] Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.9.3-20161025_171302-gandalf 04/01/2014
[    4.858239] task: d1c18000 task.stack: d1c26000
[    4.858827] EIP: put_page_testzero+0xd/0xf
[    4.859456] EFLAGS: 00210246 CPU: 0
[    4.859914] EAX: 00000000 EBX: d12631fc ECX: c1accb1d EDX: d8022869
[    4.860722] ESI: d25a75ec EDI: d124f3a0 EBP: d1c27dc8 ESP: d1c27dc8
[    4.861549]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[    4.862294] CR0: 80050033 CR2: 00000000 CR3: 01df6000 CR4: 000006b0
[    4.863165] Call Trace:
[    4.863531]  __free_pages+0xf/0x2b
[    4.863996]  kfree+0x6b/0x6f
[    4.864409]  bochs_user_framebuffer_destroy+0x1c/0x1f
[    4.865071]  drm_framebuffer_free+0x1c/0x20
[    4.865621]  drm_mode_config_cleanup+0x195/0x1e3
[    4.866222]  bochs_kms_fini+0x17/0x21
[    4.866701]  bochs_unload+0x18/0x38
[    4.867156]  drm_dev_unregister+0x32/0x9d
[    4.867693]  drm_put_dev+0x3b/0x47
[    4.868156]  bochs_pci_remove+0xe/0x10
[    4.868673]  pci_device_remove+0x1c/0x44
[    4.869180]  driver_probe_device+0x121/0x25c
[    4.869752]  __driver_attach+0x51/0x6d
[    4.870270]  bus_for_each_dev+0x4e/0x6b
[    4.870806]  driver_attach+0x14/0x16
[    4.871338]  ? driver_probe_device+0x25c/0x25c
[    4.871950]  bus_add_driver+0xb3/0x18c
[    4.872468]  driver_register+0x6f/0xa4
[    4.872964]  __pci_register_driver+0x45/0x48
[    4.873523]  drm_pci_init+0x3a/0xad
[    4.873978]  ? qxl_init+0x5a/0x5a
[    4.874418]  bochs_init+0x3a/0x51
[    4.874849]  do_one_initcall+0xaa/0x1c5
[    4.875364]  ? repair_env_string+0x25/0x89
[    4.875915]  ? parse_args+0x1c3/0x28f
[    4.876421]  kernel_init_freeable+0x124/0x1e9
[    4.876996]  ? rest_init+0xaa/0xaa
[    4.877445]  kernel_init+0x8/0xd0
[    4.877895]  ret_from_fork+0x21/0x30
[    4.878387] Code: 0f 0b 8b 50 10 85 d2 74 0c ba f2 9d ac c1 e8 c5 70 01 00 0f 0b c7 40 10 01 00 00 00 5d c3 55 ba bf fe aa c1 89 e5 e8 ad 70 01 00 <0f> 0b 55 89 e5 53 89 c3 e8 6b 53 10 00 84 c0 74 0a 8b 13 8b 43
[    4.880964] EIP: put_page_testzero+0xd/0xf SS:ESP: 0068:d1c27dc8
[    4.881844] ---[ end trace df6b9e3a91551134 ]---
[    4.882460] Kernel panic - not syncing: Fatal exception
[    4.883333] Kernel Offset: disabled

git bisect start c3230be0c56d1502b5e8f32191cfb2cf4b4f7254 c470abd4fde40ea6a0846a2beab642a578c0b8cd --
git bisect  bad eac824197dedb2425ae4718a3fdef51dc1e0d2ce  # 19:13      0-      1  Merge 'linux-review/Matthias-Schiffer/vxlan-correctly-validate-VXLAN-ID-against-VXLAN_VID_MASK/20170223-233547' into devel-catchup-201702241708
git bisect  bad 0e7ba4c534671d65fa5eec880343daa57990a9e5  # 19:21      0-      2  Merge 'linux-review/Tan-Xiaojun/perf-core-Fix-to-check-perf_cpu_time_max_percent/20170223-135907' into devel-catchup-201702241708
git bisect  bad 0c46677444bd90a036d4d95feeeeab8b63fc3a83  # 20:29      0-     26  Merge 'linux-review/Colin-King/rtlwifi-fix-spelling-mistake-conuntry-country/20170223-074137' into devel-catchup-201702241708
git bisect  bad 197b8825b45e9e8fcd0ee05966cc6a90f8adad80  # 20:36      0-      5  Merge 'linux-review/Trond-Myklebust/nfsd-Allow-enabling-NFSv4-x-without-also-requiring-NFSv4-0/20170223-034632' into devel-catchup-201702241708
git bisect  bad e46fc8214a1eb1a740ffac8b91fbb35185bbff58  # 23:04      0-     26  Merge 'ostr/for-linus-4.11' into devel-catchup-201702241708
git bisect  bad 55e8f4615bb48578e91a8e3eab7f202432065b20  # 23:19      0-      5  Merge 'linux-review/Krzysztof-Kozlowski/Documentation-Update-path-to-sysrq-txt/20170224-164713' into devel-catchup-201702241708
git bisect good be8ab0f3f33b3bd4e716c6071b1e60b9292531f0  # 00:15     20+     24  0day base guard for 'devel-catchup-201702241708'
git bisect good 2057e15945a8b5d867c086371a5fb946fd8221da  # 01:26     21+     23  Input: cros_ec_keyb - drop unnecessary call to dev_set_drvdata and other changes
git bisect good 31d7677b91307e2771b6922fd9920542a92d376d  # 06:50     22+     48  net: mvpp2: fix indentation of MVPP2_EXT_GLOBAL_CTRL_DEFAULT
git bisect good 6bce1974f64aba108ad344cb2ef0110d9c09ebd2  # 07:47     20+     22  soc: samsung: pm_domains: Add new Exynos5433 compatible
git bisect good feef2a7cb93e532bde3c7682ec7b1bce99cc8be5  # 09:18     20+     24  drm/i915: re-use computed offset bias for context pin
git bisect good 98a5f361b8625c6f4841d6ba013bbf0e80d08147  # 10:58     21+     23  powerpc: Add new cache geometry aux vectors
git bisect good 1a8dded1a3fcfb0c865a35688c86aa45bac37393  # 12:44     21+     47  staging: lustre: fid: Change positional struct initializers to C99
git bisect good b5baa68773150772c275b4af1bb31327200cfc05  # 14:32     20+     24  KVM: PPC: Book3S HV: KVM-HV HPT resizing implementation
git bisect good 07cc189d160ba962c5d9078453929ffac0e739f3  # 19:42     22+     26  hwmon: (dme1737) Fix overflows seen when writing into limit attributes
git bisect good 0e5a47a8d346c798bbb1801c7c5852b652155b72  # 01:59     22+     26  scripts/checkstack.pl: add support for nios2
git bisect good 54fff785db6e44208478ae3b0e5c56b853b3e10d  # 02:45     21+     21  Merge tag 'armsoc-defconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
git bisect  bad 33b7bfdf918af4dc6585afe6d21f5e6b7613de1b  # 02:54      0-      1  Merge tag 'gvt-next-2017-02-15' of https://github.com/01org/gvt-linux into drm-intel-next-fixes
git bisect good 3875623c561f9e83181d9621e0a963ed457c4bf6  # 03:15     21+     21  Merge tag 'drm-misc-next-2017-01-23' of git://anongit.freedesktop.org/git/drm-misc into drm-next
git bisect  bad 29a73d906bd386839015602c4bd35ef2e3531abc  # 03:23      0-      2  Merge branch 'drm-next-4.11' of git://people.freedesktop.org/~agd5f/linux into drm-next
git bisect  bad cf6c467d67d319e239aec57d7ba31cb9946f29bf  # 03:23      0-     27  drm/ttm: add BO priorities for the LRUs
git bisect good 41c360f6a6ccd477481a3309608e9b3388bdd83d  # 03:47     22+     22  drm/amdgpu: add get clockgating_state method for sdma v3
git bisect good 3149d9da12263b696d6123f90e44968ebde2115d  # 04:02     21+     21  drm/amdgpu: request/release full gpu access if device is vf
git bisect good a1970a6382b8781380de9494b2e256aa85814b79  # 04:21     20+     20  drm/amdgpu: refine ci uvd dpm code.
git bisect good 714fbf80392248170c2e67cd77062e2cab0d8a82  # 11:43     22+     48  drm/amdgpu:set cond_exec polling value to 1 in ring_init
git bisect good 9a9993590d03794a56365d6025cf694fd1a8f6da  # 17:16     22+     26  drm/amd/amdgpu: Add PCI info to gca_config debugfs
git bisect good 63d24f8846b0095cbbd94746b6fc8a6acbda8f5e  # 17:58     22+     24  drm/amdgpu/vi: fix mailbox irq mistake
git bisect good 2ee7fc92cfd327fe41377f64a7f04ddc30c851e7  # 18:17     20+    112  drm/ttm: remove allow_errors parameter from ttm_bo_force_list_clean
# first bad commit: [cf6c467d67d319e239aec57d7ba31cb9946f29bf] drm/ttm: add BO priorities for the LRUs
git bisect good 2ee7fc92cfd327fe41377f64a7f04ddc30c851e7  # 19:23     60+    172  drm/ttm: remove allow_errors parameter from ttm_bo_force_list_clean
# extra tests with CONFIG_DEBUG_INFO_REDUCED
git bisect  bad cf6c467d67d319e239aec57d7ba31cb9946f29bf  # 19:23      0-     70  drm/ttm: add BO priorities for the LRUs
# extra tests on HEAD of linux-devel/devel-catchup-201702241708
git bisect  bad c3230be0c56d1502b5e8f32191cfb2cf4b4f7254  # 19:23      0-     35  0day head guard for 'devel-catchup-201702241708'
# extra tests on tree/branch linus/master
# extra tests on tree/branch linux-next/master

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/lkp                          Intel Corporation

Download attachment "dmesg-quantal-lkp-hsw01-49:20170225132539:i386-randconfig-b0-02241556:4.10.0-rc5-00883-gcf6c467:3.gz" of type "application/gzip" (22185 bytes)

Download attachment "dmesg-quantal-lkp-hsw01-10:20170225104217:i386-randconfig-b0-02241556:4.10.0-rc5-00882-g2ee7fc9:2.gz" of type "application/gzip" (31864 bytes)

View attachment "reproduce-quantal-lkp-hsw01-49:20170225132539:i386-randconfig-b0-02241556:4.10.0-rc5-00883-gcf6c467:3" of type "text/plain" (886 bytes)

View attachment "config-4.10.0-rc5-00883-gcf6c467" of type "text/plain" (93911 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ