9.1-RELEASE slow boot

Fernando Apesteguía fernando.apesteguia at gmail.com
Tue Jun 11 21:43:58 UTC 2013


On Tue, Jun 11, 2013 at 8:19 AM, Fernando Apesteguía
<fernando.apesteguia at gmail.com> wrote:
> On Fri, Jun 7, 2013 at 11:04 PM, Polytropon <freebsd at edvax.de> wrote:
>> On Fri, 7 Jun 2013 19:38:34 +0200, Fernando Apesteguía 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=100
>>
>> 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=FREEBSD91#L76
> [2] http://fxr.watson.org/fxr/source/cam/scsi/scsi_all.c?v=FREEBSD90#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

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, ...


More information about the freebsd-questions mailing list