LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Regarding problem of booting kernel because of memcpy function (https://www.linuxquestions.org/questions/linux-general-1/regarding-problem-of-booting-kernel-because-of-memcpy-function-702699/)

tom5 02-06-2009 05:34 AM

Regarding problem of booting kernel because of memcpy function
 
Hello,
I am getting problem while using memcpy function in my code.My kernel is unable to boot when i use memcpy.i have an error log as below:

<1>Unhandled fault: external abort on non-linefetch (0x1008) at 0xc4a00000
Internal error: : 1008 [#1]
Modules linked in:
CPU: 0 Not tainted (2.6.29-rc3-omap1-05417-gc00b556-dirty #55)
PC is at memcpy+0x48/0x330
LR is at omap_ldp_init+0xf0/0x148
pc : [<c0125148>] lr : [<c0011ab8>] psr: 80000013
sp : c3817f14 ip : 00000000 fp : c3817f44
r10: 00000000 r9 : 00000000 r8 : 00000000
r7 : 00000000 r6 : c021c820 r5 : c021d4f0 r4 : c021d4f0
r3 : 60000013 r2 : ffffffa0 r1 : c4a00000 r0 : c021d4f0
Flags: Nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 10c5387f Table: 80004019 DAC: 00000017
Process swapper (pid: 1, stack limit = 0xc38162e0)
Stack: (0xc3817f14 to 0xc3818000)
7f00: c021d4f0 c021c820 00000000
7f20: 00000000 c021d4f0 c021d4f0 c0011ab8 c001c51c c001c4d0 c3817f54 c3817f48
7f40: c000e650 c00119d4 c3817fdc c3817f58 c0023290 c000e63c c383d0a0 c020e530
7f60: c000e630 00000000 c3817f94 c3817f78 c00d3600 c00d3390 c3817f94 c383e800
7f80: c00d3720 c3817f9e c3817fc4 c3817f98 c006e78c c00d35b0 c3817fb4 3533f9f0
7fa0: 00000031 00000000 00000170 c001c4d0 00000000 c001c51c c001c4d0 00000000
7fc0: 00000000 00000000 00000000 00000000 c3817ff4 c3817fe0 c00088b8 c002323c
7fe0: 00000000 00000000 00000000 c3817ff8 c004b578 c0008854 00ffff00 007fff10
Backtrace:
[<c00119c8>] (omap_ldp_init+0x0/0x148) from [<c000e650>] (customize_machine+0x20/0x2c)
r5:c001c4d0 r4:c001c51c
[<c000e630>] (customize_machine+0x0/0x2c) from [<c0023290>] (do_one_initcall+0x60/0x198)
[<c0023230>] (do_one_initcall+0x0/0x198) from [<c00088b8>] (kernel_init+0x70/0xdc)
[<c0008848>] (kernel_init+0x0/0xdc) from [<c004b578>] (do_exit+0x0/0x65c)
r5:00000000 r4:00000000
Code: ba000002 f5d1f03c f5d1f05c f5d1f07c (e8b151f8)
<4>---[ end trace 1b75b31a2719ed1c ]---
<0>Kernel panic - not syncing: Attempted to kill init!


without using memcpy i am able to boot it successfully.Can anyone suggest solution for this problem?


Thanks in advance.


All times are GMT -5. The time now is 11:15 PM.