snowball: toggling Wifi state after suspend-resume causes kernel crash

Bug #924242 reported by Abhishek Paliwal
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IglooCommunity
Invalid
High
kajolkharbanda
Linaro Android
Won't Fix
Undecided
Unassigned

Bug Description

Description:
==========
Wifi turned ON
Reboot device (WiFi still ON)- suspend and resume back - now disable WiFi
Kernel crash observed.

Reproducible:
===========
Yes, 5/5

Logs:
====
Steps:
==========
Precondition: Wifi turned ON
1. Reboot device (WiFi state is ON from previous boot)
2. Goto suspend mode by pressing blue key next to LED on snowball device and then resume by pressing blue key again.
3. Go to Settings->WiFi->Turn OFF wifi
Observation: Kernel crash observed.

Hardware:
==========
Snowball: V11
HDMI Out to TV - via HDMI cable
USB-Serial Logging
(No ethernet connection)

Software:
==========
https://android-build.linaro.org/builds/~linaro-android/landing-snowball/#build=149

Logs:
======
D/dalvikvm( 1598): GC_CONCURRENT freed 452K, 7% free 9020K/9607K, paused 3ms+7ms
[ 72.243865] Unable to handle kernel paging request at virtual address 30303230
[ 72.251129] pgd = e59c0000
[ 72.253875] [30303230] *pgd=00000000
[ 72.257507] Internal error: Oops: 80000005 [#1] PREEMPT SMP
[ 72.263092] Modules linked in: cw1200_wlan(C-) cw1200_core(C) mac80211 gator
[ 72.270263] CPU: 0 Tainted: G WC (3.1.1+ #1)
[ 72.275634] PC is at 0x30303230
[ 72.278808] LR is at cw1200_gpio_irq_handler+0x30/0x48 [cw1200_wlan]
[ 72.285217] pc : [<30303230>] lr : [<bf077504>] psr: 200001b3
[ 72.285247] sp : e5349cf8 ip : e5349d08 fp : e5349d04
[ 72.296752] r10: 00000000 r9 : e5348000 r8 : c08985f4
[ 72.302001] r7 : 00000001 r6 : 00000178 r5 : c0886c54 r4 : e5987760
[ 72.308563] r3 : 30303231 r2 : c08e5890 r1 : e51f9500 r0 : 616c775f
[ 72.315124] Flags: nzCv IRQs off FIQs on Mode SVC_32 ISA Thumb Segment user
[ 72.322570] Control: 10c5787d Table: 259c004a DAC: 00000015
[ 72.328338]
[ 72.328369] SP: 0xe5349c78:
[ 72.332641] 9c78 00000000 c0032a54 e5da0be0 c162b780 e5349cc4 30303230 200001b3 ffffffff
[ 72.341003] 9c98 e5349ce4 c08985f4 e5349d04 e5349cb0 c0014d58 c00083f4 616c775f e51f9500
[ 72.349334] 9cb8 c08e5890 30303231 e5987760 c0886c54 00000178 00000001 c08985f4 e5348000
[ 72.357696] 9cd8 00000000 e5349d04 e5349d08 e5349cf8 bf077504 30303230 200001b3 ffffffff
[ 72.366027] 9cf8 e5349d4c e5349d08 c00949e0 bf0774e0 c00264fc c05a62b8 e5349d3c c0886c00
[ 72.374389] 9d18 00000000 00000000 e5349d3c c0886c00 c0886c54 e5987760 00000001 c08985f4
[ 72.382720] 9d38 e5348000 00000000 e5349d6c e5349d50 c0094c94 c0094974 00000000 c0886c00
[ 72.391082] 9d58 c0886c54 0000004d e5349d8c e5349d70 c0097628 c0094c54 c0097560 00000160
[ 72.399414]
[ 72.399444] IP: 0xe5349c88:
[ 72.403717] 9c88 e5349cc4 30303230 200001b3 ffffffff e5349ce4 c08985f4 e5349d04 e5349cb0
[ 72.412078] 9ca8 c0014d58 c00083f4 616c775f e51f9500 c08e5890 30303231 e5987760 c0886c54
[ 72.420410] 9cc8 00000178 00000001 c08985f4 e5348000 00000000 e5349d04 e5349d08 e5349cf8
[ 72.428771] 9ce8 bf077504 30303230 200001b3 ffffffff e5349d4c e5349d08 c00949e0 bf0774e0
[ 72.437103] 9d08 c00264fc c05a62b8 e5349d3c c0886c00 00000000 00000000 e5349d3c c0886c00
[ 72.445465] 9d28 c0886c54 e5987760 00000001 c08985f4 e5348000 00000000 e5349d6c e5349d50
[ 72.453796] 9d48 c0094c94 c0094974 00000000 c0886c00 c0886c54 0000004d e5349d8c e5349d70
[ 72.462158] 9d68 c0097628 c0094c54 c0097560 00000160 c087e320 00000000 e5349d9c e5349d90
[ 72.470489]
[ 72.470520] FP: 0xe5349c84:
[ 72.474792] 9c84 c162b780 e5349cc4 30303230 200001b3 ffffffff e5349ce4 c08985f4 e5349d04
[ 72.483154] 9ca4 e5349cb0 c0014d58 c00083f4 616c775f e51f9500 c08e5890 30303231 e5987760
[ 72.491485] 9cc4 c0886c54 00000178 00000001 c08985f4 e5348000 00000000 e5349d04 e5349d08
[ 72.499847] 9ce4 e5349cf8 bf077504 30303230 200001b3 ffffffff e5349d4c e5349d08 c00949e0
[ 72.508178] 9d04 bf0774e0 c00264fc c05a62b8 e5349d3c c0886c00 00000000 00000000 e5349d3c
[ 72.516540] 9d24 c0886c00 c0886c54 e5987760 00000001 c08985f4 e5348000 00000000 e5349d6c
[ 72.524871] 9d44 e5349d50 c0094c94 c0094974 00000000 c0886c00 c0886c54 0000004d e5349d8c
[ 72.533203] 9d64 e5349d70 c0097628 c0094c54 c0097560 00000160 c087e320 00000000 e5349d9c
[ 72.541564]
[ 72.541564] R1: 0xe51f9480:
[ 72.545867] 9480 00100100 00200200 00000002 00000000 00000000 00000000 00000000 00000000
[ 72.554199] 94a0 00100100 00200200 00000000 0000000c e51f94b4 00000002 00000001 ffffa134
[ 72.562561] 94c0 00100100 00200200 00000000 0000000c e51f94d4 00000004 00000001 ffffa134
[ 72.570892] 94e0 00100100 00200200 00000002 00000000 00000000 00000000 00000000 00000000
[ 72.579254] 9500 7375622f 6964732f 72642f6f 72657669 77632f73 30303231 616c775f 0000006e
[ 72.587585] 9520 65776f70 00200072 00000002 00000000 00000000 00000000 00000000 00000000
[ 72.595916] 9540 61736376 00003336 00000000 0000000c e51f9554 00000004 00000001 ffffa139
[ 72.604278] 9560 73627573 65747379 0000006d 00000000 00000000 00000000 00000000 00000000
[ 72.612609]
[ 72.612640] R2: 0xc08e5810:
[ 72.616912] 5810 00000000 00000000 c07864e0 00000000 00000000 00000000 00000000 c07864f8
[ 72.625274] 5830 00000000 00000000 00000000 00000000 c078650c 00000000 00000000 00000000
[ 72.633605] 5850 00000000 c078652c 00000000 00000000 00000000 00000000 c078651c 00000000
[ 72.641937] 5870 00000000 00000000 00000000 c078653c 00000000 00000000 00000000 00000000
[ 72.650299] 5890 c0786550 00000000 00000000 00000000 00000000 c07865e0 00000000 00000000
[ 72.658630] 58b0 00000000 00000000 c0786624 00000000 00000000 00000000 00000000 c0786604
[ 72.666961] 58d0 00000000 00000000 00000000 00000000 c07865f0 00000000 00000000 00000000
[ 72.675323] 58f0 00000000 c0786618 00000000 00000000 00000000 00000000 c0786564 00000000
[ 72.683654]
[ 72.683654] R4: 0xe59876e0:
[ 72.687957] 76e0 000024ea 00100100 00200200 00000001 00000000 00000000 e58a9e00 e5d12ea0
[ 72.696319] 7700 00000000 00000000 e8e00000 00000005 00000010 fffffffc 00000000 000003e8
[ 72.704650] 7720 000023da 00100100 00200200 00000001 00000000 00000000 e58a9e00 e5d12ea0
[ 72.713012] 7740 00000000 00000000 e8e00000 00000003 00000010 fffffffe 00000000 000003e8
[ 72.721343] 7760 bf0774d4 00000001 e51f9500 00000000 00000178 00000000 00000000 00000000
[ 72.729675] 7780 00000001 c06ee2b4 e6f083a0 00000000 00000000 00000000 00000000 00000000
[ 72.738037] 77a0 e59877a0 e59877a0 00000000 00000000 e59877b0 e59877b0 e539c520 00000000
[ 72.746368] 77c0 00000000 00000008 00000000 00000300 e59877d0 e59877d0 c0061738 00000000
[ 72.754730]
[ 72.754730] R5: 0xc0886bd4:
[ 72.759033] 6bd4 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 72.767364] 6bf4 00000000 00000000 00000000 00000178 00000000 00000000 00040001 c08b0100
[ 72.775695] 6c14 00000000 00000000 e6910740 00000000 00000003 00000000 c0877474 c0097560
[ 72.784057] 6c34 e5987760 00000401 00000000 00000000 00000000 00000002 00000000 00000000
[ 72.792388] 6c54 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 72.800720] 6c74 c0886c74 c0886c74 e5baca20 00000000 00000000 00000000 00000000 00000000
[ 72.809082] 6c94 00000000 00000000 00000000 00000179 00000000 00000000 00010002 c08b0100
[ 72.817413] 6cb4 00000000 00000000 e6910740 00000000 00000003 00000000 c0877478 c0097560
[ 72.825775]
[ 72.825775] R8: 0xc0898574:
[ 72.830078] 8574 00000000 0000941a 00000000 000004df 00000021 00000000 00000001 000005df
[ 72.838409] 8594 00000021 00000000 00000001 0000045f 00000001 0001140e 00000000 00000000
[ 72.846771] 85b4 00000000 0000940e 00000000 00000447 00000001 00010406 00000000 00000243
[ 72.855102] 85d4 00000001 00000012 00000000 00000043 00000001 00000000 00000000 00000181
[ 72.863433] 85f4 c06eae98 00000000 00000000 00000000 00000000 00000000 c0025be4 00000000
[ 72.871795] 8614 c0025c5c c0025cd4 c002610c c0025b74 c0025d38 c0025bac 00000000 00000000
[ 72.880126] 8634 00000000 00000000 00000000 00000000 00000000 00000000 00000000 c0025e2c
[ 72.888458] 8654 c0897640 00000000 00000000 e5930220 c089bf4c c06e8a94 00000000 c089871c
[ 72.896820]
[ 72.896820] R9: 0xe5347f80:
[ 72.901123] 7f80 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 72.909454] 7fa0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 72.917816] 7fc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 72.926147] 7fe0 00000000 00000000 00000000 00000000 268cc811 268ccc11 277fe821 277fec21
[ 72.934478] 8000 00000000 00010003 00000000 e5404620 c08a3058 00000000 00000015 e5404620
[ 72.942840] 8020 c162b780 00000000 e5348000 49889c5d e51eeac0 e540489c e5349cdc e5349c18
[ 72.951171] 8040 c05a3bc0 00000000 00000000 00000000 00000000 00000000 01010000 00000000
[ 72.959503] 8060 977bff00 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 72.967864] Process Thread-87 (pid: 2423, stack limit = 0xe53482f0)
[ 72.974182] Stack: (0xe5349cf8 to 0xe534a000)
[ 72.978576] 9ce0: e5349d4c e5349d08
[ 72.986785] 9d00: c00949e0 bf0774e0 c00264fc c05a62b8 e5349d3c c0886c00 00000000 00000000
[ 72.995025] 9d20: e5349d3c c0886c00 c0886c54 e5987760 00000001 c08985f4 e5348000 00000000
[ 73.003265] 9d40: e5349d6c e5349d50 c0094c94 c0094974 00000000 c0886c00 c0886c54 0000004d
[ 73.011505] 9d60: e5349d8c e5349d70 c0097628 c0094c54 c0097560 00000160 c087e320 00000000
[ 73.019714] 9d80: e5349d9c e5349d90 c0094234 c009756c e5349dc4 e5349da0 c0240834 c0094204
[ 73.027954] 9da0: f811e000 01000000 0000009d e6910740 c087e320 00000000 e5349de4 e5349dc8
[ 73.036193] 9dc0: c0240928 c02407c8 c0892978 c08741e8 e5348000 0000009d e5349df4 e5349de8
[ 73.044433] 9de0: c0094234 c02408dc e5349e1c e5349df8 c0016084 c0094204 c00264fc c05a62d8
[ 73.052642] 9e00: 60000013 fa410100 e5349e64 c0015328 e5349e2c e5349e20 c00084b0 c0016034
[ 73.060882] 9e20: e5349e84 e5349e30 c0014bf8 c00084a4 c08f6f90 60000013 60000013 00000000
[ 73.069122] 9e40: c089cf50 c08f6f90 00000017 e6910740 c0015328 e5348000 00000000 e5349e84
[ 73.077362] 9e60: e5349e88 e5349e78 c00264fc c05a62d8 60000013 ffffffff e5349e94 e5349e88
[ 73.085571] 9e80: c00264fc c05a62b8 e5349eb4 e5349e98 c0026940 c00264cc c002588c 60000013
[ 73.093811] 9ea0: c089cf50 00000000 e5349ecc e5349eb8 c00269c8 c0026904 f811e000 e6910740
[ 73.102050] 9ec0: e5349eec e5349ed0 c02409e0 c00269a0 c02409a0 c08a2190 000000d7 00000000
[ 73.110260] 9ee0: e5349f1c e5349ef0 c023d3a8 c02409ac c08cdb50 c08a2190 c08a2328 e5348000
[ 73.118499] 9f00: b6a70d9f c0015328 e5348000 00000000 e5349f34 e5349f20 bf0776a8 c023d358
[ 73.126739] 9f20: bf077a10 00000000 e5349fa4 e5349f38 c00847b4 bf077688 00000000 32317763
[ 73.134979] 9f40: 775f3030 006e616c 382d6461 00000037 00000000 00000000 00000000 c0015328
[ 73.143188] 9f60: e5348000 977bfc30 0000000b 00000007 000000a2 00015328 bf077a10 00000880
[ 73.151428] 9f80: e5349f84 00000000 b6a70d9f 0000000a 00000007 00000081 00000000 e5349fa8
[ 73.159667] 9fa0: c00150c0 c0084674 b6a70d9f 0000000a b6a70d9f 00000880 00000000 0bebc200
[ 73.167877] 9fc0: b6a70d9f 0000000a 00000007 00000081 977bfc60 9b56afb0 00000008 977bfc74
[ 73.176116] 9fe0: b6a721f4 977bfc38 b6a6f273 b6fb5f60 20000010 b6a70d9f 00000000 00000000
[ 73.184417] [<bf077504>] (cw1200_gpio_irq_handler+0x30/0x48 [cw1200_wlan]) from [<c00949e0>] (handle_irq_event_percpu+0x78/0x2e0)
[ 73.196166] [<c00949e0>] (handle_irq_event_percpu+0x78/0x2e0) from [<c0094c94>] (handle_irq_event+0x4c/0x6c)
[ 73.206054] [<c0094c94>] (handle_irq_event+0x4c/0x6c) from [<c0097628>] (handle_edge_irq+0xc8/0x19c)
[ 73.215270] [<c0097628>] (handle_edge_irq+0xc8/0x19c) from [<c0094234>] (generic_handle_irq+0x3c/0x50)
[ 73.224670] [<c0094234>] (generic_handle_irq+0x3c/0x50) from [<c0240834>] (__nmk_gpio_irq_handler+0x78/0xcc)
[ 73.234558] [<c0240834>] (__nmk_gpio_irq_handler+0x78/0xcc) from [<c0240928>] (nmk_gpio_irq_handler+0x58/0x5c)
[ 73.244659] [<c0240928>] (nmk_gpio_irq_handler+0x58/0x5c) from [<c0094234>] (generic_handle_irq+0x3c/0x50)
[ 73.254364] [<c0094234>] (generic_handle_irq+0x3c/0x50) from [<c0016084>] (handle_IRQ+0x5c/0xbc)
[ 73.263214] [<c0016084>] (handle_IRQ+0x5c/0xbc) from [<c00084b0>] (asm_do_IRQ+0x18/0x1c)
[ 73.271392] [<c00084b0>] (asm_do_IRQ+0x18/0x1c) from [<c0014bf8>] (__irq_svc+0x38/0xd4)
[ 73.279418] Exception stack(0xe5349e30 to 0xe5349e78)
[ 73.284515] 9e20: c08f6f90 60000013 60000013 00000000
[ 73.292755] 9e40: c089cf50 c08f6f90 00000017 e6910740 c0015328 e5348000 00000000 e5349e84
[ 73.300994] 9e60: e5349e88 e5349e78 c00264fc c05a62d8 60000013 ffffffff
[ 73.307678] [<c0014bf8>] (__irq_svc+0x38/0xd4) from [<c05a62d8>] (_raw_spin_unlock_irqrestore+0x2c/0x58)
[ 73.317260] [<c05a62d8>] (_raw_spin_unlock_irqrestore+0x2c/0x58) from [<c00264fc>] (__clk_unlock+0x3c/0x44)
[ 73.327056] [<c00264fc>] (__clk_unlock+0x3c/0x44) from [<c0026940>] (__clk_disable+0x48/0x9c)
[ 73.335662] [<c0026940>] (__clk_disable+0x48/0x9c) from [<c00269c8>] (clk_disable+0x34/0x50)
[ 73.344177] [<c00269c8>] (clk_disable+0x34/0x50) from [<c02409e0>] (nmk_gpio_set_output+0x40/0x44)
[ 73.353210] [<c02409e0>] (nmk_gpio_set_output+0x40/0x44) from [<c023d3a8>] (__gpio_set_value+0x5c/0xf8)
[ 73.362670] [<c023d3a8>] (__gpio_set_value+0x5c/0xf8) from [<bf0776a8>] (cw1200_sdio_exit+0x2c/0x74 [cw1200_wlan])
[ 73.373138] [<bf0776a8>] (cw1200_sdio_exit+0x2c/0x74 [cw1200_wlan]) from [<c00847b4>] (sys_delete_module+0x14c/0x254)
[ 73.383819] [<c00847b4>] (sys_delete_module+0x14c/0x254) from [<c00150c0>] (ret_fast_syscall+0x0/0x30)
[ 73.393188] Code: bad PC value
[ 73.396331] CPU 1 will stop doing anything useful since another CPU has crashed
[ 73.404144] Loading crashdump kernel...
[ 73.408020] Software reset on panic!

Revision history for this message
Abhishek Paliwal (abhishek-paliwal) wrote :
Revision history for this message
Thomas Espersson (espersson) wrote :

This will need to be re-tested once upgraded to Igloo kernel 3.3 and the suspend issue is resolved: https://bugs.launchpad.net/igloocommunity/+bug/932601

Changed in igloocommunity:
importance: Undecided → High
milestone: none → 2012.04
Changed in igloocommunity:
assignee: nobody → kajolkharbanda (kajol-kharbanda)
Revision history for this message
Sunil Kamath (sunil-kamath) wrote :

This has dependency on suspend/resume issue. Not feasible for 12.04. All suspend/resume issues targeted for 12.05 release.

Changed in igloocommunity:
milestone: 2012.04 → 2012.05
Anmar Oueja (anmar)
Changed in igloocommunity:
status: New → Confirmed
Revision history for this message
Jayeeta Bandyopadhyay (jayeeta) wrote :

New bug is created for WIFI suspend issue: #995768 , the description of this old bug is no longer valid.

Changed in igloocommunity:
status: Confirmed → Invalid
Changed in linaro-android:
status: New → Incomplete
status: Incomplete → Opinion
status: Opinion → New
Revision history for this message
Milosz Wasilewski (mwasilew) wrote :

Closing for android.

Changed in linaro-android:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.