[Wylug-discuss] Linux driver install

Nick Moulsdale nick at ebi.ndo.co.uk
Mon Oct 25 11:15:08 BST 2004


I have a Dell Server which has 2 x 69 GB SCSI HD's and a SCSI tape drive, with 1.5Gb Memory. I need to add more HD so I've bought 2 x 200 Gb HD EIDE. The existing EIDE primary has just a CD on it. The secondary EIDE does not like the extra HD's on it (stops with message about ServerWorks).

So I installed an 8212 PCI Raid Express Card, which was a bit picky as to which PCI slot would work. Also, I had to set the HD’s to cable select to get it to see them.

Then there is a menu to select Raid type, including one type normal, which just treats each HD as a separate HD, which is what I want.

But now the card needs Linux drivers, which I have downloaded in binary for RedHat 8.0. But I’m wary of the stuff it says to do as the existing primary HD’s are SCSI and its saying to do stuff which looks a lot like it already does on boot up for existing HD’s. I attach the readme file for RH8. Any advice gratefully received. I've got Webmin and can use command line - with guidance.

Thanks

Nick

	ITE RAIDExpress 133 RedHat 8.0 Installation Guide and Release Note

				Setepber 9, 2003
				    Mark Lu

				April    6, 2004
				    Donald Huang

			(C) Copyright 2002-2004 ITE, Inc.


1. Component Name(s) and Version #:
===================================
Components	: For Redhat 8.0
Kernels Tested	: 2.4.18-14
Driver Version	: v1.44
Release Date	: April 6, 2004


2. Installation Guide
=====================

   2.1. **** Installing IT8212 Linux Driver into an EXISTING SYSTEM ****

   01. Boot linux system and login as root.
   02. Copy iteraid.o to any directory you want, then go to that driectory.
       Using the following commands to get the iteraid.o:

       # gzip -dc modules.cgz | cpio -idumv

       Then you will have three directories.

       /2.4.18-14/iteraid.o =====> for UP kernel
       /2.4.18-14BOOT/iteraid.o => for BOOT kernel
       /2.4.18-14smp/iteraid.o ==> for SMP kernel

   03. You can test out the module to ensure that it works by the following
       commands:

       # modprobe sr_mod
       # modprobe sd_mod
       # insmod iteraid.o

       To ensure the modules has been loaded successfully, you can check
       the driver module loading status by using the "dmesg" command.

       # dmesg

       Then you will see the following messages. (depend on your RAID
       configuration).

       ...
       ...
       Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
       SCSI device sda: 120103200 512-byte hdwr sectors (61493 MB)
       ..
       ..

   04. Most likely, you will not want to type in "insmod iteraid.o" each
       time you boot up the system. Therefore you must install the module
       and tell the system about it. To install the module, type in the
       following commands (first change directory to where the proper
       iteraid.o can be loacted):

       # cp -f iteraid.o /lib/modules/2.4.18-14/kernel/drivers/scsi/
       # chmod 755 /sbin/mkinitrd
       # mkinitrd -f --preload scsi_mod --preload sd_mod --with=iteraid
         /boot/initrd-2.4.18-14.img 2.4.18-14

       If you are using Lilo to boot your system, you also need to run lilo:

       # lilo

       Then reboot your system and the driver will be loaded.

   05. Configure system to mount volumes when startup.

       Now you can inform the system to automatically mount the array by
       modifying the file /etc/fstab. E.g. You can add the following line
       to tell the system to mount /dev/sda1 to location /mnt/raid after startup:

	/dev/sda1	/mnt/raid	ext3	defaults	0 0


   2.2. **** Installing Red Hat Linux on IT8212 Controller ****

   01. Prepare your hardware for installation

       After you attach your hard disks to IT8212 controller, you can use IT8212
       BIOS to configure your hard disks as RAID 0, RAID 1, RAID 0/1 or JBOD
       arrays, or just use them as single disks. Remember to set the BOOT disk
       when you in the IT8212 BIOS config menu.

       Before installation, you must remove all the disk drives, which are not
       physcially attached to IT8212 controller, from your system.

   02. Check system BIOS setting

       In your system bios setup menu, change Boot Sequence in such a way that the
       system will first boot from CDROM, and then from SCSI. Refer to your BIOS
       manual to see how to set boot sequence.

   03. Prepare the driver diskette

       Copy all the files under /linux/rh80/ directory to a new dos formatted
       disk.

   04. Install Red Hat 8.0

       (1) Start installing Red Hat 8.0 by booting with the CDROM.

       (2) On "welcome to Red Hat Linux 8.0!" installation screen, a prompted label
	   "boot:" will appear at the bottom of the screen. Then type in "expert"
	   and press enter.

       (3) Then you will be asked "Do you have a driver disk?". Select "Yes".

       (4) When prompted "Insert your driver disk and press "OK" to continue", insert
	   the driver disk in the floppy driver and then select "OK". Then the IT8212
	   driver will be loaded.

       (5) Continue the installation as normal. You can reference the Red Hat Linux
	   installation guide.


3. Setup up device node for RAID Management Software.
=====================================================

   01. Check the /proc/devices when iteraid.o is loaded, you will see like
       this:

       Character devices:
       1 mem
       ..
       ..
       254 itedev ==> created by our driver, maybe the major number will
                      different from your system.

       Block deices:
       ..
       ..

       The 254 is a major number for itedev, then use the mknod command to
       create the device node in /dev directory.

       # mknod /dev/itedev c 254 0
       # chmod 664 /dev/itedev


4. The note for using ATAPI CD-ROM
===================================

   01. If you want reading the data CD, just insert the disk into CD-ROM,
       then mount as iso9660 file type:

       # mount -t iso9660 /dev/scd0 /mnt/cdrom/

       Then you can access the disk data via /mnt/cdrom/. Remember to umount
       the /mnt/cdrom/ if you want to access another one.

       # umount /mnt/cdrom/

   02. If you want listening the music CD, insert the disk into CD-ROM,
       then you do not need to mount like the data disk. Just open the
       CD Player(like KsCD in KDE..), then you can start listening the music.

N.G. Moulsdale FCA
Group Finance Director
Ebi Manufacturing Co Ltd
Sandhill House
82 Meanwood Road
Leeds LS7 2RE
United Kingdom
*        44-(0)113-243-2448
Fax      44-(0)113-243-0504
*  Nick at ebi.ndo.co.uk





---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.778 / Virus Database: 525 - Release Date: 15/10/2004



NOTE: The information contained in this Email is intended for the named recipient(s) only. It may also be privileged and confidential. If you are not an intended recipient, you must not copy, distribute or take any action in reliance upon it. No warranties or assurances are made in relation to the safety and content of this e-mail and any attachments. No liability is accepted for any consequences arising from it.





More information about the Wylug-discuss mailing list