Marvell Serial ATA PCI-X Adapter RedHat Installation Disk README ---------------------------------------------------------------- This README file explains how to create a boot disk for RedHat Linux based distributions. The result of the process is a single boot disk that is suitable for UP,SMP and bigmem kernels. The supported RedHat distributions are: RedHat 8, RedHat 9 and RedHat Enterprise 3. Fedora Core 2, Fedora Core 3 and Fedota Core 5. The supported platforms: i386, x86_64 The supported cpus: i386, i686, athlon and x86_64 compatible cpus (AMD64, Intel EM64T). The creation process must run on a machine with one of the supported cpus and under a RedHat Linux kernel without SMP, BOOT or bigmem configurations. For RedHat Enterprise 3 targets, binary drivers will be created for i686 and athlon cpus in the same package. For RedHat 8, 9 and Fedora Core 2/3/5 the created package will include binary drivers suitable only for the cpu type of the machine where the compilation process ran. Instructions - -------------- 1.. Create a directory where the kernel sources will be installed later on. For this README file, assume that the directory is /tmp/kernel_sources. 2.. for kernel 2.4 based systems (RedHat 8,9,Enterprize 3)Put the sources tree of each target kernel under /tmp/kernel_sources/ and name it with it's kernel release. for example, to create drivers for RedHat 8: - download the kernel-source rpm of RedHat 8 (kernel-source-2.4.18-14.i386.rpm) - run rpm2cpio kernel-source-2.4.18-14.i386.rpm | cpio -id - run mv usr/src/linux-2.4.18-14 /tmp/kernel_sources/2.4.18-14 3.. for kernel 2.6 based systems (Fedora Core 2/3), create directory under /tmp/kernel_sources/ with the name of the kernel release, and under that directory create directory for each kernel configuration then put the kernel sources tree for that configuration. for example, to create drivers for Fedora Core 3 for x86 cpu: - mkdir /tmp/kernel_sources/2.6.9-1.667 - mkdir /tmp/kernel_sources/2.6.9-1.667/i586 - mkdir /tmp/kernel_sources/2.6.9-1.667/i686 - mkdir /tmp/kernel_sources/2.6.9-1.667/smp - download the kernel rpm for i586 (kernel-2.6.9-1.667.i586.rpm) - run rpm2cpio kernel-2.6.9-1.667.i586.rpm | cpio -id - run mv lib/modules/2.6.9-1.667/sources/* /tmp/kernel_sources/2.6.9-1.667/i586 - do the last 3 steps for i686 and smp kernels. 4.. for kernel 2.6 based systems (Fedora Core 5), create two directories under /tmp/kernel_sources/, one for uniprocessor kernel and the second for smp kernels, under each directory create directory for each kernel configuration then put the kernel sources tree for that configuration. for example, to create drivers for Fedora Core 3 for x86 cpu: - mkdir /tmp/kernel_sources/2.6.15-1.2045_FC5 - mkdir /tmp/kernel_sources/2.6.15-1.2045_FC5smp - install the following kernel-devel rpms: kernel-devel-2.6.15-1.2054_FC5.i586.rpm kernel-devel-2.6.15-1.2054_FC5.i686.rpm kernel-smp-devel-2.6.15-1.2054_FC5.i686.rpm run: - ln -s /usr/src/kernels/2.6.15-1.2054_FC5-i586 /tmp/kernel_sources/2.6.15-1.2045_FC5/i586 - ln -s /usr/src/kernels/2.6.15-1.2054_FC5-i686 /tmp/kernel_sources/2.6.15-1.2045_FC5/i686 - ln -s /usr/src/kernels/2.6.15-1.2054_FC5smp-i686/ /tmp/kernel_sources/2.6.15-1.2045_FC5smp/i686 5.. Go to the RedHat directory in LinuxIAL within the driver's source files. 6.. Execute 'dos2unix gen_module.sh files/*' 7.. Execute 'sh gen_module.sh /tmp/kernel_sources' The gen_module.sh (bash script) will scan all available kernels and will produce a boot diskette according to all kernel versions available in the /tmp/kernel_sources directory. 8.. The content of the 'files' directory is the boot diskette. Copy it to a diskette. 9.. Start the RedHat Linux installation on the required machine with Marvell Serial ATA adapter. 10.. During installation, select Expert Mode and follow the installation instruction. When a driver disk is requested, insert the boot diskette in drive A and continue the installation.