Heads up: checking in change to ata-card.c

Stephen Casner casner at packetdesign.com
Wed Aug 13 00:17:53 PDT 2003


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


More information about the freebsd-current mailing list