[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#587355: i915: X locks up when trying to play DVD on Thinkpad X40



Package: linux-image-2.6.32-5-686
Version: 2.6.32-15
Severity: important

I ran into this on a freshly installed Thinkpad X40 with todays
Debian/Squeeze.  The external VGA connector is connected to a video
projector.  I plugged in a USB DVD player, installed libdvdcss2 and
tried to play the DVD using vlc.  This caused X to lock up and the
kernel to report a crash.

Searching for "Hangcheck timer elapsed... GPU hung" on bugs.debian.org
using Google, sent me to similar bugs, but not for this model.  Some
bugs are <URL: http://bugs.debian.org/551803 >,
<URL: http://bugs.debian.org/573264 >,
<URL: http://bugs.debian.org/574478 > and
<URL: http://bugs.debian.org/576848 >.  The last one point to a kernel
patch available from
<URL: https://bugs.freedesktop.org/show_bug.cgi?id=27187 > that is said
to fix a cache coherency issue.  I have not tested it myself.

Before the crash, the VGA output would flicker a lot whenever the
machine was doing anything (like I moved the mouse or installed a
package), and the image would only stand still when I did not move the
mouse.  This seem similar to the bug report
<URL: http://bugs.debian.org/570696 >, but I am not sure if it is the
same one.

[250593.916039] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung
[250593.916058] render error detected, EIR: 0x00000000
[250593.916090] [drm:i915_do_wait_request] *ERROR* i915_do_wait_request returns -5 (awaiting 114368 at 114367)
[250593.975787] ------------[ cut here ]------------
[250593.975797] kernel BUG at /build/buildd-linux-2.6_2.6.32-15-i386-fb7Hfg/linux-2.6-2.6.32/debian/build/source_i386_none/drivers/gpu/drm/i915/intel_display.c:1917!
[250593.975804] invalid opcode: 0000 [#1] SMP
[250593.975809] last sysfs file: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:00/PNP0C09:00/PNP0C0A:00/power_supply/BAT0/energy_full
[250593.975814] Modules linked in: isofs udf crc_itu_t nfs lockd fscache nfs_acl auth_rpcgss sunrpc acpi_cpufreq cpufreq_conservative cpufreq_powersave cpufreq_userspace cpufreq_stats ppdev lp parport rfcomm sco bridge stp bnep l2cap crc16 bluetooth binfmt_misc uinput fuse sg sr_mod cdrom loop snd_intel8x0 snd_intel8x0m snd_ac97_codec ac97_bus snd_pcm_oss snd_mixer_oss snd_pcm pcmcia snd_seq_midi snd_rawmidi snd_seq_midi_event snd_seq yenta_socket ipw2200 rsrc_nonstatic snd_timer i915 libipw snd_seq_device pcmcia_core lib80211 drm_kms_helper pl2303 snd thinkpad_acpi drm tpm_tis usb_storage usbserial i2c_i801 rfkill shpchp nsc_ircc i2c_algo_bit tpm tpm_bios evdev battery irda crc_ccitt psmouse serio_raw pcspkr nvram ac soundcore snd_page_alloc i2c_core rng_core video pci_hotplug button output processor ext3 jbd mbcache dm_mod sd_mod crc_t10dif ata_generic uhci_hcd sdhci_pci sdhci ata_piix mmc_core thermal libata ehci_hcd led_class e1000 thermal_sys scsi_mod usbcore nls_base [last unloaded: scsi_wait_scan]
[250593.975926]
[250593.975931] Pid: 24769, comm: Xorg Not tainted (2.6.32-5-686 #1) 2371H4G
[250593.975935] EIP: 0060:[<f8423647>] EFLAGS: 00013282 CPU: 0
[250593.975958] EIP is at intel_crtc_dpms_overlay+0x31/0x42 [i915]
[250593.975962] EAX: fffffffb EBX: ef65d180 ECX: 00000000 EDX: 0001bec0
[250593.975966] ESI: ef668000 EDI: 00006014 EBP: 00070180 ESP: c9c93c5c
[250593.975970]  DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
[250593.975975] Process Xorg (pid: 24769, ti=c9c92000 task=eff4aec0 task.ti=c9c92000)
[250593.975979] Stack:
[250593.975981]  00000000 f8425325 ef5a0000 f6f4e400 00000000 00070184 00070008 f6f4e400
[250593.975989] <0> ef5a0000 00000003 00000000 f84228e9 ef5a0000 f8434100 f6f4e6ec f84354a4
[250593.975998] <0> f837272f f6f4e6e0 c9c93d74 e2a55900 00000002 f6f4e5ac f8373a50 00000000
[250593.976007] Call Trace:
[250593.976007]  [<f8425325>] ? i9xx_crtc_dpms+0x181/0x264 [i915]
[250593.976007]  [<f84228e9>] ? intel_crtc_dpms+0x1c/0xb5 [i915]
[250593.976007]  [<f837272f>] ? drm_helper_disable_unused_functions+0x104/0x130 [drm_kms_helper]
[250593.976007]  [<f8373a50>] ? drm_crtc_helper_set_config+0x544/0x6b5 [drm_kms_helper]
[250593.976007]  [<c109b51d>] ? unmap_mapping_range+0x7b/0x1f9
[250593.976007]  [<c10c23ec>] ? destroy_inode+0x1c/0x2b
[250593.976007]  [<c10bfb93>] ? d_kill+0x3e/0x43
[250593.976007]  [<c10bfb93>] ? d_kill+0x3e/0x43
[250593.976007]  [<c10ae5c0>] ? kmem_cache_free+0x78/0xaf
[250593.976007]  [<c10c1100>] ? d_alloc_name+0x41/0x4c
[250593.976007]  [<f82c78ca>] ? drm_framebuffer_cleanup+0x4a/0xa7 [drm]
[250593.976007]  [<f842492f>] ? intel_user_framebuffer_destroy+0x1f/0x4a [i915]
[250593.976007]  [<f82c733c>] ? drm_fb_release+0x4c/0x65 [drm]
[250593.976007]  [<f82c0dcf>] ? drm_release+0x2c2/0x4c5 [drm]
[250593.976007]  [<c10b4207>] ? __fput+0xd5/0x170
[250593.976007]  [<c10b18dc>] ? filp_close+0x4e/0x54
[250593.976007]  [<c103252c>] ? put_files_struct+0x60/0xa6
[250593.976007]  [<c1033b87>] ? do_exit+0x1d4/0x5c6
[250593.976007]  [<c1033fd8>] ? do_group_exit+0x5f/0x82
[250593.976007]  [<c103e926>] ? get_signal_to_deliver+0x30d/0x32f
[250593.976007]  [<c103d19d>] ? signal_wake_up+0x23/0x31
[250593.976007]  [<c1002588>] ? do_notify_resume+0x6f/0x713
[250593.976007]  [<c103d56c>] ? do_send_sig_info+0x4f/0x59
[250593.976007]  [<c103d5c9>] ? do_send_specific+0x53/0x6e
[250593.976007]  [<c10b2e76>] ? fsnotify_modify+0x5a/0x61
[250593.976007]  [<c103bf9a>] ? recalc_sigpending+0xf/0x2e
[250593.976007]  [<c103c2b2>] ? sigprocmask+0x9d/0xbc
[250593.976007]  [<c103c57c>] ? sys_rt_sigprocmask+0x47/0xb5
[250593.976007]  [<c103c57c>] ? sys_rt_sigprocmask+0x47/0xb5
[250593.976007]  [<c10032b4>] ? work_notifysig+0x13/0x1b
[250593.976007] Code: 98 58 04 00 00 85 db 74 31 8b 03 83 c0 14 e8 92 9c e4 c8 89 d8 e8 fc c9 00 00 85 c0 74 11 31 d2 89 d8 e8 75 c8 00 00 85 c0 74 e8 <0f> 0b eb fe 8b 03 5b 83 c0 14 e9 55 9a e4 c8 5b c3 57 89 d7 56
[250593.976007] EIP: [<f8423647>] intel_crtc_dpms_overlay+0x31/0x42 [i915] SS:ESP 0068:c9c93c5c
[250593.976364] ---[ end trace bd6ec22bc4b9abff ]---
[250593.976367] Fixing recursive fault but reboot is needed!


This was with xserver-xorg version 1:7.5+6 and
xserver-xorg-video-intel version 2:2.9.1-4.

As this is my video playing machine, I'll reinstall it with Lenny soon
to get my DVD player back, but thought it best to report the problem
before I reverted the machine into a working condition.  Is there
anything I should test before I do this?

This is the output from 'lspci -nn':

00:00.0 Host bridge [0600]: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller [8086:3580] (rev 02)
00:00.1 System peripheral [0880]: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller [8086:3584] (rev 02)
00:00.3 System peripheral [0880]: Intel Corporation 82852/82855 GM/GME/PM/GMV Processor to I/O Controller [8086:3585] (rev 02)
00:02.0 VGA compatible controller [0300]: Intel Corporation 82852/855GM Integrated Graphics Device [8086:3582] (rev 02)
00:02.1 Display controller [0380]: Intel Corporation 82852/855GM Integrated Graphics Device [8086:3582] (rev 02)
00:1d.0 USB Controller [0c03]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #1 [8086:24c2] (rev 01)
00:1d.1 USB Controller [0c03]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #2 [8086:24c4] (rev 01)
00:1d.2 USB Controller [0c03]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller #3 [8086:24c7] (rev 01)
00:1d.7 USB Controller [0c03]: Intel Corporation 82801DB/DBM (ICH4/ICH4-M) USB2 EHCI Controller [8086:24cd] (rev 01)
00:1e.0 PCI bridge [0604]: Intel Corporation 82801 Mobile PCI Bridge [8086:2448] (rev 81)
00:1f.0 ISA bridge [0601]: Intel Corporation 82801DBM (ICH4-M) LPC Interface Bridge [8086:24cc] (rev 01)
00:1f.1 IDE interface [0101]: Intel Corporation 82801DBM (ICH4-M) IDE Controller [8086:24ca] (rev 01)
00:1f.3 SMBus [0c05]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller [8086:24c3] (rev 01)
00:1f.5 Multimedia audio controller [0401]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller [8086:24c5] (rev 01)
00:1f.6 Modem [0703]: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller [8086:24c6] (rev 01)
02:00.0 CardBus bridge [0607]: Ricoh Co Ltd RL5c476 II [1180:0476] (rev 8d)
02:00.1 SD Host controller [0805]: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro Host Adapter [1180:0822] (rev 13)
02:01.0 Ethernet controller [0200]: Intel Corporation 82541GI Gigabit Ethernet Controller [8086:1077]
02:02.0 Network controller [0280]: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection [8086:4220] (rev 05)

Happy hacking,
-- 
Petter Reinholdtsen



Reply to: