What version of m5 are you using? You'll need to trace back that address 0xc02e9f6f and see what generated it, why it is generated, and why it is unaligned. It shouldn't be.
Ali On Wed, 11 May 2011 21:39:48 -0700, Digant wrote: hi all, I was previously using ARM_FS and it was working fine. I used 2.6.37.y and the example config file.Linux kernel image compiles without errors but when I run M5 in ARM_FS it starts fine but after couple of cycles the kernel taints. OUTPUT : ==== m5 slave terminal: Terminal 0 ==== [ 0.000000] Linux version 2.6.37.6-dig (root@digant-OptiPlex-980) (gcc version 4.5.2 (Sourcery G++ Lite 2011.03-41) ) #5 Wed May 11 19:56:28 MST 2011 [ 0.000000] CPU: ARMv7 Processor [350ff000] revision 0 (ARMv7), cr=10c53c7f [ 0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache [ 0.000000] Machine: ARM-RealView PBX [ 0.000000] Ignoring unrecognised tag 0x00000000 [ 0.000000] bootconsole [earlycon0] enabled [ 0.000000] Memory policy: ECC disabled, Data cache writeback [ 0.000000] On node 0 totalpages: 32768 [ 0.000000] DMA zone: 256 pages used for memmap [ 0.000000] DMA zone: 0 pages reserved [ 0.000000] DMA zone: 32512 pages, LIFO batch:7 [ 0.000000] Unhandled fault: alignment exception (0x801) at 0xc02e9f6f [ 0.000000] Internal error: : 801 [#1] [ 0.000000] last sysfs file: [ 0.000000] Modules linked in: [ 0.000000] CPU: 0 Not tainted (2.6.37.6-dig #5) [ 0.000000] PC is at pcpu_dump_alloc_info+0x1c/0x380 [ 0.000000] LR is at pcpu_setup_first_chunk+0x488/0x7dc [ 0.000000] pc : [] lr : [] psr: 000001d3 [ 0.000000] sp : c02e9f30 ip : 00000001 fp : 00000001 [ 0.000000] r10: c0525060 r9 : 00000001 r8 : c030a200 [ 0.000000] r7 : c0525000 r6 : c0525020 r5 : c0525040 r4 : c02a714c [ 0.000000] r3 : 00000000 r2 : 00000000 r1 : 2d2d2d2d r0 : 2d2d2d2d [ 0.000000] Flags: nzcv IRQs off FIQs off Mode SVC_32 ISA ARM Segment kernel [ 0.000000] Control: 10c53c7f Table: 00004059 DAC: 00000017 [ 0.000000] Process swapper (pid: 0, stack limit = 0xc02e82f0) [ 0.000000] Stack: (0xc02e9f30 to 0xc02ea000) [ 0.000000] 9f20: 00000000 00000001 00000000 c001cbe4 [ 0.000000] 9f40: c001cbe4 c0002560 00000000 00000000 c02a6180 c001cc00 00000000 c000f07c [ 0.000000] 9f60: 00000000 c0135dec 00000000 00000020 00000001 00000004 c0525040 c0002560 [ 0.000000] 9f80: c0525040 c0525020 c0525000 c030a200 00000001 c0525060 00000001 c00104e8 [ 0.000000] 9fa0: 00008000 c051d000 c001c600 c0002560 c001c600 c00024c0 c02ec1bc 0001b318 [ 0.000000] 9fc0: 350ff000 0000001f 00000000 c00108b0 c02fea20 c000883c 00000000 00000000 [ 0.000000] 9fe0: 00000000 c001c600 10c53c7d c02feb74 c001c5fc 00008034 00000000 00000000 [ 0.000000] [] (pcpu_dump_alloc_info+0x1c/0x380) from [] (pcpu_setup_first_chunk+0x488/0x7dc) [ 0.000000] [] (pcpu_setup_first_chunk+0x488/0x7dc) from [] (setup_per_cpu_areas+0x74/0x88) [ 0.000000] [] (setup_per_cpu_areas+0x74/0x88) from [] (start_kernel+0xc4/0x24c) [ 0.000000] [] (start_kernel+0xc4/0x24c) from [] (0x8034) [ 0.000000] Code: e34c402a e58d1014 e58d0020 e8b40003 (e58d003f) [ 0.000000] Unhandled fault: alignment exception (0x801) at 0xc02e9dce [ 0.000000] Internal error: : 801 [#2] [ 0.000000] last sysfs file: [ 0.000000] Modules linked in: [ 0.000000] CPU: 0 Tainted: G D (2.6.37.6-dig #5) [ 0.000000] PC is at extract_buf+0xd4/0xf4 [ 0.000000] LR is at 0x0 [ 0.000000] pc : [] lr : [] psr: 60000153 [ 0.000000] sp : c02e9c18 ip : 75fe75fe fp : 00000001 [ 0.000000] r10: c02e9dce r9 : 000001d3 r8 : c02f8620 [ 0.000000] r7 : 00000020 r6 : c02e9dce r5 : c02e9c1c r4 : c02e9d9c [ 0.000000] r3 : 000075fe r2 : c02e9da4 r1 : 1b75b31a r0 : 2719ed1c [ 0.000000] Flags: nZCv IRQs on FIQs off Mode SVC_32 ISA ARM Segment kernel [ 0.000000] Control: 10c53c7f Table: 00004059 DAC: 00000017 [ 0.000000] Process swapper (pid: 0, stack limit = 0xc02e82f0) [ 0.000000] Stack: (0xc02e9c18 to 0xc02ea000) [ 0.000000] 9c00: 00000001 00000000 [ 0.000000] 9c20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.000000] 9c40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.000000] 9c60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.000000] 9c80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.000000] 9ca0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 . . . [ 0.000000] [] (__dabt_svc+0x4c/0x60) from [] (pcpu_dump_alloc_info+0x1c/0x380) [ 0.000000] [] (pcpu_dump_alloc_info+0x1c/0x380) from [] (pcpu_setup_first_chunk+0x488/0x7dc) [ 0.000000] [] (pcpu_setup_first_chunk+0x488/0x7dc) from [] (setup_per_cpu_areas+0x74/0x88) [ 0.000000] [] (setup_per_cpu_areas+0x74/0x88) from [] (start_kernel+0xc4/0x24c) [ 0.000000] [] (start_kernel+0xc4/0x24c) from [] (0x8034) [ 0.000000] Code: e023c863 e8b20003 e58dc18c e1d230b0 (e5860000) [ 0.000000] Unhandled fault: alignment exception (0x801) at 0xc02e9ab6 [ 0.000000] Internal error: : 801 [#3] [ 0.000000] last sysfs file: [ 0.000000] Modules linked in: [ 0.000000] CPU: 0 Tainted: G D (2.6.37.6-dig #5) [ 0.000000] PC is at extract_buf+0xd4/0xf4 [ 0.000000] LR is at 0x0 [ 0.000000] pc : [] lr : [] psr: 60000153 [ 0.000000] sp : c02e9900 ip : c82fc82f fp : 00000001 [ 0.000000] r10: c02e9ab6 r9 : 20000153 r8 : c02f8620 [ 0.000000] r7 : 00000020 r6 : c02e9ab6 r5 : c02e9904 r4 : c02e9a84 [ 0.000000] r3 : 0000c82f r2 : c02e9a8c r1 : da227214 r0 : a82491b7 [ 0.000000] Flags: nZCv IRQs on FIQs off Mode SVC_32 ISA ARM Segment kernel [ 0.000000] Control: 10c53c7f Table: 00004059 DAC: 00000017 [ 0.000000] Process swapper (pid: 0, stack limit = 0xc02e82f0) [ 0.000000] Stack: (0xc02e9900 to 0xc02ea000) [ 0.000000] 9900: 00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.000000] 9920: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.000000] 9940: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 [ 0.000000] 9960: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 Regards, Digant Desai. 480-717-7851
_______________________________________________ m5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/m5-users
