public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Serial Console
@ 2000-12-05 12:04 Steve Hill
  2000-12-05 12:11 ` Miquel van Smoorenburg
                   ` (2 more replies)
  0 siblings, 3 replies; 23+ messages in thread
From: Steve Hill @ 2000-12-05 12:04 UTC (permalink / raw)
  To: linux-kernel


I'm building boxes with the console set to /dev/ttyS0.  However, I can't
guarantee that there will always be a term plugged into the serial
port.  If there is no term on the port, eventually the buffer fills and
any processes that write to the console (i.e. init) block.  Is there some
option somewhere to stop this happening (i.e. either ignoring the
flow-control or just allowing the buffer to overflow)?

-- 

- Steve Hill
System Administrator         Email: steve@navaho.co.uk
Navaho Technologies Ltd.       Tel: +44-870-7034015


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 23+ messages in thread
* Re: Serial Console
@ 2000-12-05 15:20 Jon Burgess
  2000-12-05 16:03 ` Chad Schwartz
  0 siblings, 1 reply; 23+ messages in thread
From: Jon Burgess @ 2000-12-05 15:20 UTC (permalink / raw)
  To: Steve Hill; +Cc: PaulJakma, linux-kernel



>>
>> /dev/console will go to serial, but afaik it doesn't block for lack of
>> a terminal. (has something to do with /dev/console being semantically
>> different to /dev/tty..., eg it doesn't block, not sure of the exact
>> details).

>Nope, /dev/console *does* block.  ATM I've found a quick workaround - I
>use "stty -F /dev/console clocal -crtscts" to turn off the serial flow
>control at the stawrt of /etc/rc.d/rc.sysinit - this seems to work quite
>well... of course it doesn't stop some program turning flow control back
>on and ballsing it all up again :)

I've got a machine here which redirects the console to the serial port using
Lilo 'append="console=ttyS0"' and it boots fine without a connection to the
serial port without having to do any specific manipulation of the flow control.
I think that all serial output is dumped to /dev/null if DCD is not asserted no
matter what the flow control says. Perhaps there are some hardware differences
in the configuration of the control signal pull-up/downs.

     Jon Burgess




PLANET PROJECT will connect millions of people worldwide through the combined
technology of 3Com and the Internet. Find out more and register now at
http://www.planetproject.com


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 23+ messages in thread
* Re: Serial Console
@ 2000-12-05 18:09 Jon Burgess
  0 siblings, 0 replies; 23+ messages in thread
From: Jon Burgess @ 2000-12-05 18:09 UTC (permalink / raw)
  To: Chad Schwartz; +Cc: Steve Hill, PaulJakma, linux-kernel



Yes it could be a modem on the line, so my comment about DCD is wrong, a comms
program must be able to send AT commands to the modem when DCD is not asserted
before the call is setup. I was being confused by the login getty which we run
on the same serial port. This drops back to the login prompt if it sees DCD
being dropped.

     Jon




PLANET PROJECT will connect millions of people worldwide through the combined
technology of 3Com and the Internet. Find out more and register now at
http://www.planetproject.com


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 23+ messages in thread
[parent not found: <200208191108120240.0D409F0A@192.168.128.16>]
[parent not found: <3174569B9743D511922F00A0C943142309F80D9F@TYANWEB>]

end of thread, other threads:[~2005-05-17  3:23 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-12-05 12:04 Serial Console Steve Hill
2000-12-05 12:11 ` Miquel van Smoorenburg
2000-12-05 14:44 ` Paul Jakma
2000-12-05 14:58   ` Steve Hill
2000-12-05 15:07     ` Chad Schwartz
2000-12-05 15:14     ` Paul Jakma
2000-12-05 15:28       ` Steve Hill
2000-12-05 15:38         ` Chad Schwartz
2000-12-05 16:25       ` Rogier Wolff
2000-12-05 17:00         ` Miquel van Smoorenburg
2000-12-06 13:09 ` Vitaly Luban
  -- strict thread matches above, loose matches on Subject: below --
2000-12-05 15:20 Jon Burgess
2000-12-05 16:03 ` Chad Schwartz
2000-12-05 18:09 Jon Burgess
     [not found] <200208191108120240.0D409F0A@192.168.128.16>
2002-08-19  9:10 ` Carlos Velasco
2002-08-19  9:18   ` Russell King
     [not found] <3174569B9743D511922F00A0C943142309F80D9F@TYANWEB>
     [not found] ` <20050516205731.GA5914@waste.org>
2005-05-16 23:15   ` serial console Matt Mackall
2005-05-16 23:37     ` Andrew Morton
2005-05-16 23:47       ` Matt Mackall
2005-05-17  1:24         ` Coywolf Qi Hunt
2005-05-17  2:26           ` Matt Mackall
2005-05-17  2:40             ` Coywolf Qi Hunt
2005-05-17  2:19     ` Rob Landley

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