All of lore.kernel.org
 help / color / mirror / Atom feed
From: Seetharam Dharmosoth <seetharam_kernel@yahoo.co.in>
To: Randy Dunlap <randy.dunlap@oracle.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: query related to serial console
Date: Thu, 18 Jan 2007 05:39:15 +0000 (GMT)	[thread overview]
Message-ID: <526190.52452.qm@web7704.mail.in.yahoo.com> (raw)
In-Reply-To: <20070117203421.6d80be93.randy.dunlap@oracle.com>


--- Randy Dunlap <randy.dunlap@oracle.com> wrote:

> 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
> 
Hi Randy,

It's ok.
Thanks for reply.

I have one doubt in this regard.
1) once we connected to the serial console we don't
   want to login into the shell.
   (without login into the shell we want to fire the
   sysrq command like b, r m, etc.)

 for this I am doing like 
  grabing the serial console then
  doing ctrl+]
  so that getting 
              telnet> 
now i want to give command like b, m ,r etc.

but it is not accepting my commands until I do 
telnet> send brk

can you please explain me why like this behavior ?

Thanks
Seetharam

  



> 
> > --- 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
> 



		
__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/

  reply	other threads:[~2007-01-18  5:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-17 11:26 query related to serial console Seetharam Dharmosoth
2007-01-17 11:48 ` Erik Mouw
2007-01-18  4:10   ` Seetharam Dharmosoth
2007-01-18  4:34     ` Randy Dunlap
2007-01-18  5:39       ` Seetharam Dharmosoth [this message]
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=526190.52452.qm@web7704.mail.in.yahoo.com \
    --to=seetharam_kernel@yahoo.co.in \
    --cc=linux-kernel@vger.kernel.org \
    --cc=randy.dunlap@oracle.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.