From owner-freebsd-questions@FreeBSD.ORG Mon Jul 19 21:10:05 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 F1B4416A4CE for ; Mon, 19 Jul 2004 21:10:05 +0000 (GMT) Received: from ms-smtp-02-eri0.socal.rr.com (ms-smtp-02-qfe0.socal.rr.com [66.75.162.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id D22F943D41 for ; Mon, 19 Jul 2004 21:10:05 +0000 (GMT) (envelope-from hoe-waa@hawaii.rr.com) Received: from ms-mss-01 ([10.10.4.12])i6JLA3Xr020647 for ; Mon, 19 Jul 2004 14:10:03 -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 <0I14003AMASRFX@ms-mss-01.socal.rr.com> for freebsd-questions@freebsd.org; Mon, 19 Jul 2004 14:10:03 -0700 (PDT) Received: from [10.10.6.203] (Forwarded-For: [68.8.243.244]) by ms-mss-01.socal.rr.com (mshttpd); Mon, 19 Jul 2004 11:10:03 -1000 Date: Mon, 19 Jul 2004 11:10:03 -1000 From: hoe-waa@hawaii.rr.com To: freebsd-questions@freebsd.org Message-id: <16120b71613655.161365516120b7@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 Subject: 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: Mon, 19 Jul 2004 21:10:06 -0000 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# hp# uname -a FreeBSD hp.hawaii.rr.com 5.2.1-RELEASE-p9 FreeBSD 5.2.1-RELEASE-p9 #0: Thu Jul 15 10:14:33 HST 2004 root@hp.hawaii.rr.com:/usr/obj/usr/src/sys/HPLAPTOP1 i386 I'm sorry this is so long but I tried to include all of the pertinent data. Mahalo Robert