Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jun 2013 23:32:48 +0200
From:      Alban Hertroys <haramrae@gmail.com>
To:        "freebsd-stable@freebsd.org" <freebsd-stable@freebsd.org>
Subject:   Serial terminal issues
Message-ID:  <383C78B1-4F16-408F-8144-63B470D0C129@gmail.com>

next in thread | raw e-mail | index | archive | help
I can't seem to get my serial terminal to work with my new system.

I had a serial terminal connected to my old system that worked great and =
copied /boot.config, /boot/loader.conf and /etc/ttys settings over from =
it.

The new system has a Gigabyte GA970A-UD3 board with just a serial header =
on the board. I bought a serial connector backplate in an electronics =
store and connected it to the board. Could the pinout be different or =
something?

> cat /boot.config=20
-D -S19200

> cat /boot/loader.conf=20
boot_multicons=3D"YES"
boot_serial=3D"YES"
comconsole_speed=3D"19200"
console=3D"comconsole,vidconsole"

> cat /etc/ttys
ttyv0   "/usr/libexec/getty Pc"         xterm   on  secure
# Virtual terminals
ttyv1   "/usr/libexec/getty Pc"         xterm   on  secure
ttyv2   "/usr/libexec/getty Pc"         xterm   on  secure
ttyv3   "/usr/libexec/getty Pc"         xterm   on  secure
ttyv4   "/usr/libexec/getty Pc"         xterm   on  secure
ttyv5   "/usr/libexec/getty Pc"         xterm   on  secure
ttyv6   "/usr/libexec/getty Pc"         xterm   on  secure
ttyv7   "/usr/libexec/getty Pc"         xterm   on  secure
ttyv8   "/usr/local/bin/xdm -nodaemon"  xterm   off secure
# Serial terminals
# The 'dialup' keyword identifies dialin lines to login, fingerd etc.
ttyu0   "/usr/libexec/getty std.19200"  vt320   on  secure
ttyu1   "/usr/libexec/getty std.9600"   dialup  off secure
ttyu2   "/usr/libexec/getty std.9600"   dialup  off secure
ttyu3   "/usr/libexec/getty std.9600"   dialup  off secure
# Dumb console
dcons   "/usr/libexec/getty std.9600"   vt100   off secure


=46rom /var/log/messages:
Jun  4 21:28:50 solfertje kernel: uart0: <16550 or compatible> port =
0x3f8-0x3ff irq=20
4 flags 0x10 on acpi0
Jun  4 21:28:50 solfertje kernel: uart0: console (19200,n,8,1)
Jun  4 21:28:50 solfertje kernel: orm0: <ISA Option ROMs> at iomem =
0xd5000-0xd67ff,0xd7000-0xd7fff on isa0
Jun  4 21:28:50 solfertje kernel: sc0: <System console> at flags 0x100 =
on isa0
Jun  4 21:28:50 solfertje kernel: sc0: VGA <16 virtual consoles, =
flags=3D0x300>
Jun  4 21:28:50 solfertje kernel: vga0: <Generic ISA VGA> at port =
0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Jun  4 21:28:50 solfertje kernel: atkbdc0: <Keyboard controller (i8042)> =
at port 0x60,0x64 on isa0
Jun  4 21:28:50 solfertje kernel: atkbd0: <AT Keyboard> irq 1 on atkbdc0
Jun  4 21:28:50 solfertje kernel: kbd0 at atkbd0
Jun  4 21:28:50 solfertje kernel: atkbd0: [GIANT-LOCKED]

I didn't see any options in the BIOS to set the console speed (just =
address and IRQ, those are in the above). ISTR that my old mobo did =
allow to set that information, but then again, that board (Tyan Tiger) =
gave me access to the BIOS through the serial console.

What am I missing?

Alban Hertroys
--
If you can't see the forest for the trees,
cut the trees and you'll find there is no forest.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?383C78B1-4F16-408F-8144-63B470D0C129>