2002-08-19 09:08:51

by Carlos Velasco

[permalink] [raw]
Subject: Serial Console

Hi,

I have configured kernel to do output to tty0 and ttyS0 (serial console).

LILO:
image = /boot/vmlinuz_2419
root = /dev/hda3
label = linux_2419
append="console=ttyS0,115200n8r console=tty0 vga=0x0301"


However I have seen that if I don't open the serial port from another machine, I can't reboot or boot kernel, as the output seems to freeze until port is open. When I open the serial port, normal operation is resumed.
Is there something to solve this issue?
I would like to use the serial console only when needed not always that I want boot or reboot machine.

Regards,
Carlos Velasco



2002-08-19 09:14:17

by Russell King

[permalink] [raw]
Subject: Re: Serial Console

On Mon, Aug 19, 2002 at 11:10:45AM +0200, Carlos Velasco wrote:
> append="console=ttyS0,115200n8r console=tty0 vga=0x0301"
^
The 'r' means "use rts/cts flow control". If CTS is not active, the
kernel will spin waiting to write the next characters to the serial
console.

> Is there something to solve this issue?

Don't specify 'r' in the append line.

--
Russell King ([email protected]) The developer of ARM Linux
http://www.arm.linux.org.uk/personal/aboutme.html