Hi Rob,
0day kernel testing robot got the below dmesg and the first bad commit is
git://people.freedesktop.org/~robclark/linux cold-fusion commit 4eb7eae00f39d53f64441d05161317eb5fd704a6 Author: Rob Clark robdclark@gmail.com AuthorDate: Sat Mar 15 12:37:16 2014 -0400 Commit: Rob Clark robdclark@gmail.com CommitDate: Wed May 14 12:15:37 2014 -0400
drm: convert plane to properties/state Break the mutable state of a plane out into a separate structure and use atomic properties mechanism to set plane attributes. This makes it easier to have some helpers for plane->set_property() and for checking for invalid params. The idea is that individual drivers can wrap the state struct in their own struct which adds driver specific parameters, for easy build-up of state across multiple set_property() calls and for easy atomic commit or roll- back. The same should be done for CRTC, encoder, and connector, but this patch only includes the first part (plane). Signed-off-by: Rob Clark robdclark@gmail.com
+--------------------------------------------------------------------------+------------+------------+ | | 5c58528a01 | 4eb7eae00f | +--------------------------------------------------------------------------+------------+------------+ | boot_successes | 60 | 0 | | boot_failures | 0 | 20 | | WARNING:CPU:PID:at_drivers/gpu/drm/drm_crtc.c:drm_universal_plane_init() | 0 | 20 | | backtrace:drm_universal_plane_init | 0 | 20 | | backtrace:warn_slowpath_null | 0 | 20 | | backtrace:drm_plane_init | 0 | 20 | | backtrace:drm_primary_helper_create_plane | 0 | 20 | | backtrace:drm_crtc_init | 0 | 20 | | backtrace:cirrus_modeset_init | 0 | 20 | | backtrace:__pci_register_driver | 0 | 20 | | backtrace:drm_pci_init | 0 | 20 | | backtrace:cirrus_init | 0 | 20 | | backtrace:kernel_init_freeable | 0 | 20 | +--------------------------------------------------------------------------+------------+------------+
[ 4.186795] [TTM] Initializing pool allocator [ 4.187338] [TTM] Initializing DMA pool allocator [ 4.188159] ------------[ cut here ]------------ [ 4.188718] WARNING: CPU: 0 PID: 1 at drivers/gpu/drm/drm_crtc.c:1175 drm_universal_plane_init+0x7a/0x365() [ 4.189987] CPU: 0 PID: 1 Comm: swapper Not tainted 3.15.0-rc3-00250-g4eb7eae0 #19 [ 4.190879] Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011 [ 4.191516] 0000000000000000 ffff880012065b00 ffffffff81ebef16 ffff880012065b38 [ 4.192408] ffffffff81094609 ffffffff816666ee ffff880013b91000 0000000000000001 [ 4.193315] ffff880013b91001 ffffffff820264e0 ffff880012065b48 ffffffff81094744 [ 4.194231] Call Trace: [ 4.194535] [<ffffffff81ebef16>] dump_stack+0x2e/0x3e [ 4.195132] [<ffffffff81094609>] warn_slowpath_common+0x98/0xc6 [ 4.195818] [<ffffffff816666ee>] ? drm_universal_plane_init+0x7a/0x365 [ 4.196535] [<ffffffff81094744>] warn_slowpath_null+0x23/0x2c [ 4.197218] [<ffffffff816666ee>] drm_universal_plane_init+0x7a/0x365 [ 4.197946] [<ffffffff816669f1>] drm_plane_init+0x18/0x21 [ 4.198546] [<ffffffff81674c55>] drm_primary_helper_create_plane+0xd6/0x105 [ 4.199334] [<ffffffff81674ca6>] drm_crtc_init+0x22/0x4a [ 4.199950] [<ffffffff81695159>] cirrus_modeset_init+0xb6/0x29d [ 4.200623] [<ffffffff81693ba2>] cirrus_driver_load+0xe4/0x156 [ 4.201310] [<ffffffff8165ba73>] drm_dev_register+0xc4/0x187 [ 4.201946] [<ffffffff8165e904>] drm_get_pci_dev+0x1a8/0x2b1 [ 4.202568] [<ffffffff8169547f>] ? cirrus_pci_probe+0xd2/0x10d [ 4.203239] [<ffffffff816954ac>] cirrus_pci_probe+0xff/0x10d [ 4.203913] [<ffffffff814a8fcd>] pci_device_probe+0x9a/0x12f [ 4.204563] [<ffffffff816fbdc1>] driver_probe_device+0xf0/0x2f3 [ 4.205228] [<ffffffff816fc059>] __driver_attach+0x95/0xd3 [ 4.205863] [<ffffffff816fbfc4>] ? driver_probe_device+0x2f3/0x2f3 [ 4.206538] [<ffffffff816f98c9>] bus_for_each_dev+0x85/0xcd [ 4.207197] [<ffffffff816fb9a3>] driver_attach+0x20/0x29 [ 4.207823] [<ffffffff816fa541>] bus_add_driver+0x117/0x2b0 [ 4.208451] [<ffffffff816fc663>] driver_register+0x117/0x17d [ 4.209107] [<ffffffff814a8d37>] __pci_register_driver+0x66/0x70 [ 4.209773] [<ffffffff8165ea96>] drm_pci_init+0x89/0x147 [ 4.210418] [<ffffffff82eb7d86>] ? mga_init+0x33/0x33 [ 4.211011] [<ffffffff82eb7db4>] cirrus_init+0x2e/0x3f [ 4.211586] [<ffffffff82e694b3>] do_one_initcall+0xb9/0x1d7 [ 4.212234] [<ffffffff810bb700>] ? parameq+0x1f/0x2d [ 4.212794] [<ffffffff810bb976>] ? parse_args+0x268/0x3ac [ 4.213435] [<ffffffff82e698bd>] kernel_init_freeable+0x2ec/0x3f8 [ 4.214140] [<ffffffff82e6892d>] ? do_early_param+0xd7/0xd7 [ 4.214755] [<ffffffff81ea4950>] ? rest_init+0x114/0x114 [ 4.215352] [<ffffffff81ea4960>] kernel_init+0x10/0x169 [ 4.215949] [<ffffffff81edb5ca>] ret_from_fork+0x7a/0xb0 [ 4.216559] [<ffffffff81ea4950>] ? rest_init+0x114/0x114 [ 4.217192] ---[ end trace fe2f48d86c2792e8 ]--- [ 4.218922] [drm] fb mappable at 0xFC000000
git bisect start e07f7e22f8a1c3cf462293f888f3fe5f15f858d6 444c9a08bf787e8236e132fab7eceeb2f065aa4c -- git bisect good 79187920667a5ebfa4b0cb900eebd62921d1b892 # 07:45 20+ 0 drm: Allow drm_mode_object_find() to look up an object of any type git bisect bad 2c27b38d34ee0e5aeea63110b60650797e99002f # 07:47 0- 20 drm: convert crtc to properties/state git bisect good 5c58528a01dda10b408ffc36b0f34794454ee9cf # 07:50 20+ 0 drm: allow FB's in drm_mode_object_find git bisect bad 4eb7eae00f39d53f64441d05161317eb5fd704a6 # 07:52 0- 16 drm: convert plane to properties/state # first bad commit: [4eb7eae00f39d53f64441d05161317eb5fd704a6] drm: convert plane to properties/state git bisect good 5c58528a01dda10b408ffc36b0f34794454ee9cf # 07:54 60+ 0 drm: allow FB's in drm_mode_object_find git bisect bad e07f7e22f8a1c3cf462293f888f3fe5f15f858d6 # 07:54 0- 13 drm: more conservative locking git bisect good 14186fea0cb06bc43181ce239efe0df6f1af260a # 07:57 60+ 0 Merge tag 'locks-v3.15-4' of git://git.samba.org/jlayton/linux git bisect good 80bb35bc13ea62241f0f2a8f7e2cb67665504a0a # 08:14 60+ 0 Add linux-next specific files for 20140514
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/blob/master/initrd/$initrd
kvm=( qemu-system-x86_64 -cpu kvm64 -enable-kvm -kernel $kernel -initrd $initrd -smp 2 -m 256M -net nic,vlan=0,macaddr=00:00:00:00:00:00,model=virtio -net user,vlan=0 -net nic,vlan=1,model=e1000 -net user,vlan=1 -boot order=nc -no-reboot -watchdog i6300esb -serial stdio -display none -monitor null )
append=( debug sched_debug apic=debug ignore_loglevel sysrq_always_enabled panic=10 prompt_ramdisk=0 earlyprintk=ttyS0,115200 console=ttyS0,115200 console=tty0 vga=normal root=/dev/ram0 rw )
"${kvm[@]}" --append "${append[*]}" -----------------------------------------------------------------------------
Thanks, Jet