Subject: Flash Card Reader problems
To: None <port-i386@netbsd.org>
From: None <wulf@ping.net.au>
List: port-i386
Date: 10/06/2002 23:28:55
G'day,

I'm experiencing the following problem when installing a CF card reader/writer
and a 128MB CF card using a USB port under NetBSD-current:

umass0 at uhub0 port 1 configuration 1 interface 0
umass0: ----- Ltd. SPRING-Rev1.0, rev 1.10/0.12, addr 2
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 4 luns per target
scsibus0: waiting 2 seconds for devices to settle...
sd0 at scsibus0 target 1 lun 0: <FLASH CA, RD READER Slot A, > disk removable
sd0: 125 MB, 678400 cyl, 4 head, 0 sec, 512 bytes/sect x 257024 sectors
sd0(umass0:0:1:0):  Check Condition on CDB: 0x28 00 00 00 00 00 00 00 01 00
    SENSE KEY:  Not Ready
     ASC/ASCQ:  Medium Not Present

sd0: dos partition I/O error

disklabel produces the following output

# disklabel sd0
disklabel: can't read master boot record: Input/output error
disklabel: ioctl DIOCGDINFO: Input/output error

and fdisk

# fdisk sd0
fdisk: DIOCGDEFLABEL: Input/output error
fdisk: DIOCGDINFO: Input/output error

The same CF card is readable under Netbsd when combining it with a Nikkon
digital camera. This seem to indicate a problem with the card reader/writer.
However, it works fine under MS Windows XP and Win98 and hence a physical
defect of the card reader is unlikely.

Any suggestions of what may be the problem or how to extract more information
that may lead to a fix?

Sysinfo:

NetBSD  1.6I NetBSD 1.6I (HUSKY) #3: Mon Oct  7 06:49:32 CST 2002     root@:/usr/src/sys/arch/i386/compile/HUSKY i386

Many thanks in advance

cheerio Berndt