From owner-freebsd-mobile@FreeBSD.ORG Mon Apr 14 16:16:00 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9F4A37B401 for ; Mon, 14 Apr 2003 16:16:00 -0700 (PDT) Received: from mx0.gmx.net (mx0.gmx.de [213.165.64.100]) by mx1.FreeBSD.org (Postfix) with SMTP id 80EE043F3F for ; Mon, 14 Apr 2003 16:15:59 -0700 (PDT) (envelope-from sm4tnp8@gmx.net) Received: (qmail 10728 invoked by uid 0); 14 Apr 2003 23:15:58 -0000 Date: Tue, 15 Apr 2003 01:15:58 +0200 (MEST) From: Markus Dolze To: freebsd-mobile@freebsd.org MIME-Version: 1.0 X-Priority: 3 (Normal) X-Authenticated-Sender: #0000931807@gmx.net X-Authenticated-IP: [145.254.131.214] Message-ID: <31295.1050362158@www7.gmx.net> X-Mailer: WWW-Mail 1.6 (Global Message Exchange) X-Flags: 0001 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Subject: Problems with umass driver / CF reader X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Apr 2003 23:16:01 -0000 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: 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: 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