From owner-freebsd-current@FreeBSD.ORG Wed Nov 12 20:52:05 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A07C51065676 for ; Wed, 12 Nov 2008 20:52:05 +0000 (UTC) (envelope-from citrin@citrin.ru) Received: from mail-chaos.rambler.ru (mail-chaos.rambler.ru [81.19.68.130]) by mx1.freebsd.org (Postfix) with ESMTP id 5697E8FC18 for ; Wed, 12 Nov 2008 20:52:05 +0000 (UTC) (envelope-from citrin@citrin.ru) Received: from cmb.rambler.ramblermedia.com (unknown [81.19.90.203]) (Authenticated sender: citrin@citrin.ru) by mail-chaos.rambler.ru (Postfix) with ESMTPSA id D48AD1702A; Wed, 12 Nov 2008 23:52:03 +0300 (MSK) Message-ID: <491B41F3.9030307@citrin.ru> Date: Wed, 12 Nov 2008 23:52:03 +0300 From: Anton Yuzhaninov User-Agent: Thunderbird 2.0.0.17 (Macintosh/20080914) MIME-Version: 1.0 To: Ed Schouten References: <491B3161.7000808@citrin.ru> <20081112203501.GA81783@hoeg.nl> In-Reply-To: <20081112203501.GA81783@hoeg.nl> Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Current Subject: Re: serial console in current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Nov 2008 20:52:05 -0000 On 12.11.2008 23:35, Ed Schouten wrote: > * Anton Yuzhaninov wrote: >> How to setup serial console in current? >> >> Settings, which works in RELENG_7, no longer help in CURRENT. >> >> $ cat /boot.config >> -P >> $ fgrep ttyu0 /etc/ttys >> ttyu0 "/usr/libexec/getty std.9600" cons25 on secure >> $ dmesg | fgrep uart >> uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 >> uart0: [FILTER] >> uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 >> uart1: [FILTER] >> $ uname -a >> FreeBSD citrin.park.rambler.ru 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Wed Nov 12 18:42:45 MSK 2008 citrin@citrin.park.rambler.ru:/usr/obj/usr/src/sys/GENERIC amd64 > > As mentioned in /usr/src/UPDATING - don't forget to update > /boot/device.hints. Let me know if you run into any problems. > /boot/device.hints was updated $ fgrep -h uart.0 /boot/device.hints hint.uart.0.at="isa" hint.uart.0.port="0x3F8" hint.uart.0.flags="0x10" hint.uart.0.irq="4" If ttyu0 commented out in /etc/ttys I can write text to remote machine using cu -l /dev/ttyu0 Serial port works fine, but console don't work... -- Anton Yuzhaninov