Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf
From: Markus Trippelsdorf
Date: Sat Sep 09 2017 - 09:38:32 EST
On 2017.09.09 at 15:07 +0200, Borislav Petkov wrote:
> On Sat, Sep 09, 2017 at 01:07:49PM +0200, Markus Trippelsdorf wrote:
> > It doesn't work. Compiling in a text console just freezes the machine
> > before any MCE gets printed.
>
> Ok, let's turn off all syncflood bits. Hunk below. Do a
>
> $ dmesg | grep syncflood
>
> to check it worked. It says
>
> [ 1.557017] quirk_syncflood: 0x44: 0xa900044
> [ 1.561431] quirk_syncflood: 0x44: wrote 0xa800040
> [ 1.566361] quirk_syncflood: 0x180: 0x700022
> [ 1.570775] quirk_syncflood: 0x180: wrote 0x20
>
> here.
>
> Also, make sure you boot with "pci=check_enable_amd_mmconf" on the
> kernel cmdline because someone broke extended PCI cfg space again on
> those machines. At least on my test box here... But that's something
> I'll deal with later. :-\
Thanks. This one worked:
mce: [Hardware Error]: CPU: 0 Machine Check Exception: 4 Bank 4: fa000010000b0c0f
mce: [Hardware Error]: TSC b75d6ef4ad MISC c00a00001000000
mce: [Hardware Error]: PROCESSOR 2:100f42 TIME 1504963036 SOCKET 0 APIC 0 microcode 1000db
(I had to copy the above by hand, so it may not be 100% accurate).
--
Markus