Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jun 2013 23:43:56 +0200
From:      =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= <fernando.apesteguia@gmail.com>
To:        Polytropon <freebsd@edvax.de>
Cc:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: 9.1-RELEASE slow boot
Message-ID:  <CAGwOe2bKJ0rjTnUyH8x9WP8c%2B2jSg8uq-B1%2BEM_r9uDEkLjRrA@mail.gmail.com>
In-Reply-To: <CAGwOe2bG__Xfi3iK0Bv16pTcfYS6hfVdpOLUGt_4xCW0TG0jhQ@mail.gmail.com>
References:  <CAGwOe2abbHsm6d-16GsohxrCW1fX42UVxUpDpx_cskETPdRCKA@mail.gmail.com> <20130607230429.a090ca0c.freebsd@edvax.de> <CAGwOe2bG__Xfi3iK0Bv16pTcfYS6hfVdpOLUGt_4xCW0TG0jhQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 11, 2013 at 8:19 AM, Fernando Apestegu=EDa
<fernando.apesteguia@gmail.com> wrote:
> On Fri, Jun 7, 2013 at 11:04 PM, Polytropon <freebsd@edvax.de> 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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGwOe2bKJ0rjTnUyH8x9WP8c%2B2jSg8uq-B1%2BEM_r9uDEkLjRrA>