From owner-freebsd-ppc@FreeBSD.ORG Mon Aug 25 17:21:11 2014 Return-Path: Delivered-To: powerpc@FreeBSD.org Received: by hub.freebsd.org (Postfix, from userid 1033) id 3A6EE480; Mon, 25 Aug 2014 17:21:11 +0000 (UTC) Date: Mon, 25 Aug 2014 17:21:11 +0000 From: Alexey Dokuchaev To: Nathan Whitehorn Subject: Re: svn commit: r270516 - head/sys/dev/drm2/i915 Message-ID: <20140825172111.GA43814@FreeBSD.org> References: <201408250503.s7P53Axo057720@svn.freebsd.org> <2177184.NMfUXrE71G@ralph.baldwin.cx> <53FB5FC8.4030105@FreeBSD.org> <53FB60B6.2020106@freebsd.org> <20140825162706.GA22843@FreeBSD.org> <53FB669A.6020604@FreeBSD.org> <53FB6CB9.4010507@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <53FB6CB9.4010507@freebsd.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: powerpc@FreeBSD.org, =?koi8-r?Q?Jean-S=C3=A9bastien_P=C3=A9dron?= 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: Mon, 25 Aug 2014 17:21:11 -0000 [ Subthread moved to PowerPC ML ] On Mon, Aug 25, 2014 at 10:04:57AM -0700, Nathan Whitehorn wrote: > On 08/25/14 09:38, Jean-Sébastien Pédron wrote: > >On 25.08.2014 18:27, Alexey Dokuchaev wrote: > >>I'll shamelessly hijack this thread and ask you Nathan, what's the > >>current state of newcons+hwaccel w/ ATI RV280 on PowerPC found in e.g. > >>Mac mini G4? > > > >I imported Justin Hibbits patches in this DRM 3.8 branch [1] and enabled > >the build of radeonkms on PowerPC, but it's only built-tested. > > > >If you have some time and hardware to test it, that would be great! > > > >[1] https://github.com/dumbbell/freebsd/tree/kms-drm-update-38 > > (branch "kms-drm-update-38", not master) > > Does our radeon KMS code support AGP-based Radeons? I vaguely remember > this not being the case. Hmm, that's very sad. I'd love to play Doom/Hexen/Quake2 on Mac mini G4. How hard would it be to implement the missing pieces? Is there any WIP? ./danfe From owner-freebsd-ppc@FreeBSD.ORG Mon Aug 25 18:45:15 2014 Return-Path: Delivered-To: powerpc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 91624E32; Mon, 25 Aug 2014 18:45:15 +0000 (UTC) Received: from mail.made4.biz (mail.made4.biz [IPv6:2001:41d0:2:c018::1:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 556CA3D6F; Mon, 25 Aug 2014 18:45:12 +0000 (UTC) Received: from 141.7.19.93.rev.sfr.net ([93.19.7.141] helo=i915.dumbbell.fr) by mail.made4.biz with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.82_1-5b7a7c0-XX (FreeBSD)) (envelope-from ) id 1XLzGQ-000CPR-BT; Mon, 25 Aug 2014 20:45:10 +0200 Message-ID: <53FB8435.30404@FreeBSD.org> Date: Mon, 25 Aug 2014 20:45:09 +0200 From: =?UTF-8?B?SmVhbi1Tw6liYXN0aWVuIFDDqWRyb24=?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: Alexey Dokuchaev , Nathan Whitehorn Subject: Re: svn commit: r270516 - head/sys/dev/drm2/i915 References: <201408250503.s7P53Axo057720@svn.freebsd.org> <2177184.NMfUXrE71G@ralph.baldwin.cx> <53FB5FC8.4030105@FreeBSD.org> <53FB60B6.2020106@freebsd.org> <20140825162706.GA22843@FreeBSD.org> <53FB669A.6020604@FreeBSD.org> <53FB6CB9.4010507@freebsd.org> <20140825172111.GA43814@FreeBSD.org> In-Reply-To: <20140825172111.GA43814@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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: Mon, 25 Aug 2014 18:45:15 -0000 On 25.08.2014 19:21, Alexey Dokuchaev wrote: > Hmm, that's very sad. I'd love to play Doom/Hexen/Quake2 on Mac mini G4. > How hard would it be to implement the missing pieces? Is there any WIP? There's no WIP. Here's what Konstantin told me when we talked about this: The AGP module needs to be completely rototiled to accept array of vm_pages to be mapped through AGP. The change has to be done for each AGP chip. This is a lot of work (...) -- Jean-Sébastien Pédron From owner-freebsd-ppc@FreeBSD.ORG Mon Aug 25 19:39:44 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 68467705; Mon, 25 Aug 2014 19:39:44 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 40A933367; Mon, 25 Aug 2014 19:39:44 +0000 (UTC) Received: from ralph.baldwin.cx (pool-173-70-85-31.nwrknj.fios.verizon.net [173.70.85.31]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id C286AB95D; Mon, 25 Aug 2014 15:39:41 -0400 (EDT) From: John Baldwin To: powerpc@freebsd.org, sparc64@freebsd.org Subject: [PATCH] Switch ofw_console(4) to callout(9) Date: Mon, 25 Aug 2014 15:39:20 -0400 Message-ID: <1899860.9mUAFU02PZ@ralph.baldwin.cx> User-Agent: KMail/4.10.5 (FreeBSD/10.0-STABLE; KDE/4.10.5; amd64; ; ) MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 25 Aug 2014 15:39:41 -0400 (EDT) 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: Mon, 25 Aug 2014 19:39:44 -0000 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. Please test with INVARIANTS enabled. http://www.FreeBSD.org/~jhb/patches/ofw_console_callout.patch -- John Baldwin From owner-freebsd-ppc@FreeBSD.ORG Thu Aug 28 06:44:31 2014 Return-Path: Delivered-To: powerpc@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id 2690CC8D; Thu, 28 Aug 2014 06:44:31 +0000 (UTC) Date: Thu, 28 Aug 2014 06:44:31 +0000 From: Alexey Dokuchaev To: John Baldwin Subject: Re: [PATCH] Switch ofw_console(4) to callout(9) Message-ID: <20140828064431.GA22415@FreeBSD.org> References: <1899860.9mUAFU02PZ@ralph.baldwin.cx> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1899860.9mUAFU02PZ@ralph.baldwin.cx> User-Agent: Mutt/1.5.23 (2014-03-12) 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: Thu, 28 Aug 2014 06:44:31 -0000 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. ;-) > Please test with INVARIANTS enabled. What are the exact test steps that would be useful for you? ./danfe From owner-freebsd-ppc@FreeBSD.ORG Fri Aug 29 01:14:22 2014 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4FC19F2E; Fri, 29 Aug 2014 01:14:22 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 273211C21; Fri, 29 Aug 2014 01:14:22 +0000 (UTC) Received: from johnbaldwinsmbp.home (pool-173-70-85-31.nwrknj.fios.verizon.net [173.70.85.31]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 12F62B941; Thu, 28 Aug 2014 21:14:19 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: [PATCH] Switch ofw_console(4) to callout(9) From: John Baldwin In-Reply-To: <20140828064431.GA22415@FreeBSD.org> Date: Thu, 28 Aug 2014 21:14:23 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <5F43E6EA-DE77-404A-B541-885B0CA05EAE@FreeBSD.org> References: <1899860.9mUAFU02PZ@ralph.baldwin.cx> <20140828064431.GA22415@FreeBSD.org> To: Alexey Dokuchaev X-Mailer: Apple Mail (2.1878.6) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Thu, 28 Aug 2014 21:14:20 -0400 (EDT) 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 01:14:22 -0000 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. >=20 > On 11.0-CURRENT powerpc r266314M: >=20 > $ man ofw_console > No manual entry for ofw_console >=20 > 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. >=20 > 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. --=20 John Baldwin 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 From owner-freebsd-ppc@FreeBSD.ORG Fri Aug 29 16:10:18 2014 Return-Path: Delivered-To: powerpc@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id 1283A27C; Fri, 29 Aug 2014 16:10:18 +0000 (UTC) Date: Fri, 29 Aug 2014 16:10:18 +0000 From: Alexey Dokuchaev To: Nathan Whitehorn Subject: Re: [PATCH] Switch ofw_console(4) to callout(9) Message-ID: <20140829161017.GA16979@FreeBSD.org> References: <1899860.9mUAFU02PZ@ralph.baldwin.cx> <20140828064431.GA22415@FreeBSD.org> <5F43E6EA-DE77-404A-B541-885B0CA05EAE@FreeBSD.org> <540091D5.3050203@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <540091D5.3050203@freebsd.org> User-Agent: Mutt/1.5.23 (2014-03-12) 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 16:10:18 -0000 On Fri, Aug 29, 2014 at 07:44:37AM -0700, Nathan Whitehorn wrote: > On 08/28/14 18:14, John Baldwin wrote: > > On Aug 28, 2014, at 2:44 AM, Alexey Dokuchaev wrote: > > > 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. I'm using vt of course. I forgot to enable INVARIANTS, I'll rebuild, reboot and report back. ./danfe From owner-freebsd-ppc@FreeBSD.ORG Sat Aug 30 00:54:01 2014 Return-Path: Delivered-To: freebsd-ppc@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 0EE22A9D for ; Sat, 30 Aug 2014 00:54:01 +0000 (UTC) Received: from asp.reflexion.net (outbound-246.asp.reflexion.net [69.84.129.246]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AE4EF11F6 for ; Sat, 30 Aug 2014 00:54:00 +0000 (UTC) Received: (qmail 2469 invoked from network); 30 Aug 2014 00:47:19 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 30 Aug 2014 00:47:19 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v7.30.7) with SMTP; Fri, 29 Aug 2014 20:47:19 -0400 (EDT) Received: (qmail 14174 invoked from network); 30 Aug 2014 00:47:19 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (DHE-RSA-AES256-SHA encrypted) SMTP; 30 Aug 2014 00:47:19 -0000 X-No-Relay: not in my network Received: from [192.168.1.8] (c-98-246-178-138.hsd1.or.comcast.net [98.246.178.138]) by iron2.pdx.net (Postfix) with ESMTPSA id DFD9D1C4017 for ; Fri, 29 Aug 2014 17:47:13 -0700 (PDT) From: Mark Millard Subject: 10.0-STABLE is still from Jul-13 or so for powerpc/powerpc64 as of Aug-29...? Message-Id: <9990A65F-361C-4303-ACDB-F9AE91D0960A@dsl-only.net> Date: Fri, 29 Aug 2014 17:47:18 -0700 To: freebsd-ppc@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) X-Mailer: Apple Mail (2.1878.6) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 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: Sat, 30 Aug 2014 00:54:01 -0000 h= ttp://ftp.freebsd.org/pub/FreeBSD/snapshots/powerpc/powerpc64/10.0-STABLE/= and other such 10.0-STABLE powerpc places (32 bit or 64 bit) have files = dating back to Jul-13 or so as of Aug-29. amd64, arm-armv6, i386, ia64, sparc64, have more recent 10.0-STABLE = material (Aug-22 through Aug-24 or so). 9.3-STABLE and 11.0-CURRENT have = Aug-20 and Aug-25 materials respectively. Is something (not) going on with 10.0-STABLE for powerpc and powerpc64? = If so, what? Is this expected to be the case for a while? I'm not sure = that I've the background to be of much help yet but is some help with = something needed? (The only PowerPC's that I have access to are a = variety of PowerMacs.) (I again have access to the PowerMac's after 4+ weeks and was looking to = synchronize them to 10.x-STABLE+ and to check the status of things that = I'd run into earlier. But I ended up seeing that I had the most recent = 10.0-STABLE that is now available already in place.) =3D=3D=3D Mark Millard markmi at dsl-only.net