From owner-freebsd-ppc@FreeBSD.ORG Mon Feb 8 11:07:02 2010 Return-Path: Delivered-To: freebsd-ppc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A73AF10656CC for ; Mon, 8 Feb 2010 11:07:02 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 96CEB8FC17 for ; Mon, 8 Feb 2010 11:07:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o18B72hZ087475 for ; Mon, 8 Feb 2010 11:07:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o18B721g087473 for freebsd-ppc@FreeBSD.org; Mon, 8 Feb 2010 11:07:02 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 8 Feb 2010 11:07:02 GMT Message-Id: <201002081107.o18B721g087473@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-ppc@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-ppc@FreeBSD.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Feb 2010 11:07:02 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o power/140241 ppc [kernel] [patch] Linker set problems on PowerPC EABI o power/135576 ppc gdb cannot debug threaded programs on ppc o power/133503 ppc [sound] Sound stutter after switching ttys o power/133383 ppc firefox thr_kill crash with heavy vm load o power/133382 ppc [install] Installer gets signal 11 o power/131548 ppc ofw_syscons no longer supports 32-bit framebuffer a power/121407 ppc [panic] Won't boot up; strange error message. o power/111296 ppc [kernel] [patch] [request] Support IMISS, DLMISS an DS o power/93203 ppc FreeBSD PPC Can't Write to Partitions. 9 problems total. From owner-freebsd-ppc@FreeBSD.ORG Tue Feb 9 02:26:04 2010 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4CD2A106566C; Tue, 9 Feb 2010 02:26:04 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 270388FC19; Tue, 9 Feb 2010 02:26:03 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.3/8.14.3) with ESMTP id o192Q3Eo001118; Mon, 8 Feb 2010 21:26:03 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.3/8.14.3/Submit) id o192Q3hK001117; Tue, 9 Feb 2010 02:26:03 GMT (envelope-from tinderbox@freebsd.org) Date: Tue, 9 Feb 2010 02:26:03 GMT Message-Id: <201002090226.o192Q3hK001117@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2010 02:26:04 -0000 TB --- 2010-02-09 01:21:24 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-02-09 01:21:24 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2010-02-09 01:21:24 - cleaning the object tree TB --- 2010-02-09 01:21:38 - cvsupping the source tree TB --- 2010-02-09 01:21:38 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2010-02-09 01:22:02 - building world TB --- 2010-02-09 01:22:02 - MAKEOBJDIRPREFIX=/obj TB --- 2010-02-09 01:22:02 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-02-09 01:22:02 - TARGET=powerpc TB --- 2010-02-09 01:22:02 - TARGET_ARCH=powerpc TB --- 2010-02-09 01:22:02 - TZ=UTC TB --- 2010-02-09 01:22:02 - __MAKE_CONF=/dev/null TB --- 2010-02-09 01:22:02 - cd /src TB --- 2010-02-09 01:22:02 - /usr/bin/make -B buildworld >>> World build started on Tue Feb 9 01:22:02 UTC 2010 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries >>> stage 4.3: make dependencies >>> stage 4.4: building everything >>> World build completed on Tue Feb 9 02:22:35 UTC 2010 TB --- 2010-02-09 02:22:35 - generating LINT kernel config TB --- 2010-02-09 02:22:35 - cd /src/sys/powerpc/conf TB --- 2010-02-09 02:22:35 - /usr/bin/make -B LINT TB --- 2010-02-09 02:22:35 - building LINT kernel TB --- 2010-02-09 02:22:35 - MAKEOBJDIRPREFIX=/obj TB --- 2010-02-09 02:22:35 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-02-09 02:22:35 - TARGET=powerpc TB --- 2010-02-09 02:22:35 - TARGET_ARCH=powerpc TB --- 2010-02-09 02:22:35 - TZ=UTC TB --- 2010-02-09 02:22:35 - __MAKE_CONF=/dev/null TB --- 2010-02-09 02:22:35 - cd /src TB --- 2010-02-09 02:22:35 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Tue Feb 9 02:22:35 UTC 2010 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything [...] cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/dev/ata/ata-raid.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/dev/ata/atapi-cd.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/dev/ata/atapi-fd.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/dev/ata/atapi-tape.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/dev/ata/atapi-cam.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -msoft-float -fno-omit-frame-pointer -msoft-float -mno-altivec -ffreestanding -fstack-protector -Werror /src/sys/dev/ath/if_ath.c -I/src/sys/dev/ath /src/sys/dev/ath/if_ath.c: In function 'ath_key_alloc': /src/sys/dev/ath/if_ath.c:2239: error: expected expression 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 --- 2010-02-09 02:26:03 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-02-09 02:26:03 - ERROR: failed to build lint kernel TB --- 2010-02-09 02:26:03 - 2912.12 user 614.02 system 3879.25 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Thu Feb 11 05:06:33 2010 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2168E10656C0; Thu, 11 Feb 2010 05:06:33 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id C65258FC37; Thu, 11 Feb 2010 05:06:32 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.3/8.14.3) with ESMTP id o1B56Wih007615; Thu, 11 Feb 2010 00:06:32 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.3/8.14.3/Submit) id o1B56WaL007614; Thu, 11 Feb 2010 05:06:32 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 11 Feb 2010 05:06:32 GMT Message-Id: <201002110506.o1B56WaL007614@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2010 05:06:33 -0000 TB --- 2010-02-11 04:38:30 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-02-11 04:38:30 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2010-02-11 04:38:30 - cleaning the object tree TB --- 2010-02-11 04:38:49 - cvsupping the source tree TB --- 2010-02-11 04:38:49 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2010-02-11 04:39:14 - building world TB --- 2010-02-11 04:39:14 - MAKEOBJDIRPREFIX=/obj TB --- 2010-02-11 04:39:14 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-02-11 04:39:14 - TARGET=powerpc TB --- 2010-02-11 04:39:14 - TARGET_ARCH=powerpc TB --- 2010-02-11 04:39:14 - TZ=UTC TB --- 2010-02-11 04:39:14 - __MAKE_CONF=/dev/null TB --- 2010-02-11 04:39:14 - cd /src TB --- 2010-02-11 04:39:14 - /usr/bin/make -B buildworld >>> World build started on Thu Feb 11 04:39:14 UTC 2010 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries [...] cc -fpic -DPIC -O2 -pipe -I. -I/src/lib/libthread_db -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -c /src/lib/libthread_db/libthr_db.c -o libthr_db.So building shared library libthread_db.so.3 ===> lib/libufs (all) cc -O2 -pipe -D_LIBUFS -I/src/lib/libufs -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c /src/lib/libufs/block.c cc -O2 -pipe -D_LIBUFS -I/src/lib/libufs -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c /src/lib/libufs/cgroup.c cc1: warnings being treated as errors /src/lib/libufs/cgroup.c: In function 'cgread1': /src/lib/libufs/cgroup.c:62: warning: comparison between signed and unsigned *** Error code 1 Stop in /src/lib/libufs. *** Error code 1 Stop in /src/lib. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2010-02-11 05:06:32 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-02-11 05:06:32 - ERROR: failed to build world TB --- 2010-02-11 05:06:32 - 1229.44 user 292.03 system 1681.80 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Thu Feb 11 13:11:04 2010 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB1A910656EE; Thu, 11 Feb 2010 13:11:04 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 6A22D8FC1C; Thu, 11 Feb 2010 13:11:04 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.3/8.14.3) with ESMTP id o1BDB3sf076736; Thu, 11 Feb 2010 08:11:03 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.3/8.14.3/Submit) id o1BDB32Q076735; Thu, 11 Feb 2010 13:11:03 GMT (envelope-from tinderbox@freebsd.org) Date: Thu, 11 Feb 2010 13:11:03 GMT Message-Id: <201002111311.o1BDB32Q076735@freebsd-current.sentex.ca> X-Authentication-Warning: freebsd-current.sentex.ca: tinderbox set sender to FreeBSD Tinderbox using -f Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Cc: Subject: [head tinderbox] failure on powerpc/powerpc X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2010 13:11:04 -0000 TB --- 2010-02-11 12:43:07 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-02-11 12:43:07 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2010-02-11 12:43:07 - cleaning the object tree TB --- 2010-02-11 12:43:11 - cvsupping the source tree TB --- 2010-02-11 12:43:11 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile TB --- 2010-02-11 12:43:36 - building world TB --- 2010-02-11 12:43:36 - MAKEOBJDIRPREFIX=/obj TB --- 2010-02-11 12:43:36 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-02-11 12:43:36 - TARGET=powerpc TB --- 2010-02-11 12:43:36 - TARGET_ARCH=powerpc TB --- 2010-02-11 12:43:36 - TZ=UTC TB --- 2010-02-11 12:43:36 - __MAKE_CONF=/dev/null TB --- 2010-02-11 12:43:36 - cd /src TB --- 2010-02-11 12:43:36 - /usr/bin/make -B buildworld >>> World build started on Thu Feb 11 12:43:37 UTC 2010 >>> Rebuilding the temporary build tree >>> stage 1.1: legacy release compatibility shims >>> stage 1.2: bootstrap tools >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3: cross tools >>> stage 4.1: building includes >>> stage 4.2: building libraries [...] ===> lib/libufs (all) cc -O2 -pipe -D_LIBUFS -I/src/lib/libufs -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c /src/lib/libufs/block.c cc -O2 -pipe -D_LIBUFS -I/src/lib/libufs -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c /src/lib/libufs/cgroup.c cc -O2 -pipe -D_LIBUFS -I/src/lib/libufs -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c /src/lib/libufs/inode.c cc -O2 -pipe -D_LIBUFS -I/src/lib/libufs -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -c /src/lib/libufs/sblock.c cc1: warnings being treated as errors /src/lib/libufs/sblock.c: In function 'sbwrite': /src/lib/libufs/sblock.c:111: warning: comparison between signed and unsigned *** Error code 1 Stop in /src/lib/libufs. *** Error code 1 Stop in /src/lib. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2010-02-11 13:11:03 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-02-11 13:11:03 - ERROR: failed to build world TB --- 2010-02-11 13:11:03 - 1229.89 user 287.64 system 1676.08 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-ppc@FreeBSD.ORG Fri Feb 12 04:30:53 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE4CE106566C; Fri, 12 Feb 2010 04:30:52 +0000 (UTC) (envelope-from rajatjain@juniper.net) Received: from exprod7og121.obsmtp.com (exprod7og121.obsmtp.com [64.18.2.20]) by mx1.freebsd.org (Postfix) with ESMTP id 1DCB18FC08; Fri, 12 Feb 2010 04:30:51 +0000 (UTC) Received: from source ([66.129.224.36]) (using TLSv1) by exprod7ob121.postini.com ([64.18.6.12]) with SMTP ID DSNKS3TZe8WzYsKOhhr+zRsc0sdv7dwTQCFw@postini.com; Thu, 11 Feb 2010 20:30:52 PST Received: from emailbng1.jnpr.net (10.209.194.15) by P-EMHUB03-HQ.jnpr.net (172.24.192.37) with Microsoft SMTP Server id 8.1.393.1; Thu, 11 Feb 2010 20:29:22 -0800 Received: from emailbng3.jnpr.net ([10.209.194.27]) by emailbng1.jnpr.net with Microsoft SMTPSVC(6.0.3790.3959); Fri, 12 Feb 2010 09:59:19 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Fri, 12 Feb 2010 09:59:19 +0530 Message-ID: <8506939B503B404A84BBB12293FC45F606A74F94@emailbng3.jnpr.net> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Understanding PCI enumeration for hot-plug Thread-Index: Acqrm/FL8jWF2VBsS6yi1Nozfl/z7Q== From: Rajat Jain To: , X-OriginalArrivalTime: 12 Feb 2010 04:29:19.0868 (UTC) FILETIME=[F1CFABC0:01CAAB9B] Cc: freebsd-ia32@freebsd.org, bms@freebsd.org, freebsd-ppc@freebsd.org Subject: Understanding PCI enumeration for hot-plug X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Feb 2010 04:30:53 -0000 Hello, I need to support build hot-plug in a FreeBSD based system where I know in advance the devices (and the PCI hierarchy on them) that can be hot-plugged into the system.=20 I'm trying to understand the PCI enumeration / re-enumeration process in the context of hot-plug / unplug. I'm assuming the case where the firmware is really dumb and the kernel needs to manage / allocate all PCI resources.=20 I'm going through the PCI specs (and PCI-to-PCI bridge specs) and here is what I think needs to be done when ever PCI / PCIe devices are added / removed from the system. I would appreciate if some one could please confirm my understanding and point out if I am missing something: PCI-REOURCE / BUS-NUMBER MGMT =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D [IFF NECESSARY] PCI configuration space of all the bridges needs to be re-written, right from the immediate parent of the device being removed until the host bridge in order to ensure that: a) Each parent bridge has secondary and subordinate bus range set so as to include all the bus numbers below it. This is required to forward configuration transactions. b) Each parent bridge has IO base and IO limit set so as to include all the IO address space below it. c) Each parent bridge has Memory base and Memory limit set so as to include all the Memory address space below it. d) Each parent bridge has Pre-fetch Memory base and Memory limit set so as to include all the Pre-fetch Memory address space below it. Note-1: The reason a/b/c/d above are marked "IFF NECESSARY" is that we can avoid all the above work if we can pre-allocate the above resources for future devices, and set these parent bridges ranges accordingly.=20 IN other words, consider a system where we know in advance, the PCI device tree on the devices that can be hot-plugged into the system. Here we can set aside PCI bus numbers and IO / Mem / Prefetchable memory ranges for them in advance. And thus configure the parent bridges to already include those ranges. Thus later when the devices are added, none of the parent bridges will need to be re-programmed. Is my understanding correct? DEVICE DETECTION & INITIALIZATION =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D e) Upon detection of the device (By attempting to read its config space), the most important item is to program its BARs to appropriate address spaces as requested by the device. The BARs need to be programmed such that they are included in the appropriate Base / limit registers of all the bridges upstream. Correct? Again, if we've used the strategy specified in Note-1, we can simply use the range we've already aside for this device. MY QUESTIONS =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 1) Is my above understanding correct? 2) Does anything else also needs to be done in order to make it work? 3) As I said I'm trying to make it fast and optimize for the case where I know the devices [thus the PCI tree] that can be plugged in. Will my strategy specified in Note-1 work? So all I need to configure is my newly detected devices / bridges and not the existing ones... Thanks in Advance, Rajat Jain