Re: [gem5-users] [m5-users] problem with ARM_FS
huh, thanks a lot Ali. It worked just by changing the cross compiler. Regards, Digant Desai. On Wed, May 18, 2011 at 21:38, Ali Saidi sa...@umich.edu wrote: Anything is possible, but I would try the compiler first. Ali On May 18, 2011, at 11:34 PM, Digant wrote: Sure thank s for reply and I guess I ve used 2.6.37.6 instead to 2.6.37.5.can it be the problem ?? On May 18, 2011 9:30 PM, Ali Saidi sa...@umich.edu wrote: Try a 4.4.X based compiler from code sourcery. Ali On May 18, 2011, at 5:10 PM, Digant wrote: M5 works when I use the ARM realview kernel image available on the website. . Is it the compile... ___ gem5-users mailing list gem5-users@m5sim.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@m5sim.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@m5sim.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@m5sim.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@m5sim.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Re: [gem5-users] [m5-users] problem with ARM_FS
Could you tell me which cross compiler failed and which succeeded? Thanks, Ali On Thu, 19 May 2011 13:45:55 -0700, Digant wrote: huh, thanks a lot Ali. It worked just by changing the cross compiler. Regards, Digant Desai. On Wed, May 18, 2011 at 21:38, Ali Saidi wrote: Anything is possible, but I would try the compiler first. Ali On May 18, 2011, at 11:34 PM, Digant wrote: Sure thank s for reply and I guess I ve used 2.6.37.6 instead to 2.6.37.5.can it be the problem ?? On May 18, 2011 9:30 PM, Ali Saidi wrote: Try a 4.4.X based compiler from code sourcery. Ali On May 18, 2011, at 5:10 PM, Digant wrote: M5 works when I use the ARM realview kernel image available on the website. . Is it the compile... ___ gem5-users mailing list gem5-users@m5sim.org [3] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [4] ___ gem5-users mailing list gem5-users@m5sim.org [5] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [6] ___ gem5-users mailing list gem5-users@m5sim.org [7] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [8] ___ gem5-users mailing list gem5-users@m5sim.org [9] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [10] Links: -- [1] mailto:sa...@umich.edu [2] mailto:sa...@umich.edu [3] mailto:gem5-users@m5sim.org [4] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [5] mailto:gem5-users@m5sim.org [6] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [7] mailto:gem5-users@m5sim.org [8] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users [9] mailto:gem5-users@m5sim.org [10] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@m5sim.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Re: [gem5-users] [m5-users] problem with ARM_FS
It was, Sourcery G++ Lite 2010.09-50 for ARM GNU/Linux Regards, Digant Desai. On Thu, May 19, 2011 at 15:19, Ali Saidi sa...@umich.edu wrote: Could you tell me which cross compiler failed and which succeeded? Thanks, Ali On Thu, 19 May 2011 13:45:55 -0700, Digant digantde...@gmail.com wrote: huh, thanks a lot Ali. It worked just by changing the cross compiler. Regards, Digant Desai. On Wed, May 18, 2011 at 21:38, Ali Saidi sa...@umich.edu wrote: Anything is possible, but I would try the compiler first. Ali On May 18, 2011, at 11:34 PM, Digant wrote: Sure thank s for reply and I guess I ve used 2.6.37.6 instead to 2.6.37.5.can it be the problem ?? On May 18, 2011 9:30 PM, Ali Saidi sa...@umich.edu wrote: Try a 4.4.X based compiler from code sourcery. Ali On May 18, 2011, at 5:10 PM, Digant wrote: M5 works when I use the ARM realview kernel image available on the website. . Is it the compile... ___ gem5-users mailing list gem5-users@m5sim.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@m5sim.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@m5sim.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@m5sim.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@m5sim.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@m5sim.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Re: [gem5-users] [m5-users] problem with ARM_FS
Was that the one that failed or the one that succeeded? Thanks, Ali On May 19, 2011, at 7:51 PM, Digant wrote: It was, Sourcery G++ Lite 2010.09-50 for ARM GNU/Linux Regards, Digant Desai. On Thu, May 19, 2011 at 15:19, Ali Saidi sa...@umich.edu wrote: Could you tell me which cross compiler failed and which succeeded? Thanks, Ali On Thu, 19 May 2011 13:45:55 -0700, Digant digantde...@gmail.com wrote: huh, thanks a lot Ali. It worked just by changing the cross compiler. Regards, Digant Desai. On Wed, May 18, 2011 at 21:38, Ali Saidi sa...@umich.edu wrote: Anything is possible, but I would try the compiler first. Ali On May 18, 2011, at 11:34 PM, Digant wrote: Sure thank s for reply and I guess I ve used 2.6.37.6 instead to 2.6.37.5.can it be the problem ?? On May 18, 2011 9:30 PM, Ali Saidi sa...@umich.edu wrote: Try a 4.4.X based compiler from code sourcery. Ali On May 18, 2011, at 5:10 PM, Digant wrote: M5 works when I use the ARM realview kernel image available on the website. . Is it the compile... ___ gem5-users mailing list gem5-users@m5sim.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@m5sim.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@m5sim.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@m5sim.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@m5sim.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@m5sim.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Re: [gem5-users] [m5-users] problem with ARM_FS
Sorry for the confusion, Sourcery G++ Lite 2010.09-50 for ARM GNU/Linux works fine. This is the earlier release.The latest release which is of may,2011 was giving problem to me. DIgant Desai. On May 19, 2011 6:43 PM, Ali Saidi sa...@umich.edu wrote: Was that the one that failed or the one that succeeded? Thanks, Ali On May 19, 2011, at 7:51 PM, Digant wrote: It was, Sourcery G++ Lite 2010.09-50 for ARM GNU/L... ___ gem5-users mailing list gem5-users@m5sim.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Re: [gem5-users] [m5-users] problem with ARM_FS
If you want to use the latest code sourcery compiler you should add EXTRA_CFLAGS=-mno-unaligned-access to you're command line when you compile the kernel and the problem should be fixed. Thanks, Ali On May 19, 2011, at 8:46 PM, Digant wrote: Sorry for the confusion, Sourcery G++ Lite 2010.09-50 for ARM GNU/Linux works fine. This is the earlier release.The latest release which is of may,2011 was giving problem to me. DIgant Desai. On May 19, 2011 6:43 PM, Ali Saidi sa...@umich.edu wrote: Was that the one that failed or the one that succeeded? Thanks, Ali On May 19, 2011, at 7:51 PM, Digant wrote: It was, Sourcery G++ Lite 2010.09-50 for ARM GNU/L... ___ gem5-users mailing list gem5-users@m5sim.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Re: [gem5-users] [m5-users] problem with ARM_FS
I did following things but it didn't work out.. 1- I got the latest M5 codes from M5 repository using hg. 2- I got 2.6.37.y kernel src using git 3- I copied the config on gem5 site in a m5_defconfig file 4- I did make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- m5_defconfig 5-The .config file generated 6- Then I did make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- vmlinux 7- copied the vmlinux file to dist/m5/system/binary 8-run M5 in ARM_FS mode 9-same error [0.00] Unhandled fault: alignment exception (0x801) at 0xc02e9f6f [0.00] Internal error: : 801 [#1] . . theres nothing @ that address on realview board. can anybody suggest whats wrong ? i tried the stable version also . . . Regards, Digant Desai. 480-717-7851 On Thu, May 12, 2011 at 10:05, Ali Saidi sa...@umich.edu wrote: 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 digantde...@gmail.com 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 :[0.00] Unhandled fault: alignment exception (0x801) at 0xc02e9f6f [0.00] Internal error: : 801 [#1] m5 slave terminal: Terminal 0 [0.00] 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.00] CPU: ARMv7 Processor [350ff000] revision 0 (ARMv7), cr=10c53c7f [0.00] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache [0.00] Machine: ARM-RealView PBX [0.00] Ignoring unrecognised tag 0x [0.00] bootconsole [earlycon0] enabled [0.00] Memory policy: ECC disabled, Data cache writeback [0.00] On node 0 totalpages: 32768 [0.00] DMA zone: 256 pages used for memmap [0.00] DMA zone: 0 pages reserved [0.00] DMA zone: 32512 pages, LIFO batch:7 [0.00] Unhandled fault: alignment exception (0x801) at 0xc02e9f6f [0.00] Internal error: : 801 [#1] [0.00] last sysfs file: [0.00] Modules linked in: [0.00] CPU: 0Not tainted (2.6.37.6-dig #5) [0.00] PC is at pcpu_dump_alloc_info+0x1c/0x380 [0.00] LR is at pcpu_setup_first_chunk+0x488/0x7dc [0.00] pc : []lr : []psr: 01d3 [0.00] sp : c02e9f30 ip : 0001 fp : 0001 [0.00] r10: c0525060 r9 : 0001 r8 : c030a200 [0.00] r7 : c0525000 r6 : c0525020 r5 : c0525040 r4 : c02a714c [0.00] r3 : r2 : r1 : 2d2d2d2d r0 : 2d2d2d2d [0.00] Flags: nzcv IRQs off FIQs off Mode SVC_32 ISA ARM Segment kernel [0.00] Control: 10c53c7f Table: 4059 DAC: 0017 [0.00] Process swapper (pid: 0, stack limit = 0xc02e82f0) [0.00] Stack: (0xc02e9f30 to 0xc02ea000) [0.00] 9f20: 0001 c001cbe4 [0.00] 9f40: c001cbe4 c0002560 c02a6180 c001cc00 c000f07c [0.00] 9f60: c0135dec 0020 0001 0004 c0525040 c0002560 [0.00] 9f80: c0525040 c0525020 c0525000 c030a200 0001 c0525060 0001 c00104e8 [0.00] 9fa0: 8000 c051d000 c001c600 c0002560 c001c600 c00024c0 c02ec1bc 0001b318 [0.00] 9fc0: 350ff000 001f c00108b0 c02fea20 c000883c [0.00] 9fe0: c001c600 10c53c7d c02feb74 c001c5fc 8034 [0.00] [] (pcpu_dump_alloc_info+0x1c/0x380) from [] (pcpu_setup_first_chunk+0x488/0x7dc) [0.00] [] (pcpu_setup_first_chunk+0x488/0x7dc) from [] (setup_per_cpu_areas+0x74/0x88) [0.00] [] (setup_per_cpu_areas+0x74/0x88) from [] (start_kernel+0xc4/0x24c) [0.00] [] (start_kernel+0xc4/0x24c) from [8034] (0x8034) [0.00] Code: e34c402a e58d1014 e58d0020 e8b40003 (e58d003f) [0.00] Unhandled fault: alignment exception (0x801) at 0xc02e9dce [0.00] Internal error: : 801 [#2] [0.00] last sysfs file: [0.00] Modules linked in: [0.00] CPU: 0Tainted: G D (2.6.37.6-dig #5) [0.00] PC is at extract_buf+0xd4/0xf4 [0.00] LR is at 0x0 [0.00] pc : []lr : []psr: 6153 [0.00] sp : c02e9c18 ip : 75fe75fe fp : 0001 [0.00] r10: c02e9dce r9 : 01d3 r8 : c02f8620 [0.00] r7 : 0020 r6 : c02e9dce r5 : c02e9c1c r4 : c02e9d9c [0.00] r3 : 75fe r2 : c02e9da4 r1 : 1b75b31a r0 : 2719ed1c [0.00] Flags: nZCv IRQs on FIQs off Mode SVC_32 ISA ARM
Re: [gem5-users] [m5-users] problem with ARM_FS
Try a 4.4.X based compiler from code sourcery. Ali On May 18, 2011, at 5:10 PM, Digant wrote: M5 works when I use the ARM realview kernel image available on the website. . Is it the compiler creating problem? which compiler is used to generate that kernel image ? Regards, Digant Desai. 480-717-7851 On Wed, May 18, 2011 at 15:05, Digant digantde...@gmail.com wrote: I did following things but it didn't work out.. 1- I got the latest M5 codes from M5 repository using hg. 2- I got 2.6.37.y kernel src using git 3- I copied the config on gem5 site in a m5_defconfig file 4- I did make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- m5_defconfig 5-The .config file generated 6- Then I did make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- vmlinux 7- copied the vmlinux file to dist/m5/system/binary 8-run M5 in ARM_FS mode 9-same error [0.00] Unhandled fault: alignment exception (0x801) at 0xc02e9f6f [0.00] Internal error: : 801 [#1] . . theres nothing @ that address on realview board. can anybody suggest whats wrong ? i tried the stable version also . . . Regards, Digant Desai. 480-717-7851 On Thu, May 12, 2011 at 10:05, Ali Saidi sa...@umich.edu wrote: 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 digantde...@gmail.com 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 :[0.00] Unhandled fault: alignment exception (0x801) at 0xc02e9f6f [0.00] Internal error: : 801 [#1] m5 slave terminal: Terminal 0 [0.00] 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.00] CPU: ARMv7 Processor [350ff000] revision 0 (ARMv7), cr=10c53c7f [0.00] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache [0.00] Machine: ARM-RealView PBX [0.00] Ignoring unrecognised tag 0x [0.00] bootconsole [earlycon0] enabled [0.00] Memory policy: ECC disabled, Data cache writeback [0.00] On node 0 totalpages: 32768 [0.00] DMA zone: 256 pages used for memmap [0.00] DMA zone: 0 pages reserved [0.00] DMA zone: 32512 pages, LIFO batch:7 [0.00] Unhandled fault: alignment exception (0x801) at 0xc02e9f6f [0.00] Internal error: : 801 [#1] [0.00] last sysfs file: [0.00] Modules linked in: [0.00] CPU: 0Not tainted (2.6.37.6-dig #5) [0.00] PC is at pcpu_dump_alloc_info+0x1c/0x380 [0.00] LR is at pcpu_setup_first_chunk+0x488/0x7dc [0.00] pc : []lr : []psr: 01d3 [0.00] sp : c02e9f30 ip : 0001 fp : 0001 [0.00] r10: c0525060 r9 : 0001 r8 : c030a200 [0.00] r7 : c0525000 r6 : c0525020 r5 : c0525040 r4 : c02a714c [0.00] r3 : r2 : r1 : 2d2d2d2d r0 : 2d2d2d2d [0.00] Flags: nzcv IRQs off FIQs off Mode SVC_32 ISA ARM Segment kernel [0.00] Control: 10c53c7f Table: 4059 DAC: 0017 [0.00] Process swapper (pid: 0, stack limit = 0xc02e82f0) [0.00] Stack: (0xc02e9f30 to 0xc02ea000) [0.00] 9f20: 0001 c001cbe4 [0.00] 9f40: c001cbe4 c0002560 c02a6180 c001cc00 c000f07c [0.00] 9f60: c0135dec 0020 0001 0004 c0525040 c0002560 [0.00] 9f80: c0525040 c0525020 c0525000 c030a200 0001 c0525060 0001 c00104e8 [0.00] 9fa0: 8000 c051d000 c001c600 c0002560 c001c600 c00024c0 c02ec1bc 0001b318 [0.00] 9fc0: 350ff000 001f c00108b0 c02fea20 c000883c [0.00] 9fe0: c001c600 10c53c7d c02feb74 c001c5fc 8034 [0.00] [] (pcpu_dump_alloc_info+0x1c/0x380) from [] (pcpu_setup_first_chunk+0x488/0x7dc) [0.00] [] (pcpu_setup_first_chunk+0x488/0x7dc) from [] (setup_per_cpu_areas+0x74/0x88) [0.00] [] (setup_per_cpu_areas+0x74/0x88) from [] (start_kernel+0xc4/0x24c) [0.00] [] (start_kernel+0xc4/0x24c) from [8034] (0x8034) [0.00] Code: e34c402a e58d1014 e58d0020 e8b40003 (e58d003f) [0.00] Unhandled fault: alignment exception (0x801) at 0xc02e9dce [0.00] Internal error: : 801 [#2] [0.00] last sysfs file: [0.00] Modules linked in: [0.00] CPU: 0Tainted: G D (2.6.37.6-dig #5) [0.00] PC is at
Re: [gem5-users] [m5-users] problem with ARM_FS
Sure thank s for reply and I guess I ve used 2.6.37.6 instead to 2.6.37.5.can it be the problem ?? On May 18, 2011 9:30 PM, Ali Saidi sa...@umich.edu wrote: Try a 4.4.X based compiler from code sourcery. Ali On May 18, 2011, at 5:10 PM, Digant wrote: M5 works when I use the ARM realview kernel image available on the website. . Is it the compile... ___ gem5-users mailing list gem5-users@m5sim.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@m5sim.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@m5sim.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
Re: [gem5-users] [m5-users] problem with ARM_FS
Anything is possible, but I would try the compiler first. Ali On May 18, 2011, at 11:34 PM, Digant wrote: Sure thank s for reply and I guess I ve used 2.6.37.6 instead to 2.6.37.5.can it be the problem ?? On May 18, 2011 9:30 PM, Ali Saidi sa...@umich.edu wrote: Try a 4.4.X based compiler from code sourcery. Ali On May 18, 2011, at 5:10 PM, Digant wrote: M5 works when I use the ARM realview kernel image available on the website. . Is it the compile... ___ gem5-users mailing list gem5-users@m5sim.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@m5sim.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@m5sim.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users ___ gem5-users mailing list gem5-users@m5sim.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users