From owner-freebsd-current@FreeBSD.ORG Fri Jul 31 13:58:06 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 BAB831065739 for ; Fri, 31 Jul 2009 13:58:06 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:7b8:613:100::211]) by mx1.freebsd.org (Postfix) with ESMTP id 5D7FC8FC14 for ; Fri, 31 Jul 2009 13:58:06 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id CD7271CE29; Fri, 31 Jul 2009 15:58:05 +0200 (CEST) Date: Fri, 31 Jul 2009 15:58:05 +0200 From: Ed Schouten To: Kamigishi Rei Message-ID: <20090731135805.GM1292@hoeg.nl> References: <367b2c980907270358g45a2497dh64c2734721c44fca@mail.gmail.com> <20090731111738.GK1292@hoeg.nl> <4A72F544.2070103@haruhiism.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VJJoKLVEFXdmHQwR" Content-Disposition: inline In-Reply-To: <4A72F544.2070103@haruhiism.net> User-Agent: Mutt/1.5.20 (2009-06-14) 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 13:58:07 -0000 --VJJoKLVEFXdmHQwR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * 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. >=20 > 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/ad10s= 1a >=20 > 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? --=20 Ed Schouten WWW: http://80386.nl/ --VJJoKLVEFXdmHQwR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkpy+G0ACgkQ52SDGA2eCwUbkgCeI9vELYOlN+MO1UCaKcLVilii NRgAn3pTv99Ww7gOfyDO/mqAW57aXnPZ =AFA9 -----END PGP SIGNATURE----- --VJJoKLVEFXdmHQwR--