Red Hat GLOBAL FILE SYSTEM 4.7 Podręcznik Użytkownika Strona 123

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 122
Building the HP SFS client kit manually C–5
d. Add the additional required patches to the kernel.spec file in the same way that you applied
the Lustre patches. See Section 3.2.6 for a list of additional patches.
You can find the additional patches in the src directory; the series file (which lists the
patches) is on the HP StorageWorks Scalable File Share Client Software CD-ROM under the
client_enabler/src/arch/distro/patches/ directory.
The following is an example of the command that you would use to copy the required patches
into the output/src/ directory:
$ for i in $(cat /mnt/cdrom/client_enabler/src/x86_64/RHEL3.0_U7/patches/
client_RHEL3_U7_series);
do cp src/"$i" output/src/; done
e. Modify the kernel.spec file, as follows:
Set the release to a unique identifier so that this kernel can be easily distinguished from the
standard kernel.
Turn off all build targets except the build target that is appropriate for your system.
f. Modify the kernel config files as appropriate for your system and your interconnects.
For example, the following settings are required for an x86_64 architecture system with a
Quadrics interconnect:
#
# Quadrics QsNet device support
#
CONFIG_QSNET=m
CONFIG_ELAN3=m
CONFIG_ELAN4=m
CONFIG_EP=m
CONFIG_EIP=m
CONFIG_RMS=m
CONFIG_JTAG=m
CONFIG_IOPROC=y
CONFIG_PTRACK=y
#
# Set the stack size
#
# CONFIG_NOBIGSTACK is not set
CONFIG_STACK_SIZE_16KB=y
# CONFIG_STACK_SIZE_32KB is not set
# CONFIG_STACK_SIZE_64KB is not set
CONFIG_STACK_SIZE_SHIFT=2
You can find the config files in the output/src directory. (Note that you can generate a
customized and correct config file by following the instructions (provided below) for creating a
built kernel tree.)
g. Build the kernel, by entering the following command:
$ rpmbuild -ba output/specs/kernel.spec
h. Copy the built kernel sources from the output/build to the build/ directory, and fix the
tree, as follows:
$ cp -pr output/build/kernel-2.4.21/linux-2.4.21/ build/
$ cd build/linux/
$ make dep
$ cd ../../
Przeglądanie stron 122
1 2 ... 118 119 120 121 122 123 124 125 126 127 128 ... 133 134

Komentarze do niniejszej Instrukcji

Brak uwag