Re: [gem5-users] ARMv8 Client-Server configuration

2014-10-07 Thread Ivan Stalev via gem5-users

 Thanks,
 Ali



 From: Ali Saidi via gem5-users gem5-users@gem5.org
 Reply-To: Ali Saidi sa...@umich.edu, gem5 users mailing list 
 gem5-users@gem5.org
 Date: Saturday, August 23, 2014 at 2:21 PM
 To: Ivan Stalev ids...@psu.edu, gem5 users mailing list 
 gem5-users@gem5.org
  Subject: Re: [gem5-users] ARMv8 Client-Server configuration


  You’re not going to have any support for PCIe device with that
 kernel. We’re working on the last bit of debugging and polishing around a
 kernel that will support it — I intended to have it out 2 weeks ago, but
 we’re still diligently working and it should be out in the next couple of
 days.

 Ali




  On Aug 20, 2014, at 10:36 AM, Ivan Stalev ids...@psu.edu wrote:

  Edit: I was using my own compiled kernel. I am now using the default
 kernel, vmlinux-3.14-aarch64-vexpress-emm64, and it appears not to crash. I
 will go ahead and test it out.


 On Wed, Aug 20, 2014 at 11:19 AM, Ivan Stalev ids...@psu.edu wrote:

 Hi Andreas,

 No problem, I figured it wasn't the 80 char README file patch :)

 I applied the 7 patches you posted this morning, but now when I run in
 dual mode, gem5 crashes with this:

  panic: M5 panic instruction called at pc=0xffc8a024.
  @ tick 58408160
 [execute:build/ARM/arch/arm/generated/exec-ns.cc.inc, line 241403]

 The GDB backtrace from gem5.debug suggests that execution is somehow
 killed from a manually inserted breakpoint.

 This is also after I had to hardcode the DTB file name for the
 drivesys in /src/arch/arm/linux/system.cc since it was not picking it
 up from the command line...

  warn: Kernel supports device tree, but no DTB file specified
 fatal: Expected a single ATAG memory entry but got 3
  @ tick 58402784
 [initState:build/ARM/arch/arm/linux/system.cc, line 202]

 Can you share how you tested the client-server configuration?

 Thank you,

 Ivan




 On Wed, Aug 20, 2014 at 4:45 AM, Andreas Hansson 
 andreas.hans...@arm.com wrote:

  Hi Ivan,

 Just following up on this one. I posted the patches yesterday
 morning, but forgot to “Publish” then. Sorry about the misunderstanding.
 They are all there now.

 Andreas

 From: Andreas Hansson via gem5-users gem5-users@gem5.org
 Reply-To: Andreas Hansson andreas.hans...@arm.com, gem5 users
 mailing list gem5-users@gem5.org
 Date: Tuesday, 19 August 2014 18:48
 To: Ivan Stalev ids...@psu.edu, gem5 users mailing list 
 gem5-users@gem5.org, Ali Saidi sa...@umich.edu

 Subject: Re: [gem5-users] ARMv8 Client-Server configuration

  Hi Ivan,

 The patches are on the review board as of this morning (UK time).

 Comments are welcome as always.

 Andreas

 From: Ivan Stalev via gem5-users gem5-users@gem5.org
 Reply-To: Ivan Stalev ids...@psu.edu, gem5 users mailing list 
 gem5-users@gem5.org
 Date: Tuesday, 19 August 2014 18:44
 To: Ali Saidi sa...@umich.edu
 Cc: gem5 users mailing list gem5-users@gem5.org
 Subject: Re: [gem5-users] ARMv8 Client-Server configuration

 Hi Ali,

 Have you had the chance to look at the issue or have some suggestions
 as to which source files to look at?

 Thanks,

 Ivan


 On Fri, Aug 8, 2014 at 8:34 PM, Ali Saidi sa...@umich.edu wrote:

 Hi Ivan,

 The kernel that you’re using and the currently gem5 don’t support
 pci devices with arm64. I hope to remedy this within a week.

 Thanks,
 Ali

 On Aug 6, 2014, at 3:42 PM, Ivan Stalev via gem5-users 
 gem5-users@gem5.org wrote:

  Hi everyone,
 
  I am trying to run a client-server setup using arm64. I am using
 the (latest) linaro kernel (3.16) and disk image suggested on the GEM5
 downloads page. Simply building the kernel with defconfig (as 
 recommended
 in the README) does not seem to setup the ethernet drivers. Running
 ifconfig -a only yields the loopback device/interface.
 
  I then opened up the .config (generated by defconfig) using
 menuconfig and enabled all the settings related to ethernet and re-built
 the kernel. After booting, ifconfig -a results in this:
 
  bond0 Link encap:Ethernet  HWaddr CA:FB:D0:02:D0:7E
BROADCAST MASTER MULTICAST  MTU:1500  Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 
  dummy0Link encap:Ethernet  HWaddr 02:58:3E:AF:F3:41
BROADCAST NOARP  MTU:1500  Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 
  loLink encap:Local Loopback
inet addr:127.0.0.1  Mask:255.0.0.0
UP LOOPBACK RUNNING  MTU:65536  Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:784 (784.0 B)  TX bytes:784 (784.0 B)
 
  I tried running the sample

Re: [gem5-users] ARMv8 Client-Server configuration

2014-09-15 Thread Ivan Stalev via gem5-users
Hi Ali and Andreas,

When I try to boot the client-server system for arm64 with the latest gem5
revision (10369) I get a kernel panic:

[6.660806] VFS: Cannot open root device sda1 or unknown-block(0,0):
error -6
[6.660807] Please append a correct root= boot option; here are the
available partitions:
[6.660809] Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(0,0)
[6.660810] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.16.0-rc6 #2
[6.660810] Call trace:
[6.660811] [ffc87fb4] dump_backtrace+0x0/0x130
[6.660813] [ffc880f4] show_stack+0x10/0x1c
[6.660814] [ffc0004efcfc] dump_stack+0x74/0xb8
[6.660815] [ffc0004ef054] panic+0xe0/0x218
[6.660816] [ffc000699e74] mount_block_root+0x1d0/0x270
[6.660817] [ffc00069a024] mount_root+0x110/0x130
[6.660818] [ffc00069a17c] prepare_namespace+0x138/0x184
[6.660819] [ffc000699ae8] kernel_init_freeable+0x1b8/0x1dc
[6.660821] [ffc0004ed428] kernel_init+0x10/0xd4
[6.660822] ---[ end Kernel panic - not syncing: VFS: Unable to mount
root fs on unknown-block(0,0)

I built the kernel according to Ali's instructions. The command line I use
is:

./build/ARM/gem5.fast -d m5out/dual-test configs/example/fs.py
--machine-type=VExpress_EMM64
--kernel=..path../linux-aarch64-gem5-4003908/vmlinux
--dtb-filename=..path../rtsm_ve-aemv8a-5core.dtb --mem-size=4GB
--cpu-type=atomic --cpu-clock=2GHz --dual

What am I missing?

Thanks,

Ivan

On Thu, Aug 28, 2014 at 2:29 PM, Ali Saidi via gem5-users 
gem5-users@gem5.org wrote:

  You should be able to get a new working kernel with PCIe support for
 AArch64 like the following, however you’ll need all the patches that
 Andreas just mentioned in an email to gem5-dev as committed next week.

  wget 
 http://www.linux-arm.org/git?p=linux-aarch64-gem5.git;a=snapshot;h=400390889828685d432d38406cbd9c7afceeaa15;sf=tgz;
 -O linux-aarch64-gem5.tgz
  tar zxvf linux-aarch64-gem5.tgz
  cd linux-aarch64-gem5-4003908
  make ARCH=arm64 CROSS_COMPILE=aarch64-none-elf- gem5_defconfig
  make ARCH=arm64 CROSS_COMPILE=aarch64-none-elf- -j4

  Thanks,
  Ali



   From: Ali Saidi via gem5-users gem5-users@gem5.org
 Reply-To: Ali Saidi sa...@umich.edu, gem5 users mailing list 
 gem5-users@gem5.org
 Date: Saturday, August 23, 2014 at 2:21 PM
 To: Ivan Stalev ids...@psu.edu, gem5 users mailing list 
 gem5-users@gem5.org
 Subject: Re: [gem5-users] ARMv8 Client-Server configuration

   You’re not going to have any support for PCIe device with that kernel.
 We’re working on the last bit of debugging and polishing around a kernel
 that will support it — I intended to have it out 2 weeks ago, but we’re
 still diligently working and it should be out in the next couple of days.

  Ali




  On Aug 20, 2014, at 10:36 AM, Ivan Stalev ids...@psu.edu wrote:

  Edit: I was using my own compiled kernel. I am now using the default
 kernel, vmlinux-3.14-aarch64-vexpress-emm64, and it appears not to crash. I
 will go ahead and test it out.


 On Wed, Aug 20, 2014 at 11:19 AM, Ivan Stalev ids...@psu.edu wrote:

 Hi Andreas,

  No problem, I figured it wasn't the 80 char README file patch :)

  I applied the 7 patches you posted this morning, but now when I run in
 dual mode, gem5 crashes with this:

  panic: M5 panic instruction called at pc=0xffc8a024.
  @ tick 58408160
 [execute:build/ARM/arch/arm/generated/exec-ns.cc.inc, line 241403]

  The GDB backtrace from gem5.debug suggests that execution is somehow
 killed from a manually inserted breakpoint.

  This is also after I had to hardcode the DTB file name for the drivesys
 in /src/arch/arm/linux/system.cc since it was not picking it up from the
 command line...

  warn: Kernel supports device tree, but no DTB file specified
 fatal: Expected a single ATAG memory entry but got 3
  @ tick 58402784
 [initState:build/ARM/arch/arm/linux/system.cc, line 202]

  Can you share how you tested the client-server configuration?

  Thank you,

  Ivan




 On Wed, Aug 20, 2014 at 4:45 AM, Andreas Hansson andreas.hans...@arm.com
  wrote:

  Hi Ivan,

  Just following up on this one. I posted the patches yesterday morning,
 but forgot to “Publish” then. Sorry about the misunderstanding. They are
 all there now.

  Andreas

   From: Andreas Hansson via gem5-users gem5-users@gem5.org
 Reply-To: Andreas Hansson andreas.hans...@arm.com, gem5 users mailing
 list gem5-users@gem5.org
 Date: Tuesday, 19 August 2014 18:48
 To: Ivan Stalev ids...@psu.edu, gem5 users mailing list 
 gem5-users@gem5.org, Ali Saidi sa...@umich.edu

 Subject: Re: [gem5-users] ARMv8 Client-Server configuration

   Hi Ivan,

  The patches are on the review board as of this morning (UK time).

  Comments are welcome as always.

  Andreas

   From: Ivan Stalev via gem5-users gem5-users@gem5.org
 Reply-To: Ivan Stalev ids...@psu.edu, gem5 users mailing list 
 gem5-users@gem5.org
 Date: Tuesday, 19 August 2014 18:44
 To: Ali Saidi sa...@umich.edu
 Cc: gem5

Re: [gem5-users] ARMv8 Client-Server configuration

2014-09-15 Thread Ali Saidi via gem5-users
 

Hi Ivan, 

Can you show us more of the output. Does it recognize the PCI devices?
What version of gem5 are you running. The patches required were just
committed last week. 

Ali 

On 15.09.2014 02:08, Ivan Stalev via gem5-users wrote: 

 Hi Ali and Andreas, 
 
 When I try to boot the client-server system for arm64 with the latest gem5 
 revision (10369) I get a kernel panic: 
 
 [ 6.660806] VFS: Cannot open root device sda1 or unknown-block(0,0): error 
 -6 
 [ 6.660807] Please append a correct root= boot option; here are the 
 available partitions: 
 [ 6.660809] Kernel panic - not syncing: VFS: Unable to mount root fs on 
 unknown-block(0,0) 
 [ 6.660810] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.16.0-rc6 #2 
 [ 6.660810] Call trace: 
 [ 6.660811] [ffc87fb4] dump_backtrace+0x0/0x130 
 [ 6.660813] [ffc880f4] show_stack+0x10/0x1c 
 [ 6.660814] [ffc0004efcfc] dump_stack+0x74/0xb8 
 [ 6.660815] [ffc0004ef054] panic+0xe0/0x218 
 [ 6.660816] [ffc000699e74] mount_block_root+0x1d0/0x270 
 [ 6.660817] [ffc00069a024] mount_root+0x110/0x130 
 [ 6.660818] [ffc00069a17c] prepare_namespace+0x138/0x184 
 [ 6.660819] [ffc000699ae8] kernel_init_freeable+0x1b8/0x1dc 
 [ 6.660821] [ffc0004ed428] kernel_init+0x10/0xd4 
 [ 6.660822] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs 
 on unknown-block(0,0) 
 
 I built the kernel according to Ali's instructions. The command line I use 
 is: 
 
 ./build/ARM/gem5.fast -d m5out/dual-test configs/example/fs.py 
 --machine-type=VExpress_EMM64 
 --kernel=..path../linux-aarch64-gem5-4003908/vmlinux 
 --dtb-filename=..path../rtsm_ve-aemv8a-5core.dtb --mem-size=4GB 
 --cpu-type=atomic --cpu-clock=2GHz --dual 
 
 What am I missing? 
 
 Thanks, 
 
 Ivan 
 
 On Thu, Aug 28, 2014 at 2:29 PM, Ali Saidi via gem5-users 
 gem5-users@gem5.org wrote:
 
 You should be able to get a new working kernel with PCIe support for AArch64 
 like the following, however you'll need all the patches that Andreas just 
 mentioned in an email to gem5-dev as committed next week. 
 
 wget 
 http://www.linux-arm.org/git?p=linux-aarch64-gem5.git;a=snapshot;h=400390889828685d432d38406cbd9c7afceeaa15;sf=tgz
  [1] -O linux-aarch64-gem5.tgz 
 tar zxvf linux-aarch64-gem5.tgz 
 cd linux-aarch64-gem5-4003908 
 make ARCH=arm64 CROSS_COMPILE=aarch64-none-elf- gem5_defconfig 
 make ARCH=arm64 CROSS_COMPILE=aarch64-none-elf- -j4 
 
 Thanks, 
 Ali 
 
 From: Ali Saidi via gem5-users gem5-users@gem5.org
 Reply-To: Ali Saidi sa...@umich.edu, gem5 users mailing list 
 gem5-users@gem5.org
 Date: Saturday, August 23, 2014 at 2:21 PM
 To: Ivan Stalev ids...@psu.edu, gem5 users mailing list 
 gem5-users@gem5.org
 
 Subject: Re: [gem5-users] ARMv8 Client-Server configuration 
 
 You're not going to have any support for PCIe device with that kernel. We're 
 working on the last bit of debugging and polishing around a kernel that will 
 support it -- I intended to have it out 2 weeks ago, but we're still 
 diligently working and it should be out in the next couple of days. 
 
 Ali 
 
 On Aug 20, 2014, at 10:36 AM, Ivan Stalev ids...@psu.edu wrote: 
 
 Edit: I was using my own compiled kernel. I am now using the default kernel, 
 vmlinux-3.14-aarch64-vexpress-emm64, and it appears not to crash. I will go 
 ahead and test it out. 
 
 On Wed, Aug 20, 2014 at 11:19 AM, Ivan Stalev ids...@psu.edu wrote:
 
 Hi Andreas, 
 
 No problem, I figured it wasn't the 80 char README file patch :) 
 
 I applied the 7 patches you posted this morning, but now when I run in dual 
 mode, gem5 crashes with this: 
 
 panic: M5 panic instruction called at pc=0xffc8a024. 
 @ tick 58408160 
 [execute:build/ARM/arch/arm/generated/exec-ns.cc.inc, line 241403] 
 
 The GDB backtrace from gem5.debug suggests that execution is somehow killed 
 from a manually inserted breakpoint. 
 
 This is also after I had to hardcode the DTB file name for the drivesys in 
 /src/arch/arm/linux/system.cc [2] since it was not picking it up from the 
 command line... 
 
 warn: Kernel supports device tree, but no DTB file specified 
 fatal: Expected a single ATAG memory entry but got 3 
 @ tick 58402784 
 [initState:build/ARM/arch/arm/linux/system.cc [2], line 202] 
 
 Can you share how you tested the client-server configuration? 
 
 Thank you, 
 
 Ivan 
 
 On Wed, Aug 20, 2014 at 4:45 AM, Andreas Hansson andreas.hans...@arm.com 
 wrote:
 
 Hi Ivan, 
 
 Just following up on this one. I posted the patches yesterday morning, but 
 forgot to Publish then. Sorry about the misunderstanding. They are all 
 there now. 
 
 Andreas 
 
 From: Andreas Hansson via gem5-users gem5-users@gem5.org
 Reply-To: Andreas Hansson andreas.hans...@arm.com, gem5 users mailing list 
 gem5-users@gem5.org
 Date: Tuesday, 19 August 2014 18:48
 To: Ivan Stalev ids...@psu.edu, gem5 users mailing list 
 gem5-users@gem5.org, Ali Saidi sa...@umich.edu 
 
 Subject: Re: [gem5-users] ARMv8 Client-Server configuration 
 
 Hi Ivan, 
 
 The patches

Re: [gem5-users] ARMv8 Client-Server configuration

2014-09-15 Thread Ivan Stalev via gem5-users
=VExpress_EMM64
 --kernel=..path../linux-aarch64-gem5-4003908/vmlinux
 --dtb-filename=..path../rtsm_ve-aemv8a-5core.dtb --mem-size=4GB
 --cpu-type=atomic --cpu-clock=2GHz --dual

 What am I missing?

 Thanks,

 Ivan

 On Thu, Aug 28, 2014 at 2:29 PM, Ali Saidi via gem5-users 
 gem5-users@gem5.org wrote:

  You should be able to get a new working kernel with PCIe support for
 AArch64 like the following, however you’ll need all the patches that
 Andreas just mentioned in an email to gem5-dev as committed next week.

 wget 
 http://www.linux-arm.org/git?p=linux-aarch64-gem5.git;a=snapshot;h=400390889828685d432d38406cbd9c7afceeaa15;sf=tgz;
 -O linux-aarch64-gem5.tgz
 tar zxvf linux-aarch64-gem5.tgz
 cd linux-aarch64-gem5-4003908
 make ARCH=arm64 CROSS_COMPILE=aarch64-none-elf- gem5_defconfig
 make ARCH=arm64 CROSS_COMPILE=aarch64-none-elf- -j4

 Thanks,
 Ali



 From: Ali Saidi via gem5-users gem5-users@gem5.org
 Reply-To: Ali Saidi sa...@umich.edu, gem5 users mailing list 
 gem5-users@gem5.org
 Date: Saturday, August 23, 2014 at 2:21 PM
 To: Ivan Stalev ids...@psu.edu, gem5 users mailing list 
 gem5-users@gem5.org
  Subject: Re: [gem5-users] ARMv8 Client-Server configuration


  You’re not going to have any support for PCIe device with that kernel.
 We’re working on the last bit of debugging and polishing around a kernel
 that will support it — I intended to have it out 2 weeks ago, but we’re
 still diligently working and it should be out in the next couple of days.

 Ali




  On Aug 20, 2014, at 10:36 AM, Ivan Stalev ids...@psu.edu wrote:

  Edit: I was using my own compiled kernel. I am now using the default
 kernel, vmlinux-3.14-aarch64-vexpress-emm64, and it appears not to crash. I
 will go ahead and test it out.


 On Wed, Aug 20, 2014 at 11:19 AM, Ivan Stalev ids...@psu.edu wrote:

 Hi Andreas,

 No problem, I figured it wasn't the 80 char README file patch :)

 I applied the 7 patches you posted this morning, but now when I run in
 dual mode, gem5 crashes with this:

  panic: M5 panic instruction called at pc=0xffc8a024.
  @ tick 58408160
 [execute:build/ARM/arch/arm/generated/exec-ns.cc.inc, line 241403]

 The GDB backtrace from gem5.debug suggests that execution is somehow
 killed from a manually inserted breakpoint.

 This is also after I had to hardcode the DTB file name for the drivesys
 in /src/arch/arm/linux/system.cc since it was not picking it up from
 the command line...

  warn: Kernel supports device tree, but no DTB file specified
 fatal: Expected a single ATAG memory entry but got 3
  @ tick 58402784
 [initState:build/ARM/arch/arm/linux/system.cc, line 202]

 Can you share how you tested the client-server configuration?

 Thank you,

 Ivan




 On Wed, Aug 20, 2014 at 4:45 AM, Andreas Hansson 
 andreas.hans...@arm.com wrote:

  Hi Ivan,

 Just following up on this one. I posted the patches yesterday morning,
 but forgot to “Publish” then. Sorry about the misunderstanding. They are
 all there now.

 Andreas

 From: Andreas Hansson via gem5-users gem5-users@gem5.org
 Reply-To: Andreas Hansson andreas.hans...@arm.com, gem5 users
 mailing list gem5-users@gem5.org
 Date: Tuesday, 19 August 2014 18:48
 To: Ivan Stalev ids...@psu.edu, gem5 users mailing list 
 gem5-users@gem5.org, Ali Saidi sa...@umich.edu

 Subject: Re: [gem5-users] ARMv8 Client-Server configuration

  Hi Ivan,

 The patches are on the review board as of this morning (UK time).

 Comments are welcome as always.

 Andreas

 From: Ivan Stalev via gem5-users gem5-users@gem5.org
 Reply-To: Ivan Stalev ids...@psu.edu, gem5 users mailing list 
 gem5-users@gem5.org
 Date: Tuesday, 19 August 2014 18:44
 To: Ali Saidi sa...@umich.edu
 Cc: gem5 users mailing list gem5-users@gem5.org
 Subject: Re: [gem5-users] ARMv8 Client-Server configuration

 Hi Ali,

 Have you had the chance to look at the issue or have some suggestions
 as to which source files to look at?

 Thanks,

 Ivan


 On Fri, Aug 8, 2014 at 8:34 PM, Ali Saidi sa...@umich.edu wrote:

 Hi Ivan,

 The kernel that you’re using and the currently gem5 don’t support pci
 devices with arm64. I hope to remedy this within a week.

 Thanks,
 Ali

 On Aug 6, 2014, at 3:42 PM, Ivan Stalev via gem5-users 
 gem5-users@gem5.org wrote:

  Hi everyone,
 
  I am trying to run a client-server setup using arm64. I am using the
 (latest) linaro kernel (3.16) and disk image suggested on the GEM5
 downloads page. Simply building the kernel with defconfig (as recommended
 in the README) does not seem to setup the ethernet drivers. Running
 ifconfig -a only yields the loopback device/interface.
 
  I then opened up the .config (generated by defconfig) using
 menuconfig and enabled all the settings related to ethernet and re-built
 the kernel. After booting, ifconfig -a results in this:
 
  bond0 Link encap:Ethernet  HWaddr CA:FB:D0:02:D0:7E
BROADCAST MASTER MULTICAST  MTU:1500  Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0

Re: [gem5-users] ARMv8 Client-Server configuration

2014-08-28 Thread Ali Saidi via gem5-users
You should be able to get a new working kernel with PCIe support for AArch64 
like the following, however you’ll need all the patches that Andreas just 
mentioned in an email to gem5-dev as committed next week.

wget 
http://www.linux-arm.org/git?p=linux-aarch64-gem5.git;a=snapshot;h=400390889828685d432d38406cbd9c7afceeaa15;sf=tgz;
 -O linux-aarch64-gem5.tgz
tar zxvf linux-aarch64-gem5.tgz
cd linux-aarch64-gem5-4003908
make ARCH=arm64 CROSS_COMPILE=aarch64-none-elf- gem5_defconfig
make ARCH=arm64 CROSS_COMPILE=aarch64-none-elf- -j4

Thanks,
Ali



From: Ali Saidi via gem5-users gem5-users@gem5.orgmailto:gem5-users@gem5.org
Reply-To: Ali Saidi sa...@umich.edumailto:sa...@umich.edu, gem5 users 
mailing list gem5-users@gem5.orgmailto:gem5-users@gem5.org
Date: Saturday, August 23, 2014 at 2:21 PM
To: Ivan Stalev ids...@psu.edumailto:ids...@psu.edu, gem5 users mailing 
list gem5-users@gem5.orgmailto:gem5-users@gem5.org
Subject: Re: [gem5-users] ARMv8 Client-Server configuration

You’re not going to have any support for PCIe device with that kernel. We’re 
working on the last bit of debugging and polishing around a kernel that will 
support it — I intended to have it out 2 weeks ago, but we’re still diligently 
working and it should be out in the next couple of days.

Ali




On Aug 20, 2014, at 10:36 AM, Ivan Stalev 
ids...@psu.edumailto:ids...@psu.edu wrote:

Edit: I was using my own compiled kernel. I am now using the default kernel, 
vmlinux-3.14-aarch64-vexpress-emm64, and it appears not to crash. I will go 
ahead and test it out.


On Wed, Aug 20, 2014 at 11:19 AM, Ivan Stalev 
ids...@psu.edumailto:ids...@psu.edu wrote:
Hi Andreas,

No problem, I figured it wasn't the 80 char README file patch :)

I applied the 7 patches you posted this morning, but now when I run in dual 
mode, gem5 crashes with this:

panic: M5 panic instruction called at pc=0xffc8a024.
 @ tick 58408160
[execute:build/ARM/arch/arm/generated/exec-ns.cc.inc, line 241403]

The GDB backtrace from gem5.debug suggests that execution is somehow killed 
from a manually inserted breakpoint.

This is also after I had to hardcode the DTB file name for the drivesys in 
/src/arch/arm/linux/system.cchttp://system.cc since it was not picking it up 
from the command line...

warn: Kernel supports device tree, but no DTB file specified
fatal: Expected a single ATAG memory entry but got 3
 @ tick 58402784
[initState:build/ARM/arch/arm/linux/system.cchttp://system.cc, line 202]

Can you share how you tested the client-server configuration?

Thank you,

Ivan




On Wed, Aug 20, 2014 at 4:45 AM, Andreas Hansson 
andreas.hans...@arm.commailto:andreas.hans...@arm.com wrote:
Hi Ivan,

Just following up on this one. I posted the patches yesterday morning, but 
forgot to “Publish” then. Sorry about the misunderstanding. They are all there 
now.

Andreas

From: Andreas Hansson via gem5-users 
gem5-users@gem5.orgmailto:gem5-users@gem5.org
Reply-To: Andreas Hansson 
andreas.hans...@arm.commailto:andreas.hans...@arm.com, gem5 users mailing 
list gem5-users@gem5.orgmailto:gem5-users@gem5.org
Date: Tuesday, 19 August 2014 18:48
To: Ivan Stalev ids...@psu.edumailto:ids...@psu.edu, gem5 users mailing 
list gem5-users@gem5.orgmailto:gem5-users@gem5.org, Ali Saidi 
sa...@umich.edumailto:sa...@umich.edu

Subject: Re: [gem5-users] ARMv8 Client-Server configuration

Hi Ivan,

The patches are on the review board as of this morning (UK time).

Comments are welcome as always.

Andreas

From: Ivan Stalev via gem5-users 
gem5-users@gem5.orgmailto:gem5-users@gem5.org
Reply-To: Ivan Stalev ids...@psu.edumailto:ids...@psu.edu, gem5 users 
mailing list gem5-users@gem5.orgmailto:gem5-users@gem5.org
Date: Tuesday, 19 August 2014 18:44
To: Ali Saidi sa...@umich.edumailto:sa...@umich.edu
Cc: gem5 users mailing list gem5-users@gem5.orgmailto:gem5-users@gem5.org
Subject: Re: [gem5-users] ARMv8 Client-Server configuration

Hi Ali,

Have you had the chance to look at the issue or have some suggestions as to 
which source files to look at?

Thanks,

Ivan


On Fri, Aug 8, 2014 at 8:34 PM, Ali Saidi 
sa...@umich.edumailto:sa...@umich.edu wrote:
Hi Ivan,

The kernel that you’re using and the currently gem5 don’t support pci devices 
with arm64. I hope to remedy this within a week.

Thanks,
Ali

On Aug 6, 2014, at 3:42 PM, Ivan Stalev via gem5-users 
gem5-users@gem5.orgmailto:gem5-users@gem5.org wrote:

 Hi everyone,

 I am trying to run a client-server setup using arm64. I am using the (latest) 
 linaro kernel (3.16) and disk image suggested on the GEM5 downloads page. 
 Simply building the kernel with defconfig (as recommended in the README) does 
 not seem to setup the ethernet drivers. Running ifconfig -a only yields the 
 loopback device/interface.

 I then opened up the .config (generated by defconfig) using menuconfig and 
 enabled all the settings related to ethernet and re-built the kernel. After 
 booting, ifconfig -a results in this:

 bond0 Link encap:Ethernet  HWaddr

Re: [gem5-users] ARMv8 Client-Server configuration

2014-08-23 Thread Ali Saidi via gem5-users
You’re not going to have any support for PCIe device with that kernel. We’re 
working on the last bit of debugging and polishing around a kernel that will 
support it — I intended to have it out 2 weeks ago, but we’re still diligently 
working and it should be out in the next couple of days. 

Ali




On Aug 20, 2014, at 10:36 AM, Ivan Stalev ids...@psu.edu wrote:

 Edit: I was using my own compiled kernel. I am now using the default kernel, 
 vmlinux-3.14-aarch64-vexpress-emm64, and it appears not to crash. I will go 
 ahead and test it out.
 
 
 On Wed, Aug 20, 2014 at 11:19 AM, Ivan Stalev ids...@psu.edu wrote:
 Hi Andreas,
 
 No problem, I figured it wasn't the 80 char README file patch :)
 
 I applied the 7 patches you posted this morning, but now when I run in dual 
 mode, gem5 crashes with this:
 
 panic: M5 panic instruction called at pc=0xffc8a024.
  @ tick 58408160
 [execute:build/ARM/arch/arm/generated/exec-ns.cc.inc, line 241403]
 
 The GDB backtrace from gem5.debug suggests that execution is somehow killed 
 from a manually inserted breakpoint.
 
 This is also after I had to hardcode the DTB file name for the drivesys in 
 /src/arch/arm/linux/system.cc since it was not picking it up from the command 
 line...
 
 warn: Kernel supports device tree, but no DTB file specified
 fatal: Expected a single ATAG memory entry but got 3
  @ tick 58402784
 [initState:build/ARM/arch/arm/linux/system.cc, line 202]
 
 Can you share how you tested the client-server configuration?
 
 Thank you,
 
 Ivan
 
 
 
 
 On Wed, Aug 20, 2014 at 4:45 AM, Andreas Hansson andreas.hans...@arm.com 
 wrote:
 Hi Ivan,
 
 Just following up on this one. I posted the patches yesterday morning, but 
 forgot to “Publish” then. Sorry about the misunderstanding. They are all 
 there now.
 
 Andreas
 
 From: Andreas Hansson via gem5-users gem5-users@gem5.org
 Reply-To: Andreas Hansson andreas.hans...@arm.com, gem5 users mailing list 
 gem5-users@gem5.org
 Date: Tuesday, 19 August 2014 18:48
 To: Ivan Stalev ids...@psu.edu, gem5 users mailing list 
 gem5-users@gem5.org, Ali Saidi sa...@umich.edu
 
 Subject: Re: [gem5-users] ARMv8 Client-Server configuration
 
 Hi Ivan,
 
 The patches are on the review board as of this morning (UK time).
 
 Comments are welcome as always.
 
 Andreas
 
 From: Ivan Stalev via gem5-users gem5-users@gem5.org
 Reply-To: Ivan Stalev ids...@psu.edu, gem5 users mailing list 
 gem5-users@gem5.org
 Date: Tuesday, 19 August 2014 18:44
 To: Ali Saidi sa...@umich.edu
 Cc: gem5 users mailing list gem5-users@gem5.org
 Subject: Re: [gem5-users] ARMv8 Client-Server configuration
 
 Hi Ali,
 
 Have you had the chance to look at the issue or have some suggestions as to 
 which source files to look at?
 
 Thanks,
 
 Ivan
 
 
 On Fri, Aug 8, 2014 at 8:34 PM, Ali Saidi sa...@umich.edu wrote:
 Hi Ivan,
 
 The kernel that you’re using and the currently gem5 don’t support pci devices 
 with arm64. I hope to remedy this within a week.
 
 Thanks,
 Ali
 
 On Aug 6, 2014, at 3:42 PM, Ivan Stalev via gem5-users gem5-users@gem5.org 
 wrote:
 
  Hi everyone,
 
  I am trying to run a client-server setup using arm64. I am using the 
  (latest) linaro kernel (3.16) and disk image suggested on the GEM5 
  downloads page. Simply building the kernel with defconfig (as recommended 
  in the README) does not seem to setup the ethernet drivers. Running 
  ifconfig -a only yields the loopback device/interface.
 
  I then opened up the .config (generated by defconfig) using menuconfig and 
  enabled all the settings related to ethernet and re-built the kernel. After 
  booting, ifconfig -a results in this:
 
  bond0 Link encap:Ethernet  HWaddr CA:FB:D0:02:D0:7E
BROADCAST MASTER MULTICAST  MTU:1500  Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 
  dummy0Link encap:Ethernet  HWaddr 02:58:3E:AF:F3:41
BROADCAST NOARP  MTU:1500  Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 
  loLink encap:Local Loopback
inet addr:127.0.0.1  Mask:255.0.0.0
UP LOOPBACK RUNNING  MTU:65536  Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:784 (784.0 B)  TX bytes:784 (784.0 B)
 
  I tried running the sample client-server rcS scripts and tried both dummy0 
  and bond0, but pings did not go through. From others' posts and sample rcS 
  scripts, it seems that GEM5 expects eth0.
 
  Does anyone know if client-server is supported for arm64 in GEM5, and if 
  so, how to get them to communicate? I am using

Re: [gem5-users] ARMv8 Client-Server configuration

2014-08-20 Thread Andreas Hansson via gem5-users
Hi Ivan,

Just following up on this one. I posted the patches yesterday morning, but 
forgot to “Publish” then. Sorry about the misunderstanding. They are all there 
now.

Andreas

From: Andreas Hansson via gem5-users 
gem5-users@gem5.orgmailto:gem5-users@gem5.org
Reply-To: Andreas Hansson 
andreas.hans...@arm.commailto:andreas.hans...@arm.com, gem5 users mailing 
list gem5-users@gem5.orgmailto:gem5-users@gem5.org
Date: Tuesday, 19 August 2014 18:48
To: Ivan Stalev ids...@psu.edumailto:ids...@psu.edu, gem5 users mailing 
list gem5-users@gem5.orgmailto:gem5-users@gem5.org, Ali Saidi 
sa...@umich.edumailto:sa...@umich.edu
Subject: Re: [gem5-users] ARMv8 Client-Server configuration

Hi Ivan,

The patches are on the review board as of this morning (UK time).

Comments are welcome as always.

Andreas

From: Ivan Stalev via gem5-users 
gem5-users@gem5.orgmailto:gem5-users@gem5.org
Reply-To: Ivan Stalev ids...@psu.edumailto:ids...@psu.edu, gem5 users 
mailing list gem5-users@gem5.orgmailto:gem5-users@gem5.org
Date: Tuesday, 19 August 2014 18:44
To: Ali Saidi sa...@umich.edumailto:sa...@umich.edu
Cc: gem5 users mailing list gem5-users@gem5.orgmailto:gem5-users@gem5.org
Subject: Re: [gem5-users] ARMv8 Client-Server configuration

Hi Ali,

Have you had the chance to look at the issue or have some suggestions as to 
which source files to look at?

Thanks,

Ivan


On Fri, Aug 8, 2014 at 8:34 PM, Ali Saidi 
sa...@umich.edumailto:sa...@umich.edu wrote:
Hi Ivan,

The kernel that you’re using and the currently gem5 don’t support pci devices 
with arm64. I hope to remedy this within a week.

Thanks,
Ali

On Aug 6, 2014, at 3:42 PM, Ivan Stalev via gem5-users 
gem5-users@gem5.orgmailto:gem5-users@gem5.org wrote:

 Hi everyone,

 I am trying to run a client-server setup using arm64. I am using the (latest) 
 linaro kernel (3.16) and disk image suggested on the GEM5 downloads page. 
 Simply building the kernel with defconfig (as recommended in the README) does 
 not seem to setup the ethernet drivers. Running ifconfig -a only yields the 
 loopback device/interface.

 I then opened up the .config (generated by defconfig) using menuconfig and 
 enabled all the settings related to ethernet and re-built the kernel. After 
 booting, ifconfig -a results in this:

 bond0 Link encap:Ethernet  HWaddr CA:FB:D0:02:D0:7E
   BROADCAST MASTER MULTICAST  MTU:1500  Metric:1
   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
   TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 dummy0Link encap:Ethernet  HWaddr 02:58:3E:AF:F3:41
   BROADCAST NOARP  MTU:1500  Metric:1
   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
   TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 loLink encap:Local Loopback
   inet addr:127.0.0.1  Mask:255.0.0.0
   UP LOOPBACK RUNNING  MTU:65536  Metric:1
   RX packets:8 errors:0 dropped:0 overruns:0 frame:0
   TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:784 (784.0 B)  TX bytes:784 (784.0 B)

 I tried running the sample client-server rcS scripts and tried both dummy0 
 and bond0, but pings did not go through. From others' posts and sample rcS 
 scripts, it seems that GEM5 expects eth0.

 Does anyone know if client-server is supported for arm64 in GEM5, and if so, 
 how to get them to communicate? I am using the latest GEM5 revision (10240).

 Thanks!

 ___
 gem5-users mailing list
 gem5-users@gem5.orgmailto:gem5-users@gem5.org
 http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users



-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered 
in England  Wales, Company No: 2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, 
Registered in England  Wales, Company No: 2548782

-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered 
in England  Wales, Company No: 2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, 
Registered in England  Wales, Company

Re: [gem5-users] ARMv8 Client-Server configuration

2014-08-20 Thread Ivan Stalev via gem5-users
Hi Andreas,

No problem, I figured it wasn't the 80 char README file patch :)

I applied the 7 patches you posted this morning, but now when I run in dual
mode, gem5 crashes with this:

panic: M5 panic instruction called at pc=0xffc8a024.
 @ tick 58408160
[execute:build/ARM/arch/arm/generated/exec-ns.cc.inc, line 241403]

The GDB backtrace from gem5.debug suggests that execution is somehow killed
from a manually inserted breakpoint.

This is also after I had to hardcode the DTB file name for the drivesys
in /src/arch/arm/linux/system.cc since it was not picking it up from the
command line...

warn: Kernel supports device tree, but no DTB file specified
fatal: Expected a single ATAG memory entry but got 3
 @ tick 58402784
[initState:build/ARM/arch/arm/linux/system.cc, line 202]

Can you share how you tested the client-server configuration?

Thank you,

Ivan




On Wed, Aug 20, 2014 at 4:45 AM, Andreas Hansson andreas.hans...@arm.com
wrote:

  Hi Ivan,

  Just following up on this one. I posted the patches yesterday morning,
 but forgot to “Publish” then. Sorry about the misunderstanding. They are
 all there now.

  Andreas

   From: Andreas Hansson via gem5-users gem5-users@gem5.org
 Reply-To: Andreas Hansson andreas.hans...@arm.com, gem5 users mailing
 list gem5-users@gem5.org
 Date: Tuesday, 19 August 2014 18:48
 To: Ivan Stalev ids...@psu.edu, gem5 users mailing list 
 gem5-users@gem5.org, Ali Saidi sa...@umich.edu

 Subject: Re: [gem5-users] ARMv8 Client-Server configuration

   Hi Ivan,

  The patches are on the review board as of this morning (UK time).

  Comments are welcome as always.

  Andreas

   From: Ivan Stalev via gem5-users gem5-users@gem5.org
 Reply-To: Ivan Stalev ids...@psu.edu, gem5 users mailing list 
 gem5-users@gem5.org
 Date: Tuesday, 19 August 2014 18:44
 To: Ali Saidi sa...@umich.edu
 Cc: gem5 users mailing list gem5-users@gem5.org
 Subject: Re: [gem5-users] ARMv8 Client-Server configuration

  Hi Ali,

  Have you had the chance to look at the issue or have some suggestions as
 to which source files to look at?

  Thanks,

  Ivan


 On Fri, Aug 8, 2014 at 8:34 PM, Ali Saidi sa...@umich.edu wrote:

 Hi Ivan,

 The kernel that you’re using and the currently gem5 don’t support pci
 devices with arm64. I hope to remedy this within a week.

 Thanks,
 Ali

 On Aug 6, 2014, at 3:42 PM, Ivan Stalev via gem5-users 
 gem5-users@gem5.org wrote:

  Hi everyone,
 
  I am trying to run a client-server setup using arm64. I am using the
 (latest) linaro kernel (3.16) and disk image suggested on the GEM5
 downloads page. Simply building the kernel with defconfig (as recommended
 in the README) does not seem to setup the ethernet drivers. Running
 ifconfig -a only yields the loopback device/interface.
 
  I then opened up the .config (generated by defconfig) using menuconfig
 and enabled all the settings related to ethernet and re-built the kernel.
 After booting, ifconfig -a results in this:
 
  bond0 Link encap:Ethernet  HWaddr CA:FB:D0:02:D0:7E
BROADCAST MASTER MULTICAST  MTU:1500  Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 
  dummy0Link encap:Ethernet  HWaddr 02:58:3E:AF:F3:41
BROADCAST NOARP  MTU:1500  Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 
  loLink encap:Local Loopback
inet addr:127.0.0.1  Mask:255.0.0.0
UP LOOPBACK RUNNING  MTU:65536  Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:784 (784.0 B)  TX bytes:784 (784.0 B)
 
  I tried running the sample client-server rcS scripts and tried both
 dummy0 and bond0, but pings did not go through. From others' posts and
 sample rcS scripts, it seems that GEM5 expects eth0.
 
  Does anyone know if client-server is supported for arm64 in GEM5, and
 if so, how to get them to communicate? I am using the latest GEM5 revision
 (10240).
 
  Thanks!
 
   ___
  gem5-users mailing list
  gem5-users@gem5.org
  http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users



 -- IMPORTANT NOTICE: The contents of this email and any attachments are
 confidential and may also be privileged. If you are not the intended
 recipient, please notify the sender immediately and do not disclose the
 contents to any other person, use it for any purpose, or store or copy the
 information in any medium. Thank you.

 ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ,
 Registered in England  Wales, Company No: 2557590
 ARM Holdings plc

Re: [gem5-users] ARMv8 Client-Server configuration

2014-08-20 Thread Ivan Stalev via gem5-users
Edit: I was using my own compiled kernel. I am now using the default
kernel, vmlinux-3.14-aarch64-vexpress-emm64, and it appears not to crash. I
will go ahead and test it out.


On Wed, Aug 20, 2014 at 11:19 AM, Ivan Stalev ids...@psu.edu wrote:

 Hi Andreas,

 No problem, I figured it wasn't the 80 char README file patch :)

 I applied the 7 patches you posted this morning, but now when I run in
 dual mode, gem5 crashes with this:

 panic: M5 panic instruction called at pc=0xffc8a024.
  @ tick 58408160
 [execute:build/ARM/arch/arm/generated/exec-ns.cc.inc, line 241403]

 The GDB backtrace from gem5.debug suggests that execution is somehow
 killed from a manually inserted breakpoint.

 This is also after I had to hardcode the DTB file name for the drivesys
 in /src/arch/arm/linux/system.cc since it was not picking it up from the
 command line...

 warn: Kernel supports device tree, but no DTB file specified
 fatal: Expected a single ATAG memory entry but got 3
  @ tick 58402784
 [initState:build/ARM/arch/arm/linux/system.cc, line 202]

 Can you share how you tested the client-server configuration?

 Thank you,

 Ivan




 On Wed, Aug 20, 2014 at 4:45 AM, Andreas Hansson andreas.hans...@arm.com
 wrote:

  Hi Ivan,

  Just following up on this one. I posted the patches yesterday morning,
 but forgot to “Publish” then. Sorry about the misunderstanding. They are
 all there now.

  Andreas

   From: Andreas Hansson via gem5-users gem5-users@gem5.org
 Reply-To: Andreas Hansson andreas.hans...@arm.com, gem5 users mailing
 list gem5-users@gem5.org
 Date: Tuesday, 19 August 2014 18:48
 To: Ivan Stalev ids...@psu.edu, gem5 users mailing list 
 gem5-users@gem5.org, Ali Saidi sa...@umich.edu

 Subject: Re: [gem5-users] ARMv8 Client-Server configuration

   Hi Ivan,

  The patches are on the review board as of this morning (UK time).

  Comments are welcome as always.

  Andreas

   From: Ivan Stalev via gem5-users gem5-users@gem5.org
 Reply-To: Ivan Stalev ids...@psu.edu, gem5 users mailing list 
 gem5-users@gem5.org
 Date: Tuesday, 19 August 2014 18:44
 To: Ali Saidi sa...@umich.edu
 Cc: gem5 users mailing list gem5-users@gem5.org
 Subject: Re: [gem5-users] ARMv8 Client-Server configuration

  Hi Ali,

  Have you had the chance to look at the issue or have some suggestions
 as to which source files to look at?

  Thanks,

  Ivan


 On Fri, Aug 8, 2014 at 8:34 PM, Ali Saidi sa...@umich.edu wrote:

 Hi Ivan,

 The kernel that you’re using and the currently gem5 don’t support pci
 devices with arm64. I hope to remedy this within a week.

 Thanks,
 Ali

 On Aug 6, 2014, at 3:42 PM, Ivan Stalev via gem5-users 
 gem5-users@gem5.org wrote:

  Hi everyone,
 
  I am trying to run a client-server setup using arm64. I am using the
 (latest) linaro kernel (3.16) and disk image suggested on the GEM5
 downloads page. Simply building the kernel with defconfig (as recommended
 in the README) does not seem to setup the ethernet drivers. Running
 ifconfig -a only yields the loopback device/interface.
 
  I then opened up the .config (generated by defconfig) using menuconfig
 and enabled all the settings related to ethernet and re-built the kernel.
 After booting, ifconfig -a results in this:
 
  bond0 Link encap:Ethernet  HWaddr CA:FB:D0:02:D0:7E
BROADCAST MASTER MULTICAST  MTU:1500  Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 
  dummy0Link encap:Ethernet  HWaddr 02:58:3E:AF:F3:41
BROADCAST NOARP  MTU:1500  Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 
  loLink encap:Local Loopback
inet addr:127.0.0.1  Mask:255.0.0.0
UP LOOPBACK RUNNING  MTU:65536  Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:784 (784.0 B)  TX bytes:784 (784.0 B)
 
  I tried running the sample client-server rcS scripts and tried both
 dummy0 and bond0, but pings did not go through. From others' posts and
 sample rcS scripts, it seems that GEM5 expects eth0.
 
  Does anyone know if client-server is supported for arm64 in GEM5, and
 if so, how to get them to communicate? I am using the latest GEM5 revision
 (10240).
 
  Thanks!
 
   ___
  gem5-users mailing list
  gem5-users@gem5.org
  http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users



 -- IMPORTANT NOTICE: The contents of this email and any attachments are
 confidential and may also be privileged. If you are not the intended
 recipient, please notify the sender immediately and do not disclose

Re: [gem5-users] ARMv8 Client-Server configuration

2014-08-19 Thread Ivan Stalev via gem5-users
Hi Ali,

Have you had the chance to look at the issue or have some suggestions as to
which source files to look at?

Thanks,

Ivan


On Fri, Aug 8, 2014 at 8:34 PM, Ali Saidi sa...@umich.edu wrote:

 Hi Ivan,

 The kernel that you’re using and the currently gem5 don’t support pci
 devices with arm64. I hope to remedy this within a week.

 Thanks,
 Ali

 On Aug 6, 2014, at 3:42 PM, Ivan Stalev via gem5-users 
 gem5-users@gem5.org wrote:

  Hi everyone,
 
  I am trying to run a client-server setup using arm64. I am using the
 (latest) linaro kernel (3.16) and disk image suggested on the GEM5
 downloads page. Simply building the kernel with defconfig (as recommended
 in the README) does not seem to setup the ethernet drivers. Running
 ifconfig -a only yields the loopback device/interface.
 
  I then opened up the .config (generated by defconfig) using menuconfig
 and enabled all the settings related to ethernet and re-built the kernel.
 After booting, ifconfig -a results in this:
 
  bond0 Link encap:Ethernet  HWaddr CA:FB:D0:02:D0:7E
BROADCAST MASTER MULTICAST  MTU:1500  Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 
  dummy0Link encap:Ethernet  HWaddr 02:58:3E:AF:F3:41
BROADCAST NOARP  MTU:1500  Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 
  loLink encap:Local Loopback
inet addr:127.0.0.1  Mask:255.0.0.0
UP LOOPBACK RUNNING  MTU:65536  Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:784 (784.0 B)  TX bytes:784 (784.0 B)
 
  I tried running the sample client-server rcS scripts and tried both
 dummy0 and bond0, but pings did not go through. From others' posts and
 sample rcS scripts, it seems that GEM5 expects eth0.
 
  Does anyone know if client-server is supported for arm64 in GEM5, and if
 so, how to get them to communicate? I am using the latest GEM5 revision
 (10240).
 
  Thanks!
 
  ___
  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

Re: [gem5-users] ARMv8 Client-Server configuration

2014-08-19 Thread Andreas Hansson via gem5-users
Hi Ivan,

The patches are on the review board as of this morning (UK time).

Comments are welcome as always.

Andreas

From: Ivan Stalev via gem5-users 
gem5-users@gem5.orgmailto:gem5-users@gem5.org
Reply-To: Ivan Stalev ids...@psu.edumailto:ids...@psu.edu, gem5 users 
mailing list gem5-users@gem5.orgmailto:gem5-users@gem5.org
Date: Tuesday, 19 August 2014 18:44
To: Ali Saidi sa...@umich.edumailto:sa...@umich.edu
Cc: gem5 users mailing list gem5-users@gem5.orgmailto:gem5-users@gem5.org
Subject: Re: [gem5-users] ARMv8 Client-Server configuration

Hi Ali,

Have you had the chance to look at the issue or have some suggestions as to 
which source files to look at?

Thanks,

Ivan


On Fri, Aug 8, 2014 at 8:34 PM, Ali Saidi 
sa...@umich.edumailto:sa...@umich.edu wrote:
Hi Ivan,

The kernel that you’re using and the currently gem5 don’t support pci devices 
with arm64. I hope to remedy this within a week.

Thanks,
Ali

On Aug 6, 2014, at 3:42 PM, Ivan Stalev via gem5-users 
gem5-users@gem5.orgmailto:gem5-users@gem5.org wrote:

 Hi everyone,

 I am trying to run a client-server setup using arm64. I am using the (latest) 
 linaro kernel (3.16) and disk image suggested on the GEM5 downloads page. 
 Simply building the kernel with defconfig (as recommended in the README) does 
 not seem to setup the ethernet drivers. Running ifconfig -a only yields the 
 loopback device/interface.

 I then opened up the .config (generated by defconfig) using menuconfig and 
 enabled all the settings related to ethernet and re-built the kernel. After 
 booting, ifconfig -a results in this:

 bond0 Link encap:Ethernet  HWaddr CA:FB:D0:02:D0:7E
   BROADCAST MASTER MULTICAST  MTU:1500  Metric:1
   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
   TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 dummy0Link encap:Ethernet  HWaddr 02:58:3E:AF:F3:41
   BROADCAST NOARP  MTU:1500  Metric:1
   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
   TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 loLink encap:Local Loopback
   inet addr:127.0.0.1  Mask:255.0.0.0
   UP LOOPBACK RUNNING  MTU:65536  Metric:1
   RX packets:8 errors:0 dropped:0 overruns:0 frame:0
   TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:784 (784.0 B)  TX bytes:784 (784.0 B)

 I tried running the sample client-server rcS scripts and tried both dummy0 
 and bond0, but pings did not go through. From others' posts and sample rcS 
 scripts, it seems that GEM5 expects eth0.

 Does anyone know if client-server is supported for arm64 in GEM5, and if so, 
 how to get them to communicate? I am using the latest GEM5 revision (10240).

 Thanks!

 ___
 gem5-users mailing list
 gem5-users@gem5.orgmailto:gem5-users@gem5.org
 http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users



-- IMPORTANT NOTICE: The contents of this email and any attachments are 
confidential and may also be privileged. If you are not the intended recipient, 
please notify the sender immediately and do not disclose the contents to any 
other person, use it for any purpose, or store or copy the information in any 
medium. Thank you.

ARM Limited, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, Registered 
in England  Wales, Company No: 2557590
ARM Holdings plc, Registered office 110 Fulbourn Road, Cambridge CB1 9NJ, 
Registered in England  Wales, Company No: 2548782___
gem5-users mailing list
gem5-users@gem5.org
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Re: [gem5-users] ARMv8 Client-Server configuration

2014-08-08 Thread Ali Saidi via gem5-users
Hi Ivan,

The kernel that you’re using and the currently gem5 don’t support pci devices 
with arm64. I hope to remedy this within a week.

Thanks,
Ali

On Aug 6, 2014, at 3:42 PM, Ivan Stalev via gem5-users gem5-users@gem5.org 
wrote:

 Hi everyone,
 
 I am trying to run a client-server setup using arm64. I am using the (latest) 
 linaro kernel (3.16) and disk image suggested on the GEM5 downloads page. 
 Simply building the kernel with defconfig (as recommended in the README) does 
 not seem to setup the ethernet drivers. Running ifconfig -a only yields the 
 loopback device/interface. 
 
 I then opened up the .config (generated by defconfig) using menuconfig and 
 enabled all the settings related to ethernet and re-built the kernel. After 
 booting, ifconfig -a results in this:
 
 bond0 Link encap:Ethernet  HWaddr CA:FB:D0:02:D0:7E
   BROADCAST MASTER MULTICAST  MTU:1500  Metric:1
   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
   TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 
 dummy0Link encap:Ethernet  HWaddr 02:58:3E:AF:F3:41
   BROADCAST NOARP  MTU:1500  Metric:1
   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
   TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
 
 loLink encap:Local Loopback
   inet addr:127.0.0.1  Mask:255.0.0.0
   UP LOOPBACK RUNNING  MTU:65536  Metric:1
   RX packets:8 errors:0 dropped:0 overruns:0 frame:0
   TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
   collisions:0 txqueuelen:0
   RX bytes:784 (784.0 B)  TX bytes:784 (784.0 B)
 
 I tried running the sample client-server rcS scripts and tried both dummy0 
 and bond0, but pings did not go through. From others' posts and sample rcS 
 scripts, it seems that GEM5 expects eth0. 
 
 Does anyone know if client-server is supported for arm64 in GEM5, and if so, 
 how to get them to communicate? I am using the latest GEM5 revision (10240). 
 
 Thanks!
 
 ___
 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