From owner-freebsd-questions@FreeBSD.ORG Tue Aug 10 07:49:25 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AD8F0106566C for ; Tue, 10 Aug 2010 07:49:25 +0000 (UTC) (envelope-from ulrich@pukruppa.de) Received: from pukruppa.de (pd95cabe3.dip0.t-ipconnect.de [217.92.171.227]) by mx1.freebsd.org (Postfix) with ESMTP id 1C56C8FC1A for ; Tue, 10 Aug 2010 07:49:24 +0000 (UTC) Received: from pukruppa.de (localhost [127.0.0.1]) by pukruppa.de (8.14.4/8.14.4) with ESMTP id o7A7prRN003957 for ; Tue, 10 Aug 2010 09:51:53 +0200 (CEST) (envelope-from ulrich@pukruppa.de) Received: (from ulrich@localhost) by pukruppa.de (8.14.4/8.14.4/Submit) id o7A7pqei003956 for freebsd-questions@freebsd.org; Tue, 10 Aug 2010 09:51:52 +0200 (CEST) (envelope-from ulrich@pukruppa.de) From: Peter Ulrich Kruppa To: FreeBsd-Questions Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable Date: Tue, 10 Aug 2010 09:51:52 +0200 Message-ID: <1281426712.3459.20.camel@pukruppa.de> Mime-Version: 1.0 X-Mailer: Evolution 2.30.1.2 FreeBSD GNOME Team Port Subject: USB pen drive not detected 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: Tue, 10 Aug 2010 07:49:25 -0000 Hi, I am running FreeBSD 8.1-STABLE amd64 and have got a strange problem when I try to attach and mount my 16 GB USB pen drive.=20 # dmesg=20 delivers something like ugen1.2: at usbus1 umass0: on usbus1 (probe0:umass-sim0:0:0:0): INQUIRY. CDB: 12 0 0 0 24 0=20 (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI status: Check Condition (probe0:umass-sim0:0:0:0): SCSI sense: DATA PROTECT asc:6e,17 (Reserved ASC/ASCQ pair) (probe0:umass-sim0:0:0:0): AutoSense failed No /dev/da0s1 is created and of course it can not be mounted. On the other hand: when I attach the drive and reboot I get: # dmesg ugen1.2: at usbus1 umass0: on usbus1 Root mount waiting for: usbus1 Trying to mount root from ufs:/dev/ad0s1a (probe0:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0=20 (probe0:umass-sim0:0:0:0): CAM status: SCSI Status Error (probe0:umass-sim0:0:0:0): SCSI status: Check Condition (probe0:umass-sim0:0:0:0): SCSI sense: UNIT ATTENTION asc:28,0 (Not ready to ready change, medium may have changed) da0 at umass-sim0 bus 0 scbus3 target 0 lun 0 da0: < Spaceloop 16GB 8.07> Removable Direct Access SCSI-2 device=20 da0: 40.000MB/s transfers da0: 16086MB (32945152 512 byte sectors: 255H 63S/T 2050C) GEOM: da0: partition 1 does not start on a track boundary. GEOM: da0: partition 1 does not end on a track boundary. Now I can do # mount_msdosfs /dev/da0s1 /mnt and access the drive. What is going on here? How can I access my drive without rebooting? For a comparision: I have got an old USB pen drive (512 MB) which works without any trouble: # dmesg ugen0.3: at usbus0 umass0: on usbus0 da0 at umass-sim0 bus 0 scbus3 target 0 lun 0 da0: Removable Direct Access SCSI-2 device=20 da0: 1.000MB/s transfers da0: 503MB (1031936 512 byte sectors: 64H 32S/T 503C) Sorry to say the 16 GB thing works smoothly with Debian, Fedora and even Windows :(=20 Greetings Peter.