Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Nov 2000 23:55:36 +0100
From:      =?iso-8859-2?Q?Ivan_Debn=E1r?= <debnar@o-c.sk>
To:        <freebsd-stable@freebsd.org>, <freebsd-current@freebsd.org>
Cc:        <sos@freebsd.dk>
Subject:   ATA RAID - sysinstall solution
Message-ID:  <NEBBLGGDMLOMBLNHDFHFOEDDCAAA.debnar@o-c.sk>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0000_01C0484D.0EAEEB00
Content-Type: text/plain;
	charset="iso-8859-2"
Content-Transfer-Encoding: 8bit

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

------=_NextPart_000_0000_01C0484D.0EAEEB00
Content-Type: text/x-vcard;
	name="=?iso-8859-2?Q?Ivan_Debn=E1r.vcf?="
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="=?iso-8859-2?Q?Ivan_Debn=E1r.vcf?="

BEGIN:VCARD
VERSION:2.1
N:Debn=E1r;Ivan
FN:Ivan Debn=E1r
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=E1 cesta 53;Bansk=E1 Bystrica;;974 01;Slovak =
Republic
LABEL;WORK;ENCODING=3DQUOTED-PRINTABLE:Rudlovsk=3DE1 cesta =
53=3D0D=3D0ABansk=3DE1 Bystrica 974 01=3D0D=3D0ASlovak Republic
BDAY:19770829
EMAIL;PREF;INTERNET:debnar@o-c.sk
REV:20000922T091913Z
END:VCARD

------=_NextPart_000_0000_01C0484D.0EAEEB00--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?NEBBLGGDMLOMBLNHDFHFOEDDCAAA.debnar>