From owner-freebsd-ppc@FreeBSD.ORG Sun Jan 19 00:27:14 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 995D2696 for ; Sun, 19 Jan 2014 00:27:14 +0000 (UTC) Received: from mail-pd0-x231.google.com (mail-pd0-x231.google.com [IPv6:2607:f8b0:400e:c02::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 69D611DEF for ; Sun, 19 Jan 2014 00:27:14 +0000 (UTC) Received: by mail-pd0-f177.google.com with SMTP id x10so4122589pdj.36 for ; Sat, 18 Jan 2014 16:27:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=d0rAOBa26/XmUQZ8o1yZ3fgLliT5hPSIeceHVvIi4u4=; b=W7JjkKnGxrUHrmgMTHpvoP6pZcyOA6kLVe0fNJ5Li1ICBXQjmYKe3H+TzIQCtEKeFS ouHtpEAHjwg3dmF7lwXkv0kocJpMMrXem22SvISmPoV+NzrUdop6hBwFeFXBBrcQ/d9z 0+5DqqSXv0PRjey8mwoovcSIqTr5hPjzNYm5eE0s9VHPSrRcslmOxQPxj3YyMijy1QQ+ /QZ5FI/6XRRs1mma1A3GZJi3Pp2S0rtUXPuant+NTEWaDpZQ1vQfgwfzaFEg/a5wwXq4 wJHjilZ/2auxNB38AmVRFzaqH/PrHUFAb6yGna0Z+nMSiPNzD0Y7iRsU6NbfoOnpunl1 2RJA== X-Received: by 10.66.4.130 with SMTP id k2mr10389911pak.95.1390091234079; Sat, 18 Jan 2014 16:27:14 -0800 (PST) Received: from zhabar.gateway.2wire.net (76-253-2-5.lightspeed.sntcca.sbcglobal.net. [76.253.2.5]) by mx.google.com with ESMTPSA id xu8sm46416982pab.0.2014.01.18.16.27.12 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Sat, 18 Jan 2014 16:27:13 -0800 (PST) Date: Sat, 18 Jan 2014 16:27:06 -0800 From: Justin Hibbits To: Britt Dodd Subject: Re: Installation of 9.2 or 10.0-RC2 to Powerbook G4 1.67 Message-ID: <20140118162706.1ff7435a@zhabar.gateway.2wire.net> In-Reply-To: References: X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; powerpc64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2014 00:27:14 -0000 Hi Britt, I have just committed a fix for this in head, r260872. I'll be MFCing it to stable/10 and stable/9 next week. Until then, you could try building a bootable CD on another machine, for head, and give it a go. - Justin On Fri, 3 Jan 2014 18:56:55 -0500 Britt Dodd wrote: > Excellent! If *anybody* needs ppc32/ppc64 testing or shell access for > compiling, please message me. > > Thanks Justin for your reply. Is this error present in 8.x releases? > Do you think I could run 8.x until the patch comes out, and then > somehow upgrade to 10.0-RC2+? > > > > > On Fri, Jan 3, 2014 at 6:53 PM, Justin Hibbits > wrote: > > > Hi Britt, > > > > On Jan 3, 2014 12:21 PM, "Britt Dodd" wrote: > > > > > > Good afternoon, > > > > > > I'd like to begin by saying that while I do have a bunch of x86 > > > systems, I'd also like to make (limited) use of powerpc hardware > > > -- mainly a Powerbook G4, an XServe G5 and a XServe G4 (it'll be > > > the 'garage mac'). > > > > > > OSX support died with 10.5. A bunch of Linux distros totally > > > dropped building for ppc/32. I'm starting to really get attached > > > to running > > FreeBSD > > > and would like to install it on my powerpc equipment. > > > > > > I attempted to load the LiveCD in my powerbook, and maybe 2 > > > seconds into bootup (with tty output on screen) the entire system > > > abruptly shuts off. > > > > > > Any hints? > > > > > > > > > Britt > > > > I see this very issue, and I think it is caused by the PMU being > > initialized early, and not emptying the mailbox. I will be testing > > a patch in the next few weeks when I get time to tackle this, and > > hopefully a fix will be in soon. > > > > -Justin > > From owner-freebsd-ppc@FreeBSD.ORG Sun Jan 19 00:38:03 2014 Return-Path: Delivered-To: freebsd-ppc@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 53682CB7 for ; Sun, 19 Jan 2014 00:38:03 +0000 (UTC) Received: from mail-oa0-x22d.google.com (mail-oa0-x22d.google.com [IPv6:2607:f8b0:4003:c02::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 170B31E7B for ; Sun, 19 Jan 2014 00:38:03 +0000 (UTC) Received: by mail-oa0-f45.google.com with SMTP id i11so1363499oag.32 for ; Sat, 18 Jan 2014 16:38:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=RfbPMqmP5CGZJ61u709l490KaT6PFdF9DGN85fBnAUs=; b=hhVaDz5mAjUSlN7njhreCKRJlcgC2omYpBqlxq+InGI6HkGR3kywJj+M42JQz1x+xv PFMPg1PigXUuTBb4hiGdF7vGT43dio1XkSuv2uQKDz/XAy8VYBSESHXY7TxuP90+Xuk2 P7+Zu8KZ5W6REwoW6PaXjo6Zkl55Xhv4XDPI4zk15FcRzK611xMvWSU330QlC2Sylsbv GaOa2QdM5pGWOONyOXJztFPCzMAM5PMdK9uY7aqdpdNbKKxPyZaR9XJVJW3fPfAKZiu5 zbwbj/0oIorRRXp9wOveJvdD3+wMPKb49Rij+SvdYJnJYwzZR50kLEMwpLk89r6qgWpY WZJQ== MIME-Version: 1.0 X-Received: by 10.60.246.139 with SMTP id xw11mr8669185oec.36.1390091882243; Sat, 18 Jan 2014 16:38:02 -0800 (PST) Received: by 10.76.87.3 with HTTP; Sat, 18 Jan 2014 16:38:02 -0800 (PST) Received: by 10.76.87.3 with HTTP; Sat, 18 Jan 2014 16:38:02 -0800 (PST) In-Reply-To: <20140118162706.1ff7435a@zhabar.gateway.2wire.net> References: <20140118162706.1ff7435a@zhabar.gateway.2wire.net> Date: Sat, 18 Jan 2014 19:38:02 -0500 Message-ID: Subject: Re: Installation of 9.2 or 10.0-RC2 to Powerbook G4 1.67 From: Britt Dodd To: Justin Hibbits Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2014 00:38:03 -0000 Awesome! I've got it running on the G5 (Dual 2.3) and I'll load the G4 XServe running tomorrow. Thank you for your contribution! I'm very excited to try it out On Jan 18, 2014 7:27 PM, "Justin Hibbits" wrote: > Hi Britt, > > I have just committed a fix for this in head, r260872. I'll be MFCing > it to stable/10 and stable/9 next week. Until then, you could try > building a bootable CD on another machine, for head, and give it a go. > > - Justin > > On Fri, 3 Jan 2014 18:56:55 -0500 > Britt Dodd wrote: > > > Excellent! If *anybody* needs ppc32/ppc64 testing or shell access for > > compiling, please message me. > > > > Thanks Justin for your reply. Is this error present in 8.x releases? > > Do you think I could run 8.x until the patch comes out, and then > > somehow upgrade to 10.0-RC2+? > > > > > > > > > > On Fri, Jan 3, 2014 at 6:53 PM, Justin Hibbits > > wrote: > > > > > Hi Britt, > > > > > > On Jan 3, 2014 12:21 PM, "Britt Dodd" wrote: > > > > > > > > Good afternoon, > > > > > > > > I'd like to begin by saying that while I do have a bunch of x86 > > > > systems, I'd also like to make (limited) use of powerpc hardware > > > > -- mainly a Powerbook G4, an XServe G5 and a XServe G4 (it'll be > > > > the 'garage mac'). > > > > > > > > OSX support died with 10.5. A bunch of Linux distros totally > > > > dropped building for ppc/32. I'm starting to really get attached > > > > to running > > > FreeBSD > > > > and would like to install it on my powerpc equipment. > > > > > > > > I attempted to load the LiveCD in my powerbook, and maybe 2 > > > > seconds into bootup (with tty output on screen) the entire system > > > > abruptly shuts off. > > > > > > > > Any hints? > > > > > > > > > > > > Britt > > > > > > I see this very issue, and I think it is caused by the PMU being > > > initialized early, and not emptying the mailbox. I will be testing > > > a patch in the next few weeks when I get time to tackle this, and > > > hopefully a fix will be in soon. > > > > > > -Justin > > > > From owner-freebsd-ppc@FreeBSD.ORG Sun Jan 19 18:58:17 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 4B79AC63; Sun, 19 Jan 2014 18:58:17 +0000 (UTC) Received: from smtpauth4.wiscmail.wisc.edu (wmauth4.doit.wisc.edu [144.92.197.145]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 15463142B; Sun, 19 Jan 2014 18:58:16 +0000 (UTC) MIME-version: 1.0 Received: from avs-daemon.smtpauth4.wiscmail.wisc.edu by smtpauth4.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) id <0MZN00H00VSXSY00@smtpauth4.wiscmail.wisc.edu>; Sun, 19 Jan 2014 12:58:15 -0600 (CST) X-Spam-PmxInfo: Server=avs-4, Version=6.0.3.2322014, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2014.1.19.184516, SenderIP=0.0.0.0 X-Spam-Report: AuthenticatedSender=yes, SenderIP=0.0.0.0 Received: from comporellon.tachypleus.net (adsl-76-208-68-77.dsl.mdsnwi.sbcglobal.net [76.208.68.77]) by smtpauth4.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) with ESMTPSA id <0MZN00KO2WP2MK20@smtpauth4.wiscmail.wisc.edu>; Sun, 19 Jan 2014 12:58:15 -0600 (CST) Date: Sun, 19 Jan 2014 12:58:13 -0600 From: Nathan Whitehorn Subject: Re: Fixes for X on PowerPC In-reply-to: To: Joe Nosay Message-id: <52DC2045.1030404@freebsd.org> References: <52DC0770.7060000@freebsd.org> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0 Content-Type: text/plain; CHARSET=US-ASCII; format=flowed Content-Transfer-Encoding: 7BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: freebsd-x11@freebsd.org, FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2014 18:58:17 -0000 On 01/19/14 12:56, Joe Nosay wrote: > > > > On Sun, Jan 19, 2014 at 12:12 PM, Nathan Whitehorn > > wrote: > > I was just bootstrapping a new (to me) laptop and ran into some > minor difficulties getting X running. They can be fixed with the > patch at http://people.freebsd.org/~nwhitehorn/new_xorg_ppc.diff > > > It has the following parts: > 1. plist fix for graphics/libdrm (the Intel driver is only built > on x86 platforms) > 2. only apply MMX/SSE2 flags in configure on platforms that have > MMX and SSE2 for x11/pixman to avoid errors from configure > 3. Use old ATI driver on platforms without KMS (for now, > everything but x86) > 4. Fix error in xorg-server makefile EXTRA_PATCHES where some > platform-specific patches would replace rather than add to the > patches list. > > The only even vaguely substantive change is the last patch: > 5. xf86EnableIO() and xf86OpenConsole() no longer seem to be > called in the same order, with the result that xf86Info.consoleFd > hasn't been set yet when xf86EnableIO() is called. I've copied > what Linux does here and used /dev/mem instead, as well as copying > Linux in making errors there non-fatal. Incidentally, the > xf86EnableIO() implementation is one of the shadiest and most > questionable things I have ever seen. I really doubt it does > whatever it is meant to do correctly, but it at least does the > same thing old Xorg did now. > -Nathan > > _______________________________________________ > freebsd-x11@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to > "freebsd-x11-unsubscribe@freebsd.org > " > > > > That's great. Will it also work for the desktop cards? Yes. -Nathan From owner-freebsd-ppc@FreeBSD.ORG Sun Jan 19 21:41:16 2014 Return-Path: Delivered-To: freebsd-ppc@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 3B851D4E; Sun, 19 Jan 2014 21:41:16 +0000 (UTC) Received: from smtpauth4.wiscmail.wisc.edu (wmauth4.doit.wisc.edu [144.92.197.145]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5EA7E1FA2; Sun, 19 Jan 2014 21:41:15 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from avs-daemon.smtpauth4.wiscmail.wisc.edu by smtpauth4.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) id <0MZO00B003JJ2I00@smtpauth4.wiscmail.wisc.edu>; Sun, 19 Jan 2014 15:41:13 -0600 (CST) X-Spam-PmxInfo: Server=avs-4, Version=6.0.3.2322014, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2014.1.19.213020, SenderIP=0.0.0.0 X-Spam-Report: AuthenticatedSender=yes, SenderIP=0.0.0.0 Received: from wanderer.tachypleus.net (adsl-76-208-68-77.dsl.mdsnwi.sbcglobal.net [76.208.68.77]) by smtpauth4.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) with ESMTPSA id <0MZO00G9G48OGK10@smtpauth4.wiscmail.wisc.edu>; Sun, 19 Jan 2014 15:41:13 -0600 (CST) Message-id: <52DC4678.2080901@freebsd.org> Date: Sun, 19 Jan 2014 15:41:12 -0600 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 To: freebsd-x11@freebsd.org Subject: Re: Fixes for X on PowerPC References: <52DC0770.7060000@freebsd.org> In-reply-to: <52DC0770.7060000@freebsd.org> X-Enigmail-Version: 1.6 Cc: Baptiste Daroussin , FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jan 2014 21:41:16 -0000 On 01/19/14 11:12, Nathan Whitehorn wrote: > I was just bootstrapping a new (to me) laptop and ran into some minor > difficulties getting X running. They can be fixed with the patch at > http://people.freebsd.org/~nwhitehorn/new_xorg_ppc.diff > > It has the following parts: > 1. plist fix for graphics/libdrm (the Intel driver is only built on > x86 platforms) > 2. only apply MMX/SSE2 flags in configure on platforms that have MMX > and SSE2 for x11/pixman to avoid errors from configure > 3. Use old ATI driver on platforms without KMS (for now, everything > but x86) > 4. Fix error in xorg-server makefile EXTRA_PATCHES where some > platform-specific patches would replace rather than add to the patches > list. > > The only even vaguely substantive change is the last patch: > 5. xf86EnableIO() and xf86OpenConsole() no longer seem to be called in > the same order, with the result that xf86Info.consoleFd hasn't been > set yet when xf86EnableIO() is called. I've copied what Linux does > here and used /dev/mem instead, as well as copying Linux in making > errors there non-fatal. Incidentally, the xf86EnableIO() > implementation is one of the shadiest and most questionable things I > have ever seen. I really doubt it does whatever it is meant to do > correctly, but it at least does the same thing old Xorg did now. > -Nathan > I've updated this with a patch 6 for xf86-video-nv that fixes some breakage after the change to use libpciaccess to use I/O ports in xorg-server: the driver was really on some behind-the-scenes behavior (use of IOBase, in particular) that has now apparently been removed. -Nathan From owner-freebsd-ppc@FreeBSD.ORG Mon Jan 20 11:06:51 2014 Return-Path: Delivered-To: freebsd-ppc@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 8CD2DA8C for ; Mon, 20 Jan 2014 11:06:51 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 78F981D78 for ; Mon, 20 Jan 2014 11:06:51 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s0KB6pH8088446 for ; Mon, 20 Jan 2014 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id s0KB6pdA088444 for freebsd-ppc@FreeBSD.org; Mon, 20 Jan 2014 11:06:51 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 20 Jan 2014 11:06:51 GMT Message-Id: <201401201106.s0KB6pdA088444@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-ppc@FreeBSD.org Subject: Current problem reports assigned to freebsd-ppc@FreeBSD.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Jan 2014 11:06:51 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o power/183040 ppc Nested signal handling is broken o power/182908 ppc Unable to build debug binaries with clang on powerpc64 o power/181502 ppc /usr/include/stdint.h 9.2-RC1/powerpc does not compile o power/180593 ppc PowerMac G5 shuts down when building pcre o power/178038 ppc clang++ fails to produce a binary in powerpc64 o power/164225 ppc Boot fails on IBM 7028-6E1 (heap memory claim failed) o power/149009 ppc sysinstall(8) on powerpc fails to install manpages, so o power/140241 ppc [kernel] [patch] Linker set problems on PowerPC EABI o power/135576 ppc gdb cannot debug threaded programs on ppc o power/133503 ppc [sound] Sound stutter after switching ttys o power/131548 ppc ofw_syscons no longer supports 32-bit framebuffer 11 problems total. From owner-freebsd-ppc@FreeBSD.ORG Tue Jan 21 08:40:34 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 ADEAA389 for ; Tue, 21 Jan 2014 08:40:34 +0000 (UTC) Received: from mail-ee0-x234.google.com (mail-ee0-x234.google.com [IPv6:2a00:1450:4013:c00::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 458F411DA for ; Tue, 21 Jan 2014 08:40:34 +0000 (UTC) Received: by mail-ee0-f52.google.com with SMTP id e53so3914917eek.11 for ; Tue, 21 Jan 2014 00:40:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:from:to:content-type:date:message-id:mime-version :content-transfer-encoding; bh=xpQLaEQhxcaea2O/7Sm611JN2o3/hJuFJzAVoiq2wMo=; b=B0BIiu2zYP16/beOB28/Ubbz4n7JqY698BZMz63/+XZqZQDPF3Q0QNSE6QZTktEqt4 rN1Z3u1RI6ezvZhn7eYp/J0hfCzk+YfQ2FfXhCNpC3rpXNoWvG2lniKX/0u8AvvQCcze muALlyg6eRCCcMZHIxlhluD7LslhQnUhHjLmSoy0aATwhvhfYG77LEFUVWOxd9RXYGND N6n0MdeQCtlhFQFt4g2DPlb120q5CtgnCT3xsopbfscxP/xKf75WCPRGrjLLLM/qH+/e godCc3Ie8k85vJtiFSFhvcjs0TCDhrrXLxAdGAP8zY1C/fUd/zP7G5wlWvjKUtk+QWgK XtAA== X-Received: by 10.15.75.68 with SMTP id k44mr22425197eey.57.1390293632594; Tue, 21 Jan 2014 00:40:32 -0800 (PST) Received: from [192.168.1.111] (host249-204-dynamic.16-79-r.retail.telecomitalia.it. [79.16.204.249]) by mx.google.com with ESMTPSA id l4sm12182165een.13.2014.01.21.00.40.31 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Tue, 21 Jan 2014 00:40:31 -0800 (PST) Subject: LibreOffice 4 From: Guido Sintoni To: FreeBSD PowerPC ML Content-Type: text/plain; charset="UTF-8" Date: Tue, 21 Jan 2014 09:42:03 +0100 Message-ID: <1390293723.72557.5.camel@lazarus> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2014 08:40:34 -0000 Hi all. First of all, nice to meet you: I hope you will forget me for my spaghetti-english. I've installed freebsd-ppc on my iMac G5 (32-bit flavour, since the 64-bit most times resulted in a sudden reboot of the system while building the world). Now the machine runs a 9.2-STABLE. I've installed through ports both X and gnome2: my goal is to get a friendly workstation. Everything was OK. While trying to compile LibreOffice 4, I got an 'unsupported cpu' message: has anyone tried to compile LibreOffice or OpenOffice? I've already reported that issue to office-related ml, adding all the stuff required (dmesg, packages installed, configure script). TIA and greetings from Italy! Guido Sintoni From owner-freebsd-ppc@FreeBSD.ORG Tue Jan 21 08:50:06 2014 Return-Path: Delivered-To: freebsd-ppc@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 D32D6596 for ; Tue, 21 Jan 2014 08:50:06 +0000 (UTC) Received: from mail-ob0-x247.google.com (mail-ob0-x247.google.com [IPv6:2607:f8b0:4003:c01::247]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9C1B712DC for ; Tue, 21 Jan 2014 08:50:06 +0000 (UTC) Received: by mail-ob0-f199.google.com with SMTP id vb8so29863337obc.10 for ; Tue, 21 Jan 2014 00:50:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:message-id:date:subject:from:to:content-type; bh=zzaO8cNY9luiWuoYD7oPmcp6qU6vcEDX6XJ3+MvLOZM=; b=n16VComCuRB0ld2vFfD9dBFjJKgU74eIuRUN79Uoxjq08O0aOsqz65YZRBZb7894bS OmrDlPiphIvuPnqDVDA7oLeZ2lkO8PUvQeHcWVqAF+nT5E7xKDTaxc4ia0AYDkqV1cU2 nzNIMnPoZPrDd7zb+u8Jfl0VB7tF3WXp+ZSOcasy1NsigD5A0pN7yqoRCVTiMQBP+41b LSd8JharIV1xcADIuw3dEU5VwN4eOnyIJ3LKFs5JzxS76B5bjMseM2bpSpDovjnSzMwF Tmoy4Aa39TnCZy1f5JyDONhR64e6diQ3IoO78EBPnZuY0aU0r3N1bo26XmZ2meS+tg45 3X9g== MIME-Version: 1.0 X-Received: by 10.50.18.4 with SMTP id s4mr7076941igd.5.1390294205951; Tue, 21 Jan 2014 00:50:05 -0800 (PST) Message-ID: <089e013cb8d647789004f0771839@google.com> Date: Tue, 21 Jan 2014 08:50:05 +0000 Subject: www.freebsd.org From: Anna Garcia To: freebsd-ppc@freebsd.org Content-Type: text/plain; charset=windows-1252; format=flowed; delsp=yes Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2014 08:50:07 -0000 SGksDQoNCkkganVzdCB3YW50ZWQgdG8gc2VuZCB5b3UgYSBxdWljayBub3RlLiBXaXRoIGEgZmV3 IHNpbXBsZSBjaGFuZ2VzIHRvIG1ha2UNCnlvdXIgc2l0ZSBtb3JlIFNFTy1mcmllbmRseSBJkm0g c3VyZSB5b3UgY2FuIGNvbnZlcnQgbW9yZSB2aXNpdG9ycyBpbnRvDQpsZWFkcyBhbmQgZ2V0IGl0 IHBsYWNlZCBoaWdoZXIgaW4gdGhlIG9yZ2FuaWMgc2VhcmNoIHJlc3VsdHMsIGZvciBrZXl3b3Jk cw0KdGhhdCBtYXR0ZXIgdG8geW91IHRoZSBtb3N0Lg0KDQpXZSBhcmUgYW4gQXVzdHJhbGlhbiBi YXNlZCBjb21wYW55IHdpdGggYSBncmVhdCBpbi1ob3VzZSB0ZWNobmljYWwgdGVhbSB3aG8NCnJl YWxseSBrbm93IHRoZWlyIHN0dWZmIGFib3V0IHNlYXJjaCBlbmdpbmUgb3B0aW1pemF0aW9uLg0K DQpXb3VsZCB5b3UgbGlrZSBhIGJpdCBtb3JlIGluZm9ybWF0aW9uIGFib3V0IGhvdyB0byBnaXZl IHlvdXIgd2Vic2l0ZSBhDQpib29zdCB3aXRoIGJldHRlciBTRU8/DQoNCkJlc3QgcmVnYXJkcywN Cg0KQW5uYSBHYXJjaWENClNFTy9XRUIgU3BlY2lhbGlzdA0KDQpbaW1hZ2U6IExpbmtlZEluXSBb aW1hZ2U6IEZhY2Vib29rXSBbaW1hZ2U6IFR3aXR0ZXJdIFtpbWFnZTogU2t5cGVdDQogICAgICAg ICAgICAgUyAgIEUgIE8gICAgICAgICAgICAqU2VhcmNoIEVuZ2luZSBPcHRpbWl6YXRpb24qDQoN CldlIHJlc3BlY3QgeW91ciBwcml2YWN5IGFuZCB3YW50IHRvIG1ha2Ugc3VyZSB5b3UgYXJlIGF3 YXJlIG9mIGEgZmV3DQp0aGluZ3MuIEJ5IHJlcGx5aW5nIHRvIHRoaXMgZW1haWwsIHlvdSBhdXRo b3JpemUgb3VyIEF1c3RyYWxpYW4gYWZmaWxpYXRlcw0KdGhhdCBjYW4gaGVscCB3aXRoIHlvdXIg cHJvamVjdCB0byBjYWxsIHlvdSBhdCB0aGUgbnVtYmVyIHlvdSBwcm92aWRlZCwgYW5kDQp5b3Ug dW5kZXJzdGFuZCB0aGF0IHRoZXkgbWF5IHVzZSBhdXRvbWF0ZWQgcGhvbmUgdGVjaG5vbG9neSB0 byBjYWxsIHlvdS4gQXQNCm5vIHRpbWUgYXJlIHlvdSByZXF1aXJlZCB0byBtYWtlIGEgcHVyY2hh c2UuDQo= From owner-freebsd-ppc@FreeBSD.ORG Tue Jan 21 08:52:24 2014 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id 38C7EDBC; Tue, 21 Jan 2014 08:52:24 +0000 (UTC) Date: Tue, 21 Jan 2014 08:52:24 +0000 From: Alexey Dokuchaev To: Guido Sintoni Subject: Re: LibreOffice 4 Message-ID: <20140121085224.GA40658@FreeBSD.org> References: <1390293723.72557.5.camel@lazarus> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1390293723.72557.5.camel@lazarus> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2014 08:52:24 -0000 On Tue, Jan 21, 2014 at 09:42:03AM +0100, Guido Sintoni wrote: > While trying to compile LibreOffice 4, I got an 'unsupported cpu' > message: has anyone tried to compile LibreOffice or OpenOffice? Unfortunately, LibreOffice and OpenOffice are not very well maintained these days; they don't even build on i386 under some circumstances. I plan to fix editors/openoffice-3 port in the following days; if I'm lucky, it will also cover PowerPC build. ./danfe From owner-freebsd-ppc@FreeBSD.ORG Tue Jan 21 09:03:37 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 F219D61E; Tue, 21 Jan 2014 09:03:37 +0000 (UTC) Received: from mail-ea0-f169.google.com (mail-ea0-f169.google.com [209.85.215.169]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 612E01571; Tue, 21 Jan 2014 09:03:37 +0000 (UTC) Received: by mail-ea0-f169.google.com with SMTP id l9so3131086eaj.0 for ; Tue, 21 Jan 2014 01:02:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:from:to:cc:in-reply-to:references:content-type:date :message-id:mime-version:content-transfer-encoding; bh=tAF3+CHSu8Dhri/tbxXKM6elOyXtom6DKgoedVnZMNM=; b=cUI8JrGUgPYR8Hvbz9SZzCZyR1lNvXWSyN2noaafY6VPtPFYElEgtv+DibAkv48JAH 5tX8XPDsTDuruHJ5BZyZp2yd2JPS/fvTnxwI1Lxo1g+TEK9tMCtK/rywIIeqrD2YePz3 p2cJvBHY3Ba62H55QGPc0JIf2ubHr3/LCcHL2tr6YxVIwQskaSh6L8jXJBhfIwCuJ1Mk m8fEDOY4BxyYIL/F+16gVWQ705qGcvFK+ytLDNiWYM3Jhz3WVP4SGtZrpNPt1G4EXcwV HkdjZKar6bhLDBF2G1vylzlVYuoUYWl3QxvJe/XbAQisUiKWGPm6tv5EE5ofrgXU1AWr lcHQ== X-Received: by 10.14.37.131 with SMTP id y3mr22182654eea.1.1390294974728; Tue, 21 Jan 2014 01:02:54 -0800 (PST) Received: from [192.168.1.111] (host249-204-dynamic.16-79-r.retail.telecomitalia.it. [79.16.204.249]) by mx.google.com with ESMTPSA id o13sm12379781eex.19.2014.01.21.01.02.49 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Tue, 21 Jan 2014 01:02:54 -0800 (PST) Subject: Re: LibreOffice 4 From: Guido Sintoni To: Alexey Dokuchaev In-Reply-To: <20140121085224.GA40658@FreeBSD.org> References: <1390293723.72557.5.camel@lazarus> <20140121085224.GA40658@FreeBSD.org> Content-Type: text/plain; charset="UTF-8" Date: Tue, 21 Jan 2014 10:04:25 +0100 Message-ID: <1390295065.93928.2.camel@lazarus> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2014 09:03:38 -0000 Thank you a lot Alexey. I must guess these are busy days due to the release of FreeBSD 10 and the underlying switch from cc to clang. So do I have to think that the branch 3 of OO is the most likely to be working on my platform? TIA for your kind replay and thank you for your attention. Ciao Guido Sintoni Il giorno Mar, 21/01/2014 alle 08.52 +0000, Alexey Dokuchaev ha scritto: > On Tue, Jan 21, 2014 at 09:42:03AM +0100, Guido Sintoni wrote: > > While trying to compile LibreOffice 4, I got an 'unsupported cpu' > > message: has anyone tried to compile LibreOffice or OpenOffice? > > Unfortunately, LibreOffice and OpenOffice are not very well maintained these > days; they don't even build on i386 under some circumstances. I plan to > fix editors/openoffice-3 port in the following days; if I'm lucky, it will > also cover PowerPC build. > > ./danfe From owner-freebsd-ppc@FreeBSD.ORG Tue Jan 21 12:36:54 2014 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id E9AEF28F; Tue, 21 Jan 2014 12:36:54 +0000 (UTC) Date: Tue, 21 Jan 2014 12:36:54 +0000 From: Alexey Dokuchaev To: Guido Sintoni Subject: Re: LibreOffice 4 Message-ID: <20140121123654.GA98308@FreeBSD.org> References: <1390293723.72557.5.camel@lazarus> <20140121085224.GA40658@FreeBSD.org> <1390295065.93928.2.camel@lazarus> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1390295065.93928.2.camel@lazarus> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2014 12:36:55 -0000 On Tue, Jan 21, 2014 at 10:04:25AM +0100, Guido Sintoni wrote: > So do I have to think that the branch 3 of OO is the most likely to be > working on my platform? I don't really have any hard predilection for OO3, but I liked it better than LO, so I figured I start with it. If there's enough demand for a working suite on PowerPC, I will take a look at OO4 and LO after that. ./danfe From owner-freebsd-ppc@FreeBSD.ORG Tue Jan 21 14:00:52 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 AF084936 for ; Tue, 21 Jan 2014 14:00:52 +0000 (UTC) Received: from baobab.bilink.net (baobab.bilink.net [212.45.144.44]) by mx1.freebsd.org (Postfix) with ESMTP id 66DCD101E for ; Tue, 21 Jan 2014 14:00:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by baobab.bilink.it (Postfix) with ESMTP id 3f7rpz389HzCy24 for ; Tue, 21 Jan 2014 14:55:07 +0100 (CET) X-Virus-Scanned: amavisd-new at mcs.it Received: from baobab.bilink.net ([127.0.0.1]) by localhost (baobab.mcs.it [127.0.0.1]) (amavisd-new, port 11027) with ESMTP id oRtDBpTI1gte for ; Tue, 21 Jan 2014 14:55:07 +0100 (CET) Received: from hermes.mcs.it (hermes.mcs.it [192.168.132.21]) by baobab.bilink.it (Postfix) with ESMTP id 3f7rpz277czCy20 for ; Tue, 21 Jan 2014 14:55:07 +0100 (CET) Received: from puffo.bilink.net (unknown [192.168.44.6]) by hermes.mcs.it (Postfix) with ESMTP id 0127B1B7515 for ; Tue, 21 Jan 2014 14:55:06 +0100 (CET) Date: Tue, 21 Jan 2014 14:55:06 +0100 From: Luciano Mannucci To: freebsd-ppc@freebsd.org Subject: Re: LibreOffice 4 Message-ID: <20140121145506.6f485d01@puffo.bilink.net> In-Reply-To: <20140121123654.GA98308@FreeBSD.org> References: <1390293723.72557.5.camel@lazarus> <20140121085224.GA40658@FreeBSD.org> <1390295065.93928.2.camel@lazarus> <20140121123654.GA98308@FreeBSD.org> Organization: MediaConsultants srl X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; amd64-portbld-freebsd9.2) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2014 14:00:52 -0000 On Tue, 21 Jan 2014 12:36:54 +0000 Alexey Dokuchaev wrote: > If there's enough demand for a > working suite on PowerPC, I will take a look at OO4 and LO after that. I bet there is... :) :) :) Count on me for beta testing on PPC 32. Cheers, Luciano Mannucci. -- /"\ /Via A. Salaino, 7 - 20144 Milano (Italy) \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 X AGAINST HTML MAIL / E-MAIL: posthamster@sublink.sublink.ORG / \ AND POSTINGS / WWW: http://www.lesassaie.IT/ From owner-freebsd-ppc@FreeBSD.ORG Tue Jan 21 14:24:13 2014 Return-Path: Delivered-To: freebsd-ppc@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 B0D18DE9 for ; Tue, 21 Jan 2014 14:24:13 +0000 (UTC) Received: from mail-ve0-x236.google.com (mail-ve0-x236.google.com [IPv6:2607:f8b0:400c:c01::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6B56E1280 for ; Tue, 21 Jan 2014 14:24:13 +0000 (UTC) Received: by mail-ve0-f182.google.com with SMTP id jy13so1871464veb.13 for ; Tue, 21 Jan 2014 06:24:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=utgzri+eu9APnnkfcMfcJUGCBLfGUMAv0FwiRWtMJMw=; b=Fv07T8Y3bbUe1Vx9HqWZocB1oZ+TBwFkAS2pCyY2DttrtBW6bheyWCtcxLxs8ZEfU/ uwmRSihcUQfhzz+1zsG0Wc3wI31SwrFgC5f4/leZjEyiszkSPXvaMDtXkytOuhn5dSfx fXYmCG8/7GCjed/3a0se2hjo1KEd/8HcjvvRNlcVVhSpLj+X/nvMxLNCNwy599CLKj+v 0DuV+niDis4kM8PQHvvjssaKjTUsDBzMcFbyjTHeNcCJuP597xaLL+1AqZ0FQos/jrfs 6iDgNhs+ul/qORL1BshQrT0zDo3mePGlMhgj9POlD/P2N/KaMzfDdGKGNNe6NvnxkA0K gckQ== MIME-Version: 1.0 X-Received: by 10.58.208.130 with SMTP id me2mr14979127vec.13.1390314252513; Tue, 21 Jan 2014 06:24:12 -0800 (PST) Received: by 10.58.143.46 with HTTP; Tue, 21 Jan 2014 06:24:12 -0800 (PST) In-Reply-To: <20140121145506.6f485d01@puffo.bilink.net> References: <1390293723.72557.5.camel@lazarus> <20140121085224.GA40658@FreeBSD.org> <1390295065.93928.2.camel@lazarus> <20140121123654.GA98308@FreeBSD.org> <20140121145506.6f485d01@puffo.bilink.net> Date: Tue, 21 Jan 2014 15:24:12 +0100 Message-ID: Subject: Re: LibreOffice 4 From: guido sintoni To: Luciano Mannucci Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2014 14:24:13 -0000 same for me :) ty alexey! guido 2014/1/21 Luciano Mannucci > On Tue, 21 Jan 2014 12:36:54 +0000 > Alexey Dokuchaev wrote: > > > If there's enough demand for a > > working suite on PowerPC, I will take a look at OO4 and LO after that. > I bet there is... :) :) :) > Count on me for beta testing on PPC 32. > > Cheers, > > Luciano Mannucci. > -- > /"\ /Via A. Salaino, 7 - 20144 Milano (Italy) > \ / ASCII RIBBON CAMPAIGN / PHONE : +39 2 485781 FAX: +39 2 48578250 > X AGAINST HTML MAIL / E-MAIL: posthamster@sublink.sublink.ORG > / \ AND POSTINGS / WWW: http://www.lesassaie.IT/ > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" > From owner-freebsd-ppc@FreeBSD.ORG Tue Jan 21 17:18:48 2014 Return-Path: Delivered-To: freebsd-ppc@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 648704BA; Tue, 21 Jan 2014 17:18:48 +0000 (UTC) Received: from mail-bk0-x22b.google.com (mail-bk0-x22b.google.com [IPv6:2a00:1450:4008:c01::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C51DB132E; Tue, 21 Jan 2014 17:18:47 +0000 (UTC) Received: by mail-bk0-f43.google.com with SMTP id mx11so1570722bkb.30 for ; Tue, 21 Jan 2014 09:18:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=jBRum2aok9F53JiqjQgW3FTL6P7w+J3QJLlfK8Jx4ec=; b=TRLoE+oB97//mhwHmlS0eiGtv9Pt5PTpYOViasmuWg5PWSEZ5qk98e/Uh7Jc2M4Jjv QQPbQ+Ydv5plSaPZbQx+MeVvfuFzbylPFxziFe/bx6Olr1gIDJAQ2/JLeIynFSq9ls4R 2qQ/JfXE4hh7KnrcppNAEjxJ3Ty9ggRJxyGdzFMwap3clvNUc0lm0HIiP287uq8Ral1/ B7KP6xKkVKse/Lqau4OD6W8R+LvdZBPrYS2Bs2khZhhLnMZyvPL8mwSKk6Mue5QwcjID 4Z7MgK0JFh8CdemypN1Dv6JH4PdKdCyW87se4gnjth8LIYCW+Sh1drugF7VzzW23l9Zh G5+Q== MIME-Version: 1.0 X-Received: by 10.205.64.136 with SMTP id xi8mr566353bkb.143.1390324725937; Tue, 21 Jan 2014 09:18:45 -0800 (PST) Sender: chmeeedalf@gmail.com Received: by 10.205.21.66 with HTTP; Tue, 21 Jan 2014 09:18:45 -0800 (PST) In-Reply-To: <20140121123654.GA98308@FreeBSD.org> References: <1390293723.72557.5.camel@lazarus> <20140121085224.GA40658@FreeBSD.org> <1390295065.93928.2.camel@lazarus> <20140121123654.GA98308@FreeBSD.org> Date: Tue, 21 Jan 2014 09:18:45 -0800 X-Google-Sender-Auth: tRt1Cup2BhSGnCtcycoowGvi05A Message-ID: Subject: Re: LibreOffice 4 From: Justin Hibbits To: Alexey Dokuchaev Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2014 17:18:48 -0000 Alexey, On Tue, Jan 21, 2014 at 4:36 AM, Alexey Dokuchaev wrote: > On Tue, Jan 21, 2014 at 10:04:25AM +0100, Guido Sintoni wrote: >> So do I have to think that the branch 3 of OO is the most likely to be >> working on my platform? > > I don't really have any hard predilection for OO3, but I liked it better > than LO, so I figured I start with it. If there's enough demand for a > working suite on PowerPC, I will take a look at OO4 and LO after that. > > ./danfe That would be fantastic! I've tried building it in the past, and always failed miserably. One thing I should warn you, though, is the types.rdb, and all .rdb files, will cause problems on big-endian. See: https://issues.apache.org/ooo/show_bug.cgi?id=102505 It may be a simple fix, but I haven't sat down long enough to attempt it. Good luck, and as others, I will readily test anything you have for PowerPC. - Justin From owner-freebsd-ppc@FreeBSD.ORG Tue Jan 21 20:34:50 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 677113E7 for ; Tue, 21 Jan 2014 20:34:50 +0000 (UTC) Received: from mail-oa0-x230.google.com (mail-oa0-x230.google.com [IPv6:2607:f8b0:4003:c02::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2A65B1657 for ; Tue, 21 Jan 2014 20:34:50 +0000 (UTC) Received: by mail-oa0-f48.google.com with SMTP id l6so4972047oag.21 for ; Tue, 21 Jan 2014 12:34:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=NuMBYX4SjErnq3IagHXgfofzsAYTTFjaHEna/m/pRwU=; b=bt3ksOWJLtnEMEvZBAfPU5K7Ub0b+MkHV1eyiJ7v6QQZdGNePxP1gVgcnDM3X55sin 2TAhk81eNMoEv7xWQiFfU1immil0JKtYxcz9Rc1pgX+3WR2NOgogvpgioCNnMqS6lSAi 5YndXE4r8e5NcIM+YvtEymu5Vi5KuPvIFHiU2A4AmEB25VA3r1yRbi/QAq6U5uriStRT eS+Xa2atWcP17Qh4B4wFErDNAUXRBf1AiOqQQwoepSODucKfn3YqQOWAGMmc198UEoyE fqFgQvOOOd6iAfNV04cdQwYsGsnup5SpX/VmuQHc+ioWoVH9VZle6d/z5tNTCberbqd4 B5ow== MIME-Version: 1.0 X-Received: by 10.182.112.130 with SMTP id iq2mr3497666obb.57.1390336489280; Tue, 21 Jan 2014 12:34:49 -0800 (PST) Received: by 10.76.33.99 with HTTP; Tue, 21 Jan 2014 12:34:49 -0800 (PST) In-Reply-To: References: <20140118162706.1ff7435a@zhabar.gateway.2wire.net> Date: Tue, 21 Jan 2014 15:34:49 -0500 Message-ID: Subject: Re: Installation of 9.2 or 10.0-RC2 to Powerbook G4 1.67 From: Britt Dodd To: Justin Hibbits Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jan 2014 20:34:50 -0000 Justin, Haven't forgotten about you. I really want to test this, but I have to teach myself FreeBSD. I come from the Gentoo/Linux side of things, so it's familiar, but completely different at the same time. Once I figure out how to build FreeBSD from inside of FreeBSD and get an ISO written, i'll test it out. BTW Once I have the powerbook up, I'll have three PPC machines that I can give jail access to for builds. I'll let everybody know (if interested) when I get them 100% setup On Sat, Jan 18, 2014 at 7:38 PM, Britt Dodd wrote: > Awesome! I've got it running on the G5 (Dual 2.3) and I'll load the G4 > XServe running tomorrow. > > Thank you for your contribution! I'm very excited to try it out > On Jan 18, 2014 7:27 PM, "Justin Hibbits" wrote: > >> Hi Britt, >> >> I have just committed a fix for this in head, r260872. I'll be MFCing >> it to stable/10 and stable/9 next week. Until then, you could try >> building a bootable CD on another machine, for head, and give it a go. >> >> - Justin >> >> On Fri, 3 Jan 2014 18:56:55 -0500 >> Britt Dodd wrote: >> >> > Excellent! If *anybody* needs ppc32/ppc64 testing or shell access for >> > compiling, please message me. >> > >> > Thanks Justin for your reply. Is this error present in 8.x releases? >> > Do you think I could run 8.x until the patch comes out, and then >> > somehow upgrade to 10.0-RC2+? >> > >> > >> > >> > >> > On Fri, Jan 3, 2014 at 6:53 PM, Justin Hibbits >> > wrote: >> > >> > > Hi Britt, >> > > >> > > On Jan 3, 2014 12:21 PM, "Britt Dodd" wrote: >> > > > >> > > > Good afternoon, >> > > > >> > > > I'd like to begin by saying that while I do have a bunch of x86 >> > > > systems, I'd also like to make (limited) use of powerpc hardware >> > > > -- mainly a Powerbook G4, an XServe G5 and a XServe G4 (it'll be >> > > > the 'garage mac'). >> > > > >> > > > OSX support died with 10.5. A bunch of Linux distros totally >> > > > dropped building for ppc/32. I'm starting to really get attached >> > > > to running >> > > FreeBSD >> > > > and would like to install it on my powerpc equipment. >> > > > >> > > > I attempted to load the LiveCD in my powerbook, and maybe 2 >> > > > seconds into bootup (with tty output on screen) the entire system >> > > > abruptly shuts off. >> > > > >> > > > Any hints? >> > > > >> > > > >> > > > Britt >> > > >> > > I see this very issue, and I think it is caused by the PMU being >> > > initialized early, and not emptying the mailbox. I will be testing >> > > a patch in the next few weeks when I get time to tackle this, and >> > > hopefully a fix will be in soon. >> > > >> > > -Justin >> > > >> > From owner-freebsd-ppc@FreeBSD.ORG Wed Jan 22 02:56:37 2014 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id D2691D1F; Wed, 22 Jan 2014 02:56:37 +0000 (UTC) Date: Wed, 22 Jan 2014 02:56:37 +0000 From: Alexey Dokuchaev To: Justin Hibbits Subject: Re: LibreOffice 4 Message-ID: <20140122025637.GA32927@FreeBSD.org> References: <1390293723.72557.5.camel@lazarus> <20140121085224.GA40658@FreeBSD.org> <1390295065.93928.2.camel@lazarus> <20140121123654.GA98308@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.22 (2013-10-16) Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2014 02:56:37 -0000 On Tue, Jan 21, 2014 at 09:18:45AM -0800, Justin Hibbits wrote: > That would be fantastic! I've tried building it in the past, and > always failed miserably. One thing I should warn you, though, is the > types.rdb, and all .rdb files, will cause problems on big-endian. Yeah, I'm aware there might be dragons. :-) > See: https://issues.apache.org/ooo/show_bug.cgi?id=102505 It may be a > simple fix, but I haven't sat down long enough to attempt it. Thanks for the helpful pointers, I'll surely make use of them! ./danfe From owner-freebsd-ppc@FreeBSD.ORG Wed Jan 22 15:33:23 2014 Return-Path: Delivered-To: powerpc@FreeBSD.org Received: by hub.freebsd.org (Postfix, from userid 1033) id A1938C38; Wed, 22 Jan 2014 15:33:23 +0000 (UTC) Date: Wed, 22 Jan 2014 15:33:23 +0000 From: Alexey Dokuchaev To: powerpc@FreeBSD.org Subject: Tightening kernel for Mac Mini G4 Message-ID: <20140122153323.GA3637@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.22 (2013-10-16) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2014 15:33:23 -0000 Hi there, Today I've brought to life an old rusted Mac Mini G4 which was almost thrown into the garbage. I've just installed some fresh snapshot of -CURRENT on it, and now building world. Before I get to the kernel stage, I have couple of questions (to minimize the chances of hooking up console again if I screw up along the way). I'm used to trimming the kernel config down as much as possible (yes, that means "nodevice mem" and "nodevice io" at least on i386). This brings me to the first question: do I read it correctly that "device io" is x86 specific and I don't need it on ppc? Second question is about ATA subsystem. Per dmesg(8): ata0: mem 0x20000-0x20fff,0x8800-0x88ff irq 24,12 on macio0 ata1: mem 0xf5004000-0xf5007fff irq 39 at device 13.0 on pci2 ada0 at ata1 bus 0 scbus1 target 0 lun 0 ada0: ATA-6 deviceuhub1: 3 ports with 3 removable, self powered Normally on x86 I omit ATA stuff completely from kernel config, and just add ataintel_load="YES" (on pre-AHCI system) in /boot/loader.conf, which in turn loads all necessary dependencies (atapci.ko, etc.). Since "ataintel" hardly applies to my G4: 1) can I remove ATA from my MACMINI kernel config?, and 2) what shall I add to /boot/loader.conf to enable the disk in Mac Mini G4? Is atapci.ko (or simply ata.ko) enough? I do not see MacIO- or Kauai-related .ko files under /boot/kernel, hence the question. Third, about this section of powerpc/GENERIC, seemingly PowerPC-related: device iicbus # I2C bus code device kiic # Keywest I2C device ad7417 # PowerMac7,2 temperature sensor device ds1631 # PowerMac11,2 temperature sensor device ds1775 # PowerMac7,2 temperature sensor device fcu # Apple Fan Control Unit device max6690 # PowerMac7,2 temperature sensor device powermac_nvram # Open Firmware configuration NVRAM ^^^^^^^^^^^^^^ How is this one related to nvram.ko? Do I need to add nvram_load="YES" to /boot/loader.conf to be able to interact with OF nvram from userland? Do I have to keep "powermac_nvram" in kernel config at the same time? device smu # Apple System Management Unit device windtunnel # Apple G4 MDD fan controller None of these seems to be modularized, so: which of them are required for Mac Mini G4? Fourth question is of less importance, but still. In powerpc/GENERIC, I see this sound support section: device sound # Generic sound driver (required) device snd_ai2s # Apple I2S audio device snd_davbus # Apple DAVBUS audio device snd_uaudio # USB Audio But nonetheless: $ mixer mixer: /dev/mixer: No such file or directory Is internal sound card supported? If yes, which module should I load? Thanks, ./danfe From owner-freebsd-ppc@FreeBSD.ORG Wed Jan 22 16:25:59 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 AB919DE4; Wed, 22 Jan 2014 16:25:59 +0000 (UTC) Received: from mail-pa0-x231.google.com (mail-pa0-x231.google.com [IPv6:2607:f8b0:400e:c03::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7216D18D2; Wed, 22 Jan 2014 16:25:59 +0000 (UTC) Received: by mail-pa0-f49.google.com with SMTP id hz1so589554pad.22 for ; Wed, 22 Jan 2014 08:25:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=8Lpfl6Mu44MRFxDY8EEdjNgpOW9brKdYHV9vR/fDu+Q=; b=0hfDEdRdYGVwfIqfYcS5vBLuohprVqG6oZfI4vpq+q+BFfm2P9qkON4LjTfU+AFim0 ATaX7ANBOaAdOOgNbO97IuUDIowOz8DGzYVG4Vo2kx7WVlwbCJpylH6DQhvvcLhhQz1Q RXCPtwp6b5OPa/+CtMdrF+nggdjcnBLhdIyWt7J0+NCYs9AqMxuRUs4wZtL55ZbBQJ3l h4gjlcJDASggyH0ZhUDHsd1peDwc4ndA7YTnvIWQznneebqn4tgCt9OkhzY1RBVuHR+3 nTtPvOLeY0RKYywVpGgxjBafOhu6UNdc+TtIkN4FXSPB0nJhCDCWDJyt8iJ2xv8ptunw gznA== X-Received: by 10.69.0.39 with SMTP id av7mr2668562pbd.4.1390407947795; Wed, 22 Jan 2014 08:25:47 -0800 (PST) Received: from zhabar.gateway.2wire.net (76-253-2-5.lightspeed.sntcca.sbcglobal.net. [76.253.2.5]) by mx.google.com with ESMTPSA id tu3sm25013517pbc.40.2014.01.22.08.25.46 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Wed, 22 Jan 2014 08:25:47 -0800 (PST) Date: Wed, 22 Jan 2014 08:25:42 -0800 From: Justin Hibbits To: Alexey Dokuchaev Subject: Re: Tightening kernel for Mac Mini G4 Message-ID: <20140122082542.745de133@zhabar.gateway.2wire.net> In-Reply-To: <20140122153323.GA3637@FreeBSD.org> References: <20140122153323.GA3637@FreeBSD.org> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; powerpc64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: powerpc@FreeBSD.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2014 16:25:59 -0000 On Wed, 22 Jan 2014 15:33:23 +0000 Alexey Dokuchaev wrote: > Hi there, > > Today I've brought to life an old rusted Mac Mini G4 which was almost > thrown into the garbage. I've just installed some fresh snapshot of > -CURRENT on it, and now building world. Before I get to the kernel > stage, I have couple of questions (to minimize the chances of hooking > up console again if I screw up along the way). > > I'm used to trimming the kernel config down as much as possible (yes, > that means "nodevice mem" and "nodevice io" at least on i386). This > brings me to the first question: do I read it correctly that "device > io" is x86 specific and I don't need it on ppc? Yes, "device io" is for using the I/O ports on the x86 CPU. PowerPC doesn't use I/O ports, it's purely mmio, and in PowerMacs that's done with the macio. > > Second question is about ATA subsystem. Per dmesg(8): > > ata0: mem > 0x20000-0x20fff,0x8800-0x88ff irq 24,12 on macio0 > ata1: mem 0xf5004000-0xf5007fff irq > 39 at device 13.0 on pci2 > ada0 at ata1 bus 0 scbus1 target 0 lun 0 > ada0: ATA-6 deviceuhub1: 3 ports with 3 > removable, self powered > > Normally on x86 I omit ATA stuff completely from kernel config, and > just add ataintel_load="YES" (on pre-AHCI system) > in /boot/loader.conf, which in turn loads all necessary dependencies > (atapci.ko, etc.). Since "ataintel" hardly applies to my G4: 1) can > I remove ATA from my MACMINI kernel config?, and 2) what shall I add > to /boot/loader.conf to enable the disk in Mac Mini G4? Is atapci.ko > (or simply ata.ko) enough? I do not see MacIO- or Kauai-related .ko > files under /boot/kernel, hence the question. ata_macio and ata_kauai aren't available as modules. It's probably trivial to make them such, but currently they're not. Just keep the devices in kernel config. > > Third, about this section of powerpc/GENERIC, seemingly > PowerPC-related: > > device iicbus # I2C bus code > device kiic # Keywest I2C > device ad7417 # PowerMac7,2 temperature sensor > device ds1631 # PowerMac11,2 temperature sensor > device ds1775 # PowerMac7,2 temperature sensor > device fcu # Apple Fan Control Unit > device max6690 # PowerMac7,2 temperature sensor > device powermac_nvram # Open Firmware configuration NVRAM powermac_nvram is different from nvram. nvram is CMOS (PC) according to the source code, powermac_nvram is OpenFirmware configuration. It can be pulled out and loaded as a module, and isn't required for 99% of what you would want to do anyway. fcu can be pulled out. The others can be modules as well. > ^^^^^^^^^^^^^^ > How is this one related to nvram.ko? Do I need to add > nvram_load="YES" to /boot/loader.conf to be able to interact with OF > nvram from userland? Do I have to keep "powermac_nvram" in kernel > config at the same time? > > device smu # Apple System Management Unit > device windtunnel # Apple G4 MDD fan controller Neither of these are necessary for you. I should probably eventually modularize windtunnel driver (and give it a better name). SMU is for G5 systems, PMU is for G4 and G3 systems. > None of these seems to be modularized, so: which of them are required > for Mac Mini G4? > > Fourth question is of less importance, but still. In > powerpc/GENERIC, I see this sound support section: > > device sound # Generic sound driver (required) > device snd_ai2s # Apple I2S audio > device snd_davbus # Apple DAVBUS audio > device snd_uaudio # USB Audio > > But nonetheless: > > $ mixer > mixer: /dev/mixer: No such file or directory > > Is internal sound card supported? If yes, which module should I load? > > Thanks, > > ./danfe Can you drop the output of 'ofwdump -ap' somewhere (freefall?) and I can take a look at it. Internal sound on most PowerPC Apple hardware is supported, I'm curious why yours isn't. - Justin From owner-freebsd-ppc@FreeBSD.ORG Wed Jan 22 18:19:58 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 5AD06FB3; Wed, 22 Jan 2014 18:19:58 +0000 (UTC) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E5B5913D9; Wed, 22 Jan 2014 18:19:57 +0000 (UTC) Received: from deuterium.andreas.nets (dhclient-91-190-14-19.flashcable.ch [91.190.14.19]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id s0MHoTfE019494; Wed, 22 Jan 2014 18:50:44 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Message-ID: <52E004E5.3080608@fgznet.ch> Date: Wed, 22 Jan 2014 18:50:29 +0100 From: Andreas Tobler User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Justin Hibbits , Alexey Dokuchaev Subject: Re: Tightening kernel for Mac Mini G4 References: <20140122153323.GA3637@FreeBSD.org> <20140122082542.745de133@zhabar.gateway.2wire.net> In-Reply-To: <20140122082542.745de133@zhabar.gateway.2wire.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: powerpc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Jan 2014 18:19:58 -0000 On 22.01.14 17:25, Justin Hibbits wrote: > On Wed, 22 Jan 2014 15:33:23 +0000 > Alexey Dokuchaev wrote: >> Fourth question is of less importance, but still. In >> powerpc/GENERIC, I see this sound support section: >> >> device sound # Generic sound driver (required) >> device snd_ai2s # Apple I2S audio >> device snd_davbus # Apple DAVBUS audio >> device snd_uaudio # USB Audio >> >> But nonetheless: >> >> $ mixer >> mixer: /dev/mixer: No such file or directory >> >> Is internal sound card supported? If yes, which module should I load? >> >> Thanks, >> >> ./danfe > > Can you drop the output of 'ofwdump -ap' somewhere (freefall?) and I > can take a look at it. Internal sound on most PowerPC Apple hardware > is supported, I'm curious why yours isn't. Sound works but it lacks a 'visible' codec. In the device tree there is no codec mentioned. It has a simple DAC called toonie. And the driver for this is missing. If the codec is missing, the mixer device is also missing. It is enough when you have: device sound # Generic sound driver (required) device snd_ai2s # Apple I2S audio If you have an external USB gadget then you can use snd_audio. Works fine with low-cost (high-quality) usb-ad/da. Andreas From owner-freebsd-ppc@FreeBSD.ORG Thu Jan 23 04:49:22 2014 Return-Path: Delivered-To: powerpc@FreeBSD.org Received: by hub.freebsd.org (Postfix, from userid 1033) id 81EE0EA0; Thu, 23 Jan 2014 04:49:22 +0000 (UTC) Date: Thu, 23 Jan 2014 04:49:22 +0000 From: Alexey Dokuchaev To: Justin Hibbits Subject: Re: Tightening kernel for Mac Mini G4 Message-ID: <20140123044922.GA29547@FreeBSD.org> References: <20140122153323.GA3637@FreeBSD.org> <20140122082542.745de133@zhabar.gateway.2wire.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140122082542.745de133@zhabar.gateway.2wire.net> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: powerpc@FreeBSD.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jan 2014 04:49:22 -0000 On Wed, Jan 22, 2014 at 08:25:42AM -0800, Justin Hibbits wrote: > ata_macio and ata_kauai aren't available as modules. It's probably > trivial to make them such, but currently they're not. Just keep the > devices in kernel config. OK, I can live with "device ATA" for a while; but ultimately I do think that ata_macio and ata_kauai should be factored out as modules (similar with our existing x86 ata stuff). Ideally, all hardware-dependent stuff should be modular. > Neither of these are necessary for you. I should probably eventually > modularize windtunnel driver (and give it a better name). SMU is for > G5 systems, PMU is for G4 and G3 systems. Great, I've removed entire "Misc" section of the config. I'm wondering if I can do the same for ADB support? There are no ADB connectors for peripherals on Mac Mini; is ADB still required (used internally)? All three devices (adb, cuda, pmu) or something can be dropped out? > Can you drop the output of 'ofwdump -ap' somewhere (freefall?) and I > can take a look at it. Internal sound on most PowerPC Apple hardware > is supported, I'm curious why yours isn't. Sure, have a look: ~danfe/macmini-g4-ofw.dump. ./danfe P.S. "make -j2 buildworld" on tmpfs-backed OBJDIR took 12 hours (default -CURRENT, i.e. reduced performance) and used 1,2G of tmpfs (and 76% of 1G swap). Replacing default 256M of RAM with 1G module was definitely a good idea. Alas, "make buildkernel" (without cleaning after buildworld) caused it to run out of memory. :( From owner-freebsd-ppc@FreeBSD.ORG Thu Jan 23 05:46:28 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 5A2A3835; Thu, 23 Jan 2014 05:46:28 +0000 (UTC) Received: from mail-pa0-x232.google.com (mail-pa0-x232.google.com [IPv6:2607:f8b0:400e:c03::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 271B61128; Thu, 23 Jan 2014 05:46:28 +0000 (UTC) Received: by mail-pa0-f50.google.com with SMTP id kp14so1404643pab.23 for ; Wed, 22 Jan 2014 21:46:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=7qA0wewdwN1t0g3SIR0ottWvs7r0pNH1zGVgpE4vVbw=; b=TBZWxRqUweWB9oy7OTJpPQzR55RXUlQ3AithTnemqb6tzwpvkRVnxaB8B5MOvYnNPz xH/2ei7mQS1q8Bar473BI19uha3hHp1yZZ7NjyLGJ5YjsW+y4iJbipRjfFfytY4fy4Gz KJSbvtTRQ4VIsnR6qdVPVF4y3Gysqud95iWMdu3KrbHQat+2rMCT9QrJCAXyaquuOH5w qJ59kYBTR/h+gzkeSw7+2TkOmAm4El8pNunwoAtxXDpGONmVFIPReAkk89dx+OppTAgO FP0InopQNAHRXlQK/SVv6rQuezVRRmXjQIarDU2AYF6VydGCAVmxOAEmhCHAUJWPlzS/ 1eHQ== X-Received: by 10.66.233.71 with SMTP id tu7mr6178462pac.22.1390455987186; Wed, 22 Jan 2014 21:46:27 -0800 (PST) Received: from zhabar.gateway.2wire.net (76-253-2-5.lightspeed.sntcca.sbcglobal.net. [76.253.2.5]) by mx.google.com with ESMTPSA id om6sm31629948pbc.43.2014.01.22.21.46.25 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Wed, 22 Jan 2014 21:46:26 -0800 (PST) Date: Wed, 22 Jan 2014 21:46:22 -0800 From: Justin Hibbits To: Alexey Dokuchaev Subject: Re: Tightening kernel for Mac Mini G4 Message-ID: <20140122214622.62b36222@zhabar.gateway.2wire.net> In-Reply-To: <20140123044922.GA29547@FreeBSD.org> References: <20140122153323.GA3637@FreeBSD.org> <20140122082542.745de133@zhabar.gateway.2wire.net> <20140123044922.GA29547@FreeBSD.org> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; powerpc64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: powerpc@FreeBSD.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jan 2014 05:46:28 -0000 On Thu, 23 Jan 2014 04:49:22 +0000 Alexey Dokuchaev wrote: > On Wed, Jan 22, 2014 at 08:25:42AM -0800, Justin Hibbits wrote: > > ata_macio and ata_kauai aren't available as modules. It's probably > > trivial to make them such, but currently they're not. Just keep the > > devices in kernel config. > > OK, I can live with "device ATA" for a while; but ultimately I do > think that ata_macio and ata_kauai should be factored out as modules > (similar with our existing x86 ata stuff). Ideally, all > hardware-dependent stuff should be modular. That shouldn't be too difficult. Just needs someone to take the time to do it. > > Neither of these are necessary for you. I should probably > > eventually modularize windtunnel driver (and give it a better > > name). SMU is for G5 systems, PMU is for G4 and G3 systems. > > Great, I've removed entire "Misc" section of the config. I'm > wondering if I can do the same for ADB support? There are no ADB > connectors for peripherals on Mac Mini; is ADB still required (used > internally)? All three devices (adb, cuda, pmu) or something can be > dropped out? ADB is unnecessary, as is cuda. PMU isn't strictly necessary, but I'm in the process of adding more capabilities to our PMU driver, so you may want to keep it, but it's not required for operation. > > Can you drop the output of 'ofwdump -ap' somewhere (freefall?) and I > > can take a look at it. Internal sound on most PowerPC Apple > > hardware is supported, I'm curious why yours isn't. > > Sure, have a look: ~danfe/macmini-g4-ofw.dump. Looks like you don't have 'codec' node, so mixer likely will be software only. Someone else may know what to do for the sound chip (compatible= 'AOAKeylargo', only a 'sound' node, I've never seen that one before). It may be simple to implement, but I'm not certain. USB audio should work fine, though. > > ./danfe > > P.S. "make -j2 buildworld" on tmpfs-backed OBJDIR took 12 hours > (default -CURRENT, i.e. reduced performance) and used 1,2G of tmpfs > (and 76% of 1G swap). Replacing default 256M of RAM with 1G module > was definitely a good idea. Alas, "make buildkernel" (without > cleaning after buildworld) caused it to run out of memory. :( Yeah, buildworld is a beast. I think on my dual 1.42GHz G4 w/ 2GB RAM, a buildworld+buildkernel takes 8 hours with -j4. I suggest not building clang, it's not complete yet for ppc32 (it's complete for ppc64, but there are some bugs rdivacky is tracking down, I'm helping off and on). - Justin From owner-freebsd-ppc@FreeBSD.ORG Thu Jan 23 06:13:34 2014 Return-Path: Delivered-To: powerpc@FreeBSD.org Received: by hub.freebsd.org (Postfix, from userid 1033) id DDA9A7E4; Thu, 23 Jan 2014 06:13:34 +0000 (UTC) Date: Thu, 23 Jan 2014 06:13:34 +0000 From: Alexey Dokuchaev To: Justin Hibbits Subject: Re: Tightening kernel for Mac Mini G4 Message-ID: <20140123061334.GA49916@FreeBSD.org> References: <20140122153323.GA3637@FreeBSD.org> <20140122082542.745de133@zhabar.gateway.2wire.net> <20140123044922.GA29547@FreeBSD.org> <20140122214622.62b36222@zhabar.gateway.2wire.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140122214622.62b36222@zhabar.gateway.2wire.net> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: powerpc@FreeBSD.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jan 2014 06:13:34 -0000 On Wed, Jan 22, 2014 at 09:46:22PM -0800, Justin Hibbits wrote: > On Thu, 23 Jan 2014 04:49:22 +0000 Alexey Dokuchaev wrote: > > OK, I can live with "device ATA" for a while; but ultimately I do > > think that ata_macio and ata_kauai should be factored out as modules > > (similar with our existing x86 ata stuff). Ideally, all > > hardware-dependent stuff should be modular. > > That shouldn't be too difficult. Just needs someone to take the time > to do it. Sure, I might even sit down and crank out a patch (after I'll get through the very first complete and working buildworld+kernel on ppc). > Looks like you don't have 'codec' node, so mixer likely will be > software only. Someone else may know what to do for the sound chip > (compatible= 'AOAKeylargo', only a 'sound' node, I've never seen that > one before). Yes, Andreas explained it (I haven't replied yet because I want to confirm that playback actually works); thank you for looking as well. ./danfe From owner-freebsd-ppc@FreeBSD.ORG Thu Jan 23 06:41:49 2014 Return-Path: Delivered-To: powerpc@FreeBSD.org Received: by hub.freebsd.org (Postfix, from userid 1033) id 2214145E; Thu, 23 Jan 2014 06:41:49 +0000 (UTC) Date: Thu, 23 Jan 2014 06:41:49 +0000 From: Alexey Dokuchaev To: Justin Hibbits Subject: Re: Tightening kernel for Mac Mini G4 Message-ID: <20140123064149.GA54730@FreeBSD.org> References: <20140122153323.GA3637@FreeBSD.org> <20140122082542.745de133@zhabar.gateway.2wire.net> <20140123044922.GA29547@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140123044922.GA29547@FreeBSD.org> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: powerpc@FreeBSD.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jan 2014 06:41:49 -0000 On Thu, Jan 23, 2014 at 04:49:22AM +0000, Alexey Dokuchaev wrote: > Great, I've removed entire "Misc" section of the config. I'm wondering > if I can do the same for ADB support? Apparently, I removed too much: newly built kernel panics on boot instantly: panic: vm_phys_paddr_to_segfind: paddr 0x1c3d000 is not in any segment cpuid = 0 KDB: stack backtrace: 0xd0004ab0: at kdb_backtrace+0x4c 0xd0004b20: at panic+0x16c 0xd0004b80: at vm_phys_add_page+0x12c 0xd0004ba0: at vm_page_startup+0x428 0xd0004c00: at vm_mem_init+0x24 0xd0004c20: at mi_startup+0x13c 0xd0003c50: at btext+0xc0 KDB: enter: panic [ thread pid 0 tid 0 ] Stopped at 0x282e24: addi r0, r0, 0x0 db> Maybe moving "device mem" to /boot/loader.conf was not that good idea? :) Keyboard is unresponsive at this point (could it be due to missing USB stuff in kernel?). What puzzles me more is that unloading the previous kernel and doing 'set kernel=kernel.old' before boot also panics (WTF? it booted just fine before): panic: vm_phys_create_seg: increase VM_PHYSSEG_MAX Perhaps some modules from /boot/loader.conf confuse GENERIC kernel. Unless I find a way to fix this, I might have to netboot again. :( ./danfe From owner-freebsd-ppc@FreeBSD.ORG Thu Jan 23 15:53:11 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 6032B286; Thu, 23 Jan 2014 15:53:11 +0000 (UTC) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [IPv6:2607:f3e0:0:3::6502:9b]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id F0ACC1D1A; Thu, 23 Jan 2014 15:53:10 +0000 (UTC) Received: from freebsd-stable.sentex.ca (localhost [127.0.0.1]) by freebsd-stable.sentex.ca (8.14.5/8.14.5) with ESMTP id s0NFrAJ5037341; Thu, 23 Jan 2014 15:53:10 GMT (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-stable.sentex.ca (8.14.5/8.14.5/Submit) id s0NFrAir037340; Thu, 23 Jan 2014 15:53:10 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 23 Jan 2014 15:53:10 GMT Message-Id: <201401231553.s0NFrAir037340@freebsd-stable.sentex.ca> X-Authentication-Warning: freebsd-stable.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [releng_9 tinderbox] failure on powerpc/powerpc Precedence: bulk X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jan 2014 15:53:11 -0000 TB --- 2014-01-23 13:04:00 - tinderbox 2.20 running on freebsd-stable.sentex.ca TB --- 2014-01-23 13:04:00 - FreeBSD freebsd-stable.sentex.ca 8.3-STABLE FreeBSD 8.3-STABLE #0: Tue Oct 16 17:37:58 UTC 2012 mdtancsa@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/server amd64 TB --- 2014-01-23 13:04:00 - starting RELENG_9 tinderbox run for powerpc/powerpc TB --- 2014-01-23 13:04:00 - cleaning the object tree TB --- 2014-01-23 13:04:00 - /usr/local/bin/svn stat /src TB --- 2014-01-23 13:04:07 - At svn revision 261074 TB --- 2014-01-23 13:04:08 - building world TB --- 2014-01-23 13:04:08 - CROSS_BUILD_TESTING=YES TB --- 2014-01-23 13:04:08 - MAKEOBJDIRPREFIX=/obj TB --- 2014-01-23 13:04:08 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2014-01-23 13:04:08 - SRCCONF=/dev/null TB --- 2014-01-23 13:04:08 - TARGET=powerpc TB --- 2014-01-23 13:04:08 - TARGET_ARCH=powerpc TB --- 2014-01-23 13:04:08 - TZ=UTC TB --- 2014-01-23 13:04:08 - __MAKE_CONF=/dev/null TB --- 2014-01-23 13:04:08 - cd /src TB --- 2014-01-23 13:04:08 - /usr/bin/make -B buildworld >>> World build started on Thu Jan 23 13:04:09 UTC 2014 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Thu Jan 23 15:47:39 UTC 2014 TB --- 2014-01-23 15:47:39 - generating LINT kernel config TB --- 2014-01-23 15:47:39 - cd /src/sys/powerpc/conf TB --- 2014-01-23 15:47:39 - /usr/bin/make -B LINT TB --- 2014-01-23 15:47:39 - cd /src/sys/powerpc/conf TB --- 2014-01-23 15:47:39 - /usr/sbin/config -m LINT TB --- 2014-01-23 15:47:39 - building LINT kernel TB --- 2014-01-23 15:47:39 - CROSS_BUILD_TESTING=YES TB --- 2014-01-23 15:47:39 - MAKEOBJDIRPREFIX=/obj TB --- 2014-01-23 15:47:39 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2014-01-23 15:47:39 - SRCCONF=/dev/null TB --- 2014-01-23 15:47:39 - TARGET=powerpc TB --- 2014-01-23 15:47:39 - TARGET_ARCH=powerpc TB --- 2014-01-23 15:47:39 - TZ=UTC TB --- 2014-01-23 15:47:39 - __MAKE_CONF=/dev/null TB --- 2014-01-23 15:47:39 - cd /src TB --- 2014-01-23 15:47:39 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu Jan 23 15:47:40 UTC 2014 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O -pipe -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/fs/msdosfs/msdosfs_iconv.c cc -c -O -pipe -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/fs/msdosfs/msdosfs_lookup.c cc -c -O -pipe -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/fs/msdosfs/msdosfs_vfsops.c cc -c -O -pipe -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/fs/msdosfs/msdosfs_vnops.c cc -c -O -pipe -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/fs/nfs/nfs_commonkrpc.c In file included from /src/sys/rpc/rpc.h:70, from /src/sys/fs/nfs/nfs_commonkrpc.c:61: /src/sys/rpc/svc.h:330: error: field 'sp_lock' has incomplete type *** Error code 1 Stop in /obj/powerpc.powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2014-01-23 15:53:10 - WARNING: /usr/bin/make returned exit code 1 TB --- 2014-01-23 15:53:10 - ERROR: failed to build LINT kernel TB --- 2014-01-23 15:53:10 - 8542.09 user 856.83 system 10149.65 real http://tinderbox.freebsd.org/tinderbox-freebsd9-build-RELENG_9-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Thu Jan 23 22:33:52 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 2B00D70D; Thu, 23 Jan 2014 22:33:52 +0000 (UTC) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [IPv6:2607:f3e0:0:3::6502:9b]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BB9BF13E3; Thu, 23 Jan 2014 22:33:51 +0000 (UTC) Received: from freebsd-stable.sentex.ca (localhost [127.0.0.1]) by freebsd-stable.sentex.ca (8.14.5/8.14.5) with ESMTP id s0NMXo2f025591; Thu, 23 Jan 2014 22:33:51 GMT (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-stable.sentex.ca (8.14.5/8.14.5/Submit) id s0NMXo1Z025590; Thu, 23 Jan 2014 22:33:50 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 23 Jan 2014 22:33:50 GMT Message-Id: <201401232233.s0NMXo1Z025590@freebsd-stable.sentex.ca> X-Authentication-Warning: freebsd-stable.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Subject: [releng_9 tinderbox] failure on powerpc/powerpc Precedence: bulk X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jan 2014 22:33:52 -0000 TB --- 2014-01-23 19:45:16 - tinderbox 2.20 running on freebsd-stable.sentex.ca TB --- 2014-01-23 19:45:16 - FreeBSD freebsd-stable.sentex.ca 8.3-STABLE FreeBSD 8.3-STABLE #0: Tue Oct 16 17:37:58 UTC 2012 mdtancsa@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/server amd64 TB --- 2014-01-23 19:45:16 - starting RELENG_9 tinderbox run for powerpc/powerpc TB --- 2014-01-23 19:45:16 - cleaning the object tree TB --- 2014-01-23 19:45:29 - /usr/local/bin/svn stat /src TB --- 2014-01-23 19:45:35 - At svn revision 261079 TB --- 2014-01-23 19:45:36 - building world TB --- 2014-01-23 19:45:36 - CROSS_BUILD_TESTING=YES TB --- 2014-01-23 19:45:36 - MAKEOBJDIRPREFIX=/obj TB --- 2014-01-23 19:45:36 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2014-01-23 19:45:36 - SRCCONF=/dev/null TB --- 2014-01-23 19:45:36 - TARGET=powerpc TB --- 2014-01-23 19:45:36 - TARGET_ARCH=powerpc TB --- 2014-01-23 19:45:36 - TZ=UTC TB --- 2014-01-23 19:45:36 - __MAKE_CONF=/dev/null TB --- 2014-01-23 19:45:36 - cd /src TB --- 2014-01-23 19:45:36 - /usr/bin/make -B buildworld >>> World build started on Thu Jan 23 19:45:37 UTC 2014 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Thu Jan 23 22:28:25 UTC 2014 TB --- 2014-01-23 22:28:25 - generating LINT kernel config TB --- 2014-01-23 22:28:25 - cd /src/sys/powerpc/conf TB --- 2014-01-23 22:28:25 - /usr/bin/make -B LINT TB --- 2014-01-23 22:28:25 - cd /src/sys/powerpc/conf TB --- 2014-01-23 22:28:25 - /usr/sbin/config -m LINT TB --- 2014-01-23 22:28:25 - building LINT kernel TB --- 2014-01-23 22:28:25 - CROSS_BUILD_TESTING=YES TB --- 2014-01-23 22:28:25 - MAKEOBJDIRPREFIX=/obj TB --- 2014-01-23 22:28:25 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2014-01-23 22:28:25 - SRCCONF=/dev/null TB --- 2014-01-23 22:28:25 - TARGET=powerpc TB --- 2014-01-23 22:28:25 - TARGET_ARCH=powerpc TB --- 2014-01-23 22:28:25 - TZ=UTC TB --- 2014-01-23 22:28:25 - __MAKE_CONF=/dev/null TB --- 2014-01-23 22:28:25 - cd /src TB --- 2014-01-23 22:28:25 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu Jan 23 22:28:25 UTC 2014 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O -pipe -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/fs/msdosfs/msdosfs_iconv.c cc -c -O -pipe -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/fs/msdosfs/msdosfs_lookup.c cc -c -O -pipe -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/fs/msdosfs/msdosfs_vfsops.c cc -c -O -pipe -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/fs/msdosfs/msdosfs_vnops.c cc -c -O -pipe -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/libfdt -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -Wa,-many -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/fs/nfs/nfs_commonkrpc.c In file included from /src/sys/rpc/rpc.h:70, from /src/sys/fs/nfs/nfs_commonkrpc.c:61: /src/sys/rpc/svc.h:330: error: field 'sp_lock' has incomplete type *** Error code 1 Stop in /obj/powerpc.powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2014-01-23 22:33:50 - WARNING: /usr/bin/make returned exit code 1 TB --- 2014-01-23 22:33:50 - ERROR: failed to build LINT kernel TB --- 2014-01-23 22:33:50 - 8495.55 user 861.74 system 10114.84 real http://tinderbox.freebsd.org/tinderbox-freebsd9-build-RELENG_9-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Fri Jan 24 02:52:16 2014 Return-Path: Delivered-To: freebsd-ppc@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 3D778DAA for ; Fri, 24 Jan 2014 02:52:16 +0000 (UTC) Received: from nm30-vm0.bullet.mail.bf1.yahoo.com (nm30-vm0.bullet.mail.bf1.yahoo.com [98.139.213.126]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BCD7E194E for ; Fri, 24 Jan 2014 02:52:15 +0000 (UTC) Received: from [98.139.212.150] by nm30.bullet.mail.bf1.yahoo.com with NNFMP; 24 Jan 2014 02:45:32 -0000 Received: from [98.139.211.163] by tm7.bullet.mail.bf1.yahoo.com with NNFMP; 24 Jan 2014 02:45:32 -0000 Received: from [127.0.0.1] by smtp220.mail.bf1.yahoo.com with NNFMP; 24 Jan 2014 02:45:32 -0000 X-Yahoo-Newman-Id: 410141.88360.bm@smtp220.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: wGJMguoVM1kAKphldSl6i_.R_iUrmD9fH0MnbkEl0TvF2sN oSxz8fOL_dY0TuwquzU.S64xr.flusGMvigUtAbcv_uRaVD94L9qe93bNSKH zamQxZBrZyRkGGB67R.wA_X5kXWzNjSvypo9gGytc4ygfVq8.YIYEdn.CN28 E2j0rkn4Zscdf15YJVqX8m4FbljzLCrkBsRJqRsmJlWlBz4P1l4PtbFJ3xCq SxcjJtOcumxblFv1WDd37N1zwSKuTwoASTtofCHQgqtwzMgPSXAu94kW0i8P M1kVWUZhvFyp68gE0YgmlVHZDud0K4OZhcslB4yRxjazZu3685sFBu9Ol5sS 7ldA8fpbWglI5TDLbzPA6mkTIsiF5CniQ_By46ay.zqTtx.G6AquTGS3mdgK 6sWXXnXR7O13Q8ypTTa5TZBrZxdum0vvf4zvzhGk6o5Fzgl4TxVJsDcgaD0g ux_jUlFK0LHa7UnvL2l73PzcqNjU84Jt7uM7bN54TcnbVhk5EaDMczYqPFbU wybviuH35o_QcP2k5BBPs9vl4Fy9wNmFUAOFBgA3LzqwZes.77gBN.ABwTHG ZiyCuEOqnrGQG5NYBCmdaD53w_jPxvu0lQB8Y21TKISCOkyqt4xJj3ramXFH 9FCkxhBJT77iCc6aK5zhW8p0Z9_WphQySj95ErDb1x7KIEisdgh8- X-Yahoo-SMTP: xcjD0guswBAZaPPIbxpWwLcp9Unf X-Rocket-Received: from [192.168.0.102] (pfg@190.157.126.109 with plain [63.250.193.228]) by smtp220.mail.bf1.yahoo.com with SMTP; 24 Jan 2014 02:45:32 +0000 UTC Message-ID: <52E1D3C9.8010206@FreeBSD.org> Date: Thu, 23 Jan 2014 21:45:29 -0500 From: Pedro Giffuni User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Alexey Dokuchaev Subject: Apache OpenOffice on FreeBSD-ppc (was Re: LibreOffice 4) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.17 Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2014 02:52:16 -0000 Hello Alexey; Maho and I are committers in Apache OpenOffice and we would be absolutely delighted to bring more FreeBSD platform support. Some related comments: We were considering dropping AOO3 from the tree as AOO4 should be better. Apache OpenOffice 4.0.1 will be the last OpenOffice release to build with the old GNU toolchain in base. The Mac OSX port is forcing us to move aggressively towards C++11. TBH FreeBSD 9.x support is at risk due to a conflict between the old libstdc++ and an unpatched bug in the version of boost that we carry. My recommendation is to start from 4.0.1 and then upstream your changes (it should not be difficult). For PPC you can, of course, borrow heavily from linux-ppc. Here is an old guide that may help: https://wiki.openoffice.org/wiki/Lazy_Hackers_Guide_To_Porting I will see if I can find some expert help for the endianness issue but don't be shy about asking questions upstream ;-). Pedro. From owner-freebsd-ppc@FreeBSD.ORG Fri Jan 24 09:22:34 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 76C4EAFF; Fri, 24 Jan 2014 09:22:34 +0000 (UTC) Received: from mail-oa0-x22f.google.com (mail-oa0-x22f.google.com [IPv6:2607:f8b0:4003:c02::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 31C7F1750; Fri, 24 Jan 2014 09:22:34 +0000 (UTC) Received: by mail-oa0-f47.google.com with SMTP id m1so3478238oag.34 for ; Fri, 24 Jan 2014 01:22:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=GVK3ugiIYNco+Bx136fLbtPt0/Hq5lIDrtLxhdUB/84=; b=kPGUwPCPzx6STak+S8WD1AvGubqFN3lVeZQc+iBnDmGzyPiTrsFUvrQNJAHB1NEZWu ysaHGAYyvq7CzwG0tLFKzW9S41vAInsiO0CvMuHkI8mH6exRqMB9r0wiJb9pmF+ieXs6 NvjECXqeCVwnHT8DB4OovnqRyWvFTTo5kwihAteD/ZWf7BEV3oTgy567DJh1XFMAp6Xd bZHo0MEWydcR8/SAIiC9uemt5bIfX8pzFsiCCZ4mVmfpSyzzRnI4Sa7ozbkN7MFft782 9XOH3m2UGv7D8kzaRAfKbnPaqz07VuRVMnsfHLyJIyhSc0TXUA9t7IO276YIf+n1tn6u EM7A== MIME-Version: 1.0 X-Received: by 10.182.48.130 with SMTP id l2mr11404378obn.44.1390555353435; Fri, 24 Jan 2014 01:22:33 -0800 (PST) Received: by 10.182.78.71 with HTTP; Fri, 24 Jan 2014 01:22:33 -0800 (PST) In-Reply-To: <20140123064149.GA54730@FreeBSD.org> References: <20140122153323.GA3637@FreeBSD.org> <20140122082542.745de133@zhabar.gateway.2wire.net> <20140123044922.GA29547@FreeBSD.org> <20140123064149.GA54730@FreeBSD.org> Date: Fri, 24 Jan 2014 04:22:33 -0500 Message-ID: Subject: Re: Tightening kernel for Mac Mini G4 From: Joe Nosay To: Alexey Dokuchaev Content-Type: text/plain; charset=ISO-8859-1 Cc: powerpc@freebsd.org, Justin Hibbits X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2014 09:22:34 -0000 Considering how small the system is, you may want to think about using the Creative Labs X-Fi USB audio. On 1/23/14, Alexey Dokuchaev wrote: > On Thu, Jan 23, 2014 at 04:49:22AM +0000, Alexey Dokuchaev wrote: >> Great, I've removed entire "Misc" section of the config. I'm wondering >> if I can do the same for ADB support? > > Apparently, I removed too much: newly built kernel panics on boot > instantly: > > panic: vm_phys_paddr_to_segfind: paddr 0x1c3d000 is not in any segment > cpuid = 0 > KDB: stack backtrace: > 0xd0004ab0: at kdb_backtrace+0x4c > 0xd0004b20: at panic+0x16c > 0xd0004b80: at vm_phys_add_page+0x12c > 0xd0004ba0: at vm_page_startup+0x428 > 0xd0004c00: at vm_mem_init+0x24 > 0xd0004c20: at mi_startup+0x13c > 0xd0003c50: at btext+0xc0 > KDB: enter: panic > [ thread pid 0 tid 0 ] > Stopped at 0x282e24: addi r0, r0, 0x0 > db> > > Maybe moving "device mem" to /boot/loader.conf was not that good idea? :) > > Keyboard is unresponsive at this point (could it be due to missing USB > stuff > in kernel?). > > What puzzles me more is that unloading the previous kernel and doing 'set > kernel=kernel.old' before boot also panics (WTF? it booted just fine > before): > > panic: vm_phys_create_seg: increase VM_PHYSSEG_MAX > > Perhaps some modules from /boot/loader.conf confuse GENERIC kernel. Unless > I find a way to fix this, I might have to netboot again. :( > > ./danfe > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" > From owner-freebsd-ppc@FreeBSD.ORG Fri Jan 24 12:51:33 2014 Return-Path: Delivered-To: powerpc@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id 5DEB9896; Fri, 24 Jan 2014 12:51:33 +0000 (UTC) Date: Fri, 24 Jan 2014 12:51:33 +0000 From: Alexey Dokuchaev To: Andreas Tobler Subject: Playback and volume (Was: Re: Tightening kernel for Mac Mini G4) Message-ID: <20140124125133.GA39635@FreeBSD.org> References: <20140122153323.GA3637@FreeBSD.org> <20140122082542.745de133@zhabar.gateway.2wire.net> <52E004E5.3080608@fgznet.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52E004E5.3080608@fgznet.ch> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: powerpc@freebsd.org, Justin Hibbits X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2014 12:51:33 -0000 On Wed, Jan 22, 2014 at 06:50:29PM +0100, Andreas Tobler wrote: > Sound works but it lacks a 'visible' codec. In the device tree there is > no codec mentioned. It has a simple DAC called toonie. And the driver > for this is missing. If the codec is missing, the mixer device is also > missing. Indeed: kldload'ing snd_ai2s.ko allowed me to play an MP3 file with mpg123. Albeit at full volume, which kind of sucks. Is there way to control volume without mixer device? Plugging headphones properly muted the speaker, which is nice. ./danfe From owner-freebsd-ppc@FreeBSD.ORG Fri Jan 24 17:37:05 2014 Return-Path: Delivered-To: freebsd-ppc@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 A805BE41 for ; Fri, 24 Jan 2014 17:37:05 +0000 (UTC) Received: from mail-qc0-x233.google.com (mail-qc0-x233.google.com [IPv6:2607:f8b0:400d:c01::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 68FBA171C for ; Fri, 24 Jan 2014 17:37:05 +0000 (UTC) Received: by mail-qc0-f179.google.com with SMTP id e16so4754808qcx.24 for ; Fri, 24 Jan 2014 09:37:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=HykAxivP60o3dZe53O6eZntkDg1GDRXyGr1Le+ybPJ4=; b=asIZz4ZEqCadbWCWC+CNkjFmhfqKu5lwVpkQ/R/nFsSygtpv39hshUzsBxenG3DW/z ccNw6Q7L1hyyfmLLVIoqd46mcKROs/pBAxI4dFreQX3G1fA3DEgPuTqHbkDWpZz8uABv djVrh6cJI3i/wrMgyj/qSxaxNHas21qOeLkrxg/eBhVfuKv1eyXTAX3hze6MiczjjQMu fchG/vRlPdEP8n1P50mS/HNlXL14s5aBCCkfICenKqmo/wVzQcsv9GatROOsvVIeSRm9 TplT8nFHcOZwe5fF8mwvjK6rID8pxVieSn/xkqjhTZxWnToXn86DcF8x2ypw0DRFtWmN gkdg== MIME-Version: 1.0 X-Received: by 10.229.117.70 with SMTP id p6mr22471416qcq.13.1390585024634; Fri, 24 Jan 2014 09:37:04 -0800 (PST) Received: by 10.140.22.175 with HTTP; Fri, 24 Jan 2014 09:37:04 -0800 (PST) Date: Fri, 24 Jan 2014 09:37:04 -0800 Message-ID: Subject: Building x11-server on FreeBSD-10.0 From: Rob Ballantyne To: freebsd-ppc@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2014 17:37:05 -0000 Hi All, I saw and tried Nathan's patches but I'm still having trouble building a dependency of x11-server/xorg-server, dri. While trying to build it manually, I get: root@ppc:/usr/ports/graphics/dri # make make: "/usr/ports/graphics/dri/Makefile" line 76: Malformed conditional (${DRI_DRIVERS:M${:UI915}}) make: "/usr/ports/graphics/dri/Makefile" line 76: Malformed conditional (${DRI_DRIVERS:M${:UI965}}) make: "/usr/ports/graphics/dri/Makefile" line 76: Malformed conditional (${DRI_DRIVERS:M${:UR200}}) make: "/usr/ports/graphics/dri/Makefile" line 76: Malformed conditional (${DRI_DRIVERS:M${:URADEON}}) make: "/usr/ports/graphics/dri/Makefile" line 76: Malformed conditional (${DRI_DRIVERS:M${:USWRAST}}) make: "/usr/ports/graphics/dri/Makefile" line 76: Malformed conditional (${DRI_DRIVERS:M${:UI810}}) make: "/usr/ports/graphics/dri/Makefile" line 76: Malformed conditional (${DRI_DRIVERS:M${:UMACH64}}) make: "/usr/ports/graphics/dri/Makefile" line 76: Malformed conditional (${DRI_DRIVERS:M${:UMGA}}) make: "/usr/ports/graphics/dri/Makefile" line 76: Malformed conditional (${DRI_DRIVERS:M${:UR128}}) make: "/usr/ports/graphics/dri/Makefile" line 76: Malformed conditional (${DRI_DRIVERS:M${:UR300}}) make: "/usr/ports/graphics/dri/Makefile" line 76: Malformed conditional (${DRI_DRIVERS:M${:UR600}}) make: "/usr/ports/graphics/dri/Makefile" line 76: Malformed conditional (${DRI_DRIVERS:M${:USAVAGE}}) make: "/usr/ports/graphics/dri/Makefile" line 76: Malformed conditional (${DRI_DRIVERS:M${:USIS}}) make: "/usr/ports/graphics/dri/Makefile" line 76: Malformed conditional (${DRI_DRIVERS:M${:UTDFX}}) make: "/usr/ports/graphics/dri/Makefile" line 76: Malformed conditional (${DRI_DRIVERS:M${:UUNICHROME}}) make: Fatal errors encountered -- cannot continue make: stopped in /usr/ports/graphics/dri I'm not overly familiar with bsd make's conditional expressions so it's not immediately obvious what is happening. I thought I would ask in case someone else has seen this and there is an obvious fix. Regards & Thanks, Rob From owner-freebsd-ppc@FreeBSD.ORG Fri Jan 24 17:57:49 2014 Return-Path: Delivered-To: freebsd-ppc@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 8E6E2439 for ; Fri, 24 Jan 2014 17:57:49 +0000 (UTC) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 21CE21901 for ; Fri, 24 Jan 2014 17:57:48 +0000 (UTC) Received: from deuterium.andreas.nets (dhclient-91-190-14-19.flashcable.ch [91.190.14.19]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id s0OHvD5X073354; Fri, 24 Jan 2014 18:57:37 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Message-ID: <52E2A979.7030405@fgznet.ch> Date: Fri, 24 Jan 2014 18:57:13 +0100 From: Andreas Tobler User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Rob Ballantyne , freebsd-ppc@freebsd.org Subject: Re: Building x11-server on FreeBSD-10.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jan 2014 17:57:49 -0000 On 24.01.14 18:37, Rob Ballantyne wrote: > Hi All, > > I saw and tried Nathan's patches but I'm still having trouble building a > dependency of x11-server/xorg-server, dri. > > While trying to build it manually, I get: > > I'm not overly familiar with bsd make's conditional expressions so it's not > immediately obvious what is happening. I thought I would ask in case > someone else has seen this and there is an obvious fix. For now you want in /etc/make.conf WITHOUT_NEW_XORG="YES" ppc is not ready for NEW_XORG yet. Once it is, see this PR ports/184957. This should fix the build with NEW_XORG, but we currently lack KMS support for ppc. Andreas From owner-freebsd-ppc@FreeBSD.ORG Sat Jan 25 09:15:37 2014 Return-Path: Delivered-To: powerpc@FreeBSD.org Received: by hub.freebsd.org (Postfix, from userid 1033) id 6C846777; Sat, 25 Jan 2014 09:15:37 +0000 (UTC) Date: Sat, 25 Jan 2014 09:15:37 +0000 From: Alexey Dokuchaev To: Justin Hibbits Subject: Re: Tightening kernel for Mac Mini G4 Message-ID: <20140125091537.GA39255@FreeBSD.org> References: <20140122153323.GA3637@FreeBSD.org> <20140122082542.745de133@zhabar.gateway.2wire.net> <20140123044922.GA29547@FreeBSD.org> <20140122214622.62b36222@zhabar.gateway.2wire.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140122214622.62b36222@zhabar.gateway.2wire.net> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: powerpc@FreeBSD.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2014 09:15:37 -0000 On Wed, Jan 22, 2014 at 09:46:22PM -0800, Justin Hibbits wrote: > ADB is unnecessary, as is cuda. PMU isn't strictly necessary, but I'm > in the process of adding more capabilities to our PMU driver, so you > may want to keep it, but it's not required for operation. Hmm, I guess I indeed better keep it: without it I have this liin in dmesg: warning: no time-of-day clock registered, system time will not be set accurately Also, in the Misc. section, "device iicbus" actually required for snd_ai2s. Not sure about "device kiic": it seems that Keywest I2C controller is fine with just iicbus: iichb0: mem 0xf8001000-0xf8001fff irq 42 on unin0 iicbus0: on iichb0 iicbus0: at addr 0x1c0 I haven't looked into what is this strange "unknown card" yet, but adding or removing "device kiic" from kernel config does not change dmesg output. Source code for /sys/powerpc/powermac/kiic.c says it's some support routines for the controller; not sure if I need them on G4 or not. Is support for Keywest I2C controller is incomplete without kiic? Thanks, ./danfe From owner-freebsd-ppc@FreeBSD.ORG Sat Jan 25 12:20:16 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 A372A40F; Sat, 25 Jan 2014 12:20:16 +0000 (UTC) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 39A691CCF; Sat, 25 Jan 2014 12:20:12 +0000 (UTC) Received: from deuterium.andreas.nets (dhclient-91-190-14-19.flashcable.ch [91.190.14.19]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id s0PCJfA6036514; Sat, 25 Jan 2014 13:19:59 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Message-ID: <52E3ABDD.80901@fgznet.ch> Date: Sat, 25 Jan 2014 13:19:41 +0100 From: Andreas Tobler User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Alexey Dokuchaev Subject: Re: Playback and volume (Was: Re: Tightening kernel for Mac Mini G4) References: <20140122153323.GA3637@FreeBSD.org> <20140122082542.745de133@zhabar.gateway.2wire.net> <52E004E5.3080608@fgznet.ch> <20140124125133.GA39635@FreeBSD.org> In-Reply-To: <20140124125133.GA39635@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: powerpc@FreeBSD.ORG, Justin Hibbits X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2014 12:20:16 -0000 On 24.01.14 13:51, Alexey Dokuchaev wrote: > On Wed, Jan 22, 2014 at 06:50:29PM +0100, Andreas Tobler wrote: >> Sound works but it lacks a 'visible' codec. In the device tree there is >> no codec mentioned. It has a simple DAC called toonie. And the driver >> for this is missing. If the codec is missing, the mixer device is also >> missing. > > Indeed: kldload'ing snd_ai2s.ko allowed me to play an MP3 file with mpg123. > Albeit at full volume, which kind of sucks. Is there way to control volume > without mixer device? Hm, I have no clue yet. I'll let you know once I find something. Andreas From owner-freebsd-ppc@FreeBSD.ORG Sat Jan 25 12:29:08 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 0619B5C0; Sat, 25 Jan 2014 12:29:08 +0000 (UTC) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8BCED1D61; Sat, 25 Jan 2014 12:29:06 +0000 (UTC) Received: from deuterium.andreas.nets (dhclient-91-190-14-19.flashcable.ch [91.190.14.19]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id s0PCSo73083507; Sat, 25 Jan 2014 13:29:04 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Message-ID: <52E3AE02.1050703@fgznet.ch> Date: Sat, 25 Jan 2014 13:28:50 +0100 From: Andreas Tobler User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Alexey Dokuchaev , Justin Hibbits Subject: Re: Tightening kernel for Mac Mini G4 References: <20140122153323.GA3637@FreeBSD.org> <20140122082542.745de133@zhabar.gateway.2wire.net> <20140123044922.GA29547@FreeBSD.org> <20140122214622.62b36222@zhabar.gateway.2wire.net> <20140125091537.GA39255@FreeBSD.org> In-Reply-To: <20140125091537.GA39255@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: powerpc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2014 12:29:08 -0000 On 25.01.14 10:15, Alexey Dokuchaev wrote: > On Wed, Jan 22, 2014 at 09:46:22PM -0800, Justin Hibbits wrote: >> ADB is unnecessary, as is cuda. PMU isn't strictly necessary, but I'm >> in the process of adding more capabilities to our PMU driver, so you >> may want to keep it, but it's not required for operation. > > Hmm, I guess I indeed better keep it: without it I have this liin in dmesg: > > warning: no time-of-day clock registered, system time will not be set > accurately > > Also, in the Misc. section, "device iicbus" actually required for snd_ai2s. > Not sure about "device kiic": it seems that Keywest I2C controller is fine > with just iicbus: > > iichb0: mem 0xf8001000-0xf8001fff irq 42 on unin0 > iicbus0: on iichb0 > iicbus0: at addr 0x1c0 Yes, 'device iicbus' is needed, also 'device kiic' which offers the base i2c transfer functions for the Keywest I2c. The iicbus0: at addr 0x1c0 is the modem, aka cereal. > I haven't looked into what is this strange "unknown card" yet, but adding > or removing "device kiic" from kernel config does not change dmesg output. > Source code for /sys/powerpc/powermac/kiic.c says it's some support routines > for the controller; not sure if I need them on G4 or not. Is support for > Keywest I2C controller is incomplete without kiic? Thanks, You can try, but I'd leave it. Also, if doing such work which combination fits and which doesn't I rely on netbooting. Iow, I build my kernels cross and boot over the net to see if it boots on the mini (or whatever Mac). If you need hints on how to netboot, let me know. Andreas From owner-freebsd-ppc@FreeBSD.ORG Sat Jan 25 13:06:40 2014 Return-Path: Delivered-To: powerpc@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id 8F3315E4; Sat, 25 Jan 2014 13:06:40 +0000 (UTC) Date: Sat, 25 Jan 2014 13:06:40 +0000 From: Alexey Dokuchaev To: Andreas Tobler Subject: Re: Tightening kernel for Mac Mini G4 Message-ID: <20140125130640.GA97062@FreeBSD.org> References: <20140122153323.GA3637@FreeBSD.org> <20140122082542.745de133@zhabar.gateway.2wire.net> <20140123044922.GA29547@FreeBSD.org> <20140122214622.62b36222@zhabar.gateway.2wire.net> <20140125091537.GA39255@FreeBSD.org> <52E3AE02.1050703@fgznet.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52E3AE02.1050703@fgznet.ch> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: powerpc@freebsd.org, Justin Hibbits X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2014 13:06:40 -0000 On Sat, Jan 25, 2014 at 01:28:50PM +0100, Andreas Tobler wrote: > Also, if doing such work which combination fits and which doesn't I rely > on netbooting. > Iow, I build my kernels cross and boot over the net to see if it boots > on the mini (or whatever Mac). That's a nice idea; I guess I could've saved some time with cross-building on faster x86 box. Netbooting is a lifesaver indeed; that's how I originally installed and also recovered couple of times after screwing up. Peter's [*] DHCP server sample config was really handy. :-) However, since my custom slim kernels expect matching /boot/loader.conf, I don't know if it would be possible to test them (GENERIC is not a problem, of course) with netboot other than manually loading modules on the console. ./danfe [*] http://people.freebsd.org/~grehan/install.html From owner-freebsd-ppc@FreeBSD.ORG Sat Jan 25 13:17:20 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 B5BB7DCB; Sat, 25 Jan 2014 13:17:20 +0000 (UTC) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4AC7C10E8; Sat, 25 Jan 2014 13:17:19 +0000 (UTC) Received: from deuterium.andreas.nets (dhclient-91-190-14-19.flashcable.ch [91.190.14.19]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id s0PDHDaB004169; Sat, 25 Jan 2014 14:17:16 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Message-ID: <52E3B959.30603@fgznet.ch> Date: Sat, 25 Jan 2014 14:17:13 +0100 From: Andreas Tobler User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Alexey Dokuchaev Subject: Re: Tightening kernel for Mac Mini G4 References: <20140122153323.GA3637@FreeBSD.org> <20140122082542.745de133@zhabar.gateway.2wire.net> <20140123044922.GA29547@FreeBSD.org> <20140122214622.62b36222@zhabar.gateway.2wire.net> <20140125091537.GA39255@FreeBSD.org> <52E3AE02.1050703@fgznet.ch> <20140125130640.GA97062@FreeBSD.org> In-Reply-To: <20140125130640.GA97062@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: powerpc@FreeBSD.ORG, Justin Hibbits X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2014 13:17:20 -0000 On 25.01.14 14:06, Alexey Dokuchaev wrote: > On Sat, Jan 25, 2014 at 01:28:50PM +0100, Andreas Tobler wrote: >> Also, if doing such work which combination fits and which doesn't I rely >> on netbooting. >> Iow, I build my kernels cross and boot over the net to see if it boots >> on the mini (or whatever Mac). > > That's a nice idea; I guess I could've saved some time with cross-building > on faster x86 box. > > Netbooting is a lifesaver indeed; that's how I originally installed and also > recovered couple of times after screwing up. Peter's [*] DHCP server sample > config was really handy. :-) > > However, since my custom slim kernels expect matching /boot/loader.conf, I > don't know if it would be possible to test them (GENERIC is not a problem, > of course) with netboot other than manually loading modules on the console. > > ./danfe > > [*] http://people.freebsd.org/~grehan/install.html Here is my draft ;) http://people.freebsd.org/~andreast/netboot_testing_ppc.txt Should be no problem. The root fs is on nfs so you can always modify /nfsroot/boot/loader.conf from your nfs machine and say what to load at boot. I do not press 'space' after 'boot enet:0,loader', I simply leave it and it loads and/or prints verbose the booting process. No more interaction on the OF level than saying 'boot enet:0,loader'. Andreas From owner-freebsd-ppc@FreeBSD.ORG Sat Jan 25 13:52:41 2014 Return-Path: Delivered-To: ppc@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id 3F32D95B; Sat, 25 Jan 2014 13:52:41 +0000 (UTC) Date: Sat, 25 Jan 2014 13:52:41 +0000 From: Alexey Dokuchaev To: ppc@freebsd.org Subject: Sharing experience: X11 on Mac Mini G4 (ATI RV280) Message-ID: <20140125135241.GB97062@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.22 (2013-10-16) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2014 13:52:41 -0000 Hi, After playing around with fresh -CURRENT on the console, I've built X11 bits to see if I can go graphic. Fresh ports tree, Nathan's patch [*] applied, WITHOUT_NEW_XORG added to /etc/make.conf. Results are not totally atrocious, but still somewhat disappointing. Ports that I've installed: x11-servers/xorg-server (w/out HAL/devd crap; AIGLX on; suid root) x11-drivers/xf86-video-ati x11-drivers/xf86-input-keyboard x11-drivers/xf86-input-mouse x11/{xterm,xinit,xauth} graphics/mesa-demos (for glxinfo/glxgears) x11-wm/openbox A tiny ~/.xinitrc (should be enough for the test): xterm & exec openbox 1) Simply running "startx" (w/out /etc/X11/xorg.conf) both as normal user and root did not work: Xorg complained that "Primary device is not PCI" (WTF?) and "Failed to load module fbdev" (duh! didn't install that one; I want normal ATI driver and GLX/DRI support). 2) X -configure as root produced xorg.conf.new file with some meaningful Device section (mentions correct card name per pciconf(8); Driver = "radeon" and some probably correct BusID). No idea why it could not be determined via simple "startx" without any X11 config though, like it had always worked for my on x86 for the past few years already. 3) Copying xorg.conf.new file to /etc/X11/xorg.conf allowed me to finally see xterm with openbox default window decorations; glxinfo reports that direct rendering is enabled. glxgears reported around 85 FPS (that is, on Radeon 9200; on my ~2006 x86 laptop with Intel GMA 900 it is around 830 FPS). About five minutes later X hung. Mac Mini itself was still alive (via ssh), but trying to switch consoles resulted in instant hang of the entire system, requiring me to power-cycle it. 4) It looks like OpenBox (I've tried both builds with and without Imlib2) has some endianess problem: xterm icon appeared greenish (in the window title and when switching windows with Alt-Tab). Other colors (at least what I could see during this very short test run) were OK. This seems particularly weird as I did not find any related patches in Gentoo/Arch packages of OpenBox. I'd like to hear other's people experience with X11 on Mac Mini G4 against recent -CURRENT. Any ideas/pointers on how to remedy problems I've seen are also much appreciated, thanks! ./danfe [*] http://people.freebsd.org/~nwhitehorn/new_xorg_ppc.diff From owner-freebsd-ppc@FreeBSD.ORG Sat Jan 25 13:58:14 2014 Return-Path: Delivered-To: powerpc@FreeBSD.ORG Received: by hub.freebsd.org (Postfix, from userid 1033) id 7EC1CB2E; Sat, 25 Jan 2014 13:58:14 +0000 (UTC) Date: Sat, 25 Jan 2014 13:58:14 +0000 From: Alexey Dokuchaev To: Andreas Tobler Subject: Re: Tightening kernel for Mac Mini G4 Message-ID: <20140125135814.GC97062@FreeBSD.org> References: <20140122153323.GA3637@FreeBSD.org> <20140122082542.745de133@zhabar.gateway.2wire.net> <20140123044922.GA29547@FreeBSD.org> <20140122214622.62b36222@zhabar.gateway.2wire.net> <20140125091537.GA39255@FreeBSD.org> <52E3AE02.1050703@fgznet.ch> <20140125130640.GA97062@FreeBSD.org> <52E3B959.30603@fgznet.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52E3B959.30603@fgznet.ch> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: powerpc@FreeBSD.ORG, Justin Hibbits X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2014 13:58:14 -0000 On Sat, Jan 25, 2014 at 02:17:13PM +0100, Andreas Tobler wrote: > Here is my draft ;) > http://people.freebsd.org/~andreast/netboot_testing_ppc.txt Thanks; very nice! I find that these plain text files in folks' public_html on people.freebsd.org are the most helpful (Peter's, Nathan's, yours -- in order of appearance). Perhaps later we could compile all of them in a nice, comprehensive article on wiki.freebsd.org. :) > Should be no problem. The root fs is on nfs so you can always modify > /nfsroot/boot/loader.conf from your nfs machine and say what to load at > boot. > > No more interaction on the OF level than saying 'boot enet:0,loader'. Lovely; I did not realize that /nfsroot/boot/loader.conf would be read. (And yes, I used the same OF command, only without the the zero.) ./danfe From owner-freebsd-ppc@FreeBSD.ORG Sat Jan 25 14:10:27 2014 Return-Path: Delivered-To: powerpc@FreeBSD.org Received: by hub.freebsd.org (Postfix, from userid 1033) id 08F46DF0; Sat, 25 Jan 2014 14:10:27 +0000 (UTC) Date: Sat, 25 Jan 2014 14:10:27 +0000 From: Alexey Dokuchaev To: powerpc@FreeBSD.org Subject: Re: Tightening kernel for Mac Mini G4 Message-ID: <20140125141027.GA15409@FreeBSD.org> References: <20140122153323.GA3637@FreeBSD.org> <20140122082542.745de133@zhabar.gateway.2wire.net> <20140123044922.GA29547@FreeBSD.org> <20140123064149.GA54730@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140123064149.GA54730@FreeBSD.org> User-Agent: Mutt/1.5.22 (2013-10-16) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2014 14:10:27 -0000 On Thu, Jan 23, 2014 at 06:41:49AM +0000, Alexey Dokuchaev wrote: > On Thu, Jan 23, 2014 at 04:49:22AM +0000, Alexey Dokuchaev wrote: > > Great, I've removed entire "Misc" section of the config. I'm wondering > > if I can do the same for ADB support? > > Apparently, I removed too much: newly built kernel panics on boot instantly: > > panic: vm_phys_paddr_to_segfind: paddr 0x1c3d000 is not in any segment > cpuid = 0 > KDB: stack backtrace: > 0xd0004ab0: at kdb_backtrace+0x4c > 0xd0004b20: at panic+0x16c > 0xd0004b80: at vm_phys_add_page+0x12c > 0xd0004ba0: at vm_page_startup+0x428 > 0xd0004c00: at vm_mem_init+0x24 > 0xd0004c20: at mi_startup+0x13c > 0xd0003c50: at btext+0xc0 > KDB: enter: panic > [ thread pid 0 tid 0 ] > Stopped at 0x282e24: addi r0, r0, 0x0 > db> Please do not trust this; it could probably be due to a faulty (dying) hard drive. Sorry for the noise. ./danfe From owner-freebsd-ppc@FreeBSD.ORG Sat Jan 25 14:37:04 2014 Return-Path: Delivered-To: powerpc@FreeBSD.ORG Received: by hub.freebsd.org (Postfix, from userid 1033) id 8A07A170; Sat, 25 Jan 2014 14:37:04 +0000 (UTC) Date: Sat, 25 Jan 2014 14:37:04 +0000 From: Alexey Dokuchaev To: Andreas Tobler Subject: Re: Playback and volume (Was: Re: Tightening kernel for Mac Mini G4) Message-ID: <20140125143704.GA21430@FreeBSD.org> References: <20140122153323.GA3637@FreeBSD.org> <20140122082542.745de133@zhabar.gateway.2wire.net> <52E004E5.3080608@fgznet.ch> <20140124125133.GA39635@FreeBSD.org> <52E3ABDD.80901@fgznet.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52E3ABDD.80901@fgznet.ch> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: powerpc@FreeBSD.ORG, Justin Hibbits X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2014 14:37:04 -0000 On Sat, Jan 25, 2014 at 01:19:41PM +0100, Andreas Tobler wrote: > On 24.01.14 13:51, Alexey Dokuchaev wrote: > > Indeed: kldload'ing snd_ai2s.ko allowed me to play an MP3 file with mpg123. > > Albeit at full volume, which kind of sucks. Is there way to control volume > > without mixer device? > > Hm, I have no clue yet. I'll let you know once I find something. Well, it's not a big problem anyway: both mpg123 (tested; works but with an annoying ~200ms delay) and mplayer (currently building) are able to control their own output volume levels. ./danfe From owner-freebsd-ppc@FreeBSD.ORG Sat Jan 25 15:00:56 2014 Return-Path: Delivered-To: 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 A2A777BD; Sat, 25 Jan 2014 15:00:56 +0000 (UTC) Received: from smtpauth2.wiscmail.wisc.edu (wmauth2.doit.wisc.edu [144.92.197.222]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7136A1886; Sat, 25 Jan 2014 15:00:55 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth2.wiscmail.wisc.edu by smtpauth2.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) id <0MZY00G00PK5H900@smtpauth2.wiscmail.wisc.edu>; Sat, 25 Jan 2014 09:00:49 -0600 (CST) X-Spam-PmxInfo: Server=avs-2, Version=6.0.3.2322014, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2014.1.25.145415, SenderIP=0.0.0.0 X-Spam-Report: AuthenticatedSender=yes, SenderIP=0.0.0.0 Received: from comporellon.tachypleus.net (adsl-76-208-68-77.dsl.mdsnwi.sbcglobal.net [76.208.68.77]) by smtpauth2.wiscmail.wisc.edu (Oracle Communications Messaging Server 7u4-27.01(7.0.4.27.0) 64bit (built Aug 30 2012)) with ESMTPSA id <0MZY00BEHPPCX500@smtpauth2.wiscmail.wisc.edu>; Sat, 25 Jan 2014 09:00:48 -0600 (CST) Message-id: <52E3D19F.5000002@freebsd.org> Date: Sat, 25 Jan 2014 09:00:47 -0600 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.0 To: Alexey Dokuchaev , ppc@freebsd.org Subject: Re: Sharing experience: X11 on Mac Mini G4 (ATI RV280) References: <20140125135241.GB97062@FreeBSD.org> In-reply-to: <20140125135241.GB97062@FreeBSD.org> X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2014 15:00:56 -0000 On 01/25/14 07:52, Alexey Dokuchaev wrote: > Hi, > > After playing around with fresh -CURRENT on the console, I've built X11 bits > to see if I can go graphic. Fresh ports tree, Nathan's patch [*] applied, > WITHOUT_NEW_XORG added to /etc/make.conf. > > Results are not totally atrocious, but still somewhat disappointing. Ports > that I've installed: > > x11-servers/xorg-server (w/out HAL/devd crap; AIGLX on; suid root) > x11-drivers/xf86-video-ati > x11-drivers/xf86-input-keyboard > x11-drivers/xf86-input-mouse > x11/{xterm,xinit,xauth} > graphics/mesa-demos (for glxinfo/glxgears) > x11-wm/openbox > > A tiny ~/.xinitrc (should be enough for the test): > > xterm & > exec openbox > > 1) Simply running "startx" (w/out /etc/X11/xorg.conf) both as normal user > and root did not work: Xorg complained that "Primary device is not PCI" > (WTF?) and "Failed to load module fbdev" (duh! didn't install that one; > I want normal ATI driver and GLX/DRI support). > > 2) X -configure as root produced xorg.conf.new file with some meaningful > Device section (mentions correct card name per pciconf(8); Driver = > "radeon" and some probably correct BusID). No idea why it could not be > determined via simple "startx" without any X11 config though, like it > had always worked for my on x86 for the past few years already. > > 3) Copying xorg.conf.new file to /etc/X11/xorg.conf allowed me to finally > see xterm with openbox default window decorations; glxinfo reports that > direct rendering is enabled. glxgears reported around 85 FPS (that is, > on Radeon 9200; on my ~2006 x86 laptop with Intel GMA 900 it is around > 830 FPS). About five minutes later X hung. Mac Mini itself was still > alive (via ssh), but trying to switch consoles resulted in instant hang > of the entire system, requiring me to power-cycle it. The drm(4) module on PPC sometimes has issues. You could try disabling it in your xorg.conf (or removing the relevant kernel modules, drm.ko and radeon.ko, from /boot/kernel) and see if that helps. It will make 3D slower, but might fix the stability issues. -Nathan > 4) It looks like OpenBox (I've tried both builds with and without Imlib2) > has some endianess problem: xterm icon appeared greenish (in the window > title and when switching windows with Alt-Tab). Other colors (at least > what I could see during this very short test run) were OK. This seems > particularly weird as I did not find any related patches in Gentoo/Arch > packages of OpenBox. > > I'd like to hear other's people experience with X11 on Mac Mini G4 against > recent -CURRENT. Any ideas/pointers on how to remedy problems I've seen > are also much appreciated, thanks! > > ./danfe > > [*] http://people.freebsd.org/~nwhitehorn/new_xorg_ppc.diff > _______________________________________________ > freebsd-ppc@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ppc > To unsubscribe, send any mail to "freebsd-ppc-unsubscribe@freebsd.org" From owner-freebsd-ppc@FreeBSD.ORG Sat Jan 25 15:15:45 2014 Return-Path: Delivered-To: ppc@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id EAABA9E4; Sat, 25 Jan 2014 15:15:45 +0000 (UTC) Date: Sat, 25 Jan 2014 15:15:45 +0000 From: Alexey Dokuchaev To: Nathan Whitehorn Subject: Re: Sharing experience: X11 on Mac Mini G4 (ATI RV280) Message-ID: <20140125151545.GA28515@FreeBSD.org> References: <20140125135241.GB97062@FreeBSD.org> <52E3D19F.5000002@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52E3D19F.5000002@freebsd.org> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: ppc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2014 15:15:46 -0000 On Sat, Jan 25, 2014 at 09:00:47AM -0600, Nathan Whitehorn wrote: > The drm(4) module on PPC sometimes has issues. You could try disabling it in > your xorg.conf (or removing the relevant kernel modules, drm.ko and > radeon.ko, from /boot/kernel) and see if that helps. Hmm, actually, I don't have neither drm.ko nor radeon.ko under /boot/kernel, since I was running custom, stripped-down kernel. Perhaps I should've tried playing with X11 on GENERIC before spamming the list. ;-) Nonetheless, thanks for your suggestion Nathan. ./danfe From owner-freebsd-ppc@FreeBSD.ORG Sat Jan 25 15:47:23 2014 Return-Path: Delivered-To: ppc@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id 46396E5; Sat, 25 Jan 2014 15:47:23 +0000 (UTC) Date: Sat, 25 Jan 2014 15:47:23 +0000 From: Alexey Dokuchaev To: ppc@freebsd.org Subject: Re: Sharing experience: X11 on Mac Mini G4 (ATI RV280) Message-ID: <20140125154723.GA37284@FreeBSD.org> References: <20140125135241.GB97062@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140125135241.GB97062@FreeBSD.org> User-Agent: Mutt/1.5.22 (2013-10-16) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2014 15:47:23 -0000 On Sat, Jan 25, 2014 at 01:52:41PM +0000, Alexey Dokuchaev wrote: > 1) Simply running "startx" (w/out /etc/X11/xorg.conf) both as normal user > and root did not work: Xorg complained that "Primary device is not PCI" > (WTF?) and "Failed to load module fbdev" (duh! didn't install that one; > I want normal ATI driver and GLX/DRI support). OK, even after installing x11-drivers/xf86-video-fbdev, startx(1) still does not work for me, with this message in /var/log/Xorg.0.log: (II) Loading sub module "fbdevhw" (II) LoadModule: "fbdevhw" (II) Loading /usr/local/lib/xorg/modules/linux/libfbdevhw.so (EE) LoadModule: Module fbdevhw does not have a fbdevhwModuleData data object. ./danfe From owner-freebsd-ppc@FreeBSD.ORG Sat Jan 25 16:18:23 2014 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1033) id C87BE5A1; Sat, 25 Jan 2014 16:18:23 +0000 (UTC) Date: Sat, 25 Jan 2014 16:18:23 +0000 From: Alexey Dokuchaev To: Pedro Giffuni Subject: Re: Apache OpenOffice on FreeBSD-ppc (was Re: LibreOffice 4) Message-ID: <20140125161823.GA41900@FreeBSD.org> References: <52E1D3C9.8010206@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <52E1D3C9.8010206@FreeBSD.org> User-Agent: Mutt/1.5.22 (2013-10-16) Cc: FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2014 16:18:23 -0000 On Thu, Jan 23, 2014 at 09:45:29PM -0500, Pedro Giffuni wrote: > Maho and I are committers in Apache OpenOffice and we would be absolutely > delighted to bring more FreeBSD platform support. Cool; glad to know that some our fellow committers are also involved with project's upstream. ;-) > We were considering dropping AOO3 from the tree as AOO4 should be better. Probably; I was just judging from personal (very nice) experience with OO3, and lack thereof with LO; OO4 is certainly on my list to try (and fix, if needed). > Apache OpenOffice 4.0.1 will be the last OpenOffice release to build with > the old GNU toolchain in base. The Mac OSX port is forcing us to move > aggressively towards C++11. I don't quite understand: do you mean that new OO code with start to use C++11 feature aggressively, or just won't be tested against old libraries? Since C++11 implies compatibility with old code, with little luck we should be able to keep building in on e.g. stable/8 as long as OO does not use any of new C++11-only specific *language* features. > My recommendation is to start from 4.0.1 and then upstream your changes (it > should not be difficult). For PPC you can, of course, borrow heavily from > linux-ppc. Here is an old guide that may help: > > https://wiki.openoffice.org/wiki/Lazy_Hackers_Guide_To_Porting Thanks; I'll certainly take a look; right now I'm still fighting with X11 problems on PPC and Clang-builds on -CURRENT/i386. > I will see if I can find some expert help for the endianness issue but don't > be shy about asking questions upstream ;-). There should not be any technical difficulties with handling endianness in source code per se; only in case fixing it would require changing the build framework files, some help might come handy. ./danfe From owner-freebsd-ppc@FreeBSD.ORG Sat Jan 25 16:50:00 2014 Return-Path: Delivered-To: freebsd-ppc@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 0D3581A9; Sat, 25 Jan 2014 16:50:00 +0000 (UTC) Received: from mail-pa0-x234.google.com (mail-pa0-x234.google.com [IPv6:2607:f8b0:400e:c03::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C93DB1FE3; Sat, 25 Jan 2014 16:49:59 +0000 (UTC) Received: by mail-pa0-f52.google.com with SMTP id bj1so4400035pad.39 for ; Sat, 25 Jan 2014 08:49:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; bh=PYWgykn4H1WyQQErP6zK6n9txNaXb0HP65zbYW5/PQQ=; b=ayjeqabcio0QjG16jybbbbfCMbWP+mUq5QOHzr+0xdOVA1B/RLBsKehsK0JeiZITk3 NAMdQXERO5n/lmUoj7rbMZvnu3qkTebqftipNQtAYPiEdkcQNclL7b2EIvSRsAPTw0HE uNU3iFN/X578pG7KIOT9+z0SM91KHUQeQ7mekpjeUfkm23T6zHNaYdNi9f4DMdKdeEOk 4zpeKPXQUG4wspabtLINqKcchszUUPBjcDPs5clTnXWhoyc58LzwzT9eFuGzBP8mx3os NF+3KcjF4yDO9R5wYqGStSBlrQCYT1a24OHJThzFcwx80sudslazO8aJ994YHec289LQ 49tQ== X-Received: by 10.68.143.100 with SMTP id sd4mr21015943pbb.0.1390668599479; Sat, 25 Jan 2014 08:49:59 -0800 (PST) Received: from zhabar.gateway.2wire.net (76-253-2-5.lightspeed.sntcca.sbcglobal.net. [76.253.2.5]) by mx.google.com with ESMTPSA id nl7sm14691445pbc.6.2014.01.25.08.49.57 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Sat, 25 Jan 2014 08:49:58 -0800 (PST) Date: Sat, 25 Jan 2014 08:49:53 -0800 From: Justin Hibbits To: Alexey Dokuchaev Subject: Re: Apache OpenOffice on FreeBSD-ppc (was Re: LibreOffice 4) Message-ID: <20140125084953.73f4a342@zhabar.gateway.2wire.net> In-Reply-To: <20140125161823.GA41900@FreeBSD.org> References: <52E1D3C9.8010206@FreeBSD.org> <20140125161823.GA41900@FreeBSD.org> X-Mailer: Claws Mail 3.9.3 (GTK+ 2.24.22; powerpc64-portbld-freebsd11.0) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Pedro Giffuni , FreeBSD PowerPC ML X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2014 16:50:00 -0000 On Sat, 25 Jan 2014 16:18:23 +0000 Alexey Dokuchaev wrote: > On Thu, Jan 23, 2014 at 09:45:29PM -0500, Pedro Giffuni wrote: > > My recommendation is to start from 4.0.1 and then upstream your > > changes (it should not be difficult). For PPC you can, of course, > > borrow heavily from linux-ppc. Here is an old guide that may help: > > > > https://wiki.openoffice.org/wiki/Lazy_Hackers_Guide_To_Porting > > Thanks; I'll certainly take a look; right now I'm still fighting with > X11 problems on PPC and Clang-builds on -CURRENT/i386. Clang isn't quite complete for ppc32 (it mostly works, with some issues, on ppc64, those are being worked out). For C++11 features, and better support in general, I'd recommend gcc48. As for X11 problems, what problems are you having? Nathan fixed building WITH_NEW_XORG and has a patch floating around, I believe he filed a couple PRs on it, too. - Justin From owner-freebsd-ppc@FreeBSD.ORG Sat Jan 25 20:41:03 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 D816ADD3; Sat, 25 Jan 2014 20:41:03 +0000 (UTC) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6B7EC14EA; Sat, 25 Jan 2014 20:41:02 +0000 (UTC) Received: from deuterium.andreas.nets (dhclient-91-190-14-19.flashcable.ch [91.190.14.19]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id s0PKekE1017522; Sat, 25 Jan 2014 21:40:54 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Message-ID: <52E4214E.7070508@fgznet.ch> Date: Sat, 25 Jan 2014 21:40:46 +0100 From: Andreas Tobler User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Alexey Dokuchaev Subject: Re: Playback and volume (Was: Re: Tightening kernel for Mac Mini G4) References: <20140122153323.GA3637@FreeBSD.org> <20140122082542.745de133@zhabar.gateway.2wire.net> <52E004E5.3080608@fgznet.ch> <20140124125133.GA39635@FreeBSD.org> <52E3ABDD.80901@fgznet.ch> <20140125143704.GA21430@FreeBSD.org> In-Reply-To: <20140125143704.GA21430@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: powerpc@FreeBSD.ORG, Justin Hibbits X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2014 20:41:03 -0000 On 25.01.14 15:37, Alexey Dokuchaev wrote: > On Sat, Jan 25, 2014 at 01:19:41PM +0100, Andreas Tobler wrote: >> On 24.01.14 13:51, Alexey Dokuchaev wrote: >>> Indeed: kldload'ing snd_ai2s.ko allowed me to play an MP3 file with mpg123. >>> Albeit at full volume, which kind of sucks. Is there way to control volume >>> without mixer device? >> >> Hm, I have no clue yet. I'll let you know once I find something. > > Well, it's not a big problem anyway: both mpg123 (tested; works but with an > annoying ~200ms delay) and mplayer (currently building) are able to control > their own output volume levels. Yup, learned also that mplayer works, so no immediate need for a volume control ;) Thanks, Andreas