From owner-freebsd-alpha Wed May 1 1:45:10 2002 Delivered-To: freebsd-alpha@freebsd.org Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by hub.freebsd.org (Postfix) with ESMTP id 9347D37B405 for ; Wed, 1 May 2002 01:45:05 -0700 (PDT) Received: from cicely5.cicely.de (cicely5.cicely.de [3ffe:400:8d0:301:200:92ff:fe9b:20e7]) (authenticated) by srv1.cosmo-project.de (8.11.6/8.11.6) with ESMTP id g418ids48636 (using TLSv1/SSLv3 with cipher EDH-RSA-DES-CBC3-SHA (168 bits) verified OK); Wed, 1 May 2002 10:44:45 +0200 (CEST) (envelope-from ticso@cicely5.cicely.de) Received: from cicely5.cicely.de (localhost [IPv6:::1]) by cicely5.cicely.de (8.12.1/8.12.1) with ESMTP id g418icSZ014722 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 1 May 2002 10:44:38 +0200 (CEST)?g (envelope-from ticso@cicely5.cicely.de) Received: (from ticso@localhost) by cicely5.cicely.de (8.12.1/8.12.1/Submit) id g418ibPe014721; Wed, 1 May 2002 10:44:37 +0200 (CEST)?g (envelope-from ticso) Date: Wed, 1 May 2002 10:44:36 +0200 From: Bernd Walter To: Peter Jeremy Cc: freebsd-alpha@FreeBSD.ORG Subject: Re: AlphaServer 400 interrupt problems Message-ID: <20020501084436.GH60196@cicely5.cicely.de> References: <20020501114313.R25071@gsmx07.alcatel.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020501114313.R25071@gsmx07.alcatel.com.au> User-Agent: Mutt/1.3.26i X-Operating-System: FreeBSD cicely5.cicely.de 5.0-CURRENT i386 Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Wed, May 01, 2002 at 11:43:13AM +1000, Peter Jeremy wrote: > I recently tried a KZPCM-DA card in an AlphaServer 400 and ran into > a few problems with the interrupts. The KZPCM-DA is a dual-SCSI > (dual Symbios 53C875's), fast Ethernet (DEC/Intel 21140) card using > an DEC/Intel 21152 PCI-PCI bridge chip. > > My AS400 has a DE435 (DEC 21040 Ethernet) in PCI slot 1. When I > plugged the KZPCM-DA into slot 2, the card and all its functions were > found, but not configured because it claimed that the interrupts > clashed. Removing the DE435 and moving the KZPCM-DA into slot 1 > improved things a bit - the first SCSI controller was now attached, > but the 2nd SCSI and ethernet were rejected due to claimed interrupt > clashes. In both cases, there are also "weird slot" messages from > dec_2100_a50_intr_map() - which doesn't appear capable of handling > PCI-PCI bridges. I presume this is the underlying problem. Right. > How should the interrupt mapping function detect and handle PCI-PCI > bridges? Unfortunately it doesn't know everything needed about secondary busses. I have a fix for -current which has a better pci infrastructure for doing this. It's only commited for axppci33, because it needs to be tested first. For -stable you might try the patch noted by David O'Brien. > A secondary problem is that all interrupts are treated as non-sharable > ISA interrupts. I don't believe this is valid. Whilst the AS400 > interrupt routing uses the standard 8259 pair and interrupts from > ISA cards can't be shared, I don't see why the kernel doesn't permit > PCI interrupts to be shared. The AS400 technical documentation > definitely indicates that interrupts can be shared. Interesting. -- B.Walter COSMO-Project http://www.cosmo-project.de ticso@cicely.de Usergroup info@cosmo-project.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message