Re: Serial Console problems

Keith Owens (kaos@ocs.com.au)
Wed, 30 Sep 1998 18:36:20 +1000


On Wed, 30 Sep 1998 08:01:03 +0200,
"Andreas G. Schindler" <schindler@az1.de> wrote:
>I managed to switch LILO and the kernel image to /dev/ttyS0.
>The machine boots up fine and i can see all messages on my
>9600 baud VT-220 terminal.
>
>The probelms come up when 'init' takes over the boot process
>The terminal spits a lot of junk, nothing more readable, i
>suppose the baud rate is switched. Even worse, the machine
>seems to hang after a while during execution of the various
>rc3.d statutup files.

/etc/lilo.conf

image=/test_kernel/2.1.123
label=2.1.123-serial
optional
append="console=ttyS1,115200 mem=64M"

Check /dev/console

crw-r--r-- 1 root root 5, 1 Sep 30 18:27 /dev/console

I never had much luck with /etc/ioctl.save so I fudged it by adding to
the start of /etc/rc.d/rc.sysinit.

# Set up console, VT or serial console
stty 0:5:80001cb2:8:3:1c:7f:15:4:0:1:0:11:13:0:0:0:0:0:0:0:0:73:0:0:0:0:0:0:0:0:0:0:0:0:0 < /dev/console # 115200, opost, onlcr

80001cb2 is 115200, 80000cbd is 9600. Enjoy.

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.rutgers.edu