From owner-freebsd-current Mon Apr 2 15:18:16 2001 Delivered-To: freebsd-current@freebsd.org Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by hub.freebsd.org (Postfix) with ESMTP id 87FC037B722 for ; Mon, 2 Apr 2001 15:18:09 -0700 (PDT) (envelope-from ticso@mail.cicely.de) Received: from mail.cicely.de (cicely20 [10.1.1.22]) by srv1.cosmo-project.de (8.11.0/8.11.0) with ESMTP id f32MI7l37030; Tue, 3 Apr 2001 00:18:07 +0200 (CEST) Received: (from ticso@localhost) by mail.cicely.de (8.11.0/8.11.0) id f32MIS114221; Tue, 3 Apr 2001 00:18:28 +0200 (CEST) Date: Tue, 3 Apr 2001 00:18:27 +0200 From: Bernd Walter To: Andrew Gallatin Cc: Bernd Walter , freebsd-current@FreeBSD.ORG Subject: Re: Funny Interrupt settings on AXPpci33 (fwd) Message-ID: <20010403001827.B14039@cicely20.cicely.de> References: <15048.61977.954793.801365@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <15048.61977.954793.801365@grasshopper.cs.duke.edu>; from gallatin@cs.duke.edu on Mon, Apr 02, 2001 at 05:41:45PM -0400 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Mon, Apr 02, 2001 at 05:41:45PM -0400, Andrew Gallatin wrote: > The problem is that the lca gives totally bogus intline values that > aren't 255; so the MI code thinks they are valid & never calls the > platform specific inter_route code to correct them. > > Please try the appended fix, which is basically what we do on x86 SMP. > > Matt Dodd said he had a better idea, but it doesn't look like he had > time to implement it. Mike Smith suggested it, and if it works for you, > I'll commit it. Now there are some odd intr_map messages and the irq isn't shown in the first line from the device but at least the dc0 interface works. Peter Jeremy pointed me to a patch from Matt Dodd, which I will test later. He send the mail to -alpha. Copyright (c) 1992-2001 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 5.0-CURRENT #1: Mon Apr 2 23:56:44 CEST 2001 ticso@cicely9.cicely.de:/var/d8/src-2001-03-28/src/sys/compile/CICELY10 DEC AXPpci Alpha PC AXPpci33, 166MHz 8192 byte page size, 1 processor. CPU: LCA Family major=4 minor=2 OSF PAL rev: 0x100090002012d real memory = 31481856 (30744K bytes) avail memory = 24649728 (24072K bytes) Preloaded elf kernel "kernel" at 0xfffffc000067a000. lca0: <21066 Core Logic chipset> dec_axppci_33_intr_map: weird slot number 0 dec_axppci_33_intr_map: weird slot number 0 dec_axppci_33_intr_map: weird slot number 0 dec_axppci_33_intr_map: weird slot number 0 ^^^^^^^^^^^^^^^^^^^^^^ pci0: on pcib0 sym0: <810> port 0x10000-0x100ff mem 0x81040400-0x810404ff at device 6.0 on pci0 ^^^^ no irq printed sym0: No NVRAM, ID 7, Fast-10, SE, parity checking sym0: interrupting at ISA irq 11 isab0: at device 7.0 on pci0 isa0: on isab0 dc0: port 0x10180-0x101ff mem 0x81040000-0x810403ff at device 11.0 on pci0 ^^^^ no irq printed dc0: interrupting at ISA irq 5 dc0: Ethernet address: 00:00:cb:56:2e:2a miibus0: on dc0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto de0: port 0x10100-0x1017f mem 0x81040500-0x8104057f at device 12.0 on pci0 de0: interrupting at ISA irq 9 de0: Cogent 21040 [10Mb/s] pass 2.3 de0: address 00:00:92:90:7f:26 -- 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-current" in the body of the message