From owner-freebsd-usb@FreeBSD.ORG Wed Jan 30 15:56:21 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D325B6CC for ; Wed, 30 Jan 2013 15:56:21 +0000 (UTC) (envelope-from development@langner.net) Received: from swdevil.de (swdevil.de [78.47.225.20]) by mx1.freebsd.org (Postfix) with ESMTP id 4EB1F2C6 for ; Wed, 30 Jan 2013 15:56:20 +0000 (UTC) Received: from jupiter2 (e181219222.adsl.alicedsl.de [85.181.219.222]) (authenticated bits=0) by swdevil.de (8.14.5/8.14.5) with ESMTP id r0UFmwhs045003 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Wed, 30 Jan 2013 16:49:00 +0100 (CET) (envelope-from development@langner.net) From: "Dipl.-Ing. Harald Langner" To: "'Hans Petter Selasky'" References: <201301242211.r0OMBmZm032367@red.freebsd.org> <201301252332.32405.hselasky@c2i.net> In-Reply-To: <201301252332.32405.hselasky@c2i.net> Subject: *****SPAM***** RE: usb/175551: Seagate 2TB USB extern hard disk have errors with freeBSD Date: Wed, 30 Jan 2013 16:48:22 +0100 Organization: LANGNER Software & Consulting Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: Ac37S7YbAL9hHiQjRdu481534w1/dwDspTzg Content-Language: de X-Spam-Flag: YES X-Spam-Status: Yes, score=7.6 required=4.3 tests=BAYES_40,DOS_OUTLOOK_TO_MX, FSL_HELO_NON_FQDN_1,HELO_NO_DOMAIN,KHOP_DYNAMIC,RCVD_IN_BRBL_LASTEXT, RCVD_IN_PBL,RCVD_IN_SORBS_DUL,URIBL_BLOCKED shortcircuit=no autolearn=no version=3.3.2 X-Spam-Report: * 0.0 RCVD_IN_SORBS_DUL RBL: SORBS: sent directly from dynamic IP address * [85.181.219.222 listed in dnsbl.sorbs.net] * 3.3 RCVD_IN_PBL RBL: Received via a relay in Spamhaus PBL * [85.181.219.222 listed in zen.spamhaus.org] * 1.4 RCVD_IN_BRBL_LASTEXT RBL: RCVD_IN_BRBL_LASTEXT * [85.181.219.222 listed in bb.barracudacentral.org] * 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. * See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block * for more information. * [URIs: swdevil.de] * 0.0 FSL_HELO_NON_FQDN_1 FSL_HELO_NON_FQDN_1 * -0.0 BAYES_40 BODY: Bayes spam probability is 20 to 40% * [score: 0.2802] * 0.0 KHOP_DYNAMIC Relay looks like a dynamic address * 0.0 HELO_NO_DOMAIN Relay reports its domain incorrectly * 2.8 DOS_OUTLOOK_TO_MX Delivered direct to MX with Outlook headers X-Spam-Level: ******* X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on swdevil.de Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: development@langner.net List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jan 2013 15:56:21 -0000 Hello Hans Petter, thank you for your response. I want answer your questions - sorry for = the late reply: 1) Does the drive have separate power connected? A: Yes 2) Have you tried using the disk at USB 2.0 by disabling USB 3.0 in the = BIOS A: I used for this a very old PC, a "Hewlett-Packard HP Vectra VL60 with Intel Pentium III (Copermine) 733Mhz / 256MB RAM / Mainboard D8611-60001 Board-S/N:FR02632024 / PhoenixBOIS 4.0 Release6.0.L /" 1985-2000 Hewellt Packard Rev, Version: HY.01.07 (15 Jan 2002)" It has no USB 3.0, nor can boot from USB. 3) Have you tried setting "hw.usb.umass.throttle" to 1,4 or 16, which is available in 9-stable, when "options USB_DEBUG" is enable. A: No - I have not known that. But I believe that my pc is more to slow = than to fast. 4) "The CAM layer hang you are experiencing is possibly fixed in 10-current." -> fine, I will give it a try when 10-current becomes 10-release. Thank you for give me the information that it is a "CAM layer hang" - whatever this is. So it is not my fault. I now used another (older) external 320 GB USB hard drive. With that I = get no problems (making partitions, formatting,..) With best regards, Harald Langner _________________________________________________________________________= ___ _____ Dipl.-Ing. (FH) Harald E. Langner - Software-Developer - eMail: mailto:Harald.Langner@web.de Url: http://www.swdevil.de http://www.langner.net Phone: +49 (69) 383 575 Telefax: +49 (69) 3877 8692 Mobile:=A0 +49 (179) 617 90 80 Address: Auf der Beun, No. 20 D - 65 933=A0 Frankfurt at Main EUROPE (Germany) -----Original Message----- From: Hans Petter Selasky [mailto:hselasky@c2i.net]=20 Sent: Friday, January 25, 2013 11:33 PM To: freebsd-usb@freebsd.org Cc: Harald Langner; freebsd-gnats-submit@freebsd.org Subject: Re: usb/175551: Seagate 2TB USB extern hard disk have errors = with freeBSD On Thursday 24 January 2013 23:11:48 Harald Langner wrote: > >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: >=20 > >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=20 > i386 >=20 > >Description: > it seems to be a driver sw-bug >=20 > I had tried to use an external Seagate 2 TB USB 3.0 hard disk, and=20 > want to format the third partition on it with FreeBSD. But I had have=20 > 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 > -plu > s-desk/ and freeBSD. >=20 > The last poster in the forum > http://forums.freebsd.org/showthread.php?t=3D36938 commend me to post = a=20 > problem report - so I want to do here. >=20 > I had try different things (see the post above). Everey time the=20 > USB-Disk hangs up. On Windows I got no problems with this Seagate USB drive. >=20 > I have tried serval time to format a bevore created partition with=20 > freeBSD > - no look: >=20 > # newfs /dev/da0s3 > /dev/da0s3: 267264.0MB (547356656 sectors) block size 32768, fragment=20 > 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,=20 > 12124352, 13639872, 15155392, 16670912, 18186432, 19701952, 21217472,=20 > 22732992, 24248512, 25764032, 27279552, 28795072, 30310592, 31826112, = > 33341632, 34857152, 36372672, 37888192, 39403712, 40919232, 42434752,=20 > 43950272, 45465792, 46981312, 48496832, 50012352, 51527872, 53043392, = > 54558912, 56074432, 57589952, 59105472, 60620992, ---Here it hangs -=20 > and I have to switch of the PC. >=20 >=20 > I thing I give up with this Seagte USB device. I had also created a=20 > FAT32 partition (in the 3. Partition as described in the post) with a=20 > 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=20 > hangs: >=20 >=20 > 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 >=20 > Here the system hang up. I have to press the power knobe for a new = boot. >=20 > 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=20 > 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=20 > Seagates hard disks can get to work with freeBSD. >=20 > If there are any questions left, please ask me. >=20 > Whish you all best > Harald >=20 > >How-To-Repeat: > Take the "Seagate Plus Desktop Drive" - try to format it - or copy=20 > some data on it, use it. I have buyed this Seagate Plus Desktop=20 > because it should work also with MAC. And Mac kernel is a freeBSD=20 > System - right? But maybe MAC and Windows have different driver. Also=20 > it was written that the Seagate should be upwarts compatible. Because=20 > my old PC (freeBSD) has only USB 2.0 or USB 1.0. >=20 > >Fix: > take another USB drive >=20 Hi, 1) Does the drive have separate power connected? 2) Have you tried using the disk at USB 2.0 by disabling USB 3.0 in the = BIOS 3) Have you tried setting "hw.usb.umass.throttle" to 1,4 or 16, which is available in 9-stable, when "options USB_DEBUG" is enable. The CAM layer hang you are experiencing is possibly fixed in 10-current. = It is not a USB fault. --HPS ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2013.0.2890 / Virus Database: 2639/6063 - Release Date: = 01/28/13