From owner-freebsd-questions@FreeBSD.ORG Mon Jul 19 21:28:46 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 0E3C716A4CE for ; Mon, 19 Jul 2004 21:28:46 +0000 (GMT) Received: from crumpet.united-ware.com (ddsl-66-42-172-210.fuse.net [66.42.172.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7091443D2D for ; Mon, 19 Jul 2004 21:28:45 +0000 (GMT) (envelope-from mistry.7@osu.edu) Received: from [192.168.1.102] (ddsl-66-42-172-210.fuse.net [66.42.172.210]) (authenticated bits=0)i6JLIl2S029913 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Mon, 19 Jul 2004 17:18:48 -0400 (EDT) (envelope-from mistry.7@osu.edu) From: Anish Mistry To: hoe-waa@hawaii.rr.com Date: Mon, 19 Jul 2004 17:29:43 -0400 User-Agent: KMail/1.6.2 References: <16120b71613655.161365516120b7@socal.rr.com> In-Reply-To: <16120b71613655.161365516120b7@socal.rr.com> MIME-Version: 1.0 Content-Disposition: inline Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200407191729.44172.mistry.7@osu.edu> X-Spam-Status: No, hits=-4.3 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,J_CHICKENPOX_54,PGP_SIGNATURE, QUOTED_EMAIL_TEXT,RCVD_IN_ORBS,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_KMAIL version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jul 2004 21:28:46 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 19 July 2004 05:10 pm, hoe-waa@hawaii.rr.com wrote: > Aloha > > I had previously started a thread with this problem and although I > received several suggestions the problem was never solved. > http://lists.freebsd.org/pipermail/freebsd-questions/2004-June/050819.html > > Below I have included more information. If I change an 8MB card for > another 8MB card everything works as it should. If I try a different size > card it fails. > > In addition, if I boot with no card in the slot, I cannot get a slice to > initiate in /dev. i.e. I will see /dev/da0 - /dev/da3. When I boot with > a card in the slot I see /dev/da2s1 as seen below. This problem has been > reported by others (found through google) but again there was no solution. > Is there a friend that I am unaware of? > > I have tried various attempts with camcontrol without any good results. If > I unplug and replug the USB cable both of the above problems are corrected. > I don't feel that is a viable solution. My wife has WXP on her computer and > it will update with the changing of a card. I really need a friend that > will rescan or update the USB connection. > > Here are the related parts of dmesg.boot. da4 is a thumb drive and da1-3 > are the 4 slots of my card reader. The SmartMedia card is in da2. > > GEOM: create disk da0 dp=0xc2e44050 > GEOM: create disk da1 dp=0xc2dacc50 > GEOM: create disk da2 dp=0xc2e47450 > GEOM: create disk da3 dp=0xc2e45850 > GEOM: create disk da4 dp=0xc2e45450 > da4 at umass-sim1 bus 1 target 0 lun 0 > da4: Removable Direct Access SCSI-0 device > da4: 1.000MB/s transfers > da4: 250MB (512000 512 byte sectors: 64H 32S/T 250C) > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: Removable Direct Access SCSI-0 device > da0: 1.000MB/s transfers > da0: Attempt to query device size failed: NOT READY, Medium not present > da1 at umass-sim0 bus 0 target 0 lun 1 > da1: Removable Direct Access SCSI-0 device > da1: 1.000MB/s transfers > da1: Attempt to query device size failed: NOT READY, Medium not present > da2 at umass-sim0 bus 0 target 0 lun 2 > da2: Removable Direct Access SCSI-0 device > da2: 1.000MB/s transfers > da2: 7MB (16000 512 byte sectors: 64H 32S/T 7C) > da3 at umass-sim0 bus 0 target 0 lun 3 > da3: Removable Direct Access SCSI-0 device > da3: 1.000MB/s transfers > da3: Attempt to query device size failed: NOT READY, Medium not present > (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 > (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error > (da0:umass-sim0:0:0:0): SCSI Status: Check Condition > (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 > (da0:umass-sim0:0:0:0): Medium not present > (da0:umass-sim0:0:0:0): Unretryable error > Opened disk da0 -> 6 > (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 > (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error > (da0:umass-sim0:0:0:0): SCSI Status: Check Condition > (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 > (da0:umass-sim0:0:0:0): Medium not present > (da0:umass-sim0:0:0:0): Unretryable error > Opened disk da0 -> 6 > (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 > (da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error > (da1:umass-sim0:0:0:1): SCSI Status: Check Condition > (da1:umass-sim0:0:0:1): NOT READY asc:3a,0 > (da1:umass-sim0:0:0:1): Medium not present > (da1:umass-sim0:0:0:1): Unretryable error > Opened disk da1 -> 6 > (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 0 0 0 0 0 0 0 0 > (da1:umass-sim0:0:0:1): CAM Status: SCSI Status Error > (da1:umass-sim0:0:0:1): SCSI Status: Check Condition > (da1:umass-sim0:0:0:1): NOT READY asc:3a,0 > (da1:umass-sim0:0:0:1): Medium not present > (da1:umass-sim0:0:0:1): Unretryable error > Opened disk da1 -> 6 > (da3:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 > (da3:umass-sim0:0:0:3): CAM Status: SCSI Status Error > (da3:umass-sim0:0:0:3): SCSI Status: Check Condition > (da3:umass-sim0:0:0:3): NOT READY asc:3a,0 > (da3:umass-sim0:0:0:3): Medium not present > (da3:umass-sim0:0:0:3): Unretryable error > Opened disk da3 -> 6 > (da3:umass-sim0:0:0:3): READ CAPACITY. CDB: 25 60 0 0 0 0 0 0 0 0 > (da3:umass-sim0:0:0:3): CAM Status: SCSI Status Error > (da3:umass-sim0:0:0:3): SCSI Status: Check Condition > (da3:umass-sim0:0:0:3): NOT READY asc:3a,0 > (da3:umass-sim0:0:0:3): Medium not present > (da3:umass-sim0:0:0:3): Unretryable error > Opened disk da3 -> 6 > > > > %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# > > > hp# mount_msdosfs /dev/da2s1 /mnt/olympus > > hp# ls -l /mnt/olympus/dcim/100olymp > total 680 > -rwxr-xr-x 1 root wheel 694158 Jul 12 18:27 p7120001.jpg > hp# > hp# umount /mnt/olympus > > > > 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# > hp# umount /mnt/olympus > > > > hp# mount_msdosfs /dev/da2s1 /mnt/olympus > hp# ls -l /mnt/olympus/dcim/100olymp > total 680 > -rwxr-xr-x 1 root wheel 694158 Jul 12 18:27 p7120001.jpg > > hp# umount /mnt/olympus > > > > hp# mount_msdosfs /dev/da2s1 /mnt/olympus > mount_msdosfs: /dev/da2s1: Invalid argument > hp# > > Have you tried a "camcontrol rescan all" before inserting the new disk? - -- Anish Mistry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA/D1HxqA5ziudZT0RAuPVAKDY2TOmzX1iCPSWVOFBx1Yj7tONrACg1FDh LCeZd/F+lAfGMiyrHeIAUXw= =d2po -----END PGP SIGNATURE-----