Hello Shuai,

for the full system mode, which Linux distribution do you use? Gentoo?

Best regards,
Jasmin

On Mon, Dec 26, 2016 at 4:53 AM, Shuai Wang <[email protected]> wrote:

> Actually I tried to produce a simple hello world binary code on my Ubuntu
> 12.04 with gcc 4.8.1, I produces both 32-bit and 64-bit binary code, and
> tested in the full system simulation.
>
> For the 64-bit binary code, I got the following error (but the simulated
> OS is not crashed):
> (none) / # ./hell0_64
> FATAL: kernel too old
> hell_64[816]: segfault at 00002afea9781de0 rip 000000000041fa17 rsp
> 00007fffb98af830 error 4
> Segmentation fault
>
> For the 32-bit binary code, the simulated OS is crashed, and I got exactly
> the same crash report as my previous email.
>
> Any idea on how should I fix this?  I downloaded the Linux-x86.img from
> this here <http://gem5.org/Download>: the "x86 Full System Files".
>
> Sincerely,
> Shuai
>
>
> On Sun, Dec 25, 2016 at 9:20 PM, Shuai Wang <[email protected]>
> wrote:
>
>> Dear list,
>>
>>
>> I am using gem5 full system simulation to run a 32-bit x86 binary
>> application. I am using the newest version of gem5 cloned from github. I
>> followed the tutorial to setup the environment, and tried a few Unix
>> Utilitie (e.g., ls, pwd, cd) after login into the system through m5term. It
>> looks fine.
>>
>> However, when I start to run my application code, I got a crash and the
>> overall simulation aborted.
>>
>> I past the crash info below, it seems that something goes wrong with the
>> TLB, but I am not sure.
>>
>> **** REAL SIMULATION ****
>> info: Entering event queue @ 0.  Starting simulation...
>> warn: Don't know what interrupt to clear for console.
>> 39623151500: system.pc.com_1.terminal: attach terminal 0
>> warn: x86 cpuid: unknown family 0x8086
>> warn: Tried to clear PCI interrupt 14
>> warn: Unknown mouse command 0xe1.
>> warn: instruction 'wbinvd' unimplemented
>> gem5.opt: build/X86/arch/x86/tlb.cc:350: Fault
>> X86ISA::TLB::translate(RequestPtr, ThreadContext*, BaseTLB::Translation*,
>>  BaseTLB::Mode, bool&, bool): Assertion `entry' failed.
>> Program aborted at tick 148033215407000
>> --- BEGIN LIBC BACKTRACE ---
>> ./build/X86/gem5.opt(_Z15print_backtracev+0x15)[0x8cd7e5]
>> ./build/X86/gem5.opt(_Z12abortHandleri+0x36)[0x8df166]
>> /lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0)[0x7fcd9200ccb0]
>> /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35)[0x7fcd905d7035]
>> /lib/x86_64-linux-gnu/libc.so.6(abort+0x17b)[0x7fcd905da79b]
>> /lib/x86_64-linux-gnu/libc.so.6(+0x2ee1e)[0x7fcd905cfe1e]
>> /lib/x86_64-linux-gnu/libc.so.6(+0x2eec2)[0x7fcd905cfec2]
>> ./build/X86/gem5.opt[0x8c3d35]
>>
>>
>> I am wondering if anyone got trapped in the same situation like I do. Any
>> suggestion is strongly appreciated, thank you!
>>
>> Sincerely,
>> Shuai
>>
>
>
> _______________________________________________
> 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