From owner-freebsd-mobile Thu Aug 16 15:17:35 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id E3EB237B40D for ; Thu, 16 Aug 2001 15:17:29 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id QAA22319; Thu, 16 Aug 2001 16:17:27 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id QAA09683; Thu, 16 Aug 2001 16:17:26 -0600 (MDT) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15228.18038.451091.485114@nomad.yogotech.com> Date: Thu, 16 Aug 2001 16:17:26 -0600 To: Warner Losh Cc: nate@yogotech.com (Nate Williams), mobile@FreeBSD.ORG Subject: Re: HEADS UP: pcic pci attachments merged from current In-Reply-To: <200108161806.f7GI6uW34369@harmony.village.org> References: <15227.61256.913741.831883@nomad.yogotech.com> <15227.21642.728459.378078@nomad.yogotech.com> <15226.52618.594233.704448@nomad.yogotech.com> <200108150433.f7F4X1W20487@harmony.village.org> <200108160317.f7G3HHW28812@harmony.village.org> <200108160533.f7G5XWW29552@harmony.village.org> <200108161806.f7GI6uW34369@harmony.village.org> X-Mailer: VM 6.95 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > : However, I will try another card and see what's what. No joy, it also > : hangs the computer at boot time. :( > > OK. That's good, believe it or not. It fits with the theory I have > at the back of my head right now: "The CSC interrupt is being routed > to the wrong place so we don't see and clear it." I'm sure this is no suprise to you, but I can update my sources to the commit *just before* you made the PCI interrupt switchover and everything works fine. What can I do to help you debug this further? Nate ps. Hot swapping the ethernet card now rarely works, although it now seems to be not working very well with a kernel compiled with the older code, so I'm not sure what's up. I suspect that it's an issue with using IRQ 11, which is serviced *after* IRQ 9 (the interrupt used for the ethernet card). I'm guessing the removal is causing a spurious interrupt for the card that is serviced before the removal event, causing the hang. With the older FreeBSD kernels, I allocated IRQ 3 to the PCIC for insertion/removal events, and this IRQ is serviced before IRQ 11. However, when I allocate IRQ 3 to the PCIC (using machdep.pcic.irq), it panics whenever I insert/remove a card. :( To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message