From owner-freebsd-current@FreeBSD.ORG Mon Aug 4 23:54:17 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 27ADC37B401 for ; Mon, 4 Aug 2003 23:54:17 -0700 (PDT) Received: from cimlogic.com.au (cimlog.lnk.telstra.net [139.130.51.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id 941BA43FA3 for ; Mon, 4 Aug 2003 23:54:13 -0700 (PDT) (envelope-from jb@cimlogic.com.au) Received: from freebsd1.cimlogic.com.au (localhost.cimlogic.com.au [127.0.0.1]) by cimlogic.com.au (8.12.9/8.12.9) with ESMTP id h756tcHJ005217; Tue, 5 Aug 2003 16:55:38 +1000 (EST) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by freebsd1.cimlogic.com.au (8.12.9/8.12.9/Submit) id h756tbPH005216; Tue, 5 Aug 2003 16:55:37 +1000 (EST) Date: Tue, 5 Aug 2003 16:55:37 +1000 From: John Birrell To: Stephen Casner Message-ID: <20030805165536.H1445@freebsd1.cimlogic.com.au> References: <20030626184848.46DB137B401@hub.freebsd.org> <20030804222749.E286@oak> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20030804222749.E286@oak>; from casner@packetdesign.com on Mon, Aug 04, 2003 at 10:45:39PM -0700 cc: current@freebsd.org Subject: Re: Heads up: checking in change to ata-card.c X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2003 06:54:17 -0000 On Mon, Aug 04, 2003 at 10:45:39PM -0700, Stephen Casner wrote: > I tried what I thought might be the equivalent patch (eliminating an > else clause), but it did not solve the problem. In 4.8-RELEASE I > sometimes get a system hang and sometimes not, but even when it does > not hang, I just get "Device not configured" when I try to mount > /dev/acd0c. The output I get is: > > /kernel: pccard: card inserted, slot 0 > pccardd[49]: Card " "("NinjaATA-") [V1.0] [AP00 ] matched " " ("NinjaATA-") [(null)] [(null)] > /kernel: ata2 at port 0x180-0x187,0x386 iomem 0xd4000-0xd4fff irq 9 slot 0 on pccard0 > pccardd[49]: ata2: NinjaATA inserted. I saw similar behaviour with STABLE when trying to use a CompactFlash card on a CPU board that didn't support the default range of I/O ports. This might not be the case you have, but I saw output just like that quoted above. The ata device gets reported, but there is no 'ad' device following it like there normally is. In my case the solution was to use the I/O port range hidden in the manufacturer's notes on their web site. Once I set the port range in /etc/pccard.conf to override the default, the CompactFlash card worked fine. -- John Birrell