From owner-freebsd-usb@FreeBSD.ORG Thu Jan 24 22:20:00 2013 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BAEAA353 for ; Thu, 24 Jan 2013 22:20:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 9F2CDA7C for ; Thu, 24 Jan 2013 22:20:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r0OMK0Is016910 for ; Thu, 24 Jan 2013 22:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r0OMK0bj016909; Thu, 24 Jan 2013 22:20:00 GMT (envelope-from gnats) Resent-Date: Thu, 24 Jan 2013 22:20:00 GMT Resent-Message-Id: <201301242220.r0OMK0bj016909@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Harald Langner Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7BCB516C for ; Thu, 24 Jan 2013 22:11:48 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 6D5BDA21 for ; Thu, 24 Jan 2013 22:11:48 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id r0OMBmlU032374 for ; Thu, 24 Jan 2013 22:11:48 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id r0OMBmZm032367; Thu, 24 Jan 2013 22:11:48 GMT (envelope-from nobody) Message-Id: <201301242211.r0OMBmZm032367@red.freebsd.org> Date: Thu, 24 Jan 2013 22:11:48 GMT From: Harald Langner To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: usb/175551: Seagate 2TB USB extern hard disk have errors with freeBSD X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jan 2013 22:20:00 -0000 >Number: 175551 >Category: usb >Synopsis: Seagate 2TB USB extern hard disk have errors with freeBSD >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 24 22:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Harald Langner >Release: 9.1 Release >Organization: >Environment: FreeBSD haraldlangner.de 9.1-RELEASE FreeBSD 9.1-RELEASE #0: Wed Jan 9 18:13:51 CET 2013 root@haraldlangner.de:/usr/obj/usr/src/sys/GENERIC i386 >Description: it seems to be a driver sw-bug I had tried to use an external Seagate 2 TB USB 3.0 hard disk, and want to format the third partition on it with FreeBSD. But I had have no look. So I step to the forum to get help. But no help was possible. It seems to be a hardware problem between this Seagate Plus Desktop Drive: http://www.seagate.com/external-hard-drives/desktop-hard-drives/backup-plus-desk/ and freeBSD. The last poster in the forum http://forums.freebsd.org/showthread.php?t=36938 commend me to post a problem report - so I want to do here. I had try different things (see the post above). Everey time the USB-Disk hangs up. On Windows I got no problems with this Seagate USB drive. I have tried serval time to format a bevore created partition with freeBSD - no look: # newfs /dev/da0s3 /dev/da0s3: 267264.0MB (547356656 sectors) block size 32768, fragment size 4096 using 362 cylinder groups of 740.00MB, 23680 blks, 47360 inodes. super-block backups (for fsck -b #) at: 192, 1515712, 3031232, 4546752, 6062272, 7577792, 9093312, 10608832, 12124352, 13639872, 15155392, 16670912, 18186432, 19701952, 21217472, 22732992, 24248512, 25764032, 27279552, 28795072, 30310592, 31826112, 33341632, 34857152, 36372672, 37888192, 39403712, 40919232, 42434752, 43950272, 45465792, 46981312, 48496832, 50012352, 51527872, 53043392, 54558912, 56074432, 57589952, 59105472, 60620992, ---Here it hangs - and I have to switch of the PC. I thing I give up with this Seagte USB device. I had also created a FAT32 partition (in the 3. Partition as described in the post) with a second Windows PC. Copy some data on it and try to mount it with the freeBSD PC. # mount -t msdosfs -o large /dev/da0s3 /mnt/bckup Same Problem - it hangs: Here are the error message that cames up, when it hangs, on console: (da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 c8 32 5d 28 0 0 8 0 (da0:umass-sim0:0:0:0): CAM status: CCB reques completed with an error (da0:umass-sim0:0:0:0): Retrying command ugen0.2: at usbus0 (disconnected) umass0: at uhub0, port 1, addr 2 (disconnected) (da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 c8 32 5d 28 0 0 8 0 (da0:umass-sim0:0:0:0): CAM status: CCB reques completed with an error (da0:umass-sim0:0:0:0): Retrying command (da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 c8 32 5d 28 0 0 8 0 (da0:umass-sim0:0:0:0): CAM status: Section Timeout (da0:umass-sim0:0:0:0): Retrying command (da0:umass-sim0:0:0:0): READ(10). CDB: 28 0 c8 32 5d 28 0 0 8 0 (da0:umass-sim0:0:0:0): CAM status: Section Timeout (da0:umass-sim0:0:0:0): Retrying command (da0:umass-sim0:0:0:0): lost device - 1 outstanding, 2 refs (da0:umass-sim0:0:0:0): outstanding 0 (pass3:da0:umass-sim0:0:0:0): passdevgonecb devfs entry is gone Here the system hang up. I have to press the power knobe for a new boot. I found in the sources cam.c where the messages seems to be made: http://svn.freebsd.org/base/user/eri/pf45/head/sys/cam/cam.c and this info: http://bintree.net/freebsd/de/de1/cam_8c.html. But i dislike to grubber deeper, what it could be. Maybe my information about the error will give the developer of cam.c (and code around) some ideas how Seagates hard disks can get to work with freeBSD. If there are any questions left, please ask me. Whish you all best Harald >How-To-Repeat: Take the "Seagate Plus Desktop Drive" - try to format it - or copy some data on it, use it. I have buyed this Seagate Plus Desktop because it should work also with MAC. And Mac kernel is a freeBSD System - right? But maybe MAC and Windows have different driver. Also it was written that the Seagate should be upwarts compatible. Because my old PC (freeBSD) has only USB 2.0 or USB 1.0. >Fix: take another USB drive >Release-Note: >Audit-Trail: >Unformatted: