From owner-freebsd-current Mon Nov 6 14:55:53 2000 Delivered-To: freebsd-current@freebsd.org Received: from office.o-c.sk (kancel.zoznam.sk [195.28.72.230]) by hub.freebsd.org (Postfix) with ESMTP id 88ACC37B4CF; Mon, 6 Nov 2000 14:55:43 -0800 (PST) Received: from ivan (ivan.o-c.sk [192.168.1.8]) by office.o-c.sk (8.11.0/8.11.0) with SMTP id eA6Mta207721; Mon, 6 Nov 2000 23:55:36 +0100 (CET) (envelope-from debnar@o-c.sk) From: =?iso-8859-2?Q?Ivan_Debn=E1r?= To: , Cc: Subject: ATA RAID - sysinstall solution Date: Mon, 6 Nov 2000 23:55:36 +0100 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0000_01C0484D.0EAEEB00" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Disposition-Notification-To: =?iso-8859-2?Q?Ivan_Debn=E1r?= Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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