From owner-freebsd-ia64@FreeBSD.ORG Wed Jun 2 19:01:57 2010 Return-Path: Delivered-To: ia64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18446106566B; Wed, 2 Jun 2010 19:01:57 +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 CA4788FC08; Wed, 2 Jun 2010 19:01:56 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.4/8.14.3) with ESMTP id o52J1uFa002779; Wed, 2 Jun 2010 15:01:56 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.4/8.14.3/Submit) id o52J1uBD002770; Wed, 2 Jun 2010 19:01:56 GMT (envelope-from tinderbox@freebsd.org) Date: Wed, 2 Jun 2010 19:01:56 GMT Message-Id: <201006021901.o52J1uBD002770@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 ia64/ia64 X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2010 19:01:57 -0000 TB --- 2010-06-02 17:26:09 - tinderbox 2.6 running on freebsd-current.sentex.ca TB --- 2010-06-02 17:26:09 - starting HEAD tinderbox run for ia64/ia64 TB --- 2010-06-02 17:26:09 - cleaning the object tree TB --- 2010-06-02 17:26:30 - cvsupping the source tree TB --- 2010-06-02 17:26:30 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/ia64/ia64/supfile TB --- 2010-06-02 17:27:12 - building world TB --- 2010-06-02 17:27:12 - MAKEOBJDIRPREFIX=/obj TB --- 2010-06-02 17:27:12 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-06-02 17:27:12 - TARGET=ia64 TB --- 2010-06-02 17:27:12 - TARGET_ARCH=ia64 TB --- 2010-06-02 17:27:12 - TZ=UTC TB --- 2010-06-02 17:27:12 - __MAKE_CONF=/dev/null TB --- 2010-06-02 17:27:12 - cd /src TB --- 2010-06-02 17:27:12 - /usr/bin/make -B buildworld >>> World build started on Wed Jun 2 17:27:13 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 Wed Jun 2 18:45:41 UTC 2010 TB --- 2010-06-02 18:45:41 - generating LINT kernel config TB --- 2010-06-02 18:45:41 - cd /src/sys/ia64/conf TB --- 2010-06-02 18:45:41 - /usr/bin/make -B LINT TB --- 2010-06-02 18:45:41 - building LINT kernel TB --- 2010-06-02 18:45:41 - MAKEOBJDIRPREFIX=/obj TB --- 2010-06-02 18:45:41 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2010-06-02 18:45:41 - TARGET=ia64 TB --- 2010-06-02 18:45:41 - TARGET_ARCH=ia64 TB --- 2010-06-02 18:45:41 - TZ=UTC TB --- 2010-06-02 18:45:41 - __MAKE_CONF=/dev/null TB --- 2010-06-02 18:45:41 - cd /src TB --- 2010-06-02 18:45:41 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Wed Jun 2 18:45:41 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 -I/src/sys/contrib/ia64/libuwx/src -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 -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -Werror /src/sys/vm/vm_meter.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 -I/src/sys/contrib/ia64/libuwx/src -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 -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -Werror /src/sys/vm/vm_mmap.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 -I/src/sys/contrib/ia64/libuwx/src -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 -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -Werror /src/sys/vm/vm_object.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 -I/src/sys/contrib/ia64/libuwx/src -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 -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -Werror /src/sys/vm/vm_page.c cc1: warnings being treated as errors /src/sys/vm/vm_page.c: In function 'vm_page_set_validclean': /src/sys/vm/vm_page.c:2170: warning: comparison is always false due to limited range of data type /src/sys/vm/vm_page.c:2182: warning: comparison is always true due to limited range of data type *** Error code 1 Stop in /obj/ia64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2010-06-02 19:01:56 - WARNING: /usr/bin/make returned exit code 1 TB --- 2010-06-02 19:01:56 - ERROR: failed to build lint kernel TB --- 2010-06-02 19:01:56 - 4539.30 user 696.86 system 5746.67 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-ia64-ia64.full From owner-freebsd-ia64@FreeBSD.ORG Sat Jun 5 17:00:17 2010 Return-Path: Delivered-To: freebsd-ia64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22DB7106566C for ; Sat, 5 Jun 2010 17:00:17 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id CDD068FC18 for ; Sat, 5 Jun 2010 17:00:16 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o55H0GAY072483 for ; Sat, 5 Jun 2010 17:00:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o55H0GuM072482; Sat, 5 Jun 2010 17:00:16 GMT (envelope-from gnats) Resent-Date: Sat, 5 Jun 2010 17:00:16 GMT Resent-Message-Id: <201006051700.o55H0GuM072482@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ia64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Marcel Moolenaar Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12D8D1065678 for ; Sat, 5 Jun 2010 16:55:11 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 02A2C8FC1D for ; Sat, 5 Jun 2010 16:55:11 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o55Gt4FC041846 for ; Sat, 5 Jun 2010 16:55:04 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o55Gt4Pp041845; Sat, 5 Jun 2010 16:55:04 GMT (envelope-from nobody) Message-Id: <201006051655.o55Gt4Pp041845@www.freebsd.org> Date: Sat, 5 Jun 2010 16:55:04 GMT From: Marcel Moolenaar To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ia64/147501: [ia64] options PREEMPTION causes instability X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 17:00:17 -0000 >Number: 147501 >Category: ia64 >Synopsis: [ia64] options PREEMPTION causes instability >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ia64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jun 05 17:00:16 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Marcel Moolenaar >Release: 9-CURRENT >Organization: >Environment: FreeBSD hob.lan.xcllnt.net 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r208634:208809M: Sat Jun 5 08:36:47 PDT 2010 marcel@hob.lan.xcllnt.net:/usr/obj/nfs/freebsd/base/head/sys/HOB ia64 >Description: Running pho's stress2 with PREEMPTION results in kernel panics that are not seen when PREEMPTION is not enabled. This is with a SMP kernel. >How-To-Repeat: On a Montecito box: o checkout projects/stress2 o compile and run o Wait for a panic (possibly a hard hang) within a few hours. NOTE: Due to another bug, Montecito is the more reliable test platform. >Fix: Problem areas that are at the top of my head: o The weak memory ordering could result in race conditions if memory fences aren't properly used o Access to PCPU fields is non-atomic, which may result in getting the wrong field when the thread migrates to another CPU in the middle of the access sequence. >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-ia64@FreeBSD.ORG Sat Jun 5 17:20:04 2010 Return-Path: Delivered-To: freebsd-ia64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 313C81065677 for ; Sat, 5 Jun 2010 17:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E90688FC18 for ; Sat, 5 Jun 2010 17:20:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o55HK33C089839 for ; Sat, 5 Jun 2010 17:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o55HK3kB089838; Sat, 5 Jun 2010 17:20:03 GMT (envelope-from gnats) Resent-Date: Sat, 5 Jun 2010 17:20:03 GMT Resent-Message-Id: <201006051720.o55HK3kB089838@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ia64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Marcel Moolenaar Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2ED6A1065676 for ; Sat, 5 Jun 2010 17:11:55 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 1E9558FC0A for ; Sat, 5 Jun 2010 17:11:55 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o55HBs5u055482 for ; Sat, 5 Jun 2010 17:11:54 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o55HBsJX055481; Sat, 5 Jun 2010 17:11:54 GMT (envelope-from nobody) Message-Id: <201006051711.o55HBsJX055481@www.freebsd.org> Date: Sat, 5 Jun 2010 17:11:54 GMT From: Marcel Moolenaar To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ia64/147502: [ia64][busdma] bounce buffering does not work reliably X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 17:20:04 -0000 >Number: 147502 >Category: ia64 >Synopsis: [ia64][busdma] bounce buffering does not work reliably >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-ia64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Jun 05 17:20:03 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Marcel Moolenaar >Release: 9-CURRENT >Organization: >Environment: FreeBSD hob.lan.xcllnt.net 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r208634:208809M: Sat Jun 5 08:36:47 PDT 2010 marcel@hob.lan.xcllnt.net:/usr/obj/nfs/freebsd/base/head/sys/HOB ia64 >Description: When running pho's stress2 on a machine with 8GB of RAM, bge(4) becomes non-functional. Eliminating all memory above 4GB and thereby eliminating the need to do bounce buffering results in a "successful" run. >How-To-Repeat: On a machine with bge(4) and memory located above 4G: o checkout projects/stress2 o compile and run o Wait for the network to become non-functional o Abort the test and observe that the I/F remains non-functional o Flap the I/F (bring it down and then up) and see that it remains non-functional Non-functional in this context means that no packets go out and none come in. >Fix: swi_vm() has been castrated so that busdma_swi() isn't being called. This may be all there is to it (i.e. remove the #if 0 and #endif)... >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-ia64@FreeBSD.ORG Sat Jun 5 20:10:12 2010 Return-Path: Delivered-To: freebsd-ia64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C37B106566C for ; Sat, 5 Jun 2010 20:10:12 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (unknown [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E638A8FC1B for ; Sat, 5 Jun 2010 20:10:11 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o55KABZF049956 for ; Sat, 5 Jun 2010 20:10:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o55KABcO049955; Sat, 5 Jun 2010 20:10:11 GMT (envelope-from gnats) Date: Sat, 5 Jun 2010 20:10:11 GMT Message-Id: <201006052010.o55KABcO049955@freefall.freebsd.org> To: freebsd-ia64@FreeBSD.org From: Marcel Moolenaar Cc: Subject: Re: ia64/147502: [ia64][busdma] bounce buffering does not work reliably X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marcel Moolenaar List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 20:10:12 -0000 The following reply was made to PR ia64/147502; it has been noted by GNATS. From: Marcel Moolenaar To: "bug-followup@FreeBSD.org" , "marcel@FreeBSD.org" Cc: Subject: Re: ia64/147502: [ia64][busdma] bounce buffering does not work reliably Date: Sat, 05 Jun 2010 12:05:11 -0700 Bounce buffering fundamentally works. The problem relates to there not being any free bounce pages left. -- Marcel