From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932376Ab1KQPxg (ORCPT ); Thu, 17 Nov 2011 10:53:36 -0500 Received: from vwp2514.webpack.hosteurope.de ([87.230.42.24]:59487 "EHLO vwp2514.webpack.hosteurope.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932198Ab1KQPxf convert rfc822-to-8bit (ORCPT ); Thu, 17 Nov 2011 10:53:35 -0500 X-Greylist: delayed 1001 seconds by postgrey-1.27 at vger.kernel.org; Thu, 17 Nov 2011 10:53:34 EST Message-ID: <1321544210.31090.6.camel@sven> Subject: Oops on suspend with libertas SDIO (Linux 3.2-rc2) From: Sven Neumann To: Chris Ball , Dan Williams Cc: linux-mmc@vger.kernel.org, libertas-dev@lists.infradead.org, linux-kernel@vger.kernel.org, Daniel Mack Date: Thu, 17 Nov 2011 16:36:50 +0100 Organization: RAUMFELD GmbH Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.1- Content-Transfer-Encoding: 8BIT Mime-Version: 1.0 X-bounce-key: webpack.hosteurope.de;s.neumann@raumfeld.com;1321545214;ef44742f; Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, I've given 3.2-rc2 a try today and the kernel oopsed when going into suspend: [ 20.387912] Freezing user space processes ... (elapsed 0.01 seconds) done. [ 20.408759] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done. [ 20.432966] libertas_sdio mmc0:0001:1: mmc0:0001:1: suspend: PM flags = 0x0 [ 20.439978] libertas_sdio mmc0:0001:1: Suspend without wake params -- powering down card [ 23.456061] libertas_sdio mmc0:0001:1: wlan0: command 0x0010 timed out [ 23.462626] libertas_sdio mmc0:0001:1: wlan0: Timeout submitting command 0x0010 [ 23.470026] libertas_sdio: Resetting card... [ 23.474140] ------------[ cut here ]------------ [ 23.479002] WARNING: at fs/sysfs/group.c:138 sysfs_remove_group+0x50/0x11c() [ 23.486045] sysfs group c05cb5c8 not found for kobject 'mmc0:0001:1' [ 23.492358] Modules linked in: libertas_sdio libertas pxamci [ 23.498091] [] (unwind_backtrace+0x0/0xec) from [] (warn_slowpath_common+0x4c/0x64) [ 23.507467] [] (warn_slowpath_common+0x4c/0x64) from [] (warn_slowpath_fmt+0x30/0x40) [ 23.517021] [] (warn_slowpath_fmt+0x30/0x40) from [] (sysfs_remove_group+0x50/0x11c) [ 23.526504] [] (sysfs_remove_group+0x50/0x11c) from [] (device_del+0x3c/0x1a4) [ 23.535437] [] (device_del+0x3c/0x1a4) from [] (sdio_remove_func+0x1c/0x2c) [ 23.544127] [] (sdio_remove_func+0x1c/0x2c) from [] (mmc_sdio_remove+0x44/0x78) [ 23.553161] [] (mmc_sdio_remove+0x44/0x78) from [] (mmc_stop_host+0xd0/0x22c) [ 23.562016] [] (mmc_stop_host+0xd0/0x22c) from [] (mmc_remove_host+0x18/0x2c) [ 23.570898] [] (mmc_remove_host+0x18/0x2c) from [] (if_sdio_reset_card_worker+0x18/0x2c [libertas_sdio]) [ 23.582138] [] (if_sdio_reset_card_worker+0x18/0x2c [libertas_sdio]) from [] (process_one_work+0x260/0x3c8) [ 23.593594] [] (process_one_work+0x260/0x3c8) from [] (worker_thread+0x224/0x458) [ 23.602816] [] (worker_thread+0x224/0x458) from [] (kthread+0x80/0x88) [ 23.611078] [] (kthread+0x80/0x88) from [] (kernel_thread_exit+0x0/0x8) [ 23.619409] ---[ end trace 78598ef84f325bdd ]--- [ 23.624011] Unable to handle kernel NULL pointer dereference at virtual address 0000000c [ 23.632079] pgd = c0004000 [ 23.634762] [0000000c] *pgd=00000000 [ 23.638351] Internal error: Oops: 17 [#1] PREEMPT [ 23.643016] Modules linked in: libertas_sdio libertas pxamci [ 23.648666] CPU: 0 Tainted: G W (3.2.0-rc2 #2) [ 23.654316] PC is at klist_put+0x18/0x9c [ 23.658213] LR is at device_del+0x50/0x1a4 [ 23.662287] pc : [] lr : [] psr: a0000013 [ 23.662298] sp : c6569f18 ip : 40000013 fp : c602e605 [ 23.673688] r10: 00000000 r9 : bf019458 r8 : c602e600 [ 23.678876] r7 : 00000000 r6 : c6447408 r5 : c64bbe50 r4 : 00000001 [ 23.685363] r3 : 00000000 r2 : 00000200 r1 : 00000001 r0 : 00000001 [ 23.691844] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel [ 23.699106] Control: 0000397f Table: a65a0018 DAC: 00000035 [ 23.704817] Process kworker/0:2 (pid: 1204, stack limit = 0xc6568278) [ 23.711218] Stack: (0xc6569f18 to 0xc656a000) [ 23.715547] 9f00: c65fe008 c6447000 [ 23.723677] 9f20: c6447408 c0202ed8 c65fe008 c6447000 00000084 c0295dfc 00000001 c0295110 [ 23.731810] 9f40: c63e8f00 c6447000 60000013 00000000 00000009 c028f0e4 c6447000 c6447000 [ 23.739944] 9f60: c63e8f00 c0290578 bf019c9c bf019470 bf019af0 c00302fc c05c1b38 c63e8f00 [ 23.748076] 9f80: c05c1b38 c05c1b38 00000009 c6568000 c63e8f10 c05c1b38 c63e8f10 c0030ac8 [ 23.756208] 9fa0: c6083f14 c6569fd4 c6083f14 c63e8f00 c00308a4 00000000 00000000 00000000 [ 23.764341] 9fc0: 00000000 c0036a00 c0009ca8 00000000 c63e8f00 00000000 c6569fd8 c6569fd8 [ 23.772475] 9fe0: 00000000 c6083f14 c0036980 c0009ca8 00000013 c0009ca8 0340f30e 153b5900 [ 23.780618] [] (klist_put+0x18/0x9c) from [] (device_del+0x50/0x1a4) [ 23.788675] [] (device_del+0x50/0x1a4) from [] (sdio_remove_func+0x1c/0x2c) [ 23.797327] [] (sdio_remove_func+0x1c/0x2c) from [] (mmc_sdio_remove+0x44/0x78) [ 23.806328] [] (mmc_sdio_remove+0x44/0x78) from [] (mmc_stop_host+0xd0/0x22c) [ 23.815148] [] (mmc_stop_host+0xd0/0x22c) from [] (mmc_remove_host+0x18/0x2c) [ 23.823987] [] (mmc_remove_host+0x18/0x2c) from [] (if_sdio_reset_card_worker+0x18/0x2c [libertas_sdio]) [ 23.835164] [] (if_sdio_reset_card_worker+0x18/0x2c [libertas_sdio]) from [] (process_one_work+0x260/0x3c8) [ 23.846584] [] (process_one_work+0x260/0x3c8) from [] (worker_thread+0x224/0x458) [ 23.855760] [] (worker_thread+0x224/0x458) from [] (kthread+0x80/0x88) [ 23.863984] [] (kthread+0x80/0x88) from [] (kernel_thread_exit+0x0/0x8) [ 23.872292] Code: e1a05000 e3a00001 e3c33001 e1a04001 (e593600c) [ 23.878402] ---[ end trace 78598ef84f325bde ]--- [ 23.883135] Unable to handle kernel paging request at virtual address fffffffc [ 23.890313] pgd = c0004000 [ 23.893000] [fffffffc] *pgd=a7ffe821, *pte=00000000, *ppte=00000000 [ 23.899244] Internal error: Oops: 17 [#2] PREEMPT [ 23.903915] Modules linked in: libertas_sdio libertas pxamci [ 23.909564] CPU: 0 Tainted: G D W (3.2.0-rc2 #2) [ 23.915199] PC is at kthread_data+0x4/0xc [ 23.919186] LR is at wq_worker_sleeping+0xc/0xb4 [ 23.923772] pc : [] lr : [] psr: 20000093 [ 23.923783] sp : c6569d60 ip : c05bff98 fp : c6569d94 [ 23.935174] r10: c60336ec r9 : c05bff98 r8 : c6568000 [ 23.940361] r7 : c6032000 r6 : c6033768 r5 : c6033600 r4 : 00000000 [ 23.946848] r3 : 00000000 r2 : c05bff98 r1 : 00000000 r0 : c6033600 [ 23.953329] Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA ARM Segment user [ 23.960504] Control: 0000397f Table: a65a0018 DAC: 00000015 [ 23.966207] Process kworker/0:2 (pid: 1204, stack limit = 0xc6568278) [ 23.972600] Stack: (0xc6569d60 to 0xc656a000) [ 23.976936] 9d60: 00000000 c03d275c 00000000 00000001 c6569d9c c6033600 c6032000 c60336ec [ 23.985068] 9d80: c60335f8 c60336ec 00000001 c6569d98 c0020acc c03d265c 00000000 c6569d9c [ 23.993201] 9da0: c6569d9c c6033734 c602e605 c6569ed0 c6033600 c6568000 00000000 c04ef7d8 [ 24.001334] 9dc0: 00000017 c6569ed0 c602e605 c000c51c c6568278 0000000b 0000000c c6569ed0 [ 24.009466] 9de0: 00000000 00000017 00000000 c000ee00 c05bbbcc c6033600 00000000 0000000c [ 24.017600] 9e00: 0000000c c000effc c003b1ac c0015e8c c05bbbcc a0000013 00000017 c6569ed0 [ 24.025732] 9e20: 0000000c bf019458 00000000 c000849c 00000025 c6569e65 c05fffaf c6569e48 [ 24.033866] 9e40: c001dc78 c0015e8c 00000000 80000013 c0036980 205b6a00 33322020 3931362e [ 24.041998] 9e60: 5d393034 00000020 00000000 00000000 c6569ff8 c0009ca8 00000000 c000c2dc [ 24.050131] 9e80: c04eee5e c0036a00 00000004 00569ea8 c00d369c 0000008a c04f71e0 c00d369c [ 24.058264] 9ea0: c6569ef0 00000009 bf019458 00000000 c602e605 c03d24ac c03ca8fc a0000013 [ 24.066396] 9ec0: ffffffff c6569f04 c602e600 c0008e98 00000001 00000001 00000200 00000000 [ 24.074530] 9ee0: 00000001 c64bbe50 c6447408 00000000 c602e600 bf019458 00000000 c602e605 [ 24.082664] 9f00: 40000013 c6569f18 c0202ed8 c03ca8fc a0000013 ffffffff c65fe008 c6447000 [ 24.090796] 9f20: c6447408 c0202ed8 c65fe008 c6447000 00000084 c0295dfc 00000001 c0295110 [ 24.098929] 9f40: c63e8f00 c6447000 60000013 00000000 00000009 c028f0e4 c6447000 c6447000 [ 24.107063] 9f60: c63e8f00 c0290578 bf019c9c bf019470 bf019af0 c00302fc c05c1b38 c63e8f00 [ 24.115195] 9f80: c05c1b38 c05c1b38 00000009 c6568000 c63e8f10 c05c1b38 c63e8f10 c0030ac8 [ 24.123327] 9fa0: c6083f14 c6569fd4 c6083f14 c63e8f00 c00308a4 00000000 00000000 00000000 [ 24.131460] 9fc0: 00000000 c0036a00 c0009ca8 00000000 c63e8f00 00000001 c6569fd8 c6569fd8 [ 24.139594] 9fe0: 00000000 c6083f14 c0036980 c0009ca8 00000013 c0009ca8 0340f30e 153b5900 [ 24.147738] [] (kthread_data+0x4/0xc) from [] (wq_worker_sleeping+0xc/0xb4) [ 24.156399] [] (wq_worker_sleeping+0xc/0xb4) from [] (__schedule+0x10c/0x3a8) [ 24.165242] [] (__schedule+0x10c/0x3a8) from [] (do_exit+0x668/0x694) [ 24.173385] [] (do_exit+0x668/0x694) from [] (die+0x1f0/0x220) [ 24.180924] [] (die+0x1f0/0x220) from [] (__do_kernel_fault+0x64/0x88) [ 24.189147] [] (__do_kernel_fault+0x64/0x88) from [] (do_page_fault+0x1d8/0x1f0) [ 24.198234] [] (do_page_fault+0x1d8/0x1f0) from [] (do_DataAbort+0x34/0x94) [ 24.206888] [] (do_DataAbort+0x34/0x94) from [] (__dabt_svc+0x38/0x60) [ 24.215096] Exception stack(0xc6569ed0 to 0xc6569f18) [ 24.220114] 9ec0: 00000001 00000001 00000200 00000000 [ 24.228245] 9ee0: 00000001 c64bbe50 c6447408 00000000 c602e600 bf019458 00000000 c602e605 [ 24.236376] 9f00: 40000013 c6569f18 c0202ed8 c03ca8fc a0000013 ffffffff [ 24.242969] [] (__dabt_svc+0x38/0x60) from [] (klist_put+0x18/0x9c) [ 24.250946] [] (klist_put+0x18/0x9c) from [] (device_del+0x50/0x1a4) [ 24.259012] [] (device_del+0x50/0x1a4) from [] (sdio_remove_func+0x1c/0x2c) [ 24.267666] [] (sdio_remove_func+0x1c/0x2c) from [] (mmc_sdio_remove+0x44/0x78) [ 24.276667] [] (mmc_sdio_remove+0x44/0x78) from [] (mmc_stop_host+0xd0/0x22c) [ 24.285488] [] (mmc_stop_host+0xd0/0x22c) from [] (mmc_remove_host+0x18/0x2c) [ 24.294330] [] (mmc_remove_host+0x18/0x2c) from [] (if_sdio_reset_card_worker+0x18/0x2c [libertas_sdio]) [ 24.305514] [] (if_sdio_reset_card_worker+0x18/0x2c [libertas_sdio]) from [] (process_one_work+0x260/0x3c8) [ 24.316932] [] (process_one_work+0x260/0x3c8) from [] (worker_thread+0x224/0x458) [ 24.326107] [] (worker_thread+0x224/0x458) from [] (kthread+0x80/0x88) [ 24.334331] [] (kthread+0x80/0x88) from [] (kernel_thread_exit+0x0/0x8) [ 24.342632] Code: e593313c e5130008 e12fff1e e590313c (e5130004) [ 24.348836] ---[ end trace 78598ef84f325bdf ]--- [ 24.353429] Fixing recursive fault but reboot is needed! Hardware is a PXA300 with a Marvell 8868 Wifi module attached over SDIO. Regards, Sven -- Sven Neumann Head of RAUMFELD Software Development Lautsprecher Teufel GmbH | Bülowstr. 66 | 10783 Berlin | Germany Tel: +49 (0)30-300 930 153 | s.neumann@raumfeld.com