From owner-freebsd-current@FreeBSD.ORG Tue Jul 28 13:22:16 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC03A106564A; Tue, 28 Jul 2009 13:22:16 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe14.tele2.se [212.247.155.161]) by mx1.freebsd.org (Postfix) with ESMTP id 2B6258FC18; Tue, 28 Jul 2009 13:22:15 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=hQ-uvbrDfo4A:10 a=gg2W7PyvkLb8p4ie143lBA==:17 a=6I5d2MoRAAAA:8 a=vxXCegPS4_HB_8g-BJEA:9 a=ILFUdXG_FE6nCkZwOCRhSfCWsRUA:4 Received: from [194.248.135.20] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe14.swip.net (CommuniGate Pro SMTP 5.2.13) with ESMTPA id 545310918; Tue, 28 Jul 2009 15:22:14 +0200 From: Hans Petter Selasky To: freebsd-current@freebsd.org, Alfred Perlstein Date: Tue, 28 Jul 2009 15:22:07 +0200 User-Agent: KMail/1.11.4 (FreeBSD/8.0-BETA2; KDE/4.2.4; i386; ; ) References: <367b2c980907270358g45a2497dh64c2734721c44fca@mail.gmail.com> <4A6EF8CD.7070305@icyb.net.ua> <1248786876.73923.6.camel@balrog.2hip.net> In-Reply-To: <1248786876.73923.6.camel@balrog.2hip.net> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907281522.08446.hselasky@c2i.net> Cc: Olivier SMEDTS , Andriy Gapon , Robert Noland Subject: Re: Disable root mount waiting for USB X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Jul 2009 13:22:17 -0000 On Tuesday 28 July 2009 15:14:36 Robert Noland wrote: > On Tue, 2009-07-28 at 16:10 +0300, Andriy Gapon wrote: > > on 28/07/2009 15:15 Hans Petter Selasky said the following: > > > On Tuesday 28 July 2009 13:23:18 Andriy Gapon wrote: > > >> on 28/07/2009 13:32 Hans Petter Selasky said the following: > > >>> Added a sysctl for this: > > >>> > > >>> http://perforce.freebsd.org/chv.cgi?CH=166673 > > >> > > >> Nitpick: better/cleaner to make it a tunable, doesn't make sense to > > >> have it as r/w sysctl. > > > > > > Feel free to change it once the patch gets into -current. I've sent my > > > patchset off, and cannot change this right now. > > > > Hans, > > maybe I am mistaken but I think that without TUNABLE_INT declaration or > > TUNABLE_INT_FETCH/getenv_int call the sysctl variable won't be set from > > kernel environment, so this sysctl will be effectively useless. > > That was my thinking... I don't think that sysctl will be handled in > time to be effective. Hi, You are maybe right. I didn't check that. Please change it to what it should be, patching against USB P4's usb_controller.c, and send the unified diff off to Alfred so he can apply your patch on top of mine. He's currently integrating for me. --HPS