This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Error while install PWM Module in AM3517

Other Parts Discussed in Thread: AM3517

Hi,

I'm getting the following error message during the installation of a module pwm:

[root@cashdev mod]# insmod Pwm.ko
[89268.225494] [pwm] Successful! MAJOR: 244 MINOR: 0.
[89268.232055] Unhandled fault: external abort on non-linefetch (0x1028) at 0xfb03e024
[89268.240203] Internal error: : 1028 [#1]
[89268.244232] last sysfs file: /sys/devices/virtual/sinalizadora/sinalizadora/dev
[89268.251892] Modules linked in: Pwm Sinalizadora Pmt Presenter Led Canal Acionamento Atuadores Gpio
[89268.261352] CPU: 0    Tainted: G        W    (2.6.37-cashdev-20120627 #10)
[89268.268585] PC is at disable_timer8_pwm+0x14/0x38 [Pwm]
[89268.274108] LR is at run_timer_softirq+0x270/0x378
[89268.279113] pc : [<bf0321e8>]    lr : [<c00746a0>]    psr: 60000113
[89268.279144] sp : cfbe1e48  ip : cfbe1d88  fp : cfbda0b8
[89268.291168] r10: bf0321d4  r9 : 00000100  r8 : 00000000
[89268.296661] r7 : c060f860  r6 : cfbe0000  r5 : c0624bc0  r4 : bf032bf8
[89268.303497] r3 : fb03e000  r2 : c0b5f810  r1 : 0000010c  r0 : 0000003a
[89268.310363] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
[89268.317840] Control: 10c5387d  Table: 8fb5c019  DAC: 00000015
[89268.323883] Process insmod (pid: 547, stack limit = 0xcfbe02f0)
[89268.330078] Stack: (0xcfbe1e48 to 0xcfbe2000)
[89268.334655] 1e40:                   bf032bfc c00746a0 00000002 00000000 c00745fc c009077c
[89268.343261] 1e60: cfbe1e98 cfbe1e80 00000000 c06253f4 c06255f4 c06257f4 c06259f4 00000000
[89268.351837] 1e80: bf032d7c c0650698 00000000 bf0328ab 00000000 00000000 bf032ce0 bf032ce0
[89268.360412] 1ea0: cfbda0c0 cfbe0000 00000001 00000004 c0624980 c060f7c0 00000001 00000100
[89268.369018] 1ec0: cfbda0b8 c006e398 c0032074 60000193 00000000 0000000a 00000001 00000025
[89268.377593] 1ee0: 00000000 cfbe1f6c 00000001 00000001 cfbda2ac 00000001 cfbda0b8 c006e500
[89268.386169] 1f00: 00000025 c0032078 ffffffff fa200000 cfbe1f6c c033e1f8 00000001 00000004
[89268.394775] 1f20: cfbe1f50 0000097e c0470000 00000011 cfbe1f6c 00000001 00000001 cfbda2ac
[89268.403350] 1f40: 00000001 cfbda0b8 cfbe1f40 cfbe1f60 c0095660 c033d928 20000013 ffffffff
[89268.411956] 1f60: cfbda0c0 c006bce0 c05e46d0 cfbe1f6c cfbe1f6c cfbda2f4 4028456c 00000000
[89268.420532] 1f80: 00000000 4028456c 00000001 c003c8c8 cfbe0000 00000000 00000000 c006be78
[89268.429138] 1fa0: 00000000 c003c700 00000000 00000000 00000000 402807b8 00000000 00000210
[89268.437744] 1fc0: 00000000 00000000 4028456c 00000001 000a57d0 0000cef0 bea36d20 00000000
[89268.446319] 1fe0: 00000000 bea36cd0 4027b028 40247090 60000010 00000000 00000000 00000000
[89268.454925] [<bf0321e8>] (disable_timer8_pwm+0x14/0x38 [Pwm]) from [<c00746a0>] (run_timer_softirq+0x270/0x378)
[89268.465515] [<c00746a0>] (run_timer_softirq+0x270/0x378) from [<c006e398>] (__do_softirq+0xd0/0x1e8)
[89268.475128] [<c006e398>] (__do_softirq+0xd0/0x1e8) from [<c006e500>] (irq_exit+0x50/0x9c)
[89268.483734] [<c006e500>] (irq_exit+0x50/0x9c) from [<c0032078>] (asm_do_IRQ+0x78/0x98)
[89268.492034] [<c0032078>] (asm_do_IRQ+0x78/0x98) from [<c033e1f8>] (__irq_svc+0x38/0xa0)
[89268.500457] Exception stack(0xcfbe1f18 to 0xcfbe1f60)
[89268.505767] 1f00:                                                       00000001 00000004
[89268.514343] 1f20: cfbe1f50 0000097e c0470000 00000011 cfbe1f6c 00000001 00000001 cfbda2ac
[89268.522918] 1f40: 00000001 cfbda0b8 cfbe1f40 cfbe1f60 c0095660 c033d928 20000013 ffffffff
[89268.531524] [<c033e1f8>] (__irq_svc+0x38/0xa0) from [<c033d928>] (_raw_write_unlock_irq+0x28/0x2c)
[89268.540924] [<c033d928>] (_raw_write_unlock_irq+0x28/0x2c) from [<c006bce0>] (do_exit+0x5b4/0x664)
[89268.550323] [<c006bce0>] (do_exit+0x5b4/0x664) from [<c006be78>] (complete_and_exit+0x0/0x1c)
[89268.559295] [<c006be78>] (complete_and_exit+0x0/0x1c) from [<c003c700>] (ret_fast_syscall+0x0/0x3c)
[89268.568786] Code: e59f4028 e3a0003a e3a01f43 e5943134 (e5932024)
[89268.575256] ---[ end trace 1b75b31a2719ed1f ]---
[89268.580108] Kernel panic - not syncing: Fatal exception in interrupt
[89268.586853] [<c0042498>] (unwind_backtrace+0x0/0xf0) from [<c033a994>] (panic+0x58/0x17c)
[89268.595489] [<c033a994>] (panic+0x58/0x17c) from [<c0040864>] (die+0x2cc/0x324)
[89268.603210] [<c0040864>] (die+0x2cc/0x324) from [<c00322d4>] (do_DataAbort+0x80/0x94)
[89268.611480] [<c00322d4>] (do_DataAbort+0x80/0x94) from [<c033e1ac>] (__dabt_svc+0x4c/0x60)
[89268.620178] Exception stack(0xcfbe1e00 to 0xcfbe1e48)
[89268.625518] 1e00: 0000003a 0000010c c0b5f810 fb03e000 bf032bf8 c0624bc0 cfbe0000 c060f860
[89268.634124] 1e20: 00000000 00000100 bf0321d4 cfbda0b8 cfbe1d88 cfbe1e48 c00746a0 bf0321e8
[89268.642730] 1e40: 60000113 ffffffff
[89268.646453] [<c033e1ac>] (__dabt_svc+0x4c/0x60) from [<bf0321e8>] (disable_timer8_pwm+0x14/0x38 [Pwm])
[89268.656280] [<bf0321e8>] (disable_timer8_pwm+0x14/0x38 [Pwm]) from [<c00746a0>] (run_timer_softirq+0x270/0x378)
[89268.666900] [<c00746a0>] (run_timer_softirq+0x270/0x378) from [<c006e398>] (__do_softirq+0xd0/0x1e8)
[89268.676513] [<c006e398>] (__do_softirq+0xd0/0x1e8) from [<c006e500>] (irq_exit+0x50/0x9c)
[89268.685119] [<c006e500>] (irq_exit+0x50/0x9c) from [<c0032078>] (asm_do_IRQ+0x78/0x98)
[89268.693481] [<c0032078>] (asm_do_IRQ+0x78/0x98) from [<c033e1f8>] (__irq_svc+0x38/0xa0)
[89268.701904] Exception stack(0xcfbe1f18 to 0xcfbe1f60)
[89268.707214] 1f00:                                                       00000001 00000004
[89268.715850] 1f20: cfbe1f50 0000097e c0470000 00000011 cfbe1f6c 00000001 00000001 cfbda2ac
[89268.724456] 1f40: 00000001 cfbda0b8 cfbe1f40 cfbe1f60 c0095660 c033d928 20000013 ffffffff
[89268.733093] [<c033e1f8>] (__irq_svc+0x38/0xa0) from [<c033d928>] (_raw_write_unlock_irq+0x28/0x2c)
[89268.742523] [<c033d928>] (_raw_write_unlock_irq+0x28/0x2c) from [<c006bce0>] (do_exit+0x5b4/0x664)
[89268.751983] [<c006bce0>] (do_exit+0x5b4/0x664) from [<c006be78>] (complete_and_exit+0x0/0x1c)
[89268.760955] [<c006be78>] (complete_and_exit+0x0/0x1c) from [<c003c700>] (ret_fast_syscall+0x0/0x3c)

Analyzing this LOG Somebody can help me?

Thanks,

Cleiton