From owner-freebsd-amd64@FreeBSD.ORG Sun Jul 11 04:57:29 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B5D5916A4CE; Sun, 11 Jul 2004 04:57:29 +0000 (GMT) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C52C43D3F; Sun, 11 Jul 2004 04:57:29 +0000 (GMT) (envelope-from marcel@xcllnt.net) Received: from dhcp50.pn.xcllnt.net (dhcp50.pn.xcllnt.net [192.168.4.250]) by ns1.xcllnt.net (8.12.11/8.12.11) with ESMTP id i6B4vTVT079435; Sat, 10 Jul 2004 21:57:29 -0700 (PDT) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp50.pn.xcllnt.net (localhost [127.0.0.1]) i6B4vTlX040546; Sat, 10 Jul 2004 21:57:29 -0700 (PDT) (envelope-from marcel@dhcp50.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp50.pn.xcllnt.net (8.12.11/8.12.11/Submit) id i6B4vSlx040545; Sat, 10 Jul 2004 21:57:28 -0700 (PDT) (envelope-from marcel) Date: Sat, 10 Jul 2004 21:57:28 -0700 From: Marcel Moolenaar To: amd64@FreeBSD.org, current@FreeBSD.org Message-ID: <20040711045728.GB40508@dhcp50.pn.xcllnt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: HEADSUP [amd64]: New KDB framework untested. X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Jul 2004 04:57:29 -0000 Gang, Since I don't have an amd64 box myself, I could not test the new KDB framework. So, I pretty much made sure it compiled and since amd64 is in many ways very similar to i386, there's a good chance I got it right. But obviously when it's not tested there's a big chance it contains bugs or is just plain broken. You might want to pay special attention to it... FYI, -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net From owner-freebsd-amd64@FreeBSD.ORG Mon Jul 12 09:20:11 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D54216A4CE for ; Mon, 12 Jul 2004 09:20:11 +0000 (GMT) Received: from web81708.mail.yahoo.com (web81708.mail.yahoo.com [206.190.37.139]) by mx1.FreeBSD.org (Postfix) with SMTP id DEAD543D45 for ; Mon, 12 Jul 2004 09:20:10 +0000 (GMT) (envelope-from schromms@yahoo.com) Message-ID: <20040712092010.54486.qmail@web81708.mail.yahoo.com> Received: from [67.117.28.78] by web81708.mail.yahoo.com via HTTP; Mon, 12 Jul 2004 02:20:10 PDT Date: Mon, 12 Jul 2004 02:20:10 -0700 (PDT) From: Jerry Schromm To: freebsd-amd64@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Free links please send X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 09:20:11 -0000 Dear BSD I saw this adress for free links I guess it is for the AMD64 BSD. Send them if you can. I am just getting into this. I discovered it yesterday and am excited and intrigued about using this operating system. And hopefully learning some about it's internal workings. Thanks, Jerry Schromm From owner-freebsd-amd64@FreeBSD.ORG Mon Jul 12 09:26:58 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 995F116A4CE for ; Mon, 12 Jul 2004 09:26:58 +0000 (GMT) Received: from web81701.mail.yahoo.com (web81701.mail.yahoo.com [206.190.37.132]) by mx1.FreeBSD.org (Postfix) with SMTP id 5E95C43D39 for ; Mon, 12 Jul 2004 09:26:58 +0000 (GMT) (envelope-from schromms@yahoo.com) Message-ID: <20040712092658.52649.qmail@web81701.mail.yahoo.com> Received: from [67.117.28.78] by web81701.mail.yahoo.com via HTTP; Mon, 12 Jul 2004 02:26:58 PDT Date: Mon, 12 Jul 2004 02:26:58 -0700 (PDT) From: Jerry Schromm To: freebsd-amd64@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Please make me part of the BSD AMD64 Mailing list X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 09:26:58 -0000 Hi again, Please make me part of the BSD AMD64 mailing list. Thanks, Jerry Schromm From owner-freebsd-amd64@FreeBSD.ORG Mon Jul 12 09:59:43 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CE18916A4CE for ; Mon, 12 Jul 2004 09:59:43 +0000 (GMT) Received: from alogis.com (firewall.solit-ag.de [212.184.102.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA76943D1F for ; Mon, 12 Jul 2004 09:59:41 +0000 (GMT) (envelope-from Holger.Kipp@alogis.com) Received: (from hk@localhost) by alogis.com (8.11.1/8.9.3) id i6C9xap57812; Mon, 12 Jul 2004 11:59:36 +0200 (CEST) (envelope-from hk) Date: Mon, 12 Jul 2004 11:59:36 +0200 From: Holger Kipp To: Jerry Schromm Message-ID: <20040712115936.A56225@intserv.int1.b.intern> References: <20040712092658.52649.qmail@web81701.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20040712092658.52649.qmail@web81701.mail.yahoo.com>; from schromms@yahoo.com on Mon, Jul 12, 2004 at 02:26:58AM -0700 cc: freebsd-amd64@freebsd.org Subject: Re: Please make me part of the BSD AMD64 Mailing list X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 09:59:43 -0000 On Mon, Jul 12, 2004 at 02:26:58AM -0700, Jerry Schromm wrote: > > Hi again, > Please make me part of the BSD AMD64 mailing list. Please read http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/eresources.html#ERESOURCES-MAIL to find the mailing lists that might be most appropriate for you. For best user experience, the following sections should be read, understood and followed: C.1.2 How to Subscribe C.1.3 List Charters If amd64 is the one you think is correct, go to http://lists.FreeBSD.org/mailman/listinfo/freebsd-amd64 and read the text, especially where it says "Subscribe to freebsd-amd64 by filling out the following form." As you seem to be quit new to FreeBSD, I'd urge you to have a look at the FreeBSD handbook (www.freebsd.org) and always search the mailing list archives before posting to the list if you have questions. Many questions have already been answered there. Regards, Holger Kipp From owner-freebsd-amd64@FreeBSD.ORG Mon Jul 12 11:05:46 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B1D516A4CE; Mon, 12 Jul 2004 11:05:46 +0000 (GMT) Received: from smtp3.sentex.ca (smtp3.sentex.ca [64.7.153.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id A495443D3F; Mon, 12 Jul 2004 11:05:45 +0000 (GMT) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smtp3.sentex.ca (8.12.11/8.12.11) with ESMTP id i6CB5iRm085028; Mon, 12 Jul 2004 07:05:44 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.12.11/8.12.11) with ESMTP id i6CB5jW4021272; Mon, 12 Jul 2004 07:05:45 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 9A8057303F; Mon, 12 Jul 2004 07:05:44 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20040712110544.9A8057303F@freebsd-current.sentex.ca> Date: Mon, 12 Jul 2004 07:05:44 -0400 (EDT) Subject: [current tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 11:05:46 -0000 TB --- 2004-07-12 09:45:11 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2004-07-12 09:45:11 - starting CURRENT tinderbox run for amd64/amd64 TB --- 2004-07-12 09:45:11 - checking out the source tree TB --- 2004-07-12 09:45:11 - cd /home/tinderbox/sandbox/CURRENT/amd64/amd64 TB --- 2004-07-12 09:45:11 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2004-07-12 09:50:20 - building world (CFLAGS=-O2 -pipe) TB --- 2004-07-12 09:50:20 - cd /home/tinderbox/sandbox/CURRENT/amd64/amd64/src TB --- 2004-07-12 09:50:20 - /usr/bin/make -B buildworld >>> 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 TB --- 2004-07-12 10:50:02 - building generic kernel (COPTFLAGS=-O2 -pipe) TB --- 2004-07-12 10:50:02 - cd /home/tinderbox/sandbox/CURRENT/amd64/amd64/src TB --- 2004-07-12 10:50:02 - /usr/bin/make buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Mon Jul 12 10:50:02 UTC 2004 >>> 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 GENERIC completed on Mon Jul 12 11:03:29 UTC 2004 TB --- 2004-07-12 11:03:29 - generating LINT kernel config TB --- 2004-07-12 11:03:29 - cd /home/tinderbox/sandbox/CURRENT/amd64/amd64/src/sys/amd64/conf TB --- 2004-07-12 11:03:29 - /usr/bin/make -B LINT TB --- 2004-07-12 11:03:29 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2004-07-12 11:03:29 - cd /home/tinderbox/sandbox/CURRENT/amd64/amd64/src TB --- 2004-07-12 11:03:29 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Mon Jul 12 11:03:29 UTC 2004 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/tinderbox/CURRENT/amd64/amd64/src/sys -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/acpica -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/altq -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/pf -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror /tinderbox/CURRENT/amd64/amd64/src/sys/coda/coda_fbsd.c cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/tinderbox/CURRENT/amd64/amd64/src/sys -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/acpica -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/altq -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/pf -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror /tinderbox/CURRENT/amd64/amd64/src/sys/coda/coda_namecache.c cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/tinderbox/CURRENT/amd64/amd64/src/sys -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/acpica -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/altq -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/pf -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror /tinderbox/CURRENT/amd64/amd64/src/sys/coda/coda_psdev.c cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/tinderbox/CURRENT/amd64/amd64/src/sys -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/acpica -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/altq -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/pf -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror /tinderbox/CURRENT/amd64/amd64/src/sys/coda/coda_subr.c cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/tinderbox/CURRENT/amd64/amd64/src/sys -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/acpica -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/altq -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/pf -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror /tinderbox/CURRENT/amd64/amd64/src/sys/coda/coda_venus.c cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/tinderbox/CURRENT/amd64/amd64/src/sys -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/acpica -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/altq -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/pf -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror /tinderbox/CURRENT/amd64/amd64/src/sys/coda/coda_vfsops.c /tinderbox/CURRENT/amd64/amd64/src/sys/coda/coda_vfsops.c: In function `coda_root': /tinderbox/CURRENT/amd64/amd64/src/sys/coda/coda_vfsops.c:291: warning: declaration of `td' shadows a parameter *** Error code 1 Stop in /tinderbox/CURRENT/amd64/amd64/obj/amd64/tinderbox/CURRENT/amd64/amd64/src/sys/LINT. *** Error code 1 Stop in /tinderbox/CURRENT/amd64/amd64/src. *** Error code 1 Stop in /tinderbox/CURRENT/amd64/amd64/src. TB --- 2004-07-12 11:05:44 - WARNING: /usr/bin/make returned exit code 1 TB --- 2004-07-12 11:05:44 - ERROR: failed to build lint kernel TB --- 2004-07-12 11:05:44 - tinderbox aborted From owner-freebsd-amd64@FreeBSD.ORG Mon Jul 12 23:17:33 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0EBA616A4CE for ; Mon, 12 Jul 2004 23:17:33 +0000 (GMT) Received: from mailhost.m5p.com (209-162-215-52.dq1sn.easystreet.com [209.162.215.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 78E9343D2D for ; Mon, 12 Jul 2004 23:17:32 +0000 (GMT) (envelope-from george@m5p.com) Received: from m5p.com (ssh.m5p.com [IPv6:2001:418:3fd::fb]) by mailhost.m5p.com (8.12.11/8.12.11) with ESMTP id i6CNHVwt034862 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=OK) for ; Mon, 12 Jul 2004 16:17:31 -0700 (PDT) Received: (from george@localhost) by m5p.com (8.12.11/8.12.11/Submit) id i6CNHUuc015500; Mon, 12 Jul 2004 16:17:30 -0700 (PDT) Date: Mon, 12 Jul 2004 16:17:30 -0700 (PDT) Message-Id: <200407122317.i6CNHUuc015500@m5p.com> From: george+freebsd@m5p.com To: freebsd-amd64@freebsd.org X-Scanned-By: MIMEDefang 2.43 Subject: How to convert from i386 to amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 23:17:33 -0000 The following are probably all frequently-asked questions, but I haven't been able to find the answers yet. 1. How can I compile an amd64 kernel while running an i386 kernel? The CPU I'm on is and amd64, if that matters. 2. Will i386 applications run on an amd64 kernel, or do I have to update the whole world before I can do anything after installing an amd64 kernel on this machine? Thanks for your assistance. -- George Mitchell From owner-freebsd-amd64@FreeBSD.ORG Mon Jul 12 23:34:10 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 426C316A4CE for ; Mon, 12 Jul 2004 23:34:10 +0000 (GMT) Received: from mail.mcneil.com (rrcs-west-24-199-45-54.biz.rr.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DEF043D53 for ; Mon, 12 Jul 2004 23:34:08 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id B1CB3FD15C; Mon, 12 Jul 2004 16:34:07 -0700 (PDT) Received: from mail.mcneil.com ([127.0.0.1]) by localhost (server.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 99693-03; Mon, 12 Jul 2004 16:34:07 -0700 (PDT) Received: from [24.199.45.54] (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id 24D29FD076; Mon, 12 Jul 2004 16:34:07 -0700 (PDT) From: Sean McNeil To: george+freebsd@m5p.com In-Reply-To: <200407122317.i6CNHUuc015500@m5p.com> References: <200407122317.i6CNHUuc015500@m5p.com> Content-Type: text/plain Message-Id: <1089675245.33747.10.camel@server.mcneil.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Mon, 12 Jul 2004 16:34:07 -0700 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mcneil.com cc: freebsd-amd64@freebsd.org Subject: Re: How to convert from i386 to amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 23:34:10 -0000 On Mon, 2004-07-12 at 16:17, george+freebsd@m5p.com wrote: > The following are probably all frequently-asked questions, but I haven't > been able to find the answers yet. > > 1. How can I compile an amd64 kernel while running an i386 kernel? The > CPU I'm on is and amd64, if that matters. I started with an i386 installation on my machine and recompiled for amd64. Here is what I did: Made a kernel config file from generic one in /sys/amd64/conf. I called mine AMD64. make TARGET_ARCH=amd64 buildworld make TARGET_ARCH=amd64 KERNCONF=AMD64 buildkernel make TARGET_ARCH=amd64 KERNCONF=AMD64 installkernel cp /libexec/ld-elf.so.1 /libexec/ld-elf32.so.1 reboot into single user mode. make TARGET_ARCH=amd64 installworld This was really a big pain and I'd recommend installing from a CD. I'm also not certain I've captured all the steps above correctly. This is by memory and I didn't document as I performed the steps. My largest problems were with databases. They are not directly compatable and I had to rebuild them (postgres and db41 databases). > 2. Will i386 applications run on an amd64 kernel, or do I have to update > the whole world before I can do anything after installing an amd64 > kernel on this machine? It works to some extent, but i386 support isn't complete. It worked well enough to install over world. The largest thing missing is a correct /libexec/ld-elf32.so.1 and a compat library setup. Linux i386 compatability has also shown up as patches and was working for a few people. It hasn't been mentioned in a while, though. Best of luck. I'm very happy with my amd64 system and hope you get things setup to your satisfaction. Sean From owner-freebsd-amd64@FreeBSD.ORG Mon Jul 12 23:44:54 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D30FC16A4CE for ; Mon, 12 Jul 2004 23:44:54 +0000 (GMT) Received: from mailhost.m5p.com (209-162-215-52.dq1sn.easystreet.com [209.162.215.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 888C043D31 for ; Mon, 12 Jul 2004 23:44:54 +0000 (GMT) (envelope-from george@m5p.com) Received: from m5p.com (mailhost.m5p.com [10.100.0.247]) by mailhost.m5p.com (8.12.11/8.12.11) with ESMTP id i6CNiqPV035204 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=OK) for ; Mon, 12 Jul 2004 16:44:53 -0700 (PDT) Received: (from defang@localhost) by m5p.com (8.12.11/8.12.11/Submit) id i6CNeNf9035135 for ; Mon, 12 Jul 2004 16:40:23 -0700 (PDT) X-Authentication-Warning: ashmont.m5p.com: defang set sender to using -f Received: from m5p.com (ssh.m5p.com [2001:418:3fd::fb]) by mailhost.m5p.com (MIMEDefang) with ESMTP id i6CNeMxh035133; Mon, 12 Jul 2004 16:40:23 -0700 (PDT) Received: (from george@localhost) by m5p.com (8.12.11/8.12.11/Submit) id i6CNeMBS015756; Mon, 12 Jul 2004 16:40:22 -0700 (PDT) Date: Mon, 12 Jul 2004 16:40:22 -0700 (PDT) From: George Mitchell Message-Id: <200407122340.i6CNeMBS015756@m5p.com> To: george+freebsd@m5p.com, sean@mcneil.com In-Reply-To: <1089675245.33747.10.camel@server.mcneil.com> X-Scanned-By: MIMEDefang 2.43 cc: freebsd-amd64@freebsd.org Subject: Re: How to convert from i386 to amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 23:44:54 -0000 > I started with an i386 installation on my machine and recompiled for > amd64. Here is what I did: > > Made a kernel config file from generic one in /sys/amd64/conf. I called > mine AMD64. > > make TARGET_ARCH=amd64 buildworld > make TARGET_ARCH=amd64 KERNCONF=AMD64 buildkernel > make TARGET_ARCH=amd64 KERNCONF=AMD64 installkernel > cp /libexec/ld-elf.so.1 /libexec/ld-elf32.so.1 > reboot into single user mode. > make TARGET_ARCH=amd64 installworld > > This was really a big pain and I'd recommend installing from a CD. I'm planning to try this install on a Compaq Presario laptop, which is known to require a kernel patch to keep it from powering off when it probes the keyboard controller. Under i386, I built a patched kernel on another i386 machine and wrote a CD-ROM with the new kernel. If I make TARGET_ARC=amd64 in my amd64 kernel build directory and then put that kernel onto an amd64 install CD-ROM, do you think I will be able to go from there? > Best of luck. I'm very happy with my amd64 system and hope you get > things setup to your satisfaction. > > Sean Thanks for the good wishes! -- George From owner-freebsd-amd64@FreeBSD.ORG Mon Jul 12 23:54:34 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7620216A4D1 for ; Mon, 12 Jul 2004 23:54:34 +0000 (GMT) Received: from mail.mcneil.com (rrcs-west-24-199-45-54.biz.rr.com [24.199.45.54]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C25743D49 for ; Mon, 12 Jul 2004 23:54:34 +0000 (GMT) (envelope-from sean@mcneil.com) Received: from localhost (localhost.mcneil.com [127.0.0.1]) by mail.mcneil.com (Postfix) with ESMTP id 052B3FD11E; Mon, 12 Jul 2004 16:54:34 -0700 (PDT) Received: from mail.mcneil.com ([127.0.0.1]) by localhost (server.mcneil.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 99693-04; Mon, 12 Jul 2004 16:54:33 -0700 (PDT) Received: from [24.199.45.54] (mcneil.com [24.199.45.54]) by mail.mcneil.com (Postfix) with ESMTP id E96EDFD07C; Mon, 12 Jul 2004 16:54:32 -0700 (PDT) From: Sean McNeil To: George Mitchell In-Reply-To: <200407122340.i6CNeMBS015756@m5p.com> References: <200407122340.i6CNeMBS015756@m5p.com> Content-Type: text/plain Message-Id: <1089676471.52161.1.camel@server.mcneil.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Mon, 12 Jul 2004 16:54:32 -0700 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at mcneil.com cc: freebsd-amd64@freebsd.org Subject: Re: How to convert from i386 to amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 23:54:34 -0000 On Mon, 2004-07-12 at 16:40, George Mitchell wrote: > > I started with an i386 installation on my machine and recompiled for > > amd64. Here is what I did: > > > > Made a kernel config file from generic one in /sys/amd64/conf. I called > > mine AMD64. > > > > make TARGET_ARCH=amd64 buildworld > > make TARGET_ARCH=amd64 KERNCONF=AMD64 buildkernel > > make TARGET_ARCH=amd64 KERNCONF=AMD64 installkernel > > cp /libexec/ld-elf.so.1 /libexec/ld-elf32.so.1 > > reboot into single user mode. > > make TARGET_ARCH=amd64 installworld > > > > This was really a big pain and I'd recommend installing from a CD. > > I'm planning to try this install on a Compaq Presario laptop, which is > known to require a kernel patch to keep it from powering off when it > probes the keyboard controller. Under i386, I built a patched kernel > on another i386 machine and wrote a CD-ROM with the new kernel. If > I make TARGET_ARC=amd64 in my amd64 kernel build directory and then > put that kernel onto an amd64 install CD-ROM, do you think I will be > able to go from there? I've never made a release CD, so I'm not sure. Hopefully someone else can offer experience in doing that. From owner-freebsd-amd64@FreeBSD.ORG Mon Jul 12 23:54:54 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7C0C416A4CE for ; Mon, 12 Jul 2004 23:54:54 +0000 (GMT) Received: from mailhost.m5p.com (209-162-215-52.dq1sn.easystreet.com [209.162.215.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id 342BE43D2F for ; Mon, 12 Jul 2004 23:54:54 +0000 (GMT) (envelope-from george@m5p.com) Received: from m5p.com (mailhost.m5p.com [10.100.0.247]) by mailhost.m5p.com (8.12.11/8.12.11) with ESMTP id i6CNsqQY035364 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=OK) for ; Mon, 12 Jul 2004 16:54:53 -0700 (PDT) Received: (from defang@localhost) by m5p.com (8.12.11/8.12.11/Submit) id i6CNojIw035311 for ; Mon, 12 Jul 2004 16:50:45 -0700 (PDT) X-Authentication-Warning: ashmont.m5p.com: defang set sender to using -f Received: from m5p.com (ssh.m5p.com [2001:418:3fd::fb]) by mailhost.m5p.com (MIMEDefang) with ESMTP id i6CNoioL035309; Mon, 12 Jul 2004 16:50:45 -0700 (PDT) Received: (from george@localhost) by m5p.com (8.12.11/8.12.11/Submit) id i6CNoiJi015872; Mon, 12 Jul 2004 16:50:44 -0700 (PDT) Date: Mon, 12 Jul 2004 16:50:44 -0700 (PDT) From: George Mitchell Message-Id: <200407122350.i6CNoiJi015872@m5p.com> To: george+freebsd@m5p.com, sean@mcneil.com In-Reply-To: <1089675245.33747.10.camel@server.mcneil.com> X-Scanned-By: MIMEDefang 2.43 cc: freebsd-amd64@freebsd.org Subject: Re: How to convert from i386 to amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 23:54:54 -0000 Some further information about what I've tried so far: The stock FreeBSD 5.2.1-amd64 CD-ROM gets as far as showing me the daemon boot screen. I select booting without ACPI and get the spinning bar for a couple of seconds and then: int=0000000d err=00000000 efl=00010006 eip=00025e59 eax=00000100 abx=00033000 ecx=c0000080 edx=00000000 esi=00064bd0 edi=00032000 ebp=000944a0 esp=0009e470 cs=0008 ds=0010 es=0010 fs=0010 gs=0010 ss=0010 cs:eip=0f 30 0f 20 e0 83 c8 30-0f 22 e0 b8 00 b0 03 00 0f 22 d8 0f 20 c0 d0 00-00 00 80 0f 22 c0 b8 00 ss:esp=69 95 00 00 00 60 c6 00-00 70 c6 00 00 d0 03 00 00 00 00 00 00 c0 03 00-00 00 00 00 00 60 c6 00 BTX halted (Transcribed by hand.) -- George From owner-freebsd-amd64@FreeBSD.ORG Mon Jul 12 23:59:53 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9CD816A4CE for ; Mon, 12 Jul 2004 23:59:53 +0000 (GMT) Received: from mailhost.m5p.com (209-162-215-52.dq1sn.easystreet.com [209.162.215.52]) by mx1.FreeBSD.org (Postfix) with ESMTP id A50AF43D39 for ; Mon, 12 Jul 2004 23:59:53 +0000 (GMT) (envelope-from george@m5p.com) Received: from m5p.com (mailhost.m5p.com [10.100.0.247]) by mailhost.m5p.com (8.12.11/8.12.11) with ESMTP id i6CNxqKa035453 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=OK) for ; Mon, 12 Jul 2004 16:59:53 -0700 (PDT) Received: (from defang@localhost) by m5p.com (8.12.11/8.12.11/Submit) id i6CNxE32035439 for ; Mon, 12 Jul 2004 16:59:14 -0700 (PDT) X-Authentication-Warning: ashmont.m5p.com: defang set sender to using -f Received: from m5p.com (ssh.m5p.com [2001:418:3fd::fb]) by mailhost.m5p.com (MIMEDefang) with ESMTP id i6CNxDET035438; Mon, 12 Jul 2004 16:59:14 -0700 (PDT) Received: (from george@localhost) by m5p.com (8.12.11/8.12.11/Submit) id i6CNxDf3016002; Mon, 12 Jul 2004 16:59:13 -0700 (PDT) Date: Mon, 12 Jul 2004 16:59:13 -0700 (PDT) From: George Mitchell Message-Id: <200407122359.i6CNxDf3016002@m5p.com> To: sean@mcneil.com In-Reply-To: <1089676471.52161.1.camel@server.mcneil.com> X-Scanned-By: MIMEDefang 2.43 cc: freebsd-amd64@freebsd.org Subject: Re: How to convert from i386 to amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jul 2004 23:59:54 -0000 > I've never made a release CD, so I'm not sure. Hopefully someone else > can offer experience in doing that. > I didn't really make a whole release CD. I copied the contents of one into a temporary directory, substituted my patched kernel, and then wrote the whole mess to a new CD. I was too lazy to even redo the base install files, so I went to the emergency shell at the conclusion of the install and copied my patched kernel over the one that had been written on the hard disk by the installation process. -- George From owner-freebsd-amd64@FreeBSD.ORG Tue Jul 13 10:57:49 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FBEC16A4CE; Tue, 13 Jul 2004 10:57:49 +0000 (GMT) Received: from smtp3.sentex.ca (smtp3.sentex.ca [64.7.153.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2AF7943D31; Tue, 13 Jul 2004 10:57:49 +0000 (GMT) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smtp3.sentex.ca (8.12.11/8.12.11) with ESMTP id i6DAvlI4079864; Tue, 13 Jul 2004 06:57:47 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.12.11/8.12.11) with ESMTP id i6DAvmws033519; Tue, 13 Jul 2004 06:57:48 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 2CE437303F; Tue, 13 Jul 2004 06:57:48 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20040713105748.2CE437303F@freebsd-current.sentex.ca> Date: Tue, 13 Jul 2004 06:57:48 -0400 (EDT) Subject: [current tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 10:57:49 -0000 TB --- 2004-07-13 09:32:41 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2004-07-13 09:32:41 - starting CURRENT tinderbox run for amd64/amd64 TB --- 2004-07-13 09:32:41 - checking out the source tree TB --- 2004-07-13 09:32:41 - cd /home/tinderbox/sandbox/CURRENT/amd64/amd64 TB --- 2004-07-13 09:32:41 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2004-07-13 09:37:48 - building world (CFLAGS=-O2 -pipe) TB --- 2004-07-13 09:37:48 - cd /home/tinderbox/sandbox/CURRENT/amd64/amd64/src TB --- 2004-07-13 09:37:48 - /usr/bin/make -B buildworld >>> 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 TB --- 2004-07-13 10:37:27 - building generic kernel (COPTFLAGS=-O2 -pipe) TB --- 2004-07-13 10:37:27 - cd /home/tinderbox/sandbox/CURRENT/amd64/amd64/src TB --- 2004-07-13 10:37:27 - /usr/bin/make buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Tue Jul 13 10:37:28 UTC 2004 >>> 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 GENERIC completed on Tue Jul 13 10:50:50 UTC 2004 TB --- 2004-07-13 10:50:50 - generating LINT kernel config TB --- 2004-07-13 10:50:50 - cd /home/tinderbox/sandbox/CURRENT/amd64/amd64/src/sys/amd64/conf TB --- 2004-07-13 10:50:50 - /usr/bin/make -B LINT TB --- 2004-07-13 10:50:51 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2004-07-13 10:50:51 - cd /home/tinderbox/sandbox/CURRENT/amd64/amd64/src TB --- 2004-07-13 10:50:51 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue Jul 13 10:50:51 UTC 2004 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/tinderbox/CURRENT/amd64/amd64/src/sys -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/acpica -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/altq -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/pf -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror /tinderbox/CURRENT/amd64/amd64/src/sys/fs/deadfs/dead_vnops.c cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/tinderbox/CURRENT/amd64/amd64/src/sys -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/acpica -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/altq -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/pf -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror /tinderbox/CURRENT/amd64/amd64/src/sys/fs/devfs/devfs_devs.c cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/tinderbox/CURRENT/amd64/amd64/src/sys -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/acpica -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/altq -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/pf -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror /tinderbox/CURRENT/amd64/amd64/src/sys/fs/devfs/devfs_rule.c cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/tinderbox/CURRENT/amd64/amd64/src/sys -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/acpica -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/altq -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/pf -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror /tinderbox/CURRENT/amd64/amd64/src/sys/fs/devfs/devfs_vfsops.c cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/tinderbox/CURRENT/amd64/amd64/src/sys -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/acpica -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/altq -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/pf -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror /tinderbox/CURRENT/amd64/amd64/src/sys/fs/devfs/devfs_vnops.c cc -c -O2 -pipe -fno-strict-aliasing -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I. -I/tinderbox/CURRENT/amd64/amd64/src/sys -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/acpica -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/altq -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/ipfilter -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/pf -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/ath -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/dev/ath/freebsd -I/tinderbox/CURRENT/amd64/amd64/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000 -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror /tinderbox/CURRENT/amd64/amd64/src/sys/fs/fdescfs/fdesc_vfsops.c /tinderbox/CURRENT/amd64/amd64/src/sys/fs/fdescfs/fdesc_vfsops.c: In function `fdesc_root': /tinderbox/CURRENT/amd64/amd64/src/sys/fs/fdescfs/fdesc_vfsops.c:138: warning: declaration of `td' shadows a parameter *** Error code 1 Stop in /tinderbox/CURRENT/amd64/amd64/obj/amd64/tinderbox/CURRENT/amd64/amd64/src/sys/LINT. *** Error code 1 Stop in /tinderbox/CURRENT/amd64/amd64/src. *** Error code 1 Stop in /tinderbox/CURRENT/amd64/amd64/src. TB --- 2004-07-13 10:57:48 - WARNING: /usr/bin/make returned exit code 1 TB --- 2004-07-13 10:57:48 - ERROR: failed to build lint kernel TB --- 2004-07-13 10:57:48 - tinderbox aborted From owner-freebsd-amd64@FreeBSD.ORG Tue Jul 13 13:30:42 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0359716A4CE for ; Tue, 13 Jul 2004 13:30:42 +0000 (GMT) Received: from freebee.digiware.nl (dsl390.iae.nl [212.61.63.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 232E343D5C for ; Tue, 13 Jul 2004 13:30:40 +0000 (GMT) (envelope-from wjw@withagen.nl) Received: from dual (dual [212.61.27.71]) by freebee.digiware.nl (8.12.10/8.12.10) with SMTP id i6DDTCsD007349; Tue, 13 Jul 2004 15:29:13 +0200 (CEST) (envelope-from wjw@withagen.nl) Message-ID: <02b401c468dc$7c59a4c0$471b3dd4@digiware.nl> From: "Willem Jan Withagen" To: "Willem Jan Withagen" , References: <06b401c46591$49a2b600$471b3dd4@digiware.nl> Date: Tue, 13 Jul 2004 15:22:40 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Subject: Help my SMP is broken??? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 13:30:42 -0000 > I'm trying to boot my dual opteron box with a recent kernel. > Without ACPI is boots single processor, with ACPI I get the stuff downbelow. > SMAP type=01 base=0000000000000000 len=00000000000a0000 > SMAP type=02 base=00000000000f0000 len=0000000000010000 > SMAP type=02 base=00000000fec00000 len=0000000001400000 > SMAP type=02 base=000000007fef0000 len=0000000000010000 > SMAP type=01 base=0000000000100000 len=000000007fde0000 > SMAP type=03 base=000000007fee3000 len=000000000000d000 > SMAP type=04 base=000000007fee0000 len=0000000000003000 > Copyright (c) 1992-2004 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD 5.2-CURRENT #57: Fri Jul 9 10:46:05 CEST 2004 > root@opteron.digiware.nl:/usr/obj/home2/src/sys/OPTERON.amd64 > WARNING: WITNESS option enabled, expect reduced performance. > WARNING: DIAGNOSTIC option enabled, expect reduced performance. > Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffff806f1000. > Calibrating clock(s) ... i8254 clock: 1193255 Hz > CLK_USE_I8254_CALIBRATION not specified - using default frequency > Timecounter "i8254" frequency 1193182 Hz quality 0 > Calibrating TSC clock ... TSC clock: 1603648612 Hz > CPU: AMD Opteron(tm) Processor 242 (1603.65-MHz K8-class CPU) > Origin = "AuthenticAMD" Id = 0xf51 Stepping = 1 > Features=0x78bfbff OV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2> > AMD Features=0xe0500800 > L1 2MB data TLB: 8 entries, fully associative > L1 2MB instruction TLB: 8 entries, fully associative > L1 4KB data TLB: 32 entries, fully associative > L1 4KB instruction TLB: 32 entries, fully associative > L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative > L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative > L2 2MB unified TLB: 0 entries, disabled/not present > L2 4KB data TLB: 512 entries, 4-way associative > L2 4KB instruction TLB: 512 entries, 4-way associative > L2 unified cache: 1024 kbytes, 64 bytes/line, 1 lines/tag, 16-way associative > real memory = 2146304000 (2046 MB) > Physical memory chunk(s): > 0x0000000000001000 - 0x000000000009cfff, 638976 bytes (156 pages) > 0x0000000000777000 - 0x000000007c2b7fff, 2075398144 bytes (506689 pages) > avail memory = 2062643200 (1967 MB) > ACPI APIC Table: > panic: AP #1 (PHY# 1) failed! > cpuid = 0; > Stack backtrace: > backtrace() at backtrace+0x17 > panic() at panic+0x1d2 > start_all_aps() at start_all_aps+0x187 > cpu_mp_start() at cpu_mp_start+0x199 > mp_start() at mp_start+0x54 > mi_startup() at mi_startup+0xb8 > btext() at btext+0x2c > Debugger("panic") > Stopped at Debugger+0x4d: xchgl %ebx,0x27d461 I'm trying to figure this one out..... So I added a printf into init_secondary. This is namely the place where a variable (mp_naps) is incremented to make it out of the waiting loop in start_all_aps. BUT we never get to init_secondary, which I expected to be called from an interrupt routine. ini_secondary is called from an asm-sequence in mpboot.S which suggest that it is the first thing to be called once we get into 64bit mode??? Is there anywhere a description on how booting is done on UP or SMP (let alone SMP amd64??) --WjW (Again: under i386 this all works fine....) From owner-freebsd-amd64@FreeBSD.ORG Tue Jul 13 19:56:03 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5BCAB16A4CE for ; Tue, 13 Jul 2004 19:56:03 +0000 (GMT) Received: from mail4.speakeasy.net (mail4.speakeasy.net [216.254.0.204]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31DD943D2F for ; Tue, 13 Jul 2004 19:56:03 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 16324 invoked from network); 13 Jul 2004 19:56:02 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 13 Jul 2004 19:56:00 -0000 Received: from 10.50.41.229 (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i6DJtqsh018980; Tue, 13 Jul 2004 15:55:52 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-amd64@FreeBSD.org Date: Tue, 13 Jul 2004 15:57:05 -0400 User-Agent: KMail/1.6 References: <06b401c46591$49a2b600$471b3dd4@digiware.nl> <02b401c468dc$7c59a4c0$471b3dd4@digiware.nl> In-Reply-To: <02b401c468dc$7c59a4c0$471b3dd4@digiware.nl> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200407131557.05961.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx Subject: Re: Help my SMP is broken??? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 19:56:03 -0000 On Tuesday 13 July 2004 09:22 am, Willem Jan Withagen wrote: > > I'm trying to boot my dual opteron box with a recent kernel. > > Without ACPI is boots single processor, with ACPI I get the stuff > > downbelow. > > > > SMAP type=01 base=0000000000000000 len=00000000000a0000 > > SMAP type=02 base=00000000000f0000 len=0000000000010000 > > SMAP type=02 base=00000000fec00000 len=0000000001400000 > > SMAP type=02 base=000000007fef0000 len=0000000000010000 > > SMAP type=01 base=0000000000100000 len=000000007fde0000 > > SMAP type=03 base=000000007fee3000 len=000000000000d000 > > SMAP type=04 base=000000007fee0000 len=0000000000003000 > > Copyright (c) 1992-2004 The FreeBSD Project. > > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > > The Regents of the University of California. All rights reserved. > > FreeBSD 5.2-CURRENT #57: Fri Jul 9 10:46:05 CEST 2004 > > root@opteron.digiware.nl:/usr/obj/home2/src/sys/OPTERON.amd64 > > WARNING: WITNESS option enabled, expect reduced performance. > > WARNING: DIAGNOSTIC option enabled, expect reduced performance. > > Preloaded elf kernel "/boot/kernel/kernel" at 0xffffffff806f1000. > > Calibrating clock(s) ... i8254 clock: 1193255 Hz > > CLK_USE_I8254_CALIBRATION not specified - using default frequency > > Timecounter "i8254" frequency 1193182 Hz quality 0 > > Calibrating TSC clock ... TSC clock: 1603648612 Hz > > CPU: AMD Opteron(tm) Processor 242 (1603.65-MHz K8-class CPU) > > Origin = "AuthenticAMD" Id = 0xf51 Stepping = 1 > > Features=0x78bfbff,CM > > > OV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2> > > AMD Features=0xe0500800 > > L1 2MB data TLB: 8 entries, fully associative > > L1 2MB instruction TLB: 8 entries, fully associative > > L1 4KB data TLB: 32 entries, fully associative > > L1 4KB instruction TLB: 32 entries, fully associative > > L1 data cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way associative > > L1 instruction cache: 64 kbytes, 64 bytes/line, 1 lines/tag, 2-way > > associative L2 2MB unified TLB: 0 entries, disabled/not present > > L2 4KB data TLB: 512 entries, 4-way associative > > L2 4KB instruction TLB: 512 entries, 4-way associative > > L2 unified cache: 1024 kbytes, 64 bytes/line, 1 lines/tag, 16-way > > associative real memory = 2146304000 (2046 MB) > > Physical memory chunk(s): > > 0x0000000000001000 - 0x000000000009cfff, 638976 bytes (156 pages) > > 0x0000000000777000 - 0x000000007c2b7fff, 2075398144 bytes (506689 pages) > > avail memory = 2062643200 (1967 MB) > > ACPI APIC Table: > > panic: AP #1 (PHY# 1) failed! > > cpuid = 0; > > Stack backtrace: > > backtrace() at backtrace+0x17 > > panic() at panic+0x1d2 > > start_all_aps() at start_all_aps+0x187 > > cpu_mp_start() at cpu_mp_start+0x199 > > mp_start() at mp_start+0x54 > > mi_startup() at mi_startup+0xb8 > > btext() at btext+0x2c > > Debugger("panic") > > Stopped at Debugger+0x4d: xchgl %ebx,0x27d461 > > I'm trying to figure this one out..... > So I added a printf into init_secondary. This is namely the place where a > variable (mp_naps) is incremented to make it out of the waiting loop in > start_all_aps. > > BUT we never get to init_secondary, which I expected to be called from an > interrupt routine. ini_secondary is called from an asm-sequence in mpboot.S > which suggest that it is the first thing to be called once we get into > 64bit mode??? > > Is there anywhere a description on how booting is done on UP or SMP (let > alone SMP amd64??) Basically, when a CPU is started up, it starts up in 8086-style real mode executing the code in mpboot.s. That code brings the computer into protected mode and eventually into the same virtual addresses used by the kernel (the mpboot code is dual-mapped to allow for this transition). At that point the AP can safely call into the kernel and it calls init_secondary(). If the AP faults during the early boot code it will basically die and never get into init_secondary(). Also, if the IPI is somehow lost then it will never get into init_secondary(). -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-amd64@FreeBSD.ORG Tue Jul 13 21:08:01 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD66716A4CE; Tue, 13 Jul 2004 21:08:01 +0000 (GMT) Received: from freebee.digiware.nl (dsl390.iae.nl [212.61.63.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DD9543D1D; Tue, 13 Jul 2004 21:08:00 +0000 (GMT) (envelope-from wjw@withagen.nl) Received: from dual (dual [212.61.27.71]) by freebee.digiware.nl (8.12.10/8.12.10) with SMTP id i6DL6ZsD016386; Tue, 13 Jul 2004 23:06:36 +0200 (CEST) (envelope-from wjw@withagen.nl) Message-ID: <02e301c4691c$630f14b0$471b3dd4@digiware.nl> From: "Willem Jan Withagen" To: "John Baldwin" , References: <06b401c46591$49a2b600$471b3dd4@digiware.nl> <02b401c468dc$7c59a4c0$471b3dd4@digiware.nl> <200407131557.05961.jhb@FreeBSD.org> Date: Tue, 13 Jul 2004 23:00:11 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Subject: Re: Help my SMP is broken??? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 21:08:01 -0000 ----- Original Message ----- From: "John Baldwin" > On Tuesday 13 July 2004 09:22 am, Willem Jan Withagen wrote: > > > I'm trying to boot my dual opteron box with a recent kernel. > > > Without ACPI is boots single processor, with ACPI I get the stuff > > > downbelow. > > > ACPI APIC Table: > > > panic: AP #1 (PHY# 1) failed! > > > cpuid = 0; > > > Stack backtrace: > > > backtrace() at backtrace+0x17 > > > panic() at panic+0x1d2 > > > start_all_aps() at start_all_aps+0x187 > > > cpu_mp_start() at cpu_mp_start+0x199 > > > mp_start() at mp_start+0x54 > > > mi_startup() at mi_startup+0xb8 > > > btext() at btext+0x2c > > > Debugger("panic") > > > Stopped at Debugger+0x4d: xchgl %ebx,0x27d461 > > > > I'm trying to figure this one out..... > > So I added a printf into init_secondary. This is namely the place where a > > variable (mp_naps) is incremented to make it out of the waiting loop in > > start_all_aps. > > > > BUT we never get to init_secondary, which I expected to be called from an > > interrupt routine. ini_secondary is called from an asm-sequence in mpboot.S > > which suggest that it is the first thing to be called once we get into > > 64bit mode??? > > > > Is there anywhere a description on how booting is done on UP or SMP (let > > alone SMP amd64??) > > Basically, when a CPU is started up, it starts up in 8086-style real mode > executing the code in mpboot.s. That code brings the computer into protected > mode and eventually into the same virtual addresses used by the kernel (the > mpboot code is dual-mapped to allow for this transition). At that point the > AP can safely call into the kernel and it calls init_secondary(). If the AP > faults during the early boot code it will basically die and never get into > init_secondary(). Also, if the IPI is somehow lost then it will never get > into init_secondary(). Some of this I sort figured from comments in mpboot.s So any suggestions on how to debug this... Or could this be broken hardware: CPU APIC Motherboard ???? I'll try and boot - the amd64 version of Windows XP, to see what happens. - FreeBSD/amd64 in UP with APCI and see what goes?? What exactly is the AP??? and what is an IPI?? Perhaps stuppid questions, but I'm sort of 10 years out of processors and stuff. --WjW From owner-freebsd-amd64@FreeBSD.ORG Tue Jul 13 21:41:00 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A285016A4CE; Tue, 13 Jul 2004 21:41:00 +0000 (GMT) Received: from freebee.digiware.nl (dsl390.iae.nl [212.61.63.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id D374243D54; Tue, 13 Jul 2004 21:40:59 +0000 (GMT) (envelope-from wjw@withagen.nl) Received: from dual (dual [212.61.27.71]) by freebee.digiware.nl (8.12.10/8.12.10) with SMTP id i6DLdZsD016957; Tue, 13 Jul 2004 23:39:35 +0200 (CEST) (envelope-from wjw@withagen.nl) Message-ID: <030701c46920$fef38a60$471b3dd4@digiware.nl> From: "Willem Jan Withagen" To: "John Baldwin" , References: <06b401c46591$49a2b600$471b3dd4@digiware.nl><02b401c468dc$7c59a4c0$471b3dd4@digiware.nl><200407131557.05961.jhb@FreeBSD.org> <02e301c4691c$630f14b0$471b3dd4@digiware.nl> Date: Tue, 13 Jul 2004 23:33:10 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Subject: Re: Help my SMP is broken??? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 21:41:00 -0000 > From: "John Baldwin" > > On Tuesday 13 July 2004 09:22 am, Willem Jan Withagen wrote: > > > > I'm trying to boot my dual opteron box with a recent kernel. > > > > Without ACPI is boots single processor, with ACPI I get the stuff > > > > downbelow. > > > > ACPI APIC Table: > > > > panic: AP #1 (PHY# 1) failed! > > > > cpuid = 0; > > > > Stack backtrace: > > > > backtrace() at backtrace+0x17 > > > > panic() at panic+0x1d2 > > > > start_all_aps() at start_all_aps+0x187 > > > > cpu_mp_start() at cpu_mp_start+0x199 > > > > mp_start() at mp_start+0x54 > > > > mi_startup() at mi_startup+0xb8 > > > > btext() at btext+0x2c > > > > Debugger("panic") > > > > Stopped at Debugger+0x4d: xchgl %ebx,0x27d461 > > > > > > I'm trying to figure this one out..... > > > So I added a printf into init_secondary. This is namely the place where a > > > variable (mp_naps) is incremented to make it out of the waiting loop in > > > start_all_aps. > > > > > > BUT we never get to init_secondary, which I expected to be called from an > > > interrupt routine. ini_secondary is called from an asm-sequence in mpboot.S > > > which suggest that it is the first thing to be called once we get into > > > 64bit mode??? > > > > > > Is there anywhere a description on how booting is done on UP or SMP (let > > > alone SMP amd64??) > > > > Basically, when a CPU is started up, it starts up in 8086-style real mode > > executing the code in mpboot.s. That code brings the computer into protected > > mode and eventually into the same virtual addresses used by the kernel (the > > mpboot code is dual-mapped to allow for this transition). At that point the > > AP can safely call into the kernel and it calls init_secondary(). If the AP > > faults during the early boot code it will basically die and never get into > > init_secondary(). Also, if the IPI is somehow lost then it will never get > > into init_secondary(). > > Some of this I sort figured from comments in mpboot.s > > So any suggestions on how to debug this... > Or could this be broken hardware: > CPU > APIC > Motherboard > ???? > > I'll try and boot > - the amd64 version of Windows XP, to see what happens. > - FreeBSD/amd64 in UP with APCI > and see what goes?? > > What exactly is the AP??? and what is an IPI?? > Perhaps stuppid questions, but I'm sort of 10 years out of processors and stuff. Well, booting Windows/64 XP seems to be a good "heilmeister" for the trouble: real memory = 2146304000 (2046 MB) Physical memory chunk(s): 0x0000000000001000 - 0x000000000009bfff, 634880 bytes (155 pages) 0x000000000074c000 - 0x000000007c2b7fff, 2075574272 bytes (506732 pages) avail memory = 2062815232 (1967 MB) ACPI APIC Table: SMP: bootAP CPU #1 Trying to launch! APIC ID: physical 0, logical 0:0 APIC ID: physical 1, logical 0:1 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 APIC: CPU 0 has ACPI ID 0 APIC: CPU 1 has ACPI ID 1 MADT: Found IO APIC ID 2, Interrupt 0 at 0xfec00000 And now the box just boots fine??? Any suggestions what XP might have fixed???? Can't be that a firmware setting is sticky and windows unglued it?! --WjW From owner-freebsd-amd64@FreeBSD.ORG Tue Jul 13 12:47:38 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C06E316A4CE for ; Tue, 13 Jul 2004 12:47:38 +0000 (GMT) Received: from fed1rmmtao07.cox.net (fed1rmmtao07.cox.net [68.230.241.32]) by mx1.FreeBSD.org (Postfix) with ESMTP id 883F943D49 for ; Tue, 13 Jul 2004 12:47:38 +0000 (GMT) (envelope-from jeffkaffen@cox.net) Received: from jeff ([68.230.109.206]) by fed1rmmtao07.cox.net (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP id <20040713124737.YPDP26517.fed1rmmtao07.cox.net@jeff> for ; Tue, 13 Jul 2004 08:47:37 -0400 From: "Jeff Kaffenberger" To: Date: Tue, 13 Jul 2004 05:48:26 -0700 MIME-Version: 1.0 X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcRoizzt8eUeE04+QJO4WQpacShv6Q== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Message-Id: <20040713124737.YPDP26517.fed1rmmtao07.cox.net@jeff> X-Mailman-Approved-At: Tue, 13 Jul 2004 22:05:40 +0000 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: 64bit BSD X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 12:47:38 -0000 I was unable to find a downloadable copy of 64bit BSD. Could you direct me to an FTP or HTTP site to grab it? Thanks. From owner-freebsd-amd64@FreeBSD.ORG Tue Jul 13 22:19:51 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9473716A4CE for ; Tue, 13 Jul 2004 22:19:51 +0000 (GMT) Received: from mailtest.sd73.bc.ca (mailtest.sd73.bc.ca [142.24.13.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6727343D31 for ; Tue, 13 Jul 2004 22:19:51 +0000 (GMT) (envelope-from fcash-ml@sd73.bc.ca) Received: from localhost (localhost [127.0.0.1]) by mailtest.sd73.bc.ca (Postfix) with ESMTP id 3E055255B2 for ; Tue, 13 Jul 2004 15:19:48 -0700 (PDT) Received: from mailtest.sd73.bc.ca ([127.0.0.1]) by localhost (mailtest.sd73.bc.ca [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 91317-10 for ; Tue, 13 Jul 2004 15:19:48 -0700 (PDT) Received: from [192.168.0.166] (unknown [192.168.0.166]) by mailtest.sd73.bc.ca (Postfix) with ESMTP id 0FAE2255AF for ; Tue, 13 Jul 2004 15:19:48 -0700 (PDT) From: Freddie Cash Organization: School District 73 - Kamloops, BC To: freebsd-amd64@freebsd.org Date: Tue, 13 Jul 2004 15:19:26 -0700 User-Agent: KMail/1.6.2 References: <20040713124737.YPDP26517.fed1rmmtao07.cox.net@jeff> In-Reply-To: <20040713124737.YPDP26517.fed1rmmtao07.cox.net@jeff> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200407131519.26773.fcash-ml@sd73.bc.ca> X-Virus-Scanned: by amavisd-new at sd73.bc.ca Subject: Re: 64bit BSD X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Jul 2004 22:19:51 -0000 On July 13, 2004 05:48 am, Jeff Kaffenberger wrote: > I was unable to find a downloadable copy of 64bit BSD. Could you > direct me to an FTP or HTTP site to grab it? Thanks. You obviously didn't try very hard as it's right there on ftp.freebsd.org. :) Look at all the amd64 directories under ftp://ftp.freebsd.org/pub/FreeBSD/ :D -- Freddie Cash, CCNT CCLP Helpdesk / Network Support Tech. School District 73 (250) 377-HELP [377-4357] fcash-ml@sd73.bc.ca From owner-freebsd-amd64@FreeBSD.ORG Wed Jul 14 15:34:33 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3985816A4CE for ; Wed, 14 Jul 2004 15:34:33 +0000 (GMT) Received: from freebee.digiware.nl (dsl390.iae.nl [212.61.63.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2E07C43D53 for ; Wed, 14 Jul 2004 15:34:27 +0000 (GMT) (envelope-from wjw@withagen.nl) Received: from dual (dual [212.61.27.71]) by freebee.digiware.nl (8.12.10/8.12.10) with SMTP id i6EFWxsD037800 for ; Wed, 14 Jul 2004 17:32:59 +0200 (CEST) (envelope-from wjw@withagen.nl) Message-ID: <060901c469b6$f188df60$471b3dd4@digiware.nl> From: "Willem Jan Withagen" To: Date: Wed, 14 Jul 2004 17:26:32 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Subject: Comconsole speed setting X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2004 15:34:33 -0000 Where is this done?? I've now sort search all I could think of: /etc/make.conf BOOT_COMCONSOLE_SPEED= 115200 BOOT_COMCONSOLE_PORT= 0x3F8 CONSPEED=115200 config: options CONSPEED=115200 But I keep getting 9600 b/s What is next to try? --WjW From owner-freebsd-amd64@FreeBSD.ORG Wed Jul 14 16:53:43 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52F0116A4CE for ; Wed, 14 Jul 2004 16:53:43 +0000 (GMT) Received: from mail1.speakeasy.net (mail1.speakeasy.net [216.254.0.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2F13343D45 for ; Wed, 14 Jul 2004 16:53:38 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 1717 invoked from network); 14 Jul 2004 16:53:37 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 14 Jul 2004 16:53:37 -0000 Received: from 10.50.41.229 (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i6EGrYTI026041; Wed, 14 Jul 2004 12:53:34 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: freebsd-amd64@FreeBSD.org Date: Wed, 14 Jul 2004 12:54:49 -0400 User-Agent: KMail/1.6 References: <06b401c46591$49a2b600$471b3dd4@digiware.nl> <200407131557.05961.jhb@FreeBSD.org> <02e301c4691c$630f14b0$471b3dd4@digiware.nl> In-Reply-To: <02e301c4691c$630f14b0$471b3dd4@digiware.nl> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200407141254.49921.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx Subject: Re: Help my SMP is broken??? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2004 16:53:43 -0000 On Tuesday 13 July 2004 05:00 pm, Willem Jan Withagen wrote: > ----- Original Message ----- > From: "John Baldwin" > > > On Tuesday 13 July 2004 09:22 am, Willem Jan Withagen wrote: > > > > I'm trying to boot my dual opteron box with a recent kernel. > > > > Without ACPI is boots single processor, with ACPI I get the stuff > > > > downbelow. > > > > ACPI APIC Table: > > > > panic: AP #1 (PHY# 1) failed! > > > > cpuid = 0; > > > > Stack backtrace: > > > > backtrace() at backtrace+0x17 > > > > panic() at panic+0x1d2 > > > > start_all_aps() at start_all_aps+0x187 > > > > cpu_mp_start() at cpu_mp_start+0x199 > > > > mp_start() at mp_start+0x54 > > > > mi_startup() at mi_startup+0xb8 > > > > btext() at btext+0x2c > > > > Debugger("panic") > > > > Stopped at Debugger+0x4d: xchgl %ebx,0x27d461 > > > > > > I'm trying to figure this one out..... > > > So I added a printf into init_secondary. This is namely the place where > > > a variable (mp_naps) is incremented to make it out of the waiting loop > > > in start_all_aps. > > > > > > BUT we never get to init_secondary, which I expected to be called from > > > an interrupt routine. ini_secondary is called from an asm-sequence in > > > mpboot.S which suggest that it is the first thing to be called once we > > > get into 64bit mode??? > > > > > > Is there anywhere a description on how booting is done on UP or SMP > > > (let alone SMP amd64??) > > > > Basically, when a CPU is started up, it starts up in 8086-style real mode > > executing the code in mpboot.s. That code brings the computer into > > protected mode and eventually into the same virtual addresses used by the > > kernel (the mpboot code is dual-mapped to allow for this transition). At > > that point the AP can safely call into the kernel and it calls > > init_secondary(). If the AP faults during the early boot code it will > > basically die and never get into init_secondary(). Also, if the IPI is > > somehow lost then it will never get into init_secondary(). > > Some of this I sort figured from comments in mpboot.s > > So any suggestions on how to debug this... > Or could this be broken hardware: > CPU > APIC > Motherboard > ???? Well, it might be that there's a bug in mpboot.s. :) I'm not familiar with the amd64 bootstrap though, peter@FreeBSD.org is the most familiar with it. > I'll try and boot > - the amd64 version of Windows XP, to see what happens. > - FreeBSD/amd64 in UP with APCI > and see what goes?? > > What exactly is the AP??? and what is an IPI?? > Perhaps stuppid questions, but I'm sort of 10 years out of processors and > stuff. AP = Application Processor in Intel lingo. The boot processor is called the BSP and all other CPUs are called APs. IPI = Inter-Processor Interrupt. Basically, one CPU sends an interrupt message to one or more CPUs. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-amd64@FreeBSD.ORG Wed Jul 14 18:58:23 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2ACB816A4CE for ; Wed, 14 Jul 2004 18:58:23 +0000 (GMT) Received: from mail6.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07D0F43D4C for ; Wed, 14 Jul 2004 18:58:23 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: (qmail 9245 invoked from network); 14 Jul 2004 18:58:22 -0000 Received: from dsl027-160-063.atl1.dsl.speakeasy.net (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) encrypted SMTP for ; 14 Jul 2004 18:58:22 -0000 Received: from 10.50.41.229 (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.11/8.12.11) with ESMTP id i6EIwHN8026798; Wed, 14 Jul 2004 14:58:17 -0400 (EDT) (envelope-from jhb@FreeBSD.org) From: John Baldwin To: "Willem Jan Withagen" Date: Wed, 14 Jul 2004 14:59:32 -0400 User-Agent: KMail/1.6 References: <06b401c46591$49a2b600$471b3dd4@digiware.nl> <02e301c4691c$630f14b0$471b3dd4@digiware.nl> <030701c46920$fef38a60$471b3dd4@digiware.nl> In-Reply-To: <030701c46920$fef38a60$471b3dd4@digiware.nl> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200407141459.32024.jhb@FreeBSD.org> X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on server.baldwin.cx cc: freebsd-amd64@FreeBSD.org Subject: Re: Help my SMP is broken??? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2004 18:58:23 -0000 On Tuesday 13 July 2004 05:33 pm, Willem Jan Withagen wrote: > > From: "John Baldwin" > > > > > On Tuesday 13 July 2004 09:22 am, Willem Jan Withagen wrote: > > > > > I'm trying to boot my dual opteron box with a recent kernel. > > > > > Without ACPI is boots single processor, with ACPI I get the stuff > > > > > downbelow. > > > > > ACPI APIC Table: > > > > > panic: AP #1 (PHY# 1) failed! > > > > > cpuid = 0; > > > > > Stack backtrace: > > > > > backtrace() at backtrace+0x17 > > > > > panic() at panic+0x1d2 > > > > > start_all_aps() at start_all_aps+0x187 > > > > > cpu_mp_start() at cpu_mp_start+0x199 > > > > > mp_start() at mp_start+0x54 > > > > > mi_startup() at mi_startup+0xb8 > > > > > btext() at btext+0x2c > > > > > Debugger("panic") > > > > > Stopped at Debugger+0x4d: xchgl %ebx,0x27d461 > > > > > > > > I'm trying to figure this one out..... > > > > So I added a printf into init_secondary. This is namely the place > > > > where a variable (mp_naps) is incremented to make it out of the > > > > waiting loop in start_all_aps. > > > > > > > > BUT we never get to init_secondary, which I expected to be called > > > > from an interrupt routine. ini_secondary is called from an > > > > asm-sequence in > > mpboot.S > > > > > which suggest that it is the first thing to be called once we get > > > > into 64bit mode??? > > > > > > > > Is there anywhere a description on how booting is done on UP or SMP > > > > (let alone SMP amd64??) > > > > > > Basically, when a CPU is started up, it starts up in 8086-style real > > > mode executing the code in mpboot.s. That code brings the computer > > > into > > protected > > > > mode and eventually into the same virtual addresses used by the kernel > > > (the mpboot code is dual-mapped to allow for this transition). At that > > > point the AP can safely call into the kernel and it calls > > > init_secondary(). If the AP faults during the early boot code it will > > > basically die and never get into init_secondary(). Also, if the IPI is > > > somehow lost then it will never get into init_secondary(). > > > > Some of this I sort figured from comments in mpboot.s > > > > So any suggestions on how to debug this... > > Or could this be broken hardware: > > CPU > > APIC > > Motherboard > > ???? > > > > I'll try and boot > > - the amd64 version of Windows XP, to see what happens. > > - FreeBSD/amd64 in UP with APCI > > and see what goes?? > > > > What exactly is the AP??? and what is an IPI?? > > Perhaps stuppid questions, but I'm sort of 10 years out of processors and > > stuff. > > Well, booting Windows/64 XP seems to be a good "heilmeister" for the > trouble: > > real memory = 2146304000 (2046 MB) > Physical memory chunk(s): > 0x0000000000001000 - 0x000000000009bfff, 634880 bytes (155 pages) > 0x000000000074c000 - 0x000000007c2b7fff, 2075574272 bytes (506732 pages) > avail memory = 2062815232 (1967 MB) > ACPI APIC Table: > SMP: bootAP CPU #1 Trying to launch! > APIC ID: physical 0, logical 0:0 > APIC ID: physical 1, logical 0:1 > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > APIC: CPU 0 has ACPI ID 0 > APIC: CPU 1 has ACPI ID 1 > MADT: Found IO APIC ID 2, Interrupt 0 at 0xfec00000 > > And now the box just boots fine??? > > Any suggestions what XP might have fixed???? Can't be that a firmware > setting is sticky and windows unglued it?! I have no idea. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.org From owner-freebsd-amd64@FreeBSD.ORG Wed Jul 14 20:05:06 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A925616A4CE; Wed, 14 Jul 2004 20:05:06 +0000 (GMT) Received: from freebee.digiware.nl (dsl390.iae.nl [212.61.63.138]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD05B43D1D; Wed, 14 Jul 2004 20:05:05 +0000 (GMT) (envelope-from wjw@withagen.nl) Received: from dual (dual [212.61.27.71]) by freebee.digiware.nl (8.12.10/8.12.10) with SMTP id i6EK3asD043316; Wed, 14 Jul 2004 22:03:37 +0200 (CEST) (envelope-from wjw@withagen.nl) Message-ID: <069c01c469dc$c0dac1a0$471b3dd4@digiware.nl> From: "Willem Jan Withagen" To: "John Baldwin" References: <06b401c46591$49a2b600$471b3dd4@digiware.nl> <02e301c4691c$630f14b0$471b3dd4@digiware.nl> <030701c46920$fef38a60$471b3dd4@digiware.nl> <200407141459.32024.jhb@FreeBSD.org> Date: Wed, 14 Jul 2004 21:57:08 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 cc: freebsd-amd64@FreeBSD.org Subject: Re: Help my SMP is broken??? X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jul 2004 20:05:06 -0000 > > > Well, booting Windows/64 XP seems to be a good "heilmeister" for the > > trouble: > > > > real memory = 2146304000 (2046 MB) > > Physical memory chunk(s): > > 0x0000000000001000 - 0x000000000009bfff, 634880 bytes (155 pages) > > 0x000000000074c000 - 0x000000007c2b7fff, 2075574272 bytes (506732 pages) > > avail memory = 2062815232 (1967 MB) > > ACPI APIC Table: > > SMP: bootAP CPU #1 Trying to launch! > > APIC ID: physical 0, logical 0:0 > > APIC ID: physical 1, logical 0:1 > > FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs > > cpu0 (BSP): APIC ID: 0 > > cpu1 (AP): APIC ID: 1 > > APIC: CPU 0 has ACPI ID 0 > > APIC: CPU 1 has ACPI ID 1 > > MADT: Found IO APIC ID 2, Interrupt 0 at 0xfec00000 > > > > And now the box just boots fine??? > > > > Any suggestions what XP might have fixed???? Can't be that a firmware > > setting is sticky and windows unglued it?! > > I have no idea. > > -- > John Baldwin <>< http://www.FreeBSD.org/~jhb/ Well, for the time I'm just calling it alpha-particles, since I've seen this system fly just about every direction possible. Lets just hope -current is in a sort of flux state for my box. I've got an old 17-june kernel, which does just fine. Probably we'll converge back again into less panics. --WjW From owner-freebsd-amd64@FreeBSD.ORG Thu Jul 15 22:59:15 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 86D3D16A505 for ; Thu, 15 Jul 2004 22:59:14 +0000 (GMT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8B88643D1D for ; Thu, 15 Jul 2004 22:59:13 +0000 (GMT) (envelope-from dev@opensound.com) Received: from [192.1.2.22] (c-24-127-17-145.we.client2.attbi.com[24.127.17.145]) by comcast.net (rwcrmhc12) with ESMTP id <20040715225912014003fdjne> (Authid: opensound); Thu, 15 Jul 2004 22:59:13 +0000 Message-ID: <40F70C3A.5020300@opensound.com> Date: Thu, 15 Jul 2004 15:59:06 -0700 From: 4Front Technologies User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-amd64@FreeBSD.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: KLD support in FreeBSD/AMD64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jul 2004 22:59:16 -0000 Hi, We are trying to get Open Sound System modules compiled under FreeBSD/AMD64. I looked at the /usr/share/examples/kld/cdev example and it fails to link: ld: cdev.kld: relocation R_X86_64_32S can not be used when making a shared object; recompile with -fPIC cdev.kld: could not read symbols: Bad value If I add -fPIC to the compile files (I have to remove -mcmodel=kernel and -no-redzone) then the module links but running kldload cdev.ko causes: kldload: unexpected relocation type 7 link_elf: symbol copyinstr undefined We are seeing the same problems in our OSS modules. So is there any work going on to add KLD support for FreeBSD/AMD64? Best regards Dev Mazumdar ----------------------------------------------------------- 4Front Technologies 4035 Lafayette Place, Unit F, Culver City, CA 90232, USA. Tel: (310) 202 8530 URL: www.opensound.com Fax: (310) 202 0496 Email: info@opensound.com ----------------------------------------------------------- From owner-freebsd-amd64@FreeBSD.ORG Fri Jul 16 06:35:03 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15DF016A4CE for ; Fri, 16 Jul 2004 06:35:03 +0000 (GMT) Received: from robbins.dropbear.id.au (019.b.012.mel.iprimus.net.au [210.50.249.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 66E7B43D46 for ; Fri, 16 Jul 2004 06:35:02 +0000 (GMT) (envelope-from tim@robbins.dropbear.id.au) Received: by robbins.dropbear.id.au (Postfix, from userid 1000) id 922E141FD; Fri, 16 Jul 2004 16:35:00 +1000 (EST) Date: Fri, 16 Jul 2004 16:35:00 +1000 From: Tim Robbins To: 4Front Technologies Message-ID: <20040716063500.GA23719@cat.robbins.dropbear.id.au> References: <40F70C3A.5020300@opensound.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40F70C3A.5020300@opensound.com> User-Agent: Mutt/1.4.1i cc: freebsd-amd64@freebsd.org Subject: Re: KLD support in FreeBSD/AMD64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jul 2004 06:35:03 -0000 On Thu, Jul 15, 2004 at 03:59:06PM -0700, 4Front Technologies wrote: > Hi, > > We are trying to get Open Sound System modules compiled under FreeBSD/AMD64. > I looked at the /usr/share/examples/kld/cdev example and it fails to link: > > ld: cdev.kld: relocation R_X86_64_32S can not be used when making a shared > object; recompile with -fPIC > cdev.kld: could not read symbols: Bad value > > If I add -fPIC to the compile files (I have to remove -mcmodel=kernel and > -no-redzone) then the module links but running kldload cdev.ko causes: > > kldload: unexpected relocation type 7 > link_elf: symbol copyinstr undefined > > We are seeing the same problems in our OSS modules. So is there any work > going on to add KLD support for FreeBSD/AMD64? FreeBSD -CURRENT supports modules on amd64, but 5.2.1-R and -current snapshots more than a few months old don't. Tim From owner-freebsd-amd64@FreeBSD.ORG Fri Jul 16 10:17:47 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9387716A4CE; Fri, 16 Jul 2004 10:17:47 +0000 (GMT) Received: from smtp3b.sentex.ca (smtp3b.sentex.ca [205.211.164.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BC4F43D49; Fri, 16 Jul 2004 10:17:47 +0000 (GMT) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by smtp3b.sentex.ca (8.12.11/8.12.11) with ESMTP id i6GAHkee010203; Fri, 16 Jul 2004 06:17:46 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp1.sentex.ca (8.12.11/8.12.11) with ESMTP id i6GAHkf4093034; Fri, 16 Jul 2004 06:17:46 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 5F8787303F; Fri, 16 Jul 2004 06:17:46 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20040716101746.5F8787303F@freebsd-current.sentex.ca> Date: Fri, 16 Jul 2004 06:17:46 -0400 (EDT) Subject: [current tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jul 2004 10:17:47 -0000 TB --- 2004-07-16 09:12:46 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2004-07-16 09:12:46 - starting CURRENT tinderbox run for amd64/amd64 TB --- 2004-07-16 09:12:46 - checking out the source tree TB --- 2004-07-16 09:12:46 - cd /home/tinderbox/sandbox/CURRENT/amd64/amd64 TB --- 2004-07-16 09:12:46 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2004-07-16 09:17:59 - building world (CFLAGS=-O2 -pipe) TB --- 2004-07-16 09:17:59 - cd /home/tinderbox/sandbox/CURRENT/amd64/amd64/src TB --- 2004-07-16 09:17:59 - /usr/bin/make -B buildworld >>> 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 TB --- 2004-07-16 10:17:45 - building generic kernel (COPTFLAGS=-O2 -pipe) TB --- 2004-07-16 10:17:45 - cd /home/tinderbox/sandbox/CURRENT/amd64/amd64/src TB --- 2004-07-16 10:17:45 - /usr/bin/make buildkernel KERNCONF=GENERIC >>> Kernel build for GENERIC started on Fri Jul 16 10:17:45 UTC 2004 >>> stage 1: configuring the kernel -------------------------------------------------------------- cd /tinderbox/CURRENT/amd64/amd64/src/sys/amd64/conf; PATH=/home/tinderbox/sandbox/CURRENT/amd64/amd64/obj/amd64/tinderbox/CURRENT/amd64/amd64/src/i386/legacy/usr/sbin:/home/tinderbox/sandbox/CURRENT/amd64/amd64/obj/amd64/tinderbox/CURRENT/amd64/amd64/src/i386/legacy/usr/bin:/home/tinderbox/sandbox/CURRENT/amd64/amd64/obj/amd64/tinderbox/CURRENT/amd64/amd64/src/i386/legacy/usr/games:/home/tinderbox/sandbox/CURRENT/amd64/amd64/obj/amd64/tinderbox/CURRENT/amd64/amd64/src/i386/usr/sbin:/home/tinderbox/sandbox/CURRENT/amd64/amd64/obj/amd64/tinderbox/CURRENT/amd64/amd64/src/i386/usr/bin:/home/tinderbox/sandbox/CURRENT/amd64/amd64/obj/amd64/tinderbox/CURRENT/amd64/amd64/src/i386/usr/games:/sbin:/bin:/usr/sbin:/usr/bin config -d /home/tinderbox/sandbox/CURRENT/amd64/amd64/obj/amd64/tinderbox/CURRENT/amd64/amd64/src/sys/GENERIC /tinderbox/CURRENT/amd64/amd64/src/sys/amd64/conf/GENERIC config: Error: device "pcm" is unknown config: 1 errors *** Error code 1 Stop in /tinderbox/CURRENT/amd64/amd64/src. *** Error code 1 Stop in /tinderbox/CURRENT/amd64/amd64/src. TB --- 2004-07-16 10:17:46 - WARNING: /usr/bin/make returned exit code 1 TB --- 2004-07-16 10:17:46 - ERROR: failed to build generic kernel TB --- 2004-07-16 10:17:46 - tinderbox aborted From owner-freebsd-amd64@FreeBSD.ORG Fri Jul 16 16:00:35 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2456716A4CE; Fri, 16 Jul 2004 16:00:35 +0000 (GMT) Received: from sccrmhc13.comcast.net (sccrmhc13.comcast.net [204.127.202.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88BD443D3F; Fri, 16 Jul 2004 16:00:34 +0000 (GMT) (envelope-from dev@opensound.com) Received: from [192.1.2.22] (c-24-127-17-145.we.client2.attbi.com[24.127.17.145]) by comcast.net (sccrmhc13) with ESMTP id <2004071616003301600bgu35e> (Authid: opensound); Fri, 16 Jul 2004 16:00:33 +0000 Message-ID: <40F7FBA1.30602@opensound.com> Date: Fri, 16 Jul 2004 09:00:33 -0700 From: 4Front Technologies User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040616 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tim Robbins References: <40F70C3A.5020300@opensound.com> <20040716063500.GA23719@cat.robbins.dropbear.id.au> In-Reply-To: <20040716063500.GA23719@cat.robbins.dropbear.id.au> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-amd64@freebsd.org Subject: Re: KLD support in FreeBSD/AMD64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Jul 2004 16:00:35 -0000 Tim Robbins wrote: > On Thu, Jul 15, 2004 at 03:59:06PM -0700, 4Front Technologies wrote: > >>Hi, >> >>We are trying to get Open Sound System modules compiled under FreeBSD/AMD64. >>I looked at the /usr/share/examples/kld/cdev example and it fails to link: >> >>ld: cdev.kld: relocation R_X86_64_32S can not be used when making a shared >>object; recompile with -fPIC >>cdev.kld: could not read symbols: Bad value >> >>If I add -fPIC to the compile files (I have to remove -mcmodel=kernel and >>-no-redzone) then the module links but running kldload cdev.ko causes: >> >>kldload: unexpected relocation type 7 >>link_elf: symbol copyinstr undefined >> >>We are seeing the same problems in our OSS modules. So is there any work >>going on to add KLD support for FreeBSD/AMD64? > > > FreeBSD -CURRENT supports modules on amd64, but 5.2.1-R and -current > snapshots more than a few months old don't. > > > Tim > Thanks Tim. I really appreciate your help. Let's hope that the -CURRENT has fixed problems with the gcc compilers (-fPIC and -mcmodel=kernel problems) as well. best regards Dev Mazumdar -- ----------------------------------------------------------- 4Front Technologies 4035 Lafayette Place, Unit F, Culver City, CA 90232, USA. Tel: (310) 202 8530 URL: www.opensound.com Fax: (310) 202 0496 Email: info@opensound.com ----------------------------------------------------------- From owner-freebsd-amd64@FreeBSD.ORG Sat Jul 17 00:22:06 2004 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EBBB916A4CE; Sat, 17 Jul 2004 00:22:06 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C9D3643D3F; Sat, 17 Jul 2004 00:22:06 +0000 (GMT) (envelope-from dannyboy@FreeBSD.org) Received: from freefall.freebsd.org (dannyboy@localhost [127.0.0.1]) i6H0M64v004935; Sat, 17 Jul 2004 00:22:06 GMT (envelope-from dannyboy@freefall.freebsd.org) Received: (from dannyboy@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6H0M63C004931; Sat, 17 Jul 2004 00:22:06 GMT (envelope-from dannyboy) Date: Sat, 17 Jul 2004 00:22:06 GMT From: Daniel Harris Message-Id: <200407170022.i6H0M63C004931@freefall.freebsd.org> To: roemer.ulrich@gmx.de, dannyboy@FreeBSD.org, freebsd-amd64@FreeBSD.org Subject: Re: amd64/59713: X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jul 2004 00:22:07 -0000 Synopsis: State-Changed-From-To: open->closed State-Changed-By: dannyboy State-Changed-When: Sat Jul 17 00:21:46 GMT 2004 State-Changed-Why: Superseded by 59714. http://www.freebsd.org/cgi/query-pr.cgi?pr=59713 From owner-freebsd-amd64@FreeBSD.ORG Sat Jul 17 00:28:21 2004 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E24D816A4CE; Sat, 17 Jul 2004 00:28:21 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C449443D3F; Sat, 17 Jul 2004 00:28:21 +0000 (GMT) (envelope-from dannyboy@FreeBSD.org) Received: from freefall.freebsd.org (dannyboy@localhost [127.0.0.1]) i6H0SLQw005061; Sat, 17 Jul 2004 00:28:21 GMT (envelope-from dannyboy@freefall.freebsd.org) Received: (from dannyboy@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6H0SLTW005057; Sat, 17 Jul 2004 00:28:21 GMT (envelope-from dannyboy) Date: Sat, 17 Jul 2004 00:28:21 GMT From: Daniel Harris Message-Id: <200407170028.i6H0SLTW005057@freefall.freebsd.org> To: dannyboy@FreeBSD.org, freebsd-amd64@FreeBSD.org, julian@FreeBSD.org Subject: Re: amd64/67712: Extra informal text when trying to dump but dumpdev is not set. X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jul 2004 00:28:22 -0000 Synopsis: Extra informal text when trying to dump but dumpdev is not set. Responsible-Changed-From-To: freebsd-amd64->julian Responsible-Changed-By: dannyboy Responsible-Changed-When: Sat Jul 17 00:27:03 GMT 2004 Responsible-Changed-Why: julian added the check in question, before this file was amd64. http://www.freebsd.org/cgi/query-pr.cgi?pr=67712 From owner-freebsd-amd64@FreeBSD.ORG Sat Jul 17 10:07:25 2004 Return-Path: Delivered-To: freebsd-amd64@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D8BD416A556; Sat, 17 Jul 2004 10:07:25 +0000 (GMT) Received: from smtp3.sentex.ca (smtp3.sentex.ca [64.7.153.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 941FB43D60; Sat, 17 Jul 2004 10:07:25 +0000 (GMT) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smtp3.sentex.ca (8.12.11/8.12.11) with ESMTP id i6HA7O9U093627; Sat, 17 Jul 2004 06:07:24 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by smtp2.sentex.ca (8.12.11/8.12.11) with ESMTP id i6HA7PCl059511; Sat, 17 Jul 2004 06:07:25 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id E18557303F; Sat, 17 Jul 2004 06:07:24 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20040717100724.E18557303F@freebsd-current.sentex.ca> Date: Sat, 17 Jul 2004 06:07:24 -0400 (EDT) Subject: [current tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.1 List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Jul 2004 10:07:26 -0000 TB --- 2004-07-17 09:09:28 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2004-07-17 09:09:28 - starting CURRENT tinderbox run for amd64/amd64 TB --- 2004-07-17 09:09:28 - checking out the source tree TB --- 2004-07-17 09:09:28 - cd /home/tinderbox/sandbox/CURRENT/amd64/amd64 TB --- 2004-07-17 09:09:28 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2004-07-17 09:14:37 - building world (CFLAGS=-O2 -pipe) TB --- 2004-07-17 09:14:37 - cd /home/tinderbox/sandbox/CURRENT/amd64/amd64/src TB --- 2004-07-17 09:14:37 - /usr/bin/make -B buildworld >>> 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 [...] ===> usr.bin/hexdump cc -O2 -pipe -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /tinderbox/CURRENT/amd64/amd64/src/usr.bin/hexdump/conv.c cc -O2 -pipe -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /tinderbox/CURRENT/amd64/amd64/src/usr.bin/hexdump/display.c cc -O2 -pipe -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /tinderbox/CURRENT/amd64/amd64/src/usr.bin/hexdump/hexdump.c cc -O2 -pipe -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /tinderbox/CURRENT/amd64/amd64/src/usr.bin/hexdump/hexsyntax.c cc -O2 -pipe -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /tinderbox/CURRENT/amd64/amd64/src/usr.bin/hexdump/odsyntax.c /tinderbox/CURRENT/amd64/amd64/src/usr.bin/hexdump/odsyntax.c: In function `odoffset': /tinderbox/CURRENT/amd64/amd64/src/usr.bin/hexdump/odsyntax.c:249: warning: dereferencing type-punned pointer will break strict-aliasing rules *** Error code 1 Stop in /tinderbox/CURRENT/amd64/amd64/src/usr.bin/hexdump. *** Error code 1 Stop in /tinderbox/CURRENT/amd64/amd64/src/usr.bin. *** Error code 1 Stop in /tinderbox/CURRENT/amd64/amd64/src. *** Error code 1 Stop in /tinderbox/CURRENT/amd64/amd64/src. *** Error code 1 Stop in /tinderbox/CURRENT/amd64/amd64/src. TB --- 2004-07-17 10:07:24 - WARNING: /usr/bin/make returned exit code 1 TB --- 2004-07-17 10:07:24 - ERROR: failed to build world TB --- 2004-07-17 10:07:24 - tinderbox aborted