show sidebar
1) Debian related openssi code ( stable branch ) is available in the OPENSSI-DB-1-2-STABLE 
branch of cvs.
   You can check out the same using 

   cvs login
   cvs -z3 co  -r OPENSSI-DB-1-2-STABLE ci

   cvs login
   cvs -z3 co  -r OPENSSI-DB-1-2-STABLE openssi

2 ) Building OpenSSI kernel on Debian( you need to have gawk installed )
	check out the debian stable branch
	cvs -z3 co  -r OPENSSI-DB-1-2-STABLE ci
	cvs -z3 co  -r OPENSSI-DB-1-2-STABLE openssi

 Now you need to get the base kernel against with the above checked out openssi changes are made. 

 You can checkout the base kernel by using the below command
 cvs -z3 co  srpms/linux-X-Y-Z.bz2

 Extract  linux-X-Y-Z.bz2 to linux directory so that we have a directory layout as below

kvaneesh@machineheads:~/myopensource/debian$ bzcat /home/opensource/cvs/srpms/linux-fc-2.4.22-1.2199.nptl.tar.bz2 | tar -xvf -
kvaneesh@machineheads:~/myopensource/debian$ ls
ci  linux  openssi
kvaneesh@machineheads:~/myopensource/debian$ cd openssi/
kvaneesh@machineheads:~/myopensource/debian/openssi$ make fullkern
kvaneesh@machineheads:~/myopensource/debian/openssi$ cd ..
kvaneesh@machineheads:~/myopensource/debian$ ls    
ci  linux  linux-ssi  openssi

 This should give you  linux-ssi dir which is the linux kernel with ssi changes

3) Build the kernel. 

	You can use the sample config file available at 

	You may need to fine tune it as per your requirement

4)To build ci and openssi tools you need to have the Linux kernel source patched with the OpenSSI changes. Now to build the tools

	cd ci
	./scripts/build-debian ci <package-directory>

	make sure the packages are built correctly. 

	cd openssi
	<ci-directory>/scripts/build-debian openssi <package-directory> 

	One need to make sure all package dependencies are met and packages are built correctly. 
	A look at <cluster-tools-directory>/scripts/build-debian should help to understan how the packages
	are build.

Building the kernel using source present in apt-get repository

To build your own kernel:
   apt-get install kernel-source-2.4.22-1.2199.nptl-ssi-686-smp
   cd /usr/src
   tar xvjf kernel-source-2.4.22-1.2199.nptl-ssi*
   ln -s /usr/src/kernel-source-2.4.22-1.2199.nptl-ssi-686-smp /usr/src/linux
   cd linux

Configure the right kernel with the necessary options (make menuconfig )
You can use the sample config file present in the debian branch as the starting porint

Run the build-kernel script located in the CVS at openssi/kernel-package.

This will build a debian kernel package.

This page last updated on Thu Dec 15 17:15:45 2005 GMT
privacy and legal statement