Hello,
I am using Linux 2.6.32 from PSP 03.00.01.06 for my AM3505 based board. I am running some application which uses major interfaces like USB, DSS, VPFE, DDR, NAND, I2C, EMAC, UART etc.
While running the application for long time, I am getting "BUG: soft lockup - CPU#0 stuck for 61s! " errors from kernel and CPU stucks. Below are some of the crash:
+++++++++++++++++
Log 1:
BUG: soft lockup - CPU#0 stuck for 61s! [kswapd0:296]
Modules linked in: invalidatecache(P) ar9170usb dieid(P) mac80211 ath cfg80211 arc4 ecb pcbc aes_generic sierra option usbserial ppp_async ppp_synctty ppp_generic slhc 8021q
Pid: 296, comm: kswapd0
CPU: 0 Tainted: P (2.6.32liveu_008 #1)
PC is at inactive_anon_is_low+0xc/0x20
LR is at kswapd+0x2fc/0x62c
pc : [<c00ab8d0>] lr : [<c00adc78>] psr: 60000013
sp : cf8f1f28 ip : 00000000 fp : 00000001
r10: 0000000c r9 : c04f2f30 r8 : 00000000
r7 : c04f2f30 r6 : cf8f1f50 r5 : c04f3228 r4 : c04f2f30
r3 : 00000001 r2 : 0000675e r1 : 00006739 r0 : c04f2f30
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 10c5387d Table: 8dfa8019 DAC: 00000017
BUG: soft lockup - CPU#0 stuck for 61s! [kswapd0:296]
Modules linked in: invalidatecache(P) ar9170usb dieid(P) mac80211 ath cfg80211 arc4 ecb pcbc aes_generic sierra option usbserial ppp_async ppp_synctty ppp_generic slhc 8021q
Log 2:
BUG: soft lockup - CPU#0 stuck for 61s! [ifconfig:1853]
Modules linked in: invalidatecache(P) ar9170usb dieid(P) mac80211 ath cfg80211 arc4 ecb pcbc aes_generic sierra option usbserial ppp_async ppp_synctty ppp_generic slhc 8021q
Pid: 1853, comm: ifconfig
CPU: 0 Tainted: P (2.6.32liveu_008 #1)
PC is at handle_IRQ_event+0x20/0xf4
LR is at handle_edge_irq+0x10c/0x14c
pc : [<c009eb70>] lr : [<c00a0384>] psr: 40000113
sp : cdf19cb0 ip : 00000001 fp : fb052018
r10: 0000001f r9 : c04c7e40 r8 : 00000001
r7 : 000000e0 r6 : cfa08280 r5 : 00000000 r4 : cfa08280
r3 : 00000002 r2 : fb052000 r1 : cfa08280 r0 : 000000e0
Flags: nZcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c5387d Table: 8dc50019 DAC: 00000015
BUG: soft lockup - CPU#0 stuck for 61s! [ifconfig:1853]
Modules linked in: invalidatecache(P) ar9170usb dieid(P) mac80211 ath cfg80211 arc4 ecb pcbc aes_generic sierra option usbserial ppp_async ppp_synctty ppp_generic slhc 8021q
+++++++++++++++++
While searching on net, I found that there are many such soft locks reported on open source kernel as well. I can see many bugs on Fedora, CentOS, RedHat or Ubuntu bug tracking systems. But did not get any patch that can resolve the issue I am facing.
Anybody has resolved the issue in kernel? Please help me if you have any idea.
Thank you,
Bhavin Patel