Return-path: Received: from mail.serverraum.org ([78.47.150.89]:50966 "EHLO mail.serverraum.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752874Ab1K2A64 (ORCPT ); Mon, 28 Nov 2011 19:58:56 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.serverraum.org (Postfix) with ESMTP id C13673EF93 for ; Tue, 29 Nov 2011 01:59:34 +0100 (CET) Received: from mail.serverraum.org ([127.0.0.1]) by localhost (web.serverraum.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bt3YdH+ZTwQL for ; Tue, 29 Nov 2011 01:59:34 +0100 (CET) Received: from mail-gy0-f174.google.com (mail-gy0-f174.google.com [209.85.160.174]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.serverraum.org (Postfix) with ESMTPSA id 581463EF8C for ; Tue, 29 Nov 2011 01:59:34 +0100 (CET) Received: by ghrr1 with SMTP id r1so5834423ghr.19 for ; Mon, 28 Nov 2011 16:58:53 -0800 (PST) MIME-Version: 1.0 Date: Mon, 28 Nov 2011 22:58:53 -0200 Message-ID: (sfid-20111129_015900_593635_CE10345A) Subject: rtlwifi, rtl8192se bug soft-lockup From: Philipp Dreimann To: linux-wireless@vger.kernel.org Cc: larry.finger@lwfinger.net, sgruszka@redhat.com, mikem@ring3k.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-wireless-owner@vger.kernel.org List-ID: Hello! I since kernel v3.1, my system suffers from lock-ups because of the rtl8192se driver. v3.0 is still fine. [ 704.057088] Pid: 2112, comm: kworker/0:3 Not tainted 3.1.0-1-686-pae #1 ASUSTeK Computer INC. 1201T/1201T [ 704.057120] EIP: 0060:[] EFLAGS: 00000297 CPU: 0 [ 704.057140] EIP is at do_raw_spin_lock+0x10/0x15 [ 704.057152] EAX: f4bbd188 EBX: f4bbd160 ECX: f4bbc4a8 EDX: 00009998 [ 704.057164] ESI: f4bbc320 EDI: 00000000 EBP: 00000100 ESP: f580dfc0 [ 704.057175] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068 [ 704.057190] Process kworker/0:3 (pid: 2112, ti=f580c000 task=f4b69660 task.ti=f49d8000) [ 704.057200] Stack: [ 704.057210] f84c5608 f4bbd308 f4bbd30c c103bac7 00000006 c13caa18 c103c05d c103c0f1 [ 704.057265] 00000001 0000000a 00000000 f49d9ebc f49d8000 c103c05d 00000046 c100ccb4 [ 704.057322] Call Trace: [ 704.057352] [] ? rtl_lps_leave+0xf/0xc4 [rtlwifi] [ 704.057369] [] ? tasklet_action+0x62/0xa5 [ 704.057383] [] ? local_bh_enable+0x2/0x2 [ 704.057397] [] ? __do_softirq+0x94/0x12f [ 704.057411] [] ? local_bh_enable+0x2/0x2 [ 704.057420] [ 704.057438] [] ? irq_exit+0x32/0x80 [ 704.057454] [] ? do_IRQ+0x65/0x76 [ 704.057468] [] ? common_interrupt+0x30/0x38 [ 704.057487] [] ? delay_tsc+0x1d/0x54 [ 704.057501] [] ? __delay+0x6/0x7 [ 704.057520] [] ? rtl92s_phy_set_rf_power_state+0x458/0x531 [rtl8192se] [ 704.057543] [] ? rtl_ps_set_rf_state+0xbd/0xc2 [rtlwifi] [ 704.057566] [] ? rtl_swlps_rf_sleep+0x6f/0x154 [rtlwifi] [ 704.057587] [] ? rtl_swlps_wq_callback+0x23/0x78 [rtlwifi] [ 704.057603] [] ? process_one_work+0x112/0x1fa [ 704.057624] [] ? rtl_swlps_rf_sleep+0x154/0x154 [rtlwifi] [ 704.057638] [] ? worker_thread+0xa9/0x122 [ 704.057653] [] ? manage_workers.isra.23+0x13d/0x13d [ 704.057668] [] ? kthread+0x63/0x68 [ 704.057683] [] ? kthread_worker_fn+0x101/0x101 [ 704.057696] [] ? kernel_thread_helper+0x6/0x10 [ 704.057706] Code: c3 3e ff 08 79 05 e8 0c 9d 0f 00 c3 3e 81 28 00 00 10 00 74 05 e8 e1 9c 0f 00 c3 ba 00 01 00 00 3e 66 0f c1 10 38 f2 74 06 f3 90 <8a> 10 eb f6 c3 89 c2 0f b7 02 38 e0 8d 88 00 01 00 00 75 05 3e One of the reasons for this lockup is most likely the change from spin_lock_irq* to spin_lock, see 67fc6052a49b781efbcfc138f3b68fe79ddd0c2f and earlier. I will try the recently proposed patch for another problem from Stanislaw, [PATCH v2] rtlwifi: fix lps_lock deadlock, to check if it resolves my issue as well. But I think that Mike might be affected by the change again... BR, Philipp