From owner-freebsd-sparc64@FreeBSD.ORG Mon Dec 5 18:54:31 2005 Return-Path: X-Original-To: freebsd-sparc64@freebsd.org Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B354916A41F for ; Mon, 5 Dec 2005 18:54:31 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from speedfactory.net (mail6.speedfactory.net [66.23.216.219]) by mx1.FreeBSD.org (Postfix) with ESMTP id CABF943D60 for ; Mon, 5 Dec 2005 18:54:30 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (unverified [66.23.211.162]) by speedfactory.net (SurgeMail 3.5b3) with ESMTP id 3200131 for multiple; Mon, 05 Dec 2005 13:52:35 -0500 Received: from localhost (john@localhost [127.0.0.1]) by server.baldwin.cx (8.13.1/8.13.1) with ESMTP id jB5Is6L7040561; Mon, 5 Dec 2005 13:54:24 -0500 (EST) (envelope-from jhb@freebsd.org) From: John Baldwin To: freebsd-sparc64@freebsd.org Date: Mon, 5 Dec 2005 13:54:05 -0500 User-Agent: KMail/1.8.2 References: <18f601940512051025g71b9fc29y4ae37eb3ce2629df@mail.gmail.com> In-Reply-To: <18f601940512051025g71b9fc29y4ae37eb3ce2629df@mail.gmail.com> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200512051354.06372.jhb@freebsd.org> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.8 required=4.2 tests=ALL_TRUSTED autolearn=failed version=3.0.2 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on server.baldwin.cx X-Server: High Performance Mail Server - http://surgemail.com r=1653887525 Cc: Aaron Glenn Subject: Re: serial ports on the Ultra 5 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Dec 2005 18:54:31 -0000 On Monday 05 December 2005 01:25 pm, Aaron Glenn wrote: > For the life of me I cannot get either serial port on one of my Ultra > 5's to work in FreeBSD. I'll admit I don't quite grasp how the sio(4), > puc(4), and sab(4) drivers intertwine (if at all...) and while > /etc/ttys makes sense to me, I don't understand how to get or why I > don't have a /dev entry for either of the serial ports. I am unable to > console out or into the box; prior to FreeBSD 6.0 the machine had > OpenBSD and the ports worked flawlessly, ruling out a hardware issue. > > The release notes say it should work, the sab(4) man pages says > /dev/tty[a-b], /etc/ttys has an entry, dmesg says puc(4), and I can't > make heads or tails of anything. I'm missing something important - can > a kind soul point me to it? You don't use sab(4) anymore, but uart(4). > puc0: addr > 0x1400400000-0x140040007f irq 43 on ebus0 > uart0: on puc0 > uart0: CTS oflow > uart1: on puc0 > uart1: CTS oflow Here are your SAB ports. /dev/ttyu0 and /dev/ttyu1 -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org