From owner-freebsd-questions@FreeBSD.ORG Mon Oct 8 13:01:02 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B7C89106566B for ; Mon, 8 Oct 2012 13:01:02 +0000 (UTC) (envelope-from ziyan@ce.pdn.ac.lk) Received: from hantana.pdn.ac.lk (unknown [IPv6:2401:dd00:30::1]) by mx1.freebsd.org (Postfix) with ESMTP id 291A38FC1D for ; Mon, 8 Oct 2012 13:01:01 +0000 (UTC) Received: from postfix.local (neumann.ce.pdn.ac.lk [10.40.18.5]) by hantana.pdn.ac.lk (Postfix) with ESMTP id 53DB35C04F for ; Mon, 8 Oct 2012 18:31:00 +0530 (LKT) Received: from [192.168.1.240] (unknown [112.135.60.196]) by postfix.local (Postfix) with ESMTPSA id F175611F6 for ; Mon, 8 Oct 2012 18:30:59 +0530 (IST) From: Ziyan Maraikar Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Mon, 8 Oct 2012 18:30:58 +0530 Message-Id: <5ED48B8E-D375-447F-9F4C-267CF7834E30@ce.pdn.ac.lk> To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v1257) X-Mailer: Apple Mail (2.1257) Subject: Serial console getty broken after upgrading to 9.1-RC2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Oct 2012 13:01:02 -0000 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=