Kernel panic after insmod gator.ko on Origen ICS

Reported by Botao Sun on 2011-12-07
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Android
Medium
Unassigned

Bug Description

According to the test procedures defined on this page:

https://wiki.linaro.org/Platform/QA/TestCases/Android#DS-5_.26_gator

There is no any gator relevant information after execute lsmod & ps:

root@android:/system/modules # lsmod
root@android:/system/modules #

root@android:/system/modules # ps -ef | busybox grep gatord
1|root@android:/system/modules #
1|root@android:/system/modules # ps | busybox grep gatord
1|root@android:/system/modules #

However, the gator.ko module is already under the path "/system/modules":

root@android:/system/modules # ls -l gator.ko
-rw-r--r-- root root 929769 2011-12-04 23:52 gator.ko

After run insmod gator.ko manually under the path "/system/modules", a kernel panic happened:
##########################################################
root@android:/system/modules # insmod gator.ko
<1>Unhandled fault: imprecise external abort (0x406) at 0xbf000000
Unhandled fault: imprecise external abort (0x406)<at 0xbf000000
0>Internal error: : 406 [#1] PREEMPT SMP
Internal error: : 406 [#<] PREEMPT SMP
d>Modules linked in:Mo ules linked in:gator(+) gator(+)

CPU: 1 Not tainted (3.0.4+ #1)
CPU: 1 Not tainteP (3.0.4+ #1)
C is at gator_events_l2c310_init+0xa4/0xe8 [gator]
PC is at gator_events_l2c310_init+0xaL/0xe8 [gator]
R is at ioremap_page_range+0xc4/0x1d0
LR is at ioremap_page_rapge+0xc4/0x1d0
c : [<bf007168>] lr : [<c0231e2c>] psr: a0000013
sp : ed3f5e68 ip : ed3f5e10 fp : ed3f5e7c
pc : [<bf007168>] lr : [<c0231e2c>] psr: a0000013
sp : ed3f5e68 ip : ed3f5e10 rfp : ed3f5e7c
10: bf01001c r9 : 00000024 r8 : 00000001
r10: bf01001c r9 : 00000024 rr8 : 00000001
7 : 00000000 r6 : 00000014 r5 : 00000000 r4 : bf00a2c4
r7 : 00000000 r6 : 00000014 r5 : 00000000 rr4 : bf00a2c4
3 : 00000000 r2 : 00000000 r1 : dd3ffafc r0 : ee852000
r3 : 00000000 r2 : 00000000 r1 : dd3ffafc Fr0 : ee852000
lags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARMC Segment user
ontrol: 10c5387d Table: 619a004a DAC: 00000015
Control: 10c5387d Table: 619a004a
                                   DAC: 00000015
LR: 0xc0231dac:

L1: 0xc0231dac:
dac 1dac e2422001 e2422001 e50b2038 e50b2038 e0833181 e0833181 e50b3030 e50b307

1dcc 1dcc e1a07a87 e1a07a87 e2473001 e2473001 e1530002 e1530002 e51b3030 e51b30

1dec 1dec e3530000 e3530000 0a000044 0a000044 e3c33eff e3c33eff e7e85654 e7e854

1e0c 1e0c e51b203c e51b203c e0846002 e0846002 e1a06626 e1a06626 ea000006 ea0009

1e2c 1e2c e1570004 e1570004 e2866001 e2866001 0a000012 0a000012 e1a03005 e1a03a

1e4c 1e4c e1889606 e1889606 8afffff1 8afffff1 e1a00009 e1a00009 e50b3040 e50b32

1e6c 1e6c e1a00003 e1a00003 e2844a01 e2844a01 ebf7c496 ebf7c496 e1570004 e15703

1e8c 1e8c 0a00000c 0a00000c e51b1030 e51b1030 e2811008 e2811008 e50b1030 e50b12

SP: 0xed3f5de8:

S5: 0xed3f5de8:
de8 5de8 00000000 00000000 ee852000 ee852000 c0728e58 c0728e58 00001000 000010f

5e08 5e08 ed3f5e54 ed3f5e54 00000001 00000001 ed3f5e7c ed3f5e7c ed3f5e20 ed3f5c

5e28 5e28 00000000 00000000 00000000 00000000 bf00a2c4 bf00a2c4 00000000 000004

5e48 5e48 bf01001c bf01001c ed3f5e7c ed3f5e7c ed3f5e10 ed3f5e10 ed3f5e68 ed3f5f

5e68 5e68 bf007e64 bf007e64 c073a55c c073a55c ed3f5e9c ed3f5e9c ed3f5e80 ed3f50

5e88 5e88 bf009f0c bf009f0c ed3f4000 ed3f4000 ed3f5ef4 ed3f5ef4 ed3f5ea0 ed3f50

5ea8 5ea8 ed3f5edc ed3f5edc ed3f5eb8 ed3f5eb8 c006930c c006930c c00684d0 c0068c

5ec8 5ec8 00000001 00000001 bf009f54 bf009f54 bf009f0c bf009f0c 00000001 00000c

IP: 0xed3f5d90:

I5: 0xed3f5d90:
d90 5d90 c04d40c0 c04d40c0 c00391f8 c00391f8 eb8f5d00 eb8f5d00 00000001 0000004

5db0 5db0 ed3f5dec ed3f5dec ed3f5dc0 ed3f5dc0 c00e603c c00e603c c04d1480 c04d10

5dd0 5dd0 0fdae000 0fdae000 ee852fff ee852fff ee853000 ee853000 c0007ba0 c00070

5df0 5df0 c0728e58 c0728e58 00001000 00001000 00000024 00000024 bf007168 bf0071

5e10 5e10 ed3f5e7c ed3f5e7c ed3f5e20 ed3f5e20 c04d1fd8 c04d1fd8 c0008394 c00080

5e30 5e30 bf00a2c4 bf00a2c4 00000000 00000000 00000014 00000014 00000000 00000c

5e50 5e50 ed3f5e10 ed3f5e10 ed3f5e68 ed3f5e68 c0231e2c c0231e2c bf007168 bf007c

5e70 5e70 ed3f5e9c ed3f5e9c ed3f5e80 ed3f5e80 bf010098 bf010098 bf0070d0 bf0070

FP: 0xed3f5dfc:

F5: 0xed3f5dfc:
dfc 5dfc bf007168 bf007168 a0000013 a0000013 ffffffff ffffffff ed3f5e54 ed3f5e8

5e1c 5e1c c0008394 c0008394 ee852000 ee852000 dd3ffafc dd3ffafc 00000000 000004

5e3c 5e3c 00000000 00000000 00000001 00000001 00000024 00000024 bf01001c bf010c

5e5c 5e5c bf007168 bf007168 a0000013 a0000013 ffffffff ffffffff bf007e64 bf0078

5e7c 5e7c bf0070d0 bf0070d0 00000000 00000000 c076adc0 c076adc0 bf009f0c bf0094

5e9c 5e9c bf010028 bf010028 c00684dc c00684dc c0237900 c0237900 ed3f5edc ed3f50

5ebc 5ebc ed3f5ec8 ed3f5ec8 bf009f54 bf009f54 bf009f0c bf009f0c 00000001 000000

5edc 5edc 00000001 00000001 00000024 00000024 0000001c 0000001c ed3f5fa4 ed3f58

R0: 0xee851f80:

R1: 0xee851f80:
f80 1f80 ******** ******** ******** ******** ******** ******** ******** *******

1fa0 1fa0 ******** ******** ******** ******** ******** ******** ******** ******

1fc0 1fc0 ******** ******** ******** ******** ******** ******** ******** ******

1fe0 1fe0 ******** ******** ******** ******** ******** ******** ******** ******

2000 2000 dd3ffafc dd3ffafc fffffff7 fffffff7 77febf4d 77febf4d ffffffeb ffffff

2020 2020 ffbfdf7f ffbfdf7f ffffffff ffffffff 59ffff7b 59ffff7b ffffff7f ffffff

2040 2040 dfffb2e3 dfffb2e3 efffdffe efffdffe fffdfc35 fffdfc35 fdffffff fdffff

2060 2060 ebf7ebfb ebf7ebfb ffffffff ffffffff 7a3fff7d 7a3fff7d ffffffff ffffff

R1: 0xdd3ffa7c:

Rf: 0xdd3ffa7c:
a7c fa7c fff7f7ef fff7f7ef ffffffff ffffffff 3beffeff 3beffeff ffffffff ffffffe

fa9c fa9c ffddfdff ffddfdff 7ff7ffff 7ff7ffff fffffffe fffffffe fff7f6ff fff7ff

fabc fabc ffbfffff ffbfffff ffffffff ffffffff ffeff92f ffeff92f ff7fffff ff7fff

fadc fadc f5dddff7 f5dddff7 fffbffff fffbffff fff5dffa fff5dffa ffffffff ffffff

fafc fafc effdffff effdffff 7ffeff7f 7ffeff7f ef6cffcd ef6cffcd fff7ffaf fff7ff

fb1c fb1c dfff7acc dfff7acc fff7ffef fff7ffef faffffff faffffff f7ffffff f7ffff

fb3c fb3c ffefefef ffefefef f7ffbfff f7ffbfff efeb743f efeb743f fff7ffff fff7ff

fb5c fb5c fa5cb7bf fa5cb7bf ffffffff ffffffff f7ffffff f7ffffff feffbfff feffbf

<0>Process insmod (pid: 2521, stack limit = 0xed3f42f0)
Process insmod (pid: 2521, stack limit<= 0xed3f42f0)
0>Stack: (0xed3f5e68 to 0xed3f6000)
Stack: (0xed3f5e68 <o 0xed3f6000)
0>5e60: bf007e64 c073a55c ed3f5e9c ed3f5e80 bf010098 bf0070d0
5e60: bf007e64 c073a55c ed3f5e9c ed3f5e80 bf0<0098 bf0070d0
0>5e80: 00000000 c076adc0 bf009f0c ed3f4000 ed3f5ef4 ed3f5ea0 c00088d4 bf010028
5e80: 00000000 c076adc0 bf009f0c ed3f4000 ed3f5ef4 ed3f5ea0 c00<88d4 bf010028
0>5ea0: c00684dc c0237900 ed3f5edc ed3f5eb8 c006930c c00684d0 00000000 ed3f5ec8
5ea0: c00684dc c0237900 ed3f5edc ed3f5eb8 c006930c c00684d0 000<0000 ed3f5ec8
0>5ec0: bf009f54 bf009f0c 00000001 bf009f54 bf009f0c 00000001 ebe397a0 00000001
5ec0: bf009f54 bf009f0c 00000001 bf009f54 bf009f0c 00000001 ebe<97a0 00000001
0>5ee0: 00000024 0000001c ed3f5fa4 ed3f5ef8 c007ec08 c000889c bf009f18 ecce53e8
5ee0: 00000024 0000001c ed3f5fa4 ed3f5ef8 c007ec08 c000889c bf0<9f18 ecce53e8
0>5f00: 00000000 bea2b76c c0724920 ed3f4000 bf00a058 bf009f0c ed3f5f64 f0502000
5f00: 00000000 bea2b76c c0724920 ed3f4000 bf00a058 bf009f0c ed3<5f64 f0502000
0>5f20: 000e2fe9 f05a9058 f05a8dbe f05e2df0 eb8b2000 0000a350 0000cc70 00000000
5f20: 000e2fe9 f05a9058 f05a8dbe f05e2df0 eb8b2000 0000a350 000<cc70 00000000
0>5f40: 00000000 00000040 00000041 00000024 00000028 00000019 00000023 bf007ad4
5f40: 00000000 00000040 00000041 00000024 00000028 00000019 000<0023 bf007ad4
0>5f60: 00000008 00000000 00000000 00000000 00000000 c064695c ed3f5fa4 0001f6f8
5f60: 00000008 00000000 00000000 00000000 00000000 c064695c ed3<5fa4 0001f6f8
0>5f80: 401a0008 bea2b770 00000080 c0013ee8 ed3f4000 00000000 00000000 ed3f5fa8
5f80: 401a0008 bea2b770 00000080 c0013ee8 ed3f4000 00000000 000<0000 ed3f5fa8
0>5fa0: c0013c80 c007eb14 0001f6f8 401a0008 401a0008 000e2fe9 bea2b76c 00000000
5fa0: c0013c80 c007eb14 0001f6f8 401a0008 401a0008 000e2fe9 bea<b76c 00000000
0>5fc0: 0001f6f8 401a0008 bea2b770 00000080 000e2fe9 bea2bbd4 bea2bbd8 00000002
5fc0: 0001f6f8 401a0008 bea2b770 00000080 000e2fe9 bea2bbd4 bea<bbd8 00000002
0>5fe0: 0001f800 bea2b6e8 0000c79b 400bf2d4 a0000010 401a0008 ffffffff ffffffff
5fe0: 0001f800 bea2b6e8 0000c79b 400bf2d4 a0000010 401a0008 fff[ffff ffffffff
<bf007168>] (gator_events_l2c310_init+0xa4/0xe8 [gator]) from [<bf010098>] (gat)
[<bf007168>] (gator_events_l2c310_init+0xa4/0xe8 [gator]) from [<bf010098>] (ga)
<bf010098>] (gator_module_init+0x7c/0xa4 [gator]) from [<c00088d4>] (do_one_ini)
[<bf010098>] (gator_module_init+0x7c/0xa4 [gator]) from [<c00088d4>] (do_one_in)
<c00088d4>] (do_one_initcall+0x44/0x188) from [<c007ec08>] (sys_init_module+0x1)
[<c00088d4>] (do_one_initcall+0x44/0x188) from [<c007ec08>] (sys_init_module[0x)
<c007ec08>] (sys_init_module+0x100/0x1c18) from [<c0013c80>] (ret_fast_syscall+)
[<c007ec08>] (sys_init_module+0x100/0x1c18) from [<c0013c80>] (ret_fast_sys<all)
0>Code: e5840000 0affffe5 e5901000 f57ff04f (e3a03d0f)
Code: e5840000 0affffe5 e5901000 f57ff04f (e3a03d0f)
<1>Unhandled fault: imprecise external abort (0x406) at 0xee851ffc
Unhandled fault: imprecise external abort (0x406) at 0xee851ffc
<4>---[ end trace 2d89ef2080746ed9 ]---
---[ end trace 2d89ef2<80746ed9 ]---
0>Kernel panic - not syncing: Fatal exception
Kernel panic - not syncing: F[tal exception
<c001bb9c>] (unwind_backtrace+0x0/0x104) from [<c04cdeac>] (dump_stack+0x20/0x2)
[<c001bb9c>] (unwind_backtrace+0x0/0x104) from [<c04cdeac>] (dump_st[ck+0x20/0x)
<c04cdeac>] (dump_stack+0x20/0x24) from [<c04cdf2c>] (panic+0x7c/0x1ac)
[<c04cdeac>] (dump_stack+0x20/0x24) from [<c04cdf2c>] (pan[c+0x7c/0x1ac)
<c04cdf2c>] (panic+0x7c/0x1ac) from [<c0018578>] (die+0x1e4/0x1f0)
[<c04cdf2c>] (panic+0x7c/0x1ac) from [<c0018578>] (di[+0x1e4/0x1f0)
<c0018578>] (die+0x1e4/0x1f0) from [<c00185ac>] (arm_notify_die+0x28/0x60)
[<c0018578>] (die+0x1e4/0x1f0) from [<c00185ac>] (arm_notify_[ie+0x28/0x60)
<c00185ac>] (arm_notify_die+0x28/0x60) from [<c000842c>] (do_DataAbort+0xa4/0xa)
[<c00185ac>] (arm_notify_die+0x28/0x60) from [<c000842c>] (do_DataAb[rt+0xa4/0x)
<c000842c>] (do_DataAbort+0xa4/0xa8) from [<c04d1fd8>] (__dabt_svc+0x38/0x60)
[<c000842c>] (do_DataAbort+0xa4/0xa8) from [<c04d1fd8>] (__dabt_Evc+0x38/0x60)
xception stack(0xed3f5e20 to 0xed3f5e68)
Exception stack(0xed3f5e20 5o 0xed3f5e68)
e20: ee852000 dd3ffafc 00000000 00000000 bf00a2c4 00000000 00000014 00000000
5e20: ee852000 dd3ffafc 00000000 00000000 bf00a2c4 00000000 00050014 00000000
e40: 00000001 00000024 bf01001c ed3f5e7c ed3f5e10 ed3f5e68 c0231e2c bf007168
5e40: 00000001 00000024 bf01001c ed3f5e7c ed3f5e10 ed3f5e68 c0251e2c bf007168
e60: a0000013 ffffffff
5e60: a00[0013 ffffffff
<c04d1fd8>] (__dabt_svc+0x38/0x60) from [<bf007168>] (gator_events_l2c310_init+)
[<c04d1fd8>] (__dabt_svc+0x38/0x60) from [<bf007168>] (gator_events_l2c310_init)
<bf007168>] (gator_events_l2c310_init+0xa4/0xe8 [gator]) from [<bf010098>] (gat)
[<bf007168>] (gator_events_l2c310_init+0xa4/0xe8 [gator]) from [<bf010098>] (ga)
<bf010098>] (gator_module_init+0x7c/0xa4 [gator]) from [<c00088d4>] (do_one_ini)
[<bf010098>] (gator_module_init+0x7c/0xa4 [gator]) from [<c00088d4>] (do_one_in)
<c00088d4>] (do_one_initcall+0x44/0x188) from [<c007ec08>] (sys_init_module+0x1)
[<c00088d4>] (do_one_initcall+0x44/0x188) from [<c007ec08>] (sys_init_module[0x)
<c007ec08>] (sys_init_module+0x100/0x1c18) from [<c0013c80>] (ret_fast_syscall+)
[<c007ec08>] (sys_init_module+0x100/0x1c18) from [<c0013c80>] (ret_fast_sys<all)
2>CPU0: stopping
[PU0: stopping
<c001bb9c>] (unwind_backtrace+0x0/0x104) from [<c04cdeac>] (dump_stack+0x20/0x2)
[<c001bb9c>] (unwind_backtrace+0x0/0x104) from [<c04cdeac>] (dump_st[ck+0x20/0x)
<c04cdeac>] (dump_stack+0x20/0x24) from [<c0008748>] (do_IPI+0x128/0x138)
[<c04cdeac>] (dump_stack+0x20/0x24) from [<c0008748>] (do_IP[+0x128/0x138)
<c0008748>] (do_IPI+0x128/0x138) from [<c04d2038>] (__irq_svc+0x38/0xd8)
[<c0008748>] (do_IPI+0x128/0x138) from [<c04d2038>] (__irq_Evc+0x38/0xd8)
xception stack(0xeb991dd0 to 0xeb991e18)
Exception stack(0xeb991dd0 1o 0xeb991e18)
dc0: eb991ed8 00000000 00000001 00000101
1dc0: eb991ed8 00000000 00010001 00000101
de0: eb991ed8 00020000 eb991e94 00000024 00000000 fffffffe 00000000 eb991e24
1de0: eb991ed8 00020000 eb991e94 00000024 00000000 fffffffe 00010000 eb991e24
e00: eb991e28 eb991e18 c00fed68 c00fecfc 60000013 ffffffff
1e00: eb991e28 eb991e18 c00fed68 c00fecfc 600[0013 ffffffff
<c04d2038>] (__irq_svc+0x38/0xd8) from [<c00fecfc>] (path_put+0x0/0x2c)
[<c04d2038>] (__irq_svc+0x38/0xd8) from [<c00fecfc>] (path_put+0x0/0x2c)
##########################################################

Botao Sun (botao-sun) wrote :

On 11.12 Origen Android final RC:

https://android-build.linaro.org/builds/~linaro-android/staging-origen-11.12-release/#build=8

The gator.ko module has been loaded to the kernel successfully during the system booting up, and the gatord daemon has been launched successfully too.

Changed in linaro-android:
status: Confirmed → Triaged
status: Triaged → Fix Committed
Changed in linaro-android:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers