Hi Giacomo,
No segfault with the patch.
Many thanks.

Willy

On Thu, 21 Mar 2019 at 05:31, Giacomo Travaglini
<[email protected]> wrote:
>
> Hi Willy,
>
> that's probably a known bug in the circular queue.
> I have created a patch for that issue, which is still under review
>
> https://gem5-review.googlesource.com/c/public/gem5/+/17188
>
> Let me know if this fixes the issue
>
> Giacomo
>
> ________________________________
> From: gem5-dev <[email protected]> on behalf of Willy Wolff 
> <[email protected]>
> Sent: 20 March 2019 16:24
> To: [email protected]
> Subject: [gem5-dev] arm fs checkpointing segfault
>
> Hi,
>
> I try to play with gem5 for ARM device simulation. Saddly, I get a
> segfault when I try to checkoint.
> I don't know what to report or what to do, so here a lot of info.
> The gdb session is still active.
>
> last gem5 commit is 91195ae7f637d1d4879cc3bf0860147333846e75
>
> Many thanks in advance.
>
> Best Regards,
> Willy
>
> Thursday 2019-03-14 20:59:58
> willy@macpro-scc:/home/willy/Data/Projects/PhD_temperature/simulation/gem5
> $ gdb -ex run --args ./build/ARM/gem5.debug
> --outdir=$PWD/m5_debug_halt_simple configs/example/fs.py
> --kernel=$PWD/linux/vmlinux --machine-type=VExpress_GEM5_V1
> --dtb-file=$PWD/system/arm/dt/armv7_gem5_v1_1cpu.dtb
> --disk-image=$PWD/../about_gem5/arm-system-dacapo-2011-08/arm-ubuntu-natty-headless-java.img
> --script=$PWD/tests/halt_simple.sh
> GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
> Copyright (C) 2016 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.  Type "show
> copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-linux-gnu".
> Type "show configuration" for configuration details.
> For bug reporting instructions, please see:
> <http://www.gnu.org/software/gdb/bugs/>.
> Find the GDB manual and other documentation resources online at:
> <http://www.gnu.org/software/gdb/documentation/>.
> For help, type "help".
> Type "apropos word" to search for commands related to "word"...
> Reading symbols from ./build/ARM/gem5.debug...done.
> Starting program:
> /home/willy/Data/Projects/PhD_temperature/simulation/gem5/build/ARM/gem5.debug
> --outdir=/home/willy/Data/Projects/PhD_temperature/simulation/gem5/m5_debug_halt_simple
> configs/example/fs.py --kernel=/home/willy/Data/Proj
> ects/PhD_temperature/simulation/gem5/linux/vmlinux
> --machine-type=VExpress_GEM5_V1
> --dtb-file=/home/willy/Data/Projects/PhD_temperature/simulation/gem5/system/arm/dt/armv7_gem5_v1_1cpu.dtb
> --disk-image=/home/willy/Data/Projects/PhD_tempe
> rature/simulation/gem5/../about_gem5/arm-system-dacapo-2011-08/arm-ubuntu-natty-headless-java.img
> --script=/home/willy/Data/Projects/PhD_temperature/simulation/gem5/tests/halt_simple.sh
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> gem5 Simulator System.  http://gem5.org
> gem5 is copyrighted software; use the --copyright option for details.
>
> gem5 compiled Mar 13 2019 22:16:54
> gem5 started Mar 14 2019 21:01:01
> gem5 executing on macpro-scc, pid 7947
> command line: 
> /home/willy/Data/Projects/PhD_temperature/simulation/gem5/build/ARM/gem5.debug
> --outdir=/home/willy/Data/Projects/PhD_temperature/simulation/gem5/m5_debug_halt_simple
> configs/example/fs.py --kernel=/home/willy/Data/Projects
> /PhD_temperature/simulation/gem5/linux/vmlinux
> --machine-type=VExpress_GEM5_V1
> --dtb-file=/home/willy/Data/Projects/PhD_temperature/simulation/gem5/system/arm/dt/armv7_gem5_v1_1cpu.dtb
> --disk-image=/home/willy/Data/Projects/PhD_temperatu
> re/simulation/gem5/../about_gem5/arm-system-dacapo-2011-08/arm-ubuntu-natty-headless-java.img
> --script=/home/willy/Data/Projects/PhD_temperature/simulation/gem5/tests/halt_simple.sh
>
> Global frequency set at 1000000000000 ticks per second
> warn: DRAM device capacity (8192 Mbytes) does not match the address
> range assigned (512 Mbytes)
> info: kernel located at:
> /home/willy/Data/Projects/PhD_temperature/simulation/gem5/linux/vmlinux
> warn: Bootloader entry point 0x10 overriding reset address 0
> system.vncserver: Listening for connections on port 5900
> system.terminal: Listening for connections on port 3456
> 0: system.remote_gdb: listening for remote gdb on port 7000
> info: Using bootloader at address 0x10
> info: Using kernel entry physical address at 0x80008000
> info: Loading DTB file:
> /home/willy/Data/Projects/PhD_temperature/simulation/gem5/system/arm/dt/armv7_gem5_v1_1cpu.dtb
> at address 0x88000000
> **** REAL SIMULATION ****
> warn: Existing EnergyCtrl, but no enabled DVFSHandler found.
> info: Entering event queue @ 0.  Starting simulation...
> warn: The csselr register isn't implemented.
> warn: The ccsidr register isn't implemented and always reads as 0.
> warn:   instruction 'mcr dcisw' unimplemented
> warn: Not doing anything for miscreg ACTLR
> warn: Not doing anything for write of miscreg ACTLR
> warn:   instruction 'mcr icimvau' unimplemented
> warn:   instruction 'mcr bpiallis' unimplemented
> warn: The clidr register always reports 0 caches.
> warn: clidr LoUIS field of 0b001 to match current ARM implementations.
> warn:   instruction 'mcr icialluis' unimplemented
> info: trap check M:0 N:0 1:0 2:0 hdcr 0, hcptr 3fff, hstr 0
> info: trap check M:0 N:0 1:0 2:0 hdcr 0, hcptr 3fff, hstr 0
> info: trap check M:0 N:0 1:0 2:0 hdcr 0, hcptr 3fff, hstr 0
> info: trap check M:0 N:0 1:0 2:0 hdcr 0, hcptr 3fff, hstr 0
> info: trap check M:0 N:0 1:0 2:0 hdcr 0, hcptr 3fff, hstr 0
> info: trap check M:0 N:0 1:0 2:0 hdcr 0, hcptr 3fff, hstr 0
> info: trap check M:0 N:0 1:0 2:0 hdcr 0, hcptr 3fff, hstr 0
> warn: Tried to read RealView I/O at offset 0x60 that doesn't exist
> warn: Tried to read RealView I/O at offset 0x48 that doesn't exist
> warn: Tried to write RVIO at offset 0xa8 (data 0) that doesn't exist
> warn: Tried to write RVIO at offset 0xa8 (data 0) that doesn't exist
> warn: Tried to write RVIO at offset 0xa8 (data 0) that doesn't exist
> warn: Tried to write RVIO at offset 0xa8 (data 0) that doesn't exist
> info: trap check M:0 N:0 1:0 2:0 hdcr 0, hcptr 3fff, hstr 0
> info: trap check M:0 N:0 1:0 2:0 hdcr 0, hcptr 3fff, hstr 0
> info: trap check M:0 N:0 1:0 2:0 hdcr 0, hcptr 3fff, hstr 0
> info: trap check M:0 N:0 1:0 2:0 hdcr 0, hcptr 3fff, hstr 0
> info: trap check M:0 N:0 1:0 2:0 hdcr 0, hcptr 3fff, hstr 0
> info: trap check M:0 N:0 1:0 2:0 hdcr 0, hcptr 3fff, hstr 0
> info: trap check M:0 N:0 1:0 2:0 hdcr 0, hcptr 3fff, hstr 0
> info: trap check M:0 N:0 1:0 2:0 hdcr 0, hcptr 3fff, hstr 0
> warn: CP14 unimplemented crn[1], opc1[0], crm[3], opc2[4]
> warn: CP14 unimplemented crn[1], opc1[0], crm[0], opc2[4]
> warn: CP14 unimplemented crn[0], opc1[0], crm[7], opc2[0]
> warn: Tried to read RealView I/O at offset 0x8 that doesn't exist
> warn: Tried to read RealView I/O at offset 0x48 that doesn't exist
> warn: Tried to write RVIO at offset 0xa8 (data 0) that doesn't exist
> warn: Tried to write RVIO at offset 0xa8 (data 0) that doesn't exist
> warn:   instruction 'mcr bpiall' unimplemented
> warn: context 0: 100000 consecutive store conditional failures
> Writing checkpoint
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x000055555764fcf9 in std::__copy_move<false, false,
> std::random_access_iterator_tag>::__copy_m<CircularQueue<unsigned
> char>::iterator, unsigned char*> (__first=..., __last=...,
>     __result=0x555564d20000 <error: Cannot access memory at address
> 0x555564d20000>) at /usr/include/c++/6/bits/stl_algobase.h:324
> 324                   *__result = *__first;
> (gdb) bt
> #0  0x000055555764fcf9 in std::__copy_move<false, false,
> std::random_access_iterator_tag>::__copy_m<CircularQueue<unsigned
> char>::iterator, unsigned char*> (__first=..., __last=...,
>     __result=0x555564d20000 <error: Cannot access memory at address
> 0x555564d20000>) at /usr/include/c++/6/bits/stl_algobase.h:324
> #1  0x000055555764f985 in std::__copy_move_a<false,
> CircularQueue<unsigned char>::iterator, unsigned char*> (__first=...,
> __last=..., __result=0x55555ba69800 "") at
> /usr/include/c++/6/bits/stl_algobase.h:386
> #2  0x000055555764f496 in std::__copy_move_a2<false,
> CircularQueue<unsigned char>::iterator,
> __gnu_cxx::__normal_iterator<unsigned char*, std::vector<unsigned
> char, std::allocator<unsigned char> > > > (__first=..., __last=...,
>     __result=0 '\000') at /usr/include/c++/6/bits/stl_algobase.h:422
> #3  0x000055555764eaf2 in std::copy<CircularQueue<unsigned
> char>::iterator, __gnu_cxx::__normal_iterator<unsigned char*,
> std::vector<unsigned char, std::allocator<unsigned char> > > >
> (__first=..., __last=..., __result=0 '\000')
>     at /usr/include/c++/6/bits/stl_algobase.h:456
> #4  0x000055555764dac1 in CircleBuf<unsigned
> char>::peek<__gnu_cxx::__normal_iterator<unsigned char*,
> std::vector<unsigned char, std::allocator<unsigned char> > > >
> (this=0x55555aa12b40, out=0 '\000', offset=0, len=2048)
>     at build/ARM/base/circlebuf.hh:95
> #5  0x000055555764cb10 in CircleBuf<unsigned
> char>::peek<__gnu_cxx::__normal_iterator<unsigned char*,
> std::vector<unsigned char, std::allocator<unsigned char> > > >
> (this=0x55555aa12b40, out=0 '\000', len=2048)
>     at build/ARM/base/circlebuf.hh:80
> #6  0x000055555764bb25 in Fifo<unsigned
> char>::peek<__gnu_cxx::__normal_iterator<unsigned char*,
> std::vector<unsigned char, std::allocator<unsigned char> > > >
> (this=0x55555aa12b40, out=0 '\000', len=2048)
>     at build/ARM/base/circlebuf.hh:158
> #7  0x000055555764aa4e in arrayParamOut<unsigned char> (cp=...,
> name="buffer", param=...) at build/ARM/base/circlebuf.hh:202
> #8  0x0000555557641d71 in DmaReadFifo::serialize (this=0x55555aa12b00,
> cp=...) at build/ARM/dev/dma_device.cc:314
> #9  0x0000555556e0a126 in HDLcd::DmaEngine::serialize
> (this=0x55555aa12b00, cp=...) at build/ARM/dev/arm/hdlcd.cc:619
> #10 0x0000555556e7f540 in Serializable::serializeSection
> (this=0x55555aa12b18, cp=..., name=0x5555588b9385 "dmaEngine") at
> build/ARM/sim/serialize.cc:179
> #11 0x0000555556e06cbe in HDLcd::serialize (this=0x55555b46be00,
> cp=...) at build/ARM/dev/arm/hdlcd.cc:150
> #12 0x0000555556e7f540 in Serializable::serializeSection
> (this=0x55555b46be00, cp=..., name=0x55555ba571e0
> "system.realview.hdlcd") at build/ARM/sim/serialize.cc:179
> #13 0x0000555556e33fea in Serializable::serializeSection
> (this=0x55555b46be00, cp=..., name="system.realview.hdlcd") at
> build/ARM/sim/serialize.hh:238
> #14 0x0000555556e82038 in SimObject::serializeAll (cp=...) at
> build/ARM/sim/sim_object.cc:149
> #15 0x0000555556e7f7bf in Serializable::serializeAll
> (cpt_dir="/home/willy/Data/Projects/PhD_temperature/simulation/gem5/m5_debug_halt_simple/cpt.%d")
> at build/ARM/sim/serialize.cc:205
> #16 0x0000555557612c77 in
> pybind11::detail::argument_loader<std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> >
> const&>::call_impl<void, void (*&)(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::
> allocator<char> > const&), 0ul, pybind11::detail::void_type>(void
> (*&)(std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&), pybind11::detail::index_sequence<0ul>,
> pybind11::detail::void_type&&) (
>     this=0x7fffffffd060, f=@0x55555a6be9b8: 0x555556e7f5ea
> <Serializable::serializeAll(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&)>) at
> ext/pybind11/include/pybind11/cast.h:1860
> #17 0x0000555557606afd in
> pybind11::detail::argument_loader<std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&>::call<void,
> pybind11::detail::void_type, void
> (*&)(std::__cxx11::basic_string<char, std::
> char_traits<char>, std::allocator<char> > const&)>(void
> (*&)(std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&)) && (this=0x7fffffffd060,
>     f=@0x55555a6be9b8: 0x555556e7f5ea
> <Serializable::serializeAll(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&)>) at
> ext/pybind11/include/pybind11/cast.h:1842
> #18 0x00005555575fb2b8 in void pybind11::cpp_function::initialize<void
> (*&)(std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&), void, std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allo
> cator<char> > const&, pybind11::name, pybind11::scope,
> pybind11::sibling>(void (*&)(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&), void
> (*)(std::__cxx11::basic_string<char, std::char_traits<char>
> , std::allocator<char> > const&), pybind11::name const&,
> pybind11::scope const&, pybind11::sibling
> const&)::{lambda(pybind11::detail::function_call&)#3}::operator()(pybind11::detail::function_call&)
> const (__closure=0x0, call=...)
>     at ext/pybind11/include/pybind11/pybind11.h:153
> #19 0x00005555575fb454 in void pybind11::cpp_function::initialize<void
> (*&)(std::__cxx11::basic_string<char, std::char_traits<char>,
> std::allocator<char> > const&), void, std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allo
> cator<char> > const&, pybind11::name, pybind11::scope,
> pybind11::sibling>(void (*&)(std::__cxx11::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&), void
> (*)(std::__cxx11::basic_string<char, std::char_traits<char>
> , std::allocator<char> > const&), pybind11::name const&,
> pybind11::scope const&, pybind11::sibling
> const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&)
> ()
>     at ext/pybind11/include/pybind11/pybind11.h:131
> #20 0x0000555556eb5e7d in pybind11::cpp_function::dispatcher
> (self=0x7ffff49ea900, args_in=0x7ffff271da90, kwargs_in=0x0) at
> ext/pybind11/include/pybind11/pybind11.h:629
> #21 0x00007ffff78ca091 in PyEval_EvalFrameEx () from
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
> #22 0x00007ffff7a3129c in PyEval_EvalCodeEx () from
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
> #23 0x00007ffff78c825d in PyEval_EvalFrameEx () from
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
> #24 0x00007ffff7a3129c in PyEval_EvalCodeEx () from
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
> #25 0x00007ffff78c825d in PyEval_EvalFrameEx () from
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
> #26 0x00007ffff7a3129c in PyEval_EvalCodeEx () from
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
> #27 0x00007ffff78c825d in PyEval_EvalFrameEx () from
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
> #28 0x00007ffff7a3129c in PyEval_EvalCodeEx () from
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
> #29 0x00007ffff78c19c9 in PyEval_EvalCode () from
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
> #30 0x00007ffff78c87f4 in PyEval_EvalFrameEx () from
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
> #31 0x00007ffff7a3129c in PyEval_EvalCodeEx () from
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
> #32 0x00007ffff78c825d in PyEval_EvalFrameEx () from
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
> #33 0x00007ffff7a3129c in PyEval_EvalCodeEx () from
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
> #34 0x00007ffff78c19c9 in PyEval_EvalCode () from
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
> #35 0x00007ffff7979196 in PyRun_StringFlags () from
> /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0
> #36 0x0000555556e7d5fc in m5Main (argc=8, _argv=0x7fffffffe438) at
> build/ARM/sim/init.cc:303
> #37 0x0000555556cc621c in main (argc=8, argv=0x7fffffffe438) at
> build/ARM/sim/main.cc:69
>
>
>
> Wednesday 2019-03-20 15:44:34 willy@macpro-scc:/home/willy
> $ gcc --version
> gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
> Copyright (C) 2016 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> Wednesday 2019-03-20 15:44:37 willy@macpro-scc:/home/willy
> $ g++ --version
> g++ (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
> Copyright (C) 2016 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> Wednesday 2019-03-20 15:45:26 willy@macpro-scc:/home/willy
> $ arm-linux-gnueabihf-gcc --version
> arm-linux-gnueabihf-gcc (Debian 6.3.0-18) 6.3.0 20170516
> Copyright (C) 2016 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> Wednesday 2019-03-20 15:46:03 willy@macpro-scc:/home/willy
> $ arm-linux-gnueabihf-g++ --version
> arm-linux-gnueabihf-g++ (Debian 6.3.0-18) 6.3.0 20170516
> Copyright (C) 2016 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> Wednesday 2019-03-20 15:44:48 willy@macpro-scc:/home/willy
> $ uname -a
> Linux macpro-scc 4.9.0-8-amd64 #1 SMP Debian 4.9.144-3 (2019-02-02)
> x86_64 GNU/Linux
>
> Wednesday 2019-03-20 15:45:22 willy@macpro-scc:/home/willy
> $ cat /etc/os-release
> PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
> NAME="Debian GNU/Linux"
> VERSION_ID="9"
> VERSION="9 (stretch)"
> ID=debian
> HOME_URL="https://www.debian.org/";
> SUPPORT_URL="https://www.debian.org/support";
> BUG_REPORT_URL="https://bugs.debian.org/";
>
> Wednesday 2019-03-20 15:47:20
> willy@macpro-scc:/home/willy/Data/Projects/PhD_temperature/simulation/gem5
> $ cat $PWD/tests/halt_simple.sh
> # echo "system ls"
> # ls
>
> # echo "system ls /"
> # ls /
>
> echo "m5 Checkpointing simulation: boot"
> m5 checkpoint
>
> # echo "system ls"
> # ls
>
> echo "m5 Checkpointing simulation: exit"
> m5 checkpoint
>
> echo "m5 exit"
> m5 exit
>
>
> Wednesday 2019-03-20 15:49:14
> willy@macpro-scc:/home/willy/Data/Projects/PhD_temperature/simulation/gem5
> $ cat m5_debug_halt_simple/system.terminal
> [    0.000000] Booting Linux on physical CPU 0x0
> [    0.000000] Linux version 4.14.0+ (willy@macpro-scc) (gcc version
> 6.3.0 20170516 (Debian 6.3.0-18)) #1 SMP PREEMPT Mon Mar 4 16:18:35
> GMT 2019
> [    0.000000] CPU: ARMv7 Processor [410fc0f0] revision 0 (ARMv7), cr=14c5387d
> [    0.000000] CPU: div instructions available: patching division code
> [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT
> instruction cache
> [    0.000000] OF: fdt: Machine model: V2P-CA15
> [    0.000000] OF: fdt: Ignoring memory range 0x100000000 - 0x480000000
> [    0.000000] bootconsole [earlycon0] enabled
> [    0.000000] Memory policy: Data cache writealloc
> [    0.000000] cma: Reserved 16 MiB at 0x9f000000
> [    0.000000] On node 0 totalpages: 131072
> [    0.000000] free_area_init_node: node 0, pgdat 80c684c0,
> node_mem_map 9eb70000
> [    0.000000]   Normal zone: 1152 pages used for memmap
> [    0.000000]   Normal zone: 0 pages reserved
> [    0.000000]   Normal zone: 131072 pages, LIFO batch:31
> [    0.000000] random: fast init done
> [    0.000000] percpu: Embedded 17 pages/cpu @9eb5a000 s40588 r8192
> d20852 u69632
> [    0.000000] pcpu-alloc: s40588 r8192 d20852 u69632 alloc=17*4096
> [    0.000000] pcpu-alloc: [0] 0
> [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages:
> 129920
> [    0.000000] Kernel command line: earlyprintk=pl011,0x1c090000
> console=ttyAMA0 lpj=19988480 norandmaps rw loglevel=8 mem=512MB
> root=/dev/sda1
> [    0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
> [    0.000000] Dentry cache hash table entries: 65536 (order: 6,
> 262144 bytes)
> [    0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072
> bytes)
> [    0.000000] Memory: 490800K/524288K available (8192K kernel code,
> 439K rwdata, 1652K rodata, 1024K init, 193K bss, 17104K reserved,
> 16384K cma-reserved, 0K highmem)
> [    0.000000] Virtual kernel memory layout:
> [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
> [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
> [    0.000000]     vmalloc : 0xa0800000 - 0xff800000   (1520 MB)
> [    0.000000]     lowmem  : 0x80000000 - 0xa0000000   ( 512 MB)
> [    0.000000]     pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
> [    0.000000]     modules : 0x7f000000 - 0x7fe00000   (  14 MB)
> [    0.000000]       .text : 0x80008000 - 0x80900000   (9184 kB)
> [    0.000000]       .init : 0x80b00000 - 0x80c00000   (1024 kB)
> [    0.000000]       .data : 0x80c00000 - 0x80c6dce0   ( 440 kB)
> [    0.000000]        .bss : 0x80c77064 - 0x80ca756c   ( 194 kB)
> [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1,
> Nodes=1
> [    0.000000] Preemptible hierarchical RCU implementation.
> [    0.000000]  RCU restricting CPUs from NR_CPUS=32 to nr_cpu_ids=1.
> [    0.000000]  Tasks RCU enabled.
> [    0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
> [    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
> [    0.000000]  Offload RCU callbacks from CPUs: .
> [    0.000000] arch_timer: cp15 timer(s) running at 25.16MHz (virt).
> [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff
> max_cycles: 0x5cdd39714, max_idle_ns: 440795202620 ns
> [    0.000001] sched_clock: 56 bits at 25MHz, resolution 39ns, wraps
> every 4398046511084ns
> [    0.000007] Switching to timer-based delay loop, resolution 39ns
> [    0.000101] Console: colour dummy device 80x30
> [    0.000106] Calibrating delay loop (skipped) preset value.. 9994.24
> BogoMIPS (lpj=19988480)
> [    0.000112] pid_max: default: 32768 minimum: 301
> [    0.000150] Mount-cache hash table entries: 1024 (order: 0, 4096
> bytes)
> [    0.000155] Mountpoint-cache hash table entries: 1024 (order: 0,
> 4096 bytes)
> [    0.000313] CPU: Testing write buffer coherency: ok
>
>
>                [105/170]
> [    0.000352] /cpus/cpu@0 missing clock-frequency property
> [    0.000357] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
> [    0.016004] Setting up static identity map for 0x80100000 - 0x80100060
> [    0.024001] Hierarchical SRCU implementation.
> [    0.040014] smp: Bringing up secondary CPUs ...
> [    0.040018] smp: Brought up 1 node, 1 CPU
> [    0.040022] SMP: Total of 1 processors activated (9994.24 BogoMIPS).
> [    0.040025] CPU: All CPU(s) started in SVC mode.
> [    0.040140] devtmpfs: initialized
> [    0.044087] VFP support v0.3: implementor 41 architecture 4 part 30
> variant a rev 0
> [    0.044128] clocksource: jiffies: mask: 0xffffffff max_cycles:
> 0xffffffff, max_idle_ns: 7645041785100000 ns
> [    0.044134] futex hash table entries: 256 (order: 2, 16384 bytes)
> [    0.044800] NET: Registered protocol family 16
> [    0.048338] DMA: preallocated 256 KiB pool for atomic coherent allocations
> [    0.080354] cpuidle: using governor ladder
> [    0.080363] cpuidle: using governor menu
> [    0.080471] hw-breakpoint: Debug register access (0xee113e93)
> caused undefined instruction on CPU 0
> [    0.080476] hw-breakpoint: Debug register access (0xee013e90)
> caused undefined instruction on CPU 0
> [    0.080481] hw-breakpoint: Debug register access (0xee003e17)
> caused undefined instruction on CPU 0
> [    0.080485] hw-breakpoint: CPU 0 failed to disable vector catch
> [    0.080493] Serial: AMBA PL011 UART driver
> [    0.080779] 1c090000.uart: ttyAMA0 at MMIO 0x1c090000 (irq = 22,
> base_baud = 0) is a PL011 rev3
> [    0.080785] console [ttyAMA0] enabled
> [    0.080785] console [ttyAMA0] enabled
> [    0.080789] bootconsole [earlycon0] disabled
> [    0.080789] bootconsole [earlycon0] disabled
> [    0.100232] vgaarb: loaded
> [    0.100307] SCSI subsystem initialized
> [    0.104076] libata version 3.00 loaded.
> [    0.104125] pps_core: LinuxPPS API ver. 1 registered
> [    0.104129] pps_core: Software ver. 5.3.6 - Copyright 2005-2007
> Rodolfo Giometti <[email protected]>
> [    0.104138] PTP clock support registered
> [    0.108298] clocksource: Switched to clocksource arch_sys_counter
> [    0.135775] NET: Registered protocol family 2
> [    0.135936] TCP established hash table entries: 4096 (order: 2, 16384 
> bytes)
> [    0.135960] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
> [    0.135985] TCP: Hash tables configured (established 4096 bind 4096)
> [    0.136003] UDP hash table entries: 256 (order: 1, 8192 bytes)
> [    0.136012] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
> [    0.136052] NET: Registered protocol family 1
> [    0.136059] PCI: CLS 0 bytes, default 64
> [    0.137329] audit: initializing netlink subsys (disabled)
> [    0.137502] audit: type=2000 audit(0.135:1): state=initialized
> audit_enabled=0 res=1
> [    0.137581] workingset: timestamp_bits=14 max_order=17 bucket_order=3
> [    0.139816] zbud: loaded
> [    0.140384] squashfs: version 4.0 (2009/01/31) Phillip Lougher
> [    0.140502] fuse init (API version 7.26)
> [    0.142885] Block layer SCSI generic (bsg) driver version 0.4
> loaded (major 250)
> [    0.148258] io scheduler noop registered (default)
> [    0.148262] io scheduler deadline registered
> [    0.148333] io scheduler cfq registered
> [    0.148336] io scheduler mq-deadline registered
> [    0.148340] io scheduler kyber registered
> [    0.148962] OF: PCI: host bridge /pci ranges:
> [    0.148966] OF: PCI:   No bus range found for /pci, using [bus 00-ff]
> [    0.148973] OF: PCI:    IO 0x2f000000..0x2f00ffff -> 0x00000000
> [    0.148980] OF: PCI:   MEM 0x40000000..0x7fffffff -> 0x40000000
> [    0.150634] pci-host-generic 30000000.pci: ECAM at [mem
> 0x30000000-0x3fffffff] for [bus 00-ff]
> [    0.150673] pci-host-generic 30000000.pci: PCI host bridge to bus 0000:00
> [    0.150678] pci_bus 0000:00: root bus resource [bus 00-ff]
> [    0.150684] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
> [    0.150689] pci_bus 0000:00: root bus resource [mem 0x40000000-0x7fffffff]
> [    0.150698] pci 0000:00:01.0: [8086:7111] type 00 class 0x010185
> [    0.150705] pci 0000:00:01.0: reg 0x10: [io  0x0000-0x0007]
> [    0.150711] pci 0000:00:01.0: reg 0x14: [io  0x0000-0x0003]
>
>
>                 [40/170]
> [    0.150717] pci 0000:00:01.0: reg 0x18: [io  0x0000-0x0007]
> [    0.150723] pci 0000:00:01.0: reg 0x1c: [io  0x0000-0x0003]
> [    0.150729] pci 0000:00:01.0: reg 0x20: [io  0x0000-0x000f]
> [    0.150736] pci 0000:00:01.0: reg 0x30: [mem 0x00000000-0x000007ff pref]
> [    0.150785] PCI: bus0: Fast back to back transfers enabled
> [    0.150792] pci 0000:00:01.0: BAR 6: assigned [mem
> 0x40000000-0x400007ff pref]
> [    0.150798] pci 0000:00:01.0: BAR 4: assigned [io  0x1000-0x100f]
> [    0.150804] pci 0000:00:01.0: BAR 0: assigned [io  0x1010-0x1017]
> [    0.150811] pci 0000:00:01.0: BAR 2: assigned [io  0x1018-0x101f]
> [    0.150817] pci 0000:00:01.0: BAR 1: assigned [io  0x1020-0x1023]
> [    0.150823] pci 0000:00:01.0: BAR 3: assigned [io  0x1024-0x1027]
> [    0.152480] [drm] found ARM HDLCD version r0p0
> [    0.152514] hdlcd 2b000000.hdlcd: bound virt-encoder (ops 0x80935cdc)
> [    0.152519] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
> [    0.152523] [drm] No driver support for vblank timestamp query.
> [    0.215159] Console: switching to colour frame buffer device 240x67
> [    0.230370] hdlcd 2b000000.hdlcd: fb0:  frame buffer device
> [    0.230489] [drm] Initialized hdlcd 1.0.0 20151021 for
> 2b000000.hdlcd on minor 0
> [    0.233354] brd: module loaded
> [    0.235991] loop: module loaded
> [    0.248308] drbd: initialized. Version: 8.4.10 (api:1/proto:86-101)
> [    0.248312] drbd: built-in
> [    0.248315] drbd: registered as block device major 147
> [    0.256276] rbd: loaded
> [    0.256430] zram: Added device: zram0
> [    0.264333] ata_piix 0000:00:01.0: version 2.13
> [    0.264338] ata_piix 0000:00:01.0: enabling device (0040 -> 0041)
> [    0.272258] scsi host0: ata_piix
> [    0.280257] scsi host1: ata_piix
> [    0.280312] ata1: PATA max UDMA/33 cmd 0x1010 ctl 0x1020 bmdma 0x1000 irq 
> 27
> [    0.280317] ata2: PATA max UDMA/33 cmd 0x1018 ctl 0x1024 bmdma 0x1008 irq 
> 27
> [    0.280428] e1000: Intel(R) PRO/1000 Network Driver - version 
> 7.3.21-k8-NAPI
> [    0.280432] e1000: Copyright (c) 1999-2006 Intel Corporation.
> [    0.280449] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
> [    0.280453] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
> [    0.280470] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
> [    0.280474] igb: Copyright (c) 2007-2014 Intel Corporation.
> [    0.280492] ixgb: Intel(R) PRO/10GbE Network Driver - version 
> 1.0.135-k2-NAPI
> [    0.280496] ixgb: Copyright (c) 1999-2008 Intel Corporation.
> [    0.280513] ns83820.c: National Semiconductor DP83820 10/100/1000 driver.
> [    0.280716] mousedev: PS/2 mouse device common for all mice
> [    0.280815] rtc-pl031 1c170000.rtc: rtc core: registered pl031 as rtc0
> [    0.280842] i2c /dev entries driver
> [    0.280864] IR NEC protocol handler initialized
> [    0.280868] IR RC5(x/sz) protocol handler initialized
> [    0.280872] IR RC6 protocol handler initialized
> [    0.280875] IR JVC protocol handler initialized
> [    0.280879] IR Sony protocol handler initialized
> [    0.280882] IR SANYO protocol handler initialized
> [    0.280886] IR Sharp protocol handler initialized
> [    0.280889] IR MCE Keyboard/mouse protocol handler initialized
> [    0.280893] IR XMP protocol handler initialized
> [    0.280945] gem5_energy_ctrl_mc: gem5_mc_init: No energy controller found
> [    0.280971] ledtrig-cpu: registered to indicate activity on CPUs
> [    0.281061] ipip: IPv4 and MPLS over IPv4 tunneling driver
> [    0.281176] gre: GRE over IPv4 demultiplexor driver
> [    0.281179] ip_gre: GRE over IPv4 tunneling driver
> [    0.281657] NET: Registered protocol family 10
> [    0.288842] Segment Routing with IPv6
> [    0.288865] mip6: Mobile IPv6
> [    0.288868] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
> [    0.289170] ip6_gre: GRE over IPv6 tunneling driver
> [    0.289326] NET: Registered protocol family 17
> [    0.289346] NET: Registered protocol family 33
> [    0.289349] Key type rxrpc registered
> [    0.289353] Key type rxrpc_s registered
> [    0.289362] 8021q: 802.1Q VLAN Support v1.8
> [    0.289377] sctp: Hash tables configured (bind 512/512)
> [    0.289452] 9pnet: Installing 9P2000 support
> [    0.289467] Key type ceph registered
> [    0.296294] libceph: loaded (mon/osd proto 15/24)
> [    0.296368] Registering SWP/SWPB emulation handler
> [    0.296483] registered taskstats version 1
> [    0.296494] zswap: loaded using pool lzo/zbud
> [    0.296620] rtc-pl031 1c170000.rtc: setting system clock to
> 2009-01-01 00:00:00 UTC (1230768000)
> [    0.384333] input: AT Raw Set 2 keyboard as
> /devices/platform/1c060000.kmi/serio0/input/input0
> [    0.440370] ata1.00: ATA-7: M5 IDE Disk, , max UDMA/66
> [    0.440375] ata1.00: 6291936 sectors, multi 0: LBA
> [    0.440536] ata1.00: configured for UDMA/33
> [    0.440594] scsi 0:0:0:0: Direct-Access     ATA      M5 IDE Disk
>   n/a  PQ: 0 ANSI: 5
> [    0.440775] sd 0:0:0:0: Attached scsi generic sg0 type 0
> [    0.440929] sd 0:0:0:0: [sda] 6291936 512-byte logical blocks:
> (3.22 GB/3.00 GiB)
> [    0.440945] sd 0:0:0:0: [sda] Write Protect is off
> [    0.440949] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
> [    0.440975] sd 0:0:0:0: [sda] Write cache: disabled, read cache:
> enabled, doesn't support DPO or FUA
> [    0.441258]  sda: sda1
> [    0.441482] sd 0:0:0:0: [sda] Attached SCSI disk
> [    0.796339] input: PS/2 Generic Mouse as
> /devices/platform/1c070000.kmi/serio1/input/input2
> [    0.796555] EXT4-fs (sda1): mounting ext3 file system using the
> ext4 subsystem
> [    0.804847] EXT4-fs (sda1): mounted filesystem with ordered data
> mode. Opts: (null)
> [    0.804855] VFS: Mounted root (ext3 filesystem) on device 8:1.
> [    0.806271] devtmpfs: mounted
> [    0.806887] Freeing unused kernel memory: 1024K
> [    0.874703] EXT4-fs (sda1): re-mounted. Opts: (null)
> [    1.282855] Buffer I/O error on dev sda1, logical block 3145936,
> async page read
> [    1.282908] Buffer I/O error on dev sda1, logical block 3145936,
> async page read
> [    1.282914] Buffer I/O error on dev sda1, logical block 3145936,
> async page read
> [    1.282920] Buffer I/O error on dev sda1, logical block 3145936,
> async page read
> [    1.283427] Buffer I/O error on dev sda1, logical block 3145936,
> async page read
> [    1.283433] Buffer I/O error on dev sda1, logical block 3145936,
> async page read
> [    1.283448] Buffer I/O error on dev sda1, logical block 3145936,
> async page read
> m5 Checkpointing simulation: boot
> _______________________________________________
> gem5-dev mailing list
> [email protected]
> http://m5sim.org/mailman/listinfo/gem5-dev
> 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.
_______________________________________________
gem5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/gem5-dev

Reply via email to