Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Nov 2000 15:10:02 -0800 (PST)
From:      =?iso-8859-2?Q?Ivan_Debn=E1r?= <debnar@o-c.sk>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: misc/22625: Unable to install FreeBSD system to ATA RAID disk from boot floppies
Message-ID:  <200011062310.PAA77316@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/22625; it has been noted by GNATS.

From: =?iso-8859-2?Q?Ivan_Debn=E1r?= <debnar@o-c.sk>
To: <freebsd-gnats-submit@FreeBSD.org>,
	<hidekazu@fmx.cs.titech.ac.jp>
Cc:  
Subject: Re: misc/22625: Unable to install FreeBSD system to ATA RAID disk from boot floppies
Date: Tue, 7 Nov 2000 00:05:07 +0100

 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
 
 


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




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