Bug 145339 - agetty locks serial console access
Summary: agetty locks serial console access
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: util-linux   
(Show other bugs)
Version: 3.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Elliot Lee
QA Contact: Ben Levenson
Depends On:
TreeView+ depends on / blocked
Reported: 2005-01-17 16:46 UTC by Francisco Jorge
Modified: 2007-11-30 22:07 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-01-17 21:35:52 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Francisco Jorge 2005-01-17 16:46:32 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET 
CLR 1.1.4322)

Description of problem:
I connect to the serial port of my Linux machine via a cisco 2500 

When I login and I press Ctrl+A and then Ctrl+S, the serial console 
gets locked and there is no way to recover it.

With mgetty this does not happen.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1.Login to machine through serial console
2.Press Ctrl+A and then Ctrl+S

Actual Results:  Console no longer responds

Expected Results:  Nothing should happen

Additional info:

This is the configuration line for the serial console:

co:2345:respawn:/sbin/agetty -L ttyS0 115200 vt100

I have also tried without the -L option.

With this configuration on mgetty, the problem does not appear-:

co:2345:respawn:/sbin/mgetty -r -s 115200 -p "Login: " ttyS0

Comment 1 Elliot Lee 2005-01-17 21:35:52 UTC
'Ctrl-S' is the signal to the system to stop sending new data to the

Pressing 'Ctrl-Q' should "unfreeze" things.

This is normal and expected behaviour. I don't know why it doesn't
work with mgetty - that sounds like the real bug.

Comment 2 Francisco Jorge 2005-01-18 09:01:57 UTC
You are right. Ctrl-Q unfreezes the console. This was probably the 
only combination of keys I did not try.

Are these control codes documented anywhere?ç


Note You need to log in before you can comment on or make changes to this bug.