From owner-freebsd-current Tue Oct 16 7:24:40 2001 Delivered-To: freebsd-current@freebsd.org Received: from rover.village.org (rover.bsdimp.com [204.144.255.66]) by hub.freebsd.org (Postfix) with ESMTP id 08CC037B40F for ; Tue, 16 Oct 2001 07:24:37 -0700 (PDT) Received: from harmony.village.org (harmony.village.org [10.0.0.6]) by rover.village.org (8.11.3/8.11.3) with ESMTP id f9GEOZV09843; Tue, 16 Oct 2001 08:24:36 -0600 (MDT) (envelope-from imp@harmony.village.org) Received: from harmony.village.org (localhost [127.0.0.1]) by harmony.village.org (8.11.6/8.11.6) with ESMTP id f9GEOY731667; Tue, 16 Oct 2001 08:24:35 -0600 (MDT) (envelope-from imp@harmony.village.org) Message-Id: <200110161424.f9GEOY731667@harmony.village.org> To: walter@belgers.com (Walter Belgers) Subject: Re: pcmcia cdrom/irq sharing problem? Cc: current@FreeBSD.ORG In-reply-to: Your message of "Tue, 16 Oct 2001 12:08:30 +0200." <20011016120830.A88534@teletubbie.het.net.je> References: <20011016120830.A88534@teletubbie.het.net.je> <200110160957.f9G9v7K49919@vega.vega.com> Date: Tue, 16 Oct 2001 08:24:34 -0600 From: Warner Losh Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In message <20011016120830.A88534@teletubbie.het.net.je> Walter Belgers writes: : Maxim Sobolev wrote: : > > My CDROM player was always correctly identified with my previous install : > > as NinjaATA on irq 3 (slot 0 on pccard0). After the upgrade, it is : > > recognised, but assigned irq 9 (which is not in pccard.conf) after which : > > the system hangs until the card is removed. This irq is (and was) shared : > > with fxp0, pcm0. : > : > I had a similar problem, though it was with my ed0-compatible : > pcmcia network card. At some point in the past pccardd stopped : > assigning correct IRQ to it, wich resulted in famous `ed0 : > timeout' error. I've workarounded the problem by replacing `?' : > with real IRQ number in my pccard.conf, however I understand that : > it is only a temporarly solution. : : I forgot to say: I tried that as well, to no avail, it still takes irq 9 : instead of 3 which I put in pccard.conf (and yes, I did start pccardd : with the correct pccard.conf). Also using pccardd -i 3 did not work. There's a bug in the ata driver that Ian Downes has a patch for. Since cardbus bridges are now using level interrupts to allow sharing (which is why it used irq 9, the same as your bridge), cards that assert interrupt, but don't clear it, will cause the machine to hang in an interrupt storm. Ian's patches fix that. Warner To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message