Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1579586

Re: Linux 4.9.6 ( Restore IO-APIC irq_chip retrigger callback , breaks my box )

From Borislav Petkov <bp@alien8.de>
Newsgroups linux.kernel
Subject Re: Linux 4.9.6 ( Restore IO-APIC irq_chip retrigger callback , breaks my box )
Date 2017-02-13 11:30 +0100
Message-ID <tam3o-2qv-29@gated-at.bofh.it> (permalink)
References (5 earlier) <ta8Wt-2nt-5@gated-at.bofh.it> <ta9IS-2Tv-27@gated-at.bofh.it> <taaOB-3wx-7@gated-at.bofh.it> <tacQp-4I2-1@gated-at.bofh.it> <tadCN-5dN-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Feb 13, 2017 at 02:26:20AM +0100, Gabriel C wrote:
> I didn't tested your patch yet but did a boot with mce=off and nomce
> which seems to not really works since is still want to mc_device_add()
> even when off.

mc_device_add() is microcode loader's ->add_dev() subsys pointer and
that's not from mce. From mce you should be seeing only (with the debug
patch applied):

[    1.717508] mce: mcheck_init_device: entry
[    1.718769] mce: Unable to init device /dev/mcelog (rc: -5)

> See :
> 
> http://ftp.frugalware.org/pub/other/people/crazy/kernel/t/crash_mce_off.jpg

That looks like core 13 got the NMI from the watchdog at

        if (wait)
                csd_lock_wait(csd);

IINM and from what I could correlate to the asm it generates here,
RIP points to that READ_ONCE there in smp_cond_load_acquire() in
smp_call_function_single() which is called by collect_cpu_info() of the
microcode loader to get the microcode-relevant info from the CPU.

So this is simply a bystander CPU which got interrupted.

> I'll build an .10-rc8 with your patch tomorrow .. is somewhat late now here :)

Ok.

> Another thing is .. there seems to be a real bug in tsc code .
> 
> I've build an -rc8 with a lot more debug options on an now I see the following :

Right before I went to bed I thought of telling you to enable lockdep :-)

Good. :-)

-- 
Regards/Gruss,
    Boris.

Good mailing practices for 400: avoid top-posting and trim the reply.

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Linux 4.9.6 ( Restore IO-APIC irq_chip retrigger callback ,  breaks my box ) Gabriel C <nix.or.die@gmail.com> - 2017-02-06 18:40 +0100
  Re: Linux 4.9.6 ( Restore IO-APIC irq_chip retrigger callback ,  breaks my box ) Greg KH <gregkh@linuxfoundation.org> - 2017-02-06 18:50 +0100
    Re: Linux 4.9.6 ( Restore IO-APIC irq_chip retrigger callback ,  breaks my box ) "Ruslan Ruslichenko -X (rruslich - GLOBALLOGIC INC at Cisco)"          <rruslich@cisco.com> - 2017-02-06 20:10 +0100
      Re: Linux 4.9.6 ( Restore IO-APIC irq_chip retrigger callback ,  breaks my box ) Gabriel C <nix.or.die@gmail.com> - 2017-02-06 21:40 +0100
  Re: Linux 4.9.6 ( Restore IO-APIC irq_chip retrigger callback ,  breaks my box ) Linus Torvalds <torvalds@linux-foundation.org> - 2017-02-07 00:10 +0100
    Re: Linux 4.9.6 ( Restore IO-APIC irq_chip retrigger callback ,  breaks my box ) Thomas Gleixner <tglx@linutronix.de> - 2017-02-07 22:10 +0100
      Re: Linux 4.9.6 ( Restore IO-APIC irq_chip retrigger callback ,  breaks my box ) Thomas Gleixner <tglx@linutronix.de> - 2017-02-07 22:30 +0100
        Re: Linux 4.9.6 ( Restore IO-APIC irq_chip retrigger callback ,  breaks my box ) Gabriel C <nix.or.die@gmail.com> - 2017-02-11 00:20 +0100
          Re: Linux 4.9.6 ( Restore IO-APIC irq_chip retrigger callback ,  breaks my box ) Gabriel C <nix.or.die@gmail.com> - 2017-02-11 02:50 +0100
          Re: Linux 4.9.6 ( Restore IO-APIC irq_chip retrigger callback ,  breaks my box ) Thomas Gleixner <tglx@linutronix.de> - 2017-02-11 10:10 +0100
            Re: Linux 4.9.6 ( Restore IO-APIC irq_chip retrigger callback ,  breaks my box ) Gabriel C <nix.or.die@gmail.com> - 2017-02-11 14:10 +0100
              Re: Linux 4.9.6 ( Restore IO-APIC irq_chip retrigger callback ,  breaks my box ) Borislav Petkov <bp@alien8.de> - 2017-02-11 15:30 +0100
                Re: Linux 4.9.6 ( Restore IO-APIC irq_chip retrigger callback ,  breaks my box ) Gabriel C <nix.or.die@gmail.com> - 2017-02-11 22:00 +0100
                Re: Linux 4.9.6 ( Restore IO-APIC irq_chip retrigger callback ,  breaks my box ) Borislav Petkov <bp@alien8.de> - 2017-02-11 22:40 +0100
                Re: Linux 4.9.6 ( Restore IO-APIC irq_chip retrigger callback ,  breaks my box ) Gabriel C <nix.or.die@gmail.com> - 2017-02-12 21:30 +0100
                Re: Linux 4.9.6 ( Restore IO-APIC irq_chip retrigger callback ,  breaks my box ) Borislav Petkov <bp@alien8.de> - 2017-02-12 22:20 +0100
                Re: Linux 4.9.6 ( Restore IO-APIC irq_chip retrigger callback ,  breaks my box ) Gabriel C <nix.or.die@gmail.com> - 2017-02-12 23:30 +0100
                Re: Linux 4.9.6 ( Restore IO-APIC irq_chip retrigger callback ,  breaks my box ) Borislav Petkov <bp@alien8.de> - 2017-02-13 01:40 +0100
                Re: Linux 4.9.6 ( Restore IO-APIC irq_chip retrigger callback ,  breaks my box ) Gabriel C <nix.or.die@gmail.com> - 2017-02-13 02:30 +0100
                Re: Linux 4.9.6 ( Restore IO-APIC irq_chip retrigger callback ,  breaks my box ) Mike Galbraith <efault@gmx.de> - 2017-02-13 03:40 +0100
                Re: Linux 4.9.6 ( Restore IO-APIC irq_chip retrigger callback ,  breaks my box ) Thomas Gleixner <tglx@linutronix.de> - 2017-02-13 09:50 +0100
                [tip:timers/urgent] tick/broadcast: Prevent deadlock on  tick_broadcast_lock tip-bot for Mike Galbraith <tipbot@zytor.com> - 2017-02-13 10:00 +0100
                Re: Linux 4.9.6 ( Restore IO-APIC irq_chip retrigger callback ,  breaks my box ) Borislav Petkov <bp@alien8.de> - 2017-02-13 11:30 +0100
    Re: Linux 4.9.6 ( Restore IO-APIC irq_chip retrigger callback ,  breaks my box ) Thomas Gleixner <tglx@linutronix.de> - 2017-02-07 23:10 +0100

csiph-web