Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jan 2013 14:26:53 -0000
From:      "Steven Hartland" <killing@multiplay.co.uk>
To:        "Willem Jan Withagen" <wjw@digiware.nl>, "Julian Stecklina" <jsteckli@os.inf.tu-dresden.de>
Cc:        freebsd-stable@FreeBSD.org, Andriy Gapon <avg@FreeBSD.org>
Subject:   Re: Some new hardware with 9.1 does not reboot easily
Message-ID:  <4B9E14C6DBAC4784BF070100E3601314@multiplay.co.uk>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

----- Original Message ----- 
From: "Willem Jan Withagen" <wjw@digiware.nl>
To: "Julian Stecklina" <jsteckli@os.inf.tu-dresden.de>
Cc: "Steven Hartland" <killing@multiplay.co.uk>; "Andriy Gapon" <avg@FreeBSD.org>; <freebsd-stable@FreeBSD.org>
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 <killing@multiplay.co.uk> wrote:
>> 
>>> ----- Original Message ----- From: "Andriy Gapon"
>>> <avg@FreeBSD.org>
>>> 
>>> 
>>>> 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.




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