linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Haar János" <djani22@netcenter.hu>
To: <Valdis.Kletnieks@vt.edu>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: How to send a break?
Date: Mon, 29 May 2006 19:32:04 +0200	[thread overview]
Message-ID: <031301c68345$db9dece0$1800a8c0@dcccs> (raw)
In-Reply-To: 200605291535.k4TFZ0VP003544@turing-police.cc.vt.edu


----- Original Message ----- 
From: <Valdis.Kletnieks@vt.edu>
To: "linux-os (Dick Johnson)" <linux-os@analogic.com>
Cc: "Haar János" <djani22@netcenter.hu>; <linux-kernel@vger.kernel.org>
Sent: Monday, May 29, 2006 5:35 PM
Subject: Re: How to send a break?

On Mon, 29 May 2006 11:08:15 EDT, "linux-os (Dick Johnson)" said:
>
> On Sat, 27 May 2006, [iso-8859-2] Haar János wrote:
>
> > Hello, list,
> >
> > I wish to know, how to send a "BREAK" to trigger the sysreq functions on
the
> > serial line, using echo.
> >
> > I mean like this:
> >
> > #!/bin/bash
> > echo "?BREAK?" >/dev/ttyS0
> > sleep 2
> > echo "m" >/dev/ttyS0
> >
> > Thanks,
> > Janos
> >
>
> Can't you use /proc/sysrq-trigger?

> That can be tricky if the other end of /dev/ttyS0 is plugged into a
debugging
> serial port on an embedded system where you don't have easy access to a
shell.

> Or for that matter, if you're trying to talk to the serial port on a
non-embedded
> system, which is too far into OOM thrashing for you to be able to get a
> usable shell prompt.....

This is for debugging an frozen X86_64 system! :-)

Thanks,
Janos


  reply	other threads:[~2006-05-29 17:32 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-27 12:58 How to send a break? Haar János
2006-05-27 23:43 ` Jim Crilly
2006-05-28  7:04   ` How to send a break? - dump from frozen 64bit linux Haar János
2006-05-28 16:17     ` Jesper Juhl
2006-05-28 17:34       ` Haar János
2006-05-29  4:37         ` Jesper Juhl
2007-08-20  7:44           ` Andev Debi
2006-05-30 10:22         ` Janos Haar
2006-05-30 19:03           ` Valdis.Kletnieks
2006-05-30 21:44             ` Janos Haar
2006-05-31  1:20             ` Steven Rostedt
2006-05-31  4:38               ` XFS related hang (was Re: How to send a break? - dump from frozen 64bit linux) Nathan Scott
2006-05-31  8:00                 ` Janos Haar
2006-05-31 21:54                   ` Jan Engelhardt
2006-06-01  7:29                     ` Janos Haar
2006-06-01  9:44                       ` Jan Engelhardt
2006-06-01 22:04                         ` Nathan Scott
2006-06-02  5:11                           ` Jan Engelhardt
2006-06-01 21:58                   ` Nathan Scott
2006-06-01 22:14                     ` Janos Haar
2006-06-01 23:43                       ` Nathan Scott
2006-06-02  8:01                         ` Janos Haar
2006-05-28 23:06 ` How to send a break? H. Peter Anvin
2006-05-29 15:08 ` linux-os (Dick Johnson)
2006-05-29 15:35   ` Valdis.Kletnieks
2006-05-29 17:32     ` Haar János [this message]
2006-05-29  7:51 Haar János

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='031301c68345$db9dece0$1800a8c0@dcccs' \
    --to=djani22@netcenter.hu \
    --cc=Valdis.Kletnieks@vt.edu \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).