Bug 62507 - [snb] rc6 hang
Summary: [snb] rc6 hang
Status: CLOSED INVALID
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: medium major
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-19 06:52 UTC by supercatexpert
Modified: 2017-07-24 22:58 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Xorg.0.log (46.41 KB, text/plain)
2013-03-19 06:56 UTC, supercatexpert
no flags Details

Description supercatexpert 2013-03-19 06:52:21 UTC
The computer lags, and the X11 process has high CPU usage. I get the error
message from dmesg like:
[  189.247399] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed...
GPU hung

I have tried the previous kernel (3.2.35) with no problem, and then I tried the lastest kernel in Debian (3.8.2 in experimental), and the same bug occurs again.

Some debug info below (in 3.2.39):

-- Package-specific info:
** Version:
Linux version 3.2.0-4-amd64 (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-15) ) #1 SMP Debian 3.2.39-2

** Command line:
BOOT_IMAGE=/boot/vmlinuz-3.2.0-4-amd64 root=UUID=7e0ea515-c746-4a30-91f9-fe781b99940f ro quiet

** Tainted: WO (4608)
 * Taint on warning.
 * Out-of-tree module has been loaded.

** Kernel log:
[  189.231846]  [<ffffffff810569e0>] ? do_sigaltstack+0xaa/0x13e
[  189.231850]  [<ffffffff8100e6e5>] ? sys_rt_sigreturn+0x19f/0x1ce
[  189.231854]  [<ffffffff8110713d>] ? sys_ioctl+0x4b/0x72
[  189.231859]  [<ffffffff81352952>] ? system_call_fastpath+0x16/0x1b
[  189.231862] ---[ end trace c43e7ad7ee14427b ]---
[  189.247399] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
[  189.247406] [drm] capturing error event; look for more information in /debug/dri/0/i915_error_state
[  189.250116] ------------[ cut here ]------------
[  189.250129] WARNING: at /build/buildd-linux_3.2.39-2-amd64-G5_nN0/linux-3.2.39/drivers/gpu/drm/i915/i915_drv.c:402 gen6_gt_check_fifodbg.isra.5+0x2c/0x3c [i915]()
[  189.250133] Hardware name: To Be Filled By O.E.M.
[  189.250135] MMIO read or write has been dropped 3
[  189.250137] Modules linked in: ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables vmnet(O) parport_pc parport fuse vsock(O) vmci(O) vmmon(O) rfcomm bnep bluetooth rfkill nfsd nfs nfs_acl auth_rpcgss fscache lockd sunrpc loop hdlc kvm_intel kvm snd_hda_codec_hdmi snd_hda_codec_realtek usbhid hid coretemp crc32c_intel ghash_clmulni_intel evdev snd_hda_intel snd_hda_codec i915 snd_hwdep snd_pcm snd_page_alloc aesni_intel snd_seq aes_x86_64 snd_seq_device video drm_kms_helper snd_timer iTCO_wdt aes_generic drm iTCO_vendor_support cryptd psmouse snd i2c_algo_bit i2c_i801 serio_raw acpi_cpufreq i2c_core pcspkr mperf soundcore processor button thermal_sys ext4 crc16 jbd2 mbcache dm_mod sg sd_mod crc_t10dif ahci libahci xhci_hcd libata scsi_mod r8169 mii ehci_hcd usbcore usb_common [last unloaded: scsi_wait_scan]
[  189.250198] Pid: 2473, comm: Xorg Tainted: G        W  O 3.2.0-4-amd64 #1 Debian 3.2.39-2
[  189.250201] Call Trace:
[  189.250206]  [<ffffffff81046a35>] ? warn_slowpath_common+0x78/0x8c
[  189.250211]  [<ffffffff81046ae1>] ? warn_slowpath_fmt+0x45/0x4a
[  189.250221]  [<ffffffffa0293a5b>] ? i915_write32+0x1f/0x6f [i915]
[  189.250228]  [<ffffffffa02933cb>] ? gen6_gt_check_fifodbg.isra.5+0x2c/0x3c [i915]
[  189.250236]  [<ffffffffa0293649>] ? gen6_gt_force_wake_put+0x2b/0x3a [i915]
[  189.250247]  [<ffffffffa02a1b3e>] ? i915_wait_request+0x2f1/0x3a4 [i915]
[  189.250252]  [<ffffffff8105f943>] ? add_wait_queue+0x3c/0x3c
[  189.250263]  [<ffffffffa02a6cbb>] ? i915_gem_do_execbuffer.isra.7+0xc70/0x1213 [i915]
[  189.250267]  [<ffffffff81070be5>] ? arch_local_irq_save+0x11/0x17
[  189.250271]  [<ffffffff8134c600>] ? __schedule+0x5a0/0x5c3
[  189.250281]  [<ffffffffa02a75cf>] ? i915_gem_execbuffer2+0x109/0x17a [i915]
[  189.250285]  [<ffffffff81054060>] ? dequeue_signal+0x9b/0x110
[  189.250294]  [<ffffffffa020c630>] ? drm_ioctl+0x2a2/0x377 [drm]
[  189.250303]  [<ffffffffa02a74c6>] ? i915_gem_execbuffer+0x268/0x268 [i915]
[  189.250308]  [<ffffffff8100e33a>] ? do_signal+0x547/0x610
[  189.250312]  [<ffffffff81036408>] ? should_resched+0x5/0x23
[  189.250315]  [<ffffffff81036408>] ? should_resched+0x5/0x23
[  189.250319]  [<ffffffff811070b1>] ? do_vfs_ioctl+0x459/0x49a
[  189.250323]  [<ffffffff810569e0>] ? do_sigaltstack+0xaa/0x13e
[  189.250328]  [<ffffffff8100e6e5>] ? sys_rt_sigreturn+0x19f/0x1ce
[  189.250332]  [<ffffffff8110713d>] ? sys_ioctl+0x4b/0x72
[  189.250337]  [<ffffffff81352952>] ? system_call_fastpath+0x16/0x1b
[  189.250340] ---[ end trace c43e7ad7ee14427c ]---
[  189.250892] ------------[ cut here ]------------
[  189.250901] WARNING: at /build/buildd-linux_3.2.39-2-amd64-G5_nN0/linux-3.2.39/drivers/gpu/drm/i915/i915_drv.c:402 gen6_gt_check_fifodbg.isra.5+0x2c/0x3c [i915]()
[  189.250904] Hardware name: To Be Filled By O.E.M.
[  189.250906] MMIO read or write has been dropped 3
[  189.250908] Modules linked in: ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables vmnet(O) parport_pc parport fuse vsock(O) vmci(O) vmmon(O) rfcomm bnep bluetooth rfkill nfsd nfs nfs_acl auth_rpcgss fscache lockd sunrpc loop hdlc kvm_intel kvm snd_hda_codec_hdmi snd_hda_codec_realtek usbhid hid coretemp crc32c_intel ghash_clmulni_intel evdev snd_hda_intel snd_hda_codec i915 snd_hwdep snd_pcm snd_page_alloc aesni_intel snd_seq aes_x86_64 snd_seq_device video drm_kms_helper snd_timer iTCO_wdt aes_generic drm iTCO_vendor_support cryptd psmouse snd i2c_algo_bit i2c_i801 serio_raw acpi_cpufreq i2c_core pcspkr mperf soundcore processor button thermal_sys ext4 crc16 jbd2 mbcache dm_mod sg sd_mod crc_t10dif ahci libahci xhci_hcd libata scsi_mod r8169 mii ehci_hcd usbcore usb_common [last unloaded: scsi_wait_scan]
[  189.250965] Pid: 2473, comm: Xorg Tainted: G        W  O 3.2.0-4-amd64 #1 Debian 3.2.39-2
[  189.250968] Call Trace:
[  189.250972]  [<ffffffff81046a35>] ? warn_slowpath_common+0x78/0x8c
[  189.250976]  [<ffffffff81046ae1>] ? warn_slowpath_fmt+0x45/0x4a
[  189.250981]  [<ffffffff811b22b0>] ? delay_tsc+0x29/0x5e
[  189.250988]  [<ffffffffa02933cb>] ? gen6_gt_check_fifodbg.isra.5+0x2c/0x3c [i915]
[  189.250996]  [<ffffffffa0293886>] ? i915_read32+0x6f/0xa0 [i915]
[  189.251008]  [<ffffffffa02c5336>] ? gen6_ring_get_seqno+0x21/0x2f [i915]
[  189.251018]  [<ffffffffa02a1908>] ? i915_wait_request+0xbb/0x3a4 [i915]
[  189.251027]  [<ffffffffa02a1c85>] ? i915_gem_flush_ring+0x66/0x112 [i915]
[  189.251036]  [<ffffffffa02a6cbb>] ? i915_gem_do_execbuffer.isra.7+0xc70/0x1213 [i915]
[  189.251040]  [<ffffffff81070be5>] ? arch_local_irq_save+0x11/0x17
[  189.251044]  [<ffffffff8134c600>] ? __schedule+0x5a0/0x5c3
[  189.251054]  [<ffffffffa02a75cf>] ? i915_gem_execbuffer2+0x109/0x17a [i915]
[  189.251062]  [<ffffffffa020c630>] ? drm_ioctl+0x2a2/0x377 [drm]
[  189.251071]  [<ffffffffa02a74c6>] ? i915_gem_execbuffer+0x268/0x268 [i915]
[  189.251076]  [<ffffffff8100e33a>] ? do_signal+0x547/0x610
[  189.251079]  [<ffffffff81036408>] ? should_resched+0x5/0x23
[  189.251082]  [<ffffffff8134c667>] ? _cond_resched+0x7/0x1c
[  189.251086]  [<ffffffff812649e6>] ? input_event_to_user+0x73/0x85
[  189.251089]  [<ffffffff81036408>] ? should_resched+0x5/0x23
[  189.251094]  [<ffffffff811070b1>] ? do_vfs_ioctl+0x459/0x49a
[  189.251098]  [<ffffffff810569e0>] ? do_sigaltstack+0xaa/0x13e
[  189.251102]  [<ffffffff8100e6e5>] ? sys_rt_sigreturn+0x19f/0x1ce
[  189.251106]  [<ffffffff8110713d>] ? sys_ioctl+0x4b/0x72
[  189.251111]  [<ffffffff81352952>] ? system_call_fastpath+0x16/0x1b
[  189.251114] ---[ end trace c43e7ad7ee14427d ]---
[  189.251635] ------------[ cut here ]------------
[  189.251642] WARNING: at /build/buildd-linux_3.2.39-2-amd64-G5_nN0/linux-3.2.39/drivers/gpu/drm/i915/i915_drv.c:402 gen6_gt_check_fifodbg.isra.5+0x2c/0x3c [i915]()
[  189.251646] Hardware name: To Be Filled By O.E.M.
[  189.251648] MMIO read or write has been dropped 3
[  189.251650] Modules linked in: ip6table_filter ip6_tables iptable_filter ip_tables ebtable_nat ebtables x_tables vmnet(O) parport_pc parport fuse vsock(O) vmci(O) vmmon(O) rfcomm bnep bluetooth rfkill nfsd nfs nfs_acl auth_rpcgss fscache lockd sunrpc loop hdlc kvm_intel kvm snd_hda_codec_hdmi snd_hda_codec_realtek usbhid hid coretemp crc32c_intel ghash_clmulni_intel evdev snd_hda_intel snd_hda_codec i915 snd_hwdep snd_pcm snd_page_alloc aesni_intel snd_seq aes_x86_64 snd_seq_device video drm_kms_helper snd_timer iTCO_wdt aes_generic drm iTCO_vendor_support cryptd psmouse snd i2c_algo_bit i2c_i801 serio_raw acpi_cpufreq i2c_core pcspkr mperf soundcore processor button thermal_sys ext4 crc16 jbd2 mbcache dm_mod sg sd_mod crc_t10dif ahci libahci xhci_hcd libata scsi_mod r8169 mii ehci_hcd usbcore usb_common [last unloaded: scsi_wait_scan]
[  189.251724] Pid: 2473, comm: Xorg Tainted: G        W  O 3.2.0-4-amd64 #1 Debian 3.2.39-2
[  189.251727] Call Trace:
[  189.251731]  [<ffffffff81046a35>] ? warn_slowpath_common+0x78/0x8c
[  189.251735]  [<ffffffff81046ae1>] ? warn_slowpath_fmt+0x45/0x4a
[  189.251744]  [<ffffffffa0293a5b>] ? i915_write32+0x1f/0x6f [i915]
[  189.251751]  [<ffffffffa02933cb>] ? gen6_gt_check_fifodbg.isra.5+0x2c/0x3c [i915]
[  189.251759]  [<ffffffffa0293649>] ? gen6_gt_force_wake_put+0x2b/0x3a [i915]
[  189.251768]  [<ffffffffa02a1b3e>] ? i915_wait_request+0x2f1/0x3a4 [i915]
[  189.251777]  [<ffffffffa02a1c85>] ? i915_gem_flush_ring+0x66/0x112 [i915]
[  189.251786]  [<ffffffffa02a6cbb>] ? i915_gem_do_execbuffer.isra.7+0xc70/0x1213 [i915]
[  189.251790]  [<ffffffff81070be5>] ? arch_local_irq_save+0x11/0x17
[  189.251796]  [<ffffffff8134c600>] ? __schedule+0x5a0/0x5c3
[  189.251807]  [<ffffffffa02a75cf>] ? i915_gem_execbuffer2+0x109/0x17a [i915]
[  189.251817]  [<ffffffffa020c630>] ? drm_ioctl+0x2a2/0x377 [drm]
[  189.251827]  [<ffffffffa02a74c6>] ? i915_gem_execbuffer+0x268/0x268 [i915]
[  189.251834]  [<ffffffff8100e33a>] ? do_signal+0x547/0x610
[  189.251839]  [<ffffffff81036408>] ? should_resched+0x5/0x23
[  189.251844]  [<ffffffff8134c667>] ? _cond_resched+0x7/0x1c
[  189.251850]  [<ffffffff812649e6>] ? input_event_to_user+0x73/0x85
[  189.251855]  [<ffffffff81036408>] ? should_resched+0x5/0x23
[  189.251861]  [<ffffffff811070b1>] ? do_vfs_ioctl+0x459/0x49a
[  189.251867]  [<ffffffff810569e0>] ? do_sigaltstack+0xaa/0x13e
[  189.251873]  [<ffffffff8100e6e5>] ? sys_rt_sigreturn+0x19f/0x1ce
[  189.251879]  [<ffffffff8110713d>] ? sys_ioctl+0x4b/0x72
[  189.251886]  [<ffffffff81352952>] ? system_call_fastpath+0x16/0x1b
[  189.251890] ---[ end trace c43e7ad7ee14427e ]---

** Model information
sys_vendor: To Be Filled By O.E.M.
product_name: To Be Filled By O.E.M.
product_version: To Be Filled By O.E.M.
chassis_vendor: To Be Filled By O.E.M.
chassis_version: To Be Filled By O.E.M.
bios_vendor: American Megatrends Inc.
bios_version: P1.60
board_vendor: ASRock
board_name: Z68 Pro3
board_version:         

** Loaded modules:
ip6table_filter
ip6_tables
iptable_filter
ip_tables
ebtable_nat
ebtables
x_tables
vmnet(O)
parport_pc
parport
fuse
vsock(O)
vmci(O)
vmmon(O)
rfcomm
bnep
bluetooth
rfkill
nfsd
nfs
nfs_acl
auth_rpcgss
fscache
lockd
sunrpc
loop
hdlc
kvm_intel
kvm
snd_hda_codec_hdmi
snd_hda_codec_realtek
usbhid
hid
coretemp
crc32c_intel
ghash_clmulni_intel
evdev
snd_hda_intel
snd_hda_codec
i915
snd_hwdep
snd_pcm
snd_page_alloc
aesni_intel
snd_seq
aes_x86_64
snd_seq_device
video
drm_kms_helper
snd_timer
iTCO_wdt
aes_generic
drm
iTCO_vendor_support
cryptd
psmouse
snd
i2c_algo_bit
i2c_i801
serio_raw
acpi_cpufreq
i2c_core
pcspkr
mperf
soundcore
processor
button
thermal_sys
ext4
crc16
jbd2
mbcache
dm_mod
sg
sd_mod
crc_t10dif
ahci
libahci
xhci_hcd
libata
scsi_mod
r8169
mii
ehci_hcd
usbcore
usb_common

** PCI devices:
00:00.0 Host bridge [0600]: Intel Corporation 2nd Generation Core Processor Family DRAM Controller [8086:0100] (rev 09)
	Subsystem: ASRock Incorporation Device [1849:0100]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ >SERR- <PERR- INTx-
	Latency: 0
	Capabilities: <access denied>
	Kernel driver in use: agpgart-intel

00:02.0 VGA compatible controller [0300]: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0112] (rev 09) (prog-if 00 [VGA controller])
	Subsystem: ASRock Incorporation Device [1849:0112]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 47
	Region 0: Memory at fe000000 (64-bit, non-prefetchable) [size=4M]
	Region 2: Memory at c0000000 (64-bit, prefetchable) [size=256M]
	Region 4: I/O ports at f000 [size=64]
	Expansion ROM at <unassigned> [disabled]
	Capabilities: <access denied>
	Kernel driver in use: i915

00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)
	Subsystem: ASRock Incorporation Device [1849:1c3a]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 11
	Region 0: Memory at fe508000 (64-bit, non-prefetchable) [size=16]
	Capabilities: <access denied>

00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 05) (prog-if 20 [EHCI])
	Subsystem: ASRock Incorporation Device [1849:1c2d]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 16
	Region 0: Memory at fe507000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: ehci_hcd

00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 05)
	Subsystem: ASRock Incorporation Device [1849:1892]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 48
	Region 0: Memory at fe500000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel

00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 [8086:1c10] (rev b5) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1c.4 PCI bridge [0604]: Intel Corporation 82801 PCI Bridge [8086:244e] (rev b5) (prog-if 01 [Subtractive decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Bus: primary=00, secondary=02, subordinate=03, sec-latency=0
	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: <access denied>

00:1c.5 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 6 [8086:1c1a] (rev b5) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
	I/O behind bridge: 0000e000-0000efff
	Prefetchable memory behind bridge: 00000000d0000000-00000000d00fffff
	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- <SERR- <PERR-
	BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1c.6 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 7 [8086:1c1c] (rev b5) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
	Memory behind bridge: fe400000-fe4fffff
	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1c.7 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 8 [8086:1c1e] (rev b5) (prog-if 00 [Normal decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Bus: primary=00, secondary=06, subordinate=06, sec-latency=0
	Secondary status: 66MHz- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:1d.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 05) (prog-if 20 [EHCI])
	Subsystem: ASRock Incorporation Device [1849:1c26]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin A routed to IRQ 23
	Region 0: Memory at fe506000 (32-bit, non-prefetchable) [size=1K]
	Capabilities: <access denied>
	Kernel driver in use: ehci_hcd

00:1f.0 ISA bridge [0601]: Intel Corporation Z68 Express Chipset Family LPC Controller [8086:1c44] (rev 05)
	Subsystem: ASRock Incorporation Device [1849:1c44]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Capabilities: <access denied>

00:1f.2 SATA controller [0106]: Intel Corporation 6 Series/C200 Series Chipset Family SATA AHCI Controller [8086:1c02] (rev 05) (prog-if 01 [AHCI 1.0])
	Subsystem: ASRock Incorporation Device [1849:1c02]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0
	Interrupt: pin B routed to IRQ 46
	Region 0: I/O ports at f0b0 [size=8]
	Region 1: I/O ports at f0a0 [size=4]
	Region 2: I/O ports at f090 [size=8]
	Region 3: I/O ports at f080 [size=4]
	Region 4: I/O ports at f060 [size=32]
	Region 5: Memory at fe505000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: ahci

00:1f.3 SMBus [0c05]: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller [8086:1c22] (rev 05)
	Subsystem: ASRock Incorporation Device [1849:1c22]
	Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Interrupt: pin C routed to IRQ 18
	Region 0: Memory at fe504000 (64-bit, non-prefetchable) [size=256]
	Region 4: I/O ports at f040 [size=32]
	Kernel driver in use: i801_smbus

02:00.0 PCI bridge [0604]: ASMedia Technology Inc. ASM1083/1085 PCIe to PCI Bridge [1b21:1080] (rev 03) (prog-if 01 [Subtractive decode])
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Bus: primary=02, secondary=03, subordinate=03, sec-latency=32
	Secondary status: 66MHz+ FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
	BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
		PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
	Capabilities: <access denied>

04:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06)
	Subsystem: ASRock Incorporation Motherboard (one of many) [1849:8168]
	Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 44
	Region 0: I/O ports at e000 [size=256]
	Region 2: Memory at d0004000 (64-bit, prefetchable) [size=4K]
	Region 4: Memory at d0000000 (64-bit, prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: r8169

05:00.0 USB controller [0c03]: Etron Technology, Inc. EJ168 USB 3.0 Host Controller [1b6f:7023] (rev 01) (prog-if 30 [XHCI])
	Subsystem: ASRock Incorporation Device [1849:7023]
	Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
	Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
	Latency: 0, Cache Line Size: 64 bytes
	Interrupt: pin A routed to IRQ 45
	Region 0: Memory at fe400000 (64-bit, non-prefetchable) [size=32K]
	Capabilities: <access denied>
	Kernel driver in use: xhci_hcd


** USB devices:
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 004 Device 003: ID 045e:0782 Microsoft Corp. 
Bus 004 Device 004: ID 413c:2107 Dell Computer Corp. 


-- System Information:
Debian Release: 7.0
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-image-3.2.0-4-amd64 depends on:
ii  debconf [debconf-2.0]                   1.5.49
ii  initramfs-tools [linux-initramfs-tool]  0.109
ii  kmod                                    9-2
ii  linux-base                              3.5
ii  module-init-tools                       9-2

Versions of packages linux-image-3.2.0-4-amd64 recommends:
pn  firmware-linux-free  <none>

Versions of packages linux-image-3.2.0-4-amd64 suggests:
pn  debian-kernel-handbook     <none>
pn  grub-pc | extlinux | lilo  <none>
pn  linux-doc-3.2              <none>

Versions of packages linux-image-3.2.0-4-amd64 is related to:
pn  firmware-atheros        <none>
pn  firmware-bnx2           <none>
pn  firmware-bnx2x          <none>
pn  firmware-brcm80211      <none>
pn  firmware-intelwimax     <none>
pn  firmware-ipw2x00        <none>
pn  firmware-ivtv           <none>
pn  firmware-iwlwifi        <none>
pn  firmware-libertas       <none>
pn  firmware-linux          <none>
pn  firmware-linux-nonfree  <none>
pn  firmware-myricom        <none>
pn  firmware-netxen         <none>
pn  firmware-qlogic         <none>
pn  firmware-ralink         <none>
ii  firmware-realtek        0.36+wheezy.1
pn  xen-hypervisor          <none>

-- debconf information:
  linux-image-3.2.0-4-amd64/postinst/depmod-error-initrd-3.2.0-4-amd64: false
  linux-image-3.2.0-4-amd64/prerm/removing-running-kernel-3.2.0-4-amd64: true
  linux-image-3.2.0-4-amd64/postinst/ignoring-ramdisk:
  linux-image-3.2.0-4-amd64/postinst/missing-firmware-3.2.0-4-amd64:
Comment 1 supercatexpert 2013-03-19 06:56:15 UTC
Created attachment 76738 [details]
Xorg.0.log
Comment 2 Chris Wilson 2013-03-19 07:49:06 UTC
i915.i915_enable_rc6=0 will make the problem magically disappear at the price of an extra 9W.
Comment 3 supercatexpert 2013-03-19 08:17:43 UTC
(In reply to comment #2)
> i915.i915_enable_rc6=0 will make the problem magically disappear at the
> price of an extra 9W.

I just use the default value of i915.i915_enable_rc6 (-1) on the computer, and this computer is not a laptop so I do not set this parameter.
Comment 4 Chris Wilson 2013-03-19 08:38:42 UTC
I'm just stating that your hangs are a result of bugs in the rc6 implementation (enabled by default as it saves a lot of power on all systems), and that by disabling rc6 you can avoid these hangs.
Comment 5 Charles Samuels 2013-03-24 18:34:20 UTC
I'm experiencing this problem on a similar OS with a Lenovo T420.

Maybe rc6=-1 should not be the default.
Comment 6 Charles Samuels 2013-03-24 19:01:04 UTC
But I can't fix the problem even with "i915.semaphores=1 i915.i915_enable_rc6=0 i915.i915_enable_fbc=0 i915.i915_enable_ppgtt=0"

and then `echo 0 > powersave` does not help

In my case, I can boot up and turning on composition (kwin) triggers it immediately. Without composition, firefox triggers it pretty easily.

Eventually I get this:

[  905.161034] [drm:i915_reset] *ERROR* GPU hanging too fast, declaring wedged!
[  905.161039] [drm:i915_reset] *ERROR* Failed to reset chip.

And then glxgears segfaults on startup.
Comment 7 Charles Samuels 2013-03-24 19:31:19 UTC
My bug seems to more closely match #60820.
Comment 8 Jesse Barnes 2013-03-28 19:58:15 UTC
Two patches to try (reboot in between):

--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -2570,7 +2570,7 @@ static void gen6_enable_rps(struct drm_device *dev)
        I915_WRITE(GEN6_RC6_WAKE_RATE_LIMIT, 40 << 16 | 30);
        I915_WRITE(GEN6_RC6pp_WAKE_RATE_LIMIT, 30);
        I915_WRITE(GEN6_RC_EVALUATION_INTERVAL, 125000);
-       I915_WRITE(GEN6_RC_IDLE_HYSTERSIS, 25);
+       I915_WRITE(GEN6_RC_IDLE_HYSTERSIS, 250);
 
        for_each_ring(ring, dev_priv, i)
                I915_WRITE(RING_MAX_IDLE(ring->mmio_base), 10);


and

--- a/drivers/gpu/drm/i915/intel_pm.c
+++ b/drivers/gpu/drm/i915/intel_pm.c
@@ -2575,7 +2575,6 @@ static void gen6_enable_rps(struct drm_device *dev)
        for_each_ring(ring, dev_priv, i)
                I915_WRITE(RING_MAX_IDLE(ring->mmio_base), 10);
 
-       I915_WRITE(GEN6_RC_SLEEP, 0);
        I915_WRITE(GEN6_RC1e_THRESHOLD, 1000);
        I915_WRITE(GEN6_RC6_THRESHOLD, 50000);
        I915_WRITE(GEN6_RC6p_THRESHOLD, 150000);
Comment 9 Jesse Barnes 2013-04-24 16:48:19 UTC
Random patch to try:

http://lists.freedesktop.org/archives/intel-gfx/2013-April/027140.html
Comment 10 Chris Wilson 2013-06-12 09:31:29 UTC
Can you please try with this patch: https://patchwork.kernel.org/patch/2707341/ as it claims to fix some instability with rc6 on SandyBridge?
Comment 11 Daniel Vetter 2013-10-28 18:23:01 UTC
Reporter seems to have dropped off the earth. If that's not the case please test Ken's snb blorp fixes from

http://cgit.freedesktop.org/~kwg/mesa/log/?h=snbfixes

Note that this is a mesa series, not kernel patches. But it could be that a gpu hang caused by mesa results in your gpu hang.

And of course reopen the bug if this still happens on the latest stack.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.