From owner-freebsd-ppc@FreeBSD.ORG Fri Aug 29 14:44:46 2014 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0A22F845; Fri, 29 Aug 2014 14:44:46 +0000 (UTC) Received: from i3mail.icecube.wisc.edu (i3mail.icecube.wisc.edu [128.104.255.23]) by mx1.freebsd.org (Postfix) with ESMTP id D12111775; Fri, 29 Aug 2014 14:44:45 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by i3mail.icecube.wisc.edu (Postfix) with ESMTP id 6B1983806F; Fri, 29 Aug 2014 09:44:39 -0500 (CDT) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from i3mail.icecube.wisc.edu ([127.0.0.1]) by localhost (i3mail.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id 3VixKMASF0t0; Fri, 29 Aug 2014 09:44:39 -0500 (CDT) Received: from comporellon.tachypleus.net (polaris.tachypleus.net [75.101.50.44]) by i3mail.icecube.wisc.edu (Postfix) with ESMTPSA id 004C838064; Fri, 29 Aug 2014 09:44:38 -0500 (CDT) Message-ID: <540091D5.3050203@freebsd.org> Date: Fri, 29 Aug 2014 07:44:37 -0700 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: John Baldwin , Alexey Dokuchaev Subject: Re: [PATCH] Switch ofw_console(4) to callout(9) References: <1899860.9mUAFU02PZ@ralph.baldwin.cx> <20140828064431.GA22415@FreeBSD.org> <5F43E6EA-DE77-404A-B541-885B0CA05EAE@FreeBSD.org> In-Reply-To: <5F43E6EA-DE77-404A-B541-885B0CA05EAE@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: powerpc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Aug 2014 14:44:46 -0000 On 08/28/14 18:14, John Baldwin wrote: > On Aug 28, 2014, at 2:44 AM, Alexey Dokuchaev wrote: > >> On Mon, Aug 25, 2014 at 03:39:20PM -0400, John Baldwin wrote: >>> This patch switches the ofw_console driver from timeout(9) to callout(9). >>> The patch is against HEAD but it probably applies to 9 and 10. >> On 11.0-CURRENT powerpc r266314M: >> >> $ man ofw_console >> No manual entry for ofw_console >> >> I don't think you can call it ofw_console(4) just yet. ;-) > It's a driver in the kernel and those are section 4. :) > >>> Please test with INVARIANTS enabled. >> What are the exact test steps that would be useful for you? > Just making sure it works? I'm not sure how you force it as the console device or if it's just a matter of enabling it in /etc/ttys and then making sure you can interact with it ok as a console. > You can test it by setting hw.syscons.disable=1 if you are using syscons. I'm not sure if there's an equivalent for vt. It hasn't really worked right on PPC for some time, however, and might work better on sparc. -Nathan