From owner-freebsd-current@FreeBSD.ORG Wed Aug 13 00:17:53 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 71FA637B401 for ; Wed, 13 Aug 2003 00:17:53 -0700 (PDT) Received: from mailman.packetdesign.com (www.route-explorer.com [65.192.41.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5C7F43F3F for ; Wed, 13 Aug 2003 00:17:52 -0700 (PDT) (envelope-from casner@packetdesign.com) Received: from packetdesign.com (main-fw-eth1.packetdesign.com [192.168.0.254])h7D7HVwr044538; Wed, 13 Aug 2003 00:17:32 -0700 (PDT) (envelope-from casner@packetdesign.com) Date: Wed, 13 Aug 2003 00:19:51 -0700 (PDT) From: Stephen Casner To: John Birrell In-Reply-To: <20030805165536.H1445@freebsd1.cimlogic.com.au> Message-ID: <20030813001330.B1462@oak.packetdesign.com> References: <20030626184848.46DB137B401@hub.freebsd.org> <20030804222749.E286@oak> <20030805165536.H1445@freebsd1.cimlogic.com.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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: Wed, 13 Aug 2003 07:17:53 -0000 On Tue, 5 Aug 2003, John Birrell wrote: > 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. I had an opportunity to try the same CD-ROM drive on an identical laptop that had a 4.2-STABLE system installed. The drive works on that version, and the console output is the same as what I quoted above for 4.8. That is, the same default port space is used. The only difference is another line follows for the acd0 device coming up. So, it looks like your solution for the CompactFlash card does not apply. -- Steve