Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jan 2013 22:40:01 GMT
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-usb@FreeBSD.org
Subject:   Re: usb/175551: Seagate 2TB USB extern hard disk have errors with freeBSD
Message-ID:  <201301252240.r0PMe1q3094382@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR usb/175551; it has been noted by GNATS.

From: Hans Petter Selasky <hselasky@c2i.net>
To: freebsd-usb@freebsd.org
Cc: Harald Langner <development@langner.net>,
 freebsd-gnats-submit@freebsd.org
Subject: Re: usb/175551: Seagate 2TB USB extern hard disk have errors with freeBSD
Date: Fri, 25 Jan 2013 23:32:32 +0100

 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:
 > 
 > >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-plu
 > s-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: <Seagate> 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
 > 
 
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301252240.r0PMe1q3094382>