Hello, Does the file configs/learning_gem5/part1/simple.py work for you? If so, then there is probably a small mistake in your configuration script. If this is the case, can you send your script (maybe off list)? I would like to understand the problem and improve the error message.
Cheers, Jason On Fri, Oct 8, 2021 at 12:35 AM saheed - via gem5-users <gem5-users@gem5.org> wrote: > Hello, > > I am following the Getting started instructions, I am stuck at the > beginning! > "Creating a simple configuration script". > > I am using the current stable version of gem5 on a Debian (buster) system. > > 1. `build/X86/mem/mem_interface.cc:793: warn: DRAM device capacity (8192 > Mbytes) does not match the address range assigned (512 Mbytes)` > > I managed to fix this by increasing `system.mem_ranges` to 8GB. > Buried somewhere on the internet is a comment about something defaulting to > 8GB. > > 2. `warn: No dot file generated. Please install pydot to generate the dot > file and pdf.` > > I have installed this with `sudo apt install python-pydot > python-pydot-ng graphviz` . Could this be because my system is running in > server mode (no GUI)? > > 3. *The SEG. FAULT:* > Here is the whole load down, please let me know what I am doing wrong > > ~/DEV/comp-arch/gem5$ build/X86/gem5.opt configs/tutorial/simple.py > gem5 Simulator System. http://gem5.org > gem5 is copyrighted software; use the --copyright option for details. > > gem5 version 21.1.0.2 > gem5 compiled Oct 8 2021 08:16:42 > gem5 started Oct 8 2021 09:27:49 > gem5 executing on saheed-deb, pid 22197 > command line: build/X86/gem5.opt configs/tutorial/simple.py > > Global frequency set at 1000000000000 ticks per second > warn: No dot file generated. Please install pydot to generate the dot file > and pdf. > Beginning simulation! > build/X86/sim/simulate.cc:107: info: Entering event queue @ 0. Starting > simulation... > gem5 has encountered a segmentation fault! > > --- BEGIN LIBC BACKTRACE --- > build/X86/gem5.opt(+0x9275b9)[0x55a3a34815b9] > build/X86/gem5.opt(+0x9417ff)[0x55a3a349b7ff] > /lib/x86_64-linux-gnu/libpthread.so.0(+0x12730)[0x7f63c4fbf730] > build/X86/gem5.opt(+0x986654)[0x55a3a34e0654] > build/X86/gem5.opt(+0x4b9847)[0x55a3a3013847] > build/X86/gem5.opt(+0x4b21a5)[0x55a3a300c1a5] > build/X86/gem5.opt(+0x4b2e18)[0x55a3a300ce18] > build/X86/gem5.opt(+0x933e75)[0x55a3a348de75] > build/X86/gem5.opt(+0x95aad1)[0x55a3a34b4ad1] > build/X86/gem5.opt(+0x95b2a2)[0x55a3a34b52a2] > build/X86/gem5.opt(+0xe7d3ce)[0x55a3a39d73ce] > build/X86/gem5.opt(+0x39276d)[0x55a3a2eec76d] > > /lib/x86_64-linux-gnu/libpython3.7m.so.1.0(PyCFunction_Call+0xfb)[0x7f63c5243b5b] > > /lib/x86_64-linux-gnu/libpython3.7m.so.1.0(_PyEval_EvalFrameDefault+0x78e0)[0x7f63c5044700] > > /lib/x86_64-linux-gnu/libpython3.7m.so.1.0(_PyEval_EvalCodeWithName+0x996)[0x7f63c516c1e6] > > /lib/x86_64-linux-gnu/libpython3.7m.so.1.0(_PyFunction_FastCallKeywords+0x93)[0x7f63c5243123] > > /lib/x86_64-linux-gnu/libpython3.7m.so.1.0(_PyEval_EvalFrameDefault+0x7b95)[0x7f63c50449b5] > > /lib/x86_64-linux-gnu/libpython3.7m.so.1.0(_PyEval_EvalCodeWithName+0x996)[0x7f63c516c1e6] > > /lib/x86_64-linux-gnu/libpython3.7m.so.1.0(PyEval_EvalCodeEx+0x3e)[0x7f63c516c46e] > > /lib/x86_64-linux-gnu/libpython3.7m.so.1.0(PyEval_EvalCode+0x1b)[0x7f63c516d23b] > /lib/x86_64-linux-gnu/libpython3.7m.so.1.0(+0x1a2bdd)[0x7f63c5170bdd] > > /lib/x86_64-linux-gnu/libpython3.7m.so.1.0(_PyMethodDef_RawFastCallKeywords+0x2a5)[0x7f63c5242c75] > > /lib/x86_64-linux-gnu/libpython3.7m.so.1.0(_PyCFunction_FastCallKeywords+0x25)[0x7f63c5243a05] > > /lib/x86_64-linux-gnu/libpython3.7m.so.1.0(_PyEval_EvalFrameDefault+0x8bde)[0x7f63c50459fe] > > /lib/x86_64-linux-gnu/libpython3.7m.so.1.0(_PyEval_EvalCodeWithName+0x996)[0x7f63c516c1e6] > > /lib/x86_64-linux-gnu/libpython3.7m.so.1.0(_PyFunction_FastCallKeywords+0x93)[0x7f63c5243123] > > /lib/x86_64-linux-gnu/libpython3.7m.so.1.0(_PyEval_EvalFrameDefault+0x7b95)[0x7f63c50449b5] > > /lib/x86_64-linux-gnu/libpython3.7m.so.1.0(_PyEval_EvalCodeWithName+0x996)[0x7f63c516c1e6] > > /lib/x86_64-linux-gnu/libpython3.7m.so.1.0(PyEval_EvalCodeEx+0x3e)[0x7f63c516c46e] > > /lib/x86_64-linux-gnu/libpython3.7m.so.1.0(PyEval_EvalCode+0x1b)[0x7f63c516d23b] > > /lib/x86_64-linux-gnu/libpython3.7m.so.1.0(PyRun_StringFlags+0x8b)[0x7f63c513afeb] > build/X86/gem5.opt(+0x93fa1f)[0x55a3a3499a1f] > --- END LIBC BACKTRACE --- > Segmentation fault > > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-le...@gem5.org > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s
_______________________________________________ gem5-users mailing list -- gem5-users@gem5.org To unsubscribe send an email to gem5-users-le...@gem5.org %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s