From owner-freebsd-current@FreeBSD.ORG Wed Nov 12 20:11:01 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 E24C5106568A for ; Wed, 12 Nov 2008 20:11:01 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.freebsd.org (Postfix) with ESMTP id 6B9BE8FC12 for ; Wed, 12 Nov 2008 20:11:00 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so415876nfh.33 for ; Wed, 12 Nov 2008 12:10:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=giy5kK2of/OgFGsiG+Mbf+Q1kkygRYIjSrvxSvse6vM=; b=sgzW8FD/5mMOcaA2vQLPK741O01Eo87LoWRomgVQzgEr/V1BPxKgrdheSBartt5SJ+ c9dRGzw4pBFt+rLTIY3s9uYLNwla1JAiTpYlMLZJTl2pQIaEfWTI3e7LQ8uZ98wlFlJW 9jdqWbY/Z0L04j2eJaZE6t3auezNGuTCYFDTk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=KfT4Y6zVGaDALiimvoRxTxLYFVFjDHWx0sNz/5sudQIuZ5sMbQocBpMte9qkVKjB1e 78Og7qVT1jfKpzBSXv+VXH3JamHIpfa9zBSUx9nDdzAuF2rK7Q+icL29D3PVynmzW7cm 0wleavGi0MrUjvgQNldm0p+B6whCVHyPxR+kI= Received: by 10.187.186.16 with SMTP id n16mr3234690fap.94.1226520659236; Wed, 12 Nov 2008 12:10:59 -0800 (PST) Received: by 10.187.161.6 with HTTP; Wed, 12 Nov 2008 12:10:59 -0800 (PST) Message-ID: Date: Wed, 12 Nov 2008 12:10:59 -0800 From: "Navdeep Parhar" To: "Anton Yuzhaninov" In-Reply-To: <491B3161.7000808@citrin.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <491B3161.7000808@citrin.ru> Cc: freebsd-current@freebsd.org 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:11:02 -0000 On Wed, Nov 12, 2008 at 11:41 AM, Anton Yuzhaninov wrote: > How to setup serial console in current? > I have a serial console, and it works with today's current. # cat /boot.config -D -S115200 # grep console /boot/loader.conf comconsole_speed="115200" console="comconsole,vidconsole" # grep ttyu0 /etc/ttys ttyu0 "/usr/libexec/getty std.115200" vt100 on secure You may want to try these and see if your serial port is working: # stty -f /dev/ttyu0 (all reasonable, expected values?) # echo "foo bar" > /dev/ttyu0 (Do you see anything on the console?) # cat < /dev/ttyu0 (type something on the console and see whether cat sees it) Regards, Navdeep > 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 > > -- > Anton Yuzhaninov > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >