From owner-freebsd-usb@FreeBSD.ORG Sun Jan 12 22:28:17 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2D009811 for ; Sun, 12 Jan 2014 22:28:17 +0000 (UTC) Received: from nm39-vm8.bullet.mail.bf1.yahoo.com (nm39-vm8.bullet.mail.bf1.yahoo.com [72.30.239.152]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C3E8D16D6 for ; Sun, 12 Jan 2014 22:28:16 +0000 (UTC) Received: from [66.196.81.173] by nm39.bullet.mail.bf1.yahoo.com with NNFMP; 12 Jan 2014 22:28:09 -0000 Received: from [98.139.212.244] by tm19.bullet.mail.bf1.yahoo.com with NNFMP; 12 Jan 2014 22:28:09 -0000 Received: from [127.0.0.1] by omp1053.mail.bf1.yahoo.com with NNFMP; 12 Jan 2014 22:28:09 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 331938.49349.bm@omp1053.mail.bf1.yahoo.com Received: (qmail 55970 invoked by uid 60001); 12 Jan 2014 22:28:09 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1389565689; bh=/lsrOmbtF/YGiJtoavcePMrhtdAi6GW2eF+HDLsgrvw=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=SbcKxpQ2gwYWaCVi0xGOmTcuz+vmCyJIbKAUWvUbVd1yoxrnALbj3BnPn9T7yFwQOC/GgiIlpKGN9TA6EfjH45qkUeSPm8+BC0y4+QL2sD1a2iprl4uljTUni+AlzNdSkrFnSlLG5E71gAT2iAVOgLX9yqDv8OxMKlOuwQCOhWc= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=PHIosDHzAYzyyxC1z5EJqvX2hOlLoIRFLfCpgM/skCBeQyxw+V6VRiwoDije7gfFWtJaP+K4ZtKV15EgkynOZ+VDG8gHZ/hbuJrYuOXStG44rNlO9GrFVMlTWxApYk08UwyQnjt2kseSG9139ammckwgisRUivrUvAJTd8yCi2k=; X-YMail-OSG: KuD4owAVM1n8Up1OoNPPkaGoQ5te6BS1Vpb7Ssw4hMOwpxH r_hW9d.E5_fDoKiA8n0afiONHcdVkHm6elmzcr6R8Gy09zZsFRx_vt7OW22y olkjC81ElSlakOSDBqOZBSlOxCxSPHkEq7j4e0JiQo97zJKDiZ.V5yiGE6nE Vf5cD8EiwpMUdsmxiFd_YEorwlY8TQsgaSemrcuq_uFJdUhnY5z5I4ieUMLr WRQVuvdo43SIwo5giDFA1N12NOYG7UY1RnE36MNW3UWNztQmu9ijjk9TpprO cAdD0g2kVuq_oCVqjWDiYzX596zkF6kjHyxqC0e2VTaOXeFKHZBj3A8yLPgl f9TMbo_guHKmoeee0SHKrxB7oyDuYGzLgkzsFD3.QEB.i55alM2fxk2qV8UX HSSUm88uQTykku2U6byKsHPHlE36b6yJvQHFukdObgWikoIwk5p1kMuZZeUW qxL7frl9GkhFf5aNLv1ZgiR8sB8cZHG3vmjl1zzkqFzPtpwvzW_r7ohQkx3n XMRlqmrgyejiZht2g1b_elOjXiNFSHbw8vgnLlOi9OaTlLh7IpwJyvJCUYMb 4Isgk0tkr0b38H6BdIBJ44yhx Received: from [24.34.111.37] by web162101.mail.bf1.yahoo.com via HTTP; Sun, 12 Jan 2014 14:28:09 PST X-Rocket-MIMEInfo: 002.001, LC0tIEZyb206IEFsZXggR29uY2hhcm92IDxhbGV4X2dvbmNoYXJvdl91c2FAeWFob28uY29tPg0KPiBEYXRlOiBTdW5kYXksIEphbnVhcnkgMTIsIDIwMTQsIDU6MDEgUE0NCg0KPiBJIGp1c3Qgbm90aWNlZCB5b3VyIHJlY2VudA0KPiANCj4gLS0tLQ0KPiByMjYwNTc1IHwgaHNlbGFza3kgfCAyMDE0LTAxLTEyDQo.DQo.IGFuZCBhbSBiZWdpbm5pbmcgYSBmdWxsIHJlYnVpbGQ7IHRoZSByZXN1bHRzIHdpbGwgYmUga25vd24gaW4gYWJvdXQNCj4gdGhyZWUgaG91cnMuDQoNCkhhbnMsDQoNCldoaWxlIEkgYW0BMAEBAQE- X-Mailer: YahooMailClassic/387 YahooMailWebService/0.8.172.614 Message-ID: <1389565689.83194.YahooMailBasic@web162101.mail.bf1.yahoo.com> Date: Sun, 12 Jan 2014 14:28:09 -0800 (PST) From: Alex Goncharov Subject: Re: usb/185628: usbd_req_re_enumerate set address failed USB_ERR_STALLED for Seagate USB drives between r259425 and r260321 To: freebsd-usb@FreeBSD.org, Hans Petter Selasky In-Reply-To: <52D30966.4090002@bitfrost.no> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jan 2014 22:28:17 -0000 ,-- From: Alex Goncharov > Date: Sunday, January 12, 2014, 5:01 PM > I just noticed your recent > > ---- > r260575 | hselasky | 2014-01-12 > > and am beginning a full rebuild; the results will be known in about > three hours. Hans, While I am doing the rebuild, may I return to the topic I touched slightly in my original PR submission? A sporadic USB HDD device loss, sometimes with a system crash: I had this with a WD drive, when "da0" could disappear at any moment, a file system vnode could not be found for reading or writing and bad things would happen. Now the same story with the Sony USB drive. My observations of many USB HDD's led me to conclude that some are smarter than the others -- the smarter ones may be slower to react to just about anything but they don't get lost. My Seagates may have a huge operation queues for either writing or reading, but I've never lost those drives' devices ("da0"s) when using them. 500G Buffalo never has a long queue, and good for it, but I am fine with a longer queue of the 1T Seagates, as long as their "da0"s don't go down. 1.5T Toshiba is another story: it seems like it often needs a significant wake-up period after sitting idle, but 'da0' never goes away, either. What WD and Sony exhibit on FreeBSD is plain horrible. It doesn't make sense to quickly write the first 10G of 100G of data if the system goes down after those 10G. And losing "da0" on reading or after idling (the WD's behavior) is just as bad. As I mentioned, I didn't observe the Sony issue when using it on Linux (I didn't with WD -- just sent it back.) Can something be done about it along the Linux's lines, which you briefly mentioned and seemed to be critical about? As a data user, I strongly disagree that Linux's approach here is inferior to the one FreeBSD took, if I understand both correctly. Thank you, -- Alex