�
[
General info | Step1 | Step2 | Step3 ]
|
Installing
High-speed TCP-LP Linux kernel
|
There are 3 steps in
installing HSTCP-LP in Linux. First, you have to install the Linux-2.4.22 kernel.
Second, you have to install the Web 100 kernel by applying an appropriate
patch. Third, you have to add the HSTCP-LP kernel. Detailed instructions on how
to do the three steps are given below.
Top
Step 1: Installing Linux-2.4.22 kernel
|
The complete installation
information could be found here. A shorter version is given below.
- Download linux-2.4.22.tar.gz
- #cd /usr/src
- #gunzip linux-2.4.22.tar.gz
- #tar -xvf linux-2.4.22.tar
- #cd linux-2.4.22
You should next
configure your kernel setup depending on your hardware. Should you have any
problems with this step, you may try using our configuration file (good_config) that supports minimum hardware
options. However, there are no guarantees that it will work on your machine.
- #cp good_config config.save
- #make mrproper
- #cp config.save .config
- To load the configuration file, do #make menuconfig and go to the end of the menu and
use the option Load
an Alternative Configuration File and then pick the appropriate file (.config) and
finally save the configuration when exiting the menu.
- #make dep
- #make clean
- #make bzImage
- #make modules
- #make modules_install
- #make install
- #cd /etc
- (grub.conf users) If you are using grub.conf file, then
open grub.conf file and edit the line default=1 to default=0. In this way, after booting the machine, the default kernel version
should be the 2.4.22 version. Also, check that your grub.conf have the following
lines:
title Red Hat Linux (2.4.22)
root (hd0,0)
kernel /vmlinuz-2.4.22 ro root=/dev/hda2
initrd /initrd-2.4.22.img
- (lilo.conf users) If you are using lilo.conf, open
lilo.conf file and edit by changing the default=linux line into default=linux-2.4.22 �Next, add
image=/boot/vmlinuz-2.4.22
label=linux-2.4.22
root=/dev/hda2
- Reboot the machine: #shutdown -r now
Top
Step 2: Installing Web
100 kernel
|
The complete Web 100 kernel
installation information could be found here, and the right patch version is alpha 2.3 that could be found here. A shorter installation guide is given below.
- Download web100-2.3-200309121025.tgz
- #cd /usr/src/linux-2.4.22
- #gunzip web100-2.3-200309121025.tgz
- #tar -xvf web100-2.3-200309121025.tar
- #cp ./web100/web100-2.4.22-2.3-200309121025.patch
.
- #patch -p3 <
web100-2.4.22-2.2-200309121025.patch
- #cp .config config.save
- #make mrproper
- #cp config.save .config
- #make menuconfig
- To enable web100 features select the following options:
Code
maturity level options --->
[*] Prompt
for development and/or incomplete code/drivers
Processor
type and features --->
[*] Symmetric multi-processing support (Select for SMPs only)
Networking options --->
[*] Web100 networking enhancements (NEW)
[*] Web100: TCP statistics (NEW)
[*] Web100: Net100 extensions (NEW)
[*] Web100: netlink event notification service (NEW)
(7) Web100: default winscale initial value (NEW)
- #make dep
- #make clean
- #make bzImage
- #make modules
- #make modules_install
- #make install
- #cd /etc
- (grub.conf users) If you are using grub.conf file, then
open grub.conf file and edit the line default=1 to default=0. In this way, after booting the machine, the default kernel version
should be the 2.4.22-web100 version. Also, check that your grub.conf have
the following lines:
title Red Hat Linux (2.4.22-web100)
root (hd0,0)
kernel /vmlinuz-2.4.22-web100 ro root=/dev/hda2
initrd /initrd-2.4.22-web100.img
- (lilo.conf users) If you are using lilo.conf, open
lilo.conf file and edit by changing the default=linux-2.4.22 line into default=linux-2.4.22-web100. Next, add
image=/boot/vmlinuz-2.4.22-web100
label=linux-2.4.22-web100
root=/dev/hda2
- Reboot the machine: #shutdown -r now
The Linux-2.4.22-web100 is
installed on your machine.
Optionally, you may install a
shared library with a set of utilities (the userland - version 1.3), which
allows the easy reading and manipulation of Web 100 instruments. Detailed
userland installation instructions could be found here.
Top
Step3: Installing HSTCP-LP kernel
|
All HSTCP-LP source files
could be downloaded here. The HSTCP-LP installation guide is
given below.
- #cd /usr/src/linux-2.4.22
- Edit Makefile and change line
EXTRAVERSION = -web100 into
EXTRAVERSION = -web100-HSTCP-LP
- #cp sock.h /usr/src/linux-2.4.22/include/net/.
- #cp tcp_ecn.h
/usr/src/linux-2.4.22/include/net/.
- #cp tcp.h
/usr/src/linux-2.4.22/include/net/.
- #cp tcp_ipv4.c /usr/src/linux-2.4.22/net/ipv4/.
- #cp tcp_input.c
/usr/src/linux-2.4.22/net/ipv4/.
- #cp tcp_output.c
/usr/src/linux-2.4.22/net/ipv4/.
- #make dep
- #make clean
- #make bzImage
- #make modules
- #make modules_install
- #make install
- #cd /etc
- (grub.conf users) If you are using grub.conf file, then
open grub.conf file and edit the line default=1 to default=0. In this way, after booting the machine, the default kernel version
should be the 2.4.22-web100-HSTCP-LP version. Also, check that your
grub.conf have the following lines:
title Red Hat Linux (2.4.22-web100-HSTCP-LP)
root (hd0,0)
kernel /vmlinuz-2.4.22-web100-HSTCP-LP ro root=/dev/hda2
initrd /initrd-2.4.22-web100-HSTCP-LP.img
- (lilo.conf users) If you are using lilo.conf, open
lilo.conf file and edit by changing the default=linux-2.4.22-web100 line into default=linux-2.4.22-web100-HSTCP-LP. Next, add
image=/boot/vmlinuz-2.4.22-web100-HSTCP-LP
label=linux-2.4.22-web100-HSTCP-LP
root=/dev/hda2
- Reboot the machine: #shutdown -r now
The
Linux-2.4.22-web100-HSTCP-LP is installed on your machine.
Top
December, 2004, Aleksandar Kuzmanovic