Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 336701 - sys-kernel/gentoo-sources-2.6.35-r5: crash in intel_crtc_page_flip when changing resolution
Summary: sys-kernel/gentoo-sources-2.6.35-r5: crash in intel_crtc_page_flip when chang...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL: http://git.kernel.org/?p=linux/kernel...
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2010-09-10 09:10 UTC by Leonid Podolny
Modified: 2010-10-12 12:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
crash log (crash.txt,3.75 KB, text/plain)
2010-09-10 09:22 UTC, Leonid Podolny
Details
emerge --info (emerge.info,4.33 KB, text/plain)
2010-09-10 09:22 UTC, Leonid Podolny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leonid Podolny 2010-09-10 09:10:58 UTC
With new KDE 4.5.1 and 2.6.35-gentoo-r5, when changing the screen resolution, I get the following kernel OOPS:

Sep 10 00:48:25 looptop kernel: Pid: 21466, comm: X Not tainted 2.6.35-gentoo-r5 #1 MS-1221/MSI Notebook PR200
Sep 10 00:48:25 looptop kernel: RIP: 0010:[<ffffffff8126e075>]  [<ffffffff8126e075>] intel_crtc_page_flip+0x85/0x4b0
Sep 10 00:48:25 looptop kernel: RSP: 0018:ffff8800af141cd8  EFLAGS: 00010282
Sep 10 00:48:25 looptop kernel: RAX: 0000000000000000 RBX: 00000000fffffff4 RCX: ffff88009d86f240
Sep 10 00:48:25 looptop kernel: RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffff88009d86f2c0
Sep 10 00:48:25 looptop kernel: RBP: ffff8800bea64000 R08: 0000000000000000 R09: ffff88009d86f240
Sep 10 00:48:25 looptop kernel: R10: 0000000000000000 R11: 000000000000001d R12: ffff8800be35a800
Sep 10 00:48:25 looptop kernel: R13: 000000000006101c R14: ffff88009d86f9c0 R15: ffff88009d86f940
Sep 10 00:48:25 looptop kernel: FS:  00007f3eb63f8840(0000) GS:ffff880001b00000(0000) knlGS:0000000000000000
Sep 10 00:48:25 looptop kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Sep 10 00:48:25 looptop kernel: CR2: 0000000000000058 CR3: 00000000af12c000 CR4: 00000000000006e0
Sep 10 00:48:25 looptop kernel: DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
Sep 10 00:48:25 looptop kernel: DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
Sep 10 00:48:25 looptop kernel: Process X (pid: 21466, threadinfo ffff8800af140000, task ffff8800bd7e6cf0)
Sep 10 00:48:25 looptop kernel: Stack:
Sep 10 00:48:25 looptop kernel:  ffff88009d86f740 0000000000000046 0000000000000010 ffff8800be2f2000
Sep 10 00:48:25 looptop kernel: <0> 0000000000000202 ffff8800af141dd8 ffff8800bea64000 ffff8800bc1712c0
Sep 10 00:48:25 looptop kernel: <0> ffff8800bea64418 ffff8800be35a800 ffff88009d86f9c0 ffffffff8124d9f7
Sep 10 00:48:25 looptop kernel: Call Trace:
Sep 10 00:48:25 looptop kernel:  [<ffffffff8124d9f7>] ? drm_mode_page_flip_ioctl+0x197/0x1f0
Sep 10 00:48:25 looptop kernel:  [<ffffffff81241d71>] ? drm_ioctl+0x3e1/0x470
Sep 10 00:48:25 looptop kernel:  [<ffffffff8124d860>] ? drm_mode_page_flip_ioctl+0x0/0x1f0
Sep 10 00:48:25 looptop kernel:  [<ffffffff810b815f>] ? do_sync_read+0xbf/0x100
Sep 10 00:48:25 looptop kernel:  [<ffffffff810327a9>] ? get_parent_ip+0x9/0x20
Sep 10 00:48:25 looptop kernel:  [<ffffffff810c72e5>] ? vfs_ioctl+0x35/0xd0
Sep 10 00:48:25 looptop kernel:  [<ffffffff810c7878>] ? do_vfs_ioctl+0x88/0x530
Sep 10 00:48:25 looptop kernel:  [<ffffffff810c7d69>] ? sys_ioctl+0x49/0x80
Sep 10 00:48:25 looptop kernel:  [<ffffffff810b8afe>] ? sys_read+0x4e/0x90
Sep 10 00:48:25 looptop kernel:  [<ffffffff81002e6b>] ? system_call_fastpath+0x16/0x1b
Sep 10 00:48:25 looptop kernel: Code: ff ff e8 ff 3d e4 ff 41 81 c5 1c 10 06 00 48 89 c1 48 85 c0 0f 84 a9 02 00 00 4c 89 70 38 49 8b 04 24 48 89 41 20 49 8b 44 24 20 <48> 8b 40 58 48 c7 01 00 00 00 00 48 89 41 28 48 c7 41 18 d0 7e
Sep 10 00:48:25 looptop kernel: RIP  [<ffffffff8126e075>] intel_crtc_page_flip+0x85/0x4b0
Sep 10 00:48:25 looptop kernel:  RSP <ffff8800af141cd8>
Sep 10 00:48:25 looptop kernel: CR2: 0000000000000058
Comment 1 Leonid Podolny 2010-09-10 09:13:32 UTC
I sort of already solved it (by either using 2.6.36-rc3-00334-gdf423dc or patching 2.6.35-gentoo-r5 with this patch: http://www.mail-archive.com/intel-gfx@lists.freedesktop.org/msg00835.html)
Comment 2 Leonid Podolny 2010-09-10 09:18:16 UTC
Proper problem description:

HW:
00:02.0 VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller (rev 03)

Two displays: LVDS1 with 1280x800 and DVI1 with 1680x1050.

Scenario:
- KDE starts with resolution of 1280x800
- I start krandrtray to change the resolution to match the bigger display.
- Change DVI1 to be 1680x1050, press Apply
- The screen freezes and I need to press the power button to restart the machine
Comment 3 Leonid Podolny 2010-09-10 09:22:13 UTC
Created attachment 246667 [details]
crash log
Comment 4 Leonid Podolny 2010-09-10 09:22:30 UTC
Created attachment 246668 [details]
emerge --info
Comment 5 Mike Pagano gentoo-dev 2010-09-29 14:29:54 UTC
Thanks for identifying the patch. 

Backported to 2.6.35 from kernel dev tree and will be in the next gentoo-sources-2.6.35-rX release.

Comment 6 Mike Pagano gentoo-dev 2010-10-12 12:31:46 UTC
Released in latest gentoo-sources release