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


Groups > linux.kernel > #1321795

Re: WARNING in set_restore_sigmask

From Steven Rostedt <rostedt@goodmis.org>
Newsgroups linux.kernel
Subject Re: WARNING in set_restore_sigmask
Date 2016-01-29 15:40 +0100
Message-ID <qWinp-4u4-31@gated-at.bofh.it> (permalink)
References (1 earlier) <qWfSy-2qQ-5@gated-at.bofh.it> <qWh7Y-3Bi-1@gated-at.bofh.it> <qWhKF-3Ue-1@gated-at.bofh.it> <qWhUp-4fz-61@gated-at.bofh.it> <qWi41-4jW-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, 29 Jan 2016 15:10:18 +0100 (CET)
Thomas Gleixner <tglx@linutronix.de> wrote:


> The time depends on the serial speed and the trace buffer size and the number
> of cpus. Don't worry about the uptime. The buffer is a ringbuffer with limited
> capacity, so the dump time is constant.
> 
> If you want that /proc/sys/kernel/ftrace_dump_on_oops spills out on warnings
> as well, you need to enable
> 
> /proc/sys/kernel/traceoff_on_warning
> /proc/sys/kernel/ftrace_dump_on_oops
> 
> and 
> 
> /proc/sys/kernel/panic_on_warn
> 
> because we do not dump on warnings.

To save time in the wait, you may also want to do:

# echo 50 > /sys/kernel/debug/tracing/buffer_size_kb

which will make each per cpu buffer 50 kb, instead of the default of a
meg each. That will cut down the time to spit out the ftrace buffer to
serial console, but it wont have as much data. 50 kb should be enough
to trace back to the problem point though.

-- Steve

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


Thread

WARNING in set_restore_sigmask Dmitry Vyukov <dvyukov@google.com> - 2016-01-29 10:20 +0100
  Re: WARNING in set_restore_sigmask Dmitry Vyukov <dvyukov@google.com> - 2016-01-29 10:30 +0100
  Re: WARNING in set_restore_sigmask Thomas Gleixner <tglx@linutronix.de> - 2016-01-29 13:00 +0100
    Re: WARNING in set_restore_sigmask Dmitry Vyukov <dvyukov@google.com> - 2016-01-29 14:20 +0100
      Re: WARNING in set_restore_sigmask Thomas Gleixner <tglx@linutronix.de> - 2016-01-29 15:00 +0100
        Re: WARNING in set_restore_sigmask Dmitry Vyukov <dvyukov@google.com> - 2016-01-29 15:10 +0100
          Re: WARNING in set_restore_sigmask Thomas Gleixner <tglx@linutronix.de> - 2016-01-29 15:20 +0100
            Re: WARNING in set_restore_sigmask Steven Rostedt <rostedt@goodmis.org> - 2016-01-29 15:40 +0100
  Re: WARNING in set_restore_sigmask Oleg Nesterov <oleg@redhat.com> - 2016-01-29 15:20 +0100
    Re: WARNING in set_restore_sigmask Thomas Gleixner <tglx@linutronix.de> - 2016-01-29 15:20 +0100
    Re: WARNING in set_restore_sigmask Andrew Morton <akpm@linux-foundation.org> - 2016-02-01 23:50 +0100

csiph-web