From owner-freebsd-stable@FreeBSD.ORG Thu Jan 17 14:26:41 2013 Return-Path: Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 06F43411; Thu, 17 Jan 2013 14:26:41 +0000 (UTC) (envelope-from prvs=172911332d=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 611F11FC; Thu, 17 Jan 2013 14:26:40 +0000 (UTC) Received: from r2d2 ([188.220.16.49]) by mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) (MDaemon PRO v10.0.4) with ESMTP id md50001737500.msg; Thu, 17 Jan 2013 14:26:31 +0000 X-Spam-Processed: mail1.multiplay.co.uk, Thu, 17 Jan 2013 14:26:31 +0000 (not processed: message from valid local sender) X-MDRemoteIP: 188.220.16.49 X-Return-Path: prvs=172911332d=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk Message-ID: <4B9E14C6DBAC4784BF070100E3601314@multiplay.co.uk> From: "Steven Hartland" To: "Willem Jan Withagen" , "Julian Stecklina" References: <50ACA518.4050309@digiware.nl> <50AD0AC2.5070804@FreeBSD.org> <50AD0B29.6060602@FreeBSD.org> <50AD0F00.5020600@digiware.nl> <50AD13EE.8050901@digiware.nl> <50AD17E4.50104@FreeBSD.org> <50AD189D.4040902@digiware.nl> <50AD1941.2020108@FreeBSD.org> <50ADF362.2040803@FreeBSD.org> <20121123140932.3a6deff6@mr129166> <50AF88AA.1060003@FreeBSD.org> <50AFF419.3070604@digiware.nl> <50AFF7C1.2090405@FreeBSD.org> <50AFFB9C.8050101@digiware.nl> <20121126111052.68136d00@mr129166> <50B3421B.2010606@FreeBSD.org> <20121129094137.6829eae8@mr129166> <50B7229D.4090901@digiware.nl> <50B77A6A.9050604@FreeBSD.org> <50B77C3B.6070305@digiware.nl> <50B77D70.1000803@FreeBSD.org> <871udwgbya.fsf@os.inf.tu-dresden.de> <50F06A43.801@digiware.nl> <50F7142B.7080504@FreeBSD.org> <86386CBB12394FDAB981F1C19CBC520B@multiplay.co.uk> <0bba4bca-218c-434a-a25d-a988df155207@email.android.com> <50F80688.7080800@digiware.nl> Subject: Re: Some new hardware with 9.1 does not reboot easily Date: Thu, 17 Jan 2013 14:26:53 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Cc: freebsd-stable@FreeBSD.org, Andriy Gapon X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jan 2013 14:26:41 -0000 ----- Original Message ----- From: "Willem Jan Withagen" To: "Julian Stecklina" Cc: "Steven Hartland" ; "Andriy Gapon" ; Sent: Thursday, January 17, 2013 2:11 PM Subject: Re: Some new hardware with 9.1 does not reboot easily > On 2013-01-17 3:08, Julian Stecklina wrote: >> >> >> Steven Hartland wrote: >> >>> ----- Original Message ----- From: "Andriy Gapon" >>> >>> >>> >>>> on 11/01/2013 21:38 Willem Jan Withagen said the following: >>>>> On 2013-01-07 18:06, Julian Stecklina wrote: >>>>>> Has this been resolved? I still see a hang on reboot/shutdown >>>>>> on my >>> box >>>>>> (zfs root on USB thumb drive), but I am not sure if the >>>>>> problem is related. >>>>> >>>>> Could very well be be. >>>>> >>>>> I have again the same problem as I reported before with the >>>>> full and >>> new >>>>> 9.1 code. But did not have time yet to build a system te test >>>>> with. >>>>> >>>>> My other 9.1 box is my ZFS only fileserver. And I do not want >>>>> to >>> fidle >>>>> to much with it. >>> >>> Not sure if this has been suggested or ruled out as yet but if you >>> have usb enabled, you don't need to be using it, try the following >>> see if it helps? >>> >>> sysctl hw.usb.no_shutdown_wait=1 >> >> With that sysctl set the box shuts down just fine. Thanks! >> >>> >>> If it does 1. Temporary fix is to pop that in /etc/sysctl.conf 2. >>> Worth investigating which USB component isn't dropping references >>> correctly. >> >> I only have an USB thumb drive and a USB soundcard attached. I tried >> it without the soundcard attached and would still not reset/shutdown, >> so that does not seem to be the problem. >> >> I attached usbconfig list output. > > Hi all, > > This is with: > FreeBSD zfs.digiware.nl 9.1-STABLE FreeBSD 9.1-STABLE #59 r245340: > Sun Jan 13 06:49:37 CET 2013 > > I removed my WD USB disk, and it started to reboot just fine.... > And as such I think it is a combination of USB storage and ZFS. > > So it could very well be a derivative of the previous problems where a > more complex situation in storage ended up in deadlock. > > Thanx to Steven for putting the finger in the correct hole in the dike.... > For the time being I'll just pop the sysctl into the config. I don't "think" it will FS related, when I looked it was purely a device reference count thing. If you have a blank or unmounted device plugged in does it still fail to reboot without that sysctl? Regards Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk.