public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Break on serial port
@ 2002-06-11 15:41 cfowler
  2002-06-11 16:35 ` Russell King
  0 siblings, 1 reply; 4+ messages in thread
From: cfowler @ 2002-06-11 15:41 UTC (permalink / raw)
  To: linux-kernel

I remeber a while back being able to send a break on serial console. 
I've been unable to do this under 2.4.17.  Has this feature been turned
off?  Is there a way to turn it back on?

Thanks,
Chris




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Break on serial port
  2002-06-11 15:41 Break on serial port cfowler
@ 2002-06-11 16:35 ` Russell King
  2002-06-11 17:14   ` cfowler
  0 siblings, 1 reply; 4+ messages in thread
From: Russell King @ 2002-06-11 16:35 UTC (permalink / raw)
  To: cfowler; +Cc: linux-kernel

On Tue, Jun 11, 2002 at 11:41:26AM -0400, cfowler wrote:
> I remeber a while back being able to send a break on serial console. 
> I've been unable to do this under 2.4.17.  Has this feature been turned
> off?  Is there a way to turn it back on?

It works fine here.  Please confirm that:

1. your kernel is built with CONFIG_MAGIC_SYSRQ
2. cat /proc/sys/kernel/sysrq returns '1'
3. the serial console port is being held open by some user program (eg,
   getty or init)

If any of the three above are not true, then break<sysrq-key> doesn't work.

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Break on serial port
  2002-06-11 16:35 ` Russell King
@ 2002-06-11 17:14   ` cfowler
  2002-06-11 18:13     ` Russell King
  0 siblings, 1 reply; 4+ messages in thread
From: cfowler @ 2002-06-11 17:14 UTC (permalink / raw)
  To: Russell King; +Cc: linux-kernel

I can not find that ocnfig option anywher in my 2.4.17 tree.  I also
added CONFIG_MAGIC_SYSRQ=y to the top of .config and then did a  make
dep and make bzImage.  Upon boot I did not see a /proc/sys/kernel/sysrq

I did notice this feature in architectures other than i386.

Chris

On Tue, 2002-06-11 at 12:35, Russell King wrote:
> On Tue, Jun 11, 2002 at 11:41:26AM -0400, cfowler wrote:
> > I remeber a while back being able to send a break on serial console. 
> > I've been unable to do this under 2.4.17.  Has this feature been turned
> > off?  Is there a way to turn it back on?
> 
> It works fine here.  Please confirm that:
> 
> 1. your kernel is built with CONFIG_MAGIC_SYSRQ
> 2. cat /proc/sys/kernel/sysrq returns '1'
> 3. the serial console port is being held open by some user program (eg,
>    getty or init)
> 
> If any of the three above are not true, then break<sysrq-key> doesn't work.
> 
> -- 
> Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
>              http://www.arm.linux.org.uk/personal/aboutme.html
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/
> 
> 



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Break on serial port
  2002-06-11 17:14   ` cfowler
@ 2002-06-11 18:13     ` Russell King
  0 siblings, 0 replies; 4+ messages in thread
From: Russell King @ 2002-06-11 18:13 UTC (permalink / raw)
  To: cfowler; +Cc: linux-kernel

On Tue, Jun 11, 2002 at 01:14:36PM -0400, cfowler wrote:
> I can not find that ocnfig option anywher in my 2.4.17 tree.  I also
> added CONFIG_MAGIC_SYSRQ=y to the top of .config and then did a  make
> dep and make bzImage.  Upon boot I did not see a /proc/sys/kernel/sysrq

Oops, sorry, you need to enable CONFIG_DEBUG_KERNEL as well.

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-06-11 18:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-11 15:41 Break on serial port cfowler
2002-06-11 16:35 ` Russell King
2002-06-11 17:14   ` cfowler
2002-06-11 18:13     ` Russell King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox