Thom,

In lieu of a response from someone else with more experience than I have
with building the kernel for gem5, I can point you to some material that
might help get you started.

Below is a link to a past conversation on this message board in which
someone offers guidance on building version 3.2.24 of the kernel for gem5.
I have not yet followed his instructions and tried to get that version
running, but I was able to build and boot version 2.6.27.6.

http://thread.gmane.org/gmane.comp.emulators.m5.users/18207/

-Patrick

On Tue, Mar 31, 2015 at 9:58 AM, Doru Thom Popovici <
[email protected]> wrote:

> Hi!
>
> I have executed FS for the X86 and I am currently wanting to run the parsec
> benchmarks. There is though a small issue that I am facing. I need to
> modify
> the source code to add in some extra things. Therefore I need to recompile
> the benchmarks.
>
> When I do that I cannot run them within gem5 because they segfault. So I
> tried rebuilding a new kernel version for the simulator. I grabbed the
> kernel from kernel.org, grabbed the config file and simply hit make. There
> were a lot of questions regarding the restart of the config and general
> setup. I left everything as default.
>
> However when I plug it in gem5 I get the following:
>
> warn: instruction 'fninit' unimplemented
> warn: Don't know what interrupt to clear for console.
> warn: instruction 'wbinvd' unimplemented
> warn: instruction 'wbinvd' unimplemented
> warn: instruction 'daa' unimplemented
> warn: instruction 'pop_ES' unimplemented
> warn: instruction 'push_ES' unimplemented
> warn: instruction 'push_CS' unimplemented
> warn: instruction 'sldt_Mw_or_Rv' unimplemented
> warn: instruction 'push_SS' unimplemented
> warn: instruction 'pop_SS' unimplemented
> warn: instruction 'push_DS' unimplemented
> warn: instruction 'pop_DS' unimplemented
> warn: instruction 'das' unimplemented
> warn: instruction 'aaa' unimplemented
> warn: instruction 'aas' unimplemented
> warn: instruction 'ret_far_Iw' unimplemented
> panic: Read from i8237 channel 0 current address unimplemented.
>
> And after it aborts.
>
> Does anyone have any ideas what might be the problem (well the problem is
> obvious it cannot read from that thing), but did anyone have the same
> issue.
>
> Thanks a lot,
> Thom
>
> _______________________________________________
> 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

Reply via email to