Re: Current mainline git (24e700e291d52bd2) hangs when building e.g. perf
From: Markus Trippelsdorf
Date: Sat Sep 09 2017 - 09:40:02 EST
On 2017.09.09 at 15:37 +0200, Markus Trippelsdorf wrote:
> 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
Decoded:
CPU: 0 Machine Check Exception: 4 Bank 4: fa000010000b0c0f
Hardware event. This is not a software error.
CPU 0 0 data cache TSC b75d6ef4ad
TIME 1504963036 Sat Sep 9 15:17:16 2017
STATUS 0 MCGSTATUS 0
CPUID Vendor AMD Family 16 Model 4
SOCKET 0 APIC 0 microcode 1000db
--
Markus