[Folug]Vi ricordate il RAID0???
folug@lists.linux.it
folug@lists.linux.it
Tue, 27 Nov 2001 08:58:59 +0100
Messaggio in formato MIME composto da pił parti.
------=_NextPart_000_0020_01C17721.C0DADEC0
Content-Type: multipart/related;
type="multipart/alternative";
boundary="----=_NextPart_001_0021_01C17721.C0DADEC0"
------=_NextPart_001_0021_01C17721.C0DADEC0
Content-Type: multipart/alternative;
boundary="----=_NextPart_002_0022_01C17721.C0DADEC0"
------=_NextPart_002_0022_01C17721.C0DADEC0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Ho scaricato dal sito promise il driver per Red Hat 7.1, e nel pacchetto =
ho trovato un interessante file "readme1.txt", che allego.
Faccio un sunto:
>1.3 Redhat 7.1 ATA issue on FastTrak Series PDC20262/PDC20265
>Redhat Linux Kernels 2.4.0 to 2.4.5 misidentifies PDC20262/PDC20265=20
>(FastTrak 66/FastTrak 100 Lite motherboard-embedded solution) cards =
and/or chips as simple IDE >controllers. This results in the built-in =
Linux IDE driver trying to handle the card
>and can prevent the proper FastTrak ATA RAID driver to be loaded. =
Follow the installation
>instructions AND the parameter commands referred to in the Notes =
section. The instructions
>will refer to you as "RHF upgrader."
Questa mi sembra esattamente la tua situazione.
> 0) Extract the contents of the TGZ file on to a formatted floppy disk. =
Label the disk "FastTrak Driver Disk".
> 1.) Start the Redhat Install by booting with the installation =
diskettes or bootable CD ROM.
> 2.) At the "Welcome to Red Hat Linux ..." installation screen, a =
prompt labeled "boot:" will appear at the bottom of the screen.=20
> 3.) For RHF upgraders ONLY, please press TAB key and append =
parameters (see Note 1 below).
Quindi, quando appare "boot:", premi TAB ed inserisci questi parametri:
linux ide0=3D0x1f0,0x3f6,14 ide1=3D0x170,0x376,15 ide2=3D0 ide3=3D0 =
ide4=3D0 ide5=3D0 ide6=3D0 ide7=3D0 ide8=3D0 ide9=3D0 expert
> 4.) At the "Devices" dialog box, insert the FastTrak Driver Disk in =
the floppy drive and then select "OK" or "Yes". If installing Redhat =
7.1, please skip to Step 9.=20
> 9.) For RHF users ONLY, when the LILO Configuration screen is =
displayed, please type=20
parameters (see NOTE 2 below) in the Kernel parameters field.
Ancora, dei parametri da aggiungere. Questa volta =E8 nella maschera di =
installazione del LILO - che, per quello che mi ricordo, =E8 verso la =
fine dell'installazione:
ide0=3D0x1f0,0x3f6,14 ide1=3D0x170,0x376,15 ide2=3D0 ide3=3D0 ide4=3D0 =
ide5=3D0 ide6=3D0 ide7=3D0 ide8=3D0 ide9=3D0
> 10.) Continue with the installation as normal.=20
Spero che funzioni.
Ciao Stefano
----- Original Message -----=20
From: Claudio=20
To: folug@lists.linux.it=20
Sent: Monday, November 26, 2001 8:28 PM
Subject: [Folug]Vi ricordate il RAID0???
Immagino che vi state toccando........
Comunque ho provato la red 7.2, caricato i driver del floppy per il =
raid ( poi ho riprovato senza metterli), ma mentre la 7.1 riconosceva =
sda da 58Gb + 2 Hdg.. di 29Gb la 7.2 vede 2 dischi divisi da 29... ma mi =
d=E0 la possibilit=E0 di creare il raid0 via software.
Ho anche provato a settare i jumper come da manuale ma i risultati =
sono stati identici se non che durante l'avvio mi vede uno "sconosciuto" =
controller raid promise 20265, cos=EC colto da disperazione e crisi =
depressiva mi sono lanciato postando un help sul forum della ASUS A7V =
con il mio (hihihi) inglese e questo =E8 il risultato:
1-risposta:
You will have to go over to Promise's website and grab their raid =
driver for linux. The one that is distributed by the linux kernel is =
only for using the controller in normal ATA mode, not for RAID.
But if I were you I would use the driver included in the kernel with =
the linux software raid on top of it. For starters all the needed parts =
are in the kernel and then it is something you can ask the kernel =
developers for support if something goes wrong. You 'll find very few =
ppl willing to help you if you are running a binary-only third-party =
driver that nobody has access its source code. Really the MD drivers =
lacks nothing and can do RAID5 also... )
2-Risposta:
I agree. Use a software RAID setup with Linux.
I have tried the RAID drivers and they are shoddy, at best.
The software RAID is much much better.
Il mio inglese =E8 un p=F2 approssimativo, non riesco a tradurli =
completamente, a voi un giudizio, anche se mi sembra di capire che =
consigliano di usare un raid software, o no?
Ciao a tutti
------=_NextPart_002_0022_01C17721.C0DADEC0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3315.2870" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Ho scaricato dal sito promise il driver =
per Red Hat=20
7.1, e nel pacchetto ho trovato un interessante file "readme1.txt", che=20
allego.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Faccio un sunto:</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>>1.3 Redhat 7.1 ATA issue on =
FastTrak Series=20
PDC20262/PDC20265<BR>>Redhat Linux Kernels 2.4.0 to 2.4.5 =
misidentifies=20
PDC20262/PDC20265 <BR>>(FastTrak 66/FastTrak 100 Lite =
motherboard-embedded=20
solution) cards and/or chips as simple IDE >controllers. This results =
in the=20
built-in Linux IDE driver trying to handle the card<BR>>and can =
prevent the=20
proper FastTrak ATA RAID driver to be loaded. Follow the=20
installation<BR>>instructions AND the parameter commands referred to =
in the=20
Notes section. The instructions<BR>>will refer to you as "RHF=20
upgrader."</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Questa mi sembra esattamente la tua=20
situazione.</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>> 0) Extract the contents of the TGZ =
file on to=20
a formatted floppy disk. Label the disk "FastTrak Driver =
Disk".</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>> 1.) Start the Redhat =
Install by=20
booting with the installation diskettes or bootable CD=20
ROM.<BR>> 2.) At the "Welcome to Red Hat Linux ..." =
installation=20
screen, a prompt labeled "boot:" will appear at the bottom of =
the=20
screen. <BR>> 3.) For RHF upgraders ONLY, please press =
TAB key=20
and append parameters (see Note 1 below).<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Quindi, quando appare "boot:", premi =
TAB ed=20
inserisci questi parametri:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>linux ide0=3D0x1f0,0x3f6,14 =
ide1=3D0x170,0x376,15=20
ide2=3D0 ide3=3D0 ide4=3D0 ide5=3D0 ide6=3D0 ide7=3D0 ide8=3D0 ide9=3D0 =
expert</DIV></FONT>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>> 4.) At the "Devices" =
dialog box,=20
insert the FastTrak Driver Disk in the floppy drive and then select =
"OK" or=20
"Yes". If installing Redhat 7.1, please skip to Step 9. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>> 9.) For RHF users =
ONLY, when the=20
LILO Configuration screen is displayed, please type=20
<BR> parameters (see NOTE 2 below) =
in the=20
Kernel parameters field.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Ancora, dei parametri da aggiungere. =
Questa volta =E8=20
nella maschera di installazione del LILO - che, per quello che mi =
ricordo, =E8=20
verso la fine dell'installazione:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>ide0=3D0x1f0,0x3f6,14 =
ide1=3D0x170,0x376,15 ide2=3D0=20
ide3=3D0 ide4=3D0 ide5=3D0 ide6=3D0 ide7=3D0 ide8=3D0 =
ide9=3D0<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>> 10.) Continue with the =
installation as=20
normal. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Spero che funzioni.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Ciao Stefano</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><BR><BR> </DIV></FONT>
<BLOCKQUOTE=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A href=3D"mailto:cc65@libero.it" title=3Dcc65@libero.it>Claudio</A> =
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
href=3D"mailto:folug@lists.linux.it"=20
title=3Dfolug@lists.linux.it>folug@lists.linux.it</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Monday, November 26, 2001 =
8:28=20
PM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [Folug]Vi ricordate il =
RAID0???</DIV>
<DIV><BR></DIV>
<DIV><FONT face=3DArial size=3D2>Immagino che vi state=20
toccando........</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Comunque ho provato la red 7.2, =
caricato i driver=20
del floppy per il raid ( poi ho riprovato senza metterli), ma mentre =
la 7.1=20
riconosceva sda da 58Gb + 2 Hdg.. di 29Gb la 7.2 vede 2 dischi divisi =
da 29...=20
ma mi d=E0 la possibilit=E0 di creare il raid0 via =
software.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Ho anche provato a settare i jumper =
come da=20
manuale ma i risultati sono stati identici se non che durante l'avvio =
mi vede=20
uno "sconosciuto" controller raid promise 20265, cos=EC colto da =
disperazione e=20
crisi depressiva mi sono lanciato postando un help sul forum della =
ASUS A7V=20
con il mio (hihihi) inglese e questo =E8 il risultato:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>1-risposta:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>You will have to go over to Promise's =
website and=20
grab their raid driver for linux. The one that is distributed by the =
linux=20
kernel is only for using the controller in normal ATA mode, not for=20
RAID.<BR><BR>But if I were you I would use the driver included in the =
kernel=20
with the linux software raid on top of it. For starters all the needed =
parts=20
are in the kernel and then it is something you can ask the kernel =
developers=20
for support if something goes wrong. You 'll find very few ppl willing =
to help=20
you if you are running a binary-only third-party driver that nobody =
has access=20
its source code. Really the MD drivers lacks nothing and can do RAID5 =
also...=20
<IMG=20
=
src=3D"http://www.a7vtroubleshooting.com/forum/YaBBImages/smiley.gif">)<B=
R></DIV></FONT>
<DIV><FONT face=3DArial size=3D2>2-Risposta:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I agree. Use a software RAID =
setup with=20
Linux.<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I have tried the RAID drivers and =
they are=20
shoddy, at best.<BR><BR>The software RAID is much much =
better.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Il mio inglese =E8 un p=F2 =
approssimativo, non riesco=20
a tradurli completamente, a voi un giudizio, anche se mi sembra di =
capire che=20
consigliano di usare un raid software, o no?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Ciao a=20
tutti<BR></DIV></BLOCKQUOTE></FONT></BODY></HTML>
------=_NextPart_002_0022_01C17721.C0DADEC0--
------=_NextPart_001_0021_01C17721.C0DADEC0
Content-Type: image/gif;
name="smiley.gif"
Content-Transfer-Encoding: base64
Content-Location: http://www.a7vtroubleshooting.com/forum/YaBBImages/smiley.gif
R0lGODlhDwAPAOYAAPX23MCyAC8sAMi5AcDAwMi5Asi6Asm6A8i5A8i6AzAtAcq7Bcm6Bcq8B8u9
CMq7CMq8CMq8Ccu9C8y+Ds29D82+D82/EM6/Es2/Es/AFc7AFc/BF9DBGM/BGNHCGdDBGdLDH9LE
H9LDINTFI9PFI9XGJdTGJdTGJtjKMDMwDDMwDTAsAzEtBTEtBtHBHNLCHTIuCNTEJdXFJ9bHKtjJ
LdjHLtjJLtfILjMvC9jIMTMvDNnKNNrLNdnKNdvKN9rLN9zMOtvMOtvNOt3NPdzNPdzOPd7PQv//
/wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACH5
BAEAAAQALAAAAAAPAA8AAAeogASCgjAwLSwrg4oEODgzJiIfGCsKiyk/PCgzJC8ZEw0CgzpAREE8
NyYgGxUOCaEEKkNGRT43JyEcFg8FoUg7QkVISDUnIMIPCQMCSDk9P8IzIy7CDQPKSAE3NjQzMSIe
FxILAwHLASUyJyMiIxoUEAcB5dgBIkgj7RAQ9OUE2B0dhAmEIO8VvQoTJERgUIBcP0H0GixAYI3c
q0HCDFRUdnGRMAEgFwUCADs=
------=_NextPart_001_0021_01C17721.C0DADEC0--
------=_NextPart_000_0020_01C17721.C0DADEC0
Content-Type: text/plain;
name="readme1.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="readme1.txt"
FastTrak Series Linux Driver Version 1.2.0.9=20
Installation Note for Redhat Linux [07/04/2001]
=20
[INTRODUCTION]
1.1 Foreword
This driver diskette should be used with all Promise FastTrak66 =
or FastTrak100=20
TX & LP cards and onboard chipsets running under Redhat Linux =
operating systems.=20
Do NOT use this diskette for other versions of Linux for FastTrak =
support.
NOTE: For FastTrak users with Promise chips labelled PDC20262 or =
PDC20265 (FastTrak66 or
FastTrak100 Lite motherboard-embedded solutions) running Redhat Linux =
with kernel versions
2.4.0 through 2.4.5, be aware of additional instructions to be =
performed. The instructions
will refer to you as "RHF upgraders." See Item 1.3 below for description =
of the issue which
use of the driver and instructions solves.
1.2 Support List
Red Hat 6.2 (2.2.14-5.0)
Red Hat 6.2-OEM (2.2.14-6.1.1)
Red Hat 7.0 (2.2.16-22)
Red Hat 7.1 (2.4.2-2)
1.3 Redhat 7.1 ATA issue on FastTrak Series PDC20262/PDC20265
Redhat Linux Kernels 2.4.0 to 2.4.5 misidentifies PDC20262/PDC20265=20
(FastTrak 66/FastTrak 100 Lite motherboard-embedded solution) cards =
and/or chips as simple IDE controllers. This results in the built-in =
Linux IDE driver trying to handle the card
and can prevent the proper FastTrak ATA RAID driver to be loaded. Follow =
the installation
instructions AND the parameter commands referred to in the Notes =
section. The instructions
will refer to you as "RHF upgrader."
[INSTALLATION]
Extract the contents of the TGZ file on to a formatted floppy =
disk. Label=20
the disk "FastTrak Driver Disk".
2.1 To install the FastTrak Series Linux Driver into an EXISTING SYSTEM:
1.) For RHF upgraders ONLY, press the TAB key and append parameters =
(see Note 1 below)=20
when "boot:" prompt appears when booting.=20
--- OR ---
If NOT an RHF upgrader, ignore step 1 and proceed to step 2.
2.) Get driver "ft.o" from FastTrak Driver Disk by issuing commands :
# gzip -dc modules.cgz > modules.cpio
# cpio -idumv < modules.cpio
(this loads the Modules from the subdirectories which you need)
Load FastTrak Driver by issuing commands :=20
# insmod scsi_mod.o (only necessary on RedHat7.1, get it from =
/lib/modules/..)
# insmod ft.o=20
2.2 To install the FastTrak Series Linux Driver into an NEW SYSTEM
1.) Start the Redhat Install by booting with the installation =
diskettes
or bootable CD ROM.
2.) At the "Welcome to Red Hat Linux ..." installation screen, a=20
prompt labeled "boot:" will appear at the bottom of the screen.=20
3.) For RHF upgraders ONLY, please press TAB key and append =
parameters (see Note 1 below).
--- OR ---
If you are NOT an RHF upgrader, type "expert" (without =
quotations) at the "boot:" prompt,
then press the enter key.
4.) At the "Devices" dialog box, insert the FastTrak Driver Disk in =
the=20
floppy drive and then select "OK" or "Yes".
If installing Redhat 7.1, please skip to Step 9.=20
5.) After reaching the "Devices" dialog box again, select "Add =
Device".
6.) When asked "what kind of device would you like to add?", select=20
"SCSI", and then select "OK".
7.) Press the "P" key and scroll down to "Promise FastTrak Series =
....",
and then select "OK".
8.) The installation process will now display "Promise FastTrak =
Series=20
Linux Driver" has been found. Select "Done".
9.) For RHF users ONLY, when the LILO Configuration screen is =
displayed, please type=20
parameters (see NOTE 2 below) in the Kernel parameters field.
--- OR ---
If NOT an RHF user, ignore step 9 and proceed to step 10.
10.) Continue with the installation as normal.=20
[NOTE]=20
1.) "linux ide0=3D0x1f0,0x3f6,14 ide1=3D0x170,0x376,15 ide2=3D0 =
ide3=3D0 ide4=3D0 ide5=3D0 ide6=3D0 ide7=3D0 ide8=3D0 ide9=3D0 expert"
2.) "ide0=3D0x1f0,0x3f6,14 ide1=3D0x170,0x376,15 ide2=3D0 ide3=3D0 =
ide4=3D0 ide5=3D0 ide6=3D0 ide7=3D0 ide8=3D0 ide9=3D0"=20
3.) You may boot from any size partition as Redhat 7.0 does not have=20
the 1 gig boot limitation that 6.2/7.1 does. LILO MUST BE =
INSTALLED
ON THE MBR IF YOU WANT TO BOOT FROM THE ARRAY.
4.) If you would like to run SCSI SMP Modules on Linux, Promise =
recommends
running RH7.0 Linux.
5.) If you would like to boot with FastTrak driver on RedHat 7.0/7.1=20
"enterprise", the kernel will NOT accept it. The FastTrak driver =
does=20
not yet support the "enterprise" kernel. Please change default =
booting
label to "linux up" or "linux smp".
------=_NextPart_000_0020_01C17721.C0DADEC0
Content-Type: text/plain;
name="readme2.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="readme2.txt"
FastTrak66/100 v1.20 build 7 Ioctl Interface [02.11.2001]
[SYNOPSIS]
#include <sys/ioctl.h>
int ioctl(int d, int command, *args)
The "first" argument d must be an open file descriptor , such as
"/dev/sda" , "/dev/sdb" , ... ( which FastTrak driver mapped )
[IOCTL COMMANDS LIST]
(1) [ARGUMENT]
command: 0x3801
args : ft_info_t *args
[DESCRIPTION]
get all Adapters/Arrays status
(2) [ARGUMENT]
command: 0x3802
args : unsigned char args[512]
[DESCRIPTION]
Identify Drive x
args[0] = '1' -> identify Primary/Master drive
args[0] = '3' -> identify Secondary/Master drive
(3) [ARGUMENT]
command: 0x3803
args : ft_swapbox_t *args[FT_Max_Dev]
[DESCRIPTION]
get all Swap Boxes information
(4) [ARGUMENT]
command: 0x3804
args : unsigned char args[512]
[DESCRIPTION]
set Disable Mirroring Synchronous flag :
FastTrak driver allows user to disable starting mirroring ,
when system is critical and be going to rebuild array ,
untill the flag has been disabled.
args[0] = '1' -> disable mirroring synchronous
args[0] = '0' -> enable mirroring synchronous
(5) [ARGUMENT]
command: 0x3806
args : snmp_log_t args[50];
[DESCRIPTION]
dump event log such as Disk Offline , Disk Plugged in ,
Disk Rebuild Started , Disk Rebuild Completed , .......
[RETURN VALUE]
On success, zero is returned. On error, -1 is returned.
If argument "args" is NULL pointer , 0x10 will be returned.
[DATA STRUCTURE]
#define FT_Max_Ada 2
#define FT_Max_Arr 4
#define FT_Max_Dev 8
The SwapBox structure for IOCTL (0X3803)
typedef struct {
unsigned char present; // box present
unsigned char BoxID; // different kind of box
unsigned short MIC; // monitor IC vendor ID
unsigned long RPM;
unsigned short TmpC;
unsigned short TmpF;
unsigned short Vcc; // (mv)
unsigned short V12; // (mv)
} ft_swapbox_t ;
The Main Adapter structure for IOCTL(0x3801)
typedef struct {
unsigned short deviceid;
unsigned char irq;
unsigned short base[5];
unsigned int rom;
} ft_ladainfo_t ;
The Array structure for ft_info_t - IOCTL(0x3801)
typedef struct {
unsigned char ID; // array ID
unsigned char Flag; // normal(0x0F)
unsigned char RAID; // RAID Mode
unsigned char StripeBlockPower;
unsigned short Cyl;
unsigned char Hd;
unsigned char Sctr;
unsigned int Size; // total size
unsigned int Watermark; // has rebuilt size
unsigned char strm; // component disks
} ft_larrinfo_t ;
The Main Information structure for IOCTL (0x3801)
typedef struct {
unsigned char ver[30];
ft_ladainfo_t adainfo[FT_Max_Ada];
ft_larrinfo_t arrinfo[FT_Max_Arr];
unsigned char rebdev; // rebuilding drive
} ft_info_t ;
//event log struct provided thru ioctl
typedef struct {
int sequence;
int eventid;
int arrayid;
int diskid;
} snmp_log_t;
------=_NextPart_000_0020_01C17721.C0DADEC0--