Problems with umass driver / CF reader

Markus Dolze <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
Hi there!

I've got some problems accessing compact flash disks with my laptop using a
USB CF-reader (PQI single slot reader).

I have three CF disks:
- 8 MB labeled by Canon (came with my digicam)
- 64 MB orginal SanDisk
- 128 MB original Toshiba

If I connect the reader with the 8 MB card inserted, I get the following
messages on console (this is actually from syslog, but the messages are the
same):

Apr 15 00:39:22 gimli /kernel: umass0: Genesys Logic USB Storage Device, rev
1.10/1.13, addr 2
Apr 15 00:39:22 gimli /kernel: umass0: Get Max Lun not supported (STALLED)
Apr 15 00:39:22 gimli /kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Apr 15 00:39:22 gimli /kernel: da0: <Generic STORAGE DEVICE 0.01> Removable
Direct Access SCSI-0 device 
Apr 15 00:39:22 gimli /kernel: da0: 650KB/s transfers
Apr 15 00:39:22 gimli /kernel: da0: 7MB (15681 512 byte sectors: 64H 32S/T
7C)
Apr 15 00:39:44 gimli /kernel: (da0:umass-sim0:0:0:0): READ(6)/WRITE(6) not
supported, increasing minimum_cmd_size to 10.

After that, I can successfully mount the drive and access the data on it.


However, if I connect the reader with the 64 or 128 MB card in it, I only
get :
Apr 15 00:39:08 gimli /kernel: uhub0: device problem, disabling port 1

If I connect the reader without any card in it, I get:
Apr 15 00:36:41 gimli /kernel: umass0: Genesys Logic USB Storage Device, rev
1.10/1.13, addr 2
Apr 15 00:36:41 gimli /kernel: umass0: Get Max Lun not supported (STALLED)
Apr 15 00:36:41 gimli /kernel: da0 at umass-sim0 bus 0 target 0 lun 0
Apr 15 00:36:41 gimli /kernel: da0: <Generic STORAGE DEVICE 0.01> Removable
Direct Access SCSI-0 device 
Apr 15 00:36:41 gimli /kernel: da0: 650KB/s transfers
Apr 15 00:36:41 gimli /kernel: da0: Attempt to query device size failed: NOT
READY, Medium not present

OK, if I insert a card after that and do "camcontrol rescan all" I get:
Apr 15 00:35:22 gimli /kernel: umass0: BBB reset failed, IOERROR
Apr 15 00:35:23 gimli /kernel: umass0: BBB bulk-in clear stall failed,
IOERROR
Apr 15 00:35:23 gimli /kernel: umass0: BBB bulk-out clear stall failed,
IOERROR
Apr 15 00:35:23 gimli /kernel: umass0: at uhub0 port 1 (addr 2) disconnected
Apr 15 00:35:23 gimli /kernel: (da0:umass-sim0:0:0:0): lost device
Apr 15 00:35:23 gimli /kernel: (da0:umass-sim0:0:0:0): removing device entry
Apr 15 00:35:23 gimli /kernel: umass0: detached
Apr 15 00:35:24 gimli /kernel: uhub0: device problem, disabling port 1


My questions:

- Are there any known problems with specific CF cards or this type of
reader?
- Does anyone has similar problems (perhaps my laptop is fooling me again)?
- What can I try to fix this?

Last but not least:
%uname -a
FreeBSD gimli 4.8-RELEASE FreeBSD 4.8-RELEASE #11: Thu Apr  3 01:13:21 CEST
2003     root@gimli:/usr/obj/usr/src/sys/GIMLI  i386

Thank you
Markus

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.