title: GEM5 Full System Simulation for X86 Fatal Error: No kernel to load
body: <p>I need to run FS mode <code>Gem5</code> for <code>X86</code> architecture. Following all the available instructions:</p>
  <ol>
  <li>I set the environment variable using:</li>
  </ol>
  <pre><code>M5_PATH=&quot;/home/vikas/full_system_images/&quot; &gt;&gt; ./.bashrc
  </code></pre>
  <ol start="2">
  <li>When I try to run the Gem5 as following:</li>
  </ol>
  <pre><code>./build/X86/gem5.opt configs/example/fs.py --disk-image=/home/mysys/full-system-images/disks/linux-x86.img
  </code></pre>
  <p>I get the error:</p>
  <pre><code>warn: CheckedInt already exists in allParams. This may be caused by the Python 2.7 compatibility layer.
  warn: Enum already exists in allParams. This may be caused by the Python 2.7 compatibility layer.
  warn: ScopedEnum already exists in allParams. This may be caused by the Python 2.7 compatibility layer.
  gem5 Simulator System.  http://gem5.org
  gem5 is copyrighted software; use the --copyright option for details.
  
  gem5 version 20.0.0.2
  gem5 compiled Jun 22 2020 16:34:19
  gem5 started Jun 23 2020 16:08:24
  gem5 executing on pc80-99-linux, pid 3941
  command line: ./build/X86/gem5.opt configs/example/fs.py --disk-image=/home/mysys/full-system-images/disks/linux-x86.img
  
  Global frequency set at 1000000000000 ticks per second
  warn: No dot file generated. Please install pydot to generate the dot file and pdf.
  warn: DRAM device capacity (8192 Mbytes) does not match the address range assigned (512 Mbytes)
  info: No kernel set for full system simulation. Assuming you know what you're doing.
  system.pc.com_1.device: Listening for connections on port 3456
        0: system.pc.south_bridge.cmos.rtc: Real-time clock set to Sun Jan  1 00:00:00 2012
  0: system.remote_gdb: listening for remote gdb on port 7000
  warn: Reading current count from inactive timer.
  ***fatal: fatal condition !kernelObj occurred: No kernel to load.***
  Memory Usage: 674344 KBytes
  </code></pre>
  <p>I really need help to find out how to solve this problem.</p>