Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Aug 2003 16:55:37 +1000
From:      John Birrell <jb@cimlogic.com.au>
To:        Stephen Casner <casner@packetdesign.com>
Cc:        current@freebsd.org
Subject:   Re: Heads up: checking in change to ata-card.c
Message-ID:  <20030805165536.H1445@freebsd1.cimlogic.com.au>
In-Reply-To: <20030804222749.E286@oak>; from casner@packetdesign.com on Mon, Aug 04, 2003 at 10:45:39PM -0700
References:  <20030626184848.46DB137B401@hub.freebsd.org> <20030804222749.E286@oak>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030805165536.H1445>