BUG: i915 causes NULL pointer dereference in 2.6.37-rc5-git4

From: Tõnu Raitviir
Date: Wed Dec 15 2010 - 05:58:35 EST



Asus P5E-VM HDMI motherboard with G35 chipset, only HDMI output is connected. Last known good kernel was 2.6.36.2

00:02.0 VGA compatible controller: Intel Corporation 82G35 Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation 82G35 Express Integrated Graphics Controller (rev 03)

--
Tõnu Raitviir
LRU #36438[ 32.117005] [drm] Initialized drm 1.1.0 20060810
[ 32.181885] i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 32.181941] i915 0000:00:02.0: setting latency timer to 64
[ 32.202676] i915 0000:00:02.0: irq 43 for MSI/MSI-X
[ 32.355511] BUG: unable to handle kernel NULL pointer dereference at 00000000000003fc
[ 32.355613] IP: [<ffffffff811e3150>] idr_pre_get+0x5b/0x6f
[ 32.355679] PGD 78b93067 PUD 79d43067 PMD 0
[ 32.355771] Oops: 0000 [#1] SMP
[ 32.355844] last sysfs file: /sys/devices/pci0000:00/0000:00:02.0/i2c-5/uevent
[ 32.355907] CPU 0
[ 32.355928] Modules linked in: i915(+) drm_kms_helper drm i2c_algo_bit video output hwmon_vid lirc_imon(C) rc_dib0700_rc5 mt2060 snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep dvb_usb_dib0700 dib7000p dib0090 snd_pcm dib7000m snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq ir_lirc_codec lirc_dev ir_sony_decoder rc_imon_pad snd_timer ir_jvc_decoder dib0070 dvb_usb dib8000 ir_rc6_decoder snd_seq_device dvb_core dib3000mc ir_rc5_decoder dibx000_common tpm_tis tpm ir_nec_decoder imon intel_agp intel_gtt tpm_bios i2c_i801 snd soundcore snd_page_alloc ir_core pcspkr shpchp pci_hotplug serio_raw raid10 raid456 async_pq async_xor xor async_memcpy async_raid6_recov raid6_pq async_tx raid0 multipath linear usbhid firewire_ohci atl1 hid sg firewire_core crc_itu_t pata_jmicron [last unloaded: scsi_wait_scan]
[ 32.356000]
[ 32.356000] Pid: 1495, comm: modprobe Tainted: G C 2.6.37-rc5-git4 #1 P5E-VM HDMI/P5E-VM HDMI
[ 32.356000] RIP: 0010:[<ffffffff811e3150>] [<ffffffff811e3150>] idr_pre_get+0x5b/0x6f
[ 32.356000] RSP: 0018:ffff8800795059a8 EFLAGS: 00010202
[ 32.356000] RAX: ffff8800789deb20 RBX: 00000000000003e8 RCX: 0000000000000000
[ 32.356000] RDX: 00000000b0b0b0b0 RSI: 00000000000000d0 RDI: 00000000000003e8
[ 32.356000] RBP: ffff8800795059c8 R08: 0000000000000004 R09: 0000000000000004
[ 32.356000] R10: ffff880000000004 R11: ffff88007c897da0 R12: 00000000000080d0
[ 32.356000] R13: 0000000000000400 R14: 00000000b0b0b0b0 R15: ffff8800795059f4
[ 32.356000] FS: 00007f5e36d84700(0000) GS:ffff88007f400000(0000) knlGS:0000000000000000
[ 32.356000] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[ 32.356000] CR2: 00000000000003fc CR3: 00000000782b1000 CR4: 00000000000406f0
[ 32.356000] DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
[ 32.356000] DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
[ 32.356000] Process modprobe (pid: 1495, threadinfo ffff880079504000, task ffff88007860ba80)
[ 32.356000] Stack:
[ 32.356000] ffff880078bb86d0 00000000000003c8 00000000000003e8 00000000b0b0b0b0
[ 32.356000] ffff880079505a28 ffffffffa03177ca ffff880079505a37 0000000000000001
[ 32.356000] ffff880079505a18 0000000000000246 0000000000000000 0000000000000000
[ 32.356000] Call Trace:
[ 32.356000] [<ffffffffa03177ca>] drm_mode_object_get+0x3d/0xa3 [drm]
[ 32.356000] [<ffffffffa03197d2>] drm_property_create+0x5e/0xc4 [drm]
[ 32.356000] [<ffffffffa0370f82>] intel_sdvo_dvi_init+0x152/0x1b6 [i915]
[ 32.356000] [<ffffffffa03712dd>] intel_sdvo_init+0x2f7/0x6a2 [i915]
[ 32.356000] [<ffffffffa0368d6b>] intel_modeset_init+0x8ec/0xc71 [i915]
[ 32.356000] [<ffffffffa0354613>] i915_driver_load+0xc6c/0xd98 [i915]
[ 32.356000] [<ffffffff811e457f>] ? kobj_bcast_filter+0x0/0x4b
[ 32.356000] [<ffffffffa0314d4f>] drm_get_pci_dev+0x163/0x268 [drm]
[ 32.356000] [<ffffffffa037a52d>] i915_pci_probe+0x10/0x12f [i915]
[ 32.356000] [<ffffffff811f9e33>] local_pci_probe+0x48/0x91
[ 32.356000] [<ffffffff811fabae>] pci_device_probe+0x60/0x8f
[ 32.356000] [<ffffffff81276bb9>] ? driver_sysfs_add+0x6b/0x90
[ 32.356000] [<ffffffff81276d0c>] driver_probe_device+0xb2/0x14c
[ 32.356000] [<ffffffff81276dfe>] __driver_attach+0x58/0x7c
[ 32.356000] [<ffffffff81276da6>] ? __driver_attach+0x0/0x7c
[ 32.356000] [<ffffffff81276328>] bus_for_each_dev+0x4e/0x83
[ 32.356000] [<ffffffff81276b4c>] driver_attach+0x19/0x1b
[ 32.356000] [<ffffffff812767aa>] bus_add_driver+0xb1/0x1ff
[ 32.356000] [<ffffffff812770d9>] driver_register+0x99/0x10a
[ 32.356000] [<ffffffff811fadfe>] __pci_register_driver+0x53/0xc3
[ 32.356000] [<ffffffffa0314e88>] drm_pci_init+0x34/0x9a [drm]
[ 32.356000] [<ffffffffa0392000>] ? i915_init+0x0/0x96 [i915]
[ 32.356000] [<ffffffffa030e6dd>] drm_init+0x5d/0x61 [drm]
[ 32.356000] [<ffffffffa0392094>] i915_init+0x94/0x96 [i915]
[ 32.356000] [<ffffffff81000210>] do_one_initcall+0x7a/0x129
[ 32.356000] [<ffffffff8105ee08>] sys_init_module+0x9c/0x1dc
[ 32.356000] [<ffffffff8100293b>] system_call_fastpath+0x16/0x1b
[ 32.356000] Code: 48 85 c0 75 04 31 c0 eb 2d 4c 89 ef e8 52 bd 1f 00 48 8b 53 08 48 89 c6 49 89 56 08 4c 89 ef 4c 89 73 08 ff 43 14 e8 70 bd 1f 00 <83> 7b 14 0b 76 bd b8 01 00 00 00 5b 41 5c 41 5d 41 5e c9 c3 55
[ 32.356000] RIP [<ffffffff811e3150>] idr_pre_get+0x5b/0x6f
[ 32.356000] RSP <ffff8800795059a8>
[ 32.356000] CR2: 00000000000003fc
[ 32.363249] ---[ end trace 71efa5f1c44f9a3c ]---