From owner-freebsd-ppc@FreeBSD.ORG Mon Nov 8 11:07:03 2010 Return-Path: Delivered-To: freebsd-ppc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26103106567A for ; Mon, 8 Nov 2010 11:07:03 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 130E58FC24 for ; Mon, 8 Nov 2010 11:07:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA8B72Eu088173 for ; Mon, 8 Nov 2010 11:07:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA8B72fc088171 for freebsd-ppc@FreeBSD.org; Mon, 8 Nov 2010 11:07:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 8 Nov 2010 11:07:02 GMT Message-Id: <201011081107.oA8B72fc088171@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 Cc: Subject: Current problem reports assigned to freebsd-ppc@FreeBSD.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2010 11:07:03 -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/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/133383 ppc firefox thr_kill crash with heavy vm load o power/133382 ppc [install] Installer gets signal 11 o power/131548 ppc ofw_syscons no longer supports 32-bit framebuffer a power/121407 ppc [panic] Won't boot up; strange error message. o power/111296 ppc [kernel] [patch] [request] Support IMISS, DLMISS an DS o power/93203 ppc FreeBSD PPC Can't Write to Partitions. 10 problems total. From owner-freebsd-ppc@FreeBSD.ORG Mon Nov 8 13:03:03 2010 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 963F81065670; Mon, 8 Nov 2010 13:03:03 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 3E3F28FC17; Mon, 8 Nov 2010 13:03:03 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.3) with ESMTP id oA8D320I092059; Mon, 8 Nov 2010 08:03:02 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.3/Submit) id oA8D32Gx092058; Mon, 8 Nov 2010 13:03:02 GMT (envelope-from tinderbox@freebsd.org) Date: Mon, 8 Nov 2010 13:03:02 GMT Message-Id: <201011081303.oA8D32Gx092058@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2010 13:03:03 -0000 TB --- 2010-11-08 11:43:41 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-11-08 11:43:41 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2010-11-08 11:43:41 - cleaning the object tree TB --- 2010-11-08 11:44:03 - cvsupping the source tree TB --- 2010-11-08 11:44:03 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2010-11-08 11:44:25 - building world TB --- 2010-11-08 11:44:25 - MAKEOBJDIRPREFIX=/obj TB --- 2010-11-08 11:44:25 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-11-08 11:44:25 - TARGET=powerpc TB --- 2010-11-08 11:44:25 - TARGET_ARCH=powerpc TB --- 2010-11-08 11:44:25 - TZ=UTC TB --- 2010-11-08 11:44:25 - __MAKE_CONF=/dev/null TB --- 2010-11-08 11:44:25 - cd /src TB --- 2010-11-08 11:44:25 - /usr/bin/make -B buildworld >>> World build started on Mon Nov 8 11:44:26 UTC 2010 >>> 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 [...] Making grotty.1 from /src/gnu/usr.bin/groff/src/devices/grotty/../../../../../../contrib/groff/src/devices/grotty/grotty.man gzip -cn grotty.1 > grotty.1.gz ===> gnu/usr.bin/groff/src/preproc (all) ===> gnu/usr.bin/groff/src/preproc/eqn (all) c++ -O2 -pipe -I/src/gnu/usr.bin/groff/src/preproc/eqn/../../../../../../contrib/groff/src/preproc/eqn -I. -DHAVE_CONFIG_H -I/src/gnu/usr.bin/groff/src/preproc/eqn/../../../../../../contrib/groff/src/include -I/src/gnu/usr.bin/groff/src/preproc/eqn/../../../src/include -fstack-protector -fno-rtti -fno-exceptions -c eqn.cpp y.tab.c: In function 'int yygrowstack()': y.tab.c:703: error: invalid conversion from 'void*' to 'short int*' y.tab.c:709: error: invalid conversion from 'void*' to 'YYSTYPE*' *** Error code 1 Stop in /src/gnu/usr.bin/groff/src/preproc/eqn. *** Error code 1 Stop in /src/gnu/usr.bin/groff/src/preproc. *** Error code 1 Stop in /src/gnu/usr.bin/groff/src. *** Error code 1 Stop in /src/gnu/usr.bin/groff. *** Error code 1 Stop in /src/gnu/usr.bin. *** Error code 1 Stop in /src/gnu. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2010-11-08 13:03:02 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-11-08 13:03:02 - ERROR: failed to build world TB --- 2010-11-08 13:03:02 - 3798.81 user 701.41 system 4761.34 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Mon Nov 8 17:01:16 2010 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 73043106564A for ; Mon, 8 Nov 2010 17:01:16 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout029.mac.com (asmtpout029.mac.com [17.148.16.104]) by mx1.freebsd.org (Postfix) with ESMTP id 5C0918FC15 for ; Mon, 8 Nov 2010 17:01:16 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from macbook-pro.jnpr.net (natint3.juniper.net [66.129.224.36]) by asmtp029.mac.com (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 64bit)) with ESMTPSA id <0LBK0038UPU2MS10@asmtp029.mac.com> for powerpc@freebsd.org; Mon, 08 Nov 2010 08:01:16 -0800 (PST) X-Proofpoint-Spam-Details: rule=notspam policy=default score=8 spamscore=8 ipscore=0 suspectscore=1 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1004200000 definitions=main-1011080072 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2010-11-08_07:2010-11-08, 2010-11-08, 1970-01-01 signatures=0 From: Marcel Moolenaar Date: Mon, 08 Nov 2010 08:01:14 -0800 Message-id: <357575CE-2F5A-4C2E-8323-DE6C2CB0E2A5@mac.com> To: powerpc@freebsd.org X-Mailer: Apple Mail (2.1081) Cc: Subject: Release builds are broken -- help wanted! X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2010 17:01:16 -0000 All, The PowerPC release builds are now definitely broken. Previously we would merely create an invalid livefs ISO and I would simply not upload that. Now mkisofs is actually failing when it attempts to make the livefs ISO. This aborts the release build. It would really be good if someone can finally figure out the right set of options to give to mkisofs so that we have a bootable hybrid ISO, without it being roughly twice the size of a non-hybrid ISO image. Unfortunately, I lack the bandwidth to look into it myself, so as of now there won't be any snapshots or releases for PowerPC until this is resolved. FYI, -- Marcel Moolenaar xcllnt@mac.com From owner-freebsd-ppc@FreeBSD.ORG Mon Nov 8 19:33:26 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A96871065693 for ; Mon, 8 Nov 2010 19:33:26 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7A0CA8FC1B for ; Mon, 8 Nov 2010 19:33:26 +0000 (UTC) Received: by pxi1 with SMTP id 1so1190187pxi.13 for ; Mon, 08 Nov 2010 11:33:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=ZBpLUZaNyjSASrFWLd0DhnE0ARDC7/PnXnGrsPoCzbE=; b=kX1/kutGo30/5p6OWCe/msv665pUpSKI3AmJ3kSElsk0D2kTUjusxbSfklzpfPmcaU JLnfg3CU7BJ0Af6O3jg8ZfDjf0+lUIQvM9qilaJTPBpS39pgl08GsnqjBAyHw9nRld4u eJ2AqUg2s8F8ycHAFO5YXt9bLF+UKx3TaaMGk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=rIsxXszfTC602o2/Ce1EialGVU3BtA/UO7jBQ8PKY3NRXP+NPBreBHS/58s1rH1bMN 594K36yS+sM0wvayLPtX3oFcmjf7JSudonyQHrcVgJSGdI0qXREBIz/soiFqFsBItn4W neXEOa18z2Jhqzu9dYMWP/VHhiCUnOy4oAsIU= MIME-Version: 1.0 Received: by 10.42.194.209 with SMTP id dz17mr4268840icb.371.1289244805741; Mon, 08 Nov 2010 11:33:25 -0800 (PST) Received: by 10.220.190.193 with HTTP; Mon, 8 Nov 2010 11:33:25 -0800 (PST) In-Reply-To: <357575CE-2F5A-4C2E-8323-DE6C2CB0E2A5@mac.com> References: <357575CE-2F5A-4C2E-8323-DE6C2CB0E2A5@mac.com> Date: Mon, 8 Nov 2010 14:33:25 -0500 Message-ID: From: Super Bisquit To: Marcel Moolenaar Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-ppc@freebsd.org Subject: Re: Release builds are broken -- help wanted! X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2010 19:33:26 -0000 On Mon, Nov 8, 2010 at 11:01 AM, Marcel Moolenaar wrote: > All, > > The PowerPC release builds are now definitely broken. Previously we > would merely create an invalid livefs ISO and I would simply not > upload that. Now mkisofs is actually failing when it attempts to > make the livefs ISO. This aborts the release build. > > The livefs will not load by itself in my experience. You need a boot cd or cd1 in order to use it. Have you thought of adding the livefs to the bootcd? Maybe even creating a ports cd for X and basic utilities would be helpful. You're also forgetting that the install process is no longer a single step. It's best to partiton using a linux CD and then use gpart to reformat followed by disklabel. I follow this with mounting the disk1 and extracting the necessary parts. Returning to an earlier part: Why not add the tools to disk1 or the boot cd? From owner-freebsd-ppc@FreeBSD.ORG Mon Nov 8 19:41:37 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 271C1106566B for ; Mon, 8 Nov 2010 19:41:37 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from thalia-smout.broadpark.no (thalia-smout.broadpark.no [80.202.8.21]) by mx1.freebsd.org (Postfix) with ESMTP id D5A678FC12 for ; Mon, 8 Nov 2010 19:41:36 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from ignis-smin.broadpark.no ([80.202.8.11]) by thalia-smout.broadpark.no (Sun Java(tm) System Messaging Server 7u3-15.01 64bit (built Feb 12 2010)) with ESMTP id <0LBL007PP00H7970@thalia-smout.broadpark.no> for freebsd-ppc@freebsd.org; Mon, 08 Nov 2010 20:41:05 +0100 (CET) Received: from kg-v2.kg4.no ([80.203.109.85]) by ignis-smin.broadpark.no (Sun Java(tm) System Messaging Server 7u3-15.01 64bit (built Feb 12 2010)) with SMTP id <0LBL0006I00HVC11@ignis-smin.broadpark.no> for freebsd-ppc@freebsd.org; Mon, 08 Nov 2010 20:41:05 +0100 (CET) Date: Mon, 08 Nov 2010 20:41:05 +0100 From: Torfinn Ingolfsen To: freebsd-ppc@freebsd.org Message-id: <20101108204105.e33ccef5.torfinn.ingolfsen@broadpark.no> In-reply-to: References: <357575CE-2F5A-4C2E-8323-DE6C2CB0E2A5@mac.com> X-Mailer: Sylpheed 3.0.3 (GTK+ 2.20.1; amd64-portbld-freebsd8.1) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Subject: Re: Release builds are broken -- help wanted! X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2010 19:41:37 -0000 On Mon, 08 Nov 2010 14:33:25 -0500 Super Bisquit wrote: > You're also forgetting that the install process is no longer a single step. > It's best to partiton using a linux CD and then use gpart to reformat > followed by disklabel. FWIW, the last time I did this (installing FreeBSD 8.1-release on PowerPC), I did not need any other tools in addition to the FreeBSD install CD. Why do you need a linux CD? -- Regards, Torfinn Ingolfsen From owner-freebsd-ppc@FreeBSD.ORG Tue Nov 9 06:02:57 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D4AA106564A for ; Tue, 9 Nov 2010 06:02:57 +0000 (UTC) (envelope-from bounce@bounce.quepasa.com) Received: from sm-70-42-226-216.quepasa.com (sm-70-42-226-216.quepasa.com [70.42.226.216]) by mx1.freebsd.org (Postfix) with ESMTP id CBA258FC19 for ; Tue, 9 Nov 2010 06:02:56 +0000 (UTC) Received: from localhost.localdomain ([10.42.226.54]) by sm-70-42-226-216.quepasa.com (StrongMail Enterprise 4.1.1(4.1.1-44201)); Mon, 08 Nov 2010 21:02:53 -0700 X-VirtualServer: Default, sm-70-42-226-216.quepasa.com, 70.42.226.216 X-MailingID: 00000::00000::00000::00000::4::5866845 X-SMHeaderMap: mid="X-MailingID" X-Mailer: StrongMail Enterprise 4.1.1(4.1.1-44201) X-Destination-ID: freebsd-ppc@freebsd.org X-SMFBL: ZnJlZWJzZC1wcGNAZnJlZWJzZC5vcmc= DomainKey-Signature: a=rsa-sha1; c=nofws; s=sm; d=quepasa.com; q=dns; b=iTGAR6R/IwmOViL0g2siUbEVTiPvQE+BXtpS9ighOjTg6kK4bDwC72mbKZd8h/9CHWb2CAbC2FCWJ1wrc4VVsMQf8NLQIPw6YTq+mADYDbBrYv5F+bS77plY5OFhMtSrm0M2LtIO+wP7y4Ssi0/0J9kzy232kxPLHy9T2HtYNmc= DKIM-Signature: v=1; a=rsa-sha1; c=simple; d=quepasa.com; s=sm; i=@quepasa.com; h=To:From:Subject:Date:X-LibVersion:MIME-Version: Content-Type:Content-Transfer-Encoding:X-QPEmailID: X-QPTemplateID:X-MailLocation:X-VirtualServerGroup:X-Client: Return-path:Reply-to:Sender:List-Unsubscribe:Message-ID; bh=/hzC AXinTUmTJ4mN9WAO+5Nog5M=; b=LtmaclIS+3OASFdUT0ddIOzyJ/R8uaGDPhxb QwV2yk/zlr+HEH1A4r7fe47vAIP4XIUOJ16tyC3/uRwj4mdLaas+5Wuulj0fCYvg SWjAHuab8ctdQDQZnDiTc6s0dLIlTm1pGQWK1QTOyXXjPdT5NcDHjFffzQtZWCn/ 8urPZho= To: freebsd-ppc@freebsd.org From: Jarupon Mahiphot Date: Mon, 08 Nov 2010 21:00:48 -0700 X-LibVersion: 3.3.2 Content-Transfer-Encoding: quoted-printable X-QPEmailID: 15078556681 X-QPTemplateID: 4 X-MailLocation: Strongmail X-VirtualServerGroup: Default X-Client: 0 Sender: info@quepasa.com Message-ID: <20101109040253.27106.1081991679.swift@te-me-001> MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format="flowed" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: I added you as a friend on Quepasa.com X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: noreply@quepasa.com List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2010 06:02:57 -0000 = = From owner-freebsd-ppc@FreeBSD.ORG Tue Nov 9 09:51:12 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 63E121065672 for ; Tue, 9 Nov 2010 09:51:12 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 26C368FC0C for ; Tue, 9 Nov 2010 09:51:11 +0000 (UTC) Received: by iwn39 with SMTP id 39so7412694iwn.13 for ; Tue, 09 Nov 2010 01:51:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=youQgx5Vkqq4meZRNY6xqWn7LKsC0w87n9S2UOqTe/M=; b=YW1UZ2NVzngSNHO0ixul5hWxQWPW1AuoDYuM7qCCB9dXvOOark8YH6EAT/lJwU4lXu 0SNqgbPGPoUj0dgb7Ohdbag+NPmOAg/jBrLnXUZEtM0U7+CRpE4iY0Be9OJrtgeMS1iN 9qPlF7SXXykIYa9j2t+wt5oWyjlDBBtvQjsZU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=CI7Eu9jMdsTIy3ExoaiCKMxstuCJVSR8cRVGnv3w19tITIVPcifULoViifd03CeSyw UZ9qU3ozdBT878rB7wYD5lIrKiBIubrbxBQ+7oYkXs6Sn/W44aDotY0KoPudBdmr6lKf XOL8eYozL307MrWXGjI2Z348/RxNEMxCerTIw= MIME-Version: 1.0 Received: by 10.42.155.67 with SMTP id t3mr983683icw.438.1289296271434; Tue, 09 Nov 2010 01:51:11 -0800 (PST) Received: by 10.220.190.193 with HTTP; Tue, 9 Nov 2010 01:51:11 -0800 (PST) In-Reply-To: <20101108204105.e33ccef5.torfinn.ingolfsen@broadpark.no> References: <357575CE-2F5A-4C2E-8323-DE6C2CB0E2A5@mac.com> <20101108204105.e33ccef5.torfinn.ingolfsen@broadpark.no> Date: Tue, 9 Nov 2010 04:51:11 -0500 Message-ID: From: Super Bisquit To: Torfinn Ingolfsen Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-ppc@freebsd.org Subject: Re: Release builds are broken -- help wanted! X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2010 09:51:12 -0000 On Mon, Nov 8, 2010 at 2:41 PM, Torfinn Ingolfsen < torfinn.ingolfsen@broadpark.no> wrote: > > Why do you need a linux CD? > > Because I multiboot on the PowerPC is why. From owner-freebsd-ppc@FreeBSD.ORG Tue Nov 9 12:27:43 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5AC5106564A for ; Tue, 9 Nov 2010 12:27:43 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 42B488FC17 for ; Tue, 9 Nov 2010 12:27:43 +0000 (UTC) Received: by wya21 with SMTP id 21so67000wya.13 for ; Tue, 09 Nov 2010 04:27:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=4CjF6gRyiDr/CG1Z4LFBueV1iuaPFo3GnRnT1lwmo5o=; b=fHkLskOSvOJgt0+jJSdACGsFHjrlXvWscJC7VzEM+aQGISS+Zp4KQu3RAV5i89H9Wz 9Pos/GNuWo2ZqrFYB9DBElxIg8ls7ygzQFuE3ra679oIlKgdqZdoAQEoPYA9mwWm/RcJ vZgcKQzLRfQ6+DczGBI91HNA9IdQbNuiL8A98= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=dXKW0EElBuYLMPEgKZ4hYzYtgYyrZs26no5z7pWHMwn5pnei8erCk8mVu9kaOiy3eU o1J4Q4rZy9ro93RmF5VtXCZCO/JIjUPtqEA02WfH5Pk2gt6wChnfS7Cs8P7b5byzCFtk v0UGsCMHkMGggYtkJ/w52clQ1N6FigmYC3yts= MIME-Version: 1.0 Received: by 10.216.244.11 with SMTP id l11mr733788wer.43.1289305662034; Tue, 09 Nov 2010 04:27:42 -0800 (PST) Sender: chmeeedalf@gmail.com Received: by 10.216.49.201 with HTTP; Tue, 9 Nov 2010 04:27:41 -0800 (PST) Received: by 10.216.49.201 with HTTP; Tue, 9 Nov 2010 04:27:41 -0800 (PST) In-Reply-To: References: <357575CE-2F5A-4C2E-8323-DE6C2CB0E2A5@mac.com> <20101108204105.e33ccef5.torfinn.ingolfsen@broadpark.no> Date: Tue, 9 Nov 2010 07:27:41 -0500 X-Google-Sender-Auth: kVmAU9valKqjGSskdyDZROx1Rw8 Message-ID: From: Justin Hibbits To: Super Bisquit Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-ppc@freebsd.org Subject: Re: Release builds are broken -- help wanted! X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2010 12:27:43 -0000 I haven't needed a linux boot CD in a while. Booting to the freebsd CD works just fine. On Nov 9, 2010 4:51 AM, "Super Bisquit" wrote: > On Mon, Nov 8, 2010 at 2:41 PM, Torfinn Ingolfsen < > torfinn.ingolfsen@broadpark.no> wrote: > >> >> Why do you need a linux CD? >> >> > Because I multiboot on the PowerPC is why. > _______________________________________________ > 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 Nov 9 16:43:55 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 760E410656A4 for ; Tue, 9 Nov 2010 16:43:55 +0000 (UTC) (envelope-from superbisquit@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2988B8FC22 for ; Tue, 9 Nov 2010 16:43:54 +0000 (UTC) Received: by vws20 with SMTP id 20so1584433vws.13 for ; Tue, 09 Nov 2010 08:43:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=7tVao8OQ74GqmVKBIEIkgs+8cplIfJsy+hLEXbSL9lQ=; b=WGgkUSTqJ1wk0leLnCit5xwiL7v+YHfYvTmR6/CIyX3jWI1jmL59+3PiKMAheHwxSV lMsysS4SIun9B742qEeDDubu90cNHZ9i59MovXhHor7tWhbexJ9z5Z/Ulvox1CHKiEQN wA6OItqLEoPVeTxEBiy9g2HhSbdv99yu2RAyY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=JHMr2nFll8MOc93qGKAvkadBtpXAeppAoeMdH/wGf8OfC2QKPbisQami/LxFOvabiK NbmvY/KkYoUGEJH551998H50xmdGTq3FmbofJoim2S0O/Jw/KzK0+RhJvMfh0Trck7dR QAB5YragW8KBZxrL/+EI/asy/7cB6QS7JPCMs= MIME-Version: 1.0 Received: by 10.239.189.9 with SMTP id r9mr356159hbh.3.1289321033422; Tue, 09 Nov 2010 08:43:53 -0800 (PST) Received: by 10.220.190.193 with HTTP; Tue, 9 Nov 2010 08:43:53 -0800 (PST) In-Reply-To: References: <357575CE-2F5A-4C2E-8323-DE6C2CB0E2A5@mac.com> <20101108204105.e33ccef5.torfinn.ingolfsen@broadpark.no> Date: Tue, 9 Nov 2010 11:43:53 -0500 Message-ID: From: Super Bisquit To: Justin Hibbits Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-ppc@freebsd.org Subject: Re: Release builds are broken -- help wanted! X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2010 16:43:55 -0000 On Tue, Nov 9, 2010 at 7:27 AM, Justin Hibbits wrote: > I haven't needed a linux boot CD in a while. Booting to the freebsd CD > works just fine. > > > The other reasons can be eferenced to when I was subscribed as super_bisquit@yahoo.com. The initial SNAPSHOT-9 disc didn't have the gpart added to the base at that time. The work around was created out of necessity. Also, I do multibooting- see previous email- and am trying to get Open and Net to work on the same hard disk. Gpart documentation is lacking as far as creating all partition types- I need a howto to further understand by working examples. My apologies for hogging the thread. After this, can we return to the original subject to help out the OP with his/her difficulties? Thanks, Desmond. From owner-freebsd-ppc@FreeBSD.ORG Wed Nov 10 00:08:12 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26F83106566C; Wed, 10 Nov 2010 00:08:12 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from mail.icecube.wisc.edu (trout.icecube.wisc.edu [128.104.255.119]) by mx1.freebsd.org (Postfix) with ESMTP id DBD4E8FC14; Wed, 10 Nov 2010 00:08:11 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 113AB582C3; Tue, 9 Nov 2010 18:08:11 -0600 (CST) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from mail.icecube.wisc.edu ([127.0.0.1]) by localhost (trout.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id QpRts3xcx1QI; Tue, 9 Nov 2010 18:08:10 -0600 (CST) Received: from comporellon.tachypleus.net (unknown [76.210.66.181]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 96B64582C2; Tue, 9 Nov 2010 18:08:10 -0600 (CST) Message-ID: <4CD9E269.40205@freebsd.org> Date: Tue, 09 Nov 2010 18:08:09 -0600 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.15) Gecko/20101108 Thunderbird/3.0.10 MIME-Version: 1.0 To: Marius Strobl References: <4CCDD51F.2040003@freebsd.org> <20101105110728.GA65518@alchemy.franken.de> In-Reply-To: <20101105110728.GA65518@alchemy.franken.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-sparc64@freebsd.org, freebsd-ppc@freebsd.org Subject: Re: Review request -- splitting OF enumeration from nexus X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2010 00:08:12 -0000 On 11/05/10 06:07, Marius Strobl wrote: > > o Besides adding some style bugs the patch also has several > obvious functional ones, f.e. the type-based exclude list of > sparc64 got lost, the former nexus(4) front-end of ebus(4) now > tries to attach to ofwdump(4)[sic] and for sparc64 (as well as > for sun4v) the default for the number of address-cells when no > corresponding property exists would need to be 2 instead of 1 > (on sparc64 these properties actually are missing occasionally). > Also due to the sheer complexity I'm not sure from the patch > whether ssm(4), which previously inherited from nexus(4), > still works correctly. What this all boils down to is that > due to the great variety of busses and devices on sparc64 and > how they may hang off from each other in different ways this > patch would need to be tested on all sun4u models FreeBSD > supports so far in order to shake out all problems with corner > cases of the patch and fof irmware versions (Solaris probably > doesn't duplicated most of the equivalents for every machine > model without a reason), several of which I only had temporary > access to. > > Put differently, if you want to factor this out into dev/ofw for > powerpc feel free to do so but please find a way to keep the MI > part really MI so that device exclude lists, interrupt bits, cell > defaults etc remain in MD locations (f.e. by supplying macros for > these in MD headers or for the interrupt bits maybe and also a > function in the MD code) and please don't switch sparc64 to it. > IMO this just would need a lot of work to stabilize it there with > no real net gain. Regarding reducing code duplication on sparc64 > I'd rather prefer to put all relevant OF knowledge into nexus(4) > and inherit from there like I've started to do with ssm(4) (but > what probably should also work with f.e. central(4), fhc(4) and > upa(4) but not so easily with sbus(4)). But unfortunately retro- > fitting changes in the bus support always is a PITA on sparc64 > due to the significant differences in peripherals between machine > models and in firmware anomalies between different versions for > the same model. > Without sparc64, there isn't a lot of point to this reorganization and we should probably stick with the status quo instead. The last thing in the world I want is to create yet more duplication of OF-related infrastructure -- we already have enough of that with FDT. -Nathan From owner-freebsd-ppc@FreeBSD.ORG Wed Nov 10 04:30:31 2010 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C12DF106566C; Wed, 10 Nov 2010 04:30:31 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 73DD28FC1B; Wed, 10 Nov 2010 04:30:31 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.3) with ESMTP id oAA4UUsR011487; Tue, 9 Nov 2010 23:30:30 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.3/Submit) id oAA4UUkH011483; Wed, 10 Nov 2010 04:30:30 GMT (envelope-from tinderbox@freebsd.org) Date: Wed, 10 Nov 2010 04:30:30 GMT Message-Id: <201011100430.oAA4UUkH011483@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [releng_8 tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2010 04:30:32 -0000 TB --- 2010-11-10 03:26:51 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-11-10 03:26:51 - starting RELENG_8 tinderbox run for powerpc/powerpc TB --- 2010-11-10 03:26:51 - cleaning the object tree TB --- 2010-11-10 03:27:16 - cvsupping the source tree TB --- 2010-11-10 03:27:16 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/RELENG_8/powerpc/powerpc/supfile TB --- 2010-11-10 03:27:35 - building world TB --- 2010-11-10 03:27:35 - MAKEOBJDIRPREFIX=/obj TB --- 2010-11-10 03:27:35 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-11-10 03:27:35 - TARGET=powerpc TB --- 2010-11-10 03:27:35 - TARGET_ARCH=powerpc TB --- 2010-11-10 03:27:35 - TZ=UTC TB --- 2010-11-10 03:27:35 - __MAKE_CONF=/dev/null TB --- 2010-11-10 03:27:35 - cd /src TB --- 2010-11-10 03:27:35 - /usr/bin/make -B buildworld >>> World build started on Wed Nov 10 03:27:36 UTC 2010 >>> 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 Wed Nov 10 04:28:29 UTC 2010 TB --- 2010-11-10 04:28:29 - generating LINT kernel config TB --- 2010-11-10 04:28:29 - cd /src/sys/powerpc/conf TB --- 2010-11-10 04:28:29 - /usr/bin/make -B LINT TB --- 2010-11-10 04:28:29 - building LINT kernel TB --- 2010-11-10 04:28:29 - MAKEOBJDIRPREFIX=/obj TB --- 2010-11-10 04:28:29 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-11-10 04:28:29 - TARGET=powerpc TB --- 2010-11-10 04:28:29 - TARGET_ARCH=powerpc TB --- 2010-11-10 04:28:29 - TZ=UTC TB --- 2010-11-10 04:28:29 - __MAKE_CONF=/dev/null TB --- 2010-11-10 04:28:29 - cd /src TB --- 2010-11-10 04:28:29 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Wed Nov 10 04:28:29 UTC 2010 >>> 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 [...] from @/contrib/dev/acpica/include/acpi.h:128, from /src/sys/modules/tpm/../../dev/tpm/tpm_acpi.c:43: @/contrib/dev/acpica/include/platform/acfreebsd.h:124:36: error: machine/acpica_machdep.h: No such file or directory In file included from @/contrib/dev/acpica/include/acpi.h:130, from /src/sys/modules/tpm/../../dev/tpm/tpm_acpi.c:43: @/contrib/dev/acpica/include/actypes.h:127:2: error: #error ACPI_MACHINE_WIDTH not defined @/contrib/dev/acpica/include/actypes.h:276:2: error: #error unknown ACPI_MACHINE_WIDTH mkdep: compile failed *** Error code 1 Stop in /src/sys/modules/tpm. *** Error code 1 Stop in /src/sys/modules. *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2010-11-10 04:30:30 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-11-10 04:30:30 - ERROR: failed to build lint kernel TB --- 2010-11-10 04:30:30 - 2845.32 user 638.80 system 3818.95 real http://tinderbox.freebsd.org/tinderbox-releng_8-RELENG_8-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Wed Nov 10 22:14:35 2010 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0ADA1065702; Wed, 10 Nov 2010 22:14:35 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id A265A8FC17; Wed, 10 Nov 2010 22:14:35 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id 3C67246B0C; Wed, 10 Nov 2010 17:14:35 -0500 (EST) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 3F7768A009; Wed, 10 Nov 2010 17:14:34 -0500 (EST) From: John Baldwin To: powerpc@freebsd.org Date: Wed, 10 Nov 2010 17:14:32 -0500 User-Agent: KMail/1.13.5 (FreeBSD/7.3-CBSD-20100819; KDE/4.4.5; amd64; ; ) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Message-Id: <201011101714.33194.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.6 (bigwig.baldwin.cx); Wed, 10 Nov 2010 17:14:34 -0500 (EST) X-Virus-Scanned: clamav-milter 0.96.3 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=0.7 required=4.2 tests=BAYES_00,TO_NO_BRKTS_DIRECT autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on bigwig.baldwin.cx Cc: raj@freebsd.org, dim@freebsd.org Subject: Use of MTX_UNOWNED in booke/trap_subr.S X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Nov 2010 22:14:35 -0000 First of, sorry for breaking the build. I built a powerpc GENERIC and a powerpc64 GENERIC before I committed, but that obviously wasn't sufficient. dim@ pointed me at the use of MTX_UNOWNED in booke/trap_subr.S. The first thought I had was to re-allow in assembly code, or to expose MTX_UNOWNED via assym.s. However, it looks like the tlb lock in trap_subr.S is a home-grown spinlock rather than an actual 'struct mtx'. For that reason, I'd prefer it use its own constant to avoid confusion. To that end, the patch below adds a TLB_UNLOCKED constant to and uses it for the tlb locks. (I do wonder if we couldn't put the tlb_lock/unlock prototypes in machine/tlb.h as well rather than booke/pmap.c? Then it could all be grouped together to be more consistent.) Index: powerpc/booke/machdep.c =================================================================== --- powerpc/booke/machdep.c (revision 215090) +++ powerpc/booke/machdep.c (working copy) @@ -453,7 +453,7 @@ ptr = &tlb0_miss_locks[cpuid * words_per_gran]; pcpu->pc_booke_tlb_lock = ptr; - *ptr = MTX_UNOWNED; + *ptr = TLB_UNLOCKED; *(ptr + 1) = 0; /* recurse counter */ #endif } Index: powerpc/booke/trap_subr.S =================================================================== --- powerpc/booke/trap_subr.S (revision 215090) +++ powerpc/booke/trap_subr.S (working copy) @@ -330,7 +330,7 @@ lwz %r22, PC_BOOKE_TLB_LOCK(%r20); \ \ 1: lwarx %r23, 0, %r22; \ - cmpwi %r23, MTX_UNOWNED; \ + cmpwi %r23, TLB_UNLOCKED; \ beq 2f; \ \ /* check if this is recursion */ \ @@ -364,7 +364,7 @@ msync; \ \ /* release the lock */ \ - li %r23, MTX_UNOWNED; \ + li %r23, TLB_UNLOCKED; \ stw %r23, 0(%r22); \ 1: isync; \ msync @@ -860,7 +860,7 @@ GET_CPUINFO(%r5) lwz %r5, PC_CURTHREAD(%r5) 1: lwarx %r4, 0, %r3 - cmpwi %r4, MTX_UNOWNED + cmpwi %r4, TLB_UNLOCKED bne 1b stwcx. %r5, 0, %r3 bne- 1b @@ -871,7 +871,7 @@ ENTRY(tlb_unlock) isync msync - li %r4, MTX_UNOWNED + li %r4, TLB_UNLOCKED stw %r4, 0(%r3) isync msync Index: powerpc/include/tlb.h =================================================================== --- powerpc/include/tlb.h (revision 215090) +++ powerpc/include/tlb.h (working copy) @@ -129,6 +129,9 @@ #define TID_MAX 255 #define TID_NONE -1 +/* Lock value for an unlocked per-CPU TLB lock for BookE. */ +#define TLB_UNLOCKED 4 + #if !defined(LOCORE) typedef struct tlb_entry { uint32_t mas1; -- John Baldwin From owner-freebsd-ppc@FreeBSD.ORG Thu Nov 11 02:43:57 2010 Return-Path: Delivered-To: freebsd-ppc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4AA89106564A; Thu, 11 Nov 2010 02:43:57 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1FF688FC19; Thu, 11 Nov 2010 02:43:57 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oAB2hvJr019639; Thu, 11 Nov 2010 02:43:57 GMT (envelope-from nwhitehorn@freefall.freebsd.org) Received: (from nwhitehorn@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oAB2huPc019635; Thu, 11 Nov 2010 02:43:56 GMT (envelope-from nwhitehorn) Date: Thu, 11 Nov 2010 02:43:56 GMT Message-Id: <201011110243.oAB2huPc019635@freefall.freebsd.org> To: phillip-murphy@hotmail.com, nwhitehorn@FreeBSD.org, freebsd-ppc@FreeBSD.org From: nwhitehorn@FreeBSD.org Cc: Subject: Re: powerpc/121407: [panic] Won't boot up; strange error message. X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2010 02:43:57 -0000 Synopsis: [panic] Won't boot up; strange error message. State-Changed-From-To: analyzed->closed State-Changed-By: nwhitehorn State-Changed-When: Thu Nov 11 02:43:13 UTC 2010 State-Changed-Why: Fixed in r209369 on June 20. http://www.freebsd.org/cgi/query-pr.cgi?pr=121407 From owner-freebsd-ppc@FreeBSD.ORG Thu Nov 11 02:44:52 2010 Return-Path: Delivered-To: freebsd-ppc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11C061065679; Thu, 11 Nov 2010 02:44:52 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id DBF428FC17; Thu, 11 Nov 2010 02:44:51 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oAB2ipSF019705; Thu, 11 Nov 2010 02:44:51 GMT (envelope-from nwhitehorn@freefall.freebsd.org) Received: (from nwhitehorn@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oAB2ip7G019701; Thu, 11 Nov 2010 02:44:51 GMT (envelope-from nwhitehorn) Date: Thu, 11 Nov 2010 02:44:51 GMT Message-Id: <201011110244.oAB2ip7G019701@freefall.freebsd.org> To: andrew@fubar.geek.nz, nwhitehorn@FreeBSD.org, freebsd-ppc@FreeBSD.org From: nwhitehorn@FreeBSD.org Cc: Subject: Re: powerpc/111296: [kernel] [patch] [request] Support IMISS, DLMISS an DSMISS interrupts X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2010 02:44:52 -0000 Synopsis: [kernel] [patch] [request] Support IMISS, DLMISS an DSMISS interrupts State-Changed-From-To: open->closed State-Changed-By: nwhitehorn State-Changed-When: Thu Nov 11 02:44:20 UTC 2010 State-Changed-Why: Applied after a very long time in r215107. Thanks for the patch! http://www.freebsd.org/cgi/query-pr.cgi?pr=111296 From owner-freebsd-ppc@FreeBSD.ORG Thu Nov 11 02:50:09 2010 Return-Path: Delivered-To: freebsd-ppc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52970106564A for ; Thu, 11 Nov 2010 02:50:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2628E8FC13 for ; Thu, 11 Nov 2010 02:50:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oAB2o97x019923 for ; Thu, 11 Nov 2010 02:50:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oAB2o8hE019922; Thu, 11 Nov 2010 02:50:09 GMT (envelope-from gnats) Date: Thu, 11 Nov 2010 02:50:09 GMT Message-Id: <201011110250.oAB2o8hE019922@freefall.freebsd.org> To: freebsd-ppc@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: powerpc/111296: commit references a PR X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2010 02:50:09 -0000 The following reply was made to PR powerpc/111296; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: powerpc/111296: commit references a PR Date: Thu, 11 Nov 2010 02:40:16 +0000 (UTC) Author: nwhitehorn Date: Thu Nov 11 02:40:00 2010 New Revision: 215107 URL: http://svn.freebsd.org/changeset/base/215107 Log: Add support for the IMISS, DLMISS, and DSMISS traps required to run FreeBSD on a G2 core. PR: powerpc/111296 Submitted by: Andrew Turner Modified: head/sys/powerpc/aim/machdep.c head/sys/powerpc/aim/trap_subr32.S Modified: head/sys/powerpc/aim/machdep.c ============================================================================== --- head/sys/powerpc/aim/machdep.c Thu Nov 11 02:37:50 2010 (r215106) +++ head/sys/powerpc/aim/machdep.c Thu Nov 11 02:40:00 2010 (r215107) @@ -245,6 +245,9 @@ extern void *dsitrap, *dsisize; extern void *decrint, *decrsize; extern void *extint, *extsize; extern void *dblow, *dbsize; +extern void *imisstrap, *imisssize; +extern void *dlmisstrap, *dlmisssize; +extern void *dsmisstrap, *dsmisssize; uintptr_t powerpc_init(vm_offset_t startkernel, vm_offset_t endkernel, @@ -491,6 +494,12 @@ powerpc_init(vm_offset_t startkernel, vm bcopy(generictrap, (void *)EXC_VEC, (size_t)&trapsize); bcopy(generictrap, (void *)EXC_VECAST_G4, (size_t)&trapsize); bcopy(generictrap, (void *)EXC_VECAST_G5, (size_t)&trapsize); + #ifndef __powerpc64__ + /* G2-specific TLB miss helper handlers */ + bcopy(&imisstrap, (void *)EXC_IMISS, (size_t)&imisssize); + bcopy(&dlmisstrap, (void *)EXC_DLMISS, (size_t)&dlmisssize); + bcopy(&dsmisstrap, (void *)EXC_DSMISS, (size_t)&dsmisssize); + #endif __syncicache(EXC_RSVD, EXC_LAST - EXC_RSVD); /* Modified: head/sys/powerpc/aim/trap_subr32.S ============================================================================== --- head/sys/powerpc/aim/trap_subr32.S Thu Nov 11 02:37:50 2010 (r215106) +++ head/sys/powerpc/aim/trap_subr32.S Thu Nov 11 02:40:00 2010 (r215107) @@ -362,6 +362,207 @@ CNAME(alitrap): CNAME(alisize) = .-CNAME(alitrap) /* + * G2 specific: instuction TLB miss. + */ + .globl CNAME(imisstrap),CNAME(imisssize) +CNAME(imisstrap): + mfspr %r2, SPR_HASH1 /* get first pointer */ + addi %r1, 0, 8 /* load 8 for counter */ + mfctr %r0 /* save counter */ + mfspr %r3, SPR_ICMP /* get first compare value */ + addi %r2, %r2, -8 /* pre dec the pointer */ +im0: + mtctr %r1 /* load counter */ +im1: + lwzu %r1, 8(%r2) /* get next pte */ + cmp 0, %r1, %r3 /* see if found pte */ + bdnzf 2, im1 /* dec count br if cmp ne and if + * count not zero */ + bne instr_sec_hash /* if not found set up second hash + * or exit */ + lwz %r1, +4(%r2) /* load tlb entry lower-word */ + andi. %r3, %r1, 8 /* check G bit */ + bne do_isi_prot /* if guarded, take an ISI */ + mtctr %r0 /* restore counter */ + mfspr %r0, SPR_IMISS /* get the miss address for the tlbli */ + mfspr %r3, SPR_SRR1 /* get the saved cr0 bits */ + mtcrf 0x80, %r3 /* restore CR0 */ + mtspr SPR_RPA, %r1 /* set the pte */ + ori %r1, %r1, 0x100 /* set reference bit */ + srwi %r1, %r1, 8 /* get byte 7 of pte */ + tlbli %r0 /* load the itlb */ + stb %r1, +6(%r2) /* update page table */ + rfi /* return to executing program */ + +instr_sec_hash: + andi. %r1, %r3, 0x0040 /* see if we have done second hash */ + bne do_isi /* if so, go to ISI interrupt */ + mfspr %r2, SPR_HASH2 /* get the second pointer */ + ori %r3, %r3, 0x0040 /* change the compare value */ + addi %r1, %r0, 8 /* load 8 for counter */ + addi %r2, %r2, -8 /* pre dec for update on load */ + b im0 /* try second hash */ + +/* Create a faked ISI interrupt as the address was not found */ +do_isi_prot: + mfspr %r3, SPR_SRR1 /* get srr1 */ + andi. %r2, %r3, 0xffff /* clean upper srr1 */ + addis %r2, %r2, 0x0800 /* or in srr<4> = 1 to flag prot + * violation */ + b isi1 +do_isi: + mfspr %r3, SPR_SRR1 /* get srr1 */ + andi. %r2, %r3, 0xffff /* clean srr1 */ + addis %r2, %r2, 0x4000 /* or in srr1<1> = 1 to flag pte + * not found */ +isi1: + mtctr %r0 /* restore counter */ + mtspr SPR_SRR1, %r2 /* set srr1 */ + mfmsr %r0 /* get msr */ + xoris %r0, %r0, 0x2 /* flip the msr bit */ + mtcrf 0x80, %r3 /* restore CR0 */ + mtmsr %r0 /* flip back to the native gprs */ + ba EXC_ISI /* go to instr. access interrupt */ + +CNAME(imisssize) = .-CNAME(imisstrap) + +/* + * G2 specific: data load TLB miss. + */ + .globl CNAME(dlmisstrap),CNAME(dlmisssize) +CNAME(dlmisstrap): + mfspr %r2, SPR_HASH1 /* get first pointer */ + addi %r1, 0, 8 /* load 8 for counter */ + mfctr %r0 /* save counter */ + mfspr %r3, SPR_DCMP /* get first compare value */ + addi %r2, %r2, -8 /* pre dec the pointer */ +dm0: + mtctr %r1 /* load counter */ +dm1: + lwzu %r1, 8(%r2) /* get next pte */ + cmp 0, 0, %r1, %r3 /* see if found pte */ + bdnzf 2, dm1 /* dec count br if cmp ne and if + * count not zero */ + bne data_sec_hash /* if not found set up second hash + * or exit */ + lwz %r1, +4(%r2) /* load tlb entry lower-word */ + mtctr %r0 /* restore counter */ + mfspr %r0, SPR_DMISS /* get the miss address for the tlbld */ + mfspr %r3, SPR_SRR1 /* get the saved cr0 bits */ + mtcrf 0x80, %r3 /* restore CR0 */ + mtspr SPR_RPA, %r1 /* set the pte */ + ori %r1, %r1, 0x100 /* set reference bit */ + srwi %r1, %r1, 8 /* get byte 7 of pte */ + tlbld %r0 /* load the dtlb */ + stb %r1, +6(%r2) /* update page table */ + rfi /* return to executing program */ + +data_sec_hash: + andi. %r1, %r3, 0x0040 /* see if we have done second hash */ + bne do_dsi /* if so, go to DSI interrupt */ + mfspr %r2, SPR_HASH2 /* get the second pointer */ + ori %r3, %r3, 0x0040 /* change the compare value */ + addi %r1, 0, 8 /* load 8 for counter */ + addi %r2, %r2, -8 /* pre dec for update on load */ + b dm0 /* try second hash */ + +CNAME(dlmisssize) = .-CNAME(dlmisstrap) + +/* + * G2 specific: data store TLB miss. + */ + .globl CNAME(dsmisstrap),CNAME(dsmisssize) +CNAME(dsmisstrap): + mfspr %r2, SPR_HASH1 /* get first pointer */ + addi %r1, 0, 8 /* load 8 for counter */ + mfctr %r0 /* save counter */ + mfspr %r3, SPR_DCMP /* get first compare value */ + addi %r2, %r2, -8 /* pre dec the pointer */ +ds0: + mtctr %r1 /* load counter */ +ds1: + lwzu %r1, 8(%r2) /* get next pte */ + cmp 0, 0, %r1, %r3 /* see if found pte */ + bdnzf 2, ds1 /* dec count br if cmp ne and if + * count not zero */ + bne data_store_sec_hash /* if not found set up second hash + * or exit */ + lwz %r1, +4(%r2) /* load tlb entry lower-word */ + andi. %r3, %r1, 0x80 /* check the C-bit */ + beq data_store_chk_prot /* if (C==0) + * go check protection modes */ +ds2: + mtctr %r0 /* restore counter */ + mfspr %r0, SPR_DMISS /* get the miss address for the tlbld */ + mfspr %r3, SPR_SRR1 /* get the saved cr0 bits */ + mtcrf 0x80, %r3 /* restore CR0 */ + mtspr SPR_RPA, %r1 /* set the pte */ + tlbld %r0 /* load the dtlb */ + rfi /* return to executing program */ + +data_store_sec_hash: + andi. %r1, %r3, 0x0040 /* see if we have done second hash */ + bne do_dsi /* if so, go to DSI interrupt */ + mfspr %r2, SPR_HASH2 /* get the second pointer */ + ori %r3, %r3, 0x0040 /* change the compare value */ + addi %r1, 0, 8 /* load 8 for counter */ + addi %r2, %r2, -8 /* pre dec for update on load */ + b ds0 /* try second hash */ + +/* Check the protection before setting PTE(c-bit) */ +data_store_chk_prot: + rlwinm. %r3,%r1,30,0,1 /* test PP */ + bge- chk0 /* if (PP == 00 or PP == 01) + * goto chk0: */ + andi. %r3, %r1, 1 /* test PP[0] */ + beq+ chk2 /* return if PP[0] == 0 */ + b do_dsi_prot /* else DSIp */ +chk0: + mfspr %r3,SPR_SRR1 /* get old msr */ + andis. %r3,%r3,0x0008 /* test the KEY bit (SRR1-bit 12) */ + beq chk2 /* if (KEY==0) goto chk2: */ + b do_dsi_prot /* else do_dsi_prot */ +chk2: + ori %r1, %r1, 0x180 /* set reference and change bit */ + sth %r1, 6(%r2) /* update page table */ + b ds2 /* and back we go */ + +/* Create a faked DSI interrupt as the address was not found */ +do_dsi: + mfspr %r3, SPR_SRR1 /* get srr1 */ + rlwinm %r1,%r3,9,6,6 /* get srr1 to bit 6 for + * load/store, zero rest */ + addis %r1, %r1, 0x4000 /* or in dsisr<1> = 1 to flag pte + * not found */ + b dsi1 + +do_dsi_prot: + mfspr %r3, SPR_SRR1 /* get srr1 */ + rlwinm %r1,%r3,9,6,6 /* get srr1 to bit 6 for + *load/store, zero rest */ + addis %r1, %r1, 0x0800 /* or in dsisr<4> = 1 to flag prot + * violation */ + +dsi1: + mtctr %r0 /* restore counter */ + andi. %r2, %r3, 0xffff /* clear upper bits of srr1 */ + mtspr SPR_SRR1, %r2 /* set srr1 */ + mtspr SPR_DSISR, %r1 /* load the dsisr */ + mfspr %r1, SPR_DMISS /* get miss address */ + rlwinm. %r2,%r2,0,31,31 /* test LE bit */ + beq dsi2 /* if little endian then: */ + xor %r1, %r1, 0x07 /* de-mung the data address */ +dsi2: + mtspr SPR_DAR, %r1 /* put in dar */ + mfmsr %r0 /* get msr */ + xoris %r0, %r0, 0x2 /* flip the msr bit */ + mtcrf 0x80, %r3 /* restore CR0 */ + mtmsr %r0 /* flip back to the native gprs */ + ba EXC_DSI /* branch to DSI interrupt */ + +CNAME(dsmisssize) = .-CNAME(dsmisstrap) + +/* * Similar to the above for DSI * Has to handle BAT spills * and standard pagetable spills _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-ppc@FreeBSD.ORG Thu Nov 11 03:30:13 2010 Return-Path: Delivered-To: freebsd-ppc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 44F63106566B for ; Thu, 11 Nov 2010 03:30:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 33AE68FC14 for ; Thu, 11 Nov 2010 03:30:13 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oAB3UDSb063244 for ; Thu, 11 Nov 2010 03:30:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oAB3UDZh063239; Thu, 11 Nov 2010 03:30:13 GMT (envelope-from gnats) Date: Thu, 11 Nov 2010 03:30:13 GMT Message-Id: <201011110330.oAB3UDZh063239@freefall.freebsd.org> To: freebsd-ppc@FreeBSD.org From: Nathan Whitehorn Cc: Subject: Re: powerpc/133383: firefox thr_kill crash with heavy vm load X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Nathan Whitehorn List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2010 03:30:13 -0000 The following reply was made to PR powerpc/133383; it has been noted by GNATS. From: Nathan Whitehorn To: Justin Hibbits Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: powerpc/133383: firefox thr_kill crash with heavy vm load Date: Wed, 10 Nov 2010 20:46:45 -0600 On 04/04/09 15:02, Justin Hibbits wrote: >> Number: 133383 >> Category: powerpc >> Synopsis: firefox thr_kill crash with heavy vm load >> Confidential: no >> Severity: non-critical >> Priority: low >> Responsible: freebsd-ppc >> State: open >> Quarter: >> Keywords: >> Date-Required: >> Class: sw-bug >> Submitter-Id: current-users >> Arrival-Date: Sat Apr 04 20:10:01 UTC 2009 >> Closed-Date: >> Last-Modified: >> Originator: Justin Hibbits >> Release: 8-CURRENT >> Organization: >> Environment: >> > FreeBSD narn.knownspace 8.0-CURRENT FreeBSD 8.0-CURRENT #14 r189096:189865M: Sun Mar 22 23:09:12 EDT 2009 root@narn.knownspace:/usr/obj/usr/src/sys/NARN powerpc > > >> Description: >> > Under heavy vm load firefox3 crashes in thr_kill. Output of gdb where: > > #0 0x23c2c238 in thr_kill () from /lib/libc.so.7 > #1 0x23bbec54 in pthread_mutex_lock () from /lib/libthr.so.3 > #2 0x21d2b3c8 in XRE_LockProfileDirectory () from /usr/local/lib/firefox3/libxul.so > > Crash address in thr_kill is the bnslr immediately following the sc. > > Hardware: G4 1.25GHz, 1.25GB RAM > > Home directory on SATA (possibly relevant). > > It appears to only occur on powerpc. > >> How-To-Repeat: >> > Start firefox, with several tabs. Run programs that perform heavy vm load. Firefox should crash relatively quickly. > Could you check if this is fixed in recent CURRENT? There have been a lot of subtle VM bugs fixed lately. -Nathan From owner-freebsd-ppc@FreeBSD.ORG Thu Nov 11 13:52:24 2010 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AB1B61065674; Thu, 11 Nov 2010 13:52:24 +0000 (UTC) (envelope-from raj@semihalf.com) Received: from smtp.semihalf.com (smtp.semihalf.com [213.17.239.109]) by mx1.freebsd.org (Postfix) with ESMTP id 558F18FC1C; Thu, 11 Nov 2010 13:52:24 +0000 (UTC) Received: from localhost (unknown [213.17.239.109]) by smtp.semihalf.com (Postfix) with ESMTP id 7645AC3C52; Thu, 11 Nov 2010 14:36:18 +0100 (CET) X-Virus-Scanned: by amavisd-new at semihalf.com Received: from smtp.semihalf.com ([213.17.239.109]) by localhost (smtp.semihalf.com [213.17.239.109]) (amavisd-new, port 10024) with ESMTP id EvnGWbJ4Kqke; Thu, 11 Nov 2010 14:36:17 +0100 (CET) Received: from [10.0.0.79] (cardhu.semihalf.com [213.17.239.108]) by smtp.semihalf.com (Postfix) with ESMTPSA id D7224C3BDB; Thu, 11 Nov 2010 14:36:17 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Rafal Jaworowski In-Reply-To: <201011101714.33194.jhb@freebsd.org> Date: Thu, 11 Nov 2010 14:36:17 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <201011101714.33194.jhb@freebsd.org> To: John Baldwin X-Mailer: Apple Mail (2.1081) Cc: raj@freebsd.org, powerpc@freebsd.org, dim@freebsd.org Subject: Re: Use of MTX_UNOWNED in booke/trap_subr.S X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2010 13:52:24 -0000 On 2010-11-10, at 23:14, John Baldwin wrote: > First of, sorry for breaking the build. I built a powerpc GENERIC and = a=20 > powerpc64 GENERIC before I committed, but that obviously wasn't = sufficient. =20 > dim@ pointed me at the use of MTX_UNOWNED in booke/trap_subr.S. The = first=20 > thought I had was to re-allow in assembly code, or to = expose=20 > MTX_UNOWNED via assym.s. However, it looks like the tlb lock in = trap_subr.S=20 > is a home-grown spinlock rather than an actual 'struct mtx'. For that = reason,=20 > I'd prefer it use its own constant to avoid confusion. To that end, = the patch=20 > below adds a TLB_UNLOCKED constant to and uses it for = the tlb=20 > locks. >=20 > (I do wonder if we couldn't put the tlb_lock/unlock prototypes in=20 > machine/tlb.h as well rather than booke/pmap.c? Then it could all be = grouped=20 > together to be more consistent.) Thanks, it's true the MTX_UNOWNED was a bit abused in this context. The = changes are good (I have tested with MPC8572), I also moved the = prototypes to machine/tlb.h per suggestion. Commited as r215119. Rafal From owner-freebsd-ppc@FreeBSD.ORG Thu Nov 11 22:50:09 2010 Return-Path: Delivered-To: freebsd-ppc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94DEC1065672 for ; Thu, 11 Nov 2010 22:50:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 845088FC14 for ; Thu, 11 Nov 2010 22:50:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oABMo9R2003556 for ; Thu, 11 Nov 2010 22:50:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oABMo9fA003555; Thu, 11 Nov 2010 22:50:09 GMT (envelope-from gnats) Date: Thu, 11 Nov 2010 22:50:09 GMT Message-Id: <201011112250.oABMo9fA003555@freefall.freebsd.org> To: freebsd-ppc@FreeBSD.org From: Justin Hibbits Cc: Subject: Re: powerpc/133383: firefox thr_kill crash with heavy vm load X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Justin Hibbits List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Nov 2010 22:50:09 -0000 The following reply was made to PR powerpc/133383; it has been noted by GNATS. From: Justin Hibbits To: bug-followup@FreeBSD.org, jrh29@alumni.cwru.edu Cc: Subject: Re: powerpc/133383: firefox thr_kill crash with heavy vm load Date: Thu, 11 Nov 2010 17:23:51 -0500 --0016e649d7e0ba32d00494ce6d73 Content-Type: text/plain; charset=ISO-8859-1 It appears this can be closed. Firefox has been up for about 15 minutes with no problems at all, while running a buildworld. When I filed the PR it wouldn't last more than 3-5 minutes with load. --0016e649d7e0ba32d00494ce6d73 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable It appears this can be closed.=A0 Firefox has been up for about 15 minutes = with no problems at all, while running a buildworld.=A0 When I filed the PR= it wouldn't last more than 3-5 minutes with load.
--0016e649d7e0ba32d00494ce6d73-- From owner-freebsd-ppc@FreeBSD.ORG Fri Nov 12 01:21:58 2010 Return-Path: Delivered-To: freebsd-ppc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F610106566C; Fri, 12 Nov 2010 01:21:58 +0000 (UTC) (envelope-from nwhitehorn@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 356638FC12; Fri, 12 Nov 2010 01:21:58 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oAC1LwCY069042; Fri, 12 Nov 2010 01:21:58 GMT (envelope-from nwhitehorn@freefall.freebsd.org) Received: (from nwhitehorn@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oAC1LvCm069038; Fri, 12 Nov 2010 01:21:57 GMT (envelope-from nwhitehorn) Date: Fri, 12 Nov 2010 01:21:57 GMT Message-Id: <201011120121.oAC1LvCm069038@freefall.freebsd.org> To: jrh29@alumni.cwru.edu, nwhitehorn@FreeBSD.org, freebsd-ppc@FreeBSD.org From: nwhitehorn@FreeBSD.org Cc: Subject: Re: powerpc/133383: firefox thr_kill crash with heavy vm load X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2010 01:21:58 -0000 Synopsis: firefox thr_kill crash with heavy vm load State-Changed-From-To: open->closed State-Changed-By: nwhitehorn State-Changed-When: Fri Nov 12 01:21:40 UTC 2010 State-Changed-Why: Submitter reports bug fixed. http://www.freebsd.org/cgi/query-pr.cgi?pr=133383 From owner-freebsd-ppc@FreeBSD.ORG Sat Nov 13 10:13:53 2010 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B0361065674; Sat, 13 Nov 2010 10:13:53 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 04CF88FC18; Sat, 13 Nov 2010 10:13:51 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.3) with ESMTP id oADADpg5097386; Sat, 13 Nov 2010 05:13:51 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.3/Submit) id oADADpjF097385; Sat, 13 Nov 2010 10:13:51 GMT (envelope-from tinderbox@freebsd.org) Date: Sat, 13 Nov 2010 10:13:51 GMT Message-Id: <201011131013.oADADpjF097385@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Nov 2010 10:13:53 -0000 TB --- 2010-11-13 08:24:40 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-11-13 08:24:40 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2010-11-13 08:24:40 - cleaning the object tree TB --- 2010-11-13 08:25:01 - cvsupping the source tree TB --- 2010-11-13 08:25:01 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2010-11-13 08:25:18 - building world TB --- 2010-11-13 08:25:18 - MAKEOBJDIRPREFIX=/obj TB --- 2010-11-13 08:25:18 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-11-13 08:25:18 - TARGET=powerpc TB --- 2010-11-13 08:25:18 - TARGET_ARCH=powerpc TB --- 2010-11-13 08:25:18 - TZ=UTC TB --- 2010-11-13 08:25:18 - __MAKE_CONF=/dev/null TB --- 2010-11-13 08:25:18 - cd /src TB --- 2010-11-13 08:25:18 - /usr/bin/make -B buildworld >>> World build started on Sat Nov 13 08:25:18 UTC 2010 >>> 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 Sat Nov 13 10:04:58 UTC 2010 TB --- 2010-11-13 10:04:58 - generating LINT kernel config TB --- 2010-11-13 10:04:58 - cd /src/sys/powerpc/conf TB --- 2010-11-13 10:04:58 - /usr/bin/make -B LINT TB --- 2010-11-13 10:04:58 - building LINT kernel TB --- 2010-11-13 10:04:58 - MAKEOBJDIRPREFIX=/obj TB --- 2010-11-13 10:04:58 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-11-13 10:04:58 - TARGET=powerpc TB --- 2010-11-13 10:04:58 - TARGET_ARCH=powerpc TB --- 2010-11-13 10:04:58 - TZ=UTC TB --- 2010-11-13 10:04:58 - __MAKE_CONF=/dev/null TB --- 2010-11-13 10:04:58 - cd /src TB --- 2010-11-13 10:04:58 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat Nov 13 10:04:59 UTC 2010 >>> 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 -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -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 -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/net/if_gre.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -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 -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/net/if_iso88025subr.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -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 -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/net/if_lagg.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -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 -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/net/if_loop.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -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 -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/net/if_llatbl.c cc1: warnings being treated as errors /src/sys/net/if_llatbl.c: In function 'llentry_free': /src/sys/net/if_llatbl.c:124: warning: format '%ld' expects type 'long int', but argument 4 has type 'size_t' *** Error code 1 Stop in /obj/powerpc.powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2010-11-13 10:13:51 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-11-13 10:13:51 - ERROR: failed to build lint kernel TB --- 2010-11-13 10:13:51 - 5119.05 user 951.78 system 6550.84 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full