From owner-freebsd-amd64@FreeBSD.ORG Sun Feb 5 00:03:58 2012 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 1AED41065672 for ; Sun, 5 Feb 2012 00:03:58 +0000 (UTC) (envelope-from tomdean@speakeasy.org) Received: from asbnvacz-mailrelay01.megapath.net (asbnvacz-mailrelay01.megapath.net [207.145.128.243]) by mx1.freebsd.org (Postfix) with ESMTP id DCD048FC12 for ; Sun, 5 Feb 2012 00:03:57 +0000 (UTC) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.39]) by asbnvacz-mailrelay01.megapath.net (Postfix) with ESMTP id E73ACA711A0 for ; Sat, 4 Feb 2012 19:03:55 -0500 (EST) Received: (qmail 7399 invoked from network); 5 Feb 2012 00:03:56 -0000 Received: by simscan 1.4.0 ppid: 12107, pid: 3964, t: 0.2245s scanners: clamav: m: Received: from unknown (HELO P9X79.tddhome) (tomdean@[24.113.112.30]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 5 Feb 2012 00:03:56 -0000 Message-ID: <4F2DC771.8060802@speakeasy.org> Date: Sat, 04 Feb 2012 16:04:01 -0800 From: "Thomas D. Dean" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120126 Thunderbird/9.0 MIME-Version: 1.0 To: freebsd-amd64@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail1.sea5 X-Spam-Level: X-Spam-Status: No, score=0.9 required=8.0 tests=FORGED_RCVD_HELO, RATWARE_GECKO_BUILD autolearn=disabled version=3.0.4 Subject: Erratic RF USB Keyboard and Mouse Behavior 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, 05 Feb 2012 00:03:58 -0000 I don't think this is amd64 specific, but, ... > uname -a FreeBSD P9X79.tddhome 9.0-STABLE FreeBSD 9.0-STABLE #0: Sat Jan 28 10:11:39 PST 2012 tomdean@P9X79.tddhome:/usr/src/sys/GENERIC amd64 > dmesg ... ugen3.3: at usbus3 ukbd0: on usbus3 kbd2 at ukbd0 ums0: on usbus3 ums0: 3 buttons and [XYZ] coordinates ID=4 Root mount waiting for: usbus3 usbus2 ugen3.4: at usbus3 ... The mouse frequently becomes non-responsive, freezing in one spot. Moving the mouse for several seconds frees it. Picking the mouse up and sitting it down does it faster. The keyboard on a more infrequent basis stops responding. During one instance, I pressed a key 8 times before the character was echoed on the display. Suspecting interference, I moved the machine to the opposite side of the room with little or no improvement. There are no other RF keyboard/mouse systems nearby. I tried changing USB ports with no change. Any ideas? Tom Dean From owner-freebsd-amd64@FreeBSD.ORG Sun Feb 5 01:00:51 2012 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 BE63C106564A for ; Sun, 5 Feb 2012 01:00:51 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.226.44]) by mx1.freebsd.org (Postfix) with ESMTP id 74C978FC08 for ; Sun, 5 Feb 2012 01:00:51 +0000 (UTC) Received: from amd620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q150dU4t026578; Sat, 4 Feb 2012 17:39:33 -0700 From: Erich Dollansky To: freebsd-amd64@freebsd.org Date: Sun, 5 Feb 2012 07:39:36 +0700 User-Agent: KMail/1.13.7 (FreeBSD/8.2-STABLE; KDE/4.6.5; amd64; ; ) References: <4F2DC771.8060802@speakeasy.org> In-Reply-To: <4F2DC771.8060802@speakeasy.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201202050739.36658.erichfreebsdlist@ovitrap.com> Cc: Subject: Re: Erratic RF USB Keyboard and Mouse Behavior 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, 05 Feb 2012 01:00:51 -0000 Hi, On Sunday 05 February 2012 07:04:01 Thomas D. Dean wrote: > I don't think this is amd64 specific, but, ... > do not exclude it at the start. > > The mouse frequently becomes non-responsive, freezing in one spot. > Moving the mouse for several seconds frees it. Picking the mouse up and > sitting it down does it faster. > > The keyboard on a more infrequent basis stops responding. During one > instance, I pressed a key 8 times before the character was echoed on the > display. > > Suspecting interference, I moved the machine to the opposite side of the > room with little or no improvement. There are no other RF keyboard/mouse > systems nearby. > > I tried changing USB ports with no change. > Did you change the batteries too? Erich From owner-freebsd-amd64@FreeBSD.ORG Mon Feb 6 11:06:55 2012 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 58F7F1065678 for ; Mon, 6 Feb 2012 11:06:55 +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 3DA538FC23 for ; Mon, 6 Feb 2012 11:06:55 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q16B6t7h007742 for ; Mon, 6 Feb 2012 11:06:55 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q16B6sZn007740 for freebsd-amd64@FreeBSD.org; Mon, 6 Feb 2012 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 6 Feb 2012 11:06:54 GMT Message-Id: <201202061106.q16B6sZn007740@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 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, 06 Feb 2012 11:06:55 -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/164707 amd64 FreeBSD 9 installer does not work with IBM uefi o amd64/164643 amd64 Kernel Panic at 9.0-RELEASE o amd64/164619 amd64 when logged in as root the user and group applications o amd64/164457 amd64 [install] Can't install FreeBSD 9.0 (amd64) on HP Blad o amd64/164301 amd64 [install] 9.0 - Can't install, no DHCP lease o amd64/164136 amd64 after fresh install 8.1 release or 8.2 release the har o amd64/164116 amd64 [boot] FreeBSD 9.0-RELEASE installations mediums fails o amd64/164089 amd64 FreeBSD-9.0-RELEASE-amd64-memstick.img does not boot o amd64/164073 amd64 /etc/rc warning after booting o amd64/164036 amd64 [keyboard] Moused fails on 9_0_RELENG o amd64/163736 amd64 Freebsd 8.2 with MPD5 and about 100 PPPoE clients pani o amd64/163710 amd64 setjump in userboot.so causes stack corruption o amd64/163625 amd64 Install problems of RC3 amd64 on ASRock N68 GE3 UCC o amd64/163568 amd64 hard drive naming o amd64/163285 amd64 when installing gnome2-lite not all dependent packages o amd64/163284 amd64 print manager failed to install correctly o amd64/163114 amd64 no boot on Via Nanao netbook Samsung NC20 o amd64/163092 amd64 FreeBSD 9.0-RC2 fails to boot from raid-z2 if AHCI is o amd64/163048 amd64 normal user cant mount ntfs-3g o amd64/162936 amd64 fails boot and destabilizes other OSes on FreeBSD 9 RC o amd64/162489 amd64 After some time X blanks the screen and does not respo o amd64/162314 amd64 not able to install FreeBSD-8.2-RELEASE-amd64-dvd1 as o amd64/162219 amd64 [REGRESSION] In KDE 4.7.2 cant enable OpenGL,in 4.6.5 o amd64/162170 amd64 Unable to install due to freeze at "run_interrupt_driv o amd64/161974 amd64 FreeBSD 9 new installer installs succesful, renders ma o kern/160833 amd64 Keyboard USB doesn't work o amd64/157386 amd64 [powerd] Enabling powerd(8) with default settings on I o amd64/156106 amd64 [boot] boot0 fails to start o amd64/155135 amd64 [boot] Does Not Boot On a Very Standard Hardware o amd64/154957 amd64 [boot] Install boot CD won't boot up - keeps rebooting o amd64/154629 amd64 [panic] Fatal trap 9: general protection fault while i o amd64/153935 amd64 [hang] system hangs while trying to do 'shutdown -h no o amd64/153831 amd64 [boot] CD bootloader won't on Tyan s2912G2nr o amd64/153496 amd64 [hyper-v] [install] Install on Hyper-V leaves corrupt o amd64/153372 amd64 [panic] kernel panic o amd64/153175 amd64 [amd64] Kernel Panic on only FreeBSD 8 amd64 o amd64/152874 amd64 [install] 8.1 install fails where 7.3 works due to lac o amd64/152430 amd64 [boot] HP ProLiant Microserver n36l cannot boot into i o amd64/145991 amd64 [NOTES] [patch] Add a requires line to /sys/amd64/conf o amd64/144405 amd64 [build] [patch] include /usr/obj/lib32 in cleanworld t s amd64/143173 amd64 [ata] Promise FastTrack TX4 + SATA DVD, installer can' p amd64/141413 amd64 [hang] Tyan 2881 m3289 SMDC freeze o amd64/137942 amd64 [pci] 8.0-BETA2 having problems with Asus M2N-SLI-delu o amd64/127640 amd64 [amd64] gcc(1) will not build shared libraries with -f o amd64/115194 amd64 LCD screen remains blank after Dell XPS M1210 lid is c 45 problems total. From owner-freebsd-amd64@FreeBSD.ORG Mon Feb 6 17:10:10 2012 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 362E51065677 for ; Mon, 6 Feb 2012 17:10:10 +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 D10308FC18 for ; Mon, 6 Feb 2012 17:10:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q16HA90E045107 for ; Mon, 6 Feb 2012 17:10:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q16HA9a9045106; Mon, 6 Feb 2012 17:10:09 GMT (envelope-from gnats) Resent-Date: Mon, 6 Feb 2012 17:10:09 GMT Resent-Message-Id: <201202061710.q16HA9a9045106@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, Florian Wilkemeyer Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1CF241065672 for ; Mon, 6 Feb 2012 17:08:43 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id ED36F8FC08 for ; Mon, 6 Feb 2012 17:08:42 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q16H8gtr052061 for ; Mon, 6 Feb 2012 17:08:42 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.4/8.14.4/Submit) id q16H8g8r052060; Mon, 6 Feb 2012 17:08:42 GMT (envelope-from nobody) Message-Id: <201202061708.q16H8g8r052060@red.freebsd.org> Date: Mon, 6 Feb 2012 17:08:42 GMT From: Florian Wilkemeyer To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 X-Mailman-Approved-At: Mon, 06 Feb 2012 17:23:40 +0000 Cc: Subject: amd64/164828: pthread_create/join memory leak 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, 06 Feb 2012 17:10:10 -0000 >Number: 164828 >Category: amd64 >Synopsis: pthread_create/join memory leak >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Feb 06 17:10:09 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Florian Wilkemeyer >Release: 9.0-RELEASE >Organization: >Environment: FreeBSD 9test 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: I recently noticed that pthread_create/join leaks memory when you're going to create & destroy masses of threads. Test code: (compiled with gcc -o test test.c -lphtread) #include void *thrProc(void *arg){ pthread_exit(NULL); } int main(){ pthread_t thr; while(1){ thr = NULL; pthread_create(&thr, NULL, thrProc, NULL); pthread_join(thr, NULL); } return 0; } The same code runs on 8.2 without problems: FreeBSD wilkemeyer-laptop 8.2-RELEASE-p2 FreeBSD 8.2-RELEASE-p2 #0: Thu Jul 21 20:11:49 CEST 2011 root@wilkemeyer-laptop:/usr/obj/usr/src/sys/WILKEMEYER_LAPTOP amd64 >How-To-Repeat: #include void *thrProc(void *arg){ pthread_exit(NULL); } int main(){ pthread_t thr; while(1){ thr = NULL; pthread_create(&thr, NULL, thrProc, NULL); pthread_join(thr, NULL); } return 0; } // compile with // gcc -o test test.c -lphtread // >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-amd64@FreeBSD.ORG Tue Feb 7 03:00:37 2012 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 74FF3106564A for ; Tue, 7 Feb 2012 03:00:37 +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 5556D8FC13 for ; Tue, 7 Feb 2012 03:00:37 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1730bns093494 for ; Tue, 7 Feb 2012 03:00:37 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1730bMa093493; Tue, 7 Feb 2012 03:00:37 GMT (envelope-from gnats) Date: Tue, 7 Feb 2012 03:00:37 GMT Message-Id: <201202070300.q1730bMa093493@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) X-Mailman-Approved-At: Tue, 07 Feb 2012 03:17:18 +0000 Cc: Subject: Re: amd64/164828: commit references a PR X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Feb 2012 03:00:37 -0000 The following reply was made to PR amd64/164828; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: amd64/164828: commit references a PR Date: Tue, 7 Feb 2012 02:57:49 +0000 (UTC) Author: davidxu Date: Tue Feb 7 02:57:36 2012 New Revision: 231106 URL: http://svn.freebsd.org/changeset/base/231106 Log: Plug a memory leak. When a cached thread is reused, don't clear sleep queue pointers, just reuse it. PR: 164828 MFC after: 1 week Modified: head/lib/libthr/thread/thr_list.c head/lib/libthr/thread/thr_private.h Modified: head/lib/libthr/thread/thr_list.c ============================================================================== --- head/lib/libthr/thread/thr_list.c Tue Feb 7 02:21:46 2012 (r231105) +++ head/lib/libthr/thread/thr_list.c Tue Feb 7 02:57:36 2012 (r231106) @@ -149,11 +149,16 @@ _thr_alloc(struct pthread *curthread) if (total_threads > MAX_THREADS) return (NULL); atomic_fetchadd_int(&total_threads, 1); - thread = malloc(sizeof(struct pthread)); + thread = calloc(1, sizeof(struct pthread)); if (thread == NULL) { atomic_fetchadd_int(&total_threads, -1); return (NULL); } + thread->sleepqueue = _sleepq_alloc(); + thread->wake_addr = _thr_alloc_wake_addr(); + } else { + bzero(&thread->_pthread_startzero, + __rangeof(struct pthread, _pthread_startzero, _pthread_endzero)); } if (curthread != NULL) { THR_LOCK_ACQUIRE(curthread, &tcb_lock); @@ -163,10 +168,7 @@ _thr_alloc(struct pthread *curthread) tcb = _tcb_ctor(thread, 1 /* initial tls */); } if (tcb != NULL) { - memset(thread, 0, sizeof(*thread)); thread->tcb = tcb; - thread->sleepqueue = _sleepq_alloc(); - thread->wake_addr = _thr_alloc_wake_addr(); } else { thr_destroy(curthread, thread); atomic_fetchadd_int(&total_threads, -1); @@ -194,8 +196,6 @@ _thr_free(struct pthread *curthread, str } thread->tcb = NULL; if ((curthread == NULL) || (free_thread_count >= MAX_CACHED_THREADS)) { - _sleepq_free(thread->sleepqueue); - _thr_release_wake_addr(thread->wake_addr); thr_destroy(curthread, thread); atomic_fetchadd_int(&total_threads, -1); } else { @@ -213,6 +213,10 @@ _thr_free(struct pthread *curthread, str static void thr_destroy(struct pthread *curthread __unused, struct pthread *thread) { + if (thread->sleepqueue != NULL) + _sleepq_free(thread->sleepqueue); + if (thread->wake_addr != NULL) + _thr_release_wake_addr(thread->wake_addr); free(thread); } Modified: head/lib/libthr/thread/thr_private.h ============================================================================== --- head/lib/libthr/thread/thr_private.h Tue Feb 7 02:21:46 2012 (r231105) +++ head/lib/libthr/thread/thr_private.h Tue Feb 7 02:57:36 2012 (r231106) @@ -343,6 +343,7 @@ struct pthread_key { * Thread structure. */ struct pthread { +#define _pthread_startzero tid /* Kernel thread id. */ long tid; #define TID_TERMINATED 1 @@ -506,12 +507,6 @@ struct pthread { /* Event */ td_event_msg_t event_buf; - struct wake_addr *wake_addr; -#define WAKE_ADDR(td) ((td)->wake_addr) - - /* Sleep queue */ - struct sleepqueue *sleepqueue; - /* Wait channel */ void *wchan; @@ -526,6 +521,14 @@ struct pthread { /* Deferred threads from pthread_cond_signal. */ unsigned int *defer_waiters[MAX_DEFER_WAITERS]; +#define _pthread_endzero wake_addr + + struct wake_addr *wake_addr; +#define WAKE_ADDR(td) ((td)->wake_addr) + + /* Sleep queue */ + struct sleepqueue *sleepqueue; + }; #define THR_SHOULD_GC(thrd) \ _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-amd64@FreeBSD.ORG Tue Feb 7 03:19:15 2012 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 6F0A8106564A; Tue, 7 Feb 2012 03:19:15 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 405D48FC17; Tue, 7 Feb 2012 03:19:15 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q173JFdi012303; Tue, 7 Feb 2012 03:19:15 GMT (envelope-from davidxu@freefall.freebsd.org) Received: (from davidxu@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q173JEIC012299; Tue, 7 Feb 2012 03:19:14 GMT (envelope-from davidxu) Date: Tue, 7 Feb 2012 03:19:14 GMT Message-Id: <201202070319.q173JEIC012299@freefall.freebsd.org> To: fw@f-ws.de, davidxu@FreeBSD.org, freebsd-amd64@FreeBSD.org From: davidxu@FreeBSD.org Cc: Subject: Re: amd64/164828: pthread_create/join memory leak 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: Tue, 07 Feb 2012 03:19:15 -0000 Synopsis: pthread_create/join memory leak State-Changed-From-To: open->patched State-Changed-By: davidxu State-Changed-When: Tue Feb 7 03:18:23 UTC 2012 State-Changed-Why: A patch is committed. http://www.freebsd.org/cgi/query-pr.cgi?pr=164828 From owner-freebsd-amd64@FreeBSD.ORG Sat Feb 11 04:00:42 2012 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 97E8C1065670; Sat, 11 Feb 2012 04:00:42 +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 606598FC0C; Sat, 11 Feb 2012 04:00:42 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id q1B40fOR082852; Fri, 10 Feb 2012 23:00:41 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id q1B40fTf082843; Sat, 11 Feb 2012 04:00:41 GMT (envelope-from tinderbox@freebsd.org) Date: Sat, 11 Feb 2012 04:00:41 GMT Message-Id: <201202110400.q1B40fTf082843@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 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: Sat, 11 Feb 2012 04:00:42 -0000 TB --- 2012-02-10 23:40:00 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-02-10 23:40:00 - starting HEAD tinderbox run for amd64/amd64 TB --- 2012-02-10 23:40:00 - cleaning the object tree TB --- 2012-02-10 23:40:00 - cvsupping the source tree TB --- 2012-02-10 23:40:00 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/amd64/amd64/supfile TB --- 2012-02-10 23:45:27 - building world TB --- 2012-02-10 23:45:27 - CROSS_BUILD_TESTING=YES TB --- 2012-02-10 23:45:27 - MAKEOBJDIRPREFIX=/obj TB --- 2012-02-10 23:45:27 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-02-10 23:45:27 - SRCCONF=/dev/null TB --- 2012-02-10 23:45:27 - TARGET=amd64 TB --- 2012-02-10 23:45:27 - TARGET_ARCH=amd64 TB --- 2012-02-10 23:45:27 - TZ=UTC TB --- 2012-02-10 23:45:27 - __MAKE_CONF=/dev/null TB --- 2012-02-10 23:45:27 - cd /src TB --- 2012-02-10 23:45:27 - /usr/bin/make -B buildworld >>> World build started on Fri Feb 10 23:45:27 UTC 2012 >>> 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 Sat Feb 11 02:19:22 UTC 2012 TB --- 2012-02-11 02:19:22 - generating LINT kernel config TB --- 2012-02-11 02:19:22 - cd /src/sys/amd64/conf TB --- 2012-02-11 02:19:22 - /usr/bin/make -B LINT TB --- 2012-02-11 02:19:22 - cd /src/sys/amd64/conf TB --- 2012-02-11 02:19:22 - /usr/sbin/config -m LINT TB --- 2012-02-11 02:19:22 - building LINT kernel TB --- 2012-02-11 02:19:22 - CROSS_BUILD_TESTING=YES TB --- 2012-02-11 02:19:22 - MAKEOBJDIRPREFIX=/obj TB --- 2012-02-11 02:19:22 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-02-11 02:19:22 - SRCCONF=/dev/null TB --- 2012-02-11 02:19:22 - TARGET=amd64 TB --- 2012-02-11 02:19:22 - TARGET_ARCH=amd64 TB --- 2012-02-11 02:19:22 - TZ=UTC TB --- 2012-02-11 02:19:22 - __MAKE_CONF=/dev/null TB --- 2012-02-11 02:19:22 - cd /src TB --- 2012-02-11 02:19:22 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat Feb 11 02:19:22 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for LINT completed on Sat Feb 11 02:49:04 UTC 2012 TB --- 2012-02-11 02:49:04 - cd /src/sys/amd64/conf TB --- 2012-02-11 02:49:04 - /usr/sbin/config -m LINT-NOINET TB --- 2012-02-11 02:49:04 - building LINT-NOINET kernel TB --- 2012-02-11 02:49:04 - CROSS_BUILD_TESTING=YES TB --- 2012-02-11 02:49:04 - MAKEOBJDIRPREFIX=/obj TB --- 2012-02-11 02:49:04 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-02-11 02:49:04 - SRCCONF=/dev/null TB --- 2012-02-11 02:49:04 - TARGET=amd64 TB --- 2012-02-11 02:49:04 - TARGET_ARCH=amd64 TB --- 2012-02-11 02:49:04 - TZ=UTC TB --- 2012-02-11 02:49:04 - __MAKE_CONF=/dev/null TB --- 2012-02-11 02:49:04 - cd /src TB --- 2012-02-11 02:49:04 - /usr/bin/make -B buildkernel KERNCONF=LINT-NOINET >>> Kernel build for LINT-NOINET started on Sat Feb 11 02:49:04 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for LINT-NOINET completed on Sat Feb 11 03:17:17 UTC 2012 TB --- 2012-02-11 03:17:17 - cd /src/sys/amd64/conf TB --- 2012-02-11 03:17:17 - /usr/sbin/config -m LINT-NOINET6 TB --- 2012-02-11 03:17:17 - building LINT-NOINET6 kernel TB --- 2012-02-11 03:17:17 - CROSS_BUILD_TESTING=YES TB --- 2012-02-11 03:17:17 - MAKEOBJDIRPREFIX=/obj TB --- 2012-02-11 03:17:17 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-02-11 03:17:17 - SRCCONF=/dev/null TB --- 2012-02-11 03:17:17 - TARGET=amd64 TB --- 2012-02-11 03:17:17 - TARGET_ARCH=amd64 TB --- 2012-02-11 03:17:17 - TZ=UTC TB --- 2012-02-11 03:17:17 - __MAKE_CONF=/dev/null TB --- 2012-02-11 03:17:17 - cd /src TB --- 2012-02-11 03:17:17 - /usr/bin/make -B buildkernel KERNCONF=LINT-NOINET6 >>> Kernel build for LINT-NOINET6 started on Sat Feb 11 03:17:17 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for LINT-NOINET6 completed on Sat Feb 11 03:46:43 UTC 2012 TB --- 2012-02-11 03:46:43 - cd /src/sys/amd64/conf TB --- 2012-02-11 03:46:43 - /usr/sbin/config -m LINT-NOIP TB --- 2012-02-11 03:46:43 - building LINT-NOIP kernel TB --- 2012-02-11 03:46:43 - CROSS_BUILD_TESTING=YES TB --- 2012-02-11 03:46:43 - MAKEOBJDIRPREFIX=/obj TB --- 2012-02-11 03:46:43 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-02-11 03:46:43 - SRCCONF=/dev/null TB --- 2012-02-11 03:46:43 - TARGET=amd64 TB --- 2012-02-11 03:46:43 - TARGET_ARCH=amd64 TB --- 2012-02-11 03:46:43 - TZ=UTC TB --- 2012-02-11 03:46:43 - __MAKE_CONF=/dev/null TB --- 2012-02-11 03:46:43 - cd /src TB --- 2012-02-11 03:46:43 - /usr/bin/make -B buildkernel KERNCONF=LINT-NOIP >>> Kernel build for LINT-NOIP started on Sat Feb 11 03:46:43 UTC 2012 >>> 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 [...] oce_if.o: In function `oce_rx': oce_if.c:(.text+0x21f5): undefined reference to `tcp_lro_rx' oce_if.o: In function `oce_rx_flush_lro': oce_if.c:(.text+0x22be): undefined reference to `tcp_lro_flush' oce_if.o: In function `oce_free_lro': oce_if.c:(.text+0x2882): undefined reference to `tcp_lro_free' oce_if.o: In function `oce_attach': oce_if.c:(.text+0x3278): undefined reference to `tcp_lro_init' *** Error code 1 Stop in /obj/amd64.amd64/src/sys/LINT-NOIP. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-02-11 04:00:41 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-02-11 04:00:41 - ERROR: failed to build LINT-NOIP kernel TB --- 2012-02-11 04:00:41 - 12369.85 user 1851.64 system 15641.02 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-amd64-amd64.full From owner-freebsd-amd64@FreeBSD.ORG Sat Feb 11 04:30:16 2012 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 9BDCD1065670 for ; Sat, 11 Feb 2012 04:30:16 +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 8A6618FC17 for ; Sat, 11 Feb 2012 04:30:16 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q1B4UGZ7088052 for ; Sat, 11 Feb 2012 04:30:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q1B4UGPe088047; Sat, 11 Feb 2012 04:30:16 GMT (envelope-from gnats) Date: Sat, 11 Feb 2012 04:30:16 GMT Message-Id: <201202110430.q1B4UGPe088047@freefall.freebsd.org> To: freebsd-amd64@FreeBSD.org From: Russell Cattelan Cc: Subject: Re: amd64/163710: setjump in userboot.so causes stack corruption X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Russell Cattelan List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 11 Feb 2012 04:30:16 -0000 The following reply was made to PR amd64/163710; it has been noted by GNATS. From: Russell Cattelan To: bug-followup@FreeBSD.org, cattelan@thebarn.com Cc: Subject: Re: amd64/163710: setjump in userboot.so causes stack corruption Date: Fri, 10 Feb 2012 22:04:52 -0600 So here is a suggestion. So the default build does do the right thing. The problem is when doing userboot development the symlink from the loader build ends up including the wrong files. the userboot build of fill does not need a sym link so make sure the link does not exist when doing the build. This make sure the right header files are used for userboot builds=20 diff --git a/sys/boot/userboot/ficl/Makefile = b/sys/boot/userboot/ficl/Makefile index 829ae1e..6249eb2 100644 --- a/sys/boot/userboot/ficl/Makefile +++ b/sys/boot/userboot/ficl/Makefile @@ -61,6 +61,10 @@ softcore.c: ${SOFTWORDS} softcore.awk (cd ${.CURDIR}/../../ficl/softwords; cat ${SOFTWORDS} \ | awk -f softcore.awk -v datestamp=3D"`LC_ALL=3DC date`") > = ${.TARGET} =20 +beforedepend ${OBJS}: no-machine + +no-machine: + rm -f ${.CURDIR}/../../ficl/machine #.if ${MACHINE_CPUARCH} =3D=3D "amd64" #${SRCS:M*.c:R:S/$/.o/g}: machine # From owner-freebsd-amd64@FreeBSD.ORG Sat Feb 11 07:48:27 2012 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 4F3E2106564A for ; Sat, 11 Feb 2012 07:48:27 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from mail.zoral.com.ua (mx0.zoral.com.ua [91.193.166.200]) by mx1.freebsd.org (Postfix) with ESMTP id D77E28FC15 for ; Sat, 11 Feb 2012 07:48:26 +0000 (UTC) Received: from skuns.kiev.zoral.com.ua (localhost [127.0.0.1]) by mail.zoral.com.ua (8.14.2/8.14.2) with ESMTP id q1B7mCLd088135 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 11 Feb 2012 09:48:12 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5) with ESMTP id q1B7mCx7055340; Sat, 11 Feb 2012 09:48:12 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.14.5/8.14.5/Submit) id q1B7mBuQ055339; Sat, 11 Feb 2012 09:48:11 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 11 Feb 2012 09:48:11 +0200 From: Konstantin Belousov To: Russell Cattelan Message-ID: <20120211074811.GR3283@deviant.kiev.zoral.com.ua> References: <201202110430.q1B4UGPe088047@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="32mFWuI8C7a/mRQ2" Content-Disposition: inline In-Reply-To: <201202110430.q1B4UGPe088047@freefall.freebsd.org> User-Agent: Mutt/1.4.2.3i X-Virus-Scanned: clamav-milter 0.95.2 at skuns.kiev.zoral.com.ua X-Virus-Status: Clean X-Spam-Status: No, score=-3.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on skuns.kiev.zoral.com.ua Cc: freebsd-amd64@freebsd.org Subject: Re: amd64/163710: setjump in userboot.so causes stack corruption 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: Sat, 11 Feb 2012 07:48:27 -0000 --32mFWuI8C7a/mRQ2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 11, 2012 at 04:30:16AM +0000, Russell Cattelan wrote: > The following reply was made to PR amd64/163710; it has been noted by GNA= TS. >=20 > From: Russell Cattelan > To: bug-followup@FreeBSD.org, cattelan@thebarn.com > Cc: =20 > Subject: Re: amd64/163710: setjump in userboot.so causes stack corruption > Date: Fri, 10 Feb 2012 22:04:52 -0600 >=20 > So here is a suggestion. > =20 > So the default build does do the right thing. > =20 > The problem is when doing userboot development the > symlink from the loader build ends up including the wrong > files. > =20 > the userboot build of fill does not need a sym link so make > sure the link does not exist when doing the build. > =20 > This make sure the right header files are used for userboot builds=3D20 I suspect this will break cross-builds. If the issue is in wrong machine/ symlink being installed, should this be fixed instead ? > =20 > diff --git a/sys/boot/userboot/ficl/Makefile =3D > b/sys/boot/userboot/ficl/Makefile > index 829ae1e..6249eb2 100644 > --- a/sys/boot/userboot/ficl/Makefile > +++ b/sys/boot/userboot/ficl/Makefile > @@ -61,6 +61,10 @@ softcore.c: ${SOFTWORDS} softcore.awk > (cd ${.CURDIR}/../../ficl/softwords; cat ${SOFTWORDS} \ > | awk -f softcore.awk -v datestamp=3D3D"`LC_ALL=3D3DC date`") > =3D > ${.TARGET} > =3D20 > +beforedepend ${OBJS}: no-machine > + > +no-machine: > + rm -f ${.CURDIR}/../../ficl/machine > #.if ${MACHINE_CPUARCH} =3D3D=3D3D "amd64" > #${SRCS:M*.c:R:S/$/.o/g}: machine > # > =20 > =20 > _______________________________________________ > freebsd-amd64@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-amd64 > To unsubscribe, send any mail to "freebsd-amd64-unsubscribe@freebsd.org" --32mFWuI8C7a/mRQ2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (FreeBSD) iEYEARECAAYFAk82HTsACgkQC3+MBN1Mb4hMZQCgz12tI+vwm8VxV0cFd5c5wlSH 3bcAoO8TXXbRTgTVkf8oMc415shGfqQW =zk5U -----END PGP SIGNATURE----- --32mFWuI8C7a/mRQ2-- From owner-freebsd-amd64@FreeBSD.ORG Sat Feb 11 10:14:59 2012 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 07B13106566C; Sat, 11 Feb 2012 10:14:59 +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 C7D918FC0C; Sat, 11 Feb 2012 10:14:58 +0000 (UTC) Received: from freebsd-current.sentex.ca (localhost [127.0.0.1]) by freebsd-current.sentex.ca (8.14.5/8.14.5) with ESMTP id q1BAEv3F069162; Sat, 11 Feb 2012 05:14:57 -0500 (EST) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id q1BAEvvF069160; Sat, 11 Feb 2012 10:14:57 GMT (envelope-from tinderbox@freebsd.org) Date: Sat, 11 Feb 2012 10:14:57 GMT Message-Id: <201202111014.q1BAEvvF069160@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 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: Sat, 11 Feb 2012 10:14:59 -0000 TB --- 2012-02-11 05:50:00 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-02-11 05:50:00 - starting HEAD tinderbox run for amd64/amd64 TB --- 2012-02-11 05:50:00 - cleaning the object tree TB --- 2012-02-11 05:50:34 - cvsupping the source tree TB --- 2012-02-11 05:50:34 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/amd64/amd64/supfile TB --- 2012-02-11 05:55:58 - building world TB --- 2012-02-11 05:55:58 - CROSS_BUILD_TESTING=YES TB --- 2012-02-11 05:55:58 - MAKEOBJDIRPREFIX=/obj TB --- 2012-02-11 05:55:58 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-02-11 05:55:58 - SRCCONF=/dev/null TB --- 2012-02-11 05:55:58 - TARGET=amd64 TB --- 2012-02-11 05:55:58 - TARGET_ARCH=amd64 TB --- 2012-02-11 05:55:58 - TZ=UTC TB --- 2012-02-11 05:55:58 - __MAKE_CONF=/dev/null TB --- 2012-02-11 05:55:58 - cd /src TB --- 2012-02-11 05:55:58 - /usr/bin/make -B buildworld >>> World build started on Sat Feb 11 05:55:59 UTC 2012 >>> 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 Sat Feb 11 08:32:52 UTC 2012 TB --- 2012-02-11 08:32:52 - generating LINT kernel config TB --- 2012-02-11 08:32:52 - cd /src/sys/amd64/conf TB --- 2012-02-11 08:32:52 - /usr/bin/make -B LINT TB --- 2012-02-11 08:32:52 - cd /src/sys/amd64/conf TB --- 2012-02-11 08:32:52 - /usr/sbin/config -m LINT TB --- 2012-02-11 08:32:52 - building LINT kernel TB --- 2012-02-11 08:32:52 - CROSS_BUILD_TESTING=YES TB --- 2012-02-11 08:32:52 - MAKEOBJDIRPREFIX=/obj TB --- 2012-02-11 08:32:52 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-02-11 08:32:52 - SRCCONF=/dev/null TB --- 2012-02-11 08:32:52 - TARGET=amd64 TB --- 2012-02-11 08:32:52 - TARGET_ARCH=amd64 TB --- 2012-02-11 08:32:52 - TZ=UTC TB --- 2012-02-11 08:32:52 - __MAKE_CONF=/dev/null TB --- 2012-02-11 08:32:52 - cd /src TB --- 2012-02-11 08:32:52 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sat Feb 11 08:32:52 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for LINT completed on Sat Feb 11 09:02:44 UTC 2012 TB --- 2012-02-11 09:02:44 - cd /src/sys/amd64/conf TB --- 2012-02-11 09:02:44 - /usr/sbin/config -m LINT-NOINET TB --- 2012-02-11 09:02:44 - building LINT-NOINET kernel TB --- 2012-02-11 09:02:44 - CROSS_BUILD_TESTING=YES TB --- 2012-02-11 09:02:44 - MAKEOBJDIRPREFIX=/obj TB --- 2012-02-11 09:02:44 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-02-11 09:02:44 - SRCCONF=/dev/null TB --- 2012-02-11 09:02:44 - TARGET=amd64 TB --- 2012-02-11 09:02:44 - TARGET_ARCH=amd64 TB --- 2012-02-11 09:02:44 - TZ=UTC TB --- 2012-02-11 09:02:44 - __MAKE_CONF=/dev/null TB --- 2012-02-11 09:02:44 - cd /src TB --- 2012-02-11 09:02:44 - /usr/bin/make -B buildkernel KERNCONF=LINT-NOINET >>> Kernel build for LINT-NOINET started on Sat Feb 11 09:02:44 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for LINT-NOINET completed on Sat Feb 11 09:31:24 UTC 2012 TB --- 2012-02-11 09:31:24 - cd /src/sys/amd64/conf TB --- 2012-02-11 09:31:24 - /usr/sbin/config -m LINT-NOINET6 TB --- 2012-02-11 09:31:24 - building LINT-NOINET6 kernel TB --- 2012-02-11 09:31:24 - CROSS_BUILD_TESTING=YES TB --- 2012-02-11 09:31:24 - MAKEOBJDIRPREFIX=/obj TB --- 2012-02-11 09:31:24 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-02-11 09:31:24 - SRCCONF=/dev/null TB --- 2012-02-11 09:31:24 - TARGET=amd64 TB --- 2012-02-11 09:31:24 - TARGET_ARCH=amd64 TB --- 2012-02-11 09:31:24 - TZ=UTC TB --- 2012-02-11 09:31:24 - __MAKE_CONF=/dev/null TB --- 2012-02-11 09:31:24 - cd /src TB --- 2012-02-11 09:31:24 - /usr/bin/make -B buildkernel KERNCONF=LINT-NOINET6 >>> Kernel build for LINT-NOINET6 started on Sat Feb 11 09:31:24 UTC 2012 >>> stage 1: configuring the kernel >>> stage 2.1: cleaning up the object tree >>> stage 2.2: rebuilding the object tree >>> stage 2.3: build tools >>> stage 3.1: making dependencies >>> stage 3.2: building everything >>> Kernel build for LINT-NOINET6 completed on Sat Feb 11 10:00:53 UTC 2012 TB --- 2012-02-11 10:00:53 - cd /src/sys/amd64/conf TB --- 2012-02-11 10:00:53 - /usr/sbin/config -m LINT-NOIP TB --- 2012-02-11 10:00:53 - building LINT-NOIP kernel TB --- 2012-02-11 10:00:53 - CROSS_BUILD_TESTING=YES TB --- 2012-02-11 10:00:53 - MAKEOBJDIRPREFIX=/obj TB --- 2012-02-11 10:00:53 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-02-11 10:00:53 - SRCCONF=/dev/null TB --- 2012-02-11 10:00:53 - TARGET=amd64 TB --- 2012-02-11 10:00:53 - TARGET_ARCH=amd64 TB --- 2012-02-11 10:00:53 - TZ=UTC TB --- 2012-02-11 10:00:53 - __MAKE_CONF=/dev/null TB --- 2012-02-11 10:00:53 - cd /src TB --- 2012-02-11 10:00:53 - /usr/bin/make -B buildkernel KERNCONF=LINT-NOIP >>> Kernel build for LINT-NOIP started on Sat Feb 11 10:00:53 UTC 2012 >>> 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 [...] oce_if.o: In function `oce_rx': oce_if.c:(.text+0x21f5): undefined reference to `tcp_lro_rx' oce_if.o: In function `oce_rx_flush_lro': oce_if.c:(.text+0x22be): undefined reference to `tcp_lro_flush' oce_if.o: In function `oce_free_lro': oce_if.c:(.text+0x2882): undefined reference to `tcp_lro_free' oce_if.o: In function `oce_attach': oce_if.c:(.text+0x3278): undefined reference to `tcp_lro_init' *** Error code 1 Stop in /obj/amd64.amd64/src/sys/LINT-NOIP. *** Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-02-11 10:14:57 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-02-11 10:14:57 - ERROR: failed to build LINT-NOIP kernel TB --- 2012-02-11 10:14:57 - 12548.70 user 1872.32 system 15897.44 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-amd64-amd64.full