From owner-freebsd-ppc@FreeBSD.ORG Sun Apr 8 20:26:41 2007 Return-Path: X-Original-To: powerpc@freebsd.org Delivered-To: freebsd-ppc@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B582F16A400; Sun, 8 Apr 2007 20:26:41 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 8D63513C45B; Sun, 8 Apr 2007 20:26:41 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.13.8/8.13.8) with ESMTP id l38KQfr3008128; Sun, 8 Apr 2007 16:26:41 -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.13.8/8.13.8) with ESMTP id l38KQfcH052493; Sun, 8 Apr 2007 16:26:41 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id E2F3C73039; Sun, 8 Apr 2007 16:26:40 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070408202640.E2F3C73039@freebsd-current.sentex.ca> Date: Sun, 8 Apr 2007 16:26:40 -0400 (EDT) X-Virus-Scanned: ClamAV version devel-20070108, clamav-milter version devel-111206 on clamscanner2 X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Apr 2007 20:26:41 -0000 TB --- 2007-04-08 19:08:41 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2007-04-08 19:08:41 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2007-04-08 19:08:41 - cleaning the object tree TB --- 2007-04-08 19:09:13 - checking out the source tree TB --- 2007-04-08 19:09:13 - cd /tinderbox/HEAD/powerpc/powerpc TB --- 2007-04-08 19:09:13 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2007-04-08 19:18:16 - building world (CFLAGS=-O2 -pipe) TB --- 2007-04-08 19:18:16 - cd /src TB --- 2007-04-08 19:18:16 - /usr/bin/make -B buildworld >>> World build started on Sun Apr 8 19:18:17 UTC 2007 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Sun Apr 8 20:22:17 UTC 2007 TB --- 2007-04-08 20:22:17 - generating LINT kernel config TB --- 2007-04-08 20:22:17 - cd /src/sys/powerpc/conf TB --- 2007-04-08 20:22:17 - /usr/bin/make -B LINT TB --- 2007-04-08 20:22:17 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2007-04-08 20:22:17 - cd /src TB --- 2007-04-08 20:22:17 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun Apr 8 20:22:17 UTC 2007 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -Werror /src/sys/dev/cxgb/cxgb_main.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -Werror /src/sys/dev/cxgb/cxgb_lro.c /src/sys/dev/cxgb/cxgb_lro.c: In function `lro_new_session_init': /src/sys/dev/cxgb/cxgb_lro.c:187: error: syntax error before '==' token /src/sys/dev/cxgb/cxgb_lro.c: In function `lro_flush_session': /src/sys/dev/cxgb/cxgb_lro.c:213: error: syntax error before '==' token /src/sys/dev/cxgb/cxgb_lro.c: In function `lro_update_session': /src/sys/dev/cxgb/cxgb_lro.c:285: error: syntax error before '==' token *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-04-08 20:26:40 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-04-08 20:26:40 - ERROR: failed to build lint kernel TB --- 2007-04-08 20:26:40 - tinderbox aborted TB --- 0.70 user 2.31 system 4679.02 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Mon Apr 9 11:10:43 2007 Return-Path: X-Original-To: freebsd-ppc@FreeBSD.org Delivered-To: freebsd-ppc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A180716A4F2 for ; Mon, 9 Apr 2007 11:10:43 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 79EF013C4BD for ; Mon, 9 Apr 2007 11:10:43 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l39BAhpd060395 for ; Mon, 9 Apr 2007 11:10:43 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l39BAfkd060247 for freebsd-ppc@FreeBSD.org; Mon, 9 Apr 2007 11:10:41 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 9 Apr 2007 11:10:41 GMT Message-Id: <200704091110.l39BAfkd060247@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: linimon set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-ppc@FreeBSD.org Cc: Subject: Current problem reports assigned to you X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Apr 2007 11:10:43 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o power/93203 ppc FreeBSD PPC Can't Write to Partitions. 1 problem total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o power/111296 ppc Support IMISS, DLMISS an DSMISS interrupts 1 problem total. From owner-freebsd-ppc@FreeBSD.ORG Mon Apr 9 22:55:30 2007 Return-Path: X-Original-To: powerpc@freebsd.org Delivered-To: freebsd-ppc@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 489F016A481; Mon, 9 Apr 2007 22:55:30 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 05E5F13C45D; Mon, 9 Apr 2007 22:55:29 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.13.8/8.13.8) with ESMTP id l39MtTvG069638; Mon, 9 Apr 2007 18:55:29 -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.13.8/8.13.8) with ESMTP id l39MtTjU042606; Mon, 9 Apr 2007 18:55:29 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 6ED5273039; Mon, 9 Apr 2007 18:55:29 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070409225529.6ED5273039@freebsd-current.sentex.ca> Date: Mon, 9 Apr 2007 18:55:29 -0400 (EDT) X-Virus-Scanned: ClamAV version devel-20070108, clamav-milter version devel-111206 on news X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Apr 2007 22:55:30 -0000 TB --- 2007-04-09 21:39:15 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2007-04-09 21:39:15 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2007-04-09 21:39:15 - cleaning the object tree TB --- 2007-04-09 21:39:43 - checking out the source tree TB --- 2007-04-09 21:39:43 - cd /tinderbox/HEAD/powerpc/powerpc TB --- 2007-04-09 21:39:43 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2007-04-09 21:48:33 - building world (CFLAGS=-O2 -pipe) TB --- 2007-04-09 21:48:33 - cd /src TB --- 2007-04-09 21:48:33 - /usr/bin/make -B buildworld >>> World build started on Mon Apr 9 21:48:35 UTC 2007 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Mon Apr 9 22:48:56 UTC 2007 TB --- 2007-04-09 22:48:56 - generating LINT kernel config TB --- 2007-04-09 22:48:56 - cd /src/sys/powerpc/conf TB --- 2007-04-09 22:48:56 - /usr/bin/make -B LINT TB --- 2007-04-09 22:48:56 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2007-04-09 22:48:56 - cd /src TB --- 2007-04-09 22:48:56 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Mon Apr 9 22:48:56 UTC 2007 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -Werror /src/sys/kern/kern_lockf.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -Werror /src/sys/kern/kern_malloc.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -Werror /src/sys/kern/kern_mbuf.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -Werror /src/sys/kern/kern_mib.c /src/sys/kern/kern_mib.c:304: error: conflicting types for 'hostuuid' /src/sys/sys/kernel.h:59: error: previous declaration of 'hostuuid' was here /src/sys/kern/kern_mib.c:304: error: conflicting types for 'hostuuid' /src/sys/sys/kernel.h:59: error: previous declaration of 'hostuuid' was here *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-04-09 22:55:28 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-04-09 22:55:28 - ERROR: failed to build lint kernel TB --- 2007-04-09 22:55:28 - tinderbox aborted TB --- 0.67 user 2.55 system 4573.12 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Tue Apr 10 04:32:14 2007 Return-Path: X-Original-To: powerpc@freebsd.org Delivered-To: freebsd-ppc@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1859716A40A; Tue, 10 Apr 2007 04:32:13 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 9150113C448; Tue, 10 Apr 2007 04:32:13 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp1.sentex.ca (smtp1c.sentex.ca [64.7.153.10]) by smarthost1.sentex.ca (8.13.8/8.13.8) with ESMTP id l3A4WDWo090180; Tue, 10 Apr 2007 00:32:13 -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.13.8/8.13.8) with ESMTP id l3A4WC1o057800; Tue, 10 Apr 2007 00:32:12 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id B701173039; Tue, 10 Apr 2007 00:32:12 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070410043212.B701173039@freebsd-current.sentex.ca> Date: Tue, 10 Apr 2007 00:32:12 -0400 (EDT) X-Virus-Scanned: ClamAV version devel-20070102, clamav-milter version devel-111206 on clamscanner4 X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Apr 2007 04:32:14 -0000 TB --- 2007-04-10 03:25:37 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2007-04-10 03:25:37 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2007-04-10 03:25:37 - cleaning the object tree TB --- 2007-04-10 03:25:57 - checking out the source tree TB --- 2007-04-10 03:25:57 - cd /tinderbox/HEAD/powerpc/powerpc TB --- 2007-04-10 03:25:57 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2007-04-10 03:33:41 - building world (CFLAGS=-O2 -pipe) TB --- 2007-04-10 03:33:41 - cd /src TB --- 2007-04-10 03:33:41 - /usr/bin/make -B buildworld >>> World build started on Tue Apr 10 03:33:42 UTC 2007 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Tue Apr 10 04:32:11 UTC 2007 TB --- 2007-04-10 04:32:11 - generating LINT kernel config TB --- 2007-04-10 04:32:11 - cd /src/sys/powerpc/conf TB --- 2007-04-10 04:32:11 - /usr/bin/make -B LINT TB --- 2007-04-10 04:32:12 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2007-04-10 04:32:12 - cd /src TB --- 2007-04-10 04:32:12 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue Apr 10 04:32:12 UTC 2007 >>> stage 1: configuring the kernel -------------------------------------------------------------- cd /src/sys/powerpc/conf; PATH=/obj/powerpc/src/tmp/legacy/usr/sbin:/obj/powerpc/src/tmp/legacy/usr/bin:/obj/powerpc/src/tmp/legacy/usr/games:/obj/powerpc/src/tmp/usr/sbin:/obj/powerpc/src/tmp/usr/bin:/obj/powerpc/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin config -d /obj/powerpc/src/sys/LINT /src/sys/powerpc/conf/LINT WARNING: duplicate option `GEOM_PART_APM' encountered. WARNING: duplicate option `DEV_MEM' encountered. WARNING: duplicate device `mem' encountered. /src/sys/powerpc/conf/LINT: unknown option "trunk" *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-04-10 04:32:12 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-04-10 04:32:12 - ERROR: failed to build lint kernel TB --- 2007-04-10 04:32:12 - tinderbox aborted TB --- 0.59 user 1.84 system 3994.85 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Tue Apr 10 09:09:51 2007 Return-Path: X-Original-To: powerpc@freebsd.org Delivered-To: freebsd-ppc@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9D51F16A403; Tue, 10 Apr 2007 09:09:51 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 780A413C4BB; Tue, 10 Apr 2007 09:09:51 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.13.8/8.13.8) with ESMTP id l3A99o1I002533; Tue, 10 Apr 2007 05:09:50 -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.13.8/8.13.8) with ESMTP id l3A99oTd035012; Tue, 10 Apr 2007 05:09:50 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 756CB73039; Tue, 10 Apr 2007 05:09:50 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070410090950.756CB73039@freebsd-current.sentex.ca> Date: Tue, 10 Apr 2007 05:09:50 -0400 (EDT) X-Virus-Scanned: ClamAV version devel-20070108, clamav-milter version devel-111206 on clamscanner2 X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Apr 2007 09:09:51 -0000 TB --- 2007-04-10 07:56:52 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2007-04-10 07:56:52 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2007-04-10 07:56:52 - cleaning the object tree TB --- 2007-04-10 07:57:06 - checking out the source tree TB --- 2007-04-10 07:57:06 - cd /tinderbox/HEAD/powerpc/powerpc TB --- 2007-04-10 07:57:06 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2007-04-10 08:04:40 - building world (CFLAGS=-O2 -pipe) TB --- 2007-04-10 08:04:40 - cd /src TB --- 2007-04-10 08:04:40 - /usr/bin/make -B buildworld >>> World build started on Tue Apr 10 08:04:41 UTC 2007 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Tue Apr 10 09:02:39 UTC 2007 TB --- 2007-04-10 09:02:39 - generating LINT kernel config TB --- 2007-04-10 09:02:39 - cd /src/sys/powerpc/conf TB --- 2007-04-10 09:02:39 - /usr/bin/make -B LINT TB --- 2007-04-10 09:02:40 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2007-04-10 09:02:40 - cd /src TB --- 2007-04-10 09:02:40 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue Apr 10 09:02:40 UTC 2007 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -Werror /src/sys/net/if_spppfr.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -Werror /src/sys/net/if_spppsubr.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -Werror /src/sys/net/if_stf.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -Werror /src/sys/net/if_tun.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -Werror /src/sys/net/if_tap.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -Werror /src/sys/net/if_trunk.c /src/sys/net/if_trunk.c: In function `trunk_port_output': /src/sys/net/if_trunk.c:565: warning: 'type' might be used uninitialized in this function *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-04-10 09:09:50 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-04-10 09:09:50 - ERROR: failed to build lint kernel TB --- 2007-04-10 09:09:50 - tinderbox aborted TB --- 0.47 user 1.68 system 4377.61 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Tue Apr 10 15:26:13 2007 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D8A3816A405 for ; Tue, 10 Apr 2007 15:26:13 +0000 (UTC) (envelope-from thisismevinay@yahoo.co.in) Received: from web8407.mail.in.yahoo.com (web8407.mail.in.yahoo.com [202.43.219.155]) by mx1.freebsd.org (Postfix) with SMTP id CCDDF13C44B for ; Tue, 10 Apr 2007 15:26:12 +0000 (UTC) (envelope-from thisismevinay@yahoo.co.in) Received: (qmail 50616 invoked by uid 60001); 10 Apr 2007 14:59:30 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=2lX0OoY1d2jIoHzKuqM6YPv62DT6KchwySg6GugYmOMthYuh6RKwfJt/pMSq5UFQW9RCag9PNA6V0xfH9ywq4M/55k60+2iI84gHM0Sxid9YanbIkmgKqmLhFdumWWLhefCC+XYE7TOC8KNRnLwyG0IIXj0k/TO1xZQZtvtP9Aw=; X-YMail-OSG: PqLt.IYVM1m2fCBD3QZfsnWK64ferm81XF48vWtm6nXvG_T.CduLbcqP83njfA8FZ8zKZV9UFO_uwOxOuGDFNkTV__iSGmrE4WWEKgya1YrDZo1.Zz0hegCE3sslQQ-- Received: from [59.145.141.139] by web8407.mail.in.yahoo.com via HTTP; Tue, 10 Apr 2007 07:59:29 PDT Date: Tue, 10 Apr 2007 07:59:29 -0700 (PDT) From: vinay hegde To: freebsd-ppc@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <4084.50499.qm@web8407.mail.in.yahoo.com> Subject: Help regarding the second stage loader X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Apr 2007 15:26:13 -0000 Hi, Can someone please let me know the place of the second stage bootloader for FreeBSD PPC kernel under the source trunk? I believe, it'll be something similar to what linux does (under arch/ppc/boot/simple, arch/ppc/boot/common and arch/ppc/kernel directories). I browsed thru' the FreeBSD boot directories (sys/boot/powerpc/loader directory), but couldn't find any second stage loader code. Any help will be appreciated. Thanks muchly, Vinay ____________________________________________________________________________________ Looking for earth-friendly autos? Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center. http://autos.yahoo.com/green_center/ From owner-freebsd-ppc@FreeBSD.ORG Tue Apr 10 17:00:02 2007 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 576D416A407 for ; Tue, 10 Apr 2007 17:00:02 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by mx1.freebsd.org (Postfix) with ESMTP id CF8D413C4C6 for ; Tue, 10 Apr 2007 17:00:01 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from [10.33.24.110] (nat-198-95-226-228.netapp.com [198.95.226.228]) by dommail.onthenet.com.au (MOS 3.7.5a-GA) with ESMTP id CRQ16474 (AUTH peterg@ptree32.com.au); Wed, 11 Apr 2007 02:59:56 +1000 (EST) Message-ID: <461BC26C.9080308@freebsd.org> Date: Tue, 10 Apr 2007 09:59:24 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.8b) Gecko/20051014 MIME-Version: 1.0 To: vinay hegde References: <4084.50499.qm@web8407.mail.in.yahoo.com> In-Reply-To: <4084.50499.qm@web8407.mail.in.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: Help regarding the second stage loader X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Apr 2007 17:00:02 -0000 Hi Vinay, > Can someone please let me know the place of the second > stage bootloader for FreeBSD PPC kernel under the > source trunk? ... > I browsed thru' the FreeBSD boot directories > (sys/boot/powerpc/loader directory), but couldn't find > any second stage loader code. You're in the right place :) The Makefile in that directory shows what code is included - the OpenFirmware library, the FICL forth interpreter, the sys/boot/common MI source etc. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Tue Apr 10 17:00:20 2007 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5ED2616A406 for ; Tue, 10 Apr 2007 17:00:20 +0000 (UTC) (envelope-from ph.schulz@gmx.de) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id C4C1013C459 for ; Tue, 10 Apr 2007 17:00:19 +0000 (UTC) (envelope-from ph.schulz@gmx.de) Received: (qmail invoked by alias); 10 Apr 2007 16:33:38 -0000 Received: from dslb-084-056-237-033.pools.arcor-ip.net (EHLO MacMini.local) [84.56.237.33] by mail.gmx.net (mp030) with SMTP; 10 Apr 2007 18:33:38 +0200 X-Authenticated: #1954550 X-Provags-ID: V01U2FsdGVkX1/SThowKVHSkmazNgbnR//CFYtLrfxuwCQuCYa2dv rf2m+OFLNz2aLt Message-ID: <461BBC5A.80005@gmx.de> Date: Tue, 10 Apr 2007 18:33:30 +0200 From: Philip Schulz User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326) MIME-Version: 1.0 To: vinay hegde References: <4084.50499.qm@web8407.mail.in.yahoo.com> In-Reply-To: <4084.50499.qm@web8407.mail.in.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-ppc@freebsd.org Subject: Re: Help regarding the second stage loader X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Apr 2007 17:00:20 -0000 Hi, on 10.04.2007 16:59 Uhr vinay hegde said the following: > Can someone please let me know the place of the second > stage bootloader for FreeBSD PPC kernel under the > source trunk? I believe, it'll be something similar to > what linux does (under arch/ppc/boot/simple, > arch/ppc/boot/common and arch/ppc/kernel directories). I don't know how Linux "officially" boots on PowerPC, however I load yaboot which in turn loads the kernel. I don't think yaboot is maintained with the kernel but rather as a separate project. > I browsed thru' the FreeBSD boot directories > (sys/boot/powerpc/loader directory), but couldn't find > any second stage loader code. > FreeBSD's loader code is spread under sys/boot. Relevant parts are not only sys/boot/powerpc/loader, but also the Forth-interpreter in sys/boot/ficl. Additionally, the files in sys/boot/ofw contain code to talk to Open Firmware, used for example to load the kernel, e.g. from disk or network. The sys/boot/common directory seems to contain the parts relevant for all platforms like the ELF loader. The way FreeBSD/powerpc boots is slightly different from how FreeBSD boots on a PC. You can load and start the kernel directly from Open Firmware since it's an ELF file. However, that only works if the kernel resides on a filesystem the Open Firmware implementation understands and if you don't need to set any boot flags. Unfortunately, the implementation found on Apples computers does not know UFS(2). So a different approach (and I think that one is recommended) is to start the loader which will be able load the kernel, also from the / filesystem, and set boot flags (verbose boot, boot to single user, etc.). So in short: There is no second stage bootloader, only the loader and the kernel. Someone please correct me if I'm wrong. HTH, Phil. -- Don't fix it if it ain't broke. From owner-freebsd-ppc@FreeBSD.ORG Tue Apr 10 17:28:03 2007 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7078D16A402 for ; Tue, 10 Apr 2007 17:28:03 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by mx1.freebsd.org (Postfix) with ESMTP id 0848313C4C1 for ; Tue, 10 Apr 2007 17:28:02 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from [10.33.24.110] (nat-198-95-226-228.netapp.com [198.95.226.228]) by dommail.onthenet.com.au (MOS 3.7.5a-GA) with ESMTP id CRQ25399 (AUTH peterg@ptree32.com.au); Wed, 11 Apr 2007 03:27:57 +1000 (EST) Message-ID: <461BC8FF.1010506@freebsd.org> Date: Tue, 10 Apr 2007 10:27:27 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.8b) Gecko/20051014 MIME-Version: 1.0 To: Philip Schulz References: <4084.50499.qm@web8407.mail.in.yahoo.com> <461BBC5A.80005@gmx.de> In-Reply-To: <461BBC5A.80005@gmx.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: Help regarding the second stage loader X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Apr 2007 17:28:03 -0000 Hi Philip, > You can load and start the kernel directly from Open > Firmware since it's an ELF file. However, that only works if the kernel > resides on a filesystem the Open Firmware implementation understands and > if you don't need to set any boot flags. Unfortunately, the > implementation found on Apples computers does not know UFS(2). So a > different approach (and I think that one is recommended) is to start the > loader which will be able load the kernel, also from the / filesystem, > and set boot flags (verbose boot, boot to single user, etc.). That's right. Booting the kernel directly from OpenFirmware happens to work, mainly because that's the boot path used with gdb/psim. The big downside is that there is no metadata, so things like boot flags, the root mount, modules, ramdisks and other goodies enabled by the loader can't be used. > So in short: There is no second stage bootloader, only the loader and > the kernel. Someone please correct me if I'm wrong. Depends on terminology :) If you count OpenFirmware as the first-stage bootloader then the FreeBSD loader is a second-stage loader, though it's the first in the FreeBSD boot process. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Tue Apr 10 17:54:24 2007 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A2FB716A402 for ; Tue, 10 Apr 2007 17:54:24 +0000 (UTC) (envelope-from thisismevinay@yahoo.co.in) Received: from web8413.mail.in.yahoo.com (web8413.mail.in.yahoo.com [202.43.219.101]) by mx1.freebsd.org (Postfix) with SMTP id AF5E513C4BD for ; Tue, 10 Apr 2007 17:54:23 +0000 (UTC) (envelope-from thisismevinay@yahoo.co.in) Received: (qmail 44100 invoked by uid 60001); 10 Apr 2007 17:54:21 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=X-YMail-OSG:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=dcnRO/7EcNnKOgMjsMec0hR2WX7RguPi8kBsjzp6DYeuMVW4+6Ww1/Bees4z4V/R4kb9NIdu8oBtYpW66OBHF0qMs1Gyyl1ThJwRUdyoqydeCo01VBQwPoSvo5gXCZRyjK38kgAQkfw1N+cHoQ0sw/Q/uyyNWnRcIOfiNq9IgOw=; X-YMail-OSG: NksqQsEVM1mtis.qvv9Yj3ph0ph_nh1DtX5UoumiCTDD12nK9tBA2slE_gDofc3Rf0YPDZxHgNtGoYmZMysIfyYK.m_5LfuukvqT5dbGYkNcdd.gGVmyE4hJBanZtw-- Received: from [59.91.238.83] by web8413.mail.in.yahoo.com via HTTP; Tue, 10 Apr 2007 10:54:21 PDT Date: Tue, 10 Apr 2007 10:54:21 -0700 (PDT) From: vinay hegde To: Peter Grehan In-Reply-To: <461BC26C.9080308@freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Message-ID: <221900.43273.qm@web8413.mail.in.yahoo.com> Cc: freebsd-ppc@freebsd.org Subject: Re: Help regarding the second stage loader X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Apr 2007 17:54:24 -0000 --- Peter Grehan wrote: > Hi Vinay, > > > Can someone please let me know the place of the > second > > stage bootloader for FreeBSD PPC kernel under the > > source trunk? > ... > > I browsed thru' the FreeBSD boot directories > > (sys/boot/powerpc/loader directory), but couldn't > find > > any second stage loader code. > > You're in the right place :) The Makefile in that > directory shows what > code is included - the OpenFirmware library, the > FICL forth interpreter, > the sys/boot/common MI source etc. > > later, > > Peter. > Hi Peter, Thanks a lot. Ok, so if I understand it correctly, the code under sys/boot/powerpc need not always execute.. is that right? What I mean is, suppose if we chose to boot with, say yaboot, then is it absolutely necessary to execute this second level loader as well _OR_ is this only required if we need some different type of image than what yaboot provides (for ex, in Linux- u-boot provides uImage, so if we need some other type of linux image, say zImage, then only this second loader is required). So, is the concept same here? Also, is the code compiled by sys/boot/powerpc directory part of the final FreeBSD PPC kernel image? Thanks, Vinay ____________________________________________________________________________________ We won't tell. Get more on shows you hate to love (and love to hate): Yahoo! TV's Guilty Pleasures list. http://tv.yahoo.com/collections/265 From owner-freebsd-ppc@FreeBSD.ORG Wed Apr 11 02:15:04 2007 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B244216A401 for ; Wed, 11 Apr 2007 02:15:04 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by mx1.freebsd.org (Postfix) with ESMTP id 4B17E13C465 for ; Wed, 11 Apr 2007 02:15:03 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from [10.33.24.110] (nat-198-95-226-228.netapp.com [198.95.226.228]) by dommail.onthenet.com.au (MOS 3.7.5a-GA) with ESMTP id CRQ89728 (AUTH peterg@ptree32.com.au); Wed, 11 Apr 2007 12:14:54 +1000 (EST) Message-ID: <461C447F.8070504@freebsd.org> Date: Tue, 10 Apr 2007 19:14:23 -0700 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.8b) Gecko/20051014 MIME-Version: 1.0 To: vinay hegde References: <221900.43273.qm@web8413.mail.in.yahoo.com> In-Reply-To: <221900.43273.qm@web8413.mail.in.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: Help regarding the second stage loader X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2007 02:15:04 -0000 Hi Vinay, > Ok, so if I understand it correctly, the > code under sys/boot/powerpc need not always execute.. > is that right? What I mean is, suppose if we chose to > boot with, say yaboot, then is it absolutely necessary > to execute this second level loader as well _OR_ is > this only required if we need some different type of > image than what yaboot provides (for ex, in Linux- > u-boot provides uImage, so if we need some other type > of linux image, say zImage, then only this second > loader is required). So, is the concept same here? I think that's right. If yaboot could load the FreeBSD ELF kernel at the correct address, and even better if it could drop down metadata in the same format as the FreeBSD loader, then no second-stage loader would be required. However, if not, then yaboot could be used to load the FreeBSD second-stage loader, which would then load the kernel. There may still be issues with this since the FreeBSD loader uses OpenFirmware for i/o and memory allocation, and needs to be loaded at the correct address. > Also, is the code compiled by sys/boot/powerpc > directory part of the final FreeBSD PPC kernel image? No, it's the standalone loader - the kernel is separate. later, Peter. From owner-freebsd-ppc@FreeBSD.ORG Wed Apr 11 14:29:53 2007 Return-Path: X-Original-To: powerpc@freebsd.org Delivered-To: freebsd-ppc@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 05FB616A407; Wed, 11 Apr 2007 14:29:53 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id C331413C4B9; Wed, 11 Apr 2007 14:29:52 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.13.8/8.13.8) with ESMTP id l3BETq80007058; Wed, 11 Apr 2007 10:29:52 -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.13.8/8.13.8) with ESMTP id l3BETp7B092303; Wed, 11 Apr 2007 10:29:52 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id C421D73039; Wed, 11 Apr 2007 10:29:51 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070411142951.C421D73039@freebsd-current.sentex.ca> Date: Wed, 11 Apr 2007 10:29:51 -0400 (EDT) X-Virus-Scanned: ClamAV version devel-20070108, clamav-milter version devel-111206 on news X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Apr 2007 14:29:53 -0000 TB --- 2007-04-11 13:28:42 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2007-04-11 13:28:42 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2007-04-11 13:28:42 - cleaning the object tree TB --- 2007-04-11 13:29:12 - checking out the source tree TB --- 2007-04-11 13:29:12 - cd /tinderbox/HEAD/powerpc/powerpc TB --- 2007-04-11 13:29:12 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2007-04-11 13:38:05 - building world (CFLAGS=-O2 -pipe) TB --- 2007-04-11 13:38:05 - cd /src TB --- 2007-04-11 13:38:05 - /usr/bin/make -B buildworld >>> World build started on Wed Apr 11 13:38:06 UTC 2007 >>> 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 [...] cc -O2 -pipe -Wsystem-headers -Werror -c /src/usr.bin/ncal/ncal.c cc -O2 -pipe -Wsystem-headers -Werror -o ncal ncal.o -lcalendar gzip -cn /src/usr.bin/ncal/ncal.1 > ncal.1.gz ===> usr.bin/netstat (all) cc -O2 -pipe -DIPSEC -DFAST_IPSEC -DINET6 -DIPX -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -c /src/usr.bin/netstat/if.c cc -O2 -pipe -DIPSEC -DFAST_IPSEC -DINET6 -DIPX -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -c /src/usr.bin/netstat/inet.c In file included from /src/usr.bin/netstat/inet.c:69: /obj/powerpc/src/tmp/usr/include/netinet/tcp_timer.h:132: error: field `tt_timer' has incomplete type *** Error code 1 Stop in /src/usr.bin/netstat. *** Error code 1 Stop in /src/usr.bin. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-04-11 14:29:51 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-04-11 14:29:51 - ERROR: failed to build world TB --- 2007-04-11 14:29:51 - tinderbox aborted TB --- 0.61 user 2.43 system 3668.93 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Thu Apr 12 07:10:49 2007 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E977916A402 for ; Thu, 12 Apr 2007 07:10:49 +0000 (UTC) (envelope-from info@de.ceess.info) Received: from de.ceess.info (squid.barglowka.net [83.15.13.46]) by mx1.freebsd.org (Postfix) with ESMTP id 9E58913C469 for ; Thu, 12 Apr 2007 07:10:49 +0000 (UTC) (envelope-from info@de.ceess.info) Received: by de.ceess.info (Postfix, from userid 0) id C143944618; Thu, 12 Apr 2007 04:19:12 +0200 (CEST) From: "Ceess" To: freebsd-ppc@freebsd.org Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="iso-8859-1"; Mime-Version: 1.0 X-Mailer: FP-Mail ver. 6.2 Message-Id: <20070412021912.C143944618@de.ceess.info> Date: Thu, 12 Apr 2007 04:19:12 +0200 (CEST) Subject: Antwort X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: info@de.ceess.info List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Apr 2007 07:10:50 -0000 Sehr geehrte Damen und Herren, in unserem Angebot besitzen wir aktuell Anschriftsangaben von Firmen- sowie Unternehmensinhabern, die Interesse an Ihren Produkten und Dienstleistungen haben können. Falls Sie einen neuen Kundenkreis gewinnen möchten, machen Sie sich, bitte, mit weiteren Informationen, die wir an unserer Webseite untergebracht haben, bekannt: http://www.ceess.net Traditionelle Werbungsformen (Presse, Radio, Fernsehen) zu teuer erscheinen? Und vielleicht nicht genug effekiv? Von uns angebotene Adressenkataloge ermöglichen Ihnen schnell neue Handelskontakte anknüpfen sowie genau angepasste Zielgruppe zu erreichen - bei gleichzeitigem minimalen Kostenaufwand. Wir sind eine glaubwürdige Firma und ein sicherer Geschäftspartner. Unser Angebot haben schon über 4000 Firmen sowie Unternehmen aus Deutschland in Anspruch genommen. Einzelheiten: http://www.ceess.net oder http://www.ceess.co.uk Mit schönen Grüssen - Ihr Ceess-Team Falls Sie kein Interesse an Produkten der Firma Ceess haben und möchten keine weiteren Informationen über sie bekommen, klicken Sie nur an den Link: http://www.ceess.net/unsubscribe.php - wo Sie Ihre E-mail-Adresse aus unserer Datenbank löschen können. From owner-freebsd-ppc@FreeBSD.ORG Thu Apr 12 23:10:05 2007 Return-Path: X-Original-To: freebsd-ppc@hub.freebsd.org Delivered-To: freebsd-ppc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4590416A401 for ; Thu, 12 Apr 2007 23:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 2746813C459 for ; Thu, 12 Apr 2007 23:10:05 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l3CNA4Ik021128 for ; Thu, 12 Apr 2007 23:10:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l3CNA4Gt021125; Thu, 12 Apr 2007 23:10:04 GMT (envelope-from gnats) Resent-Date: Thu, 12 Apr 2007 23:10:04 GMT Resent-Message-Id: <200704122310.l3CNA4Gt021125@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ppc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Andrew Turner Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B7CBE16A400 for ; Thu, 12 Apr 2007 23:00:35 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from fep06.xtra.co.nz (fep06.xtra.co.nz [210.54.141.240]) by mx1.freebsd.org (Postfix) with ESMTP id 51E1A13C46C for ; Thu, 12 Apr 2007 23:00:34 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from serv.int.fubar.geek.nz ([125.237.114.141]) by fep06.xtra.co.nz with ESMTP id <20070412230033.CMF26198.fep06.xtra.co.nz@serv.int.fubar.geek.nz> for ; Fri, 13 Apr 2007 11:00:33 +1200 Message-Id: <20070412230033.2CD8061FE@serv.int.fubar.geek.nz> Date: Fri, 13 Apr 2007 11:00:33 +1200 (NZST) From: Andrew Turner To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: powerpc/111522: Add support for the ofw bus interface to nexus X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Andrew Turner List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 12 Apr 2007 23:10:05 -0000 >Number: 111522 >Category: powerpc >Synopsis: Add support for the ofw bus interface to nexus >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ppc >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Apr 12 23:10:04 GMT 2007 >Closed-Date: >Last-Modified: >Originator: Andrew Turner >Release: FreeBSD 5.5-RC1 i386 >Organization: >Environment: System: FreeBSD serv.int.fubar.geek.nz 5.5-RC1 FreeBSD 5.5-RC1 #0: Mon May 15 14:09:18 NZST 2006 root@serv.int.fubar.geek.nz:/usr/obj/usr/src/sys/GENERIC i386 >Description: The attached patch adds support for the some of the ofw bus interface to the nexus device. >How-To-Repeat: >Fix: --- ppc-nexus-ofwbus.diff begins here --- Index: sys/powerpc/powerpc/nexus.c =================================================================== RCS file: /cvsroot/src/sys/powerpc/powerpc/nexus.c,v retrieving revision 1.13 diff -u -u -r1.13 nexus.c --- sys/powerpc/powerpc/nexus.c 7 Mar 2007 11:42:14 -0000 1.13 +++ sys/powerpc/powerpc/nexus.c 12 Apr 2007 10:29:35 -0000 @@ -74,6 +74,7 @@ #include +#include "ofw_bus_if.h" #include "pic_if.h" /* @@ -124,6 +125,11 @@ static int nexus_release_resource(device_t, device_t, int, int, struct resource *); +static phandle_t nexus_ofw_get_node(device_t, device_t); +static const char *nexus_ofw_get_name(device_t, device_t); +static const char *nexus_ofw_get_type(device_t, device_t); +static const char *nexus_ofw_get_compat(device_t, device_t); + /* * Local routines */ @@ -151,6 +157,12 @@ DEVMETHOD(bus_deactivate_resource, nexus_deactivate_resource), DEVMETHOD(bus_release_resource, nexus_release_resource), + /* OFW bus interface */ + DEVMETHOD(ofw_bus_get_node, nexus_ofw_get_node), + DEVMETHOD(ofw_bus_get_name, nexus_ofw_get_name), + DEVMETHOD(ofw_bus_get_type, nexus_ofw_get_type), + DEVMETHOD(ofw_bus_get_compat, nexus_ofw_get_compat), + { 0, 0 } }; @@ -416,3 +428,47 @@ return (0); } + +static const char * +nexus_ofw_get_name(device_t bus, device_t dev) +{ + struct nexus_devinfo *dinfo; + + if ((dinfo = device_get_ivars(dev)) == 0) + return NULL; + + return dinfo->ndi_name; +} + +static phandle_t +nexus_ofw_get_node(device_t bus, device_t dev) +{ + struct nexus_devinfo *dinfo; + + if ((dinfo = device_get_ivars(dev)) == 0) + return 0; + + return dinfo->ndi_node; +} + +static const char * +nexus_ofw_get_type(device_t bus, device_t dev) +{ + struct nexus_devinfo *dinfo; + + if ((dinfo = device_get_ivars(dev)) == 0) + return NULL; + + return dinfo->ndi_device_type; +} + +static const char * +nexus_ofw_get_compat(device_t bus, device_t dev) +{ + struct nexus_devinfo *dinfo; + + if ((dinfo = device_get_ivars(dev)) == 0) + return NULL; + + return dinfo->ndi_compatible; +} --- ppc-nexus-ofwbus.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-ppc@FreeBSD.ORG Fri Apr 13 06:50:07 2007 Return-Path: X-Original-To: freebsd-ppc@hub.freebsd.org Delivered-To: freebsd-ppc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CD02416A406 for ; Fri, 13 Apr 2007 06:50:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id BF81A13C45B for ; Fri, 13 Apr 2007 06:50:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l3D6o7UP053280 for ; Fri, 13 Apr 2007 06:50:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l3D6o7Bs053279; Fri, 13 Apr 2007 06:50:07 GMT (envelope-from gnats) Date: Fri, 13 Apr 2007 06:50:07 GMT Message-Id: <200704130650.l3D6o7Bs053279@freefall.freebsd.org> To: freebsd-ppc@FreeBSD.org From: Rink Springer Cc: Subject: Re: powerpc/111522: Add support for the ofw bus interface to nexus X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Rink Springer List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Apr 2007 06:50:07 -0000 The following reply was made to PR powerpc/111522; it has been noted by GNATS. From: Rink Springer To: Andrew Turner Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: powerpc/111522: Add support for the ofw bus interface to nexus Date: Fri, 13 Apr 2007 08:39:56 +0200 Hi Andrew, On Fri, Apr 13, 2007 at 11:00:33AM +1200, Andrew Turner wrote: > + if ((dinfo = device_get_ivars(dev)) == 0) style(9) says you should use NULL instead of 0. Other than this, I can't see anything wrong with the patch. Cheers, -- Rink P.W. Springer - http://rink.nu "It is such a quiet thing, to fall. But yet a far more terrible thing, to admit it." - Darth Traya From owner-freebsd-ppc@FreeBSD.ORG Fri Apr 13 09:30:08 2007 Return-Path: X-Original-To: freebsd-ppc@hub.freebsd.org Delivered-To: freebsd-ppc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 45D1116A404 for ; Fri, 13 Apr 2007 09:30:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id DA51413C480 for ; Fri, 13 Apr 2007 09:30:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l3D9U7fb065103 for ; Fri, 13 Apr 2007 09:30:07 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l3D9U7RO065100; Fri, 13 Apr 2007 09:30:07 GMT (envelope-from gnats) Date: Fri, 13 Apr 2007 09:30:07 GMT Message-Id: <200704130930.l3D9U7RO065100@freefall.freebsd.org> To: freebsd-ppc@FreeBSD.org From: Andrew Turner Cc: Subject: Re: powerpc/111522: Add support for the ofw bus interface to nexus X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Andrew Turner List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Apr 2007 09:30:08 -0000 The following reply was made to PR powerpc/111522; it has been noted by GNATS. From: Andrew Turner To: Rink Springer Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: powerpc/111522: Add support for the ofw bus interface to nexus Date: Fri, 13 Apr 2007 21:22:56 +1200 --MP_PScor1Tq6r5if1qCZ6+Yn6T Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Disposition: inline On Fri, 13 Apr 2007 08:39:56 +0200 Rink Springer wrote: > Hi Andrew, > > On Fri, Apr 13, 2007 at 11:00:33AM +1200, Andrew Turner wrote: > > + if ((dinfo = device_get_ivars(dev)) == 0) > > style(9) says you should use NULL instead of 0. Other than this, I > can't see anything wrong with the patch. > > Cheers, > That line is a copy+paste from a similar line further up in the file. I've attached a patch with the new code changed to NULL's. Andrew --MP_PScor1Tq6r5if1qCZ6+Yn6T Content-Type: text/x-patch; name=freebsd-ppc-nexus-ofw.diff Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=freebsd-ppc-nexus-ofw.diff Index: sys/powerpc/powerpc/nexus.c =================================================================== RCS file: /cvsroot/src/sys/powerpc/powerpc/nexus.c,v retrieving revision 1.13 diff -u -u -r1.13 nexus.c --- sys/powerpc/powerpc/nexus.c 7 Mar 2007 11:42:14 -0000 1.13 +++ sys/powerpc/powerpc/nexus.c 13 Apr 2007 09:20:56 -0000 @@ -74,6 +74,7 @@ #include +#include "ofw_bus_if.h" #include "pic_if.h" /* @@ -124,6 +125,11 @@ static int nexus_release_resource(device_t, device_t, int, int, struct resource *); +static phandle_t nexus_ofw_get_node(device_t, device_t); +static const char *nexus_ofw_get_name(device_t, device_t); +static const char *nexus_ofw_get_type(device_t, device_t); +static const char *nexus_ofw_get_compat(device_t, device_t); + /* * Local routines */ @@ -151,6 +157,12 @@ DEVMETHOD(bus_deactivate_resource, nexus_deactivate_resource), DEVMETHOD(bus_release_resource, nexus_release_resource), + /* OFW bus interface */ + DEVMETHOD(ofw_bus_get_node, nexus_ofw_get_node), + DEVMETHOD(ofw_bus_get_name, nexus_ofw_get_name), + DEVMETHOD(ofw_bus_get_type, nexus_ofw_get_type), + DEVMETHOD(ofw_bus_get_compat, nexus_ofw_get_compat), + { 0, 0 } }; @@ -416,3 +428,47 @@ return (0); } + +static const char * +nexus_ofw_get_name(device_t bus, device_t dev) +{ + struct nexus_devinfo *dinfo; + + if ((dinfo = device_get_ivars(dev)) == NULL) + return NULL; + + return dinfo->ndi_name; +} + +static phandle_t +nexus_ofw_get_node(device_t bus, device_t dev) +{ + struct nexus_devinfo *dinfo; + + if ((dinfo = device_get_ivars(dev)) == NULL) + return 0; + + return dinfo->ndi_node; +} + +static const char * +nexus_ofw_get_type(device_t bus, device_t dev) +{ + struct nexus_devinfo *dinfo; + + if ((dinfo = device_get_ivars(dev)) == NULL) + return NULL; + + return dinfo->ndi_device_type; +} + +static const char * +nexus_ofw_get_compat(device_t bus, device_t dev) +{ + struct nexus_devinfo *dinfo; + + if ((dinfo = device_get_ivars(dev)) == NULL) + return NULL; + + return dinfo->ndi_compatible; +} --MP_PScor1Tq6r5if1qCZ6+Yn6T-- From owner-freebsd-ppc@FreeBSD.ORG Sat Apr 14 06:34:35 2007 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0B7BC16A408 for ; Sat, 14 Apr 2007 06:34:35 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.232]) by mx1.freebsd.org (Postfix) with ESMTP id A949013C459 for ; Sat, 14 Apr 2007 06:34:34 +0000 (UTC) (envelope-from pyunyh@gmail.com) Received: by nz-out-0506.google.com with SMTP id r28so939131nza for ; Fri, 13 Apr 2007 23:34:34 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:received:received:date:from:to:cc:subject:message-id:reply-to:mime-version:content-type:content-disposition:user-agent; b=O7UWAiwL/CvNvm2317RjV3TLi68FJsgvYaF/lKu+ewv1KNBRPQJ5/3bfMC299bCdi0epftLgJA37q5Kh+zrlC3DURJnv/FGrl1sV6iPDvO7zmj1yTNGGoFfOTmCnpUXrOQNjn8JZarBaKBFPaqmYSzykPKDvdleQQet0kXV6wcY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:to:cc:subject:message-id:reply-to:mime-version:content-type:content-disposition:user-agent; b=uXWq08C80GrkEuokDXgBxFU0+G9wY78RDHtAZo5ElZ93xiBEggOq7YGC3wke+EwbCN8/kSHIvmb5MdAUWYy2SCDOR5dbEJW9jGYVbGw+CJCBrQt0gqCBKZ+yQ7xxz3/2627x+JjJoMKRL/m8oOv97nvHvf6UaVBnLI33ik/SwVA= Received: by 10.114.198.1 with SMTP id v1mr1248961waf.1176530926794; Fri, 13 Apr 2007 23:08:46 -0700 (PDT) Received: from michelle.cdnetworks.co.kr ( [211.53.35.84]) by mx.google.com with ESMTP id y25sm4404566pod.2007.04.13.23.08.43; Fri, 13 Apr 2007 23:08:45 -0700 (PDT) Received: from michelle.cdnetworks.co.kr (localhost.cdnetworks.co.kr [127.0.0.1]) by michelle.cdnetworks.co.kr (8.13.5/8.13.5) with ESMTP id l3E68gLj014123 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 14 Apr 2007 15:08:42 +0900 (KST) (envelope-from pyunyh@gmail.com) Received: (from yongari@localhost) by michelle.cdnetworks.co.kr (8.13.5/8.13.5/Submit) id l3E68fCH014122; Sat, 14 Apr 2007 15:08:41 +0900 (KST) (envelope-from pyunyh@gmail.com) Date: Sat, 14 Apr 2007 15:08:41 +0900 From: Pyun YongHyeon To: freebsd-sparc64@FreeBSD.org Message-ID: <20070414060841.GB12777@cdnetworks.co.kr> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="8GpibOaaTibBMecb" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: freebsd-ppc@FreeBSD.org Subject: CFT: gem(4) checksum offload support X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pyunyh@gmail.com List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Apr 2007 06:34:35 -0000 --8GpibOaaTibBMecb Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, Sorry for cross posting. I've made a patch to enable hardware checksum offload in gem(4) and it seems to work correctly on ppc. I saw decreased CPU usage with checksum offload but I can't sure how much it helped as ppc's vmstat(1) output shows fluctuating interrupt numbers/CPU usage patterns. Anyway, before committing to tree I'd like to know any regressions not noticed by me. ATM the patch does not enable Tx UDP checksum offload as the hardware can generate checksum value 0 for UDP packet.(The hardware should flip the checksum value for UDP checksum 0 such that 0xffff should be used for UDP packet.) If you still want to use Tx UDP checksum offload set link0 flag with ifconfig(8). If there is no objections I'll commit it in a few days. Thanks. -- Regards, Pyun YongHyeon --8GpibOaaTibBMecb Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="gem.chksum.patch" Index: if_gem.c =================================================================== RCS file: /home/ncvs/src/sys/dev/gem/if_gem.c,v retrieving revision 1.40 diff -u -r1.40 if_gem.c --- if_gem.c 6 Dec 2006 02:04:25 -0000 1.40 +++ if_gem.c 14 Apr 2007 03:30:28 -0000 @@ -65,6 +65,12 @@ #include #include +#include +#include +#include +#include +#include + #include #include @@ -74,6 +80,7 @@ #include #define TRIES 10000 +#define GEM_CSUM_FEATURES (CSUM_TCP) static void gem_start(struct ifnet *); static void gem_start_locked(struct ifnet *); @@ -82,6 +89,8 @@ static void gem_cddma_callback(void *, bus_dma_segment_t *, int, int); static void gem_txdma_callback(void *, bus_dma_segment_t *, int, bus_size_t, int); +static __inline void gem_txcksum(struct gem_softc *, struct mbuf *, uint64_t *); +static __inline void gem_rxcksum(struct mbuf *, uint64_t); static void gem_tick(void *); static int gem_watchdog(struct gem_softc *); static void gem_init(void *); @@ -264,6 +273,7 @@ device_printf(sc->sc_dev, "%ukB RX FIFO, %ukB TX FIFO\n", sc->sc_rxfifosize / 1024, v / 16); + sc->sc_csum_features = GEM_CSUM_FEATURES; /* Initialize ifnet structure. */ ifp->if_softc = sc; if_initname(ifp, device_get_name(sc->sc_dev), @@ -332,11 +342,12 @@ #endif /* - * Tell the upper layer(s) we support long frames. + * Tell the upper layer(s) we support long frames/checksum offloads. */ ifp->if_data.ifi_hdrlen = sizeof(struct ether_vlan_header); - ifp->if_capabilities |= IFCAP_VLAN_MTU; - ifp->if_capenable |= IFCAP_VLAN_MTU; + ifp->if_capabilities |= IFCAP_VLAN_MTU | IFCAP_HWCSUM; + ifp->if_hwassist |= sc->sc_csum_features; + ifp->if_capenable |= IFCAP_VLAN_MTU | IFCAP_HWCSUM; return (0); @@ -470,7 +481,7 @@ struct gem_softc *sc = txd->txd_sc; struct gem_txsoft *txs = txd->txd_txs; bus_size_t len = 0; - uint64_t flags = 0; + uint64_t cflags, flags; int seg, nexttx; if (error != 0) @@ -488,6 +499,10 @@ txs->txs_ndescs = nsegs; nexttx = txs->txs_firstdesc; + + flags = cflags = 0; + if ((txd->m->m_pkthdr.csum_flags & sc->sc_csum_features) != 0) + gem_txcksum(sc, txd->m, &cflags); /* * Initialize the transmit descriptors. */ @@ -507,6 +522,7 @@ KASSERT(segs[seg].ds_len < GEM_TD_BUFSIZE, ("gem_txdma_callback: segment size too large!")); flags = segs[seg].ds_len & GEM_TD_BUFSIZE; + flags |= cflags; if (len == 0) { #ifdef GEM_DEBUG CTR2(KTR_GEM, "txdma_cb: start of packet at seg %d, " @@ -533,6 +549,112 @@ ("gem_txdma_callback: missed end of packet!")); } +static __inline void +gem_txcksum(struct gem_softc *sc, struct mbuf *m, uint64_t *cflags) +{ + struct ip *ip; + uint64_t offset, offset2; + char *p; + + offset = sizeof(struct ip) + ETHER_HDR_LEN; + for(; m && m->m_len == 0; m = m->m_next) + ; + if (m == NULL || m->m_len < ETHER_HDR_LEN) { + device_printf(sc->sc_dev, "%s: m_len < ETHER_HDR_LEN\n", + __func__); + /* checksum will be corrupted */ + goto sendit; + } + if (m->m_len < ETHER_HDR_LEN + sizeof(uint32_t)) { + if (m->m_len != ETHER_HDR_LEN) { + device_printf(sc->sc_dev, + "%s: m_len != ETHER_HDR_LEN\n", __func__); + /* checksum will be corrupted */ + goto sendit; + } + for(m = m->m_next; m && m->m_len == 0; m = m->m_next) + ; + if (m == NULL) { + /* checksum will be corrupted */ + goto sendit; + } + ip = mtod(m, struct ip *); + } else { + p = mtod(m, uint8_t *); + p += ETHER_HDR_LEN; + ip = (struct ip *)p; + } + offset = (ip->ip_hl << 2) + ETHER_HDR_LEN; + +sendit: + offset2 = m->m_pkthdr.csum_data; + *cflags = offset << GEM_TD_CXSUM_SSHIFT; + *cflags |= ((offset + offset2) << GEM_TD_CXSUM_OSHIFT); + *cflags |= GEM_TD_CXSUM_ENABLE; +} + +static __inline void +gem_rxcksum(struct mbuf *m, uint64_t flags) +{ + struct ether_header *eh; + struct ip *ip; + struct udphdr *uh; + int32_t hlen, len, pktlen; + uint16_t cksum, *opts; + uint32_t temp32; + + pktlen = m->m_pkthdr.len; + if (pktlen < sizeof(struct ether_header) + sizeof(struct ip)) + return; + eh = mtod(m, struct ether_header *); + if (eh->ether_type != htons(ETHERTYPE_IP)) + return; + ip = (struct ip *)(eh + 1); + if (ip->ip_v != IPVERSION) + return; + + hlen = ip->ip_hl << 2; + pktlen -= sizeof(struct ether_header); + if (hlen < sizeof(struct ip)) + return; + if (ntohs(ip->ip_len) < hlen) + return; + if (ntohs(ip->ip_len) != pktlen) + return; + if (ip->ip_off & htons(IP_MF | IP_OFFMASK)) + return; /* can't handle fragmented packet */ + + switch (ip->ip_p) { + case IPPROTO_TCP: + if (pktlen < (hlen + sizeof(struct tcphdr))) + return; + break; + case IPPROTO_UDP: + if (pktlen < (hlen + sizeof(struct udphdr))) + return; + uh = (struct udphdr *)((uint8_t *)ip + hlen); + if (uh->uh_sum == 0) + return; /* no checksum */ + break; + default: + return; + } + + cksum = ~(flags & GEM_RD_CHECKSUM); + /* checksum fixup for IP options */ + len = hlen - sizeof(struct ip); + if (len > 0) { + opts = (uint16_t *)(ip + 1); + for (; len > 0; len -= sizeof(uint16_t), opts++) { + temp32 = cksum - *opts; + temp32 = (temp32 >> 16) + (temp32 & 65535); + cksum = temp32 & 65535; + } + } + m->m_pkthdr.csum_flags |= CSUM_DATA_VALID; + m->m_pkthdr.csum_data = cksum; +} + static void gem_tick(arg) void *arg; @@ -954,12 +1076,14 @@ /* Encode Receive Descriptor ring size: four possible values */ v = gem_ringsize(GEM_NRXDESC /*XXX*/); + /* Rx TCP/UDP checksum offset */ + v |= ((ETHER_HDR_LEN + sizeof(struct ip)) << + GEM_RX_CONFIG_CXM_START_SHFT); /* Enable DMA */ bus_space_write_4(t, h, GEM_RX_CONFIG, v|(GEM_THRSH_1024<txs_firstdesc = sc->sc_txnext; + txd.m = m0; error = bus_dmamap_load_mbuf(sc->sc_tdmatag, txs->txs_dmamap, m0, gem_txdma_callback, &txd, BUS_DMA_NOWAIT); if (error != 0) @@ -1454,8 +1579,7 @@ #endif /* - * No errors; receive the packet. Note the Gem - * includes the CRC with every packet. + * No errors; receive the packet. */ len = GEM_RD_BUFLEN(rxstat); @@ -1473,7 +1597,10 @@ m->m_data += 2; /* We're already off by two */ m->m_pkthdr.rcvif = ifp; - m->m_pkthdr.len = m->m_len = len - ETHER_CRC_LEN; + m->m_pkthdr.len = m->m_len = len; + + if ((ifp->if_capenable & IFCAP_RXCSUM) != 0) + gem_rxcksum(m, rxstat); /* Pass it on. */ GEM_UNLOCK(sc); @@ -1876,6 +2003,12 @@ if (ifp->if_drv_flags & IFF_DRV_RUNNING) gem_stop(ifp, 0); } + if ((ifp->if_flags & IFF_LINK0) != 0) + sc->sc_csum_features |= CSUM_UDP; + else + sc->sc_csum_features &= ~CSUM_UDP; + if ((ifp->if_capenable & IFCAP_TXCSUM) != 0) + ifp->if_hwassist = sc->sc_csum_features; sc->sc_ifflags = ifp->if_flags; GEM_UNLOCK(sc); break; @@ -1889,6 +2022,15 @@ case SIOCSIFMEDIA: error = ifmedia_ioctl(ifp, ifr, &sc->sc_mii->mii_media, cmd); break; + case SIOCSIFCAP: + GEM_LOCK(sc); + ifp->if_capenable = ifr->ifr_reqcap; + if ((ifp->if_capenable & IFCAP_TXCSUM) != 0) + ifp->if_hwassist = sc->sc_csum_features; + else + ifp->if_hwassist = 0; + GEM_UNLOCK(sc); + break; default: error = ether_ioctl(ifp, cmd, data); break; Index: if_gemreg.h =================================================================== RCS file: /home/ncvs/src/sys/dev/gem/if_gemreg.h,v retrieving revision 1.3 diff -u -r1.3 if_gemreg.h --- if_gemreg.h 6 Jan 2005 01:42:42 -0000 1.3 +++ if_gemreg.h 14 Apr 2007 03:30:28 -0000 @@ -516,6 +516,10 @@ #define GEM_TD_START_OF_PACKET 0x0000000080000000LL #define GEM_TD_INTERRUPT_ME 0x0000000100000000LL /* Interrupt me now */ #define GEM_TD_NO_CRC 0x0000000200000000LL /* do not insert crc */ + +#define GEM_TD_CXSUM_SSHIFT 15 +#define GEM_TD_CXSUM_OSHIFT 21 + /* * Only need to set GEM_TD_CXSUM_ENABLE, GEM_TD_CXSUM_STUFF, * GEM_TD_CXSUM_START, and GEM_TD_INTERRUPT_ME in 1st descriptor of a group. Index: if_gemvar.h =================================================================== RCS file: /home/ncvs/src/sys/dev/gem/if_gemvar.h,v retrieving revision 1.12 diff -u -r1.12 if_gemvar.h --- if_gemvar.h 6 Dec 2006 02:04:25 -0000 1.12 +++ if_gemvar.h 14 Apr 2007 03:30:28 -0000 @@ -108,6 +108,7 @@ struct gem_txdma { struct gem_softc *txd_sc; struct gem_txsoft *txd_txs; + struct mbuf *m; }; /* @@ -189,6 +190,7 @@ int sc_inited; int sc_debug; int sc_ifflags; + int sc_csum_features; struct mtx sc_mtx; }; --8GpibOaaTibBMecb-- From owner-freebsd-ppc@FreeBSD.ORG Sat Apr 14 15:23:38 2007 Return-Path: X-Original-To: powerpc@freebsd.org Delivered-To: freebsd-ppc@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 050CF16A401; Sat, 14 Apr 2007 15:23:38 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id BA3F513C457; Sat, 14 Apr 2007 15:23:37 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.13.8/8.13.8) with ESMTP id l3EFNbYZ088748; Sat, 14 Apr 2007 11:23:37 -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.13.8/8.13.8) with ESMTP id l3EFNbCQ066323; Sat, 14 Apr 2007 11:23:37 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 0AC2873039; Sat, 14 Apr 2007 11:23:37 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070414152337.0AC2873039@freebsd-current.sentex.ca> Date: Sat, 14 Apr 2007 11:23:37 -0400 (EDT) X-Virus-Scanned: ClamAV version devel-20070108, clamav-milter version devel-111206 on news X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Apr 2007 15:23:38 -0000 TB --- 2007-04-14 14:07:26 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2007-04-14 14:07:26 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2007-04-14 14:07:26 - cleaning the object tree TB --- 2007-04-14 14:07:42 - checking out the source tree TB --- 2007-04-14 14:07:42 - cd /tinderbox/HEAD/powerpc/powerpc TB --- 2007-04-14 14:07:42 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2007-04-14 14:17:39 - building world (CFLAGS=-O2 -pipe) TB --- 2007-04-14 14:17:39 - cd /src TB --- 2007-04-14 14:17:39 - /usr/bin/make -B buildworld >>> World build started on Sat Apr 14 14:17:41 UTC 2007 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Sat Apr 14 15:15:54 UTC 2007 TB --- 2007-04-14 15:15:54 - generating LINT kernel config TB --- 2007-04-14 15:15:54 - cd /src/sys/powerpc/conf TB --- 2007-04-14 15:15:54 - /usr/bin/make -B LINT TB --- 2007-04-14 15:15:54 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2007-04-14 15:15:54 - cd /src TB --- 2007-04-14 15:15:54 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat Apr 14 15:15:54 UTC 2007 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -Werror /src/sys/netinet/sctp_bsd_addr.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -Werror /src/sys/netinet/sctp_crc32.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -Werror /src/sys/netinet/sctp_indata.c /src/sys/netinet/sctp_indata.c: In function `sctp_handle_segments': /src/sys/netinet/sctp_indata.c:2925: error: `v' undeclared (first use in this function) /src/sys/netinet/sctp_indata.c:2925: error: (Each undeclared identifier is reported only once /src/sys/netinet/sctp_indata.c:2925: error: for each function it appears in.) /src/sys/netinet/sctp_indata.c:2925: error: syntax error before "last_tsn" *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-04-14 15:23:37 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-04-14 15:23:37 - ERROR: failed to build lint kernel TB --- 2007-04-14 15:23:37 - tinderbox aborted TB --- 0.69 user 2.38 system 4571.01 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Sat Apr 14 19:04:51 2007 Return-Path: X-Original-To: powerpc@freebsd.org Delivered-To: freebsd-ppc@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6A88E16A400; Sat, 14 Apr 2007 19:04:51 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 4477813C4B8; Sat, 14 Apr 2007 19:04:50 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.13.8/8.13.8) with ESMTP id l3EJ4orp000829; Sat, 14 Apr 2007 15:04:50 -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.13.8/8.13.8) with ESMTP id l3EJ4ohu090993; Sat, 14 Apr 2007 15:04:50 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id 5E06673039; Sat, 14 Apr 2007 15:04:50 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070414190450.5E06673039@freebsd-current.sentex.ca> Date: Sat, 14 Apr 2007 15:04:50 -0400 (EDT) X-Virus-Scanned: ClamAV version devel-20070108, clamav-milter version devel-111206 on clamscanner1 X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Apr 2007 19:04:51 -0000 TB --- 2007-04-14 17:44:49 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2007-04-14 17:44:49 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2007-04-14 17:44:49 - cleaning the object tree TB --- 2007-04-14 17:45:05 - checking out the source tree TB --- 2007-04-14 17:45:05 - cd /tinderbox/HEAD/powerpc/powerpc TB --- 2007-04-14 17:45:05 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2007-04-14 17:58:27 - building world (CFLAGS=-O2 -pipe) TB --- 2007-04-14 17:58:27 - cd /src TB --- 2007-04-14 17:58:27 - /usr/bin/make -B buildworld >>> World build started on Sat Apr 14 17:58:29 UTC 2007 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Sat Apr 14 18:57:11 UTC 2007 TB --- 2007-04-14 18:57:11 - generating LINT kernel config TB --- 2007-04-14 18:57:11 - cd /src/sys/powerpc/conf TB --- 2007-04-14 18:57:11 - /usr/bin/make -B LINT TB --- 2007-04-14 18:57:11 - building LINT kernel (COPTFLAGS=-O2 -pipe) TB --- 2007-04-14 18:57:11 - cd /src TB --- 2007-04-14 18:57:11 - /usr/bin/make buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat Apr 14 18:57:11 UTC 2007 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -Werror /src/sys/netinet/sctp_bsd_addr.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -Werror /src/sys/netinet/sctp_crc32.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -fformat-extensions -nostdinc -I- -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -ffreestanding -Werror /src/sys/netinet/sctp_indata.c /src/sys/netinet/sctp_indata.c: In function `sctp_handle_segments': /src/sys/netinet/sctp_indata.c:2925: error: `v' undeclared (first use in this function) /src/sys/netinet/sctp_indata.c:2925: error: (Each undeclared identifier is reported only once /src/sys/netinet/sctp_indata.c:2925: error: for each function it appears in.) /src/sys/netinet/sctp_indata.c:2925: error: syntax error before "last_tsn" *** Error code 1 Stop in /obj/powerpc/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-04-14 19:04:50 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-04-14 19:04:50 - ERROR: failed to build lint kernel TB --- 2007-04-14 19:04:50 - tinderbox aborted TB --- 0.61 user 1.76 system 4800.80 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Sat Apr 14 21:52:39 2007 Return-Path: X-Original-To: powerpc@freebsd.org Delivered-To: freebsd-ppc@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B407116A404; Sat, 14 Apr 2007 21:52:39 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smarthost1.sentex.ca (smarthost1.sentex.ca [64.7.153.18]) by mx1.freebsd.org (Postfix) with ESMTP id 8D30313C45E; Sat, 14 Apr 2007 21:52:39 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.13.8/8.13.8) with ESMTP id l3ELqd4Y009744; Sat, 14 Apr 2007 17:52:39 -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.13.8/8.13.8) with ESMTP id l3ELqcbj000271; Sat, 14 Apr 2007 17:52:38 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-current.sentex.ca (Postfix, from userid 666) id D476873039; Sat, 14 Apr 2007 17:52:38 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20070414215238.D476873039@freebsd-current.sentex.ca> Date: Sat, 14 Apr 2007 17:52:38 -0400 (EDT) X-Virus-Scanned: ClamAV version devel-20070108, clamav-milter version devel-111206 on clamscanner1 X-Virus-Status: Clean Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Apr 2007 21:52:39 -0000 TB --- 2007-04-14 20:57:13 - tinderbox 2.3 running on freebsd-current.sentex.ca TB --- 2007-04-14 20:57:13 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2007-04-14 20:57:13 - cleaning the object tree TB --- 2007-04-14 20:57:38 - checking out the source tree TB --- 2007-04-14 20:57:38 - cd /tinderbox/HEAD/powerpc/powerpc TB --- 2007-04-14 20:57:38 - /usr/bin/cvs -f -R -q -d/home/ncvs update -Pd -A src TB --- 2007-04-14 21:06:42 - building world (CFLAGS=-O2 -pipe) TB --- 2007-04-14 21:06:42 - cd /src TB --- 2007-04-14 21:06:42 - /usr/bin/make -B buildworld >>> World build started on Sat Apr 14 21:06:43 UTC 2007 >>> 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 [...] `vs_split.o' is up to date. (cd /src/rescue/rescue/../../usr.bin/id && /usr/bin/make -DRESCUE CRUNCH_CFLAGS=-DRESCUE DIRPRFX=rescue/rescue/id/ depend && /usr/bin/make -DRESCUE CRUNCH_CFLAGS=-DRESCUE DIRPRFX=rescue/rescue/id/ id.o) `id.o' is up to date. (cd /src/rescue/rescue/../../usr.sbin/chroot && /usr/bin/make -DRESCUE CRUNCH_CFLAGS=-DRESCUE DIRPRFX=rescue/rescue/chroot/ depend && /usr/bin/make -DRESCUE CRUNCH_CFLAGS=-DRESCUE DIRPRFX=rescue/rescue/chroot/ chroot.o) `chroot.o' is up to date. cc -static -o rescue rescue.o cat.lo chflags.lo chio.lo chmod.lo cp.lo date.lo dd.lo df.lo echo.lo ed.lo expr.lo getfacl.lo hostname.lo kenv.lo kill.lo ln.lo ls.lo mkdir.lo mv.lo pax.lo ps.lo pwd.lo realpath.lo rm.lo rmdir.lo setfacl.lo sh.lo stty.lo sync.lo test.lo rcp.lo csh.lo atacontrol.lo badsect.lo bsdlabel.lo camcontrol.lo ccdconfig.lo clri.lo devfs.lo dmesg.lo dump.lo dumpfs.lo dumpon.lo fsck.lo fsck_ffs.lo fsck_msdosfs.lo fsdb.lo fsirand.lo gbde.lo ifconfig.lo init.lo kldconfig.lo kldload.lo kldstat.lo kldunload.lo ldconfig.lo md5.lo mdconfig.lo mdmfs.lo mknod.lo mount.lo mount_cd9660.lo mount_msdosfs.lo mount_nfs.lo mount_ntfs.lo mount_nullfs.lo mount_udf.lo mount_umapfs.lo mount_unionfs.lo newfs.lo newfs_msdos.lo nos-tun.lo ping.lo reboot.lo restore.lo rcorder.lo route.lo routed.lo rtquery.lo rtsol.lo savecore.lo slattach.lo spppcontrol.lo startslip.lo swapon.lo sysctl.lo tunefs.lo umount.lo atm.lo atmconfig.lo fore_dnld.lo ilmid.lo ping6.lo ipf.lo dhclient.lo gzip .lo bzip2.lo tar.lo vi.lo id.lo chroot.lo /obj/powerpc/src/rescue/rescue/../librescue/exec.o /obj/powerpc/src/rescue/rescue/../librescue/getusershell.o /obj/powerpc/src/rescue/rescue/../librescue/login_class.o /obj/powerpc/src/rescue/rescue/../librescue/popen.o /obj/powerpc/src/rescue/rescue/../librescue/rcmdsh.o /obj/powerpc/src/rescue/rescue/../librescue/sysctl.o /obj/powerpc/src/rescue/rescue/../librescue/system.o -lcrypt -ledit -lkvm -ll -lm -ltermcap -lutil -lcrypto -latm -lalias -lcam -lcurses -ldevstat -lipsec -lipx -lgeom -lbsdxml -lkiconv -lmd -lreadline -lsbuf -lufs -lz -lbz2 -larchive /obj/powerpc/src/tmp/usr/lib/libarchive.a(archive_read_support_format_all.o)(.text+0x14): In function `archive_read_support_format_all': : undefined reference to `archive_read_support_format_ar' *** Error code 1 Stop in /obj/powerpc/src/rescue/rescue. *** Error code 1 Stop in /src/rescue/rescue. *** Error code 1 Stop in /src/rescue. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2007-04-14 21:52:38 - WARNING: /usr/bin/make returned exit code 1 TB --- 2007-04-14 21:52:38 - ERROR: failed to build world TB --- 2007-04-14 21:52:38 - tinderbox aborted TB --- 0.47 user 1.89 system 3324.88 real http://tinderbox.des.no/tinderbox-head-HEAD-powerpc-powerpc.full