Installing Linux/RK
To use linuxrk, you need an environment that can run
linux 2.2.x. (LinuxRK is based on 2.2.10). We have had
success on Redhat 6.0 and other 2.2.x distributions.
All you need to do to install linuxrk is the regular procedure
required upgrade your kernel. (RK code is already patched into the
linux kernel tree in this CD.)
For more information on how to upgrade your kernel,
consult /usr/doc/HOWTO/Kernel-HOWTO.
Briefly, the procedure would be something similar to the following.
- Configure and compile the kernel.
% cd linux
% make configure
% make dep; make clean
% make bzImage
% make modules
% make modules_install
- Install the Kernel
% cp arch/i386/... /boot/...
- Set up initial Ramdisk
The purpose of the initial ram disk is to allow a modular kernel to
have access to modules that it might need to boot from before the
kernel has access to the device where the modules normally
reside. eg. SCSI controllers.
% mkinitrd /boot/initrd-2.2.10.img 2.1.10
- Edit lilo.conf
then,
% lilo -v
For the latest information, please go to
http://www.cs.cmu.edu/~rajkumar/linux_rk.html
Troubleshooting
- Linux/RK does not compile
We have seen several cases where Linux/RK does not compile, when
- the source tree is copied from the CD using 'cp' and
did not preserve the symbolic link relationship. (used 'tar'
instead)
- using newer versions of the
compiler. Different distribution come with different
compilers. So far, we have successfully tested our system
with Redhat 6.0, 6.1. We have reports that Debian has a
newer compiler (egcs) that have trouble with our source
code.