mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Randy Dunlap <randy.dunlap@oracle.com>
To: Seetharam Dharmosoth <seetharam_kernel@yahoo.co.in>
Cc: Erik Mouw <erik@harddisk-recovery.com>, linux-kernel@vger.kernel.org
Subject: Re: query related to serial console
Date: Wed, 17 Jan 2007 20:34:21 -0800	[thread overview]
Message-ID: <20070117203421.6d80be93.randy.dunlap@oracle.com> (raw)
In-Reply-To: <20070118041017.56140.qmail@web7714.mail.in.yahoo.com>

On Thu, 18 Jan 2007 04:10:17 +0000 (GMT) Seetharam Dharmosoth wrote:

(please don't top-post)


> Generally sysrq will work with serial console right?
> 
> suppose system is connected through serial port to the
> other system, (ie serial console), at this time we can
> fire some set of commands through the serial console.
> 
> the sequesnce is as follows  
> do ctrl+]
> send brk
> then some commands
> 
> What is my question is con't we pass commands directly
> 
> to the console (without send brk signal) ?
> 
> This is a feature in Solris..
> 
> I am looking in Linux but, uable to find it.
> 
> can you please help me
> 
> Thanks
> Seetharam

Hi,
It's quite possible that I misunderstand your question,
but anyway:

Alt-Sysrq-<key> is a route into the kernel sysrq handler instead
of a route into the shell that the serial console is connected to,
so something needs to signal that condition (like a BREAK).

Or a specialized (serial) console app could know other ways of
recognizing sysrq keys.  Or you could use /proc/sysrq-trigger:
	echo b > /proc/sysrq-trigger


> --- Erik Mouw <erik@harddisk-recovery.com> wrote:
> 
> > On Wed, Jan 17, 2007 at 11:26:54AM +0000, Seetharam
> > Dharmosoth wrote:
> > > Is Linux having 'non-break interface for serial
> > > console' ?
> > 
> > No idea. Could you explain what a 'non-break
> > interface for serial
> > console' is?


---
~Randy

  reply	other threads:[~2007-01-18  4:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-17 11:26 Seetharam Dharmosoth
2007-01-17 11:48 ` Erik Mouw
2007-01-18  4:10   ` Seetharam Dharmosoth
2007-01-18  4:34     ` Randy Dunlap [this message]
2007-01-18  5:39       ` Seetharam Dharmosoth
2007-01-18  9:09         ` Russell King
2007-01-18 10:10           ` Seetharam Dharmosoth

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=20070117203421.6d80be93.randy.dunlap@oracle.com \
    --to=randy.dunlap@oracle.com \
    --cc=erik@harddisk-recovery.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=seetharam_kernel@yahoo.co.in \
    /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

Powered by JetHome