From owner-freebsd-isdn Sun Feb 20 4:18:51 2000 Delivered-To: freebsd-isdn@freebsd.org Received: from awfulhak.org (dynamic-107.max3-du-ws.dialnetwork.pavilion.co.uk [212.74.9.107]) by hub.freebsd.org (Postfix) with ESMTP id DF2A737BB9A; Sun, 20 Feb 2000 04:18:43 -0800 (PST) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by awfulhak.org (8.9.3/8.9.3) with ESMTP id MAA41882; Sun, 20 Feb 2000 12:10:15 GMT (envelope-from brian@hak.lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost.lan.Awfulhak.org [127.0.0.1]) by hak.lan.Awfulhak.org (8.9.3/8.9.3) with ESMTP id MAA78505; Sun, 20 Feb 2000 12:10:06 GMT (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200002201210.MAA78505@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: Doug Rabson Cc: Hellmuth Michaelis , current@FreeBSD.ORG, freebsd-isdn@FreeBSD.ORG, brian@hak.lan.Awfulhak.org Subject: Re: Big ATA problems In-Reply-To: Message from Doug Rabson of "Sun, 20 Feb 2000 11:38:51 GMT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 20 Feb 2000 12:10:05 +0000 From: Brian Somers Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > On Sun, 20 Feb 2000, Hellmuth Michaelis wrote: > > > Doug Rabson wrote: > > > > > > atapci0: port 0xe000-0xe00f at device 7.1 on > > > > pci0 > > > > ata0: at 0x1f0 irq 14 on atapci0 > > > > ata1: at 0x170 irq 15 on atapci0 > > > > ... > > > > isic0: Error allocating io at 0x160 for Teles S0/16.3! > > > > > > > > While I was able to use the Teles again by changing it's default IO port I > > > > think there will be some people who will find it cumbersome to have to > > > > change the IO on a card that was working fine before. > > > > > > > > I feel this is a newbus issue with the ATA driver and/or maybe the i4b > > > > driver doesn't really need that many IO ports so I'm sending this email to > > > > both parties. > > > > > > This is a bug in the isic driver. I'm sure it doesn't use every port in > > > that range so it needs to split the range in to two or more pieces and > > > only allocate ports which it actually needs. > > > > How do you come to that conclusion ? > > > > A typical isic hardware has an ISAC and an HSCX chip onboard. The ISAC > > chip does the D-channel handling and uses offsets 0-0x2b and 0x30-0x3b, > > the HSCX (B-channels) uses offsets 0-0x3b and 0x40-0x73. > > > > The card in question allocates 3 portranges for this uses with each 0x40 > > bytes in length. > > > > In case there is is already an IDE controller allocated at 0x170 and a > > Teles 16.3 tries to allocate a range of 0x40 at 0x160 it cannot do so. > > > > So where is the bug ? > > > > This all looks perfectly reasonable to me with the exception that we could > > start argueing about whether it would be reasonable to split the allocation > > ranges for the ISAC and to save (if at all possible, there are some more > > registers at the end of the HSCX on the card) some bytes in the HSCX case. > > So you are saying that what we really have here is a simple i/o conflict > and possibly the ISDN card can be reconfigured to use a non-conflicting > address? If so, then everything is working correctly and the resource > manager has pointed a possible hardware problem :-). So it would seem, *but*, before moving from wd to ata I had both working 100% reliably. I had to move the Teles card to get it to work (allocate resources successfully) once I changed to ata. I would be pretty sure that the Teles S0/16.3 doesn't actually go near the I/O range @ 0x170. > -- > Doug Rabson Mail: dfr@nlsystems.com > Nonlinear Systems Ltd. Phone: +44 181 442 9037 -- Brian Don't _EVER_ lose your sense of humour ! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message