From owner-freebsd-sparc64@FreeBSD.ORG Wed May 11 13:05:29 2005 Return-Path: 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 78D2F16A4DF for ; Wed, 11 May 2005 13:05:29 +0000 (GMT) Received: from newtrinity.zeist.de (newtrinity.zeist.de [217.24.217.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id C91C143D1F for ; Wed, 11 May 2005 13:05:28 +0000 (GMT) (envelope-from marius@newtrinity.zeist.de) Received: from newtrinity.zeist.de (localhost [127.0.0.1]) j4BD5RWe015145; Wed, 11 May 2005 15:05:27 +0200 (CEST) (envelope-from marius@newtrinity.zeist.de) Received: (from marius@localhost) by newtrinity.zeist.de (8.12.11/8.12.10/Submit) id j4BD5Lkj015144; Wed, 11 May 2005 15:05:21 +0200 (CEST) (envelope-from marius) Date: Wed, 11 May 2005 15:05:21 +0200 From: Marius Strobl To: Peter Larkowski Message-ID: <20050511150521.A13634@newtrinity.zeist.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: ; from peter@larkowski.net on Wed, May 11, 2005 at 08:17:47AM -0400 X-AntiVirus: checked by AntiVir Milter (version: 1.1.0-4; AVE: 6.30.0.12; VDF: 6.30.0.169; host: newtrinity.zeist.de) cc: freebsd-sparc64@freebsd.org Subject: Re: serial console on ultra axe X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 May 2005 13:05:29 -0000 On Wed, May 11, 2005 at 08:17:47AM -0400, Peter Larkowski wrote: > I upgraded from 5.3 to 5.4 (stable cvsup) yesterday. I built a GENERIC > kernel with the audiocs driver added. I read UPDATING and took note of > the change to uart, updating /etc/ttys accordingly. Unfortunately I get > nothing on the serial console after: > > Hit [Enter] to boot immediately, or any other key for command prompt. > Booting [/boot/kernel/kernel]... > nothing to autoload yet. > jumping to kernel entry at 0xc0048000. > > It should be noted that I've never been able to use the default /etc/ttys. > I've always had to start a getty on /dev/console, which doesn't work > anymore either. In any case I'm not even getting kernel messages. Any > ideas? The machine boots normally. as soon as the disk stops > thrashing, I can ssh right in. Here is my dmesg: Make sure that 'input-device' and 'output-device' are set to e.g. 'ttya'. Normally the firmware is expected to automatically switch to ttya when they are set to 'keyboard' and 'screen' respectively but no keyboard is plugged in but especially the firmware of the AXe has problems to properly determine whether a PS/2 keyboard is actually plugged in. If everything is set up correctly (including by the firmware) uart(4) should report that it's the console, e.g.: uart0: <16550 or compatible> addr 0x14003803f8-0x14003803ff irq 28 on ebus0 uart0: console (9600,n,8,1)