http://bugs.freedesktop.org/show_bug.cgi?id=18896

           Summary: [GEM 2.6.28-rc7] X freezes, warning/oops in i915 driver
                    after resuming from suspend
           Product: DRI
           Version: XOrg CVS
          Platform: x86-64 (AMD64)
        OS/Version: Linux (All)
            Status: NEW
          Severity: critical
          Priority: medium
         Component: DRM modules
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


On my Lenovo Thinkpad SL300, after resuming from suspend-to-ram, X freezes
hard, making the keyboard unusable, and forcing me to hard-reboot unless I am
near another machine that I could ssh from. Looking at dmesg, it looks like the
error is in the new GEM memory manager in the i915 driver.

Hardware:
Lenovo Thinkpad SL300
Intel GM45 Express Chipset

Software:
2.6.28-rc7-git1 kernel (64-bit)
libdrm-2.4.2 pre from Git master on 2008-12-03
xf86-video-intel-2.6 pre from Git master on 2008-12-03
mesa-7.3 pre from Git master on 2008-12-03
xorg-server-1.5.2

dmesg log #1 (after resuming during a Gnome session)
===========================
[ 7227.286194] resource map sanity check conflict: 0xd0000000 0xdfffffff
0xd0000000 0xd1feffff vesafb
[ 7227.286201] ------------[ cut here ]------------
[ 7227.286203] WARNING: at arch/x86/mm/ioremap.c:226
__ioremap_caller+0xc7/0x2c6()
[ 7227.286205] Modules linked in: uvcvideo snd_seq_dummy snd_seq_oss
snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss fuse
coretemp snd_hda_intel compat_ioctl32 firewire_ohci iwlagn snd_pcm hwmon
videodev iwlcore snd_timer v4l1_compat firewire_core sdhci_pci video
snd_page_alloc r8169 sdhci mmc_core ricoh_mmc snd_hwdep rfkill output nfs
nfs_acl lockd sunrpc dm_snapshot dm_mirror dm_region_hash dm_log scsi_wait_scan
[last unloaded: uvcvideo]
[ 7227.286231] Pid: 4853, comm: X Tainted: G        W  2.6.28-rc7-git1 #1
[ 7227.286233] Call Trace:
[ 7227.286239]  [<ffffffff8023e3b3>] warn_on_slowpath+0x58/0x7d
[ 7227.286242]  [<ffffffff80227421>] ? change_page_attr_set_clr+0x136/0x2da
[ 7227.286244]  [<ffffffff802277d9>] ? _set_memory_wc+0x22/0x24
[ 7227.286248]  [<ffffffff8066de69>] ? _read_lock+0x16/0x29
[ 7227.286250]  [<ffffffff8066e046>] ? _read_unlock+0x11/0x2a
[ 7227.286262]  [<ffffffff80226516>] __ioremap_caller+0xc7/0x2c6
[ 7227.286266]  [<ffffffff804cdafe>] ? i915_gem_entervt_ioctl+0x451/0x4e6
[ 7227.286268]  [<ffffffff80226806>] ioremap_wc+0x1b/0x25
[ 7227.286271]  [<ffffffff804cdafe>] i915_gem_entervt_ioctl+0x451/0x4e6
[ 7227.286274]  [<ffffffff802bcd73>] ? do_sync_write+0xe7/0x12d
[ 7227.286277]  [<ffffffff804bf5a6>] drm_ioctl+0x1d6/0x25e
[ 7227.286280]  [<ffffffff804cd6ad>] ? i915_gem_entervt_ioctl+0x0/0x4e6
[ 7227.286283]  [<ffffffff802c9531>] vfs_ioctl+0x5f/0x78
[ 7227.286285]  [<ffffffff802c98d7>] do_vfs_ioctl+0x38d/0x3bf
[ 7227.286287]  [<ffffffff8066e09d>] ? _spin_unlock+0x10/0x29
[ 7227.286289]  [<ffffffff802c995e>] sys_ioctl+0x55/0x77
[ 7227.286291]  [<ffffffff802bd80f>] ? sys_write+0x47/0x70
[ 7227.286294]  [<ffffffff8020b4ab>] system_call_fastpath+0x16/0x1b
[ 7227.286296] ---[ end trace c280654dc05dd35b ]---
[ 7227.293085] X:4853 conflicting memory types d0000000-e0000000
uncached-minus<->write-combining
[ 7227.293087] reserve_memtype failed 0xd0000000-0xe0000000, track
uncached-minus, req write-combining
============================


dmesg log #2 (after resuming while in the GDM screen):
===========================
[16912.873504] resource map sanity check conflict: 0xd0000000 0xdfffffff
0xd0000000 0xd1feffff vesafb
[16912.873518] ------------[ cut here ]------------
[16912.873523] WARNING: at arch/x86/mm/ioremap.c:226
__ioremap_caller+0xc7/0x2c6()
[16912.873527] Modules linked in: uvcvideo snd_seq_dummy snd_seq_oss
snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss fuse
coretemp snd_hda_intel sdhci_pci sdhci iwlagn firewire_ohci compat_ioctl32
hwmon snd_pcm mmc_core iwlcore snd_timer videodev video snd_page_alloc
v4l1_compat snd_hwdep firewire_core rfkill r8169 output nfs nfs_acl lockd
sunrpc dm_snapshot dm_mirror dm_region_hash dm_log scsi_wait_scan [last
unloaded: uvcvideo]
[16912.873582] Pid: 4983, comm: X Tainted: G        W  2.6.28-rc7-git1 #1
[16912.873586] Call Trace:
[16912.873598]  [<ffffffff8023e3b3>] warn_on_slowpath+0x58/0x7d
[16912.873605]  [<ffffffff80227421>] ? change_page_attr_set_clr+0x136/0x2da
[16912.873612]  [<ffffffff802277d9>] ? _set_memory_wc+0x22/0x24
[16912.873620]  [<ffffffff8066de69>] ? _read_lock+0x16/0x29
[16912.873625]  [<ffffffff8066e046>] ? _read_unlock+0x11/0x2a
[16912.873631]  [<ffffffff80226516>] __ioremap_caller+0xc7/0x2c6
[16912.873640]  [<ffffffff804cdafe>] ? i915_gem_entervt_ioctl+0x451/0x4e6
[16912.873646]  [<ffffffff80226806>] ioremap_wc+0x1b/0x25
[16912.873652]  [<ffffffff804cdafe>] i915_gem_entervt_ioctl+0x451/0x4e6
[16912.873659]  [<ffffffff802bcd73>] ? do_sync_write+0xe7/0x12d
[16912.873667]  [<ffffffff804bf5a6>] drm_ioctl+0x1d6/0x25e
[16912.873673]  [<ffffffff804cd6ad>] ? i915_gem_entervt_ioctl+0x0/0x4e6
[16912.873680]  [<ffffffff802c9531>] vfs_ioctl+0x5f/0x78
[16912.873685]  [<ffffffff802c98d7>] do_vfs_ioctl+0x38d/0x3bf
[16912.873691]  [<ffffffff8066e09d>] ? _spin_unlock+0x10/0x29
[16912.873696]  [<ffffffff802c995e>] sys_ioctl+0x55/0x77
[16912.873701]  [<ffffffff802bd80f>] ? sys_write+0x47/0x70
[16912.873708]  [<ffffffff8020b4ab>] system_call_fastpath+0x16/0x1b
[16912.873713] ---[ end trace d7e28a7c14b69073 ]---
[16912.891439] X:4983 conflicting memory types d0000000-e0000000
uncached-minus<->write-combining
[16912.891444] reserve_memtype failed 0xd0000000-0xe0000000, track
uncached-minus, req write-combining
[16912.983999] wlan0: deauthenticated
[16913.778803] BUG: unable to handle kernel paging request at 000000000305d000
[16913.778810] IP: [<ffffffff804ce1c6>] i915_gem_execbuffer+0x44c/0xa3c
[16913.778820] PGD 13989c067 PUD 1399bc067 PMD 0 
[16913.778825] Oops: 0002 [#1] PREEMPT SMP 
[16913.778829] last sysfs file:
/sys/devices/virtual/backlight/acpi_video0/brightness
[16913.778834] Dumping ftrace buffer:
[16913.778836]    (ftrace buffer empty)
[16913.778838] CPU 0 
[16913.778841] Modules linked in: uvcvideo snd_seq_dummy snd_seq_oss
snd_seq_midi_event snd_seq snd_seq_device snd_pcm_oss snd_mixer_oss fuse
coretemp snd_hda_intel sdhci_pci sdhci iwlagn firewire_ohci compat_ioctl32
hwmon snd_pcm mmc_core iwlcore snd_timer videodev video snd_page_alloc
v4l1_compat snd_hwdep firewire_core rfkill r8169 output nfs nfs_acl lockd
sunrpc dm_snapshot dm_mirror dm_region_hash dm_log scsi_wait_scan [last
unloaded: uvcvideo]
[16913.778882] Pid: 4983, comm: X Tainted: G        W  2.6.28-rc7-git1 #1
[16913.778885] RIP: 0010:[<ffffffff804ce1c6>]  [<ffffffff804ce1c6>]
i915_gem_execbuffer+0x44c/0xa3c
[16913.778890] RSP: 0018:ffff88013b857d28  EFLAGS: 00010206
[16913.778893] RAX: 000000000305d000 RBX: ffff880139905ae0 RCX:
000000000305c000
[16913.778895] RDX: 0000000000000000 RSI: ffff88013dd70000 RDI:
ffff88013ec6bc00
[16913.778898] RBP: ffff88013b857e18 R08: 0000000000000000 R09:
00001e0000000000
[16913.778900] R10: ffffffffffffffff R11: ffff880135628810 R12:
ffff8801354ed400
[16913.778903] R13: ffff8801354ed480 R14: ffff88013ed0d800 R15:
ffff88013b9a8ea0
[16913.778906] FS:  00007f969fd38740(0000) GS:ffffffff808ead80(0000)
knlGS:0000000000000000
[16913.778909] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[16913.778911] CR2: 000000000305d000 CR3: 00000001398e9000 CR4:
00000000000006a0
[16913.778914] DR0: 0000000000000000 DR1: 0000000000000000 DR2:
0000000000000000
[16913.778916] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7:
0000000000000400
[16913.778919] Process X (pid: 4983, threadinfo ffff88013b856000, task
ffff88013a84d940)
[16913.778921] Stack:
[16913.778923]  ffff88013b857dd8 ffffffff80597ce2 00000000ffffffea
ffff88013b87c900
[16913.778928]  ffff880135677ac0 ffff88013b52b398 ffff88013ed0d828
ffff8801398a1f40
[16913.778933]  0000000100000001 ffff88013b9a8e80 0000000000000000
ffff88013dd70000
[16913.778939] Call Trace:
[16913.778941]  [<ffffffff80597ce2>] ? sock_aio_read+0x113/0x123
[16913.778946]  [<ffffffff8066dc91>] ? _spin_lock+0x16/0x2e
[16913.778951]  [<ffffffff804c090a>] ? drm_gem_object_lookup+0x43/0x4f
[16913.778957]  [<ffffffff804bf5a6>] drm_ioctl+0x1d6/0x25e
[16913.778961]  [<ffffffff804cdd7a>] ? i915_gem_execbuffer+0x0/0xa3c
[16913.778965]  [<ffffffff802c9531>] vfs_ioctl+0x5f/0x78
[16913.778971]  [<ffffffff802c98d7>] do_vfs_ioctl+0x38d/0x3bf
[16913.778974]  [<ffffffff8066e09d>] ? _spin_unlock+0x10/0x29
[16913.778978]  [<ffffffff802c995e>] sys_ioctl+0x55/0x77
[16913.778982]  [<ffffffff802bda50>] ? sys_read+0x47/0x6f
[16913.778986]  [<ffffffff8020b4ab>] system_call_fastpath+0x16/0x1b
[16913.778991] Code: 55 b8 8b 4d b4 03 56 38 03 4b 38 48 89 d0 48 8b b5 68 ff
ff ff 48 25 00 f0 ff ff 81 e2 ff 0f 00 00 48 03 86 a8 0e 00 00 48 01 d0 <89> 08
ba 20 00 00 00 8b 5b 38 48 8d 75 b0 48 89 5d c0 48 8b 7d 
[16913.779034] RIP  [<ffffffff804ce1c6>] i915_gem_execbuffer+0x44c/0xa3c
[16913.779039]  RSP <ffff88013b857d28>
[16913.779041] CR2: 000000000305d000
[16913.779061] ---[ end trace d7e28a7c14b69073 ]---
=========================


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to