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

Benjamin S. da_joind at gmx.net
Thu Dec 16 03:10:25 PST 2010


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 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[   31.347420] i915 0000:00:02.0: setting latency timer to 64
[   31.377104] i915 0000: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 0000: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:       1068        743        685       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=0x000000000 (    0MB), size= 2048MB, count=1: write-back
reg01: base=0x080000000 ( 2048MB), size= 1024MB, count=1: write-back
reg02: base=0x0c0000000 ( 3072MB), size=  128MB, count=1: write-back
reg03: base=0x0c8000000 ( 3200MB), size=   64MB, count=1: write-back
reg04: base=0x100000000 ( 4096MB), size=  512MB, count=1: write-back
reg05: base=0x120000000 ( 4608MB), size=  128MB, count=1: write-back
reg06: base=0x0d0000000 ( 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 fe000000 (64-bit, non-prefetchable) [size=4M]
	Memory at d0000000 (64-bit, prefetchable) [size=256M]
	I/O ports at f100 [size=8]
	Expansion ROM at <unassigned> [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: 0000 [#1] SMP 
[129031.111012] last sysfs file: /sys/devices/pci0000:00/0000: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_wait_scan]
[129031.111605] 
[129031.111616] Pid: 2789, comm: Xorg Not tainted 2.6.36.1 #2 DH55HC/        
[129031.111650] RIP: 0010:[<ffffffffa045b92e>]  [<ffffffffa045b92e>] i915_gem_object_pin+0x1f/0x15c [i915]
[129031.111705] RSP: 0018:ffff8801268a1c28  EFLAGS: 00010246
[129031.111733] RAX: 000000000003c000 RBX: ffff8800b2f3aa00 RCX: 0000000000000000
[129031.111769] RDX: ffff880107e83000 RSI: 0000000000000000 RDI: ffff8800b2f3aa00
[129031.111807] RBP: 0000000000000000 R08: ffff88003796c518 R09: 0000000040286454
[129031.111843] R10: 000000000001f80a R11: ffff8800b5898840 R12: ffff8801261db800
[129031.111879] R13: ffff8800b2f3aa00 R14: 0000000000000000 R15: ffff8801268a1d48
[129031.111916] FS:  00007fe321319700(0000) GS:ffff880001680000(0000) knlGS:0000000000000000
[129031.111956] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[129031.111986] CR2: 00007fe31c493c00 CR3: 0000000126936000 CR4: 00000000000006e0
[129031.112024] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[129031.112058] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[129031.112095] Process Xorg (pid: 2789, threadinfo ffff8801268a0000, task ffff880126870df0)
[129031.112135] Stack:
[129031.112148]  0000000000000000 ffff88003796c400 0000000000000000 ffffffffa045c48a
[129031.112191] <0> 0000000000000000 0000000000000000 0000000000000000 ffff88003796c518
[129031.112237] <0> ffff8801261db800 ffff8800b5898840 ffff880107e83000 ffff880107e83000
[129031.112288] Call Trace:
[129031.112310]  [<ffffffffa045c48a>] ? i915_gem_do_execbuffer+0x57e/0xe8d [i915]
[129031.112349]  [<ffffffffa045d1ca>] ? i915_gem_execbuffer+0x291/0x365 [i915]
[129031.112388]  [<ffffffffa0458d08>] ? i915_gem_sw_finish_ioctl+0x85/0x8f [i915]
[129031.112428]  [<ffffffffa040caaf>] ? drm_ioctl+0x249/0x317 [drm]
[129031.112462]  [<ffffffffa045cf39>] ? i915_gem_execbuffer+0x0/0x365 [i915]
[129031.112500]  [<ffffffff81131c27>] ? rb_insert_color+0x61/0xdd
[129031.112536]  [<ffffffff810460ad>] ? enqueue_hrtimer+0x61/0x6c
[129031.112566]  [<ffffffff81046c6d>] ? __hrtimer_start_range_ns+0x296/0x2a9
[129031.112601]  [<ffffffff810adf31>] ? do_vfs_ioctl+0x410/0x45d
[129031.112632]  [<ffffffff810321d6>] ? do_setitimer+0xba/0x19f
[129031.112662]  [<ffffffff810adfc9>] ? sys_ioctl+0x4b/0x6f
[129031.112689]  [<ffffffff81001eab>] ? system_call_fastpath+0x16/0x1b
[129031.112720] Code: e8 5b 5d 41 5c 41 5d 41 5e 41 5f c3 41 54 55 89 f5 53 48 89 fb 8b 87 c0 00 00 00 4c 8b 67 08 25 00 c0 03 00 3d 00 c0 03 00 75 04 <0f> 0b eb fe 48 83 bf 88 00 00 00 00 0f 84 8a 00 00 00 85 f6 75 
[129031.114368] RIP  [<ffffffffa045b92e>] i915_gem_object_pin+0x1f/0x15c [i915]
[129031.115897]  RSP <ffff8801268a1c28>

Regards,
Benjamin


More information about the dri-devel mailing list