Hi,

The 2.6.28.4 configuration file is the one that you need  to properly build the
kernel version 3.4.112. At least worked for me.

In order to enable SMP features you must edit the configuration before
building,  the easiest way is through menuconfig:

https://en.m.wikipedia.org/wiki/Menuconfig

Best,
Cano.


El 24 mar. 2017 3:10 a. m., "赵智慧" <zhz...@hust.edu.cn> escribió:

Hi,

But the provided .config only include 2.6.22.9 , 2.6.25.1, 2.6.28.4 in the
file config-x86.tar.bz2. So where can I download the other .config for
gem5's kernel ?

and how can I enable smp feature and specify the maximum amount of cores in
the file .config ?


-----原始邮件-----
*发件人:*"Javier Cano Cano" <javier.cano...@gmail.com>
*发送时间:*2017-03-23 23:31:03 (星期四)
*收件人:* "gem5 users mailing list" <gem5-users@gem5.org>
*抄送:*
*主题:* Re: [gem5-users] run gem5 in FS mode with this kernel, though, I get
this error: Kernel panic - not syncing: Attempted to kill the idle task!


Hi,

If you want to upgrade your kernel, use the 3.4.112 version and the
provided .config. Just make sure to enable smp feature and specify the
maximum amount of cores if you want to run multi-core simulations.

Have a nice day,
Best,
Cano.

2017-03-23 13:25 GMT+01:00 赵智慧 <zhz...@hust.edu.cn>:

> Hi,
>
> When I running X86 full system on gem5 with the kernel of
> *x86_64-vmlinux-2.6.28.4.smp*,I have met the errors:*Kernel panic - not
> syncing: Attempted to kill the idle task!*
>
> Details as follows:
>
> kernel BUG at arch/x86/kernel/xsave.c:323!
> invalid opcode: 0000 [#1]
> last sysfs file:
> CPU 0
> Modules linked in:
> Pid: 0, comm: swapper Tainted: G        W  2.6.28.4-hg5ea85692a53e-dirty #2
> RIP: 0010:[<ffffffff805c6645>]  [<ffffffff805c6645>]
> xsave_cntxt_init+0x35/0x130
> RSP: 0018:ffffffff807ddf48  EFLAGS: 000000b8
> RAX: 000000000000002d RBX: 0000000000000000 RCX: ffffffff80843460
> RDX: 00000000ffffffff RSI: 0000000000000d74 RDI: ffffffff80773180
> RBP: 0000000000000000 R08: 00000000ffffffff R09: 00000000000003fd
> R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
> R13: ffffffffffffffff R14: 0000000000000000 R15: 0000000000000000
> FS:  0000000000000000(0000) GS:ffffffff80835020(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 ffffffff807dc000, task
> ffffffff80766380)
> Stack:
>  0000000000000000 ffffffff80804fb3 ffffffff8080aec0 ffffffff80805cee
>  8000897669002087 00000000ffffffff 8022ee0000104b10 ffffffff80809ec0
>  ffffffff8080aec0 ffffffff807de981 0000000000000000 ffffffff8080aec0
> Call Trace:
>  [<ffffffff80804fb3>] fpu_init+0x3e/0x8b
>  [<ffffffff80805cee>] cpu_init+0x222/0x240
>  [<ffffffff807de981>] start_kernel+0x16f/0x2d9
>  [<ffffffff807de404>] x86_64_start_kernel+0xd9/0xdd
> Code: 48 c1 e2 20 89 c0 48 8d 34 02 48 89 f0 48 89 35 12 1b 27 00 83 e0 03
> 48 83 f8 03 74 12 48 c7 c7 60 82 6d 80 31 c0 e8 7f 69 01 00 <0f> 0b eb fe
> f6 05 57 1c 21 00 04 48 c7 05 e5 1a 27 00 03 00 00
> RIP  [<ffffffff805c6645>] xsave_cntxt_init+0x35/0x130
>  RSP <ffffffff807ddf48>
> ---[ end trace 4eaa2a86a8e2da22 ]---
> Kernel panic - not syncing: Attempted to kill the idle task!
>
> I'm sure my other startup steps are no problem. Now, only combinations of
> Linux-x86.img and x86_64-vmlinux-2.6.22.9 can work well.The kernel
> of x86_64-vmlinux-2.6.28.4, I have tried the version of download from
> http://www.cs.utexas.edu/~parsec_m5/x86_64-vmlinux-2.6.28.4-smp , and I
> also tried compile the kernel from sourcecode as the steps in
> http://gem5.org/Linux_kernel.
>
> I also tried build a new disk image,but other combinations all have the
> question above.
>
> _______________________________________________
> gem5-users mailing list
> gem5-users@gem5.org
> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
>


_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users
_______________________________________________
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to