The 11.1-RC3 can only boot and attach disks in "Safe mode", otherwise gets stuck attaching

Peter Blok pblok at bsd4all.org
Fri May 25 11:51:26 UTC 2018


Same here. EARLY_AP_STARTUP no longer needs to be disabled on my boxes too.


> On 24 May 2018, at 19:12, Mark Martinec <Mark.Martinec+freebsd at ijs.si> wrote:
> 
> Just a short report to a thread I started when 11.1 came out.
> 
> This machine would stall in a busy loop while attaching disks
> during boot. Rebuilding a kernel with EARLY_AP_STARTUP disabled
> avoided the problem. This was a situation through the whole
> 11.1 life cycle (i.e. patch releases did not help).
> 
> Today I have upgraded this host to 11.2-BETA2, and it is
> no longer necessary to disable EARLY_AP_STARTUP. Good, thanks!
> 
>  Mark
> 
> 
>> 2017-07-20 02:03, Mark Johnston wrote:
>>> One thing to try at this point would be to disable EARLY_AP_STARTUP in
>>> the kernel config. That is, take a configuration with which you're able
>>> to reproduce the hang during boot, and remove "options
>>> EARLY_AP_STARTUP".
>> 2017-07-20 15:45, Mark Martinec wrote:
>> Done. And it avoids the problem altogether! Thanks.
>> Tried a reboot several times and it succeeds every time.
>> Here is all that I had in a config file for building a kernel,
>> i.e. I took away the 'options DDB' which also seemingly avoided
>> the problem:
>>  include GENERIC
>>  ident NELI
>>  nooptions EARLY_AP_STARTUP
>>> This feature has a fairly large impact on the bootup process and has
>>> had a few problems that manifested as hangs during boot. There was at
>>> least one other case where an innocuous change to the kernel
>>> configuration "fixed" the problem by introducing some second-order
>>> effect (causing kernel threads to be scheduled in a different
>>> order, for instance).
> [...]
> _______________________________________________
> freebsd-stable at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2328 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20180525/52d87f67/attachment.bin>


More information about the freebsd-stable mailing list