The following steps should allow you to get the basic components of Laplace downloaded, installed, and running. Laplace is a flexible tool, and so this page will not cover all of the uses that we have developed for it so far. However, it should be enough to get the machine simulator producing a kernel trace and raw reference trace.
setenv LAPLACE_TRACE_DATA_ADDRESS c020ab40This value is specific to the Laplace-modified Linux kernel. If you make changes to the kernel, you will need to change this value to match the location at which the trace_data structure is loaded. When you compile your new version of the kernel, just look at the System.map file produced by the kernel compilation, and search for the symbol trace_data.
mkfifo reference-trace kernel-traceThese pipes can be consumed by a compression utility such as gzip. Better yet, you can download, compile, and use one of the reference handlers found on the downloads page. Some are made just to handle just the reference trace, while others handle both the reference and kernel traces. These utilities are designed perform useful transformations and compression on the traces depending on your intended use for them.
./bochs-laplace -nocontrolpanelThis command will bring up the Laplace-modified Bochs x86 machine simulator. Note that bochs-basic, a non-modified version of the simulator is also provided as a fail-safe. Also note that if you are not running Laplace on a Linux/x86 host system, then you will need to download Bochs and the Laplace-Bochs patch from the downloads page and compile them for your platform.
If these steps work, then you can boot and modify the simulated system however you wish. Bochs is capable of networking through a simulated NE2000 card. The file bochsrc.txt contains the configuration information for the simulated machine, including that network card. Note that if you run more than one instance of Bochs and network those simulated machines, you must pick separate MAC addresses for each simulated NE2000 card! You will also need to modify the network configuration within the running Bochs system so that it will operate on your network.
Once you've configured the system as you choose, you can use the reference handlers to reduce and compress the output from tracing. The results from the reference handlers can then be used with the merge utility (again, available on the downloads page), which can reconstruct the state of the system from the traces, reconciling shared memory mappings, file use, and per-task (that is, kernel thread) referencing information.