From: Dinesh Nair <[EMAIL PROTECTED]>
Date: Monday, July 19, 2004 11:39 pm

> 
> On Mon, 19 Jul 2004 [EMAIL PROTECTED] 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

<remove 8MB SM card and insert 128MB card>

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

_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to