[rt2x00-users] rt73usb cause system to crash after resuming from suspend

Leonardo Luiz Padovani da Mata leonardol at syst.com.br
Thu Feb 3 03:55:53 AEDT 2011


Sending the message back to the list because they might have some ideas on this.

As part of Helmut suggestions, i've applied a patch that disables the
watchdog for this driver:

>>>> diff --git a/drivers/net/wireless/rt2x00/rt2x00usb.c b/drivers/net/wireless/rt2x00/rt2x00usb.c
>>>> index 1a9937d..e608b15 100644
>>>> --- a/drivers/net/wireless/rt2x00/rt2x00usb.c
>>>> +++ b/drivers/net/wireless/rt2x00/rt2x00usb.c
>>>> @@ -459,6 +459,7 @@ static void rt2x00usb_watchdog_tx_status(struct data_queue *queue)
>>>>  void rt2x00usb_watchdog(struct rt2x00_dev *rt2x00dev)
>>>>  {
>>>>        struct data_queue *queue;
>>>> +       return;

After that, the system still crashes on resuming from suspend, but
now, when i try to rmmod the rt73usb, the kernel output this dump:

[  360.312041] INFO: task kworker/1:0:9 blocked for more than 120 seconds.
[  360.312050] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
disables this message.
[  360.312058] kworker/1:0   D 00000029     0     9      2 0x00000000
[  360.312071]  f6caff10 00000046 60e16e6f 00000029 f6c4e280 c1806140
00000000 c1800000
[  360.312092]  c1806140 f6c4e504 0000124d 00000000 60e15c22 00000029
f6c4e280 35b00000
[  360.312111]  00000008 00000001 f6cafed0 c1025d7e f67198a0 f7306140
f6caff0c 00000029
[  360.312131] Call Trace:
[  360.312151]  [<c1025d7e>] ? hrtick_update+0x37/0x3b
[  360.312164]  [<c102c891>] ? check_preempt_wakeup+0xcf/0x12c
[  360.312176]  [<c14d7943>] __mutex_lock_slowpath+0xc8/0x124
[  360.312187]  [<c14d7d07>] mutex_lock+0x27/0x35
[  360.312199]  [<c13e077e>] rtnl_lock+0xd/0xf
[  360.312211]  [<c1493a2e>] wireless_nlevent_process+0xa/0x5b
[  360.312223]  [<c10441db>] process_one_work+0x1a1/0x2ec
[  360.312234]  [<c1493a24>] ? wireless_nlevent_process+0x0/0x5b
[  360.312245]  [<c10445d5>] worker_thread+0x143/0x20d
[  360.312256]  [<c1044492>] ? worker_thread+0x0/0x20d
[  360.312266]  [<c1048012>] kthread+0x63/0x68
[  360.312276]  [<c1047faf>] ? kthread+0x0/0x68
[  360.312286]  [<c1002e7e>] kernel_thread_helper+0x6/0x10
[  360.312301] INFO: task kworker/1:1:434 blocked for more than 120 seconds.
[  360.312307] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
disables this message.
[  360.312315] kworker/1:1   D 00000029     0   434      2 0x00000000
[  360.312326]  f6dffdf0 00000046 611e9f8c 00000029 f6df6280 c1806140
00000001 c1800000
[  360.312346]  c1806140 f6df6504 0038bc4e 00000000 60e5e33e 00000029
f6df6280 f6df6280
[  360.312365]  00000000 f6dffe34 c14d712d 60d2948e 00000029 f6df6280
c1806140 60a6a0ff
[  360.312385] Call Trace:
[  360.312396]  [<c14d712d>] ? schedule+0x96f/0xa08
[  360.312408]  [<c14d7454>] schedule_timeout+0x24/0x20c
[  360.312420]  [<c14a1d08>] ? ieee80211_recalc_idle+0x32/0x37
[  360.312431]  [<c149ec0c>] ? ieee80211_mgd_deauth+0x187/0x191
[  360.312442]  [<c14d66f2>] wait_for_common+0xbc/0x105
[  360.312453]  [<c102e0f0>] ? default_wake_function+0x0/0xd
[  360.312463]  [<c14d67bc>] wait_for_completion+0x12/0x14
[  360.312474]  [<c1045441>] flush_workqueue+0xfb/0x24f
[  360.312485]  [<c13ce964>] ? skb_queue_purge+0xd/0x1b
[  360.312497]  [<c14ac112>] ieee80211_stop_device+0x23/0x65
[  360.312509]  [<c14a1528>] ieee80211_do_stop+0x352/0x3e9
[  360.312519]  [<c14d8a28>] ? _raw_spin_unlock_bh+0x17/0x19
[  360.312530]  [<c13e6548>] ? dev_deactivate+0x139/0x15a
[  360.312542]  [<c14a15d1>] ieee80211_stop+0x12/0x16
[  360.312552]  [<c13d66f3>] __dev_close+0x66/0x76
[  360.312563]  [<c13d6717>] dev_close+0x14/0x36
[  360.312574]  [<c1480ff6>] cfg80211_rfkill_set_block+0x2e/0x55
[  360.312585]  [<c1481036>] cfg80211_rfkill_sync_work+0x19/0x1c
[  360.312597]  [<c10441db>] process_one_work+0x1a1/0x2ec
[  360.312608]  [<c148101d>] ? cfg80211_rfkill_sync_work+0x0/0x1c
[  360.312619]  [<c10445d5>] worker_thread+0x143/0x20d
[  360.312630]  [<c1044492>] ? worker_thread+0x0/0x20d
[  360.312640]  [<c1048012>] kthread+0x63/0x68
[  360.312649]  [<c1047faf>] ? kthread+0x0/0x68
[  360.312659]  [<c1002e7e>] kernel_thread_helper+0x6/0x10
[  360.312675] INFO: task kworker/1:2:1232 blocked for more than 120 seconds.
[  360.312681] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
disables this message.
[  360.312688] kworker/1:2   D 00000029     0  1232      2 0x00000000
[  360.312700]  f5e1bf18 00000046 607ac690 00000029 f5edeed0 c1806140
00000001 c1800000
[  360.312720]  c1806140 f5edf154 00000830 00000000 607abe60 00000029
f5edeed0 f5e1bee4
[  360.312739]  f7302894 00000001 ffa4acf0 ffffffff 00000001 00000000
f5e1bef0 c1027b12
[  360.312758] Call Trace:
[  360.312771]  [<c1027b12>] ? finish_task_switch+0x3f/0x9b
[  360.312782]  [<c14d712d>] ? schedule+0x96f/0xa08
[  360.312793]  [<c14d7943>] __mutex_lock_slowpath+0xc8/0x124
[  360.312803]  [<c14d7d07>] mutex_lock+0x27/0x35
[  360.312814]  [<c10457a6>] ? queue_delayed_work+0x1b/0x1e
[  360.312825]  [<c13e077e>] rtnl_lock+0xd/0xf
[  360.312835]  [<c13e16b7>] linkwatch_event+0x8/0x22
[  360.312845]  [<c10441db>] process_one_work+0x1a1/0x2ec
[  360.312856]  [<c13e16af>] ? linkwatch_event+0x0/0x22
[  360.312867]  [<c10445d5>] worker_thread+0x143/0x20d
[  360.312878]  [<c1044492>] ? worker_thread+0x0/0x20d
[  360.312887]  [<c1048012>] kthread+0x63/0x68
[  360.312897]  [<c1047faf>] ? kthread+0x0/0x68
[  360.312907]  [<c1002e7e>] kernel_thread_helper+0x6/0x10
[  360.312937] INFO: task connmand:1419 blocked for more than 120 seconds.
[  360.312943] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
disables this message.
[  360.312950] connmand      D 00000029     0  1419      1 0x00000000
[  360.312962]  f5e61dec 00000086 67556435 00000029 f5e8eed0 c1806140
00000000 c1800000
[  360.312982]  c1806140 f5e8f154 00072f56 00000000 674e34df 00000029
f5e8eed0 f5e61e54
[  360.313047]  c13c83f2 00000241 f5e61de4 c1104569 00000000 00000001
ffffffff 00000000
[  360.313067] Call Trace:
[  360.313080]  [<c13c83f2>] ? sock_sendmsg+0xa6/0xbc
[  360.313092]  [<c1104569>] ? __journal_file_buffer+0xdc/0x170
[  360.313105]  [<c14d7943>] __mutex_lock_slowpath+0xc8/0x124
[  360.313116]  [<c14d7d07>] mutex_lock+0x27/0x35
[  360.313126]  [<c13e077e>] rtnl_lock+0xd/0xf
[  360.313137]  [<c142438e>] ip_rt_ioctl+0x7b/0x400
[  360.313147]  [<c13d0596>] ? verify_iovec+0x3e/0x74
[  360.313158]  [<c13c9d9b>] ? sys_sendmsg+0x17e/0x1e5
[  360.313172]  [<c141f9cd>] inet_ioctl+0x76/0xa7
[  360.313182]  [<c13c8618>] sock_ioctl+0x1d9/0x1fd
[  360.313192]  [<c13c843f>] ? sock_ioctl+0x0/0x1fd
[  360.313203]  [<c10b66ef>] do_vfs_ioctl+0x4ed/0x522
[  360.313214]  [<c13c8995>] ? sock_alloc_file+0xa2/0xf9
[  360.313225]  [<c10a9665>] ? fd_install+0x43/0x49
[  360.313235]  [<c13c8a0c>] ? sock_map_fd+0x20/0x26
[  360.313246]  [<c13c9195>] ? sys_socket+0x44/0x5b
[  360.313256]  [<c13ca09f>] ? sys_socketcall+0x65/0x18a
[  360.313267]  [<c10b6753>] sys_ioctl+0x2f/0x4c
[  360.313277]  [<c1002957>] sysenter_do_call+0x12/0x26
[  360.313301] INFO: task rmmod:1658 blocked for more than 120 seconds.
[  360.313308] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs"
disables this message.
[  360.313315] rmmod         D 00000001     0  1658   1610 0x00000000
[  360.313327]  f67ebd90 00200082 c14e237c 00000001 f6718000 c1806140
f67ebd60 c1800000
[  360.313347]  c1806140 f6718284 60166470 00000028 6016290f 00000028
f6718000 00000000
[  360.313366]  ffffffff f56ffa12 00000016 f6e7eefc f7306184 000f43b8
f67ebd78 c102c3dc
[  360.313386] Call Trace:
[  360.313398]  [<c102c3dc>] ? update_curr+0x9e/0x144
[  360.313409]  [<c1025d7e>] ? hrtick_update+0x37/0x3b
[  360.313420]  [<c14d7454>] schedule_timeout+0x24/0x20c
[  360.313430]  [<c102c891>] ? check_preempt_wakeup+0xcf/0x12c
[  360.313442]  [<c1024da7>] ? check_preempt_curr+0x24/0x5d
[  360.313453]  [<c10457c7>] ? wq_worker_waking_up+0xb/0x1e
[  360.313463]  [<c14d66f2>] wait_for_common+0xbc/0x105
[  360.313474]  [<c102e0f0>] ? default_wake_function+0x0/0xd
[  360.313484]  [<c14d67bc>] wait_for_completion+0x12/0x14
[  360.313495]  [<c1045040>] wait_on_work+0xdd/0x127
[  360.313506]  [<c1043cad>] ? wq_barrier_func+0x0/0xd
[  360.313517]  [<c104512f>] __cancel_work_timer+0xa5/0xe4
[  360.313538]  [<f88798f9>] ? rt2x00led_led_simple+0x25/0x2c [rt2x00lib]
[  360.313551]  [<c1045185>] cancel_work_sync+0xa/0xc
[  360.313568]  [<f88757de>] rt2x00lib_remove_dev+0x29/0xcc [rt2x00lib]
[  360.313581]  [<f896e08b>] rt2x00usb_disconnect+0x25/0x88 [rt2x00usb]
[  360.313594]  [<c1309db4>] usb_unbind_interface+0x44/0xf9
[  360.313607]  [<c125f51c>] __device_release_driver+0x57/0x99
[  360.313619]  [<c125f975>] driver_detach+0x67/0x86
[  360.313630]  [<c125f442>] bus_remove_driver+0x69/0x87
[  360.313641]  [<c125f9fe>] driver_unregister+0x4b/0x52
[  360.313651]  [<c1309797>] usb_deregister+0x73/0x80
[  360.313665]  [<f907affd>] rt73usb_exit+0xd/0xf [rt73usb]
[  360.313676]  [<c105aa74>] sys_delete_module+0x19e/0x1fc
[  360.313689]  [<c109bbc8>] ? do_munmap+0x1e5/0x1fd
[  360.313700]  [<c1002957>] sysenter_do_call+0x12/0x26
[root at localhost ~]#

I hope that this information might be helpefull.

Thanks


On Wed, Feb 2, 2011 at 2:47 PM, Leonardo Luiz Padovani da Mata
<leonardol at syst.com.br> wrote:
> Hey Helmut, same behavior,  i think the problem is somewhere else.
>
> I will try to use the latest compat-driver
> http://wireless.kernel.org/en/users/Download#Directly_downloading_the_tarball
>
> Thanks.
>
> On Wed, Feb 2, 2011 at 2:13 PM, Helmut Schaa
> <helmut.schaa at googlemail.com> wrote:
>> On Wed, Feb 2, 2011 at 4:51 PM, Leonardo Luiz Padovani da Mata
>> <leonardol at syst.com.br> wrote:
>>> Hey Helmut, how are you?
>>
>> Fine, thanks.
>>
>>
>>>> diff --git a/drivers/net/wireless/rt2x00/rt2x00usb.c b/drivers/net/wireless/rt2x00/rt2x00usb.c
>>>> index 1a9937d..e608b15 100644
>>>> --- a/drivers/net/wireless/rt2x00/rt2x00usb.c
>>>> +++ b/drivers/net/wireless/rt2x00/rt2x00usb.c
>>>> @@ -459,6 +459,7 @@ static void rt2x00usb_watchdog_tx_status(struct data_queue *queue)
>>>>  void rt2x00usb_watchdog(struct rt2x00_dev *rt2x00dev)
>>>>  {
>>>>        struct data_queue *queue;
>>>> +       return;
>>>
>>> This part of the patch is applicable.
>>
>> Ok, then try with only this part applied.
>>
>> Helmut
>>
>
>
>
> --
> Leonardo Luiz Padovani da Mata
>
> International Syst S/A
> Metasys Tecnologia
> Software Engineer Metasys MeeGo Team
>
> leonardol at metasys.com.br
> +55-31-3503-9040
>
> "May the force be with you, always"
> "Nerd Pride... eu tenho. Voce tem?"
>



-- 
Leonardo Luiz Padovani da Mata

International Syst S/A
Metasys Tecnologia
Software Engineer Metasys MeeGo Team

leonardol at metasys.com.br
+55-31-3503-9040

"May the force be with you, always"
"Nerd Pride... eu tenho. Voce tem?"




More information about the users mailing list