From owner-freebsd-current@FreeBSD.ORG Sun Apr 7 13:20:20 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 08203ED7 for ; Sun, 7 Apr 2013 13:20:20 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id C5049C24 for ; Sun, 7 Apr 2013 13:20:19 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:4c8a:eb64:d147:30a4]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 3D9814AC57 for ; Sun, 7 Apr 2013 17:20:18 +0400 (MSK) Date: Sun, 7 Apr 2013 17:20:16 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <229402991.20130407172016@serebryakov.spb.ru> To: freebsd-current@freebsd.org Subject: Intel D2500CC motherboard and strange RS232/UART behavior MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Apr 2013 13:20:20 -0000 Hello, Freebsd-current. I've built new router based on Intel D2500CC motherboard. It contains four (!) UARTs. Two of them are D-SUB9 on back panel, two others are only headers. This motherboard contains PS/2 keyboard and VGA too. I'm trying to get com console on one of D-SUBs. All UARTs are detected: ======================== uart0: <16550 or compatible> port 0x3f8-0x3ff irq 3 flags 0x10 on acpi0 uart0: console (115200,n,8,1) uart1: <16550 or compatible> port 0x2f8-0x2ff irq 4 on acpi0 uart2: <16550 or compatible> port 0x2e8-0x2ef irq 3 on acpi0 uart3: <16550 or compatible> port 0x2e0-0x2e7 irq 4 on acpi0 ======================== (but I don't know which UART corresponds to which connector) I have /boot.config: ======================== -D -S115200 ======================== And /boot/loader.conf: ======================== boot_serial="YES" console="comconsole" comconsole_speed="115200" ======================== Also, "/etc/ttys" has all 4 (!) ttys enabled: ======================== ttyu0 "/usr/libexec/getty std.115200" xterm on secure ttyu1 "/usr/libexec/getty std.115200" xterm on secure ttyu2 "/usr/libexec/getty std.115200" xterm on secure ttyu3 "/usr/libexec/getty std.115200" xterm on secure ======================== But I don't see ANYTHING on ANY of two DSubs, when connect them to other computer with serial NULL modem cable. Nothing at all -- no boot progress, no getty prompt, nothing. Other strange thing is, that only two of four gettys has terminals: ======================== > ps -ax | grep getty 1731 - I 0:00.00 /usr/libexec/getty std.115200 ttyu1 1733 - I 0:00.00 /usr/libexec/getty std.115200 ttyu3 1730 u0 Is+ 0:00.00 /usr/libexec/getty std.115200 ttyu0 1732 u2 Is+ 0:00.00 /usr/libexec/getty std.115200 ttyu2 1729 v0 Is+ 0:00.00 /usr/libexec/getty Pc ttyv0 1748 0 S+ 0:00.00 grep getty ======================== I'm sure, that COM port on other system and nullmodem cable is Ok, because I used them to have serial console on my precious router, Sokeris net5501-based, and it works perfectly with almost same config. Two differences was, that I had "-h -S115200" in /boot.config and I had only one getty on ttyu0. What do I do wrong? -- // Black Lion AKA Lev Serebryakov