From owner-freebsd-current@FreeBSD.ORG Fri Jun 27 18:54:39 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C5800348 for ; Fri, 27 Jun 2014 18:54:39 +0000 (UTC) Received: from nm38.bullet.mail.ne1.yahoo.com (nm38.bullet.mail.ne1.yahoo.com [98.138.229.31]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 866432FF4 for ; Fri, 27 Jun 2014 18:54:38 +0000 (UTC) Received: from [127.0.0.1] by nm38.bullet.mail.ne1.yahoo.com with NNFMP; 27 Jun 2014 18:54:31 -0000 Received: from [98.138.100.118] by nm38.bullet.mail.ne1.yahoo.com with NNFMP; 27 Jun 2014 18:51:42 -0000 Received: from [98.139.212.150] by tm109.bullet.mail.ne1.yahoo.com with NNFMP; 27 Jun 2014 18:51:42 -0000 Received: from [98.139.212.220] by tm7.bullet.mail.bf1.yahoo.com with NNFMP; 27 Jun 2014 18:51:42 -0000 Received: from [127.0.0.1] by omp1029.mail.bf1.yahoo.com with NNFMP; 27 Jun 2014 18:51:42 -0000 X-Yahoo-Newman-Property: ymail-4 X-Yahoo-Newman-Id: 327716.26635.bm@omp1029.mail.bf1.yahoo.com Received: (qmail 81163 invoked by uid 60001); 27 Jun 2014 18:51:42 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.br; s=s1024; t=1403895102; bh=0hi+nmUkC9LO+9EbczKujit9QxFSxpVSrB0CSz/Nyyc=; h=Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=zfZO9Z8x42Jer6lDb6mZ6BnJfD75ZFGFzHvaDp0k7OxnM/QVvbLBy2XjubS6RPs9fzURet4QCW+lzUnaQlh/kZ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SB0aGlzLCBsaWtlIHBvcnRtYXN0ZXIgYW5kIGNocm9taXVtLgoKVGhpcyBjb21taXQgKHIyNjc5NjEpIGhhcyBhIGxvdCBvZiBjaGFuZ2VzIGluIHRoZSBzeXNjdGwgc3Vic3lzdGVtLgoKVGhhbmsBMAEBAQE- X-Mailer: YahooMailWebService/0.8.191.1 Message-ID: <1403895102.10070.YahooMailNeo@web162001.mail.bf1.yahoo.com> Date: Fri, 27 Jun 2014 11:51:42 -0700 From: Danilo Egea Reply-To: Danilo Egea Subject: sysctl: Cannot allocate memory after r267961 To: "freebsd-current@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2014 18:54:39 -0000 Hello folks,=0A=0AI've just updated my system (current) and now I'm getting= this message:=0A[danilo src$] uname -a=0Auname: sysctl: Cannot allocate me= mory=0A=0A=0ASome programs are failing due this, like portmaster and chromi= um.=0A=0AThis commit (r267961) has a lot of changes in the sysctl subsystem= .=0A=0AThanks!=0A From owner-freebsd-current@FreeBSD.ORG Fri Jun 27 19:29:30 2014 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 690635B0; Fri, 27 Jun 2014 19:29:30 +0000 (UTC) Received: from jenkins-9.freebsd.org (jenkins-9.freebsd.org [8.8.178.209]) by mx1.freebsd.org (Postfix) with ESMTP id 4970D2375; Fri, 27 Jun 2014 19:29:30 +0000 (UTC) Received: from jenkins-9.freebsd.org (localhost [127.0.0.1]) by jenkins-9.freebsd.org (Postfix) with ESMTP id 6DBE1811; Fri, 27 Jun 2014 19:29:09 +0000 (UTC) Date: Fri, 27 Jun 2014 19:28:49 +0000 (GMT) From: jenkins-admin@freebsd.org To: jenkins-admin@FreeBSD.org, freebsd-current@FreeBSD.org, emaste@FreeBSD.org, rpaulo@FreeBSD.org, mjg@FreeBSD.org, mav@FreeBSD.org, hselasky@FreeBSD.org, jfv@FreeBSD.org Message-ID: <888818325.201.1403897341023.JavaMail.jenkins@jenkins-9.freebsd.org> In-Reply-To: <786779841.200.1403860294964.JavaMail.jenkins@jenkins-9.freebsd.org> References: <786779841.200.1403860294964.JavaMail.jenkins@jenkins-9.freebsd.org> Subject: Build failed in Jenkins: FreeBSD_HEAD-modules #684 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Jenkins-Job: FreeBSD_HEAD-modules X-Jenkins-Result: FAILURE X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jun 2014 19:29:30 -0000 See Changes: [emaste] Use a common tunable to choose between vt(4)/sc(4) With this change and previous work from ray@ it will be possible to put both in GENERIC, and have one enabled by default, but allow the other to be selected via the loader. (The previous implementation had separate kern.vt.disable and hw.syscons.disable tunables, and would panic if both drivers were compiled in and neither was explicitly disabled.) MFC after:=091 week Sponsored by:=09The FreeBSD Foundation [hselasky] Extend the meaning of the CTLFLAG_TUN flag to automatically chec= k if there is an environment variable which shall initialize the SYSCTL during early boot. This works for all SYSCTL types both statically and dynamically created ones, except for the SYSCTL NODE type and SYSCTLs which belong to VNETs. A new flag, CTLFLAG_NOFETCH, has been added to be used in the case a tunable sysctl has a custom initialisation function allowing the sysctl to still be marked as a tunable. The kernel SYSCTL API is mostly the same, with a few exceptions for some special operations like iterating childrens of a static/extern SYSCTL node. This operation should probably be made into a factored out common macro, hence some device drivers use this. The reason for changing the SYSCTL API was the need for a SYSCTL parent OID pointer and not only the SYSCTL parent OID list pointer in order to quickly generate the sysctl path. The motivation behind this patch is to avoid parameter loading cludges inside the OFED driver subsystem. Instead of adding special code to the OFED driver subsystem to post-load tunables into dynamically created sysctls, we generalize this in the kernel. Other changes: - Corrected a possibly incorrect sysctl name from "hw.cbb.intr_mask" to "hw.pcic.intr_mask". - Removed redundant TUNABLE statements throughout the kernel. - Some minor code rewrites in connection to removing not needed TUNABLE statements. - Added a missing SYSCTL_DECL(). - Wrapped two very long lines. - Avoid malloc()/free() inside sysctl string handling, in case it is called to initialize a sysctl from a tunable, hence malloc()/free() is not ready when sysctls from the sysctl dataset are registered. - Bumped FreeBSD version to indicate SYSCTL API change. MFC after:=092 weeks Sponsored by:=09Mellanox Technologies [hselasky] Add proper rangechecks in "axge_rx_frame()" function and fix receive loop header parsing. MFC after:=093 days PR:=09=09191432 ------------------------------------------ [...truncated 6941 lines...] --- depend_subdir_dtrace --- --- --- x86 -> --- vnode_if_newproto.h --- awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p --- vnode_if_typedef.h --- awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q --- vnode_if.h --- awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h --- .depend --- rm -f .depend mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I -I -I -I. -I@ -I@= /contrib/altq -std=3Diso9899:1999 =3D=3D=3D> dtrace/dtrace (depend) --- --- @ -> --- --- machine -> --- --- x86 -> --- bus_if.h --- awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h --- device_if.h --- awk -f @/tools/makeobjops.awk @/kern/device_if.m -h --- vnode_if_newproto.h --- awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -p --- vnode_if_typedef.h --- awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -q --- opt_compat.h --- :> opt_compat.h --- opt_kstack_pages.h --- :> opt_kstack_pages.h --- opt_nfs.h --- :> opt_nfs.h --- opt_hwpmc_hooks.h --- :> opt_hwpmc_hooks.h --- vnode_if.h --- --- depend_subdir_drm --- =3D=3D=3D> drm/i915 (depend) --- depend_subdir_dtrace --- awk -f @/tools/vnode_if.awk @/kern/vnode_if.src -h --- depend_subdir_drm --- --- --- @ -> --- depend_subdir_ed --- --- depend_subdir_drm --- --- --- --- depend_subdir_dtrace --- --- genassym.o --- cc -c -O2 -pipe -DDIS_MEM -DSMP -fno-strict-aliasing -Werror -D_KERNEL -DKL= D_MODULE -nostdinc -I -I -I -I -I -I -I -I -I. -I@ -I@/co= ntrib/altq -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -mcmodel=3D= kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwin= d-tables -ffreestanding -fstack-protector -mno-aes -mno-avx -Qunused-argume= nts -std=3Diso9899:1999 -fstack-protector -Wall -Wredundant-decls -Wnested-= externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -= Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-= dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-e= mpty-body -Wno-error-parentheses-equality -Wno-unused-function -Wno-unknown= -pragmas -Wno-parentheses -Wno-uninitialized -Wno-cast-qual -Wno-unused -mn= o-aes -mno-avx -Qunused-arguments -include @/amd64/amd64/genassym.c --- depend_subdir_ed --- =3D=3D=3D> ed (depend) --- depend_subdir_drm --- machine -> --- --- x86 -> --- device_if.h --- awk -f @/tools/makeobjops.awk @/kern/device_if.m -h --- bus_if.h --- --- depend_subdir_ed --- --- --- --- depend_subdir_drm --- awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h --- depend_subdir_ed --- @ -> --- --- --- depend_subdir_drm --- --- pci_if.h --- awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h --- depend_subdir_ed --- machine -> --- --- x86 -> --- depend_subdir_drm --- --- opt_drm.h --- :> opt_drm.h --- depend_subdir_ed --- --- isa_if.h --- --- depend_subdir_drm --- --- .depend --- --- depend_subdir_ed --- awk -f @/tools/makeobjops.awk @/isa/isa_if.m -h --- depend_subdir_drm --- rm -f .depend mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I. -I@ -I@/contrib/= altq -std=3Diso9899:1999 --- depend_subdir_ed --- --- pccarddevs.h --- awk -f @/tools/pccarddevs2h.awk @/dev/pccard/pccarddevs --- card_if.h --- awk -f @/tools/makeobjops.awk @/dev/pccard/card_if.m -h --- pci_if.h --- awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h --- opt_ed.h --- :> opt_ed.h --- bus_if.h --- awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h --- device_if.h --- awk -f @/tools/makeobjops.awk @/kern/device_if.m -h --- miibus_if.h --- awk -f @/tools/makeobjops.awk @/dev/mii/miibus_if.m -h --- .depend --- rm -f .depend mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I. -I@ -I@/contrib/= altq -std=3Diso9899:1999 --- depend_subdir_drm --- =3D=3D=3D> drm/mach64 (depend) --- depend_subdir_dtrace --- --- assym.s --- sh @/kern/genassym.sh genassym.o > assym.s --- depend_subdir_drm --- --- --- @ -> --- --- machine -> --- --- x86 -> --- depend_subdir_dtrace --- --- .depend --- rm -f .depend mkdep -f .depend -a -nostdinc -DDIS_MEM -DSMP -D_KERNEL -DKLD_MODULE -I -I -I -I -I -I -I -I -I. -I@ -I@/contrib/altq -std=3Diso98= 99:1999 <= https://jenkins.freebsd.org/jenkins/job/FreeBSD_HEAD-modules/ws/sys/modules= /dtrace/dtrace/../../../cddl/dev/dtrace/amd64/dtrace_subr.c> --- depend_subdir_drm --- --- device_if.h --- awk -f @/tools/makeobjops.awk @/kern/device_if.m -h --- bus_if.h --- awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h --- pci_if.h --- awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h --- opt_drm.h --- :> opt_drm.h --- .depend --- rm -f .depend mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I. -I@ -I@/contrib/= altq -std=3Diso9899:1999 --- depend_subdir_dtrace --- :114:10: fatal error: 'strtolctype.h' file not found #include "strtolctype.h" ^ --- depend_subdir_em --- =3D=3D=3D> em (depend) --- depend_subdir_drm --- =3D=3D=3D> drm/mga (depend) --- depend_subdir_em --- --- --- --- depend_subdir_drm --- --- --- @ -> --- depend_subdir_em --- @ -> --- depend_subdir_drm --- --- --- machine -> --- depend_subdir_em --- --- --- --- depend_subdir_dtrace --- 1 error generated. --- depend_subdir_drm --- --- --- --- depend_subdir_em --- machine -> --- depend_subdir_drm --- x86 -> --- depend_subdir_em --- --- --- x86 -> --- depend_subdir_drm --- --- device_if.h --- awk -f @/tools/makeobjops.awk @/kern/device_if.m -h --- depend_subdir_em --- --- device_if.h --- awk -f @/tools/makeobjops.awk @/kern/device_if.m -h --- bus_if.h --- --- depend_subdir_drm --- --- bus_if.h --- --- depend_subdir_em --- awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h --- depend_subdir_drm --- awk -f @/tools/makeobjops.awk @/kern/bus_if.m -h --- pci_if.h --- awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h --- depend_subdir_em --- --- pci_if.h --- awk -f @/tools/makeobjops.awk @/dev/pci/pci_if.m -h --- depend_subdir_drm --- --- opt_drm.h --- :> opt_drm.h --- depend_subdir_em --- --- opt_inet.h --- --- depend_subdir_drm --- --- .depend --- rm -f .depend --- depend_subdir_em --- --- opt_inet6.h --- --- depend_subdir_drm --- mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I. -I@ -I@/contrib/= altq -std=3Diso9899:1999 --- depend_subdir_em --- --- .depend --- rm -f .depend mkdep -f .depend -a -nostdinc -D_KERNEL -DKLD_MODULE -I -I. -I@ -I@/contrib/altq -std=3Diso9899:1999 --- depend_subdir_dtrace --- mkdep: compile failed *** [.depend] Error code 1 make[2]: stopped in 1 error make[2]: stopped in *** [_sub.depend] Error code 2 make[1]: stopped in 1 error make[1]: stopped in *** [depend_subdir_dtrace] Error code 2 make: stopped in --- depend_subdir_drm --- A failure has been detected in another branch of the parallel make make[2]: stopped in *** [_sub.depend] Error code 2 make[1]: stopped in 1 error make[1]: stopped in *** [depend_subdir_drm] Error code 2 make: stopped in --- depend_subdir_drm2 --- A failure has been detected in another branch of the parallel make make[2]: stopped in *** [_sub.depend] Error code 2 make[1]: stopped in 1 error make[1]: stopped in *** [depend_subdir_drm2] Error code 2 make: stopped in --- depend_subdir_em --- A failure has been detected in another branch of the parallel make make[1]: stopped in *** [depend_subdir_em] Error code 2 make: stopped in 4 errors make: stopped in Build step 'Execute shell' marked build as failure