On my laptop X hangs as soon as something uses OpenGL it seems. Running for example glxinfo or glxgears causes it to freeze. I have not had any issues like this before, and 2.6.34 works ok but not 2.6.35
I have pasted the Oops here: http://codepad.org/R9Nuheug
I will include it with this email too, but to avoid problems with the formatting I have provided the link above.
I'm not sure what else to provide? Let me know if I can do something to test this further..
This is on a HP Compaq 6910p laptop
I'm not subscribed to the list so feel free to CC me on any replies.
Thanks /Andreas
Oops message: Aug 9 09:51:55 asu-laptop kernel: [ 29.738192] BUG: unable to handle kernel NULL pointer dereference at (null) Aug 9 09:51:55 asu-laptop kernel: [ 29.738199] IP: [<(null)>] (null) Aug 9 09:51:55 asu-laptop kernel: [ 29.738203] PGD 128480067 PUD 12847e067 PMD 0 Aug 9 09:51:55 asu-laptop kernel: [ 29.738208] Oops: 0010 [#1] SMP Aug 9 09:51:55 asu-laptop kernel: [ 29.738211] last sysfs file: /sys/devices/virtual/backlight/acpi_video0/brightness Aug 9 09:51:55 asu-laptop kernel: [ 29.738214] CPU 0 Aug 9 09:51:55 asu-laptop kernel: [ 29.738216] Modules linked in: rfcomm l2cap twofish twofish_common serpent rmd160 af_key fus e iscsi_tcp libiscsi_tcp libiscsi scsi_transport_iscsi firewire_sbp2 btusb bluetooth iwlagn firewire_ohci firewire_core crc_itu_t psmouse iwlcore hp_accel lis3lv02d Aug 9 09:51:55 asu-laptop kernel: [ 29.738236] Aug 9 09:51:55 asu-laptop kernel: [ 29.738240] Pid: 4865, comm: glxinfo Not tainted 2.6.35 #1 30BE/HP Compaq 6910p (GB949ET#AK8 ) Aug 9 09:51:55 asu-laptop kernel: [ 29.738242] RIP: 0010:[<0000000000000000>] [<(null)>] (null) Aug 9 09:51:55 asu-laptop kernel: [ 29.738246] RSP: 0018:ffff8801331b7cf0 EFLAGS: 00010286 Aug 9 09:51:55 asu-laptop kernel: [ 29.738248] RAX: ffff88013be1c028 RBX: 0000000000000000 RCX: 000000000000c3ec Aug 9 09:51:55 asu-laptop kernel: [ 29.738251] RDX: 000000000000c3f0 RSI: ffff88013be1c028 RDI: ffff88013be77000 Aug 9 09:51:55 asu-laptop kernel: [ 29.738254] RBP: ffff8801331b7cf8 R08: 00000000000000d0 R09: ffff88013be77000 Aug 9 09:51:55 asu-laptop kernel: [ 29.738256] R10: ffff8801331b7cf8 R11: 0000000000000000 R12: ffff88013be77000 Aug 9 09:51:55 asu-laptop kernel: [ 29.738259] R13: ffff8801331b7dc8 R14: 0000000000000002 R15: 0000000000000000 Aug 9 09:51:55 asu-laptop kernel: [ 29.738262] FS: 00007f42d3e8c6e0(0000) GS:ffff880001e00000(0000) knlGS:0000000000000000 Aug 9 09:51:55 asu-laptop kernel: [ 29.738265] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b Aug 9 09:51:55 asu-laptop kernel: [ 29.738268] CR2: 0000000000000000 CR3: 000000012847c000 CR4: 00000000000006f0 Aug 9 09:51:55 asu-laptop kernel: [ 29.738270] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 Aug 9 09:51:55 asu-laptop kernel: [ 29.738273] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 Aug 9 09:51:55 asu-laptop kernel: [ 29.738276] Process glxinfo (pid: 4865, threadinfo ffff8801331b6000, task ffff88012c51b3a0) Aug 9 09:51:55 asu-laptop kernel: [ 29.738278] Stack: Aug 9 09:51:55 asu-laptop kernel: [ 29.738280] ffffffff813058f9 ffff8801331b7d78 ffffffff812e39fe ffff880100000000 Aug 9 09:51:55 asu-laptop kernel: [ 29.738284] <0> 00000002331b7d58 ffff88013be1c000 ffff88013be77020 ffffc90004282898 Aug 9 09:51:55 asu-laptop kernel: [ 29.738289] <0> 0000000000000000 ffff88013a050da0 0000000000000000 0000000200000001 Aug 9 09:51:55 asu-laptop kernel: [ 29.738294] Call Trace: Aug 9 09:51:55 asu-laptop kernel: [ 29.738304] [<ffffffff813058f9>] ? intel_ring_advance+0xd/0xf Aug 9 09:51:55 asu-laptop kernel: [ 29.738310] [<ffffffff812e39fe>] i915_cmdbuffer+0x3a2/0x452 Aug 9 09:51:55 asu-laptop kernel: [ 29.738316] [<ffffffff812d1e90>] drm_ioctl+0x27a/0x338 Aug 9 09:51:55 asu-laptop kernel: [ 29.738319] [<ffffffff812e365c>] ? i915_cmdbuffer+0x0/0x452 Aug 9 09:51:55 asu-laptop kernel: [ 29.738324] [<ffffffff810ba72c>] ? __do_fault+0x341/0x378 Aug 9 09:51:55 asu-laptop kernel: [ 29.738328] [<ffffffff810e2728>] vfs_ioctl+0x2a/0x9e Aug 9 09:51:55 asu-laptop kernel: [ 29.738331] [<ffffffff810e2c8d>] do_vfs_ioctl+0x476/0x4aa Aug 9 09:51:55 asu-laptop kernel: [ 29.738335] [<ffffffff810e2d16>] sys_ioctl+0x55/0x77 Aug 9 09:51:55 asu-laptop kernel: [ 29.738340] [<ffffffff81002a2b>] system_call_fastpath+0x16/0x1b Aug 9 09:51:55 asu-laptop kernel: [ 29.738342] Code: Bad RIP value. Aug 9 09:51:55 asu-laptop kernel: [ 29.738347] RIP [<(null)>] (null) Aug 9 09:51:55 asu-laptop kernel: [ 29.738349] RSP <ffff8801331b7cf0> Aug 9 09:51:55 asu-laptop kernel: [ 29.738351] CR2: 0000000000000000 Aug 9 09:51:55 asu-laptop kernel: [ 29.738354] ---[ end trace 29d634c2bb639d07 ]---
Andreas Sundstrom wrote:
On my laptop X hangs as soon as something uses OpenGL it seems. Running for example glxinfo or glxgears causes it to freeze. I have not had any issues like this before, and 2.6.34 works ok but not 2.6.35
Just want to say that it the same status with 2.6.35.1
Any help in diagnosing this would be appreciated
/Andreas
Andreas Sundstrom wrote:
Andreas Sundstrom wrote:
On my laptop X hangs as soon as something uses OpenGL it seems. Running for example glxinfo or glxgears causes it to freeze. I have not had any issues like this before, and 2.6.34 works ok but not 2.6.35
Just want to say that it the same status with 2.6.35.1
I have now use git bisect for the first time.. Took a while but finally this commit was shown by git as the offending commit:
8187a2b70e34c727a06617441f74f202b6fefaf9 is first bad commit commit 8187a2b70e34c727a06617441f74f202b6fefaf9 Author: Zou Nan hai nanhai.zou@intel.com Date: Fri May 21 09:08:55 2010 +0800
drm/i915: introduce intel_ring_buffer structure (V2)
Introduces a more complete intel_ring_buffer structure with callbacks for setup and management of a particular ringbuffer, and converts the render ring buffer consumers to use it.
Signed-off-by: Zou Nan hai nanhai.zou@intel.com Signed-off-by: Xiang Hai hao haihao.xiang@intel.com [anholt: Fixed up whitespace fail and rebased against prep patches] Signed-off-by: Eric Anholt eric@anholt.net
:040000 040000 b90a540c84c2ffa50b8b0bb7292749cef96e75d3 22c06e081bc722df129f2d0dc937950d5f164c5c M drivers :040000 040000 6ac1363503569458bf035132b01f206c256701cb 757099565b205b0908a8b903db5c9b00d2c6e142 M include
I was not able to revert this commit from 2.6.35.1, but maybe it can be a pointer in the right direction for someone that knows this stuff?
/Andreas
dri-devel@lists.freedesktop.org