From owner-freebsd-current@FreeBSD.ORG Sun Oct 28 01:29:57 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 40B6A3D9; Sun, 28 Oct 2012 01:29:57 +0000 (UTC) (envelope-from tinderbox@freebsd.org) Received: from freebsd-current.sentex.ca (freebsd-current.sentex.ca [64.7.128.98]) by mx1.freebsd.org (Postfix) with ESMTP id 04B838FC16; Sun, 28 Oct 2012 01:29:56 +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 q9S1TtmC039356; Sat, 27 Oct 2012 21:29:55 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id q9S1Tt4W039355; Sun, 28 Oct 2012 01:29:55 GMT (envelope-from tinderbox@freebsd.org) Date: Sun, 28 Oct 2012 01:29:55 GMT Message-Id: <201210280129.q9S1Tt4W039355@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 , , Subject: [head tinderbox] failure on powerpc/powerpc Precedence: bulk X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2012 01:29:57 -0000 TB --- 2012-10-27 23:08:18 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-10-27 23:08:18 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2012-10-27 23:08:18 - starting HEAD tinderbox run for powerpc/powerpc TB --- 2012-10-27 23:08:18 - cleaning the object tree TB --- 2012-10-27 23:08:18 - checking out /src from svn://svn.freebsd.org/base/head TB --- 2012-10-27 23:08:18 - cd /tinderbox/HEAD/powerpc/powerpc TB --- 2012-10-27 23:08:18 - /usr/local/bin/svn cleanup /src TB --- 2012-10-27 23:09:24 - /usr/local/bin/svn update /src TB --- 2012-10-27 23:09:30 - At svn revision 242195 TB --- 2012-10-27 23:09:31 - building world TB --- 2012-10-27 23:09:31 - CROSS_BUILD_TESTING=YES TB --- 2012-10-27 23:09:31 - MAKEOBJDIRPREFIX=/obj TB --- 2012-10-27 23:09:31 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-10-27 23:09:31 - SRCCONF=/dev/null TB --- 2012-10-27 23:09:31 - TARGET=powerpc TB --- 2012-10-27 23:09:31 - TARGET_ARCH=powerpc TB --- 2012-10-27 23:09:31 - TZ=UTC TB --- 2012-10-27 23:09:31 - __MAKE_CONF=/dev/null TB --- 2012-10-27 23:09:31 - cd /src TB --- 2012-10-27 23:09:31 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Sat Oct 27 23:09:39 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 >>> World build completed on Sun Oct 28 01:27:57 UTC 2012 TB --- 2012-10-28 01:27:57 - generating LINT kernel config TB --- 2012-10-28 01:27:57 - cd /src/sys/powerpc/conf TB --- 2012-10-28 01:27:57 - /usr/bin/make -B LINT TB --- 2012-10-28 01:27:57 - cd /src/sys/powerpc/conf TB --- 2012-10-28 01:27:57 - /usr/sbin/config -m LINT TB --- 2012-10-28 01:27:57 - building LINT kernel TB --- 2012-10-28 01:27:57 - CROSS_BUILD_TESTING=YES TB --- 2012-10-28 01:27:57 - MAKEOBJDIRPREFIX=/obj TB --- 2012-10-28 01:27:57 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-10-28 01:27:57 - SRCCONF=/dev/null TB --- 2012-10-28 01:27:57 - TARGET=powerpc TB --- 2012-10-28 01:27:57 - TARGET_ARCH=powerpc TB --- 2012-10-28 01:27:57 - TZ=UTC TB --- 2012-10-28 01:27:57 - __MAKE_CONF=/dev/null TB --- 2012-10-28 01:27:57 - cd /src TB --- 2012-10-28 01:27:57 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun Oct 28 01:27:57 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 [...] @/dev/drm/drmP.h:123:42: error: machine/../linux/linux_proto.h: No such file or directory In file included from /src/sys/modules/drm/via/../../../dev/drm/via_verifier.c:35: @/dev/drm/drmP.h:122:36: error: machine/../linux/linux.h: No such file or directory @/dev/drm/drmP.h:123:42: error: machine/../linux/linux_proto.h: No such file or directory In file included from /src/sys/modules/drm/via/../../../dev/drm/via_video.c:31: @/dev/drm/drmP.h:122:36: error: machine/../linux/linux.h: No such file or directory @/dev/drm/drmP.h:123:42: error: machine/../linux/linux_proto.h: No such file or directory mkdep: compile failed *** [.depend] Error code 1 Stop in /src/sys/modules/drm/via. *** [depend] Error code 1 Stop in /src/sys/modules/drm. *** [depend] Error code 1 Stop in /src/sys/modules. *** [modules-depend] Error code 1 Stop in /obj/powerpc.powerpc/src/sys/LINT. *** [buildkernel] Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-10-28 01:29:55 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-10-28 01:29:55 - ERROR: failed to build LINT kernel TB --- 2012-10-28 01:29:55 - 6966.41 user 892.80 system 8497.22 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc-powerpc.full From owner-freebsd-current@FreeBSD.ORG Sun Oct 28 02:17:13 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6022F997; Sun, 28 Oct 2012 02:17:13 +0000 (UTC) (envelope-from nwhitehorn@banshee.munuc.org) Received: from banshee.munuc.org (cl-106.chi-02.us.sixxs.net [IPv6:2001:4978:f:69::2]) by mx1.freebsd.org (Postfix) with ESMTP id 247238FC0A; Sun, 28 Oct 2012 02:17:12 +0000 (UTC) Received: from nwhitehorn (helo=localhost) by banshee.munuc.org with local-esmtp (Exim 4.74 (FreeBSD)) (envelope-from ) id 1TSIR6-0008Xs-3r; Sat, 27 Oct 2012 21:17:12 -0500 Date: Sat, 27 Oct 2012 21:17:12 -0500 (CDT) From: Nathan Whitehorn X-X-Sender: nwhitehorn@banshee.munuc.org To: FreeBSD Tinderbox Subject: Re: [head tinderbox] failure on powerpc/powerpc In-Reply-To: <201210280129.q9S1Tt4W039355@freebsd-current.sentex.ca> Message-ID: References: <201210280129.q9S1Tt4W039355@freebsd-current.sentex.ca> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Sender: Nathan Whitehorn X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: nwhitehorn@banshee.munuc.org X-SA-Exim-Scanned: No (on banshee.munuc.org); SAEximRunCond expanded to false Cc: powerpc@freebsd.org, current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sun, 28 Oct 2012 02:17:13 -0000 On Sun, 28 Oct 2012, FreeBSD Tinderbox wrote: > TB --- 2012-10-27 23:08:18 - tinderbox 2.9 running on freebsd-current.sentex.ca > @/dev/drm/drmP.h:122:36: error: machine/../linux/linux.h: No such file or directory > @/dev/drm/drmP.h:123:42: error: machine/../linux/linux_proto.h: No such file or directory > mkdep: compile failed > *** [.depend] Error code 1 Sorry about this breakage. It is fixed by r242197 and r242203. -Nathan From owner-freebsd-current@FreeBSD.ORG Sun Oct 28 02:19:01 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D9951AD5; Sun, 28 Oct 2012 02:19:00 +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 84ED68FC08; Sun, 28 Oct 2012 02:19:00 +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 q9S2IxMa060495; Sat, 27 Oct 2012 22:18:59 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id q9S2Ix0G060494; Sun, 28 Oct 2012 02:18:59 GMT (envelope-from tinderbox@freebsd.org) Date: Sun, 28 Oct 2012 02:18:59 GMT Message-Id: <201210280218.q9S2Ix0G060494@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 , , Subject: [head tinderbox] failure on powerpc64/powerpc Precedence: bulk X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2012 02:19:01 -0000 TB --- 2012-10-27 23:18:02 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-10-27 23:18:02 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2012-10-27 23:18:02 - starting HEAD tinderbox run for powerpc64/powerpc TB --- 2012-10-27 23:18:02 - cleaning the object tree TB --- 2012-10-27 23:18:02 - checking out /src from svn://svn.freebsd.org/base/head TB --- 2012-10-27 23:18:02 - cd /tinderbox/HEAD/powerpc64/powerpc TB --- 2012-10-27 23:18:02 - /usr/local/bin/svn cleanup /src TB --- 2012-10-27 23:18:50 - /usr/local/bin/svn update /src TB --- 2012-10-27 23:18:56 - At svn revision 242198 TB --- 2012-10-27 23:18:57 - building world TB --- 2012-10-27 23:18:57 - CROSS_BUILD_TESTING=YES TB --- 2012-10-27 23:18:57 - MAKEOBJDIRPREFIX=/obj TB --- 2012-10-27 23:18:57 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-10-27 23:18:57 - SRCCONF=/dev/null TB --- 2012-10-27 23:18:57 - TARGET=powerpc TB --- 2012-10-27 23:18:57 - TARGET_ARCH=powerpc64 TB --- 2012-10-27 23:18:57 - TZ=UTC TB --- 2012-10-27 23:18:57 - __MAKE_CONF=/dev/null TB --- 2012-10-27 23:18:57 - cd /src TB --- 2012-10-27 23:18:57 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Sat Oct 27 23:19:03 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 Sun Oct 28 02:06:17 UTC 2012 TB --- 2012-10-28 02:06:17 - generating LINT kernel config TB --- 2012-10-28 02:06:17 - cd /src/sys/powerpc/conf TB --- 2012-10-28 02:06:17 - /usr/bin/make -B LINT TB --- 2012-10-28 02:06:17 - cd /src/sys/powerpc/conf TB --- 2012-10-28 02:06:17 - /usr/sbin/config -m LINT TB --- 2012-10-28 02:06:17 - building LINT kernel TB --- 2012-10-28 02:06:17 - CROSS_BUILD_TESTING=YES TB --- 2012-10-28 02:06:17 - MAKEOBJDIRPREFIX=/obj TB --- 2012-10-28 02:06:17 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-10-28 02:06:17 - SRCCONF=/dev/null TB --- 2012-10-28 02:06:17 - TARGET=powerpc TB --- 2012-10-28 02:06:17 - TARGET_ARCH=powerpc64 TB --- 2012-10-28 02:06:17 - TZ=UTC TB --- 2012-10-28 02:06:17 - __MAKE_CONF=/dev/null TB --- 2012-10-28 02:06:17 - cd /src TB --- 2012-10-28 02:06:17 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun Oct 28 02:06: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 [...] cc1: warnings being treated as errors /src/sys/modules/drm/r128/../../../dev/drm/r128_cce.c: In function 'r128_do_cce_start': /src/sys/modules/drm/r128/../../../dev/drm/r128_cce.c:245: warning: value computed is not used /src/sys/modules/drm/r128/../../../dev/drm/r128_cce.c: In function 'r128_do_engine_reset': /src/sys/modules/drm/r128/../../../dev/drm/r128_cce.c:294: warning: value computed is not used /src/sys/modules/drm/r128/../../../dev/drm/r128_cce.c:296: warning: value computed is not used /src/sys/modules/drm/r128/../../../dev/drm/r128_cce.c: In function 'r128_cce_init_ring_buffer': /src/sys/modules/drm/r128/../../../dev/drm/r128_cce.c:345: warning: value computed is not used *** [r128_cce.o] Error code 1 Stop in /src/sys/modules/drm/r128. *** [all] Error code 1 Stop in /src/sys/modules/drm. *** [all] Error code 1 Stop in /src/sys/modules. *** [modules-all] Error code 1 Stop in /obj/powerpc.powerpc64/src/sys/LINT. *** [buildkernel] Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-10-28 02:18:59 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-10-28 02:18:59 - ERROR: failed to build LINT kernel TB --- 2012-10-28 02:18:59 - 9126.54 user 1209.43 system 10857.41 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-powerpc64-powerpc.full From owner-freebsd-current@FreeBSD.ORG Sun Oct 28 06:37:43 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 141A8131; Sun, 28 Oct 2012 06:37:43 +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 CC53F8FC12; Sun, 28 Oct 2012 06:37: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 q9S6bfBJ070386; Sun, 28 Oct 2012 02:37:41 -0400 (EDT) (envelope-from tinderbox@freebsd.org) Received: (from tinderbox@localhost) by freebsd-current.sentex.ca (8.14.5/8.14.5/Submit) id q9S6bfCO070385; Sun, 28 Oct 2012 06:37:41 GMT (envelope-from tinderbox@freebsd.org) Date: Sun, 28 Oct 2012 06:37:41 GMT Message-Id: <201210280637.q9S6bfCO070385@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 , , Subject: [head tinderbox] failure on ia64/ia64 Precedence: bulk X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2012 06:37:43 -0000 TB --- 2012-10-28 04:41:17 - tinderbox 2.9 running on freebsd-current.sentex.ca TB --- 2012-10-28 04:41:17 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 des@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC amd64 TB --- 2012-10-28 04:41:17 - starting HEAD tinderbox run for ia64/ia64 TB --- 2012-10-28 04:41:17 - cleaning the object tree TB --- 2012-10-28 04:43:13 - checking out /src from svn://svn.freebsd.org/base/head TB --- 2012-10-28 04:43:13 - cd /tinderbox/HEAD/ia64/ia64 TB --- 2012-10-28 04:43:13 - /usr/local/bin/svn cleanup /src TB --- 2012-10-28 04:43:53 - /usr/local/bin/svn update /src TB --- 2012-10-28 04:43:59 - At svn revision 242205 TB --- 2012-10-28 04:44:00 - building world TB --- 2012-10-28 04:44:00 - CROSS_BUILD_TESTING=YES TB --- 2012-10-28 04:44:00 - MAKEOBJDIRPREFIX=/obj TB --- 2012-10-28 04:44:00 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-10-28 04:44:00 - SRCCONF=/dev/null TB --- 2012-10-28 04:44:00 - TARGET=ia64 TB --- 2012-10-28 04:44:00 - TARGET_ARCH=ia64 TB --- 2012-10-28 04:44:00 - TZ=UTC TB --- 2012-10-28 04:44:00 - __MAKE_CONF=/dev/null TB --- 2012-10-28 04:44:00 - cd /src TB --- 2012-10-28 04:44:00 - /usr/bin/make -B buildworld >>> Building an up-to-date make(1) >>> World build started on Sun Oct 28 04:44:06 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 >>> World build completed on Sun Oct 28 06:17:33 UTC 2012 TB --- 2012-10-28 06:17:33 - generating LINT kernel config TB --- 2012-10-28 06:17:33 - cd /src/sys/ia64/conf TB --- 2012-10-28 06:17:33 - /usr/bin/make -B LINT TB --- 2012-10-28 06:17:33 - cd /src/sys/ia64/conf TB --- 2012-10-28 06:17:33 - /usr/sbin/config -m LINT TB --- 2012-10-28 06:17:33 - building LINT kernel TB --- 2012-10-28 06:17:33 - CROSS_BUILD_TESTING=YES TB --- 2012-10-28 06:17:33 - MAKEOBJDIRPREFIX=/obj TB --- 2012-10-28 06:17:33 - PATH=/usr/bin:/usr/sbin:/bin:/sbin TB --- 2012-10-28 06:17:33 - SRCCONF=/dev/null TB --- 2012-10-28 06:17:33 - TARGET=ia64 TB --- 2012-10-28 06:17:33 - TARGET_ARCH=ia64 TB --- 2012-10-28 06:17:33 - TZ=UTC TB --- 2012-10-28 06:17:33 - __MAKE_CONF=/dev/null TB --- 2012-10-28 06:17:33 - cd /src TB --- 2012-10-28 06:17:33 - /usr/bin/make -B buildkernel KERNCONF=LINT >>> Kernel build for LINT started on Sun Oct 28 06:17:33 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 [...] cc -c -x assembler-with-cpp -Wa,-x -DLOCORE -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -Werror /src/sys/ia64/ia64/mp_locore.S cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -Werror /src/sys/ia64/ia64/mp_machdep.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -Werror /src/sys/ia64/ia64/nexus.c cc -c -x assembler-with-cpp -Wa,-x -DLOCORE -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -Werror /src/sys/ia64/ia64/pal.S cc -c -x assembler-with-cpp -Wa,-x -DLOCORE -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -Werror /src/sys/ia64/ia64/physical.S cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -Werror /src/sys/ia64/ia64/physmem.c cc -c -O2 -pipe -fno-strict-aliasing -std=c99 -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -nostdinc -I. -I/src/sys -I/src/sys/contrib/altq -I/src/sys/contrib/ia64/libuwx/src -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common -finline-limit=15000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-builtin -mconstant-gp -ffixed-r13 -mfixed-range=f32-f127 -fpic -ffreestanding -Werror /src/sys/ia64/ia64/pmap.c /src/sys/ia64/ia64/pmap.c:695: error: size of array '__assert_2' is negative *** [pmap.o] Error code 1 Stop in /obj/ia64.ia64/src/sys/LINT. *** [buildkernel] Error code 1 Stop in /src. *** Error code 1 Stop in /src. TB --- 2012-10-28 06:37:41 - WARNING: /usr/bin/make returned exit code 1 TB --- 2012-10-28 06:37:41 - ERROR: failed to build LINT kernel TB --- 2012-10-28 06:37:41 - 5396.93 user 780.68 system 6984.25 real http://tinderbox.freebsd.org/tinderbox-head-HEAD-ia64-ia64.full From owner-freebsd-current@FreeBSD.ORG Sun Oct 28 10:52:20 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 765EED86; Sun, 28 Oct 2012 10:52:20 +0000 (UTC) (envelope-from freebsd.current.list@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id C0C278FC08; Sun, 28 Oct 2012 10:52:19 +0000 (UTC) Received: by mail-ee0-f54.google.com with SMTP id c50so2073053eek.13 for ; Sun, 28 Oct 2012 03:52:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=GJr4JwouJCkUa9jYYehQONgonQ5Bh5vItXPpTSF8ayM=; b=WQ+tcQK2SySRBWNGiZ+DzvnksEsmiUl6PLMvb6SmCXcVVgxDjNXVTDYFp7kEiyrSII m835IPecmmaGDOJVqegaDMOdv3vS8p2j26PgOUEJg8bsSCkpWd1OxOmnXC2+xegWV6mq SSoHWCoGNE17rAYORTo53I1qgvmUIuLomDU8jQKvxSQJuwYdDT+olmnRyAj9hhPb95Hj mDkbdHaD0ufE7pyAU/yzx6LiCkv/QzatU9RHAWmVPYCX8MWKvxKsKwzOPOT1MiF30SYJ RurgkVcmHd7RK4/NxINHkWWx40+1Xpgax31ozyOJq9Xz2qdrZjWghP5tWliw5k4u/Iim gu3w== Received: by 10.14.178.195 with SMTP id f43mr50820723eem.44.1351421538669; Sun, 28 Oct 2012 03:52:18 -0700 (PDT) Received: from [192.168.1.104] ([77.236.31.215]) by mx.google.com with ESMTPS id e1sm15106285eem.3.2012.10.28.03.52.17 (version=SSLv3 cipher=OTHER); Sun, 28 Oct 2012 03:52:18 -0700 (PDT) Message-ID: <508D0E4A.3090709@gmail.com> Date: Sun, 28 Oct 2012 11:51:54 +0100 From: Piotr Kubaj User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121012 Thunderbird/16.0.1 MIME-Version: 1.0 To: Dimitry Andric Subject: Re: Compilling CURRENT with libc++ References: <50892562.6040202@gmail.com> <5089296F.1030001@FreeBSD.org> In-Reply-To: <5089296F.1030001@FreeBSD.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sun, 28 Oct 2012 10:52:20 -0000 Thanks! It seems to work. From owner-freebsd-current@FreeBSD.ORG Sun Oct 28 17:10:12 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B4738DE2; Sun, 28 Oct 2012 17:10:12 +0000 (UTC) (envelope-from asmrookie@gmail.com) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8F3868FC0C; Sun, 28 Oct 2012 17:10:11 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id e12so4196633lag.13 for ; Sun, 28 Oct 2012 10:10:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=rz5pae5NNO9cGchY4sjoX8R4GL21IuL42GVDlFYVGtI=; b=X1BfSBDAH9eBMc+m9diNjtSeLNlBvJU/19hxjp61oEBCNRpKtwzqJQ5j844qVdYcmW itwhbJkga5OCIwnmua7FMFJWPs3gnJgTmKCKtkAJKUm7Rk2IpA2021hLRlIpNypcbLVT plN/cHLcnV4bnDuZ178veISyn16jH10hCrZKncj9cC0RfDDQYJSYWxooUAM2F+PxNMLt 8VKahc16dmEppQ11Gs3wSz037xCjWzKSXwmc7KAE4zrebrYgA9lJkDvS+wcjSUDzG1JR 92TUF0io4WvryrVBN6eRFENrKztDSeKjtELxGpf+0wAfiHmlRgQ+orKfE9P/ANhJJ8iw PrLQ== MIME-Version: 1.0 Received: by 10.152.105.103 with SMTP id gl7mr24788270lab.10.1351444210097; Sun, 28 Oct 2012 10:10:10 -0700 (PDT) Sender: asmrookie@gmail.com Received: by 10.112.30.37 with HTTP; Sun, 28 Oct 2012 10:10:09 -0700 (PDT) In-Reply-To: References: Date: Sun, 28 Oct 2012 17:10:09 +0000 X-Google-Sender-Auth: zfO-iRyq8HPosyBkdbBKlM3bLkY Message-ID: Subject: Re: MPSAFE VFS -- update From: Attilio Rao To: "C. P. Ghost" Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD FS , Peter Holm , freebsd-current@freebsd.org, Konstantin Belousov X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: attilio@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Oct 2012 17:10:12 -0000 On Mon, Oct 22, 2012 at 4:50 PM, C. P. Ghost wrote: > On Thu, Oct 18, 2012 at 7:51 PM, Attilio Rao wrote: >> Following the plan reported here: >> http://wiki.freebsd.org/NONMPSAFE_DEORBIT_VFS >> >> We are now at the state where all non-MPSAFE filesystems are >> disconnected by the three. > > Sad to see PortalFS go. You've served us well here. :-( So do you think you will be able to test patches if someone fixes it? I've double-checked and unfortunately there is no FUSE module for portalfs. Attilio -- Peace can only be achieved by understanding - A. Einstein From owner-freebsd-current@FreeBSD.ORG Mon Oct 29 09:54:32 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4161B246 for ; Mon, 29 Oct 2012 09:54:32 +0000 (UTC) (envelope-from monthadar@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 12CB18FC19 for ; Mon, 29 Oct 2012 09:54:31 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id rp8so4331816pbb.13 for ; Mon, 29 Oct 2012 02:54:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=/rLUMYR+r/bbeZmKQabDFkT1waT2NoEJtcaUgUeLZNM=; b=r13lg21qRahMAQ3j3bnUaQ1on/SeEV7Uh5orGHbiMBnEnz61Z+hj8FT/gZfkNiqti3 tOaoFgUMqMNFwvzqbP9l3mBB4cntoEKzAQ3ChEBvEicH1vkEvIyfvlIpP7eIrYyA/SVG HvT3gsSChgVPKnEuktAOgl4mhvYq9utoRrpUB2Btcez2IIlpyeS5vk61e+XsRTv9N1bB KlNNwinIL+PRROYVG/eJ64s4Ncv+7PFUGUXg00t/fqVKetyDJo1Yi+swDu17x+0q8hne X/0sySlmxALpKgxrmjOZEhvMSx2iK0z145pR96kCO68cIuO872OuB+jBu3C7GEu52IGe MakQ== MIME-Version: 1.0 Received: by 10.68.233.230 with SMTP id tz6mr91027875pbc.36.1351504471535; Mon, 29 Oct 2012 02:54:31 -0700 (PDT) Received: by 10.68.218.2 with HTTP; Mon, 29 Oct 2012 02:54:31 -0700 (PDT) Date: Mon, 29 Oct 2012 10:54:31 +0100 Message-ID: Subject: Dtrace: Module is no longer loaded From: Monthadar Al Jaberi To: freebsd-current Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Mon, 29 Oct 2012 09:54:32 -0000 Hi, I am running FreeBSD current on RouterStation Pro (Mips) using nfs. I followed the handbook about how to compile for Dtrace support. and kldload dtraceall succeeded. But when I tried to run: dtrace -n 'syscall:::' I got error message saying: 'dtrace: invalid probe specifier syscall:::: "/usr/lib/dtrace/psinfo.d", line 88: failed to resolve type kernel`struct thread * for identifier curthread: Module is no longer loaded' I even tried to run some scripts I found here http://wiki.freebsd.org/DTrace/Examples but got same error. What am I missing? kldstat shows: Id Refs Address Size Name 1 24 0x80050000 64fc60 kernel 10 1 0xcdd9b000 a03 dtraceall.ko 11 1 0xce2b2000 54d3 profile.ko 12 10 0xce2b8000 4621 opensolaris.ko 13 3 0xce2bd000 4a3c cyclic.ko 14 8 0xce2c2000 138cfc dtrace.ko 15 1 0xce3fb000 15ff4 systrace.ko 16 1 0xce411000 4a95 sdt.ko 17 1 0xce416000 4c2b lockstat.ko 18 1 0xce41b000 54f0 dtnfsclient.ko 19 1 0xce421000 49d7 dtmalloc.ko 20 1 0xce426000 49e1 dtio.ko uname -a: FreeBSD MESHGATE-12 10.0-CURRENT FreeBSD 10.0-CURRENT #7: Fri Oct 26 13:20:29 CEST 2012 root@challenger:/usr/obj/mips.mips/usr/src/sys/RSPRO_NFS mips FreeBSD head r238604. thank you, -- Monthadar Al Jaberi From owner-freebsd-current@FreeBSD.ORG Mon Oct 29 13:10:03 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F0CC971F for ; Mon, 29 Oct 2012 13:10:03 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9F3058FC0C for ; Mon, 29 Oct 2012 13:10:03 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fw7so6557217vcb.13 for ; Mon, 29 Oct 2012 06:10:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=F5YRpYAtHoBx+ZOzc2ZOvmGW1VXeeouhWLMvJtitl8E=; b=rZCwib/Fx4IP6yyR/wMLsbc+vj2PVJlkicLytzu3eg/7pNHYUc8H/cY90y6VxSzfcq +MLXj6Z3IOvZCC9g9j1T2QNxzehCzKwnOeIrd404XJSnWNJpHjHhEPV4PDGJm9lzMllD KQApN5vzzU5nKVS0iIkFy8sDt6kW5j3h7WXWcEQsZVjlsfblkdx5jrTPNaPZdHxT7pYD IhJF+xJjZdWhcs0J8aTWDJlhpKDG66+WoonJadu0ZBEj++jJiZ/kS+87yjRHM7oAv6M4 VrJ/JSq1f8blH4Y7JEEI7ptre19pjpT3zjJi+Af4JdtBow/YoTEFQ3YbPjpklCH6Are3 Ycdg== MIME-Version: 1.0 Received: by 10.221.0.10 with SMTP id nk10mr8531119vcb.39.1351516202820; Mon, 29 Oct 2012 06:10:02 -0700 (PDT) Received: by 10.58.207.114 with HTTP; Mon, 29 Oct 2012 06:10:02 -0700 (PDT) In-Reply-To: References: Date: Mon, 29 Oct 2012 09:10:02 -0400 Message-ID: Subject: Re: Dtrace: Module is no longer loaded From: Ryan Stone To: Monthadar Al Jaberi Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Mon, 29 Oct 2012 13:10:04 -0000 You didn't build with WITH_CTF=1 From owner-freebsd-current@FreeBSD.ORG Mon Oct 29 14:40:47 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1A9F9C50 for ; Mon, 29 Oct 2012 14:40:47 +0000 (UTC) (envelope-from monthadar@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id DEEC58FC0A for ; Mon, 29 Oct 2012 14:40:46 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi1so3607031pad.13 for ; Mon, 29 Oct 2012 07:40:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=TQTOnc43kR08kvy0v1p8MVUblnuvhDHtrOb+8KfYUCc=; b=iyZRQNHCrxeg4aZ2hHMk9EcqY9EFFtCj1JhkiIAgfZDdBqKmqVQi78AJyNAGhvIe7G bbqXc3lt+5DXGYZI6mNLgbQmSDUPoRRMPbF+GoGs/yM8j+qxQLDbs6kzGc5OHhIXVCD5 tLm5bI1R3cuG6oseE441h0TAXXYRlW1+rFbvxflr/4RmY1SlpOD1O0w+Dp8DVOVD/WTN OPifWlnd/6IR5iTLfNKD12x7ZZBKGDEmzNOC3qiRM4wmIAlMogzQuOcyuxPbAtA1k/QM j3blxaADSCj7NJnKG/S/uq6sBXOUsqXZggL2BxZYGJQ9/zrOkhX3XG3VaHBPs+M+Gd4z NyBg== MIME-Version: 1.0 Received: by 10.68.248.74 with SMTP id yk10mr93763688pbc.86.1351521646170; Mon, 29 Oct 2012 07:40:46 -0700 (PDT) Received: by 10.68.218.2 with HTTP; Mon, 29 Oct 2012 07:40:46 -0700 (PDT) In-Reply-To: References: Date: Mon, 29 Oct 2012 15:40:46 +0100 Message-ID: Subject: Re: Dtrace: Module is no longer loaded From: Monthadar Al Jaberi To: Ryan Stone Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Mon, 29 Oct 2012 14:40:47 -0000 On Mon, Oct 29, 2012 at 2:10 PM, Ryan Stone wrote: > You didn't build with WITH_CTF=1 Yes I did, sorry forgot to attach kernel config. # # Ubiquiti Routerstation Pro: boot from NFS # # $FreeBSD$ # include "AR71XX_BASE" ident "RSPRO_NFS" hints "RSPRO.hints" makeoptions MODULES_OVERRIDE+="opensolaris dtrace cyclic dtrace/dtnfsclient dtrace/dtnfscl dtrace/lockstat dtrace/profile" makeoptions WITH_CTF=1 options KDTRACE_HOOKS # all architectures - enable general DTrace hooks options DDB_CTF # all architectures - kernel ELF linker loads CTF data #options NFSCL #Network Filesystem Client # RTC - requires hackery in the spibus code to work device pcf2123_rtc # GEOM modules device geom_redboot # to get access to the SPI flash partitions device geom_uzip # compressed in-memory filesystem hackery! options GEOM_UZIP # Boot from NFS options NFSLOCKD #Network Lock Manager options NFSCLIENT #Network Filesystem Client options NFS_ROOT options BOOTP options BOOTP_NFSROOT options BOOTP_NFSV3 options BOOTP_WIRED_TO=arge0 options BOOTP_COMPAT options ROOTDEVNAME=\"nfs:172.16.1.101:/usr/obj/rspro/nfs\" -- Monthadar Al Jaberi From owner-freebsd-current@FreeBSD.ORG Mon Oct 29 14:55:34 2012 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 49DAAF90 for ; Mon, 29 Oct 2012 14:55:34 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 8BC038FC17 for ; Mon, 29 Oct 2012 14:55:33 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id QAA15521; Mon, 29 Oct 2012 16:55:30 +0200 (EET) (envelope-from avg@FreeBSD.org) Message-ID: <508E98E1.7010502@FreeBSD.org> Date: Mon, 29 Oct 2012 16:55:29 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121014 Thunderbird/16.0.1 MIME-Version: 1.0 To: Monthadar Al Jaberi Subject: Re: Dtrace: Module is no longer loaded References: In-Reply-To: X-Enigmail-Version: 1.4.5 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-current , Ryan Stone X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Mon, 29 Oct 2012 14:55:34 -0000 on 29/10/2012 16:40 Monthadar Al Jaberi said the following: > On Mon, Oct 29, 2012 at 2:10 PM, Ryan Stone wrote: >> You didn't build with WITH_CTF=1 > > Yes I did, sorry forgot to attach kernel config. What about -g ? http://wiki.freebsd.org/DTrace > # > # Ubiquiti Routerstation Pro: boot from NFS > # > # $FreeBSD$ > # > > include "AR71XX_BASE" > ident "RSPRO_NFS" > hints "RSPRO.hints" > > makeoptions MODULES_OVERRIDE+="opensolaris dtrace cyclic > dtrace/dtnfsclient dtrace/dtnfscl dtrace/lockstat dtrace/profile" > makeoptions WITH_CTF=1 > options KDTRACE_HOOKS # all architectures - enable general DTrace hooks > options DDB_CTF # all architectures - kernel ELF linker loads CTF data > #options NFSCL #Network Filesystem Client > > > # RTC - requires hackery in the spibus code to work > device pcf2123_rtc > > # GEOM modules > device geom_redboot # to get access to the SPI flash partitions > device geom_uzip # compressed in-memory filesystem hackery! > options GEOM_UZIP > > # Boot from NFS > options NFSLOCKD #Network Lock Manager > options NFSCLIENT #Network Filesystem Client > options NFS_ROOT > > options BOOTP > options BOOTP_NFSROOT > options BOOTP_NFSV3 > options BOOTP_WIRED_TO=arge0 > options BOOTP_COMPAT > options ROOTDEVNAME=\"nfs:172.16.1.101:/usr/obj/rspro/nfs\" > > -- Andriy Gapon From owner-freebsd-current@FreeBSD.ORG Mon Oct 29 15:31:34 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C4A35A6E; Mon, 29 Oct 2012 15:31:34 +0000 (UTC) (envelope-from monthadar@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8D6898FC14; Mon, 29 Oct 2012 15:31:34 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi1so3641448pad.13 for ; Mon, 29 Oct 2012 08:31:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=cNW+M1efnPCevYwvBekQLghyB5bV0YfT8o5FHxvF17A=; b=cCb8URu+VawyXg/QkKLRZuR2hXNrJgCBiuYAu+simrmgK4bKkkINPakxtiD3KT48GI WKA1Z1D0vFcg6qBIdeEx4wT/AT/fIBvlkSCvwTq20hEn77RcahEVMWT7Z7y2uLT7byJK mjxVpoy0tZvOC8cIohZcRTrfv1x0+FvE/PRbFOrBDlxsD79X9Aw7ERfoPheQMA4sxpzm +xGsaJJUQ0sZymeiG/9rxPovGK380/64Csmct9qYiKW/RIZv8HjadBhkNpWQTPiSGcCU pNRLKIQVUAPIBWfNREOyu/cdaOjWVePxi8+nLxkxz5FSEj/IQDbKkYTwszLTPYyH2LPl +rQg== MIME-Version: 1.0 Received: by 10.68.233.230 with SMTP id tz6mr93602689pbc.36.1351524694053; Mon, 29 Oct 2012 08:31:34 -0700 (PDT) Received: by 10.68.218.2 with HTTP; Mon, 29 Oct 2012 08:31:34 -0700 (PDT) In-Reply-To: <508E98E1.7010502@FreeBSD.org> References: <508E98E1.7010502@FreeBSD.org> Date: Mon, 29 Oct 2012 16:31:34 +0100 Message-ID: Subject: Re: Dtrace: Module is no longer loaded From: Monthadar Al Jaberi To: Andriy Gapon Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current , Ryan Stone X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Mon, 29 Oct 2012 15:31:34 -0000 -g is included in the base file "AR71XX_BASE" which I have not changed. The error message seems cryptic to me, which module it is talking about that is not loaded? Attaching base file: # # AR71XX -- Kernel configuration file for FreeBSD/MIPS for Atheros 71xx systems # # This includes all the common drivers for the AR71XX boards along with # the usb, net80211 and atheros driver code. # # $FreeBSD$ # machine mips mips ident AR71XX_BASE cpu CPU_MIPS4KC makeoptions KERNLOADADDR=0x80050000 options HZ=1000 options HWPMC_HOOKS files "../atheros/files.ar71xx" # For now, hints are per-board. hints "AR71XX_BASE.hints" makeoptions DEBUG=-g #Build kernel with gdb(1) debug symbols # Build these as modules so small platform builds will have the # modules already built. makeoptions MODULES_OVERRIDE="random gpio ar71xx if_gif if_gre if_bridge bridgestp usb wlan wlan_xauth wlan_acl wlan_wep wlan_tkip wlan_ccmp wlan_rssadapt wlan_amrr ath ath_pci" options DDB options KDB options SCHED_4BSD #4BSD scheduler options INET #InterNETworking options INET6 # IPv6 # options NFS_CL #Network Filesystem Client options PSEUDOFS #Pseudo-filesystem framework options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time extensions # options NFS_LEGACYRPC # Debugging for use in -current options INVARIANTS options INVARIANT_SUPPORT options WITNESS options WITNESS_SKIPSPIN options DEBUG_REDZONE options DEBUG_MEMGUARD options FFS #Berkeley Fast Filesystem # options SOFTUPDATES #Enable FFS soft updates support # options UFS_ACL #Support for access control lists # options UFS_DIRHASH #Improve performance on big directories # options MSDOSFS # Read MSDOS filesystems; useful for USB/CF device pci device ar71xx_pci # 802.11 framework options IEEE80211_DEBUG options IEEE80211_ALQ options IEEE80211_SUPPORT_MESH # This option is currently broken for if_ath_tx. options IEEE80211_SUPPORT_TDMA options IEEE80211_AMPDU_AGE device wlan # 802.11 support device wlan_wep # 802.11 WEP support device wlan_ccmp # 802.11 CCMP support device wlan_tkip # 802.11 TKIP support device wlan_xauth # 802.11 hostap support device wlan_acl # 802.11 ACL support # Atheros wireless NICs device ath # Atheros interface support device ath_pci # Atheros PCI/Cardbus bus options ATH_DEBUG options ATH_DIAGAPI options ATH_ENABLE_11N options AH_DEBUG options AH_DEBUG_ALQ options ALQ device ath_hal option AH_SUPPORT_AR5416 device ath_rate_sample option AH_RXCFG_SDMAMW_4BYTES option AH_AR5416_INTERRUPT_MITIGATION # There's no DFS radar detection support yet so this won't actually # detect radars. It however does enable the rest of the channel change # machinery so DFS can be debugged. option ATH_ENABLE_DFS device mii device arge device usb options USB_EHCI_BIG_ENDIAN_DESC # handle big-endian byte order options USB_DEBUG options USB_HOST_ALIGN=32 # AR71XX (MIPS in general?) requires this device ehci device scbus device umass device da # On-board SPI flash device spibus device ar71xx_spi device mx25l device ar71xx_wdog device uart device loop device ether device md device bpf device random device if_bridge device gif # ip[46] in ip[46] tunneling protocol device gre # generic encapsulation - only for IPv4 in IPv4 though atm options ARGE_DEBUG # Enable if_arge debugging for now # Enable GPIO device gpio device gpioled On Mon, Oct 29, 2012 at 3:55 PM, Andriy Gapon wrote: > on 29/10/2012 16:40 Monthadar Al Jaberi said the following: >> On Mon, Oct 29, 2012 at 2:10 PM, Ryan Stone wrote: >>> You didn't build with WITH_CTF=1 >> >> Yes I did, sorry forgot to attach kernel config. > > What about -g ? > http://wiki.freebsd.org/DTrace > >> # >> # Ubiquiti Routerstation Pro: boot from NFS >> # >> # $FreeBSD$ >> # >> >> include "AR71XX_BASE" >> ident "RSPRO_NFS" >> hints "RSPRO.hints" >> >> makeoptions MODULES_OVERRIDE+="opensolaris dtrace cyclic >> dtrace/dtnfsclient dtrace/dtnfscl dtrace/lockstat dtrace/profile" >> makeoptions WITH_CTF=1 >> options KDTRACE_HOOKS # all architectures - enable general DTrace hooks >> options DDB_CTF # all architectures - kernel ELF linker loads CTF data >> #options NFSCL #Network Filesystem Client >> >> >> # RTC - requires hackery in the spibus code to work >> device pcf2123_rtc >> >> # GEOM modules >> device geom_redboot # to get access to the SPI flash partitions >> device geom_uzip # compressed in-memory filesystem hackery! >> options GEOM_UZIP >> >> # Boot from NFS >> options NFSLOCKD #Network Lock Manager >> options NFSCLIENT #Network Filesystem Client >> options NFS_ROOT >> >> options BOOTP >> options BOOTP_NFSROOT >> options BOOTP_NFSV3 >> options BOOTP_WIRED_TO=arge0 >> options BOOTP_COMPAT >> options ROOTDEVNAME=\"nfs:172.16.1.101:/usr/obj/rspro/nfs\" >> >> > > > -- > Andriy Gapon -- Monthadar Al Jaberi From owner-freebsd-current@FreeBSD.ORG Mon Oct 29 19:46:49 2012 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8B7FF167 for ; Mon, 29 Oct 2012 19:46:49 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 37ACF8FC08 for ; Mon, 29 Oct 2012 19:46:48 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id l1so2163307vba.13 for ; Mon, 29 Oct 2012 12:46:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=TecIWfN+iYMH7vy+hkwSEQP258gT1v4c5UxLeXsT8S8=; b=EKvUX3ImiNsId8cooEIvGXGClqRkziNR9TK3gCUVbssZxNjSnOBSrX0NdTAcizl9Qw s7FxleAyE8YQ7P09VHIfyPgfTBDPKFduOS2Nldu0p0wXmKq+gl9Awrbpmu7Y+8F05Gqu yRGVBgeittSkidYvFtPH/QxWwbeMuYkCATi2F8RZqSBIKG6pa4V5NWu6AhP4p5UzKWve Mb2pkK91k4UzXwUP0FlNr/p5UVtCyQy1pVImdttVtK0sn7tU2uJa/8zd3iEwvEirRBLO 5ycsDbDIvSUSx5ZQYgAskNopuuvPE3+OYHYyV8p0CboWVSWo08ZKtIhBOgF2vrnor9pF H4Kw== MIME-Version: 1.0 Received: by 10.52.33.165 with SMTP id s5mr40739215vdi.55.1351540008444; Mon, 29 Oct 2012 12:46:48 -0700 (PDT) Received: by 10.58.226.163 with HTTP; Mon, 29 Oct 2012 12:46:48 -0700 (PDT) Date: Mon, 29 Oct 2012 15:46:48 -0400 Message-ID: Subject: Interfaces connected by bridge(4) do not pass arp replies From: Kim Culhan To: freebsd-current@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Mon, 29 Oct 2012 19:46:49 -0000 With 2 interfaces present on a bridge0, an arp request is send from msk0 and is received by a machine on em0. When a reply to that arp request is sent by a machine on em0 it is not visible on the bridge0 nor on msk0 as indicated by tcpdump. The arp reply is visible while watching em0 with tcpdump. This behaviour is also true when arp requests are sent from a wlan interface ath0 and received on a wired interface, the arp reply is visible on the wired interface but not visible monitoring with 'tcpdump -i bridge0 arp'. The machine running the em0, msk0 and ath0 interfaces and bridge0 can receive arp requests from any interface and the arp replies are received fine from the machine by the arp requester -err requestor. Any help is greatly appreciated. thanks -kim From owner-freebsd-current@FreeBSD.ORG Mon Oct 29 19:59:50 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9BDFD487 for ; Mon, 29 Oct 2012 19:59:50 +0000 (UTC) (envelope-from monthadar@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6C91C8FC16 for ; Mon, 29 Oct 2012 19:59:50 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id rp8so4718056pbb.13 for ; Mon, 29 Oct 2012 12:59:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=kl+G0ptzSlTlAlbWPxCWz2x4YAg3V0KnXWBdvYcXtms=; b=Q1YP03xeQteNsMHGCV9rhaF2YFS/fH93ZHRFTD7Q1IIcMbD0s+3TQXvKbFuTiG+HXt 68HC12xjWl3DBuVcrt8+uOnKdj08mvROHfQQoynJy7tyeQzC0C2GlxdI1Cn0AXi0kgt0 qtyx6BwjXKZ4Y52cnIWQdcLq4PEQu/C9BSKKPgi7WT6zIr+0BYCtGRYbgtP5tr26+Ovy IfQcV7ynkBP4ygQCehHoxiArPPX5U/Y1vKZ70RKJk9HHNvyhEjW8WvIeEqfh6Tv2I1gL IeV44yF9UnRqwpj86c2mwoAZEHAHAbwdyQxACSwK++taiwJxXZcyCx7OOuGSot/9qy+e kycg== MIME-Version: 1.0 Received: by 10.68.248.74 with SMTP id yk10mr96281187pbc.86.1351540790174; Mon, 29 Oct 2012 12:59:50 -0700 (PDT) Received: by 10.68.218.2 with HTTP; Mon, 29 Oct 2012 12:59:50 -0700 (PDT) In-Reply-To: References: Date: Mon, 29 Oct 2012 20:59:50 +0100 Message-ID: Subject: Re: Interfaces connected by bridge(4) do not pass arp replies From: Monthadar Al Jaberi To: Kim Culhan Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Mon, 29 Oct 2012 19:59:50 -0000 On Mon, Oct 29, 2012 at 8:46 PM, Kim Culhan wrote: > With 2 interfaces present on a bridge0, an arp request is send from > msk0 and is received > by a machine on em0. > > When a reply to that arp request is sent by a machine on em0 it is not > visible on the > bridge0 nor on msk0 as indicated by tcpdump. > > The arp reply is visible while watching em0 with tcpdump. Is em0 set in promisc mode? > > This behaviour is also true when arp requests are sent from a wlan > interface ath0 > and received on a wired interface, the arp reply is visible on the > wired interface but not > visible monitoring with 'tcpdump -i bridge0 arp'. Hmm, I am briding between ath0 and wired (arge0). Can you provide more info? what is your rc.conf? How does it set the interfaces? Can you give ifconfig output? The are reply that you dont see on bridge0 can you dump it from wired interface? > > The machine running the em0, msk0 and ath0 interfaces and bridge0 can > receive arp requests > from any interface and the arp replies are received fine from the > machine by the arp requester -err requestor. > > Any help is greatly appreciated. > > thanks > -kim > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" -- Monthadar Al Jaberi From owner-freebsd-current@FreeBSD.ORG Mon Oct 29 20:55:59 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B8406D51 for ; Mon, 29 Oct 2012 20:55:59 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 68FF58FC1A for ; Mon, 29 Oct 2012 20:55:59 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fw7so7264345vcb.13 for ; Mon, 29 Oct 2012 13:55:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=l4vxq/BsG4DuOdfr8J0p3UORzUqO1Hh4kleVcdMWbRI=; b=AR1cey8v2Udinb+NA+3w3FtE0IMloXAKAhNJNZDTM7iHgjnhfZEJ5o5YhaiF88kyse xP9ha5z0TqS3MPb5TAnJPxjx0qoK8IMI6E5Ld8cu+j/55OMnrGiubuHPr/qlr6DDNdVK HoRIAQD995tWMDRCm//3KAafUCN+IUF/0HfJNnTn1TWtPa6k3P2YbFTQT65GkhVMnKMH /UBAjSG6Dw7ApOO6B11PtonV1aksXrtK01mSoBPanuiwoOHtkVOLFounlbIrjjAcUwX1 6aqzp/sni8mouhpTHUW0zr1GF9NZ7XKtKvOBi2AeaNNb0uXjx7l1Uzueod7IhaAqNrtL ewbQ== MIME-Version: 1.0 Received: by 10.58.137.229 with SMTP id ql5mr55647445veb.11.1351544158527; Mon, 29 Oct 2012 13:55:58 -0700 (PDT) Received: by 10.58.226.163 with HTTP; Mon, 29 Oct 2012 13:55:58 -0700 (PDT) In-Reply-To: References: Date: Mon, 29 Oct 2012 16:55:58 -0400 Message-ID: Subject: Re: Interfaces connected by bridge(4) do not pass arp replies From: Kim Culhan To: Monthadar Al Jaberi Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Mon, 29 Oct 2012 20:55:59 -0000 On Mon, Oct 29, 2012 at 3:59 PM, Monthadar Al Jaberi wrote: > On Mon, Oct 29, 2012 at 8:46 PM, Kim Culhan wrote: >> With 2 interfaces present on a bridge0, an arp request is send from >> msk0 and is received >> by a machine on em0. >> >> When a reply to that arp request is sent by a machine on em0 it is not >> visible on the >> bridge0 nor on msk0 as indicated by tcpdump. >> >> The arp reply is visible while watching em0 with tcpdump. > > Is em0 set in promisc mode? > >> >> This behaviour is also true when arp requests are sent from a wlan >> interface ath0 >> and received on a wired interface, the arp reply is visible on the >> wired interface but not >> visible monitoring with 'tcpdump -i bridge0 arp'. > > Hmm, I am briding between ath0 and wired (arge0). > > Can you provide more info? what is your rc.conf? How does it set the interfaces? > Can you give ifconfig output? > The are reply that you dont see on bridge0 can you dump it from wired > interface? What svn revision of FreeBSD -current are you running? >> The machine running the em0, msk0 and ath0 interfaces and bridge0 can >> receive arp requests >> from any interface and the arp replies are received fine from the >> machine by the arp requester -err requestor. >> >> Any help is greatly appreciated. >> >> thanks >> -kim >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > > > -- > Monthadar Al Jaberi From owner-freebsd-current@FreeBSD.ORG Mon Oct 29 21:17:03 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 01ED258D for ; Mon, 29 Oct 2012 21:17:02 +0000 (UTC) (envelope-from monthadar@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id BEC398FC12 for ; Mon, 29 Oct 2012 21:17:02 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi1so3867524pad.13 for ; Mon, 29 Oct 2012 14:17:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=otTXAj5NJ6Clf5j1jOU09iH3GTisQF7LOpcv7D8f3C4=; b=WxuMB6n1KDzG9qev0KpgTm1q5rdZ72rgwnHButKWxzXrcQyiCg2AZ6V0/NtHR7t/ZG Byfet5qN756xkET0aqdhfw+vbemfrpgl7Lx0mt7NZHr+AEmFJYVIid8JS+zet8Ufz8W+ Ebky3DnAZlBd1UKvyzsNoGI7duzaQIWoFOd3t1NibfwMGjodYqt/pqAoubUcU/4m+Dpb p9ggk6v3Z6tiSwYgVPhbujb6nUgjVyK1TQJJC59VRquX0Q77mJmlH8IcY+Wj1pu5UE8U kFsognvctoUIASrv5vYgfhbJK193OlJ7rj100RGQ3v0tzOgF1bgLxzneBZy/ZJYEvl6i xfgA== MIME-Version: 1.0 Received: by 10.68.129.72 with SMTP id nu8mr96118103pbb.29.1351545422307; Mon, 29 Oct 2012 14:17:02 -0700 (PDT) Received: by 10.68.218.2 with HTTP; Mon, 29 Oct 2012 14:17:02 -0700 (PDT) In-Reply-To: References: Date: Mon, 29 Oct 2012 22:17:02 +0100 Message-ID: Subject: Re: Interfaces connected by bridge(4) do not pass arp replies From: Monthadar Al Jaberi To: Kim Culhan Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Mon, 29 Oct 2012 21:17:03 -0000 On Mon, Oct 29, 2012 at 9:55 PM, Kim Culhan wrote: > On Mon, Oct 29, 2012 at 3:59 PM, Monthadar Al Jaberi > wrote: >> On Mon, Oct 29, 2012 at 8:46 PM, Kim Culhan wrote: >>> With 2 interfaces present on a bridge0, an arp request is send from >>> msk0 and is received >>> by a machine on em0. >>> >>> When a reply to that arp request is sent by a machine on em0 it is not >>> visible on the >>> bridge0 nor on msk0 as indicated by tcpdump. >>> >>> The arp reply is visible while watching em0 with tcpdump. >> >> Is em0 set in promisc mode? >> >>> >>> This behaviour is also true when arp requests are sent from a wlan >>> interface ath0 >>> and received on a wired interface, the arp reply is visible on the >>> wired interface but not >>> visible monitoring with 'tcpdump -i bridge0 arp'. >> >> Hmm, I am briding between ath0 and wired (arge0). >> >> Can you provide more info? what is your rc.conf? How does it set the interfaces? >> Can you give ifconfig output? >> The are reply that you dont see on bridge0 can you dump it from wired >> interface? > > What svn revision of FreeBSD -current are you running? FreeBSD head r238604. > >>> The machine running the em0, msk0 and ath0 interfaces and bridge0 can >>> receive arp requests >>> from any interface and the arp replies are received fine from the >>> machine by the arp requester -err requestor. >>> >>> Any help is greatly appreciated. >>> >>> thanks >>> -kim >>> _______________________________________________ >>> freebsd-current@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-current >>> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >> >> >> >> -- >> Monthadar Al Jaberi -- Monthadar Al Jaberi From owner-freebsd-current@FreeBSD.ORG Mon Oct 29 21:59:06 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EC78625E for ; Mon, 29 Oct 2012 21:59:06 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 995128FC0A for ; Mon, 29 Oct 2012 21:59:05 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id l1so2325259vba.13 for ; Mon, 29 Oct 2012 14:59:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=iZL+850CYB9zY7c5sEP5yoJz29LJwlTVI9kBCW+YcHM=; b=K2PyvXGHbUy5ShdmwwxDdO7NONlzjfU7sh4mVet2Eri2XXW+jNNCRvHjesRyURcnHx zjLOgtRAP5SKl4xdjD+ZMrvr7GEUnZ+o6BzShoz7rw7qUd/oV9bSl19cJmBZRWEoT5Yq Z1HvyGXwfR6BkyRiObVq29kuxRDLm72EEdiqT8hwTbcoiO8KJpwmqm2YzeuXqLbq46/n Iq5L2ct7QwH4luklrcTF6eaO+GpvSZtvPl1jH6Ts0GtBrfqyHOUVYijpZf/zeDbbfmrN WkOdP08m8Q4/8zIwKMXpWWRh4n3moZ7cw9NO0xwBHkVNzEqaY6cXJVyVMiCoxbUEboJq /vgQ== MIME-Version: 1.0 Received: by 10.52.22.202 with SMTP id g10mr40956335vdf.31.1351547944844; Mon, 29 Oct 2012 14:59:04 -0700 (PDT) Received: by 10.58.226.163 with HTTP; Mon, 29 Oct 2012 14:59:04 -0700 (PDT) In-Reply-To: References: Date: Mon, 29 Oct 2012 17:59:04 -0400 Message-ID: Subject: Re: Interfaces connected by bridge(4) do not pass arp replies From: Kim Culhan To: Monthadar Al Jaberi Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Mon, 29 Oct 2012 21:59:07 -0000 On Mon, Oct 29, 2012 at 5:17 PM, Monthadar Al Jaberi wrote: > On Mon, Oct 29, 2012 at 9:55 PM, Kim Culhan wrote: >> On Mon, Oct 29, 2012 at 3:59 PM, Monthadar Al Jaberi >> wrote: >>> On Mon, Oct 29, 2012 at 8:46 PM, Kim Culhan wrote: >>>> With 2 interfaces present on a bridge0, an arp request is send from >>>> msk0 and is received >>>> by a machine on em0. >>>> >>>> When a reply to that arp request is sent by a machine on em0 it is not >>>> visible on the >>>> bridge0 nor on msk0 as indicated by tcpdump. >>>> >>>> The arp reply is visible while watching em0 with tcpdump. >>> >>> Is em0 set in promisc mode? >>> >>>> >>>> This behaviour is also true when arp requests are sent from a wlan >>>> interface ath0 >>>> and received on a wired interface, the arp reply is visible on the >>>> wired interface but not >>>> visible monitoring with 'tcpdump -i bridge0 arp'. >>> >>> Hmm, I am briding between ath0 and wired (arge0). >>> >>> Can you provide more info? what is your rc.conf? How does it set the interfaces? >>> Can you give ifconfig output? >>> The are reply that you dont see on bridge0 can you dump it from wired >>> interface? >> >> What svn revision of FreeBSD -current are you running? > > FreeBSD head r238604. I should have mentioned earlier this is with r242126, there have been some changes to the network code since 238604, maybe that is why you don't have this problem. -kim From owner-freebsd-current@FreeBSD.ORG Tue Oct 30 07:58:39 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CC389CCE; Tue, 30 Oct 2012 07:58:39 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from smtp5.clear.net.nz (smtp5.clear.net.nz [203.97.33.68]) by mx1.freebsd.org (Postfix) with ESMTP id 904DA8FC0C; Tue, 30 Oct 2012 07:58:38 +0000 (UTC) Received: from mxin3-orange.clear.net.nz (lb2-srcnat.clear.net.nz [203.97.32.237]) by smtp5.clear.net.nz (CLEAR Net Mail) with ESMTP id <0MCP00FRI4T8YG30@smtp5.clear.net.nz>; Tue, 30 Oct 2012 20:58:22 +1300 (NZDT) Received: from 202-0-48-19.paradise.net.nz (HELO localhost) ([202.0.48.19]) by smtpin32.paradise.net.nz with ESMTP; Tue, 30 Oct 2012 20:58:20 +1300 Date: Tue, 30 Oct 2012 20:58:18 +1300 From: Andrew Turner Subject: Re: make tinderbox failures In-reply-to: To: mdf@FreeBSD.org Message-id: <20121030205818.784c1bf1@fubar.geek.nz> MIME-version: 1.0 X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; i386-portbld-freebsd8.1) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7bit X-Pirate: Arrrr References: <29E39FE3-57CC-484C-8966-2F33A7A63C89@bsdimp.com> Cc: Garrett Cooper , freebsd-current@freebsd.org, Warner Losh X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Tue, 30 Oct 2012 07:58:40 -0000 On Fri, 26 Oct 2012 15:31:50 -0700 mdf@FreeBSD.org wrote: > Thanks for fixes! Is the reason the public tinderbox didn't see these > because it has explicit lists of arch/CONF kernels to build, while > "make tinderbox" on my machine just builds all the capitalized files > as configuration files? I don't know about the MIPS builds but with ARM it is because the tinderbox only builds for TARGET_ARCH=arm. 2 months ago I updated the ARM configs to set their machine option correctly. This meant the kernels sere built with the correct toolchain in "make tinderbox" but not the public tinderbox. The correct fix is to update the public tinderbox to build arm, armv6 and armeb. Andrew From owner-freebsd-current@FreeBSD.ORG Tue Oct 30 12:19:25 2012 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E742BFCB for ; Tue, 30 Oct 2012 12:19:25 +0000 (UTC) (envelope-from glebius@FreeBSD.org) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.64.117]) by mx1.freebsd.org (Postfix) with ESMTP id 5C2758FC14 for ; Tue, 30 Oct 2012 12:19:25 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.5/8.14.5) with ESMTP id q9UCJOGE037289; Tue, 30 Oct 2012 16:19:24 +0400 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.5/8.14.5/Submit) id q9UCJONG037288; Tue, 30 Oct 2012 16:19:24 +0400 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Tue, 30 Oct 2012 16:19:24 +0400 From: Gleb Smirnoff To: Kim Culhan Subject: Re: Interfaces connected by bridge(4) do not pass arp replies Message-ID: <20121030121924.GD70741@FreeBSD.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Monthadar Al Jaberi , freebsd-current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Tue, 30 Oct 2012 12:19:26 -0000 Kim, On Mon, Oct 29, 2012 at 05:59:04PM -0400, Kim Culhan wrote: K> >> What svn revision of FreeBSD -current are you running? K> > K> > FreeBSD head r238604. K> K> I should have mentioned earlier this is with r242126, there have been K> some changes K> to the network code since 238604, maybe that is why you don't have this problem. If you can do binary search, that may be valuable. -- Totus tuus, Glebius. From owner-freebsd-current@FreeBSD.ORG Tue Oct 30 13:29:02 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 307E0A31; Tue, 30 Oct 2012 13:29:02 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id AF5FD8FC15; Tue, 30 Oct 2012 13:29:01 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id l1so362114vba.13 for ; Tue, 30 Oct 2012 06:29:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=VYQiaq0TXFRZ8C8mdAhz9Qr4YFGxWmkV1zBXpjRou+Q=; b=oSaRX2TDPqjF4R/FKNL+624P6kRX+bNKKtUaxnkNNUwd/1wpDV+LSD/fbNhZNGJ6Us uqLVcSe9TfsxhJCKokZHIE2E4lZVDqYgr42a4ZBNYfRxqBZttUsd9Ye+C7s7pg0Ezj0u TfFj10Bqp5wchy0lS0y9SY2FV5RdkQyB4TzkGZYa4t5j0S+JiiNmWsl0udPlakKHDth6 3ICcIjXarOFLoA4+zZCOX4WG1lqMQmywyo4ae0dWJFtlFymcecBxtkecYIXuMHx7aKLo IgdXsHJE5/y2eI4n6+8iklwUTNY4Xbh2GAKQQO87rSILAD6Dq6+ZlqlSiFCNE0+Mhm0J okHQ== MIME-Version: 1.0 Received: by 10.52.94.225 with SMTP id df1mr42852431vdb.114.1351603741090; Tue, 30 Oct 2012 06:29:01 -0700 (PDT) Received: by 10.58.226.163 with HTTP; Tue, 30 Oct 2012 06:29:00 -0700 (PDT) In-Reply-To: <20121030121924.GD70741@FreeBSD.org> References: <20121030121924.GD70741@FreeBSD.org> Date: Tue, 30 Oct 2012 09:29:00 -0400 Message-ID: Subject: Re: Interfaces connected by bridge(4) do not pass arp replies From: Kim Culhan To: Gleb Smirnoff Content-Type: text/plain; charset=ISO-8859-1 Cc: Monthadar Al Jaberi , freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Tue, 30 Oct 2012 13:29:02 -0000 On Tue, Oct 30, 2012 at 8:19 AM, Gleb Smirnoff wrote: > Kim, > > On Mon, Oct 29, 2012 at 05:59:04PM -0400, Kim Culhan wrote: > K> >> What svn revision of FreeBSD -current are you running? > K> > > K> > FreeBSD head r238604. > K> > K> I should have mentioned earlier this is with r242126, there have been > K> some changes > K> to the network code since 238604, maybe that is why you don't have this problem. > > If you can do binary search, that may be valuable. > > -- > Totus tuus, Glebius. Ok I can begin that process, Monthadar since you have an earlier version can you try a test: >From a machine on one of your 2 interfaces, can you ping a machine on the other interface? Do you see the MAC for a machine on the other interface in the arp table? When this problem is present, it is possible to reach the router and out to the internet (if it is routed that way) but in the case of the wireless interface, for example, you cannot reach a machine on the wired interface. The interfaces here: bridge0: flags=8843 metric 0 mtu 1500 ether 02:f3:8d:7d:04:00 inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 nd6 options=29 id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 member: msk0 flags=143 ifmaxaddr 0 port 2 priority 128 path cost 55 member: em0 flags=143 ifmaxaddr 0 port 1 priority 128 path cost 2000000 member: wlan1 flags=143 ifmaxaddr 0 port 11 priority 128 path cost 33333 msk0: flags=8943 metric 0 mtu 1500 options=c0019 ether 00:1e:8c:0a:50:e2 inet6 fe80::21e:8cff:fe0a:50e2%msk0 prefixlen 64 scopeid 0x2 nd6 options=29 media: Ethernet autoselect (1000baseT ) status: active em0: flags=8943 metric 0 mtu 1500 options=2098 ether 00:0e:0c:7f:cf:02 inet6 fe80::20e:cff:fe7f:cf02%em0 prefixlen 64 scopeid 0x1 nd6 options=29 media: Ethernet autoselect (1000baseT ) status: active In rc.conf the bridge is created with: ifconfig_bridge0="inet 10.0.0.1 netmask 255.255.255.0 addm wlan1 addm em0 addm msk0 up" thanks -kim From owner-freebsd-current@FreeBSD.ORG Tue Oct 30 13:34:08 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 21093E1C; Tue, 30 Oct 2012 13:34:08 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9DE538FC16; Tue, 30 Oct 2012 13:34:07 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id l1so369720vba.13 for ; Tue, 30 Oct 2012 06:34:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=WeODVxxWMHiX3OFZIS+G7hDqBBnJU3RS1X8dxmVg2U8=; b=J4lgUAzjoMHoMHSu54ko3VShFCAN1icnw7WIK0MPjak2+H/3MgRhaFSOkjOA7jwZau +RGcQ5vAhAsdu+7blw8apABrQCOTmTGP99j0WRMrFxP2gH4zYPCJ7jRxS2iB+QkYXlOe oZ3W23YwNj28ejVbx2FzhvmoBrHnCTaH/NgDFnYNS3V3YyCoLNkJLdg5axHwL2hLAvF8 zVXSpbPBKGkeCXQZXPxws/MI5bJf1UQv21jo3e84UjhwT+NCXbK1xD3WnC59X1kc938F tu8Xypn82IdKMYpBCrIzytDiCxxiLOQqvuJZz1AgXymP8TQjJmlvnPL39zWb/0BX516n Ctpw== MIME-Version: 1.0 Received: by 10.52.22.202 with SMTP id g10mr43221278vdf.31.1351604046925; Tue, 30 Oct 2012 06:34:06 -0700 (PDT) Received: by 10.58.226.163 with HTTP; Tue, 30 Oct 2012 06:34:06 -0700 (PDT) In-Reply-To: References: <20121030121924.GD70741@FreeBSD.org> Date: Tue, 30 Oct 2012 09:34:06 -0400 Message-ID: Subject: Re: Interfaces connected by bridge(4) do not pass arp replies From: Kim Culhan To: Gleb Smirnoff Content-Type: text/plain; charset=ISO-8859-1 Cc: Monthadar Al Jaberi , freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Tue, 30 Oct 2012 13:34:08 -0000 On Tue, Oct 30, 2012 at 9:29 AM, Kim Culhan wrote: > On Tue, Oct 30, 2012 at 8:19 AM, Gleb Smirnoff wrote: >> Kim, >> >> On Mon, Oct 29, 2012 at 05:59:04PM -0400, Kim Culhan wrote: >> K> >> What svn revision of FreeBSD -current are you running? >> K> > >> K> > FreeBSD head r238604. >> K> >> K> I should have mentioned earlier this is with r242126, there have been >> K> some changes >> K> to the network code since 238604, maybe that is why you don't have this problem. >> >> If you can do binary search, that may be valuable. >> >> -- >> Totus tuus, Glebius. > > Ok I can begin that process, Monthadar since you have an earlier > version can you try > a test: > > From a machine on one of your 2 interfaces, can you ping a machine on > the other interface? > > Do you see the MAC for a machine on the other interface in the arp table? > > When this problem is present, it is possible to reach the router and > out to the internet > (if it is routed that way) but in the case of the wireless interface, > for example, you cannot > reach a machine on the wired interface. > > The interfaces here: Sorry omitted one interface: wlan1: flags=8943 metric 0 mtu 1500 ether fa:d1:11:38:3c:e5 nd6 options=29 media: IEEE 802.11 Wireless Ethernet autoselect mode 11ng status: running ssid ap2 channel 6 (2437 MHz 11g ht/40+) bssid fa:d1:11:38:3c:e5 regdomain 32924 country CN indoor ecm authmode OPEN privacy OFF txpower 20 scanvalid 60 protmode CTS ampdulimit 64k ampdudensity 8 shortgi wme burst dtimperiod 1 -kim From owner-freebsd-current@FreeBSD.ORG Tue Oct 30 15:13:36 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8452F671; Tue, 30 Oct 2012 15:13:36 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kostikbel-1-pt.tunnel.tserv11.ams1.ipv6.he.net [IPv6:2001:470:1f14:13d6::2]) by mx1.freebsd.org (Postfix) with ESMTP id A13548FC0C; Tue, 30 Oct 2012 15:13:34 +0000 (UTC) Received: from tom.home (localhost [127.0.0.1]) by kib.kiev.ua (8.14.5/8.14.5) with ESMTP id q9UFDRdb087336; Tue, 30 Oct 2012 17:13:27 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by tom.home (8.14.5/8.14.5/Submit) id q9UFDRiG087335; Tue, 30 Oct 2012 17:13:27 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Tue, 30 Oct 2012 17:13:27 +0200 From: Konstantin Belousov To: amd64@freebsd.org, current@freebsd.org Subject: Re: Small Ivy features: FSGSBASE and SMEP. Message-ID: <20121030151327.GW73505@kib.kiev.ua> References: <20120908181019.GK33100@deviant.kiev.zoral.com.ua> <504C3A5D.4020402@fuckner.net> <20120909110255.GM33100@deviant.kiev.zoral.com.ua> <20120909202905.GP33100@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MUnXZt0Uv08c1hBe" Content-Disposition: inline In-Reply-To: <20120909202905.GP33100@deviant.kiev.zoral.com.ua> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=0.2 required=5.0 tests=ALL_TRUSTED, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: avg@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Tue, 30 Oct 2012 15:13:36 -0000 --MUnXZt0Uv08c1hBe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 09, 2012 at 11:29:05PM +0300, Konstantin Belousov wrote: > On Sun, Sep 09, 2012 at 02:02:55PM +0300, Konstantin Belousov wrote: > > On Sun, Sep 09, 2012 at 08:42:37AM +0200, Michael Fuckner wrote: > > > Hi all, > > >=20 > > > I changed your patch slightly to apply to specialreh.h on STABLE > > >=20 > > > root@c64:/root # diff smep.1.patch.bak smep.1.patch > > > 80c80 > > > < diff --git a/sys/x86/include/specialreg.h b/sys/x86/include/special= reg.h > > > --- > > > > diff --git a/sys/amd64/include/specialreg.h=20 > > > b/sys/amd64/include/specialreg.h > > > 82,83c82,83 > > > < --- a/sys/x86/include/specialreg.h > > > < +++ b/sys/x86/include/specialreg.h > > > --- > > > > --- a/sys/amd64/include/specialreg.h > > > > +++ b/sys/amd64/include/specialreg.h > > >=20 > > > I got a new kernel, but it is stuck immediately (kerneltrap 9 with=20 > > > interrupts disabled), system doesn't boot on E3-1230 V2 on Supermicro= =20 > > > X9SCM-IIF > > >=20 > > > Anything else I could check? > > I need the backtrace and the whole kernel messages. > At least, there was a typo in the definition of CR4_FSGSBASE. > I still need verbose dmesg and panic messages, if any, with the > http://people.freebsd.org/~kib/misc/smep.2.patch=20 > version of the patch. >=20 With a help from Andrey, who has access to the hardware supporting SMEP, I fixed the issue with double-fault on SMEP enable. The issue was due to loader(8) making a handoff to the kernel with 1GB identity mapping which has the PG_U bit set. As a result, after enabling the CR4.SMEP, the #pf was generated immediately. But since the handler, if any, is also mapped with PG_U, double-fault happen and machine was reset. Updated patch, also fixing other minor problems with the features display, is at http://people.freebsd.org/~kib/misc/smep.3.patch . Please test. > >=20 > > >=20 > > > Regards, > > > Michael! > > >=20 > > >=20 > > > On 09/08/2012 08:10 PM, Konstantin Belousov wrote: > > > >Please find at > > > >http://people.freebsd.org/~kib/misc/smep.1.patch > > > >the patch which should enable the FSGSBASE and SMEP features > > > >supposedly present in the IvyBridge CPUs. > > > > > > > >FSGSBASE are four new instructions available in the 64bit mode only. > > > >They allow to access bases for %fs and %gs without touching MSRs. > > > >This makes it possible to both read and write bases in the user mode, > > > >or in ring 0 with lower overhead. > > > > > > > >At the moment, WRFSBASE/WRGSBASE instructions should work, but are > > > >useless since any interrupt or context switch overrides bases with t= he > > > >values set by the arch syscall. Still, RDFSBASE/RDGSBASE might be us= eful > > > >for some code and I see no reason not to enable them. > > > > > > > >SMEP is the nice feature of the processor which makes it trap if ring > > > >0 tries to execute an instruction from usermode-accessible page. It = is > > > >another mitigation for things like calling user-controllable function > > > >pointer in kernel, as well as a protection for NULL function pointer > > > >dereference. > > > > > > > >I am sure that we never execute anything in kernel from user page, b= ut > > > >I did not tested the patch since I have no Ivy machine. > > > > > > > >I need your reports about boot on Ivy with patch applied. Please inc= lude > > > >the lines from verbose dmesg with CPU Features. In particular, the > > > >'Standard Extended Features' report should appear in output. > > > > > > > >Thanks. > > > > >=20 >=20 --MUnXZt0Uv08c1hBe Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlCP7pYACgkQC3+MBN1Mb4i4XgCeMbWPn1gy9FTlpXgomSgRMzlm JRsAoNo07WO49h+wnpyaOHBAO9d0Fb0T =0ClT -----END PGP SIGNATURE----- --MUnXZt0Uv08c1hBe-- From owner-freebsd-current@FreeBSD.ORG Wed Oct 31 00:34:55 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3992B8DE; Wed, 31 Oct 2012 00:34:55 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id BB27A8FC17; Wed, 31 Oct 2012 00:34:54 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fw7so1269912vcb.13 for ; Tue, 30 Oct 2012 17:34:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:cc:content-type; bh=osCQkay3MnCEZS6+Z4gDFdETP8iqUL/1+3BnfYGYOCU=; b=VEHuHDku64qnYh9RG2abiSFUkAeEPhUZmbSnCsWcilktbS1fGCQtQOeWHmKXZcU7XF SdOpqJr1W6UANickqgdlTSNveeyH2M3aAzagc5HLGrUKb0KXVzcsMhlbfM2vTE09/wl4 nkp8g3F/y6ziNmA0nH40yy+gjrsumAg+rwsS8RZB6D3FFrEj0pcATeCKtNTHXooVhgW8 cjYWAif1IQ08u9qug4rnrpLEyv9Xh933HWyy9vX79cB3fBTPwB7pRKlbTKFIrUhdlJAV CM5skWT+ZXP9Jkj765rUDW/rE5ld4SqtXEA8rbK0hmNEEYNrQtIVyvJL9W9U5edVhWd8 uSVQ== MIME-Version: 1.0 Received: by 10.58.155.169 with SMTP id vx9mr60772016veb.45.1351643693568; Tue, 30 Oct 2012 17:34:53 -0700 (PDT) Received: by 10.58.207.114 with HTTP; Tue, 30 Oct 2012 17:34:53 -0700 (PDT) Date: Tue, 30 Oct 2012 20:34:53 -0400 Message-ID: Subject: Supermicro X8DT6 crashes in bootloader after r239066 From: Ryan Stone To: FreeBSD Current Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: ae@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Wed, 31 Oct 2012 00:34:55 -0000 I have a X8DT6 that appears to crash in the bootloader from HEAD. I say "appears to" because it's difficult to really see what the problem is; the system reboots pretty much as soon as it enters the FreeBSD boot process. The problem affects PXE booting, booting from ZFS on GPT on a SATA drive and UFS on MBR on a USB stick. The problem only occurs if I have any SATA disks plugged in. If I remove all SATA disks I can successfully PXE boot or boot from a USB key. I've tried with a couple of different SATA disks, some with GPT and some with MBR, and the reboot happens in both cases. The last things that I see on the serial console before the reboot is: DHCP..- ^[[06;07H^[[06;00HDH CP..\ ^[ [06;07H^[[05;00HCLIENT MAC ADDR: 00 25 90 92 19 94 GUID: 84F7C23B 5F21 2533 625 C 002590921994 ^[[06;00HCLIENT IP: 172.16.1.50 MASK: 255.255.255.0 DHCP IP: 1 72.16.1.1 ^[[07;00HGATEWAY IP: 172.16.1.1 ^[[08;00HPXE Loader 1.00^[[2JM-^@^[[01;00H^[[0 m^[[2m^[[0m^[[2;30;40m ^@^[[0m^[[2;37;40m ^[[02;00H^[[0m^[[2;30;40m So it really doesn't seem to get very far at all. I've bisected and confirmed that the problem was introduced in r239066. I tried reverting that commit locally and I can boot fine again. I took a quick look at that commit but it appears to be way over my head. I'm willing to test patches or gather more debugging information; this thing isn't going anywhere until I can get it booting. :) Ryan From owner-freebsd-current@FreeBSD.ORG Wed Oct 31 05:31:25 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 44BEB901; Wed, 31 Oct 2012 05:31:25 +0000 (UTC) (envelope-from nparhar@gmail.com) Received: from mail-da0-f54.google.com (mail-da0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id C420E8FC12; Wed, 31 Oct 2012 05:31:24 +0000 (UTC) Received: by mail-da0-f54.google.com with SMTP id z9so494710dad.13 for ; Tue, 30 Oct 2012 22:31:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=yf7dEXT5rLZUvWKfaoUl0XGNHPkKM1sDEKuJ1cpeq2g=; b=KD2Pn7QqVXD0N8cXvvV+YntYvaFL5HGQ8Yc7YE17ovhxn2SASV3Q/RAoSsTM1tPrMR 2y5RwA7dFIOuZbjtGQysh5raX+7doodmoaFUxueibEN4FmVvQDtmMjtKsu00OZJH7O6X Sr+UyKJ+orB2eOmxGaJxojZUrIoiAiRvX4cBXqtPnG/yusMRGkzrFRGECafKLuArjqwp FpXe7LTGObpXgEaeF27yvZm0M7JKQ6cuH55eOTlhfUrD1SyiuF+dSY5EL+LSatDnv+HE KfhmdojoTXXhOuqjyUSuqCEr4hhUz4ipZtMF9Kxmt6R4P9f2JswJgxg47u7lh8UmHFer UByg== Received: by 10.68.212.71 with SMTP id ni7mr108154520pbc.81.1351661483809; Tue, 30 Oct 2012 22:31:23 -0700 (PDT) Received: from itx (c-24-6-45-85.hsd1.ca.comcast.net. [24.6.45.85]) by mx.google.com with ESMTPS id s1sm1612282paz.0.2012.10.30.22.31.21 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 30 Oct 2012 22:31:22 -0700 (PDT) Date: Tue, 30 Oct 2012 22:31:13 -0700 From: Navdeep Parhar To: Ryan Stone Subject: Re: Supermicro X8DT6 crashes in bootloader after r239066 Message-ID: <20121031053113.GA1446@itx> Mail-Followup-To: Ryan Stone , FreeBSD Current , ae@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: ae@freebsd.org, FreeBSD Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Wed, 31 Oct 2012 05:31:25 -0000 On Tue, Oct 30, 2012 at 08:34:53PM -0400, Ryan Stone wrote: > I have a X8DT6 that appears to crash in the bootloader from HEAD. I say > "appears to" because it's difficult to really see what the problem is; the > system reboots pretty much as soon as it enters the FreeBSD boot process. > The problem affects PXE booting, booting from ZFS on GPT on a SATA drive > and UFS on MBR on a USB stick. > > The problem only occurs if I have any SATA disks plugged in. If I remove > all SATA disks I can successfully PXE boot or boot from a USB key. I've > tried with a couple of different SATA disks, some with GPT and some with > MBR, and the reboot happens in both cases. > > The last things that I see on the serial console before the reboot is: > > DHCP..- > > ^[[06;07H^[[06;00HDH > CP..\ > ^[ > [06;07H^[[05;00HCLIENT MAC ADDR: 00 25 90 92 19 94 GUID: 84F7C23B 5F21 > 2533 625 > C 002590921994 ^[[06;00HCLIENT IP: 172.16.1.50 MASK: 255.255.255.0 DHCP > IP: 1 > 72.16.1.1 ^[[07;00HGATEWAY IP: > 172.16.1.1 > ^[[08;00HPXE Loader > 1.00^[[2JM-^@^[[01;00H^[[0 > m^[[2m^[[0m^[[2;30;40m > ^@^[[0m^[[2;37;40m > ^[[02;00H^[[0m^[[2;30;40m > > So it really doesn't seem to get very far at all. > > I've bisected and confirmed that the problem was introduced in r239066. I > tried reverting that commit locally and I can boot fine again. I took a > quick look at that commit but it appears to be way over my head. I'm > willing to test patches or gather more debugging information; this thing > isn't going anywhere until I can get it booting. :) I have one of these X8DT6 systems. It has grub2 as the primary boot loader which then loads zfsloader. Many weeks back I updated the BIOS, grub, and FreeBSD and ran into a similar problem -- zfsloader would start, print a few messages, and then the system would reboot. I tracked it down to the int 0x13 call (with eax=0x4800) in bd_int13probe. It would walk past the end of the edd_params structure and corrupt the return address on the stack. I worked around it by padding edd_params. I was planning to debug it further to find out which of the 3 things that were updated caused the problem but Other Things(tm) came up. See if this works for you too: diff -r d35d326e437a -r e5228169f3f1 sys/boot/i386/common/edd.h --- a/sys/boot/i386/common/edd.h Tue Oct 30 21:51:09 2012 -0700 +++ b/sys/boot/i386/common/edd.h Tue Oct 30 21:51:20 2012 -0700 @@ -62,6 +62,7 @@ struct edd_params { uint16_t sector_size; uint16_t edd_params_seg; uint16_t edd_params_off; + char pad[64]; }; Regards, Navdeep From owner-freebsd-current@FreeBSD.ORG Wed Oct 31 08:41:09 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B5ED830F; Wed, 31 Oct 2012 08:41:09 +0000 (UTC) (envelope-from monthadar@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7B5AE8FC12; Wed, 31 Oct 2012 08:41:09 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi1so864428pad.13 for ; Wed, 31 Oct 2012 01:41:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=5SKZq7Phv2xRHo56G6ZDFI2hZ7+KG05SLWA2kAAFc5c=; b=gfLMx81USQ5Nq8YB4d6cmxZRN7DlOVQ76kENtQ1JQ+8kPQo+NpPOt52Ux/mf2HeEA0 yF1VYGhFT7QlhFTuGkaZbnmNh25kxvTOO2R92IFr9oLd+szcRgO+yUV5vwYRaQmXnGrR mYT8bhHRCcjxIvj7HGpQtoY/mD3W5J2yKEiZuCLp7wjFjVcnPSKzskOy+hHEDLf9bobv vfHaRw+v3b0K8zpPo+D5mjALyyEvuVUX/v8ofguIzR2kaimE2F2p4VhbpcpWjAdZlQRf GiVxeSUTDmVjz0QdQuqh4u0FNP5RFpcwM95Kig7ww/dkUbj5pDLTZNjFqdCZd2r01WwP 5ayQ== MIME-Version: 1.0 Received: by 10.68.243.10 with SMTP id wu10mr28917855pbc.85.1351672868168; Wed, 31 Oct 2012 01:41:08 -0700 (PDT) Received: by 10.68.218.2 with HTTP; Wed, 31 Oct 2012 01:41:08 -0700 (PDT) In-Reply-To: References: <20121030121924.GD70741@FreeBSD.org> Date: Wed, 31 Oct 2012 09:41:08 +0100 Message-ID: Subject: Re: Interfaces connected by bridge(4) do not pass arp replies From: Monthadar Al Jaberi To: Kim Culhan Content-Type: text/plain; charset=ISO-8859-1 Cc: Gleb Smirnoff , freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Wed, 31 Oct 2012 08:41:09 -0000 On Tue, Oct 30, 2012 at 2:29 PM, Kim Culhan wrote: > On Tue, Oct 30, 2012 at 8:19 AM, Gleb Smirnoff wrote: >> Kim, >> >> On Mon, Oct 29, 2012 at 05:59:04PM -0400, Kim Culhan wrote: >> K> >> What svn revision of FreeBSD -current are you running? >> K> > >> K> > FreeBSD head r238604. >> K> >> K> I should have mentioned earlier this is with r242126, there have been >> K> some changes >> K> to the network code since 238604, maybe that is why you don't have this problem. >> >> If you can do binary search, that may be valuable. >> >> -- >> Totus tuus, Glebius. > > Ok I can begin that process, Monthadar since you have an earlier > version can you try > a test: > > From a machine on one of your 2 interfaces, can you ping a machine on > the other interface? Yes > > Do you see the MAC for a machine on the other interface in the arp table? Yes > > When this problem is present, it is possible to reach the router and > out to the internet > (if it is routed that way) but in the case of the wireless interface, > for example, you cannot > reach a machine on the wired interface. > > The interfaces here: > > bridge0: flags=8843 metric 0 mtu 1500 > ether 02:f3:8d:7d:04:00 > inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 > nd6 options=29 > id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 > maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 > root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 > member: msk0 flags=143 > ifmaxaddr 0 port 2 priority 128 path cost 55 > member: em0 flags=143 > ifmaxaddr 0 port 1 priority 128 path cost 2000000 > member: wlan1 flags=143 > ifmaxaddr 0 port 11 priority 128 path cost 33333 > > msk0: flags=8943 > metric 0 mtu 1500 > options=c0019 > ether 00:1e:8c:0a:50:e2 > inet6 fe80::21e:8cff:fe0a:50e2%msk0 prefixlen 64 scopeid 0x2 > nd6 options=29 > media: Ethernet autoselect (1000baseT ) > status: active > > em0: flags=8943 metric > 0 mtu 1500 > options=2098 > ether 00:0e:0c:7f:cf:02 > inet6 fe80::20e:cff:fe7f:cf02%em0 prefixlen 64 scopeid 0x1 > nd6 options=29 > media: Ethernet autoselect (1000baseT ) > status: active > > In rc.conf the bridge is created with: > > ifconfig_bridge0="inet 10.0.0.1 netmask 255.255.255.0 addm wlan1 addm > em0 addm msk0 up" I create the bridge the same way as you. > > thanks > -kim -- Monthadar Al Jaberi From owner-freebsd-current@FreeBSD.ORG Wed Oct 31 12:28:49 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9A860DFC; Wed, 31 Oct 2012 12:28:49 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2F6E38FC12; Wed, 31 Oct 2012 12:28:48 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fw7so1876825vcb.13 for ; Wed, 31 Oct 2012 05:28:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=juJsWawm+1qUHElx1i51sH8HZrOJ5NNP9UdU7UY9hAk=; b=MEuZ4hyTpzFDunE7R8+s6GIfzkfWqXzJNE13CFAtDrdZibQ4+Sm2t7BjYhHS5tqYRm C5IXlUfAS4PuDQNW1rFXtBmoALMxU1fLUT4mea6njo797YogHBByC2LDIP0dC08BcfIv N5Il6IjU3EtSCZz/94jiarxznSPhCfePGABO3W0KdUQOB2KPg8OkO7NRX+hN0ZLn/mL4 oP8H0j8RempNS+h3amOEIg7jBrC9O4DPpny10ygNOhbEQJoHARiXFy+ImWciuEf+jL8g 3aGXelICz3/4oJtH2TuoDkqn0HPS27jih8HYHIPVg5BERJ89NbWqZxoHbc6sXirI3Szy VBrA== MIME-Version: 1.0 Received: by 10.220.148.134 with SMTP id p6mr17551785vcv.3.1351686528332; Wed, 31 Oct 2012 05:28:48 -0700 (PDT) Received: by 10.58.226.163 with HTTP; Wed, 31 Oct 2012 05:28:48 -0700 (PDT) In-Reply-To: References: <20121030121924.GD70741@FreeBSD.org> Date: Wed, 31 Oct 2012 08:28:48 -0400 Message-ID: Subject: Re: Interfaces connected by bridge(4) do not pass arp replies From: Kim Culhan To: Monthadar Al Jaberi Content-Type: text/plain; charset=ISO-8859-1 Cc: Gleb Smirnoff , freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Wed, 31 Oct 2012 12:28:49 -0000 On Wed, Oct 31, 2012 at 4:41 AM, Monthadar Al Jaberi wrote: > On Tue, Oct 30, 2012 at 2:29 PM, Kim Culhan wrote: >> On Tue, Oct 30, 2012 at 8:19 AM, Gleb Smirnoff wrote: >>> Kim, >>> >>> On Mon, Oct 29, 2012 at 05:59:04PM -0400, Kim Culhan wrote: >>> K> >> What svn revision of FreeBSD -current are you running? >>> K> > >>> K> > FreeBSD head r238604. >>> K> >>> K> I should have mentioned earlier this is with r242126, there have been >>> K> some changes >>> K> to the network code since 238604, maybe that is why you don't have this problem. >>> >>> If you can do binary search, that may be valuable. >>> >>> -- >>> Totus tuus, Glebius. >> >> Ok I can begin that process, Monthadar since you have an earlier >> version can you try >> a test: >> >> From a machine on one of your 2 interfaces, can you ping a machine on >> the other interface? > > Yes > >> >> Do you see the MAC for a machine on the other interface in the arp table? > > Yes > >> >> When this problem is present, it is possible to reach the router and >> out to the internet >> (if it is routed that way) but in the case of the wireless interface, >> for example, you cannot >> reach a machine on the wired interface. >> >> The interfaces here: >> >> bridge0: flags=8843 metric 0 mtu 1500 >> ether 02:f3:8d:7d:04:00 >> inet 10.0.0.1 netmask 0xffffff00 broadcast 10.0.0.255 >> nd6 options=29 >> id 00:00:00:00:00:00 priority 32768 hellotime 2 fwddelay 15 >> maxage 20 holdcnt 6 proto rstp maxaddr 2000 timeout 1200 >> root id 00:00:00:00:00:00 priority 32768 ifcost 0 port 0 >> member: msk0 flags=143 >> ifmaxaddr 0 port 2 priority 128 path cost 55 >> member: em0 flags=143 >> ifmaxaddr 0 port 1 priority 128 path cost 2000000 >> member: wlan1 flags=143 >> ifmaxaddr 0 port 11 priority 128 path cost 33333 >> >> msk0: flags=8943 >> metric 0 mtu 1500 >> options=c0019 >> ether 00:1e:8c:0a:50:e2 >> inet6 fe80::21e:8cff:fe0a:50e2%msk0 prefixlen 64 scopeid 0x2 >> nd6 options=29 >> media: Ethernet autoselect (1000baseT ) >> status: active >> >> em0: flags=8943 metric >> 0 mtu 1500 >> options=2098 >> ether 00:0e:0c:7f:cf:02 >> inet6 fe80::20e:cff:fe7f:cf02%em0 prefixlen 64 scopeid 0x1 >> nd6 options=29 >> media: Ethernet autoselect (1000baseT ) >> status: active >> >> In rc.conf the bridge is created with: >> >> ifconfig_bridge0="inet 10.0.0.1 netmask 255.255.255.0 addm wlan1 addm >> em0 addm msk0 up" > > I create the bridge the same way as you. Thanks for that, so far the working revision has been found in r240826. Would anyone have a suggestion for a revision to try next ? thanks -kim From owner-freebsd-current@FreeBSD.ORG Wed Oct 31 15:56:46 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AD98091F for ; Wed, 31 Oct 2012 15:56:46 +0000 (UTC) (envelope-from yerenkow@gmail.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 347088FC0A for ; Wed, 31 Oct 2012 15:56:45 +0000 (UTC) Received: by mail-wg0-f50.google.com with SMTP id 16so1083910wgi.31 for ; Wed, 31 Oct 2012 08:56:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=ktQmj8cRgZUyp+hkU+bdzzRh3XZvmlbJbHQnlbV8rq4=; b=tb2eNcp1vpsSJg8MjbJ28WyxcQf3UC8Ukq9QHvOu+JmfALXMKg9aJcAn/tiDGF3IMo +gjNCxRQ7z2meDxIiNQ8G4XlhE9kIp0Pluc7LzkPahOlx4y1QifwcdBoUYVYkezFsHx2 vYHShIau9lB+A5Hp/H5aj+s/8idFsgRuEvVBzA/tYbTGmgHUiehZY5ms/NlzAEjcb9LC iYbbQPG4h+AnOS6Voe4FyJBYUXO+ywq08nQUMuOYE87Gtlabntx78/22InQqhKrzxNHp tkzqu51foD4ulhE/guoPxFk99dETwxAp7erGc0p/xrq62TvJhww9FdHc7hbOUmpZECct z/Uw== MIME-Version: 1.0 Received: by 10.216.197.203 with SMTP id t53mr15303365wen.121.1351699004961; Wed, 31 Oct 2012 08:56:44 -0700 (PDT) Received: by 10.194.40.131 with HTTP; Wed, 31 Oct 2012 08:56:44 -0700 (PDT) Date: Wed, 31 Oct 2012 17:56:44 +0200 Message-ID: Subject: Cron seems not working for me From: Alexander Yerenkow To: freebsd-current Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Wed, 31 Oct 2012 15:56:46 -0000 Hello there! I'm probably stuck into something on two my VM FreeBSD's. FreeBSD 10.0-CURRENT #0 r241608: Tue Oct 16 16:32:03 EEST 2012 # ls -l /etc/crontab -rw-r--r-- 1 root wheel 554 Oct 31 17:31 /etc/crontab # cat /etc/crontab # /etc/crontab - root's crontab for FreeBSD # # $FreeBSD: head/etc/crontab 194170 2009-06-14 06:37:19Z brian $ # #minute hour mday month wday who command SHELL=/bin/sh PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin */5 * * * * root /usr/libexec/atrun */11 * * * * operator /usr/libexec/save-entropy 0 * * * * root newsyslog 1 3 * * * root periodic daily 15 4 * * 6 root periodic weekly 30 5 1 * * root periodic monthly 1,31 0-5 * * * root adjkerntz -a * * * * * root /usr/bin/touch /tmp/ololo * * * * * root echo dklfokdafkldj # ps ax | grep cron 1494 - Ss 0:00.01 /usr/sbin/cron -s # date Wed Oct 31 17:48:41 EET 2012 /var/log/cron contains only info about reloading /etc/crontab (actually, my stuggles), nothing more (there's no single sign of run of something). If I stop cron, and try manually run it with some debug flags: # cron -x pars,proc debug flags enabled: proc pars [1530] cron started load_user() load_env, read load_env, -> load_env, read load_env, -> load_env, read <*/5 * * * * root /usr/libexec/atrun> load_env, parse error, state = 7 ...... load_env, read <* * * * * root echo dklfokdafkldj> load_env, parse error, state = 7 load_entry()...about to eat comments load_entry()...about to parse numerics load_entry()...about to parse username load_entry()...got root load_entry()...uid 0, gid 0 load_entry()...class daemon load_entry()...about to parse command load_entry()...returning successfully ...load_user() done and that's it, nothing happens after this. Any ideas? This is clean @r241608 installation in Esxi 5.1.0, with vmtools installed and running. Revision was chosen as latest at some moment of building. -- Regards, Alexander Yerenkow From owner-freebsd-current@FreeBSD.ORG Wed Oct 31 16:15:35 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3F13E1C6 for ; Wed, 31 Oct 2012 16:15:35 +0000 (UTC) (envelope-from gavin@FreeBSD.org) Received: from mail-gw12.york.ac.uk (mail-gw12.york.ac.uk [144.32.129.162]) by mx1.freebsd.org (Postfix) with ESMTP id E619A8FC14 for ; Wed, 31 Oct 2012 16:15:34 +0000 (UTC) Received: from ury.york.ac.uk ([144.32.108.81]:27362) by mail-gw12.york.ac.uk with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1TTawx-0003B9-FW; Wed, 31 Oct 2012 16:15:27 +0000 Date: Wed, 31 Oct 2012 16:15:27 +0000 (GMT) From: Gavin Atkinson X-X-Sender: gavin@thunderhorn.york.ac.uk To: Alexander Yerenkow Subject: Re: Cron seems not working for me In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Wed, 31 Oct 2012 16:15:35 -0000 On Wed, 31 Oct 2012, Alexander Yerenkow wrote: > Hello there! > I'm probably stuck into something on two my VM FreeBSD's. > > FreeBSD 10.0-CURRENT #0 r241608: Tue Oct 16 16:32:03 EEST 2012 Cron was broken in odd ways between r241576 and r241672. Update your system and try again. Thanks, Gavin From owner-freebsd-current@FreeBSD.ORG Wed Oct 31 18:12:56 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7BD5FC3D for ; Wed, 31 Oct 2012 18:12:56 +0000 (UTC) (envelope-from mdf356@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id 500C68FC0A for ; Wed, 31 Oct 2012 18:12:56 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi1so1239051pad.13 for ; Wed, 31 Oct 2012 11:12:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; bh=cxJQexqjRF5F8xq7bUF6F1Jw6RfslWvgVL1FRV/En/M=; b=VVINLe2XCfCiXtFHrtZFRfcXr9BIBek5cX2cA2aUhJ7bAz2o3iCRJViksc3uV6jwob A67Rn/MglNXrZUyBh9bYjrA7XuwGll/3Bu/H7BO+SaQQcas+vxFXuu0nCphCCeqbe57E rdtFuCDJ2aSdYFUFCoFYX3QRzWfFIZMetNb1dyl61Kymx9BjZjCahljxWNJuDA1U4G1g kZepO/sqo7fl+YDTKYaZv0k9VRcL8Zjl1q47B8gjqQMEGN4d37YhtYmLsgpxuSdQlHqf v9GbMCl8dPolCK4Iju7tximNzCFC7vgVkfOgEtNVqXwH/JnYJfVS3CwnzNMQgD1fXtTI GO+w== MIME-Version: 1.0 Received: by 10.66.85.233 with SMTP id k9mr103492060paz.73.1351707175881; Wed, 31 Oct 2012 11:12:55 -0700 (PDT) Sender: mdf356@gmail.com Received: by 10.68.223.105 with HTTP; Wed, 31 Oct 2012 11:12:55 -0700 (PDT) Date: Wed, 31 Oct 2012 11:12:55 -0700 X-Google-Sender-Auth: e0a_UrUkj54DHMkL_aA-eMrNwTQ Message-ID: Subject: FILE's _file can only hold a short From: mdf@FreeBSD.org To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Wed, 31 Oct 2012 18:12:56 -0000 I seem to recall a thread earlier on this limitation, but looking at actual libc/stdio sources, the 4 year old check for open(2)'s fd being less than SHRT_MAX is still there. I thought I saw a patch to change this to an int, but it's not in the tree. Was this in a PR or a mailing list thread or am I just imagining things? We've run into this limitation at work, where some processes have around 32k open file descriptors and then try to use the libc FILE interface. Since we control ABI we can just change this to int, but I had been hoping there was a FreeBSD revision we could pull instead of having another diff. Thanks, matthew From owner-freebsd-current@FreeBSD.ORG Thu Nov 1 09:14:52 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 89397401 for ; Thu, 1 Nov 2012 09:14:52 +0000 (UTC) (envelope-from yerenkow@gmail.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4B1C68FC12 for ; Thu, 1 Nov 2012 09:14:51 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so2934238oag.13 for ; Thu, 01 Nov 2012 02:14:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=po+CLPebRq+X0u+LbVXDN6Vb4DfwW5UktnvNgoxltYM=; b=WPTCM1H8OYFwysbhy+6GM9jnUayDKbrJMsmD/pj3t5rjWPzf1lUA2yXnWDdbQw4s1q BsY21PfO4XBdId9J23uM91+zBF8YTOcou1nIi9u1tc+zQ/jbrb2JDJw+qXLbKC9KOGPf 5WXXhmBEv49+uD4JFwk0JlZ4d0k2jBHLKR3YQ0YHMgesqXKNsoPzc+QyUdxDPzgP6FS9 MLLOp5BHuw7sgFxGnnnYiW2JNuHhZV49vNlU1HHrsKpYzPV/k2BUCv6l0UQVeZb63qMg ulfdUiuEtd0VB5PnmfuoEhSKX4kdGQqKAZhUJQ0k2+TF+Br5+c2DnbJ8FWw9Z9T32JWt vQow== MIME-Version: 1.0 Received: by 10.182.160.65 with SMTP id xi1mr8590456obb.49.1351761291629; Thu, 01 Nov 2012 02:14:51 -0700 (PDT) Received: by 10.60.58.165 with HTTP; Thu, 1 Nov 2012 02:14:51 -0700 (PDT) Date: Thu, 1 Nov 2012 11:14:51 +0200 Message-ID: Subject: pkgng and vmware-tools From: Alexander Yerenkow To: freebsd-current Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Thu, 01 Nov 2012 09:14:52 -0000 JFYI: When installing vmware tools from ESXI 5.x, their script trying to discover X, and some packages by invoking pkg_info (as it seems): pkg_info: Don't use the pkg_ tools if you are using pkgng pkg_info: no packages installed pkg_info: Don't use the pkg_ tools if you are using pkgng pkg_info: no packages installed Not sure if this could be fixed by upstream, but some workarounds like patch for "vmware-install.pl" would be appreciated by those who use X :) -- Regards, Alexander Yerenkow From owner-freebsd-current@FreeBSD.ORG Thu Nov 1 14:40:35 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 133B6706; Thu, 1 Nov 2012 14:40:35 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id D740E8FC14; Thu, 1 Nov 2012 14:40:34 +0000 (UTC) Received: from damnhippie.dyndns.org (daffy.symmetricom.us [206.168.13.218]) by duck.symmetricom.us (8.14.5/8.14.5) with ESMTP id qA1EeX47046520; Thu, 1 Nov 2012 08:40:34 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id qA1EeVJd007735; Thu, 1 Nov 2012 08:40:31 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) Subject: Re: FILE's _file can only hold a short From: Ian Lepore To: mdf@freebsd.org In-Reply-To: References: Content-Type: text/plain; charset="us-ascii" Date: Thu, 01 Nov 2012 08:40:31 -0600 Message-ID: <1351780831.1120.137.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Thu, 01 Nov 2012 14:40:35 -0000 On Wed, 2012-10-31 at 11:12 -0700, mdf@freebsd.org wrote: > I seem to recall a thread earlier on this limitation, but looking at > actual libc/stdio sources, the 4 year old check for open(2)'s fd being > less than SHRT_MAX is still there. I thought I saw a patch to change > this to an int, but it's not in the tree. Was this in a PR or a > mailing list thread or am I just imagining things? > > We've run into this limitation at work, where some processes have > around 32k open file descriptors and then try to use the libc FILE > interface. Since we control ABI we can just change this to int, but I > had been hoping there was a FreeBSD revision we could pull instead of > having another diff. FWIW, I also remember some discussion recently (this year) on some mailing list about this, but I can't find it now. I thought it was somehow related to in-lib versus external uses of the funopen() function, but I may be conflating two unrelated discusssions in my head. -- Ian From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 02:42:20 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1EA7882C for ; Fri, 2 Nov 2012 02:42:20 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 892EA8FC12 for ; Fri, 2 Nov 2012 02:42:19 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id e12so2902153lag.13 for ; Thu, 01 Nov 2012 19:42:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=vPKLumzkKE/KxXAc810h9wFsUPUy8XiOumnYKZS3ALc=; b=QcImANvXLa+miPcd7mUny69w1c53C09xsMhZRGUOZZU6G/ZHjWBVieMc7Bm6liL07M mlQ+j3ZLRTQnLNreeSSk1acrbqodBEgLI8ltPpJtQxdwFz9rv8byRCmuWri+4VqYuKfe mqXvgUilVwnZBs6UhsjpfXqHqfRwQIVJfZw0Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=vPKLumzkKE/KxXAc810h9wFsUPUy8XiOumnYKZS3ALc=; b=gH4yJCmF9/MNgDWAa/fMRfdx8rUkAiOBWMQYi2q/RouCnHzRsI5oglOGSoeN3Pf+Dv BpQOkT8SKXP1AzvRn4i1nlghm2X71/tFeya9bH6/+vODR05ET79uAZXll3Vo3Gi9rny0 O7Ewfi8RMg01oZ4DxOxEADg0FoF62+39NqzzzHXFj/jWiopn3EIavq67hUFAa2caPqHl SsgcF/QKowMVVkLNS15w1IDIscUryMKhlUM3IeQghktpRmAjL/3ABNrYu5YJVv9C1S7N 0TCTjgv+HKiqiFC/Lrb9rhTfA+/h2RdGdVo/wt805wUiO1luvdoc25EuAPCfEY14Cyuk WNIg== Received: by 10.112.13.173 with SMTP id i13mr178622lbc.108.1351824138018; Thu, 01 Nov 2012 19:42:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.162.71 with HTTP; Thu, 1 Nov 2012 19:41:47 -0700 (PDT) In-Reply-To: <1351780831.1120.137.camel@revolution.hippie.lan> References: <1351780831.1120.137.camel@revolution.hippie.lan> From: Eitan Adler Date: Thu, 1 Nov 2012 22:41:47 -0400 Message-ID: Subject: Re: FILE's _file can only hold a short To: Ian Lepore Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQkr/H9YMvNpYspHCzQXGEy0s6EEuL+omf3MJDwCzN3+YwghHHRueKhKdJ/LgyFG/b4/YYkq Cc: mdf@freebsd.org, freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 02:42:20 -0000 On 1 November 2012 10:40, Ian Lepore wrote: > On Wed, 2012-10-31 at 11:12 -0700, mdf@freebsd.org wrote: >> I seem to recall a thread earlier on this limitation, but looking at >> actual libc/stdio sources, the 4 year old check for open(2)'s fd being >> less than SHRT_MAX is still there. I thought I saw a patch to change >> this to an int, but it's not in the tree. Was this in a PR or a >> mailing list thread or am I just imagining things? >> >> We've run into this limitation at work, where some processes have >> around 32k open file descriptors and then try to use the libc FILE >> interface. Since we control ABI we can just change this to int, but I >> had been hoping there was a FreeBSD revision we could pull instead of >> having another diff. > > FWIW, I also remember some discussion recently (this year) on some > mailing list about this, but I can't find it now. I thought it was > somehow related to in-lib versus external uses of the funopen() > function, but I may be conflating two unrelated discusssions in my head. Perhaps http://freebsd.1045724.n5.nabble.com/stdio-and-short-file-descriptors-revisited-td5747703.html ? -- Eitan Adler From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 03:05:18 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 737CEF75 for ; Fri, 2 Nov 2012 03:05:18 +0000 (UTC) (envelope-from masked@internode.on.net) Received: from ipmail06.adl2.internode.on.net (ipmail06.adl2.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:2:6]) by mx1.freebsd.org (Postfix) with ESMTP id B74208FC08 for ; Fri, 2 Nov 2012 03:05:17 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: At0KAGo3k1CWZd2M/2dsb2JhbABEhhe8DQICghKCHgEBDRsVNhYBCQMUAQMBAQMCERUCSwYOEwgJh3QMm0mOVSuSQYEgiltLfFVvgh0yYQONcYRVhE2PKIMDgUk Received: from ppp221-140.static.internode.on.net (HELO forexamplePC) ([150.101.221.140]) by ipmail06.adl2.internode.on.net with SMTP; 02 Nov 2012 13:35:15 +1030 Message-ID: <98E79AD90A1B4A2581C12BD73FEDEDC3@forexamplePC> From: "Michael Vale" To: Subject: Cross Architecture Compiling Date: Fri, 2 Nov 2012 14:05:12 +1100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 16.4.3505.912 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3505.912 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 03:05:18 -0000 Forwarding my latest zrouter redmine submission, where I have been working on updating zRouter's ports cross-arch-compilation automation system. -------- Adding: CONFIGURE_HOST?= ${TARGET_ARCH}-portbld-freebsd${OSREL} CONFIGURE_HOST:= ${CONFIGURE_HOST:S/^/--host=/} to /usr/ports/Mk/bsd.port.mk allows many ports to pickup a cross compiler simply by having the user pass TARGET_ARCH=${ARCH} at the command-line. I've been using XDEV (/usr/src# make xdev XDEV=${ARCH} XDEV_ARCH={$ARCH}) as my most current cross-compiler. CC can be overridden by specifying your CROSS_CC's PATH first in the PATH environment variable e.g. export PATH=/usr/mips-freebsd/usr/bin/:$PATH I AM NOT USING DESTDIR PORTS JAILS TO COMPLETE THESE TASKS, PLEASE MAKE GOOD NOTE AS THERE IS SOME GREAT DIFFERENCES AND MUCH WORK TO BE DONE IN THIS DEPARTMENT. Assuming above bsd.ports.mk patch one can cross compile many ports simply: TARGET=mips TARGET_ARCH=mips make -C install CHROOTED=no DESTDIR=/path/to/target/rootfs PREFIX=/ this will get you started. PREFIX MUST == / for correct pkgconfig entries and many much other things I do not wish to discuss in detail right now, please understand! CHROOTED=no is the IMPORTANT PART HERE! We cannot run a jail on a build machine with foreign binaries such as /bin/sh! THIS IS FUNDAMENTAL. I will continue to hack away at bsd.port.mk until my work is complete, I would appreciate any help as to prefixing DESTDIR transparently to PREFIX in order for proper installation of cross-compiled ports. I will submit any following patches in a more formal manner. I am open to questions and willing to expand muchly on the plethora of variables needed to be passed to build multiple ports with dependancies in more complicated scenarios. Some ports with GNU Makefiles have a different means of cross-compiling, e.g. busybox. I'll post those findings next. Regards, Michael Vale. surfnet.co -----Original Message----- From: redmine@zrouter.org Sent: Friday, November 02, 2012 1:42 PM Subject: [zrouter - Bug #37] bsd ports Issue #37 has been updated by Michael Vale. File zrouter.ports.mk.diff added you need to have xdev mips installed. /usr/src# make xdev XDEV=mips XDEV_ARCH=mips. you also need to add these two lines to bsd.ports.mk (I will submit this to the -current mailing list) CONFIGURE_HOST?= ${TARGET_ARCH}-portbld-freebsd${OSREL} CONFIGURE_HOST:= ${CONFIGURE_HOST:S/^/--host=/} between the CONFIGURE_TARGET:= ${CONFIGURE_TARGET:S/--build=//} and CONFIGURE_LOG lines. I did make other changes to bsd.ports.mk but i don't believe they are required here. Let me know if it seems there is something missing. ---------------------------------------- Bug #37: bsd ports http://redmine.zrouter.org/issues/37#change-41 Author: Michael Vale Status: New Priority: Normal Assignee: Michael Vale Category: Project Target version: fixed bsd ports make building and install this is my first attempt at any such contribution to any project. please find the attached patch for share/mk/zrouter.ports.mk. ALSO - zrouter/ports/www/zhttpd/distinfo was deleted due to an invalid SHA256 sum. -- You have received this notification because you have either subscribed to it, or are involved in it. To change your notification preferences, please click here: http://redmine.zrouter.org/my/account From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 03:41:03 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 341E36E for ; Fri, 2 Nov 2012 03:41:03 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (lor.one-eyed-alien.net [69.66.77.232]) by mx1.freebsd.org (Postfix) with ESMTP id BCAE38FC0C for ; Fri, 2 Nov 2012 03:41:01 +0000 (UTC) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.5/8.14.5) with ESMTP id qA23Tj4N086327 for ; Thu, 1 Nov 2012 22:29:45 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.5/8.14.5/Submit) id qA23TjLn086326 for freebsd-current@freebsd.org; Thu, 1 Nov 2012 22:29:45 -0500 (CDT) (envelope-from brooks) Date: Thu, 1 Nov 2012 22:29:45 -0500 From: Brooks Davis To: freebsd-current@freebsd.org Subject: November 5th is Clang-Day Message-ID: <20121102032945.GF65074@lor.one-eyed-alien.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Ls2Gy6y7jbHLe9Od" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 03:41:03 -0000 --Ls2Gy6y7jbHLe9Od Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Monday, November 5th I plan to commit the following patch to make clang the default compiler on i386 and amd64. Many people have worked long and hard to make this a reality and we're finally close enough to throw the switch. For many users the transition should be transparent. Others will likely hit some bumps, but I think we've addresses most major issues at this point and the LLVM community has demonstrated it's ability and willingness to help given actionable bug reports. Known Issues - Not all ports compile with clang. This can be worked around in individual ports by setting USE_GCC=any which will cause the base gcc to be used. Depending how things shake out we may end up making USE_GCC=any the default for a period. [0] - Not all libm tests pass. More work by subject matter experts is required to create tests cases for LLVM developers. Most problems are not expected to be major in practice given that LLVM is being used for scientific computing in a number of products including Cray's FORTRAN compiler, most OpenCL compilers, and the Julia language. - Small but noticeable slowdown in some benchmarks. For example sysbench against mysql was found to run about 1% slower on top of a clang compiled world+kernel. http://people.freebsd.org/~flo/perf.pdf Known Non-Issues - "make buildenv" works fine with clang. -- Brooks [0] Work is underway to switch to building ports with a ports specific compiler version. Likely this will be gcc-4.6 initially. This would help insulate ports from the base compiler. That being said, there are significant advantages to getting as many ports as possible to build with clang. Among other things, cross building for embedded systems is much easier with clang. Index: share/mk/bsd.own.mk =================================================================== --- share/mk/bsd.own.mk (revision 242464) +++ share/mk/bsd.own.mk (working copy) @@ -426,7 +426,6 @@ BIND_XML \ BSDCONFIG \ CLANG_EXTRAS \ - CLANG_IS_CC \ CTF \ HESIOD \ ICONV \ @@ -455,6 +454,12 @@ .else __DEFAULT_NO_OPTIONS+=CLANG .endif +# Clang the default system compiler only on x86. +.if ${__T} == "amd64" || ${__T} == "i386" +__DEFAULT_YES_OPTIONS+=CLANG_IS_CC +.else +__DEFAULT_NO_OPTIONS+=CLANG_IS_CC +.endif # FDT is needed only for arm, mips and powerpc .if ${__T:Marm*} || ${__T:Mpowerpc*} || ${__T:Mmips*} __DEFAULT_YES_OPTIONS+=FDT --Ls2Gy6y7jbHLe9Od Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iD8DBQFQkz4oXY6L6fI4GtQRAsA+AJwJRcrP2jdf6pex1HXFdvlOYOzr3ACguuiw sIeHeLUDCA2RXQgr4se+js4= =pOe0 -----END PGP SIGNATURE----- --Ls2Gy6y7jbHLe9Od-- From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 04:26:37 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5327EAD2; Fri, 2 Nov 2012 04:26:37 +0000 (UTC) (envelope-from masked@internode.on.net) Received: from ipmail06.adl2.internode.on.net (ipmail06.adl2.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:2:6]) by mx1.freebsd.org (Postfix) with ESMTP id BC4948FC12; Fri, 2 Nov 2012 04:26:35 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqoEAPNKk1CWZd2M/2dsb2JhbABEgkmDTrQyAYlwgh4BAQUIG0sLCwEEBQMDDgMBAwEBKwICSQYIBgESCAmHYwMODKomiQYNiVSLFGeFKDJhA41xhFWBXYJwiheFEYEugVU Received: from ppp221-140.static.internode.on.net (HELO forexamplePC) ([150.101.221.140]) by ipmail06.adl2.internode.on.net with SMTP; 02 Nov 2012 14:56:32 +1030 Message-ID: <69B6751E5B51467EBF7F25735C497912@forexamplePC> From: "Michael Vale" To: "Garrett Cooper" , References: <98E79AD90A1B4A2581C12BD73FEDEDC3@forexamplePC> In-Reply-To: Subject: Re: Cross Architecture Compiling Date: Fri, 2 Nov 2012 15:26:28 +1100 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 16.4.3505.912 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3505.912 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Baptiste Daroussin X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 04:26:37 -0000 From: Garrett Cooper=20 Sent: Friday, November 02, 2012 3:05 PM To: Michael Vale=20 Cc: Baptiste Daroussin=20 Subject: Re: Cross Architecture Compiling On Thu, Nov 1, 2012 at 8:05 PM, Michael Vale = wrote: Forwarding my latest zrouter redmine submission, where I have been = working on updating zRouter's ports cross-arch-compilation automation = system. -------- Adding: CONFIGURE_HOST?=3D ${TARGET_ARCH}-portbld-freebsd${OSREL} CONFIGURE_HOST:=3D ${CONFIGURE_HOST:S/^/--host=3D/} to /usr/ports/Mk/bsd.port.mk allows many ports to pickup a cross = compiler simply by having the user pass TARGET_ARCH=3D${ARCH} at the = command-line. I've been using XDEV (/usr/src# make xdev XDEV=3D${ARCH} = XDEV_ARCH=3D{$ARCH}) as my most current cross-compiler. CC can be overridden by specifying your CROSS_CC's PATH first in the = PATH environment variable e.g. export = PATH=3D/usr/mips-freebsd/usr/bin/:$PATH I AM NOT USING DESTDIR PORTS JAILS TO COMPLETE THESE TASKS, PLEASE = MAKE GOOD NOTE AS THERE IS SOME GREAT DIFFERENCES AND MUCH WORK TO BE = DONE IN THIS DEPARTMENT. Assuming above bsd.ports.mk patch one can cross compile many ports = simply: TARGET=3Dmips TARGET_ARCH=3Dmips make -C install CHROOTED=3Dno = DESTDIR=3D/path/to/target/rootfs PREFIX=3D/ this will get you started. PREFIX MUST =3D=3D / for correct pkgconfig = entries and many much other things I do not wish to discuss in detail = right now, please understand! CHROOTED=3Dno is the IMPORTANT PART HERE! We cannot run a jail on a = build machine with foreign binaries such as /bin/sh! THIS IS = FUNDAMENTAL. I will continue to hack away at bsd.port.mk until my work is complete, = I would appreciate any help as to prefixing DESTDIR transparently to = PREFIX in order for proper installation of cross-compiled ports. I will = submit any following patches in a more formal manner. I am open to questions and willing to expand muchly on the plethora of = variables needed to be passed to build multiple ports with dependancies = in more complicated scenarios. Some ports with GNU Makefiles have a different means of = cross-compiling, e.g. busybox. I'll post those findings next. Regards, Michael Vale. surfnet.co -----Original Message----- From: redmine@zrouter.org Sent: Friday, November 02, 2012 1:42 PM Subject: [zrouter - Bug #37] = bsd ports Issue #37 has been updated by Michael Vale. File zrouter.ports.mk.diff added you need to have xdev mips installed. /usr/src# make xdev XDEV=3Dmips XDEV_ARCH=3Dmips. you also need to add these two lines to bsd.ports.mk (I will submit = this to the -current mailing list) CONFIGURE_HOST?=3D ${TARGET_ARCH}-portbld-freebsd${OSREL} CONFIGURE_HOST:=3D ${CONFIGURE_HOST:S/^/--host=3D/} between the CONFIGURE_TARGET:=3D = ${CONFIGURE_TARGET:S/--build=3D//} and CONFIGURE_LOG lines. I did make other changes to bsd.ports.mk but i don't believe they are = required here. Let me know if it seems there is something missing. ---------------------------------------- Bug #37: bsd ports http://redmine.zrouter.org/issues/37#change-41 Author: Michael Vale Status: New Priority: Normal Assignee: Michael Vale Category: Project Target version: fixed bsd ports make building and install this is my first attempt at any such contribution to any project. please find the attached patch for share/mk/zrouter.ports.mk. ALSO - zrouter/ports/www/zhttpd/distinfo was deleted due to an invalid = SHA256 sum. Very cool. One thing that you'll run into soon that's a problem is = that pkgng groks /bin/sh's ELF format in order to determine its = architecture (which unfortunately makes things difficult when = cross-compiling). I've CCed bapt@ so this item hopefully doesn't get = lost. The way I was thinking of solving this was compiling host binaries, = nullfs mounting them in a chroot, chrooting into it with the appropriate = variables set, then dropping out of the chroot once the package is = built, but this is another avenue for fixing the problem (just requires = more work). Thanks! -Garrett Garrett, Yes I=E2=80=99ve already run into a fair bit of pkgng=E2=80=99s = stubbornness as there is a few other issues with it too, again I will = try and fix it myself but it would be great if bapt would chime in and = we can bowl this one over! From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 04:59:23 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 63D08F78; Fri, 2 Nov 2012 04:59:23 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) by mx1.freebsd.org (Postfix) with ESMTP id 3A0BA8FC0C; Fri, 2 Nov 2012 04:59:23 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.5/8.14.5) with ESMTP id qA24xHYr077253; Thu, 1 Nov 2012 21:59:17 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.5/8.14.5/Submit) id qA24xH0T077252; Thu, 1 Nov 2012 21:59:17 -0700 (PDT) (envelope-from sgk) Date: Thu, 1 Nov 2012 21:59:17 -0700 From: Steve Kargl To: Brooks Davis Subject: Re: November 5th is Clang-Day Message-ID: <20121102045917.GA77204@troutmask.apl.washington.edu> References: <20121102032945.GF65074@lor.one-eyed-alien.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121102032945.GF65074@lor.one-eyed-alien.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 04:59:23 -0000 On Thu, Nov 01, 2012 at 10:29:45PM -0500, Brooks Davis wrote: > - Not all libm tests pass. More work by subject matter experts is > required to create tests cases for LLVM developers. Most problems are > not expected to be major in practice given that LLVM is being used for > scientific computing in a number of products including Cray's FORTRAN > compiler, most OpenCL compilers, and the Julia language. Is there a knob to continue to use GCC as the default compiler? The above statement is somewhat troubling to those of us who use FreeBSD as computational nodes. BTW, the name of the language is "Fortran". It's been "Fortran" for the last 30-something years. -- Steve From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 05:05:25 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1E318226; Fri, 2 Nov 2012 05:05:25 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id C39F48FC08; Fri, 2 Nov 2012 05:05:24 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id wc20so4130647obb.13 for ; Thu, 01 Nov 2012 22:05:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=T/qd19nY3yNTq/DnxkqssOchVel2Lj8s02gpu2wkxcE=; b=jamfNATaC7+IUvv/wRZJDD1EzW3RnX8YL2UeO7b1Slzhqky4v3XVAebXppl2ujUZq+ jetEFO50kKuvCkbRjH+3KykLTgn/uA+NQgSGfGI7jxB5wOvTbWeWWWsANRSQniOpm+JU A8jgR8PBNaF/icTXE7w86isMBs0lgtC/hLSLoyh1JUChLb2onbh9RD29MTkrRQCdXo9D ENk01m7M4XYUmvUVB8E7oIQdhn8O7+/hsZrW4cIJqWvJP3LM3gn9a3Qgr7V5q5QqGYeH ctrcU26hUoaVaApPqqIeXTSoNID5RrSFIfCybTqSi63jz/Frm9JiE07bN/cI3wWoYo9b qJTw== MIME-Version: 1.0 Received: by 10.182.193.7 with SMTP id hk7mr467707obc.30.1351832723973; Thu, 01 Nov 2012 22:05:23 -0700 (PDT) Received: by 10.76.143.33 with HTTP; Thu, 1 Nov 2012 22:05:23 -0700 (PDT) In-Reply-To: <20121102045917.GA77204@troutmask.apl.washington.edu> References: <20121102032945.GF65074@lor.one-eyed-alien.net> <20121102045917.GA77204@troutmask.apl.washington.edu> Date: Thu, 1 Nov 2012 22:05:23 -0700 Message-ID: Subject: Re: November 5th is Clang-Day From: Garrett Cooper To: Steve Kargl Content-Type: text/plain; charset=ISO-8859-1 Cc: Brooks Davis , freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 05:05:25 -0000 On Thu, Nov 1, 2012 at 9:59 PM, Steve Kargl wrote: > On Thu, Nov 01, 2012 at 10:29:45PM -0500, Brooks Davis wrote: >> - Not all libm tests pass. More work by subject matter experts is >> required to create tests cases for LLVM developers. Most problems are >> not expected to be major in practice given that LLVM is being used for >> scientific computing in a number of products including Cray's FORTRAN >> compiler, most OpenCL compilers, and the Julia language. > > Is there a knob to continue to use GCC as the default compiler? Just specify CLANG_IS_CC=no in /etc/src.conf . HTH, -Garrett From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 05:21:14 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CF75F55A for ; Fri, 2 Nov 2012 05:21:14 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.224.110]) by mx1.freebsd.org (Postfix) with ESMTP id 7F1918FC0C for ; Fri, 2 Nov 2012 05:21:14 +0000 (UTC) Received: from X220.ovitrap.com ([122.129.201.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id qA25L5DM010650 for ; Thu, 1 Nov 2012 23:21:06 -0600 Date: Fri, 2 Nov 2012 12:21:03 +0700 From: Erich Dollansky To: freebsd-current@freebsd.org Subject: Re: November 5th is Clang-Day Message-ID: <20121102122103.4afc93e5@X220.ovitrap.com> In-Reply-To: <20121102045917.GA77204@troutmask.apl.washington.edu> References: <20121102032945.GF65074@lor.one-eyed-alien.net> <20121102045917.GA77204@troutmask.apl.washington.edu> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 05:21:14 -0000 Hi, On Thu, 1 Nov 2012 21:59:17 -0700 Steve Kargl wrote: > On Thu, Nov 01, 2012 at 10:29:45PM -0500, Brooks Davis wrote: > > - Not all libm tests pass. More work by subject matter experts is > > required to create tests cases for LLVM developers. Most > > problems are not expected to be major in practice given that LLVM > > is being used for scientific computing in a number of products > > including Cray's FORTRAN compiler, most OpenCL compilers, and the > > Julia language. > > Is there a knob to continue to use GCC as the default compiler? > > The above statement is somewhat troubling to those of us > who use FreeBSD as computational nodes. > > BTW, the name of the language is "Fortran". It's been "Fortran" > for the last 30-something years. I never realised the name change. It seems that I am not alone with this. Erich From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 05:27:36 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 29602B4C; Fri, 2 Nov 2012 05:27:36 +0000 (UTC) (envelope-from jbeich@tormail.org) Received: from outgoing.tormail.org (outgoing.tormail.org [82.221.96.22]) by mx1.freebsd.org (Postfix) with ESMTP id BA60B8FC0C; Fri, 2 Nov 2012 05:27:35 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=internal.tormail.org) by outgoing.tormail.org with esmtp (Exim 4.72) (envelope-from ) id 1TU9mx-00078y-Ba; Fri, 02 Nov 2012 08:27:27 +0300 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tormail.org; s=tm; h=Message-Id:X-TorMail-User:Content-Type:MIME-Version:References:Date:Subject:Cc:To:From; bh=73JMMdEOUN/e9Faj84ONYsOhUUIOmF5e8wrTtdVzW2k=; b=fIi3nbUD/LEwBvsVvK1i+9LQnQVAc89sDxnEMIVEURTcdgbl/iymIEbt0ZgnaaLhaa0BTWrHpx0teZEawTDGRzDOXVpP6fhnvXYKmN63Sc7EwryE5cac3F9owuv9acBW4xkzWyW8gt+8wPvpQ1ZyRaK5ZGmm2GJ8DxzVyn8Iiuc=; Received: from jbeich by internal.tormail.org with local (Exim 4.63) (envelope-from ) id 1TU9lE-000KmO-Cc; Fri, 02 Nov 2012 05:25:41 +0000 From: Jan Beich To: Brooks Davis Subject: Re: November 5th is Clang-Day Date: Thu, 01 Nov 2012 20:24:55 -0900 References: <20121102032945.GF65074@lor.one-eyed-alien.net> MIME-Version: 1.0 Content-Type: text/plain X-TorMail-User: jbeich Message-Id: <1TU9lE-000KmO-Cc@internal.tormail.org> Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 05:27:36 -0000 Brooks Davis writes: > Known Issues emulators/wine doesn't work with lib32 built by clang, probably due to wine bugs. From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 05:31:27 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 92F56D27; Fri, 2 Nov 2012 05:31:27 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id 408BB8FC12; Fri, 2 Nov 2012 05:31:27 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so4188200oag.13 for ; Thu, 01 Nov 2012 22:31:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/hMDAjMhKDYpIlQuc6GTXSbQop8w2nCTctNOdMc/uG8=; b=mh3cgMOycrRBZy4/r68DIEJy0Hb7zBeoFFMtVFfu42N0SjJa5F7eHurGN1L3S/Nyxp k9zyH3ncLgW6yTzNz10rc+jkQG1149gAuVU55R48JSU692qfQUDNTmYxIAvDMyQqOPNb HiJTiNeL5NhnKFcO6Aq6QhDc8CRcdBO0CXdmALnGd78gWpcfjG3Zklf4qTvvK8ykg8+F HGoY0oXe5cLLoQx7JP+SX0+TLy953twdDypbcQ+dYeo0qWigx4aJpdeXl54steK9ceku aWf+yu1l5oThY+8uigRbHzSPS26Ts0xyJpE2/SRAGO4dxuWpJR6kS/c2hsORd4g3ex+/ HEjA== MIME-Version: 1.0 Received: by 10.182.131.100 with SMTP id ol4mr496989obb.38.1351834286705; Thu, 01 Nov 2012 22:31:26 -0700 (PDT) Received: by 10.76.143.33 with HTTP; Thu, 1 Nov 2012 22:31:26 -0700 (PDT) In-Reply-To: <1TU9lE-000KmO-Cc@internal.tormail.org> References: <20121102032945.GF65074@lor.one-eyed-alien.net> <1TU9lE-000KmO-Cc@internal.tormail.org> Date: Thu, 1 Nov 2012 22:31:26 -0700 Message-ID: Subject: Re: November 5th is Clang-Day From: Garrett Cooper To: Jan Beich Content-Type: text/plain; charset=ISO-8859-1 Cc: Brooks Davis , freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 05:31:27 -0000 On Thu, Nov 1, 2012 at 10:24 PM, Jan Beich wrote: > Brooks Davis writes: > >> Known Issues > > emulators/wine doesn't work with lib32 built by clang, probably due to > wine bugs. All of these items should be catalogued in a common place, like the wiki. Most of the problems will become apparent once tinderbox gets going with the new code, but it doesn't hurt to spearhead this effort. -Garrett From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 05:50:34 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 18A851EF for ; Fri, 2 Nov 2012 05:50:34 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) by mx1.freebsd.org (Postfix) with ESMTP id E35878FC0C for ; Fri, 2 Nov 2012 05:50:33 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.5/8.14.5) with ESMTP id qA25oX6f077504; Thu, 1 Nov 2012 22:50:33 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.5/8.14.5/Submit) id qA25oXLb077503; Thu, 1 Nov 2012 22:50:33 -0700 (PDT) (envelope-from sgk) Date: Thu, 1 Nov 2012 22:50:33 -0700 From: Steve Kargl To: Erich Dollansky Subject: Re: November 5th is Clang-Day Message-ID: <20121102055033.GA77476@troutmask.apl.washington.edu> References: <20121102032945.GF65074@lor.one-eyed-alien.net> <20121102045917.GA77204@troutmask.apl.washington.edu> <20121102122103.4afc93e5@X220.ovitrap.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121102122103.4afc93e5@X220.ovitrap.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 05:50:34 -0000 On Fri, Nov 02, 2012 at 12:21:03PM +0700, Erich Dollansky wrote: > Hi, > > On Thu, 1 Nov 2012 21:59:17 -0700 > Steve Kargl wrote: > > > On Thu, Nov 01, 2012 at 10:29:45PM -0500, Brooks Davis wrote: > > > - Not all libm tests pass. More work by subject matter experts is > > > required to create tests cases for LLVM developers. Most > > > problems are not expected to be major in practice given that LLVM > > > is being used for scientific computing in a number of products > > > including Cray's FORTRAN compiler, most OpenCL compilers, and the > > > Julia language. > > > > Is there a knob to continue to use GCC as the default compiler? > > > > The above statement is somewhat troubling to those of us > > who use FreeBSD as computational nodes. > > > > BTW, the name of the language is "Fortran". It's been "Fortran" > > for the last 30-something years. > > I never realised the name change. It seems that I am not alone with > this. > Many people, who see the word Fortran or FORTRAN, think of Fortran 77 (X3J3/90.4, ISO 1539:1980). Since then there have been several revisions to the language. The revisions are Fortran 90, ISO/IEC 1539:1991 Fortran 95, ISO/IEC 1539-1:1997 Fortran 2003, ISO/IEC 1539-1:2004(E) Fortran 2008, ISO/IEC 1539-1:2010 and J3 is currently working on the next revision. You can find committee drafts of these standards via the gfortran wiki. -- Steve From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 06:14:55 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 17EFF6B1 for ; Fri, 2 Nov 2012 06:14:55 +0000 (UTC) (envelope-from grog@lemis.com) Received: from w3.lemis.com (w3.lemis.com [208.86.224.149]) by mx1.freebsd.org (Postfix) with ESMTP id D34708FC0A for ; Fri, 2 Nov 2012 06:14:54 +0000 (UTC) Received: from eureka.lemis.com (1032.x.rootbsd.net [208.86.224.149]) by w3.lemis.com (Postfix) with ESMTP id 7981B3B79C; Fri, 2 Nov 2012 06:08:23 +0000 (UTC) Received: by eureka.lemis.com (Postfix, from userid 1004) id 0A74BF7924; Fri, 2 Nov 2012 17:08:18 +1100 (EST) Date: Fri, 2 Nov 2012 17:08:18 +1100 From: Greg 'groggy' Lehey To: Erich Dollansky Subject: FORTRAN vs. Fortran (was: November 5th is Clang-Day) Message-ID: <20121102060818.GB48921@eureka.lemis.com> References: <20121102032945.GF65074@lor.one-eyed-alien.net> <20121102045917.GA77204@troutmask.apl.washington.edu> <20121102122103.4afc93e5@X220.ovitrap.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="/Uq4LBwYP4y1W6pO" Content-Disposition: inline In-Reply-To: <20121102122103.4afc93e5@X220.ovitrap.com> User-Agent: Mutt/1.4.2.3i Organization: The FreeBSD Project Phone: +61-3-5346-1370 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 06:14:55 -0000 --/Uq4LBwYP4y1W6pO Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Friday, 2 November 2012 at 12:21:03 +0700, Erich Dollansky wrote: > Hi, > > On Thu, 1 Nov 2012 21:59:17 -0700 > Steve Kargl wrote: >> >> BTW, the name of the language is "Fortran". It's been "Fortran" >> for the last 30-something years. > > I never realised the name change. It seems that I am not alone with > this. Nor I. Looking at the Wikipedia page, I discover that it had been spelt "Fortran" as early as 1956, and there's even a copy of the 1956 Fortran manual online: http://www.fortran.com/FortranForTheIBM704.pdf Interesting reading. Greg -- Sent from my desktop computer. Finger grog@FreeBSD.org for PGP public key. See complete headers for address and phone numbers. This message is digitally signed. If your Microsoft MUA reports problems, please read http://tinyurl.com/broken-mua --/Uq4LBwYP4y1W6pO Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlCTY1IACgkQIubykFB6QiMkSACdHTE7hecIW0x89HRAyQ0gmJ7s l/EAn36gwhQq0kH1/TkXxz9yffkqZAEi =L5vc -----END PGP SIGNATURE----- --/Uq4LBwYP4y1W6pO-- From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 06:28:00 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1D8448CF; Fri, 2 Nov 2012 06:28:00 +0000 (UTC) (envelope-from linimon@lonesome.com) Received: from mail.soaustin.net (pancho.soaustin.net [76.74.250.40]) by mx1.freebsd.org (Postfix) with ESMTP id ECD508FC0A; Fri, 2 Nov 2012 06:27:58 +0000 (UTC) Received: by mail.soaustin.net (Postfix, from userid 502) id 433CB56055; Fri, 2 Nov 2012 01:27:52 -0500 (CDT) Date: Fri, 2 Nov 2012 01:27:52 -0500 From: Mark Linimon To: Garrett Cooper Subject: Re: November 5th is Clang-Day Message-ID: <20121102062752.GA19392@lonesome.com> References: <20121102032945.GF65074@lor.one-eyed-alien.net> <1TU9lE-000KmO-Cc@internal.tormail.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) Cc: Brooks Davis , freebsd-current@freebsd.org, Jan Beich X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 06:28:00 -0000 On Thu, Nov 01, 2012 at 10:31:26PM -0700, Garrett Cooper wrote: > On Thu, Nov 1, 2012 at 10:24 PM, Jan Beich wrote: > > emulators/wine doesn't work with lib32 built by clang, probably due to > > wine bugs. > > All of these items should be catalogued in a common place, like the > wiki. I've added http://wiki.freebsd.org/PortsAndClang#Runtime_failures . I'll be happy to add entries for anyone who does not have wiki edit credentials. (Please email me off-list.) mcl From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 06:34:42 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C2AA9A33 for ; Fri, 2 Nov 2012 06:34:42 +0000 (UTC) (envelope-from yerenkow@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 754DB8FC08 for ; Fri, 2 Nov 2012 06:34:42 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id wc20so4183928obb.13 for ; Thu, 01 Nov 2012 23:34:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=XhSSDEMve8dOmQWxPza9Ki7POPLwCNogT+PtspzxUuw=; b=Q3pKa5oYNd8XBDVjl64MVQxUSy1xQkSDu7DkhscmSnIHfeNonxQSELmSi+yEzA0pim /Ky2F5Pd2+AsjOTnr5kBM/mbITQ/MFVIKaZIrJ0Vx54FzOi9fjI3Vp/YxDr4zJjiP5mb X0GvM0+/a/uVUn72KW4h0cbWJtEfcOu2zgO862Gw4wFuqW068lHrXw7fWjPKkq1osEFt F4+3vg40vSjySzXNQbHhsnJct7EGXSuavKlsbMVQALzf+f6nNTkni2i1oze4khIxAx6I p65foLo+T9bIjPdxBXnpm4Zlp5zeicpO8wZUkZDATE/NOhiIbXnZmKrnkvTtwdLod15V T1hw== MIME-Version: 1.0 Received: by 10.182.156.99 with SMTP id wd3mr613434obb.15.1351838081975; Thu, 01 Nov 2012 23:34:41 -0700 (PDT) Received: by 10.60.58.165 with HTTP; Thu, 1 Nov 2012 23:34:41 -0700 (PDT) Received: by 10.60.58.165 with HTTP; Thu, 1 Nov 2012 23:34:41 -0700 (PDT) In-Reply-To: References: Date: Fri, 2 Nov 2012 08:34:41 +0200 Message-ID: Subject: Re: pkgng and vmware-tools From: Alexander Yerenkow To: Garrett Cooper , freebsd-current Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 06:34:43 -0000 Actually, I was mentioning their oficial tools, which provided as a cd with esxi. I thought maybe.situatiin like these will require some fake, but working pkg_info (and maybe other tools too, this could.be made as a different wrapper-port) when pkg are used and pkg_legacy not present (they should go away to ports anyway). But open tools of course will reqiure a bit more love too. Regards, Alexander Yerenkow From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 06:39:12 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E0C35B6D; Fri, 2 Nov 2012 06:39:12 +0000 (UTC) (envelope-from masked@internode.on.net) Received: from ipmail06.adl2.internode.on.net (ipmail06.adl2.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:2:6]) by mx1.freebsd.org (Postfix) with ESMTP id B773A8FC08; Fri, 2 Nov 2012 06:39:11 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhQKAHppk1CWZd2M/2dsb2JhbABEhhe8DwKCE4IeAQEBBAEBAQUbDwEFFiAWAQQFAwMRAQMBAQMCJgICJwEJGAYIBgEHBwQBBwkMBIdkDKpAkmKBIIpbGoEtVYMMMmEDjXGEVYEFg0iPKIMDgVA Received: from ppp221-140.static.internode.on.net (HELO forexamplePC) ([150.101.221.140]) by ipmail06.adl2.internode.on.net with SMTP; 02 Nov 2012 17:09:10 +1030 Message-ID: <89726A5A924F4EA0B92603A3836E9C2F@forexamplePC> From: "Michael Vale" To: , "Adrian Chadd" References: <98E79AD90A1B4A2581C12BD73FEDEDC3@forexamplePC> <69B6751E5B51467EBF7F25735C497912@forexamplePC> In-Reply-To: <69B6751E5B51467EBF7F25735C497912@forexamplePC> Subject: Re: Cross Architecture Compiling Date: Fri, 2 Nov 2012 17:39:08 +1100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 16.4.3505.912 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3505.912 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 06:39:13 -0000 just for what it’s worth. busybox and some other gmake ports don’t have configure but do have cross-compiling support in the gMakefile. make install -C /usr/ports/sysutils/busybox CROSS_COMPILE=mips-freebsd- DESTDIR=/tmp CHROOTED=no PREFIX=/tmp this actually doesn’t install with the default install program but the singular required binary does retain itself in /usr/ports/sysutils/busybox/work/busybox/busybox. change ‘mips-freebsd-‘ to the xdev compiler of your choice. -----Original Message----- From: Michael Vale Sent: Friday, November 02, 2012 3:26 PM To: Garrett Cooper ; freebsd-current@freebsd.org Cc: Baptiste Daroussin Subject: Re: Cross Architecture Compiling From: Garrett Cooper Sent: Friday, November 02, 2012 3:05 PM To: Michael Vale Cc: Baptiste Daroussin Subject: Re: Cross Architecture Compiling On Thu, Nov 1, 2012 at 8:05 PM, Michael Vale wrote: Forwarding my latest zrouter redmine submission, where I have been working on updating zRouter's ports cross-arch-compilation automation system. -------- Adding: CONFIGURE_HOST?= ${TARGET_ARCH}-portbld-freebsd${OSREL} CONFIGURE_HOST:= ${CONFIGURE_HOST:S/^/--host=/} to /usr/ports/Mk/bsd.port.mk allows many ports to pickup a cross compiler simply by having the user pass TARGET_ARCH=${ARCH} at the command-line. I've been using XDEV (/usr/src# make xdev XDEV=${ARCH} XDEV_ARCH={$ARCH}) as my most current cross-compiler. CC can be overridden by specifying your CROSS_CC's PATH first in the PATH environment variable e.g. export PATH=/usr/mips-freebsd/usr/bin/:$PATH I AM NOT USING DESTDIR PORTS JAILS TO COMPLETE THESE TASKS, PLEASE MAKE GOOD NOTE AS THERE IS SOME GREAT DIFFERENCES AND MUCH WORK TO BE DONE IN THIS DEPARTMENT. Assuming above bsd.ports.mk patch one can cross compile many ports simply: TARGET=mips TARGET_ARCH=mips make -C install CHROOTED=no DESTDIR=/path/to/target/rootfs PREFIX=/ this will get you started. PREFIX MUST == / for correct pkgconfig entries and many much other things I do not wish to discuss in detail right now, please understand! CHROOTED=no is the IMPORTANT PART HERE! We cannot run a jail on a build machine with foreign binaries such as /bin/sh! THIS IS FUNDAMENTAL. I will continue to hack away at bsd.port.mk until my work is complete, I would appreciate any help as to prefixing DESTDIR transparently to PREFIX in order for proper installation of cross-compiled ports. I will submit any following patches in a more formal manner. I am open to questions and willing to expand muchly on the plethora of variables needed to be passed to build multiple ports with dependancies in more complicated scenarios. Some ports with GNU Makefiles have a different means of cross-compiling, e.g. busybox. I'll post those findings next. Regards, Michael Vale. surfnet.co -----Original Message----- From: redmine@zrouter.org Sent: Friday, November 02, 2012 1:42 PM Subject: [zrouter - Bug #37] bsd ports Issue #37 has been updated by Michael Vale. File zrouter.ports.mk.diff added you need to have xdev mips installed. /usr/src# make xdev XDEV=mips XDEV_ARCH=mips. you also need to add these two lines to bsd.ports.mk (I will submit this to the -current mailing list) CONFIGURE_HOST?= ${TARGET_ARCH}-portbld-freebsd${OSREL} CONFIGURE_HOST:= ${CONFIGURE_HOST:S/^/--host=/} between the CONFIGURE_TARGET:= ${CONFIGURE_TARGET:S/--build=//} and CONFIGURE_LOG lines. I did make other changes to bsd.ports.mk but i don't believe they are required here. Let me know if it seems there is something missing. ---------------------------------------- Bug #37: bsd ports http://redmine.zrouter.org/issues/37#change-41 Author: Michael Vale Status: New Priority: Normal Assignee: Michael Vale Category: Project Target version: fixed bsd ports make building and install this is my first attempt at any such contribution to any project. please find the attached patch for share/mk/zrouter.ports.mk. ALSO - zrouter/ports/www/zhttpd/distinfo was deleted due to an invalid SHA256 sum. Very cool. One thing that you'll run into soon that's a problem is that pkgng groks /bin/sh's ELF format in order to determine its architecture (which unfortunately makes things difficult when cross-compiling). I've CCed bapt@ so this item hopefully doesn't get lost. The way I was thinking of solving this was compiling host binaries, nullfs mounting them in a chroot, chrooting into it with the appropriate variables set, then dropping out of the chroot once the package is built, but this is another avenue for fixing the problem (just requires more work). Thanks! -Garrett Garrett, Yes I’ve already run into a fair bit of pkgng’s stubbornness as there is a few other issues with it too, again I will try and fix it myself but it would be great if bapt would chime in and we can bowl this one over! _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 07:13:58 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 89A4CF52; Fri, 2 Nov 2012 07:13:58 +0000 (UTC) (envelope-from yerenkow@gmail.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3803A8FC0C; Fri, 2 Nov 2012 07:13:57 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so4250965oag.13 for ; Fri, 02 Nov 2012 00:13:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=7M3rYnjsVf3OJMlqamm/l3cBCSGNkffbmxBXn3kM9jA=; b=VhJ/4qHCZvz5msChG/6GzK/AhVYE5+i+7IvPCbim425ZXv5Rsev6WtL6OhcjMw2DRy vaXkLeTqc2DAr7OZMUtmam7QYp0fvw7J0x1m9URtjsGpy/3QgFUrsvke5diFJvj7VQV3 3rs63d5iLIPMjIcBKR0jHBZlfwkOLB+8Y7cEHalzQrM7lHgV/DGZb9uXsZAfoi0MD/8A U8resadN76EokT4gBX+WocpBZm845KArlsIzdt3p9cxxQLW7BiqYniNaBkhQshJSxJ3N PW1KOd3ejtnLlBho59aDPgn/Gyql8cJx/6r5cm87d7IPI+rwKt/G8eL3DKEefZb6CiwD j9hA== MIME-Version: 1.0 Received: by 10.60.7.225 with SMTP id m1mr610107oea.122.1351840437472; Fri, 02 Nov 2012 00:13:57 -0700 (PDT) Received: by 10.60.58.165 with HTTP; Fri, 2 Nov 2012 00:13:57 -0700 (PDT) In-Reply-To: <89726A5A924F4EA0B92603A3836E9C2F@forexamplePC> References: <98E79AD90A1B4A2581C12BD73FEDEDC3@forexamplePC> <69B6751E5B51467EBF7F25735C497912@forexamplePC> <89726A5A924F4EA0B92603A3836E9C2F@forexamplePC> Date: Fri, 2 Nov 2012 09:13:57 +0200 Message-ID: Subject: Re: Cross Architecture Compiling From: Alexander Yerenkow To: Michael Vale Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Adrian Chadd , freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 07:13:58 -0000 Not sure if it helps, but maybe related: http://lists.freebsd.org/pipermail/freebsd-hackers/2012-September/040428.html -- Regards, Alexander Yerenkow From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 08:13:37 2012 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1302FB87; Fri, 2 Nov 2012 08:13:37 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from theravensnest.org (theraven.freebsd.your.org [216.14.102.27]) by mx1.freebsd.org (Postfix) with ESMTP id A6B408FC14; Fri, 2 Nov 2012 08:13:36 +0000 (UTC) Received: from [192.168.0.2] (cpc2-cmbg15-2-0-cust445.5-4.cable.virginmedia.com [86.26.13.190]) (authenticated bits=0) by theravensnest.org (8.14.5/8.14.5) with ESMTP id qA28DXeX048898 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Fri, 2 Nov 2012 08:13:35 GMT (envelope-from theraven@FreeBSD.org) Subject: Re: November 5th is Clang-Day Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: David Chisnall In-Reply-To: <1TU9lE-000KmO-Cc@internal.tormail.org> Date: Fri, 2 Nov 2012 08:13:30 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20121102032945.GF65074@lor.one-eyed-alien.net> <1TU9lE-000KmO-Cc@internal.tormail.org> To: Jan Beich X-Mailer: Apple Mail (2.1278) Cc: Brooks Davis , freebsd-current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 08:13:37 -0000 On 2 Nov 2012, at 05:24, Jan Beich wrote: >> Known Issues >=20 > emulators/wine doesn't work with lib32 built by clang, probably due to > wine bugs. Is this still the case? There was an issue preventing WINE from working = because it required stricter stack alignment than clang provided by = default, but I thought it was fixed. Does WINE work if compiled with = the flag that forces stack realignment? If not, then it's some other = issue... David= From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 08:18:25 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 61CB5CC3; Fri, 2 Nov 2012 08:18:25 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id EBEC08FC12; Fri, 2 Nov 2012 08:18:24 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id l1so4583346vba.13 for ; Fri, 02 Nov 2012 01:18:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=uqq95PpuZ3zn3HKz1bwFxQRCvMQeQJykqhWM4/6TVtg=; b=VJiW8o6RgRhyKDnqdzcZS1tPP591R+NK+aecpZKDs1Bv1Mwo+syGRGPDH7Stb8A6YB AtZeY9f/QJfXW5EH02SENnE82Hzdomy0rTkJj70Nj07nUKjXcvKwYLEhSDyd28MX3Q92 a/NThcgEL9iIWPfYI7RmjAjz79A3t12B9xazmfc3aBFBdmzJD25WT4w5MK+zm1j2GQWZ EL51iTwcoCHLC+Yo4tXe91aCd9baI0C4R5qK60J2h/f+UgdyuWbx5WNDpLTBihqpoEgU 1slKCyT+YIbkogzJEu/l2TQuyX5lrvMJ0akqKfzTsFVPTgthlWpkRjZv+FywqriEqGB0 GC7Q== MIME-Version: 1.0 Received: by 10.58.64.196 with SMTP id q4mr1243207ves.3.1351844303871; Fri, 02 Nov 2012 01:18:23 -0700 (PDT) Received: by 10.58.199.169 with HTTP; Fri, 2 Nov 2012 01:18:23 -0700 (PDT) In-Reply-To: <20121102060818.GB48921@eureka.lemis.com> References: <20121102032945.GF65074@lor.one-eyed-alien.net> <20121102045917.GA77204@troutmask.apl.washington.edu> <20121102122103.4afc93e5@X220.ovitrap.com> <20121102060818.GB48921@eureka.lemis.com> Date: Fri, 2 Nov 2012 01:18:23 -0700 Message-ID: Subject: Re: FORTRAN vs. Fortran (was: November 5th is Clang-Day) From: Mehmet Erol Sanliturk To: "Greg 'groggy' Lehey" Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Erich Dollansky , freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 08:18:25 -0000 On Thu, Nov 1, 2012 at 11:08 PM, Greg 'groggy' Lehey wrote: > On Friday, 2 November 2012 at 12:21:03 +0700, Erich Dollansky wrote: > > Hi, > > > > On Thu, 1 Nov 2012 21:59:17 -0700 > > Steve Kargl wrote: > >> > >> BTW, the name of the language is "Fortran". It's been "Fortran" > >> for the last 30-something years. > > > > I never realised the name change. It seems that I am not alone with > > this. > > Nor I. Looking at the Wikipedia page, I discover that it had been > spelt "Fortran" as early as 1956, and there's even a copy of the 1956 > Fortran manual online: http://www.fortran.com/FortranForTheIBM704.pdf > Interesting reading. > > Greg > -- > Sent from my desktop computer. > Finger grog@FreeBSD.org for PGP public key. > See complete headers for address and phone numbers. > This message is digitally signed. If your Microsoft MUA reports > problems, please read http://tinyurl.com/broken-mua > Very many years ago , when 2010 was a very distant future , I do not remember the name of the writer , who wrote approximately : "In 2010 , there will be Fortran , but a Fortran which may be different ." Now , perhaps unfortunately , there is no any language better than Fortran for the Fortran suitable problems . Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 08:26:05 2012 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5EB53E79; Fri, 2 Nov 2012 08:26:05 +0000 (UTC) (envelope-from theraven@FreeBSD.org) Received: from theravensnest.org (theraven.freebsd.your.org [216.14.102.27]) by mx1.freebsd.org (Postfix) with ESMTP id 16BA98FC0A; Fri, 2 Nov 2012 08:26:04 +0000 (UTC) Received: from [192.168.0.2] (cpc2-cmbg15-2-0-cust445.5-4.cable.virginmedia.com [86.26.13.190]) (authenticated bits=0) by theravensnest.org (8.14.5/8.14.5) with ESMTP id qA28Q2Tu048938 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES128-SHA bits=128 verify=NO); Fri, 2 Nov 2012 08:26:03 GMT (envelope-from theraven@FreeBSD.org) Subject: Re: FORTRAN vs. Fortran (was: November 5th is Clang-Day) Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: text/plain; charset=us-ascii From: David Chisnall In-Reply-To: Date: Fri, 2 Nov 2012 08:25:58 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <0555D6CB-5DB0-4C48-9D4D-8393978CBB1E@FreeBSD.org> References: <20121102032945.GF65074@lor.one-eyed-alien.net> <20121102045917.GA77204@troutmask.apl.washington.edu> <20121102122103.4afc93e5@X220.ovitrap.com> <20121102060818.GB48921@eureka.lemis.com> To: Mehmet Erol Sanliturk X-Mailer: Apple Mail (2.1278) Cc: Greg 'groggy' Lehey , Erich Dollansky , freebsd-current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 08:26:05 -0000 On 2 Nov 2012, at 08:18, Mehmet Erol Sanliturk wrote: > Very many years ago , when 2010 was a very distant future , I do not > remember the name of the writer , who wrote approximately : >=20 > "In 2010 , there will be Fortran , but a Fortran which may be = different ." I remember a talk in the mid '90s by someone from Sun's HPC team where = he said 'I don't know what the syntax or semantics of the language we = will be using for HPC in 20 years time will be, but I do know one thing = about it: it will be called Fortran' Although the response to GCC's recent decision to drop support for = Fortran 77 showed that that language will probably be called Fortran = 77... David From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 08:36:30 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AAB7B169 for ; Fri, 2 Nov 2012 08:36:30 +0000 (UTC) (envelope-from masked@internode.on.net) Received: from ipmail06.adl2.internode.on.net (ipmail06.adl2.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:2:6]) by mx1.freebsd.org (Postfix) with ESMTP id E80588FC0C for ; Fri, 2 Nov 2012 08:36:29 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArsLACeFk1CWZd2M/2dsb2JhbABEwiYBAoITgh4BAQEEAQEBBTAWIBYBBAUDAxEBAwEBLycBCRgGCAYBBwcEAQcJDASHZAy8Rot7GlZXWYM6YQOIJYVMhVqDSI8ogwOBUA Received: from ppp221-140.static.internode.on.net (HELO forexamplePC) ([150.101.221.140]) by ipmail06.adl2.internode.on.net with SMTP; 02 Nov 2012 19:06:28 +1030 Message-ID: <4AE2D89496E749C7861C7E976E5B3EA1@forexamplePC> From: "Michael Vale" To: "Alexander Yerenkow" , References: <98E79AD90A1B4A2581C12BD73FEDEDC3@forexamplePC> <69B6751E5B51467EBF7F25735C497912@forexamplePC> <89726A5A924F4EA0B92603A3836E9C2F@forexamplePC> In-Reply-To: Subject: Re: Cross Architecture Compiling Date: Fri, 2 Nov 2012 19:36:27 +1100 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 Importance: Normal X-Mailer: Microsoft Windows Live Mail 16.4.3505.912 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3505.912 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 08:36:30 -0000 Hi Alexander, Yes I've seen that. The problem with appending CONFIGURE_ARGS is that it breaks some ports. Also by honouring TARGET_ARCH we're staying more inline with current cross-build trends. And as for jails/chroot Garrett, it might work but it's a pain and can't be run along with other ports/builds to create a rootfs automatically. -----Original Message----- From: Alexander Yerenkow Sent: Friday, November 02, 2012 6:13 PM To: Michael Vale Cc: Adrian Chadd ; freebsd-current@freebsd.org Subject: Re: Cross Architecture Compiling Not sure if it helps, but maybe related: http://lists.freebsd.org/pipermail/freebsd-hackers/2012-September/040428.html -- Regards, Alexander Yerenkow _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 10:21:32 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E1DFCA84; Fri, 2 Nov 2012 10:21:32 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 932C18FC0A; Fri, 2 Nov 2012 10:21:32 +0000 (UTC) Received: from irix.bris.ac.uk ([137.222.10.39] helo=ncs.bris.ac.uk) by dirj.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1TUENM-0002BX-8U; Fri, 02 Nov 2012 10:21:25 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1TUENL-00003n-Vc; Fri, 02 Nov 2012 10:21:19 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id qA2ALJWC020997; Fri, 2 Nov 2012 10:21:19 GMT (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id qA2ALJLF020996; Fri, 2 Nov 2012 10:21:19 GMT (envelope-from mexas) Date: Fri, 2 Nov 2012 10:21:19 GMT From: Anton Shterenlikht Message-Id: <201211021021.qA2ALJLF020996@mech-cluster241.men.bris.ac.uk> To: erichfreebsdlist@ovitrap.com, grog@freebsd.org Subject: Re: FORTRAN vs. Fortran (was: November 5th is Clang-Day) In-Reply-To: <20121102060818.GB48921@eureka.lemis.com> X-Spam-Score: -1.6 X-Spam-Level: - Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2012 10:21:33 -0000 Date: Fri, 2 Nov 2012 17:08:18 +1100 From: "Greg 'groggy' Lehey" To: Erich Dollansky Subject: FORTRAN vs. Fortran (was: November 5th is Clang-Day) On Friday, 2 November 2012 at 12:21:03 +0700, Erich Dollansky wrote: > Hi, > > On Thu, 1 Nov 2012 21:59:17 -0700 > Steve Kargl wrote: >> >> BTW, the name of the language is "Fortran". It's been "Fortran" >> for the last 30-something years. > > I never realised the name change. It seems that I am not alone with > this. Nor I. Looking at the Wikipedia page, I discover that it had been spelt "Fortran" as early as 1956, and there's even a copy of the 1956 Fortran manual online: http://www.fortran.com/FortranForTheIBM704.pdf Interesting reading. come on guys, fortran is not case sensitive... Anyway I guess it's good news that LLVM is being used also by Cray and Nvidia. It's a shame though that, with LLVM as the default compiler, further development of FreeBSD/ia64 and FreeBSD/sparc64 will probably suffer and then stop altogether. Anton From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 10:58:02 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3DE996B1; Fri, 2 Nov 2012 10:58:02 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id DAA898FC08; Fri, 2 Nov 2012 10:58:01 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1TUEwl-0004Wv-98; Fri, 02 Nov 2012 10:57:55 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1TUEwk-0004u7-RY; Fri, 02 Nov 2012 10:57:54 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id qA2Avs2N023953; Fri, 2 Nov 2012 10:57:54 GMT (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id qA2AvsB2023952; Fri, 2 Nov 2012 10:57:54 GMT (envelope-from mexas) Date: Fri, 2 Nov 2012 10:57:54 GMT From: Anton Shterenlikht Message-Id: <201211021057.qA2AvsB2023952@mech-cluster241.men.bris.ac.uk> To: mexas@bristol.ac.uk, theraven@theravensnest.org Subject: Re: FORTRAN vs. Fortran (was: November 5th is Clang-Day) In-Reply-To: <028D38DC-C5C4-40F1-9F20-3E11072DDC22@theravensnest.org> Cc: erichfreebsdlist@ovitrap.com, grog@freebsd.org, freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2012 10:58:02 -0000 From theraven@theravensnest.org Fri Nov 2 10:54:08 2012 On 2 Nov 2012, at 10:21, Anton Shterenlikht wrote: > further development of > FreeBSD/ia64 and FreeBSD/sparc64 > will probably suffer and then stop altogether There is a SPARC64 back end for LLVM that needs some attention but would be relatively easy to get up to production quality if anyone cared. The IA64 back end bitrotted and died, although there's now a bit better generic infrastructure for VLIW architectures (contributed by Qualcomm for the Hexagon DSP), so resurrecting it is possible, but I doubt anyone cares because Itanium is basically dead. Oracle seems intent on mismanaging SPARC to death too, so I'm not sure how long it will be around either. I'd be happy to help anyone who is interested in resurrecting either of these, marcel@ was working on LLVM backend for ia64. Anton From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 00:08:00 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2BBEB3C8; Fri, 2 Nov 2012 00:08:00 +0000 (UTC) (envelope-from kpersson@clarkebroadcasting.com) Received: from tx2outboundpool.messaging.microsoft.com (tx2ehsobe003.messaging.microsoft.com [65.55.88.13]) by mx1.freebsd.org (Postfix) with ESMTP id C73B28FC0C; Fri, 2 Nov 2012 00:07:59 +0000 (UTC) Received: from mail163-tx2-R.bigfish.com (10.9.14.237) by TX2EHSOBE009.bigfish.com (10.9.40.29) with Microsoft SMTP Server id 14.1.225.23; Fri, 2 Nov 2012 00:07:53 +0000 Received: from mail163-tx2 (localhost [127.0.0.1]) by mail163-tx2-R.bigfish.com (Postfix) with ESMTP id E915B1E0146; Fri, 2 Nov 2012 00:07:52 +0000 (UTC) X-Forefront-Antispam-Report: CIP:157.56.236.101; KIP:(null); UIP:(null); IPV:NLI; H:BY2PRD0510HT001.namprd05.prod.outlook.com; RD:none; EFVD:NLI X-SpamScore: -5 X-BigFish: PS-5(zzbb2dI98dI9371I1432I14ffIzz1de0h1202h1d1ah1d2ahzz17326ah8275dhz2fh2a8h668h839h944hd25hf0ah1220h1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh1155h) Received-SPF: pass (mail163-tx2: domain of clarkebroadcasting.com designates 157.56.236.101 as permitted sender) client-ip=157.56.236.101; envelope-from=kpersson@clarkebroadcasting.com; helo=BY2PRD0510HT001.namprd05.prod.outlook.com ; .outlook.com ; Received: from mail163-tx2 (localhost.localdomain [127.0.0.1]) by mail163-tx2 (MessageSwitch) id 1351814870864109_3051; Fri, 2 Nov 2012 00:07:50 +0000 (UTC) Received: from TX2EHSMHS015.bigfish.com (unknown [10.9.14.237]) by mail163-tx2.bigfish.com (Postfix) with ESMTP id CDDE1220045; Fri, 2 Nov 2012 00:07:50 +0000 (UTC) Received: from BY2PRD0510HT001.namprd05.prod.outlook.com (157.56.236.101) by TX2EHSMHS015.bigfish.com (10.9.99.115) with Microsoft SMTP Server (TLS) id 14.1.225.23; Fri, 2 Nov 2012 00:07:50 +0000 Received: from BY2PRD0510MB376.namprd05.prod.outlook.com ([169.254.7.85]) by BY2PRD0510HT001.namprd05.prod.outlook.com ([10.255.84.36]) with mapi id 14.16.0233.002; Fri, 2 Nov 2012 00:07:50 +0000 From: Kristofer Persson To: Konstantin Belousov , "amd64@freebsd.org" , "current@freebsd.org" Subject: RE: Small Ivy features: FSGSBASE and SMEP. Thread-Topic: Small Ivy features: FSGSBASE and SMEP. Thread-Index: AQHNuFn+wj3ytlEm00S+444R+sVIpZfVq3Gv Date: Fri, 2 Nov 2012 00:07:46 +0000 Message-ID: References: <20120908181019.GK33100@deviant.kiev.zoral.com.ua> <504C3A5D.4020402@fuckner.net> <20120909110255.GM33100@deviant.kiev.zoral.com.ua> <20120909202905.GP33100@deviant.kiev.zoral.com.ua>, <20121030151327.GW73505@kib.kiev.ua> In-Reply-To: <20121030151327.GW73505@kib.kiev.ua> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [216.86.189.249] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: clarkebroadcasting.com X-Mailman-Approved-At: Fri, 02 Nov 2012 11:20:05 +0000 Cc: "avg@freebsd.org" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 00:08:00 -0000 $70.00 ________________________________________ From: owner-freebsd-amd64@freebsd.org [owner-freebsd-amd64@freebsd.org] on = behalf of Konstantin Belousov [kostikbel@gmail.com] Sent: Tuesday, October 30, 2012 8:13 AM To: amd64@freebsd.org; current@freebsd.org Cc: avg@freebsd.org Subject: Re: Small Ivy features: FSGSBASE and SMEP. On Sun, Sep 09, 2012 at 11:29:05PM +0300, Konstantin Belousov wrote: > On Sun, Sep 09, 2012 at 02:02:55PM +0300, Konstantin Belousov wrote: > > On Sun, Sep 09, 2012 at 08:42:37AM +0200, Michael Fuckner wrote: > > > Hi all, > > > > > > I changed your patch slightly to apply to specialreh.h on STABLE > > > > > > root@c64:/root # diff smep.1.patch.bak smep.1.patch > > > 80c80 > > > < diff --git a/sys/x86/include/specialreg.h b/sys/x86/include/special= reg.h > > > --- > > > > diff --git a/sys/amd64/include/specialreg.h > > > b/sys/amd64/include/specialreg.h > > > 82,83c82,83 > > > < --- a/sys/x86/include/specialreg.h > > > < +++ b/sys/x86/include/specialreg.h > > > --- > > > > --- a/sys/amd64/include/specialreg.h > > > > +++ b/sys/amd64/include/specialreg.h > > > > > > I got a new kernel, but it is stuck immediately (kerneltrap 9 with > > > interrupts disabled), system doesn't boot on E3-1230 V2 on Supermicro > > > X9SCM-IIF > > > > > > Anything else I could check? > > I need the backtrace and the whole kernel messages. > At least, there was a typo in the definition of CR4_FSGSBASE. > I still need verbose dmesg and panic messages, if any, with the > http://people.freebsd.org/~kib/misc/smep.2.patch > version of the patch. > With a help from Andrey, who has access to the hardware supporting SMEP, I fixed the issue with double-fault on SMEP enable. The issue was due to loader(8) making a handoff to the kernel with 1GB identity mapping which has the PG_U bit set. As a result, after enabling the CR4.SMEP, the #pf was generated immediately. But since the handler, if any, is also mapped with PG_U, double-fault happen and machine was reset. Updated patch, also fixing other minor problems with the features display, is at http://people.freebsd.org/~kib/misc/smep.3.patch . Please test. > > > > > > > > Regards, > > > Michael! > > > > > > > > > On 09/08/2012 08:10 PM, Konstantin Belousov wrote: > > > >Please find at > > > >http://people.freebsd.org/~kib/misc/smep.1.patch > > > >the patch which should enable the FSGSBASE and SMEP features > > > >supposedly present in the IvyBridge CPUs. > > > > > > > >FSGSBASE are four new instructions available in the 64bit mode only. > > > >They allow to access bases for %fs and %gs without touching MSRs. > > > >This makes it possible to both read and write bases in the user mode= , > > > >or in ring 0 with lower overhead. > > > > > > > >At the moment, WRFSBASE/WRGSBASE instructions should work, but are > > > >useless since any interrupt or context switch overrides bases with t= he > > > >values set by the arch syscall. Still, RDFSBASE/RDGSBASE might be us= eful > > > >for some code and I see no reason not to enable them. > > > > > > > >SMEP is the nice feature of the processor which makes it trap if rin= g > > > >0 tries to execute an instruction from usermode-accessible page. It = is > > > >another mitigation for things like calling user-controllable functio= n > > > >pointer in kernel, as well as a protection for NULL function pointer > > > >dereference. > > > > > > > >I am sure that we never execute anything in kernel from user page, b= ut > > > >I did not tested the patch since I have no Ivy machine. > > > > > > > >I need your reports about boot on Ivy with patch applied. Please inc= lude > > > >the lines from verbose dmesg with CPU Features. In particular, the > > > >'Standard Extended Features' report should appear in output. > > > > > > > >Thanks. > > > > > >= From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 08:25:39 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4964EE30; Fri, 2 Nov 2012 08:25:39 +0000 (UTC) (envelope-from michael@fuckner.net) Received: from mo6-p00-ob.rzone.de (mo6-p00-ob.rzone.de [IPv6:2a01:238:20a:202:5300::1]) by mx1.freebsd.org (Postfix) with ESMTP id A04FC8FC08; Fri, 2 Nov 2012 08:25:38 +0000 (UTC) X-RZG-AUTH: :IWUHfUGtd9+6EujMWHx57N4dWae4bmTL/JIGbzkGUoozgkO4q1xDEhkgOJDsXNs= X-RZG-CLASS-ID: mo00 Received: from fuckner2.delnet ([85.183.0.195]) by smtp.strato.de (joses mo42) (RZmta 30.21 AUTH) with ESMTPA id J00d2eoA285F7w ; Fri, 2 Nov 2012 09:25:36 +0100 (CET) Message-ID: <509382A4.8020903@fuckner.net> Date: Fri, 02 Nov 2012 09:21:56 +0100 From: Michael Fuckner User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121016 Thunderbird/16.0.1 MIME-Version: 1.0 To: freebsd-amd64@freebsd.org, current@freebsd.org, kostikbel@gmail.com Subject: Re: Small Ivy features: FSGSBASE and SMEP. References: <20120908181019.GK33100@deviant.kiev.zoral.com.ua> <504C3A5D.4020402@fuckner.net> <20120909110255.GM33100@deviant.kiev.zoral.com.ua> <20120909202905.GP33100@deviant.kiev.zoral.com.ua> <20121030151327.GW73505@kib.kiev.ua> In-Reply-To: <20121030151327.GW73505@kib.kiev.ua> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Fri, 02 Nov 2012 11:32:26 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 08:25:39 -0000 > is at http://people.freebsd.org/~kib/misc/smep.3.patch . > > Please test. looks good (after changing the location of specialreg.h (on STABLE) do you need any output or something like that? Regards, Michael! From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 12:32:18 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 23AD4339; Fri, 2 Nov 2012 12:32:18 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kostikbel-1-pt.tunnel.tserv11.ams1.ipv6.he.net [IPv6:2001:470:1f14:13d6::2]) by mx1.freebsd.org (Postfix) with ESMTP id 997288FC0A; Fri, 2 Nov 2012 12:32:17 +0000 (UTC) Received: from tom.home (localhost [127.0.0.1]) by kib.kiev.ua (8.14.5/8.14.5) with ESMTP id qA2CW9FN032471; Fri, 2 Nov 2012 14:32:09 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by tom.home (8.14.5/8.14.5/Submit) id qA2CW9SI032470; Fri, 2 Nov 2012 14:32:09 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Fri, 2 Nov 2012 14:32:09 +0200 From: Konstantin Belousov To: Michael Fuckner Subject: Re: Small Ivy features: FSGSBASE and SMEP. Message-ID: <20121102123209.GV73505@kib.kiev.ua> References: <20120908181019.GK33100@deviant.kiev.zoral.com.ua> <504C3A5D.4020402@fuckner.net> <20120909110255.GM33100@deviant.kiev.zoral.com.ua> <20120909202905.GP33100@deviant.kiev.zoral.com.ua> <20121030151327.GW73505@kib.kiev.ua> <509382A4.8020903@fuckner.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="m02j6EnzJ5dgRysN" Content-Disposition: inline In-Reply-To: <509382A4.8020903@fuckner.net> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=0.2 required=5.0 tests=ALL_TRUSTED, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: current@freebsd.org, freebsd-amd64@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 12:32:18 -0000 --m02j6EnzJ5dgRysN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 02, 2012 at 09:21:56AM +0100, Michael Fuckner wrote: >=20 > > is at http://people.freebsd.org/~kib/misc/smep.3.patch . > > > > Please test. >=20 > looks good (after changing the location of specialreg.h (on STABLE) >=20 > do you need any output or something like that? No, thank you, I do not need anything, assuming you machine booted and operates fine. Patch was already committed to HEAD, r242432 + r242433. --m02j6EnzJ5dgRysN Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlCTvUkACgkQC3+MBN1Mb4jzCQCeIqkrVDxujq0u22nOCBu078yY qBEAoKIQZTvBXYmllg5uBS8a1UlgvG7K =LJqv -----END PGP SIGNATURE----- --m02j6EnzJ5dgRysN-- From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 12:38:01 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 855AF4F6 for ; Fri, 2 Nov 2012 12:38:01 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 388D58FC08 for ; Fri, 2 Nov 2012 12:38:01 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for freebsd-current@freebsd.org with esmtp (envelope-from ) id <1TUGVW-003Uts-4E>; Fri, 02 Nov 2012 13:37:54 +0100 Received: from telesto.geoinf.fu-berlin.de ([130.133.86.198]) by inpost2.zedat.fu-berlin.de (Exim 4.69) for freebsd-current@freebsd.org with esmtpsa (envelope-from ) id <1TUGVW-003XMe-1w>; Fri, 02 Nov 2012 13:37:54 +0100 Message-ID: <5093BE9D.8060009@zedat.fu-berlin.de> Date: Fri, 02 Nov 2012 13:37:49 +0100 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121030 Thunderbird/16.0.2 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: November 5th is Clang-Day References: <20121102032945.GF65074@lor.one-eyed-alien.net> In-Reply-To: <20121102032945.GF65074@lor.one-eyed-alien.net> X-Enigmail-Version: 1.4.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig621B463274A354557DE45D8A" X-Originating-IP: 130.133.86.198 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 12:38:01 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig621B463274A354557DE45D8A Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 11/02/12 04:29, Brooks Davis wrote: > On Monday, November 5th I plan to commit the following patch to make > clang the default compiler on i386 and amd64. Many people have worked > long and hard to make this a reality and we're finally close enough to > throw the switch. For many users the transition should be transparent.= > Others will likely hit some bumps, but I think we've addresses most > major issues at this point and the LLVM community has demonstrated it's= > ability and willingness to help given actionable bug reports. >=20 [...] Then the hell break loose ... ;-) --------------enig621B463274A354557DE45D8A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJQk76iAAoJEOgBcD7A/5N8aAgH/ifJFgIwsbeEn7chXy9npQrx HqFzMmEQHMox4Kd1xX6gw21BSFAc6aigD8sDa0BGCITixfSNfcKMFiUn2VX/gfnL XwlJFdHmG2nDWYN2CrIme85Cf9gBw3J+gzfhJ2IhJv4hprdOQKiCKtaJVpwtr2F2 PRKY4zSaW3yuFqo705XoNHnENrz54ZRyql+GnlvlHiHukUU9tuIjKj0aJL6S/lSY g/0IPm/jlonuhP7En19Pby1n1DES62KzjB5BiunNrkEWyb4nh9+rma12qWFJ5qrL hTB95qAvO4b63p1I17FAIeJ6q2r6QcaPAPTMhcj0Rn1MRLHV4tVsC28XZ2hW1Fs= =goq6 -----END PGP SIGNATURE----- --------------enig621B463274A354557DE45D8A-- From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 12:42:48 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 45E1B884 for ; Fri, 2 Nov 2012 12:42:48 +0000 (UTC) (envelope-from stephen@missouri.edu) Received: from wilberforce.math.missouri.edu (wilberforce.math.missouri.edu [128.206.184.213]) by mx1.freebsd.org (Postfix) with ESMTP id 0AE718FC15 for ; Fri, 2 Nov 2012 12:42:47 +0000 (UTC) Received: from [127.0.0.1] (wilberforce.math.missouri.edu [128.206.184.213]) by wilberforce.math.missouri.edu (8.14.5/8.14.5) with ESMTP id qA2CRii3071071 for ; Fri, 2 Nov 2012 07:27:44 -0500 (CDT) (envelope-from stephen@missouri.edu) Message-ID: <5093BC40.8@missouri.edu> Date: Fri, 02 Nov 2012 07:27:44 -0500 From: Stephen Montgomery-Smith User-Agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121028 Thunderbird/16.0.2 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: FORTRAN vs. Fortran (was: November 5th is Clang-Day) References: <201211021021.qA2ALJLF020996@mech-cluster241.men.bris.ac.uk> In-Reply-To: <201211021021.qA2ALJLF020996@mech-cluster241.men.bris.ac.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 12:42:48 -0000 On 11/02/2012 05:21 AM, Anton Shterenlikht wrote: > Date: Fri, 2 Nov 2012 17:08:18 +1100 > From: "Greg 'groggy' Lehey" > To: Erich Dollansky > Subject: FORTRAN vs. Fortran (was: November 5th is Clang-Day) > > On Friday, 2 November 2012 at 12:21:03 +0700, Erich Dollansky wrote: > > Hi, > > > > On Thu, 1 Nov 2012 21:59:17 -0700 > > Steve Kargl wrote: > >> > >> BTW, the name of the language is "Fortran". It's been "Fortran" > >> for the last 30-something years. > > > > I never realised the name change. It seems that I am not alone with > > this. > > Nor I. Looking at the Wikipedia page, I discover that it had been > spelt "Fortran" as early as 1956, and there's even a copy of the 1956 > Fortran manual online: http://www.fortran.com/FortranForTheIBM704.pdf > Interesting reading. > > come on guys, fortran is not case sensitive... caNyO usti llputw hitespa cewhere ever you like in for TraN? From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 13:07:05 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 85751F3E; Fri, 2 Nov 2012 13:07:05 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) by mx1.freebsd.org (Postfix) with ESMTP id 34F188FC1B; Fri, 2 Nov 2012 13:07:05 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.5/8.14.5) with ESMTP id qA2D747K079177; Fri, 2 Nov 2012 06:07:04 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.5/8.14.5/Submit) id qA2D74fJ079176; Fri, 2 Nov 2012 06:07:04 -0700 (PDT) (envelope-from sgk) Date: Fri, 2 Nov 2012 06:07:04 -0700 From: Steve Kargl To: David Chisnall Subject: Re: FORTRAN vs. Fortran (was: November 5th is Clang-Day) Message-ID: <20121102130704.GA79087@troutmask.apl.washington.edu> References: <20121102032945.GF65074@lor.one-eyed-alien.net> <20121102045917.GA77204@troutmask.apl.washington.edu> <20121102122103.4afc93e5@X220.ovitrap.com> <20121102060818.GB48921@eureka.lemis.com> <0555D6CB-5DB0-4C48-9D4D-8393978CBB1E@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0555D6CB-5DB0-4C48-9D4D-8393978CBB1E@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Greg 'groggy' Lehey , Erich Dollansky , freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 13:07:05 -0000 On Fri, Nov 02, 2012 at 08:25:58AM +0000, David Chisnall wrote: > On 2 Nov 2012, at 08:18, Mehmet Erol Sanliturk wrote: > > > Very many years ago , when 2010 was a very distant future , I do not > > remember the name of the writer , who wrote approximately : > > > > "In 2010 , there will be Fortran , but a Fortran which may be different ." > > I remember a talk in the mid '90s by someone from Sun's HPC team > where he said 'I don't know what the syntax or semantics of the > language we will be using for HPC in 20 years time will be, but > I do know one thing about it: it will be called Fortran' > > Although the response to GCC's recent decision to drop support > for Fortran 77 showed that that language will probably be called Fortran 77... > GCC did not drop Fortran 77. When GCC moved from the 3.x series to the 4.x series, it introduced the use of gimple and tree-ssa. No one ported g77 to use gimple and tree-ssa, so g77 was replaced by a completely new frontend, which is called gfortran and started life as a Fortran 95 compiler. One admirable objective of J3, the Fortran standardization committee, is that it strives for backwards compatibility to previous standards. So, if you have a valid Fortran 77 code, it will in all likelihood be a validate Fortran 2008 program. Fortran 95 deleted 10 features from the language; however, every compiler that I've used still supports those features. In regards to HPC and Fortran, Fortran 2008 introduced this wonderful feature called co-arrays. One can read about gfortran's progress with its implementation of co-arrays at http://gcc.gnu.org/wiki/Coarray -- Steve From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 13:17:43 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F3DF5359 for ; Fri, 2 Nov 2012 13:17:42 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) by mx1.freebsd.org (Postfix) with ESMTP id AE8F48FC08 for ; Fri, 2 Nov 2012 13:17:42 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.5/8.14.5) with ESMTP id qA2DHggQ079213; Fri, 2 Nov 2012 06:17:42 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.5/8.14.5/Submit) id qA2DHgt8079212; Fri, 2 Nov 2012 06:17:42 -0700 (PDT) (envelope-from sgk) Date: Fri, 2 Nov 2012 06:17:42 -0700 From: Steve Kargl To: Stephen Montgomery-Smith Subject: Re: FORTRAN vs. Fortran (was: November 5th is Clang-Day) Message-ID: <20121102131742.GB79087@troutmask.apl.washington.edu> References: <201211021021.qA2ALJLF020996@mech-cluster241.men.bris.ac.uk> <5093BC40.8@missouri.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5093BC40.8@missouri.edu> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 13:17:43 -0000 On Fri, Nov 02, 2012 at 07:27:44AM -0500, Stephen Montgomery-Smith wrote: > > caNyO usti llputw hitespa cewhere ever you like in for TraN? > Sigh. You can get copies of the final committee drafts of the Fortran 95, 2003, and 2008 standards. There you will learn that Fortran since Fortran 90 allows two source forms: fixed-form and free-form source code. When parsing the the above nonsense you wrote, one form would yield one (invalid) token, and in the other form it would yield 11 tokens. -- Steve From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 13:36:35 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 808059DB; Fri, 2 Nov 2012 13:36:35 +0000 (UTC) (envelope-from erik@cederstrand.dk) Received: from csmtp2.one.com (csmtp2.one.com [91.198.169.22]) by mx1.freebsd.org (Postfix) with ESMTP id 3805B8FC12; Fri, 2 Nov 2012 13:36:34 +0000 (UTC) Received: from [192.168.1.18] (unknown [217.157.7.221]) by csmtp2.one.com (Postfix) with ESMTPA id 34142301980F; Fri, 2 Nov 2012 13:36:27 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: November 5th is Clang-Day From: Erik Cederstrand In-Reply-To: <20121102032945.GF65074@lor.one-eyed-alien.net> Date: Fri, 2 Nov 2012 14:36:26 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <5BDC448E-1A28-41FD-830C-0CF6BC3937C5@cederstrand.dk> References: <20121102032945.GF65074@lor.one-eyed-alien.net> To: Brooks Davis X-Mailer: Apple Mail (2.1499) Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 13:36:35 -0000 Den 02/11/2012 kl. 04.29 skrev Brooks Davis : > On Monday, November 5th I plan to commit the following patch to make > clang the default compiler on i386 and amd64. Many people have worked > long and hard to make this a reality and we're finally close enough to > throw the switch. Congratulations! I know that you and others of the Clang BSD have worked = hard for years on this, so it's nice to see the work finally paying off. Erik= From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 15:38:30 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 78246162; Fri, 2 Nov 2012 15:38:30 +0000 (UTC) (envelope-from rdivacky@vlakno.cz) Received: from vlakno.cz (mail.vlakno.cz [178.238.39.38]) by mx1.freebsd.org (Postfix) with ESMTP id 35FE38FC08; Fri, 2 Nov 2012 15:38:29 +0000 (UTC) Received: by vlakno.cz (Postfix, from userid 1002) id B8BC21CC5697; Fri, 2 Nov 2012 16:30:50 +0100 (CET) Date: Fri, 2 Nov 2012 16:30:50 +0100 From: Roman Divacky To: Brooks Davis Subject: Re: November 5th is Clang-Day Message-ID: <20121102153050.GA44876@freebsd.org> References: <20121102032945.GF65074@lor.one-eyed-alien.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121102032945.GF65074@lor.one-eyed-alien.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 15:38:30 -0000 Nice :) Does this deserve mentioning in UPDATING and/or version bump? On Thu, Nov 01, 2012 at 10:29:45PM -0500, Brooks Davis wrote: > On Monday, November 5th I plan to commit the following patch to make > clang the default compiler on i386 and amd64. Many people have worked > long and hard to make this a reality and we're finally close enough to > throw the switch. For many users the transition should be transparent. > Others will likely hit some bumps, but I think we've addresses most > major issues at this point and the LLVM community has demonstrated it's > ability and willingness to help given actionable bug reports. > > Known Issues > - Not all ports compile with clang. This can be worked around in > individual ports by setting USE_GCC=any which will cause the base gcc > to be used. Depending how things shake out we may end up making > USE_GCC=any the default for a period. [0] > - Not all libm tests pass. More work by subject matter experts is > required to create tests cases for LLVM developers. Most problems are > not expected to be major in practice given that LLVM is being used for > scientific computing in a number of products including Cray's FORTRAN > compiler, most OpenCL compilers, and the Julia language. > - Small but noticeable slowdown in some benchmarks. For example > sysbench against mysql was found to run about 1% slower on top of a > clang compiled world+kernel. http://people.freebsd.org/~flo/perf.pdf > > Known Non-Issues > - "make buildenv" works fine with clang. > > -- Brooks > > [0] Work is underway to switch to building ports with a ports specific > compiler version. Likely this will be gcc-4.6 initially. This would > help insulate ports from the base compiler. That being said, there are > significant advantages to getting as many ports as possible to build > with clang. Among other things, cross building for embedded systems is > much easier with clang. > > > Index: share/mk/bsd.own.mk > =================================================================== > --- share/mk/bsd.own.mk (revision 242464) > +++ share/mk/bsd.own.mk (working copy) > @@ -426,7 +426,6 @@ > BIND_XML \ > BSDCONFIG \ > CLANG_EXTRAS \ > - CLANG_IS_CC \ > CTF \ > HESIOD \ > ICONV \ > @@ -455,6 +454,12 @@ > .else > __DEFAULT_NO_OPTIONS+=CLANG > .endif > +# Clang the default system compiler only on x86. > +.if ${__T} == "amd64" || ${__T} == "i386" > +__DEFAULT_YES_OPTIONS+=CLANG_IS_CC > +.else > +__DEFAULT_NO_OPTIONS+=CLANG_IS_CC > +.endif > # FDT is needed only for arm, mips and powerpc > .if ${__T:Marm*} || ${__T:Mpowerpc*} || ${__T:Mmips*} > __DEFAULT_YES_OPTIONS+=FDT From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 15:48:13 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 91AED49E for ; Fri, 2 Nov 2012 15:48:13 +0000 (UTC) (envelope-from w8hdkim@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 349158FC0A for ; Fri, 2 Nov 2012 15:48:13 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id l1so5078789vba.13 for ; Fri, 02 Nov 2012 08:48:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=+aRnHkypFnRR0Ysw+i85iMzo5cZ3wk0O8DLl1lr4Cic=; b=wVPCwwVfl+daz4qa7PALkuRnkADsm/KD0VuR6F/1t0sKouWO/5CHUzT6HYtDkp/lzv U8Dlkjxsxzu2Y8/SN8Y7Eap3juhmiM4matAfcfubUpl2G07Hdyy2dmhrwnjI6o6dTdxL qFUBcwy2AfUPImKaSdDYue8deslJWDIHcKid3GttTCwkJb08NAyhpi3YsaC0BLmMgQuv YwLN8FKZZbSe0hi+5N4pKy3+WFd7kjK0l6fvYMsi3UUP5AFumuq61HtEP6tvPqk9Z07x rTdCsNoRpcVD2P0hxZXD1Piepu33SURO9yueZVxV85WHuU3M6303SDMMzMxFgT24Y+mR gZDA== MIME-Version: 1.0 Received: by 10.52.94.225 with SMTP id df1mr1850896vdb.114.1351871292600; Fri, 02 Nov 2012 08:48:12 -0700 (PDT) Received: by 10.58.226.163 with HTTP; Fri, 2 Nov 2012 08:48:12 -0700 (PDT) In-Reply-To: References: <20121030121924.GD70741@FreeBSD.org> <20121031123746.GR70741@glebius.int.ru> Date: Fri, 2 Nov 2012 11:48:12 -0400 Message-ID: Subject: Fwd: Interfaces connected by bridge(4) do not pass arp replies From: Kim Culhan To: freebsd-current@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 15:48:13 -0000 On Wed, Oct 31, 2012 at 8:37 AM, Gleb Smirnoff wrote: > On Wed, Oct 31, 2012 at 08:28:48AM -0400, Kim Culhan wrote: > K> Thanks for that, so far the working revision has been found in r240826. > K> > K> Would anyone have a suggestion for a revision to try next ? > > Middle between r240826 and revision that didn't work for you. :) > > -- > Totus tuus, Glebius. Searching for the revision which did not work, I started with a test machine at a revision which was working and tested several builds until the latest at the time: r242429, where it is still working. The 'non-working' machine was also updated to r242429 and it is still not working. For this update, the existing /usr/src tree was removed and a new tree checked-out, /usr/obj was removed before building. The working machine had 2 identical em interfaces, so removed one and installed it into the non-working machine replacing an re interface there. The em interface on the working machine looks like: em0: flags=8943 metric 0 mtu 1500 options=4009b ether 00:15:17:93:95:c9 inet6 fe80::215:17ff:fe93:95c9%em0 prefixlen 64 scopeid 0x1 nd6 options=29 media: Ethernet autoselect (1000baseT ) status: active The identical type em interface on the non-working machine looks like: em0: flags=8943 metric 0 mtu 1500 options=40098 ether 00:15:17:98:5f:e6 inet6 fe80::215:17ff:fe98:5fe6%em0 prefixlen 64 scopeid 0x2 nd6 options=29 media: Ethernet autoselect (1000baseT ) status: active Note the options on the cards are now different, how can I [re]enable RXCSUM,TXCSUM on the card which was moved? Any thoughts on what could be going on would be greatly appreciated. thanks -kim From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 15:54:14 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 002987A8 for ; Fri, 2 Nov 2012 15:54:13 +0000 (UTC) (envelope-from mj@feral.com) Received: from ns1.feral.com (ns1.feral.com [192.67.166.1]) by mx1.freebsd.org (Postfix) with ESMTP id AFE738FC08 for ; Fri, 2 Nov 2012 15:54:13 +0000 (UTC) Received: from [192.168.135.101] (c-71-202-26-251.hsd1.ca.comcast.net [71.202.26.251]) (authenticated bits=0) by ns1.feral.com (8.14.5/8.14.4) with ESMTP id qA2FsCCp052467 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 2 Nov 2012 08:54:12 -0700 (PDT) (envelope-from mj@feral.com) Message-ID: <5093EC9F.80500@feral.com> Date: Fri, 02 Nov 2012 08:54:07 -0700 From: Matthew Jacob Organization: Feral Software User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: November 5th is Clang-Day References: <20121102032945.GF65074@lor.one-eyed-alien.net> <20121102153050.GA44876@freebsd.org> In-Reply-To: <20121102153050.GA44876@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (ns1.feral.com [192.67.166.1]); Fri, 02 Nov 2012 08:54:12 -0700 (PDT) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Matt Jacob List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2012 15:54:14 -0000 On 11/2/2012 8:30 AM, Roman Divacky wrote: > Nice :) > > Does this deserve mentioning in UPDATING and/or version bump? I would think so. From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 16:19:19 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0EB95110; Fri, 2 Nov 2012 16:19:19 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (lor.one-eyed-alien.net [69.66.77.232]) by mx1.freebsd.org (Postfix) with ESMTP id 3DB1F8FC08; Fri, 2 Nov 2012 16:19:18 +0000 (UTC) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.5/8.14.5) with ESMTP id qA2GJHmw092520; Fri, 2 Nov 2012 11:19:17 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.5/8.14.5/Submit) id qA2GJGdl092519; Fri, 2 Nov 2012 11:19:16 -0500 (CDT) (envelope-from brooks) Date: Fri, 2 Nov 2012 11:19:16 -0500 From: Brooks Davis To: Steve Kargl Subject: Re: November 5th is Clang-Day Message-ID: <20121102161916.GA92218@lor.one-eyed-alien.net> References: <20121102032945.GF65074@lor.one-eyed-alien.net> <20121102045917.GA77204@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xHFwDpU9dbj6ez1V" Content-Disposition: inline In-Reply-To: <20121102045917.GA77204@troutmask.apl.washington.edu> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Brooks Davis , freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 16:19:19 -0000 --xHFwDpU9dbj6ez1V Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 01, 2012 at 09:59:17PM -0700, Steve Kargl wrote: > On Thu, Nov 01, 2012 at 10:29:45PM -0500, Brooks Davis wrote: > > - Not all libm tests pass. More work by subject matter experts is > > required to create tests cases for LLVM developers. Most problems a= re > > not expected to be major in practice given that LLVM is being used f= or > > scientific computing in a number of products including Cray's FORTRAN > > compiler, most OpenCL compilers, and the Julia language. >=20 > Is there a knob to continue to use GCC as the default compiler? =20 As someone else stated, WITHOUT_CLANG_IS_CC will do it. > The above statement is somewhat troubling to those of us > who use FreeBSD as computational nodes. I really need reduced test cases. I'll I've been able to find so far has been issues with exception states when NaNs are used and I've not had time to reduce them to something small. Unfortunately the design decision to use asserts in the test suite makes it a pain to dig to assess more than one failure at once. > BTW, the name of the language is "Fortran". It's been "Fortran" > for the last 30-something years. Tell that to aspell's dictionary. :) I'd capitalized it correctly and it wanted to change it. -- Brooks --xHFwDpU9dbj6ez1V Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iD8DBQFQk/KEXY6L6fI4GtQRAucNAJ9EfOhmrtrlaN8a0jXJt1jfdRDoUwCglG2M RxGXQZfzt7OeenOAnlnvgYc= =SEFH -----END PGP SIGNATURE----- --xHFwDpU9dbj6ez1V-- From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 16:21:20 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7404D237; Fri, 2 Nov 2012 16:21:20 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (lor.one-eyed-alien.net [69.66.77.232]) by mx1.freebsd.org (Postfix) with ESMTP id 085A28FC0A; Fri, 2 Nov 2012 16:21:18 +0000 (UTC) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.5/8.14.5) with ESMTP id qA2GLASL092550; Fri, 2 Nov 2012 11:21:10 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.5/8.14.5/Submit) id qA2GLAss092549; Fri, 2 Nov 2012 11:21:10 -0500 (CDT) (envelope-from brooks) Date: Fri, 2 Nov 2012 11:21:10 -0500 From: Brooks Davis To: Anton Shterenlikht Subject: Re: FORTRAN vs. Fortran (was: November 5th is Clang-Day) Message-ID: <20121102162110.GB92218@lor.one-eyed-alien.net> References: <20121102060818.GB48921@eureka.lemis.com> <201211021021.qA2ALJLF020996@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GID0FwUMdk1T2AWN" Content-Disposition: inline In-Reply-To: <201211021021.qA2ALJLF020996@mech-cluster241.men.bris.ac.uk> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: erichfreebsdlist@ovitrap.com, grog@freebsd.org, freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 16:21:20 -0000 --GID0FwUMdk1T2AWN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 02, 2012 at 10:21:19AM +0000, Anton Shterenlikht wrote: > Date: Fri, 2 Nov 2012 17:08:18 +1100 > From: "Greg 'groggy' Lehey" > To: Erich Dollansky > Subject: FORTRAN vs. Fortran (was: November 5th is Clang-Day) >=20 > On Friday, 2 November 2012 at 12:21:03 +0700, Erich Dollansky wrote: > > Hi, > > > > On Thu, 1 Nov 2012 21:59:17 -0700 > > Steve Kargl wrote: > >> > >> BTW, the name of the language is "Fortran". It's been "Fortran" > >> for the last 30-something years. > > > > I never realised the name change. It seems that I am not alone with > > this. >=20 > Nor I. Looking at the Wikipedia page, I discover that it had been > spelt "Fortran" as early as 1956, and there's even a copy of the 1956 > Fortran manual online: http://www.fortran.com/FortranForTheIBM704.pdf > Interesting reading. >=20 > come on guys, fortran is not case sensitive... >=20 > Anyway I guess it's good news that LLVM > is being used also by Cray and Nvidia. > It's a shame though that, with LLVM as the > default compiler, further development of > FreeBSD/ia64 and FreeBSD/sparc64 > will probably suffer and then stop altogether. If you read either my annoucment or the diff closly you will note that the default it only changing for x86 architectures. -- Brooks --GID0FwUMdk1T2AWN Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iD8DBQFQk/L1XY6L6fI4GtQRAu1WAKDANoPoAyj2krsIvmuiEAgHtcQM1ACgqaxJ imXPKisgX8V8iusqnNX3WAI= =ByH2 -----END PGP SIGNATURE----- --GID0FwUMdk1T2AWN-- From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 16:23:50 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 20CE33FF; Fri, 2 Nov 2012 16:23:50 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net (lor.one-eyed-alien.net [69.66.77.232]) by mx1.freebsd.org (Postfix) with ESMTP id 35AD78FC0A; Fri, 2 Nov 2012 16:23:48 +0000 (UTC) Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.14.5/8.14.5) with ESMTP id qA2GNlbq092583; Fri, 2 Nov 2012 11:23:47 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.14.5/8.14.5/Submit) id qA2GNlTM092582; Fri, 2 Nov 2012 11:23:47 -0500 (CDT) (envelope-from brooks) Date: Fri, 2 Nov 2012 11:23:47 -0500 From: Brooks Davis To: Roman Divacky Subject: Re: November 5th is Clang-Day Message-ID: <20121102162347.GC92218@lor.one-eyed-alien.net> References: <20121102032945.GF65074@lor.one-eyed-alien.net> <20121102153050.GA44876@freebsd.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+nBD6E3TurpgldQp" Content-Disposition: inline In-Reply-To: <20121102153050.GA44876@freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 16:23:50 -0000 --+nBD6E3TurpgldQp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Nov 02, 2012 at 04:30:50PM +0100, Roman Divacky wrote: > Nice :) >=20 > Does this deserve mentioning in UPDATING and/or version bump? It certainly does deserve mention in UPDATING. A version bump is probably useful if we end up wanting to make USE_GCC=3Dany the default post the switch so I will do both. -- Brooks >=20 > On Thu, Nov 01, 2012 at 10:29:45PM -0500, Brooks Davis wrote: > > On Monday, November 5th I plan to commit the following patch to make > > clang the default compiler on i386 and amd64. Many people have worked > > long and hard to make this a reality and we're finally close enough to > > throw the switch. For many users the transition should be transparent. > > Others will likely hit some bumps, but I think we've addresses most > > major issues at this point and the LLVM community has demonstrated it's > > ability and willingness to help given actionable bug reports. > >=20 > > Known Issues > > - Not all ports compile with clang. This can be worked around in > > individual ports by setting USE_GCC=3Dany which will cause the base = gcc > > to be used. Depending how things shake out we may end up making > > USE_GCC=3Dany the default for a period. [0] > > - Not all libm tests pass. More work by subject matter experts is > > required to create tests cases for LLVM developers. Most problems a= re > > not expected to be major in practice given that LLVM is being used f= or > > scientific computing in a number of products including Cray's FORTRAN > > compiler, most OpenCL compilers, and the Julia language. > > - Small but noticeable slowdown in some benchmarks. For example > > sysbench against mysql was found to run about 1% slower on top of a > > clang compiled world+kernel. http://people.freebsd.org/~flo/perf.pdf > >=20 > > Known Non-Issues > > - "make buildenv" works fine with clang. > >=20 > > -- Brooks > >=20 > > [0] Work is underway to switch to building ports with a ports specific > > compiler version. Likely this will be gcc-4.6 initially. This would > > help insulate ports from the base compiler. That being said, there are > > significant advantages to getting as many ports as possible to build > > with clang. Among other things, cross building for embedded systems is > > much easier with clang. > >=20 > >=20 > > Index: share/mk/bsd.own.mk > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > --- share/mk/bsd.own.mk (revision 242464) > > +++ share/mk/bsd.own.mk (working copy) > > @@ -426,7 +426,6 @@ > > BIND_XML \ > > BSDCONFIG \ > > CLANG_EXTRAS \ > > - CLANG_IS_CC \ > > CTF \ > > HESIOD \ > > ICONV \ > > @@ -455,6 +454,12 @@ > > .else > > __DEFAULT_NO_OPTIONS+=3DCLANG > > .endif > > +# Clang the default system compiler only on x86. > > +.if ${__T} =3D=3D "amd64" || ${__T} =3D=3D "i386" > > +__DEFAULT_YES_OPTIONS+=3DCLANG_IS_CC > > +.else > > +__DEFAULT_NO_OPTIONS+=3DCLANG_IS_CC > > +.endif > > # FDT is needed only for arm, mips and powerpc > > .if ${__T:Marm*} || ${__T:Mpowerpc*} || ${__T:Mmips*} > > __DEFAULT_YES_OPTIONS+=3DFDT >=20 >=20 --+nBD6E3TurpgldQp Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iD8DBQFQk/OSXY6L6fI4GtQRAsLPAJ4i4fG8bQESblWJfZ6tGYwO2/untACffgx+ X6QQXUSnx5N7GMFq7JyvAAw= =vFKc -----END PGP SIGNATURE----- --+nBD6E3TurpgldQp-- From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 16:38:27 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0698D8E4 for ; Fri, 2 Nov 2012 16:38:27 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 69B008FC14 for ; Fri, 2 Nov 2012 16:38:25 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id b5so3486091lbd.13 for ; Fri, 02 Nov 2012 09:38:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=Hz5dpbJv6khXQf9Iu9h6eta4AFdDOFfxodUTPJ6OKRk=; b=RcQdVLnkbqzubBuMUlPqbDWLF0BSF8MrlMe/3WLJ5V8Q+MuqylRBkRg169Lp3b00Nr kjCUYfNXmRhN5RhuyVolyq1L2PtM3XGMxNDtBlm29Xa9kVoyQcnUlNUlwBucs9udcvjJ doPw99IuuKOSIJg+y424EV/rhGZuwkuChax9Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=Hz5dpbJv6khXQf9Iu9h6eta4AFdDOFfxodUTPJ6OKRk=; b=F5uWhLfG7zmG7IZPjnC/0qFMrgF6dfjjgadDtRvE0gE0lHyI3NV2G9XQujxNvL4Oc5 ljUfKIOEsp00Y5VcMgOb8gA428Jd02h8Mn+W+KKZcV+8V1vpf0t0WeFEpb20FR7sqsvW i/C+RqA/JbNeMcm1rRdbiWvinctySxtnYMJczQhhc1nS7QGISr6Lf1nIfP12Uufm6Z6u g79GARoS2WhBu/RwVc4EDvSmpstkOpqEuKDGXkpbqQysqM4zNm7yIvwsGGuHFiP6CI9e /QMfqioWceVTKhjZaEZ4KDfRJXeHprerIbUhUICs/1rrCLKqvOJo1/I+IdCEh7tHzrZs NSKg== Received: by 10.152.144.201 with SMTP id so9mr2196819lab.24.1351874304843; Fri, 02 Nov 2012 09:38:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.25.166 with HTTP; Fri, 2 Nov 2012 09:37:54 -0700 (PDT) In-Reply-To: <20121102162347.GC92218@lor.one-eyed-alien.net> References: <20121102032945.GF65074@lor.one-eyed-alien.net> <20121102153050.GA44876@freebsd.org> <20121102162347.GC92218@lor.one-eyed-alien.net> From: Eitan Adler Date: Fri, 2 Nov 2012 12:37:54 -0400 Message-ID: Subject: Re: November 5th is Clang-Day To: Brooks Davis Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQkiusc9WsIYFdxBj4GcM2czENvhAiGzauJefzf1i/UaRbVjlmfbJ+urP9gsgGCXWqF4sJFC Cc: Roman Divacky , freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 16:38:27 -0000 On 2 November 2012 12:23, Brooks Davis wrote: > On Fri, Nov 02, 2012 at 04:30:50PM +0100, Roman Divacky wrote: >> Nice :) >> >> Does this deserve mentioning in UPDATING and/or version bump? > > It certainly does deserve mention in UPDATING. A version bump is > probably useful if we end up wanting to make USE_GCC=any the default > post the switch so I will do both. Thank you. -- Eitan Adler From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 17:18:39 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 846CC9B5; Fri, 2 Nov 2012 17:18:39 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2E7C88FC0C; Fri, 2 Nov 2012 17:18:39 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so4865833oag.13 for ; Fri, 02 Nov 2012 10:18:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=xDcAHbeibi7vRXGRFGRs+hSAM0Mn6LMq0OOmMKQVxtE=; b=GfRvu0ML1jEy2GJyvHQBKy5DMyGRgqq7M2E8Ji/4lMAoc5wavWxC8qKdSZYmxkaUNL kwV1VRF5t32jSaaXkgGYicXbrOi8FFQADpItWm+mQAOt2fDBTTbhnAgnyyNmvTSDiEn4 KyZQxaSMTyTLt/2bdIJaj1dvSBkyN1Ai2VG0iI9yu1/DMlCGI0i7Fv9PHKDSWF+9xWyt mu0pB3GIAv213fs9CzVmTmcGrR+DXa6mQars+cWm+cr6toBmpAW/yE+ShcK83t/rnfeO ayQPZcshvFFGq57Do/AFUGKVMmgLMPcEO4GgJnJrVhjXw1ElOuLzYLFsIkvSnfHVlOzb 3+kw== MIME-Version: 1.0 Received: by 10.182.42.6 with SMTP id j6mr1872946obl.93.1351876718275; Fri, 02 Nov 2012 10:18:38 -0700 (PDT) Received: by 10.76.143.33 with HTTP; Fri, 2 Nov 2012 10:18:38 -0700 (PDT) In-Reply-To: References: <20121102032945.GF65074@lor.one-eyed-alien.net> <20121102045917.GA77204@troutmask.apl.washington.edu> Date: Fri, 2 Nov 2012 10:18:38 -0700 Message-ID: Subject: Re: November 5th is Clang-Day From: Garrett Cooper To: Steve Kargl Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Brooks Davis , freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 17:18:39 -0000 On Thu, Nov 1, 2012 at 10:05 PM, Garrett Cooper wrote: > On Thu, Nov 1, 2012 at 9:59 PM, Steve Kargl > wrote: > > On Thu, Nov 01, 2012 at 10:29:45PM -0500, Brooks Davis wrote: > >> - Not all libm tests pass. More work by subject matter experts is > >> required to create tests cases for LLVM developers. Most problems > are > >> not expected to be major in practice given that LLVM is being used > for > >> scientific computing in a number of products including Cray's FORTRAN > >> compiler, most OpenCL compilers, and the Julia language. > > > > Is there a knob to continue to use GCC as the default compiler? > > Just specify CLANG_IS_CC=no in /etc/src.conf . > Correcting myself for the posterity's sake: WITHOUT_CLANG_IS_CC=, not CLANG_IS_CC=no Thanks, -Garrett From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 18:27:31 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 032E7B1D for ; Fri, 2 Nov 2012 18:27:31 +0000 (UTC) (envelope-from jroberson@jroberson.net) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id C09418FC12 for ; Fri, 2 Nov 2012 18:27:29 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id rp8so2813479pbb.13 for ; Fri, 02 Nov 2012 11:27:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:x-x-sender:to:subject:message-id:user-agent:mime-version :content-type:x-gm-message-state; bh=cUWiu4eaY3/9Tp1XlmmrOW/kQSvgInlEG6a4sA1IRl0=; b=Vlkvlip/gks3be7sKmWTvWg6MzUis86upP34/k+7crWnH3xF51tCJmc7j1NudFTuot HxcKepbzyBEzVb9QG4LOcTLzzW6PifZ+1EgujRhk8KYlVWYe/DqwsUPB7DCTxzThdJtJ plpFhYWxtxebdli1oOPgADCJmy7jrFrWALdUicKKCyehchb0QFpEn7cnvYNztaClcKFa A3rGkTfADdrkPCO4k7Y6NRiA1+09IBYZxOiphQKYqRTb3gNi5PCNnp7ESwZhAGWXOPmH Os00zThUFMrmaQ0U1twwS635UdAeTcQJCpSVMQ2+pKEfCLR51uNqp+EAooRpARpZ1Zyb yksQ== Received: by 10.68.189.8 with SMTP id ge8mr8914534pbc.24.1351880849420; Fri, 02 Nov 2012 11:27:29 -0700 (PDT) Received: from rrcs-66-91-135-210.west.biz.rr.com (rrcs-66-91-135-210.west.biz.rr.com. [66.91.135.210]) by mx.google.com with ESMTPS id ho7sm6121879pbc.3.2012.11.02.11.27.27 (version=SSLv3 cipher=OTHER); Fri, 02 Nov 2012 11:27:28 -0700 (PDT) Date: Fri, 2 Nov 2012 08:26:07 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: current@freebsd.org Subject: ULE patch, call for testers Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Gm-Message-State: ALoCoQlWAJUHxjt2OWonBl6VBA+qrCMu4B4MZTK6FjJvy4grUtb4nkh5s87CFa4sfmE53w6dFwwE X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 18:27:31 -0000 I have a small patch to the ULE scheduler that makes a fairly large change to the way timeshare threads are handled. http://people.freebsd.org/~jeff/schedslice.diff Previously ULE used a fixed slice size for all timeshare threads. Now it scales the slice size down based on load. This should reduce latency for timeshare threads as load increases. It is important to note that this does not impact interactive threads. But when a thread transitions to interactive from timeshare it should see some improvement. This happens when something like Xorg chews up a lot of CPU. If anyone has perf tests they'd like to run please report back. I have done a handful of validation. Thanks, Jeff From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 19:09:39 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E6BC5ED4 for ; Fri, 2 Nov 2012 19:09:39 +0000 (UTC) (envelope-from mdf356@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id B363B8FC08 for ; Fri, 2 Nov 2012 19:09:39 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi1so2835457pad.13 for ; Fri, 02 Nov 2012 12:09:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=YPjOMSCAlm89FlWEUM+BhD6omI3vqwuQ9kyvz8KeG+0=; b=lnvWQfEWkI91Lcn757rVkKbl4cBZ2BR0iGJavWXdqbTCsJf8VgivSlobu1S/3ZQyjc ls9pjvhiZ2002KpMxZFhqHGu1zGp9QiFDEKihDUu9u9CF8M3cSahcQcC7LeRT5l3y7Jj AaQXNZK0zIsitSTbbcTfy9t/JmrT1v2aqKjIwtC3SW0Zw4dBl+c5TOB2yUfmhDwNeYTZ b5Pi1/4c7pzF42YWc1f/5XKorUMDRB1fWr78exQzpzic2gXhDj31C7fMhlSufIs52+k6 JvZA0lecaqvA7yaGZ4pAXVNAVP/vz7CR0jcrNphI12Ex77y87KzigAu7YT0+V+OHHxvo jTkw== MIME-Version: 1.0 Received: by 10.66.74.65 with SMTP id r1mr7716257pav.75.1351883378802; Fri, 02 Nov 2012 12:09:38 -0700 (PDT) Sender: mdf356@gmail.com Received: by 10.68.223.105 with HTTP; Fri, 2 Nov 2012 12:09:38 -0700 (PDT) In-Reply-To: References: <1351780831.1120.137.camel@revolution.hippie.lan> Date: Fri, 2 Nov 2012 12:09:38 -0700 X-Google-Sender-Auth: -j3LYyx-bfmemg1wRoOMGotjTps Message-ID: Subject: Re: FILE's _file can only hold a short From: mdf@FreeBSD.org To: Eitan Adler Content-Type: text/plain; charset=ISO-8859-1 Cc: Ian Lepore , freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 19:09:40 -0000 On Thu, Nov 1, 2012 at 7:41 PM, Eitan Adler wrote: > On 1 November 2012 10:40, Ian Lepore wrote: >> On Wed, 2012-10-31 at 11:12 -0700, mdf@freebsd.org wrote: >>> I seem to recall a thread earlier on this limitation, but looking at >>> actual libc/stdio sources, the 4 year old check for open(2)'s fd being >>> less than SHRT_MAX is still there. I thought I saw a patch to change >>> this to an int, but it's not in the tree. Was this in a PR or a >>> mailing list thread or am I just imagining things? >>> >>> We've run into this limitation at work, where some processes have >>> around 32k open file descriptors and then try to use the libc FILE >>> interface. Since we control ABI we can just change this to int, but I >>> had been hoping there was a FreeBSD revision we could pull instead of >>> having another diff. >> >> FWIW, I also remember some discussion recently (this year) on some >> mailing list about this, but I can't find it now. I thought it was >> somehow related to in-lib versus external uses of the funopen() >> function, but I may be conflating two unrelated discusssions in my head. > > Perhaps http://freebsd.1045724.n5.nabble.com/stdio-and-short-file-descriptors-revisited-td5747703.html > ? Yes, that was it exactly. Thanks! My (quick) search had not been fruitful. Thanks, matthew From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 19:24:44 2012 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 72A9C7F6; Fri, 2 Nov 2012 19:24:44 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id 008F28FC08; Fri, 2 Nov 2012 19:24:44 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:dc:ffe:46f:81d2]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 492B94AC1C; Fri, 2 Nov 2012 23:24:34 +0400 (MSK) Date: Fri, 2 Nov 2012 23:24:28 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <1812982114.20121102232428@serebryakov.spb.ru> To: Baptiste Daroussin Subject: Re: [HEADSUP] current switched by default to pkgng In-Reply-To: <20121010134421.GI26497@ithaqua.etoilebsd.net> References: <20121010134421.GI26497@ithaqua.etoilebsd.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: ports@FreeBSD.org, ports-announce@FreeBSD.org, current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2012 19:24:44 -0000 Hello, Baptiste. You wrote 10 =D0=BE=D0=BA=D1=82=D1=8F=D0=B1=D1=80=D1=8F 2012 =D0=B3., 17:44= :21: BD> Make sure to read UPDATING (from ports) to correctly migrate your syste= m or find BD> instruction to make your system still running with legacy pkg_install t= ools. Did somebody update nanobsd scripts? ;-) --=20 // Black Lion AKA Lev Serebryakov From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 20:23:37 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8A7379F1; Fri, 2 Nov 2012 20:23:37 +0000 (UTC) (envelope-from wkoszek@freebsd.czest.pl) Received: from freebsd.czest.pl (freebsd.czest.pl [212.87.224.105]) by mx1.freebsd.org (Postfix) with ESMTP id 0C4C18FC08; Fri, 2 Nov 2012 20:23:36 +0000 (UTC) Received: from freebsd.czest.pl (freebsd.czest.pl [212.87.224.105]) by freebsd.czest.pl (8.14.5/8.14.5) with ESMTP id qA2KDIj2024804; Fri, 2 Nov 2012 20:13:18 GMT (envelope-from wkoszek@freebsd.czest.pl) Received: (from wkoszek@localhost) by freebsd.czest.pl (8.14.5/8.14.5/Submit) id qA2KDIn8024803; Fri, 2 Nov 2012 20:13:18 GMT (envelope-from wkoszek) Date: Fri, 2 Nov 2012 20:13:18 +0000 From: "Wojciech A. Koszek" To: freebsd-current@freebsd.org, freebsd-stable@freebsd.org, freebsd-hackers@freebsd.org Subject: Re: FreeBSD in Google Code-In 2012? You can help too! Message-ID: <20121102201318.GI59689@FreeBSD.org> References: <20121016101957.GB53800@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline In-Reply-To: <20121016101957.GB53800@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (freebsd.czest.pl [212.87.224.105]); Fri, 02 Nov 2012 20:13:18 +0000 (UTC) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 20:23:37 -0000 On Tue, Oct 16, 2012 at 10:19:57AM +0000, Wojciech A. Koszek wrote: > (cross-posted message; please keep discussion on freebsd-hackers@) > > Hello, > > Last year FreeBSD qualified for Google Code-In 2011 event--contest for > youngest open-source hackers in 13-17yr age range: > > http://www.google-melange.com/gci/homepage/google/gci2012 > > It was successful. We gained one more FreeBSD developer thanks to that > (Isabell Long) We're pondering participating in the contest this year as > well. > > For now we only have 25 ideas. We need at least 100. > > I felt all members of the FreeBSD community should help, so please submit > your own Google Code-In 2012 ideas here: > > http://www.emailmeform.com/builder/form/4aU93Obxo4NYdVAgb1 > > Examples of previously completed tasks: > > http://wiki.freebsd.org/GoogleCodeIn/2011Tasks > > Those of you who have Wiki access, please spent 2 more minutes and submit > straight to Wiki: > > http://wiki.freebsd.org/GoogleCodeIn/2012Tasks > > I plan to send out next e-mail if there's any progress on this project. > > Help will be appreciated. Hello, This is last call for action. As for now, we won't qualify. I suggest doc@ and ports@ and www@ and src@ teams to try to come up with some ideas and add them to Wiki. Most of the ideas which we have so far are more GSOC-alike. Unless we have at least 80 tasks of the "easy"/"medium" type, we'll have to postpone participating in Code-In for next year. Thanks, -- Wojciech A. Koszek wkoszek@FreeBSD.czest.pl http://FreeBSD.czest.pl/~wkoszek/ From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 20:36:48 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9BC4A186 for ; Fri, 2 Nov 2012 20:36:48 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1D2CD8FC08 for ; Fri, 2 Nov 2012 20:36:47 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fw7so5511265vcb.13 for ; Fri, 02 Nov 2012 13:36:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=l+EE2tqyhlNFp4ljpPh3BQPWUob60yk2Wh/e0WOLVpg=; b=shBEi2j4ILI26hZXtOP4vCm+HZznYDv24pkjK/ogES3Z9/PxF/JcG0pVQ2MY2bCXa8 Cw25pllRBpfanSlcL35aX3MMukud+lJ5TZRdFYDZWEnkSzLY2Dy+nI0kw9rCI0n/Fq7L N3z1i7a+54aWgkBzhffOvZDNQ8ILKX3vbgJs8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=l+EE2tqyhlNFp4ljpPh3BQPWUob60yk2Wh/e0WOLVpg=; b=Ev3jaFt+RdnMrfsYNL0Tl/sMljiZV5DsF1TOMhFyM4Ka7eH7GvlcPrzhFU/sToB8pa CN4c45vU0K5Vcal8dEY9qTjtRWUBwoo+Hn0Vn1nMm9JmLe1lBN9xELqn0F/ndA5tCtkK gvgmc9rkFFTl1eZc0dlFgzHbgfTqp/NFQLfmjrSoXjsDuMnABRUilY+WvKvM2d91vXEA fK13iRLqmbCw5cBOf3AS3g+UjlpmuGdXoyeJz37vCHHNlMYvwwpwcYqpDQh9d0iKHRnU NMxb6AnS4E9Ztc3jodKsJnYAsRGP5tKO/EMDgokxszctpJS30rKce4y5HjJ3cTHZlX08 jEaQ== Received: by 10.52.32.1 with SMTP id e1mr2588101vdi.68.1351888607159; Fri, 02 Nov 2012 13:36:47 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.58.206 with HTTP; Fri, 2 Nov 2012 13:36:16 -0700 (PDT) In-Reply-To: References: From: Eitan Adler Date: Fri, 2 Nov 2012 16:36:16 -0400 Message-ID: Subject: Re: ULE patch, call for testers To: Jeff Roberson Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQlUwVw483KA6EqW7SfaOOlaRmqzUZEvcmNsUUVVjmX+oJuzrGBWGIIr/X3I42mafc1e7Icr Cc: current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 20:36:48 -0000 On 2 November 2012 14:26, Jeff Roberson wrote: > I have a small patch to the ULE scheduler that makes a fairly large change > to the way timeshare threads are handled. > > http://people.freebsd.org/~jeff/schedslice.diff > > Previously ULE used a fixed slice size for all timeshare threads. Now it > scales the slice size down based on load. This should reduce latency for > timeshare threads as load increases. It is important to note that this does > not impact interactive threads. But when a thread transitions to > interactive from timeshare it should see some improvement. This happens > when something like Xorg chews up a lot of CPU. > > If anyone has perf tests they'd like to run please report back. I have done > a handful of validation. does it make sense to make these sysctls? +#define SCHED_SLICE_DEFAULT_DIVISOR 10 /* 100 ms. */ +#define SCHED_SLICE_MIN_DIVISOR 4 /* DEFAULT/MIN = 25 ms. */ -- Eitan Adler From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 20:41:38 2012 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1D8F62EB; Fri, 2 Nov 2012 20:41:38 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id A30FC8FC08; Fri, 2 Nov 2012 20:41:37 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:dc:ffe:46f:81d2]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 1DE0D4AC1C; Sat, 3 Nov 2012 00:41:36 +0400 (MSK) Date: Sat, 3 Nov 2012 00:41:31 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <713586893.20121103004131@serebryakov.spb.ru> To: Lev Serebryakov Subject: Re: [HEADSUP] current switched by default to pkgng In-Reply-To: <1812982114.20121102232428@serebryakov.spb.ru> References: <20121010134421.GI26497@ithaqua.etoilebsd.net> <1812982114.20121102232428@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: ports@FreeBSD.org, Baptiste Daroussin , ports-announce@FreeBSD.org, current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2012 20:41:38 -0000 Hello, Lev. You wrote 2 =D0=BD=D0=BE=D1=8F=D0=B1=D1=80=D1=8F 2012 =D0=B3., 23:24:28: BD>> Make sure to read UPDATING (from ports) to correctly migrate your syst= em or find BD>> instruction to make your system still running with legacy pkg_install = tools. LS> Did somebody update nanobsd scripts? ;-) Simple replacing "pkg_add" with "pkg add" doesn't work ;-) --=20 // Black Lion AKA Lev Serebryakov From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 21:00:56 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 295917EA for ; Fri, 2 Nov 2012 21:00:56 +0000 (UTC) (envelope-from jroberson@jroberson.net) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id E4EBA8FC0A for ; Fri, 2 Nov 2012 21:00:55 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi1so2889061pad.13 for ; Fri, 02 Nov 2012 14:00:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:x-x-sender:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version:content-type:x-gm-message-state; bh=uWOvDz9M5XIZZr4wWGTiIX4oVf50gF8z9GRHf+83e9w=; b=W5jATP2nJbLsmFh7lM8u+x24N+q6JoLMttGpI3NuIGrCw/PGugJgI/dClO55aeuLLx BQDboco7C5/IG979+fvC7LFfKx4WjuSfC9l9UehFnV7aBQC47EFzoNrgiM0Gau+xTDap 8KfxcL+lDlej1MREUisOguGB4Ovm6xkjM0QxUrsIfaUwL3ET/fSr6FRr9OBlGEjDm1VL 4VAF2mtQf18LGZTsPBRc+RZmdGGA7E6wScbS8IYwESChsN+kC1pY2mmIS3hO3EvFhN6S qt1nZtBBHJbyuLkvOcwAVCMEtjSMYhza5BfPf0hB8kvl2NdSQbpwFlkvimgmeZjguqHo it4w== Received: by 10.68.230.135 with SMTP id sy7mr9711656pbc.76.1351890055322; Fri, 02 Nov 2012 14:00:55 -0700 (PDT) Received: from rrcs-66-91-135-210.west.biz.rr.com (rrcs-66-91-135-210.west.biz.rr.com. [66.91.135.210]) by mx.google.com with ESMTPS id gq10sm677821pbc.54.2012.11.02.14.00.54 (version=SSLv3 cipher=OTHER); Fri, 02 Nov 2012 14:00:54 -0700 (PDT) Date: Fri, 2 Nov 2012 10:59:33 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: Eitan Adler Subject: Re: ULE patch, call for testers In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Gm-Message-State: ALoCoQkk8roOrYUZtTwKS24sAQ/w3WaiiwZ9JeY1cHwxvKCqkgs3GFJXJTbT3nBDOMwtukggjmpV Cc: current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 21:00:56 -0000 On Fri, 2 Nov 2012, Eitan Adler wrote: > On 2 November 2012 14:26, Jeff Roberson wrote: >> I have a small patch to the ULE scheduler that makes a fairly large change >> to the way timeshare threads are handled. >> >> http://people.freebsd.org/~jeff/schedslice.diff >> >> Previously ULE used a fixed slice size for all timeshare threads. Now it >> scales the slice size down based on load. This should reduce latency for >> timeshare threads as load increases. It is important to note that this does >> not impact interactive threads. But when a thread transitions to >> interactive from timeshare it should see some improvement. This happens >> when something like Xorg chews up a lot of CPU. >> >> If anyone has perf tests they'd like to run please report back. I have done >> a handful of validation. > > does it make sense to make these sysctls? > > +#define SCHED_SLICE_DEFAULT_DIVISOR 10 /* 100 ms. */ > +#define SCHED_SLICE_MIN_DIVISOR 4 /* DEFAULT/MIN = 25 ms. */ > DEFAULT_DIVISOR is indirectly through the sysctls that modify the slice. The min divisor could be. I will consider adding that. Thanks, Jeff > > -- > Eitan Adler > From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 23:45:47 2012 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7A89BBCD; Fri, 2 Nov 2012 23:45:47 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 583758FC12; Fri, 2 Nov 2012 23:45:47 +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 qA2Njlon084268; Fri, 2 Nov 2012 23:45:47 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qA2Njlub084267; Fri, 2 Nov 2012 23:45:47 GMT (envelope-from bapt@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f Date: Sat, 3 Nov 2012 00:45:43 +0100 From: Baptiste Daroussin To: Lev Serebryakov Subject: Re: [HEADSUP] current switched by default to pkgng Message-ID: <20121102234543.GA66354@ithaqua.etoilebsd.net> References: <20121010134421.GI26497@ithaqua.etoilebsd.net> <1812982114.20121102232428@serebryakov.spb.ru> <713586893.20121103004131@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J2SCkAp4GZ/dPZZf" Content-Disposition: inline In-Reply-To: <713586893.20121103004131@serebryakov.spb.ru> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: ports@FreeBSD.org, current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 23:45:47 -0000 --J2SCkAp4GZ/dPZZf Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 03, 2012 at 12:41:31AM +0400, Lev Serebryakov wrote: > Hello, Lev. > You wrote 2 =D0=BD=D0=BE=D1=8F=D0=B1=D1=80=D1=8F 2012 =D0=B3., 23:24:28: >=20 > BD>> Make sure to read UPDATING (from ports) to correctly migrate your sy= stem or find > BD>> instruction to make your system still running with legacy pkg_instal= l tools. > LS> Did somebody update nanobsd scripts? ;-) > Simple replacing "pkg_add" with "pkg add" doesn't work ;-) >=20 I know some people have some patches for nanobsd that should work with pkgn= g, but I don't know much about it. regards, Bapt --J2SCkAp4GZ/dPZZf Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlCUWycACgkQ8kTtMUmk6EzQ7QCgu6TGzqR0lMb+nIu43I2odqPw EB0AoJO0ja2Wz5JsVlQWUeH1itO9IcMM =WMCr -----END PGP SIGNATURE----- --J2SCkAp4GZ/dPZZf-- From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 23:56:25 2012 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1F272E16; Fri, 2 Nov 2012 23:56:25 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id D5D488FC0C; Fri, 2 Nov 2012 23:56:24 +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 qA2NuOCt084513; Fri, 2 Nov 2012 23:56:24 GMT (envelope-from bapt@FreeBSD.org) Received: (from bapt@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id qA2NuOA9084512; Fri, 2 Nov 2012 23:56:24 GMT (envelope-from bapt@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: bapt set sender to bapt@FreeBSD.org using -f Date: Sat, 3 Nov 2012 00:56:22 +0100 From: Baptiste Daroussin To: Lev Serebryakov Subject: Re: [HEADSUP] current switched by default to pkgng Message-ID: <20121102235622.GD66354@ithaqua.etoilebsd.net> References: <20121010134421.GI26497@ithaqua.etoilebsd.net> <1812982114.20121102232428@serebryakov.spb.ru> <713586893.20121103004131@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="W5WqUoFLvi1M7tJE" Content-Disposition: inline In-Reply-To: <713586893.20121103004131@serebryakov.spb.ru> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: ports@FreeBSD.org, ports-announce@FreeBSD.org, current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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, 02 Nov 2012 23:56:25 -0000 --W5WqUoFLvi1M7tJE Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 03, 2012 at 12:41:31AM +0400, Lev Serebryakov wrote: > Hello, Lev. > You wrote 2 =D0=BD=D0=BE=D1=8F=D0=B1=D1=80=D1=8F 2012 =D0=B3., 23:24:28: >=20 > BD>> Make sure to read UPDATING (from ports) to correctly migrate your sy= stem or find > BD>> instruction to make your system still running with legacy pkg_instal= l tools. > LS> Did somebody update nanobsd scripts? ;-) > Simple replacing "pkg_add" with "pkg add" doesn't work ;-) >=20 > --=20 > // Black Lion AKA Lev Serebryakov >=20 > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" The BSDmc project (http://code.google.com/p/bsdmc/) uses nanobsd and pkgng,= have a look in particular at the following diff: http://code.google.com/p/bsdmc/source/detail?r=3D75 Maybe you can find something helpful for you in there :) regards, Bapt --W5WqUoFLvi1M7tJE Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlCUXaYACgkQ8kTtMUmk6Ey91gCgu4PGsOi/ZhWAtXh9pF2p9n9h eb4AoKZnSza6tzbV3iiZXXrtvm5lC70a =ZEMB -----END PGP SIGNATURE----- --W5WqUoFLvi1M7tJE-- From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 07:48:52 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0E77AA6; Sat, 3 Nov 2012 07:48:52 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 26DFC8FC0A; Sat, 3 Nov 2012 07:48:50 +0000 (UTC) Received: by mail-ee0-f54.google.com with SMTP id c50so2728157eek.13 for ; Sat, 03 Nov 2012 00:48:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:user-agent:cc:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; bh=h1FiSwEbhdusFkdH9EYqhsWbFCTpU/XvLpPqGPBl3bk=; b=VAJH7XQJoj7ILWyJ498/eLzfTiC/bW3VqVxWCG3LxCDHGqBRgtzTeF80xKmpVj/Jl9 Z8jK8RRqb0e94fIml9kHLQbF5chc5/E/UYPt7BJv3X7C3w7/QpQ3jJlPNGRwiu0Ut0Nq fZG7IoQDXYQLDZPWzSo5A+HuUVLrH/CKgv2aObA6tYLNzfJqN02U8MxOY4UcPxa42X/I PXDpZUW/296AW7NxToGNyVXaLUEhZG7HpVbjplLtmzNbYNoIMkwI0eILqmr4QSqCdtau FXggsbbwZcwqG0tiYzk4tcNxi+9FITtU7pMbydPvm9kZFg1EXBFyCnmoZSO94kkjFmRO RNnw== Received: by 10.14.214.2 with SMTP id b2mr15010901eep.32.1351928929680; Sat, 03 Nov 2012 00:48:49 -0700 (PDT) Received: from dragon.dg (41-132-211-149.dsl.mweb.co.za. [41.132.211.149]) by mx.google.com with ESMTPS id f2sm29436036eep.2.2012.11.03.00.48.46 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 03 Nov 2012 00:48:48 -0700 (PDT) From: David Naylor To: freebsd-current@freebsd.org Subject: Re: November 5th is Clang-Day Date: Sat, 3 Nov 2012 09:48:40 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.1-PRERELEASE; KDE/4.9.1; amd64; ; ) References: <20121102032945.GF65074@lor.one-eyed-alien.net> <1TU9lE-000KmO-Cc@internal.tormail.org> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart34669012.oYyl0Wpdqq"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201211030948.43530.naylor.b.david@gmail.com> Cc: Brooks Davis , David Chisnall , Jan Beich X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 07:48:52 -0000 --nextPart34669012.oYyl0Wpdqq Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Friday, 2 November 2012 10:13:30 David Chisnall wrote: > On 2 Nov 2012, at 05:24, Jan Beich wrote: > >> Known Issues > >=20 > > emulators/wine doesn't work with lib32 built by clang, probably due to > > wine bugs. >=20 > Is this still the case? There was an issue preventing WINE from working > because it required stricter stack alignment than clang provided by > default, but I thought it was fixed. Does WINE work if compiled with the > flag that forces stack realignment? If not, then it's some other issue... There are two issues here: 1) wine compiled with clang, and 2) wine (compil= ed=20 with gcc) running on clang compiled base. =20 Regarding 1), according to the wiki [1], wine does have stack alignment iss= ues=20 and some wine programs do not run when compiled with clang [2][3] and other= =20 bugs with clang cause freezing within wine [4][5]. The impression I get is= =20 that, using the work-a-round of stack realignment, wine does work to some=20 extent when compiled by clang. =20 Regarding 2) (which I believe Jan was referring to), when I have a gcc buil= t=20 world and just replace lib32 with clang built libraries I have winecfg and= =20 regedit launching but displaying black screens. Switching back to gcc buil= t=20 lib32 I get a working winecfg and regedit. This, to me, indicates a clang= =20 error somewhere. =20 The test was done on FreeBSD 9-Stable with: # clang --version =46reeBSD clang version 3.1 (branches/release_31 156863) 20120523 Target: x86_64-unknown-freebsd9.0 Thread model: posix Regards [1] wiki.winehq.org/Clang [2] (regedit) http://llvm.org/bugs/show_bug.cgi?id=3D9830 [3] (wineboot) http://llvm.org/bugs/show_bug.cgi?id=3D9844 [4] http://llvm.org/bugs/show_bug.cgi?id=3D9704 [5] http://llvm.org/bugs/show_bug.cgi?id=3D9707 --nextPart34669012.oYyl0Wpdqq Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEABECAAYFAlCUzFsACgkQUaaFgP9pFrKBHQCfYYozaPkx5SMvkmm+VPI8t+iA 1JIAnAq1cq2YTGL+Hbm+hr8pdLxhbHFD =m0nn -----END PGP SIGNATURE----- --nextPart34669012.oYyl0Wpdqq-- From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 07:50:39 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2BB5324F; Sat, 3 Nov 2012 07:50:39 +0000 (UTC) (envelope-from peter@rulingia.com) Received: from vps.rulingia.com (host-122-100-2-194.octopus.com.au [122.100.2.194]) by mx1.freebsd.org (Postfix) with ESMTP id ACE8F8FC0A; Sat, 3 Nov 2012 07:50:37 +0000 (UTC) Received: from server.rulingia.com (c220-239-241-202.belrs5.nsw.optusnet.com.au [220.239.241.202]) by vps.rulingia.com (8.14.5/8.14.5) with ESMTP id qA37oZdm069210 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sat, 3 Nov 2012 18:50:36 +1100 (EST) (envelope-from peter@rulingia.com) X-Bogosity: Ham, spamicity=0.000000 Received: from server.rulingia.com (localhost.rulingia.com [127.0.0.1]) by server.rulingia.com (8.14.5/8.14.5) with ESMTP id qA37oUSV085544 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 3 Nov 2012 18:50:30 +1100 (EST) (envelope-from peter@server.rulingia.com) Received: (from peter@localhost) by server.rulingia.com (8.14.5/8.14.5/Submit) id qA37oT0f085543; Sat, 3 Nov 2012 18:50:29 +1100 (EST) (envelope-from peter) Date: Sat, 3 Nov 2012 18:50:29 +1100 From: Peter Jeremy To: Brooks Davis Subject: Re: FORTRAN vs. Fortran (was: November 5th is Clang-Day) Message-ID: <20121103075029.GC12996@server.rulingia.com> References: <20121102060818.GB48921@eureka.lemis.com> <201211021021.qA2ALJLF020996@mech-cluster241.men.bris.ac.uk> <20121102162110.GB92218@lor.one-eyed-alien.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YiEDa0DAkWCtVeE4" Content-Disposition: inline In-Reply-To: <20121102162110.GB92218@lor.one-eyed-alien.net> X-PGP-Key: http://www.rulingia.com/keys/peter.pgp User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 07:50:39 -0000 --YiEDa0DAkWCtVeE4 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2012-Nov-02 11:21:10 -0500, Brooks Davis wrote: >On Fri, Nov 02, 2012 at 10:21:19AM +0000, Anton Shterenlikht wrote: >> It's a shame though that, with LLVM as the >> default compiler, further development of >> FreeBSD/ia64 and FreeBSD/sparc64 >> will probably suffer and then stop altogether. > >If you read either my annoucment or the diff closly you will note that >the default it only changing for x86 architectures. Even with all the best of intentions, once the x86 architectures (which cover the bulk of the user and developer mass) migrate to a different toolchain, the risk of bitrot in the GNU toolchain decomes non-negligible. And once it breaks, there may not be the critical mass to repair it. This is basically what happened to the Alpha. --=20 Peter Jeremy --YiEDa0DAkWCtVeE4 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlCUzMUACgkQ/opHv/APuIeqmQCgnRLevXsLHBbLlEb3VRY728cJ 8SsAni4dZp9elMhDC/3QsDc0lQW7U8hF =gGS6 -----END PGP SIGNATURE----- --YiEDa0DAkWCtVeE4-- From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 09:01:02 2012 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 510A1E50; Sat, 3 Nov 2012 09:01:02 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [46.4.40.135]) by mx1.freebsd.org (Postfix) with ESMTP id D3BCC8FC12; Sat, 3 Nov 2012 09:01:01 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:dc:ffe:46f:81d2]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 0F0CC4AC1C; Sat, 3 Nov 2012 13:00:58 +0400 (MSK) Date: Sat, 3 Nov 2012 13:00:53 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <1479035599.20121103130053@serebryakov.spb.ru> To: Baptiste Daroussin Subject: Re: [HEADSUP] current switched by default to pkgng In-Reply-To: <20121102235622.GD66354@ithaqua.etoilebsd.net> References: <20121010134421.GI26497@ithaqua.etoilebsd.net> <1812982114.20121102232428@serebryakov.spb.ru> <713586893.20121103004131@serebryakov.spb.ru> <20121102235622.GD66354@ithaqua.etoilebsd.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: ports@FreeBSD.org, current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Nov 2012 09:01:02 -0000 Hello, Baptiste. You wrote 3 =D0=BD=D0=BE=D1=8F=D0=B1=D1=80=D1=8F 2012 =D0=B3., 3:56:22: BD> The BSDmc project (http://code.google.com/p/bsdmc/) uses nanobsd BD> and pkgng, have a look in particular at the BD> following diff: http://code.google.com/p/bsdmc/source/detail?r=3D75 BD> Maybe you can find something helpful for you in there :) Unfortunately, it diverged with nanobsd long time ago and have completely custom package installation function, very complex and unobvious. Now I have only one problem with replacing `pkg_add' with `pkg add' (I've implemented bootstrap of chrooted environment): `pkg add' doesn't have `-F' flag, and attempt to add package twice (first time as dependency and second time because simple nanobsd script doesn't sort packages and add all of them, so required package could be again added after dependant package) leads to non-success return code :( Also, I could not find any documentation about system `pkg' command: `man pkg' shows nothing, `pkg -h' doesn't work, etc. So it is unobvious, where could I read about ASSUME_ALWAYS_YES, PACKAGESITE and other variables, needed for automatic (non-interactive, non-networked) bootstrap. Way to construct proper URL for pkg.txz (with ABI, etc) from script is not clear, too, and automatic downloading doesn't work in chrooted environment, as it doesn't have configured resolver. --=20 // Black Lion AKA Lev Serebryakov From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 10:42:48 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D2FC9B12 for ; Sat, 3 Nov 2012 10:42:48 +0000 (UTC) (envelope-from husyh@hush.com) Received: from smtp2.hushmail.com (smtp2a.hushmail.com [65.39.178.237]) by mx1.freebsd.org (Postfix) with ESMTP id AC8858FC08 for ; Sat, 3 Nov 2012 10:42:48 +0000 (UTC) Received: from smtp2.hushmail.com (smtp2a.hushmail.com [65.39.178.237]) by smtp2.hushmail.com (Postfix) with SMTP id DF5CFE6D3C for ; Sat, 3 Nov 2012 10:42:41 +0000 (UTC) Received: from smtp.hushmail.com (w7.hushmail.com [65.39.178.32]) by smtp2.hushmail.com (Postfix) with ESMTP for ; Sat, 3 Nov 2012 10:41:52 +0000 (UTC) Received: by smtp.hushmail.com (Postfix, from userid 99) id EC2896F446; Sat, 3 Nov 2012 10:41:52 +0000 (UTC) MIME-Version: 1.0 Date: Sat, 03 Nov 2012 11:41:52 +0100 To: freebsd-current@freebsd.org Subject: ath0: unable to attach hardware From: husyh@hush.com Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="UTF-8" Message-Id: <20121103104152.EC2896F446@smtp.hushmail.com> X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 10:42:49 -0000 Hello everyone, I'm new to FreeBSD and wanted to install 9.0-RELEASE amd64 on a PC I was given. At first glance, it seems like everything is working, except the wireless LAN PCI card. I started a thread on freebsd-wireless on the 31st of October (see here: http://lists.freebsd.org/pipermail/freebsd-wireless/2012-October/002511.html or a repost of my original message with proper formatting: http://lists.freebsd.org/pipermail/freebsd-wireless/2012-October/002513.html ) Short summary: The card has the strings "Anatel", "WN5301A-H1-V02" and "KN160562*7" printed on it, although I'm not sure which, if any, of those is a proper product number. After setting hw.ath.debug=1 hw.ath.hal.debug=1 I receive ath0: mem 0xfdee0000-0xfdeeffff irq 16 at device 4.0 on pci2 ar5212ChipTest: address test failed addr: 0x00008000 - wr:0x00000000 != rd:0xffffffff ar5212Attach: hardware self-test failed ath0: unable to attach hardware; HAL status 14 device_attach: ath0 attach returned 6 and am left unable to use the device. I tried 8.3-RELEASE i386 as well as 10.0-CURRENT amd64 and i386 snapshots from https://snapshots.glenbarber.us/Latest/ (seemlingly built a few days ago) and received the same messages, although I did not get the debug messages since I booted off of the installation media and therefore had a stock kernel, which seemingly doesn't enable ATH_DEBUG and AH_DEBUG. Booting the Ubuntu 12.04 amd64 installation media, I can use the NIC without having any problems. Adrian Chadd tried to help me via freebsd-wireless (thank you again,) but ultimately asked me this: "Please try a recent -HEAD i386 and amd64 snapshot and if that doesn't work, you could try posting for help on freebsd-current. But please stress that I think it's a bus enumeration and PCI bridge programming problem, _not_ a driver problem." And so I did. I'd be very glad if you could try to help me. Of course, I'm willing to provide any kind of information you might need, but please keep in mind that I'm new to FreeBSD and therefore would be thankful if you stated your instructions/requests in a newbie-friendly way. Thank you. From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 12:14:23 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1B08C173 for ; Sat, 3 Nov 2012 12:14:23 +0000 (UTC) (envelope-from yerenkow@gmail.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id CCFC98FC12 for ; Sat, 3 Nov 2012 12:14:22 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so5575788oag.13 for ; Sat, 03 Nov 2012 05:14:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=J+AHDxwP+eWn1pUsXeQusgSZdMoV8lxpsKtNRHEYyHI=; b=nB6OGOQordWCg4heAAXmIQpyJDRZdSlvQMbmZSqVarsGaDPIK23OJueYUdUdyfpVkD rL0AVTit0xfffCc2TxPFst+6KQ+3IXdU3w2Mu7ry3zGFaN7rHBAeSs1SLySfas1LfkAi UIDkN7vPW9WSlZJRRHGmuGqTTYn6dRA1s+HlpO2PO339xVQRiFG5kqcNxF4c1CeACJxK WsBX3uufpR3cM/3T0ItAxTFgHuHiZZzQrDnKHXW9e40Ec6CP18i5QFvrt+ho9TVh3Gyt fwd7i+duAzTFrxSpQrXgcdM2GmQBuPiE8G7kyAb+tstT0zjSPK5rNGICWdGROvSeZc8t 4vhQ== MIME-Version: 1.0 Received: by 10.60.170.114 with SMTP id al18mr3718134oec.56.1351944861549; Sat, 03 Nov 2012 05:14:21 -0700 (PDT) Received: by 10.60.58.165 with HTTP; Sat, 3 Nov 2012 05:14:21 -0700 (PDT) Date: Sat, 3 Nov 2012 14:14:21 +0200 Message-ID: Subject: FreeBSD as read-only firmware From: Alexander Yerenkow To: freebsd-current Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 12:14:23 -0000 Hello all! Some time ago I got somewhere idea, that base OS should be RO - readonly. And should be updated easily (ACID) and with possibility of fast rollback. So, basically ideas was to have some RO root, with unionfs with other dirs. But then all machines was real (not virtualised), and predict some best layout of partitioning was hard. ZFS was nice, but it is not supported by unionfs (not fully IIRC). When I'm started working with virtual machines this idea is came back, and with help from Andriy Gapon, I made some progress. So, here I got some proof-of-concept, with FreeBSD in RO mode, and I want to share. Comments and thoughts appreciated! So, how to achieve RO FreeBSD? Firstly, you need create media with OS itself, and have it in .vmdk format (you can import it into any VM machine, and boot from it). My scripts doing install in memory-based md disk, dump it to flat file, creating from flat file .vmdk (ATA) by VBoxManage, and convert descriptor file, so VMware Esxi can import disk as SCSI (much faster than ATA). Here disks I have in VM: r24243.vmdk 750Mb #OS -- I did not tried to shrink it as possible, it could be much less if you want to. disk1.vmdk 2Gb # 128M = etcfs, 1.8Gb = localfs disk2.vmdk XXXGb # data here disk3.vmdk 8Gb #swap here's how look mount: /dev/gpt/r242434 on / (ufs, local, read-only) # r24243.vmdk devfs on /dev (devfs, local, multilabel) /dev/gpt/etcfs on /etc-rw (ufs, local, noatime) # disk1.vmdk :/etc-rw on /etc (unionfs, local) /dev/gpt/localfs on /usr/local (ufs, local, noatime) # disk1.vmdk /dev/md0 on /tmp (ufs, local) :/usr/local/usr-bin-rw on /usr/bin (unionfs, local) :/usr/local/root-rw on /root (unionfs, local) devfs on /usr/local/var-root/named/dev (devfs, local, multilabel) /dev/gpt/data on /usr/local/data (ufs, local) # disk2.vmdk Also, /var is symlinked to /usr/local/var-root. So, this setup shows how to upgrade OS = just replace r24243.vmdk with some REL10.vmdk or else rev. Also, /usr/local update possible - just setup all in some other machine, and bring new disk1.vmdk with fresh programs (Assuming all data is moved or symlinked to partition with data). The only caveat I got - is Perl (and probably some other programs) required to place some symlinks to /usr/bin <- so I had to create usr-bin-rw. Maybe there will be some other problems, but now I have production server set up in such way, working and not complainig :) So, this all raised such questions in my head - is it OK to have configs, scripts, data dirs, and default configs all messed in /etc ? :) I understand that this is how it historically happen, but have all partition in RW mode just to be able edit few files... Not want produce flamewar here, but this dir I think should be revised in some future. You can view my scripts here: https://github.com/yerenkow/freebsd-vm-image/tree/master/freebsd-firmware Thanks! -- Regards, Alexander Yerenkow From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 13:00:57 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 99B28BDC for ; Sat, 3 Nov 2012 13:00:57 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [46.4.40.135]) by mx1.freebsd.org (Postfix) with ESMTP id 50AC28FC15 for ; Sat, 3 Nov 2012 13:00:57 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:dc:ffe:46f:81d2]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id 69A924AC1C; Sat, 3 Nov 2012 17:00:55 +0400 (MSK) Date: Sat, 3 Nov 2012 17:00:49 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <1167404891.20121103170049@serebryakov.spb.ru> To: Alexander Yerenkow Subject: Re: FreeBSD as read-only firmware In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Nov 2012 13:00:57 -0000 Hello, Alexander. You wrote 3 =D0=BD=D0=BE=D1=8F=D0=B1=D1=80=D1=8F 2012 =D0=B3., 16:14:21: AY> Hello all! AY> Some time ago I got somewhere idea, that base OS should be RO - readonl= y. AY> And should be updated easily (ACID) and with possibility of fast rollba= ck. Why it is better than nanobsd? --=20 // Black Lion AKA Lev Serebryakov From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 13:18:57 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0326529E for ; Sat, 3 Nov 2012 13:18:57 +0000 (UTC) (envelope-from alie@affle.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id ABE808FC12 for ; Sat, 3 Nov 2012 13:18:56 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id l1so5966917vba.13 for ; Sat, 03 Nov 2012 06:18:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=qej/tIOokhWgJ+GfKwEPoeq6+aK9naa5A4oQEIglSqc=; b=HdhT03/jkghigqU//IeSoH6A403l22gMuZWiAxJ9QZwh8DZNbjqssJj7sRLzYHuNR/ DCBdvClOyzhdHRk/PVvqlDw2D7YrYrGEPnD4dUlVQefSjqkTcoX1+GObDrGX0TBHOyL4 D25JkIq/2TIpxi1F7Z+lGQuMd9ETwG3F6mCzMLDHh3bIQ3UK/FYlgtEKp5suxdTil4tk flBbIlD+Mffplfdd6KDsIlutvCEaNDhgX7h8XF34Rw8OSA/vrm+cm51XewnBi3lSWX/R +YR+QmNJXk8dgz+IagXCAOR+FRlCbgEIjJbTcmwYtaeeBWTQFhL63gZckOvPP9j0/mIx QNOw== MIME-Version: 1.0 Received: by 10.221.1.81 with SMTP id np17mr4413703vcb.66.1351948735406; Sat, 03 Nov 2012 06:18:55 -0700 (PDT) Received: by 10.58.233.80 with HTTP; Sat, 3 Nov 2012 06:18:55 -0700 (PDT) Date: Sat, 3 Nov 2012 21:18:55 +0800 Message-ID: Subject: DragonFly vs FreeBSD scheduler From: Alie Tan To: freebsd-current@freebsd.org X-Gm-Message-State: ALoCoQkdpicIVSQeOX0SXkRI7+uyji4qFzrC2+5Vkq4o8rm9QGgIpGNGne9E8ogrvd9motqdqUew Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 13:18:57 -0000 Hi, No offence, just curious about scheduler and its functionality. What is the different between this two that makes FreeBSD performance far behind DragonFly BSD? http://www.dragonflybsd.org/release32/ Regards, Alie T From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 13:34:28 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 826CE8DA; Sat, 3 Nov 2012 13:34:28 +0000 (UTC) (envelope-from yerenkow@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2D4098FC08; Sat, 3 Nov 2012 13:34:27 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id wc20so5546653obb.13 for ; Sat, 03 Nov 2012 06:34:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=VVIj2WEdQmgzg0bJKNJ7ZbhJe9u5UUKlrQa1MWAfo74=; b=LFfc4/nWH7VRa0Ge6L9Q/wu0b9v1S/iiXEs0XzZrcEnj2cTX3etgHgdk7gqnCR/0ZS HGAXIaVIA9go+lENEVQLFE+d8mZeCrWMLppcsIcKd9dhoVbdEQ9rEckXLvo1w8Wnzg1Q 3SOAN6qFRQwiHxG75J00sxvY+sHdufI5thi5BeMe1H5H22IDbZUyZwZw1WlalKhQvlAt VVddiFYLL/C+sXKYlF4le5kQuNajqigoaXN5xy5rmkNRcucrN76E/5YmPB/WANpuVrm/ R1dhPhibJf++lQ7y8WRMUv5ss0WTPbq9lmVR2zv3AVaAEs2+Cw+Dx8sfObX79lRwon6k Sx9g== MIME-Version: 1.0 Received: by 10.60.32.241 with SMTP id m17mr3817166oei.50.1351949667224; Sat, 03 Nov 2012 06:34:27 -0700 (PDT) Received: by 10.60.58.165 with HTTP; Sat, 3 Nov 2012 06:34:27 -0700 (PDT) In-Reply-To: <1167404891.20121103170049@serebryakov.spb.ru> References: <1167404891.20121103170049@serebryakov.spb.ru> Date: Sat, 3 Nov 2012 15:34:27 +0200 Message-ID: Subject: Re: FreeBSD as read-only firmware From: Alexander Yerenkow To: lev@freebsd.org Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 13:34:28 -0000 2012/11/3 Lev Serebryakov > Hello, Alexander. > You wrote 3 =CE=CF=D1=C2=D2=D1 2012 =C7., 16:14:21: > > AY> Hello all! > AY> Some time ago I got somewhere idea, that base OS should be RO - > readonly. > AY> And should be updated easily (ACID) and with possibility of fast > rollback. > Why it is better than nanobsd? > Of course, that's all IMHO and fit for my usage: 1) Same FreeBSD, as in laptop/desktop, (e.g. really same - GENERIC kernel is used, without dropping any kerberos or else), and yes, I know that nanobsd can that; 2) .vmdk simply deployed into Esxi/virtualbox (not sure nanobsd can produce that) 3) Transparent /etc/ modifiying VS nanobsd approach (edit, don't forget mount /cfg, copy there;) 4) Only OS, no packages included - e.g. I can upgrade/downgrade packages without touching any byte of OS. Except for symlinks :) nanobsd specified that if you want packages - you need built them in. Of course differences not so big, and I'm not saying that my way is more better. It just raised question deep in me - why OS still aren't modularized, and most of it not in RO (while it should). Something like this > -- > // Black Lion AKA Lev Serebryakov > > --=20 Regards, Alexander Yerenkow From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 14:17:18 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D6D91191 for ; Sat, 3 Nov 2012 14:17:18 +0000 (UTC) (envelope-from feld@feld.me) Received: from feld.me (feld.me [66.170.3.2]) by mx1.freebsd.org (Postfix) with ESMTP id A3FCF8FC08 for ; Sat, 3 Nov 2012 14:17:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=feld.me; s=blargle; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-Id:Subject:Cc:To:From:Date; bh=MJpGleEWwmcfr8linwh9C1omysUAPbgADpla1GwGnaY=; b=h8r/vt5nVVuZ9ALwxEFLqcXWJUMtU6pn5YyzN0ab2r4VwohDapGyWgTfCxBBnpydUAJZrdMPCeMAScvIQNO8LFEaXGjd5weCM7sH8YdK7dwffEfJrXr8B/trWCGCpJB8; Received: from localhost ([127.0.0.1] helo=mwi1.coffeenet.org) by feld.me with esmtp (Exim 4.80 (FreeBSD)) (envelope-from ) id 1TUeXE-000H95-0g; Sat, 03 Nov 2012 09:17:17 -0500 Received: from feld@feld.me by mwi1.coffeenet.org (Archiveopteryx 3.1.4) with esmtpa id 1351952230-65253-65252/5/16; Sat, 3 Nov 2012 14:17:10 +0000 Date: Sat, 3 Nov 2012 09:17:52 -0500 From: Mark Felder To: Alie Tan Subject: Re: DragonFly vs FreeBSD scheduler Message-Id: <20121103091752.0000797f@unknown> In-Reply-To: References: X-Mailer: Claws Mail 3.8.1 (GTK+ 2.16.6; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-SA-Report: ALL_TRUSTED=-1, KHOP_THREADED=-0.5 X-SA-Score: -1.5 Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 14:17:18 -0000 On Sat, 3 Nov 2012 21:18:55 +0800 Alie Tan wrote: > Hi, >=20 > No offence, just curious about scheduler and its functionality. >=20 > What is the different between this two that makes FreeBSD performance = far > behind DragonFly BSD? http://www.dragonflybsd.org/release32/ >=20 I don't have any details but I do know that Dragonfly has been putting a = lot of work into their scheduler. Hopefully some of that will trickle = back our way. From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 15:01:10 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7376DCC1; Sat, 3 Nov 2012 15:01:10 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 074E48FC18; Sat, 3 Nov 2012 15:01:09 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id l1so6030360vba.13 for ; Sat, 03 Nov 2012 08:01:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=v9SgoP4KNGv/UWq14A+jkbAOClmV51gdyVqesKaS2aE=; b=jMiJyDJxuomEejbWMbrrEjENPVi9GV/tEFn1h1xODEtdUWqo8fAGn0Az0YfGG+84fi 9UFdoW6QpLfA4QXe4yBbzra45CkjWFFQj0wIkXP1SyAjmQlf2a7gGp2bsdErlnLBGxCf 3OpLi2sPl1GtndTgSm01zU2Ycar82QENgAoJLkXvh/J2oAgQNOUcwfRpDnlyZd1d33ma xzDEfRjHm/E0t77Sej9u4eG5lonCVlBjt8FmBYrKYwfe+s2HlqZ2EwOY3ns1CoA3lU1Q nklTMfFT/Cu9e8pbOrbDhRzd2+N5P+t7Cmo+4AmdUSR3UcL5qLStAxZ+xho/NELvE5Vn qVhQ== MIME-Version: 1.0 Received: by 10.58.64.196 with SMTP id q4mr4945493ves.3.1351954868727; Sat, 03 Nov 2012 08:01:08 -0700 (PDT) Received: by 10.58.218.35 with HTTP; Sat, 3 Nov 2012 08:01:08 -0700 (PDT) In-Reply-To: References: <1167404891.20121103170049@serebryakov.spb.ru> Date: Sat, 3 Nov 2012 08:01:08 -0700 Message-ID: Subject: Re: FreeBSD as read-only firmware From: Mehmet Erol Sanliturk To: Alexander Yerenkow Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: lev@freebsd.org, freebsd-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 15:01:10 -0000 On Sat, Nov 3, 2012 at 6:34 AM, Alexander Yerenkow wrot= e: > 2012/11/3 Lev Serebryakov > > > Hello, Alexander. > > You wrote 3 =D0=BD=D0=BE=D1=8F=D0=B1=D1=80=D1=8F 2012 =D0=B3., 16:14:21= : > > > > AY> Hello all! > > AY> Some time ago I got somewhere idea, that base OS should be RO - > > readonly. > > AY> And should be updated easily (ACID) and with possibility of fast > > rollback. > > Why it is better than nanobsd? > > > > Of course, that's all IMHO and fit for my usage: > 1) Same FreeBSD, as in laptop/desktop, (e.g. really same - GENERIC kernel > is used, without dropping any kerberos or else), and yes, I know that > nanobsd can that; > 2) .vmdk simply deployed into Esxi/virtualbox (not sure nanobsd can produ= ce > that) > 3) Transparent /etc/ modifiying VS nanobsd approach (edit, don't forget > mount /cfg, copy there;) > 4) Only OS, no packages included - e.g. I can upgrade/downgrade packages > without touching any byte of OS. Except for symlinks :) nanobsd specified > that if you want packages - you need built them in. > > Of course differences not so big, and I'm not saying that my way is more > better. > It just raised question deep in me - why OS still aren't modularized, and > most of it not in RO (while it should). > > Something like this > > > > > > -- > > // Black Lion AKA Lev Serebryakov > > > > > > > -- > Regards, > Alexander Yerenkow > One of my goals for the FreeBSD usage is as follows : Search all of the FreeBSD sources for the file opens and write statements . Divert all of the file opens and write statements outside of FreeBSD base directories , for example into /var . Modify base to prohibit any load of executable from /var , and /tmp , and other directories which are not included into "base" part . Select a primary collection of packages . Divert all of their file opens and writes to /var . Make /home a separate partition , not included into /usr . For any user , if it is selected , allow his/her home unit definition in a removable drive . Prepare a list of programs which can only be executed by root , and move them to a root allocated directory , and make this list a reserved names list . Do not allow any user to execute these programs whether they are supplied by themselves . In a similar way , make a list of executable programs for the "base" system and "packages" in the "base" part , make them "reserved" names and do not allow any other program with the same name . Delete from the base system the "PATH" concept , and require that all of the executable names are supplied by complete path . If access privileges of a directory is not **x|**x|**x do not allow any program to be executed from such a directory ( recursively from its sub-directories ) . At present , file access privileges should be ***|***|**x for searching directories . This definition is causing security vulnerabilities for directories because it is exposing it to "OTHERS" . Convert all of the parts requiring ***|***|**x to r**|r**|--- for directory searches . In that way , if the user is defined in that way , prevent others to access to a directory and make this as default . Record "base" part into a SDHC card and make it "write protected" . Prepare the "base" SDHC card in a computer that is NOT connected to a network and it is physically protected from intrusion . When a change is required , prepare a new SDHC card in the clean computer and use the new SDHC card . Replicate SDHC cards as many as required for different computers . In that way , there will be an impenetrable system which on boot we will know that it is clean . There a some live CD/DVD compilations , but they are not usable for everyday requirements because they are not designed in that way . For such a work , the best one with respect to my opinion , is http://puppylinux.org/main/Overview%20and%20Getting%20Started.htm among other live CD/DVD compilations . I did not try that one in a SDHC card . I do not know exact data transmission rate of SDHC cards , but , I think , it is faster than CD or DVD . For CD and DVD , at present there is NO any only READ CD or DVD devices . They are disappeared from the market . For writable CD or DVD , it may be possible to append some files at the end of recorded area , and the media may be corrupted by re-recording ( I think ) = . Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 15:01:52 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D2DE3DD2 for ; Sat, 3 Nov 2012 15:01:52 +0000 (UTC) (envelope-from bright@mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id B40008FC15 for ; Sat, 3 Nov 2012 15:01:52 +0000 (UTC) Received: from [10.0.1.22] (c-67-180-208-218.hsd1.ca.comcast.net [67.180.208.218]) by elvis.mu.org (Postfix) with ESMTPSA id CC7D61A3C1D; Sat, 3 Nov 2012 08:01:51 -0700 (PDT) Message-ID: <509531DF.6050108@mu.org> Date: Sat, 03 Nov 2012 08:01:51 -0700 From: Alfred Perlstein User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 MIME-Version: 1.0 To: Alie Tan Subject: Re: DragonFly vs FreeBSD scheduler References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 15:01:52 -0000 On 11/3/12 6:18 AM, Alie Tan wrote: > Hi, > > No offence, just curious about scheduler and its functionality. > > What is the different between this two that makes FreeBSD performance far > behind DragonFly BSD? http://www.dragonflybsd.org/release32/ Looks like a few specific benchmarks that DragonFly aimed to do well at that we were unawares of. Not sure, didn't see DragonFly sharing the results with us until this paper was published although I may have missed that. -Alfred From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 15:19:47 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 306B8102 for ; Sat, 3 Nov 2012 15:19:47 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id CFBD88FC0A for ; Sat, 3 Nov 2012 15:19:46 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fw7so6134943vcb.13 for ; Sat, 03 Nov 2012 08:19:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=fvLaO5eGtv5rJ6SFPFK8xdEupZ6ktnBmkPO0QezYoMA=; b=iPv+CkNIOAuYt5R6ekH3XbluU0aCVR1Nk99I6GDZ7ER38xSbQfhowSRO9XFLF2AMdK hkVkHW/a36dOPwhEnF2DDiJOYN8cK/sdALJ8uAbsdkuvkJmCg9yn2ZaUWjGSoZVci/cT J/OrwTqi0fvy2dylzZwCfVVksyCcS1K7b454Wm1zsYUHt3gmfBZrpHwv8zQQuJdKs2lV n799iNROIL5kGUe29ZHvDr+G9nBvuqsbEJ0yI6TmeRxjrC/P1U2dr1AhAVaGYcNKIDiC UQmPdhbWZ45Hl+UKmrSX4UhW70pDNMXUoEQ3cEeWXIkBl644/FXW4k+m8z/DXWpIOHip e7lg== MIME-Version: 1.0 Received: by 10.58.203.161 with SMTP id kr1mr4888102vec.35.1351955986155; Sat, 03 Nov 2012 08:19:46 -0700 (PDT) Received: by 10.58.218.35 with HTTP; Sat, 3 Nov 2012 08:19:46 -0700 (PDT) In-Reply-To: <509531DF.6050108@mu.org> References: <509531DF.6050108@mu.org> Date: Sat, 3 Nov 2012 08:19:46 -0700 Message-ID: Subject: Re: DragonFly vs FreeBSD scheduler From: Mehmet Erol Sanliturk To: Alfred Perlstein Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-current@freebsd.org, Alie Tan X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 15:19:47 -0000 On Sat, Nov 3, 2012 at 8:01 AM, Alfred Perlstein wrote: > On 11/3/12 6:18 AM, Alie Tan wrote: > >> Hi, >> >> No offence, just curious about scheduler and its functionality. >> >> What is the different between this two that makes FreeBSD performance far >> behind DragonFly BSD? http://www.dragonflybsd.org/**release32/ >> > > Looks like a few specific benchmarks that DragonFly aimed to do well at > that we were unawares of. > > Not sure, didn't see DragonFly sharing the results with us until this > paper was published although I may have missed that. > > -Alfred > > > The following pages are available ( I do not know when they are created ) : http://www.dragonflybsd.org/docs/developer/ProjectsPage/ http://www.dragonflybsd.org/docs/developer/ProjectsPage/#index14h3 Disk scheduling rc scripts (GCI:Code) http://www.dragonflybsd.org/docs/developer/ProjectsPage/#index20h3 CPU scheduler http://www.dragonflybsd.org/docs/developer/ProjectsPage/#index21h3 I/O scheduler http://www.dragonflybsd.org/docs/developer/researchprojectspage/ http://www.dragonflybsd.org/docs/developer/researchprojectspage/#index8h3 Evaluate/Improve Context Switching Performance http://www.dragonflybsd.org/docs/developer/gsocprojectspage/ Implement further dsched disk scheduling policies (2011 Project: BFQ) Add SMT/HT awareness to our scheduler Extend dsched framework to support jails http://www.dragonflybsd.org/docs/developer/gsoc2011/ http://leaf.dragonflybsd.org/mailarchive/kernel/2011-04/msg00060.html [GSoC]Overview on my GSoC project: Implement BFQ disk scheduling policy http://www.google-melange.com/gsoc/project/google/gsoc2012/mihaicarabas/10001 Add SMT/HT awareness to DragonFlyBSD scheduler Mihai Carabas http://leaf.dragonflybsd.org/mailarchive/kernel/2012-03/msg00066.html [GSOC] Add SMT/HT awareness to DragonFlyBSD scheduler http://www.google-melange.com/gsoc/proposal/review/google/gsoc2012/mihaicarabas/1 Add SMT/HT awareness to DragonFlyBSD scheduler Mihai Carabas Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 15:29:47 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1E290255 for ; Sat, 3 Nov 2012 15:29:47 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id C436B8FC0A for ; Sat, 3 Nov 2012 15:29:46 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for freebsd-current@freebsd.org with esmtp (envelope-from ) id <1TUffH-002QM7-2D>; Sat, 03 Nov 2012 16:29:39 +0100 Received: from e178037213.adsl.alicedsl.de ([85.178.37.213] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) for freebsd-current@freebsd.org with esmtpsa (envelope-from ) id <1TUffG-000hBC-VH>; Sat, 03 Nov 2012 16:29:39 +0100 Message-ID: <5095385D.4060001@zedat.fu-berlin.de> Date: Sat, 03 Nov 2012 16:29:33 +0100 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121029 Thunderbird/16.0.2 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: DragonFly vs FreeBSD scheduler References: <509531DF.6050108@mu.org> In-Reply-To: <509531DF.6050108@mu.org> X-Enigmail-Version: 1.4.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigE68A23734FBCB71319668ECA" X-Originating-IP: 85.178.37.213 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 15:29:47 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE68A23734FBCB71319668ECA Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Am 11/03/12 16:01, schrieb Alfred Perlstein: > On 11/3/12 6:18 AM, Alie Tan wrote: >> Hi, >> >> No offence, just curious about scheduler and its functionality. >> >> What is the different between this two that makes FreeBSD performance = far >> behind DragonFly BSD? http://www.dragonflybsd.org/release32/ >=20 > Looks like a few specific benchmarks that DragonFly aimed to do well at= > that we were unawares of. What is "specific" supposed to mean? It doesn't seem to be very "specific". This benchmark reflects a general tendency which can also be observed by the vast of benchmarks "Phoronix" performed. I guess FreeBSD has been benchmarked with ULE. ULE does have issues and it's obvious, that ULE performs in specific situations better than the legacy and old (but after so many years still competetive) BSD scheduler.= --------------enigE68A23734FBCB71319668ECA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJQlThiAAoJEOgBcD7A/5N8DzAIANayn2y7dXayOg7JtpUDJteE c9QbsWlvJ5uDPYLDQX7CvkT/BTVK5/n0yGFNbG95Pk2qCbO+0WKaXq6xjg8RHPH3 WwzP2jzYrAQAf2zUEUDHivb2z8zcHj/PYNFlInM44QGg/xF+Pl41RaDROQBWnHlG TxLguUDIkY7SoO5BUtJBiZ3qNkKfg6CdsAiqhByUA5+iUsaGzO1nGxk4mY2tFEwc /3h0vBsB3dMSsZ+qf4+OLrBh4S9RmRkkpE+/Ik6VN9RzJlCpM+tkZ/spS4hv3aha I5wq8Mk0fhTjkxjuwSn+4HuaNfF3ZOjUfz7ZvGw1INs84qgG1hcajK5hRRcnHp0= =LGcC -----END PGP SIGNATURE----- --------------enigE68A23734FBCB71319668ECA-- From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 15:30:29 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 41B3D35E; Sat, 3 Nov 2012 15:30:29 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from duck.symmetricom.us (duck.symmetricom.us [206.168.13.214]) by mx1.freebsd.org (Postfix) with ESMTP id DB71F8FC08; Sat, 3 Nov 2012 15:30:28 +0000 (UTC) Received: from damnhippie.dyndns.org (daffy.symmetricom.us [206.168.13.218]) by duck.symmetricom.us (8.14.5/8.14.5) with ESMTP id qA3FURmt032171; Sat, 3 Nov 2012 09:30:28 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id qA3FUPua009975; Sat, 3 Nov 2012 09:30:25 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) Subject: Re: FreeBSD as read-only firmware From: Ian Lepore To: Mehmet Erol Sanliturk In-Reply-To: References: <1167404891.20121103170049@serebryakov.spb.ru> Content-Type: text/plain; charset="us-ascii" Date: Sat, 03 Nov 2012 09:30:25 -0600 Message-ID: <1351956625.1120.44.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: Alexander Yerenkow , lev@freebsd.org, freebsd-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 15:30:29 -0000 On Sat, 2012-11-03 at 08:01 -0700, Mehmet Erol Sanliturk wrote: > I do not know exact data transmission rate of SDHC cards , but , I > think , > it is faster than CD or DVD . For CD and DVD , at present there is NO > any > only READ CD or DVD devices . They are disappeared from the market . > For > writable CD or DVD , it may be possible to append some files at the > end of > recorded area , and the media may be corrupted by re-recording ( I > think ) . Expect roughly 22-25MB/sec on a modern SDHC with a 4-bit datapath. Be aware that there's no way to truly write protect an SD card. There is a write protect tab on a full-size card (but not on a MicroSD), but it's not enforced in the card's hardware, it is a polite request to the system "please don't write to this card" and some systems don't even have the hardware to sense the switch position. Since it's flash-memory based, it also may corrupt the media on write, including the possibility of corrupting existing data that has no relation to the new data being written. That is, you could have a write-protected partition and a write-enabled partition on the same SDCard, and writing into the write-enabled partition can damage data on the write-protected partition. This is because you have no control over the way the embedded flash microcontroller allocates storage internally, and it is free to place data pages from unrelated filesystems into the same blocks (block = erase/programming sized unit). I suspect all off-the-shelf nand-flash based storage has the same problems, but CF and SDCard are the only ones I've got hands-on experience with. At work we're now moving away from CF and SDCard and towards putting nand flash chips directly onto our boards, and using FreeBSD to access them rather than relying on the behaviors of some embedded microcontroller we know nothing about. -- Ian From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 15:37:01 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 56ED74AF for ; Sat, 3 Nov 2012 15:37:01 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 06F168FC0C for ; Sat, 3 Nov 2012 15:37:00 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for freebsd-current@freebsd.org with esmtp (envelope-from ) id <1TUfmO-002R1U-1U>; Sat, 03 Nov 2012 16:37:00 +0100 Received: from e178037213.adsl.alicedsl.de ([85.178.37.213] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) for freebsd-current@freebsd.org with esmtpsa (envelope-from ) id <1TUfmN-000hWs-Ub>; Sat, 03 Nov 2012 16:37:00 +0100 Message-ID: <50953A1B.5050401@zedat.fu-berlin.de> Date: Sat, 03 Nov 2012 16:36:59 +0100 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121029 Thunderbird/16.0.2 MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: DragonFly vs FreeBSD scheduler References: <20121103091752.0000797f@unknown> In-Reply-To: <20121103091752.0000797f@unknown> X-Enigmail-Version: 1.4.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig62E5ED042FE4DC85F5E96F29" X-Originating-IP: 85.178.37.213 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 15:37:01 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig62E5ED042FE4DC85F5E96F29 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Am 11/03/12 15:17, schrieb Mark Felder: > On Sat, 3 Nov 2012 21:18:55 +0800 > Alie Tan wrote: >=20 >> Hi, >> >> No offence, just curious about scheduler and its functionality. >> >> What is the different between this two that makes FreeBSD performance = far >> behind DragonFly BSD? http://www.dragonflybsd.org/release32/ >> >=20 > I don't have any details but I do know that Dragonfly has been putting = a lot of work into their scheduler. Hopefully some of that will trickle b= ack our way. Obviously they made the right decissions, but a single benchmark with a DB server like postgresql doesn't tell the whole story. Let's see what Phoronix will come up with. I'd like to see some more benchmarks of DragonFly 3.2. I doubt that the DragonFly scheduler approaches will go/flow easily into FreeBSD. But I'd like to see it, even dumping ULE for a better approach. --------------enig62E5ED042FE4DC85F5E96F29 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJQlTobAAoJEOgBcD7A/5N8TVAIANpURouGOpwbS+eftmdfwIGd 7bF8MNKPCHDvTb83hXpGZuu/nYx/LC8FWSuNn9OfjqJ9MPgMWK6XBRcw/GnSr5/g arIrPFDdN12W4fCM6y9WtNsfaUOrnFRm3s6783qvPk8+1XpmDNc+306bAQZN70i9 7hxp+y50eRUM3xfSlI8P5aY73qgPo1wThfwOudc5wOO0bLlbCzjEvMvrvbfQaCMT F9w3sCKqqE0JejudSbUBfrpnbJgFoJIq4zTOR3xMUX5U83kn/6Wyb1n2++JFJMYx uP6S6xby+bu6dZDvpv3sEbGXYxNYJxiTc5yz1BhJk76BqGrGkpCKBMoD9JN6h+w= =mYbT -----END PGP SIGNATURE----- --------------enig62E5ED042FE4DC85F5E96F29-- From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 15:52:53 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1112DA4A; Sat, 3 Nov 2012 15:52:53 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 928998FC08; Sat, 3 Nov 2012 15:52:52 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fw7so6156033vcb.13 for ; Sat, 03 Nov 2012 08:52:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=9yvsNYutwKsB6hfw4mSIWBx6L4bc1KJMM2+8vEiOFh8=; b=YxiQ/Nd7mwWPVGMPAg2GCFQWNGY0ug6lOfY/Zyi6k81n50IwlEKW8k61R4XGemKWQX 7WNXgz7EayEVPvaiOkwzfcHOX7j1SNrdMaxMzOYcetyKrqdZoVM7W4Pp396Avya1deQg no5O4g5gK6/q4vJgYWwTdUPhZZi1wPrdi+p54TjbeQmR7GYyDmJ+TuCp+m9By6prR7Uh VkPc4VRXdkvCDerXPZH35VSOWqbk2iNylwefBLDwpr3ApZBV4tVQ/RE2XNE60i6u9vky LUjngH1ovfcj02ojTWrHGhDoyM3lglkMzKNgzifIKYV/baWbQ/nrsji6uUEEHgdHe7Jl UUmg== MIME-Version: 1.0 Received: by 10.58.168.135 with SMTP id zw7mr4949236veb.4.1351957971530; Sat, 03 Nov 2012 08:52:51 -0700 (PDT) Received: by 10.58.218.35 with HTTP; Sat, 3 Nov 2012 08:52:51 -0700 (PDT) In-Reply-To: <1351956625.1120.44.camel@revolution.hippie.lan> References: <1167404891.20121103170049@serebryakov.spb.ru> <1351956625.1120.44.camel@revolution.hippie.lan> Date: Sat, 3 Nov 2012 08:52:51 -0700 Message-ID: Subject: Re: FreeBSD as read-only firmware From: Mehmet Erol Sanliturk To: Ian Lepore Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Alexander Yerenkow , lev@freebsd.org, freebsd-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 15:52:53 -0000 On Sat, Nov 3, 2012 at 8:30 AM, Ian Lepore wrote: > On Sat, 2012-11-03 at 08:01 -0700, Mehmet Erol Sanliturk wrote: > > I do not know exact data transmission rate of SDHC cards , but , I > > think , > > it is faster than CD or DVD . For CD and DVD , at present there is NO > > any > > only READ CD or DVD devices . They are disappeared from the market . > > For > > writable CD or DVD , it may be possible to append some files at the > > end of > > recorded area , and the media may be corrupted by re-recording ( I > > think ) . > > Expect roughly 22-25MB/sec on a modern SDHC with a 4-bit datapath. > > Be aware that there's no way to truly write protect an SD card. There > is a write protect tab on a full-size card (but not on a MicroSD), but > it's not enforced in the card's hardware, it is a polite request to the > system "please don't write to this card" and some systems don't even > have the hardware to sense the switch position. > I did NOT know this feature of SDHC cards . I was assuming that such a switch absolutely prevents writing anything onto SDHC card . Then , it is necessary to find another write-protect applicable device which I do not have any idea about such devices . One may be READ-ONLY Blue-Ray device although it may be slow , if there exists such units . > > Since it's flash-memory based, it also may corrupt the media on write, > including the possibility of corrupting existing data that has no > relation to the new data being written. That is, you could have a > write-protected partition and a write-enabled partition on the same > SDCard, and writing into the write-enabled partition can damage data on > the write-protected partition. This is because you have no control over > the way the embedded flash microcontroller allocates storage internally, > and it is free to place data pages from unrelated filesystems into the > same blocks (block = erase/programming sized unit). > In my idea , ALL of the writes will be diverted another drive(s) ( HDD , etc. ) containing /home , /var . /tmp , etc. and NOTHING will be written onto the write-protected device . > > I suspect all off-the-shelf nand-flash based storage has the same > problems, but CF and SDCard are the only ones I've got hands-on > experience with. At work we're now moving away from CF and SDCard and > towards putting nand flash chips directly onto our boards, and using > FreeBSD to access them rather than relying on the behaviors of some > embedded microcontroller we know nothing about. > No one is considering write-protect such parts . Therefore , malicious programs are able to even invade and modify such parts or make them unusable . > > -- Ian > > > Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 16:03:20 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 034B6D16; Sat, 3 Nov 2012 16:03:20 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7C2648FC0A; Sat, 3 Nov 2012 16:03:19 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fw7so6162672vcb.13 for ; Sat, 03 Nov 2012 09:03:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=wOFSHQ3WSAWpoppWjw9ooJxFcbPZO3yUxAFEbNDsu+w=; b=A/h7W8MQRZG9vm5MhFLZJhrpgTcH/KRB5eG6hy6z7J5SNxoB8eoT/Li6+J28KBiluY cV64CNYydZBD8kGmsODvkiC9y+Qswa9l16JXMpb3nrD4gmAy0fSnccxg7k/LLgmQA8qM 8G4Qe4J52ixh/3zui2POrG23Wg33Tyqq3D7B+yD443oMNlqVGJZoqVfl7PIR9RLg+1lZ I5ztLewQkjU+a7g29UUBgukcGRb5IwFR9Sue3wbbHi0a0f92QRGCg7vmm6GEeQXsiX1W fxuqjHJuz+AxLDRooU1qyRaaKtDs3hmrT0yNNob9OmhEJCE3WBsx+fTxpNWQFFshJ0Zh jYgQ== MIME-Version: 1.0 Received: by 10.58.64.196 with SMTP id q4mr5064500ves.3.1351958598695; Sat, 03 Nov 2012 09:03:18 -0700 (PDT) Received: by 10.58.218.35 with HTTP; Sat, 3 Nov 2012 09:03:18 -0700 (PDT) In-Reply-To: <1351956625.1120.44.camel@revolution.hippie.lan> References: <1167404891.20121103170049@serebryakov.spb.ru> <1351956625.1120.44.camel@revolution.hippie.lan> Date: Sat, 3 Nov 2012 09:03:18 -0700 Message-ID: Subject: Re: FreeBSD as read-only firmware From: Mehmet Erol Sanliturk To: Ian Lepore Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Alexander Yerenkow , lev@freebsd.org, freebsd-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 16:03:20 -0000 On Sat, Nov 3, 2012 at 8:30 AM, Ian Lepore wrote: > On Sat, 2012-11-03 at 08:01 -0700, Mehmet Erol Sanliturk wrote: > > I do not know exact data transmission rate of SDHC cards , but , I > > think , > > it is faster than CD or DVD . For CD and DVD , at present there is NO > > any > > only READ CD or DVD devices . They are disappeared from the market . > > For > > writable CD or DVD , it may be possible to append some files at the > > end of > > recorded area , and the media may be corrupted by re-recording ( I > > think ) . > > Expect roughly 22-25MB/sec on a modern SDHC with a 4-bit datapath. > > Be aware that there's no way to truly write protect an SD card. There > is a write protect tab on a full-size card (but not on a MicroSD), but > it's not enforced in the card's hardware, it is a polite request to the > system "please don't write to this card" and some systems don't even > have the hardware to sense the switch position. > Another option may be to use READ-ONLY USB card readers , if they really are only readable ( which do not contain write circuitry ) . I am reading information about such devices in company web sites which write is not possible , and write able USB card readers are sold with that feature specified . I do not know exactly how they are working . > > Since it's flash-memory based, it also may corrupt the media on write, > including the possibility of corrupting existing data that has no > relation to the new data being written. That is, you could have a > write-protected partition and a write-enabled partition on the same > SDCard, and writing into the write-enabled partition can damage data on > the write-protected partition. This is because you have no control over > the way the embedded flash microcontroller allocates storage internally, > and it is free to place data pages from unrelated filesystems into the > same blocks (block = erase/programming sized unit). > > I suspect all off-the-shelf nand-flash based storage has the same > problems, but CF and SDCard are the only ones I've got hands-on > experience with. At work we're now moving away from CF and SDCard and > towards putting nand flash chips directly onto our boards, and using > FreeBSD to access them rather than relying on the behaviors of some > embedded microcontroller we know nothing about. > > -- Ian > > > Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 16:08:58 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 711C413F; Sat, 3 Nov 2012 16:08:58 +0000 (UTC) (envelope-from yerenkow@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 16F788FC0C; Sat, 3 Nov 2012 16:08:57 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id wc20so5638716obb.13 for ; Sat, 03 Nov 2012 09:08:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=hjTlvHT+3HBjaGVm2MlfWTBExcyCDMeylP8xJ8SQfcY=; b=T1ETB0Ase29FiMremMPXbkXMxwPFODt9cm4LuH0QjlLQUVILoknpK4qJM1nenjna4/ M7eNSeekGu/myiWAqpptc/co3nIOv+kaflqEQlfKBvN5scAL7wBYGuSX06FDSB5iG4xd Pal62t4OpcYIhw9hNZ/1/3XaRkFSHx2JBTi/KZW0tHWBkKmpNZFfCOjaypMabStHSHxQ 1gKhsSRFMMqBgVOdvNCKp+ath/JNjDbB9D+c5lt2TEfVQQ9JuZ/Zf8DbGTUSMyXv8hO3 VMaFNR0QZESSty32if2ihmLCxIMethbLhTxeblZ/ze6CRg3e5skBu4NphDh/lgAk3ml/ dfLQ== MIME-Version: 1.0 Received: by 10.60.26.72 with SMTP id j8mr4066323oeg.68.1351958931508; Sat, 03 Nov 2012 09:08:51 -0700 (PDT) Received: by 10.60.58.165 with HTTP; Sat, 3 Nov 2012 09:08:51 -0700 (PDT) In-Reply-To: References: <1167404891.20121103170049@serebryakov.spb.ru> <1351956625.1120.44.camel@revolution.hippie.lan> Date: Sat, 3 Nov 2012 18:08:51 +0200 Message-ID: Subject: Re: FreeBSD as read-only firmware From: Alexander Yerenkow To: Mehmet Erol Sanliturk Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Ian Lepore , lev@freebsd.org, freebsd-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 16:08:58 -0000 Actually in my case, base system image r24243.vmdk, have exactly two partitions (gpt's freebsd-boot, and roots = freebsd-ufs), and second one is used only in read-only :) For virtual machines approach, base image can be even ISO, which will be implied RO for system, and upgrade is just switch ISO. For real hardware, it can be done with such approach - make two partitions with fixed size, and when you need upgrade - just `dd` new image to other partition, mark it as [bootonce] (And if all is ok, as [bootme]), reboot = and you have new OS very quick, with same configs (except for some LARGE changes which could happen in /etc and touch your configs), and with same packages. BTW, when you mount /etc-rw union over /etc, when you'll need upgrade, mergemaster could take less time, less places for errors - since you had to merge only changed files(which present on /etc-rw). I think these days with current hw, no one will complain against lost 1Gb to achieve clean and simple OS upgrade. I'm not saying about possible way to shrink it further (no debug, gzip, etc) - get lesser partition, but still RO, and get ability to make something dd if=/dev/gpt/rootfs bs=1M | sha256 -- Regards, Alexander Yerenkow From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 16:18:58 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 86330427; Sat, 3 Nov 2012 16:18:58 +0000 (UTC) (envelope-from m.e.sanliturk@gmail.com) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1B0078FC08; Sat, 3 Nov 2012 16:18:57 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fw7so6172635vcb.13 for ; Sat, 03 Nov 2012 09:18:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=GROdrpIZVAFFo+61I8ed3ykRxmST8Re5933rUAJ4p3E=; b=hgt5ZtYyu2UX/h3Eb/+ppEROnzNjHx4ob8N3AgHDR2E4dDsspazCMbfmc6iTC52WxX 1WnawHUO2fEiSYzCEoRVAmsCm6EilqbQhD0XBG6buKImiX94Vade1X2TNO2Y7ElobrP9 BwkJ8lVrMEBxGUs2Rddv2yY6UqAW3U/ciS/vrACBfyRjnGaX0U2+w1n6b8I5HdW4WoEU 4pwIBN/aRhL+E7/Ciad58/yNlQw9Yae4Zhxtw/oVcQYm4HGqYayGfMe7Oi/6VNkGwi4O mFxwZqzKcFwnY7PSE/oCp+ttF98lp0wC+0p3zTC4XyarC9LKHvaGdF7XagJiUh9O6gAc oL6w== MIME-Version: 1.0 Received: by 10.52.90.212 with SMTP id by20mr4299578vdb.118.1351959537033; Sat, 03 Nov 2012 09:18:57 -0700 (PDT) Received: by 10.58.218.35 with HTTP; Sat, 3 Nov 2012 09:18:57 -0700 (PDT) In-Reply-To: References: <1167404891.20121103170049@serebryakov.spb.ru> <1351956625.1120.44.camel@revolution.hippie.lan> Date: Sat, 3 Nov 2012 09:18:57 -0700 Message-ID: Subject: Re: FreeBSD as read-only firmware From: Mehmet Erol Sanliturk To: Alexander Yerenkow Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Ian Lepore , lev@freebsd.org, freebsd-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 16:18:58 -0000 On Sat, Nov 3, 2012 at 9:08 AM, Alexander Yerenkow wrote: > Actually in my case, base system image r24243.vmdk, have exactly two > partitions (gpt's freebsd-boot, and roots = freebsd-ufs), and second one is > used only in read-only :) > > For virtual machines approach, base image can be even ISO, which will be > implied RO for system, and upgrade is just switch ISO. > > For real hardware, it can be done with such approach - make two partitions > with fixed size, and when you need upgrade - just `dd` new image to other > partition, mark it as [bootonce] (And if all is ok, as [bootme]), reboot = > and you have new OS very quick, with same configs (except for some LARGE > changes which could happen in /etc and touch your configs), and with same > packages. > > BTW, when you mount /etc-rw union over /etc, when you'll need upgrade, > mergemaster could take less time, less places for errors - since you had to > merge only changed files(which present on /etc-rw). > I think these days with current hw, no one will complain against lost 1Gb > to achieve clean and simple OS upgrade. > > I'm not saying about possible way to shrink it further (no debug, gzip, > etc) - get lesser partition, but still RO, and get ability to make > something dd if=/dev/gpt/rootfs bs=1M | sha256 > > > -- > Regards, > Alexander Yerenkow > I am assuming that ANY SOFTWARE read-only protection , whatever it is , has security vulnerability . Therefore , the first approach should be to provide HARDWARE read only . If this is supplied , the next necessity is that , programs in write-protected part should not attempt to write anything onto write-protected part . Thank you very much . Mehmet Erol Sanliturk From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 16:23:32 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 495FA600; Sat, 3 Nov 2012 16:23:32 +0000 (UTC) (envelope-from yerenkow@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id E2A738FC0C; Sat, 3 Nov 2012 16:23:31 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id wc20so5647446obb.13 for ; Sat, 03 Nov 2012 09:23:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=lF7u0e8NecciH+PncMAs4FiCOyouTuZ+LJ1ovx4BQy0=; b=wC1QCcAnk6EKBbf96nymLkFKpE/59TajAt8dqem0UJWPb17pZMAlJZGMsDMUY0xRMm wVywXq5VdQyd3DcC/E87iF9raoOa4iKfln2QpU5boT8m5Rx+TwZ6OjVqPe572p7jKMcM dipxkScJUDgRgwc72JtCSIvYEUdK3dCn8iQ45S1/SG0p5jaTmgJAsFkM4nVeeAET9ZCE qgGLOtAnGkDg2dHRDah1uyZCKJf2ogmmDyJD5q6PZCTilcfqN0R0hrLwNVl596SSzpgB qpLJP/ZhxHW/zgxNNFt+tNff4cGFAd39FZ6KlB64eYbAlz6uffiru9WDepx6opU3Vrio kFaw== MIME-Version: 1.0 Received: by 10.60.26.72 with SMTP id j8mr4088993oeg.68.1351959811384; Sat, 03 Nov 2012 09:23:31 -0700 (PDT) Received: by 10.60.58.165 with HTTP; Sat, 3 Nov 2012 09:23:31 -0700 (PDT) In-Reply-To: References: <1167404891.20121103170049@serebryakov.spb.ru> <1351956625.1120.44.camel@revolution.hippie.lan> Date: Sat, 3 Nov 2012 18:23:31 +0200 Message-ID: Subject: Re: FreeBSD as read-only firmware From: Alexander Yerenkow To: Mehmet Erol Sanliturk Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Ian Lepore , lev@freebsd.org, freebsd-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 16:23:32 -0000 2012/11/3 Mehmet Erol Sanliturk > > > On Sat, Nov 3, 2012 at 9:08 AM, Alexander Yerenkow wrote: > >> Actually in my case, base system image r24243.vmdk, have exactly two >> partitions (gpt's freebsd-boot, and roots = freebsd-ufs), and second one is >> used only in read-only :) >> >> For virtual machines approach, base image can be even ISO, which will be >> implied RO for system, and upgrade is just switch ISO. >> >> For real hardware, it can be done with such approach - make two >> partitions with fixed size, and when you need upgrade - just `dd` new image >> to other partition, mark it as [bootonce] (And if all is ok, as [bootme]), >> reboot = and you have new OS very quick, with same configs (except for some >> LARGE changes which could happen in /etc and touch your configs), and with >> same packages. >> >> BTW, when you mount /etc-rw union over /etc, when you'll need upgrade, >> mergemaster could take less time, less places for errors - since you had to >> merge only changed files(which present on /etc-rw). >> I think these days with current hw, no one will complain against lost 1Gb >> to achieve clean and simple OS upgrade. >> >> I'm not saying about possible way to shrink it further (no debug, gzip, >> etc) - get lesser partition, but still RO, and get ability to make >> something dd if=/dev/gpt/rootfs bs=1M | sha256 >> >> >> -- >> Regards, >> Alexander Yerenkow >> > > > > I am assuming that ANY SOFTWARE read-only protection , whatever it is , > has security vulnerability . > Therefore , the first approach should be to provide HARDWARE read only . > If this is supplied , the next necessity is that , programs in > write-protected part should not attempt to write anything onto > write-protected part . > If you consider writing as a security issue, you better should look at cd-r, and also for hash checking with public-private keys pair (you prepare image, put there public key, calc hash, sign hash with your private key, and make some script to check hash during boot, and probably over time). And don't be over-concerned about security, it's danger one-way road. > > > > Thank you very much . > > Mehmet Erol Sanliturk > > > > > > -- Regards, Alexander Yerenkow From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 17:46:27 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 71E2CC03 for ; Sat, 3 Nov 2012 17:46:27 +0000 (UTC) (envelope-from null@pozo.com) Received: from pozo.com (pozo.com [216.101.162.50]) by mx1.freebsd.org (Postfix) with ESMTP id 475B68FC18 for ; Sat, 3 Nov 2012 17:46:27 +0000 (UTC) Received: from T61p.pozo.com (t61p.pozo.com [192.168.0.4]) (authenticated bits=0) by pozo.com (8.14.5/8.14.5) with ESMTP id qA3HeqVX001622 (version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NOT) for ; Sat, 3 Nov 2012 10:40:52 -0700 (PDT) (envelope-from null@pozo.com) Message-Id: <201211031740.qA3HeqVX001622@pozo.com> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Sat, 03 Nov 2012 10:40:46 -0700 To: freebsd-current@freebsd.org From: Manfred Antar Subject: weird network problems on current since 10/28/2012 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Spam-Status: No, score=-0.9 required=5.0 tests=ALL_TRUSTED,MISSING_MID autolearn=no version=3.3.2, No X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on pozo.com X-pozocom-MailScanner-Information: Please contact the ISP for more information X-pozocom-MailScanner-ID: qA3HeqVX001622 X-pozocom-MailScanner: Found to be clean X-pozocom-MailScanner-From: null@pozo.com X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 17:46:27 -0000 i have problem connecting to freebsd box on local network since last sunday. the last kernel that works: FreeBSD 10.0-CURRENT #0: Sun Oct 28 12:14:38 PDT 2012 anything after that, sometimes i can connect, other times just hangs. any network connection hangs ===== pop httpd ssh etc etc. anyone have any ideas ? i can checkout different sources and see if i can locate the changes that cause this. thanks manfred ======================== || null@pozo.com || || Ph. (415) 681-6235 || ======================== -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 18:46:20 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8694E7FF for ; Sat, 3 Nov 2012 18:46:20 +0000 (UTC) (envelope-from jroberson@jroberson.net) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4F7A58FC0A for ; Sat, 3 Nov 2012 18:46:19 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id rp8so3284253pbb.13 for ; Sat, 03 Nov 2012 11:46:19 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:x-x-sender:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version:content-type:x-gm-message-state; bh=aCkZBiJE+T2hHUJqUKjKauLEYLIvk3wUORaa8NyeMJk=; b=gfdciHoOz+C39gPA65Jb6G3/Xadhu3rXqFRA6q2ha5MdwKcM/uB4ikAy9aLEfo8yY6 sPar7vDVAqT97eYNSWDME2r53KqW3p5fM78nxtRbZni7nA2H0CJpWNzURxjjvKnJIv/z ha43yu7kiXnSkfQMcAh00eVK17JIRzaUsnH9GTnzqWzt61IuKOV2uyRab4elATefR0xU kventGH1/8mqi2ILWxzA7SK3L06mRdps2nvF3hJgh3E2beylL6JdWJTRViv+wVfNjIzG f/uGModeyh7XAGxJvPff6MN7zUFRn1RL75fOEmRiBCz582TlnouEXx8G6LlBVMyN6EVY nTBA== Received: by 10.66.78.97 with SMTP id a1mr15847887pax.32.1351968379397; Sat, 03 Nov 2012 11:46:19 -0700 (PDT) Received: from rrcs-66-91-135-210.west.biz.rr.com (rrcs-66-91-135-210.west.biz.rr.com. [66.91.135.210]) by mx.google.com with ESMTPS id ak10sm6859246pbd.24.2012.11.03.11.46.18 (version=SSLv3 cipher=OTHER); Sat, 03 Nov 2012 11:46:18 -0700 (PDT) Date: Sat, 3 Nov 2012 08:44:55 -1000 (HST) From: Jeff Roberson X-X-Sender: jroberson@desktop To: "O. Hartmann" Subject: Re: DragonFly vs FreeBSD scheduler In-Reply-To: <50953A1B.5050401@zedat.fu-berlin.de> Message-ID: References: <20121103091752.0000797f@unknown> <50953A1B.5050401@zedat.fu-berlin.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Gm-Message-State: ALoCoQl47b4Dqx7ou8WHFx5tr26DOPtxH/a8yWoVlUskVm4vh5Z6frFwcRIgJRo38gt30ORPwfsj Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 18:46:20 -0000 On Sat, 3 Nov 2012, O. Hartmann wrote: > Am 11/03/12 15:17, schrieb Mark Felder: >> On Sat, 3 Nov 2012 21:18:55 +0800 >> Alie Tan wrote: >> >>> Hi, >>> >>> No offence, just curious about scheduler and its functionality. >>> >>> What is the different between this two that makes FreeBSD performance far >>> behind DragonFly BSD? http://www.dragonflybsd.org/release32/ >>> >> >> I don't have any details but I do know that Dragonfly has been putting a lot of work into their scheduler. Hopefully some of that will trickle back our way. > > > Obviously they made the right decissions, but a single benchmark with a > DB server like postgresql doesn't tell the whole story. Let's see what > Phoronix will come up with. I'd like to see some more benchmarks of > DragonFly 3.2. > > I doubt that the DragonFly scheduler approaches will go/flow easily into > FreeBSD. But I'd like to see it, even dumping ULE for a better approach. It's not the scheduler. It's lock contention in the vm and buffer cache. The scheduler can only schedule what is runnable. We are working to address this problem. Thanks, Jeff > > > > > > > > From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 19:57:49 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EA036F07 for ; Sat, 3 Nov 2012 19:57:49 +0000 (UTC) (envelope-from levitch@iglou.com) Received: from rdsmtp.iglou.com (rdsmtp.iglou.com [192.107.41.63]) by mx1.freebsd.org (Postfix) with ESMTP id A3AAB8FC0A for ; Sat, 3 Nov 2012 19:57:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=iglou.com; s=alpha; h=Content-Type:MIME-Version:Message-ID:Subject:To:From:Date; bh=pGUs3F8bEfxoufehIZjdM2vAN/RVAekR1IMiuohTxxE=; b=pdEUpbLUd0w8u7oARgcwFGtktS8d/9FfPDtUPBSGxfCGh3SfERuMNpDAI7ohIztr3dZggXa3ZUcRIsr7p1qDRN3plAeJGp9yVsA9otOa5FluX/KHZZzdqN21CRcOqVfaUTrydY52NF9TKuEdHO4Oxi2H3clC8e/ADDLiMAx0BTk=; Received: from iglou1.iglou.com ([192.107.41.3]:54611 helo=mail.iglou.com) by rdsmtp.iglou.com with esmtpa (Exim MTA/8.19.3) (envelope-from ) id 1TUjqh-0001mu-9Z by authid with igloumta_auth for current@freebsd.org; Sat, 03 Nov 2012 15:57:43 -0400 Received: from shell1.iglou.com ([192.107.41.17]:35470 helo=shell1) by mail.iglou.com with esmtps (TLS cipher TLSv1:AES256-SHA:256) (Exim MTA/8.19.3) (envelope-from ) id 1TUjqg-0002mE-Va for current@freebsd.org; Sat, 03 Nov 2012 15:57:43 -0400 Date: Sat, 3 Nov 2012 15:57:42 -0400 (EDT) From: Darrel X-X-Sender: levitch@shell1 To: current@freebsd.org Subject: r2421600 amd64 /var/db/pkg Message-ID: User-Agent: Alpine 2.00 (GSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Originating-IP: 192.107.41.17 X-IgLou-Customer: 3cb6f76205bd20f518810676a67a982b X-Mailman-Approved-At: Sat, 03 Nov 2012 20:40:13 +0000 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 19:57:50 -0000 Hello, Is it possible to regenerate the package database or somehow start over? I am seeing errors like these: pkg_info: Don't use the pkg_ tools if you are using pkgng pkg_info: the package info for package 'ca_root_nss-3.14' is corrupt Darrel From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 21:08:35 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2B6B4A4A; Sat, 3 Nov 2012 21:08:35 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id CB0308FC12; Sat, 3 Nov 2012 21:08:34 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id wc20so5788923obb.13 for ; Sat, 03 Nov 2012 14:08:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=tvKD9Rr4MDKK/bVCo7/FXUv+ACzOo/LRpUwGVMWgvkI=; b=gBuKJ3U02LxsZsi3xzRz8bGNbNHV5AQ/B+9SFaQgmH7UsJOvui5LWb1WQZYHbjdUuX PjvsHABhxPh1jE9MvKzvLE6NCy3eO+zeQLlELPhL1IGQIpoYyObNnP03ATBmYScFAX2i gzhC6MSmSWjUVgHjso3iWAFpkTpluOnItuVO3AHHdSUdgpCdgRwXTJ4ltdIw5KBPUkH2 EJEVHSPR+DAVdUed/CVnkxWVtevV4nCCNJzqpnsSzqn+WEZJI42UrawfCkLd/KUlvM9v fQNY3z2S28wbdu8Y7YzNJ2EABt4C9/YaGjMXMYchAg2Lol2YdZma46zmcugBOXquEBlV y4zw== MIME-Version: 1.0 Received: by 10.182.172.74 with SMTP id ba10mr4420737obc.83.1351976914205; Sat, 03 Nov 2012 14:08:34 -0700 (PDT) Received: by 10.76.143.33 with HTTP; Sat, 3 Nov 2012 14:08:34 -0700 (PDT) In-Reply-To: References: <1167404891.20121103170049@serebryakov.spb.ru> Date: Sat, 3 Nov 2012 14:08:34 -0700 Message-ID: Subject: Re: FreeBSD as read-only firmware From: Garrett Cooper To: Alexander Yerenkow Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: lev@freebsd.org, freebsd-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 21:08:35 -0000 On Sat, Nov 3, 2012 at 6:34 AM, Alexander Yerenkow wrote: ... Of course, that's all IMHO and fit for my usage: > ... > 2) .vmdk simply deployed into Esxi/virtualbox (not sure nanobsd can produce > that) > There's no reason why nanobsd couldn't (or shouldn't) do that. It's something that I thought about when the "Google Code In" announcement was sent out; honestly it's no more complicated than installing a port and running a few commands on the full disk image produced with nanobsd. > 3) Transparent /etc/ modifiying VS nanobsd approach (edit, don't forget > mount /cfg, copy there;) > I agree that /cfg doesn't make things transparent for end-users, but that's a feature (that could potentially be polished up with a one-liner command/alias). rc.initdiskless is the one that does the shuffling/stomping of files BTW. > 4) Only OS, no packages included - e.g. I can upgrade/downgrade packages > without touching any byte of OS. Except for symlinks :) nanobsd specified > that if you want packages - you need built them in. > You can do that with nanobsd too. People that use FreeNAS 8 frequently tried to do this :). > Of course differences not so big, and I'm not saying that my way is more > better. > It just raised question deep in me - why OS still aren't modularized, and > most of it not in RO (while it should). > > Something like this > Thanks! -Garrett From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 21:16:11 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 951DBE7E for ; Sat, 3 Nov 2012 21:16:11 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5078A8FC0A for ; Sat, 3 Nov 2012 21:16:11 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so5871708oag.13 for ; Sat, 03 Nov 2012 14:16:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=BzOUBM5TlUfpo2sSGnHiSSlu+kLhFiJdQTBzOvu297c=; b=hwXpNZVfaPuTfXj6Jr/uVnkPgsC+bpJb2XPrVyHHn4lhRoKFcczuvdaHtJnhS41msF lWT+3ODlDSO44bncFK45185SqSkggOxOMcM41eG4u0/frdAuSQcJwXQSE3mFW9swMgNQ qUBvUWYKMPloyjoMocWruPfILygJmfkfHwbSEOu515mEJ3ZvCeFq1PJ9/itceAcYrCYG yUWNsd53xWAPsnsU4WRa0gAskO/7sQcQxtYCTu1BhNayk7YIzI7IQ3De6JEzPmU9fyRo I919xdzCFANWoQXk0SAwpgUIIgAu8GIG5fdOcTseVrYoCEAitLTZeaaLKlbr/2XZKoaL LM9g== MIME-Version: 1.0 Received: by 10.182.95.205 with SMTP id dm13mr4562294obb.9.1351977370934; Sat, 03 Nov 2012 14:16:10 -0700 (PDT) Received: by 10.76.143.33 with HTTP; Sat, 3 Nov 2012 14:16:10 -0700 (PDT) In-Reply-To: References: Date: Sat, 3 Nov 2012 14:16:10 -0700 Message-ID: Subject: Re: r2421600 amd64 /var/db/pkg From: Garrett Cooper To: Darrel Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 21:16:11 -0000 On Sat, Nov 3, 2012 at 12:57 PM, Darrel wrote: > Hello, > > Is it possible to regenerate the package database or somehow start over? I > am seeing errors like these: > > pkg_info: Don't use the pkg_ tools if you are using pkgng > pkg_info: the package info for package 'ca_root_nss-3.14' is corrupt > If you still have the binaries sitting in the port work directory, you could do make reinstall. There are other means to do this (make fake-pkg), but make reinstall is probably the quickest way.. HTH, -Garrett From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 21:51:36 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6BEE599C; Sat, 3 Nov 2012 21:51:36 +0000 (UTC) (envelope-from jbeich@tormail.org) Received: from outgoing.tormail.org (outgoing.tormail.org [82.221.96.22]) by mx1.freebsd.org (Postfix) with ESMTP id F01918FC0A; Sat, 3 Nov 2012 21:51:35 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=internal.tormail.org) by outgoing.tormail.org with esmtp (Exim 4.72) (envelope-from ) id 1TUlcp-0004RL-Md; Sun, 04 Nov 2012 00:51:34 +0300 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tormail.org; s=tm; h=Message-Id:X-TorMail-User:Content-Type:MIME-Version:References:Date:In-Reply-To:Subject:Cc:To:From; bh=zPseYUCwQQemHgTGdN4dajz3/GGz8kdAmdcokMqYAdc=; b=OyY4TVL0q4sPMp2ERrzgUO3xu8/UO2IuHDb0JRfLb9NM9+kdN2c+a7oTgxMDHgMkHhIQKTmIyulsoD6d3ocUSOFhk0/wHOq/c/0OXMJ7wzhX9OCE24YsjecwXzL6Bb1YkaHVZY7w5lrSBb4q8bOj14O/g6paX/l499ka4+3z+dM=; Received: from jbeich by internal.tormail.org with local (Exim 4.63) (envelope-from ) id 1TUlad-0008bB-OF; Sat, 03 Nov 2012 21:49:25 +0000 From: Jan Beich To: David Naylor Subject: Re: November 5th is Clang-Day In-Reply-To: <201211030948.43530.naylor.b.david@gmail.com> (David Naylor's message of "Sat, 3 Nov 2012 09:48:40 +0200") Date: Sat, 03 Nov 2012 14:47:54 -0700 References: <20121102032945.GF65074@lor.one-eyed-alien.net> <1TU9lE-000KmO-Cc@internal.tormail.org> <201211030948.43530.naylor.b.david@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-TorMail-User: jbeich Message-Id: <1TUlad-0008bB-OF@internal.tormail.org> Cc: David Chisnall , freebsd-current@freebsd.org, Brooks Davis X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 21:51:36 -0000 --=-=-= Content-Type: text/plain David Naylor writes: > On Friday, 2 November 2012 10:13:30 David Chisnall wrote: > >> On 2 Nov 2012, at 05:24, Jan Beich wrote: >> >> Known Issues >> > >> > emulators/wine doesn't work with lib32 built by clang, probably due to >> > wine bugs. >> >> Is this still the case? There was an issue preventing WINE from working >> because it required stricter stack alignment than clang provided by >> default, but I thought it was fixed. Does WINE work if compiled with the >> flag that forces stack realignment? If not, then it's some other issue... > > There are two issues here: 1) wine compiled with clang, and 2) wine (compiled > with gcc) running on clang compiled base. > > Regarding 1), according to the wiki [1], wine does have stack alignment issues > and some wine programs do not run when compiled with clang [2][3] and other > bugs with clang cause freezing within wine [4][5]. The impression I get is > that, using the work-a-round of stack realignment, wine does work to some > extent when compiled by clang. Took me some time but now I can confirm that clang-built wine-1.5.16 works fine for me with gcc-built lib32 (i.e. ld-elf32.so.1 + /usr/lib32). > Regarding 2) (which I believe Jan was referring to), when I have a gcc built > world and just replace lib32 with clang built libraries I have winecfg and > regedit launching but displaying black screens. Switching back to gcc built > lib32 I get a working winecfg and regedit. This, to me, indicates a clang > error somewhere. My experience varies between clang-built and gcc-built wine. # clang, quick crash $ winecfg err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x622975ab err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x622975ab err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x622975ab Exit 5 # gcc, black rectangle $ winecfg err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x622995ab err:service:service_send_start_message service L"MountMgr" failed to start fixme:service:scmdatabase_autostart_services Auto-start service L"MountMgr" failed to start: 1053 err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x622995ab err:service:service_send_start_message service L"PlugPlay" failed to start fixme:service:scmdatabase_autostart_services Auto-start service L"PlugPlay" failed to start: 1053 err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x622995ab err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x622995ab load: 0.89 cmd: wine 14626 [piperd] 7.49r 0.03u 0.01s 0% 8932k So, why not switch stack alignment in wine (upstream)? This would make /stable/9 wine package continue to work on /head. Here's my wine package built with and without the patch. # sha256: cef5e543a5c534acb7237634224561863122ab3c256df319c6428856266d79fd http://ompldr.org/vZzR0bw/4byte-clang-wine-fbsd64-1.5.16,1.txz # sha256: 68e402bf7cb39ea48b9bef7772422cf476e89b214fd3b98ced37e0068f588c6c http://ompldr.org/vZzR0ZA/16byte-clang-wine-fbsd64-1.5.16,1.txz --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=patch-16byte-stackalign # include, winegcc: Switch to 16-byte aligned stack on FreeBSD. # # We cannot use __clang__ or __FreeBSD_version in order to stay # compatible where a package built for FreeBSD X also works on # FreeBSD X+1. --- include/windef.h~ +++ include/windef.h @@ -53,7 +53,8 @@ extern "C" { #ifndef __stdcall # ifdef __i386__ # ifdef __GNUC__ -# ifdef __APPLE__ /* Mac OS X uses a 16-byte aligned stack and not a 4-byte one */ +/* Mac OS X and FreeBSD 10 use a 16-byte aligned stack and not a 4-byte one */ +# if defined(__APPLE__) || defined(__FreeBSD__) # define __stdcall __attribute__((__stdcall__)) __attribute__((__force_align_arg_pointer__)) # else # define __stdcall __attribute__((__stdcall__)) --- include/msvcrt/crtdefs.h~ +++ include/msvcrt/crtdefs.h @@ -44,7 +44,8 @@ #ifndef __stdcall # ifdef __i386__ # ifdef __GNUC__ -# ifdef __APPLE__ /* Mac OS X uses a 16-byte aligned stack and not a 4-byte one */ +/* Mac OS X and FreeBSD 10 use a 16-byte aligned stack and not a 4-byte one */ +# if defined(__APPLE__) || defined(__FreeBSD__) # define __stdcall __attribute__((__stdcall__)) __attribute__((__force_align_arg_pointer__)) # else # define __stdcall __attribute__((__stdcall__)) --- tools/winegcc/utils.h~ +++ tools/winegcc/utils.h @@ -42,7 +42,7 @@ enum target_cpu enum target_platform { - PLATFORM_UNSPECIFIED, PLATFORM_APPLE, PLATFORM_SOLARIS, PLATFORM_WINDOWS, PLATFORM_CYGWIN + PLATFORM_UNSPECIFIED, PLATFORM_APPLE, PLATFORM_FREEBSD, PLATFORM_SOLARIS, PLATFORM_WINDOWS, PLATFORM_CYGWIN }; void error(const char* s, ...) DECLSPEC_NORETURN; --- tools/winegcc/winegcc.c~ +++ tools/winegcc/winegcc.c @@ -171,6 +171,7 @@ static const struct { { "macos", PLATFORM_APPLE }, { "darwin", PLATFORM_APPLE }, + { "freebsd", PLATFORM_FREEBSD }, { "solaris", PLATFORM_SOLARIS }, { "cygwin", PLATFORM_CYGWIN }, { "mingw32", PLATFORM_WINDOWS }, @@ -229,6 +230,8 @@ static const enum target_cpu build_cpu = #ifdef __APPLE__ static enum target_platform build_platform = PLATFORM_APPLE; +#elif defined(__FreeBSD__) +static enum target_platform build_platform = PLATFORM_FREEBSD; #elif defined(__sun) static enum target_platform build_platform = PLATFORM_SOLARIS; #elif defined(__CYGWIN__) @@ -466,9 +469,10 @@ static void compile(struct options* opts strarray_add(comp_args, "-D_fastcall=__attribute__((ms_abi))"); fastcall_done = 1; } - else if (opts->target_platform == PLATFORM_APPLE) + else if ((opts->target_platform == PLATFORM_APPLE) || + (opts->target_platform == PLATFORM_FREEBSD)) { - /* Mac OS X uses a 16-byte aligned stack and not a 4-byte one */ + /* Mac OS X and FreeBSD 10 use a 16-byte aligned stack and not a 4-byte one */ strarray_add(comp_args, "-D__stdcall=__attribute__((__stdcall__)) __attribute__((__force_align_arg_pointer__))"); strarray_add(comp_args, "-D__cdecl=__attribute__((__cdecl__)) __attribute__((__force_align_arg_pointer__))"); strarray_add(comp_args, "-D_stdcall=__attribute__((__stdcall__)) __attribute__((__force_align_arg_pointer__))"); --=-=-=-- From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 22:05:17 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1A7D3D1D for ; Sat, 3 Nov 2012 22:05:17 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id BC2E58FC0C for ; Sat, 3 Nov 2012 22:05:16 +0000 (UTC) Received: from outgoing.leidinger.net (p5DD45CC8.dip.t-dialin.net [93.212.92.200]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id EB087844096 for ; Sat, 3 Nov 2012 22:55:43 +0100 (CET) Received: from unknown (IO.Leidinger.net [192.168.1.12]) by outgoing.leidinger.net (Postfix) with ESMTPS id 049E020B8 for ; Sat, 3 Nov 2012 22:55:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leidinger.net; s=outgoing-alex; t=1351979741; bh=rRVfZOolgWGurm6rgWOegSIDa5UeRk0X+UdfpCD1s0Y=; h=Date:From:To:Subject; b=xTlCmlGV5CPW+CSkQHU5fowGySYjuC/Fk5fmbCfqku68fgbGy2f9zUj3UEoICZRTf JM89oXQO0zFFhVOEhFeS9mFRuqUqqOfPBLG3moP7H2khqOgM8ROkeapol583rzoalO fGbRU9yJOLLJ0++ivDwdJWGsT4LLwS6LhWUU/0e7U113SwYm19glQoKiv8peCQuvAW Jz2Bk60KBW+LNWgpwTrv7dwRx19J/5b7ANzpRr0oMOHikwR+dGeJiAu5DQRX0MR61X cMbYIvwH1MJd2678nNLrs5z9kydiaa2Bqv06MHxKVHoaj9u/uEm54gFyYhDMniK/gD jPFs/WGgDNSjA== Date: Sat, 3 Nov 2012 22:55:42 +0100 From: Alexander Leidinger To: current@freebsd.org Subject: watchdogd coredump Message-ID: <20121103225542.00001118@unknown> X-Mailer: Claws Mail 3.8.0cvs30 (GTK+ 2.24.10; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: EB087844096.A11D1 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1.556, required 6, autolearn=disabled, ALL_TRUSTED -1.00, AWL -0.66, DKIM_SIGNED 0.10, T_DKIM_INVALID 0.01, T_RP_MATCHES_RCVD -0.01) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1352584547.56632@Smu0vvwrWpaYTUgycuvH8Q X-EBL-Spam-Status: No X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 22:05:17 -0000 Hi, I updated from r239708 to r242511 and my watchdogd coredumps (and brings down the system... well, the WD works). Before I have a deeper look (recompiling with debugging and such) at this, can someone confirm that with a recent -current and a WD configured to call a shell script which does a simple ls to /dev/null there is a segfault in watchdogd? watchdogd_flags="-e /root/bin/wd_check.sh -s 5 -t 60" ---snip--- # cat /root/bin/wd_check.sh #!/bin/sh exec ls / /space/jails >/dev/null 2>&1 Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B8F8BF94 for ; Sat, 3 Nov 2012 22:08:47 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from kib.kiev.ua (kostikbel-1-pt.tunnel.tserv11.ams1.ipv6.he.net [IPv6:2001:470:1f14:13d6::2]) by mx1.freebsd.org (Postfix) with ESMTP id 23C038FC0A for ; Sat, 3 Nov 2012 22:08:46 +0000 (UTC) Received: from tom.home (localhost [127.0.0.1]) by kib.kiev.ua (8.14.5/8.14.5) with ESMTP id qA3M8hQU040320; Sun, 4 Nov 2012 00:08:43 +0200 (EET) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by tom.home (8.14.5/8.14.5/Submit) id qA3M8hZR040319; Sun, 4 Nov 2012 00:08:43 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sun, 4 Nov 2012 00:08:43 +0200 From: Konstantin Belousov To: Alexander Leidinger Subject: Re: watchdogd coredump Message-ID: <20121103220843.GI73505@kib.kiev.ua> References: <20121103225542.00001118@unknown> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VeECpbAlTmkAjas0" Content-Disposition: inline In-Reply-To: <20121103225542.00001118@unknown> User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Status: No, score=0.2 required=5.0 tests=ALL_TRUSTED, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on tom.home Cc: current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 22:08:47 -0000 --VeECpbAlTmkAjas0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Nov 03, 2012 at 10:55:42PM +0100, Alexander Leidinger wrote: > Hi, >=20 > I updated from r239708 to r242511 and my watchdogd coredumps (and > brings down the system... well, the WD works). >=20 > Before I have a deeper look (recompiling with debugging and such) at > this, can someone confirm that with a recent -current and a WD > configured to call a shell script which does a simple ls to /dev/null > there is a segfault in watchdogd? >=20 > watchdogd_flags=3D"-e /root/bin/wd_check.sh -s 5 -t 60" >=20 > ---snip--- > # cat /root/bin/wd_check.sh > #!/bin/sh >=20 > exec ls / /space/jails >/dev/null 2>&1 ---snip--- >=20 > The not so useful backtrace of the watchdogd core: > ---snip--- > #0 0x0000000800609520 in dlopen () from /libexec/ld-elf.so.1 > #1 0x000000080060309d in .text () from /libexec/ld-elf.so.1 > #2 0x0000000000000246 in ?? () > #3 0xfffffe001ee700f8 in ?? () > #4 0xfffffe001ee700f8 in ?? () > #5 0xffffffff80647e80 in ?? () > #6 0x0000000000000001 in ?? () > #7 0x00007fffffffdb90 in ?? () > #8 0x0000000000000013 in ?? () > #9 0x00007fffffffdb80 in ?? () > #10 0x0000000000000000 in ?? () > #11 0x0000000000000206 in ?? () > #12 0x00007fffffffdaf0 in ?? () > #13 0x000000080061cc00 in ?? () > #14 0x0000000000000031 in ?? () > #15 0x0000000800c93dc9 in system () from /lib/libc.so.7 > #16 0x0000000000401558 in ?? () > #17 0x0000000000400f7e in ?? () > #18 0x000000080061c000 in ?? () > #19 0x0000000000000000 in ?? () > #20 0x0000000000000007 in ?? () > #21 0x00007fffffffdef8 in ?? () > ---snip--- Are you sure that your kernel is at r242511 ? The issue should have been fixed by r242011. --VeECpbAlTmkAjas0 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlCVlesACgkQC3+MBN1Mb4jMtwCgz/sd7EEB1AEQ0dVIwn/esOAI XR4Anjk6NPGWPBzoyfScC5NJSy2GelC5 =nMnQ -----END PGP SIGNATURE----- --VeECpbAlTmkAjas0-- From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 22:12:04 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E91AD197; Sat, 3 Nov 2012 22:12:04 +0000 (UTC) (envelope-from yerenkow@gmail.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id 923648FC0C; Sat, 3 Nov 2012 22:12:04 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so5896906oag.13 for ; Sat, 03 Nov 2012 15:12:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=jE3N/ii00l9QlekqCTseh/C3p7YasvMinYemEWA0OZo=; b=hM6rXMNpkB8z6xmsmhvjvNsqwuxu8JqTDlAeJczkILGeGm1X7KHJRB8KzJEZZzPeSt fxbobXKv/zGMrv2oyb1AU7WAP+a5d2KiKzzsD1l4oW0bjF5IdqviRRPkjLGR5hWRi63a LG1bhr+eRnApB/lREoIbRap1b1eXBU+SUK/CijlmszezaiIh8WMDukO0LXL77q47ZQQq 9w77sIJeQJ1nBVThs181lz2cMrYlfNfduQFs1Qk889a+AKetcwuQDBHFqPYiu6TJHykK 7bfWz1wgP/xW8+Wc6/O4GAHCXiThMtvteV8XIL5bUlxEVaN4bGMMyY9FzpD/nd97eaXZ AGow== MIME-Version: 1.0 Received: by 10.60.26.72 with SMTP id j8mr4591062oeg.68.1351980723725; Sat, 03 Nov 2012 15:12:03 -0700 (PDT) Received: by 10.60.58.165 with HTTP; Sat, 3 Nov 2012 15:12:03 -0700 (PDT) In-Reply-To: References: <1167404891.20121103170049@serebryakov.spb.ru> Date: Sun, 4 Nov 2012 00:12:03 +0200 Message-ID: Subject: Re: FreeBSD as read-only firmware From: Alexander Yerenkow To: Garrett Cooper Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: lev@freebsd.org, freebsd-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 22:12:05 -0000 Quick glance to nanobsd give me impression that: 1) nanobsd is MBR based, so : 2) nanobsd is disk-name-change sensitive. GPT way is better - I'm using r${REV} as label, and root can be mounted no matter how many other "firmware's" present, or how disks are ordered. BTW, due to bug 173309 I had to rebuild and update my server, which took only few minutes for reboot. Well, nanobsd is great thing, I'll look into it a bit more, but it's goal to have minified FreeBSD, while I need read-only one. -- Regards, Alexander Yerenkow From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 22:14:01 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1D8DE58B for ; Sat, 3 Nov 2012 22:14:01 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id D08768FC14 for ; Sat, 3 Nov 2012 22:13:59 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so5897792oag.13 for ; Sat, 03 Nov 2012 15:13:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=bL6Vb3ICvO01Jxl8/FD/RJHP3KZz8q4Vs3tkYE3FAaQ=; b=JK5vQ0x28aynnV9muTbk/oKCCrFSkvL/0e3rvqXj0uiD+ypquSSUYl1Mlax6tc50dZ 2V2bHGvrpO0nRg7mx62tmyxxGuwNfWE3V54vxyuUPSQxUhnisw8RA2DZt7y0yCbSkaB3 UEycb8fKUEh5r0Ffc/P+mnxVxhsw0jeogMnSiQUxRVLseOqlK57BQ1Sr4+GDFJBzWjTK 52AwSiHWyqP0YTicOdvCpM05q+g2V8mDWmkx1yYgmAAhI730cxtVyth63UZLm4sZ4SUK a2Omjj9OZxY6PMILldvhlszYtB463R4K+aOeasTESepdb65t+xc+S2/Rb09LcHAdOEEp MkOg== MIME-Version: 1.0 Received: by 10.60.7.41 with SMTP id g9mr4475265oea.18.1351980839564; Sat, 03 Nov 2012 15:13:59 -0700 (PDT) Received: by 10.76.143.33 with HTTP; Sat, 3 Nov 2012 15:13:59 -0700 (PDT) In-Reply-To: <20121103225542.00001118@unknown> References: <20121103225542.00001118@unknown> Date: Sat, 3 Nov 2012 15:13:59 -0700 Message-ID: Subject: Re: watchdogd coredump From: Garrett Cooper To: Alexander Leidinger Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Xin LI , current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 22:14:01 -0000 On Sat, Nov 3, 2012 at 2:55 PM, Alexander Leidinger wrote: > Hi, > > I updated from r239708 to r242511 and my watchdogd coredumps (and > brings down the system... well, the WD works). > > Before I have a deeper look (recompiling with debugging and such) at > this, can someone confirm that with a recent -current and a WD > configured to call a shell script which does a simple ls to /dev/null > there is a segfault in watchdogd? > > watchdogd_flags="-e /root/bin/wd_check.sh -s 5 -t 60" > > ---snip--- > # cat /root/bin/wd_check.sh > #!/bin/sh > > exec ls / /space/jails >/dev/null 2>&1 ---snip--- > > The not so useful backtrace of the watchdogd core: > ---snip--- > #0 0x0000000800609520 in dlopen () from /libexec/ld-elf.so.1 > #1 0x000000080060309d in .text () from /libexec/ld-elf.so.1 > #2 0x0000000000000246 in ?? () > #3 0xfffffe001ee700f8 in ?? () > #4 0xfffffe001ee700f8 in ?? () > #5 0xffffffff80647e80 in ?? () > #6 0x0000000000000001 in ?? () > #7 0x00007fffffffdb90 in ?? () > #8 0x0000000000000013 in ?? () > #9 0x00007fffffffdb80 in ?? () > #10 0x0000000000000000 in ?? () > #11 0x0000000000000206 in ?? () > #12 0x00007fffffffdaf0 in ?? () > #13 0x000000080061cc00 in ?? () > #14 0x0000000000000031 in ?? () > #15 0x0000000800c93dc9 in system () from /lib/libc.so.7 > #16 0x0000000000401558 in ?? () > #17 0x0000000000400f7e in ?? () > #18 0x000000080061c000 in ?? () > #19 0x0000000000000000 in ?? () > #20 0x0000000000000007 in ?? () > #21 0x00007fffffffdef8 in ?? () > ---snip--- > Do you have watchdogd_flags set to something non-standard? Xin CCed since he made the last commit. -Garrett From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 22:00:22 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1CDB6B2D for ; Sat, 3 Nov 2012 22:00:22 +0000 (UTC) (envelope-from levitch@iglou.com) Received: from rdsmtp.iglou.com (rdsmtp.iglou.com [192.107.41.63]) by mx1.freebsd.org (Postfix) with ESMTP id C48C28FC0A for ; Sat, 3 Nov 2012 22:00:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=iglou.com; s=alpha; h=Content-Type:MIME-Version:References:Message-ID:In-Reply-To:Subject:cc:To:From:Date; bh=ROjufdsApy1v6gf1nk1H1lZcZyX4dbJyVbOzMsAk/TM=; b=uIOIBBwXsn3uCGP+H67QO/fuaPahCos2f8pJyCqmAiW3LN8id8PmLGF7ZuDQHrFwK/qypxqaP/jr7VnCsP3LRpU0YfQcJWusLCZwD6XKBHzpaeoQhV+ztsFgYjUGm8tIROT6C3vTv4UL1tbiMR2RWJzkVOmZVV6Q/Y0jMPkNSYY=; Received: from iglou1.iglou.com ([192.107.41.3]:46568 helo=mail.iglou.com) by rdsmtp.iglou.com with esmtpa (Exim MTA/8.19.3) (envelope-from ) id 1TUllM-0006vp-P9 by authid with igloumta_auth for current@freebsd.org; Sat, 03 Nov 2012 18:00:20 -0400 Received: from shell1.iglou.com ([192.107.41.17]:35818 helo=shell1) by mail.iglou.com with esmtps (TLS cipher TLSv1:AES256-SHA:256) (Exim MTA/8.19.3) (envelope-from ) id 1TUllM-0004uS-D7; Sat, 03 Nov 2012 18:00:20 -0400 Date: Sat, 3 Nov 2012 18:00:20 -0400 (EDT) From: Darrel X-X-Sender: levitch@shell1 To: Johan Hendriks Subject: Re: r2421600 amd64 /var/db/pkg In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (GSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Originating-IP: 192.107.41.17 X-IgLou-Customer: 3cb6f76205bd20f518810676a67a982b X-Mailman-Approved-At: Sat, 03 Nov 2012 22:21:17 +0000 Cc: current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 22:00:22 -0000 > > If i read it right you need pkg info not pkg_info. > So use the old commands without the underscore. > I see the errors when running portmaster. Apparently, my 9.1 machines upgraded alright to pkgng and something went awry with my 10.0 machine. If I run something like 'pkg info | grep pkgconf' then the output is fine. Oh, I just noticed that portmaster-3.14 *and* portmaster-3.14_7 exist in /var/db/pkg. That can not be alright. Darrel From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 22:24:41 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7EAB7C93 for ; Sat, 3 Nov 2012 22:24:41 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id 2A7718FC14 for ; Sat, 3 Nov 2012 22:24:40 +0000 (UTC) Received: from outgoing.leidinger.net (p5DD45CC8.dip.t-dialin.net [93.212.92.200]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 38F10844096 for ; Sat, 3 Nov 2012 23:24:35 +0100 (CET) Received: from unknown (IO.Leidinger.net [192.168.1.12]) by outgoing.leidinger.net (Postfix) with ESMTPS id 5B9D120B3 for ; Sat, 3 Nov 2012 23:24:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leidinger.net; s=outgoing-alex; t=1351981472; bh=lMOHfV3i7ltyRuI4eXwnJWCsEMEWj1R4zSULVMtHobE=; h=Date:From:To:Subject; b=hYMADWQTTsVdqZdMt16Qw+TI+0y6wzGn3RpvkXVbj3n3kWjUyOfg0RxfR6ti+bg7B ATU5kHdJDleh0xINvxAiTXkQqVUX/oE9rW2zfrKd1c+tk1fOBt3t88DoNX+XDiMp4/ /ptzWV+RNHenkPAdg6ntuxYuo2guoLflF1lqdwQmQfZ62/pGv6HjhVo9wUWo3cjUpQ 4nOEGZYlpjLWy3OClpyUMVMoDUDcWe8Y6rII9OEx+UfVq4V6nAPLgY4OpBUy+DqKQS wArsWZYNroVADfLOsuJOsNrMMQannk+BeEgoofAGC0TLpPtD6dd+R+HiWWfp4jPc6b dau7Jo2nv4fDQ== Date: Sat, 3 Nov 2012 23:24:33 +0100 From: Alexander Leidinger To: current@FreeBSD.org Subject: Do we have a CPUTYPE=native and/or generic stability problem? Message-ID: <20121103232433.00005eee@unknown> X-Mailer: Claws Mail 3.8.0cvs30 (GTK+ 2.24.10; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 38F10844096.AEC58 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1.592, required 6, autolearn=disabled, ALL_TRUSTED -1.00, AWL -0.69, DKIM_SIGNED 0.10, T_DKIM_INVALID 0.01, T_RP_MATCHES_RCVD -0.01) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1352586279.08834@Oabks66nHJLxQrtdSmx5Hw X-EBL-Spam-Status: No X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 22:24:41 -0000 Hi, while trying to update from r239708 to r242511 (amd64 arch) I tried to compile the world with "make -j8". After a short while I got an internal error in the clang compile (this is a gcc-compiled system, I don't use clang). The CFLAGS/COPTFLAGS are -O2 -pipe. Without the -j8 it compiles just fine. Without the CPUTYPE?=native it compiles even with -j8. The CPU is an Intel(R) Xeon(R) CPU (L5630) with ECC ram. The r239708 world runs stable since I installed it (build with CPUTYPE=native). The r242511 world (no CPUTYPE set) doesn't run stable (not only the watchdogd segfault I reported in another mail some minutes ago, but also some other kind of reboot every X minutes I haven't investigated yet). Does someone run -current on a similar system on a similar revision and can comment about the stability? Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 22:27:48 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 18068F8F for ; Sat, 3 Nov 2012 22:27:48 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id B5C918FC16 for ; Sat, 3 Nov 2012 22:27:46 +0000 (UTC) Received: from outgoing.leidinger.net (p5DD45CC8.dip.t-dialin.net [93.212.92.200]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id B7962844096; Sat, 3 Nov 2012 23:27:43 +0100 (CET) Received: from unknown (IO.Leidinger.net [192.168.1.12]) by outgoing.leidinger.net (Postfix) with ESMTPS id 41F8B20B5; Sat, 3 Nov 2012 23:27:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leidinger.net; s=outgoing-alex; t=1351981661; bh=bR5efObXBi6X8nPqbIGTF1V2Na65TJ2k89ho2oUPLiI=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=eFVF+IVg7992zh13pCz+KzCoMF/HGfOrmwOhp7pnlshGI+A4DQOpIsMCbeKtb2v4+ UcPK7arDWl0uJo45Ar9XckFQIs7y1iWtm6OCaRxxLPQNzOc7KZe9IbkKvjSV0ewvnr ly0GNDsFOvMbZ3qUhZ1tDcAlkUuNuJXHGXfzqur6vwvZdTav33UCzaw9Hyu6a3SWy1 rd3Kx9HZVuWC7QHyAJ9NN2VT2SqNEcQoHX78naEuBSy4SkMmJ/0solhYXTHzui3IEI H7zIIIH+bPYHZmx99hmysdo8UnTFI9z9P8DVUpaFCBIjYJT3bpToxJUguoLl8iuadZ 8jMgJI8RcqZ1Q== Date: Sat, 3 Nov 2012 23:27:42 +0100 From: Alexander Leidinger To: Garrett Cooper Subject: Re: watchdogd coredump Message-ID: <20121103232742.000046a3@unknown> In-Reply-To: References: <20121103225542.00001118@unknown> X-Mailer: Claws Mail 3.8.0cvs30 (GTK+ 2.24.10; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: B7962844096.A0FEF X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1.621, required 6, autolearn=disabled, ALL_TRUSTED -1.00, AWL -0.72, DKIM_SIGNED 0.10, T_DKIM_INVALID 0.01, T_RP_MATCHES_RCVD -0.01) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1352586464.72578@UIIsNtgCCCr4rfIU9IToIg X-EBL-Spam-Status: No Cc: Xin LI , current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 22:27:48 -0000 On Sat, 3 Nov 2012 15:13:59 -0700 Garrett Cooper wrote: > On Sat, Nov 3, 2012 at 2:55 PM, Alexander Leidinger > > wrote: > > > Hi, > > > > I updated from r239708 to r242511 and my watchdogd coredumps (and > > brings down the system... well, the WD works). > > > > Before I have a deeper look (recompiling with debugging and such) at > > this, can someone confirm that with a recent -current and a WD > > configured to call a shell script which does a simple ls > > to /dev/null there is a segfault in watchdogd? > > > > watchdogd_flags="-e /root/bin/wd_check.sh -s 5 -t 60" > > > > ---snip--- > > # cat /root/bin/wd_check.sh > > #!/bin/sh > > > > exec ls / /space/jails >/dev/null 2>&1 > ---snip--- > Do you have watchdogd_flags set to something non-standard? Xin CCed > since he made the last commit. Please see above. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 22:29:31 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DB1F4164 for ; Sat, 3 Nov 2012 22:29:31 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id A888A8FC08 for ; Sat, 3 Nov 2012 22:29:31 +0000 (UTC) Received: by mail-pb0-f54.google.com with SMTP id rp8so3334217pbb.13 for ; Sat, 03 Nov 2012 15:29:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=K9aq22qaqnHuwIFn7/iEEgr3vKIMD2HC1FH5EMJSlmw=; b=nYXWbS04zOHNy/LQly/UUwho44sdJpkknfAorkXz+JfC1zdOgoQLMYnx55MKNQHFRn 2Hpaqxsh0I1e0PvXpF7zv6qLRvTh0se0pUmcqw2h+B6VBnfmv+5Idd+dFstNzempjdXt Z1d36lfx8/ddHIYZ0rXUP6pE/20g5kqvDEh8bDSorKq7YPNoC4UIfEj4IMg3bQXwW9pD hWhU0spXpMqGwhbAEI0V55gMYEs7my+snPBq6geB82+sWOKPkw7kvnuz1esXNioX5Eyj hv2Gdi80fcps5c+VLF38qcbbzNGO9OTcRmr2D5i2sFElGFhbAozjIAdDOvAPWo/7HWZT xJZg== MIME-Version: 1.0 Received: by 10.68.251.197 with SMTP id zm5mr18137947pbc.30.1351981771268; Sat, 03 Nov 2012 15:29:31 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.68.124.130 with HTTP; Sat, 3 Nov 2012 15:29:31 -0700 (PDT) In-Reply-To: <201211031740.qA3HeqVX001622@pozo.com> References: <201211031740.qA3HeqVX001622@pozo.com> Date: Sat, 3 Nov 2012 15:29:31 -0700 X-Google-Sender-Auth: oUNHoMPajxIrHDBynQdRjSx2hnQ Message-ID: Subject: Re: weird network problems on current since 10/28/2012 From: Adrian Chadd To: Manfred Antar Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 22:29:32 -0000 On 3 November 2012 10:40, Manfred Antar wrote: > i have problem connecting to freebsd box on local network since last sunday. > the last kernel that works: > FreeBSD 10.0-CURRENT #0: Sun Oct 28 12:14:38 PDT 2012 > anything after that, sometimes i can connect, other times just hangs. > any network connection hangs ===== pop httpd ssh etc etc. > anyone have any ideas ? > i can checkout different sources and see if i can locate the changes that cause this. Please do! adrian From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 22:33:39 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 723DC2A1 for ; Sat, 3 Nov 2012 22:33:39 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from anubis.delphij.net (anubis.delphij.net [64.62.153.212]) by mx1.freebsd.org (Postfix) with ESMTP id 517F18FC0C for ; Sat, 3 Nov 2012 22:33:38 +0000 (UTC) Received: from Xins-MacBook-Pro.local (nat-dip5.cfw-a-gci.corp.yahoo.com [209.131.62.114]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by anubis.delphij.net (Postfix) with ESMTPSA id 9B12C217B1; Sat, 3 Nov 2012 15:33:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=delphij.net; s=anubis; t=1351982018; bh=Dc5Mdm+cazSs57BEoSniw2hEFGLd55rEp8i4jmwNMkY=; h=Date:From:Reply-To:To:CC:Subject:References:In-Reply-To; b=OZwKUjzOI27M1HLFcw2+neiwAfTnmZQla8takW+ELWe3ESL491CTHefpBNaTX0wq2 EKxMPYySgGqjB8RpTNkYFaqywR0oZxAjEoy1SmGCkksVeP3u3SpuomW47YtZcrv3Ac 7F9gzYXkQTe5DASx0BJKuFFX8xhmJrgo3Pq3pJEI= Message-ID: <50959BC2.4060901@delphij.net> Date: Sat, 03 Nov 2012 15:33:38 -0700 From: Xin Li Organization: The FreeBSD Project MIME-Version: 1.0 To: Garrett Cooper Subject: Re: watchdogd coredump References: <20121103225542.00001118@unknown> In-Reply-To: X-Enigmail-Version: 1.4.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Alexander Leidinger , current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: d@delphij.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Nov 2012 22:33:39 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 11/3/12 3:13 PM, Garrett Cooper wrote: > On Sat, Nov 3, 2012 at 2:55 PM, Alexander Leidinger > > wrote: > > Hi, > > I updated from r239708 to r242511 and my watchdogd coredumps (and > brings down the system... well, the WD works). > > Before I have a deeper look (recompiling with debugging and such) > at this, can someone confirm that with a recent -current and a WD > configured to call a shell script which does a simple ls to > /dev/null there is a segfault in watchdogd? > > watchdogd_flags="-e /root/bin/wd_check.sh -s 5 -t 60" [...] ^^ > Do you have watchdogd_flags set to something non-standard? Xin > CCed since he made the last commit. I think my commit have nothing to do with Alexander's issue, it's fairly self-contained with no outreaching memory access that could cause access violation. I think Kostik was right that he may be running an older version of kernel with watchdog newer than 239896. Alexander, can you confirm if that was the case? Cheers, -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJQlZvBAAoJEG80Jeu8UPuzmXIH/j1w4BFxPEfkj4nipSurLq/n 3jLExTaGho4ElO82HjAx6hK0BO5aLHKG5A5FrLJaD5oH61xqDMg0vjcbtausLUJs Pknnf91UtWuyZ3odvcrY0Y7Uv1flQvBri6ZpsmJXCqMQvNh2Uks4+0iNi6vRs8dN eh3igb6tGt+arOwcUohUo60sivTUPl3KVOSRvZlxAuCzrTGwwJ3B2wDSI2aBI34B qdfUFB1XcZwalCCbI9opKYnVdQOFrTbypVB0aV38IYkRNLPIbKzvDwHbNTA3N8Fz wHe3qMiN+De23X19sNvfKHDBZtaz3LFfTnyw4eDkaxocEVscUgeSZxJdhDSBaHg= =ar5w -----END PGP SIGNATURE----- From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 22:34:31 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1CD543AE for ; Sat, 3 Nov 2012 22:34:31 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id BC04D8FC08 for ; Sat, 3 Nov 2012 22:34:30 +0000 (UTC) Received: from outgoing.leidinger.net (p5DD45CC8.dip.t-dialin.net [93.212.92.200]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 4C511844096; Sat, 3 Nov 2012 23:34:27 +0100 (CET) Received: from unknown (IO.Leidinger.net [192.168.1.12]) by outgoing.leidinger.net (Postfix) with ESMTPS id C630520B8; Sat, 3 Nov 2012 23:34:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=leidinger.net; s=outgoing-alex; t=1351982064; bh=4Lzh4afq9a1SjZqOaJOh2LbTWcCwLPjObe+WQz2vSuI=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=VZpa5bqtH6Qitap80wsYcylJZsdLT2lDNFL5qUb+iwU/Q+MOPQlgkrBuIybUD5Pkc 6cxYrCv0KEQXGrMoiVGZdGFPx8uKwdbi/XUeFCClBP2T18iE9SPLUGPjg21UCt2ad6 +CNldAfg7dG4vQMunsopBWCfQzjepHXf+nJsiJbprDmTUEI926kylRN9yt5tUEZPAQ zkauWy0lnnJ0sMmjrbkKlMz9SGAmMyZaTtwly95/OJXMck3KoqRO72Aq1yk3KBhRp8 7sDlpoQimHU60RlOim+dEnkg4V5P/I2cvntrKNTj8qCwP88xwxWbd4G3q2uN/ZGEsQ A76yrWVRAJN4g== Date: Sat, 3 Nov 2012 23:34:26 +0100 From: Alexander Leidinger To: Konstantin Belousov Subject: Re: watchdogd coredump Message-ID: <20121103233426.0000371d@unknown> In-Reply-To: <20121103220843.GI73505@kib.kiev.ua> References: <20121103225542.00001118@unknown> <20121103220843.GI73505@kib.kiev.ua> X-Mailer: Claws Mail 3.8.0cvs30 (GTK+ 2.24.10; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 4C511844096.AEC7D X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=-1.269, required 6, autolearn=disabled, ALL_TRUSTED -1.00, AWL -1.12, DKIM_SIGNED 0.10, J_CHICKENPOX_65 0.60, TW_SV 0.08, TW_VN 0.08, T_DKIM_INVALID 0.01, T_RP_MATCHES_RCVD -0.01) X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1352586868.35676@WgF4Gq+7Vqvi/ma0bu3lPw X-EBL-Spam-Status: No Cc: current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 22:34:31 -0000 On Sun, 4 Nov 2012 00:08:43 +0200 Konstantin Belousov wrote: > Are you sure that your kernel is at r242511 ? > > The issue should have been fixed by r242011. # svnversion 242511M # svn status M contrib/bind9/bin/named/interfacemgr.c M etc/defaults/rc.conf M etc/rc.d/jail M sys/dev/ata/ata-all.c M sys/dev/drm/drmP.h M sys/dev/usb/serial/ulpt.c M sys/kern/kern_jail.c M sys/sys/jail.h M sys/sys/priv.h M sys/vm/uma_core.c The uma_core patch is the one floating around which shall prevent memory fragmentation, the others are mostly my X-in-jail and some minor default values (ata, ulpt) changes. Currently I'm back to the previous kernel+world, but I still have the r242511M boot environment available (I have no time to investigate the problem this evening, and I want to have a stable system until I get time to have a deeper look at this). Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 22:47:40 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 98C6A929 for ; Sat, 3 Nov 2012 22:47:40 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from anubis.delphij.net (anubis.delphij.net [IPv6:2001:470:1:117::25]) by mx1.freebsd.org (Postfix) with ESMTP id 7642F8FC0A for ; Sat, 3 Nov 2012 22:47:40 +0000 (UTC) Received: from Xins-MacBook-Pro.local (nat-dip5.cfw-a-gci.corp.yahoo.com [209.131.62.114]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by anubis.delphij.net (Postfix) with ESMTPSA id 5E71B21843; Sat, 3 Nov 2012 15:47:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=delphij.net; s=anubis; t=1351982860; bh=UXrlSobMaGAUZANeZZ4SXxp0QCi8qY/fXUkYo2s3D2I=; h=Date:From:Reply-To:To:Subject:References:In-Reply-To; b=ZqQDGfoH9lgMk4zUyQK4eozzw00BkMg2wJf9SIf9LFscFRzTwhQEzxPUC3EHigJVl Vx2cecAV5gzvC8sOe79TDRx9vwcnvIwRy/4hbrDKyT2CjvvM5mGcblmhn5VYpRYzMS 2DY6tysF/1Im/PsIzAFeBopY9PLrOSC6rFklvnqE= Message-ID: <50959F0B.7010505@delphij.net> Date: Sat, 03 Nov 2012 15:47:39 -0700 From: Xin Li Organization: The FreeBSD Project MIME-Version: 1.0 To: freebsd-current@freebsd.org Subject: Re: watchdogd coredump References: <20121103225542.00001118@unknown> <20121103220843.GI73505@kib.kiev.ua> <20121103233426.0000371d@unknown> In-Reply-To: <20121103233426.0000371d@unknown> X-Enigmail-Version: 1.4.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: d@delphij.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Nov 2012 22:47:40 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 11/3/12 3:34 PM, Alexander Leidinger wrote: > On Sun, 4 Nov 2012 00:08:43 +0200 Konstantin Belousov > wrote: > >> Are you sure that your kernel is at r242511 ? >> >> The issue should have been fixed by r242011. > > # svnversion 242511M > > # svn status M contrib/bind9/bin/named/interfacemgr.c M > etc/defaults/rc.conf M etc/rc.d/jail M > sys/dev/ata/ata-all.c M sys/dev/drm/drmP.h M > sys/dev/usb/serial/ulpt.c M sys/kern/kern_jail.c M > sys/sys/jail.h M sys/sys/priv.h M sys/vm/uma_core.c > > The uma_core patch is the one floating around which shall prevent > memory fragmentation, the others are mostly my X-in-jail and some > minor default values (ata, ulpt) changes. > > Currently I'm back to the previous kernel+world, but I still have > the r242511M boot environment available (I have no time to > investigate the problem this evening, and I want to have a stable > system until I get time to have a deeper look at this). What was 'strings /boot/kernel.bad/kernel | tail' saying? Cheers, -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJQlZ8LAAoJEG80Jeu8UPuz2S8IAKfvH1m7L3TQay3tghddaI1k ohMic676FX/u24lxFpO9ENPxZq28VKyTIKG+5XD2dxfYvX9kRRmfRUVQHHc5Ri2H c/ZPusPFkOCS3/U74puHvgIF+ypi7110AOC4S+T6whW9D8SVLL/Hauu05CbbjYb1 ef5Vhj0xnxa+XlWhDY6h4QPeduvzulrxhcjJiyiS5aH+ZBMph26cBUfxyrzfMV+2 akJbI0KV0z0AR5HgwS16CLVahApqEuRyXWNmwEuE2c234q0clXarsJS7biDy0X2P eeFogNkoOJzVbLVOmKtgG1l63yEfAKtDTJURtaOTB7/COG4KkeWolj3elL60MVw= =a1YO -----END PGP SIGNATURE----- From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 22:56:10 2012 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F2406DFB for ; Sat, 3 Nov 2012 22:56:10 +0000 (UTC) (envelope-from lev@FreeBSD.org) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [IPv6:2a01:4f8:131:60a2::2]) by mx1.freebsd.org (Postfix) with ESMTP id 81E188FC08 for ; Sat, 3 Nov 2012 22:56:10 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [IPv6:2001:470:923f:1:dc:ffe:46f:81d2]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPA id A5FF34AC31; Sun, 4 Nov 2012 02:56:08 +0400 (MSK) Date: Sun, 4 Nov 2012 02:56:02 +0400 From: Lev Serebryakov Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <534994431.20121104025602@serebryakov.spb.ru> To: Alexander Yerenkow Subject: Re: FreeBSD as read-only firmware In-Reply-To: References: <1167404891.20121103170049@serebryakov.spb.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Garrett Cooper , freebsd-current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: lev@FreeBSD.org List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Nov 2012 22:56:11 -0000 Hello, Alexander. You wrote 4 =D0=BD=D0=BE=D1=8F=D0=B1=D1=80=D1=8F 2012 =D0=B3., 2:12:03: AY> Quick glance to nanobsd give me impression that: AY> 1) nanobsd is MBR based, so : AY> 2) nanobsd is disk-name-change sensitive. Here are patches to support GPT AY> GPT way is better - I'm using r${REV} as label, and root can be mounted= no AY> matter how many other "firmware's" present, or how disks are ordered. AY> BTW, due to bug 173309 I had to rebuild and update my server, which took AY> only few minutes for reboot. AY> Well, nanobsd is great thing, I'll look into it a bit more, but it's go= al AY> to have minified FreeBSD, while I need read-only one. No. Its goal is to have RO and ACID-upgradable system (with two code slices for this). --=20 // Black Lion AKA Lev Serebryakov From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 22:16:24 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B95EA78A for ; Sat, 3 Nov 2012 22:16:24 +0000 (UTC) (envelope-from levitch@iglou.com) Received: from rdsmtp.iglou.com (rdsmtp.iglou.com [192.107.41.63]) by mx1.freebsd.org (Postfix) with ESMTP id 6B9488FC17 for ; Sat, 3 Nov 2012 22:16:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=iglou.com; s=alpha; h=Content-Type:MIME-Version:References:Message-ID:In-Reply-To:Subject:cc:To:From:Date; bh=TsHA2fj047bpk2/vjASpEbk4MXxP7f/4Cf5fiaUflH8=; b=Im8wwqUUvG5oYeoxIVK55MUVMV1SGiI/uPDMVJ7GVB7qKa2y160WDnlpUEt/vjsINuuFIflSk6zuNjsmqZ7ejq1hcMcXcANrrH1sLioeBxlr3Zq9j3vA9Pa2gY2VwPEuj704Xj/hiAAHuK+dWw1DbeopF27dD1azbeURj9OsKwU=; Received: from iglou1.iglou.com ([192.107.41.3]:49304 helo=mail.iglou.com) by rdsmtp.iglou.com with esmtpa (Exim MTA/8.19.3) (envelope-from ) id 1TUm0t-0000R7-UY by authid with igloumta_auth for current@freebsd.org; Sat, 03 Nov 2012 18:16:23 -0400 Received: from shell1.iglou.com ([192.107.41.17]:35892 helo=shell1) by mail.iglou.com with esmtps (TLS cipher TLSv1:AES256-SHA:256) (Exim MTA/8.19.3) (envelope-from ) id 1TUm0t-0005vF-Kl; Sat, 03 Nov 2012 18:16:23 -0400 Date: Sat, 3 Nov 2012 18:16:23 -0400 (EDT) From: Darrel X-X-Sender: levitch@shell1 To: Garrett Cooper Subject: Re: r2421600 amd64 /var/db/pkg In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (GSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-559023410-1297389768-1351980983=:8996" X-Originating-IP: 192.107.41.17 X-IgLou-Customer: 3cb6f76205bd20f518810676a67a982b X-Mailman-Approved-At: Sat, 03 Nov 2012 22:57:58 +0000 Cc: current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 22:16:25 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---559023410-1297389768-1351980983=:8996 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: QUOTED-PRINTABLE > Is it possible to regenerate the package database or somehow > start over? I am seeing errors like these: > > pkg_info: Don't use the pkg_ tools if you are using pkgng > pkg_info: the package info for package 'ca_root_nss-3.14' is > corrupt >=20 >=20 > =A0=A0=A0 If you still have the binaries sitting in the port work directo= ry, you > could do make reinstall. There are other means to do this (make fake-pkg)= , > but make reinstall is probably the quickest way.. Appears that all of the work is gone. At second glance, it seems that the= =20 problem may stem from portmaster-3.14 *and* portmaster-3.14_7 existing in= =20 /var/db/pkg I might need to just reduce that machine to a file server until there is=20 time to do something new with it. Thank you, Darrel ---559023410-1297389768-1351980983=:8996-- From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 23:46:13 2012 Return-Path: Delivered-To: current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 519E6D0 for ; Sat, 3 Nov 2012 23:46:13 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) by mx1.freebsd.org (Postfix) with ESMTP id 09A878FC08 for ; Sat, 3 Nov 2012 23:46:12 +0000 (UTC) Received: from [192.168.0.6] (spaceball.home.andric.com [192.168.0.6]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 0B99D5C59; Sun, 4 Nov 2012 00:46:12 +0100 (CET) Message-ID: <5095ACC7.1050002@FreeBSD.org> Date: Sun, 04 Nov 2012 00:46:15 +0100 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Alexander Leidinger Subject: Re: Do we have a CPUTYPE=native and/or generic stability problem? References: <20121103232433.00005eee@unknown> In-Reply-To: <20121103232433.00005eee@unknown> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: current@FreeBSD.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 23:46:13 -0000 On 2012-11-03 23:24, Alexander Leidinger wrote: > while trying to update from r239708 to r242511 (amd64 arch) I tried to > compile the world with "make -j8". After a short while I got an > internal error in the clang compile (this is a gcc-compiled system, I > don't use clang). The CFLAGS/COPTFLAGS are -O2 -pipe. > > Without the -j8 it compiles just fine. > Without the CPUTYPE?=native it compiles even with -j8. Hm, at first I thought you might be running out of RAM, but apparently that is not the case then. :) > The CPU is an Intel(R) Xeon(R) CPU (L5630) with ECC ram. What does gcc detect for this CPU with -march=native? You can do: gcc -march=native -v -c -x c /dev/null 2>&1 | grep -- -march to see what it passes to the second stage. > The r239708 world runs stable since I installed it (build with > CPUTYPE=native). The r242511 world (no CPUTYPE set) doesn't run stable > (not only the watchdogd segfault I reported in another mail some minutes > ago, but also some other kind of reboot every X minutes I haven't > investigated yet). > > Does someone run -current on a similar system on a similar revision and > can comment about the stability? I run r242303 on both i386 and amd64, no instability whatsoever. But I compile everything with clang, and an explicit CPU type for the processor in use, so my case is not comparable to yours, unfortunately. From owner-freebsd-current@FreeBSD.ORG Sat Nov 3 23:56:13 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 12BCE4D5 for ; Sat, 3 Nov 2012 23:56:13 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id 78B528FC0A for ; Sat, 3 Nov 2012 23:56:12 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id b5so4273390lbd.13 for ; Sat, 03 Nov 2012 16:56:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=/0P5nZ9mtaI7j6ulSmeqTeOmMKAIsh0+xC0ivoRJOgE=; b=U7e7RrxRauI5jInDYVSqYrnQsmmrjIYDoz5jgycn1DEcBTXBes69xORervscPoWtiD s8Fk633IsdIaZqhhVYs/4mWVYiyMxqCbQbemdGPwHyInRHdYEFzLhb5homWyZ9IEadDE gRC9eZee65iHxAYg1dKhf5w0vBCMyNNr1SuyM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:x-gm-message-state; bh=/0P5nZ9mtaI7j6ulSmeqTeOmMKAIsh0+xC0ivoRJOgE=; b=M2bK8cTUPiWmfQe93MX4upOILSxTuaHKZ0M9XVuvG7S7JY2tyAnMyWTxTIU3l13w0d RPTjmoQlovLE9IIQk5LQWng0gWCAcTj+FiHbOVOzXg3Y3xODu182ur+0iXxGOOVjqykN rn+Aby3BzxzHEghud8Visb4z9bPqx0aLNG7j8rEnlDGH3Ni/8/LCjE80s6bIzPBo5ve3 xxGk4eEV862qGkQ6bB72epO6g0Svbm+JfkGSeNUtuuR7ZszaoZVevqtl4eMhlsy37bry +8etvkSlB1s+DixRShwyHplt5RevI8hTjT/NMcn+jSdewXvV+zQnWe91ECGJ1LL8Btjs R7aw== Received: by 10.112.85.199 with SMTP id j7mr2351278lbz.69.1351986971161; Sat, 03 Nov 2012 16:56:11 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.25.166 with HTTP; Sat, 3 Nov 2012 16:55:40 -0700 (PDT) In-Reply-To: References: From: Eitan Adler Date: Sat, 3 Nov 2012 19:55:40 -0400 Message-ID: Subject: Re: r2421600 amd64 /var/db/pkg To: Darrel Content-Type: text/plain; charset=UTF-8 X-Gm-Message-State: ALoCoQnoAb2+Ffv5XqTXjrflhNW5JdACMoWLDjpNTio8TSguQt10E8LPN0yX8LHuno2zgT8g71b2 Cc: current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 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: Sat, 03 Nov 2012 23:56:13 -0000 On 3 November 2012 15:57, Darrel wrote: > Hello, > > Is it possible to regenerate the package database or somehow start over? I > am seeing errors like these: > > pkg_info: Don't use the pkg_ tools if you are using pkgng > pkg_info: the package info for package 'ca_root_nss-3.14' is corrupt have you run ever run pkg2ng ? -- Eitan Adler