Penguin
Diff: HowToATARAIDHOWTO
EditPageHistoryDiffInfoLikePages

Differences between version 3 and revision by previous author of HowToATARAIDHOWTO.

Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History

Newer page: version 3 Last edited on Wednesday, January 14, 2004 9:06:37 pm by JohnMcPherson Revert
Older page: version 2 Last edited on Friday, June 7, 2002 1:05:26 am by perry Revert
@@ -9,21 +9,89 @@
  
 April 26, 2002 
  
  
-__Revision History__Revision 2.02002-05-10Revised by: mrMajor enhancementsRevision 1.32002-05-07Revised by: jygformat fixesRevision 1.22002-04-30Revised by: mrMinor fixesRevision 1.12002-04-28Revised by: ldlSome minor changes and sgml-improvementsRevision 1.02002-04-26Revised by: mrInitial Release  
+__Revision History__ 
  
+Revision 2.02002-05-10 Revised by: mr Major enhancements  
  
+Revision 1.32002-05-07 Revised by: jyg format fixes  
  
+Revision 1.22002-04-30 Revised by: mr Minor fixes  
  
+Revision 1.12002-04-28 Revised by: ldl Some minor changes and sgml-improvements  
  
- RAID is not limited to expensive SCSI disks anymore as more and more motherboard manufacturers are introducing motherboards with onboard RAID support for inexpensive IDE disks, known as ATA RAID. Promise Technolgy and !HighPoint are two companies that dominate this ATA RAID market. This HOWTO document explains how to install Linux on an Intel Pentium compatible computer with an ATA RAID Controller (onboard chip or seperate card), single or multiple processors and atleast two hard disks. Currently, this document covers installing !RedHat Linux 7.2 with Promise !FastTrack ATA RAID Controller only
+Revision 1 .02002-04-26 Revised by: mr Initial Release  
  
  
  
  
  
-----; __Table of Contents__; 1. Introduction: ; 1.1. Copyright Information; 1.2. Disclaimer; 1.3. New Versions; 1.4. Credits; 1.5. Feedback; 1.6. Translations; 2. Requirements; 3. Prepare Promise Driver Floppy; 4. Preparing !RedHat 7.2 CDs; 5. Installing Red Hat 7.2; 6. Installing Native Linux RAID; 7. Installing on an existing Linux system: ; 7.1. Append Line; 7.2. Determining the Append Line; 7.3. Setting Up RAID 1; 8. Upgrading Kernel: ; 8.1. Promise Technology (ft) Driver with OS on RAID mirror; 8.2. Promise Technology (ft) Driver with non-OS data on RAID mirror; 8.3. Linux Native (ataraid) Driver with OS on RAID mirror; 8.4. Linux Native (ataraid) Driver with non-OS data on RAID mirror; 9. Disabling RAID feature on Promise !FastTrack: ; 9.1. Case 1: OS not using RAID; 9.2. Case 2: OS is using RAID; 10. Tips and Important Notes; 11. For more information; A. How is this document generated 
+[RAID] is not limited to expensive [SCSI] disks anymore as more and more motherboard manufacturers are introducing motherboards with onboard RAID support for inexpensive [IDE] disks, known as [ATA] RAID. Promise Technology and !HighPoint are two companies that dominate this ATA RAID market. This HOWTO document explains how to install Linux on an Intel Pentium compatible computer with an ATA RAID Controller (onboard chip or seperate card), single or multiple processors and atleast two hard disks. Currently, this document covers installing RedHat Linux 7.2 with Promise !FastTrack ATA RAID Controller only.  
+  
+  
+  
+  
+  
+ ----  
+ __Table of Contents__  
+ 1. Introduction:  
+  
+ 1.1. Copyright Information  
+  
+ 1.2. Disclaimer  
+  
+ 1.3. New Versions  
+  
+ 1.4. Credits  
+  
+ 1.5. Feedback  
+  
+ 1.6. Translations  
+  
+ 2. Requirements  
+  
+ 3. Prepare Promise Driver Floppy  
+  
+ 4. Preparing !RedHat 7.2 CDs  
+  
+ 5. Installing Red Hat 7.2  
+  
+ 6. Installing Native Linux RAID  
+  
+ 7. Installing on an existing Linux system:  
+  
+ 7.1. Append Line  
+  
+ 7.2. Determining the Append Line  
+  
+ 7.3. Setting Up RAID 1  
+  
+ 8. Upgrading Kernel:  
+  
+ 8.1. Promise Technology (ft) Driver with OS on RAID mirror  
+  
+ 8.2. Promise Technology (ft) Driver with non-OS data on RAID  
+ mirror  
+  
+ 8.3. Linux Native (ataraid) Driver with OS on RAID mirror  
+  
+ 8.4. Linux Native (ataraid) Driver with non-OS data on RAID  
+ mirror  
+  
+ 9. Disabling RAID feature on Promise !FastTrack:  
+  
+ 9.1. Case 1: OS not using RAID  
+  
+ 9.2. Case 2: OS is using RAID  
+  
+ 10. Tips and Important Notes  
+  
+ 11. For more information  
+  
+ A. How is this document generated  
+  
+  
 !!!1. Introduction 
  
 The goal of this HOWTO document is to explain how to setup RAID 1 (mirroring) with the two hard disks and install bootable !RedHat Linux Operating System on the mirror device. This document discusses both methods of achieving this goal: 1. Using Promise supplied driver 2. Using Linux native RAID. If you choose the first method (using Promise supplied driver), you must use the Kernel 2.4.7-10 that comes with !RedHat 7.2 CD. If you choose the second method, you can upgrade the kernel to the latest kernel (2.4.18). This document does not discuss Striping or other disk configurations, although the author believes that this document might help setup those configurations. This document does not yet cover: 1. Installation using GRUB instead of LILO and 2. Installation with Latest development kernels (2.5.x). 
  
@@ -35,18 +103,18 @@
  
 ---- 
 !!1.1. Copyright Information 
  
-© 2002 Murty Rompalli 
+Â © 2002 Murty Rompalli 
  
  
  
- This document is copyrighted © 2002 Murty Rompalli and is 
+This document is copyrighted  © 2002 Murty Rompalli and is 
 distributed under the terms of the GNU Free Documentation License and additional terms described below. 
  
  
  
- This Linux HOWTO document may 
+This Linux HOWTO document may 
 be reproduced and distributed in whole or in part, in any medium 
 physical or electronic, as long as this copyright notice is 
 retained on all copies. Commercial redistribution is allowed and 
 encouraged; however, the author would like to be notified of any 
@@ -54,9 +122,9 @@
  
  
  
  
- All translations, derivative works, or aggregate works 
+All translations, derivative works, or aggregate works 
 incorporating this Linux HOWTO document must be covered under this 
 copyright notice. That is, you may not produce a derivative work 
 from this HOWTO document and impose additional restrictions on its 
 distribution. Exceptions to these rules may be granted under 
@@ -65,18 +133,18 @@
  
  
  
  
- In short, the author wishes to promote dissemination of this 
+In short, the author wishes to promote dissemination of this 
 information through as many channels as possible but 
 wish to retain copyright on this HOWTO document, and would like to 
 be notified of any plans to redistribute this HOWTO document. 
  
  
 ---- 
 !!1.2. Disclaimer 
  
- No liability for the contents of this documents can be accepted. 
+No liability for the contents of this documents can be accepted. 
 Use the concepts, examples and other content at your own risk. 
 As this is a new edition of this document, there may be errors 
 and inaccuracies, that may of course be damaging to your system. 
 Proceed with caution, and although this is highly unlikely, 
@@ -84,30 +152,30 @@
  
  
  
  
- All copyrights are held by their by their respective owners, unless 
+All copyrights are held by their by their respective owners, unless 
 specifically noted otherwise. Use of a term in this document 
 should not be regarded as affecting the validity of any trademark 
 or service mark. 
  
  
  
  
- Naming of particular products or brands should not be seen 
+Naming of particular products or brands should not be seen 
 as endorsements. 
  
  
  
  
- You are strongly recommended to take a backup of your system 
+You are strongly recommended to take a backup of your system 
 before major installation and backups at regular intervals. 
  
  
 ---- 
 !!1.3. New Versions 
  
-The newest version of this HOWTO will always be made available on my website http://www.murty.net/ataraid/, or you may contact me directly at ` murty at solar . murty . netb to check if there is a newer version. 
+The newest version of this HOWTO will always be made available on my website http://www.murty.net/ataraid/, or you may contact me directly at < murty at solar . murty . net> to check if there is a newer version. 
  
  
  
  
@@ -119,97 +187,52 @@
  
  
  
  
-*  
-  
- HTML.  
-  
-  
-  
-*  
-*  
-  
- plain text.  
-  
-  
-  
-*  
-*  
-  
- Adobe PDF.  
-  
-  
-  
-*  
-*  
-  
- gzipped  
- postscript (US letter format).  
-  
-  
-  
-*  
-*  
-  
- SGML source.  
-  
-  
-  
-*  
-*  
-  
- gzipped DVI file.  
-  
-  
-  
-*  
-*  
-  
- gzipped TeX (to be used with jadetex).  
-  
-  
-  
-*  
-  
+* HTML.  
+* plain text.  
+* Adobe PDF.  
+* gzipped postscript (US letter format).  
+* SGML source.  
+* gzipped DVI file.  
+* gzipped TeX (to be used with jadetex). 
  
  
  
- Note that paper sizes vary in the world, A4 and US letter differ 
+Note that paper sizes vary in the world, A4 and US letter differ 
 significantly. You might also wish to consider using the 
 ''universal format'' (8.27x11in; 210x279mm). 
  
  
 ---- 
 !!1.4. Credits 
  
- ''Your name here, if you contribute :)  
- '' 
+''Your name here, if you contribute :)'' 
  
  
  
  
-Luc de Louw ` luc at delouw.chb corrected errors in my SGML source. 
+Luc de Louw < luc at delouw.ch> corrected errors in my SGML source. 
  
  
  
-Joy Y Goodreau ` joyg at us.ibm.comb corrected errors in my SGML source. 
+Joy Y Goodreau < joyg at us.ibm.com> corrected errors in my SGML source. 
  
  
  
 In this version I have the pleasure of acknowledging: 
  
  
  
-Alain Portal ` alain.portal at free.frb , Service Commun de Microscopie Electronique for proof-reading and correcting mistakes. 
+Alain Portal < alain.portal at free.fr> , Service Commun de Microscopie Electronique for proof-reading and correcting mistakes. 
  
 ---- 
 !!1.5. Feedback 
  
- Feedback is most certainly welcome for this document. Without 
+Feedback is most certainly welcome for this document. Without 
 your submissions and input, this document wouldn't exist. Please 
 send your additions, comments and criticisms to the following 
-email address : ` murty at solar. murty . netb
+email address : < murty at solar. murty . net>
  
  
 ---- 
 !!1.6. Translations 
@@ -223,15 +246,9 @@
  
  
  
  
-*  
-  
- French Translation is coming soon. Thanks go to Alain Portal.  
-  
-  
-  
-*  
+* French Translation is coming soon. Thanks go to Alain Portal. 
  
  
 ---- 
 !!!2. Requirements 
@@ -245,104 +262,36 @@
  
  
  
  
-*  
-  
- Two blank floppies, DOS formatted. On a working linux computer, you can type __mkfs.msdos /dev/fd0__  
-  
-  
-*  
-*  
-  
- Red Hat Linux 7.2 CDs 1 and 2 (3 and 4 contain SRPMS and are not required)  
-  
-  
-  
-*  
-*  
-  
- Internet connection available  
-  
-  
-  
-*  
-*  
-  
- Your computer with working CD, floppy,10/100 ethernet card support  
-  
-  
-  
-*  
-*  
-  
- Patience  
-  
-  
-  
-*  
+* Two blank floppies, DOS formatted. On a working linux computer, you can type __mkfs.msdos /dev/fd0__  
+* Red Hat Linux 7.2 CDs 1 and 2 (3 and 4 contain SRPMS and are not required)  
+* Internet connection available  
+* Your computer with working CD, floppy,10/100 ethernet card support  
+* Patience 
  
  
 ---- 
 !!!3. Prepare Promise Driver Floppy 
  
+1. Download appropriate driver from one of the two sites below and save the driver on one of the blank floppies. You can do this on any computer connected to Internet.  
  
+* Driver for Single Processor Machine  
+* Driver for Multiple Processor Machine  
  
+2. Insert the floppy with the driver tar ball into a working Linux computer and type:  
  
+ mount /dev/fd0 /mnt/floppy  
+ cd /mnt/floppy  
+ cp rhsmp-ft12014.tgz /tmp  
+ tar xvzf /tmp/rhsmp-ft12014.tgz  
+ cd /  
+ umount /mnt/floppy  
  
-  
-#  
-  
-Download appropriate driver from one of the two sites below and save the driver on one of the blank floppies . You can do this on any computer connected to Internet.  
-  
-  
-  
-  
-  
-#*  
-  
-Driver for Single Processor Machine  
-  
-  
-#*  
-#*  
-  
-Driver for Multiple Processor Machine  
-  
-  
-#*  
-  
-  
-#  
-#  
-  
-Insert the floppy with the driver tar ball into a working Linux computer and type:  
-  
-  
-  
-  
-mount /dev/fd0 /mnt/floppy  
-cd /mnt/floppy  
-cp rhsmp-ft12014.tgz /tmp  
-tar xvzf /tmp/rhsmp-ft12014.tgz  
-cd /  
-umount /mnt/floppy  
-  
-  
-#  
-#  
-  
- Label the floppy » Promise !FastTrack driver« and set it aside.  
-  
-  
-#  
+3 . Label the floppy " Promise !FastTrack driver" and set it aside. 
  
 ---- 
 !!!4. Preparing !RedHat 7.2 CDs 
-  
-  
-  
-  
  
  
 __NOTE__ 
  
@@ -350,290 +299,111 @@
  
  
  
  
+# Logon to a Windows computer that has a CD Writer drive installed and setup properly. Insert a blank CD-R into the CD Writer.  
+# Point your browser to the Red Hat Web site: ftp://ftp.redhat.com/pub/redhat/linux/7.2/en/iso/i386/.  
+# Browse and locate enigma-disc1.iso (the first disk of Red Hat 7.2), and save this file to your Windows desktop.  
+# Right-click on the iso image created on your desktop and choose "Record to CD" It will then write the iso image onto your CD-R and create disk-1.  
+# Repeat the procedure for the second iso file named enigma-disc2.iso on ftp.redhat.com/pub.  
+# Test to make sure your CD-Rs are indeed readable. If you click on "My Computer" and click on the CD Writer Drive icon, you should be able to browse the contents of the CD-R.  
+# Label the CD-Rs properly: RH 7.2 disk-1 and RH 7.2 disk-2  
  
-  
-  
-  
-  
-  
-#  
-  
-Logon to a Windows computer that has a CD Writer drive installed and setup properly. Insert a blank CD-R into the CD Writer.  
-  
-  
-#  
-#  
-  
-Point your browser to the Red Hat Web site: ftp://ftp.redhat.com/pub/redhat/linux/7.2/en/iso/i386/.  
-  
-  
-#  
-#  
-  
-Browse and locate enigma-disc1.iso (the first disk of Red Hat 7.2), and save this file to your Windows desktop.  
-  
-  
-#  
-#  
-  
-Right-click on the iso image created on your desktop and choose "Record to CD" It will then write the iso image onto your CD-R and create disk-1.  
-  
-  
-#  
-#  
-  
-Repeat the procedure for the second iso file named enigma-disc2.iso on ftp.redhat.com/pub.  
-  
-  
-#  
-#  
-  
-Test to make sure your CD-Rs are indeed readable. If you click on »My Computer« and click on the CD Writer Drive icon, you should be able to browse the contents of the CD-R.  
-  
-  
-#  
-#  
-  
-Label the CD-Rs properly: RH 7.2 disk-1 and RH 7.2 disk-2  
-  
-  
-#  
  
 ---- 
 !!!5. Installing Red Hat 7.2 
  
 Once you have created your CDs, you are ready to begin installing Red Hat 7.2 on your Linux system. 
  
+1. Restart the computer and press __Cntrl-F__ when you see !FastTrack BIOS prompt on screen. This will take you into the Promise !FastTrack BIOS.  
  
+2. Inside this BIOS, choose "delete array," "define array," and "choose Mirror."  
  
+3. Press __Cntrl-Y__ to save.  
  
+4. Choose "Create Only" and __ESC__ to reboot. When it reboots, you should see that Promise !FastTrack now has 1x2 RAID Mirror defined over your two hard disks connected to !FastTrack controller.  
  
-#  
+5. Insert your Red Hat 7.2, disk-1 into your CD-ROM and reboot.  
  
-Restart the computer and press __Cntrl-F__ when you see !FastTrack BIOS prompt on screen . This will take you into the Promise !FastTrack BIOS.  
-  
-  
-#  
-#  
-  
-Inside this BIOS, choose "delete array," "define array," and "choose Mirror."  
-  
-  
-#  
-#  
-  
-Press __Cntrl-Y__ to save.  
-  
-  
-#  
-#  
-  
-Choose »Create Only« and __ESC__ to reboot. When it reboots, you should see that Promise !FastTrack now has 1x2 RAID Mirror defined over your two hard disks connected to !FastTrack controller.  
-  
-  
-#  
-#  
-  
-Insert your Red Hat 7.2, disk-1 into your CD-ROM and reboot.  
-  
-  
-#  
-#  
-  
- At the boot-prompt, type:  
-  
-  
-  
-  
-linux noprobe  
-  
-  
-#  
-#  
-  
-Now, installation will begin. Choose »Add device« and scroll through the list of available drivers to see if Promise !FastTrack is listed. If it is not listed, press __F2__ to load external driver from a floppy. Insert your Promise !FastTrack driver floppy and hit "OK."  
-  
-  
-#  
-#  
-  
-Continue with installation. Choose only ext3 type partitions for now. You can make ext2 partions at the very end, if you really need them.  
-  
-  
-#  
-#  
-  
-When the system you to create Boot Floppy, insert a blank floppy disk. The Red Hat installation program will create a Boot Floppy disk.  
+6 . At the boot-prompt, type:  
+ linux noprobe 
  
+7. Now, installation will begin. Choose "Add device" and scroll through the list of available drivers to see if Promise !FastTrack is listed. If it is not listed, press __F2__ to load external driver from a floppy. Insert your Promise !FastTrack driver floppy and hit "OK."  
  
+8. Continue with installation. Choose only ext3 type partitions for now. You can make ext2 partions at the very end, if you really need them.  
  
+9. When the system you to create Boot Floppy, insert a blank floppy disk. The Red Hat installation program will create a Boot Floppy disk.  
  
 __NOTE__ 
  
-Please do not click on » Skip boot disk creation« . If you skip this step and do not create a Boot Floppy disk, you will be very sorry later. 
+Please do not click on " Skip boot disk creation" . If you skip this step and do not create a Boot Floppy disk, you will be very sorry later. 
  
+10. When the install asks you to choose Boot loader configuration, please choose "LILO only". Do not choose "GRUB" as your boot loader.  
  
  
  
-#  
-#  
+When the installation is finished, you will see "Congratulations" screen.  
  
-When the install asks you to choose Boot loader configuration, please choose »LILO only« . Do not choose »GRUB« as your boot loader
+11 . Press __Cntrl-ALT-F2__ to switch to tty2
  
+12. At the shell prompt, type:  
+ cd /mnt/sysimage/lib/modules/2.4.7-10/kernel/drivers/scsi  
  
+13. Type __ls__ and make sure the file ft.o exists. If not, you are going to need to manually install the module ft.o as follows:  
  
-When the installation is finished, you will see »Congratulations« screen .  
-  
-  
-#  
-#  
-  
-Press __Cntrl-ALT-F2__ to switch to tty2.  
-  
-  
-#  
-#  
-  
-At the shell prompt, type:  
-  
-  
-  
-  
-cd /mnt/sysimage/lib/modules/2.4.7-10/kernel/drivers/scsi  
-  
-  
-#  
-#  
-  
-Type __ls__ and make sure the file ft.o exists. If not, you are going to need to manually install the module ft.o as follows:  
-  
-  
-  
-  
-  
-##  
-  
- Make sure your Driver floppy is mounted. Go into the floppy and type  
-  
-  
-  
-  
-  
-mv module.cgz /tmp  
-cd /tmp  
-gzip -dc module.cgz | cpio -idumv  
-  
-  
-##  
-##  
-  
-Now, you will see a bunch of directories created under /tmp.  
-  
-  
-  
-  
-  
-cd /tmp/`uname -r`  
-cp ft.o /mnt/sysimage/lib/modules/`uname -r`/kernel/drivers/scsi  
-  
-  
-##  
-##  
-  
-At the shell prompt, type:  
-  
-  
-  
-  
-less /mnt/sysimage/etc/lilo.conf  
+14 . Make sure your Driver floppy is mounted. Go into the floppy and type  
+ mv module.cgz /tmp  
+ cd /tmp  
+ gzip -dc module.cgz | cpio -idumv 
  
+15. Now, you will see a bunch of directories created under /tmp.  
+ cd /tmp/`uname -r`  
+ cp ft.o /mnt/sysimage/lib/modules/`uname -r`/kernel/drivers/scsi  
  
+16. At the shell prompt, type:  
+ less /mnt/sysimage/etc/lilo.conf  
  
 Check to see that the lilo.conf looks good. Especially, it should have the initrd= line and the corresponding initrd.img file must exist in /mnt/sysimage/boot. If not, you are going to create it manually as follows: 
  
  
  
  
-/mnt/sysimage/usr/sbin/chroot /mnt/sysimage /sbin/mkinitrd \  
---preload jbd \  
---preload ext3 \  
---preload scsi_mod \  
---with ft \  
-/boot/initrd.img 2.4.7-10 
+ /mnt/sysimage/usr/sbin/chroot /mnt/sysimage /sbin/mkinitrd \  
+ --preload jbd \  
+ --preload ext3 \  
+ --preload scsi_mod \  
+ --with ft \  
+ /boot/initrd.img 2.4.7-10 
  
  
-##  
+17. Now, remove the floppy and the CD, and reboot. At this point, pray that your computer will boot without any problems.  
  
+18. If it does not boot, insert your Boot Floppy and reboot and login; And then repair as follows:  
  
-#  
-#  
+19. Make sure /boot/initrd.img exists. Make sure /lib/modules/2.4.7-10/kernel/drivers/scsi/ft.o exists (If not you have to manually fix these issues as explained above)  
  
-Now, remove the floppy and the CD, and reboot. At this point, pray that your computer will boot without any problems.  
  
+20. Type:  
+ __/sbin/lilo__  
  
-#  
-#  
+21. Now, remove floppy and reboot. Your machine should boot into your new machine now using Promise Driver.  
  
-If it does not boot, insert your Boot Floppy and reboot and login; And then repair as follows:  
-  
-  
-  
-  
-  
-##  
-  
-Make sure /boot/initrd.img exists. Make sure /lib/modules/2.4.7-10/kernel/drivers/scsi/ft.o exists (If not you have to manually fix these issues as explained above)  
-  
-  
-##  
-##  
-  
- Type: __/sbin/lilo__  
-  
-  
-##  
-##  
-  
-Now, remove floppy and reboot. Your machine should boot into your new machine now using Promise Driver .  
-  
-  
-##  
-  
-  
-#  
-#  
-  
- Type __df -k__ and you should see your hard disks as /dev/sdaX instead of /dev/hdaX. This is because the Promise Driver is actually a special type of Software Emulation RAID, not exactly Hardware RAID. (Promise RAID works through a BIOS Hack).  
-  
-  
-#  
+22 . Type __df -k__ and you should see your hard disks as /dev/sdaX instead of /dev/hdaX. This is because the Promise Driver is actually a special type of Software Emulation RAID, not exactly Hardware RAID. (Promise RAID works through a BIOS Hack). 
  
  
  
 If your machine is SMP, you will have to manually create initrdsmp.img, when you boot into Uniprocessor Kernel as shown below, and edit /etc/lilo.conf and then test to see you can boot into SMP system. 
  
-  
-  
-  
-  
-#  
  
 When you boot your machine into 2.4.7-10 uniprocessor kernel, type the following to make initrdsmp.img to be used for 2.4.7-10smp kernel: 
  
  
-  
-  
- /sbin/mkinitrd \  
---preload jbd \  
---preload ext3 \  
---preload scsi_mod \  
---with ft \  
-/boot/initrdsmp.img 2.4.7-10smp  
-  
-  
-  
+ /sbin/mkinitrd \  
+ --preload jbd \  
+ --preload ext3 \  
+ --preload scsi_mod \  
+ --with ft \  
+ /boot/initrdsmp.img 2.4.7-10smp 
  
  
 __NOTE__ 
  
@@ -642,16 +412,9 @@
  
  
  
  
-#  
-#  
-  
- Adjust your /etc/lilo.conf accordingly for 2.4.7-10smp (the SMP kernel section), type __/sbin/lilo__ and reboot into the SMP kernel. Here is how /etc/lilo.conf should look like.  
-  
-  
-#  
-  
+* Adjust your /etc/lilo.conf accordingly for 2.4.7-10smp (the SMP kernel section), type __/sbin/lilo__ and reboot into the SMP kernel. Here is how /etc/lilo.conf should look like. 
  
  
 At this point, you have a working Red Hat 7.2 machine with SMP support, if applicable. If you are happy with the fact that you are running a fake Hardware RAID from Promise !FastTrack using SCSI Emulation, then read no further. 
  
@@ -664,32 +427,17 @@
  
 The first step you want to take is to configure your networking and connect your computer to Internet, which is still running under Promise Driver SCSI emulation. Next you will install native Linux RAID. 
  
  
+1. Go to www.kernel.org and download latest kernel 2.4.18.tar.gz.  
  
-  
  
-  
-  
-  
-#  
-  
-Go to www.kernel.org and download latest kernel 2.4.18.tar.gz.  
-  
-  
-#  
-#  
-  
- Configure your kernel:  
-  
-  
-  
-  
-cd /usr/src/  
-tar xvzf linux-2.4.18.tar.gz  
-cd linux # cd to kernel source directory just created by tar  
-cp config.txt .config #(See NOTE below to find out where to get config.txt)  
-make menuconfig 
+2. Configure your kernel:  
+ cd /usr/src/  
+ tar xvzf linux-2.4.18.tar.gz  
+ cd linux # cd to kernel source directory just created by tar  
+ cp config.txt .config #(See NOTE below to find out where to get config.txt)  
+ make menuconfig 
  
  
  
  
@@ -700,66 +448,47 @@
  
  
  
  
-#  
-#  
-  
- Enable all the following in the kernel statically (NOT as modules): 
+# Enable all the following in the kernel statically (NOT as modules): 
  
  
  
  
  ATA/IDE/MFM/RLL Support --b 
-`*b ATA/IDE/MFM/RLL Support  
-IDE/ATA/ATAPI Block Devices --b  
-`*b Enhanced ATA/IDE/MFM/RLL disk/cdrom/tape/floppy support  
-`*b Include IDE/ATA-2 Disk Support  
-[[*] Use multi-mode by default  
-Include IDE/ATAPI CDROM support  
-[[*] Generic PCI IDE chipset support  
-[[*] Sharing PCI IDE interrupt support  
-[[*] Generic PCI Bus master DMA support  
-[[*] Use PCI DMA by default when available  
-[[*] Intel PIIXn chipset support  
-[[*] PIIXn tuning support  
-[[*] Promise PDC202{46|62|65|67|68} support  
-[[*] Special UDMA Feature  
-[[*] Special !FastTrack Feature  
-[[*] VIA 82CXXX chipset support  
-`*b Support for IDE RAID controllers  
-`*b Support Promise Software RAID (fasttrack) 
+ `*b ATA/IDE/MFM/RLL Support  
+ IDE/ATA/ATAPI Block Devices --b  
+ `*b Enhanced ATA/IDE/MFM/RLL disk/cdrom/tape/floppy support  
+ `*b Include IDE/ATA-2 Disk Support  
+ [[*] Use multi-mode by default  
+ Include IDE/ATAPI CDROM support  
+ [[*] Generic PCI IDE chipset support  
+ [[*] Sharing PCI IDE interrupt support  
+ [[*] Generic PCI Bus master DMA support  
+ [[*] Use PCI DMA by default when available  
+ [[*] Intel PIIXn chipset support  
+ [[*] PIIXn tuning support  
+ [[*] Promise PDC202{46|62|65|67|68} support  
+ [[*] Special UDMA Feature  
+ [[*] Special !FastTrack Feature  
+ [[*] VIA 82CXXX chipset support  
+ `*b Support for IDE RAID controllers  
+ `*b Support Promise Software RAID (fasttrack) 
  
  
-#  
-#  
+* After you have enabled static features as shown above, make any more changes that you would like to make to suit your environment.  
  
-After you have enabled static features as shown above , make any more changes that you would like to make to suit your environment
+* Save the kernel configuration. It is saved to .config in the current directory. Please back up this file. If you dont do so , you will regret it later. Copy .config file in a blank floppy or in /root  
  
  
-#  
-#  
+* Build and install the kernel like you normally do, by typing:  
  
-Save the kernel configuration. It is saved to .config in the current directory. Please back up this file. If you dont do so, you will regret it later. Copy .config file in a blank floppy or in /root  
  
+ make dep ; make clean ; make & make install  
+ make modules & make modules_install  
  
-#  
-#  
  
-Build and install the kernel like you normally do, by typing:  
-  
-  
-  
-  
-make dep ; make clean ; make 88 make install  
-make modules 88 make modules_install  
-  
-  
-#  
-  
-  
-  
- Look at /etc/lilo.conf to make sure new lines are added to boot your new kernel 2.4.18. Note that there should not be an initrd= line for this new kernel in /etc/lilo.conf. That is, our new kernel will boot itself without depending on a initrd.img unlike your current 2.4.7-10 kernel. 
+* Look at /etc/lilo.conf to make sure new lines are added to boot your new kernel 2.4.18. Note that there should not be an initrd= line for this new kernel in /etc/lilo.conf. That is, our new kernel will boot itself without depending on a initrd.img unlike your current 2.4.7-10 kernel. 
  
  
  
 Now adjust /etc/lilo.conf as follows: 
@@ -776,14 +505,9 @@
 
 
  
 Type: 
-  
-  
-  
-  
-  
- /sbin/lilo 
+ /sbin/lilo 
  
  
 
 
@@ -824,97 +548,36 @@
  
  
  
  
+* Now, connect your computer to Internet and download lilo-22.tar.gz (the latest version of lilo program) from the Internet.  
  
-#  
-#  
  
-Now, connect your computer to Internet and download lilo -22.tar.gz (the latest version of lilo program) from the Internet.  
+* Remove the existing lilo on your computer by typing: __rpm -e --nodeps lilo__  
  
+* Install new version of lilo as follows:  
+ tar xvzf lilo-22.tar.gz  
+ cd lilo-22 # cd to lilo source directory just created by tar  
+ ./!QuickInst.sh  
  
-#  
-#  
+* Say "Yes" to questions the system will ask you.  
  
-Remove the existing lilo on your computer by typing: __rpm -e --nodeps lilo__  
  
+* Ignore any errors except if /sbin/lilo is not created.  
  
-#  
-#  
  
-Install new version of lilo as follows: 
+* Adjust /etc/ lilo.conf as follows: 
  
-  
-  
-  
-tar xvzf lilo-22.tar.gz  
-cd lilo-22 # cd to lilo source directory just created by tar  
-./!QuickInst.sh  
-  
-  
-#  
-#  
-  
-Say "Yes" to questions the system will ask you.  
-  
-  
-#  
-#  
-  
-Ignore any errors except if /sbin/lilo is not created.  
-  
-  
-#  
-#  
-  
-Adjust /etc/lilo.conf as follows:  
-  
-  
-  
-  
-  
-#*  
-  
- Replace linear by lba32  
-  
-  
-#*  
-#*  
-  
- Delete line "compact"  
-  
-  
-#*  
-#*  
-  
- Change vga= line to vga=normal  
-  
-  
-#*  
-#*  
-  
- Change boot=/dev/sda line to boot=/dev/ataraid/dN (where N is the partition number on which your root file system exists. Type __df -k /__ to find out your root partition number).  
-  
-  
-#*  
-#*  
-  
- Make sure that default=linux-2.4.18 (where linux-2.4.18 is the label given to boot your new kernel: 2.4.18)  
-  
-  
-#*  
-  
-  
-#  
-#  
+# Replace linear by lba32  
+# Delete line "compact"  
+# Change vga= line to vga=normal  
+# Change boot=/dev/sda line to boot=/dev/ataraid/dN (where N is the partition number on which your root file system exists. Type __df -k /__ to find out your root partition number).  
+# Make sure that default=linux-2.4.18 (where linux-2.4.18 is the label given to boot your new kernel: 2.4.18) 
  
 Save changes to the file and type: __/sbin/lilo__ 
  
  
-#  
-#  
-  
- Reboot the system and cross your fingers. 
+* Reboot the system and cross your fingers. 
  
  
 
  
@@ -976,9 +639,9 @@
  
  
  
  
-__linux-new ide2=0x0001,0x0009,9 ide3=0x2000,0x2009,10 ide4=none nousb expert root=/dev/hda3__ 
+ __linux-new ide2=0x0001,0x0009,9 ide3=0x2000,0x2009,10 ide4=none nousb expert root=/dev/hda3__ 
  
  
  
 at boot: prompt at the time of booting your Linux computer, then ''Append Line'' is the string 
@@ -997,14 +660,14 @@
  
  
  
  
-image=/boot/vmlinuz-2.4.9-10  
-label=linuxold  
-read-only  
-root=/dev/hde9  
-append="nousb ide2=0x9400,0x9002 ide3=0x8800,0x8402"  
-initrd="initrd.img" 
+ image=/boot/vmlinuz-2.4.9-10  
+ label=linuxold  
+ read-only  
+ root=/dev/hde9  
+ append="nousb ide2=0x9400,0x9002 ide3=0x8800,0x8402"  
+ initrd="initrd.img" 
  
  
  
 When we experience problems booting a Linux machine with RAID, we may have to use an appropriate ''Append Line''. Therefore, it is important to determine and write down the ''Append Line''. This will help you fix your problems later or upgrade your kernel smoothly or add/remove additional hard disks. 
@@ -1022,35 +685,12 @@
  
  
  
  
-  
-  
- *  
-  
- ide0: hda , hdb (hard disks)  
-  
-  
-*  
-*  
-  
- ide1: hdc , hdd (hard disks or other ide devices like CDROM)  
-  
-  
-*  
-*  
-  
- ide2: hde (first free disk)  
-  
-  
-*  
-*  
-  
- ide3: hdg (second free disk)  
-  
-  
-*  
-  
+* ide0: hda , hdb (hard disks)  
+* ide1: hdc , hdd (hard disks or other ide devices like CDROM)  
+* ide2: hde (first free disk)  
+* ide3: hdg (second free disk) 
  
  
 The two free disks above (hde and hdg) are the ones we would like to setup as RAID 1 to create /dev/ataraid/d0 raid device. Note that we do not have hdf or hdh because that is how we used the IDE/RAID ports on Promise chip. It is not a good idea to connect two hard disks to the same Promise controller IDE port. In the above example, we used Primary Master and Secondary Master connections on the Promise Technology card. 
  
@@ -1061,49 +701,41 @@
  
  
  
  Bus 0, device 17, function 0: 
-Unknown mass storage controller: Promise Technology Unknown device (rev 2).  
-Vendor id=105a. Device id=d30.  
-Medium devsel. IRQ 10. Master Capable. Latency=32.  
-I/O at 0x9400 [[0x9401].  
-I/O at 0x9000 [[0x9001].  
-I/O at 0x8800 [[0x8801].  
-I/O at 0x8400 [[0x8401].  
-I/O at 0x8000 [[0x8001].  
-Non-prefetchable 32 bit memory at 0xd5800000 [[0xd5800000]. 
+ Unknown mass storage controller: Promise Technology Unknown device (rev 2).  
+ Vendor id=105a. Device id=d30.  
+ Medium devsel. IRQ 10. Master Capable. Latency=32.  
+ I/O at 0x9400 [[0x9401].  
+ I/O at 0x9000 [[0x9001].  
+ I/O at 0x8800 [[0x8801].  
+ I/O at 0x8400 [[0x8401].  
+ I/O at 0x8000 [[0x8001].  
+ Non-prefetchable 32 bit memory at 0xd5800000 [[0xd5800000]. 
  
  
  
 From this output, we learn that our Promise Technology card uses IRQ 10 for both ide ports (ide2 and ide3). Using same IRQ is perfectly alright as long as your kernel supports PCI IRQ Sharing. By default, our Linux kernel is configured to support PCI IRQ sharing. From the above output, we also learn that our Promise Technology card uses various IO addresses. For the purpose of identifying Promise Technology disks properly at boot time, we only want the IRQ number(s) and the first four IO Address numbers outside [[ ]. Write down on a piece of paper this information. In this case, from the above output: 
  
  
-  
-  
- IRQ1 = 10  
-IRQ2 = 10  
-IO1 = 0x9400  
-IO2 = 0x9000  
-IO3 = 0x8800  
-IO4 = 0x8400 
+ IRQ1 = 10  
+ IRQ2 = 10  
+ IO1 = 0x9400  
+ IO2 = 0x9000  
+ IO3 = 0x8800  
+ IO4 = 0x8400 
  
  
  
 Now, we have to evaluate the following to obtain the correct ''Append Line''. Then either specify this ''Append Line'' at boot time or specify it in lilo configuration file. 
  
-  
-  
-  
- ideX=IO1,IO2+0x0002,IRQ1 ideY=IO3,IO4+0x0002,IRQ2 
+ ideX=IO1,IO2+0x0002,IRQ1 ideY=IO3,IO4+0x0002,IRQ2 
 where ideX and ideY are the two IDE ports of Promise card our free disks are using. 
  
  
  
 In our example, the above ''Append Line'' will become: 
-  
-  
-  
- ide2=0x9400,0x9002,10 ide3=0x8800,0x8402,10 
+ ide2=0x9400,0x9002,10 ide3=0x8800,0x8402,10 
  
  
  
 If, for example, we want to boot kernel version 2.4.18, labelled linux according to /etc/lilo.conf, then we specify our ''Append Line'' in one of the following two methods: 
@@ -1114,23 +746,20 @@
  
  
  
  
-
+# At boot time  
+ boot: __linux ide2=0x9400,0x9002,10 ide3=0x8800,0x8402,10__If you choose this method, you should manually type the ''Append Line'' after the kernel label linux everytime you boot your Linux machine.  
  
-At boot time  
-boot: __linux ide2=0x9400,0x9002,10 ide3=0x8800,0x8402,10__If you choose this method, you should manually type the ''Append Line'' after the kernel label linux everytime you boot your Linux machine.  
  
+* In /etc/lilo.conf  
+ image=/boot/vmlinuz-2.2.18  
+ label=linux  
+ read-only  
+ root=/dev/hda1  
+ append="ide2=0x9400,0x9002,10 ide3=0x8800,0x8402,10"  
  
-#  
-#  
-  
-In /etc/lilo.conf  
-image=/boot/vmlinuz-2.2.18  
-label=linux  
-read-only  
-root=/dev/hda1  
-append="ide2=0x9400,0x9002,10 ide3=0x8800,0x8402,10" If you choose this method, you have to run lilo once to activate changes by typing __/sbin/lilo__. And you do not have to type anything extra at boot time. 
+If you choose this method, you have to run lilo once to activate changes by typing __/sbin/lilo__. And you do not have to type anything extra at boot time. 
  
  
 
  
@@ -1440,9 +1069,9 @@
  
 
 
  
-LhD Product Page at http://lhd.datapower.com/db/dispproduct.cgi?DISP?2751. You can also go to LhD Main Page and search for » Promise !FastTrack«
+LhD Product Page at http://lhd.datapower.com/db/dispproduct.cgi?DISP?2751. You can also go to LhD Main Page and search for " Promise !FastTrack"