From owner-freebsd-questions@FreeBSD.ORG Tue Jun 11 21:43:58 2013 Return-Path: Delivered-To: freebsd-questions@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 238381E6 for ; Tue, 11 Jun 2013 21:43:58 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-wg0-x229.google.com (mail-wg0-x229.google.com [IPv6:2a00:1450:400c:c00::229]) by mx1.freebsd.org (Postfix) with ESMTP id B396F1ED4 for ; Tue, 11 Jun 2013 21:43:57 +0000 (UTC) Received: by mail-wg0-f41.google.com with SMTP id k13so4492661wgh.2 for ; Tue, 11 Jun 2013 14:43:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=HG74E2P0SrzUN6J16O9uObUP9GsE9khkCvTjJuVUIVo=; b=TFA3/94dxY8zQJBaOJvhDPiQ3hSH1lCZ92OotWshEYYAfAzP1dv9Fk02idkYq7Ue4T JTn4fyErIvQSPYp1XCHzwp/fhqVLUV0JG4w88Zj7TI9kB791UiVoMcGYdg3e6qnMXLyj mwu8B2EuLKDtPbuRSH52KDX94wayhwYHE1mzmvDB932MxG0d/zRBTn+ccIWWvn8P/bO9 EAP9uzbIDtwhfyyRKKunMQeJyXqa5oJZQUBgM5oBh3UK2hjxqkRfjRTUZQsJwL2sCcIL giZ6ZFuU9crAZYE9i9CuX/RIiv4ScfnBDdFDUHLpIL/zXbHARbBkofEy4uoo2HUaHwGU H52Q== MIME-Version: 1.0 X-Received: by 10.194.91.194 with SMTP id cg2mr8195022wjb.53.1370987036825; Tue, 11 Jun 2013 14:43:56 -0700 (PDT) Received: by 10.180.89.235 with HTTP; Tue, 11 Jun 2013 14:43:56 -0700 (PDT) In-Reply-To: References: <20130607230429.a090ca0c.freebsd@edvax.de> Date: Tue, 11 Jun 2013 23:43:56 +0200 Message-ID: Subject: Re: 9.1-RELEASE slow boot From: =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: User Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Jun 2013 21:43:58 -0000 On Tue, Jun 11, 2013 at 8:19 AM, Fernando Apestegu=EDa wrote: > On Fri, Jun 7, 2013 at 11:04 PM, Polytropon wrote: >> On Fri, 7 Jun 2013 19:38:34 +0200, Fernando Apestegu=EDa wrote: >>> Since I updated to 9.1-RELEASE my boot process seems to stall for a >>> while. Booting in verbose mode shows messages like these ones: >>> >>> Opening device da0 -> 6 (repeated like 30 times or so) >>> Opening device da1 -> 6 (repeated like 30 times or so) >>> Opening device da2 -> 6 (repeated like 30 times or so) >>> Opening device da3 -> 6 (repeated like 30 times or so) >>> >>> Those devices correspond to my internal SD card reader that doesn't >>> work on FreeBSD anyway. This seems some kind of probing right? I don't >>> want to wait for those devices. What can I do to speed up booting? I >>> didn't change my system settings either. Did anything related change >>> in the kernel about probing these type of devices? >> >> For comparable reasons in the past, I added the following >> setting to my kernel configuration: >> >> options SCSI_DELAY=3D100 >> >> The default value is 5000. It's the delay in milliseconds >> for the SCSI probe. >> > Hi, > > Sorry for my late response (sometimes real life comes first). > > SCSI_DELAY in the code didn't change between 9.1[1] and 9.0[2] neither > did it in the configuration for the GENERIC kernels[3][4]. On both > occasions (9.0 and 9.1) I used the GENERIC kernels and I didn't change > this setting. > > I will give it a try as soon as I can, but it still seems a little > strange to me that this process takes longer in 9.1 for no apparent > reason > > Thanks. > > [1] http://fxr.watson.org/fxr/source/cam/scsi/scsi_all.c?v=3DFREEBSD91#L7= 6 > [2] http://fxr.watson.org/fxr/source/cam/scsi/scsi_all.c?v=3DFREEBSD90#L7= 6 > [3] http://svn.freebsd.org/base/releng/9.1/sys/amd64/conf/GENERIC > [4] http://svn.freebsd.org/base/releng/9.0/sys/amd64/conf/GENERIC I recompiled the GENERIC kernel and changed SCSI_DELAY to 2000 instead the default 5000. Still no luck. It doesn't make any difference so I suppose something else changed. Any ideas? Thanks in advance. > >> >> >> -- >> Polytropon >> Magdeburg, Germany >> Happy FreeBSD user since 4.0 >> Andra moi ennepe, Mousa, ...