logo       
Google Custom Search
    AddThis Social Bookmark Button

[SSI] openssi/docs/debian/devel INSTALL.cvs,NONE,1.1: msg#00108

Subject: [SSI] openssi/docs/debian/devel INSTALL.cvs,NONE,1.1
Update of /cvsroot/ssic-linux/openssi/docs/debian/devel
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16109/debian/devel

Added Files:
        INSTALL.cvs 
Log Message:
Reorganization of openssi/docs to be common across all distro branches


--- NEW FILE: INSTALL.cvs ---
1) Debian related openssi code is available in the OPENSSI-DEBIAN branch of cvs.
   You can check out the same using 

   cvs -d:pserver:anonymous@xxxxxxxxxxxxxxxxxxx:/cvsroot/ci-linux login
   cvs -z3 -d:pserver:anonymous@xxxxxxxxxxxxxxxxxxx:/cvsroot/ci-linux co  -r 
OPENSSI-DEBIAN ci

   cvs -d:pserver:anonymous@xxxxxxxxxxxxxxxxxxx:/cvsroot/ssic-linux login
   cvs -z3 -d:pserver:anonymous@xxxxxxxxxxxxxxxxxxx:/cvsroot/ssic-linux co  -r 
OPENSSI-DEBIAN openssi

2 ) Building OpenSSI kernel on Debian( you need to have gawk installed )
        As of now we are using the kernel provided in the redhat branch for 
Debian too. 
        You can check out the redhat branch using below commands
        cvs -z3 -d:pserver:anonymous@xxxxxxxxxxxxxxxxxxx:/cvsroot/ci-linux co  
-r OPENSSI-RH ci
        cvs -z3 -d:pserver:anonymous@xxxxxxxxxxxxxxxxxxx:/cvsroot/ssic-linux co 
 -r OPENSSI-RH 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 -d:pserver:anonymous@xxxxxxxxxxxxxxxxxxx:/cvsroot/ssic-linux 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/redhat$ bzip2 -d  
linux-rh-2.4.20-28.9.tar.bz2
kvaneesh@machineheads:~/myopensource/redhat$ tar -xvf linux-rh-2.4.20-28.9.tar 
kvaneesh@machineheads:~/myopensource/redhat$ ls
ci  linux  linux-rh-2.4.20-28.9.tar  openssi
kvaneesh@machineheads:~/myopensource/redhat$ 
kvaneesh@machineheads:~/myopensource/redhat$ cd openssi/
kvaneesh@machineheads:~/myopensource/redhat/openssi$ make fullkern
kvaneesh@machineheads:~/myopensource/redhat/openssi$ cd ..
kvaneesh@machineheads:~/myopensource/redhat$ ls    
ci  linux  linux-rh-2.4.20-28.9.tar  linux-ssi  openssi
kvaneesh@machineheads:~/myopensource/redhat$ 

 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 
        <openssi-redhat-co>/kernel.configs/

        You may need to fine tune it as per your requirement
        You can also get the sample config at 
http://www.openssi.org/contrib/debian/


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> 

        The above steps is bit tricky even though some packages fails to build 
the scripts won't fail.
        So 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.

5) now install the packages using install-ci and install-openssi scripts in the 
<package-directory>


Building the kernel using source present in apt-get repository
--------------------

To build your own kernel:
   apt-get install kernel-source-2.4.22-ac1-686-smp
   cd /usr/src
   tar xvjf kernel-source-2.4.22.ac1*
   ln -s /usr/src/kernel-source-2.4.22-ac1-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 redhat branch as the starting 
porint
(openssi/kernel.configs/)

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

This will build a debian kernel package.



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click



Try Searching:
servers, voip, java, networking, microsoft ...
<Prev in Thread] Current Thread [Next in Thread>