Date: Fri, 27 Nov 2020 18:19:45 +0000 From: Graham Perrin <grahamperrin@gmail.com> To: FreeBSD Current <freebsd-current@freebsd.org>, Matthew Macy <mmacy@freebsd.org>, Ryan Moeller <freqlabs@FreeBSD.org> Cc: Hans Petter Selasky <hps@selasky.org> Subject: Re: suspend/resume versus OpenZFS on USB Message-ID: <d9b9e487-5ada-69aa-3b41-908e6ddad36b@gmail.com> In-Reply-To: <bcbaeb5e-82c0-9f3d-7906-ac4d4a1cdfd6@gmail.com> References: <a0cfead4-bcce-f4ff-662d-a186b19c7a37@gmail.com> <6824e9f5-0496-a9ba-9cf2-01a6c8b34a4e@selasky.org> <24c4f60d-d937-7763-9cea-697de75109a6@gmail.com> <7cd8c682-0c4b-c332-c6de-d17dccbd9672@selasky.org> <bcbaeb5e-82c0-9f3d-7906-ac4d4a1cdfd6@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 05/09/2020 18:18, Graham Perrin wrote: > On 05/09/2020 10:26, Hans Petter Selasky wrote: >> On 2020-09-05 11:00, Graham Perrin wrote: >>> On 04/09/2020 09:01, Hans Petter Selasky wrote: >>>> On 2020-09-04 01:42, Graham Perrin wrote: >>>>> This week for the first time I toyed with OpenZFS on a USB device: >>>>> a mobile hard disk drive connected to the dock of an HP EliteBook >>>>> 8570p. >>>>> >>>>> A light test, with the pool imported but not writing to the >>>>> dataset at suspend time. >>>>> >>>>> At resume time (22:31), the device was still physically connected >>>>> but the pool suffered an I/O failure (and the keyboard and >>>>> trackball on USB were unusable). >>> … >>>> We need output from "procstat -akk" to see where ZFS/USB is hanging. >>>> >>>> --HPS >>> >>> For test purposes I reproduced the behaviour with a different >>> device, a USB flash drive (connected to the same dock). >>> >>> Attached: >>> >>> 2020-09-05 09:27:55 procstat -akk.txt >>> >>> – output from procstat -akk >>> >>> 2020-09-05 09:17:59 suspend 09:26:49 resume.txt >>> >>> – the output in context. >>> >>> Thank you >>> >>> Graham >>> >>> >> >> Hi, >> >> USB is not hanging. >> >> It looks like a problem with USB resume, that no devices are >> recognized, until you re-plug them ... >> >> --HPS > > Hi > > If I export the pool before suspend, no problem at resume time. > > … Please Is there any way to avoid the need to export before suspending the computer? Might there be a future improvement to support for USB? Thanks
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d9b9e487-5ada-69aa-3b41-908e6ddad36b>