Re: 2.6.21-rc7-mm1 + sysfs-oops-workaround.patch -- software suspend failed (1 tasks refusing to freeze)

Gautham R Shenoy
2007-04-25T21:33:38Z

Hi Miles,

Looks like following processes failed to freeze while waiting
on the rtnl_mutex.

Either somebody is holding the rtnl_mutex for a really long time
Or the task holding rtnl_mutex is frozen.

I don't quite know about the former, but if it's the latter
then we definitely have a bug.

Thanks and Regards
gautham.

> =======================
> INFO: lockdep is turned off.
> avahi-daemon D 000003D0 0 2853 1 (NOTLB)
> c32e1c80 00000092 a4206282 000003d0 00000000 00000046 a4206282
> 000003d0
> c1ca35e4 c03b9b54 c30fc2f0 c1ca34d0 c036f520 c32e1cb0 c036f4e0
> 00000246
> c32e1cd0 c0299cc7 00000000 00000002 c0299dfe 00000246 00000202
> c1f7f060
> Call Trace:
> [__mutex_lock_slowpath+330/610] __mutex_lock_slowpath+0x14a/0x262
> [mutex_lock+31/35] mutex_lock+0x1f/0x23
> [rtnl_lock+16/18] rtnl_lock+0x10/0x12
> [ip_mc_leave_group+24/170] ip_mc_leave_group+0x18/0xaa
> [ip_setsockopt+1608/2365] ip_setsockopt+0x648/0x93d
> [udp_setsockopt+67/74] udp_setsockopt+0x43/0x4a
> [sock_common_setsockopt+30/37] sock_common_setsockopt+0x1e/0x25
> [sys_setsockopt+105/133] sys_setsockopt+0x69/0x85
> [sys_socketcall+488/577] sys_socketcall+0x1e8/0x241
> [sysenter_past_esp+95/153] sysenter_past_esp+0x5f/0x99
> =======================

> =======================
> INFO: lockdep is turned off.
> multiload-app D 000003D0 0 4159 1 (NOTLB)
> c733ee10 00200092 aa7df471 000003d0 00000000 00200046 aa7df471
> 000003d0
> c7277624 c03b9b54 c72fea98 00000000 c036f520 c733ee40 c036f4e0
> 00200246
> c733ee60 c0299cc7 00000000 00000002 c0299dfe 00200246 00000000
> 00000000
> Call Trace:
> [__mutex_lock_slowpath+330/610] __mutex_lock_slowpath+0x14a/0x262
> [mutex_lock+31/35] mutex_lock+0x1f/0x23
> [rtnl_lock+16/18] rtnl_lock+0x10/0x12
> [dev_ioctl+1066/1134] dev_ioctl+0x42a/0x46e
> [sock_ioctl+446/458] sock_ioctl+0x1be/0x1ca
> [do_ioctl+34/104] do_ioctl+0x22/0x68
> [vfs_ioctl+575/594] vfs_ioctl+0x23f/0x252
> [sys_ioctl+49/74] sys_ioctl+0x31/0x4a
> [sysenter_past_esp+95/153] sysenter_past_esp+0x5f/0x99
> =======================

> =======================
> INFO: lockdep is turned off.
> wpa_supplican D 000003D0 0 6511 1 (NOTLB)
> c724cc50 00200092 a33ddada 000003d0 00000000 00200046 a33ddada
> 000003d0
> c7191624 c03b9b54 c72fe330 c46c64d0 c036f520 c724cc80 c036f4e0
> 00200246
> c724cca0 c0299cc7 00000000 00000002 c0299dfe 00200046 00000000
> 00000000
> Call Trace:
> [__mutex_lock_slowpath+330/610] __mutex_lock_slowpath+0x14a/0x262
> [mutex_lock+31/35] mutex_lock+0x1f/0x23
> [rtnetlink_rcv+26/68] rtnetlink_rcv+0x1a/0x44
> [netlink_data_ready+21/85] netlink_data_ready+0x15/0x55
> [netlink_sendskb+34/83] netlink_sendskb+0x22/0x53
> [netlink_unicast+443/469] netlink_unicast+0x1bb/0x1d5
> [netlink_sendmsg+582/594] netlink_sendmsg+0x246/0x252
> [sock_sendmsg+204/229] sock_sendmsg+0xcc/0xe5
> [sys_sendto+204/236] sys_sendto+0xcc/0xec
> [sys_send+54/56] sys_send+0x36/0x38
> [sys_socketcall+318/577] sys_socketcall+0x13e/0x241
> [sysenter_past_esp+95/153] sysenter_past_esp+0x5f/0x99
> =======================

> INFO: lockdep is turned off.
> dhclient D 000003D0 0 6998 2816 (NOTLB)
> c9094e10 00000092 ac00d705 000003d0 00000000 00000046 ac00d705
> 000003d0
> c6f45664 c03b9b54 c905da18 00000000 c036f520 c9094e40 c036f4e0
> 00000246
> c9094e60 c0299cc7 00000000 00000002 c0299dfe 00000000 c965614c
> c6f45550
> Call Trace:
> [__mutex_lock_slowpath+330/610] __mutex_lock_slowpath+0x14a/0x262
> [mutex_lock+31/35] mutex_lock+0x1f/0x23
> [rtnl_lock+16/18] rtnl_lock+0x10/0x12
> [dev_ioctl+30/1134] dev_ioctl+0x1e/0x46e
> [sock_ioctl+446/458] sock_ioctl+0x1be/0x1ca
> [do_ioctl+34/104] do_ioctl+0x22/0x68
> [vfs_ioctl+575/594] vfs_ioctl+0x23f/0x252
> [sys_ioctl+49/74] sys_ioctl+0x31/0x4a
> [sysenter_past_esp+95/153] sysenter_past_esp+0x5f/0x99
> =======================

> =======================
> INFO: lockdep is turned off.
> avahi-daemon D 000003D0 0 2853 1 (NOTLB)
> c32e1c80 00000092 a4206282 000003d0 00000000 00000046 a4206282
> 000003d0
> c1ca35e4 c03b9b54 c30fc2f0 c1ca34d0 c036f520 c32e1cb0 c036f4e0
> 00000246
> c32e1cd0 c0299cc7 00000000 00000002 c0299dfe 00000246 00000202
> c1f7f060
> Call Trace:
> [__mutex_lock_slowpath+330/610] __mutex_lock_slowpath+0x14a/0x262
> [mutex_lock+31/35] mutex_lock+0x1f/0x23
> [rtnl_lock+16/18] rtnl_lock+0x10/0x12
> [ip_mc_leave_group+24/170] ip_mc_leave_group+0x18/0xaa
> [ip_setsockopt+1608/2365] ip_setsockopt+0x648/0x93d
> [udp_setsockopt+67/74] udp_setsockopt+0x43/0x4a
> [sock_common_setsockopt+30/37] sock_common_setsockopt+0x1e/0x25
> [sys_setsockopt+105/133] sys_setsockopt+0x69/0x85
> [sys_socketcall+488/577] sys_socketcall+0x1e8/0x241
> [sysenter_past_esp+95/153] sysenter_past_esp+0x5f/0x99
> =======================

> =======================
> INFO: lockdep is turned off.
> multiload-app D 000003D0 0 4159 1 (NOTLB)
> c733ee10 00200092 aa7df471 000003d0 00000000 00200046 aa7df471
> 000003d0
> c7277624 c03b9b54 c72fea98 00000000 c036f520 c733ee40 c036f4e0
> 00200246
> c733ee60 c0299cc7 00000000 00000002 c0299dfe 00200246 00000000
> 00000000
> Call Trace:
> [__mutex_lock_slowpath+330/610] __mutex_lock_slowpath+0x14a/0x262
> [mutex_lock+31/35] mutex_lock+0x1f/0x23
> [rtnl_lock+16/18] rtnl_lock+0x10/0x12
> [dev_ioctl+1066/1134] dev_ioctl+0x42a/0x46e
> [sock_ioctl+446/458] sock_ioctl+0x1be/0x1ca
> [do_ioctl+34/104] do_ioctl+0x22/0x68
> [vfs_ioctl+575/594] vfs_ioctl+0x23f/0x252
> [sys_ioctl+49/74] sys_ioctl+0x31/0x4a
> [sysenter_past_esp+95/153] sysenter_past_esp+0x5f/0x99
> =======================

> =======================
> INFO: lockdep is turned off.
> wpa_supplican D 000003D0 0 6511 1 (NOTLB)
> c724cc50 00200092 a33ddada 000003d0 00000000 00200046 a33ddada
> 000003d0
> c7191624 c03b9b54 c72fe330 c46c64d0 c036f520 c724cc80 c036f4e0
> 00200246
> c724cca0 c0299cc7 00000000 00000002 c0299dfe 00200046 00000000
> 00000000
> Call Trace:
> [__mutex_lock_slowpath+330/610] __mutex_lock_slowpath+0x14a/0x262
> [mutex_lock+31/35] mutex_lock+0x1f/0x23
> [rtnetlink_rcv+26/68] rtnetlink_rcv+0x1a/0x44
> [netlink_data_ready+21/85] netlink_data_ready+0x15/0x55
> [netlink_sendskb+34/83] netlink_sendskb+0x22/0x53
> [netlink_unicast+443/469] netlink_unicast+0x1bb/0x1d5
> [netlink_sendmsg+582/594] netlink_sendmsg+0x246/0x252
> [sock_sendmsg+204/229] sock_sendmsg+0xcc/0xe5
> [sys_sendto+204/236] sys_sendto+0xcc/0xec
> [sys_send+54/56] sys_send+0x36/0x38
> [sys_socketcall+318/577] sys_socketcall+0x13e/0x241
> [sysenter_past_esp+95/153] sysenter_past_esp+0x5f/0x99
> =======================

> INFO: lockdep is turned off.
> dhclient D 000003D0 0 6998 2816 (NOTLB)
> c9094e10 00000092 ac00d705 000003d0 00000000 00000046 ac00d705
> 000003d0
> c6f45664 c03b9b54 c905da18 00000000 c036f520 c9094e40 c036f4e0
> 00000246
> c9094e60 c0299cc7 00000000 00000002 c0299dfe 00000000 c965614c
> c6f45550
> Call Trace:
> [__mutex_lock_slowpath+330/610] __mutex_lock_slowpath+0x14a/0x262
> [mutex_lock+31/35] mutex_lock+0x1f/0x23
> [rtnl_lock+16/18] rtnl_lock+0x10/0x12
> [dev_ioctl+30/1134] dev_ioctl+0x1e/0x46e
> [sock_ioctl+446/458] sock_ioctl+0x1be/0x1ca
> [do_ioctl+34/104] do_ioctl+0x22/0x68
> [vfs_ioctl+575/594] vfs_ioctl+0x23f/0x252
> [sys_ioctl+49/74] sys_ioctl+0x31/0x4a
> [sysenter_past_esp+95/153] sysenter_past_esp+0x5f/0x99
> =======================

Thanks and Regards
gautham.
--
Gautham R Shenoy
Linux Technology Center
IBM India.
"Freedom comes with a price tag of responsibility, which is still a bargain,
because Freedom is priceless!"

--
Gautham R Shenoy
Linux Technology Center
IBM India.
"Freedom comes with a price tag of responsibility, which is still a bargain,
because Freedom is priceless!"
--
Gautham R Shenoy
Linux Technology Center
IBM India.
"Freedom comes with a price tag of responsibility, which is still a bargain,
because Freedom is priceless!"