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


Groups > linux.kernel > #1596220

Re: Kernel panic on Lenovo X60 with tracing enabled

From Steven Rostedt <rostedt@goodmis.org>
Newsgroups linux.kernel
Subject Re: Kernel panic on Lenovo X60 with tracing enabled
Date 2017-03-09 18:10 +0100
Message-ID <tj9JE-8bY-25@gated-at.bofh.it> (permalink)
References <tj5wm-5a0-33@gated-at.bofh.it> <tj7ya-6vj-19@gated-at.bofh.it> <tj8Xf-7Er-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 9 Mar 2017 10:16:02 -0600
Josh Poimboeuf <jpoimboe@redhat.com> wrote:

> On Thu, Mar 09, 2017 at 09:36:30AM -0500, Steven Rostedt wrote:
> > On Thu, 9 Mar 2017 13:12:28 +0100
> > Paul Menzel <pmenzel@molgen.mpg.de> wrote:
> > 
> > > Dear Steven, dear Ingo,
> > > 
> > > 
> > > Hopefully, I am contacting the right people for my issue.
> > > 
> > > Suspending a system with Linux 4.9.13 with tracing enabled, it fails 
> > > with the screen still enabled, and the LED blinking. Attaching a serial 
> > > console to the dock, shows the messages below.
> > 
> > I'm betting this is a compiler bug, as that bug that printed is the
> > internal ftrace check for it. (note the bug is only in x86-32 not
> > x86-64)
> > 
> > Funny, we are just talking about this bug in another thread, but with a
> > different symptom.
> > 
> > Josh, did you say this goes away if you disable optimize for size or
> > does it need to be enabled?
> 
> Yeah, assuming it's the same problem, then this is caused by
> CONFIG_CC_OPTIMIZE_FOR_SIZE.  It would be fixed by changing it to
> CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE.
> 

Paul, do you have CONFIG_CC_OPTIMIZE_FOR_SIZE enabled? Can you set it
to PERFORMANCE and see if the problem goes away?

-- Steve

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


Thread

Kernel panic on Lenovo X60 with tracing enabled Paul Menzel <pmenzel@molgen.mpg.de> - 2017-03-09 13:40 +0100
  Re: Kernel panic on Lenovo X60 with tracing enabled Steven Rostedt <rostedt@goodmis.org> - 2017-03-09 15:50 +0100
    Re: Kernel panic on Lenovo X60 with tracing enabled Josh Poimboeuf <jpoimboe@redhat.com> - 2017-03-09 17:20 +0100
      Re: Kernel panic on Lenovo X60 with tracing enabled Steven Rostedt <rostedt@goodmis.org> - 2017-03-09 18:10 +0100
        Re: Kernel panic on Lenovo X60 with tracing enabled Paul Menzel <pmenzel@molgen.mpg.de> - 2017-03-09 21:50 +0100
          Re: Kernel panic on Lenovo X60 with tracing enabled Josh Poimboeuf <jpoimboe@redhat.com> - 2017-03-10 00:10 +0100
            Re: Kernel panic on Lenovo X60 with tracing enabled Paul Menzel <pmenzel@molgen.mpg.de> - 2017-03-10 10:00 +0100
              Re: Kernel panic on Lenovo X60 with tracing enabled Josh Poimboeuf <jpoimboe@redhat.com> - 2017-03-10 19:20 +0100

csiph-web