kernel BUG at drivers/gpu/drm/i915/i915_gem.c:4045

2010-12-16 Thread Benjamin S.

Hi, my OS is a Debian testing with self compiled 2.6.36.1 vanilla 
kernel.

CPU is "model name  : Intel(R) Core(TM) i5 CPU 661  @
3.33GHz" which contains the graphic chip and motherboard is an
intel DH55HC.


digest of boot log:
[   31.334582] [drm] Initialized drm 1.1.0 20060810
[   31.347415] i915 :00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[   31.347420] i915 :00:02.0: setting latency timer to 64
[   31.377104] i915 :00:02.0: irq 43 for MSI/MSI-X
[   31.377113] [drm] set up 31M of stolen space
[   32.100419] fb0: inteldrmfb frame buffer device
[   32.100421] drm: registered panic notifier
[   32.101007] [drm] Initialized i915 1.6.0 20080730 for :00:02.0 on minor 0

$ cat /proc/interrupts 
   CPU0   CPU1   CPU2   CPU3   
  0: 41  2  2  2   IO-APIC-edge  timer
  1:   1078   1054   1007   1066   IO-APIC-edge  i8042
  8:  0  0  0  1   IO-APIC-edge  rtc0
  9:  0  0  0  0   IO-APIC-fasteoi   acpi
 16:   4753   4806   4909   4787   IO-APIC-fasteoi   
ehci_hcd:usb1
 17:  0  0  1  0   IO-APIC-fasteoi 
 23:  8  7  8  7   IO-APIC-fasteoi   
ehci_hcd:usb2
 40: 563021 563010 562925 563092   PCI-MSI-edge  eth0
 41:  10340  10333  10243  10292   PCI-MSI-edge  ahci
 42:  17729  17816  17629  17817   PCI-MSI-edge  hda_intel
 43:  54557  54442  54760  54398   PCI-MSI-edge  i915
NMI:  0  0  0  0   Non-maskable interrupts
LOC: 423429 423651 430418 434414   Local timer interrupts
SPU:  0  0  0  0   Spurious interrupts
PMI:  0  0  0  0   Performance monitoring 
interrupts
PND:  0  0  0  0   Performance pending work
RES: 102315 106505 109466 106257   Rescheduling interrupts
CAL:  15015   5403  14241   4556   Function call interrupts
TLB:   1068743685   1268   TLB shootdowns
TRM:  0  0  0  0   Thermal event interrupts
THR:  0  0  0  0   Threshold APIC interrupts
MCE:  0  0  0  0   Machine check exceptions
MCP:  8  8  8  8   Machine check polls
ERR:  3
MIS:  0

$ cat mtrr 
reg00: base=0x0 (0MB), size= 2048MB, count=1: write-back
reg01: base=0x08000 ( 2048MB), size= 1024MB, count=1: write-back
reg02: base=0x0c000 ( 3072MB), size=  128MB, count=1: write-back
reg03: base=0x0c800 ( 3200MB), size=   64MB, count=1: write-back
reg04: base=0x1 ( 4096MB), size=  512MB, count=1: write-back
reg05: base=0x12000 ( 4608MB), size=  128MB, count=1: write-back
reg06: base=0x0d000 ( 3328MB), size=  256MB, count=1: write-combining

digest of lspci -v -n
00:02.0 0300: 8086:0042 (rev 02) (prog-if 00 [VGA controller])
Subsystem: 8086:0036
Flags: bus master, fast devsel, latency 0, IRQ 43
Memory at fe00 (64-bit, non-prefetchable) [size=4M]
Memory at d000 (64-bit, prefetchable) [size=256M]
I/O ports at f100 [size=8]
Expansion ROM at  [disabled]
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [a4] PCI Advanced Features
Kernel driver in use: i915





I switched to another user in X, opened a flash video and switched 
back to the screen of the first user. The screen kept blank and 
dmesg shows the following digest:

[129031.110919] [ cut here ]
[129031.110952] kernel BUG at drivers/gpu/drm/i915/i915_gem.c:4045!
[129031.110986] invalid opcode:  [#1] SMP 
[129031.111012] last sysfs file: 
/sys/devices/pci:00/:00:1f.2/host1/target1:0:0/1:0:0:0/block/sdb/uevent
[129031.111059] CPU 1 
[129031.111071] Modules linked in: cbc aesni_intel cryptd aes_x86_64 
aes_generic ecb dm_snapshot ecryptfs i915 drm_kms_helper drm i2c_algo_bit 
cfbcopyarea i2c_core cfbimgblt cfbfillrect ip6table_filter ip6_tables 
iptable_filter ip_tables x_tables acpi_cpufreq mperf cpufreq_stats 
cpufreq_conservative cpufreq_userspace cpufreq_powersave kvm_intel kvm 
binfmt_misc fuse nls_utf8 bridge stp llc ipv6 reiserfs ext2 loop msr w83627ehf 
hwmon_vid cifs dm_crypt snd_hda_codec_realtek snd_hda_intel snd_hda_codec 
snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi 
snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device snd evdev video 
output button soundcore snd_page_alloc processor ext4 mbcache jbd2 crc16 usbhid 
hid dm_mirror dm_region_hash dm_log dm_mod sd_mod ahci libahci libata ehci_hcd 
scsi_mod e1000e thermal thermal_sys [last unloaded: scsi

kernel BUG at drivers/gpu/drm/i915/i915_gem.c:4045

2010-12-16 Thread Benjamin S.

Hi, my OS is a Debian testing with self compiled 2.6.36.1 vanilla 
kernel.

CPU is "model name  : Intel(R) Core(TM) i5 CPU 661  @
3.33GHz" which contains the graphic chip and motherboard is an
intel DH55HC.


digest of boot log:
[   31.334582] [drm] Initialized drm 1.1.0 20060810
[   31.347415] i915 :00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[   31.347420] i915 :00:02.0: setting latency timer to 64
[   31.377104] i915 :00:02.0: irq 43 for MSI/MSI-X
[   31.377113] [drm] set up 31M of stolen space
[   32.100419] fb0: inteldrmfb frame buffer device
[   32.100421] drm: registered panic notifier
[   32.101007] [drm] Initialized i915 1.6.0 20080730 for :00:02.0 on minor 0

$ cat /proc/interrupts 
   CPU0   CPU1   CPU2   CPU3   
  0: 41  2  2  2   IO-APIC-edge  timer
  1:   1078   1054   1007   1066   IO-APIC-edge  i8042
  8:  0  0  0  1   IO-APIC-edge  rtc0
  9:  0  0  0  0   IO-APIC-fasteoi   acpi
 16:   4753   4806   4909   4787   IO-APIC-fasteoi   
ehci_hcd:usb1
 17:  0  0  1  0   IO-APIC-fasteoi 
 23:  8  7  8  7   IO-APIC-fasteoi   
ehci_hcd:usb2
 40: 563021 563010 562925 563092   PCI-MSI-edge  eth0
 41:  10340  10333  10243  10292   PCI-MSI-edge  ahci
 42:  17729  17816  17629  17817   PCI-MSI-edge  hda_intel
 43:  54557  54442  54760  54398   PCI-MSI-edge  i915
NMI:  0  0  0  0   Non-maskable interrupts
LOC: 423429 423651 430418 434414   Local timer interrupts
SPU:  0  0  0  0   Spurious interrupts
PMI:  0  0  0  0   Performance monitoring 
interrupts
PND:  0  0  0  0   Performance pending work
RES: 102315 106505 109466 106257   Rescheduling interrupts
CAL:  15015   5403  14241   4556   Function call interrupts
TLB:   1068743685   1268   TLB shootdowns
TRM:  0  0  0  0   Thermal event interrupts
THR:  0  0  0  0   Threshold APIC interrupts
MCE:  0  0  0  0   Machine check exceptions
MCP:  8  8  8  8   Machine check polls
ERR:  3
MIS:  0

$ cat mtrr 
reg00: base=0x0 (0MB), size= 2048MB, count=1: write-back
reg01: base=0x08000 ( 2048MB), size= 1024MB, count=1: write-back
reg02: base=0x0c000 ( 3072MB), size=  128MB, count=1: write-back
reg03: base=0x0c800 ( 3200MB), size=   64MB, count=1: write-back
reg04: base=0x1 ( 4096MB), size=  512MB, count=1: write-back
reg05: base=0x12000 ( 4608MB), size=  128MB, count=1: write-back
reg06: base=0x0d000 ( 3328MB), size=  256MB, count=1: write-combining

digest of lspci -v -n
00:02.0 0300: 8086:0042 (rev 02) (prog-if 00 [VGA controller])
Subsystem: 8086:0036
Flags: bus master, fast devsel, latency 0, IRQ 43
Memory at fe00 (64-bit, non-prefetchable) [size=4M]
Memory at d000 (64-bit, prefetchable) [size=256M]
I/O ports at f100 [size=8]
Expansion ROM at  [disabled]
Capabilities: [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
Capabilities: [d0] Power Management version 2
Capabilities: [a4] PCI Advanced Features
Kernel driver in use: i915





I switched to another user in X, opened a flash video and switched 
back to the screen of the first user. The screen kept blank and 
dmesg shows the following digest:

[129031.110919] [ cut here ]
[129031.110952] kernel BUG at drivers/gpu/drm/i915/i915_gem.c:4045!
[129031.110986] invalid opcode:  [#1] SMP 
[129031.111012] last sysfs file: 
/sys/devices/pci:00/:00:1f.2/host1/target1:0:0/1:0:0:0/block/sdb/uevent
[129031.111059] CPU 1 
[129031.111071] Modules linked in: cbc aesni_intel cryptd aes_x86_64 
aes_generic ecb dm_snapshot ecryptfs i915 drm_kms_helper drm i2c_algo_bit 
cfbcopyarea i2c_core cfbimgblt cfbfillrect ip6table_filter ip6_tables 
iptable_filter ip_tables x_tables acpi_cpufreq mperf cpufreq_stats 
cpufreq_conservative cpufreq_userspace cpufreq_powersave kvm_intel kvm 
binfmt_misc fuse nls_utf8 bridge stp llc ipv6 reiserfs ext2 loop msr w83627ehf 
hwmon_vid cifs dm_crypt snd_hda_codec_realtek snd_hda_intel snd_hda_codec 
snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi 
snd_rawmidi snd_seq_midi_event snd_seq snd_timer snd_seq_device snd evdev video 
output button soundcore snd_page_alloc processor ext4 mbcache jbd2 crc16 usbhid 
hid dm_mirror dm_region_hash dm_log dm_mod sd_mod ahci libahci libata ehci_hcd 
scsi_mod e1000e thermal thermal_sys [last unloaded: scsi