Re: [SSI-devel] kernel build problem
Brought to you by:
brucewalker,
rogertsang
From: <ia...@g7...> - 2005-07-26 18:55:04
|
On Mon, Jul 25, 2005 at 05:22:49PM -0700, Brian J. Watson wrote: > If the INSTALL.cvs documentation is misleading, can you submit a patch > to fix it? I can commit the change to the repository. Patch below for the debian branch, for the file: openssi/docs/debian/devel/INSTALL.cvs, making some changes to section 2. More may well need to be done in section 5, but since section 3 is giving me issues, I'll get to that later if needed. It being reasonably small, I've also attached it, in case thats easier for you to handle. Iain ---BEGIN INCLUDE FILE--- --- INSTALL.cvs.orig 2005-07-26 18:43:47.000000000 +0100 +++ INSTALL.cvs 2005-07-26 18:59:07.000000000 +0100 @@ -8,39 +8,37 @@ cvs -z3 -d:pserver:ano...@cv...:/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:ano...@cv...:/cvsroot/ci-linux co -r OPENSSI-RH ci - cvs -z3 -d:pserver:ano...@cv...:/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:ano...@cv...:/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-2.6.10.tar.bz2 -kvaneesh@machineheads:~/myopensource/redhat$ tar -xvf linux-2.6.10.tar -kvaneesh@machineheads:~/myopensource/redhat$ ls -ci linux linux-2.6.10.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-2.6.10.tar linux-ssi openssi -kvaneesh@machineheads:~/myopensource/redhat$ - This should give you linux-ssi dir which is the linux kernel with ssi changes + You need to obtain a vanilla linux tree from www.kernel.org, or one + of it's mirrors. Currently you need version 2.6.10 + Extract linux-X-Y-Z.bz2 to linux directory so that we have a directory layout as below + + iain@endeavour:~/openssi-debian$ bzip2 -d linux-2.6.10.tar.bz2 + iain@endeavour:~/openssi-debian$ tar -xvf linux-2.6.10.tar + iain@endeavour:~/openssi-debian$ mv linux-2.6.10 linux + + This should give you a set of directories, as shown: + + iain@endeavour:~/openssi-debian$ ls + ci linux linux-2.6.10.tar openssi + + iain@endeavour:~/openssi-debian$ cd openssi/ + iain@endeavour:~/openssi-debian$ make fullkern + iain@endeavour:~/openssi-debian$ cd ../ + + Should give you a linux-ssi directory. This is the OpenSSI patched + kernel, as shown: + + iain@endeavour:~/openssi-debian$ ls + ci linux linux-2.6.10.tar linux-ssi openssi 3) Build the kernel. You can use the sample config file available at - <openssi-redhat-co>/kernel.configs/ + <openssi-debian-co>/kernel.configs/ - You may need to fine tune it as per your requirement + You will need to fine tune it as per your requirement You can also get the sample config at http://www.openssi.org/contrib/debian/ ---END INCLUDE FILE--- |