From owner-freebsd-ppc@FreeBSD.ORG Mon May 28 03:45:18 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5198E106566C for ; Mon, 28 May 2012 03:45:18 +0000 (UTC) (envelope-from john@saltant.com) Received: from hapkido.dreamhost.com (hapkido.dreamhost.com [66.33.216.122]) by mx1.freebsd.org (Postfix) with ESMTP id 268938FC1A for ; Mon, 28 May 2012 03:45:17 +0000 (UTC) Received: from homiemail-a89.g.dreamhost.com (caiajhbdcbef.dreamhost.com [208.97.132.145]) by hapkido.dreamhost.com (Postfix) with ESMTP id 778F9DCCFF for ; Sun, 27 May 2012 20:40:27 -0700 (PDT) Received: from homiemail-a89.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a89.g.dreamhost.com (Postfix) with ESMTP id 3B8BD318064 for ; Sun, 27 May 2012 20:39:07 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=saltant.com; h=message-id:date :from:mime-version:to:subject:content-type: content-transfer-encoding; q=dns; s=saltant.com; b=F1jAAWzOYfaoC QM90JlnuDQzSygDjYsjYAd/jvfNuZO+t3qLj5/5FeoT1QhUjr3wdBdaDMm1DXG1J l335M0hZu/cK3TE7DC69iQC35EjCFnN1CbZpJhrFNaVvyMOrV1b/6jjE2dXss3oH HBpqyuHey00oNPr7jJ9R2h7e7tLsWM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=saltant.com; h=message-id :date:from:mime-version:to:subject:content-type: content-transfer-encoding; s=saltant.com; bh=fcv61dHx9cnPCw28i2/ Io4qUotg=; b=DgibxZM/Bs5PmAw/KTjJfL100U2rPMUUCOwsssZY26Sv/M8aXDK PvB7PvLkpycUbfu+8e3gUudsEMfYgQU3a2bvaMakmLtPyeBMheerKVlbzStiwZL8 FVDEh7W4onn83lnmhu0IRJmdDIjFPhnPr3Qy0Q/SQrAGqXvxbcW8VbX4= Received: from imago.y.saltant.net (vice.saltant.net [96.227.187.16]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: john@saltant.com) by homiemail-a89.g.dreamhost.com (Postfix) with ESMTPSA id 0428F31805C for ; Sun, 27 May 2012 20:39:06 -0700 (PDT) Message-ID: <4FC2F359.9000207@saltant.com> Date: Sun, 27 May 2012 23:39:05 -0400 From: "John W. O'Brien" Organization: Saltant Solutions User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: freebsd-ppc@freebsd.org X-Enigmail-Version: 1.5pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Trouble booting 9-STABLE memstick on PowerBook G4 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, 28 May 2012 03:45:18 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello freebsd-ppc, I am trying to install 9-STABLE (r236164, GENERIC) on a PowerBook G4 (model #A1010) that has a gimpy optical drive, but I cannot get the memstick to boot. I know my way around i386 and amd64 reasonably well, but am new to freebsd-ppc and to Open Firmware. CC me off-list with replies, please. Information I've used - --------------------- Reviewed the Handbook, in particular: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/bsdinstall-start.html My Google-fu has yielded the following on the topic of booting from USB: https://sites.google.com/site/tingox/powerbook_g4_freebsd https://lifedigital2010.wordpress.com/2011/04/03/how-to-install-mac-osx-from-usb-on-powerbook-g4/ http://hints.macworld.com/article.php?story=20060301112336384 ... and generally, booting with OFW: http://en.gentoo-wiki.com/wiki/LiveUSB_on_PPC I have not been able to apply or extend these based on what I observe locally. I have also lightly skimmed the NetBSD/macppc FAQ: http://www.netbsd.org/ports/macppc/faq.html Nothing stood out as a worthwhile thread on which to pull, but I may dwell longer there as time permits. How I prepared the memstick - --------------------------- # uname -a FreeBSD XXXX.saltant.net 9.0-STABLE FreeBSD 9.0-STABLE #1 r235493: Tue May 15 21:04:19 EDT 2012 root@XXXX.saltant.net:/usr/obj/usr/src/sys/XXXX amd64 # pwd /usr/src # svn info | egrep "(Revision|URL)" URL: svn://svn.freebsd.org/base/stable/9 Revision: 236164 # make -j30 TARGET=powerpc TARGET_ARCH=powerpc buildworld [---SNIP---] # make -j30 TARGET=powerpc TARGET_ARCH=powerpc buildkernel [---SNIP---] # make -C release \ TARGET=powerpc TARGET_ARCH=powerpc \ - -DNOPORTS -DNOSRC -DNODOC \ memstick [---SNIP---] # dd if=/path/to/memstick.img of=/dev/usb_memstick_device \ bs=10240 conv=sync [---SNIP---] What I know about the OFW - ------------------------- *chime* "Apple PowerBook6,4 4.8.3f1 BootROM built on 04/01/04 at 16:52:06" [blah blah] ok 0 > dev /openprom name openprom device_type BootROM model OpenFirmware 3 relative-addressing supports-bootinfo boot-syntax 00000001 How I tried booting the memstick - -------------------------------- ok 0 > dev / ls [---SNIP---] ff967238: /pci@f2000000 [---SNIP---] ff99aa98: /usb@1b [or /usb@1b,1 using the other port] ff9f0d80: /disk@1 [---SNIP---] ok 0 > devalias [---SNIP---] usb1 /pci@f2000000/usb@1b [---SNIP---] ok 0 > dir /usb1 can't OPEN the DIR device ok 0 > dir /usb1/disk@1:\ can't OPEN the DIR device ok 0 > dir /usb1/disk@1,1:\ can't OPEN the DIR device ok 0 > dir /usb1/disk@1,2:\ can't OPEN the DIR device ok I've tried various permutations of commas, colons, and numerals, a few of which cause the laptop to hang and require power-cycle. Also, I've gone through some guesses with ok 0 > boot /usb1/disk@1:,\boot\loader can't OPEN: /usb1/disk@1:,\boot\loader Can't open device or file Is this as simple as something I'm missing about the syntax or data model of how to select a boot partition? Are there other information-gathering tasks I should perform? Regards, John -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPwvNWAAoJEEdKvTwaez9wUbkIAJ7lD5svMuKUOmb+xcsAqGzY ZVI0ZNWFJlOWl0VSg/pByprNUtqBcj4DB0ytQD2IxN8G76djEXLZ1CGu+RI0Bt+P VMh/yOoYFj3PTCPcnY/7L63aI5EV+WecmehUF8FtaygdhcKh4isWhHNE9ctdo5qO ADzxwN8ZNjD0OCZsIWsP7PUP5SYxT3qv3w2siWVcKuQLbIpUvxnoUWc+fT//GVOa UFcGzdRKHfEPyw+OdcneFpf7PU1IWrqZi2us0kve/WD1LQzmsV3NHckc6GPPL8r0 MkH86+/5otHdi6IKWZ/Lwb6hciLRZD/6CceDFRBbIiOCSJ3aZKu7dw80rbY6ML8= =eNjJ -----END PGP SIGNATURE----- From owner-freebsd-ppc@FreeBSD.ORG Mon May 28 11:07:35 2012 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 1D1CB106566B for ; Mon, 28 May 2012 11:07:35 +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 070408FC14 for ; Mon, 28 May 2012 11:07:35 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q4SB7YQS063440 for ; Mon, 28 May 2012 11:07:34 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q4SB7YmC063438 for freebsd-ppc@FreeBSD.org; Mon, 28 May 2012 11:07:34 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 28 May 2012 11:07:34 GMT Message-Id: <201205281107.q4SB7YmC063438@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, 28 May 2012 11:07:35 -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/167764 ppc Burning iso for ppc o power/164225 ppc Boot fails on IBM 7028-6E1 (heap memory claim failed) o power/161947 ppc multimedia/libdvdnav builds broken binaries on big end o power/161045 ppc X doesn't detect ADB mouse up event until another even 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/133382 ppc [install] Installer gets signal 11 o power/131548 ppc ofw_syscons no longer supports 32-bit framebuffer 10 problems total. From owner-freebsd-ppc@FreeBSD.ORG Mon May 28 11:38:38 2012 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 87D87106564A for ; Mon, 28 May 2012 11:38:38 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from agogare.doit.wisc.edu (agogare.doit.wisc.edu [144.92.197.211]) by mx1.freebsd.org (Postfix) with ESMTP id 5894C8FC08 for ; Mon, 28 May 2012 11:38:38 +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 (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0M4Q00500DO8K900@smtpauth2.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Mon, 28 May 2012 06:38:32 -0500 (CDT) Received: from wanderer.tachypleus.net (gateway02.m3-connect.de [88.79.237.12]) by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0M4Q0001PDO4ZH10@smtpauth2.wiscmail.wisc.edu>; Mon, 28 May 2012 06:38:31 -0500 (CDT) Date: Mon, 28 May 2012 13:38:26 +0200 From: Nathan Whitehorn In-reply-to: <4FC2F359.9000207@saltant.com> To: "John W. O'Brien" Message-id: <4FC363B2.9090008@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=88.79.237.12 X-Spam-PmxInfo: Server=avs-16, Version=5.6.1.2065439, Antispam-Engine: 2.7.2.376379, Antispam-Data: 2012.5.28.112415, SenderIP=88.79.237.12 References: <4FC2F359.9000207@saltant.com> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120502 Thunderbird/12.0 Cc: freebsd-ppc@freebsd.org Subject: Re: Trouble booting 9-STABLE memstick on PowerBook G4 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, 28 May 2012 11:38:38 -0000 On 05/28/12 05:39, John W. O'Brien wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello freebsd-ppc, > > I am trying to install 9-STABLE (r236164, GENERIC) on a PowerBook G4 > (model #A1010) that has a gimpy optical drive, but I cannot get the > memstick to boot. I know my way around i386 and amd64 reasonably well, > but am new to freebsd-ppc and to Open Firmware. CC me off-list with > replies, please. > Two suggestions: 1. It may show up in the graphical boot chooser that comes up if you hold down "Option" 2. dd'ing the regular CD image to a USB stick may also work It's also possible that your model of powerbook can't boot from USB. It should, however, be able to boot from firewire -- in particular, if you have a second powerbook/ibook/macbook you should be able to boot from the other machine's optical drive if it is in target mode. -Nathan From owner-freebsd-ppc@FreeBSD.ORG Mon May 28 13:20:50 2012 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 56107106566C for ; Mon, 28 May 2012 13:20:50 +0000 (UTC) (envelope-from gilles.risch@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id DB8D68FC08 for ; Mon, 28 May 2012 13:20:49 +0000 (UTC) Received: by eeke49 with SMTP id e49so789233eek.13 for ; Mon, 28 May 2012 06:20:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :x-enigmail-version:content-type:content-transfer-encoding; bh=CY9S3Pj6BBfGMJvgOLCq9P/MFAnii+JlHfvfFD9Usko=; b=Sp6d+TdTLOnZvQKBgdRuSbmiQNQPbzST5JFlECLLpE9H3d0X5q7tVhRWAWI3jSOrYP FbaS/uC74czUxVGKkwwrdwXzJS7PuOfP2YIUZoTwY2mjqcDGuRMEpRWElMWyLwK36gsN dINoYLjO3eInWJkqPQF4ZFtu9ePWp8tCenn0xfOwgPhUmLah+GbGY5l7ch19GFiJ8sIA jKYhW+JYT30ZGjFJV/R0cS3n5CRb1JSRxfXD8+ob165OAJHmbgvjKxtdH2aUiXRSWYwq WGWXwDWq9F0jIRIdNRxsWQBFacaEYgWbphRXKh2DEttUw0DnBjdffz3V+rw/jAfE68Yt S8jw== Received: by 10.14.119.197 with SMTP id n45mr1951073eeh.180.1338211248100; Mon, 28 May 2012 06:20:48 -0700 (PDT) Received: from sojus.fritz.box (ip-88-207-213-254.dyn.luxdsl.pt.lu. [88.207.213.254]) by mx.google.com with ESMTPS id a16sm37277683eeg.0.2012.05.28.06.20.47 (version=SSLv3 cipher=OTHER); Mon, 28 May 2012 06:20:47 -0700 (PDT) Message-ID: <4FC37BAE.9070800@gmail.com> Date: Mon, 28 May 2012 15:20:46 +0200 From: Gilles Risch User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: freebsd-ppc@freebsd.org X-Enigmail-Version: 1.4.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: PowerBook G4: Touchpad does not work. 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, 28 May 2012 13:20:50 -0000 Hi, Yesterday I installed FreeBSD onto a 15" Powerbook G4 (Rev. D). I've followed the instructions from the atp manual page and added the following to my /etc/rc.conf: # Apple Touchpad moused_enable="YES" moused_port="/deb/atp0" Because that didn't work I checked the product id of the touch pad with: "usbconfig -u 0 -a 3 dump_device_desc" ugen0.3: at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0008 idVendor = 0x05ac idProduct = 0x020f bcdDevice = 0x0028 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 Looks fine because 0x02f is supported according the manual page. A "less /var/log/messages | grep atp" gave me the following: May 28 11:30:32 powerbook kernel: atp_attach: failed to read device mode (22) May 28 11:30:32 powerbook kernel: device_attach: atp0 attach returned 6 Any ideas? Kind regards, Gilles From owner-freebsd-ppc@FreeBSD.ORG Mon May 28 20:17:40 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3EA1F106566B for ; Mon, 28 May 2012 20:17:40 +0000 (UTC) (envelope-from chmeeedalf@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id E04928FC0A for ; Mon, 28 May 2012 20:17:39 +0000 (UTC) Received: by vbmv11 with SMTP id v11so2618828vbm.13 for ; Mon, 28 May 2012 13:17:39 -0700 (PDT) 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:x-mailer :mime-version:content-type:content-transfer-encoding; bh=YGb57cL5mxAAR5TjmcOQyRFNNOJEbs1EBuBXtuKvarw=; b=QTk8AIuza/9Y/HpH6cHrCNEyM+V8ib14BQQdBgq9E4tYFuHuQNStE5zmJIdGTMlZji P71gqLy3rdopNYHC6nyeIF2558gAMhlppRV4w1/N6+VGSC3kLpYpvw1g9HBTthkxntry BcRtuJDHUlHKyll7xfolTpKMHrcNuvZme/RMxLv7mj1rgMO3qCzpimJJenHVCFxpiDKh Wn1dluEIKaImfluzsqmWvrGRKE7OF6XZvjsJKI4cfqmS7WH4c+ZbBs1UmYwHUh+Q2CHR Amw7PGamms4sj8vVaxypTh2+PPPp0XhJCvXhuzf6nTnTTHkpZfdsZ+P4iUzvlcIe4sD2 y3dw== Received: by 10.52.24.179 with SMTP id v19mr8517684vdf.127.1338236259094; Mon, 28 May 2012 13:17:39 -0700 (PDT) Received: from narn.knownspace (216-15-41-8.c3-0.gth-ubr1.lnh-gth.md.cable.rcn.com. [216.15.41.8]) by mx.google.com with ESMTPS id by2sm20574219vdb.22.2012.05.28.13.17.38 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 28 May 2012 13:17:38 -0700 (PDT) Date: Mon, 28 May 2012 16:17:34 -0400 From: Justin Hibbits To: Gilles Risch Message-ID: <20120528161734.6237d51b@narn.knownspace> In-Reply-To: <4FC37BAE.9070800@gmail.com> References: <4FC37BAE.9070800@gmail.com> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; powerpc-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: PowerBook G4: Touchpad does not work. 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, 28 May 2012 20:17:40 -0000 Hi, On Mon, 28 May 2012 15:20:46 +0200 Gilles Risch wrote: > Hi, > > Yesterday I installed FreeBSD onto a 15" Powerbook G4 (Rev. D). I've > followed the instructions from the atp manual page and added the > following to my /etc/rc.conf: > > # Apple Touchpad > moused_enable="YES" > moused_port="/deb/atp0" I assume that's a typo, and is really "/dev/atp0"? > > Because that didn't work I checked the product id of the touch pad > with: "usbconfig -u 0 -a 3 dump_device_desc" > > ugen0.3: at usbus0, > cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON > > bLength = 0x0012 > bDescriptorType = 0x0001 > bcdUSB = 0x0200 > bDeviceClass = 0x0000 > bDeviceSubClass = 0x0000 > bDeviceProtocol = 0x0000 > bMaxPacketSize0 = 0x0008 > idVendor = 0x05ac > idProduct = 0x020f > bcdDevice = 0x0028 > iManufacturer = 0x0001 > iProduct = 0x0002 > iSerialNumber = 0x0000 > bNumConfigurations = 0x0001 > > Looks fine because 0x02f is supported according the manual page. > > A "less /var/log/messages | grep atp" gave me the following: > May 28 11:30:32 powerbook kernel: atp_attach: failed to read device > mode (22) > May 28 11:30:32 powerbook kernel: device_attach: atp0 attach returned > 6 > > Any ideas? > > Kind regards, > Gilles Error code 22 in that error string is USB_ERR_STALLED. One option would be recompile without atp, and load it on demand as a module. That might prevent the stalling on the bus. What version of FreeBSD are you using? Have you tried a recent -CURRENT snapshot? There are recent RELENG_9 snapshots on http://pub.allbsd.org/FreeBSD-snapshots/ that you could try as well. - Justin From owner-freebsd-ppc@FreeBSD.ORG Mon May 28 23:17:24 2012 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 747381065670 for ; Mon, 28 May 2012 23:17:24 +0000 (UTC) (envelope-from gilles.risch@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id EF9F48FC08 for ; Mon, 28 May 2012 23:17:23 +0000 (UTC) Received: by eeke49 with SMTP id e49so944261eek.13 for ; Mon, 28 May 2012 16:17:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=Pd7/f1PEmu6HcIOSqWai9fUN1DB9eR/A9vQysP949u0=; b=AfS78i25YwVhbCgyIHUmSbsJRm2dlD82p1p5GJc+ryF2otnY/j8aPnVL2yejWDNyPW /4fHPQC5siReQkD+QiZ7J6qJQeKJmBqW2tW4W1DgXSXuZN0HA3elmKGsNdvk8qVs+qc+ XV0nG8NjMluYQjM1VbR659jsFEqknNJuhiyUr/zLU/TWr5HKGgtXTelQA4ZMoXOfvZkp uOwHEN4jtNrDB0nvusuYUNQt8qnXPRGelVvSGddTHzpztFUEgL7jvqx1E1WaweyKv82T gL4IkLydeStmCFyaSyws/rgdWOpPH0W93o7HSQzd9BkZpjln0vJ6VJK+S0Fze6ZSqpMK gs5g== Received: by 10.14.119.144 with SMTP id n16mr2762241eeh.187.1338247040100; Mon, 28 May 2012 16:17:20 -0700 (PDT) Received: from sojus.fritz.box (ip-88-207-213-254.dyn.luxdsl.pt.lu. [88.207.213.254]) by mx.google.com with ESMTPS id y54sm42136457eef.10.2012.05.28.16.17.18 (version=SSLv3 cipher=OTHER); Mon, 28 May 2012 16:17:19 -0700 (PDT) Message-ID: <4FC4077E.5000101@gmail.com> Date: Tue, 29 May 2012 01:17:18 +0200 From: Gilles Risch User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: Justin Hibbits References: <4FC37BAE.9070800@gmail.com> <20120528161734.6237d51b@narn.knownspace> In-Reply-To: <20120528161734.6237d51b@narn.knownspace> X-Enigmail-Version: 1.4.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: PowerBook G4: Touchpad does not work. 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, 28 May 2012 23:17:24 -0000 Hello, On 5/28/12 10:17 PM, Justin Hibbits wrote: > Hi, > > On Mon, 28 May 2012 15:20:46 +0200 > Gilles Risch wrote: > >> Hi, >> >> Yesterday I installed FreeBSD onto a 15" Powerbook G4 (Rev. D). I've >> followed the instructions from the atp manual page and added the >> following to my /etc/rc.conf: >> >> # Apple Touchpad >> moused_enable="YES" >> moused_port="/deb/atp0" > > I assume that's a typo, and is really "/dev/atp0"? > Correct, just a typo, not the cause of the problem. >> >> Because that didn't work I checked the product id of the touch pad >> with: "usbconfig -u 0 -a 3 dump_device_desc" >> >> ugen0.3: at usbus0, >> cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON >> >> bLength = 0x0012 >> bDescriptorType = 0x0001 >> bcdUSB = 0x0200 >> bDeviceClass = 0x0000 >> bDeviceSubClass = 0x0000 >> bDeviceProtocol = 0x0000 >> bMaxPacketSize0 = 0x0008 >> idVendor = 0x05ac >> idProduct = 0x020f >> bcdDevice = 0x0028 >> iManufacturer = 0x0001 >> iProduct = 0x0002 >> iSerialNumber = 0x0000 >> bNumConfigurations = 0x0001 >> >> Looks fine because 0x02f is supported according the manual page. >> >> A "less /var/log/messages | grep atp" gave me the following: >> May 28 11:30:32 powerbook kernel: atp_attach: failed to read device >> mode (22) >> May 28 11:30:32 powerbook kernel: device_attach: atp0 attach returned >> 6 >> >> Any ideas? >> >> Kind regards, >> Gilles > > Error code 22 in that error string is USB_ERR_STALLED. > > One option would be recompile without atp, and load it on demand as a > module. That might prevent the stalling on the bus. A rebuild of the kernel without atp didn't solve the problem: powerbook# kldload atp powerbook# ls /dev/atp* ls: No match. powerbook# The attach error messages have gone but there's no atp node. > > What version of FreeBSD are you using? Have you tried a recent > -CURRENT snapshot? There are recent RELENG_9 snapshots on > http://pub.allbsd.org/FreeBSD-snapshots/ that you could try as well. > The next step I tried, was a rebuild of the whole system. Therefore I updated my source tree with csup to RELENG_9_0. I now have this on my PowerBook: "FreeBSD 9.0-RELEASE-p1 #3: Mon May 28 21:49:45 CEST 2012". I tried a kernel with and without atp but the touchpad still doesn't work. > - Justin > > Kind regards, Gilles From owner-freebsd-ppc@FreeBSD.ORG Mon May 28 23:24:19 2012 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 C2462106566C; Mon, 28 May 2012 23:24:18 +0000 (UTC) (envelope-from john@saltant.com) Received: from hapkido.dreamhost.com (hapkido.dreamhost.com [66.33.216.122]) by mx1.freebsd.org (Postfix) with ESMTP id 950D78FC0C; Mon, 28 May 2012 23:24:18 +0000 (UTC) Received: from homiemail-a77.g.dreamhost.com (caiajhbdcbhh.dreamhost.com [208.97.132.177]) by hapkido.dreamhost.com (Postfix) with ESMTP id 540538211; Mon, 28 May 2012 16:25:37 -0700 (PDT) Received: from homiemail-a77.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a77.g.dreamhost.com (Postfix) with ESMTP id 6CD019406B; Mon, 28 May 2012 16:24:11 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=saltant.com; h=message-id:date :from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; q=dns; s=saltant.com; b=pkboqMWG/XVNHzF7cbu+5nf5cIdPM4km3PW4x4cL4Gu03h5OMqB1QT9RB8IN8 KbEMNm+iGq3PZ+zDVIM9iCKxPOJ8VWOt49zPNuP33agPLHR4/TwvVjwv5XiAjlfW V9UJiZ2gnQmfCJ2L+xQITJ/AcABnOrWM+mQeNgIwJvNW/M= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=saltant.com; h=message-id :date:from:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; s=saltant.com; bh=3Mz40 xlTN6vN3XpMQy6TygpFl+8=; b=RJ7UEemrawsIwKX8s863Qed8Zew2UwvYxDJdk oqPVIhaY+ep4rTpv6S6zea1iSZx67Lw4vUR/vfw06ZvSDxkzvfxXYjhChNU+7ck8 1xo+5oVudmz8V081iRXC2+rPWrotSa+16upfxOcewvoH0GgE70Afbiim9JMT95LK trf8ao= Received: from imago.y.saltant.net (vice.saltant.net [96.227.187.16]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: john@saltant.com) by homiemail-a77.g.dreamhost.com (Postfix) with ESMTPSA id 2C5B29405C; Mon, 28 May 2012 16:24:11 -0700 (PDT) Message-ID: <4FC40919.90304@saltant.com> Date: Mon, 28 May 2012 19:24:09 -0400 From: "John W. O'Brien" Organization: Saltant Solutions User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: Nathan Whitehorn References: <4FC2F359.9000207@saltant.com> <4FC363B2.9090008@freebsd.org> In-Reply-To: <4FC363B2.9090008@freebsd.org> X-Enigmail-Version: 1.5pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: Trouble booting 9-STABLE memstick on PowerBook G4 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, 28 May 2012 23:24:19 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 05/28/2012 07:38 AM, Nathan Whitehorn wrote: > On 05/28/12 05:39, John W. O'Brien wrote: >> >> I am trying to install 9-STABLE (r236164, GENERIC) on a PowerBook >> G4 (model #A1010) that has a gimpy optical drive, but I cannot >> get the memstick to boot. I know my way around i386 and amd64 >> reasonably well, but am new to freebsd-ppc and to Open Firmware. >> CC me off-list with replies, please. >> > > Two suggestions: 1. It may show up in the graphical boot chooser > that comes up if you hold down "Option" 2. dd'ing the regular CD > image to a USB stick may also work > > It's also possible that your model of powerbook can't boot from > USB. It should, however, be able to boot from firewire -- in > particular, if you have a second powerbook/ibook/macbook you should > be able to boot from the other machine's optical drive if it is in > target mode. -Nathan Hi Nathan, Thanks for the suggestions. The only other FireWire-equipped Mac I have readily available is an Intel MacBook Pro (model #A1620). 1. When I hold down "Option" only the internal hard drive is presented as a bootable target. The options that come up when connected to the MacBook in TDM include the remote hard drive, but not the remote CD drive, or the remote memstick. 2. Tried this but could not detect any difference in how the memstick was handled. I've also tried this with the other combinations I could think of (memstick image vs. ISO image, local memstick vs. remote memstick via TDM, remote CD via TDM). I verified that the memstick and the CD are readable by the OS when each machine is booted natively. That is, each one is automounted and can be browsed in the Finder. Further, when I started with "Option" on the MacBook Pro, the choices included a CD-ROM icon labeled "Windows." Obviously the MacBook wouldn't boot from the CD. I also verified that I must not be too far off with the OFW syntax by doing "dir hd:,\" on the PowerBook. Since this is not a mission-critical exercise, I'll probably just let it go for now, unless there are other ideas forthcoming from you or the list. Regards, John -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJPxAkZAAoJEEdKvTwaez9wPIQH/i4/RWJ2w/82J8gQeMZV7Dzd rvc+22CSuc5Kgd2fZ6J6gLk6dXkpppSGbP33N/NrO8h4mcOHC50dyNb1aEHirBSW S4HosUCZRKVue8NsZh8ZlqHhi5eTcqRBMuyKYxECt/7H/Dknj2i8yhoJq8CrLaK5 m5PXGa/ZFiZuWlA8k3ZSreUe4Qq3d/5Dt3Nn5TA5X1iprsOs3sAnDw/4rv6pgDG2 L6F2N96bFp/9DCSw7yPp/trOKeK6em/8c2VoDsx/X2IAFww3A4v9ulhtylPiccB+ M4oWb1wYwDhQX+3nhmYXAg59YZOI2hoHQ7+8iDhE6jA8pLe/zO/qzfk5wvhUmVI= =yTX2 -----END PGP SIGNATURE----- From owner-freebsd-ppc@FreeBSD.ORG Tue May 29 17:39:17 2012 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 7D60C106566B for ; Tue, 29 May 2012 17:39:17 +0000 (UTC) (envelope-from torfinn.ingolfsen@getmail.no) Received: from smtp.getmail.no (smtp.getmail.no [84.208.15.66]) by mx1.freebsd.org (Postfix) with ESMTP id 2DDB98FC14 for ; Tue, 29 May 2012 17:39:17 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII Received: from get-mta-scan01.get.basefarm.net ([10.5.16.4]) by get-mta-out03.get.basefarm.net (Sun Java(tm) System Messaging Server 7.0-0.04 64bit (built Jun 20 2008)) with ESMTP id <0M4S007V3P1A1320@get-mta-out03.get.basefarm.net> for freebsd-ppc@freebsd.org; Tue, 29 May 2012 19:39:10 +0200 (MEST) Received: from get-mta-scan01.get.basefarm.net (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id 68C551798F75_FC509BEB for ; Tue, 29 May 2012 17:39:10 +0000 (GMT) Received: from kg-v2.kg4.no (cm-84.215.134.159.getinternet.no [84.215.134.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by get-mta-scan01.get.basefarm.net (Sophos Email Appliance) with ESMTPSA id 009DC1798541_FC509BEF for ; Tue, 29 May 2012 17:39:09 +0000 (GMT) Date: Tue, 29 May 2012 19:39:09 +0200 From: Torfinn Ingolfsen To: freebsd-ppc@freebsd.org Message-id: <20120529193909.86f543f9.torfinn.ingolfsen@getmail.no> In-reply-to: <4FC2F359.9000207@saltant.com> References: <4FC2F359.9000207@saltant.com> X-Mailer: Sylpheed 3.1.4 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Subject: Re: Trouble booting 9-STABLE memstick on PowerBook G4 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, 29 May 2012 17:39:17 -0000 On Sun, 27 May 2012 23:39:05 -0400 "John W. O'Brien" wrote: > ok > 0 > boot /usb1/disk@1:,\boot\loader can't OPEN: > /usb1/disk@1:,\boot\loader > Can't open device or file Based on my own experience; try the full path, on some machines booting from an alias doesn't work with FreeBSD. So, boot (or dir) /pci@f2..... HTH -- Torfinn Ingolfsen From owner-freebsd-ppc@FreeBSD.ORG Wed May 30 01:20:55 2012 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 C6E681065675; Wed, 30 May 2012 01:20:55 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [IPv6:2607:f3e0:0:3::6502:9b]) by mx1.freebsd.org (Postfix) with ESMTP id 6DAC08FC1A; Wed, 30 May 2012 01:20:55 +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 q4U1Ks2O047093; Wed, 30 May 2012 01:20:54 GMT (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-stable.sentex.ca (8.14.5/8.14.5/Submit) id q4U1KsGE047077; Wed, 30 May 2012 01:20:54 GMT (envelope-from tinderbox@freebsd.org) Date: Wed, 30 May 2012 01:20:54 GMT Message-Id: <201205300120.q4U1KsGE047077@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 , , Precedence: bulk Cc: Subject: [releng_9 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, 30 May 2012 01:20:55 -0000 TB --- 2012-05-29 22:14:08 - tinderbox 2.9 running on freebsd-stable.sentex.ca TB --- 2012-05-29 22:14:08 - FreeBSD freebsd-stable.sentex.ca 8.2-STABLE FreeBSD 8.2-STABLE #4: Wed Sep 28 13:48:49 UTC 2011 mdtancsa@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/server amd64 TB --- 2012-05-29 22:14:08 - starting RELENG_9 tinderbox run for powerpc/powerpc TB --- 2012-05-29 22:14:08 - cleaning the object tree TB --- 2012-05-29 22:14:08 - cvsupping the source tree TB --- 2012-05-29 22:14:08 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/RELENG_9/powerpc/powerpc/supfile TB --- 2012-05-29 22:14:54 - building world TB --- 2012-05-29 22:14:54 - CROSS_BUILD_TESTING=YES TB --- 2012-05-29 22:14:54 - MAKEOBJDIRPREFIX=/obj TB --- 2012-05-29 22:14:54 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-05-29 22:14:54 - SRCCONF=/dev/null TB --- 2012-05-29 22:14:54 - TARGET=powerpc TB --- 2012-05-29 22:14:54 - TARGET_ARCH=powerpc TB --- 2012-05-29 22:14:54 - TZ=UTC TB --- 2012-05-29 22:14:54 - __MAKE_CONF=/dev/null TB --- 2012-05-29 22:14:54 - cd /src TB --- 2012-05-29 22:14:54 - /usr/bin/make -B buildworld >>> World build started on Tue May 29 22:14:55 UTC 2012 >>> 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 May 30 00:53:17 UTC 2012 TB --- 2012-05-30 00:53:17 - generating LINT kernel config TB --- 2012-05-30 00:53:17 - cd /src/sys/powerpc/conf TB --- 2012-05-30 00:53:17 - /usr/bin/make -B LINT TB --- 2012-05-30 00:53:17 - cd /src/sys/powerpc/conf TB --- 2012-05-30 00:53:17 - /usr/sbin/config -m LINT TB --- 2012-05-30 00:53:17 - building LINT kernel TB --- 2012-05-30 00:53:17 - CROSS_BUILD_TESTING=YES TB --- 2012-05-30 00:53:17 - MAKEOBJDIRPREFIX=/obj TB --- 2012-05-30 00:53:17 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-05-30 00:53:17 - SRCCONF=/dev/null TB --- 2012-05-30 00:53:17 - TARGET=powerpc TB --- 2012-05-30 00:53:17 - TARGET_ARCH=powerpc TB --- 2012-05-30 00:53:17 - TZ=UTC TB --- 2012-05-30 00:53:17 - __MAKE_CONF=/dev/null TB --- 2012-05-30 00:53:17 - cd /src TB --- 2012-05-30 00:53:17 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Wed May 30 00:53:17 UTC 2012 >>> 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 >>> Kernel build for LINT completed on Wed May 30 01:14:36 UTC 2012 TB --- 2012-05-30 01:14:36 - cd /src/sys/powerpc/conf TB --- 2012-05-30 01:14:36 - /usr/sbin/config -m GENERIC TB --- 2012-05-30 01:14:36 - building GENERIC kernel TB --- 2012-05-30 01:14:36 - CROSS_BUILD_TESTING=YES TB --- 2012-05-30 01:14:36 - MAKEOBJDIRPREFIX=/obj TB --- 2012-05-30 01:14:36 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-05-30 01:14:36 - SRCCONF=/dev/null TB --- 2012-05-30 01:14:36 - TARGET=powerpc TB --- 2012-05-30 01:14:36 - TARGET_ARCH=powerpc TB --- 2012-05-30 01:14:36 - TZ=UTC TB --- 2012-05-30 01:14:36 - __MAKE_CONF=/dev/null TB --- 2012-05-30 01:14:36 - cd /src TB --- 2012-05-30 01:14:36 - /usr/bin/make -B buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Wed May 30 01:14:36 UTC 2012 >>> 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 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/mp_cpudep.c cc -c -O -pipe -std=c99 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/nexus.c cc -c -x assembler-with-cpp -DLOCORE -O -pipe -std=c99 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/swtch32.S cc -c -O -pipe -std=c99 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/trap.c cc1: warnings being treated as errors In file included from /src/sys/powerpc/aim/trap.c:77: ./machine/trap.h:11: warning: redundant redeclaration of 'trap' [-Wredundant-decls] ./machine/trap.h:11: warning: previous declaration of 'trap' was here *** Error code 1 Stop in /obj/powerpc.powerpc/src/sys/GENERIC. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-05-30 01:20:54 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-05-30 01:20:54 - ERROR: failed to build GENERIC kernel TB --- 2012-05-30 01:20:54 - 7859.81 user 1051.07 system 11206.09 real http://tinderbox.freebsd.org/tinderbox-releng_9-RELENG_9-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Wed May 30 10:37:37 2012 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8A587106566C; Wed, 30 May 2012 10:37:37 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [IPv6:2607:f3e0:0:3::6502:9b]) by mx1.freebsd.org (Postfix) with ESMTP id DA6D28FC12; Wed, 30 May 2012 10:37:36 +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 q4UAbaAI080392; Wed, 30 May 2012 10:37:36 GMT (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-stable.sentex.ca (8.14.5/8.14.5/Submit) id q4UAba1B080391; Wed, 30 May 2012 10:37:36 GMT (envelope-from tinderbox@freebsd.org) Date: Wed, 30 May 2012 10:37:36 GMT Message-Id: <201205301037.q4UAba1B080391@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 , , Precedence: bulk Cc: Subject: [releng_9 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, 30 May 2012 10:37:37 -0000 TB --- 2012-05-30 07:30:22 - tinderbox 2.9 running on freebsd-stable.sentex.ca TB --- 2012-05-30 07:30:22 - FreeBSD freebsd-stable.sentex.ca 8.2-STABLE FreeBSD 8.2-STABLE #4: Wed Sep 28 13:48:49 UTC 2011 mdtancsa@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/server amd64 TB --- 2012-05-30 07:30:22 - starting RELENG_9 tinderbox run for powerpc/powerpc TB --- 2012-05-30 07:30:22 - cleaning the object tree TB --- 2012-05-30 07:30:50 - cvsupping the source tree TB --- 2012-05-30 07:30:50 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/RELENG_9/powerpc/powerpc/supfile TB --- 2012-05-30 07:31:54 - building world TB --- 2012-05-30 07:31:54 - CROSS_BUILD_TESTING=YES TB --- 2012-05-30 07:31:54 - MAKEOBJDIRPREFIX=/obj TB --- 2012-05-30 07:31:54 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-05-30 07:31:54 - SRCCONF=/dev/null TB --- 2012-05-30 07:31:54 - TARGET=powerpc TB --- 2012-05-30 07:31:54 - TARGET_ARCH=powerpc TB --- 2012-05-30 07:31:54 - TZ=UTC TB --- 2012-05-30 07:31:54 - __MAKE_CONF=/dev/null TB --- 2012-05-30 07:31:54 - cd /src TB --- 2012-05-30 07:31:54 - /usr/bin/make -B buildworld >>> World build started on Wed May 30 07:31:55 UTC 2012 >>> 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 May 30 10:09:57 UTC 2012 TB --- 2012-05-30 10:09:57 - generating LINT kernel config TB --- 2012-05-30 10:09:57 - cd /src/sys/powerpc/conf TB --- 2012-05-30 10:09:57 - /usr/bin/make -B LINT TB --- 2012-05-30 10:09:57 - cd /src/sys/powerpc/conf TB --- 2012-05-30 10:09:57 - /usr/sbin/config -m LINT TB --- 2012-05-30 10:09:57 - building LINT kernel TB --- 2012-05-30 10:09:57 - CROSS_BUILD_TESTING=YES TB --- 2012-05-30 10:09:57 - MAKEOBJDIRPREFIX=/obj TB --- 2012-05-30 10:09:57 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-05-30 10:09:57 - SRCCONF=/dev/null TB --- 2012-05-30 10:09:57 - TARGET=powerpc TB --- 2012-05-30 10:09:57 - TARGET_ARCH=powerpc TB --- 2012-05-30 10:09:57 - TZ=UTC TB --- 2012-05-30 10:09:57 - __MAKE_CONF=/dev/null TB --- 2012-05-30 10:09:57 - cd /src TB --- 2012-05-30 10:09:57 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Wed May 30 10:09:57 UTC 2012 >>> 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 >>> Kernel build for LINT completed on Wed May 30 10:31:09 UTC 2012 TB --- 2012-05-30 10:31:09 - cd /src/sys/powerpc/conf TB --- 2012-05-30 10:31:09 - /usr/sbin/config -m GENERIC TB --- 2012-05-30 10:31:09 - building GENERIC kernel TB --- 2012-05-30 10:31:09 - CROSS_BUILD_TESTING=YES TB --- 2012-05-30 10:31:09 - MAKEOBJDIRPREFIX=/obj TB --- 2012-05-30 10:31:09 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-05-30 10:31:09 - SRCCONF=/dev/null TB --- 2012-05-30 10:31:09 - TARGET=powerpc TB --- 2012-05-30 10:31:09 - TARGET_ARCH=powerpc TB --- 2012-05-30 10:31:09 - TZ=UTC TB --- 2012-05-30 10:31:09 - __MAKE_CONF=/dev/null TB --- 2012-05-30 10:31:09 - cd /src TB --- 2012-05-30 10:31:09 - /usr/bin/make -B buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Wed May 30 10:31:09 UTC 2012 >>> 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 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/mp_cpudep.c cc -c -O -pipe -std=c99 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/nexus.c cc -c -x assembler-with-cpp -DLOCORE -O -pipe -std=c99 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/swtch32.S cc -c -O -pipe -std=c99 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/trap.c cc1: warnings being treated as errors In file included from /src/sys/powerpc/aim/trap.c:77: ./machine/trap.h:11: warning: redundant redeclaration of 'trap' [-Wredundant-decls] ./machine/trap.h:11: warning: previous declaration of 'trap' was here *** Error code 1 Stop in /obj/powerpc.powerpc/src/sys/GENERIC. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-05-30 10:37:36 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-05-30 10:37:36 - ERROR: failed to build GENERIC kernel TB --- 2012-05-30 10:37:36 - 7803.91 user 1043.77 system 11234.06 real http://tinderbox.freebsd.org/tinderbox-releng_9-RELENG_9-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Wed May 30 19:58:00 2012 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D9365106566B; Wed, 30 May 2012 19:58:00 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [IPv6:2607:f3e0:0:3::6502:9b]) by mx1.freebsd.org (Postfix) with ESMTP id 6CFE68FC1F; Wed, 30 May 2012 19:57:59 +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 q4UJvxCg054285; Wed, 30 May 2012 19:57:59 GMT (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-stable.sentex.ca (8.14.5/8.14.5/Submit) id q4UJvxlu054284; Wed, 30 May 2012 19:57:59 GMT (envelope-from tinderbox@freebsd.org) Date: Wed, 30 May 2012 19:57:59 GMT Message-Id: <201205301957.q4UJvxlu054284@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 , , Precedence: bulk Cc: Subject: [releng_9 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, 30 May 2012 19:58:01 -0000 TB --- 2012-05-30 16:49:39 - tinderbox 2.9 running on freebsd-stable.sentex.ca TB --- 2012-05-30 16:49:39 - FreeBSD freebsd-stable.sentex.ca 8.2-STABLE FreeBSD 8.2-STABLE #4: Wed Sep 28 13:48:49 UTC 2011 mdtancsa@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/server amd64 TB --- 2012-05-30 16:49:39 - starting RELENG_9 tinderbox run for powerpc/powerpc TB --- 2012-05-30 16:49:39 - cleaning the object tree TB --- 2012-05-30 16:50:07 - cvsupping the source tree TB --- 2012-05-30 16:50:07 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/RELENG_9/powerpc/powerpc/supfile TB --- 2012-05-30 16:51:20 - building world TB --- 2012-05-30 16:51:20 - CROSS_BUILD_TESTING=YES TB --- 2012-05-30 16:51:20 - MAKEOBJDIRPREFIX=/obj TB --- 2012-05-30 16:51:20 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-05-30 16:51:20 - SRCCONF=/dev/null TB --- 2012-05-30 16:51:20 - TARGET=powerpc TB --- 2012-05-30 16:51:20 - TARGET_ARCH=powerpc TB --- 2012-05-30 16:51:20 - TZ=UTC TB --- 2012-05-30 16:51:20 - __MAKE_CONF=/dev/null TB --- 2012-05-30 16:51:20 - cd /src TB --- 2012-05-30 16:51:20 - /usr/bin/make -B buildworld >>> World build started on Wed May 30 16:51:21 UTC 2012 >>> 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 May 30 19:29:40 UTC 2012 TB --- 2012-05-30 19:29:40 - generating LINT kernel config TB --- 2012-05-30 19:29:40 - cd /src/sys/powerpc/conf TB --- 2012-05-30 19:29:40 - /usr/bin/make -B LINT TB --- 2012-05-30 19:29:40 - cd /src/sys/powerpc/conf TB --- 2012-05-30 19:29:40 - /usr/sbin/config -m LINT TB --- 2012-05-30 19:29:40 - building LINT kernel TB --- 2012-05-30 19:29:40 - CROSS_BUILD_TESTING=YES TB --- 2012-05-30 19:29:40 - MAKEOBJDIRPREFIX=/obj TB --- 2012-05-30 19:29:40 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-05-30 19:29:40 - SRCCONF=/dev/null TB --- 2012-05-30 19:29:40 - TARGET=powerpc TB --- 2012-05-30 19:29:40 - TARGET_ARCH=powerpc TB --- 2012-05-30 19:29:40 - TZ=UTC TB --- 2012-05-30 19:29:40 - __MAKE_CONF=/dev/null TB --- 2012-05-30 19:29:40 - cd /src TB --- 2012-05-30 19:29:40 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Wed May 30 19:29:40 UTC 2012 >>> 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 >>> Kernel build for LINT completed on Wed May 30 19:51:40 UTC 2012 TB --- 2012-05-30 19:51:40 - cd /src/sys/powerpc/conf TB --- 2012-05-30 19:51:40 - /usr/sbin/config -m GENERIC TB --- 2012-05-30 19:51:40 - building GENERIC kernel TB --- 2012-05-30 19:51:40 - CROSS_BUILD_TESTING=YES TB --- 2012-05-30 19:51:40 - MAKEOBJDIRPREFIX=/obj TB --- 2012-05-30 19:51:40 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-05-30 19:51:40 - SRCCONF=/dev/null TB --- 2012-05-30 19:51:40 - TARGET=powerpc TB --- 2012-05-30 19:51:40 - TARGET_ARCH=powerpc TB --- 2012-05-30 19:51:40 - TZ=UTC TB --- 2012-05-30 19:51:40 - __MAKE_CONF=/dev/null TB --- 2012-05-30 19:51:40 - cd /src TB --- 2012-05-30 19:51:40 - /usr/bin/make -B buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Wed May 30 19:51:40 UTC 2012 >>> 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 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/mp_cpudep.c cc -c -O -pipe -std=c99 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/nexus.c cc -c -x assembler-with-cpp -DLOCORE -O -pipe -std=c99 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/swtch32.S cc -c -O -pipe -std=c99 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/trap.c cc1: warnings being treated as errors In file included from /src/sys/powerpc/aim/trap.c:77: ./machine/trap.h:11: warning: redundant redeclaration of 'trap' [-Wredundant-decls] ./machine/trap.h:11: warning: previous declaration of 'trap' was here *** Error code 1 Stop in /obj/powerpc.powerpc/src/sys/GENERIC. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-05-30 19:57:59 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-05-30 19:57:59 - ERROR: failed to build GENERIC kernel TB --- 2012-05-30 19:57:59 - 7811.60 user 1041.95 system 11299.92 real http://tinderbox.freebsd.org/tinderbox-releng_9-RELENG_9-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Wed May 30 20:13:08 2012 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 163B3106566B; Wed, 30 May 2012 20:13:08 +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 B61AB8FC0A; Wed, 30 May 2012 20:13:07 +0000 (UTC) Received: from localhost (unknown [213.17.239.109]) by smtp.semihalf.com (Postfix) with ESMTP id 36E28C3845; Wed, 30 May 2012 22:12:51 +0200 (CEST) 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 zq1yncDYKi0L; Wed, 30 May 2012 22:12:50 +0200 (CEST) Received: from [10.0.0.112] (nat3-133.ghnet.pl [91.150.222.133]) by smtp.semihalf.com (Postfix) with ESMTPSA id 72A37C3833; Wed, 30 May 2012 22:12:50 +0200 (CEST) From: Rafal Jaworowski Date: Wed, 30 May 2012 22:13:00 +0200 Message-Id: <0362C399-CB54-451E-A879-E836EF13CE72@semihalf.com> To: Marcel Moolenaar , Nathan Whitehorn Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: powerpc@freebsd.org, Zbyszek Bodek , =?iso-8859-2?Q?Piotr_Zi=EAcik?= Subject: RFC: OpenPIC IPI patch 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, 30 May 2012 20:13:08 -0000 Can you please have a look at this patch and let us know about any = comments / objections? We identified a problem with IPI on the recent = FSL eOpenPIC, description in the patch: http://people.freebsd.org/~raj/patches/powerpc/openpic.diff Rafal From owner-freebsd-ppc@FreeBSD.ORG Wed May 30 20:37:06 2012 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 715BE1065674; Wed, 30 May 2012 20:37:06 +0000 (UTC) (envelope-from marcel@xcllnt.net) Received: from mail.xcllnt.net (mail.xcllnt.net [70.36.220.4]) by mx1.freebsd.org (Postfix) with ESMTP id 390778FC19; Wed, 30 May 2012 20:37:06 +0000 (UTC) Received: from sa-nc-apg-49.static.jnpr.net (natint3.juniper.net [66.129.224.36]) (authenticated bits=0) by mail.xcllnt.net (8.14.5/8.14.5) with ESMTP id q4UKap7N045535 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Wed, 30 May 2012 13:36:59 -0700 (PDT) (envelope-from marcel@xcllnt.net) Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: Marcel Moolenaar In-Reply-To: <0362C399-CB54-451E-A879-E836EF13CE72@semihalf.com> Date: Wed, 30 May 2012 13:36:46 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <251AF144-587C-4854-88B2-0CD7D26E1DF1@xcllnt.net> References: <0362C399-CB54-451E-A879-E836EF13CE72@semihalf.com> To: Rafal Jaworowski X-Mailer: Apple Mail (2.1278) Cc: powerpc@freebsd.org, Zbyszek Bodek , =?utf-8?Q?Piotr_Zi=C4=99cik?= Subject: Re: RFC: OpenPIC IPI patch 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, 30 May 2012 20:37:06 -0000 On May 30, 2012, at 1:13 PM, Rafal Jaworowski wrote: > Can you please have a look at this patch and let us know about any = comments / objections? We identified a problem with IPI on the recent = FSL eOpenPIC, description in the patch: >=20 > http://people.freebsd.org/~raj/patches/powerpc/openpic.diff Looks good. Please consider adding some checks to openpic_ipi() where we peek into the cpuset_t type and access the "bits". An assert would be nice if the set contains cpus number 32 or up. This to make it painfully obvious that it's time to extend openpic_ipi() to handle more than 32 CPUs if and when the need arises. FYI, --=20 Marcel Moolenaar marcel@xcllnt.net From owner-freebsd-ppc@FreeBSD.ORG Thu May 31 05:16:42 2012 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 81D601065672; Thu, 31 May 2012 05:16:42 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [IPv6:2607:f3e0:0:3::6502:9b]) by mx1.freebsd.org (Postfix) with ESMTP id 2DCF28FC08; Thu, 31 May 2012 05:16:42 +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 q4V5GftA096320; Thu, 31 May 2012 05:16:41 GMT (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-stable.sentex.ca (8.14.5/8.14.5/Submit) id q4V5GfJI096310; Thu, 31 May 2012 05:16:41 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 31 May 2012 05:16:41 GMT Message-Id: <201205310516.q4V5GfJI096310@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 , , Precedence: bulk Cc: Subject: [releng_9 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: Thu, 31 May 2012 05:16:42 -0000 TB --- 2012-05-31 02:09:21 - tinderbox 2.9 running on freebsd-stable.sentex.ca TB --- 2012-05-31 02:09:21 - FreeBSD freebsd-stable.sentex.ca 8.2-STABLE FreeBSD 8.2-STABLE #4: Wed Sep 28 13:48:49 UTC 2011 mdtancsa@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/server amd64 TB --- 2012-05-31 02:09:21 - starting RELENG_9 tinderbox run for powerpc/powerpc TB --- 2012-05-31 02:09:21 - cleaning the object tree TB --- 2012-05-31 02:09:54 - cvsupping the source tree TB --- 2012-05-31 02:09:54 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/RELENG_9/powerpc/powerpc/supfile TB --- 2012-05-31 02:10:52 - building world TB --- 2012-05-31 02:10:52 - CROSS_BUILD_TESTING=YES TB --- 2012-05-31 02:10:52 - MAKEOBJDIRPREFIX=/obj TB --- 2012-05-31 02:10:52 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-05-31 02:10:52 - SRCCONF=/dev/null TB --- 2012-05-31 02:10:52 - TARGET=powerpc TB --- 2012-05-31 02:10:52 - TARGET_ARCH=powerpc TB --- 2012-05-31 02:10:52 - TZ=UTC TB --- 2012-05-31 02:10:52 - __MAKE_CONF=/dev/null TB --- 2012-05-31 02:10:52 - cd /src TB --- 2012-05-31 02:10:52 - /usr/bin/make -B buildworld >>> World build started on Thu May 31 02:10:53 UTC 2012 >>> 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 May 31 04:49:23 UTC 2012 TB --- 2012-05-31 04:49:23 - generating LINT kernel config TB --- 2012-05-31 04:49:23 - cd /src/sys/powerpc/conf TB --- 2012-05-31 04:49:23 - /usr/bin/make -B LINT TB --- 2012-05-31 04:49:23 - cd /src/sys/powerpc/conf TB --- 2012-05-31 04:49:23 - /usr/sbin/config -m LINT TB --- 2012-05-31 04:49:23 - building LINT kernel TB --- 2012-05-31 04:49:23 - CROSS_BUILD_TESTING=YES TB --- 2012-05-31 04:49:23 - MAKEOBJDIRPREFIX=/obj TB --- 2012-05-31 04:49:23 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-05-31 04:49:23 - SRCCONF=/dev/null TB --- 2012-05-31 04:49:23 - TARGET=powerpc TB --- 2012-05-31 04:49:23 - TARGET_ARCH=powerpc TB --- 2012-05-31 04:49:23 - TZ=UTC TB --- 2012-05-31 04:49:23 - __MAKE_CONF=/dev/null TB --- 2012-05-31 04:49:23 - cd /src TB --- 2012-05-31 04:49:23 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu May 31 04:49:23 UTC 2012 >>> 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 >>> Kernel build for LINT completed on Thu May 31 05:10:34 UTC 2012 TB --- 2012-05-31 05:10:34 - cd /src/sys/powerpc/conf TB --- 2012-05-31 05:10:34 - /usr/sbin/config -m GENERIC TB --- 2012-05-31 05:10:34 - building GENERIC kernel TB --- 2012-05-31 05:10:34 - CROSS_BUILD_TESTING=YES TB --- 2012-05-31 05:10:34 - MAKEOBJDIRPREFIX=/obj TB --- 2012-05-31 05:10:34 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-05-31 05:10:34 - SRCCONF=/dev/null TB --- 2012-05-31 05:10:34 - TARGET=powerpc TB --- 2012-05-31 05:10:34 - TARGET_ARCH=powerpc TB --- 2012-05-31 05:10:34 - TZ=UTC TB --- 2012-05-31 05:10:34 - __MAKE_CONF=/dev/null TB --- 2012-05-31 05:10:34 - cd /src TB --- 2012-05-31 05:10:34 - /usr/bin/make -B buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Thu May 31 05:10:34 UTC 2012 >>> 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 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/mp_cpudep.c cc -c -O -pipe -std=c99 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/nexus.c cc -c -x assembler-with-cpp -DLOCORE -O -pipe -std=c99 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/swtch32.S cc -c -O -pipe -std=c99 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/trap.c cc1: warnings being treated as errors In file included from /src/sys/powerpc/aim/trap.c:77: ./machine/trap.h:11: warning: redundant redeclaration of 'trap' [-Wredundant-decls] ./machine/trap.h:11: warning: previous declaration of 'trap' was here *** Error code 1 Stop in /obj/powerpc.powerpc/src/sys/GENERIC. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-05-31 05:16:41 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-05-31 05:16:41 - ERROR: failed to build GENERIC kernel TB --- 2012-05-31 05:16:41 - 7804.29 user 1042.48 system 11239.98 real http://tinderbox.freebsd.org/tinderbox-releng_9-RELENG_9-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Thu May 31 14:35:28 2012 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 AABC6106564A; Thu, 31 May 2012 14:35:28 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [IPv6:2607:f3e0:0:3::6502:9b]) by mx1.freebsd.org (Postfix) with ESMTP id D8C6A8FC15; Thu, 31 May 2012 14:35:27 +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 q4VEZR0r059341; Thu, 31 May 2012 14:35:27 GMT (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-stable.sentex.ca (8.14.5/8.14.5/Submit) id q4VEZRJU059330; Thu, 31 May 2012 14:35:27 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 31 May 2012 14:35:27 GMT Message-Id: <201205311435.q4VEZRJU059330@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 , , Precedence: bulk Cc: Subject: [releng_9 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: Thu, 31 May 2012 14:35:28 -0000 TB --- 2012-05-31 11:27:24 - tinderbox 2.9 running on freebsd-stable.sentex.ca TB --- 2012-05-31 11:27:24 - FreeBSD freebsd-stable.sentex.ca 8.2-STABLE FreeBSD 8.2-STABLE #4: Wed Sep 28 13:48:49 UTC 2011 mdtancsa@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/server amd64 TB --- 2012-05-31 11:27:24 - starting RELENG_9 tinderbox run for powerpc/powerpc TB --- 2012-05-31 11:27:25 - cleaning the object tree TB --- 2012-05-31 11:27:56 - cvsupping the source tree TB --- 2012-05-31 11:27:56 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/RELENG_9/powerpc/powerpc/supfile TB --- 2012-05-31 11:28:50 - building world TB --- 2012-05-31 11:28:50 - CROSS_BUILD_TESTING=YES TB --- 2012-05-31 11:28:50 - MAKEOBJDIRPREFIX=/obj TB --- 2012-05-31 11:28:50 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-05-31 11:28:50 - SRCCONF=/dev/null TB --- 2012-05-31 11:28:50 - TARGET=powerpc TB --- 2012-05-31 11:28:50 - TARGET_ARCH=powerpc TB --- 2012-05-31 11:28:50 - TZ=UTC TB --- 2012-05-31 11:28:50 - __MAKE_CONF=/dev/null TB --- 2012-05-31 11:28:50 - cd /src TB --- 2012-05-31 11:28:50 - /usr/bin/make -B buildworld >>> World build started on Thu May 31 11:28:52 UTC 2012 >>> 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 May 31 14:07:42 UTC 2012 TB --- 2012-05-31 14:07:42 - generating LINT kernel config TB --- 2012-05-31 14:07:42 - cd /src/sys/powerpc/conf TB --- 2012-05-31 14:07:42 - /usr/bin/make -B LINT TB --- 2012-05-31 14:07:43 - cd /src/sys/powerpc/conf TB --- 2012-05-31 14:07:43 - /usr/sbin/config -m LINT TB --- 2012-05-31 14:07:43 - building LINT kernel TB --- 2012-05-31 14:07:43 - CROSS_BUILD_TESTING=YES TB --- 2012-05-31 14:07:43 - MAKEOBJDIRPREFIX=/obj TB --- 2012-05-31 14:07:43 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-05-31 14:07:43 - SRCCONF=/dev/null TB --- 2012-05-31 14:07:43 - TARGET=powerpc TB --- 2012-05-31 14:07:43 - TARGET_ARCH=powerpc TB --- 2012-05-31 14:07:43 - TZ=UTC TB --- 2012-05-31 14:07:43 - __MAKE_CONF=/dev/null TB --- 2012-05-31 14:07:43 - cd /src TB --- 2012-05-31 14:07:43 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu May 31 14:07:43 UTC 2012 >>> 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 >>> Kernel build for LINT completed on Thu May 31 14:29:06 UTC 2012 TB --- 2012-05-31 14:29:06 - cd /src/sys/powerpc/conf TB --- 2012-05-31 14:29:06 - /usr/sbin/config -m GENERIC TB --- 2012-05-31 14:29:06 - building GENERIC kernel TB --- 2012-05-31 14:29:06 - CROSS_BUILD_TESTING=YES TB --- 2012-05-31 14:29:06 - MAKEOBJDIRPREFIX=/obj TB --- 2012-05-31 14:29:06 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-05-31 14:29:06 - SRCCONF=/dev/null TB --- 2012-05-31 14:29:06 - TARGET=powerpc TB --- 2012-05-31 14:29:06 - TARGET_ARCH=powerpc TB --- 2012-05-31 14:29:06 - TZ=UTC TB --- 2012-05-31 14:29:06 - __MAKE_CONF=/dev/null TB --- 2012-05-31 14:29:06 - cd /src TB --- 2012-05-31 14:29:06 - /usr/bin/make -B buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Thu May 31 14:29:06 UTC 2012 >>> 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 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/mp_cpudep.c cc -c -O -pipe -std=c99 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/nexus.c cc -c -x assembler-with-cpp -DLOCORE -O -pipe -std=c99 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/swtch32.S cc -c -O -pipe -std=c99 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/trap.c cc1: warnings being treated as errors In file included from /src/sys/powerpc/aim/trap.c:77: ./machine/trap.h:11: warning: redundant redeclaration of 'trap' [-Wredundant-decls] ./machine/trap.h:11: warning: previous declaration of 'trap' was here *** Error code 1 Stop in /obj/powerpc.powerpc/src/sys/GENERIC. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-05-31 14:35:27 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-05-31 14:35:27 - ERROR: failed to build GENERIC kernel TB --- 2012-05-31 14:35:27 - 7851.48 user 1047.91 system 11282.07 real http://tinderbox.freebsd.org/tinderbox-releng_9-RELENG_9-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Thu May 31 23:08:04 2012 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 27004106564A; Thu, 31 May 2012 23:08:04 +0000 (UTC) (envelope-from zbb@semihalf.com) Received: from smtp.semihalf.com (smtp.semihalf.com [213.17.239.109]) by mx1.freebsd.org (Postfix) with ESMTP id 98E5B8FC14; Thu, 31 May 2012 23:08:03 +0000 (UTC) Received: from localhost (unknown [213.17.239.109]) by smtp.semihalf.com (Postfix) with ESMTP id 29E47C3845; Fri, 1 Jun 2012 01:07:47 +0200 (CEST) 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 iWZMAAHkHzuQ; Fri, 1 Jun 2012 01:07:36 +0200 (CEST) Received: from webmail.semihalf.com (semihalf.com [206.130.101.55]) by smtp.semihalf.com (Postfix) with ESMTPSA id AD513C384F; Fri, 1 Jun 2012 01:07:34 +0200 (CEST) MIME-Version: 1.0 Date: Thu, 31 May 2012 17:07:42 -0600 From: Zbigniew Bodek To: Marcel Moolenaar In-Reply-To: <251AF144-587C-4854-88B2-0CD7D26E1DF1@xcllnt.net> References: <0362C399-CB54-451E-A879-E836EF13CE72@semihalf.com> <251AF144-587C-4854-88B2-0CD7D26E1DF1@xcllnt.net> Message-ID: X-Sender: zbb@semihalf.com User-Agent: RoundCube Webmail/0.2.2 Content-Type: multipart/mixed; boundary="=_3b7ad5037c6a1e9c6e236a745119b2c2" Cc: powerpc@freebsd.org, =?UTF-8?Q?Piotr_Zi=C4=99cik?= Subject: Re: RFC: OpenPIC IPI patch 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, 31 May 2012 23:08:04 -0000 --=_3b7ad5037c6a1e9c6e236a745119b2c2 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" On Wed, 30 May 2012 13:36:46 -0700, Marcel Moolenaar wrote: > On May 30, 2012, at 1:13 PM, Rafal Jaworowski wrote: > >> Can you please have a look at this patch and let us know about any >> comments / objections? We identified a problem with IPI on the recent FSL >> eOpenPIC, description in the patch: >> >> http://people.freebsd.org/~raj/patches/powerpc/openpic.diff > > Looks good. Please consider adding some checks to openpic_ipi() where > we peek into the cpuset_t type and access the "bits". An assert would > be nice if the set contains cpus number 32 or up. This to make it > painfully obvious that it's time to extend openpic_ipi() to handle more > than 32 CPUs if and when the need arises. > > FYI, Indeed, there should be a sanity check in here. I suggest the following assert: diff --git a/sys/powerpc/powerpc/openpic.c b/sys/powerpc/powerpc/openpic.c index 95af605..45858b6 100644 --- a/sys/powerpc/powerpc/openpic.c +++ b/sys/powerpc/powerpc/openpic.c @@ -29,6 +29,7 @@ #include #include #include +#include #include #include #include @@ -344,8 +345,14 @@ void openpic_ipi(device_t dev, cpuset_t cpumask) { struct openpic_softc *sc; + cpuset_t ns_cpus; /* Mask of not supported CPUs */ + + CPU_FILL(&ns_cpus); + ns_cpus.__bits[0] = 0; KASSERT(dev == root_pic, ("Cannot send IPIs from non-root OpenPIC")); + KASSERT(CPU_OVERLAP(&ns_cpus, &cpumask) == 0, + ("Cannot send an IPI to a CPU which number exceeds #31")); sc = device_get_softc(dev); sched_pin(); The patch is also available in the email's attachment. Please send any comments and/or objections. Best regards Zbyszek Bodek --=_3b7ad5037c6a1e9c6e236a745119b2c2 Content-Transfer-Encoding: base64 Content-Type: text/x-patch; charset="UTF-8"; name="ipi_assert.patch"; Content-Disposition: attachment; filename="ipi_assert.patch"; ZGlmZiAtLWdpdCBhL3N5cy9wb3dlcnBjL3Bvd2VycGMvb3BlbnBpYy5jIGIvc3lzL3Bvd2VycGMv cG93ZXJwYy9vcGVucGljLmMKaW5kZXggOTVhZjYwNS4uNDU4NThiNiAxMDA2NDQKLS0tIGEvc3lz L3Bvd2VycGMvcG93ZXJwYy9vcGVucGljLmMKKysrIGIvc3lzL3Bvd2VycGMvcG93ZXJwYy9vcGVu cGljLmMKQEAgLTI5LDYgKzI5LDcgQEAKICNpbmNsdWRlIDxzeXMvc3lzdG0uaD4KICNpbmNsdWRl IDxzeXMvYnVzLmg+CiAjaW5jbHVkZSA8c3lzL2NvbmYuaD4KKyNpbmNsdWRlIDxzeXMvY3B1c2V0 Lmg+CiAjaW5jbHVkZSA8c3lzL2tlcm5lbC5oPgogI2luY2x1ZGUgPHN5cy9wcm9jLmg+CiAjaW5j bHVkZSA8c3lzL3JtYW4uaD4KQEAgLTM0NCw4ICszNDUsMTQgQEAgdm9pZAogb3BlbnBpY19pcGko ZGV2aWNlX3QgZGV2LCBjcHVzZXRfdCBjcHVtYXNrKQogewogCXN0cnVjdCBvcGVucGljX3NvZnRj ICpzYzsKKwljcHVzZXRfdCBuc19jcHVzOwkvKiBNYXNrIG9mIG5vdCBzdXBwb3J0ZWQgQ1BVcyAq LworCisJQ1BVX0ZJTEwoJm5zX2NwdXMpOworCW5zX2NwdXMuX19iaXRzWzBdID0gMDsKIAogCUtB U1NFUlQoZGV2ID09IHJvb3RfcGljLCAoIkNhbm5vdCBzZW5kIElQSXMgZnJvbSBub24tcm9vdCBP cGVuUElDIikpOworCUtBU1NFUlQoQ1BVX09WRVJMQVAoJm5zX2NwdXMsICAmY3B1bWFzaykgPT0g MCwKKwkgICAgKCJDYW5ub3Qgc2VuZCBhbiBJUEkgdG8gYSBDUFUgd2hpY2ggbnVtYmVyIGV4Y2Vl ZHMgIzMxIikpOwogCiAJc2MgPSBkZXZpY2VfZ2V0X3NvZnRjKGRldik7CiAJc2NoZWRfcGluKCk7 Cg== --=_3b7ad5037c6a1e9c6e236a745119b2c2-- From owner-freebsd-ppc@FreeBSD.ORG Thu May 31 23:53:29 2012 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 E49CF106566C; Thu, 31 May 2012 23:53:29 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [IPv6:2607:f3e0:0:3::6502:9b]) by mx1.freebsd.org (Postfix) with ESMTP id 8ECA38FC0C; Thu, 31 May 2012 23:53:29 +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 q4VNrTkX016386; Thu, 31 May 2012 23:53:29 GMT (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-stable.sentex.ca (8.14.5/8.14.5/Submit) id q4VNrSkY016376; Thu, 31 May 2012 23:53:28 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 31 May 2012 23:53:28 GMT Message-Id: <201205312353.q4VNrSkY016376@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 , , Precedence: bulk Cc: Subject: [releng_9 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: Thu, 31 May 2012 23:53:30 -0000 TB --- 2012-05-31 20:44:53 - tinderbox 2.9 running on freebsd-stable.sentex.ca TB --- 2012-05-31 20:44:53 - FreeBSD freebsd-stable.sentex.ca 8.2-STABLE FreeBSD 8.2-STABLE #4: Wed Sep 28 13:48:49 UTC 2011 mdtancsa@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/server amd64 TB --- 2012-05-31 20:44:53 - starting RELENG_9 tinderbox run for powerpc/powerpc TB --- 2012-05-31 20:44:53 - cleaning the object tree TB --- 2012-05-31 20:45:25 - cvsupping the source tree TB --- 2012-05-31 20:45:25 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/RELENG_9/powerpc/powerpc/supfile TB --- 2012-05-31 20:46:28 - building world TB --- 2012-05-31 20:46:28 - CROSS_BUILD_TESTING=YES TB --- 2012-05-31 20:46:28 - MAKEOBJDIRPREFIX=/obj TB --- 2012-05-31 20:46:28 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-05-31 20:46:28 - SRCCONF=/dev/null TB --- 2012-05-31 20:46:28 - TARGET=powerpc TB --- 2012-05-31 20:46:28 - TARGET_ARCH=powerpc TB --- 2012-05-31 20:46:28 - TZ=UTC TB --- 2012-05-31 20:46:28 - __MAKE_CONF=/dev/null TB --- 2012-05-31 20:46:28 - cd /src TB --- 2012-05-31 20:46:28 - /usr/bin/make -B buildworld >>> World build started on Thu May 31 20:46:29 UTC 2012 >>> 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 May 31 23:25:50 UTC 2012 TB --- 2012-05-31 23:25:50 - generating LINT kernel config TB --- 2012-05-31 23:25:50 - cd /src/sys/powerpc/conf TB --- 2012-05-31 23:25:50 - /usr/bin/make -B LINT TB --- 2012-05-31 23:25:50 - cd /src/sys/powerpc/conf TB --- 2012-05-31 23:25:50 - /usr/sbin/config -m LINT TB --- 2012-05-31 23:25:50 - building LINT kernel TB --- 2012-05-31 23:25:50 - CROSS_BUILD_TESTING=YES TB --- 2012-05-31 23:25:50 - MAKEOBJDIRPREFIX=/obj TB --- 2012-05-31 23:25:50 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-05-31 23:25:50 - SRCCONF=/dev/null TB --- 2012-05-31 23:25:50 - TARGET=powerpc TB --- 2012-05-31 23:25:50 - TARGET_ARCH=powerpc TB --- 2012-05-31 23:25:50 - TZ=UTC TB --- 2012-05-31 23:25:50 - __MAKE_CONF=/dev/null TB --- 2012-05-31 23:25:50 - cd /src TB --- 2012-05-31 23:25:50 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu May 31 23:25:50 UTC 2012 >>> 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 >>> Kernel build for LINT completed on Thu May 31 23:47:24 UTC 2012 TB --- 2012-05-31 23:47:24 - cd /src/sys/powerpc/conf TB --- 2012-05-31 23:47:24 - /usr/sbin/config -m GENERIC TB --- 2012-05-31 23:47:24 - building GENERIC kernel TB --- 2012-05-31 23:47:24 - CROSS_BUILD_TESTING=YES TB --- 2012-05-31 23:47:24 - MAKEOBJDIRPREFIX=/obj TB --- 2012-05-31 23:47:24 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-05-31 23:47:24 - SRCCONF=/dev/null TB --- 2012-05-31 23:47:24 - TARGET=powerpc TB --- 2012-05-31 23:47:24 - TARGET_ARCH=powerpc TB --- 2012-05-31 23:47:24 - TZ=UTC TB --- 2012-05-31 23:47:24 - __MAKE_CONF=/dev/null TB --- 2012-05-31 23:47:24 - cd /src TB --- 2012-05-31 23:47:24 - /usr/bin/make -B buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Thu May 31 23:47:25 UTC 2012 >>> 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 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/mp_cpudep.c cc -c -O -pipe -std=c99 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/nexus.c cc -c -x assembler-with-cpp -DLOCORE -O -pipe -std=c99 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/swtch32.S cc -c -O -pipe -std=c99 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/trap.c cc1: warnings being treated as errors In file included from /src/sys/powerpc/aim/trap.c:77: ./machine/trap.h:11: warning: redundant redeclaration of 'trap' [-Wredundant-decls] ./machine/trap.h:11: warning: previous declaration of 'trap' was here *** Error code 1 Stop in /obj/powerpc.powerpc/src/sys/GENERIC. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-05-31 23:53:28 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-05-31 23:53:28 - ERROR: failed to build GENERIC kernel TB --- 2012-05-31 23:53:28 - 7805.84 user 1038.45 system 11315.38 real http://tinderbox.freebsd.org/tinderbox-releng_9-RELENG_9-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Fri Jun 1 02:28:18 2012 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 913AE106564A; Fri, 1 Jun 2012 02:28:18 +0000 (UTC) (envelope-from marcel@xcllnt.net) Received: from mail.xcllnt.net (mail.xcllnt.net [70.36.220.4]) by mx1.freebsd.org (Postfix) with ESMTP id 568B38FC15; Fri, 1 Jun 2012 02:28:18 +0000 (UTC) Received: from marcelm-sslvpn-nc.jnpr.net (natint3.juniper.net [66.129.224.36]) (authenticated bits=0) by mail.xcllnt.net (8.14.5/8.14.5) with ESMTP id q512S3SV054016 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Thu, 31 May 2012 19:28:11 -0700 (PDT) (envelope-from marcel@xcllnt.net) Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: Marcel Moolenaar In-Reply-To: Date: Thu, 31 May 2012 19:27:58 -0700 Content-Transfer-Encoding: 7bit Message-Id: References: <0362C399-CB54-451E-A879-E836EF13CE72@semihalf.com> <251AF144-587C-4854-88B2-0CD7D26E1DF1@xcllnt.net> To: Zbigniew Bodek X-Mailer: Apple Mail (2.1278) Cc: powerpc@freebsd.org, =?utf-8?Q?Piotr_Zi=C4=99cik?= Subject: Re: RFC: OpenPIC IPI patch 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, 01 Jun 2012 02:28:18 -0000 On May 31, 2012, at 4:07 PM, Zbigniew Bodek wrote: > @@ -344,8 +345,14 @@ void > openpic_ipi(device_t dev, cpuset_t cpumask) > { > struct openpic_softc *sc; > + cpuset_t ns_cpus; /* Mask of not supported CPUs */ > + > + CPU_FILL(&ns_cpus); > + ns_cpus.__bits[0] = 0; > > KASSERT(dev == root_pic, ("Cannot send IPIs from non-root OpenPIC")); > + KASSERT(CPU_OVERLAP(&ns_cpus, &cpumask) == 0, > + ("Cannot send an IPI to a CPU which number exceeds #31")); > > sc = device_get_softc(dev); > sched_pin(); > I like it. Thanks, -- Marcel Moolenaar marcel@xcllnt.net From owner-freebsd-ppc@FreeBSD.ORG Fri Jun 1 09:17:49 2012 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6B78C1065677; Fri, 1 Jun 2012 09:17:49 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [IPv6:2607:f3e0:0:3::6502:9b]) by mx1.freebsd.org (Postfix) with ESMTP id 148548FC1B; Fri, 1 Jun 2012 09:17:49 +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 q519HmT7095275; Fri, 1 Jun 2012 09:17:48 GMT (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-stable.sentex.ca (8.14.5/8.14.5/Submit) id q519HmIV095252; Fri, 1 Jun 2012 09:17:48 GMT (envelope-from tinderbox@freebsd.org) Date: Fri, 1 Jun 2012 09:17:48 GMT Message-Id: <201206010917.q519HmIV095252@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 , , Precedence: bulk Cc: Subject: [releng_9 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: Fri, 01 Jun 2012 09:17:49 -0000 TB --- 2012-06-01 06:08:29 - tinderbox 2.9 running on freebsd-stable.sentex.ca TB --- 2012-06-01 06:08:29 - FreeBSD freebsd-stable.sentex.ca 8.2-STABLE FreeBSD 8.2-STABLE #4: Wed Sep 28 13:48:49 UTC 2011 mdtancsa@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/server amd64 TB --- 2012-06-01 06:08:29 - starting RELENG_9 tinderbox run for powerpc/powerpc TB --- 2012-06-01 06:08:29 - cleaning the object tree TB --- 2012-06-01 06:08:59 - cvsupping the source tree TB --- 2012-06-01 06:08:59 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/RELENG_9/powerpc/powerpc/supfile TB --- 2012-06-01 06:09:59 - building world TB --- 2012-06-01 06:09:59 - CROSS_BUILD_TESTING=YES TB --- 2012-06-01 06:09:59 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-01 06:09:59 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-01 06:09:59 - SRCCONF=/dev/null TB --- 2012-06-01 06:09:59 - TARGET=powerpc TB --- 2012-06-01 06:09:59 - TARGET_ARCH=powerpc TB --- 2012-06-01 06:09:59 - TZ=UTC TB --- 2012-06-01 06:09:59 - __MAKE_CONF=/dev/null TB --- 2012-06-01 06:09:59 - cd /src TB --- 2012-06-01 06:09:59 - /usr/bin/make -B buildworld >>> World build started on Fri Jun 1 06:10:00 UTC 2012 >>> 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 Fri Jun 1 08:50:36 UTC 2012 TB --- 2012-06-01 08:50:36 - generating LINT kernel config TB --- 2012-06-01 08:50:36 - cd /src/sys/powerpc/conf TB --- 2012-06-01 08:50:36 - /usr/bin/make -B LINT TB --- 2012-06-01 08:50:36 - cd /src/sys/powerpc/conf TB --- 2012-06-01 08:50:36 - /usr/sbin/config -m LINT TB --- 2012-06-01 08:50:36 - building LINT kernel TB --- 2012-06-01 08:50:36 - CROSS_BUILD_TESTING=YES TB --- 2012-06-01 08:50:36 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-01 08:50:36 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-01 08:50:36 - SRCCONF=/dev/null TB --- 2012-06-01 08:50:36 - TARGET=powerpc TB --- 2012-06-01 08:50:36 - TARGET_ARCH=powerpc TB --- 2012-06-01 08:50:36 - TZ=UTC TB --- 2012-06-01 08:50:36 - __MAKE_CONF=/dev/null TB --- 2012-06-01 08:50:36 - cd /src TB --- 2012-06-01 08:50:36 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Fri Jun 1 08:50:36 UTC 2012 >>> 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 >>> Kernel build for LINT completed on Fri Jun 1 09:11:27 UTC 2012 TB --- 2012-06-01 09:11:27 - cd /src/sys/powerpc/conf TB --- 2012-06-01 09:11:27 - /usr/sbin/config -m GENERIC TB --- 2012-06-01 09:11:27 - building GENERIC kernel TB --- 2012-06-01 09:11:27 - CROSS_BUILD_TESTING=YES TB --- 2012-06-01 09:11:27 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-01 09:11:27 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-01 09:11:27 - SRCCONF=/dev/null TB --- 2012-06-01 09:11:27 - TARGET=powerpc TB --- 2012-06-01 09:11:27 - TARGET_ARCH=powerpc TB --- 2012-06-01 09:11:27 - TZ=UTC TB --- 2012-06-01 09:11:27 - __MAKE_CONF=/dev/null TB --- 2012-06-01 09:11:27 - cd /src TB --- 2012-06-01 09:11:27 - /usr/bin/make -B buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Fri Jun 1 09:11:27 UTC 2012 >>> 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 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/mp_cpudep.c cc -c -O -pipe -std=c99 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/nexus.c cc -c -x assembler-with-cpp -DLOCORE -O -pipe -std=c99 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/swtch32.S cc -c -O -pipe -std=c99 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/trap.c cc1: warnings being treated as errors In file included from /src/sys/powerpc/aim/trap.c:77: ./machine/trap.h:11: warning: redundant redeclaration of 'trap' [-Wredundant-decls] ./machine/trap.h:11: warning: previous declaration of 'trap' was here *** Error code 1 Stop in /obj/powerpc.powerpc/src/sys/GENERIC. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-06-01 09:17:48 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-06-01 09:17:48 - ERROR: failed to build GENERIC kernel TB --- 2012-06-01 09:17:48 - 7816.12 user 1042.52 system 11359.28 real http://tinderbox.freebsd.org/tinderbox-releng_9-RELENG_9-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Fri Jun 1 18:31:54 2012 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C9711106566B; Fri, 1 Jun 2012 18:31:54 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [IPv6:2607:f3e0:0:3::6502:9b]) by mx1.freebsd.org (Postfix) with ESMTP id 736BF8FC08; Fri, 1 Jun 2012 18:31:54 +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 q51IVrnj010275; Fri, 1 Jun 2012 18:31:53 GMT (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-stable.sentex.ca (8.14.5/8.14.5/Submit) id q51IVr01010258; Fri, 1 Jun 2012 18:31:53 GMT (envelope-from tinderbox@freebsd.org) Date: Fri, 1 Jun 2012 18:31:53 GMT Message-Id: <201206011831.q51IVr01010258@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 , , Precedence: bulk Cc: Subject: [releng_9 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: Fri, 01 Jun 2012 18:31:54 -0000 TB --- 2012-06-01 15:24:58 - tinderbox 2.9 running on freebsd-stable.sentex.ca TB --- 2012-06-01 15:24:58 - FreeBSD freebsd-stable.sentex.ca 8.2-STABLE FreeBSD 8.2-STABLE #4: Wed Sep 28 13:48:49 UTC 2011 mdtancsa@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/server amd64 TB --- 2012-06-01 15:24:58 - starting RELENG_9 tinderbox run for powerpc/powerpc TB --- 2012-06-01 15:24:58 - cleaning the object tree TB --- 2012-06-01 15:25:35 - cvsupping the source tree TB --- 2012-06-01 15:25:35 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/RELENG_9/powerpc/powerpc/supfile TB --- 2012-06-01 15:26:32 - building world TB --- 2012-06-01 15:26:32 - CROSS_BUILD_TESTING=YES TB --- 2012-06-01 15:26:32 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-01 15:26:32 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-01 15:26:32 - SRCCONF=/dev/null TB --- 2012-06-01 15:26:32 - TARGET=powerpc TB --- 2012-06-01 15:26:32 - TARGET_ARCH=powerpc TB --- 2012-06-01 15:26:32 - TZ=UTC TB --- 2012-06-01 15:26:32 - __MAKE_CONF=/dev/null TB --- 2012-06-01 15:26:32 - cd /src TB --- 2012-06-01 15:26:32 - /usr/bin/make -B buildworld >>> World build started on Fri Jun 1 15:26:32 UTC 2012 >>> 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 Fri Jun 1 18:04:18 UTC 2012 TB --- 2012-06-01 18:04:18 - generating LINT kernel config TB --- 2012-06-01 18:04:18 - cd /src/sys/powerpc/conf TB --- 2012-06-01 18:04:18 - /usr/bin/make -B LINT TB --- 2012-06-01 18:04:18 - cd /src/sys/powerpc/conf TB --- 2012-06-01 18:04:18 - /usr/sbin/config -m LINT TB --- 2012-06-01 18:04:18 - building LINT kernel TB --- 2012-06-01 18:04:18 - CROSS_BUILD_TESTING=YES TB --- 2012-06-01 18:04:18 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-01 18:04:18 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-01 18:04:18 - SRCCONF=/dev/null TB --- 2012-06-01 18:04:18 - TARGET=powerpc TB --- 2012-06-01 18:04:18 - TARGET_ARCH=powerpc TB --- 2012-06-01 18:04:18 - TZ=UTC TB --- 2012-06-01 18:04:18 - __MAKE_CONF=/dev/null TB --- 2012-06-01 18:04:18 - cd /src TB --- 2012-06-01 18:04:18 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Fri Jun 1 18:04:19 UTC 2012 >>> 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 >>> Kernel build for LINT completed on Fri Jun 1 18:25:39 UTC 2012 TB --- 2012-06-01 18:25:39 - cd /src/sys/powerpc/conf TB --- 2012-06-01 18:25:39 - /usr/sbin/config -m GENERIC TB --- 2012-06-01 18:25:40 - building GENERIC kernel TB --- 2012-06-01 18:25:40 - CROSS_BUILD_TESTING=YES TB --- 2012-06-01 18:25:40 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-01 18:25:40 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-01 18:25:40 - SRCCONF=/dev/null TB --- 2012-06-01 18:25:40 - TARGET=powerpc TB --- 2012-06-01 18:25:40 - TARGET_ARCH=powerpc TB --- 2012-06-01 18:25:40 - TZ=UTC TB --- 2012-06-01 18:25:40 - __MAKE_CONF=/dev/null TB --- 2012-06-01 18:25:40 - cd /src TB --- 2012-06-01 18:25:40 - /usr/bin/make -B buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Fri Jun 1 18:25:40 UTC 2012 >>> 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 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/mp_cpudep.c cc -c -O -pipe -std=c99 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/nexus.c cc -c -x assembler-with-cpp -DLOCORE -O -pipe -std=c99 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/swtch32.S cc -c -O -pipe -std=c99 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/trap.c cc1: warnings being treated as errors In file included from /src/sys/powerpc/aim/trap.c:77: ./machine/trap.h:11: warning: redundant redeclaration of 'trap' [-Wredundant-decls] ./machine/trap.h:11: warning: previous declaration of 'trap' was here *** Error code 1 Stop in /obj/powerpc.powerpc/src/sys/GENERIC. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-06-01 18:31:53 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-06-01 18:31:53 - ERROR: failed to build GENERIC kernel TB --- 2012-06-01 18:31:53 - 7822.70 user 1043.62 system 11215.29 real http://tinderbox.freebsd.org/tinderbox-releng_9-RELENG_9-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Sat Jun 2 03:52:38 2012 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 82FFE1065675; Sat, 2 Jun 2012 03:52:38 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [IPv6:2607:f3e0:0:3::6502:9b]) by mx1.freebsd.org (Postfix) with ESMTP id 223438FC19; Sat, 2 Jun 2012 03:52:38 +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 q523qbBZ067502; Sat, 2 Jun 2012 03:52:37 GMT (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-stable.sentex.ca (8.14.5/8.14.5/Submit) id q523qb4u067496; Sat, 2 Jun 2012 03:52:37 GMT (envelope-from tinderbox@freebsd.org) Date: Sat, 2 Jun 2012 03:52:37 GMT Message-Id: <201206020352.q523qb4u067496@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 , , Precedence: bulk Cc: Subject: [releng_9 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, 02 Jun 2012 03:52:38 -0000 TB --- 2012-06-02 00:42:59 - tinderbox 2.9 running on freebsd-stable.sentex.ca TB --- 2012-06-02 00:42:59 - FreeBSD freebsd-stable.sentex.ca 8.2-STABLE FreeBSD 8.2-STABLE #4: Wed Sep 28 13:48:49 UTC 2011 mdtancsa@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/server amd64 TB --- 2012-06-02 00:42:59 - starting RELENG_9 tinderbox run for powerpc/powerpc TB --- 2012-06-02 00:42:59 - cleaning the object tree TB --- 2012-06-02 00:43:28 - cvsupping the source tree TB --- 2012-06-02 00:43:28 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/RELENG_9/powerpc/powerpc/supfile TB --- 2012-06-02 00:44:25 - building world TB --- 2012-06-02 00:44:25 - CROSS_BUILD_TESTING=YES TB --- 2012-06-02 00:44:25 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-02 00:44:25 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-02 00:44:25 - SRCCONF=/dev/null TB --- 2012-06-02 00:44:25 - TARGET=powerpc TB --- 2012-06-02 00:44:25 - TARGET_ARCH=powerpc TB --- 2012-06-02 00:44:25 - TZ=UTC TB --- 2012-06-02 00:44:25 - __MAKE_CONF=/dev/null TB --- 2012-06-02 00:44:25 - cd /src TB --- 2012-06-02 00:44:25 - /usr/bin/make -B buildworld >>> World build started on Sat Jun 2 00:44:27 UTC 2012 >>> 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 Jun 2 03:25:39 UTC 2012 TB --- 2012-06-02 03:25:39 - generating LINT kernel config TB --- 2012-06-02 03:25:39 - cd /src/sys/powerpc/conf TB --- 2012-06-02 03:25:39 - /usr/bin/make -B LINT TB --- 2012-06-02 03:25:39 - cd /src/sys/powerpc/conf TB --- 2012-06-02 03:25:39 - /usr/sbin/config -m LINT TB --- 2012-06-02 03:25:39 - building LINT kernel TB --- 2012-06-02 03:25:39 - CROSS_BUILD_TESTING=YES TB --- 2012-06-02 03:25:39 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-02 03:25:39 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-02 03:25:39 - SRCCONF=/dev/null TB --- 2012-06-02 03:25:39 - TARGET=powerpc TB --- 2012-06-02 03:25:39 - TARGET_ARCH=powerpc TB --- 2012-06-02 03:25:39 - TZ=UTC TB --- 2012-06-02 03:25:39 - __MAKE_CONF=/dev/null TB --- 2012-06-02 03:25:39 - cd /src TB --- 2012-06-02 03:25:39 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat Jun 2 03:25:39 UTC 2012 >>> 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 >>> Kernel build for LINT completed on Sat Jun 2 03:46:22 UTC 2012 TB --- 2012-06-02 03:46:22 - cd /src/sys/powerpc/conf TB --- 2012-06-02 03:46:22 - /usr/sbin/config -m GENERIC TB --- 2012-06-02 03:46:23 - building GENERIC kernel TB --- 2012-06-02 03:46:23 - CROSS_BUILD_TESTING=YES TB --- 2012-06-02 03:46:23 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-02 03:46:23 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-02 03:46:23 - SRCCONF=/dev/null TB --- 2012-06-02 03:46:23 - TARGET=powerpc TB --- 2012-06-02 03:46:23 - TARGET_ARCH=powerpc TB --- 2012-06-02 03:46:23 - TZ=UTC TB --- 2012-06-02 03:46:23 - __MAKE_CONF=/dev/null TB --- 2012-06-02 03:46:23 - cd /src TB --- 2012-06-02 03:46:23 - /usr/bin/make -B buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Sat Jun 2 03:46:23 UTC 2012 >>> 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 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/mp_cpudep.c cc -c -O -pipe -std=c99 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/nexus.c cc -c -x assembler-with-cpp -DLOCORE -O -pipe -std=c99 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/swtch32.S cc -c -O -pipe -std=c99 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/trap.c cc1: warnings being treated as errors In file included from /src/sys/powerpc/aim/trap.c:77: ./machine/trap.h:11: warning: redundant redeclaration of 'trap' [-Wredundant-decls] ./machine/trap.h:11: warning: previous declaration of 'trap' was here *** Error code 1 Stop in /obj/powerpc.powerpc/src/sys/GENERIC. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-06-02 03:52:37 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-06-02 03:52:37 - ERROR: failed to build GENERIC kernel TB --- 2012-06-02 03:52:37 - 7802.70 user 1038.86 system 11377.53 real http://tinderbox.freebsd.org/tinderbox-releng_9-RELENG_9-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Sat Jun 2 13:10:35 2012 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 60B41106566C; Sat, 2 Jun 2012 13:10:35 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [IPv6:2607:f3e0:0:3::6502:9b]) by mx1.freebsd.org (Postfix) with ESMTP id 092C18FC18; Sat, 2 Jun 2012 13:10:34 +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 q52DAYDX024681; Sat, 2 Jun 2012 13:10:34 GMT (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-stable.sentex.ca (8.14.5/8.14.5/Submit) id q52DAYHA024666; Sat, 2 Jun 2012 13:10:34 GMT (envelope-from tinderbox@freebsd.org) Date: Sat, 2 Jun 2012 13:10:34 GMT Message-Id: <201206021310.q52DAYHA024666@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 , , Precedence: bulk Cc: Subject: [releng_9 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, 02 Jun 2012 13:10:35 -0000 TB --- 2012-06-02 10:02:07 - tinderbox 2.9 running on freebsd-stable.sentex.ca TB --- 2012-06-02 10:02:07 - FreeBSD freebsd-stable.sentex.ca 8.2-STABLE FreeBSD 8.2-STABLE #4: Wed Sep 28 13:48:49 UTC 2011 mdtancsa@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/server amd64 TB --- 2012-06-02 10:02:07 - starting RELENG_9 tinderbox run for powerpc/powerpc TB --- 2012-06-02 10:02:07 - cleaning the object tree TB --- 2012-06-02 10:02:39 - cvsupping the source tree TB --- 2012-06-02 10:02:39 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/RELENG_9/powerpc/powerpc/supfile TB --- 2012-06-02 10:03:30 - building world TB --- 2012-06-02 10:03:30 - CROSS_BUILD_TESTING=YES TB --- 2012-06-02 10:03:30 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-02 10:03:30 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-02 10:03:30 - SRCCONF=/dev/null TB --- 2012-06-02 10:03:30 - TARGET=powerpc TB --- 2012-06-02 10:03:30 - TARGET_ARCH=powerpc TB --- 2012-06-02 10:03:30 - TZ=UTC TB --- 2012-06-02 10:03:30 - __MAKE_CONF=/dev/null TB --- 2012-06-02 10:03:30 - cd /src TB --- 2012-06-02 10:03:30 - /usr/bin/make -B buildworld >>> World build started on Sat Jun 2 10:03:32 UTC 2012 >>> 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 Jun 2 12:43:17 UTC 2012 TB --- 2012-06-02 12:43:17 - generating LINT kernel config TB --- 2012-06-02 12:43:17 - cd /src/sys/powerpc/conf TB --- 2012-06-02 12:43:17 - /usr/bin/make -B LINT TB --- 2012-06-02 12:43:17 - cd /src/sys/powerpc/conf TB --- 2012-06-02 12:43:17 - /usr/sbin/config -m LINT TB --- 2012-06-02 12:43:17 - building LINT kernel TB --- 2012-06-02 12:43:17 - CROSS_BUILD_TESTING=YES TB --- 2012-06-02 12:43:17 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-02 12:43:17 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-02 12:43:17 - SRCCONF=/dev/null TB --- 2012-06-02 12:43:17 - TARGET=powerpc TB --- 2012-06-02 12:43:17 - TARGET_ARCH=powerpc TB --- 2012-06-02 12:43:17 - TZ=UTC TB --- 2012-06-02 12:43:17 - __MAKE_CONF=/dev/null TB --- 2012-06-02 12:43:17 - cd /src TB --- 2012-06-02 12:43:17 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat Jun 2 12:43:17 UTC 2012 >>> 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 >>> Kernel build for LINT completed on Sat Jun 2 13:04:20 UTC 2012 TB --- 2012-06-02 13:04:20 - cd /src/sys/powerpc/conf TB --- 2012-06-02 13:04:20 - /usr/sbin/config -m GENERIC TB --- 2012-06-02 13:04:20 - building GENERIC kernel TB --- 2012-06-02 13:04:20 - CROSS_BUILD_TESTING=YES TB --- 2012-06-02 13:04:20 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-02 13:04:20 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-02 13:04:20 - SRCCONF=/dev/null TB --- 2012-06-02 13:04:20 - TARGET=powerpc TB --- 2012-06-02 13:04:20 - TARGET_ARCH=powerpc TB --- 2012-06-02 13:04:20 - TZ=UTC TB --- 2012-06-02 13:04:20 - __MAKE_CONF=/dev/null TB --- 2012-06-02 13:04:20 - cd /src TB --- 2012-06-02 13:04:20 - /usr/bin/make -B buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Sat Jun 2 13:04:21 UTC 2012 >>> 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 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/mp_cpudep.c cc -c -O -pipe -std=c99 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/nexus.c cc -c -x assembler-with-cpp -DLOCORE -O -pipe -std=c99 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/swtch32.S cc -c -O -pipe -std=c99 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/trap.c cc1: warnings being treated as errors In file included from /src/sys/powerpc/aim/trap.c:77: ./machine/trap.h:11: warning: redundant redeclaration of 'trap' [-Wredundant-decls] ./machine/trap.h:11: warning: previous declaration of 'trap' was here *** Error code 1 Stop in /obj/powerpc.powerpc/src/sys/GENERIC. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-06-02 13:10:34 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-06-02 13:10:34 - ERROR: failed to build GENERIC kernel TB --- 2012-06-02 13:10:34 - 7818.28 user 1045.17 system 11306.48 real http://tinderbox.freebsd.org/tinderbox-releng_9-RELENG_9-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Sat Jun 2 15:22:07 2012 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 D535E1065670 for ; Sat, 2 Jun 2012 15:22:07 +0000 (UTC) (envelope-from marcelm@juniper.net) Received: from exprod7og111.obsmtp.com (exprod7og111.obsmtp.com [64.18.2.175]) by mx1.freebsd.org (Postfix) with ESMTP id 2C2198FC0A for ; Sat, 2 Jun 2012 15:22:05 +0000 (UTC) Received: from P-EMHUB01-HQ.jnpr.net ([66.129.224.36]) (using TLSv1) by exprod7ob111.postini.com ([64.18.6.12]) with SMTP ID DSNKT8ovloD3+QfRa+UOTlIXDgg97PgC7voq@postini.com; Sat, 02 Jun 2012 08:22:07 PDT Received: from EMBX01-HQ.jnpr.net ([fe80::c821:7c81:f21f:8bc7]) by P-EMHUB01-HQ.jnpr.net ([fe80::fc92:eb1:759:2c72%11]) with mapi; Sat, 2 Jun 2012 08:21:05 -0700 From: Marcel Moolenaar To: "powerpc@freebsd.org" Date: Sat, 2 Jun 2012 08:21:06 -0700 Thread-Topic: [P2020] FreeBSD cannot enable 2nd core. Thread-Index: Ac1A01Nv0CGznz9mQOSWv9H+qLdsUg== Message-ID: <9F7F498C-22D3-4D6D-8242-019FB36B998A@juniper.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: Subject: [P2020] FreeBSD cannot enable 2nd core. 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: Sat, 02 Jun 2012 15:22:07 -0000 All, I'm running into a weird issue where the 2nd core of a P2020 SoC isn't bein= g woken up by FreeBSD. If I manually frob the EEBPCR register from the U-Boot prom= pt I see that the second core is booting U-Boot (after which things go bad obviously= ). But from FreeBSD I don't seem to be able to get a kick. The only real differen= ce I see between U-Boot and FreeBSD is that in FreeBSD we need to program the BPTR r= egister to have the boot page mapped to where the kernel is loaded. But I have no r= eason to suspect that this is in any way related to why I can't bring the 2nd core u= p. BTW: The logic in FreeBSD worked fine on a P1020. Does anyone know of any erratas I should be concerned about or have had sim= ilar experiences they can share. Thanks, --=20 Marcel Moolenaar marcelm@juniper.net From owner-freebsd-ppc@FreeBSD.ORG Sat Jun 2 15:45:48 2012 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D6511106566B for ; Sat, 2 Jun 2012 15:45:48 +0000 (UTC) (envelope-from marcelm@juniper.net) Received: from exprod7og127.obsmtp.com (exprod7og127.obsmtp.com [64.18.2.210]) by mx1.freebsd.org (Postfix) with ESMTP id 895598FC08 for ; Sat, 2 Jun 2012 15:45:48 +0000 (UTC) Received: from P-EMHUB03-HQ.jnpr.net ([66.129.224.36]) (using TLSv1) by exprod7ob127.postini.com ([64.18.6.12]) with SMTP ID DSNKT8o1JrIqq0axrC/3MMqtWYZd2ppN6gQS@postini.com; Sat, 02 Jun 2012 08:45:48 PDT Received: from EMBX01-HQ.jnpr.net ([fe80::c821:7c81:f21f:8bc7]) by P-EMHUB03-HQ.jnpr.net ([::1]) with mapi; Sat, 2 Jun 2012 08:43:20 -0700 From: Marcel Moolenaar To: "powerpc@freebsd.org" Date: Sat, 2 Jun 2012 08:43:21 -0700 Thread-Topic: [P2020] Infinite EXC_ISI on executing /sbin/init Thread-Index: Ac1A1m80arQ8mDA9ScqtKG8zKSxMFg== Message-ID: <276B630D-417B-4FB1-82C6-676EB31C6275@juniper.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: Subject: [P2020] Infinite EXC_ISI on executing /sbin/init 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: Sat, 02 Jun 2012 15:45:48 -0000 All, On a P2020 system (kernel configured without SMP -- see other email) we loo= se forward progress due to a TLB issue. In a nutshell, this is what I'm seeing= : 1. The kernel exits to execute the very first instruction of /sbin/init. 2. assumption: the kernel gets a TLB miss exception. 3. assumption: the miss cannot be handled so a fake TLB is created to trigger an ISI. 4. The kernel gets an ISI and calls vm_fault(). The contents of TLB0 WRT to the process is: 125: ( ) [AS=3D0] sz =3D 0x00001000 tsz =3D 1 tid =3D 2 mas1 =3D 0x000201= 00 mas2(va) =3D 0x7fffd004 mas3(pa) =3D 0x01ebe03f 253: ( ) [AS=3D0] sz =3D 0x00001000 tsz =3D 1 tid =3D 3 mas1 =3D 0x000301= 00 mas2(va) =3D 0x7fffd004 mas3(pa) =3D 0xffff0000 380: ( ) [AS=3D0] sz =3D 0x00001000 tsz =3D 1 tid =3D 3 mas1 =3D 0x000301= 00 mas2(va) =3D 0x7fffc004 mas3(pa) =3D 0xffff0000 381: (V ) [AS=3D0] sz =3D 0x00001000 tsz =3D 1 tid =3D 3 mas1 =3D 0x800301= 00 mas2(va) =3D 0x7fffd004 mas3(pa) =3D 0x01ed300f 508: (V ) [AS=3D0] sz =3D 0x00001000 tsz =3D 1 tid =3D 3 mas1 =3D 0x800301= 00 mas2(va) =3D 0x7fffc004 mas3(pa) =3D 0x01ed400f I don't see the fake TLB entry for init's entry point (0x0180000) so I'= m not sure (3) above happened. 5. mmu_booke_enter() is called, which flushes the TLB (i.e. removes the fake entry and adds the real one to the PMAP's page tables. 6. assumptipn: the kernel exists from the ISI trap and gets a TLB miss exception. 7. normally this can be handled and everything is fine, except what I'm seeing is that the kernel gets another ISI -- so it looks we're back at point 3. The TLB contents on second and subsequent ISI exceptions is effectively the same as given at (4) above: 253: ( ) [AS=3D0] sz =3D 0x00001000 tsz =3D 1 tid =3D 3 mas1 =3D 0x000301= 00 mas2(va) =3D 0x7fffd004 mas3(pa) =3D 0xffff0000 380: ( ) [AS=3D0] sz =3D 0x00001000 tsz =3D 1 tid =3D 3 mas1 =3D 0x000301= 00 mas2(va) =3D 0x7fffc004 mas3(pa) =3D 0xffff0000 381: (V ) [AS=3D0] sz =3D 0x00001000 tsz =3D 1 tid =3D 3 mas1 =3D 0x800301= 00 mas2(va) =3D 0x7fffd004 mas3(pa) =3D 0x01ed300f 508: (V ) [AS=3D0] sz =3D 0x00001000 tsz =3D 1 tid =3D 3 mas1 =3D 0x800301= 00 mas2(va) =3D 0x7fffc004 mas3(pa) =3D 0x01ed400f Questions: 1. Why don't I see the fake TLB 0 entry for init's entry point? 2. Assuming we're not looking at a TLB miss, what else can cause the ISI? The RM states that endianness can be another reason for the ISI, but I don't see anything wrong there. BTW: I already looked at the I-cache synchronization logic and tweaked it. No change. I also revisited the I-cache & D-cache enable & invalidate code and tweaked that too. No change. In short: I'm running out of ideas. Could this be related to the other P2020 issue I described: [P2020] FreeBSD cannot enable 2nd core. They're both pretty weird and together could indicate some hardware problem, right? Then again: A FreeBSD 6.1 derived version boots at least UP... --=20 Marcel Moolenaar marcelm@juniper.net From owner-freebsd-ppc@FreeBSD.ORG Sat Jun 2 16:06:37 2012 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 8B9C01065672; Sat, 2 Jun 2012 16:06:37 +0000 (UTC) (envelope-from zbb@semihalf.com) Received: from smtp.semihalf.com (smtp.semihalf.com [213.17.239.109]) by mx1.freebsd.org (Postfix) with ESMTP id 059738FC15; Sat, 2 Jun 2012 16:06:37 +0000 (UTC) Received: from localhost (unknown [213.17.239.109]) by smtp.semihalf.com (Postfix) with ESMTP id 6154AC384F; Sat, 2 Jun 2012 18:06:19 +0200 (CEST) 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 kaqVWD7Mm3nm; Sat, 2 Jun 2012 18:06:18 +0200 (CEST) Received: from [10.0.2.117] (cardhu.semihalf.com [213.17.239.108]) by smtp.semihalf.com (Postfix) with ESMTPSA id 8BE25C3842; Sat, 2 Jun 2012 18:06:18 +0200 (CEST) Message-ID: <4FCA3A04.3010702@semihalf.com> Date: Sat, 02 Jun 2012 18:06:28 +0200 From: Zbyszek Bodek User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.28) Gecko/20120313 Thunderbird/3.1.20 MIME-Version: 1.0 To: Nathan Whitehorn References: <0362C399-CB54-451E-A879-E836EF13CE72@semihalf.com> <4FC74BDC.4050806@freebsd.org> In-Reply-To: <4FC74BDC.4050806@freebsd.org> Content-Type: multipart/mixed; boundary="------------040405080709010608060704" Cc: powerpc@freebsd.org, =?UTF-8?B?UGlvdHIgWmnEmWNpaw==?= Subject: Re: RFC: OpenPIC IPI patch 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: Sat, 02 Jun 2012 16:06:37 -0000 This is a multi-part message in MIME format. --------------040405080709010608060704 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 31.05.2012 12:45, Nathan Whitehorn wrote: > On 05/30/12 22:13, Rafal Jaworowski wrote: >> Can you please have a look at this patch and let us know about any >> comments / objections? We identified a problem with IPI on the recent >> FSL eOpenPIC, description in the patch: >> >> http://people.freebsd.org/~raj/patches/powerpc/openpic.diff >> >> >> Rafal >> > Hello. As Rafal noticed, when we've changed pic_ipi method, ps3pic_ipi() ought to be adjusted too. @@ -203,12 +204,17 @@ ps3pic_eoi(device_t dev, u_int irq) } static void -ps3pic_ipi(device_t dev, u_int cpu) +ps3pic_ipi(device_t dev, cpuset_t cpumask) { struct ps3pic_softc *sc; + u_int cpu; + sc = device_get_softc(dev); - lv1_send_event_locally(sc->sc_ipi_outlet[cpu]); + for (cpu = 0; cpu < 2; cpu++) { + if (CPU_ISSET(cpu, &cpumask)) + lv1_send_event_locally(sc->sc_ipi_outlet[cpu]); + } } I've made a modification but it requires some overview. I have used a hard-coded value of 2 to sweep the mask of CPUs because sc_ipi_outlet has two fields anyway. Don't know if that approach isn't too "far-reaching" or should I use mp_ncpus instead. The patch is available in the email's attachment. Please send your comments. Best regards Zbyszek Bodek --------------040405080709010608060704 Content-Type: text/x-patch; name="ps3pic_ipi.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ps3pic_ipi.patch" diff --git a/sys/powerpc/ps3/ps3pic.c b/sys/powerpc/ps3/ps3pic.c index 8022cf8..b803f64 100644 --- a/sys/powerpc/ps3/ps3pic.c +++ b/sys/powerpc/ps3/ps3pic.c @@ -30,6 +30,7 @@ #include #include #include +#include #include #include @@ -51,7 +52,7 @@ static int ps3pic_attach(device_t); static void ps3pic_dispatch(device_t, struct trapframe *); static void ps3pic_enable(device_t, u_int, u_int); static void ps3pic_eoi(device_t, u_int); -static void ps3pic_ipi(device_t, u_int); +static void ps3pic_ipi(device_t, cpuset_t); static void ps3pic_mask(device_t, u_int); static void ps3pic_unmask(device_t, u_int); @@ -203,12 +204,17 @@ ps3pic_eoi(device_t dev, u_int irq) } static void -ps3pic_ipi(device_t dev, u_int cpu) +ps3pic_ipi(device_t dev, cpuset_t cpumask) { struct ps3pic_softc *sc; + u_int cpu; + sc = device_get_softc(dev); - lv1_send_event_locally(sc->sc_ipi_outlet[cpu]); + for (cpu = 0; cpu < 2; cpu++) { + if (CPU_ISSET(cpu, &cpumask)) + lv1_send_event_locally(sc->sc_ipi_outlet[cpu]); + } } static void --------------040405080709010608060704-- From owner-freebsd-ppc@FreeBSD.ORG Sat Jun 2 22:26:43 2012 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 6D304106566B; Sat, 2 Jun 2012 22:26:43 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [IPv6:2607:f3e0:0:3::6502:9b]) by mx1.freebsd.org (Postfix) with ESMTP id 147368FC12; Sat, 2 Jun 2012 22:26:42 +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 q52MQg5f073533; Sat, 2 Jun 2012 22:26:42 GMT (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-stable.sentex.ca (8.14.5/8.14.5/Submit) id q52MQg7g073517; Sat, 2 Jun 2012 22:26:42 GMT (envelope-from tinderbox@freebsd.org) Date: Sat, 2 Jun 2012 22:26:42 GMT Message-Id: <201206022226.q52MQg7g073517@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 , , Precedence: bulk Cc: Subject: [releng_9 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, 02 Jun 2012 22:26:43 -0000 TB --- 2012-06-02 19:20:18 - tinderbox 2.9 running on freebsd-stable.sentex.ca TB --- 2012-06-02 19:20:18 - FreeBSD freebsd-stable.sentex.ca 8.2-STABLE FreeBSD 8.2-STABLE #4: Wed Sep 28 13:48:49 UTC 2011 mdtancsa@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/server amd64 TB --- 2012-06-02 19:20:18 - starting RELENG_9 tinderbox run for powerpc/powerpc TB --- 2012-06-02 19:20:18 - cleaning the object tree TB --- 2012-06-02 19:20:48 - cvsupping the source tree TB --- 2012-06-02 19:20:48 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/RELENG_9/powerpc/powerpc/supfile TB --- 2012-06-02 19:21:51 - building world TB --- 2012-06-02 19:21:51 - CROSS_BUILD_TESTING=YES TB --- 2012-06-02 19:21:51 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-02 19:21:51 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-02 19:21:51 - SRCCONF=/dev/null TB --- 2012-06-02 19:21:51 - TARGET=powerpc TB --- 2012-06-02 19:21:51 - TARGET_ARCH=powerpc TB --- 2012-06-02 19:21:51 - TZ=UTC TB --- 2012-06-02 19:21:51 - __MAKE_CONF=/dev/null TB --- 2012-06-02 19:21:51 - cd /src TB --- 2012-06-02 19:21:51 - /usr/bin/make -B buildworld >>> World build started on Sat Jun 2 19:21:52 UTC 2012 >>> 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 Jun 2 21:59:15 UTC 2012 TB --- 2012-06-02 21:59:15 - generating LINT kernel config TB --- 2012-06-02 21:59:15 - cd /src/sys/powerpc/conf TB --- 2012-06-02 21:59:15 - /usr/bin/make -B LINT TB --- 2012-06-02 21:59:15 - cd /src/sys/powerpc/conf TB --- 2012-06-02 21:59:15 - /usr/sbin/config -m LINT TB --- 2012-06-02 21:59:15 - building LINT kernel TB --- 2012-06-02 21:59:15 - CROSS_BUILD_TESTING=YES TB --- 2012-06-02 21:59:15 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-02 21:59:15 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-02 21:59:15 - SRCCONF=/dev/null TB --- 2012-06-02 21:59:15 - TARGET=powerpc TB --- 2012-06-02 21:59:15 - TARGET_ARCH=powerpc TB --- 2012-06-02 21:59:15 - TZ=UTC TB --- 2012-06-02 21:59:15 - __MAKE_CONF=/dev/null TB --- 2012-06-02 21:59:15 - cd /src TB --- 2012-06-02 21:59:15 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat Jun 2 21:59:15 UTC 2012 >>> 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 >>> Kernel build for LINT completed on Sat Jun 2 22:20:30 UTC 2012 TB --- 2012-06-02 22:20:30 - cd /src/sys/powerpc/conf TB --- 2012-06-02 22:20:30 - /usr/sbin/config -m GENERIC TB --- 2012-06-02 22:20:30 - building GENERIC kernel TB --- 2012-06-02 22:20:30 - CROSS_BUILD_TESTING=YES TB --- 2012-06-02 22:20:30 - MAKEOBJDIRPREFIX=/obj TB --- 2012-06-02 22:20:30 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-06-02 22:20:30 - SRCCONF=/dev/null TB --- 2012-06-02 22:20:30 - TARGET=powerpc TB --- 2012-06-02 22:20:30 - TARGET_ARCH=powerpc TB --- 2012-06-02 22:20:30 - TZ=UTC TB --- 2012-06-02 22:20:30 - __MAKE_CONF=/dev/null TB --- 2012-06-02 22:20:30 - cd /src TB --- 2012-06-02 22:20:30 - /usr/bin/make -B buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Sat Jun 2 22:20:30 UTC 2012 >>> 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 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/mp_cpudep.c cc -c -O -pipe -std=c99 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/nexus.c cc -c -x assembler-with-cpp -DLOCORE -O -pipe -std=c99 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/swtch32.S cc -c -O -pipe -std=c99 -g -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 -msoft-float -Wa,-many -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/powerpc/aim/trap.c cc1: warnings being treated as errors In file included from /src/sys/powerpc/aim/trap.c:77: ./machine/trap.h:11: warning: redundant redeclaration of 'trap' [-Wredundant-decls] ./machine/trap.h:11: warning: previous declaration of 'trap' was here *** Error code 1 Stop in /obj/powerpc.powerpc/src/sys/GENERIC. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-06-02 22:26:42 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-06-02 22:26:42 - ERROR: failed to build GENERIC kernel TB --- 2012-06-02 22:26:42 - 7802.51 user 1033.81 system 11184.12 real http://tinderbox.freebsd.org/tinderbox-releng_9-RELENG_9-powerpc-powerpc.full