Re: drm_mm.c regression: Re: 4.0-rc3 on thinkpad x60: GUI locked up, numlock ok

From: Daniel Vetter
Date: Mon Mar 16 2015 - 04:11:54 EST


On Sat, Mar 14, 2015 at 08:21:04AM +0100, Pavel Machek wrote:
> On Thu 2015-03-12 15:23:20, Pavel Machek wrote:
> > Hi!
> >
> > It happened twice so far: in one case gui locked up, but music
> > continued playing, and I could still ssh in. (Nothing interesting in
> > the logs, if I can tell in all the spam wifi prints).
> >
> > Today it locked with blanked screen. Could not ssh in, but that may
> > have to do with network manager. Numlock worked.
>
> Third time. It is starting to get annoying. But today there's bonus in
> dmesg:

Dave just sent out the pull request with the fix for this:

commit 046d669c62f37323ef0329c41d83a03c06b2087d
Author: Krzysztof Kolasa <kkolasa@xxxxxxxxxx>
Date: Sun Mar 15 20:22:36 2015 +0100

[PATCH] drm/mm: Fix support 4 GiB and larger ranges

Cheers, Daniel

>
> [35600.549159] ------------[ cut here ]------------
> [35600.549214] kernel BUG at drivers/gpu/drm/drm_mm.c:305!
> [35600.549254] invalid opcode: 0000 [#1] SMP DEBUG_PAGEALLOC
> [35600.549301] Modules linked in:
> [35600.549324] CPU: 1 PID: 20638 Comm: chromium Tainted: G W
> 4.0.0-rc3+ #52
> [35600.549385] Hardware name: LENOVO 17097HU/17097HU, BIOS 7BETD8WW
> (2.19 ) 03/31/2011
> [35600.549445] task: d89bd560 ti: f1812000 task.ti: f1812000
> [35600.549485] EIP: 0060:[<c4397f45>] EFLAGS: 00210206 CPU: 1
> [35600.549820] EIP is at
> drm_mm_insert_node_in_range_generic+0x395/0x450
> [35600.549869] EAX: 00200000 EBX: debd7a88 ECX: dc9a4b00 EDX: 00000000
> [35600.549917] ESI: debd7a80 EDI: debd7a80 EBP: f1813e20 ESP: f1813dbc
> [35600.549963] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
> [35600.550003] CR0: 80050033 CR2: 9bda2000 CR3: 2edda000 CR4: 000006b0
> [35600.550049] Stack:
> [35600.550057] debd7a80 ffffffff d2725b00 00000000 00000000 0011e000
> 00000000 00000000
> [35600.550144] 10000000 00000000 00030000 00000000 00000000 00000000
> 0014e000 00000000
> [35600.550230] 00000000 f57e4d40 00100000 00000000 0014e000 00000000
> 00100000 f57e4d40
> [35600.550318] Call Trace:
> [35600.550337] [<c43d044f>] i915_gem_object_pin_view+0x5ff/0x7e0
> [35600.550381] [<c43d22d1>] i915_gem_fault+0x101/0x2f0
> [35600.550419] [<c40dee9f>] __do_fault+0x2f/0x80
> [35600.550451] [<c40e2086>] handle_mm_fault+0x156/0xd70
> [35600.550491] [<c403118c>] ? __do_page_fault+0xbc/0x390
> [35600.550528] [<c4031470>] ? vmalloc_sync_all+0x10/0x10
> [35600.550566] [<c40311db>] __do_page_fault+0x10b/0x390
> [35600.550604] [<c4031470>] ? vmalloc_sync_all+0x10/0x10
> [35600.550642] [<c403147b>] do_page_fault+0xb/0x10
> [35600.550675] [<c4870f57>] error_code+0x67/0x6c
> [35600.550708] [<c4870000>] ? _raw_read_lock_irq+0x20/0x30
> [35600.550745] Code: 05 0f 0b 8d 76 00 3b 55 e8 77 0b 72 05 3b 45 e4
> 73 04 0f 0b 66 90 8b 75 9c 03 46 20 13 56 24 3b 55 f0 72 12 77 05 3b
> 45 ec 76 0b <0f> 0b 89 f6 8d bc 27 00 00 00 00 39 55 d0 77 0b 72 05 39
> 45 bc
> [35600.551158] EIP: [<c4397f45>]
> drm_mm_insert_node_in_range_generic+0x395/0x450 SS:ESP 0068:f1813dbc
> [35600.560068] ---[ end trace 3863667320dca4af ]---
> pavel@duo:~$
>
>
>
> --
> (english) http://www.livejournal.com/~pavelmachek
> (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/