Return-path: Received: from he.sipsolutions.net ([78.46.109.217]:42577 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751324Ab2DCIHz (ORCPT ); Tue, 3 Apr 2012 04:07:55 -0400 Message-ID: <1333440469.3574.0.camel@jlt3.sipsolutions.net> (sfid-20120403_100819_593385_92A9E0DB) Subject: Re: [3.4-rc1][Regression][network wireless] 'task xxxx blocked for more than 120 seconds' after resume From: Johannes Berg To: maciej.rutecki@gmail.com Cc: Linux Kernel Mailing List , "Rafael J. Wysocki" , linux-wireless@vger.kernel.org, netdev Date: Tue, 03 Apr 2012 10:07:49 +0200 In-Reply-To: <201204022157.05598.maciej.rutecki@gmail.com> (sfid-20120402_215800_170335_CC49F369) References: <201204022157.05598.maciej.rutecki@gmail.com> (sfid-20120402_215800_170335_CC49F369) Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: -ilw +netdev I have no idea what this could be, but I'm almost certain it's not caused by our wireless driver. Looks more like rtl8169 is to blame. johannes On Mon, 2012-04-02 at 21:57 +0200, Maciej Rutecki wrote: > Last known good kernel: 3.3 > > Bad kernel: 3.4-rc1 + patch: http://cgit.freedesktop.org/~danvet/drm- > intel/commit/?h=drm-intel-fixes&id=55a254ac63a3ac1867d1501030e7fba69c7d4aeb > > Subsystem: network (wireless) > > After resume from suspend to disk I do not have network connection (wireless) > and I got it in dmesg: > > [ 2398.278375] INFO: task nmbd:2442 blocked for more than 120 seconds. > [ 2398.278384] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables > this message. > [ 2398.278390] nmbd D ffff88023fb933c0 0 2442 1 0x00000000 > [ 2398.278401] ffff880232d6f5d0 0000000000000082 0000000000000206 > ffff880235186ee0 > [ 2398.278413] 00000000000133c0 ffff8802320fdfd8 ffff8802320fdfd8 ffff880232d6f5d0 > [ 2398.278423] ffff8802320fde5c ffffffff81868020 ffff880232d6f5d0 0000000000000002 > [ 2398.278433] Call Trace: > [ 2398.278451] [] ? __mutex_lock_common.isra.5+0xff/0x164 > [ 2398.278462] [] ? mutex_lock+0x1a/0x2d > [ 2398.278471] [] ? netlink_trim+0x13/0x79 > [ 2398.278480] [] ? rtnetlink_rcv+0xe/0x28 > [ 2398.278488] [] ? netlink_unicast+0xe6/0x14e > [ 2398.278497] [] ? netlink_sendmsg+0x201/0x23c > [ 2398.278505] [] ? __pollwait+0xce/0xce > [ 2398.278515] [] ? sock_sendmsg+0xca/0xe7 > [ 2398.278521] [] ? __pollwait+0xce/0xce > [ 2398.278530] [] ? sys_time+0xc/0x39 > [ 2398.278539] [] ? emulate_vsyscall+0x191/0x270 > [ 2398.278548] [] ? should_resched+0x5/0x23 > [ 2398.278554] [] ? _cond_resched+0x6/0x1b > [ 2398.278562] [] ? copy_from_user+0x18/0x30 > [ 2398.278571] [] ? sys_sendto+0xf7/0x137 > [ 2398.278581] [] ? fd_install+0x25/0x4a > [ 2398.278591] [] ? system_call_fastpath+0x16/0x1b > [ 2398.278659] INFO: task ifconfig:6734 blocked for more than 120 seconds. > [ 2398.278664] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables > this message. > [ 2398.278669] ifconfig D ffff88023fb933c0 0 6734 2598 0x00000000 > [ 2398.278678] ffff8801faae30a0 0000000000000086 0000000000000001 > ffff880235186ee0 > [ 2398.278688] 00000000000133c0 ffff880232163fd8 ffff880232163fd8 ffff8801faae30a0 > [ 2398.278697] 0000000000000001 ffff880230f2b4d8 ffff8801faae30a0 > 0000000000000002 > [ 2398.278707] Call Trace: > [ 2398.278716] [] ? __mutex_lock_common.isra.5+0xff/0x164 > [ 2398.278723] [] ? should_resched+0x5/0x23 > [ 2398.278732] [] ? mutex_lock+0x1a/0x2d > [ 2398.278759] [] ? rtl8169_close+0x49/0x14f [r8169] > [ 2398.278768] [] ? __dev_close_many+0x85/0xb2 > [ 2398.278775] [] ? __dev_close+0x30/0x47 > [ 2398.278783] [] ? dev_set_rx_mode+0x1d/0x29 > [ 2398.278792] [] ? __dev_change_flags+0x9d/0x118 > [ 2398.278799] [] ? dev_change_flags+0x12/0x42 > [ 2398.278810] [] ? devinet_ioctl+0x285/0x554 > [ 2398.278818] [] ? sock_do_ioctl+0x1b/0x36 > [ 2398.278826] [] ? sock_ioctl+0x205/0x212 > [ 2398.278836] [] ? do_vfs_ioctl+0x459/0x49a > [ 2398.278844] [] ? kmem_cache_alloc+0x86/0xea > [ 2398.278853] [] ? sys_ioctl+0x4b/0x72 > [ 2398.278862] [] ? system_call_fastpath+0x16/0x1b > [ 2518.146666] INFO: task nmbd:2442 blocked for more than 120 seconds. > [ 2518.146675] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables > this message. > [ 2518.146682] nmbd D ffff88023fb933c0 0 2442 1 0x00000000 > [ 2518.146693] ffff880232d6f5d0 0000000000000082 0000000000000206 > ffff880235186ee0 > [ 2518.146704] 00000000000133c0 ffff8802320fdfd8 ffff8802320fdfd8 ffff880232d6f5d0 > [ 2518.146714] ffff8802320fde5c ffffffff81868020 ffff880232d6f5d0 0000000000000002 > [ 2518.146725] Call Trace: > [ 2518.146743] [] ? __mutex_lock_common.isra.5+0xff/0x164 > [ 2518.146753] [] ? mutex_lock+0x1a/0x2d > [ 2518.146763] [] ? netlink_trim+0x13/0x79 > [ 2518.146772] [] ? rtnetlink_rcv+0xe/0x28 > [ 2518.146780] [] ? netlink_unicast+0xe6/0x14e > [ 2518.146788] [] ? netlink_sendmsg+0x201/0x23c > [ 2518.146796] [] ? __pollwait+0xce/0xce > [ 2518.146807] [] ? sock_sendmsg+0xca/0xe7 > [ 2518.146813] [] ? __pollwait+0xce/0xce > [ 2518.146822] [] ? sys_time+0xc/0x39 > [ 2518.146831] [] ? emulate_vsyscall+0x191/0x270 > [ 2518.146839] [] ? should_resched+0x5/0x23 > [ 2518.146846] [] ? _cond_resched+0x6/0x1b > [ 2518.146854] [] ? copy_from_user+0x18/0x30 > [ 2518.146862] [] ? sys_sendto+0xf7/0x137 > [ 2518.146872] [] ? fd_install+0x25/0x4a > [ 2518.146883] [] ? system_call_fastpath+0x16/0x1b > [ 2518.146915] INFO: task ksysguardd:3501 blocked for more than 120 seconds. > [ 2518.146919] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables > this message. > [ 2518.146924] ksysguardd D ffff88023fa133c0 0 3501 3436 0x00000000 > [ 2518.146934] ffff8802322ed8d0 0000000000000082 ffff880228522980 ffffffff81813020 > [ 2518.146943] 00000000000133c0 ffff880225c7bfd8 ffff880225c7bfd8 ffff8802322ed8d0 > [ 2518.146953] 00000008a01445fe ffffffff81868020 ffff8802322ed8d0 0000000000000002 > [ 2518.146962] Call Trace: > [ 2518.146972] [] ? __mutex_lock_common.isra.5+0xff/0x164 > [ 2518.146981] [] ? mutex_lock+0x1a/0x2d > [ 2518.146993] [] ? wireless_dev_seq_start+0x12/0x5e > [ 2518.147002] [] ? seq_read+0x148/0x354 > [ 2518.147012] [] ? proc_reg_read+0x78/0x91 > [ 2518.147021] [] ? vfs_read+0x9f/0xe6 > [ 2518.147028] [] ? sys_read+0x45/0x6b > [ 2518.147037] [] ? system_call_fastpath+0x16/0x1b > [ 2518.147063] INFO: task ifconfig:6734 blocked for more than 120 seconds. > [ 2518.147068] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables > this message. > [ 2518.147072] ifconfig D ffff88023fb933c0 0 6734 2598 0x00000000 > [ 2518.147081] ffff8801faae30a0 0000000000000086 0000000000000001 > ffff880235186ee0 > [ 2518.147090] 00000000000133c0 ffff880232163fd8 ffff880232163fd8 ffff8801faae30a0 > [ 2518.147099] 0000000000000001 ffff880230f2b4d8 ffff8801faae30a0 > 0000000000000002 > [ 2518.147109] Call Trace: > [ 2518.147118] [] ? __mutex_lock_common.isra.5+0xff/0x164 > [ 2518.147125] [] ? should_resched+0x5/0x23 > [ 2518.147133] [] ? mutex_lock+0x1a/0x2d > [ 2518.147160] [] ? rtl8169_close+0x49/0x14f [r8169] > [ 2518.147169] [] ? __dev_close_many+0x85/0xb2 > [ 2518.147176] [] ? __dev_close+0x30/0x47 > [ 2518.147184] [] ? dev_set_rx_mode+0x1d/0x29 > [ 2518.147192] [] ? __dev_change_flags+0x9d/0x118 > [ 2518.147200] [] ? dev_change_flags+0x12/0x42 > [ 2518.147210] [] ? devinet_ioctl+0x285/0x554 > [ 2518.147219] [] ? sock_do_ioctl+0x1b/0x36 > [ 2518.147227] [] ? sock_ioctl+0x205/0x212 > [ 2518.147237] [] ? do_vfs_ioctl+0x459/0x49a > [ 2518.147245] [] ? kmem_cache_alloc+0x86/0xea > [ 2518.147254] [] ? sys_ioctl+0x4b/0x72 > [ 2518.147263] [] ? system_call_fastpath+0x16/0x1b > [ 2638.014954] INFO: task nmbd:2442 blocked for more than 120 seconds. > [ 2638.014963] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables > this message. > [ 2638.014969] nmbd D ffff88023fb933c0 0 2442 1 0x00000000 > [ 2638.014980] ffff880232d6f5d0 0000000000000082 0000000000000206 > ffff880235186ee0 > [ 2638.014992] 00000000000133c0 ffff8802320fdfd8 ffff8802320fdfd8 ffff880232d6f5d0 > [ 2638.015002] ffff8802320fde5c ffffffff81868020 ffff880232d6f5d0 0000000000000002 > [ 2638.015012] Call Trace: > [ 2638.015030] [] ? __mutex_lock_common.isra.5+0xff/0x164 > [ 2638.015041] [] ? mutex_lock+0x1a/0x2d > [ 2638.015050] [] ? netlink_trim+0x13/0x79 > [ 2638.015059] [] ? rtnetlink_rcv+0xe/0x28 > [ 2638.015067] [] ? netlink_unicast+0xe6/0x14e > [ 2638.015075] [] ? netlink_sendmsg+0x201/0x23c > [ 2638.015083] [] ? __pollwait+0xce/0xce > [ 2638.015093] [] ? sock_sendmsg+0xca/0xe7 > [ 2638.015099] [] ? __pollwait+0xce/0xce > [ 2638.015108] [] ? sys_time+0xc/0x39 > [ 2638.015116] [] ? emulate_vsyscall+0x191/0x270 > [ 2638.015124] [] ? should_resched+0x5/0x23 > [ 2638.015131] [] ? _cond_resched+0x6/0x1b > [ 2638.015138] [] ? copy_from_user+0x18/0x30 > [ 2638.015147] [] ? sys_sendto+0xf7/0x137 > [ 2638.015156] [] ? fd_install+0x25/0x4a > [ 2638.015166] [] ? system_call_fastpath+0x16/0x1b > [ 2638.015196] INFO: task ksysguardd:3501 blocked for more than 120 seconds. > [ 2638.015201] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables > this message. > [ 2638.015205] ksysguardd D ffff88023fa133c0 0 3501 3436 0x00000000 > [ 2638.015214] ffff8802322ed8d0 0000000000000082 ffff880228522980 ffffffff81813020 > [ 2638.015224] 00000000000133c0 ffff880225c7bfd8 ffff880225c7bfd8 ffff8802322ed8d0 > [ 2638.015233] 00000008a01445fe ffffffff81868020 ffff8802322ed8d0 0000000000000002 > [ 2638.015243] Call Trace: > [ 2638.015252] [] ? __mutex_lock_common.isra.5+0xff/0x164 > [ 2638.015262] [] ? mutex_lock+0x1a/0x2d > [ 2638.015273] [] ? wireless_dev_seq_start+0x12/0x5e > [ 2638.015282] [] ? seq_read+0x148/0x354 > [ 2638.015291] [] ? proc_reg_read+0x78/0x91 > [ 2638.015299] [] ? vfs_read+0x9f/0xe6 > [ 2638.015307] [] ? sys_read+0x45/0x6b > [ 2638.015315] [] ? system_call_fastpath+0x16/0x1b > [ 2638.015339] INFO: task ifconfig:6734 blocked for more than 120 seconds. > [ 2638.015344] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables > this message. > [ 2638.015348] ifconfig D ffff88023fb933c0 0 6734 2598 0x00000000 > [ 2638.015357] ffff8801faae30a0 0000000000000086 0000000000000001 > ffff880235186ee0 > [ 2638.015366] 00000000000133c0 ffff880232163fd8 ffff880232163fd8 ffff8801faae30a0 > [ 2638.015375] 0000000000000001 ffff880230f2b4d8 ffff8801faae30a0 > 0000000000000002 > [ 2638.015384] Call Trace: > [ 2638.015393] [] ? __mutex_lock_common.isra.5+0xff/0x164 > [ 2638.015400] [] ? should_resched+0x5/0x23 > [ 2638.015409] [] ? mutex_lock+0x1a/0x2d > [ 2638.015434] [] ? rtl8169_close+0x49/0x14f [r8169] > [ 2638.015443] [] ? __dev_close_many+0x85/0xb2 > [ 2638.015450] [] ? __dev_close+0x30/0x47 > [ 2638.015458] [] ? dev_set_rx_mode+0x1d/0x29 > [ 2638.015466] [] ? __dev_change_flags+0x9d/0x118 > [ 2638.015474] [] ? dev_change_flags+0x12/0x42 > [ 2638.015484] [] ? devinet_ioctl+0x285/0x554 > [ 2638.015492] [] ? sock_do_ioctl+0x1b/0x36 > [ 2638.015500] [] ? sock_ioctl+0x205/0x212 > [ 2638.015510] [] ? do_vfs_ioctl+0x459/0x49a > [ 2638.015518] [] ? kmem_cache_alloc+0x86/0xea > [ 2638.015527] [] ? sys_ioctl+0x4b/0x72 > [ 2638.015535] [] ? system_call_fastpath+0x16/0x1b > > > Config: > http://mrutecki.pl/download/kernel/3.4-rc1/netdev_resume/config-3.4.0-rc1 > > full dmesg: > http://mrutecki.pl/download/kernel/3.4-rc1/netdev_resume/dmesg_netdev-3.4- > rc1.txt > > lspci: > 00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family > DRAM Controller (rev 09) > 00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core > Processor Family Integrated Graphics Controller (rev 09) > 00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series > Chipset Family MEI Controller #1 (rev 04) > 00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family > USB Enhanced Host Controller #2 (rev 04) > 00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family > High Definition Audio Controller (rev 04) > 00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI > Express Root Port 1 (rev b4) > 00:1c.1 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI > Express Root Port 2 (rev b4) > 00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI > Express Root Port 3 (rev b4) > 00:1c.3 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI > Express Root Port 4 (rev b4) > 00:1c.7 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI > Express Root Port 8 (rev b4) > 00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family > USB Enhanced Host Controller #1 (rev 04) > 00:1f.0 ISA bridge: Intel Corporation HM65 Express Chipset Family LPC > Controller (rev 04) > 00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family > 6 port SATA AHCI Controller (rev 04) > 00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus > Controller (rev 04) > 02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI > Express Gigabit Ethernet controller (rev 06) > 03:00.0 System peripheral: Ricoh Co Ltd MMC/SD Host Controller (rev 07) > 08:00.0 Network controller: Intel Corporation Centrino Wireless-N 1000 > > Regards