Re: query related to serial console

From: Seetharam Dharmosoth
Date: Thu Jan 18 2007 - 05:11:25 EST




--- Russell King <rmk+lkml@xxxxxxxxxxxxxxxx> wrote:

> On Thu, Jan 18, 2007 at 05:39:15AM +0000, Seetharam
> Dharmosoth wrote:
> > 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 ?
>
> If it didn't require a break before hand, merely
> pressing 'b', 'm' or 'r'
> would trigger the sysrq command, which would make it
> absolutely impossible
> to login or type any normal command containing those
> characters.
>
> --
> Russell King
> Linux kernel 2.6 ARM Linux -
> http://www.arm.linux.org.uk/
> maintainer of:
>
Thanks.

I am not able to find the code path for
'send brk'

can you please let me know what would be the code path
when we do 'send brk' in linux.

I am interested about 8250 and uart serial driver.

currently using kernel 2.6.7.

Thanks
Seetharam



__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/