Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Oct 2012 18:30:58 +0530
From:      Ziyan Maraikar <ziyan@ce.pdn.ac.lk>
To:        freebsd-questions@freebsd.org
Subject:   Serial console getty broken after upgrading to 9.1-RC2
Message-ID:  <5ED48B8E-D375-447F-9F4C-267CF7834E30@ce.pdn.ac.lk>

next in thread | raw e-mail | index | archive | help
Hello all,=20

I had a working serial console setup on Freebsd 9.0 for remote access =
via my HP server's BMC serial console. I recently built and installed =
9.1-RC2 on a separate dataset on this machine's ZFS pool and merged in =
my existing configuration from 9.0.=20

On 9.1-RC2 I no longer get a login prompt. However, I still do have =
access to the loader prompt and can see the kernel boot messages on the =
serial console. I built my GENERIC kernel and world using clang with =
default flags. I see that the kernel identifies the serial port getty =
has spawned on the port.

# dmesg |grep uart=20
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0=20=

uart0: console (115200,n,8,1)=20

# ps axl|grep ttyu0=20
 0 5405    1   0  20  0  11996  1416 ttyin    Is+  u0    0:00.00 =
/usr/libexec/getty std.115200 ttyu0=20

Here are the relevant configuration bits I copied over from 9.0 setup =
that works:=20

/etc/ttys:=20
ttyu0   "/usr/libexec/getty std.115200" screen-256color on secure=20

/boot/loader.conf:=20
boot_multicons=3D"YES"=20
boot_serial=3D"YES"=20
comconsole_speed=3D"115200"=20
console=3D"comconsole,vidconsole"=20

# kenv |grep uart.0=20
hint.uart.0.at=3D"isa"=20
hint.uart.0.flags=3D"0x10"=20
hint.uart.0.irq=3D"4"=20
hint.uart.0.port=3D"0x3F8"=20

Have there been any changes to the serial console setup in 9.1 or has =
anybody else experienced similar problems?=20
__=20
Thanks,=20
Ziyan.=20=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5ED48B8E-D375-447F-9F4C-267CF7834E30>