Subject: Re: CF on NetBSD
To: None <current-users@netbsd.org>
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
List: current-users
Date: 09/21/2000 21:49:02
seebs@plethora.net (Peter Seebach) writes:
> 	* CF<->PCMCIA adapter:  Semi-reliable hangs trying to access disks,
> 	  using CardBus, or not even powering up the card, using PCMCIA.

I see a hang on a Lexar 16MB 8x speed compact flash when put into a
Sony Vaio 505tx.  It looks like another poll-till-the-cows-come-home
wdc "hang", from the logs.

  Sep 21 20:20:00 pasillo /netbsd: wdc2 at pcmcia0 function 0
  Sep 21 20:20:00 pasillo /netbsd: wd1 at wdc2 channel 0 drive 0: <LEXAR ATA FLASH>
  Sep 21 20:20:00 pasillo /netbsd: wd1: drive supports 1-sector pio transfers, lba addressing
  Sep 21 20:20:00 pasillo /netbsd: wd1: 16064 KB, 251 cyl, 4 head, 32 sec, 512 bytes/sect x 32128 sectors

  <I pulled the PCMCIA compact flash adaptor at this point>

  Sep 21 20:22:51 pasillo /netbsd: wdc2:0:0: not ready, st=0xff, err=0x00
  Sep 21 20:22:52 pasillo /netbsd: wdc2 channel 0: reset failed for drive 0
  Sep 21 20:22:52 pasillo /netbsd: wd1d: device timeout reading fsbn 1 (wd1 bn 1; cn 0 tn 0 sn 1), retrying
  Sep 21 20:22:52 pasillo /netbsd: wdc2:0:0: not ready, st=0xff, err=0x00
  Sep 21 20:22:52 pasillo /netbsd: wdc2 channel 0: reset failed for drive 0
  Sep 21 20:22:52 pasillo /netbsd: wd1d: device timeout reading fsbn 1 (wd1 bn 1; cn 0 tn 0 sn 1), retrying
  Sep 21 20:22:52 pasillo /netbsd: wdc2:0:0: not ready, st=0xff, err=0x00
  Sep 21 20:22:52 pasillo /netbsd: wdc2 channel 0: reset failed for drive 0
  Sep 21 20:22:52 pasillo /netbsd: wd1d: device timeout reading fsbn 1 (wd1 bn 1; cn 0 tn 0 sn 1), retrying

The Lexar compact flash has a built in USB of all crazy things.  I
don't have the adaptor cable yet so I can't tell if the wdc when
accessed over the USB is any more well-behaved.  (Yes the adaptor
cable really is just wires -- no electronics!).

-wolfgang
-- 
       Wolfgang Rupprecht <wolfgang+gnus@dailyplanet.wsrcc.com>
		    http://www.wsrcc.com/wolfgang/
Coming soon: GPS mapping tools for Open Systems. http://www.gnomad-mapping.com/