From owner-freebsd-questions Sat Feb 26 15:59:31 2000 Delivered-To: freebsd-questions@freebsd.org Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by hub.freebsd.org (Postfix) with ESMTP id E700537B646 for ; Sat, 26 Feb 2000 15:59:25 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id KAA39577; Sun, 27 Feb 2000 10:29:43 +1030 (CST) Date: Sun, 27 Feb 2000 10:29:42 +1030 From: Greg Lehey To: Alfred Perlstein Cc: Johan Pettersson , "freebsd-questions@FreeBSD.ORG" Subject: Re: 2 hd,same sort/size Message-ID: <20000227102942.B39462@freebie.lemis.com> References: <38B7AFDC.5B8A04FC@student.liu.se> <20000226040104.X21720@fw.wintelcom.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre2i In-Reply-To: <20000226040104.X21720@fw.wintelcom.net> WWW-Home-Page: http://www.lemis.com/~grog X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Saturday, 26 February 2000 at 4:01:05 -0800, Alfred Perlstein wrote: > * Johan Pettersson [000226 03:19] wrote: >> Hello! >> >> I have installed 2 hd of same sort and size. >> And it seems like only one of them will be >> given dma/irq! I can't find anything about that >> problem. Grateful for help! > > The individual drives don't need seperate irq/ports, just the > controllers: > >> >> ------8<---------------------------- >> wdc0 at 0x1f0-0x1f7 irq 14 on isa > > controller #1 --^^^ > >> wdc0: unit 0 (wd0): >> wd0: 1536MB (3145968 sectors), 3121 cyls, 16 heads, 63 S/T, 512 B/S >> wdc0: unit 1 (wd1): >> wd1: 6149MB (12594960 sectors), 13328 cyls, 15 heads, 63 S/T, 512 B/S >> wdc1 at 0x170-0x177 irq 15 on isa > > controller #2 --^^^ > >> wdc1: unit 0 (wd2): >> wd2: 6149MB (12594960 sectors), 13328 cyls, 15 heads, 63 S/T, 512 B/S >> wt0 not found at 0x300 >> ------8<---------------------------- More to the point, I don't see any DMA at all. You need to set the controller flags to oxa0ffa0ff to set multi-sector transfers and DMA. Then your probes should indicate that you are using DMA, which will greatly improve performance. Greg -- Finger grog@lemis.com for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message