From owner-freebsd-current@FreeBSD.ORG Wed Nov 12 21:23:51 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 9D34F1065674 for ; Wed, 12 Nov 2008 21:23:51 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (unknown [IPv6:2001:7b8:613:100::211]) by mx1.freebsd.org (Postfix) with ESMTP id 60F958FC17 for ; Wed, 12 Nov 2008 21:23:51 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id C64231CC51; Wed, 12 Nov 2008 22:23:50 +0100 (CET) Date: Wed, 12 Nov 2008 22:23:50 +0100 From: Ed Schouten To: Anton Yuzhaninov Message-ID: <20081112212350.GB81783@hoeg.nl> References: <491B3161.7000808@citrin.ru> <20081112203501.GA81783@hoeg.nl> <491B41F3.9030307@citrin.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PmA2V3Z32TCmWXqI" Content-Disposition: inline In-Reply-To: <491B41F3.9030307@citrin.ru> User-Agent: Mutt/1.5.18 (2008-05-17) 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 21:23:51 -0000 --PmA2V3Z32TCmWXqI Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Anton Yuzhaninov wrote: > 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=3D"isa" > hint.uart.0.port=3D"0x3F8" > hint.uart.0.flags=3D"0x10" > hint.uart.0.irq=3D"4" > > If ttyu0 commented out in /etc/ttys I can write text to remote machine us= ing > cu -l /dev/ttyu0 Maybe there's a difference between uart(4) and sio(4) w.r.t. carrier-detect handling? What happens if you change ttyu0 to cuau0 in /etc/ttys? This is not a proper solution, but it should give us some more insight. --=20 Ed Schouten WWW: http://80386.nl/ --PmA2V3Z32TCmWXqI Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEARECAAYFAkkbSWYACgkQ52SDGA2eCwVbFgCdEaEUNTHHOB8gBcSRVkvJpxuv RsEAn0p/pHwoYb4FbhGTWP1YZSJ/yebW =guO0 -----END PGP SIGNATURE----- --PmA2V3Z32TCmWXqI--