Hi, Since the git didn't work well with me ,i downloaded linux-2.6.28.4.tar.bz2 <http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.28.4.tar.bz2>then i followed these commands at :http://gem5.org/Linux_kernel
and when i applied "make vmlinux -j 4" I got the same error message : # configuration written to .config # CHK include/linux/version.h UPD include/linux/version.h CHK include/linux/utsrelease.h UPD include/linux/utsrelease.h SYMLINK include/asm -> include/asm-x86 ln: failed to create symbolic link `include/asm': Read-only file system make: *** [include/asm] Error 1 make: *** Waiting for unfinished jobs.... So Please would you tell the commands steps that you have used to compile the kernel ? Thanks in advance Best Regards Wael AMR On Wed, Jun 27, 2012 at 5:25 PM, Diana Guttman <drg...@cse.psu.edu> wrote: > Hi, > > I used > linux-2.6.28.4.tar.bz2<http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.28.4.tar.bz2> > but > I assume the others are the same just for different compression programs. > > Diana > > >> ---------- Forwarded message ---------- >> From: wael Amr <wael.amrhos...@gmail.com> >> To: gem5 users mailing list <gem5-users@gem5.org> >> Cc: >> Date: Wed, 27 Jun 2012 07:11:54 +0300 >> Subject: Re: [gem5-users] compile Linux kernel for X86 FS >> Hello, >> >> Actually i don't know but i think that git command is used to get Linux >> 2.6.28.4 and the tarball that you sent have the required Linux version,so >> it should work but i am not sure. >> >> I have a question >> which link have you used to download from all these below links? >> >> linux-2.6.28.4.tar.bz2 >> <http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.28.4.tar.bz2> >> 06-Feb-2009 23:30 50M linux-2.6.28.4.tar.bz2.sign >> <http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.28.4.tar.bz2.sign> >> 06-Feb-2009 23:30 248 linux-2.6.28.4.tar.gz >> <http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.28.4.tar.gz> >> 06-Feb-2009 23:30 64M linux-2.6.28.4.tar.gz.sign >> <http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.28.4.tar.gz.sign> >> 06-Feb-2009 23:30 248 linux-2.6.28.4.tar.xz >> <http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.28.4.tar.xz> >> 06-Feb-2009 23:30 42M linux-2.6.28.4.tar.xz.sign >> <http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.28.4.tar.xz.sign> >> 06-Feb-2009 23:30 249 >> >> Thanks in advance. >> Best Regards >> Wael AMR >> >> On Tue, Jun 26, 2012 at 5:48 PM, Diana Guttman <drg...@cse.psu.edu>wrote: >> >>> >>>> >>>> ---------- Forwarded message ---------- >>>> From: wael Amr <wael.amrhos...@gmail.com> >>>> To: gem5 users mailing list <gem5-users@gem5.org> >>>> Cc: >>>> Date: Tue, 26 Jun 2012 08:16:08 +0200 >>>> Subject: Re: [gem5-users] compile Linux kernel for X86 FS >>>> Hello, >>>> >>>> Thanks a lot for your support. >>>> When i typed the command : >>>> git checkout v2.6.28.4 >>>> >>>> I got this error message : >>>> error: Your local changes to the following files would be overwritten >>>> by checkout: >>>> include/linux/netfilter/xt_CONNMARK.h >>>> include/linux/netfilter/xt_DSCP.h >>>> include/linux/netfilter/xt_MARK.h >>>> include/linux/netfilter/xt_RATEEST.h >>>> include/linux/netfilter/xt_TCPMSS.h >>>> include/linux/netfilter_ipv4/ipt_ECN.h >>>> include/linux/netfilter_ipv4/ipt_TTL.h >>>> include/linux/netfilter_ipv6/ip6t_HL.h >>>> net/netfilter/xt_DSCP.c >>>> net/netfilter/xt_HL.c >>>> net/netfilter/xt_RATEEST.c >>>> net/netfilter/xt_TCPMSS.c >>>> Please, commit your changes or stash them before you can switch >>>> branches. >>>> error: The following untracked working tree files would be overwritten >>>> by checkout: >>>> Documentation/IO-mapping.txt >>>> net/ipv4/netfilter/ipt_ecn.c >>>> net/netfilter/xt_CONNMARK.c >>>> net/netfilter/xt_MARK.c >>>> Please move or remove them before you can switch branches. >>>> Aborting >>>> >>>> So please any support or advice. >>>> Best Regards >>>> Wael AMR >>>> >>> >>> Hello Wael, >>> >>> I was able to build that version of the kernel using the tarball from >>> http://www.kernel.org/pub/linux/kernel/v2.6/. Is there some reason we >>> should use git for this? Just curious. I don't need any particular >>> version of Linux, just one that works with the gem5 configuration files. >>> >>> Diana >>> >>> >>> >>> >>>> >>>> On Sat, Jun 23, 2012 at 11:12 PM, LluĂs Vilanova >>>> <vilan...@ac.upc.edu>wrote: >>>> >>>>> wael Amr writes: >>>>> >>>>> > Hello, >>>>> > I am trying to set up FS for x86,so one of the steps in this set up >>>>> is the >>>>> > kernel compilation : >>>>> > http://gem5.org/Linux_kernel >>>>> >>>>> > When i tried to use the command : >>>>> > hg clone http://www.kernel.org/hg/linux-2.6 , >>>>> >>>>> > I found that there is an error in the link. >>>>> >>>>> > So i downloaded Linux version 2.6.27.62 (from >>>>> > http://www.kernel.org/),then >>>>> i followed the next steps mentioned in the link : >>>>> > http://gem5.org/Linux_kernel. >>>>> >>>>> > But when i tried to update to version 2.6.28.4 using the command :hg >>>>> update v2.6.28.4, >>>>> > it failed giving a message "abort: unknown revision '2.6.28.4'!" >>>>> >>>>> I think the wiki should be updated to: >>>>> >>>>> git clone git:// >>>>> git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git >>>>> cd linux-stable >>>>> git checkout 2.6.28.4 >>>>> >>>>> >>>>> Or else search for an alive mercurial mirror of the linux git >>>>> repository. >>>>> >>>>> >>>>> Lluis >>>>> >>>>> -- >>>>> "And it's much the same thing with knowledge, for whenever you learn >>>>> something new, the whole world becomes that much richer." >>>>> -- The Princess of Pure Reason, as told by Norton Juster in The >>>>> Phantom >>>>> Tollbooth >>>>> _______________________________________________ >>>>> 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 >
_______________________________________________ gem5-users mailing list gem5-users@gem5.org http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users