Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2013 16:48:22 +0100
From:      "Dipl.-Ing. Harald Langner" <development@langner.net>
To:        "'Hans Petter Selasky'" <hselasky@c2i.net>
Cc:        freebsd-usb@freebsd.org
Subject:   *****SPAM***** RE: usb/175551: Seagate 2TB USB extern hard disk have errors with freeBSD
Message-ID:  <!&!AAAAAAAAAAAYAAAAAAAAAFLdu/1U5L5Cn8mAXNB2Af3CgAAAEAAAAIREqUk4SZxGhKrElic0lc8BAAAAAA==@langner.net>
In-Reply-To: <201301252332.32405.hselasky@c2i.net>
References:  <201301242211.r0OMBmZm032367@red.freebsd.org> <201301252332.32405.hselasky@c2i.net>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
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: <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
>=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




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?!&!AAAAAAAAAAAYAAAAAAAAAFLdu/1U5L5Cn8mAXNB2Af3CgAAAEAAAAIREqUk4SZxGhKrElic0lc8BAAAAAA==>