KMview installation howto
From VirtualSquare
Here is the step by step recipe of kmview kernel module installation.
Contents |
[edit] step 0
be aware that you are testing experimental software
[edit] step 1
download the kmview_kernel_module software from our svn repository on sourceforge
[edit] step 2 up to linux 2.6.37
download your favourite kernel (>2.6.22 <2.6.37). Check into the kernel_patches subdirectory that we have already updated the kernel patches for that kernel.
[edit] step 3 up to linux 2.6.37
download and install the latest utrace patches for the kernel you downloaded (from [1] or from [2])
[edit] steps 2-3 for kernels 3.0 and newer
get the utrace enabled source code from git: https://github.com/utrace e.g.
git clone git://github.com/utrace/linux utrace-3.2
[edit] step 4
(optional) apply also our ptrace patches (it is not needed for runninng kmview, it provides extensions to ptrace: this patch speeds up umview.)
[edit] step 5
compile and install the kernel as usual.
Note: We use kvm and qemu as a developing environment for kmview. If you want to test kmview without updating your kernel you can also have the kernel loaded by kvm or qemu:
$ kvm bzImage -append root=/dev/hda1 -m 256 -hda hd.image -net nic -net vde -monitor stdio
This command loads the kernel image on kvm (and starts a vde network connection to the main vde-switch).
[edit] step 6
change directory to the directory kmview_kernel_module you downloaded from our svn and type:
# make
if the new kernel has already been installed, otherwise type:
# make KERNELDIR="/path/to/your/kernel_source/"
[edit] step 7
boot the kernel, then run
# insmod kmview
[edit] step 8
create the device:
# mkdev /dev/kmview c 10 233 # chmod 666 /dev/kmview
[edit] step 9
Compile kmview included in our svn repository (Directory UMVIEW).
$ autoreconf -i $ make $ sudo make install
Now you can enjoy kmview.

