I'm using HTP 370 ATA RAID controller, which should have been supported in
stable and current according to CVS messages from Soren.

But as few of us found, it is not, in fact.

KERNEL recognises device ar0.

4.2 sysinstall does not offer ar0 as disk drive
5.0-current sysinstall offers it, but is not able to create slices on it.
(DEBUG: MakeDev unknown major/minor).

So I looked through sysinstall source and libdisk source and guess what ! -
libdisk doesn't know about ar? devices yet.

Could someone update the libdisk source in stable and current to include the
device?
The files affected are:

/src/lib/libdisk/create_chunk.c
/src/lib/libdisk/disk.c

--- disk.c.orig Thu Sep 14 14:10:45 2000
+++ disk.c      Mon Nov  6 23:41:45 2000
@@ -461,7 +461,7 @@
 }
 #endif

-static char * device_list[] = {"wd", "ad", "da", "wfd", "fla", "idad",
"mlxd", "amrd", "twed", 0};
+static char * device_list[] = {"wd", "ad", "da", "wfd", "fla", "idad",
"mlxd", "amrd", "twed", "ar", 0};

 char **
 Disk_Names()


--- create_chunk.c.orig Fri Jul 14 08:30:59 2000
+++ create_chunk.c      Mon Nov  6 23:46:59 2000
@@ -300,6 +300,8 @@
        cmaj = 147, p += 4;
     else if (!strncmp(p, "da", 2))     /* CAM support */
        cmaj = 13, p += 2;
+    else if (!strncmp(p, "ar", 2))     /* ATA RAID */
+       cmaj = 157, p += 2;
     else {
        msgDebug("MakeDev: Unknown major/minor for devtype %s\n", p);
        return 0;

Unfortunately I am not able to compile and try this, but if someone can
create a set of 4-STABLE or 5-CURRENT installation disks and e-mail them,
I'm willing to try.

Those diffs are against 2000-10-30 stable, so they are just to show changes
what I thing should be done to actual current files. This should make
Current install on ATA RAID hopefully. I don't know, if it will make STABLE
sysinstall recognize the ar device. I hope so.


Ivan Debnár
Online Consulting, s.r.o.

tel.://+421 88 4146721
fax://+421 88 4142231
http://www.o-c.sk
BEGIN:VCARD
VERSION:2.1
N:Debnár;Ivan
FN:Ivan Debnár
ORG:Online Consulting, s.r.o.
TEL;WORK;VOICE:+421 (88) 4146721
TEL;HOME;VOICE:+421 (88) 4171223
TEL;CELL;VOICE:+421 (903) 506197
TEL;WORK;FAX:+421 (88) 4142231
ADR;WORK:;;Rudlovská cesta 53;Banská Bystrica;;974 01;Slovak Republic
LABEL;WORK;ENCODING=QUOTED-PRINTABLE:Rudlovsk=E1 cesta 53=0D=0ABansk=E1 Bystrica 974 01=0D=0ASlovak Republic
BDAY:19770829
EMAIL;PREF;INTERNET:[EMAIL PROTECTED]
REV:20000922T091913Z
END:VCARD

Reply via email to