Hi Sneha N Ved, The problem looks to be your kernel version. As far as my experiments reach, the more stables versions are: 2.6.22.9 (which is a little bit old) and 3.4.112.
In the following post, I wrote the instructions to properly build the version 3.4.112: https://www.mail-archive.com/[email protected]/msg14057.html Good luck, Best, Cano. 2017-03-27 10:41 GMT+02:00 Sneha Ved <[email protected]>: > Hi, > > Using the kernel and disk images for PARSEC on x86, I try to run PARSEC on > X86 full system using the following command: > > ./build/X86/gem5.opt configs/example/fs.py -n 4 --l1i_size=64kB > --l1d_size=64kB --l2_size=8MB --num-l2caches=4 --topology=Mesh_XY > --cpu-type=timing --ruby --network=garnet2.0 --mesh-rows=2 --num-dir=4 > --kernel=x86_64-vmlinux-2.6.28.4-smp --disk-image=x86root-parsec.img > --script=blackschole_4c_test.rcS > > The simulation gives the following output: > > ==== m5 slave terminal: Terminal 0 ==== > BIOS EBDA/lowmem at: 00000000/00000000 > Linux version 2.6.28-rc4-dirty (jhestnes@RADLAB-0002) (gcc version 4.4.3 > (Ubuntu 4.4.3-4ubuntu5) ) #5 SMP Mon Jun 21 13:39:45 PDT 2010 > Command line: earlyprintk=ttyS0 console=ttyS0 lpj=7999923 root=/dev/hda1 > KERNEL supported cpus: > Intel GenuineIntel > AMD AuthenticAMD > Centaur CentaurHauls > CPU: vendor_id 'M5 Simulator' unknown, using generic init. > CPU: Your system may be unstable. > BIOS-provided physical RAM map: > BIOS-e820: 0000000000000000 - 000000000009fc00 (usable) > BIOS-e820: 000000000009fc00 - 0000000000100000 (reserved) > BIOS-e820: 0000000000100000 - 0000000020000000 (usable) > BIOS-e820: 0000000020000000 - 00000000c0000000 (reserved) > BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved) > console [earlyser0] enabled > DMI 2.5 present. > last_pfn = 0x20000 max_arch_pfn = 0x3ffffffff > ------------[ cut here ]------------ > WARNING: at arch/x86/kernel/cpu/mtrr/main.c:1604 > mtrr_trim_uncached_memory+0x327/0x32b() > WARNING: strange, CPU MTRRs all blank? > Modules linked in: > Pid: 0, comm: swapper Not tainted 2.6.28-rc4-dirty #5 > Call Trace: > [<ffffffff8023aef0>] warn_slowpath+0xc0/0x100 > [<ffffffff803a3f78>] vsnprintf+0x268/0x6b0 > [<ffffffff803a3f78>] vsnprintf+0x268/0x6b0 > [<ffffffff802547dd>] up+0xd/0x40 > [<ffffffff8023b6de>] release_console_sem+0x1ae/0x200 > [<ffffffff8021c5f0>] post_set+0x20/0x40 > [<ffffffff808d7ba6>] mtrr_trim_uncached_memory+0x327/0x32b > [<ffffffff80615074>] printk+0x40/0x45 > [<ffffffff808d3c57>] setup_arch+0x381/0x5c3 > [<ffffffff808cd971>] start_kernel+0x6e/0x321 > [<ffffffff808cd405>] x86_64_start_kernel+0xd9/0xdd > ---[ end trace 4eaa2a86a8e2da22 ]--- > init_memory_mapping: 0000000000000000-0000000020000000 > last_map_addr: 20000000 end: 20000000 > (4 early reservations) ==> bootmem [0000000000 - 0020000000] > #0 [0000000000 - 0000001000] BIOS data page ==> [0000000000 - > 0000001000] > #1 [0000006000 - 0000008000] TRAMPOLINE ==> [0000006000 - > 0000008000] > #2 [0000200000 - 00009b6da8] TEXT DATA BSS ==> [0000200000 - > 00009b6da8] > #3 [000009f000 - 0000100000] BIOS reserved ==> [000009f000 - > 0000100000] > found SMP MP-table at [ffff8800000f0050] 000f0050 > Zone PFN ranges: > DMA 0x00000000 -> 0x00001000 > DMA32 0x00001000 -> 0x00100000 > Normal 0x00100000 -> 0x00100000 > Movable zone start PFN for each node > early_node_map[2] active PFN ranges > 0: 0x00000000 -> 0x0000009f > 0: 0x00000100 -> 0x00020000 > Intel MultiProcessor Specification v1.4 > MPTABLE: OEM ID: > MPTABLE: Product ID: > MPTABLE: APIC at: 0xFEE00000 > Processor #0 (Bootup-CPU) > Processor #1 > Processor #2 > Processor #3 > I/O APIC #4 Version 17 at 0xFEC00000. > Processors: 4 > SMP: Allowing 4 CPUs, 0 hotplug CPUs > Allocating PCI resources starting at c4000000 (gap: c0000000:3fff0000) > PERCPU: Allocating 53248 bytes of per cpu data > Built 1 zonelists in Zone order, mobility grouping on. Total pages: 127107 > Kernel command line: earlyprintk=ttyS0 console=ttyS0 lpj=7999923 > root=/dev/hda1 > Initializing CPU#0 > FP/SSE not shown under xsave features 0xd > ------------[ cut here ]------------ > kernel BUG at arch/x86/kernel/xsave.c:323! > invalid opcode: 0000 [#1] SMP > last sysfs file: > CPU 0 > Modules linked in: > Pid: 0, comm: swapper Tainted: G W 2.6.28-rc4-dirty #5 > RIP: 0010:[<ffffffff808d69e7>] [<ffffffff808d69e7>] > xsave_cntxt_init+0x35/0x130 > RSP: 0018:ffffffff808c3f18 EFLAGS: 000000b8 > RAX: 000000000000002d RBX: ffffffff808c3f48 RCX: 00000000ffffffff > RDX: ffffffff807c3c38 RSI: 0000000000000074 RDI: ffffffff8094a5f4 > RBP: 0000000000000000 R08: 00000000ffffffff R09: 00000000000003fd > R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff807a8340 > R13: 0000000000000005 R14: 00000000ffff8800 R15: ffff88000100a000 > FS: 0000000000000000(0000) GS:ffffffff808bd980(0000) > knlGS:0000000000000000 > CS: 0010 DS: 0018 ES: 0018 CR0: 0000000080050033 > CR2: 0000000000000000 CR3: 0000000000201000 CR4: 00000000000006a0 > DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 > DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000000 > Process swapper (pid: 0, threadinfo ffffffff808c2000, task > ffffffff807a8340) > Stack: > ffffffff808c3f48 ffffffff8060e2b1 0000000000000010 ffffffff8060fa3f > 0000000000000020 fffffff000000000 01008900e9802087 00000000ffff8800 > ffffffff808c3f88 ffffffffffffffff 0000000000000040 ffffffff808f7700 > Call Trace: > [<ffffffff8060e2b1>] fpu_init+0x4a/0x97 > [<ffffffff8060fa3f>] cpu_init+0x319/0x33f > [<ffffffff808cdab5>] start_kernel+0x1b2/0x321 > [<ffffffff808cd405>] x86_64_start_kernel+0xd9/0xdd > Code: 48 c1 e2 20 89 c0 48 8d 34 02 48 89 f0 48 89 35 90 96 05 00 83 e0 03 > 48 83 f8 03 74 12 48 c7 c7 10 82 71 80 31 c0 e8 4d e6 d3 ff <0f> 0b eb fe > f6 05 b5 70 fe ff 04 48 c7 05 63 96 05 00 03 00 00 > RIP [<ffffffff808d69e7>] xsave_cntxt_init+0x35/0x130 > RSP <ffffffff808c3f18> > ---[ end trace 4eaa2a86a8e2da22 ]--- > Kernel panic - not syncing: Attempted to kill the idle task! > ------------[ cut here ]------------ > WARNING: at kernel/smp.c:333 smp_call_function_mask+0x1de/0x250() > Modules linked in: > Pid: 0, comm: swapper Tainted: G D W 2.6.28-rc4-dirty #5 > Call Trace: > [<ffffffff8023af92>] warn_on_slowpath+0x62/0xa0 > [<ffffffff803a4159>] vsnprintf+0x449/0x6b0 > [<ffffffff803a3a84>] string+0x34/0xf0 > [<ffffffff803a4118>] vsnprintf+0x408/0x6b0 > [<ffffffff802547dd>] up+0xd/0x40 > [<ffffffff8023b6de>] release_console_sem+0x1ae/0x200 > [<ffffffff8021ef40>] stop_this_cpu+0x0/0x30 > [<ffffffff8025db9e>] smp_call_function_mask+0x1de/0x250 > [<ffffffff803a3f78>] vsnprintf+0x268/0x6b0 > [<ffffffff80615074>] printk+0x40/0x45 > [<ffffffff8021ef30>] native_smp_send_stop+0x20/0x30 > [<ffffffff80614f8d>] panic+0x82/0x129 > [<ffffffff8023ecae>] do_exit+0x7de/0x890 > [<ffffffff80615074>] printk+0x40/0x45 > [<ffffffff806184ba>] oops_end+0x7a/0xc0 > [<ffffffff8020d3d4>] do_invalid_op+0x84/0xa0 > [<ffffffff808d69e7>] xsave_cntxt_init+0x35/0x130 > [<ffffffff8023b6de>] release_console_sem+0x1ae/0x200 > [<ffffffff802547dd>] up+0xd/0x40 > [<ffffffff806178e9>] error_exit+0x0/0x51 > [<ffffffff808d69e7>] xsave_cntxt_init+0x35/0x130 > [<ffffffff808d69e7>] xsave_cntxt_init+0x35/0x130 > [<ffffffff8060e2b1>] fpu_init+0x4a/0x97 > [<ffffffff8060fa3f>] cpu_init+0x319/0x33f > [<ffffffff808cdab5>] start_kernel+0x1b2/0x321 > [<ffffffff808cd405>] x86_64_start_kernel+0xd9/0xdd > ---[ end trace 4eaa2a86a8e2da22 ]--- > > > I am not sure if this is right. Can someone please hlep. > > Thank you. > Best Regards, > Sneha N Ved > > _______________________________________________ > gem5-users mailing list > [email protected] > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
_______________________________________________ gem5-users mailing list [email protected] http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
