From owner-freebsd-amd64@FreeBSD.ORG Sun Jul 26 03:20:01 2009 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A7D38106564A for ; Sun, 26 Jul 2009 03:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 8210A8FC1E for ; Sun, 26 Jul 2009 03:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6Q3K1ir070993 for ; Sun, 26 Jul 2009 03:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6Q3K1Gf070992; Sun, 26 Jul 2009 03:20:01 GMT (envelope-from gnats) Resent-Date: Sun, 26 Jul 2009 03:20:01 GMT Resent-Message-Id: <200907260320.n6Q3K1Gf070992@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Guixian Lin Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB5E41065672 for ; Sun, 26 Jul 2009 03:14:47 +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 AE3CE8FC18 for ; Sun, 26 Jul 2009 03:14:47 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n6Q3Elnp052150 for ; Sun, 26 Jul 2009 03:14:47 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n6Q3ElRh052143; Sun, 26 Jul 2009 03:14:47 GMT (envelope-from nobody) Message-Id: <200907260314.n6Q3ElRh052143@www.freebsd.org> Date: Sun, 26 Jul 2009 03:14:47 GMT From: Guixian Lin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Sun, 26 Jul 2009 03:38:35 +0000 Cc: Subject: amd64/137145: Reference count computing isn't correct when more than one threads call function m_copypacket X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 Jul 2009 03:20:02 -0000 >Number: 137145 >Category: amd64 >Synopsis: Reference count computing isn't correct when more than one threads call function m_copypacket >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Jul 26 03:20:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Guixian Lin >Release: FreeBSD 7.0 >Organization: Array Networks Inc. >Environment: FreeBSD AN 7.0-RELEASE FreeBSD 7.0-RELEASE #6: Sun Jul 19 16:30:17 UTC 2009 lin_gx@lingxvm.arraynetworks.com.cn:/array/rel_8/smp/FreeBSD/src/sys/compile/SERVER amd6 >Description: In our products, there exists one mbuf+mclust which is used to storage the certificate. And there're 3 threads will call m_copypacket to copy the packet during the communication. At some cases, the reference count of the mclust isn't correct, and which will cause double free the mclust. >How-To-Repeat: In kernel, you can write a test program, which will call m_copypacket. Then use loadrunner to stress the program. After some time, system will panic. >Fix: Following is my fix for this problem: --- uipc_mbuf.c.org 2009-07-26 10:58:56.000000000 +0800 +++ uipc_mbuf.c 2009-07-26 10:59:27.000000000 +0800 @@ -317,10 +317,7 @@ mb_dupcl(struct mbuf *n, struct mbuf *m) KASSERT(m->m_ext.ref_cnt != NULL, ("%s: ref_cnt not set", __func__)); KASSERT((n->m_flags & M_EXT) == 0, ("%s: M_EXT set", __func__)); - if (*(m->m_ext.ref_cnt) == 1) - *(m->m_ext.ref_cnt) += 1; - else - atomic_add_int(m->m_ext.ref_cnt, 1); + atomic_add_int(m->m_ext.ref_cnt, 1); n->m_ext.ext_buf = m->m_ext.ext_buf; n->m_ext.ext_free = m->m_ext.ext_free; n->m_ext.ext_args = m->m_ext.ext_args; Patch attached with submission follows: --- uipc_mbuf.c.org 2009-07-26 10:58:56.000000000 +0800 +++ uipc_mbuf.c 2009-07-26 10:59:27.000000000 +0800 @@ -317,10 +317,7 @@ mb_dupcl(struct mbuf *n, struct mbuf *m) KASSERT(m->m_ext.ref_cnt != NULL, ("%s: ref_cnt not set", __func__)); KASSERT((n->m_flags & M_EXT) == 0, ("%s: M_EXT set", __func__)); - if (*(m->m_ext.ref_cnt) == 1) - *(m->m_ext.ref_cnt) += 1; - else - atomic_add_int(m->m_ext.ref_cnt, 1); + atomic_add_int(m->m_ext.ref_cnt, 1); n->m_ext.ext_buf = m->m_ext.ext_buf; n->m_ext.ext_free = m->m_ext.ext_free; n->m_ext.ext_args = m->m_ext.ext_args; >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Mon Jul 27 04:42:10 2009 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 179E71065673; Mon, 27 Jul 2009 04:42:10 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E05BF8FC18; Mon, 27 Jul 2009 04:42:09 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6R4g9xR086743; Mon, 27 Jul 2009 04:42:09 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6R4g9iE086739; Mon, 27 Jul 2009 04:42:09 GMT (envelope-from linimon) Date: Mon, 27 Jul 2009 04:42:09 GMT Message-Id: <200907270442.n6R4g9iE086739@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-amd64@FreeBSD.org, freebsd-bugs@FreeBSD.org From: linimon@FreeBSD.org X-Mailman-Approved-At: Mon, 27 Jul 2009 05:15:04 +0000 Cc: Subject: Re: kern/137145: [mbuf] [patch] Reference count computing isn't correct when more than one threads call function m_copypacket X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jul 2009 04:42:10 -0000 Old Synopsis: Reference count computing isn't correct when more than one threads call function m_copypacket New Synopsis: [mbuf] [patch] Reference count computing isn't correct when more than one threads call function m_copypacket Responsible-Changed-From-To: freebsd-amd64->freebsd-bugs Responsible-Changed-By: linimon Responsible-Changed-When: Mon Jul 27 04:41:05 UTC 2009 Responsible-Changed-Why: reclassify. http://www.freebsd.org/cgi/query-pr.cgi?pr=137145 From owner-freebsd-amd64@FreeBSD.ORG Mon Jul 27 11:06:48 2009 Return-Path: Delivered-To: freebsd-amd64@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0ABA1065670 for ; Mon, 27 Jul 2009 11:06:48 +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 AD35D8FC28 for ; Mon, 27 Jul 2009 11:06:48 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6RB6mt2018839 for ; Mon, 27 Jul 2009 11:06:48 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6RB6mQt018835 for freebsd-amd64@FreeBSD.org; Mon, 27 Jul 2009 11:06:48 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 27 Jul 2009 11:06:48 GMT Message-Id: <200907271106.n6RB6mQt018835@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-amd64@FreeBSD.org X-Mailman-Approved-At: Mon, 27 Jul 2009 14:29:00 +0000 Cc: Subject: Current problem reports assigned to freebsd-amd64@FreeBSD.org X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jul 2009 11:06:49 -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 amd64/136884 amd64 [install] Try to install FreeBSD 7.2 amd64 on a prolia o amd64/136814 amd64 [mxge] mxge driver error s i386/135447 amd64 [i386] [request] Intel Core i7 and Nehalem-EP new feat o amd64/135265 amd64 [install] Boot from install cd hangs on HP DL160 G5 wi o amd64/135040 amd64 [ata] FreeBSD/amd64 does not (always) detect disk on S o amd64/134978 amd64 [panic] g_up pmap amd64 panic o amd64/134786 amd64 [vfs] [patch] vfs.bufspace sysctl wideness on amd64 o amd64/134757 amd64 32 bit processes on 64 bit platforms occasionally drop o amd64/133977 amd64 [panic] [ffs] "panic: ffs_blkfree: freeing free block" o amd64/133701 amd64 Recompiling the kernel with k8temp or smbios break GEO o amd64/132574 amd64 [boot] [hang] Freeze on bootstrap loader (CD) using AT o amd64/132372 amd64 [ata] No disks found (nVidia nForce MCP55 sata control o amd64/132019 amd64 [install] kernel trap 12 while installation o amd64/131906 amd64 [ata] SATA data corruption with Promise PDC20378 (amd6 o amd64/131456 amd64 ACPI & ATA problems o amd64/131314 amd64 [modules] [panic] large modules fail to load on amd64 o amd64/131209 amd64 [panic] [bce] 7.1-STABLE amd64 crash - m0 NULL f amd64/130885 amd64 sockstat(1) on amd64 does not work o amd64/130864 amd64 [hang] Problem with copying files to a large partition o amd64/130817 amd64 FreeBSD does not support HP DL160G5 [regression] o amd64/130494 amd64 [boot] netbooting BTX fails on amd64 o amd64/130483 amd64 [mxge] MSI must be disabled when Myricom 10Gbps Card i o amd64/130368 amd64 [hang] Switching from xorg to console locks up compute o amd64/129889 amd64 [boot] [hang] The booting process stops at the line mo o amd64/129721 amd64 [hang] Motherboard K9N2G Neo-FD hangs on boot of 7.0-R o amd64/129667 amd64 [ata] Elitegroup A780GM-A IDE controller not recognize o amd64/129426 amd64 [panic] FreeBSD 7.0 crash after subdiskXX: detached o amd64/129315 amd64 [boot] [reboot] amd64 motherboard: Intel DG965WH mothe f amd64/128978 amd64 [install] FreeBSD 6.3 64-bit panics at boot time duri o amd64/128810 amd64 AMD 64 port installation o amd64/128765 amd64 [install] Install CD loads to Install choices but stop o amd64/128686 amd64 [ata] can't detect SATA Disk on 8.0-Current with NF550 o amd64/128263 amd64 [panic] 2 amd64 dl380 g5 with dual quadcore xeons, 8 a o amd64/128259 amd64 csh(1): "`" crashes csh o amd64/127640 amd64 gcc(1) will not build shared libraries with -fprofile- o amd64/127484 amd64 [timecounters] Drift problem with FreeBSD 7.0 and 7.1 o amd64/127451 amd64 [scheduler] incorrect load on quad core o amd64/127397 amd64 [amd64] 32bit application on FreeBSD-6.3 amd64 gets SI s amd64/127276 amd64 ldd(1) invokes linux yes o amd64/127129 amd64 mdconfig(8) is core dumping with Segmentation Fault 11 o amd64/125873 amd64 [smbd] [panic] Repeated kernel panics, trap 12 page fa o amd64/125002 amd64 [install] amd64, SATA hard disks not detected o amd64/124432 amd64 [panic] 7.0-STABLE panic: invalbuf: dirty bufs o amd64/124134 amd64 [kernel] The kernel doesn't follow the calling convent o amd64/123562 amd64 [install] FreeBSD amd64 not installs o amd64/123520 amd64 [ahd] unable to boot from net while using ahd o amd64/123456 amd64 fstat(1): /usr/bin/fstat shows error messages and hang f amd64/123275 amd64 [cbb] [pcmcia] cbb/pcmcia drivers on amd64 failure [re o kern/122782 amd64 [modules] accf_http.ko kernel module is not loadable o amd64/122695 amd64 [cpufreq] Lack of cpufreq control using amd64 eith cor o amd64/122624 amd64 unusable minimal installation of FreeBSD-7.0 o amd64/122549 amd64 7.0-RELEASE-amd64-bootonly.iso doesn't work w/ serial o amd64/122468 amd64 Compile problems after upgrading to 7.0 o amd64/122174 amd64 [panic] 7.0 no longer includes "device atpic" so fails o amd64/121590 amd64 [est] [p4tcc] [acpi_perf] setting dev.cpu.0.freq somet o amd64/120202 amd64 [amd64] [patch] [panic] kernel panic at start_all_aps, o amd64/119591 amd64 [amd64] [patch] time_t on 64-bit architecture o amd64/117418 amd64 [hang] FreeBSD 6.2 crash on amd64 4400+ with ssh o amd64/117316 amd64 [acpi] ACPI lockups on SuperMicro motherboard o amd64/117296 amd64 [ata] I don`t see second SATA IDE on VIA VT8237A a amd64/117186 amd64 [modules] kldload Unsupported file type on STABLE amd6 s amd64/116689 amd64 [request] support for MSI K9MM-V o amd64/116620 amd64 [hang] ifconfig spins when creating carp(4) device on o amd64/116322 amd64 [panic] At start fsck on current, the system panics o amd64/116159 amd64 [panic] Panic while debugging on CURRENT s amd64/115815 amd64 [ata] [request] Gigabyte GA-M61P-S3 Motherboard unsupp o amd64/115581 amd64 [Makefile] [patch] -mfancy-math-387 has no effect o amd64/115194 amd64 LCD screen remains blank after Dell XPS M1210 lid is c o amd64/114270 amd64 [cpufreq] cpufreq doesnt work when compiled in to kern o amd64/112222 amd64 [libc] 32-bit libc incorrectly converts some FP number o amd64/110599 amd64 [geli] geli attach to gmirror device hangs and cannot s amd64/108861 amd64 [nve] nve(4) driver on FreeBSD 6.2 AMD64 does not work o amd64/106186 amd64 [panic] panic in swap_pager_swap_init (amd64/smp/6.2-p f amd64/105531 amd64 [ata] gigabyte GA-M51GM-S2G / nVidia nForce 430 - does f amd64/105514 amd64 [boot] FreeBSD/amd64 - Fails to boot on HP Pavilion dv o amd64/102716 amd64 ex with no argument in an xterm gets SIGSEGV o amd64/97337 amd64 [dri] xorg reboots system if dri module is enabled o amd64/95888 amd64 [ata] kernel: ad2: TIMEOUT - WRITE_DMA retrying on HP o amd64/94677 amd64 [panic] panic in amd64 install at non-root user creati o amd64/93961 amd64 [busdma] Problem in bounce buffer handling in sys/amd6 o amd64/92337 amd64 [em] FreeBSD 6.0 Release Intel Pro 1000 MT em1 no buff o amd64/91405 amd64 [asr] [panic] Kernel panic caused by asr on 6.0-amd64 o amd64/89501 amd64 [install] System crashes on install using ftp on local o amd64/88790 amd64 [panic] kernel panic on first boot (after the FreeBSD o amd64/88568 amd64 [panic] 6.0-RELEASE install cd does not boot with usb o amd64/87689 amd64 [powerd] [hang] powerd hangs SMP Opteron 244 5-STABLE o amd64/87316 amd64 [vge] "vge0 attach returned 6" on FreeBSD 6.0-RC1 amd6 o amd64/87305 amd64 [smp] Dual Opteron / FreeBSD 5 & 6 / powerd results in s amd64/85273 amd64 [install] FreeBSD (NetBSD or OpenBSD) not install on l o amd64/78406 amd64 [panic]AMD64 w/ SCSI: issue 'rm -r /usr/ports' and sys o amd64/76136 amd64 [hang] system halts before reboot o amd64/74747 amd64 [panic] System panic on shutdown when process will not 92 problems total. From owner-freebsd-amd64@FreeBSD.ORG Thu Jul 30 20:35:07 2009 Return-Path: Delivered-To: amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 185DA106564A; Thu, 30 Jul 2009 20:35:07 +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 D5EDD8FC17; Thu, 30 Jul 2009 20:35:06 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from smtp2.sentex.ca (smtp2c.sentex.ca [64.7.153.30]) by smarthost1.sentex.ca (8.14.3/8.14.3) with ESMTP id n6UKZ4p8018590; Thu, 30 Jul 2009 16:35:04 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: from freebsd-stable.sentex.ca (freebsd-stable.sentex.ca [64.7.128.103]) by smtp2.sentex.ca (8.14.3/8.14.3) with ESMTP id n6UKZ4Ek065747; Thu, 30 Jul 2009 16:35:04 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: by freebsd-stable.sentex.ca (Postfix, from userid 666) id ECAFC1B5060; Thu, 30 Jul 2009 16:35:03 -0400 (EDT) Sender: FreeBSD Tinderbox From: FreeBSD Tinderbox To: FreeBSD Tinderbox , , Precedence: bulk Message-Id: <20090730203503.ECAFC1B5060@freebsd-stable.sentex.ca> Date: Thu, 30 Jul 2009 16:35:03 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at smtp2.sentex.ca X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.64 on 64.7.153.18 Cc: Subject: [releng_7 tinderbox] failure on amd64/amd64 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Jul 2009 20:35:07 -0000 TB --- 2009-07-30 18:59:06 - tinderbox 2.6 running on freebsd-stable.sentex.ca TB --- 2009-07-30 18:59:06 - starting RELENG_7 tinderbox run for amd64/amd64 TB --- 2009-07-30 18:59:06 - cleaning the object tree TB --- 2009-07-30 18:59:36 - cvsupping the source tree TB --- 2009-07-30 18:59:36 - /usr/bin/csup -z -r 3 -g -L 1 -h localhost -s /tinderbox/RELENG_7/amd64/amd64/supfile TB --- 2009-07-30 18:59:43 - building world TB --- 2009-07-30 18:59:43 - MAKEOBJDIRPREFIX=/obj TB --- 2009-07-30 18:59:43 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-07-30 18:59:43 - TARGET=amd64 TB --- 2009-07-30 18:59:43 - TARGET_ARCH=amd64 TB --- 2009-07-30 18:59:43 - TZ=UTC TB --- 2009-07-30 18:59:43 - __MAKE_CONF=/dev/null TB --- 2009-07-30 18:59:43 - cd /src TB --- 2009-07-30 18:59:43 - /usr/bin/make -B buildworld >>> World build started on Thu Jul 30 18:59:44 UTC 2009 >>> 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 >>> stage 5.1: building 32 bit shim libraries >>> World build completed on Thu Jul 30 20:30:21 UTC 2009 TB --- 2009-07-30 20:30:21 - generating LINT kernel config TB --- 2009-07-30 20:30:21 - cd /src/sys/amd64/conf TB --- 2009-07-30 20:30:21 - /usr/bin/make -B LINT TB --- 2009-07-30 20:30:21 - building LINT kernel TB --- 2009-07-30 20:30:21 - MAKEOBJDIRPREFIX=/obj TB --- 2009-07-30 20:30:21 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2009-07-30 20:30:21 - TARGET=amd64 TB --- 2009-07-30 20:30:21 - TARGET_ARCH=amd64 TB --- 2009-07-30 20:30:21 - TZ=UTC TB --- 2009-07-30 20:30:21 - __MAKE_CONF=/dev/null TB --- 2009-07-30 20:30:21 - cd /src TB --- 2009-07-30 20:30:21 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Thu Jul 30 20:30:21 UTC 2009 >>> 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 -frename-registers -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=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/dev/an/if_an_isa.c cc -c -O2 -frename-registers -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=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/dev/an/if_an_pccard.c cc -c -O2 -frename-registers -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=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/dev/an/if_an_pci.c awk -f /src/sys/tools/makeobjops.awk /src/sys/dev/ata/ata_if.m -c ; cc -c -O2 -frename-registers -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=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror -pg -mprofiler-epilogue ata_if.c cc -c -O2 -frename-registers -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=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -DGPROF -falign-functions=16 -DGPROF4 -DGUPROF -fno-builtin -fno-omit-frame-pointer -mcmodel=kernel -mno-red-zone -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -Werror -pg -mprofiler-epilogue /src/sys/dev/ata/ata-all.c /src/sys/dev/ata/ata-all.c: In function 'ata_device_ioctl': /src/sys/dev/ata/ata-all.c:454: error: request for member 'max_iosize' in something not a structure or union /src/sys/dev/ata/ata-all.c:454: error: request for member 'max_iosize' in something not a structure or union *** Error code 1 Stop in /obj/amd64/src/sys/LINT. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2009-07-30 20:35:03 - WARNING: /usr/bin/make returned exit code 1 TB --- 2009-07-30 20:35:03 - ERROR: failed to build lint kernel TB --- 2009-07-30 20:35:03 - 4754.02 user 554.41 system 5757.06 real http://tinderbox.des.no/tinderbox-releng_7-RELENG_7-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Fri Jul 31 08:36:56 2009 Return-Path: Delivered-To: amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 42C34106566C for ; Fri, 31 Jul 2009 08:36:56 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (77-99-36-42.cable.ubr04.chap.blueyonder.co.uk [77.99.36.42]) by mx1.freebsd.org (Postfix) with ESMTP id 0AD4F8FC12 for ; Fri, 31 Jul 2009 08:36:56 +0000 (UTC) (envelope-from david@vizion2000.net) Received: by dns1.vizion2000.net (Postfix, from userid 1001) id EA69834D462; Fri, 31 Jul 2009 09:19:57 +0100 (BST) From: David Southwell Organization: Voice & Vision To: amd64@freebsd.org Date: Fri, 31 Jul 2009 09:19:57 +0100 User-Agent: KMail/1.11.4 (FreeBSD/7.2-RELEASE-p2; KDE/4.2.4; amd64; ; ) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907310919.57775.david@vizion2000.net> Cc: Subject: Taking full advantage of Intel Quad Core with Freebsd 7.2p2 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jul 2009 08:36:56 -0000 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 This system uses an intel quad core processor.on an Asus p5QL-E Mobo. Can someone please advise me on the best settings to take maximum advantage of the quad cores especially for compiling. Thanks David From owner-freebsd-amd64@FreeBSD.ORG Fri Jul 31 08:55:09 2009 Return-Path: Delivered-To: amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49C5D106566C for ; Fri, 31 Jul 2009 08:55:09 +0000 (UTC) (envelope-from prvs=1463147095=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id C544A8FC21 for ; Fri, 31 Jul 2009 08:55:08 +0000 (UTC) (envelope-from prvs=1463147095=killing@multiplay.co.uk) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=multiplay.co.uk; s=Multiplay; t=1249029862; x=1249634662; q=dns/txt; h=Received: Message-ID:From:To:References:Subject:Date:MIME-Version: Content-Type:Content-Transfer-Encoding; bh=6Jlpd0Jh7MqBbi341Oel5 DcZ42l5wqYIlRKIIkCsCdQ=; b=U39fe7dzQ73NSQT6logJMWlZOVBJOBwu4dgm1 BmkZIUbCLRuDiMFHj6+V98UFeKYz5ji31FuJI+gkrKLzusJv7MKuw1AEdlpv74v9 SyzI9KwzI2Oy54l3CXAOpwkbssnJhosohXXqWx+KaP+238ck95m5l43wUUEztfaE lAzCmI= X-MDAV-Processed: mail1.multiplay.co.uk, Fri, 31 Jul 2009 09:44:22 +0100 Received: from r2d2 by mail1.multiplay.co.uk (MDaemon PRO v10.0.4) with ESMTP id md50007976235.msg for ; Fri, 31 Jul 2009 09:44:21 +0100 X-Spam-Processed: mail1.multiplay.co.uk, Fri, 31 Jul 2009 09:44:21 +0100 (not processed: message from trusted or authenticated source) X-Authenticated-Sender: Killing@multiplay.co.uk X-MDRemoteIP: 213.123.247.160 X-Return-Path: prvs=1463147095=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: amd64@freebsd.org Message-ID: <0C3FFA484EC8423AB26C13C6737C8533@multiplay.co.uk> From: "Steven Hartland" To: "David Southwell" , References: <200907310919.57775.david@vizion2000.net> Date: Fri, 31 Jul 2009 09:44:19 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Cc: Subject: Re: Taking full advantage of Intel Quad Core with Freebsd 7.2p2 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jul 2009 08:55:09 -0000 Look at the -j XX option to make is the key things really. Regards Steve ----- Original Message ----- From: "David Southwell" > 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > > This system uses an intel quad core processor.on an Asus p5QL-E Mobo. > > Can someone please advise me on the best settings to take maximum advantage of > the quad cores especially for compiling. ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-amd64@FreeBSD.ORG Fri Jul 31 12:33:57 2009 Return-Path: Delivered-To: amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5F6121065677 for ; Fri, 31 Jul 2009 12:33:57 +0000 (UTC) (envelope-from david@vizion2000.net) Received: from dns1.vizion2000.net (77-99-36-42.cable.ubr04.chap.blueyonder.co.uk [77.99.36.42]) by mx1.freebsd.org (Postfix) with ESMTP id 1A75C8FC16 for ; Fri, 31 Jul 2009 12:33:57 +0000 (UTC) (envelope-from david@vizion2000.net) Received: by dns1.vizion2000.net (Postfix, from userid 1001) id D702834D465; Fri, 31 Jul 2009 13:33:53 +0100 (BST) From: David Southwell Organization: Voice & Vision To: "Steven Hartland" Date: Fri, 31 Jul 2009 13:33:53 +0100 User-Agent: KMail/1.11.4 (FreeBSD/7.2-RELEASE-p2; KDE/4.2.4; amd64; ; ) References: <200907310919.57775.david@vizion2000.net> <0C3FFA484EC8423AB26C13C6737C8533@multiplay.co.uk> In-Reply-To: <0C3FFA484EC8423AB26C13C6737C8533@multiplay.co.uk> MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200907311333.53815.david@vizion2000.net> Cc: amd64@freebsd.org Subject: Re: Taking full advantage of Intel Quad Core with Freebsd 7.2p2 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jul 2009 12:33:57 -0000 > > > 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009 > > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > > > > This system uses an intel quad core processor.on an Asus p5QL-E Mobo. > > > > Can someone please advise me on the best settings to take maximum > > advantage of the quad cores especially for compiling. > > Look at the -j XX option to make is the key things really. > > Regards > Steve > > ----- Original Message ----- > From: "David Southwell" Thanks Steve I have two further questions: 1. What is a reasonable setting for a quad core 2. Whatever the setting for xx is would it be appropriate to use: portupgrade -a -m --j xx ?? Thanks in advance David From owner-freebsd-amd64@FreeBSD.ORG Fri Jul 31 12:40:40 2009 Return-Path: Delivered-To: amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6FBA010657DA for ; Fri, 31 Jul 2009 12:40:40 +0000 (UTC) (envelope-from prvs=1463147095=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id 046108FC2B for ; Fri, 31 Jul 2009 12:40:39 +0000 (UTC) (envelope-from prvs=1463147095=killing@multiplay.co.uk) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=multiplay.co.uk; s=Multiplay; t=1249044038; x=1249648838; q=dns/txt; h=Received: Message-ID:From:To:Cc:References:Subject:Date:MIME-Version: Content-Type:Content-Transfer-Encoding; bh=rEB+hhTTCZOrkPXoEMXlR /f1zuK0M2Hc+Bjj0ny7MQQ=; b=YydMYuG7it7julCOvb/HaC6yxuh/lUMcb21+I NAWmUEiIKiafM2N95eHIHWai895gAbNQSpYEqynUHtlJE8mKRYASdgLivMFPSr0R iIXngHKlF0wGl1p8/wZEORN3V1XB1966BXMr9MUyaVPHu3UZOrPlQXZClNZ2OWfG qwUtz4= X-MDAV-Processed: mail1.multiplay.co.uk, Fri, 31 Jul 2009 13:40:38 +0100 Received: from r2d2 by mail1.multiplay.co.uk (MDaemon PRO v10.0.4) with ESMTP id md50007977284.msg for ; Fri, 31 Jul 2009 13:40:37 +0100 X-Spam-Processed: mail1.multiplay.co.uk, Fri, 31 Jul 2009 13:40:37 +0100 (not processed: message from trusted or authenticated source) X-Authenticated-Sender: Killing@multiplay.co.uk X-MDRemoteIP: 213.123.247.160 X-Return-Path: prvs=1463147095=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: amd64@freebsd.org Message-ID: <1518B86CFB8242F8B605034460287EB1@multiplay.co.uk> From: "Steven Hartland" To: "David Southwell" References: <200907310919.57775.david@vizion2000.net> <0C3FFA484EC8423AB26C13C6737C8533@multiplay.co.uk> <200907311333.53815.david@vizion2000.net> Date: Fri, 31 Jul 2009 13:40:39 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Cc: amd64@freebsd.org Subject: Re: Taking full advantage of Intel Quad Core with Freebsd 7.2p2 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jul 2009 12:40:41 -0000 ----- Original Message ----- From: "David Southwell" > Thanks Steve > > I have two further questions: > 1. What is a reasonable setting for a quad core > 2. Whatever the setting for xx is would it be appropriate to use: > portupgrade -a -m --j xx > ?? #1 It depends on the code we have found but 4+ #2 Not sure portupgrade in 7.2 supports -j properly yet, I know there's been some recent work in that area not sure who far its got. Regards Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-amd64@FreeBSD.ORG Fri Jul 31 13:05:02 2009 Return-Path: Delivered-To: amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04726106564A for ; Fri, 31 Jul 2009 13:05:01 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr4.xs4all.nl (smtp-vbr4.xs4all.nl [194.109.24.24]) by mx1.freebsd.org (Postfix) with ESMTP id 6B5C08FC12 for ; Fri, 31 Jul 2009 13:05:01 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr4.xs4all.nl (8.13.8/8.13.8) with ESMTP id n6VCkJCu059787; Fri, 31 Jul 2009 14:46:19 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 32F30BA90; Fri, 31 Jul 2009 14:46:19 +0200 (CEST) Date: Fri, 31 Jul 2009 14:46:19 +0200 From: Roland Smith To: David Southwell Message-ID: <20090731124619.GB65912@slackbox.xs4all.nl> References: <200907310919.57775.david@vizion2000.net> <0C3FFA484EC8423AB26C13C6737C8533@multiplay.co.uk> <200907311333.53815.david@vizion2000.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Pd0ReVV5GZGQvF3a" Content-Disposition: inline In-Reply-To: <200907311333.53815.david@vizion2000.net> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: amd64@freebsd.org Subject: Re: Taking full advantage of Intel Quad Core with Freebsd 7.2p2 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jul 2009 13:05:02 -0000 --Pd0ReVV5GZGQvF3a Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 31, 2009 at 01:33:53PM +0100, David Southwell wrote: >=20 > > > > > 7.2-RELEASE-p2 FreeBSD 7.2-RELEASE-p2 #0: Wed Jun 24 00:14:35 UTC 2009 > > > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > > > > > > This system uses an intel quad core processor.on an Asus p5QL-E Mobo. > > > > > > Can someone please advise me on the best settings to take maximum > > > advantage of the quad cores especially for compiling. > > >=20 > > Look at the -j XX option to make is the key things really. > > > > Regards > > Steve > > > > ----- Original Message ----- > > From: "David Southwell" >=20 > Thanks Steve >=20 > I have two further questions: > 1. What is a reasonable setting for a quad core For a quad core you can use up to '-j 8'. > 2. Whatever the setting for xx is would it be appropriate to use: > portupgrade -a -m --j xx The ports system automatically does parallel builds on an SMP system, unless the port in question is marked unsuitable with MAKE_JOBS_UNSAFE. For a quad core '-j 4' will be used. See /usr/ports/Mk/bsd.port.mk Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --Pd0ReVV5GZGQvF3a Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkpy55sACgkQEnfvsMMhpyWpwwCgnRak4k/zTYG1agqrAP6co5M7 GVMAn0LwGuF3LuyGFrirvGkfhE56BJC+ =BBVm -----END PGP SIGNATURE----- --Pd0ReVV5GZGQvF3a-- From owner-freebsd-amd64@FreeBSD.ORG Fri Jul 31 13:16:11 2009 Return-Path: Delivered-To: amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B924D106566B for ; Fri, 31 Jul 2009 13:16:11 +0000 (UTC) (envelope-from schulra@earlham.edu) Received: from chibanda.earlham.edu (chibanda.earlham.edu [159.28.1.168]) by mx1.freebsd.org (Postfix) with ESMTP id 8F6578FC15 for ; Fri, 31 Jul 2009 13:16:11 +0000 (UTC) (envelope-from schulra@earlham.edu) Received: from tdream.lly.earlham.edu (tdream.lly.earlham.edu [159.28.7.241]) by chibanda.earlham.edu (Spam & Virus Firewall) with ESMTP id 50099188 for ; Fri, 31 Jul 2009 08:56:54 -0400 (EDT) Received: from tdream.lly.earlham.edu (tdream.lly.earlham.edu [159.28.7.241]) by chibanda.earlham.edu with ESMTP id ib3EEF2BrSNYHGHC for ; Fri, 31 Jul 2009 08:56:54 -0400 (EDT) Date: Fri, 31 Jul 2009 08:56:52 -0400 (EDT) From: Randy Schultz X-X-Sender: schulra@tdream.lly.earlham.edu To: amd64@freebsd.org In-Reply-To: <1518B86CFB8242F8B605034460287EB1@multiplay.co.uk> Message-ID: References: <200907310919.57775.david@vizion2000.net> <0C3FFA484EC8423AB26C13C6737C8533@multiplay.co.uk> <200907311333.53815.david@vizion2000.net> <1518B86CFB8242F8B605034460287EB1@multiplay.co.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Subject: Re: Taking full advantage of Intel Quad Core with Freebsd 7.2p2 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jul 2009 13:16:12 -0000 On Fri, 31 Jul 2009, Steven Hartland spaketh thusly: -} -}#1 It depends on the code we have found but 4+ -}#2 Not sure portupgrade in 7.2 supports -j properly yet, I know there's -}been some recent work in that area not sure who far its got. Also, pls note that /usr/src/UPDATING advises against the -j option when compiling the system sources. -- Randy (schulra@earlham.edu) 765.983.1283 <*> Love with your heart, think with your head; not the other way around. From owner-freebsd-amd64@FreeBSD.ORG Fri Jul 31 14:04:48 2009 Return-Path: Delivered-To: amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 624A6106567A for ; Fri, 31 Jul 2009 14:04:48 +0000 (UTC) (envelope-from prvs=1463147095=killing@multiplay.co.uk) Received: from mail1.multiplay.co.uk (mail1.multiplay.co.uk [85.236.96.23]) by mx1.freebsd.org (Postfix) with ESMTP id EA03A8FC28 for ; Fri, 31 Jul 2009 14:04:47 +0000 (UTC) (envelope-from prvs=1463147095=killing@multiplay.co.uk) DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=multiplay.co.uk; s=Multiplay; t=1249049086; x=1249653886; q=dns/txt; h=Received: Message-ID:From:To:References:Subject:Date:MIME-Version: Content-Type:Content-Transfer-Encoding; bh=ePYsJTdnaGMWjPVi153kt NS2H2FNzBvrMKZphqa5ZtA=; b=VeLLsJq/xE0Z46BXSaAoOO3IBn4smItLSOXWp KraT1XM/zYH0gbXV49PptZUhzMNXtVg7QLxTXPZxGllYz7yrHMualCd6ZZFJniJH tII6XQMmI/9OiaB6Ie4HQL9vYMYuQq2TYMDifzTCClym0K/XjnUJEovAC9bwZAYh A1mfII= X-MDAV-Processed: mail1.multiplay.co.uk, Fri, 31 Jul 2009 15:04:46 +0100 Received: from r2d2 by mail1.multiplay.co.uk (MDaemon PRO v10.0.4) with ESMTP id md50007977640.msg for ; Fri, 31 Jul 2009 15:04:45 +0100 X-Spam-Processed: mail1.multiplay.co.uk, Fri, 31 Jul 2009 15:04:45 +0100 (not processed: message from trusted or authenticated source) X-Authenticated-Sender: Killing@multiplay.co.uk X-MDRemoteIP: 213.123.247.160 X-Return-Path: prvs=1463147095=killing@multiplay.co.uk X-Envelope-From: killing@multiplay.co.uk X-MDaemon-Deliver-To: amd64@freebsd.org Message-ID: From: "Steven Hartland" To: "Randy Schultz" , References: <200907310919.57775.david@vizion2000.net><0C3FFA484EC8423AB26C13C6737C8533@multiplay.co.uk><200907311333.53815.david@vizion2000.net><1518B86CFB8242F8B605034460287EB1@multiplay.co.uk> Date: Fri, 31 Jul 2009 15:04:46 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5512 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Cc: Subject: Re: Taking full advantage of Intel Quad Core with Freebsd 7.2p2 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jul 2009 14:04:48 -0000 ----- Original Message ----- From: "Randy Schultz" > -}#1 It depends on the code we have found but 4+ > -}#2 Not sure portupgrade in 7.2 supports -j properly yet, I know there's > -}been some recent work in that area not sure who far its got. > > Also, pls note that /usr/src/UPDATING advises against the -j option when > compiling the system sources. Can't say I've ever had issues compiling system sources and we use -j 32 on a dual quad with HT so 16 cores. Regards Steve ================================================ This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to postmaster@multiplay.co.uk. From owner-freebsd-amd64@FreeBSD.ORG Fri Jul 31 19:23:36 2009 Return-Path: Delivered-To: amd64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9393106566C for ; Fri, 31 Jul 2009 19:23:36 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx21.fluidhosting.com [204.14.89.4]) by mx1.freebsd.org (Postfix) with ESMTP id 41F378FC0C for ; Fri, 31 Jul 2009 19:23:36 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 20686 invoked by uid 399); 31 Jul 2009 18:56:52 -0000 Received: from localhost (HELO foreign.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 31 Jul 2009 18:56:52 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <4A733E72.5040607@FreeBSD.org> Date: Fri, 31 Jul 2009 11:56:50 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.22 (X11/20090729) MIME-Version: 1.0 To: Steven Hartland References: <200907310919.57775.david@vizion2000.net> <0C3FFA484EC8423AB26C13C6737C8533@multiplay.co.uk> <200907311333.53815.david@vizion2000.net> <1518B86CFB8242F8B605034460287EB1@multiplay.co.uk> In-Reply-To: <1518B86CFB8242F8B605034460287EB1@multiplay.co.uk> X-Enigmail-Version: 0.95.7 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: amd64@freebsd.org Subject: Re: Taking full advantage of Intel Quad Core with Freebsd 7.2p2 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jul 2009 19:23:37 -0000 Steven Hartland wrote: > #2 Not sure portupgrade in 7.2 supports -j properly yet, I know there's > been some recent work in that area not sure who far its got. The ports infrastructure already supports this, but you have to add the following option to your /etc/make.conf file: FORCE_MAKE_JOBS= true You will occasionally run into ports that don't build successfully with this option, so you can overcome that per port by doing 'make -DMAKE_JOBS_UNSAFE' for that port. It would be a big help to the community if you could report any ports you run into that problem with so that they can be marked in the Makefile. For building the world if you want the system to be responsive while you're building a good rule of thumb for -j is " -1". If you want maximum speed and don't care about using the system while it builds then " +1" will get it done a little faster. Values much higher than that are not likely to increase speed much, mostly due to the fact that you'll get IO-bound sooner than later. hth, Doug -- This .signature sanitized for your protection From owner-freebsd-amd64@FreeBSD.ORG Fri Jul 31 16:50:06 2009 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 51D50106564A for ; Fri, 31 Jul 2009 16:50:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 3EDDD8FC0A for ; Fri, 31 Jul 2009 16:50:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6VGo56j068624 for ; Fri, 31 Jul 2009 16:50:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6VGo5qx068623; Fri, 31 Jul 2009 16:50:05 GMT (envelope-from gnats) Date: Fri, 31 Jul 2009 16:50:05 GMT Message-Id: <200907311650.n6VGo5qx068623@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Martin W X-Mailman-Approved-At: Sat, 01 Aug 2009 14:33:31 +0000 Cc: Subject: Re: amd64/128263: [panic] 2 amd64 dl380 g5 with dual quadcore xeons, 8 and 16gb ram, crash and dump mem X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Martin W List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jul 2009 16:50:06 -0000 The following reply was made to PR amd64/128263; it has been noted by GNATS. From: Martin W To: bug-followup@FreeBSD.org, martin.wikesjo@cypoint.se Cc: Subject: Re: amd64/128263: [panic] 2 amd64 dl380 g5 with dual quadcore xeons, 8 and 16gb ram, crash and dump mem Date: Fri, 31 Jul 2009 18:30:41 +0200 Sorry for the late follow up. Since this has been rated as "serious" and with a "high" priority, yet I have recieved no real feedback I haven't put much effort into reporting anymore. Anyhow, we have been having the same issues with a few more machines now. Random spontaneous crashes. I do suspect faulty hardware, more specifically RAM or CPU. But since the errors I see don't provide me any proof I am unable to convince our hardware vendor, HP, that they are broken. I have ran the HP diagnostics for 7 loops as HP recommends, and it reports no errors. I have also recompiled the kernel on one of these machines with "options PRINTF_BUFR_SIZE=128" to see if the output would be more than just garbage, but it did not help. We will attempt to upgrade one machine to 7.2 next week to see if it will produce better error logs if/when they crash again(or maybe we'll be incredibly lucky and its a software bug that is now fixed). FWIW, these machine are part of a large online gaming platform. It has well over 100 more of these machines with the same hardware and FreeBSD setup. If someone could look into this that would be much appreciated. From owner-freebsd-amd64@FreeBSD.ORG Fri Jul 31 17:00:11 2009 Return-Path: Delivered-To: freebsd-amd64@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E18071065678 for ; Fri, 31 Jul 2009 17:00:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B4E468FC1B for ; Fri, 31 Jul 2009 17:00:11 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n6VH0BNt075552 for ; Fri, 31 Jul 2009 17:00:11 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n6VH0Bhq075551; Fri, 31 Jul 2009 17:00:11 GMT (envelope-from gnats) Date: Fri, 31 Jul 2009 17:00:11 GMT Message-Id: <200907311700.n6VH0Bhq075551@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Joel Dahl X-Mailman-Approved-At: Sat, 01 Aug 2009 14:33:41 +0000 Cc: Subject: Re: amd64/128263: [panic] 2 amd64 dl380 g5 with dual quadcore xeons, 8 and 16gb ram, crash and dump mem X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Joel Dahl List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Jul 2009 17:00:12 -0000 The following reply was made to PR amd64/128263; it has been noted by GNATS. From: Joel Dahl To: bug-followup@FreeBSD.org, martin.wikesjo@cypoint.se Cc: Subject: Re: amd64/128263: [panic] 2 amd64 dl380 g5 with dual quadcore xeons, 8 and 16gb ram, crash and dump mem Date: Fri, 31 Jul 2009 18:32:05 +0200 For the record: I've chatted with the submitter and with jhb. The panics are due to NMI's and most likely bad RAM. One workaround would be to turn off machdep.panic_on_nmi ... -- Joel