From owner-freebsd-questions@FreeBSD.ORG Sun Dec 2 21:13:38 2007 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5725A16A420 for ; Sun, 2 Dec 2007 21:13:38 +0000 (UTC) (envelope-from elrap@web.de) Received: from fmmailgate02.web.de (fmmailgate02.web.de [217.72.192.227]) by mx1.freebsd.org (Postfix) with ESMTP id E700F13C4D9 for ; Sun, 2 Dec 2007 21:13:37 +0000 (UTC) (envelope-from elrap@web.de) Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate02.web.de (Postfix) with ESMTP id 9A824B5B54CD for ; Sun, 2 Dec 2007 22:10:52 +0100 (CET) Received: from [84.152.172.192] (helo=freebsdangel.de) by smtp05.web.de with asmtp (WEB.DE 4.108 #208) id 1Iyw5U-0002uG-00 for questions@freebsd.org; Sun, 02 Dec 2007 22:10:52 +0100 Message-ID: <47531F7C.1090501@web.de> Date: Sun, 02 Dec 2007 22:11:24 +0100 From: Tino Engel User-Agent: Thunderbird 2.0.0.6 (X11/20071110) MIME-Version: 1.0 To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Sender: elrap@web.de X-Sender: elrap@web.de X-Provags-ID: V01U2FsdGVkX1/U9kJMLU2GDhcoG0/JVg5ipf9o6nZXn+AF7VN3 CA8Tz4S0REV3x0JPpvKtySRJquJDjbKikYZ4sGVuTVA3qNUE25 H5As+ryqY= Cc: Subject: Problems connecting a (formerly working) flash device X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Dec 2007 21:13:38 -0000 Dear beasties, I have a problem with a flash device (1G, FAT). It did not work on a special usb-hub on my system. Connecting it to another hub, I was able to access the device and load data to it. The only irregularity was that on connecting the device not only standard /dev/da0 and /dev/da0s1 were created, but also two "dummy" devices/dev/da0s2 and /dev/da1. But that made no problem in mounting /dev/da0s1 as usually using mount_msdosfs. Today I wanted to mount the device again and it fails now on any usb-port, always sending the same error message to dmesg. uhub2: device problem (INVAL), disabling port 5 uhub2: device problem (INVAL), disabling port 7 uhub2: device problem (INVAL), disabling port 6 uhub2: device problem (INVAL), disabling port 5 uhub2: device problem (INVAL), disabling port 1 uhub2: device problem (INVAL), disabling port 1 (I tried connecting to various ports) After various reconnects, I was able to get the device mounted again, resulting in dmesg as follows: umass0: on uhub2 da0 at umass-sim0 bus 0 target 0 lun 0 da0: Removable Direct Access SCSI-0 device da0: 40.000MB/s transfers da0: 1917MB (3926016 512 byte sectors: 255H 63S/T 244C) da1 at umass-sim0 bus 0 target 0 lun 1 da1: Removable Direct Access SCSI-0 device da1: 40.000MB/s transfers da1: Attempt to query device size failed: NOT READY, Medium not present (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 (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): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present GEOM_LABEL: Label for provider da0s1 is msdosfs/Sansa e250. (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 (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): SYNCHRONIZE CACHE. CDB: 35 0 0 0 0 0 0 0 0 0 (da0:umass-sim0:0:0:0): NOT READY asc:3a,0 (da0:umass-sim0:0:0:0): Medium not present GEOM_LABEL: Label msdosfs/Sansa e250 removed. Now I can mount the device using mount_msdosfs /dev/da0s1 /mnt. freebsdangel# ls /dev/da* /dev/da0 /dev/da0s1 /dev/da0s2 /dev/da1 freebsdangel# From my shell: Anyone has an idea how to debug this error, as soon as it occurs again? I have googled and searched the archives, but the error message seem to be related to various different problems. Rg, Tino