From mboxrd@z Thu Jan 1 00:00:00 1970 From: Steven Rostedt Subject: [STABLE REQUEST] add: e1000: fix lockdep splat in shutdown handler Date: Thu, 11 Oct 2012 18:09:45 -0400 Message-ID: <1349993385.24256.79.camel@gandalf.local.home> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: 7bit Cc: LKML , netdev , "David S. Miller" , Thomas Gleixner , stable , Jesse Brandeburg , Jeff Kirsher To: Ben Hutchings Return-path: Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org Ben, David, I posted before a lockdep splat that showed a possible deadlock that was later fixed by Jesse. I'm now hitting this deadlock on my box while testing the 3.2-rt kernel. Please stand by while rebooting the system... <5>sd 0:0:0:0: [sda] Synchronizing SCSI cache <3>INFO: task kworker/0:2:633 blocked for more than 120 seconds. <3>"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. <6>kworker/0:2 D 0000000000000000 0 633 2 0x00000000 ffff880074bcbc40 0000000000000046 0000000000000000 ffffffff81c11020 0000000000000000 ffff880074bcbfd8 0000000000010440 ffff880074bcbfd8 0000000000010440 ffff880075a04540 ffff8800713c6650 00000001713c6650 Call Trace: [] schedule+0x75/0x92 [] __rt_mutex_slowlock+0x96/0xde [] rt_mutex_slowlock+0xed/0x153 [] rt_mutex_fastlock.constprop.15+0x35/0x37 [] rt_mutex_lock+0x15/0x17 [] _mutex_lock+0xe/0x10 [] e1000_watchdog+0x54/0x4a2 [] ? e1000_update_stats+0x92c/0x92c [] process_one_work+0x181/0x2c8 [] worker_thread+0xe3/0x16c [] ? manage_workers.isra.24+0x180/0x180 [] kthread+0x84/0x8c [] ? finish_task_switch+0x57/0x9a [] kernel_thread_helper+0x4/0x10 [] ? retint_restore_args+0xe/0xe [] ? rcu_read_unlock_sched_notrace+0x25/0x25 [] ? gs_change+0xb/0xb <3>INFO: task reboot:1646 blocked for more than 120 seconds. <3>"echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. <6>reboot D 0000000000000000 0 1646 1 0x00000000 ffff880073eb3a88 0000000000000086 0000000000000000 ffff8800774d2380 0000000000000000 ffff880073eb3fd8 0000000000010440 ffff880073eb3fd8 0000000000010440 ffff880071ab4100 0000000000000001 0000000100000001 Call Trace: [] schedule+0x75/0x92 [] schedule_timeout+0x34/0xd9 [] ? get_parent_ip+0xf/0x40 [] ? sub_preempt_count+0x94/0xa8 [] ? migrate_enable+0x153/0x165 [] wait_for_common+0xa2/0x106 [] ? try_to_wake_up+0x2ba/0x2ba [] wait_for_completion+0x1d/0x1f [] wait_on_cpu_work+0xc9/0xd9 [] ? rcu_read_unlock_sched_notrace+0x25/0x25 [] wait_on_work+0x43/0x6b [] __cancel_work_timer+0xc7/0x10c [] cancel_delayed_work_sync+0x12/0x14 [] e1000_down_and_stop+0x39/0x55 [] e1000_down+0x123/0x183 [] __e1000_shutdown+0x81/0x1f9 [] e1000_shutdown+0x1a/0x43 [] pci_device_shutdown+0x29/0x3d [] device_shutdown+0xc6/0x10b [] kernel_restart_prepare+0x31/0x38 [] kernel_restart+0x14/0x51 [] sys_reboot+0x155/0x1ae [] ? migrate_enable+0x153/0x165 [] ? vfsmount_lock_local_unlock+0x2e/0x33 [] ? mntput_no_expire+0x2c/0xd5 [] ? mntput+0x26/0x28 [] ? fput+0x1b3/0x1c2 [] ? trace_hardirqs_on_caller+0xe/0x22 [] ? trace_hardirqs_on_thunk+0x3a/0x3c [] system_call_fastpath+0x16/0x1b Can you add this to the 3.2 stable tree. commit 3a3847e007aae732d64d8fd1374126393e9879a3 Author: Jesse Brandeburg Date: Wed Jan 4 20:23:33 2012 +0000 e1000: fix lockdep splat in shutdown handler Thanks! -- Steve