System hangs by enabling the platform suspend flag
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
IglooCommunity |
Invalid
|
Medium
|
kajolkharbanda |
Bug Description
System hangs by enabling the platform suspend flag.
Procedure to reproduce the issue in ICS
1) Enable the CONFIG_
2) Build the ICS images using 12_03 release.
3)Flash and boot the ICS images.
4)Press the blue button. Issue log as follows
[ 152.438140] PM: Syncing filesystems ... done.
[ 162.030700] Mali<1>: The error in PMM is ...fffffff8.
d 0.15 seconds) done.
[ 162.215362] Freezing remaining freezable tasks ... (elapsed 0.01 seconds) done.
[ 162.298309] Unable to handle kernel paging request at virtual address bef92d24
[ 162.305603] pgd = eb968000
[ 162.308288] [bef92d24] *pgd=00000000
[ 162.311889] Internal error: Oops: 80000005 [#1] PREEMPT SMP
[ 162.317443] dbx500_dump notified of crash
[ 162.323516] Modules linked in: cw1200_core(C) mac80211 gator(O)
[ 162.329437] CPU: 0 Tainted: G WC O (3.3.0+ #1)
[ 162.334838] PC is at 0xbef92d24
[ 162.337982] LR is at amba_reg+0x20/0x24
[ 162.341827] pc : [<bef92d24>] lr : [<c091ad20>] psr: a0000013
[ 162.341827] sp : ead21d80 ip : ead21d90 fp : ead21d8c
[ 162.353302] r10: 00000000 r9 : 00000000 r8 : 00000000
[ 162.358520] r7 : c076ee04 r6 : c02db6cc r5 : eb9b2200 r4 : 00000002
[ 162.365051] r3 : c091ad00 r2 : 00000000 r1 : 00000002 r0 : eb9b21f8
[ 162.371551] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 162.378692] Control: 10c5787d Table: 2b96804a DAC: 00000015
[ 162.384429]
[ 162.384429] LR: 0xc091aca0:
[ 162.388702] aca0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 162.396911] acc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 162.405120] ace0 00000000 00000000 00000001 00000000 00000000 c091acf4 c091acf4 00000000
[ 162.413299] ad00 00000000 c0764b0c c0764b0c 000000cc 00000040 0000000e c091ad90 eb99e000
[ 162.421508] ad20 eba2a600 c02a83d4 c02a8448 c02a8404 c02a9c1c c02a96d0 00000000 c02a8308
[ 162.429718] ad40 c02a8384 c02a8a54 c02aa840 c02aa514 c02aa354 c02a8ad0 00000000 c02aa304
[ 162.437927] ad60 00000000 00000000 c02a8588 c02a8970 c02a8920 c02aa254 c02a85b0 00000000
[ 162.446136] ad80 c02a852c c02a84ec c091ad88 c091ad88 41797474 0000414d 00000000 00000000
[ 162.454315]
[ 162.454345] SP: 0xead21d00:
[ 162.458587] 1d00 c02f4258 c02f41a0 ebeeba20 ebeeba20 ead21d2c ead21d20 bef92d24 a0000013
[ 162.466796] 1d20 ffffffff ead21d6c ead21d8c ead21d38 c0014d78 c0008438 eb9b21f8 00000002
[ 162.475006] 1d40 00000000 c091ad00 00000002 eb9b2200 c02db6cc c076ee04 00000000 00000000
[ 162.483215] 1d60 00000000 ead21d8c ead21d90 ead21d80 c091ad20 bef92d24 a0000013 ffffffff
[ 162.491394] 1d80 ead21dc4 ead21d90 c02df9e4 c02db6d8 c0df88e8 eb9b2234 00000000 00000000
[ 162.499603] 1da0 eb9b2200 c0df88e8 eb9b2234 00000002 c0909830 c091c080 ead21e24 ead21dc8
[ 162.507812] 1dc0 c02dfb90 c02df99c c09a2d04 c09a2d04 ffffcea0 c09a2480 c02df8fc ead21dfc
[ 162.516021] 1de0 ffffffff ffffffff 00000000 00000000 00000000 00000000 00000000 eb9b2200
[ 162.524230]
[ 162.524230] IP: 0xead21d10:
[ 162.528472] 1d10 ead21d2c ead21d20 bef92d24 a0000013 ffffffff ead21d6c ead21d8c ead21d38
[ 162.536682] 1d30 c0014d78 c0008438 eb9b21f8 00000002 00000000 c091ad00 00000002 eb9b2200
[ 162.544891] 1d50 c02db6cc c076ee04 00000000 00000000 00000000 ead21d8c ead21d90 ead21d80
[ 162.553100] 1d70 c091ad20 bef92d24 a0000013 ffffffff ead21dc4 ead21d90 c02df9e4 c02db6d8
[ 162.561309] 1d90 c0df88e8 eb9b2234 00000000 00000000 eb9b2200 c0df88e8 eb9b2234 00000002
[ 162.569519] 1db0 c0909830 c091c080 ead21e24 ead21dc8 c02dfb90 c02df99c c09a2d04 c09a2d04
[ 162.577697] 1dd0 ffffcea0 c09a2480 c02df8fc ead21dfc ffffffff ffffffff 00000000 00000000
[ 162.585906] 1df0 00000000 00000000 00000000 eb9b2200 ead07a80 009b2268 eb9b2268 c0df88e8
[ 162.594116]
[ 162.594116] FP: 0xead21d0c:
[ 162.598388] 1d0c ebeeba20 ead21d2c ead21d20 bef92d24 a0000013 ffffffff ead21d6c ead21d8c
[ 162.606597] 1d2c ead21d38 c0014d78 c0008438 eb9b21f8 00000002 00000000 c091ad00 00000002
[ 162.614776] 1d4c eb9b2200 c02db6cc c076ee04 00000000 00000000 00000000 ead21d8c ead21d90
[ 162.622985] 1d6c ead21d80 c091ad20 bef92d24 a0000013 ffffffff ead21dc4 ead21d90 c02df9e4
[ 162.631195] 1d8c c02db6d8 c0df88e8 eb9b2234 00000000 00000000 eb9b2200 c0df88e8 eb9b2234
[ 162.639404] 1dac 00000002 c0909830 c091c080 ead21e24 ead21dc8 c02dfb90 c02df99c c09a2d04
[ 162.647613] 1dcc c09a2d04 ffffcea0 c09a2480 c02df8fc ead21dfc ffffffff ffffffff 00000000
[ 162.655792] 1dec 00000000 00000000 00000000 00000000 eb9b2200 ead07a80 009b2268 eb9b2268
[ 162.664001]
[ 162.664001] R0: 0xeb9b2178:
[ 162.668273] 2178 00000000 00000000 00000000 c02dba7c 00000002 eb909e00 00000000 00000000
[ 162.676483] 2198 30357875 736d2d30 32692d70 00000073 00000000 00000000 00000000 00000000
[ 162.684692] 21b8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 162.692871] 21d8 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 162.701080] 21f8 00000000 00000000 00000000 eb90d740 eb9b4ac0 eb9b2014 eb9b240c eb8ae490
[ 162.709289] 2218 eb8ae480 c091ba50 eb9b3270 00000005 00000007 00000000 00000000 00000000
[ 162.717498] 2238 00000000 00000000 eb9b2240 eb9b2240 ead07a80 c09162d0 c091adc8 c09616b8
[ 162.725708] 2258 00000000 00000004 00000000 00000000 c091c080 eb9b2468 00000000 00000000
[ 162.733886]
[ 162.733886] R3: 0xc091ac80:
[ 162.738159] ac80 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 162.746368] aca0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 162.754577] acc0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 162.762786] ace0 00000000 00000000 00000001 00000000 00000000 c091acf4 c091acf4 00000000
[ 162.770996] ad00 00000000 c0764b0c c0764b0c 000000cc 00000040 0000000e c091ad90 eb99e000
[ 162.779205] ad20 eba2a600 c02a83d4 c02a8448 c02a8404 c02a9c1c c02a96d0 00000000 c02a8308
[ 162.787414] ad40 c02a8384 c02a8a54 c02aa840 c02aa514 c02aa354 c02a8ad0 00000000 c02aa304
[ 162.795623] ad60 00000000 00000000 c02a8588 c02a8970 c02a8920 c02aa254 c02a85b0 00000000
[ 162.803833]
[ 162.803833] R5: 0xeb9b2180:
[ 162.808074] 2180 00000000 c02dba7c 00000002 eb909e00 00000000 00000000 30357875 736d2d30
[ 162.816284] 21a0 32692d70 00000073 00000000 00000000 00000000 00000000 00000000 00000000
[ 162.824493] 21c0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 162.832702] 21e0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 162.840911] 2200 00000000 eb90d740 eb9b4ac0 eb9b2014 eb9b240c eb8ae490 eb8ae480 c091ba50
[ 162.849121] 2220 eb9b3270 00000005 00000007 00000000 00000000 00000000 00000000 00000000
[ 162.857330] 2240 eb9b2240 eb9b2240 ead07a80 c09162d0 c091adc8 c09616b8 00000000 00000004
[ 162.865539] 2260 00000000 00000000 c091c080 eb9b2468 00000000 00000000 00000000 eb9b227c
[ 162.873748]
[ 162.873748] R6: 0xc02db64c:
[ 162.877990] b64c e5903050 e2400008 e5133014 e12fff33 e89da800 e1a0c00d e92dd800 e24cb004
[ 162.886199] b66c e92d4000 e8bd4000 e3e00005 e89da800 e1a0c00d e92dd800 e24cb004 e92d4000
[ 162.894409] b68c e8bd4000 e5903050 e2400008 e5133010 e12fff33 e89da800 e1a0c00d e92dd800
[ 162.902618] b6ac e24cb004 e92d4000 e8bd4000 e5903050 e2400008 e513300c e12fff33 e89da800
[ 162.910827] b6cc e1a0c00d e92dd800 e24cb004 e92d4000 e8bd4000 e5903050 e3530000 0a000007
[ 162.919036] b6ec e5932030 e3520000 0a000006 e5923008 e3530000 0a000001 e12fff33 e89da800
[ 162.927246] b70c e1a00003 e89da800 e5133008 e3530000 0a000003 e3a01002 e2400008 e12fff33
[ 162.935455] b72c e89da800 e1a00003 e89da800 e1a0c00d e92dd800 e24cb004 e92d4000 e8bd4000
[ 162.943664]
[ 162.943664] R7: 0xc076ed84:
[ 162.947937] ed84 0a736365 00000000 616d202c 61772079 7075656b 00000000 64206f6e 65766972
[ 162.956146] eda4 00000072 2a3e303c 202a2a2a 204d5044 69766564 74206563 6f656d69 203a7475
[ 162.964355] edc4 28207325 0a297325 00000000 643e303c 73206d70 65707375 7320646e 6b636174
[ 162.972564] ede4 00000a3a 253e333c 3a292873 46702520 74657220 736e7275 0a642520 00000000
[ 162.980773] ee04 65776f70 6f642072 6e69616d 00000020 73616c63 00002073 76697264 00207265
[ 162.988983] ee24 6167656c 63207963 7373616c 00000020 6167656c 62207963 00207375 79736120
[ 162.997192] ee44 0000636e 4c524145 6f702059 20726577 616d6f64 00206e69 4c524145 79742059
[ 163.005401] ee64 00206570 4c524145 6c632059 20737361 00000000 4c524145 75622059 00002073
[ 163.013610] Process ScreenOffThread (pid: 1890, stack limit = 0xead202f0)
[ 163.020385] Stack: (0xead21d80 to 0xead22000)
[ 163.024749] 1d80: ead21dc4 ead21d90 c02df9e4 c02db6d8 c0df88e8 eb9b2234 00000000 00000000
[ 163.032897] 1da0: eb9b2200 c0df88e8 eb9b2234 00000002 c0909830 c091c080 ead21e24 ead21dc8
[ 163.041076] 1dc0: c02dfb90 c02df99c c09a2d04 c09a2d04 ffffcea0 c09a2480 c02df8fc ead21dfc
[ 163.049255] 1de0: ffffffff ffffffff 00000000 00000000 00000000 00000000 00000000 eb9b2200
[ 163.057434] 1e00: ead07a80 009b2268 eb9b2268 c0df88e8 c091c050 eb9b2200 ead21e6c ead21e28
[ 163.065612] 1e20: c02e1064 c02dfa28 9afe9de8 00000025 c02e13d0 00000002 9afe9de8 00000025
[ 163.073791] 1e40: c00290e0 00000002 00000000 00000003 00000003 00000003 c094cb34 c073b830
[ 163.081939] 1e60: ead21e84 ead21e70 c02e1474 c02e1010 c09a3fb4 00000000 ead21eb4 ead21e88
[ 163.090118] 1e80: c0073754 c02e1418 00000000 00000000 00000003 c094e908 00000003 00000003
[ 163.098297] 1ea0: eb899a58 c073b830 ead21ed4 ead21eb8 c0073b64 c0073700 0000006d eac98000
[ 163.106475] 1ec0: 00000003 c05e73d0 ead21efc ead21ed8 c00724d8 c0073a00 eb899a40 00000003
[ 163.114654] 1ee0: eb8b4900 eb8aef80 c0605d78 ead21f70 ead21f0c ead21f00 c0234d20 c0072450
[ 163.122833] 1f00: ead21f3c ead21f10 c0159c1c c0234d10 ead21f70 eace6980 00000003 9b068c24
[ 163.131011] 1f20: ead21f70 00000000 00000000 00000000 ead21f6c ead21f40 c00f9980 c0159b1c
[ 163.139160] 1f40: ead21f6c ead21f50 c00fb1c0 eace6980 9b068c24 00000003 00000004 00000000
[ 163.147338] 1f60: ead21fa4 ead21f70 c00f9c14 c00f98d8 00000000 00000000 00000008 00000001
[ 163.155517] 1f80: 9b068c40 00000000 b6f125f0 00000004 c00152e8 ead20000 00000000 ead21fa8
[ 163.163696] 1fa0: c0015080 c00f9bd4 00000000 b6f125f0 00000049 9b068c24 00000003 b698e2e0
[ 163.171875] 1fc0: 00000000 b6f125f0 00000004 00000004 9b068c58 9b46ee18 00000008 9b068c6c
[ 163.180053] 1fe0: b698e17c 9b068c18 b698addf b6ed10c4 60000010 00000049 ffffbfeb bffd7fbf
[ 163.188232] Code: bad PC value
[ 163.191284] CPU 1 will stop doing anything useful since another CPU has crashed
[ 163.199127] Loading crashdump kernel...
[ 163.202972] Software reset on panic!
We are able to see the cw1200 core driver is crashing in amba_reg.
The bug is reported using the following environment
release: ICS 12_03 release
board:Snowball PDK v7