From owner-freebsd-current@FreeBSD.ORG Fri Jul 31 17:05:20 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 475F0106566B for ; Fri, 31 Jul 2009 17:05:20 +0000 (UTC) (envelope-from sam@errno.com) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 1C5E28FC18 for ; Fri, 31 Jul 2009 17:05:19 +0000 (UTC) (envelope-from sam@errno.com) Received: from ice.local ([10.0.0.115]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n6VH51ZR090877 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 31 Jul 2009 10:05:01 -0700 (PDT) (envelope-from sam@errno.com) Message-ID: <4A73243D.3050506@errno.com> Date: Fri, 31 Jul 2009 10:05:01 -0700 From: Sam Leffler User-Agent: Thunderbird 2.0.0.22 (Macintosh/20090605) MIME-Version: 1.0 To: Ed Schouten References: <367b2c980907270358g45a2497dh64c2734721c44fca@mail.gmail.com> <20090731111738.GK1292@hoeg.nl> <4A72F544.2070103@haruhiism.net> <20090731135805.GM1292@hoeg.nl> In-Reply-To: <20090731135805.GM1292@hoeg.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-sonic.net-Metrics: ebb.errno.com; whitelist Cc: Olivier SMEDTS , freebsd-current@freebsd.org 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: Fri, 31 Jul 2009 17:05:20 -0000 Ed Schouten wrote: > * Kamigishi Rei wrote: >> Ed Schouten wrote: >>>> Is there a way (loader tunable or kernel config) to disable the root >>>> mount waiting for USB buses and devices and make it behave just like >>>> in the first days of the new USB stack ? >>> Why can't we just wait until the device node that should be mounted is >>> available? >> We're talking about this USB delay which appears almost always >> during the initialization of the USB stack. >> >> Jul 19 07:21:34 ameagari kernel: Root mount waiting for: usbus7 usbus3 >> Jul 19 07:21:34 ameagari kernel: Trying to mount root from ufs:/dev/ad10s1a >> >> In this case, the delay is insignificant, however with some systems >> this can take up to 10 seconds. >> And we don't even need to wait for USB bus because the root >> filesystem is on an ATA hard disk. > > So that's why I'm saying: why can't we just wait until the device node > that should be mounted is available? > Talk to Scott Long how to correctly fix this issue. Andrew Thompson tried but his attempt was backed out as incorrect. So far as I know noone has stepped up to address the real problem here. Sam