gem5-users@gem5.org

The gem5 Users mailing list

View all threads

Re: [gem5-users] compile Linux kernel for X86 FS

DG
Diana Guttman
Thu, Jun 28, 2012 8:10 PM

Hi,

I think you are right; that's a better way to do it.  It should be the path
to the x86 system folder.

Diana

---------- Forwarded message ----------

From: wael Amr <wael.amrhossam(a)gmail.com>
To: gem5 users mailing list <gem5-users(a)gem5.org>
Cc:
Date: Thu, 28 Jun 2012 07:25:06 +0300
Subject: Re: [gem5-users] compile Linux kernel for X86 FS
Hi,

Really Great Thanks for this support.

Before trying these steps,i have a question about step No.8
This step can be done also through modifying the file "Syspaths.py"
except KeyError:
path = [ '/dist/m5/system',
'/home/wael/gem5/linux-2.6..28.4' ]
instead of
except KeyError:
path = [ '/dist/m5/system', '/n/poolfs/z/dist/m5/system' ]

So is this right or wrong ?

Thanks again
Best Regards
Wael AMR

Hi, I think you are right; that's a better way to do it. It should be the path to the x86 system folder. Diana ---------- Forwarded message ---------- > From: wael Amr <wael.amrhossam(a)gmail.com> > To: gem5 users mailing list <gem5-users(a)gem5.org> > Cc: > Date: Thu, 28 Jun 2012 07:25:06 +0300 > Subject: Re: [gem5-users] compile Linux kernel for X86 FS > Hi, > > Really Great Thanks for this support. > > Before trying these steps,i have a question about step No.8 > This step can be done also through modifying the file "Syspaths.py" > except KeyError: > path = [ '/dist/m5/system', > '/home/wael/gem5/linux-2.6..28.4' ] > instead of > except KeyError: > path = [ '/dist/m5/system', '/n/poolfs/z/dist/m5/system' ] > > So is this right or wrong ? > > Thanks again > Best Regards > Wael AMR > >
WA
wael Amr
Sat, Jun 30, 2012 6:02 AM

Hi,

I followed the steps but when reaching the command "make",I got the same
error message :

CHK    include/linux/version.h
CHK    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

When i searched through the internet ,i found that it is due to using the
virtual box ,the symbolic link doesn't work.

So is there any way to use the benchmark PARSEC (for FS mode) without
compiling the Linux kernel ?
Is there any way/hint/suggestion to solve this problem ?

Thank you in advance.
Best Regards
Wael AMR

On Thu, Jun 28, 2012 at 10:10 PM, Diana Guttman <drg217(a)cse.psu.edu> wrote:

Hi,

I think you are right; that's a better way to do it.  It should be the
path to the x86 system folder.

Diana

---------- Forwarded message ----------

From: wael Amr <wael.amrhossam(a)gmail.com>
To: gem5 users mailing list <gem5-users(a)gem5.org>
Cc:
Date: Thu, 28 Jun 2012 07:25:06 +0300
Subject: Re: [gem5-users] compile Linux kernel for X86 FS
Hi,

Really Great Thanks for this support.

Before trying these steps,i have a question about step No.8
This step can be done also through modifying the file "Syspaths.py"
except KeyError:
path = [ '/dist/m5/system',
'/home/wael/gem5/linux-2.6..28.4' ]
instead of
except KeyError:
path = [ '/dist/m5/system', '/n/poolfs/z/dist/m5/system' ]

So is this right or wrong ?

Thanks again
Best Regards
Wael AMR


gem5-users mailing list
gem5-users(a)gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Hi, I followed the steps but when reaching the command "make",I got the same error message : CHK include/linux/version.h CHK 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 When i searched through the internet ,i found that it is due to using the virtual box ,the symbolic link doesn't work. So is there any way to use the benchmark PARSEC (for FS mode) without compiling the Linux kernel ? Is there any way/hint/suggestion to solve this problem ? Thank you in advance. Best Regards Wael AMR On Thu, Jun 28, 2012 at 10:10 PM, Diana Guttman <drg217(a)cse.psu.edu> wrote: > Hi, > > I think you are right; that's a better way to do it. It should be the > path to the x86 system folder. > > Diana > > ---------- Forwarded message ---------- >> From: wael Amr <wael.amrhossam(a)gmail.com> >> To: gem5 users mailing list <gem5-users(a)gem5.org> >> Cc: >> Date: Thu, 28 Jun 2012 07:25:06 +0300 >> Subject: Re: [gem5-users] compile Linux kernel for X86 FS >> Hi, >> >> Really Great Thanks for this support. >> >> Before trying these steps,i have a question about step No.8 >> This step can be done also through modifying the file "Syspaths.py" >> except KeyError: >> path = [ '/dist/m5/system', >> '/home/wael/gem5/linux-2.6..28.4' ] >> instead of >> except KeyError: >> path = [ '/dist/m5/system', '/n/poolfs/z/dist/m5/system' ] >> >> So is this right or wrong ? >> >> Thanks again >> Best Regards >> Wael AMR >> >> > > > _______________________________________________ > gem5-users mailing list > gem5-users(a)gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
WA
wael Amr
Sat, Jul 7, 2012 2:49 PM

Hi,

I solved the problem in the last email but i got another error when i tried
the command "make" for the Linux kernel 2.6.28.4 as shown:

/home/wael/Mac/Gem5/linux-2.6.28.4/kernel/mutex.c:93: undefined reference
to __mutex_lock_slowpath' kernel/built-in.o: In function mutex_unlock':
/home/wael/Mac/Gem5/linux-2.6.28.4/kernel/mutex.c:118: undefined reference
to `__mutex_unlock_slowpath'
make: *** [.tmp_vmlinux1] Error 1

So please support for this blocking problem.
Any help will be really highly appreciated.

Thanks
Best Regards
Wael AMR

On Sat, Jun 30, 2012 at 8:02 AM, wael Amr <wael.amrhossam(a)gmail.com> wrote:

Hi,

I followed the steps but when reaching the command "make",I got the same
error message :

CHK    include/linux/version.h
CHK    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

When i searched through the internet ,i found that it is due to using the
virtual box ,the symbolic link doesn't work.

So is there any way to use the benchmark PARSEC (for FS mode) without
compiling the Linux kernel ?
Is there any way/hint/suggestion to solve this problem ?

Thank you in advance.
Best Regards
Wael AMR

On Thu, Jun 28, 2012 at 10:10 PM, Diana Guttman <drg217(a)cse.psu.edu>wrote:

Hi,

I think you are right; that's a better way to do it.  It should be the
path to the x86 system folder.

Diana

---------- Forwarded message ----------

From: wael Amr <wael.amrhossam(a)gmail.com>
To: gem5 users mailing list <gem5-users(a)gem5.org>
Cc:
Date: Thu, 28 Jun 2012 07:25:06 +0300
Subject: Re: [gem5-users] compile Linux kernel for X86 FS
Hi,

Really Great Thanks for this support.

Before trying these steps,i have a question about step No.8
This step can be done also through modifying the file "Syspaths.py"
except KeyError:
path = [ '/dist/m5/system',
'/home/wael/gem5/linux-2.6..28.4' ]
instead of
except KeyError:
path = [ '/dist/m5/system', '/n/poolfs/z/dist/m5/system'
]

So is this right or wrong ?

Thanks again
Best Regards
Wael AMR


gem5-users mailing list
gem5-users(a)gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Hi, I solved the problem in the last email but i got another error when i tried the command "make" for the Linux kernel 2.6.28.4 as shown: /home/wael/Mac/Gem5/linux-2.6.28.4/kernel/mutex.c:93: undefined reference to `__mutex_lock_slowpath' kernel/built-in.o: In function `mutex_unlock': /home/wael/Mac/Gem5/linux-2.6.28.4/kernel/mutex.c:118: undefined reference to `__mutex_unlock_slowpath' make: *** [.tmp_vmlinux1] Error 1 So please support for this blocking problem. Any help will be really highly appreciated. Thanks Best Regards Wael AMR On Sat, Jun 30, 2012 at 8:02 AM, wael Amr <wael.amrhossam(a)gmail.com> wrote: > Hi, > > I followed the steps but when reaching the command "make",I got the same > error message : > > CHK include/linux/version.h > CHK 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 > > When i searched through the internet ,i found that it is due to using the > virtual box ,the symbolic link doesn't work. > > So is there any way to use the benchmark PARSEC (for FS mode) without > compiling the Linux kernel ? > Is there any way/hint/suggestion to solve this problem ? > > Thank you in advance. > Best Regards > Wael AMR > > On Thu, Jun 28, 2012 at 10:10 PM, Diana Guttman <drg217(a)cse.psu.edu>wrote: > >> Hi, >> >> I think you are right; that's a better way to do it. It should be the >> path to the x86 system folder. >> >> Diana >> >> ---------- Forwarded message ---------- >>> From: wael Amr <wael.amrhossam(a)gmail.com> >>> To: gem5 users mailing list <gem5-users(a)gem5.org> >>> Cc: >>> Date: Thu, 28 Jun 2012 07:25:06 +0300 >>> Subject: Re: [gem5-users] compile Linux kernel for X86 FS >>> Hi, >>> >>> Really Great Thanks for this support. >>> >>> Before trying these steps,i have a question about step No.8 >>> This step can be done also through modifying the file "Syspaths.py" >>> except KeyError: >>> path = [ '/dist/m5/system', >>> '/home/wael/gem5/linux-2.6..28.4' ] >>> instead of >>> except KeyError: >>> path = [ '/dist/m5/system', '/n/poolfs/z/dist/m5/system' >>> ] >>> >>> So is this right or wrong ? >>> >>> Thanks again >>> Best Regards >>> Wael AMR >>> >>> >> >> >> _______________________________________________ >> gem5-users mailing list >> gem5-users(a)gem5.org >> http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >> > >
LV
Lluís Vilanova
Sun, Jul 8, 2012 9:51 AM

wael Amr writes:

Hi,
I solved the problem in the last email but i got another error when i tried the
command "make" for the Linux kernel 2.6.28.4 as shown:

/home/wael/Mac/Gem5/linux-2.6.28.4/kernel/mutex.c:93: undefined reference to
__mutex_lock_slowpath' kernel/built-in.o: In function mutex_unlock':
/home/wael/Mac/Gem5/linux-2.6.28.4/kernel/mutex.c:118: undefined reference to
`__mutex_unlock_slowpath'
make: *** [.tmp_vmlinux1] Error 1

So please support for this blocking problem.
Any help will be really highly appreciated.

AFAIR, you need an older gcc version. Version 4.4 works fine for me:

make -C /path/to/src/linux O=/path/to/build/linux CC=gcc-4.4

Still, it would be nice if someone with the knowledge and time fixed this:

http://comments.gmane.org/gmane.comp.emulators.m5.users/8196

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

wael Amr writes: > Hi, > I solved the problem in the last email but i got another error when i tried the > command "make" for the Linux kernel 2.6.28.4 as shown: > /home/wael/Mac/Gem5/linux-2.6.28.4/kernel/mutex.c:93: undefined reference to > `__mutex_lock_slowpath' > kernel/built-in.o: In function `mutex_unlock': > /home/wael/Mac/Gem5/linux-2.6.28.4/kernel/mutex.c:118: undefined reference to > `__mutex_unlock_slowpath' > make: *** [.tmp_vmlinux1] Error 1 > So please support for this blocking problem. > Any help will be really highly appreciated. AFAIR, you need an older gcc version. Version 4.4 works fine for me: make -C /path/to/src/linux O=/path/to/build/linux CC=gcc-4.4 Still, it would be nice if someone with the knowledge and time fixed this: http://comments.gmane.org/gmane.comp.emulators.m5.users/8196 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
WA
wael Amr
Wed, Jul 11, 2012 3:41 AM

Hi,

what do you mean by "-C /path/to/src/linux O=/path/to/build/linux" ?

As i typed the command " make CC=gcc-4.4",but i got this error message:
scripts/checksyscalls.sh: line 13: cannot create temp file for
here-document: No space left on device
HOSTCC  scripts/mod/file2alias.o
scripts/mod/file2alias.c:847:1: fatal error: error writing to
/tmp/ccbKzAKC.s: No space left on device
compilation terminated.
make[2]: *** [scripts/mod/file2alias.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2

So please support.
Thank you in advance for your cooperation and time.
Best Regards
Wael AMR

On Sun, Jul 8, 2012 at 11:51 AM, Lluís Vilanova <vilanova(a)ac.upc.edu> wrote:

wael Amr writes:

Hi,
I solved the problem in the last email but i got another error when i

tried the

command "make" for the Linux kernel 2.6.28.4 as shown:

/home/wael/Mac/Gem5/linux-2.6.28.4/kernel/mutex.c:93: undefined

reference to

__mutex_lock_slowpath' kernel/built-in.o: In function mutex_unlock':
/home/wael/Mac/Gem5/linux-2.6.28.4/kernel/mutex.c:118: undefined

reference to

`__mutex_unlock_slowpath'
make: *** [.tmp_vmlinux1] Error 1

So please support for this blocking problem.
Any help will be really highly appreciated.

AFAIR, you need an older gcc version. Version 4.4 works fine for me:

make -C /path/to/src/linux O=/path/to/build/linux CC=gcc-4.4

Still, it would be nice if someone with the knowledge and time fixed this:

http://comments.gmane.org/gmane.comp.emulators.m5.users/8196

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(a)gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Hi, what do you mean by "-C /path/to/src/linux O=/path/to/build/linux" ? As i typed the command " make CC=gcc-4.4",but i got this error message: scripts/checksyscalls.sh: line 13: cannot create temp file for here-document: No space left on device HOSTCC scripts/mod/file2alias.o scripts/mod/file2alias.c:847:1: fatal error: error writing to /tmp/ccbKzAKC.s: No space left on device compilation terminated. make[2]: *** [scripts/mod/file2alias.o] Error 1 make[1]: *** [scripts/mod] Error 2 make: *** [scripts] Error 2 So please support. Thank you in advance for your cooperation and time. Best Regards Wael AMR On Sun, Jul 8, 2012 at 11:51 AM, Lluís Vilanova <vilanova(a)ac.upc.edu> wrote: > wael Amr writes: > > > Hi, > > I solved the problem in the last email but i got another error when i > tried the > > command "make" for the Linux kernel 2.6.28.4 as shown: > > > /home/wael/Mac/Gem5/linux-2.6.28.4/kernel/mutex.c:93: undefined > reference to > > `__mutex_lock_slowpath' > > kernel/built-in.o: In function `mutex_unlock': > > /home/wael/Mac/Gem5/linux-2.6.28.4/kernel/mutex.c:118: undefined > reference to > > `__mutex_unlock_slowpath' > > make: *** [.tmp_vmlinux1] Error 1 > > > So please support for this blocking problem. > > Any help will be really highly appreciated. > > AFAIR, you need an older gcc version. Version 4.4 works fine for me: > > make -C /path/to/src/linux O=/path/to/build/linux CC=gcc-4.4 > > > Still, it would be nice if someone with the knowledge and time fixed this: > > http://comments.gmane.org/gmane.comp.emulators.m5.users/8196 > > > 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(a)gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
LV
Lluís Vilanova
Wed, Jul 11, 2012 8:55 AM

wael Amr writes:

Hi,
what do you mean by "-C /path/to/src/linux O=/path/to/build/linux" ?

'make -C /foo' is similar to '(cd /foo ; make)'.

See 'make -C /path/to/src/linux help' for a description of the 'O' variable.

Lluis

As i typed the command " make CC=gcc-4.4",but i got this error message:
scripts/checksyscalls.sh: line 13: cannot create temp file for here-document: No
space left on device
HOSTCC scripts/mod/file2alias.o
scripts/mod/file2alias.c:847:1: fatal error: error writing to /tmp/ccbKzAKC.s:
No space left on device
compilation terminated.
make[2]: *** [scripts/mod/file2alias.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2

So please support.
Thank you in advance for your cooperation and time.
Best Regards
Wael AMR

On Sun, Jul 8, 2012 at 11:51 AM, Lluís Vilanova <vilanova(a)ac.upc.edu> wrote:

 wael Amr writes:

Hi,
I solved the problem in the last email but i got another error when i

 tried the

command "make" for the Linux kernel 2.6.28.4 as shown:

/home/wael/Mac/Gem5/linux-2.6.28.4/kernel/mutex.c:93: undefined reference

 to

__mutex_lock_slowpath' kernel/built-in.o: In function mutex_unlock':
/home/wael/Mac/Gem5/linux-2.6.28.4/kernel/mutex.c:118: undefined reference

 to

`__mutex_unlock_slowpath'
make: *** [.tmp_vmlinux1] Error 1

So please support for this blocking problem.
Any help will be really highly appreciated.

 AFAIR, you need an older gcc version. Version 4.4 works fine for me:
 make -C /path/to/src/linux O=/path/to/build/linux CC=gcc-4.4
 Still, it would be nice if someone with the knowledge and time fixed this:
 http://comments.gmane.org/gmane.comp.emulators.m5.users/8196
 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(a)gem5.org
 http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

gem5-users mailing list
gem5-users(a)gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

--
"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

wael Amr writes: > Hi, > what do you mean by "-C /path/to/src/linux O=/path/to/build/linux" ? 'make -C /foo' is similar to '(cd /foo ; make)'. See 'make -C /path/to/src/linux help' for a description of the 'O' variable. Lluis > As i typed the command " make CC=gcc-4.4",but i got this error message: > scripts/checksyscalls.sh: line 13: cannot create temp file for here-document: No > space left on device > HOSTCC scripts/mod/file2alias.o > scripts/mod/file2alias.c:847:1: fatal error: error writing to /tmp/ccbKzAKC.s: > No space left on device > compilation terminated. > make[2]: *** [scripts/mod/file2alias.o] Error 1 > make[1]: *** [scripts/mod] Error 2 > make: *** [scripts] Error 2 > So please support. > Thank you in advance for your cooperation and time. > Best Regards > Wael AMR > On Sun, Jul 8, 2012 at 11:51 AM, Lluís Vilanova <vilanova(a)ac.upc.edu> wrote: > wael Amr writes: >> Hi, >> I solved the problem in the last email but i got another error when i > tried the >> command "make" for the Linux kernel 2.6.28.4 as shown: >> /home/wael/Mac/Gem5/linux-2.6.28.4/kernel/mutex.c:93: undefined reference > to >> `__mutex_lock_slowpath' >> kernel/built-in.o: In function `mutex_unlock': >> /home/wael/Mac/Gem5/linux-2.6.28.4/kernel/mutex.c:118: undefined reference > to >> `__mutex_unlock_slowpath' >> make: *** [.tmp_vmlinux1] Error 1 >> So please support for this blocking problem. >> Any help will be really highly appreciated. > AFAIR, you need an older gcc version. Version 4.4 works fine for me: > make -C /path/to/src/linux O=/path/to/build/linux CC=gcc-4.4 > Still, it would be nice if someone with the knowledge and time fixed this: > http://comments.gmane.org/gmane.comp.emulators.m5.users/8196 > 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(a)gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > _______________________________________________ > gem5-users mailing list > gem5-users(a)gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users -- "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
WA
wael Amr
Thu, Jul 12, 2012 4:51 AM

Hi,
But i made Cd for the linux-2.6.28.4
then i typed the command as shown :
make -C /Mac/gem5/linux-2.6.28.4 O=/Mac/gem5/linux-2.6.28.4 CC=gcc-4.4

I got this error :
make: *** /Mac/gem5/linux-2.6.28.4: No such file or directory.  Stop.

So is there anything missing ?

Thanks
Best Regards
Wael AMR

On Wed, Jul 11, 2012 at 10:55 AM, Lluís Vilanova <vilanova(a)ac.upc.edu>wrote:

wael Amr writes:

Hi,
what do you mean by "-C /path/to/src/linux O=/path/to/build/linux" ?

'make -C /foo' is similar to '(cd /foo ; make)'.

See 'make -C /path/to/src/linux help' for a description of the 'O'
variable.

Lluis

As i typed the command " make CC=gcc-4.4",but i got this error message:
scripts/checksyscalls.sh: line 13: cannot create temp file for

here-document: No

space left on device
HOSTCC scripts/mod/file2alias.o
scripts/mod/file2alias.c:847:1: fatal error: error writing to

/tmp/ccbKzAKC.s:

No space left on device
compilation terminated.
make[2]: *** [scripts/mod/file2alias.o] Error 1
make[1]: *** [scripts/mod] Error 2
make: *** [scripts] Error 2

So please support.
Thank you in advance for your cooperation and time.
Best Regards
Wael AMR

On Sun, Jul 8, 2012 at 11:51 AM, Lluís Vilanova <vilanova(a)ac.upc.edu>

wrote:

 wael Amr writes:

Hi,
I solved the problem in the last email but i got another error when i

 tried the

command "make" for the Linux kernel 2.6.28.4 as shown:

/home/wael/Mac/Gem5/linux-2.6.28.4/kernel/mutex.c:93: undefined

reference

 to

__mutex_lock_slowpath' kernel/built-in.o: In function mutex_unlock':
/home/wael/Mac/Gem5/linux-2.6.28.4/kernel/mutex.c:118: undefined

reference

 to

`__mutex_unlock_slowpath'
make: *** [.tmp_vmlinux1] Error 1

So please support for this blocking problem.
Any help will be really highly appreciated.

 AFAIR, you need an older gcc version. Version 4.4 works fine for me:
 make -C /path/to/src/linux O=/path/to/build/linux CC=gcc-4.4
 Still, it would be nice if someone with the knowledge and time fixed

this:

 http://comments.gmane.org/gmane.comp.emulators.m5.users/8196
 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(a)gem5.org
 http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

gem5-users mailing list
gem5-users(a)gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

--
"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(a)gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Hi, But i made Cd for the linux-2.6.28.4 then i typed the command as shown : make -C /Mac/gem5/linux-2.6.28.4 O=/Mac/gem5/linux-2.6.28.4 CC=gcc-4.4 I got this error : make: *** /Mac/gem5/linux-2.6.28.4: No such file or directory. Stop. So is there anything missing ? Thanks Best Regards Wael AMR On Wed, Jul 11, 2012 at 10:55 AM, Lluís Vilanova <vilanova(a)ac.upc.edu>wrote: > wael Amr writes: > > > Hi, > > what do you mean by "-C /path/to/src/linux O=/path/to/build/linux" ? > > 'make -C /foo' is similar to '(cd /foo ; make)'. > > See 'make -C /path/to/src/linux help' for a description of the 'O' > variable. > > > Lluis > > > > As i typed the command " make CC=gcc-4.4",but i got this error message: > > scripts/checksyscalls.sh: line 13: cannot create temp file for > here-document: No > > space left on device > > HOSTCC scripts/mod/file2alias.o > > scripts/mod/file2alias.c:847:1: fatal error: error writing to > /tmp/ccbKzAKC.s: > > No space left on device > > compilation terminated. > > make[2]: *** [scripts/mod/file2alias.o] Error 1 > > make[1]: *** [scripts/mod] Error 2 > > make: *** [scripts] Error 2 > > > So please support. > > Thank you in advance for your cooperation and time. > > Best Regards > > Wael AMR > > > On Sun, Jul 8, 2012 at 11:51 AM, Lluís Vilanova <vilanova(a)ac.upc.edu> > wrote: > > > wael Amr writes: > > >> Hi, > >> I solved the problem in the last email but i got another error when i > > tried the > >> command "make" for the Linux kernel 2.6.28.4 as shown: > > >> /home/wael/Mac/Gem5/linux-2.6.28.4/kernel/mutex.c:93: undefined > reference > > to > >> `__mutex_lock_slowpath' > >> kernel/built-in.o: In function `mutex_unlock': > >> /home/wael/Mac/Gem5/linux-2.6.28.4/kernel/mutex.c:118: undefined > reference > > to > >> `__mutex_unlock_slowpath' > >> make: *** [.tmp_vmlinux1] Error 1 > > >> So please support for this blocking problem. > >> Any help will be really highly appreciated. > > > > AFAIR, you need an older gcc version. Version 4.4 works fine for me: > > > make -C /path/to/src/linux O=/path/to/build/linux CC=gcc-4.4 > > > > Still, it would be nice if someone with the knowledge and time fixed > this: > > > http://comments.gmane.org/gmane.comp.emulators.m5.users/8196 > > > > > 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(a)gem5.org > > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > > > > > _______________________________________________ > > gem5-users mailing list > > gem5-users(a)gem5.org > > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users > > -- > "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(a)gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
LV
Lluís Vilanova
Thu, Jul 12, 2012 9:44 AM

wael Amr writes:

Hi,
But i made Cd for the linux-2.6.28.4
then i typed the command as shown :
make -C /Mac/gem5/linux-2.6.28.4 O=/Mac/gem5/linux-2.6.28.4 CC=gcc-4.4

I got this error :
make: *** /Mac/gem5/linux-2.6.28.4: No such file or directory. Stop.

So is there anything missing ?

The directory specified by '-C' does not exist. If you're not sure what you're
doing with that command, just follow the standard procedure of 'cd' into the
source directory and then "make CC=gcc-4.4".

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

wael Amr writes: > Hi, > But i made Cd for the linux-2.6.28.4 > then i typed the command as shown : > make -C /Mac/gem5/linux-2.6.28.4 O=/Mac/gem5/linux-2.6.28.4 CC=gcc-4.4 > I got this error : > make: *** /Mac/gem5/linux-2.6.28.4: No such file or directory. Stop. > So is there anything missing ? The directory specified by '-C' does not exist. If you're not sure what you're doing with that command, just follow the standard procedure of 'cd' into the source directory and then "make CC=gcc-4.4". 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
WA
wael Amr
Sat, Jul 14, 2012 7:56 AM

Hi,

Thanks a lot for your support as finally i complied the kernel successfully
but when i tried to follow step No.7,i didn't find the new created
vmlinux-2.6.28.4-smp
So is there something wrong ?

Also in the final step ,How did you run without using any scripts ?

Thank you in advance for your time and cooperation.
Best Regards
Wael AMR

On Thu, Jul 12, 2012 at 11:44 AM, Lluís Vilanova <vilanova(a)ac.upc.edu>wrote:

wael Amr writes:

Hi,
But i made Cd for the linux-2.6.28.4
then i typed the command as shown :
make -C /Mac/gem5/linux-2.6.28.4 O=/Mac/gem5/linux-2.6.28.4 CC=gcc-4.4

I got this error :
make: *** /Mac/gem5/linux-2.6.28.4: No such file or directory. Stop.

So is there anything missing ?

The directory specified by '-C' does not exist. If you're not sure what
you're
doing with that command, just follow the standard procedure of 'cd' into
the
source directory and then "make CC=gcc-4.4".

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(a)gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Hi, Thanks a lot for your support as finally i complied the kernel successfully but when i tried to follow step No.7,i didn't find the new created vmlinux-2.6.28.4-smp So is there something wrong ? Also in the final step ,How did you run without using any scripts ? Thank you in advance for your time and cooperation. Best Regards Wael AMR On Thu, Jul 12, 2012 at 11:44 AM, Lluís Vilanova <vilanova(a)ac.upc.edu>wrote: > wael Amr writes: > > > Hi, > > But i made Cd for the linux-2.6.28.4 > > then i typed the command as shown : > > make -C /Mac/gem5/linux-2.6.28.4 O=/Mac/gem5/linux-2.6.28.4 CC=gcc-4.4 > > > I got this error : > > make: *** /Mac/gem5/linux-2.6.28.4: No such file or directory. Stop. > > > So is there anything missing ? > > The directory specified by '-C' does not exist. If you're not sure what > you're > doing with that command, just follow the standard procedure of 'cd' into > the > source directory and then "make CC=gcc-4.4". > > > 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(a)gem5.org > http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users >
LV
Lluís Vilanova
Sat, Jul 14, 2012 12:32 PM

wael Amr writes:

Hi,
Thanks a lot for your support as finally i complied the kernel successfully but
when i tried to follow step No.7,i didn't find the new created
vmlinux-2.6.28.4-smp
So is there something wrong ?

You should find the generated kernel in file "vmlinux", right in the directory
where you built linux.

Also in the final step ,How did you run without using any scripts ?

M5_PATH=. ./build/X86/gem5.debug --path=./gem5/configs/common/ ./gem5/configs/example/fs.py --kernel=./linux/vmlinux

If you're unable to place files in the proper directories, just follow the
instructions in the GEM5 wiki, as I run it with a slightly different directory
organization.

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

wael Amr writes: > Hi, > Thanks a lot for your support as finally i complied the kernel successfully but > when i tried to follow step No.7,i didn't find the new created > vmlinux-2.6.28.4-smp > So is there something wrong ? You should find the generated kernel in file "vmlinux", right in the directory where you built linux. > Also in the final step ,How did you run without using any scripts ? M5_PATH=. ./build/X86/gem5.debug --path=./gem5/configs/common/ ./gem5/configs/example/fs.py --kernel=./linux/vmlinux If you're unable to place files in the proper directories, just follow the instructions in the GEM5 wiki, as I run it with a slightly different directory organization. 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