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

2003-08-14 Thread Stephen Casner
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
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]


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

2003-08-07 Thread Stephen Casner
My question is really about -STABLE rather than -CURRENT, but it
involves a problem recently resolved in -CURRENT.

On Thu, 26 Jun 2003, Bill Paul started this thread regarding failed
support for the Sony PCMCIA CD-ROM drive (NinjaATA-) in releases
since 4.5, including 4.8 and 5.1.  You folks resolved a patch for
ata-card.c that was applied in -CURRENT.  Can some equivalent patch be
made for -STABLE?

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 don't get anything like Bill Paul's success case:

 ata2:   NinjaATA- at port 0x180-0x187,0x386-0x387 irq 9 function 0 config 33 on 
 pccard0 acd0: CDROM CD-224E at ata2-master PIO4

But I don't know what I should expect to see on success in -STABLE
vs. this message from -CURRENT.

-- Steve
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to [EMAIL PROTECTED]