Hi all, this is my first time using dist-gem5, but I have a working knowledge 
of gem5.


I have everything setup correctly, I think, but I keep getting the following 
panic message: "No 32bit reads implemented for this device. Offset 0x44", and I 
have run out of ideas to fix or work around it.


The testsys.terminal outputs suggests that the images are all loaded correctly 
and things run fine until it gets to calling executing application. I have 
updated the image to include the mpi libraries so that I can call mpirun 
(armv8-linux-gnueabi-mpirun). When I boot the image in a VM, I can run the 
application just fine with mpirun. But it keep getting this panic message when 
it's run inside dist-gem5.


I am using arm64 setup. The image is aarch64-ubuntu-trysty-headless.img, the vm 
is vmlinux.aarch64.20140821, and the dtb is express.aarch64.20140821.dtb.


Here are the text outputs;


***** rcS *****


# --------------------------------------------

#  ------ Start your tests below ... ---------

# --------------------------------------------

## Start workload

NUM_CORES=$(/sbin/m5 initparam num-cpus)

echo "Num-Cores: $NUM_CORES"


echo "[RKA] Load modules and set omp threads..."

export OMP_NUM_THREADS=$NUM_CORES  #Number of threads to use


echo "[RKA] Start work..."


if [ "$MY_RANK" == "0" ]

then

    echo "[RKA] Stats dump and rest..."

    /sbin/m5 dumpstats

    /sbin/m5 resetstats


    echo "[RKA] Starting workload..."


    cd /benchmarks/lulesh


    mpirun -np ${MY_SIZE} ./lulesh2.0 -s 5 -i 10


    /sbin/m5 exit 1

else

    printf "Wait for main to finish ...\n"

    while /bin/true

    do

sleep 5

printf "."

    done

fi


***** m5out.0/testsys.terminal *****


[RKA] bootscript.rcS running

[RKA] Rank: 0

[RKA] Size: 2

[RKA] Address: 02

[RKA] Set ethernet config...

[    3.600382] CPU3: failed to come online

[RKA] Display updated config...

eth0      Link encap:Ethernet  HWaddr 00:90:00:00:00:02

          inet addr:192.168.0.2  Bcast:192.168.0.255  Mask:255.255.255.0

          UP BROADCAST 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:1000

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


lo        Link encap:Local Loopback

          inet addr:127.0.0.1  Mask:255.0.0.0

          UP LOOPBACK RUNNING  MTU:65536  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)


Preparing hosts for mpirun. Rank: 0 of 2

PING 192.168.0.2 (192.168.0.2) 56(84) bytes of data.

64 bytes from 192.168.0.2: icmp_seq=1 ttl=64 time=0.003 ms


--- 192.168.0.2 ping statistics ---

1 packets transmitted, 1 received, 0% packet loss, time 0ms

rtt min/avg/max/mdev = 0.003/0.003/0.003/0.000 ms

PING 192.168.0.3 (192.168.0.3) 56(84) bytes of data.

64 bytes from 192.168.0.3: icmp_seq=1 ttl=64 time=997 ms


--- 192.168.0.3 ping statistics ---

1 packets transmitted, 1 received, 0% packet loss, time 0ms

rtt min/avg/max/mdev = 997.900/997.900/997.900/0.000 ms

Num-Cores: 2

[RKA] Load modules and set omp threads...

[RKA] Start work...

[RKA] Stats dump and rest...

[RKA] Starting workload...

[    4.620381] CPU2: failed to come online



***** m5out.1/testsys.terminal *****


[RKA] bootscript.rcS is running

[RKA] Rank: 1

[RKA] Size: 2

[RKA] Address: 03

[RKA] Set ethernet config...

[    3.600382] CPU3: failed to come online

[RKA] Display updated config...

eth0      Link encap:Ethernet  HWaddr 00:90:00:00:00:03

          inet addr:192.168.0.3  Bcast:192.168.0.255  Mask:255.255.255.0

          UP BROADCAST 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:1000

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)


lo        Link encap:Local Loopback

          inet addr:127.0.0.1  Mask:255.0.0.0

          UP LOOPBACK RUNNING  MTU:65536  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)


Preparing hosts for mpirun. Rank: 1 of 2

Num-Cores: 2

[RKA] Load modules and set omp threads...

[RKA] Start work...

Wait for main to finish ...

[    4.620382] CPU2: failed to come online


***** Log.0 *****


command line: gem5-dist/000.init/util/dist/test/./../../../build/ARM/gem5.opt 
-d gem5-dist/000.init/util/dist/test/m5out.0 
--debug-flags=EthernetAll,DistEthernetAll 
gem5-dist/000.init/util/dist/test/./../../../configs/example/fs.py 
--cpu-type=AtomicSimpleCPU --num-cpus=2 --machine-type=VExpress_EMM64 
--disk-image=aarch64-ubuntu-trusty-headless.img 
--kernel=vmlinux.aarch64.20140821 --dtb-filename=vexpress.aarch64.20140821.dtb 
--script=gem5-dist/000.init/util/dist/test/./../../../util/dist/test/bootscript.rcS
 --checkpoint-dir=gem5-dist/000.init/util/dist/test/m5out.0 --dist 
--dist-rank=0 --dist-size=2 --dist-server-name=bhx0062 --dist-server-port=2200


info: Standard input is not a terminal, disabling listeners.

Global frequency set at 1000000000000 ticks per second

      0: etherlink: Switch Link created. Delay: 10000000, Speed: 800

      0: global: DistIface() ctor rank:0

warn: DRAM device capacity (8192 Mbytes) does not match the address range 
assigned (512 Mbytes)

info: kernel located at: gem5-dist/full_system/binaries/vmlinux.aarch64.20140821

warn: Highest ARM exception-level set to AArch32 but bootloader is for AArch64. 
Assuming you wanted these to match.

warn: Sockets disabled, not accepting vnc client connections

warn: Sockets disabled, not accepting terminal connections

      0: etherlink: DistEtherLink::init() called

…

…

…

18290945047000: testsys.realview.ethernet: Checking interrupts icr: 0 imr: 0x9d

18290945047000: testsys.realview.ethernet: Mask cleaned all interrupts

18290945047000: testsys.realview.ethernet: ITR = 0XC3 itr.interval = 0XC3

panic: No 32bit reads implemented for this device. Offset 0x44

Memory Usage: 1243356 KBytes

Program aborted at tick 18372912712000

--- BEGIN LIBC BACKTRACE ---


***** log.1 *****


command line: gem5-dist/000.init/util/dist/test/./../../../build/ARM/gem5.opt 
-d gem5-dist/000.init/util/dist/test/m5out.1 
--debug-flags=EthernetAll,DistEthernetAll 
gem5-dist/000.init/util/dist/test/./../../../configs/example/fs.py 
--cpu-type=AtomicSimpleCPU --num-cpus=2 --machine-type=VExpress_EMM64 
--disk-image=aarch64-ubuntu-trusty-headless.img 
--kernel=vmlinux.aarch64.20140821 --dtb-filename=vexpress.aarch64.20140821.dtb 
--script=gem5-dist/000.init/util/dist/test/./../../../util/dist/test/bootscript.rcS
 --checkpoint-dir=gem5-dist/000.init/util/dist/test/m5out.1 --dist 
--dist-rank=1 --dist-size=2 --dist-server-name=bhx0062 --dist-server-port=2200


info: Standard input is not a terminal, disabling listeners.

Global frequency set at 1000000000000 ticks per second

      0: etherlink: Switch Link created. Delay: 10000000, Speed: 800

      0: global: DistIface() ctor rank:1

warn: DRAM device capacity (8192 Mbytes) does not match the address range 
assigned (512 Mbytes)

info: kernel located at: gem5-dist/full_system/binaries/vmlinux.aarch64.20140821

warn: Highest ARM exception-level set to AArch32 but bootloader is for AArch64. 
Assuming you wanted these to match.

warn: Sockets disabled, not accepting vnc client connections

warn: Sockets disabled, not accepting terminal connections

      0: etherlink: DistEtherLink::init() called


…

…

…

18290981199500: testsys.realview.ethernet: ITR = 0XCD itr.interval = 0XCD

18290982340500: testsys.realview.ethernet: Checking interrupts icr: 0 imr: 0x9d

18290982340500: testsys.realview.ethernet: Mask cleaned all interrupts

18290982340500: testsys.realview.ethernet: ITR = 0XC3 itr.interval = 0XC3

info: recv(): Connection closed

Exiting @ tick 18372920000000 because connection to gem5 peer got closed



Any help would be appreciated.


Thanks,

Richard
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to