[PLUTO-help] GigaRAID (IT8212) ATA RAID Controller è compatibile con Suse 8.2?
JGhiardo Marco
marco.ghiardo a roj.com
Mar 25 Nov 2003 09:03:36 CET
Ieri ho tentato la mia installazione con linux Suse 8.2, ma durante
l'installazione
automatica/manuale non mi vede gli HD.
Il mio computer è configurato in RAID0 con due HD da 80G l'uno.
GigaRAID (IT8212) ATA RAID Controller è compatibile con Suse 8.2?
Su Internet ho trovato il lastato qui riportato e tutti i files per
risolvere il problema.
Ma ho capito poco del dafarsi e poi come faccio ad eseguire il passo 1 se
non ho Linux??
Cordiali Saluti
Marco
............................................................................
.............................
ITE RAIDExpress 133 SuSE 8.2 Installation Guide and Release Note
Setepber 9, 2003
Mark Lu
(C) Copyright 2003 ITE, Inc.
1. Component Name(s) and Version #:
===================================
Components : For SuSE 8.2
Kernels Tested : 2.4.20
Driver Version : v1.42
Release Date : Setepber 9, 2003
2. Files Listing (in linux directory)
=====================================
redhat80.txt RedHat 8.0 installation guide
redhat90.txt RedHat 9.0 installation guide
mandrake90.txt Mandrake 9.0 installation guide
mandrake91.txt Mandrake 9.1 installation guide
suse82.txt SuSE 8.2 installation guide
|
+- md90 Mandrake 9.0 directory
| +- 2.4.19-16mdk UP driver directory
| | +- iteraid.o UP driver
| |
| +- 2.4.19-16mdksmp SMP driver directory
| | +- iteraid.o SMP drive
| |
| +- 2.4.19-16mdkBOOT Boot driver directory
| +- iteraid.o Boot driver
|
+-md91 Mandrake 9.1 directory
| +- 2.4.21-0.13mdk UP driver directory
| | +- iteraid.o UP driver
| |
| +- 2.4.21-0.13mdksmp SMP driver directory
| | +- iteraid.o SMP driver
| |
| +- 2.4.21-0.13mdkBOOT Boot driver directory
| +- iteraid.o Boot driver
|
+- rh80 RedHat 8.0 directory
| |- modinfo Module info file
| |- modules.cgz Compressed driver modules
| |- modules.dep Module dependence file
| |- pcitable IT8212 pci info
| |- rhdd-6.1 Driver disk label
| +- iteraid.o Driver module for RedHat 8.0 UP kernel
|
+- rh90 RedHat 9.0 directory
| |- modinfo Module info file
| |- modules.cgz Compressed driver modules
| |- modules.dep Module dependence file
| |- pcitable IT8212 pci info
| |- rhdd-6.1 Driver disk label
| +- iteraid.o Driver module for RedHat 9.0 UP kernel
|
+- suse82 SuSE 8.2 directory
|- 2.4.20-4GB UP driver directory
| +- iteraid.o UP driver
|
+- 2.4.20-64GB-SMP SMP driver directory
+- iteraid.o SMP driver
3. Installation Guide
=====================
3.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.
03. You can test out the module to ensure that it works by the following
commands:
# 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):
# gzip -dc /boot/initrd > /tmp/initrd.ext2
# mkdir /mnt/initrd
# mount -o loop /tmp/initrd.ext2 /mnt/initrd
For SuSE 8.2 UP kernel
# mkdir -p /mnt/initrd/lib/modules/2.4.20-4GB/kernel/drivers/scsi
# cp -f iteraid.o
/mnt/initrd/lib/modules/2.4.20-4GB/kernel/drivers/scsi/
For SuSE 8.2 SMP kernel
# mkdir -p
/mnt/initrd/lib/modules/2.4.20-64GB-SMP/kernel/drivers/scsi
# cp -f iteraid.o
/mnt/initrd/lib/modules/2.4.20-64GB-SMP/kernel/drivers/scsi/
# echo "insmod iteraid" >> /mnt/initrd/linuxrc
# umount /mnt/initrd
# gzip -c /tmp/initrd.ext2 > /boot/initrd
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
3.2. **** Installing Mandrake 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 disk
Copy all the files under /linux/suse82/ directory to a new dos
formatted
disk.
04. Install SuSE 8.2 Linux
(1) Start installing SuSE 8.2 by booting with the CDROM or DVD-ROM.
(2) At the SuSE 8.2 Linux installation screen appear, choose
"Installation"
then press "Enter".
(3) Press <Crtl>+<Alt>+F2 at "Language Selection" menu, insert the
ITERAID
driver disk into the floppy.
(4) Issue following commands to load ITERAID module.
# mount /dev/fd0 /mnt
# cp /mnt/2.4.20-4GB/iteraid.o /tmp/
# cd /tmp/
# insmod iteraid.o
# cd /
# umount /mnt
(5) Then switch back by pressing <Ctrl>+<Alt>+F7 and continue the
installation as normal.
(6) If you are prompted "The system was successfully installed. Your
machine must now be rebooted...", do not remove the installation
CD.
Press "Ok" to reboot the system. This is required for SMP
installation and some specific UP installations. If you don't
get this prompt, go to step 7.
At the SuSE 8.2 Linux installation screen appear, choose
"Installation"
then press "Enter". When "language selection" screen appears,
switch to console 2 by pressing <Ctrl>+<Alt>+F2, then type in
the following commands.
# mount /dev/fd0 /mnt
# cp /mnt/2.4.20-4GB/iteraid.o /tmp/
# cd /tmp/
# insmod iteraid.o
# cd /
# umount /mnt
Then switch back by pressing <Ctrl>+<Alt>+F7, when "Please
select"
dialog appears, please select "Boot installed system". Then press
"Ok".
(7) When asked to type the password of root, switch to console 2 by
pressing <Ctrl>+<Alt>+F2, then insert the driver disk into floppy
and type the following commands.
# mount /dev/fd0 /media/floppy
For SuSE 8.2 UP kernel
# cp -f /media/floppy/2.4.20-4GB/iteraid.o
/lib/modules/2.4.20-4GB/kernel/drivers/scsi/
For SuSE 8.2 SMP kernel
# cp -f /media/floppy/2.4.20-64GB-SMP/iteraid.o
/lib/modules/2.4.20-64GB-SMP/kernel/drivers/scsi/
# sed -e 's/INITRD_MODULES="/INITRD_MODULES="iteraid /g'
/etc/sysconfig/kernel > /tmp/kernel.ite
# mv /etc/sysconfig/kernel /etc/sysconfig/kernel.old
# mv /tmp/kernel.ite /etc/sysconfig/kernel
# mkinitrd
# umount /media/floppy
# exit
(8) Please press <Ctrl>+<Alt>+F7 and continue the normal
installation.
4. 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
5. 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
More information about the pluto-help
mailing list