← Back to team overview

kernel-packages team mailing list archive

[Bug 1230041] Re: i915_hotplug_work_func cause system crash

 

The other attachment with this bug:

** Attachment added: "20130925_092610.jpg"
   https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1230041/+attachment/3839354/+files/20130925_092610.jpg

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1230041

Title:
  i915_hotplug_work_func cause system crash

Status in “linux” package in Ubuntu:
  New

Bug description:
  i915_hotplug_work_func cause system crash

  NoteBook:X200
  Ubuntu 13.04

  Mostly the notebook crashes when it restore to work from "suspend" status. Occacionally it also stop work when I use firefox for some time.
  When the problem happens, I can not use keyboard, mouse and I can not switch to terminal mode through ctl+alt+F1~F6.
  I can ssh to the notebook from other pc.
  It seems i915_hotplug_work_func has dead lock.

  Information from dmesg:
  [ 2520.564119] INFO: task kworker/u:3:225 blocked for more than 120 seconds.
  [ 2520.564129] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
  [ 2520.564135] kworker/u:3     D 00000000     0   225      2 0x00000000
  [ 2520.564146]  f6f59e90 00000046 f68659b0 00000000 f6f59e48 c1010c58 c19c9100 dcb5da4d
  [ 2520.564165]  0000021d c19c9100 f7bc8100 f68659b0 00000002 a205ca2a 00000000 efbecfc0
  [ 2520.564181]  f6f59ed0 c1612d00 00000296 00000000 ed87c426 ef4cc000 c19c9100 00000001
  [ 2520.564198] Call Trace:
  [ 2520.564217]  [<c1010c58>] ? __switch_to+0x2a8/0x330
  [ 2520.564230]  [<c1612d00>] ? __schedule+0x360/0x780
  [ 2520.564242]  [<c103ce48>] ? default_spin_lock_flags+0x8/0x10
  [ 2520.564252]  [<c161427d>] ? _raw_spin_lock_irqsave+0x2d/0x40
  [ 2520.564269]  [<c16133c3>] schedule+0x23/0x60
  [ 2520.564278]  [<c161360d>] schedule_preempt_disabled+0xd/0x10
  [ 2520.564287]  [<c1612366>] __mutex_lock_slowpath+0xc6/0x120
  [ 2520.564295]  [<c1611ef4>] mutex_lock+0x24/0x40
  [ 2520.564344]  [<f8b03948>] i915_hotplug_work_func+0x28/0x90 [i915]
  [ 2520.564356]  [<c1064b5b>] ? cwq_dec_nr_in_flight+0x5b/0x90
  [ 2520.564366]  [<c1065785>] process_one_work+0x135/0x3e0
  [ 2520.564376]  [<c161b973>] ? common_interrupt+0x33/0x38
  [ 2520.564386]  [<c1066c99>] worker_thread+0x119/0x3c0
  [ 2520.564394]  [<c1066b80>] ? manage_workers+0x240/0x240
  [ 2520.564403]  [<c106b6d4>] kthread+0x94/0xa0
  [ 2520.564414]  [<c1070000>] ? __hrtimer_start_range_ns+0x1f0/0x460
  [ 2520.564424]  [<c161b3b7>] ret_from_kernel_thread+0x1b/0x28
  [ 2520.564432]  [<c106b640>] ? kthread_create_on_node+0xc0/0xc0
  [ 2520.564450] INFO: task Xorg:1283 blocked for more than 120 seconds.
  [ 2520.564455] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
  [ 2520.564459] Xorg            D 00000000     0  1283   1275 0x00400004
  [ 2520.564468]  ef4cdc90 00203086 f34035c0 00000000 000007ff f6f58000 c19c9100 dcb4371d
  [ 2520.564485]  0000021d c19c9100 f7bc8100 ed87c010 00000000 00000000 00000000 00000000
  [ 2520.564509]  00000000 00000000 00000000 00000000 f344f700 ef4cdcf0 ef4cdcfc c10867f9
  [ 2520.564525] Call Trace:
  [ 2520.564537]  [<c10867f9>] ? load_balance+0x99/0x670
  [ 2520.564546]  [<c16133c3>] schedule+0x23/0x60
  [ 2520.564555]  [<c1611b8d>] schedule_timeout+0x19d/0x240
  [ 2520.564565]  [<c1613241>] wait_for_common+0xa1/0x120
  [ 2520.564575]  [<c107c760>] ? try_to_wake_up+0x230/0x230
  [ 2520.564584]  [<c1613397>] wait_for_completion+0x17/0x20
  [ 2520.564594]  [<c1064ef7>] flush_workqueue+0xe7/0x330
  [ 2520.564604]  [<c1030000>] ? perf_ibs_start+0x10/0x120
  [ 2520.564613]  [<c1030101>] ? perf_ibs_start+0x111/0x120
  [ 2520.564658]  [<f8b299c7>] intel_crtc_page_flip+0x127/0x360 [i915]
  [ 2520.564671]  [<c114d953>] ? kmem_cache_alloc_trace+0x103/0x110
  [ 2520.564715]  [<f890c998>] drm_mode_page_flip_ioctl+0x238/0x310 [drm]
  [ 2520.564732]  [<c1611ee8>] ? mutex_lock+0x18/0x40
  [ 2520.564766]  [<f890c760>] ? drm_mode_gamma_get_ioctl+0xe0/0xe0 [drm]
  [ 2520.564794]  [<f88fceda>] drm_ioctl+0x42a/0x490 [drm]
  [ 2520.564830]  [<f890c760>] ? drm_mode_gamma_get_ioctl+0xe0/0xe0 [drm]
  [ 2520.564861]  [<f88fcab0>] ? drm_copy_field+0x80/0x80 [drm]
  [ 2520.564871]  [<c116fb90>] do_vfs_ioctl+0x80/0x580
  [ 2520.564900]  [<f88fd8f6>] ? drm_read+0xb6/0x160 [drm]
  [ 2520.564917]  [<c1050f33>] ? do_setitimer+0x123/0x210
  [ 2520.564927]  [<c1160505>] ? vfs_read+0xe5/0x160
  [ 2520.564955]  [<f88fd840>] ? drm_fasync+0x90/0x90 [drm]
  [ 2520.564964]  [<c11700fb>] sys_ioctl+0x6b/0x80
  [ 2520.564974]  [<c161b44d>] sysenter_do_call+0x12/0x28

  stack Information from proc kworker/u:3:225
  [<f8b03948>] i915_hotplug_work_func+0x28/0x90 [i915]
  [<c1065785>] process_one_work+0x135/0x3e0
  [<c1066c99>] worker_thread+0x119/0x3c0
  [<c106b6d4>] kthread+0x94/0xa0
  [<c161b3b7>] ret_from_kernel_thread+0x1b/0x28
  [<ffffffff>] 0xffffffff

  From the attached pictures,
  I915 has about 1300 intertups per seconds, and i915_hotplug_work_func take about 734 ms/s.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1230041/+subscriptions


References