From owner-freebsd-questions@FreeBSD.ORG Tue Jul 20 17:23:56 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 899E516A4CE for ; Tue, 20 Jul 2004 17:23:56 +0000 (GMT) Received: from ms-smtp-01-eri0.socal.rr.com (ms-smtp-01-qfe0.socal.rr.com [66.75.162.133]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5935243D5D for ; Tue, 20 Jul 2004 17:23:56 +0000 (GMT) (envelope-from hoe-waa@hawaii.rr.com) Received: from ms-mss-01 ([10.10.4.10])i6KHNr6j018043 for ; Tue, 20 Jul 2004 10:23:54 -0700 (PDT) Received: from socal.rr.com (localhost [127.0.0.1]) by ms-mss-01.socal.rr.com (iPlanet Messaging Server 5.2 HotFix 1.21 (built Sep 8 2003)) with ESMTP id <0I15004HAUZT9G@ms-mss-01.socal.rr.com> for freebsd-questions@freebsd.org; Tue, 20 Jul 2004 10:23:53 -0700 (PDT) Received: from [10.10.6.201] (Forwarded-For: [68.8.243.244]) by ms-mss-01.socal.rr.com (mshttpd); Tue, 20 Jul 2004 07:23:53 -1000 Date: Tue, 20 Jul 2004 07:23:53 -1000 From: hoe-waa@hawaii.rr.com To: Dinesh Nair Message-id: <1640adb163b5d1.163b5d11640adb@socal.rr.com> MIME-version: 1.0 X-Mailer: iPlanet Messenger Express 5.2 HotFix 1.21 (built Sep 8 2003) Content-type: text/plain; charset=us-ascii Content-language: en Content-transfer-encoding: 7BIT Content-disposition: inline X-Accept-Language: en Priority: normal X-Virus-Scanned: Symantec AntiVirus Scan Engine cc: freebsd-questions@freebsd.org Subject: Re: changing card in a reader (revisited) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: hoe-waa@hawaii.rr.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2004 17:23:56 -0000 From: Dinesh Nair Date: Monday, July 19, 2004 11:39 pm > > On Mon, 19 Jul 2004 hoe-waa@hawaii.rr.com wrote: > > > I had tried camcontrol rescan 0:0:2 without success and I just tried > > camcontrol rescan all without success. > > on a particular Apacer multi-card reader, i needed to run camcontrol > rescan on all devices off that one bus, (0:0:1, 0:0:2, 0:0:3 et al) to > reset the reader when a new CF card was inserted. 'camcontrol > rescan all' > didn't seem to do it then either. perhaps you could try this. > > Regards, Aloha Dinesh I tried it but it doesn't help. Does this work for you? Are you running 5.2.1? Start with 8MB SM card in da2. %su Password: hp# ls -l /dev/da* crw-r----- 1 root operator 4, 20 Jul 19 06:19 /dev/da0 crw-r----- 1 root operator 4, 21 Jul 19 06:19 /dev/da1 crw-r----- 1 root operator 4, 22 Jul 19 06:19 /dev/da2 crw-rw---- 1 robert robert 4, 25 Jul 19 06:19 /dev/da2s1 crw-r----- 1 root operator 4, 23 Jul 19 06:19 /dev/da3 crw-r----- 1 root operator 4, 24 Jul 19 06:19 /dev/da4 crw-rw---- 1 robert robert 4, 26 Jul 19 06:19 /dev/da4s1 hp# mount_msdosfs /dev/da2s1 /mnt/olympus hp# ls -l /mnt/olympus/dcim/100olymp total 1352 -rwxr-xr-x 1 root wheel 704002 Jan 1 2000 p1010001.jpg -rwxr-xr-x 1 root wheel 679720 Jan 1 2000 p1010002.jpg hp# umount /mnt/olympus hp# camcontrol rescan 0:0:0 Re-scan of 0:0:0 was successful hp# camcontrol rescan 0:0:1 Re-scan of 0:0:1 was successful hp# camcontrol rescan 0:0:2 Re-scan of 0:0:2 was successful hp# camcontrol rescan 0:0:3 Re-scan of 0:0:3 was successful hp# mount_msdosfs /dev/da2s1 /mnt/olympus mount_msdosfs: /dev/da2s1: Invalid argument hp# For what it is worth, here are the most recent entries in /var/log/messages. The same group of messages appear whenever I perform the mount command whether I am mounting an 8MB or attempting a 128 MB card. Jul 20 06:56:24 hp su: robert to root on /dev/ttyp0 Jul 20 06:57:29 hp kernel: (da2:umass-sim0:0:0:2): READ CAPACITY. CDB: 25 40 0 0 0 0 0 0 0 0 Jul 20 06:57:29 hp kernel: (da2:umass-sim0:0:0:2): CAM Status: SCSI Status Error Jul 20 06:57:29 hp kernel: (da2:umass-sim0:0:0:2): SCSI Status: Check Condition Jul 20 06:57:29 hp kernel: (da2:umass-sim0:0:0:2): UNIT ATTENTION asc:28,0 Jul 20 06:57:29 hp kernel: (da2:umass-sim0:0:0:2): Not ready to ready change, me dium may have changed Jul 20 06:57:29 hp kernel: (da2:umass-sim0:0:0:2): Retrying Command (per Sense D ata) Jul 20 06:59:16 hp kernel: (da2:umass-sim0:0:0:2): READ CAPACITY. CDB: 25 40 0 0 0 0 0 0 0 0 Jul 20 06:59:16 hp kernel: (da2:umass-sim0:0:0:2): CAM Status: SCSI Status Error Jul 20 06:59:16 hp kernel: (da2:umass-sim0:0:0:2): SCSI Status: Check Condition Jul 20 06:59:16 hp kernel: (da2:umass-sim0:0:0:2): UNIT ATTENTION asc:28,0 Jul 20 06:59:16 hp kernel: (da2:umass-sim0:0:0:2): Not ready to ready change, me dium may have changed Jul 20 06:59:16 hp kernel: (da2:umass-sim0:0:0:2): Retrying Command (per Sense D ata) Jul 20 07:01:17 hp kernel: (da2:umass-sim0:0:0:2): READ CAPACITY. CDB: 25 40 0 0 0 0 0 0 0 0 Jul 20 07:01:17 hp kernel: (da2:umass-sim0:0:0:2): CAM Status: SCSI Status Error Jul 20 07:01:17 hp kernel: (da2:umass-sim0:0:0:2): SCSI Status: Check Condition Jul 20 07:01:17 hp kernel: (da2:umass-sim0:0:0:2): UNIT ATTENTION asc:28,0 Jul 20 07:01:17 hp kernel: (da2:umass-sim0:0:0:2): Not ready to ready change, me dium may have changed Jul 20 07:01:17 hp kernel: (da2:umass-sim0:0:0:2): Retrying Command (per Sense D ata) Thnaks for your response and please let me know if there is any thing else I can try. Robert