From owner-freebsd-alpha Wed May 1 14:54:30 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 2930E37B419; Wed, 1 May 2002 14:54:09 -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 g41Lrn457762 (using TLSv1/SSLv3 with cipher EDH-RSA-DES-CBC3-SHA (168 bits) verified OK); Wed, 1 May 2002 23:53:55 +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 g41LrkSZ052102 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Wed, 1 May 2002 23:53:47 +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 g41Lrk8U052101; Wed, 1 May 2002 23:53:46 +0200 (CEST)?g (envelope-from ticso) Date: Wed, 1 May 2002 23:53:46 +0200 From: Bernd Walter To: Peter Jeremy Cc: "David O'Brien" , freebsd-alpha@FreeBSD.ORG Subject: Re: AlphaServer 400 interrupt problems Message-ID: <20020501215346.GG16289@cicely5.cicely.de> References: <20020501114313.R25071@gsmx07.alcatel.com.au> <20020430190443.A44303@dragon.nuxi.com> <20020502073646.V25071@gsmx07.alcatel.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020502073646.V25071@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 Thu, May 02, 2002 at 07:36:47AM +1000, Peter Jeremy wrote: > On 2002-Apr-30 19:04:43 -0700, David O'Brien wrote: > >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. > > > >I reported the same problem a few weeks ago. This patch from Bernd > >Walter *might* help you get farther along. > > It mostly fixes the problem. With both the KZPCM and DE435 cards, I > can attach both ethernet devices, but only one of the KZPCM's SCSI > devices attaches. The second one reports as "irq=255" in the verbose > bus probe and then fails to attach because the interrupt is bad. (I > don't have the exact kernel message with me). > > I'm not sure why the intline is set to 255. The patch effectively > bypasses dec_2100_a50_intr_map(), so this is presumably what was > returned by "pci_cfgread(cfg, PCIR_INTLINE, 1)". I presume this is > set up by the SRM. Unfortunately, I can't readily attach a disk to > see if the SRM can boot from it, though "SHOW DEVICE" does find > both SCSI controllers. All the patch does is to hope that SRM had put in the right values. But we already know that this doesn't always happen even on the primary bus. It's also possible that some chips on the secondary bus don't get io and memspace. > The patch can't be blamed for this, so put me down as "it works on > my AS400". Thanks to both you and Bernd. If you can test my patch for -current please let me know. It's available under http://www.cosmo-project.de/~bernd/intr.diff Any -current from this year should be good enough for this. -- 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