From owner-freebsd-ppc@FreeBSD.ORG Sun Jul 18 01:52:17 2004 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EE06916A4CE for ; Sun, 18 Jul 2004 01:52:17 +0000 (GMT) Received: from TRANG.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB1F443D31 for ; Sun, 18 Jul 2004 01:52:17 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by TRANG.nuxi.com (8.12.11/8.12.11) with ESMTP id i6I1qEkN004345; Sat, 17 Jul 2004 18:52:15 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.11/8.12.11/Submit) id i6I1qERO004324; Sat, 17 Jul 2004 18:52:14 -0700 (PDT) (envelope-from obrien) Date: Sat, 17 Jul 2004 18:52:14 -0700 From: "David O'Brien" To: Andrew Gallatin Message-ID: <20040718015214.GA1070@dragon.nuxi.com> References: <16628.38008.674570.747104@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16628.38008.674570.747104@grasshopper.cs.duke.edu> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 5.2-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: freebsd-ppc@freebsd.org Subject: Re: gdb? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: obrien@freebsd.org List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jul 2004 01:52:18 -0000 On Tue, Jul 13, 2004 at 10:03:36PM -0400, Andrew Gallatin wrote: > > Anybody have a working gdb? I tried ports/dev/gdb53, and How about ports/dev/gdb6?? From owner-freebsd-ppc@FreeBSD.ORG Sun Jul 18 01:55:50 2004 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8853A16A4CE; Sun, 18 Jul 2004 01:55:50 +0000 (GMT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1FE3743D2D; Sun, 18 Jul 2004 01:55:50 +0000 (GMT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.10/8.12.10) with ESMTP id i6I1tnWg021646 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 17 Jul 2004 21:55:49 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id i6I1tijg040572; Sat, 17 Jul 2004 21:55:44 -0400 (EDT) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16633.55456.360959.171269@grasshopper.cs.duke.edu> Date: Sat, 17 Jul 2004 21:55:44 -0400 (EDT) To: obrien@freebsd.org In-Reply-To: <20040718015214.GA1070@dragon.nuxi.com> References: <16628.38008.674570.747104@grasshopper.cs.duke.edu> <20040718015214.GA1070@dragon.nuxi.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid cc: freebsd-ppc@freebsd.org Subject: Re: gdb? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jul 2004 01:55:50 -0000 David O'Brien writes: > On Tue, Jul 13, 2004 at 10:03:36PM -0400, Andrew Gallatin wrote: > > > > Anybody have a working gdb? I tried ports/dev/gdb53, and > > How about ports/dev/gdb6?? At the time, it was not fetchable... but I see that's fixed now. I'll try it. Thanks! Drew From owner-freebsd-ppc@FreeBSD.ORG Sun Jul 18 20:14:36 2004 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA6A816A4CE; Sun, 18 Jul 2004 20:14:36 +0000 (GMT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 79E0D43D45; Sun, 18 Jul 2004 20:14:36 +0000 (GMT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.10/8.12.10) with ESMTP id i6IKEaWg011056 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 18 Jul 2004 16:14:36 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id i6IKEUWU041806; Sun, 18 Jul 2004 16:14:30 -0400 (EDT) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16634.55846.921213.128676@grasshopper.cs.duke.edu> Date: Sun, 18 Jul 2004 16:14:30 -0400 (EDT) To: obrien@freebsd.org In-Reply-To: <20040718015214.GA1070@dragon.nuxi.com> References: <16628.38008.674570.747104@grasshopper.cs.duke.edu> <20040718015214.GA1070@dragon.nuxi.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid cc: freebsd-ppc@freebsd.org Subject: Re: gdb? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jul 2004 20:14:36 -0000 David O'Brien writes: > On Tue, Jul 13, 2004 at 10:03:36PM -0400, Andrew Gallatin wrote: > > > > Anybody have a working gdb? I tried ports/dev/gdb53, and > > How about ports/dev/gdb6?? <....> gmake[1]: Leaving directory `/usr/ports/devel/gdb6/work/gdb+dejagnu-20040713/mmalloc' Configuring in gdb creating cache ./config.cache checking whether to enable maintainer-specific portions of Makefiles... no checking for gcc... cc checking for cygwin... no checking for X... no configure: error: *** Gdb does not support native target powerpc-portbld-freebsd5.2 gmake: *** [configure-gdb] Error 1 *** Error code 2 Stop in /usr/ports/devel/gdb6. I think this is because there are no *fbsd* files in gdb/config/powerpc Drew From owner-freebsd-ppc@FreeBSD.ORG Sun Jul 18 21:31:04 2004 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3C7D16A4CF for ; Sun, 18 Jul 2004 21:31:04 +0000 (GMT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73CB043D2F for ; Sun, 18 Jul 2004 21:31:04 +0000 (GMT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.10/8.12.10) with ESMTP id i6ILV3Wg016944 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 18 Jul 2004 17:31:03 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id i6ILUwLX041868; Sun, 18 Jul 2004 17:30:58 -0400 (EDT) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16634.60434.732990.437652@grasshopper.cs.duke.edu> Date: Sun, 18 Jul 2004 17:30:58 -0400 (EDT) To: freebsd-ppc@freebsd.org X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Subject: long doubles? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jul 2004 21:31:04 -0000 The reason that vmstat, iostat, systat, etc print wildly bogus device stats is because the printing of long doubles seems to be broken. According to a printf of sizeof(long double), the size of a long double is 8 bytes, the same as a double. However, according to sys/powerpc/include/float.h, LDBL_MANT_DIG == 113.. I don't know a lot about floating point, but I'm not sure this is possible. ;) If long doubles are 8 bytes (and they are on MacOSX, so that's a good sign), then shouldn't the LDBL_* constants be the same as the DBL* constants from float.h? (they are on MacOSX) Thanks, Drew From owner-freebsd-ppc@FreeBSD.ORG Sun Jul 18 21:52:55 2004 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4945E16A4CE for ; Sun, 18 Jul 2004 21:52:55 +0000 (GMT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id E279643D49 for ; Sun, 18 Jul 2004 21:52:54 +0000 (GMT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.10/8.12.10) with ESMTP id i6ILqsWg018412 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 18 Jul 2004 17:52:54 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id i6ILqnr7041885; Sun, 18 Jul 2004 17:52:49 -0400 (EDT) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16634.61745.306200.480570@grasshopper.cs.duke.edu> Date: Sun, 18 Jul 2004 17:52:49 -0400 (EDT) To: freebsd-ppc@freebsd.org X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Subject: kernel not bootable today? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jul 2004 21:52:55 -0000 Trying to boot a kernel built from CVS today (just after kan fixed the adaptive mutexes compilation problem) leaves me back at the open-firmware prompt: OK boot Kernel entry at 0x12ab48 ... KDB: debugger backends: ddb KDB: current backend: ddb DEFAULT CATCH!, code=900 at %SRR0: 0000a840 %SRR1: 00083000 ok 0 > I'm not sure how to debug this.... Is one of these a faulting address? Thanks, Drew From owner-freebsd-ppc@FreeBSD.ORG Mon Jul 19 00:33:07 2004 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 27DF616A4CE for ; Mon, 19 Jul 2004 00:33:07 +0000 (GMT) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 942E743D41 for ; Mon, 19 Jul 2004 00:33:06 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from freebsd.org (CPE-25-247.dsl.onthenet.net [203.144.25.247]) i6J0WunP020358; Mon, 19 Jul 2004 10:32:56 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <40FB1851.3030305@freebsd.org> Date: Mon, 19 Jul 2004 10:39:45 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrew Gallatin References: <16634.60434.732990.437652@grasshopper.cs.duke.edu> In-Reply-To: <16634.60434.732990.437652@grasshopper.cs.duke.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: long doubles? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jul 2004 00:33:07 -0000 > According to a printf of sizeof(long double), the size of a long > double is 8 bytes, the same as a double. However, according to > sys/powerpc/include/float.h, LDBL_MANT_DIG == 113.. I don't know a > lot about floating point, but I'm not sure this is possible. ;) > > If long doubles are 8 bytes (and they are on MacOSX, so that's a good > sign), then shouldn't the LDBL_* constants be the same as the DBL* > constants from float.h? (they are on MacOSX) Yeh, I'm not too sure about this. The SVR4 ABI defines long doubles as 128 bits, and there is a GCC config knob to enable this. I'd promised David Schultz that'd I would look at fixing this, but haven't gotten around to it yet. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Mon Jul 19 00:50:59 2004 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B19AE16A4CE for ; Mon, 19 Jul 2004 00:50:59 +0000 (GMT) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 107E643D2F for ; Mon, 19 Jul 2004 00:50:59 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from freebsd.org (CPE-25-247.dsl.onthenet.net [203.144.25.247]) i6J0oonP020426; Mon, 19 Jul 2004 10:50:50 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <40FB1C83.3010800@freebsd.org> Date: Mon, 19 Jul 2004 10:57:39 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrew Gallatin References: <16634.61745.306200.480570@grasshopper.cs.duke.edu> In-Reply-To: <16634.61745.306200.480570@grasshopper.cs.duke.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: kernel not bootable today? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jul 2004 00:50:59 -0000 > OK boot > Kernel entry at 0x12ab48 ... > KDB: debugger backends: ddb > KDB: current backend: ddb > > DEFAULT CATCH!, code=900 at %SRR0: 0000a840 %SRR1: 00083000 > ok > 0 > That's before interrupt vectors have been setup, or it would have dropped into ddb. Is this repeatable ? I just cvsup'd/built locally and things appear to be OK on a G4 eMac. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Mon Jul 19 14:49:40 2004 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D12916A4CE; Mon, 19 Jul 2004 14:49:40 +0000 (GMT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32D4243D31; Mon, 19 Jul 2004 14:49:40 +0000 (GMT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.10/8.12.10) with ESMTP id i6JEndWg021990 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 19 Jul 2004 10:49:39 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id i6JEnXGL043035; Mon, 19 Jul 2004 10:49:33 -0400 (EDT) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16635.57213.872393.12719@grasshopper.cs.duke.edu> Date: Mon, 19 Jul 2004 10:49:33 -0400 (EDT) To: Peter Grehan In-Reply-To: <40FB1C83.3010800@freebsd.org> References: <16634.61745.306200.480570@grasshopper.cs.duke.edu> <40FB1C83.3010800@freebsd.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid cc: freebsd-ppc@freebsd.org Subject: Re: kernel not bootable today? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jul 2004 14:49:40 -0000 Peter Grehan writes: > > OK boot > > Kernel entry at 0x12ab48 ... > > KDB: debugger backends: ddb > > KDB: current backend: ddb > > > > DEFAULT CATCH!, code=900 at %SRR0: 0000a840 %SRR1: 00083000 > > ok > > 0 > > > That's before interrupt vectors have been setup, or it would > have dropped into ddb. Is this repeatable ? Yes.. it seems to be. I run a kernel without WITNESS, INVARIANTS, INVARIANTS_SUPPORT, or KTR. That will crash like this every time. If I add back INVARIANTS_SUPPORT and INVARIANTS, it works fine. Eg: diff TEST.worked TEST 64,65d63 < options INVARIANTS #Enable calls of extra sanity checking < options INVARIANT_SUPPORT #Extra sanity checks of internal structures, required by INVARIANTS Maybe there is some cache-sync or something that is required at load time, but which is missing, and INVARIANTS slows down the MI code enough to mask the bug? Now that I've found the option that kills it, I'll see if I can do a binary CVS search for a "good" vs "bad" kernel date. If there's a better way, please let me know.. From the SRM console on alpha, you could at least get the PC at the time of the fault. Is this possible with openfirmware? Drew From owner-freebsd-ppc@FreeBSD.ORG Mon Jul 19 15:28:56 2004 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 259C316A4CE; Mon, 19 Jul 2004 15:28:56 +0000 (GMT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id DDA6443D1D; Mon, 19 Jul 2004 15:28:55 +0000 (GMT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.10/8.12.10) with ESMTP id i6JFSsWg027082 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 19 Jul 2004 11:28:55 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id i6JFSnv2043079; Mon, 19 Jul 2004 11:28:49 -0400 (EDT) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16635.59569.415380.622398@grasshopper.cs.duke.edu> Date: Mon, 19 Jul 2004 11:28:49 -0400 (EDT) To: Peter Grehan In-Reply-To: <40FB1C83.3010800@freebsd.org> References: <16634.61745.306200.480570@grasshopper.cs.duke.edu> <40FB1C83.3010800@freebsd.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid cc: freebsd-ppc@freebsd.org Subject: Re: kernel not bootable today? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jul 2004 15:28:56 -0000 OK, now I'm really confused.. I thought I narrowed it down to your elf_machdep.c changes (which is confusing, as I'm not loading any modules). I added some printfs, and the resulting kernel boots just fine. Is it possible there is some sort of size or alignment issue? On a related note, I don't think that the linker file is still unused in elf_cpu_load_file(). Drew PS: Here is my kernel config for reference # # GENERIC -- Generic kernel configuration file for FreeBSD/powerpc # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html # # The handbook is also available locally in /usr/share/doc/handbook # if you've installed the doc distribution, otherwise always see the # FreeBSD World Wide Web server (http://www.FreeBSD.org/) for the # latest information. # # An exhaustive list of options and more detailed explanations of the # device lines is also present in the ../../conf/NOTES and NOTES files. # If you are in doubt as to the purpose or necessity of a line, check first # in NOTES. # # $FreeBSD: src/sys/powerpc/conf/GENERIC,v 1.37 2004/07/18 09:03:12 maxim Exp $ machine powerpc cpu OEA ident GENERIC #To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols makeoptions WERROR=-Wno-error #XXX: We don't want -Werror just now # Platform support options POWERMAC #NewWorld Apple PowerMacs options PSIM #GDB PSIM ppc simulator options SCHED_ULE #ULE scheduler options INET #InterNETworking options FFS #Berkeley Fast Filesystem options SOFTUPDATES #Enable FFS soft updates support options UFS_ACL #Support for access control lists options UFS_DIRHASH #Improve performance on big directories options MD_ROOT #MD is a potential root device options NFSCLIENT #Network Filesystem Client options NFSSERVER #Network Filesystem Server options NFS_ROOT #NFS usable as root device #options MSDOSFS #MSDOS Filesystem options CD9660 #ISO 9660 Filesystem options PROCFS #Process filesystem (requires PSEUDOFS) options PSEUDOFS #Pseudo-filesystem framework options GEOM_GPT #GUID Partition Tables. options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 #Keep this for a while options SCSI_DELAY=1500 #Delay (in ms) before probing SCSI options KTRACE #ktrace(1) syscall trace support options SYSVSHM #SYSV-style shared memory options SYSVMSG #SYSV-style message queues options SYSVSEM #SYSV-style semaphores #options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions options PFIL_HOOKS # pfil(9) framework # Debugging for use in -current options KDB #Enable the kernel debugger options DDB #Support DDB options BREAK_TO_DEBUGGER # To make an SMP kernel, the next line is needed #options SMP # Symmetric MultiProcessor Kernel # Standard busses device pci # ATA and ATAPI devices device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives #device atapifd # ATAPI floppy drives #device atapist # ATAPI tape drives # SCSI peripherals device scbus # SCSI bus (required for SCSI) device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct SCSI access) # syscons is the default console driver, resembling an SCO console device sc options SC_OFWFB # OFW frame buffer options SC_DFLT_FONT # compile font in makeoptions SC_DFLT_FONT=cp437 # Serial (COM) ports #device sio # 8250, 16[45]50 based serial ports device zs # Zilog 8350 based serial ports # PCI Ethernet NICs that use the common MII bus controller code. device miibus # MII bus support device gem # Sun GEM/Sun ERI/Apple GMAC # Pseudo devices. device random # Entropy device device loop # Network loopback device ether # Ethernet support device sl # Kernel SLIP device ppp # Kernel PPP device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device ofwd # OpenFirmware disks # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! device bpf #Berkeley packet filter # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device usb # USB Bus (required) device ugen # Generic device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da0 device ums # Mouse device urio # Diamond Rio 500 MP3 player device uscanner # Scanners # USB Ethernet device aue # ADMtek USB Ethernet device axe # ASIX Electronics USB Ethernet device cue # CATC USB Ethernet device kue # Kawasaki LSI USB Ethernet # FireWire support device firewire # FireWire bus code device sbp # SCSI over FireWire (Requires scbus and da) device fwe # Ethernet over FireWire (non-standard!) # Temporary defs until things are farther along. makeoptions NO_MODULES=true From owner-freebsd-ppc@FreeBSD.ORG Tue Jul 20 02:28:22 2004 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2E1F16A4CE for ; Tue, 20 Jul 2004 02:28:22 +0000 (GMT) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2893843D39 for ; Tue, 20 Jul 2004 02:28:22 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from freebsd.org (CPE-19-111.dsl.OntheNet.net [203.144.19.111]) i6K2SDnP032351; Tue, 20 Jul 2004 12:28:13 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <40FC84D5.4060300@freebsd.org> Date: Tue, 20 Jul 2004 12:35:01 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrew Gallatin References: <16634.61745.306200.480570@grasshopper.cs.duke.edu> <40FB1C83.3010800@freebsd.org> <16635.59569.415380.622398@grasshopper.cs.duke.edu> In-Reply-To: <16635.59569.415380.622398@grasshopper.cs.duke.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: kernel not bootable today? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2004 02:28:22 -0000 Hi Drew, > OK, now I'm really confused.. I thought I narrowed it down > to your elf_machdep.c changes (which is confusing, as I'm not loading > any modules). I added some printfs, and the resulting kernel boots > just fine. > > Is it possible there is some sort of size or alignment issue? I just comitted a fix. The mtmsr() inlines don't do an isync, since it isn't required for all bits in the msr, most noticeably the EE bit. However, an context-syncing instruction is required when changing the address relocation bits. I'm not exactly sure why putting in printfs or running with syscons didn't expose this, but it should be fixed now. > On a related note, I don't think that the linker file > is still unused in elf_cpu_load_file(). Ah yes. gcc didn't complain about that :-) Also, I found out that elf_cpu_load_file() is called when the kernel is loaded, so there's no need to sync the icache for the entire kernel when it's already been done for the loader. This might shave a microsecond off boot time :-) later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Tue Jul 20 02:37:45 2004 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 20E4F16A4CE for ; Tue, 20 Jul 2004 02:37:45 +0000 (GMT) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7684843D45 for ; Tue, 20 Jul 2004 02:37:44 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from freebsd.org (CPE-19-111.dsl.OntheNet.net [203.144.19.111]) i6K2bXnP032427; Tue, 20 Jul 2004 12:37:33 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <40FC8705.8080306@freebsd.org> Date: Tue, 20 Jul 2004 12:44:21 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrew Gallatin References: <16634.61745.306200.480570@grasshopper.cs.duke.edu> <40FB1C83.3010800@freebsd.org> <16635.57213.872393.12719@grasshopper.cs.duke.edu> In-Reply-To: <16635.57213.872393.12719@grasshopper.cs.duke.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: kernel not bootable today? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2004 02:37:45 -0000 > > > DEFAULT CATCH!, code=900 at %SRR0: 0000a840 %SRR1: 00083000 ... > From the SRM console on alpha, you > could at least get the PC at the time of the fault. Is this possible > with openfirmware? When an exception occurs, the PC is copied into SRR0 and the MSR into SRR1. The value of the PC doesn't seem to make much sense on this occasion, although I have used it in the past when tracking down loader bugs. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Tue Jul 20 02:38:41 2004 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C76AC16A4CE for ; Tue, 20 Jul 2004 02:38:41 +0000 (GMT) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 91E5443D1F for ; Tue, 20 Jul 2004 02:38:40 +0000 (GMT) (envelope-from peterg@ptree32.com.au) Received: from ptree32.com.au (CPE-19-111.dsl.OntheNet.net [203.144.19.111]) i6K2cdnP032431 for ; Tue, 20 Jul 2004 12:38:39 +1000 (EST) (envelope-from peterg@ptree32.com.au) Message-ID: <40FC8748.9020501@ptree32.com.au> Date: Tue, 20 Jul 2004 12:45:28 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-ppc@freebsd.org References: <16634.60434.732990.437652@grasshopper.cs.duke.edu> In-Reply-To: <16634.60434.732990.437652@grasshopper.cs.duke.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: long doubles? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2004 02:38:41 -0000 > If long doubles are 8 bytes (and they are on MacOSX, so that's a good > sign), then shouldn't the LDBL_* constants be the same as the DBL* > constants from float.h? (they are on MacOSX) FYI, Drew commited the fix for this. Long doubles are now 8 bytes, the same as OSX and NetBSD. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Tue Jul 20 11:50:20 2004 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC51816A4CE; Tue, 20 Jul 2004 11:50:20 +0000 (GMT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C79143D1D; Tue, 20 Jul 2004 11:50:20 +0000 (GMT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.10/8.12.10) with ESMTP id i6KBoKWg012134 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 20 Jul 2004 07:50:20 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id i6KBoE4e044522; Tue, 20 Jul 2004 07:50:14 -0400 (EDT) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16637.1782.943726.273637@grasshopper.cs.duke.edu> Date: Tue, 20 Jul 2004 07:50:14 -0400 (EDT) To: Peter Grehan In-Reply-To: <40FC84D5.4060300@freebsd.org> References: <16634.61745.306200.480570@grasshopper.cs.duke.edu> <40FB1C83.3010800@freebsd.org> <16635.59569.415380.622398@grasshopper.cs.duke.edu> <40FC84D5.4060300@freebsd.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid cc: freebsd-ppc@freebsd.org Subject: Re: kernel not bootable today? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jul 2004 11:50:20 -0000 Peter Grehan writes: > I just comitted a fix. The mtmsr() inlines don't do an isync, since Thank you! > > > On a related note, I don't think that the linker file > > is still unused in elf_cpu_load_file(). > > Ah yes. gcc didn't complain about that :-) > > Also, I found out that elf_cpu_load_file() is called when the kernel > is loaded, so there's no need to sync the icache for the entire kernel > when it's already been done for the loader. This might shave a > microsecond off boot time :-) I have not tried yet, but should I now expect modules to work? Thanks, Drew From owner-freebsd-ppc@FreeBSD.ORG Wed Jul 21 02:08:42 2004 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4EF7516A4CE for ; Wed, 21 Jul 2004 02:08:42 +0000 (GMT) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id BD7A243D2F for ; Wed, 21 Jul 2004 02:08:41 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from freebsd.org (CPE-19-58.dsl.OntheNet.net [203.144.19.58]) i6L28enP037709 for ; Wed, 21 Jul 2004 12:08:40 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <40FDD1C0.8030405@freebsd.org> Date: Wed, 21 Jul 2004 12:15:28 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-ppc@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: re: modules ? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jul 2004 02:08:42 -0000 (Oops, this didn't make it to -ppc first time) > Are modules supposed to work? Attempting to load > a kld built on powerpc yields tons of warnings about > not supporting R_PPC_REL24 relocations: > > unexpected relocation type 10 > <...> link_elf: symbol minor undefined > > > Is there a linker script, or some CFLAGs that I'm missing? Sorry for the delay, just got back to email. There's 2 outstanding diffs. First one: diff -u -r1.163 kmod.mk --- kmod.mk 29 Jun 2004 18:56:14 -0000 1.163 +++ kmod.mk 16 Jul 2004 07:34:06 -0000 @@ -125,6 +125,11 @@ .endif LDFLAGS+= -d -warn-common +# PG XXX ppc-specific module flags +.if ${MACHINE_ARCH} == "powerpc" +CFLAGS+= -mlongcall +.endif + CFLAGS+= ${DEBUG_FLAGS} This forces the compiler to generate a call via the CTR register with a 32-bit load. The normal call sequence uses "blr" with a 24-bit displacement, which doesn't work with modules being loaded in the 4th gig and the kernel residing in the first. I was going to ask ruslan if this was the correct place to commit this CFLAGS change. However, if you think it's OK, I'll do it. The second is a gcc patch, since internal libcalls (e.g. 64-bit arith) don't respect the "-mlongcall" attribute. I've yet to file a bug against gcc for this one. diff -u -r1.1.1.9 rs6000.c --- rs6000.c 7 Nov 2003 02:43:04 -0000 1.1.1.9 +++ rs6000.c 15 Jul 2004 03:40:09 -0000 @@ -2914,6 +2914,9 @@ && lookup_attribute ("longcall", TYPE_ATTRIBUTES (fntype)) && !lookup_attribute ("shortcall", TYPE_ATTRIBUTES (fntype))) cum->call_cookie = CALL_LONG; + else if (!fntype) + if (rs6000_default_long_calls) + cum->call_cookie = CALL_LONG; if (TARGET_DEBUG_ARG) later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Wed Jul 21 02:45:35 2004 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D25AE16A4CE; Wed, 21 Jul 2004 02:45:35 +0000 (GMT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 90EF443D31; Wed, 21 Jul 2004 02:45:35 +0000 (GMT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.10/8.12.10) with ESMTP id i6L2jZR0011367 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 20 Jul 2004 22:45:35 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id i6L2jUs0045452; Tue, 20 Jul 2004 22:45:30 -0400 (EDT) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16637.55498.97708.217664@grasshopper.cs.duke.edu> Date: Tue, 20 Jul 2004 22:45:30 -0400 (EDT) To: Peter Grehan In-Reply-To: <40FDCFFC.2040305@freebsd.org> References: <16637.52362.724097.711811@grasshopper.cs.duke.edu> <40FDCFFC.2040305@freebsd.org> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid cc: freebsd-ppc@freebsd.org Subject: Re: modules? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jul 2004 02:45:35 -0000 Peter Grehan writes: > I was going to ask ruslan if this was the correct place to commit > this CFLAGS change. However, if you think it's OK, I'll do it. Please do. Whenever I've made a change like this in the past, I've always managed to do it wrong ;_ > The second is a gcc patch, since internal libcalls (e.g. 64-bit arith) > don't respect the "-mlongcall" attribute. I've yet to file a bug against > gcc for this one. > > diff -u -r1.1.1.9 rs6000.c > --- rs6000.c 7 Nov 2003 02:43:04 -0000 1.1.1.9 > +++ rs6000.c 15 Jul 2004 03:40:09 -0000 > @@ -2914,6 +2914,9 @@ > && lookup_attribute ("longcall", TYPE_ATTRIBUTES (fntype)) > && !lookup_attribute ("shortcall", TYPE_ATTRIBUTES (fntype))) > cum->call_cookie = CALL_LONG; > + else if (!fntype) > + if (rs6000_default_long_calls) > + cum->call_cookie = CALL_LONG; > > if (TARGET_DEBUG_ARG) Have you talked to obrien or kan about getting this patch into at least our local version of gcc after you've filed the bug? Thanks, Drew From owner-freebsd-ppc@FreeBSD.ORG Wed Jul 21 07:42:05 2004 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A2AC16A4CE for ; Wed, 21 Jul 2004 07:42:05 +0000 (GMT) Received: from liberty.onthenet.com.au (liberty.OntheNet.com.au [203.22.124.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id E83C243D46 for ; Wed, 21 Jul 2004 07:42:04 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from freebsd.org (CPE-31-66.dsl.onthenet.net [203.144.31.66]) i6L7funP039865; Wed, 21 Jul 2004 17:41:56 +1000 (EST) (envelope-from grehan@freebsd.org) Message-ID: <40FE1FDC.4090005@freebsd.org> Date: Wed, 21 Jul 2004 17:48:44 +1000 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.3.1) Gecko/20030524 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrew Gallatin References: <16637.52362.724097.711811@grasshopper.cs.duke.edu> <40FDCFFC.2040305@freebsd.org> <16637.55498.97708.217664@grasshopper.cs.duke.edu> In-Reply-To: <16637.55498.97708.217664@grasshopper.cs.duke.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ppc@freebsd.org Subject: Re: modules? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Jul 2004 07:42:05 -0000 > Have you talked to obrien or kan about getting this patch > into at least our local version of gcc after you've filed the bug? Not yet, but I'll wait and see if it gets accepted first. If it doesn't, then it's back to the drawing board. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Sat Jul 24 15:24:40 2004 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AB68316A4CE for ; Sat, 24 Jul 2004 15:24:40 +0000 (GMT) Received: from TRANG.nuxi.com (trang.nuxi.com [66.93.134.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 68DDD43D1D for ; Sat, 24 Jul 2004 15:24:40 +0000 (GMT) (envelope-from obrien@NUXI.com) Received: from dragon.nuxi.com (obrien@localhost [127.0.0.1]) by TRANG.nuxi.com (8.12.11/8.12.11) with ESMTP id i6OFOaTx022239; Sat, 24 Jul 2004 08:24:36 -0700 (PDT) (envelope-from obrien@dragon.nuxi.com) Received: (from obrien@localhost) by dragon.nuxi.com (8.12.11/8.12.11/Submit) id i6OFOZkn022238; Sat, 24 Jul 2004 08:24:35 -0700 (PDT) (envelope-from obrien) Date: Sat, 24 Jul 2004 08:24:35 -0700 From: "David O'Brien" To: Andrew Gallatin Message-ID: <20040724152435.GA22212@dragon.nuxi.com> References: <16628.38008.674570.747104@grasshopper.cs.duke.edu> <20040718015214.GA1070@dragon.nuxi.com> <16634.55846.921213.128676@grasshopper.cs.duke.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <16634.55846.921213.128676@grasshopper.cs.duke.edu> User-Agent: Mutt/1.4.1i X-Operating-System: FreeBSD 5.2-CURRENT Organization: The NUXI BSD Group X-Pgp-Rsa-Fingerprint: B7 4D 3E E9 11 39 5F A3 90 76 5D 69 58 D9 98 7A X-Pgp-Rsa-Keyid: 1024/34F9F9D5 cc: freebsd-ppc@freebsd.org Subject: Re: gdb? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: obrien@freebsd.org List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jul 2004 15:24:40 -0000 On Sun, Jul 18, 2004 at 04:14:30PM -0400, Andrew Gallatin wrote: > configure: error: *** Gdb does not support native target > powerpc-portbld-freebsd5.2 > gmake: *** [configure-gdb] Error 1 > *** Error code 2 > Stop in /usr/ports/devel/gdb6. Ah, now I've got soemthing to work on. I wish we had a PowerPC refernce machine in the cluster... -- -- David (obrien@FreeBSD.org) From owner-freebsd-ppc@FreeBSD.ORG Sat Jul 24 19:22:57 2004 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1CF7916A4CE; Sat, 24 Jul 2004 19:22:57 +0000 (GMT) Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id CBB2A43D2F; Sat, 24 Jul 2004 19:22:56 +0000 (GMT) (envelope-from gallatin@cs.duke.edu) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.12.10/8.12.10) with ESMTP id i6OJMuR0002853 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 24 Jul 2004 15:22:56 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.12.9p2/8.12.9/Submit) id i6OJMoTI054442; Sat, 24 Jul 2004 15:22:50 -0400 (EDT) (envelope-from gallatin) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16642.46858.927241.67031@grasshopper.cs.duke.edu> Date: Sat, 24 Jul 2004 15:22:50 -0400 (EDT) To: obrien@freebsd.org In-Reply-To: <20040724152435.GA22212@dragon.nuxi.com> References: <16628.38008.674570.747104@grasshopper.cs.duke.edu> <20040718015214.GA1070@dragon.nuxi.com> <16634.55846.921213.128676@grasshopper.cs.duke.edu> <20040724152435.GA22212@dragon.nuxi.com> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid cc: freebsd-ppc@freebsd.org Subject: Re: gdb? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Jul 2004 19:22:57 -0000 David O'Brien writes: > On Sun, Jul 18, 2004 at 04:14:30PM -0400, Andrew Gallatin wrote: > > configure: error: *** Gdb does not support native target > > powerpc-portbld-freebsd5.2 > > gmake: *** [configure-gdb] Error 1 > > *** Error code 2 > > Stop in /usr/ports/devel/gdb6. > > Ah, now I've got soemthing to work on. > I wish we had a PowerPC refernce machine in the cluster... Me too... But in the meantime, I'd be happy to test any patches. Drew