From owner-freebsd-hackers Fri May 18 19:51:49 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 7FDFC37B424 for ; Fri, 18 May 2001 19:51:46 -0700 (PDT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id WAA08232; Fri, 18 May 2001 22:51:45 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.3/8.9.1) id f4J2pF251729; Fri, 18 May 2001 22:51:15 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15109.57251.399660.735758@grasshopper.cs.duke.edu> Date: Fri, 18 May 2001 22:51:15 -0400 (EDT) To: Jaye Mathisen Cc: hackers@freebsd.org Subject: Re: md disks more than one from a kldload? In-Reply-To: <20010518155018.C85928@apocalypse.cdsnet.net> References: <20010518155018.C85928@apocalypse.cdsnet.net> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Jaye Mathisen writes: > > I kldload md.ko. First md device comes up just peachy. > > however, attempts to now create an md1 fail with device not > configured. If you're feeling brave, I just back ported the all-singing / all-dancing md device from -current today (I wanted a size-configurable, non MFS malloc disk for something). I haven't pushed it very hard, but multiple disks appear to work from a module. Apply the patch at http://people.freebsd.org/~gallatin/md.diff Then grab sys/sys/mdioctl.h and sbin/mdconfig from -current. You'll need to make the mdctl device node yourself (95, 0xffff00ff) If anybody else feels like testing this, please do so. Is there some interest an MFC? Cheers, Drew ------------------------------------------------------------------------------ Andrew Gallatin, Sr Systems Programmer http://www.cs.duke.edu/~gallatin Duke University Email: gallatin@cs.duke.edu Department of Computer Science Phone: (919) 660-6590 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message