From owner-freebsd-questions@FreeBSD.ORG Tue Jun 11 06:19:50 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1A9AAA6B for ; Tue, 11 Jun 2013 06:19:50 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) by mx1.freebsd.org (Postfix) with ESMTP id AA9CA1D80 for ; Tue, 11 Jun 2013 06:19:49 +0000 (UTC) Received: by mail-wi0-f174.google.com with SMTP id k10so3679700wiv.1 for ; Mon, 10 Jun 2013 23:19:47 -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=ZYvDK7fOiBtRW2cDoVFpOrw2pB75vpgwb3bmu46eom8=; b=dmVJt/nlU6b5/CSGl9P89AkfbNtTI6GBW+przxYYCjV32HdZ2nxQhZdsEgD8SBi2O+ HINVksSeDaNa0+J7uBOnjUXVPN6q3/nk0N+P4a9ofA/beXNvP2WzK0J+ZJ1nlkk6hCMC OI0ozZIOEcB56tZH7zQlZuR0N+fv3hBJ+RC5Jmg1kbwjSN1MjFeyR1XGt0KDw7PECxCz NgvwYRSHYeXMpQrz+QsJS7Ut2GQhEF2KTpiBePCJ9IytyMWjep4njDi4fHxbrXqdnARr wFmTM+JKwmDmCdK7COeOhYCK6096HERosJYoSmWvwv0qtYXvyEkcGUQW59KznC71vvP1 X2iQ== MIME-Version: 1.0 X-Received: by 10.194.84.205 with SMTP id b13mr7205171wjz.92.1370931587233; Mon, 10 Jun 2013 23:19:47 -0700 (PDT) Received: by 10.180.89.235 with HTTP; Mon, 10 Jun 2013 23:19:47 -0700 (PDT) In-Reply-To: <20130607230429.a090ca0c.freebsd@edvax.de> References: <20130607230429.a090ca0c.freebsd@edvax.de> Date: Tue, 11 Jun 2013 08:19:47 +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 06:19:50 -0000 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#L76 [2] http://fxr.watson.org/fxr/source/cam/scsi/scsi_all.c?v=3DFREEBSD90#L76 [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 > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ...