Hi,
Do you mean Xen virtual machine? 
Is there detailed tutorial for customizing a disk image, 
I find the related document on gem5 wiki is  very sketchy. Thanks.




Xuhao Chen
PhD student
School of Computer
National University of Defense Technology
Changsha, Hunan, P.R.China, 410073
Tel:  +86-159-741-03340 (Mobile)

From: Nilay Vaish
Date: 2012-03-04 23:17
To: gem5 users mailing list
Subject: Re: [gem5-users] booting 64-core in X86 FS mode
On Sun, 4 Mar 2012, Xuhao Chen wrote:

> I compile the application with -static -static-libgcc options but there is 
> still error:
>
> (none) home # ./hello
> hello[840]: segfault at 000000000000000c rip 000000000805cd10 rsp 
> 00000000ffff3f34 error 4
> Segmentation fault
> (none) home #
>
> If I want to create a disk image which is the same as my host platform, 
> I should firstly create an empty image, and then copy all the files into 
> this image, right? But the file system in the host platform is too 
> large, I wonder how you prune it (such as the linux-x86.img in 
> x86-system.tar) but still keep the same compiling and runtime 
> environment. Thanks.
>

I think the disk image can be created using virtual machine environment. 
Anyways, from the printed rip value, you can try to figure out which 
instruction is causing the segmentation fault and why. Looking through the 
trace of executed instructions should help.

--
Nilay
_______________________________________________
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