Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Feb 2000 10:29:42 +1030
From:      Greg Lehey <grog@lemis.com>
To:        Alfred Perlstein <bright@wintelcom.net>
Cc:        Johan Pettersson <johpe159@student.liu.se>, "freebsd-questions@FreeBSD.ORG" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: 2 hd,same sort/size
Message-ID:  <20000227102942.B39462@freebie.lemis.com>
In-Reply-To: <20000226040104.X21720@fw.wintelcom.net>
References:  <38B7AFDC.5B8A04FC@student.liu.se> <20000226040104.X21720@fw.wintelcom.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday, 26 February 2000 at  4:01:05 -0800, Alfred Perlstein wrote:
> * Johan Pettersson <johpe159@student.liu.se> [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): <SAMSUNG WNR-31601A (1600MB)>
>> wd0: 1536MB (3145968 sectors), 3121 cyls, 16 heads, 63 S/T, 512 B/S
>> wdc0: unit 1 (wd1): <WDC AC36400L>
>> 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): <WDC AC36400L>
>> 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




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