problem with 731c7d3, "main drm pull request for 4.8"
From: Mike Marshall
Date: Thu Aug 04 2016 - 14:08:56 EST
Hi...
I've noticed the last couple of days that I can't boot
Linus' tree of the day on my VM...
I was moving backwards a day at a time to find one that would
boot so I could bisect, when I landed on 731c7d3, Dave Airlie's
"main drm pull request for 4.8" and saw "I'm down with a cold at the
moment so hopefully this isn't in too bad a state". So, instead
of bisecting, I just tried to boot both 731c7d3 and 77a8782, and
sure enough, 731c7d3 is the culprit.
My environment, where the oops happens, is a VM on a Centos
2.6.32-642.3.1.el6.x86_64. I made sure it was yum updated, so
all the kvm stuff is also up-to-date (for centos 2.6):
qemu-kvm-0.12.1.2-2.491.el6_8.1.x86_64
qemu-img-0.12.1.2-2.491.el6_8.1.x86_64
gpxe-roms-qemu-0.9.7-6.15.el6.noarch
I notice in the thread that grew from the 731c7d3 pull request on
the linux-kernel list that Linus and some others had some problems
with 731c7d3, but not the same ones I'm having.
Anywho... I hope Dave's cold gets better and that this oops is helpful.
I only subscribe to fs-devel, so please CC me on replies to this,
thanks!
-Mike
[ 1.291797] [drm] Initialized drm 1.1.0 20060810
[ 1.352761] [TTM] Zone kernel: Available graphics memory: 502128 kiB
[ 1.353248] [TTM] Initializing pool allocator
[ 1.353660] [TTM] Initializing DMA pool allocator
[ 1.355491] BUG: unable to handle kernel NULL pointer dereference
at 0000000000000018
[ 1.356038] IP: [<ffffffffa00c9875>] drm_pick_crtcs+0x125/0x280
[drm_kms_helper]
[ 1.356038] PGD 0
[ 1.356038] Oops: 0000 [#1] SMP
[ 1.356038] Modules linked in: cirrus(+) drm_kms_helper ttm drm
i2c_core ata_generic pata_acpi
[ 1.356038] CPU: 0 PID: 181 Comm: systemd-udevd Not tainted
4.7.0-00810-gc1ece76 #9
[ 1.356038] Hardware name: Red Hat KVM, BIOS 0.5.1 01/01/2007
[ 1.356038] task: ffff880036f40000 task.stack: ffff880036fc0000
[ 1.356038] RIP: 0010:[<ffffffffa00c9875>] [<ffffffffa00c9875>]
drm_pick_crtcs+0x125/0x280 [drm_kms_helper]
[ 1.356038] RSP: 0018:ffff880036fc3898 EFLAGS: 00010217
[ 1.356038] RAX: ffffffffa00208f0 RBX: 0000000000000000 RCX: 0000000000001000
[ 1.356038] RDX: 0000000000000000 RSI: ffffffff81c574c0 RDI: ffff880037172800
[ 1.356038] RBP: ffff880036fc3900 R08: 000000000001cc90 R09: ffff880036d829f8
[ 1.356038] R10: ffff88003e001c80 R11: ffff880036d829d8 R12: ffff880037172400
[ 1.356038] R13: 0000000000001000 R14: ffff880037172800 R15: ffff880036d829d0
[ 1.356038] FS: 00007f907d15d880(0000) GS:ffff88003fc00000(0000)
knlGS:0000000000000000
[ 1.356038] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[ 1.356038] CR2: 0000000000000018 CR3: 0000000036f6d000 CR4: 00000000000006f0
[ 1.356038] Stack:
[ 1.356038] 0000000000000008 ffff880036d829e0 ffff880036d829d8
0000000000000001
[ 1.356038] 0000000000000000 0000100000000003 ffff880036d829e0
ffff880036d829f8
[ 1.356038] 0000000000000001 ffff880037172400 0000000000000001
ffff880036d829d0
[ 1.356038] Call Trace:
[ 1.356038] [<ffffffffa00ca199>] drm_setup_crtcs+0x339/0xa00
[drm_kms_helper]
[ 1.356038] [<ffffffff810f78d6>] ? mark_held_locks+0x66/0x90
[ 1.356038] [<ffffffff817f2149>] ? __mutex_unlock_slowpath+0xd9/0x1a0
[ 1.356038] [<ffffffffa00caa91>]
drm_fb_helper_initial_config+0x81/0x3a8 [drm_kms_helper]
[ 1.356038] [<ffffffffa00475c6>] ? drm_modeset_unlock_all+0x66/0xc0 [drm]
[ 1.356038] [<ffffffffa0021df0>] cirrus_fbdev_init+0xa0/0xb0 [cirrus]
[ 1.356038] [<ffffffffa002148b>] cirrus_modeset_init+0x18b/0x1e0 [cirrus]
[ 1.356038] [<ffffffffa002042c>] cirrus_driver_load+0xbc/0x100 [cirrus]
[ 1.356038] [<ffffffffa0031b29>] drm_dev_register+0xa9/0xd0 [drm]
[ 1.356038] [<ffffffffa0033b0f>] drm_get_pci_dev+0x8f/0x1e0 [drm]
[ 1.356038] [<ffffffff810f7acd>] ? trace_hardirqs_on+0xd/0x10
[ 1.356038] [<ffffffffa002165d>] cirrus_pci_probe+0x9d/0xc0 [cirrus]
[ 1.356038] [<ffffffff8143bef5>] local_pci_probe+0x45/0xa0
[ 1.356038] [<ffffffff8143cf40>] ? pci_match_device+0xe0/0x110
[ 1.356038] [<ffffffff8143d311>] pci_device_probe+0xe1/0x130
[ 1.356038] [<ffffffff8152b9c4>] driver_probe_device+0x1d4/0x420
[ 1.356038] [<ffffffff8152bcf1>] __driver_attach+0xe1/0xf0
[ 1.356038] [<ffffffff8152bc10>] ? driver_probe_device+0x420/0x420
[ 1.356038] [<ffffffff815296c4>] bus_for_each_dev+0x64/0xa0
[ 1.356038] [<ffffffff8152b2be>] driver_attach+0x1e/0x20
[ 1.356038] [<ffffffff8152ac05>] bus_add_driver+0x45/0x270
[ 1.356038] [<ffffffffa008b000>] ? 0xffffffffa008b000
[ 1.356038] [<ffffffff8152c9f0>] driver_register+0x60/0xe0
[ 1.356038] [<ffffffffa008b000>] ? 0xffffffffa008b000
[ 1.356038] [<ffffffff8143b840>] __pci_register_driver+0x60/0x70
[ 1.356038] [<ffffffffa0033d40>] drm_pci_init+0xe0/0x110 [drm]
[ 1.356038] [<ffffffffa008b000>] ? 0xffffffffa008b000
[ 1.356038] [<ffffffffa008b032>] cirrus_init+0x32/0x1000 [cirrus]
[ 1.356038] [<ffffffff8100217d>] do_one_initcall+0x3d/0x160
[ 1.356038] [<ffffffff81114c62>] ? rcu_read_lock_sched_held+0x62/0x70
[ 1.356038] [<ffffffff8122e771>] ? kmem_cache_alloc_trace+0x221/0x290
[ 1.356038] [<ffffffff811bef3d>] ? do_init_module+0x27/0x1f3
[ 1.356038] [<ffffffff811bef76>] do_init_module+0x60/0x1f3
[ 1.356038] [<ffffffff8113ca2b>] load_module+0x20ab/0x2930
[ 1.356038] [<ffffffff81139760>] ? __symbol_put+0x40/0x40
[ 1.356038] [<ffffffff8113d4b6>] SYSC_finit_module+0x96/0xd0
[ 1.356038] [<ffffffff8113d50e>] SyS_finit_module+0xe/0x10
[ 1.356038] [<ffffffff817f4abc>] entry_SYSCALL_64_fastpath+0x1f/0xbd
[ 1.356038] Code: 85 5e 01 00 00 48 8b 00 48 39 d0 75 e3 49 8b 54
24 08 49 8b 86 98 02 00 00 4c 89 f7 4c 89 5d a8 48 8b 92 80 08 00 00
48 8b 40 10 <48> 83 7a 18 00 74 09 48 85 c0 0f 84 35 01 00 00 ff d0 4c
8b 5d
[ 1.356038] RIP [<ffffffffa00c9875>] drm_pick_crtcs+0x125/0x280
[drm_kms_helper]
[ 1.356038] RSP <ffff880036fc3898>
[ 1.356038] CR2: 0000000000000018
[ 1.382126] ---[ end trace a0dcb12aa8e9e25b ]---
[ 1.382437] tsc: Refined TSC clocksource calibration: 3392.260 MHz
[ 1.382832] clocksource: tsc: