27 Oct, 2010

1 commit

  • Update Documentation/sysrq.txt magic sysrq keys:

    - 'g' is for kgdb (not arch-specific);
    - add 2 new uses for 'v', remove the Voyager info;
    - add 'y' info (SPARC-64 specific);

    Signed-off-by: Randy Dunlap
    Cc: Jason Wessel
    Cc: "David S. Miller"
    Cc: "James E.J. Bottomley"
    Cc: David Airlie
    Acked-by: Alexander Shishkin
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     

20 May, 2010

1 commit


30 Jul, 2009

1 commit

  • commit d6580a9f15238b87e618310c862231ae3f352d2d ("kexec: sysrq: simplify
    sysrq-c handler") changed the behavior of sysrq-c to unconditional
    dereference of NULL pointer. So in cases with CONFIG_KEXEC, where
    crash_kexec() was directly called from sysrq-c before, now it can be said
    that a step of "real oops" was inserted before starting kdump.

    However, in contrast to oops via SysRq-c from keyboard which results in
    panic due to in_interrupt(), oops via "echo c > /proc/sysrq-trigger" will
    not become panic unless panic_on_oops=1. It means that even if dump is
    properly configured to be taken on panic, the sysrq-c from proc interface
    might not start crashdump while the sysrq-c from keyboard can start
    crashdump. This confuses traditional users of kdump, i.e. people who
    expect sysrq-c to do common behavior in both of the keyboard and proc
    interface.

    This patch brings the keyboard and proc interface behavior of sysrq-c in
    line, by forcing panic_on_oops=1 before oops in sysrq-c handler.

    And some updates in documentation are included, to clarify that there is
    no longer dependency with CONFIG_KEXEC, and that now the system can just
    crash by sysrq-c if no dump mechanism is configured.

    Signed-off-by: Hidetoshi Seto
    Cc: Lai Jiangshan
    Cc: Ken'ichi Ohmichi
    Acked-by: Neil Horman
    Acked-by: Vivek Goyal
    Cc: Brayan Arraes
    Cc: Eric W. Biederman
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Hidetoshi Seto
     

02 Apr, 2009

1 commit


01 Apr, 2009

1 commit

  • Now that the filesystem freeze operation has been elevated to the VFS, and
    is just an ioctl away, some sort of safety net for unintentionally frozen
    root filesystems may be in order.

    The timeout thaw originally proposed did not get merged, but perhaps
    something like this would be useful in emergencies.

    For example, freeze /path/to/mountpoint may freeze your root filesystem if
    you forgot that you had that unmounted.

    I chose 'j' as the last remaining character other than 'h' which is sort
    of reserved for help (because help is generated on any unknown character).

    I've tested this on a non-root fs with multiple (nested) freezers, as well
    as on a system rendered unresponsive due to a frozen root fs.

    [randy.dunlap@oracle.com: emergency thaw only if CONFIG_BLOCK enabled]
    Signed-off-by: Eric Sandeen
    Cc: Takashi Sato
    Signed-off-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Eric Sandeen
     

19 Jan, 2009

1 commit


16 Jan, 2009

2 commits


26 Dec, 2008

1 commit

  • Impact: update documentation and help messages

    We have a conventional method of explicitly stating the
    sysrq action key in a sysrq help message, so change
    dump-ftrace-buffer to use that method and add it to
    Documentation/sysrq.txt.

    Signed-off-by: Randy Dunlap
    Signed-off-by: Ingo Molnar

    Randy Dunlap
     

21 Oct, 2008

1 commit

  • …/git/tip/linux-2.6-tip

    * 'v28-timers-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip: (36 commits)
    fix documentation of sysrq-q really
    Fix documentation of sysrq-q
    timer_list: add base address to clock base
    timer_list: print cpu number of clockevents device
    timer_list: print real timer address
    NOHZ: restart tick device from irq_enter()
    NOHZ: split tick_nohz_restart_sched_tick()
    NOHZ: unify the nohz function calls in irq_enter()
    timers: fix itimer/many thread hang, fix
    timers: fix itimer/many thread hang, v3
    ntp: improve adjtimex frequency rounding
    timekeeping: fix rounding problem during clock update
    ntp: let update_persistent_clock() sleep
    hrtimer: reorder struct hrtimer to save 8 bytes on 64bit builds
    posix-timers: lock_timer: make it readable
    posix-timers: lock_timer: kill the bogus ->it_id check
    posix-timers: kill ->it_sigev_signo and ->it_sigev_value
    posix-timers: sys_timer_create: cleanup the error handling
    posix-timers: move the initialization of timer->sigq from send to create path
    posix-timers: sys_timer_create: simplify and s/tasklist/rcu/
    ...

    Fix trivial conflicts due to sysrq-q description clahes in
    Documentation/sysrq.txt and drivers/char/sysrq.c

    Linus Torvalds
     

20 Oct, 2008

3 commits


29 Apr, 2008

1 commit

  • SysRQ-P is not always useful on SMP systems, since it usually ends up showing
    the backtrace of a CPU that is doing just fine, instead of the backtrace of
    the CPU that is having problems.

    This patch adds SysRQ show-all-cpus(L), which shows the backtrace of every
    active CPU in the system. It skips idle CPUs because some SMP systems are
    just too large and we already know what the backtrace of the idle task looks
    like.

    [akpm@linux-foundation.org: coding-style fixes]
    Signed-off-by: Rik van Riel
    Randy Dunlap
    Cc:
    Cc: Ingo Molnar
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rik van Riel
     

08 Oct, 2007

1 commit


12 Aug, 2007

1 commit

  • In Documentation/sysrq.txt, the description of 'h' says that any key not
    listed *above* will generate help. That's obviously not true since all the
    keys listed below 'h' will do what they are described to do, not display help.
    So change the text so that it says that any key not listed in the table will
    generate help, which is what really happens.

    Signed-off-by: Jesper Juhl
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jesper Juhl
     

07 May, 2007

1 commit


23 Mar, 2007

1 commit


12 Feb, 2007

1 commit


02 Feb, 2007

1 commit

  • Change SysRq showBlockedTasks from sysrq-X to sysrq-W and show that in the
    Help message.

    It was previously done via X, but X is already used for Xmon on ppc & powerpc
    platforms and this collision needs to be avoided.

    All callers of register_sysrq_key() are now marked in the sysrq op/key table.
    I didn't mark 'h' as Help because Help is just printed for any unknown key,
    such as '?'.

    Added some omitted sysrq key entries in the sysrq.txt file.

    Signed-off-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     

26 Jun, 2006

1 commit


03 Jan, 2006

1 commit


11 Sep, 2005

1 commit


26 Jun, 2005

1 commit


17 Apr, 2005

1 commit

  • Initial git repository build. I'm not bothering with the full history,
    even though we have it. We can create a separate "historical" git
    archive of that later if we want to, and in the meantime it's about
    3.2GB when imported into git - space that would just make the early
    git days unnecessarily complicated, when we don't have a lot of good
    infrastructure for it.

    Let it rip!

    Linus Torvalds