Re: 4.14.9 with CONFIG_MCORE2 fails to boot

From: Linus Torvalds
Date: Fri Dec 29 2017 - 18:56:40 EST


On Fri, Dec 29, 2017 at 3:15 PM, Alexander Tsoy <alexander@xxxxxxx> wrote:
> Ð ÐÑ, 29/12/2017 Ð 14:09 -0800, Linus Torvalds ÐÐÑÐÑ:
>>
>> What happens if you take a failing kernel, and then in
>> arch/x86/kernel/traps.c do_double_fault(), you change the
>>
>> #ifdef CONFIG_X86_ESPFIX64
>>
>> to just a
>>
>> #if 0
>>
>> do you then get an actual double-fault oops report instead of the
>> stall (and NMI oops)?
>
> This is what I get after disabling ESPFIX64 (see attachment).

Ok, looks like it made no difference for you or for Toralf.

So that was a waste of time. Damn. Also very strange how there's that
double fault in the call trace, but no actual output from any double
fault. Without the ESPFIX64 code, I don't see how that happens, but
since I have no idea what is going on here, I'm obviously missing a
lot.

Hopefully somebody else has a clue or sees something I'm missing.

Linus