From owner-freebsd-hackers@FreeBSD.ORG Sun Mar 4 00:30:31 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 10AD6106566C for ; Sun, 4 Mar 2012 00:30:31 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id C025F8FC08 for ; Sun, 4 Mar 2012 00:30:30 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:d0fa:b5e9:395b:990e] (unknown [IPv6:2001:7b8:3a7:0:d0fa:b5e9:395b:990e]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 092CB5C37; Sun, 4 Mar 2012 01:30:30 +0100 (CET) Message-ID: <4F52B7A5.4000408@FreeBSD.org> Date: Sun, 04 Mar 2012 01:30:29 +0100 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120216 Thunderbird/11.0 MIME-Version: 1.0 To: Brandon Falk References: <4F52AA30.2030600@gamozo.org> <20120303234051.GA42750@dan.emsphone.com> <4F52ADF1.7010606@gamozo.org> <4F52AEB3.4090907@gamozo.org> In-Reply-To: <4F52AEB3.4090907@gamozo.org> X-Enigmail-Version: 1.4a1pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: [clang] Build error on r232474 (and a few before, don't know exactly which) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2012 00:30:31 -0000 On 2012-03-04 00:52, Brandon Falk wrote: ... > I was trying to navigate the log in `edit`. Now that I'm in vim I > quickly found the error. > > lint: cannot exec /usr/obj/root/src/tmp/usr/bin/cc: No such file or > directory > *** [llib-lposix.ln] Error code 1 Huh, that's weird. I see no reason that it wouldn't install cc during the cross-tools stage, unless you have WITHOUT_GCC in your src.conf (and aren't using WITH_CLANG_IS_CC at the same time). Can you post your src.conf file, please? From owner-freebsd-hackers@FreeBSD.ORG Sun Mar 4 00:39:35 2012 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2762A1065670 for ; Sun, 4 Mar 2012 00:39:35 +0000 (UTC) (envelope-from falkman@gamozo.org) Received: from fireblade.netcore2k.net (fireblade.netcore2k.net [92.48.127.72]) by mx1.freebsd.org (Postfix) with ESMTP id B274B8FC13 for ; Sun, 4 Mar 2012 00:39:34 +0000 (UTC) Received: by fireblade.netcore2k.net with ESMTP id q240dWJl011071 ; Sun, 4 Mar 2012 00:39:33 GMT Message-ID: <4F52B9BE.5040907@gamozo.org> Date: Sat, 03 Mar 2012 19:39:26 -0500 From: Brandon Falk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: Dimitry Andric References: <4F52AA30.2030600@gamozo.org> <20120303234051.GA42750@dan.emsphone.com> <4F52ADF1.7010606@gamozo.org> <4F52AEB3.4090907@gamozo.org> <4F52B7A5.4000408@FreeBSD.org> In-Reply-To: <4F52B7A5.4000408@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@FreeBSD.org Subject: Re: [clang] Build error on r232474 (and a few before, don't know exactly which) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2012 00:39:35 -0000 On 3/3/2012 7:30 PM, Dimitry Andric wrote: > On 2012-03-04 00:52, Brandon Falk wrote: > ... >> I was trying to navigate the log in `edit`. Now that I'm in vim I >> quickly found the error. >> >> lint: cannot exec /usr/obj/root/src/tmp/usr/bin/cc: No such file or >> directory >> *** [llib-lposix.ln] Error code 1 > Huh, that's weird. I see no reason that it wouldn't install cc during > the cross-tools stage, unless you have WITHOUT_GCC in your src.conf (and > aren't using WITH_CLANG_IS_CC at the same time). > > Can you post your src.conf file, please? I do not have a src.conf. It's a completely fresh install of BSD with the exception of my make.conf (and I double checked just incase). No variable WITH_CLANG_IS_CC is defined. -Brandon From owner-freebsd-hackers@FreeBSD.ORG Sun Mar 4 02:13:26 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A889106564A for ; Sun, 4 Mar 2012 02:13:26 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id B73C78FC0A for ; Sun, 4 Mar 2012 02:13:25 +0000 (UTC) Received: by mail-iy0-f182.google.com with SMTP id k25so5374044iah.13 for ; Sat, 03 Mar 2012 18:13:25 -0800 (PST) Received-SPF: pass (google.com: domain of jrisom@gmail.com designates 10.50.87.136 as permitted sender) client-ip=10.50.87.136; Authentication-Results: mr.google.com; spf=pass (google.com: domain of jrisom@gmail.com designates 10.50.87.136 as permitted sender) smtp.mail=jrisom@gmail.com; dkim=pass header.i=jrisom@gmail.com Received: from mr.google.com ([10.50.87.136]) by 10.50.87.136 with SMTP id ay8mr2939803igb.25.1330827205659 (num_hops = 1); Sat, 03 Mar 2012 18:13:25 -0800 (PST) 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:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=XjuTYwl5IrFEaQqCtOWA59uY8I1uYq8wHVqLjAaYcJI=; b=onlujcbLjT60uwNriIRVnpavr0pmsGnuNi9aWXMZuBkr/OVr9av+8FkLEqBTm9xs49 JWTQYYmrTOhOtEbWhimut5VgerPA/ycH+rdIQsptpbKBbhjnxxrDQY922tBUxc+BoIz/ 03peEW89XL/MZOallmjBQaMo5Ls3MoWwxVq4AblXk6QDO3PuwR7dtuC0uur10fF6S8Jg WcYk5hxa582xTK5qe2QIKWjz4ELCcEZVBwnnZRHSlXLhUrSMffKuVIL9tatO9nlvMCkv D7zNvaxoXkHJR8QpCAThV8En0ahPAhBw1JCGIla2bppiaYNDBDZg7CqJV8v2102K5fZ9 15og== Received: by 10.50.87.136 with SMTP id ay8mr2437856igb.25.1330827205631; Sat, 03 Mar 2012 18:13:25 -0800 (PST) Received: from [192.168.1.3] (c-98-212-197-29.hsd1.il.comcast.net. [98.212.197.29]) by mx.google.com with ESMTPS id a9sm6816215igd.3.2012.03.03.18.13.23 (version=SSLv3 cipher=OTHER); Sat, 03 Mar 2012 18:13:24 -0800 (PST) Message-ID: <4F52CFB3.4070909@gmail.com> Date: Sat, 03 Mar 2012 20:13:07 -0600 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows NT 6.0; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <4F52AA30.2030600@gamozo.org> <20120303234051.GA42750@dan.emsphone.com> <4F52ADF1.7010606@gamozo.org> <4F52AEB3.4090907@gamozo.org> <4F52B7A5.4000408@FreeBSD.org> In-Reply-To: <4F52B7A5.4000408@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [clang] Build error on r232474 (and a few before, don't know exactly which) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2012 02:13:26 -0000 On 3/3/2012 6:30 PM, Dimitry Andric wrote: > > Huh, that's weird. I see no reason that it wouldn't install cc during > the cross-tools stage, unless you have WITHOUT_GCC in your src.conf (and > aren't using WITH_CLANG_IS_CC at the same time). > > Can you post your src.conf file, please? I've had this happen for a while but kept forgetting to post a pr. If you define WITHOUT_GCC, a cc isn't created in /usr/obj/usr/src/tmp/usr/bin but if you go into the directory and do a symbolic link from clang, and restart make with -DNO_CLEAN it'll work and complete. One of the programs hardcodes cc and doesn't check the environment, I forget which. From owner-freebsd-hackers@FreeBSD.ORG Sun Mar 4 02:29:16 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A878C106564A for ; Sun, 4 Mar 2012 02:29:16 +0000 (UTC) (envelope-from falkman@gamozo.org) Received: from fireblade.netcore2k.net (fireblade.netcore2k.net [92.48.127.72]) by mx1.freebsd.org (Postfix) with ESMTP id 436518FC13 for ; Sun, 4 Mar 2012 02:29:15 +0000 (UTC) Received: by fireblade.netcore2k.net with ESMTP id q242TEG6011284 for ; Sun, 4 Mar 2012 02:29:15 GMT Message-ID: <4F52D374.1060105@gamozo.org> Date: Sat, 03 Mar 2012 21:29:08 -0500 From: Brandon Falk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <4F52AA30.2030600@gamozo.org> <20120303234051.GA42750@dan.emsphone.com> <4F52ADF1.7010606@gamozo.org> <4F52AEB3.4090907@gamozo.org> <4F52B7A5.4000408@FreeBSD.org> <4F52CFB3.4070909@gmail.com> In-Reply-To: <4F52CFB3.4070909@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [clang] Build error on r232474 (and a few before, don't know exactly which) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2012 02:29:16 -0000 On 3/3/2012 9:13 PM, Joshua Isom wrote: > On 3/3/2012 6:30 PM, Dimitry Andric wrote: >> >> Huh, that's weird. I see no reason that it wouldn't install cc during >> the cross-tools stage, unless you have WITHOUT_GCC in your src.conf (and >> aren't using WITH_CLANG_IS_CC at the same time). >> >> Can you post your src.conf file, please? > > I've had this happen for a while but kept forgetting to post a pr. > > If you define WITHOUT_GCC, a cc isn't created in > /usr/obj/usr/src/tmp/usr/bin but if you go into the directory and do a > symbolic link from clang, and restart make with -DNO_CLEAN it'll work > and complete. One of the programs hardcodes cc and doesn't check the > environment, I forget which. > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org" Built the code until it failed. Then did a `ln -s /usr/obj/root/src/tmp/usr/bin/clang /usr/obj/root/src/tmp/usr/bin/cc` and a `make -DNO_CLEAN -j12 buildworld` and it finished just fine. Thanks for the help, although we've got to sort this hardcode out somewhere :P -Brandon Falk From owner-freebsd-hackers@FreeBSD.ORG Sun Mar 4 09:42:55 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 24BD6106564A for ; Sun, 4 Mar 2012 09:42:55 +0000 (UTC) (envelope-from ken@mthelicon.com) Received: from hercules.mthelicon.com (unknown [IPv6:2001:49f0:2023::2]) by mx1.freebsd.org (Postfix) with ESMTP id E472D8FC0A for ; Sun, 4 Mar 2012 09:42:54 +0000 (UTC) Received: from feathers.peganest.com ([176.227.140.204]) (authenticated bits=0) by hercules.mthelicon.com (8.14.5/8.14.5) with ESMTP id q249gkm2047118; Sun, 4 Mar 2012 09:42:50 GMT (envelope-from ken@mthelicon.com) From: Pegasus Mc Cleaft Organization: Feathers To: freebsd-hackers@freebsd.org Date: Sun, 4 Mar 2012 09:42:40 +0000 User-Agent: KMail/1.13.7 (FreeBSD/10.0-CURRENT; KDE/4.7.4; amd64; ; ) References: <4F52AA30.2030600@gamozo.org> <4F52CFB3.4070909@gmail.com> <4F52D374.1060105@gamozo.org> In-Reply-To: <4F52D374.1060105@gamozo.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201203040942.40850.ken@mthelicon.com> Cc: Brandon Falk Subject: Re: [clang] Build error on r232474 (and a few before, don't know exactly which) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2012 09:42:55 -0000 On Sunday 04 March 2012 02:29:08 Brandon Falk wrote: > > If you define WITHOUT_GCC, a cc isn't created in > > /usr/obj/usr/src/tmp/usr/bin but if you go into the directory and do a > > symbolic link from clang, and restart make with -DNO_CLEAN it'll work > > and complete. One of the programs hardcodes cc and doesn't check the > > environment, I forget which. > > _______________________________________________ > > freebsd-hackers@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > To unsubscribe, send any mail to > > "freebsd-hackers-unsubscribe@freebsd.org" > > Built the code until it failed. Then did a `ln -s > /usr/obj/root/src/tmp/usr/bin/clang /usr/obj/root/src/tmp/usr/bin/cc` > and a `make -DNO_CLEAN -j12 buildworld` and it finished just fine. > > Thanks for the help, although we've got to sort this hardcode out > somewhere :P Brandon, I had the same problem for a while but what I did to get around the problem was define WITH_CLANG_IS_CC=no in the /etc/src.conf and that created cc and the build continued. Peg From owner-freebsd-hackers@FreeBSD.ORG Sun Mar 4 18:57:05 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9F791106566B for ; Sun, 4 Mar 2012 18:57:05 +0000 (UTC) (envelope-from conrads@cox.net) Received: from eastrmfepi108.cox.net (eastrmfepi108.cox.net [68.230.241.204]) by mx1.freebsd.org (Postfix) with ESMTP id 324408FC1D for ; Sun, 4 Mar 2012 18:57:04 +0000 (UTC) Received: from eastrmimpo305.cox.net ([68.230.241.237]) by eastrmfepo103.cox.net (InterMail vM.8.01.04.00 201-2260-137-20101110) with ESMTP id <20120304184330.JVAO8874.eastrmfepo103.cox.net@eastrmimpo305.cox.net>; Sun, 4 Mar 2012 13:43:30 -0500 Received: from serene.no-ip.org ([98.164.84.176]) by eastrmimpo305.cox.net with bizsmtp id hWjW1i0043oG0Ji02WjWkZ; Sun, 04 Mar 2012 13:43:30 -0500 X-CT-Class: Clean X-CT-Score: 0.00 X-CT-RefID: str=0001.0A020207.4F53B7D2.0086,ss=1,re=0.000,fgs=0 X-CT-Spam: 0 X-Authority-Analysis: v=1.1 cv=OLYWm8rsXOQzYMEGvanztpEcPE7h0nVat2K0sMgB+NQ= c=1 sm=1 a=B5gAAIsbQiIA:10 a=G8Uczd0VNMoA:10 a=8nJEP1OIZ-IA:10 a=qwmwShWo9LG1Fa0ONy89vg==:17 a=pGLkceISAAAA:8 a=kviXuzpPAAAA:8 a=FP58Ms26AAAA:8 a=lO18HzrCXX4mH2ZL0x8A:9 a=3yd7O88a_Vxh5CZhSAoA:7 a=wPNLvfGTeEIA:10 a=MSl-tDqOz04A:10 a=4vB-4DCPJfMA:10 a=qwmwShWo9LG1Fa0ONy89vg==:117 X-CM-Score: 0.00 Authentication-Results: cox.net; none Received: from cox.net (localhost [127.0.0.1]) by serene.no-ip.org (8.14.5/8.14.5) with ESMTP id q24IhTgD039180; Sun, 4 Mar 2012 12:43:29 -0600 (CST) (envelope-from conrads@cox.net) Date: Sun, 4 Mar 2012 12:43:24 -0600 From: "Conrad J. Sabatier" To: Kevin Oberman Message-ID: <20120304124324.75a9b5a2@cox.net> In-Reply-To: References: <20120302071522.55974eb8@cox.net> <20120302110017.4943a627@cox.net> <20120303005944.3baa139a@cox.net> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@FreeBSD.org Subject: Re: How to submit a new port along with its distfile? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2012 18:57:05 -0000 On Sun, 4 Mar 2012 09:19:42 -0800 Kevin Oberman wrote: > On Fri, Mar 2, 2012 at 10:59 PM, Conrad J. Sabatier > wrote: > > If anyone's interested, the package is call mkreadmes-1.0. =A0It's a C > > language version of the port's collection's "make readmes" (or, if > > you will, the perl "make_readmes" script under the Tools > > directory). =A0I wrote this because I was very dissatisfied with the > > speed of rebuilding the README.html files after I update my ports > > tree. =A0This new tool I've written cuts the time down to practically > > nothing. =A0I can now rebuild all the README.html files for the > > entire ports tree in less than 30 seconds. =A0Depending on system > > load, I've actually seen it run in as little as @ 15 seconds. > > > > If you want to try it before it becomes an official port, it's > > already available on Sourceforge right now. =A0It should compile and > > install very easily on any FreeBSD system, even without the port > > framework wrapper. > > > > The source archive is available at: > > > > http://sourceforge.net/projects/mkreadmes/files/mkreadmes-1.0.tar.bz2/d= ownload > > > > A README file is included in the distribution. =A0Online help is also > > available via the "-h" command line option. > > > > Please don't hesitate to send me any questions, comments, > > suggestions, bug reports, etc. >=20 > Conrad, >=20 > Thanks so much for mkreadmes. It works as advertised and this is the > first time in years that I have built all of the READMEs because it > just took way, way too long to do so before mkreadmes. Thank you very much for the kind words. That's very nice to hear. Yes, I'm quite pleased myself with how the program turned out. Honestly, though, I never expected the performance difference to be nearly as dramatic as it turned out to be. :-) Apparently, though, there's a latent bug in the program that only crops up under certain conditions. Just discovered it this morning. Working on a fix. Also, Marco Steinbach has reported that the program won't run in a jail environment, due to the attempt to elevate the program's priority setting. Note to hackers: what is the recommended method for determining if a process is running in a jail? I've been thinking of using sysctl(), but wondering if there's a better way. Getting to work on it today. Hope to have a new version to submit very soon. Conrad --=20 Conrad J. Sabatier conrads@cox.net From owner-freebsd-hackers@FreeBSD.ORG Sun Mar 4 20:41:55 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0B0921065780 for ; Sun, 4 Mar 2012 20:41:55 +0000 (UTC) (envelope-from gatinhodosseussonhos@hotmail.com) Received: from snt0-omc2-s4.snt0.hotmail.com (snt0-omc2-s4.snt0.hotmail.com [65.55.90.79]) by mx1.freebsd.org (Postfix) with ESMTP id D094A8FC1D for ; Sun, 4 Mar 2012 20:41:54 +0000 (UTC) Received: from SNT140-W37 ([65.55.90.71]) by snt0-omc2-s4.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 4 Mar 2012 12:29:48 -0800 Message-ID: X-Originating-IP: [189.72.30.177] From: Phillip Spring To: Date: Sun, 4 Mar 2012 21:29:48 +0100 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 04 Mar 2012 20:29:48.0330 (UTC) FILETIME=[8B4760A0:01CCFA45] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Never forget a special trick... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2012 20:41:55 -0000 Dear anonymous open-source enthusiasts friends=2C How to echo a string backwards into a terminal? For example (or something like this): # echo @_foo_$ oof Or it could be something else (that's because I forgot it): # echo $_bar_@ rab Someone told me how to do it but I can't remember this trick. I just remember the date it happened: Oct-13-2011=20 []'s Phillip. = From owner-freebsd-hackers@FreeBSD.ORG Sun Mar 4 20:47:41 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7424B106566C for ; Sun, 4 Mar 2012 20:47:41 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 216928FC12 for ; Sun, 4 Mar 2012 20:47:40 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa01 [127.0.0.1]) by ltcfislmsgpa01.fnfis.com (8.14.4/8.14.4) with SMTP id q24KPiwN029653; Sun, 4 Mar 2012 14:47:34 -0600 Received: from smtp.fisglobal.com ([10.132.206.16]) by ltcfislmsgpa01.fnfis.com with ESMTP id 13cbq1rgy7-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sun, 04 Mar 2012 14:47:34 -0600 Received: from [10.0.0.101] (10.14.152.61) by smtp.fisglobal.com (10.132.206.16) with Microsoft SMTP Server (TLS) id 14.1.323.3; Sun, 4 Mar 2012 14:47:33 -0600 MIME-Version: 1.0 (Apple Message framework v1257) From: Devin Teske In-Reply-To: Date: Sun, 4 Mar 2012 12:47:31 -0800 Message-ID: <0ED9AE29-CF83-43E3-A578-BC2BC91885ED@fisglobal.com> References: To: Phillip Spring X-Mailer: Apple Mail (2.1257) X-Originating-IP: [10.14.152.61] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.6.7498, 1.0.260, 0.0.0000 definitions=2012-03-04_07:2012-03-02, 2012-03-04, 1970-01-01 signatures=0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Cc: freebsd-hackers@freebsd.org Subject: Re: Never forget a special trick... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2012 20:47:41 -0000 On Mar 4, 2012, at 12:29 PM, Phillip Spring wrote: > > Dear anonymous open-source enthusiasts friends, > > How to echo a string backwards into a terminal? > For example (or something like this): > > # echo @_foo_$ > oof > > Or it could be something else (that's because I forgot it): > > # echo $_bar_@ > rab > > Someone told me how to do it but I can't remember this trick. > I just remember the date it happened: Oct-13-2011 > You're looking for rev(1) Example: # echo foo | rev oof -- Devin _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 5 00:48:47 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DD802106564A for ; Mon, 5 Mar 2012 00:48:47 +0000 (UTC) (envelope-from gatinhodosseussonhos@hotmail.com) Received: from snt0-omc2-s37.snt0.hotmail.com (snt0-omc2-s37.snt0.hotmail.com [65.55.90.112]) by mx1.freebsd.org (Postfix) with ESMTP id AFF708FC0A for ; Mon, 5 Mar 2012 00:48:47 +0000 (UTC) Received: from SNT140-W41 ([65.55.90.71]) by snt0-omc2-s37.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 4 Mar 2012 16:48:40 -0800 Message-ID: X-Originating-IP: [189.72.30.177] From: Phillip Spring To: Date: Mon, 5 Mar 2012 01:48:40 +0100 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 05 Mar 2012 00:48:40.0962 (UTC) FILETIME=[B572EE20:01CCFA69] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Never forget a special trick - Asking for the real information X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2012 00:48:47 -0000 Dear anonymous open-source enthusiasts friends=2C Nevermind my previous question and please forget that this list is a place = for any ingenuous subject. I believe I have followed the instructions searching for answers before ask= ing for help. But the information I'm looking for surely isn't found by using apropos or = man -k or even grep -ir. So... Anybody already noticed the PID numbers from ps output increasing too much? And after rebooting several times You realize that You are not alone? Then You give up and simple watch the console messages talking with you? But there's no prompt to login or to run a shell=2C only the cursor blinkin= g! You literally matrix out with others true rail transport modellers... reall= y? They talk about magic and utopia and You learn something special... very sp= ecial! The end. Enough said=2C I just forgot the escape sequences to authenticate as consol= e operator. Yes=2C I admit I failed to my first lesson and I don't deserve any second c= hances. If You think that magic and utopia I just said isn't truth=2C maybe we are = on the same boat forever. Otherwise just follow the book=2C Phillip. = From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 5 00:57:45 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 24E25106566B for ; Mon, 5 Mar 2012 00:57:45 +0000 (UTC) (envelope-from rsimmons0@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id C98E18FC14 for ; Mon, 5 Mar 2012 00:57:44 +0000 (UTC) Received: by vcmm1 with SMTP id m1so2028233vcm.13 for ; Sun, 04 Mar 2012 16:57:44 -0800 (PST) Received-SPF: pass (google.com: domain of rsimmons0@gmail.com designates 10.52.96.70 as permitted sender) client-ip=10.52.96.70; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rsimmons0@gmail.com designates 10.52.96.70 as permitted sender) smtp.mail=rsimmons0@gmail.com; dkim=pass header.i=rsimmons0@gmail.com Received: from mr.google.com ([10.52.96.70]) by 10.52.96.70 with SMTP id dq6mr31906477vdb.124.1330909064367 (num_hops = 1); Sun, 04 Mar 2012 16:57:44 -0800 (PST) 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=WIqjV2PmddBpAeJGB9yXSECpKknyNSFuQwseWboqrWY=; b=dYSIYBAZljNwolXXpC6eFeSa6G/sZOTn13WYTx2LMrYyuc+n9N9lnmuTwmYn3kyg4s 3wvy8UGP7fmjaFtTTuGJNTyndVXdDgVPanusCXCB2Jao7MwhY7TLKZwHrnypuLValZvo D/idBN0bkabyn/k28hDu+q0SXThHrW7e4ovhmeV6/3fVuQpOWh4fUg1W9dovhQJj8Zre cagC//gusAGwwUDYvPX16JKM8/vvmUkc16kX7mKihWt9vrh8p7vrKux/8r9BLE49m+xK L9uTNSzKY+hIt5DB7ZSc8crU27QeQ0U0qhZDWUia/W9HTx/foFEk6VV5N745qx+PZaxF bsVw== MIME-Version: 1.0 Received: by 10.52.96.70 with SMTP id dq6mr27289947vdb.124.1330907556711; Sun, 04 Mar 2012 16:32:36 -0800 (PST) Received: by 10.52.65.114 with HTTP; Sun, 4 Mar 2012 16:32:36 -0800 (PST) Date: Sun, 4 Mar 2012 19:32:36 -0500 Message-ID: From: Robert Simmons To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Where and when /etc/fstab is checking during boot X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2012 00:57:45 -0000 I've just finished working though building a FreeBSD box with an encrypted root partition as mentioned in the geli(8) man page: "Ask for the passphrase on boot, before the root partition is mounted. This makes it possible to use an encrypted root partition. One will still need bootable unencrypted storage with a /boot/ directory, which can be a CD-ROM disc or USB pen-drive, that can be removed after boot." I've noticed something quite interesting about the way that fstab is read during boot. If you follow the instructions exactly as they are written in the geli(8) man page you soon discover that you also must have an /etc/fstab file in that same unencrypted partition. But this need not be the complete fstab file. It only needs to have the one line that describes /. Later, after the encrypted partition is mounted, the /etc/fstab inside the encrypted partition is then read and all other partitions listed in fstab are mounted as written there. I've tested this by putting empty fstabs and fstabs with just the line for / in both locations and booting to see what happens. Is this the correct behavior? Shouldn't the fstab file be read completely once and not twice? From owner-freebsd-hackers@FreeBSD.ORG Sun Mar 4 21:19:07 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1D49B106566B for ; Sun, 4 Mar 2012 21:19:07 +0000 (UTC) (envelope-from misconfiguration@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9500B8FC0C for ; Sun, 4 Mar 2012 21:19:06 +0000 (UTC) Received: by wibhn6 with SMTP id hn6so2068048wib.13 for ; Sun, 04 Mar 2012 13:19:05 -0800 (PST) Received-SPF: pass (google.com: domain of misconfiguration@gmail.com designates 10.216.82.141 as permitted sender) client-ip=10.216.82.141; Authentication-Results: mr.google.com; spf=pass (google.com: domain of misconfiguration@gmail.com designates 10.216.82.141 as permitted sender) smtp.mail=misconfiguration@gmail.com; dkim=pass header.i=misconfiguration@gmail.com Received: from mr.google.com ([10.216.82.141]) by 10.216.82.141 with SMTP id o13mr5031862wee.2.1330895945619 (num_hops = 1); Sun, 04 Mar 2012 13:19:05 -0800 (PST) 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=Q5KyIqQXRWdf7bi0dF8neXlfW2aItcf9LFX0YLNHUzU=; b=IRwE/5BuX69eu5iKa6x/tnBOs6fnsZ+Sq8FUdG9GygZwL0bIoheyuC+S2ms6+PO9Eh 5ZSZaGvJPTvaSVk6nPZ8RttLMJgZNFJbIl28oCkYETNu6aithvoTsXYCM7X//CBI/kFk Mrw6R6QIfsuiaKsYdbYR37nnV2q3efjndnG3g8v3ijaI0q+SAm3nA2eKB2nN0NQGy7k1 9mbg+/pCmESuxz4R5LyqQmCWDVsjD4MP1fQ+xLdbVOr7aBsOrTK9nxhFI2MPrKQSHv2y 7TN2HJP7BPeZ2rb2V3wrKL3Gf6Ng1O5HAX/Yl1B9HpBgSWpyyI9mfgZHLJvQafbWGvOp AUdA== MIME-Version: 1.0 Received: by 10.216.82.141 with SMTP id o13mr4016058wee.2.1330894175100; Sun, 04 Mar 2012 12:49:35 -0800 (PST) Received: by 10.180.4.72 with HTTP; Sun, 4 Mar 2012 12:49:35 -0800 (PST) In-Reply-To: References: Date: Sun, 4 Mar 2012 15:49:35 -0500 Message-ID: From: Nate Dobbs To: Phillip Spring X-Mailman-Approved-At: Mon, 05 Mar 2012 02:22:19 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org Subject: Re: Never forget a special trick... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Mar 2012 21:19:07 -0000 On Sun, Mar 4, 2012 at 3:29 PM, Phillip Spring < gatinhodosseussonhos@hotmail.com> wrote: > > Dear anonymous open-source enthusiasts friends, > > How to echo a string backwards into a terminal? > For example (or something like this): > > # echo @_foo_$ > oof > > Or it could be something else (that's because I forgot it): > > # echo $_bar_@ > rab > > Someone told me how to do it but I can't remember this trick. > I just remember the date it happened: Oct-13-2011 > > []'s > Phillip. > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > I'm not entirely sure how to do this in any arbitrary shell - although you could simply use the 'rev' command. %echo HELLO! | rev !OLLEH Here is a link to the man page: http://unixhelp.ed.ac.uk/CGI/man-cgi?rev -- Cheers, Nate Dobbs RHCE From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 5 03:08:45 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 03840106564A for ; Mon, 5 Mar 2012 03:08:44 +0000 (UTC) (envelope-from falkman@gamozo.org) Received: from fireblade.netcore2k.net (fireblade.netcore2k.net [92.48.127.72]) by mx1.freebsd.org (Postfix) with ESMTP id 448268FC08 for ; Mon, 5 Mar 2012 03:08:43 +0000 (UTC) Received: by fireblade.netcore2k.net with ESMTP id q2538a54014015 for ; Mon, 5 Mar 2012 03:08:37 GMT Message-ID: <4F542E35.9030301@gamozo.org> Date: Sun, 04 Mar 2012 22:08:37 -0500 From: Brandon Falk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <4F52AA30.2030600@gamozo.org> <20120303234051.GA42750@dan.emsphone.com> <4F52ADF1.7010606@gamozo.org> <4F52AEB3.4090907@gamozo.org> <4F52B7A5.4000408@FreeBSD.org> <4F52CFB3.4070909@gmail.com> <4F52D374.1060105@gamozo.org> In-Reply-To: <4F52D374.1060105@gamozo.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [clang] Build error on r232474 (and a few before, don't know exactly which) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2012 03:08:45 -0000 On 3/3/2012 9:29 PM, Brandon Falk wrote: > On 3/3/2012 9:13 PM, Joshua Isom wrote: >> On 3/3/2012 6:30 PM, Dimitry Andric wrote: >>> >>> Huh, that's weird. I see no reason that it wouldn't install cc during >>> the cross-tools stage, unless you have WITHOUT_GCC in your src.conf >>> (and >>> aren't using WITH_CLANG_IS_CC at the same time). >>> >>> Can you post your src.conf file, please? >> >> I've had this happen for a while but kept forgetting to post a pr. >> >> If you define WITHOUT_GCC, a cc isn't created in >> /usr/obj/usr/src/tmp/usr/bin but if you go into the directory and do >> a symbolic link from clang, and restart make with -DNO_CLEAN it'll >> work and complete. One of the programs hardcodes cc and doesn't >> check the environment, I forget which. > > Built the code until it failed. Then did a `ln -s > /usr/obj/root/src/tmp/usr/bin/clang /usr/obj/root/src/tmp/usr/bin/cc` > and a `make -DNO_CLEAN -j12 buildworld` and it finished just fine. > > Thanks for the help, although we've got to sort this hardcode out > somewhere :P > > -Brandon Falk ----FIXED---- Sometime between 12 hours prior, and r232529 this bug was fixed. Just did a successful build on r232529. -Brandon From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 5 05:25:08 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A05931065675 for ; Mon, 5 Mar 2012 05:25:08 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) by mx1.freebsd.org (Postfix) with ESMTP id 6CC7E8FC17 for ; Mon, 5 Mar 2012 05:25:08 +0000 (UTC) Received: from julian-mac.elischer.org (c-67-180-24-15.hsd1.ca.comcast.net [67.180.24.15]) (authenticated bits=0) by vps1.elischer.org (8.14.5/8.14.5) with ESMTP id q255P07c035059 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 4 Mar 2012 21:25:02 -0800 (PST) (envelope-from julian@freebsd.org) Message-ID: <4F544E36.5010707@freebsd.org> Date: Sun, 04 Mar 2012 21:25:10 -0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.4; en-US; rv:1.9.2.27) Gecko/20120216 Thunderbird/3.1.19 MIME-Version: 1.0 To: Devin Teske References: <0ED9AE29-CF83-43E3-A578-BC2BC91885ED@fisglobal.com> In-Reply-To: <0ED9AE29-CF83-43E3-A578-BC2BC91885ED@fisglobal.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, Phillip Spring Subject: Re: Never forget a special trick... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2012 05:25:08 -0000 On 3/4/12 12:47 PM, Devin Teske wrote: > On Mar 4, 2012, at 12:29 PM, Phillip Spring wrote: > >> Dear anonymous open-source enthusiasts friends, >> >> How to echo a string backwards into a terminal? >> For example (or something like this): >> >> # echo @_foo_$ >> oof >> >> Or it could be something else (that's because I forgot it): >> >> # echo $_bar_@ >> rab >> >> Someone told me how to do it but I can't remember this trick. >> I just remember the date it happened: Oct-13-2011 >> > > You're looking for rev(1) > > Example: > > # echo foo | rev > oof > gosh, how did I survive so long without this program..? oh yeah.. I remember.. never needed to do that.. From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 5 06:30:17 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F329F1065678; Mon, 5 Mar 2012 06:30:16 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.226.44]) by mx1.freebsd.org (Postfix) with ESMTP id 83A398FC14; Mon, 5 Mar 2012 06:30:16 +0000 (UTC) Received: from amd620.ovitrap.com ([49.128.188.2]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q255xCtU031218; Sun, 4 Mar 2012 22:59:15 -0700 From: Erich Dollansky To: freebsd-hackers@freebsd.org Date: Mon, 5 Mar 2012 12:59:06 +0700 User-Agent: KMail/1.13.7 (FreeBSD/8.3-PRERELEASE; KDE/4.7.4; amd64; ; ) References: <0ED9AE29-CF83-43E3-A578-BC2BC91885ED@fisglobal.com> <4F544E36.5010707@freebsd.org> In-Reply-To: <4F544E36.5010707@freebsd.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201203051259.07439.erichfreebsdlist@ovitrap.com> Cc: Devin Teske , Phillip Spring Subject: Re: Never forget a special trick... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2012 06:30:17 -0000 Hi, On Monday 05 March 2012 12:25:10 Julian Elischer wrote: > On 3/4/12 12:47 PM, Devin Teske wrote: > > On Mar 4, 2012, at 12:29 PM, Phillip Spring wrote: > > > >> Dear anonymous open-source enthusiasts friends, > >> > >> How to echo a string backwards into a terminal? > >> For example (or something like this): > >> > >> # echo @_foo_$ > >> oof > >> > >> Or it could be something else (that's because I forgot it): > >> > >> # echo $_bar_@ > >> rab > >> > >> Someone told me how to do it but I can't remember this trick. > >> I just remember the date it happened: Oct-13-2011 > >> > > > > You're looking for rev(1) > > > > Example: > > > > # echo foo | rev > > oof > > > gosh, how did I survive so long without this program..? how? I did not and wrote it myself recently after a stupid program inverted randomly the output sequence. > > oh yeah.. I remember.. never needed to do that.. You have been lucky. Erich From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 5 09:14:33 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF24F1065670 for ; Mon, 5 Mar 2012 09:14:33 +0000 (UTC) (envelope-from gljennjohn@googlemail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 48B058FC0A for ; Mon, 5 Mar 2012 09:14:32 +0000 (UTC) Received: by eaaf13 with SMTP id f13so1331532eaa.13 for ; Mon, 05 Mar 2012 01:14:32 -0800 (PST) Received-SPF: pass (google.com: domain of gljennjohn@googlemail.com designates 10.14.127.139 as permitted sender) client-ip=10.14.127.139; Authentication-Results: mr.google.com; spf=pass (google.com: domain of gljennjohn@googlemail.com designates 10.14.127.139 as permitted sender) smtp.mail=gljennjohn@googlemail.com; dkim=pass header.i=gljennjohn@googlemail.com Received: from mr.google.com ([10.14.127.139]) by 10.14.127.139 with SMTP id d11mr10815201eei.74.1330938872427 (num_hops = 1); Mon, 05 Mar 2012 01:14:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :x-mailer:mime-version:content-type:content-transfer-encoding; bh=rJoBX59H9TOysAs7M3AAN5AKOsCWmK9e8y+b0W52ktU=; b=nXuCYftNjyzuLUAD4IRdLJ60m0MQywkvkD97G6QqbG/SrtS6tXX/dSZssArgsENpOh WNcr2MKpy+5UbMphWrCplNaDeADb4BR6i2Q2vIsiV2lWEv+wQEkUAsBjxD2/nZS/w1Cs jAHsbnKeEO8tVj5DlECleiZ7yW7rK1ydf+b1BwDSDNjp2XQj2d+rrYH0cxX2ch+pAUqu L0EUgMHvhCeHcO9tgh0HX2mh2JsDfPEFCxzsgLvYDuL5g+MbzHQ4gLMMwc9hc/1pv53V jSlA4QViYxbKuAiFhqyq6s5GPsI/pMDhKB6jxegGuFQAG9xMmodiXcJH7KEr2pCqaM6v JBNA== Received: by 10.14.127.139 with SMTP id d11mr8202826eei.74.1330938872282; Mon, 05 Mar 2012 01:14:32 -0800 (PST) Received: from ernst.jennejohn.org (p578E0CDC.dip.t-dialin.net. [87.142.12.220]) by mx.google.com with ESMTPS id z47sm33620644een.5.2012.03.05.01.14.30 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 05 Mar 2012 01:14:31 -0800 (PST) Date: Mon, 5 Mar 2012 10:14:29 +0100 From: Gary Jennejohn To: Robert Simmons Message-ID: <20120305101429.59f23f86@ernst.jennejohn.org> In-Reply-To: References: 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 Cc: freebsd-hackers@freebsd.org Subject: Re: Where and when /etc/fstab is checking during boot X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: gljennjohn@googlemail.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2012 09:14:33 -0000 On Sun, 4 Mar 2012 19:32:36 -0500 Robert Simmons wrote: > I've just finished working though building a FreeBSD box with an > encrypted root partition as mentioned in the geli(8) man page: "Ask > for the passphrase on boot, before the root partition is mounted. > This makes it possible to use an encrypted root partition. One will > still need bootable unencrypted storage with a /boot/ directory, which > can be a CD-ROM disc or USB pen-drive, that can be removed after > boot." > > I've noticed something quite interesting about the way that fstab is > read during boot. If you follow the instructions exactly as they are > written in the geli(8) man page you soon discover that you also must > have an /etc/fstab file in that same unencrypted partition. But this > need not be the complete fstab file. It only needs to have the one > line that describes /. > > Later, after the encrypted partition is mounted, the /etc/fstab inside > the encrypted partition is then read and all other partitions listed > in fstab are mounted as written there. > > I've tested this by putting empty fstabs and fstabs with just the line > for / in both locations and booting to see what happens. > > Is this the correct behavior? Shouldn't the fstab file be read > completely once and not twice? > man 5 fstab It isn't explicitly stated, but implied, that fsck(8), mount(8) and umount(8) parse fstab every time they're invoked. It's a feature. -- Gary Jennejohn From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 5 11:29:54 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E72CC106566B for ; Mon, 5 Mar 2012 11:29:54 +0000 (UTC) (envelope-from elman_syah@yahoo.com) Received: from nm28.bullet.mail.bf1.yahoo.com (nm28.bullet.mail.bf1.yahoo.com [98.139.212.187]) by mx1.freebsd.org (Postfix) with SMTP id 5F40B8FC0A for ; Mon, 5 Mar 2012 11:29:54 +0000 (UTC) Received: from [98.139.212.148] by nm28.bullet.mail.bf1.yahoo.com with NNFMP; 05 Mar 2012 11:16:54 -0000 Received: from [98.139.212.204] by tm5.bullet.mail.bf1.yahoo.com with NNFMP; 05 Mar 2012 11:16:54 -0000 Received: from [127.0.0.1] by omp1013.mail.bf1.yahoo.com with NNFMP; 05 Mar 2012 11:16:54 -0000 X-Yahoo-Newman-Id: 579201.23955.bm@omp1013.mail.bf1.yahoo.com Received: (qmail 85291 invoked from network); 5 Mar 2012 11:16:54 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=DKIM-Signature:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:X-rim-org-msg-ref-id:Message-ID:Content-Transfer-Encoding:Reply-To:X-Priority:Sensitivity:Importance:Subject:To:From:Date:Content-Type:MIME-Version; b=Ks4NW3OrA4IA2wtYcgB6uQfcKeZX3U6Dbo1+ky1xwcDAJlrHONQmQmfcbOOJ3pZUDcwfn/d16vJkBKnEeddhvxKsx8OBchcu90VDZKfRjINvL5DKCRG2bO2mBK/fPzSLZ2pabyG62zr/8hm0BIzCZ+VyS+87kuCxT3C25sCjyZw= ; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1330946214; bh=76wHArV0jMF8ocijsSotD9QdRqjUvPo7sbZmNAZHvUM=; h=X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:X-rim-org-msg-ref-id:Message-ID:Content-Transfer-Encoding:Reply-To:X-Priority:Sensitivity:Importance:Subject:To:From:Date:Content-Type:MIME-Version; b=0UIPxmUjFU6hUANZl1/anl1kZWtr8o5Uy5Piu6llrDUV/YiFNJB1LCxQjTIr48lo1iPJBs9kwqlwr+3sr2BHkgn8f9egSoY0cgKoKAmX9AXBZxkx/qTSk3CheDG+LKQcfcU+IE4mcDNJx3/G7Rc+fc6MBOEknmMLRdpJLFX2G5A= X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: PHOE6FwVM1m.dhDX5pxe7yOxmB3VYFzSdtpRR4AF1sy5HuO NEJC.0FZHMGpQONg2vteJw58S6WE2XNY9Q6VxZGCUPFj3QFqYLnMMgi1.Aky 7piRe4qvwsnVcm4v6G_PZ5cRPDyK13H_r89pCh80gxuUruZqstVui5pITbu8 cy0Y3U1y.dAYIfxswrWHE1MXuyi8gkJoXUkoYUeeH1n.2rbfbsI3dn5hkWz9 Ll_yKDdh54XHRGgAhPZrcDfuG2IQuUmPQFOdu6ZD0SdWXL9SJHjG72sReoUy 0qYbff_sPn0VOuMh395elV28OHCUoqDWTsr6QvwjErZDXLePJh0XFTz23r2c 4ZjO4eA7CTCz04lzTsCGoeqkwjXfp31MX3UJ2Lkr6e6jiB6sShFc8BssO_xE Bbn9T2NvdIcJpZ9ZV2z7pFP7MSxVs4U0szTkmzJzKSN_pVjoS7nmBNYJB4A- - X-Yahoo-SMTP: q_7iUPaswBAP9nwhgF_vqEtO2hoAqIY- Received: from b14.c1.bise3.blackberry (elman_syah@216.9.249.193 with xymcookie) by smtp104-mob.biz.mail.bf1.yahoo.com with SMTP; 05 Mar 2012 03:16:54 -0800 PST X-rim-org-msg-ref-id: 1691914075 Message-ID: <1691914075-1330946212-cardhu_decombobulator_blackberry.rim.net-1183534746-@b11.c1.bise3.blackberry> Content-Transfer-Encoding: base64 X-Priority: Normal Sensitivity: Normal Importance: Normal To: freebsd-hackers@freebsd.org From: "Elman" Date: Mon, 5 Mar 2012 11:16:49 +0000 Content-Type: text/plain; charset="Windows-1252" MIME-Version: 1.0 X-Mailman-Approved-At: Mon, 05 Mar 2012 12:17:35 +0000 Subject: Freebsd 9.0 can't detect ethernet card X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: elman_syah@yahoo.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2012 11:29:55 -0000 SGFsbG8gaGFja2VyLg0KDQpJIHRyeSBpbnN0YWxsIGZyZWVic2QgOS4wIGluIHNlcnZlciBIcCBw cm9saWFudCBNTDM3MCBHNiwgaW4gcHJvY2VzcyBpbnN0YWxsLCBmcmVlYnNkIGNhbid0IGRldGVj dCBldGhlcm5ldCBjYXJkIGluIGF1dG9tYXRpYy4gRnJlZWJzZCBkb2Vzbid0IHN1cHBvcnQgdGhl IGV0aGVybmV0IGNhcmQgZHJpdmVyIGluIEhQIE1MMzcwIEc2Pw0KDQpUaGFua3MNClJlZ2FyZHMu DQpFbG1hbg0KUG93ZXJlZCBieSBUZWxrb21zZWwgQmxhY2tCZXJyea4= From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 5 12:30:40 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AD5EE106566B for ; Mon, 5 Mar 2012 12:30:40 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 364958FC0A for ; Mon, 5 Mar 2012 12:30:39 +0000 (UTC) Received: by bkcjc3 with SMTP id jc3so4170815bkc.13 for ; Mon, 05 Mar 2012 04:30:39 -0800 (PST) Received-SPF: pass (google.com: domain of ml@my.gd designates 10.204.156.141 as permitted sender) client-ip=10.204.156.141; Authentication-Results: mr.google.com; spf=pass (google.com: domain of ml@my.gd designates 10.204.156.141 as permitted sender) smtp.mail=ml@my.gd Received: from mr.google.com ([10.204.156.141]) by 10.204.156.141 with SMTP id x13mr10269035bkw.50.1330950639142 (num_hops = 1); Mon, 05 Mar 2012 04:30:39 -0800 (PST) Received: by 10.204.156.141 with SMTP id x13mr8118597bkw.50.1330950638914; Mon, 05 Mar 2012 04:30:38 -0800 (PST) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id jd17sm25080563bkb.4.2012.03.05.04.30.37 (version=SSLv3 cipher=OTHER); Mon, 05 Mar 2012 04:30:37 -0800 (PST) Message-ID: <4F54B1EC.9020906@my.gd> Date: Mon, 05 Mar 2012 13:30:36 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <1691914075-1330946212-cardhu_decombobulator_blackberry.rim.net-1183534746-@b11.c1.bise3.blackberry> In-Reply-To: <1691914075-1330946212-cardhu_decombobulator_blackberry.rim.net-1183534746-@b11.c1.bise3.blackberry> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQmXAhCJP/iyLqeChx637CFmmsF8qP6JA81N+i5BVu4CfOrYMP13aa+ArPYgFMBGnDJ0cCza Subject: Re: Freebsd 9.0 can't detect ethernet card X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2012 12:30:40 -0000 Hello Elman, None of us was born a seer so you might want to tell the model of the network card. On 3/5/12 12:16 PM, Elman wrote: > Hallo hacker. > > I try install freebsd 9.0 in server Hp proliant ML370 G6, in process install, freebsd can't detect ethernet card in automatic. Freebsd doesn't support the ethernet card driver in HP ML370 G6? > > Thanks > Regards. > Elman > Powered by Telkomsel BlackBerry® > From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 5 13:23:13 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0980D106564A for ; Mon, 5 Mar 2012 13:23:13 +0000 (UTC) (envelope-from mark@exonetric.com) Received: from relay0.exonetric.net (relay0.exonetric.net [178.250.72.161]) by mx1.freebsd.org (Postfix) with ESMTP id C5D448FC16 for ; Mon, 5 Mar 2012 13:23:12 +0000 (UTC) Received: from [192.168.1.24] (unknown [78.86.207.85]) by relay0.exonetric.net (Postfix) with ESMTP id E290657004; Mon, 5 Mar 2012 12:53:33 +0000 (GMT) Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=iso-8859-1 From: Mark Blackman In-Reply-To: <4F54B1EC.9020906@my.gd> Date: Mon, 5 Mar 2012 12:53:32 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: <05009362-432B-4ADF-9071-005DDE2BE61F@exonetric.com> References: <1691914075-1330946212-cardhu_decombobulator_blackberry.rim.net-1183534746-@b11.c1.bise3.blackberry> <4F54B1EC.9020906@my.gd> To: Damien Fleuriot X-Mailer: Apple Mail (2.1257) Cc: freebsd-hackers@freebsd.org Subject: Re: Freebsd 9.0 can't detect ethernet card X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2012 13:23:13 -0000 On 5 Mar 2012, at 12:30, Damien Fleuriot wrote: > Hello Elman, >=20 >=20 > None of us was born a seer so you might want to tell the model of the > network card. >=20 >=20 >=20 > On 3/5/12 12:16 PM, Elman wrote: >> Hallo hacker. >>=20 >> I try install freebsd 9.0 in server Hp proliant ML370 G6, in process = install, freebsd can't detect ethernet card in automatic. Freebsd = doesn't support the ethernet card driver in HP ML370 G6? = http://h30499.www3.hp.com/t5/ProLiant-Servers-Netservers/NC375i-on-Prolian= t-Server/td-p/1116100 Suggests its a Qlogic NetXen3 but I can't immediately tell if that's = supported. It looks like it's *not*, but HP is a rather big vendor not to have support for, so = I'm guessing I've just=20 overlooked it From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 5 13:52:46 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0EB0B1065737 for ; Mon, 5 Mar 2012 13:52:46 +0000 (UTC) (envelope-from bugReporter@Haakh.de) Received: from mo-p00-ob6.rzone.de (mo-p00-ob6.rzone.de [IPv6:2a01:238:20a:202:53f0::1]) by mx1.freebsd.org (Postfix) with ESMTP id 0C1878FC19 for ; Mon, 5 Mar 2012 13:52:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1330955564; l=3528; s=domk; d=haakh.de; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References: Subject:To:MIME-Version:From:Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=pOnsieMA7XkXvMoIGMYc/x7g/kk=; b=aEbW0C/4YObhnnYyHdlCkwHl7t+sTbfZQL8iCrxQlVQDfpfN0M/6bx8xXM5O5yTK1ds spgzQ1oNphc2DPKGBzDyiTqGA47HnI6RTzrrv7z0419mHc5b3Br0a+rd3GzcEi0Y5CMTk AdUrYjOiFltke25xJoFd3YxyDn5t1ht8/a8= X-RZG-AUTH: :LWQcbViwW/e6OTbW0dHzwKkCepY3+zAQY9KdRPw9VcHc3bN9H/X+W1+9lYs= X-RZG-CLASS-ID: mo00 Received: from abaton.Haakh.de (p57A711BC.dip.t-dialin.net [87.167.17.188]) by smtp.strato.de (jimi mo5) (RZmta 27.7 DYNA|AUTH) with ESMTPA id Y025f6o25DAW2d for ; Mon, 5 Mar 2012 14:52:30 +0100 (MET) Received: from Crabberio.Haakh.de (crabberio.Haakh.de [192.168.63.16]) by abaton.Haakh.de (8.14.5/8.14.5) with ESMTP id q25DqPuV014231 for ; Mon, 5 Mar 2012 14:52:26 +0100 (CET) (envelope-from bugReporter@Haakh.de) Message-ID: <4F54C519.10505@Haakh.de> Date: Mon, 05 Mar 2012 14:52:25 +0100 From: "Dr. A. Haakh" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120225 Firefox/10.0.2 SeaMonkey/2.7.2 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <4F54919A.6050108@Haakh.de> In-Reply-To: <4F54919A.6050108@Haakh.de> X-Forwarded-Message-Id: <4F54919A.6050108@Haakh.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 05 Mar 2012 14:36:41 +0000 Subject: Fwd: on purpose or forgotten ? hardcoded compiler in basesystem-makefiles X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2012 13:52:46 -0000 As suggested my M. Seaman, i repost my message here. -------- Original Message -------- Subject: on purpose or forgotten ? hardcoded compiler in basesystem-makefiles Date: Mon, 05 Mar 2012 11:12:42 +0100 From: Dr. A. Haakh To: freebsd-questions@freebsd.org a quick search revealed following usages: FreeBSD abaton.Haakh.de 9.0-STABLE FreeBSD 9.0-STABLE #0: Wed Feb 29 13:49:36 CET 2012 toor@abaton.Haakh.de:/usr/obj/usr/src/sys/ABATON i386 ah@abaton:~$ find /usr/src/ -name Makefile\* -exec egrep '^[[:blank:]]+[gc+]{2,3}[[:blank:]]+..' {} \; -print cc -D__dead2="" -D__unused="" -Darc4random=random -D__FBSDID="static const char *id=" -DDEFSHELLNAME=\"sh\" -I. -c *.c cc *.o -o pmake /usr/src/usr.bin/make/Makefile.dist gcc -M $(CFLAGS) $(SRC)>> Makefile.tmp /usr/src/crypto/openssl/demos/engines/cluster_labs/Makefile gcc -M $(CFLAGS) $(SRC)>> Makefile.tmp /usr/src/crypto/openssl/demos/engines/zencod/Makefile gcc -M $(CFLAGS) $(SRC)>> Makefile.tmp /usr/src/crypto/openssl/demos/engines/ibmca/Makefile cc -I../../include divtest.c -o divtest ../../libcrypto.a cc -g -I../../include bnbug.c -o bnbug ../../libcrypto.a gcc -I../../include -g2 -ggdb -o exptest exptest.c ../../libcrypto.a gcc -I.. -g div.c ../../libcrypto.a /usr/src/crypto/openssl/crypto/bn/Makefile cc -g -I../../include -c test.c cc -g -I../../include -o test test.o -L../.. -lcrypto cc -g -I../../include -c pk.c cc -g -I../../include -o pk pk.o -L../.. -lcrypto /usr/src/crypto/openssl/crypto/asn1/Makefile gcc -o ${.TARGET} ${_f} -lrt /usr/src/tools/test/dtrace/Makefile c++ -o $@ $< -lpthread /usr/src/tools/regression/pthread/unwind/Makefile gcc -c -o elftls.o ${.CURDIR}/elftls.S gcc -c -o tls-test.o ${.CURDIR}/tls-test-lib.c gcc $(CFLAGS) -rdynamic -o ttls3 ${.CURDIR}/tls-test.c /usr/src/tools/regression/tls/ttls3/Makefile gcc -Wall -o accf_data_attach accf_data_attach.c /usr/src/tools/regression/sockets/accf_data_attach/Makefile gcc $(LDFLAGS) $(DLL_LN_OPTS) ./lib/$*$(DLL_TAG).lib \ gcc $(LDFLAGS) $(DLL_LN_OPTS) ./lib/$*$(DLL_TAG).lib \ /usr/src/contrib/ncurses/Makefile.os2 g++ -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $< $(OUTPUT_OPTION) g++ -o $@ paranoia.o real.o $(LIBIBERTY) /usr/src/contrib/gcc/Makefile.in gcc -o asyncwatch asyncwatch.c ${CFLAGS} gcc -o devinfo devinfo.c ${CFLAGS} gcc -o device_list device_list.c ${CFLAGS} gcc -o rc_pingpong rc_pingpong.c pingpong.c ${CFLAGS} gcc -o srq_pingpong srq_pingpong.c pingpong.c ${CFLAGS} gcc -o uc_pingpong uc_pingpong.c pingpong.c ${CFLAGS} gcc -o ud_pingpong ud_pingpong.c pingpong.c ${CFLAGS} /usr/src/contrib/ofed/libibverbs/examples/Makefile cc -E $$i |\ /usr/src/contrib/libreadline/examples/rlfe/Makefile.in cc -o test ${.CURDIR}/test.c -lrpcsvc /usr/src/usr.sbin/rpc.lockd/Makefile cc -o test test.c -lrpcsvc /usr/src/usr.sbin/rpc.statd/Makefile gcc -g -DSPARC_XXX ${MUL} -o ${.TARGET} gcc -g -DSPARC_XXX ${DIVREM} -o ${.TARGET} /usr/src/lib/libc/quad/TESTS/Makefile cc ${CFLAGS} -static tst01.o -o tst01 libdisk.a /usr/src/lib/libdisk/Makefile gcc -g3 msgring.lex.c msgring.yacc.c -o msgring /usr/src/sys/mips/rmi/Makefile.msgring ah@abaton:~$ find /usr/src/ -name Makefile\* -exec egrep '^[[:blank:]]+cpp[[:blank:]]+..' {} \; -print cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_ovl.S spu_ovl.s /usr/src/contrib/binutils/ld/Makefile.in cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_ovl.S spu_ovl.s /usr/src/contrib/binutils/ld/Makefile.am From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 5 15:28:05 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2C387106566B for ; Mon, 5 Mar 2012 15:28:05 +0000 (UTC) (envelope-from rsimmons0@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id CEEEC8FC08 for ; Mon, 5 Mar 2012 15:28:04 +0000 (UTC) Received: by vcmm1 with SMTP id m1so2671014vcm.13 for ; Mon, 05 Mar 2012 07:28:04 -0800 (PST) Received-SPF: pass (google.com: domain of rsimmons0@gmail.com designates 10.52.72.107 as permitted sender) client-ip=10.52.72.107; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rsimmons0@gmail.com designates 10.52.72.107 as permitted sender) smtp.mail=rsimmons0@gmail.com; dkim=pass header.i=rsimmons0@gmail.com Received: from mr.google.com ([10.52.72.107]) by 10.52.72.107 with SMTP id c11mr30941734vdv.132.1330961284316 (num_hops = 1); Mon, 05 Mar 2012 07:28:04 -0800 (PST) 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:content-transfer-encoding; bh=nGeGSEg7JSHyB1eBRrhz+SBjlklV41l1Pfw6i9dntCY=; b=A09orstR1eG5n5UKOplU8IFX2XwNyzawyIOENtKtIAa501FudgLyPPaaLZqrAmev54 973yBlZ+v6T8WF6/5cpjewaMGnwsHj6BrhLNDcs3ld6gsvrXI8Pu4vTsLSPoWXEL/Vyi b53aHI0wiVI4kn6ZwZa5fHNhIx8LbIYIKdPuJSQ8OudT6n8GmprG0ssHRjIfunVB1HQm xvZ5hOTkHkNxdeqX0ChIr2dFO6w8jhG2wmVLSbCdXRY+ElZ2fpUdPt/cuaV3nhjhy84e tmj3PPt10YqBOosAudsCZBAyP/CO4emI/PNGbf467pe9nc7WIikYPSzQCPkquZoBsH8h /nZQ== MIME-Version: 1.0 Received: by 10.52.72.107 with SMTP id c11mr26496532vdv.132.1330961284264; Mon, 05 Mar 2012 07:28:04 -0800 (PST) Received: by 10.52.65.114 with HTTP; Mon, 5 Mar 2012 07:28:04 -0800 (PST) In-Reply-To: <20120305101429.59f23f86@ernst.jennejohn.org> References: <20120305101429.59f23f86@ernst.jennejohn.org> Date: Mon, 5 Mar 2012 10:28:04 -0500 Message-ID: From: Robert Simmons To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Where and when /etc/fstab is checking during boot X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2012 15:28:05 -0000 On Mon, Mar 5, 2012 at 4:14 AM, Gary Jennejohn wrote: > On Sun, 4 Mar 2012 19:32:36 -0500 > Robert Simmons wrote: > >> I've just finished working though building a FreeBSD box with an >> encrypted root partition as mentioned in the geli(8) man page: "Ask >> for the passphrase on boot, before the root partition is mounted. >> This makes it possible to use an encrypted root partition. =A0One will >> still need bootable unencrypted storage with a /boot/ directory, which >> can be a CD-ROM disc or USB pen-drive, that can be removed after >> boot." >> >> I've noticed something quite interesting about the way that fstab is >> read during boot. =A0If you follow the instructions exactly as they are >> written in the geli(8) man page you soon discover that you also must >> have an /etc/fstab file in that same unencrypted partition. =A0But this >> need not be the complete fstab file. =A0It only needs to have the one >> line that describes /. >> >> Later, after the encrypted partition is mounted, the /etc/fstab inside >> the encrypted partition is then read and all other partitions listed >> in fstab are mounted as written there. >> >> I've tested this by putting empty fstabs and fstabs with just the line >> for / in both locations and booting to see what happens. >> >> Is this the correct behavior? =A0Shouldn't the fstab file be read >> completely once and not twice? >> > > man 5 fstab > > It isn't explicitly stated, but implied, that fsck(8), mount(8) and > umount(8) parse fstab every time they're invoked. > > It's a feature. Got it. I will submit a patch for the geli(8) man page to include that /etc/fstab needs to exist on the unencrypted volume as well as /boot for an encrypted root partition to work properly (as I have gather through trial and error). From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 5 15:50:46 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 077DF1065678 for ; Mon, 5 Mar 2012 15:50:46 +0000 (UTC) (envelope-from lacombar@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 90BAE8FC19 for ; Mon, 5 Mar 2012 15:50:45 +0000 (UTC) Received: by werl4 with SMTP id l4so3219637wer.13 for ; Mon, 05 Mar 2012 07:50:44 -0800 (PST) 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=AP1zYwxOgqn6regJJmvbl4HDMZlFeXtGQ44c9+sPf1c=; b=ILAFRl2Ta4cauDOsMbcfSvTyMG0KPzeJlP4v9gX/Fg7mq3cHiIZdeARgrRJlHfDfDb O1fvdXdPUOfmsLq1DBUouRFM1eWf2tGnXj5AvGf3uqLPh3W4RMzUv/IDvUCD49pHMKqv urGaAVagLS/D2DNB0o7Be1Pe+PV8Wp1FGAyIltuC84oKZhtmuaNizvtCEIMmx7Ox2FW9 ZnxYV2JyyhLh5UYXyaHVble7foMj40Lo84lT5uHWurU9kQUHyZx7aR4kc2N71HNhGxOc o7YBcPqsaKOQUYtAsLnQiX35N3atqfHmsUmH9rbQ6vH3fYxxPwCK7kI2kemCkCijGfKw 4rhQ== MIME-Version: 1.0 Received: by 10.180.82.132 with SMTP id i4mr12890029wiy.12.1330962644763; Mon, 05 Mar 2012 07:50:44 -0800 (PST) Received: by 10.216.166.139 with HTTP; Mon, 5 Mar 2012 07:50:44 -0800 (PST) In-Reply-To: <05009362-432B-4ADF-9071-005DDE2BE61F@exonetric.com> References: <1691914075-1330946212-cardhu_decombobulator_blackberry.rim.net-1183534746-@b11.c1.bise3.blackberry> <4F54B1EC.9020906@my.gd> <05009362-432B-4ADF-9071-005DDE2BE61F@exonetric.com> Date: Mon, 5 Mar 2012 10:50:44 -0500 Message-ID: From: Arnaud Lacombe To: Mark Blackman Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-hackers@freebsd.org Subject: Re: Freebsd 9.0 can't detect ethernet card X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2012 15:50:46 -0000 Hi, On Mon, Mar 5, 2012 at 7:53 AM, Mark Blackman wrote: > > On 5 Mar 2012, at 12:30, Damien Fleuriot wrote: > >> Hello Elman, >> >> >> None of us was born a seer so you might want to tell the model of the >> network card. >> >> >> >> On 3/5/12 12:16 PM, Elman wrote: >>> Hallo hacker. >>> >>> I try install freebsd 9.0 in server Hp proliant ML370 G6, in process install, freebsd can't detect ethernet card in automatic. Freebsd doesn't support the ethernet card driver in HP ML370 G6? > > http://h30499.www3.hp.com/t5/ProLiant-Servers-Netservers/NC375i-on-Proliant-Server/td-p/1116100 > > Suggests its a Qlogic NetXen3 but I can't immediately tell if that's supported. It looks like > it's *not*, but HP is a rather big vendor not to have support for, so I'm guessing I've just > overlooked it > PCI vendor and device ID would be much more useful than brand name. Elman, could you send the output of `dmesg', as well as `pciconf -l' ? Thanks, - Arnaud From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 5 15:53:28 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 82BA0106566C for ; Mon, 5 Mar 2012 15:53:28 +0000 (UTC) (envelope-from lacombar@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0DA7F8FC15 for ; Mon, 5 Mar 2012 15:53:27 +0000 (UTC) Received: by wibhn6 with SMTP id hn6so2664601wib.13 for ; Mon, 05 Mar 2012 07:53:27 -0800 (PST) Received-SPF: pass (google.com: domain of lacombar@gmail.com designates 10.216.131.98 as permitted sender) client-ip=10.216.131.98; Authentication-Results: mr.google.com; spf=pass (google.com: domain of lacombar@gmail.com designates 10.216.131.98 as permitted sender) smtp.mail=lacombar@gmail.com; dkim=pass header.i=lacombar@gmail.com Received: from mr.google.com ([10.216.131.98]) by 10.216.131.98 with SMTP id l76mr4159602wei.62.1330962807288 (num_hops = 1); Mon, 05 Mar 2012 07:53:27 -0800 (PST) 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:content-transfer-encoding; bh=zmdYwGYmiXSJg88zi+bOu+36ssBBABhhHGNJoSrfkIQ=; b=nKcj5ROhaZAva3ixnwDJa14m4HYX6pg1UXGKdX1bh6sd/1f8DUB0keefpqSeBoMOFP AWEI/V2ka9AIKPv+F5yW/7320dQcQLzzZ5sIDjNQEcjn0xLEpXzR2e3bJH+7j9A1tLxX y68KzhYCqO4p8apf8rPLKT1Syx+iFjA4Rs5I9GARSGCdJMePiI1Ml/NqfukaijMqubCR aTVP12tHvS3QAzfeag3feEtok+W4QnLXiUeeLZuAYDosNTGPnZHJRGtFRB2hCboq/fK0 D3xMMLUbzP+nRcd+3yqmjCZi07khPV6g4rFl4e/7Pzd2DXOhYMNq+JjMdlpzoK2mEgcd 2OLA== MIME-Version: 1.0 Received: by 10.216.131.98 with SMTP id l76mr3367878wei.62.1330962807224; Mon, 05 Mar 2012 07:53:27 -0800 (PST) Received: by 10.216.166.139 with HTTP; Mon, 5 Mar 2012 07:53:27 -0800 (PST) In-Reply-To: References: <1691914075-1330946212-cardhu_decombobulator_blackberry.rim.net-1183534746-@b11.c1.bise3.blackberry> <4F54B1EC.9020906@my.gd> <05009362-432B-4ADF-9071-005DDE2BE61F@exonetric.com> Date: Mon, 5 Mar 2012 10:53:27 -0500 Message-ID: From: Arnaud Lacombe To: Mark Blackman Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-hackers@freebsd.org, elman_syah@yahoo.com Subject: Re: Freebsd 9.0 can't detect ethernet card X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2012 15:53:28 -0000 Hi, [Thanks folks to have removed the original sender from the CC: list... Adding him back.] On Mon, Mar 5, 2012 at 10:50 AM, Arnaud Lacombe wrote: > Hi, > > On Mon, Mar 5, 2012 at 7:53 AM, Mark Blackman wrote: >> >> On 5 Mar 2012, at 12:30, Damien Fleuriot wrote: >> >>> Hello Elman, >>> >>> >>> None of us was born a seer so you might want to tell the model of the >>> network card. >>> >>> >>> >>> On 3/5/12 12:16 PM, Elman wrote: >>>> Hallo hacker. >>>> >>>> I try install freebsd 9.0 in server Hp proliant ML370 G6, in process i= nstall, freebsd can't detect ethernet card in automatic. Freebsd doesn't su= pport the ethernet card driver in HP ML370 G6? >> >> http://h30499.www3.hp.com/t5/ProLiant-Servers-Netservers/NC375i-on-Proli= ant-Server/td-p/1116100 >> >> Suggests its a Qlogic NetXen3 but I can't immediately tell if that's sup= ported. It looks like >> it's *not*, but HP is a rather big vendor not to have support for, so I'= m guessing I've just >> overlooked it >> > PCI vendor and device ID would be much more useful than brand name. > Elman, could you send the output of `dmesg', as well as `pciconf -l' ? > > Thanks, > =A0- Arnaud From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 5 15:55:30 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5EDDB1065675 for ; Mon, 5 Mar 2012 15:55:30 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 189B78FC12 for ; Mon, 5 Mar 2012 15:55:30 +0000 (UTC) Received: by ghrr20 with SMTP id r20so1913343ghr.13 for ; Mon, 05 Mar 2012 07:55:29 -0800 (PST) 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=DOyURWEpQNDyfgevLhbhMO7IZ8j3TqGJOvT/eD8LdFM=; b=098mb/XCSXZqDqe6684fOXClGzrkfvyJhQjHtJB4/5bFLgVIdDtWevmbkSqIHmk9Lb CBk/KfWZtMnwIL6DoYcM0mbg8T1C5haFmAgbRbltPdnjuhh6Y3obmIBdw+t2EPkfyCzH B6UdY7nL2xb4c1a4Y4baIRTEt0fqCjcd6JOCAmZuI3gvycZHXuiILxbACou6Sh8GjbZu t0d442vPiJ7jtL/KNDfD6v15b1D1XwQlLzaaQRns+QyZVXeTJi7Q6HDpT+ubudDYruf3 9iYq7sZ35qmCztdcAjmQlLLlXpC7h1kbODzURXE0kLcIHMquZRhJQaEvmBaKGcJjioAn ROEA== MIME-Version: 1.0 Received: by 10.50.181.228 with SMTP id dz4mr6154218igc.9.1330961314027; Mon, 05 Mar 2012 07:28:34 -0800 (PST) Received: by 10.231.53.67 with HTTP; Mon, 5 Mar 2012 07:28:33 -0800 (PST) Received: by 10.231.53.67 with HTTP; Mon, 5 Mar 2012 07:28:33 -0800 (PST) In-Reply-To: <4F54C519.10505@Haakh.de> References: <4F54919A.6050108@Haakh.de> <4F54C519.10505@Haakh.de> Date: Mon, 5 Mar 2012 15:28:33 +0000 Message-ID: From: Chris Rees To: "Dr. A. Haakh" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org Subject: Re: Fwd: on purpose or forgotten ? hardcoded compiler in basesystem-makefiles X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2012 15:55:30 -0000 On 5 Mar 2012 14:36, "Dr. A. Haakh" wrote: > > As suggested my M. Seaman, i repost my message here. > > -------- Original Message -------- > Subject: on purpose or forgotten ? hardcoded compiler in basesystem-makefiles > Date: Mon, 05 Mar 2012 11:12:42 +0100 > From: Dr. A. Haakh > To: freebsd-questions@freebsd.org > > > > a quick search revealed following usages: > > FreeBSD abaton.Haakh.de 9.0-STABLE FreeBSD 9.0-STABLE #0: Wed Feb 29 > 13:49:36 CET 2012 toor@abaton.Haakh.de:/usr/obj/usr/src/sys/ABATON i386 > > ah@abaton:~$ find /usr/src/ -name Makefile\* -exec egrep > '^[[:blank:]]+[gc+]{2,3}[[:blank:]]+..' {} \; -print > cc -D__dead2="" -D__unused="" -Darc4random=random > -D__FBSDID="static const char *id=" -DDEFSHELLNAME=\"sh\" -I. -c *.c > cc *.o -o pmake > /usr/src/usr.bin/make/Makefile.dist > gcc -M $(CFLAGS) $(SRC)>> Makefile.tmp > /usr/src/crypto/openssl/demos/engines/cluster_labs/Makefile > gcc -M $(CFLAGS) $(SRC)>> Makefile.tmp > /usr/src/crypto/openssl/demos/engines/zencod/Makefile > gcc -M $(CFLAGS) $(SRC)>> Makefile.tmp > /usr/src/crypto/openssl/demos/engines/ibmca/Makefile > cc -I../../include divtest.c -o divtest ../../libcrypto.a > cc -g -I../../include bnbug.c -o bnbug ../../libcrypto.a > gcc -I../../include -g2 -ggdb -o exptest exptest.c ../../libcrypto.a > gcc -I.. -g div.c ../../libcrypto.a > /usr/src/crypto/openssl/crypto/bn/Makefile > cc -g -I../../include -c test.c > cc -g -I../../include -o test test.o -L../.. -lcrypto > cc -g -I../../include -c pk.c > cc -g -I../../include -o pk pk.o -L../.. -lcrypto > /usr/src/crypto/openssl/crypto/asn1/Makefile > gcc -o ${.TARGET} ${_f} -lrt > /usr/src/tools/test/dtrace/Makefile > c++ -o $@ $< -lpthread > /usr/src/tools/regression/pthread/unwind/Makefile > gcc -c -o elftls.o ${.CURDIR}/elftls.S > gcc -c -o tls-test.o ${.CURDIR}/tls-test-lib.c > gcc $(CFLAGS) -rdynamic -o ttls3 ${.CURDIR}/tls-test.c > /usr/src/tools/regression/tls/ttls3/Makefile > gcc -Wall -o accf_data_attach accf_data_attach.c > /usr/src/tools/regression/sockets/accf_data_attach/Makefile > gcc $(LDFLAGS) $(DLL_LN_OPTS) ./lib/$*$(DLL_TAG).lib \ > gcc $(LDFLAGS) $(DLL_LN_OPTS) ./lib/$*$(DLL_TAG).lib \ > /usr/src/contrib/ncurses/Makefile.os2 > g++ -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $< $(OUTPUT_OPTION) > g++ -o $@ paranoia.o real.o $(LIBIBERTY) > /usr/src/contrib/gcc/Makefile.in > gcc -o asyncwatch asyncwatch.c ${CFLAGS} > gcc -o devinfo devinfo.c ${CFLAGS} > gcc -o device_list device_list.c ${CFLAGS} > gcc -o rc_pingpong rc_pingpong.c pingpong.c ${CFLAGS} > gcc -o srq_pingpong srq_pingpong.c pingpong.c ${CFLAGS} > gcc -o uc_pingpong uc_pingpong.c pingpong.c ${CFLAGS} > gcc -o ud_pingpong ud_pingpong.c pingpong.c ${CFLAGS} > /usr/src/contrib/ofed/libibverbs/examples/Makefile > cc -E $$i |\ > /usr/src/contrib/libreadline/examples/rlfe/Makefile.in > cc -o test ${.CURDIR}/test.c -lrpcsvc > /usr/src/usr.sbin/rpc.lockd/Makefile > cc -o test test.c -lrpcsvc > /usr/src/usr.sbin/rpc.statd/Makefile > gcc -g -DSPARC_XXX ${MUL} -o ${.TARGET} > gcc -g -DSPARC_XXX ${DIVREM} -o ${.TARGET} > /usr/src/lib/libc/quad/TESTS/Makefile > cc ${CFLAGS} -static tst01.o -o tst01 libdisk.a > /usr/src/lib/libdisk/Makefile > gcc -g3 msgring.lex.c msgring.yacc.c -o msgring > /usr/src/sys/mips/rmi/Makefile.msgring > > ah@abaton:~$ find /usr/src/ -name Makefile\* -exec egrep > '^[[:blank:]]+cpp[[:blank:]]+..' {} \; -print > cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_ovl.S spu_ovl.s > /usr/src/contrib/binutils/ld/Makefile.in > cpp -DOVLY_IRQ_SAVE $(srcdir)/emultempl/spu_ovl.S spu_ovl.s > /usr/src/contrib/binutils/ld/Makefile.am > > Anything in contrib/ should usually get fixed upstream. Chris From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 5 17:44:55 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 496C6106566B for ; Mon, 5 Mar 2012 17:44:55 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 217578FC16 for ; Mon, 5 Mar 2012 17:44:55 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id CCF0A46B2D; Mon, 5 Mar 2012 12:44:54 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 1DE18B940; Mon, 5 Mar 2012 12:44:54 -0500 (EST) From: John Baldwin To: freebsd-hackers@freebsd.org Date: Mon, 5 Mar 2012 12:21:08 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p10; KDE/4.5.5; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201203051221.08681.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 05 Mar 2012 12:44:54 -0500 (EST) Cc: Maninya M Subject: Re: CPUID and CPU STATE X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2012 17:44:55 -0000 On Friday, March 02, 2012 2:20:00 am Maninya M wrote: > I was unable to get this information about the cpuid variable in the > scheduler source code. > How does cpuid get its value from the hardware? The cpuid is a software ID value assigned during boot. It is not directly related to any specific hardware IDs. > How is the CPUSTATES value obtained/changed with hardware in the source > code? Do you mean, does cp_time[] handle hardware changes (hotplug CPUs, etc.)? Currently that isn't supported, the kernel assumes the set of CPUs is static for a given boot's lifetime. -- John Baldwin From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 5 17:44:56 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 881AE106564A; Mon, 5 Mar 2012 17:44:56 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 6095F8FC17; Mon, 5 Mar 2012 17:44:56 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id 170D846B42; Mon, 5 Mar 2012 12:44:56 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 7FF3FB966; Mon, 5 Mar 2012 12:44:55 -0500 (EST) From: John Baldwin To: freebsd-hackers@freebsd.org, sbruno@freebsd.org Date: Mon, 5 Mar 2012 12:22:45 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p10; KDE/4.5.5; amd64; ; ) References: <1330720724.5391.2.camel@powernoodle-l7.corp.yahoo.com> In-Reply-To: <1330720724.5391.2.camel@powernoodle-l7.corp.yahoo.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201203051222.45699.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 05 Mar 2012 12:44:55 -0500 (EST) Cc: Subject: Re: [patch] Disable bios probe if acpi is enabled X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2012 17:44:56 -0000 On Friday, March 02, 2012 3:38:44 pm Sean Bruno wrote: > I'm noting that newer machines are completely hosed if we attempt to > probe for bios values. I'm proposing this change. Hmm, perhaps better than this is tying it into some device as a child of legacy0. That is possibly cleaner than checking for acpi0. I think your patch will break booting on a system that doesn't have ACPI (certainly it won't be able to find PCI anymore). > -bash-4.2$ p4 diff -du //depot/yahoo/ybsd_7/src/sys/i386/i386/bios.c > --- //depot/yahoo/ybsd_7/src/sys/i386/i386/bios.c 2011-09-16 > 22:47:30.000000000 0000 > +++ /home/seanbru/ybsd_7/src/sys/i386/i386/bios.c 2011-09-16 > 22:47:30.000000000 0000 > @@ -84,6 +84,12 @@ > char *p; > > /* > + * Don't do bios probing if acpi is enabled, its > + * pointless and breaks on newer systems > + */ > + if (!resource_disabled("acpi", 0)) > + return; > + /* > * BIOS32 Service Directory, PCI BIOS > */ > > -- John Baldwin From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 5 17:44:58 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69A38106564A; Mon, 5 Mar 2012 17:44:58 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 408138FC1C; Mon, 5 Mar 2012 17:44:58 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id E95A946B53; Mon, 5 Mar 2012 12:44:57 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 4F94EB979; Mon, 5 Mar 2012 12:44:57 -0500 (EST) From: John Baldwin To: rank1seeker@gmail.com Date: Mon, 5 Mar 2012 12:44:44 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p10; KDE/4.5.5; amd64; ; ) References: <20120302.151703.536.2@DOMY-PC> <201203021720.11756.jhb@freebsd.org> <20120303.085919.077.6@DOMY-PC> In-Reply-To: <20120303.085919.077.6@DOMY-PC> MIME-Version: 1.0 Content-Type: Text/Plain; charset="windows-1250" Content-Transfer-Encoding: 7bit Message-Id: <201203051244.44681.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 05 Mar 2012 12:44:57 -0500 (EST) Cc: Roman Divacky , hackers@freebsd.org, Andriy Gapon Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2012 17:44:58 -0000 On Saturday, March 03, 2012 3:59:19 am rank1seeker@gmail.com wrote: > Using: MD5 (boot2_test.patch) = c2d6d2c9806df5915419987f200c05af > > Still fails to build. > > /usr/src/sys/boot/i386/boot2/boot2.c: In function 'main': > /usr/src/sys/boot/i386/boot2/boot2.c:282: error: expected ':' before ')' token My test build didn't actually build all of boot2. This should be fixed now. -- John Baldwin From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 5 18:18:01 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9A9FA1065672; Mon, 5 Mar 2012 18:18:01 +0000 (UTC) (envelope-from rank1seeker@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id AE8A28FC0C; Mon, 5 Mar 2012 18:18:00 +0000 (UTC) Received: by wgbds12 with SMTP id ds12so3594593wgb.31 for ; Mon, 05 Mar 2012 10:17:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:from:to:subject:date:content-type :content-transfer-encoding:in-reply-to:references:x-mailer; bh=Eng4fhAYgiDnKulbEA556gfWv3RKvDRHgqLnvwjZyIw=; b=IPM9KL8ag0KN3l4oyIHODsl/F/TeEmk9CVsS5eQ8gSdwAdT1RzsG4YhHFhXhnFfDBS B5slmTFAMCi0SXL+kIwrx4nYkBP2kuRnh+KAWoYnYE5dbP9bad/KBkTOe3YdZsKg2PLB /AHXP4mXF+DAo1CdKyke8pCN8imfHDW8Cf7s4BtO8ZKWUkyDSomIjyNkMFNwBJJPIbNl Uegr9vr8+dAC3+8LXpMXm7nTweXyoZ6omCsiItGsB/Rh9Wy67tpLRFO7WexzKyIZ9sO2 5Wv0F+PQt7j1LrbqWW2D3biiWTCQ5YWjKdNrC7gWf2DDcuzVLRq6BlxX5BdB9v6wyLnx xJHg== Received: by 10.180.24.166 with SMTP id v6mr13667746wif.10.1330971479579; Mon, 05 Mar 2012 10:17:59 -0800 (PST) Received: from DOMYPC ([82.193.208.173]) by mx.google.com with ESMTPS id h19sm22415710wiw.9.2012.03.05.10.17.05 (version=SSLv3 cipher=OTHER); Mon, 05 Mar 2012 10:17:58 -0800 (PST) Message-ID: <20120305.181803.677.1@DOMY-PC> From: rank1seeker@gmail.com To: hackers@freebsd.org, "John Baldwin" , "Roman Divacky" , "Andriy Gapon" Date: Mon, 05 Mar 2012 19:18:03 +0100 Content-Type: text/plain; charset="Windows-1250" Content-Transfer-Encoding: quoted-printable In-Reply-To: <201203051244.44681.jhb@freebsd.org> References: <20120302.151703.536.2@DOMY-PC> <201203021720.11756.jhb@freebsd.org> <20120303.085919.077.6@DOMY-PC> <201203051244.44681.jhb@freebsd.org> X-Mailer: POP Peeper (3.8.1.0) Cc: Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2012 18:18:01 -0000 ----- Original Message -----=0D=0AFrom: John Baldwin = =0D=0ATo: rank1seeker@gmail.com=0D=0ACc: = hackers@freebsd.org, "Roman Divacky" , "Andriy = Gapon" =0D=0ADate: Mon, 5 Mar 2012 12:44:44 = -0500=0D=0ASubject: Re: BUG: 9.0 stage 2 boot (/boot/boot)=0D=0A=0D=0A> = On Saturday, March 03, 2012 3:59:19 am rank1seeker@gmail.com = wrote:=0D=0A> > Using: MD5 (boot2_test.patch) =3D = c2d6d2c9806df5915419987f200c05af=0D=0A> > =0D=0A> > Still fails to = build.=0D=0A> > =0D=0A> > /usr/src/sys/boot/i386/boot2/boot2.c: In = function 'main':=0D=0A> > /usr/src/sys/boot/i386/boot2/boot2.c:282: = error: expected ':' before ')' token=0D=0A> =0D=0A> My test build didn't = actually build all of boot2. This should be fixed now.=0D=0A> =0D=0A> -- = =0D=0A> John Baldwin=0D=0A=0D=0A=0D=0AUsing: MD5 (boot2_test.patch) =3D = b06e290859041cefc8ab38df37d06a36=0D=0A=0D=0ABuilt and installed = ...=0D=0AChecking 2 times in a row ...=0D=0ABINGO! It = works!=0D=0A=0D=0AExcellent job John!=0D=0A;)=0D=0A=0D=0ASo, what was an = issue?=0D=0A=0D=0A=0D=0A=0D=0ADomagoj Smol=E8i=E6=0D=0A From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 5 18:38:07 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 611CD106566B for ; Mon, 5 Mar 2012 18:38:07 +0000 (UTC) (envelope-from sem@freebsd.org) Received: from mail.ciam.ru (mail.ciam.ru [91.209.218.18]) by mx1.freebsd.org (Postfix) with ESMTP id 14F828FC19 for ; Mon, 5 Mar 2012 18:38:06 +0000 (UTC) Received: from root by mail.ciam.ru with drweb-scanned (Exim 4.x) id 1S4cP1-0004re-Rr for freebsd-hackers@freebsd.org; Mon, 05 Mar 2012 22:12:55 +0400 Received: from dhcp170-40-red.yandex.net ([95.108.170.40] helo=dhcp170-205-red.yandex.net) by mail.ciam.ru with esmtpa (Exim 4.x) id 1S4cP1-0004ra-Mg for freebsd-hackers@freebsd.org; Mon, 05 Mar 2012 22:12:55 +0400 Message-ID: <4F550227.2010006@FreeBSD.org> Date: Mon, 05 Mar 2012 22:12:55 +0400 From: Sergey Matveychuk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Maild-Checked: DrWEB for Exim X-Antivirus: Dr.Web (R) for Unix mail servers drweb plugin ver.6.0.2.0 X-Antivirus-Code: 0x100000 Subject: watching for a directory with kqueue X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2012 18:38:07 -0000 Hi. I've met a problem with the subj. Could you help? I'm watching for a directory: EV_SET(kq_change_list, fd, EVFILT_VNODE, EV_ADD | EV_ENABLE | EV_ONESHOT, NOTE_DELETE | NOTE_WRITE | NOTE_EXTEND | NOTE_ATTRIB, 0, 0); When the directory changed, I read its contens with opendir, like that: struct kq_event kq_event[1000]; ... while(1) { n = kevent(kq, kq_change_list, chlist_used, kq_event, 1000, NULL); for(i = 0; i < n; i++) { if(kq_event[i].fflags & NOTE_EXTEND || kq_event[i].fflags & NOTE_WRITE) { opendir(.....) It works when I create a few files (1-3), but when I create 10 files with touch(1) I see only 3-6 files with opendir. I've got only one event with kevent() (n=1). Looks like I should got a few events, but I did not. Could you give an advice how to get all created files? From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 5 19:25:50 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8710F1065670; Mon, 5 Mar 2012 19:25:50 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 5C39D8FC14; Mon, 5 Mar 2012 19:25:50 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id 11DA046B2D; Mon, 5 Mar 2012 14:25:50 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 5E9F1B924; Mon, 5 Mar 2012 14:25:49 -0500 (EST) From: John Baldwin To: rank1seeker@gmail.com Date: Mon, 5 Mar 2012 14:06:12 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p10; KDE/4.5.5; amd64; ; ) References: <20120302.151703.536.2@DOMY-PC> <201203051244.44681.jhb@freebsd.org> <20120305.181803.677.1@DOMY-PC> In-Reply-To: <20120305.181803.677.1@DOMY-PC> MIME-Version: 1.0 Content-Type: Text/Plain; charset="windows-1250" Content-Transfer-Encoding: 7bit Message-Id: <201203051406.12776.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Mon, 05 Mar 2012 14:25:49 -0500 (EST) Cc: Roman Divacky , hackers@freebsd.org, Andriy Gapon Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2012 19:25:50 -0000 On Monday, March 05, 2012 1:18:03 pm rank1seeker@gmail.com wrote: > ----- Original Message ----- > From: John Baldwin > To: rank1seeker@gmail.com > Cc: hackers@freebsd.org, "Roman Divacky" , "Andriy Gapon" > Date: Mon, 5 Mar 2012 12:44:44 -0500 > Subject: Re: BUG: 9.0 stage 2 boot (/boot/boot) > > > On Saturday, March 03, 2012 3:59:19 am rank1seeker@gmail.com wrote: > > > Using: MD5 (boot2_test.patch) = c2d6d2c9806df5915419987f200c05af > > > > > > Still fails to build. > > > > > > /usr/src/sys/boot/i386/boot2/boot2.c: In function 'main': > > > /usr/src/sys/boot/i386/boot2/boot2.c:282: error: expected ':' before ')' token > > > > My test build didn't actually build all of boot2. This should be fixed now. > > > > -- > > John Baldwin > > > Using: MD5 (boot2_test.patch) = b06e290859041cefc8ab38df37d06a36 > > Built and installed ... > Checking 2 times in a row ... > BINGO! It works! > > Excellent job John! > ;) > > So, what was an issue? The problem is that in your case when you used a custom loader string, kname was set to point to 'cmd', but 'cmd' is set to an empty string (to avoid re-parsing it) after the initial parse is done. This caused kname to point to an empty string. Even worse, if a user entered some unparseable text, with kname pointing at 'cmd', kname could effectively be overwritten with garbage. -- John Baldwin From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 5 18:03:55 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FFF41065674 for ; Mon, 5 Mar 2012 18:03:55 +0000 (UTC) (envelope-from sem@semmy.ru) Received: from sunner.semmy.ru (sunner.semmy.ru [IPv6:2a00:14d0:0:20::3]) by mx1.freebsd.org (Postfix) with ESMTP id 20EDC8FC0C for ; Mon, 5 Mar 2012 18:03:55 +0000 (UTC) Received: from dhcp170-40-red.yandex.net ([95.108.170.40]) by sunner.semmy.ru with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1S4cGI-0004Hv-9Y for freebsd-hackers@freebsd.org; Mon, 05 Mar 2012 22:03:54 +0400 Message-ID: <4F550009.7090600@semmy.ru> Date: Mon, 05 Mar 2012 22:03:53 +0400 From: Sergey Matveychuk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Mon, 05 Mar 2012 20:01:01 +0000 Subject: watching for a directory with kqueue X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2012 18:03:55 -0000 Hi. I've met a problem with the subj. Could you help? I'm watching for a directory: EV_SET(kq_change_list, fd, EVFILT_VNODE, EV_ADD | EV_ENABLE | EV_ONESHOT, NOTE_DELETE | NOTE_WRITE | NOTE_EXTEND | NOTE_ATTRIB, 0, 0); When the directory changed, I read its contens with opendir, like that: struct kq_event kq_event[1000]; ... while(1) { n = kevent(kq, kq_change_list, chlist_used, kq_event, 1000, NULL); for(i = 0; i < n; i++) { if(kq_event[i].fflags & NOTE_EXTEND || kq_event[i].fflags & NOTE_WRITE) { opendir(.....) It works when I create a few files (1-3), but when I create 10 files with touch(1) I see only 3-6 files with opendir. I've got only one event with kevent() (n=1). Looks like I should got a few events, but I did not. Could you give an advice how to get all created files? From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 5 18:45:11 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 60840106566B for ; Mon, 5 Mar 2012 18:45:11 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mail.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) by mx1.freebsd.org (Postfix) with ESMTP id 14E5D8FC18 for ; Mon, 5 Mar 2012 18:45:11 +0000 (UTC) Received: from mail.0x20.net (mail.0x20.net [217.69.76.211]) by mail.0x20.net (Postfix) with ESMTP id 68C656A61C0; Mon, 5 Mar 2012 19:45:09 +0100 (CET) X-Virus-Scanned: amavisd-new at mail.0x20.net Received: from mail.0x20.net ([217.69.76.211]) by mail.0x20.net (mail.0x20.net [217.69.76.211]) (amavisd-new, port 10024) with ESMTP id ewV_gfxBunOk; Mon, 5 Mar 2012 19:45:09 +0100 (CET) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id 26F436A6015; Mon, 5 Mar 2012 19:45:09 +0100 (CET) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.4/8.14.4) with ESMTP id q25Ij8Rt071872; Mon, 5 Mar 2012 19:45:08 +0100 (CET) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.4/8.14.4/Submit) id q25Ij7jn067106; Mon, 5 Mar 2012 19:45:07 +0100 (CET) (envelope-from lars) Date: Mon, 5 Mar 2012 19:45:07 +0100 From: Lars Engels To: Nate Dobbs Message-ID: <20120305184507.GL23354@e-new.0x20.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="bFUYW7mPOLJ+Jd2A" Content-Disposition: inline In-Reply-To: X-Editor: VIM - Vi IMproved 7.3 X-Operation-System: FreeBSD 8.2-RELEASE-p3 User-Agent: Mutt/1.5.21 (2010-09-15) X-Mailman-Approved-At: Mon, 05 Mar 2012 20:12:12 +0000 Cc: freebsd-hackers@freebsd.org, Phillip Spring Subject: Re: Never forget a special trick... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2012 18:45:11 -0000 --bFUYW7mPOLJ+Jd2A Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 04, 2012 at 03:49:35PM -0500, Nate Dobbs wrote: > On Sun, Mar 4, 2012 at 3:29 PM, Phillip Spring < > gatinhodosseussonhos@hotmail.com> wrote: >=20 > > > > Dear anonymous open-source enthusiasts friends, > > > > How to echo a string backwards into a terminal? > > For example (or something like this): > > > > # echo @_foo_$ > > oof > > > > Or it could be something else (that's because I forgot it): > > > > # echo $_bar_@ > > rab > > > > Someone told me how to do it but I can't remember this trick. > > I just remember the date it happened: Oct-13-2011 > > > > []'s > > Phillip. > > _______________________________________________ > > freebsd-hackers@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.o= rg" > > >=20 > I'm not entirely sure how to do this in any arbitrary shell - although you > could simply use the 'rev' command. >=20 > %echo HELLO! | rev > !OLLEH >=20 > Here is a link to the man page: >=20 > http://unixhelp.ed.ac.uk/CGI/man-cgi?rev http://man.freebsd.org/rev ;-) --bFUYW7mPOLJ+Jd2A Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk9VCbMACgkQKc512sD3afiUagCdEclxte4g7L6asb+LY64+lC+p ZbcAnRk7Qn1t3uy0S1D+7ctFZR7JodN5 =QAcf -----END PGP SIGNATURE----- --bFUYW7mPOLJ+Jd2A-- From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 5 21:09:57 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3D07106564A for ; Mon, 5 Mar 2012 21:09:57 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8DD3E8FC12 for ; Mon, 5 Mar 2012 21:09:57 +0000 (UTC) Received: by obbwc7 with SMTP id wc7so6857013obb.13 for ; Mon, 05 Mar 2012 13:09:57 -0800 (PST) Received-SPF: pass (google.com: domain of yanegomi@gmail.com designates 10.60.26.8 as permitted sender) client-ip=10.60.26.8; Authentication-Results: mr.google.com; spf=pass (google.com: domain of yanegomi@gmail.com designates 10.60.26.8 as permitted sender) smtp.mail=yanegomi@gmail.com; dkim=pass header.i=yanegomi@gmail.com Received: from mr.google.com ([10.60.26.8]) by 10.60.26.8 with SMTP id h8mr8716397oeg.15.1330981797252 (num_hops = 1); Mon, 05 Mar 2012 13:09:57 -0800 (PST) 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:content-transfer-encoding; bh=4tcBJTYanpuIOKulMg+IQY6cL0//twQiFt2QJYJt8Bs=; b=TLwXxufwHXOetq199PlaNyjYDSk4DCk7sR5z/gzSkP6Y07/Vc0ESD3UJ8Vkm5KFJ39 xaGAihruZtKFwEInGQwWZpUydgfW+vLfk6ZNfO8dBtnYWCXfQtPhvTkXOzfEAHkgJH9x ba55xjV6kzY5XLLqgdIWobFu2NWQJPoXh2FIE1wvf+hu9XhRU2glkywI5UczgH0dMBiJ MHFX+wJqlf6sJNr4wUOMNzydlnkzMVR8GGxiHjdyob4P5OJodpULU8oWM+zmouNnVpox P9T32Oa8YbR+PHHu5OHnaOPztkxYke0dT7qdLtkEhpsSd/c43y3S2ddB8NMnxjzmLQNE TGLg== MIME-Version: 1.0 Received: by 10.60.26.8 with SMTP id h8mr7560046oeg.15.1330981797164; Mon, 05 Mar 2012 13:09:57 -0800 (PST) Received: by 10.182.61.195 with HTTP; Mon, 5 Mar 2012 13:09:57 -0800 (PST) In-Reply-To: <20120305184507.GL23354@e-new.0x20.net> References: <20120305184507.GL23354@e-new.0x20.net> Date: Mon, 5 Mar 2012 13:09:57 -0800 Message-ID: From: Garrett Cooper To: Lars Engels Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Nate Dobbs , freebsd-hackers@freebsd.org, Phillip Spring Subject: Re: Never forget a special trick... X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2012 21:09:57 -0000 On Mon, Mar 5, 2012 at 10:45 AM, Lars Engels wrote: > On Sun, Mar 04, 2012 at 03:49:35PM -0500, Nate Dobbs wrote: >> On Sun, Mar 4, 2012 at 3:29 PM, Phillip Spring < >> gatinhodosseussonhos@hotmail.com> wrote: >> >> > >> > Dear anonymous open-source enthusiasts friends, >> > >> > How to echo a string backwards into a terminal? >> > For example (or something like this): >> > >> > # echo @_foo_$ >> > oof >> > >> > Or it could be something else (that's because I forgot it): >> > >> > # echo $_bar_@ >> > rab >> > >> > Someone told me how to do it but I can't remember this trick. >> > I just remember the date it happened: Oct-13-2011 >> > >> > []'s >> > Phillip. >> > =A0_______________________________________________ >> > freebsd-hackers@freebsd.org mailing list >> > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers >> > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.= org" >> > >> >> I'm not entirely sure how to do this in any arbitrary shell - although y= ou >> could simply use the 'rev' command. >> >> %echo HELLO! | rev >> !OLLEH >> >> Here is a link to the man page: >> >> http://unixhelp.ed.ac.uk/CGI/man-cgi?rev > > http://man.freebsd.org/rev =A0;-) Now that (the fact that I can get to the manpages by using the man subdomain) is a trick I can use :D... Thanks! -Garrett From owner-freebsd-hackers@FreeBSD.ORG Mon Mar 5 21:23:27 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D956106566C for ; Mon, 5 Mar 2012 21:23:27 +0000 (UTC) (envelope-from markiyan.kushnir@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9199F8FC1A for ; Mon, 5 Mar 2012 21:23:25 +0000 (UTC) Received: by eaaf13 with SMTP id f13so1654839eaa.13 for ; Mon, 05 Mar 2012 13:23:25 -0800 (PST) Received-SPF: pass (google.com: domain of markiyan.kushnir@gmail.com designates 10.14.95.12 as permitted sender) client-ip=10.14.95.12; Authentication-Results: mr.google.com; spf=pass (google.com: domain of markiyan.kushnir@gmail.com designates 10.14.95.12 as permitted sender) smtp.mail=markiyan.kushnir@gmail.com; dkim=pass header.i=markiyan.kushnir@gmail.com Received: from mr.google.com ([10.14.95.12]) by 10.14.95.12 with SMTP id o12mr11570661eef.80.1330982605282 (num_hops = 1); Mon, 05 Mar 2012 13:23:25 -0800 (PST) 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:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=ZcASUq2Vmb0XA8c5bPcPLmhH96eVZncgtLRPMpFEa6Y=; b=SgYfXJQ67gYpHs8FD9j0vPA0Mx9Aa5kbbttbE5NvKh1rszZAlQOrAY+B/8Ha0H+ImT s0ipVV1WLCQRazW2xgwDk8d/HkCZlznfMlUQpd7hFoS70P1SoMnvRW77etM6euS6lHqR LkfMPNbrcpk5qKXkm7dAprofgQ2CvejrVJ8XFuhg2fWaAQOgKTYv/bGl+Y0mOG/4BGsJ YL7XCK/5mmHDkjWD+PgmoXnpwassYQQDREyt2A/8rmSRTkQRwTtqlq/2pQYJOkyEdrHD zrOXmLIUo2lJW5SwqSmIahNh5AQ3mhpF/pVSGTsfq/Wt+7KWrHsymQur/gH3rslgrNz6 AsEw== Received: by 10.14.95.12 with SMTP id o12mr8738475eef.80.1330981065157; Mon, 05 Mar 2012 12:57:45 -0800 (PST) Received: from mkushnir.zapto.org (105-8-124-91.pool.ukrtel.net. [91.124.8.105]) by mx.google.com with ESMTPS id v51sm65584872eef.2.2012.03.05.12.57.43 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 05 Mar 2012 12:57:44 -0800 (PST) Message-ID: <4F5528BF.9030109@gmail.com> Date: Mon, 05 Mar 2012 22:57:35 +0200 From: Markiyan Kushnir User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120222 Thunderbird/10.0.2 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <4F550227.2010006@FreeBSD.org> In-Reply-To: <4F550227.2010006@FreeBSD.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: watching for a directory with kqueue X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Mar 2012 21:23:27 -0000 On 05.03.2012 20:12, Sergey Matveychuk wrote: > Hi. > > I've met a problem with the subj. Could you help? > > I'm watching for a directory: > EV_SET(kq_change_list, fd, EVFILT_VNODE, > EV_ADD | EV_ENABLE | EV_ONESHOT, > NOTE_DELETE | NOTE_WRITE | NOTE_EXTEND | NOTE_ATTRIB, > 0, 0); > > When the directory changed, I read its contens with opendir, like that: > struct kq_event kq_event[1000]; > ... > while(1) { > n = kevent(kq, kq_change_list, chlist_used, kq_event, 1000, NULL); > for(i = 0; i < n; i++) { > if(kq_event[i].fflags & NOTE_EXTEND || kq_event[i].fflags & NOTE_WRITE) { > opendir(.....) > > It works when I create a few files (1-3), but when I create 10 files > with touch(1) I see only 3-6 files with opendir. I've got only one event > with kevent() (n=1). Looks like I should got a few events, but I did > not. Could you give an advice how to get all created files? Try to put some delay (~10ms) after your call to kevent(). Markiyan. > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 00:44:58 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBDAE106564A for ; Tue, 6 Mar 2012 00:44:57 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id A32968FC12 for ; Tue, 6 Mar 2012 00:44:57 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa05 [127.0.0.1]) by ltcfislmsgpa05.fnfis.com (8.14.4/8.14.4) with SMTP id q260Qjb5002856; Mon, 5 Mar 2012 18:44:50 -0600 Received: from smtp.fisglobal.com ([10.132.206.17]) by ltcfislmsgpa05.fnfis.com with ESMTP id 13d76905c7-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 05 Mar 2012 18:44:50 -0600 Received: from dtwin (10.14.152.15) by smtp.fisglobal.com (10.132.206.17) with Microsoft SMTP Server (TLS) id 14.1.323.3; Mon, 5 Mar 2012 18:44:49 -0600 From: Devin Teske To: Date: Mon, 5 Mar 2012 16:44:53 -0800 Message-ID: <0b7101ccfb32$58d459f0$0a7d0dd0$@fisglobal.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: Acz7LtJEIFJHNAlrSkmGDao+VIBOLw== Content-Language: en-us X-Originating-IP: [10.14.152.15] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.6.7498, 1.0.260, 0.0.0000 definitions=2012-03-05_07:2012-03-06, 2012-03-05, 1970-01-01 signatures=0 Cc: Ron McDowell Subject: [PREVIEW] bsdconfig(8) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 00:44:58 -0000 Hiya fellow -hackers@ Many have complained that bsdinstall(8) does only a fraction of sysinstall(8). This complaint is generally understood to be in-relation to the "Configure" menu of sysinstall(8). Some here may already know that Ron McDowell and I have been hard at-work developing the replacement for sysinstall(8)'s "Configure" menu -- which we have named bsdconfig(8). bsdconfig(8), together with already-existing bsdinstall(8), should fill the gap(s) when sysinstall(8) goes-away in FreeBSD-10. bsdconfig(8) is being designed with the intention of being MFC'd to 9, so that sysinstall(8) and bsdconfig(8) can co-exist side-by-side while the bugs are worked out in RELENG_9. Later down the road, 10.0 would have only bsdinstall(8) and bsdconfig(8) (sysinstall(8) would no longer be provided). Thus, allowing a smooth transition away from sysinstall(8). With all that being said, without further ado, let me introduce the latest preview: http://druidbsd.sf.net/download/bsdconfig/ NOTE: As of this writing, latest version is "bsdconfig.120305.txz" obtainable from the above directory PRE-REQUISITES: You need an already-checked-out version of the FreeBSD source tree (preferably 9.0 or higher). INSTRUCTIONS: 1. cd /usr/src 2. fetch http://druidbsd.sf.net/download/bsdconfig/bsdconfig.120305.txz 3. tar zxf bsdconfig.120305.txz 4. cd bsdconfig 5. sudo make install HOW TO USE: bsdconfig -h bsdconfig NOTE: If sudo(8) is installed, no need to run as root (bsdconfig will handle this for you -- if/when root privileges are needed, you'll be prompted for your sudo(8) credentials). If you have an X11 display and have xauth(1) installed, try this in an X11 session: bsdconfig -X Some other things to try for fun: bsdconfig hostname # jump directly to hostname configuration bsdconfig users # jump directly to user management bsdconfig networking # jump directly to network management bsdconfig defaultrouter # jump directly to defaultrouter configuration bsdconfig nameservers # jump directly to DNS nameserver configuration bsdconfig docsinstall # jump directly to documentation installation bsdconfig timezone # jump directly to timezone configuration bsdconfig timezone -X # Configure the timezone using X11 GUI bsdconfig timezone -h # See timezone usage (for which there are many options) ERRATA: "Documentation Installation" is fully functional "Network Management" is fully functional "Time Zone" is fully functional and "Login/Group Management" is mostly functional (group add/edit/delete not done yet) Rest of the remaining modules are not functional yet. We continue to work very hard on this every day and look forward to any/all feedback, comments, suggestions, and snide remarks. -- Cheers, Devin _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 01:03:28 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C0B31106564A for ; Tue, 6 Mar 2012 01:03:28 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 856538FC1C for ; Tue, 6 Mar 2012 01:03:28 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa01 [127.0.0.1]) by ltcfislmsgpa01.fnfis.com (8.14.4/8.14.4) with SMTP id q260QWla021122; Mon, 5 Mar 2012 19:03:27 -0600 Received: from smtp.fisglobal.com ([10.132.206.15]) by ltcfislmsgpa01.fnfis.com with ESMTP id 13d6qg89f8-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 05 Mar 2012 19:03:27 -0600 Received: from dtwin (10.14.152.15) by smtp.fisglobal.com (10.132.206.15) with Microsoft SMTP Server (TLS) id 14.1.323.3; Mon, 5 Mar 2012 19:03:26 -0600 From: Devin Teske To: , References: <0b7101ccfb32$58d459f0$0a7d0dd0$@fisglobal.com> <4F55618B.6000905@fisglobal.com> In-Reply-To: <4F55618B.6000905@fisglobal.com> Date: Mon, 5 Mar 2012 17:03:29 -0800 Message-ID: <0b8401ccfb34$f2b26330$d8172990$@fisglobal.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQLS9piWUR7xucLc87xGisvlu1lPqAKrIZc2lDsjNBA= Content-Language: en-us X-Originating-IP: [10.14.152.15] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.6.7498, 1.0.260, 0.0.0000 definitions=2012-03-05_07:2012-03-06, 2012-03-05, 1970-01-01 signatures=0 Cc: 'Devin Teske' , rcm@fuzzwad.org Subject: RE: [PREVIEW] bsdconfig(8) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 01:03:28 -0000 > -----Original Message----- > From: Robison, Dave [mailto:david.robison@fisglobal.com] > Sent: Monday, March 05, 2012 5:00 PM > To: freebsd-hackers@freebsd.org > Cc: rcm@fuzzwad.org; Devin Teske > Subject: Re: [PREVIEW] bsdconfig(8) > > On 03/05/2012 16:44, Devin Teske wrote: > > > > > > We continue to work very hard on this every day and look forward to any/all > > feedback, comments, suggestions, and snide remarks. > > > When editing user info via X dialogue it doesn't prompt with a "save" > option like it does in ncurses. > > Woo hoo, first to complain! > Thanks DaveR! I'll get right on that. -- Devin _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 01:23:07 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D268106564A for ; Tue, 6 Mar 2012 01:23:07 +0000 (UTC) (envelope-from Dave.Robison@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id AC6D28FC0A for ; Tue, 6 Mar 2012 01:23:06 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa07 [127.0.0.1]) by ltcfislmsgpa07.fnfis.com (8.14.4/8.14.4) with SMTP id q260QmsH021328; Mon, 5 Mar 2012 18:59:59 -0600 Received: from smtp.fisglobal.com ([10.132.206.16]) by ltcfislmsgpa07.fnfis.com with ESMTP id 13d6mx89q9-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 05 Mar 2012 18:59:59 -0600 Received: from lefty.vicor.com (10.14.152.53) by smtp.fisglobal.com (10.132.206.16) with Microsoft SMTP Server (TLS) id 14.1.323.3; Mon, 5 Mar 2012 18:59:58 -0600 Message-ID: <4F55618B.6000905@fisglobal.com> Date: Mon, 5 Mar 2012 16:59:55 -0800 From: "Robison, Dave" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0) Gecko/20120209 Thunderbird/10.0 MIME-Version: 1.0 To: References: <0b7101ccfb32$58d459f0$0a7d0dd0$@fisglobal.com> In-Reply-To: <0b7101ccfb32$58d459f0$0a7d0dd0$@fisglobal.com> X-Originating-IP: [10.14.152.53] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.6.7498, 1.0.260, 0.0.0000 definitions=2012-03-05_07:2012-03-06, 2012-03-05, 1970-01-01 signatures=0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Tue, 06 Mar 2012 02:11:56 +0000 Cc: Devin Teske , rcm@fuzzwad.org Subject: Re: [PREVIEW] bsdconfig(8) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: david.robison@fisglobal.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 01:23:07 -0000 On 03/05/2012 16:44, Devin Teske wrote: > > We continue to work very hard on this every day and look forward to any/all > feedback, comments, suggestions, and snide remarks. When editing user info via X dialogue it doesn't prompt with a "save" option like it does in ncurses. Woo hoo, first to complain! -- Dave Robison Sales Solution Architect II FIS Banking Solutions 510/621-2089 (w) 530/518-5194 (c) 510/621-2020 (f) daver@vicor.com david.robison@fisglobal.com _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 02:24:42 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 480D6106566B for ; Tue, 6 Mar 2012 02:24:42 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id E903B8FC14 for ; Tue, 6 Mar 2012 02:24:41 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa02 [127.0.0.1]) by ltcfislmsgpa02.fnfis.com (8.14.4/8.14.4) with SMTP id q261P9RM005891; Mon, 5 Mar 2012 20:24:41 -0600 Received: from smtp.fisglobal.com ([10.132.206.16]) by ltcfislmsgpa02.fnfis.com with ESMTP id 13d7u1g95a-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 05 Mar 2012 20:24:41 -0600 Received: from [10.0.0.101] (10.14.152.61) by smtp.fisglobal.com (10.132.206.16) with Microsoft SMTP Server (TLS) id 14.1.323.3; Mon, 5 Mar 2012 20:24:40 -0600 MIME-Version: 1.0 (Apple Message framework v1257) From: Devin Teske In-Reply-To: <20120306022026.GA29187@volt.iem.pw.edu.pl> Date: Mon, 5 Mar 2012 18:24:38 -0800 Content-Transfer-Encoding: quoted-printable Message-ID: <5168AAFB-19D5-459D-8F3D-D884E5D18249@fisglobal.com> References: <0b7101ccfb32$58d459f0$0a7d0dd0$@fisglobal.com> <20120306022026.GA29187@volt.iem.pw.edu.pl> To: Andrzej Tobola X-Mailer: Apple Mail (2.1257) X-Originating-IP: [10.14.152.61] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.6.7498, 1.0.260, 0.0.0000 definitions=2012-03-05_07:2012-03-06, 2012-03-05, 1970-01-01 signatures=0 Content-Type: text/plain; charset="windows-1252" Cc: FreeBSD Hackers Subject: Re: [PREVIEW] bsdconfig(8) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 02:24:42 -0000 On Mar 5, 2012, at 6:20 PM, Andrzej Tobola wrote: > On Mon, Mar 05, 2012 at 04:44:53PM -0800, Devin Teske wrote: >>=20 >> INSTRUCTIONS: >>=20 >> 1. cd /usr/src >=20 > cd /usr/src/usr.sbin ? >=20 Sorry=85 /usr/src/usr.bin You don't need to be root to run it, so it's going into "/usr/bin", not "sb= in". Thanks for catching that! --=20 Devin >> 2. fetch http://druidbsd.sf.net/download/bsdconfig/bsdconfig.120305.txz >> 3. tar zxf bsdconfig.120305.txz >> 4. cd bsdconfig >> 5. sudo make install >=20 > -a _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 05:11:07 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4617106566C for ; Tue, 6 Mar 2012 05:11:07 +0000 (UTC) (envelope-from bfalk_bsd@brandonfa.lk) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 6F0C38FC12 for ; Tue, 6 Mar 2012 05:11:07 +0000 (UTC) Received: by vbmv11 with SMTP id v11so5151794vbm.13 for ; Mon, 05 Mar 2012 21:11:06 -0800 (PST) Received-SPF: pass (google.com: domain of bfalk_bsd@brandonfa.lk designates 10.52.68.139 as permitted sender) client-ip=10.52.68.139; Authentication-Results: mr.google.com; spf=pass (google.com: domain of bfalk_bsd@brandonfa.lk designates 10.52.68.139 as permitted sender) smtp.mail=bfalk_bsd@brandonfa.lk; dkim=pass header.i=bfalk_bsd@brandonfa.lk Received: from mr.google.com ([10.52.68.139]) by 10.52.68.139 with SMTP id w11mr39670976vdt.110.1331010666694 (num_hops = 1); Mon, 05 Mar 2012 21:11:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brandonfa.lk; s=google; h=mime-version:x-originating-ip:date:message-id:subject:from:to :content-type; bh=X5pcTowEK2MwkpgIgX1qqAFFtGh+IRaduAa005fomu8=; b=oKlcpd0j+a/53/uw5O+znLzRKmu3D5EnLYfsdq04BcaMxobrv4XQcBuOVmegX2FmJB ijB1u/og4KDMmrk6Yp35igLqXNBKW7Alyu63K5MHXZ6KORT/T4+sja8+V8X0hUzfH10a mR7MAw/9qb5CmISw5naj/m5+GatptV4MvKXw8= MIME-Version: 1.0 Received: by 10.52.68.139 with SMTP id w11mr33948634vdt.110.1331008797808; Mon, 05 Mar 2012 20:39:57 -0800 (PST) Received: by 10.220.180.133 with HTTP; Mon, 5 Mar 2012 20:39:57 -0800 (PST) X-Originating-IP: [96.255.176.77] Date: Mon, 5 Mar 2012 23:39:57 -0500 Message-ID: From: Brandon Falk To: freebsd-hackers@freebsd.org X-Gm-Message-State: ALoCoQm8lncWFe0B16YcaoU2DuNoM8fyquxRpi/jVcW32Z0RBey7m8iltqP1vrOyjgyHcXp7r5qY Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Graphical Terminal Environment X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 05:11:07 -0000 I've been thinking for a while about possibly making an extremely lightweight environment that supports full monitor resolution, custom fonts, and terminals... that's about it. Essentially, an x11 that only supports tiling xterms all over the place. I do everything through terminals, and I think it'd be a fun project to make something that's only purpose is to make it so you can use your entire screen to its fullest (larger resolutions, smaller fonts, etc). Just a graphical tty. Not sure how stupid this idea sounds (or if it even is already done). I've seen graphical terminals that use 1024x768 VESA graphics, but I've never seen one that can tile multiple terminals over say, 4 monitors at 1080p. I'm completely oblivious to how X11 actually gets data to the screen (besides drivers that depend on X11 itself... and this is not stripped down X11, it's a 'replacement' for people who don't need a graphical environment, but would appreciate a much more expandable terminal environment), and I'd love to get some advice or maybe even work with a team if someone thinks this idea is good. Seems like it'd be a driver specific thing at the very core of the issue. Do drivers tie in with X11, or do they do what I think they should... draw graphics where commanded to (via some universal OpenGL style API, not OpenGL->Xorg->Driver). Perhaps that's how they are... I'm rambling. Tell me if you need any clarifications, as I'm lacking in sleep and tomorrow when I read this it will probably not make any sense. -Brandon From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 05:31:42 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BF9021065674 for ; Tue, 6 Mar 2012 05:31:42 +0000 (UTC) (envelope-from sendtomatt@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 859F58FC0C for ; Tue, 6 Mar 2012 05:31:42 +0000 (UTC) Received: by pbcwz17 with SMTP id wz17so3582896pbc.13 for ; Mon, 05 Mar 2012 21:31:42 -0800 (PST) Received-SPF: pass (google.com: domain of sendtomatt@gmail.com designates 10.68.216.4 as permitted sender) client-ip=10.68.216.4; Authentication-Results: mr.google.com; spf=pass (google.com: domain of sendtomatt@gmail.com designates 10.68.216.4 as permitted sender) smtp.mail=sendtomatt@gmail.com; dkim=pass header.i=sendtomatt@gmail.com Received: from mr.google.com ([10.68.216.4]) by 10.68.216.4 with SMTP id om4mr57627767pbc.19.1331011902381 (num_hops = 1); Mon, 05 Mar 2012 21:31:42 -0800 (PST) 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:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; bh=My3hF6dnzRvwApEeglHpFnDG/BzyRaWLYkltfmRzX+4=; b=1Etpx+aPh9EZAztiUYqriAdJ+H7h2u7nsxEnpNHRBtz57B7ce7FkffvuU93yzpVZ59 rRUM40pBmxfsqs+KxMXQEgGrMM8QFP0EjoPXC9/TcHBipmqkQzOW0qf5ethuCCiM25Xy 0rvBvpBP9igSwHAGz+QW5VEFMT4O3JhnQIwXluqgFYHYYbZJZx6Ik0NXro22PZoCMVWT MnumcqDDtW6Iveggq5DMcBQPEatc5W4QospSie/CV/Mx9ncXSQeTMW+TVpgEL/GyhV89 OJhE6EI0vAFqInHFiLHYCgHqM7gR1ZqjiWapb00xbrsngFhgxtchXqBmUJfHKznw0JVP jg4A== Received: by 10.68.216.4 with SMTP id om4mr49276579pbc.19.1331011902334; Mon, 05 Mar 2012 21:31:42 -0800 (PST) Received: from bakeneko.local (70-36-223-154.dsl.dynamic.sonic.net. [70.36.223.154]) by mx.google.com with ESMTPS id 3sm15296712pbx.66.2012.03.05.21.31.40 (version=SSLv3 cipher=OTHER); Mon, 05 Mar 2012 21:31:41 -0800 (PST) Message-ID: <4F55A0EA.8000300@gmail.com> Date: Mon, 05 Mar 2012 21:30:18 -0800 From: matt User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120301 Thunderbird/10.0.1 MIME-Version: 1.0 To: Brandon Falk , freebsd-hackers@freebsd.org References: In-Reply-To: X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: Graphical Terminal Environment X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 05:31:42 -0000 On 03/05/12 20:39, Brandon Falk wrote: > I've been thinking for a while about possibly making an extremely > lightweight environment that supports full monitor resolution, custom > fonts, and terminals... that's about it. > > Essentially, an x11 that only supports tiling xterms all over the place= =2E I > do everything through terminals, and I think it'd be a fun project to m= ake > something that's only purpose is to make it so you can use your entire > screen to its fullest (larger resolutions, smaller fonts, etc). Just a > graphical tty. > > Not sure how stupid this idea sounds (or if it even is already done). I= 've > seen graphical terminals that use 1024x768 VESA graphics, but I've neve= r > seen one that can tile multiple terminals over say, 4 monitors at 1080p= =2E > I'm completely oblivious to how X11 actually gets data to the screen > (besides drivers that depend on X11 itself... and this is not stripped = down > X11, it's a 'replacement' for people who don't need a graphical > environment, but would appreciate a much more expandable terminal > environment), and I'd love to get some advice or maybe even work with a= > team if someone thinks this idea is good. Seems like it'd be a driver > specific thing at the very core of the issue. Do drivers tie in with X1= 1, > or do they do what I think they should... draw graphics where commanded= to > (via some universal OpenGL style API, not OpenGL->Xorg->Driver). Perhap= s > that's how they are... I'm rambling. > > Tell me if you need any clarifications, as I'm lacking in sleep and > tomorrow when I read this it will probably not make any sense. > > -Brandon > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.o= rg" Ratpoison is in ports and I think it does what you're asking...aka a tiling wm aimed at keyboard control. Just use a very minimal xinitrc? Matt From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 05:35:54 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99FE0106564A for ; Tue, 6 Mar 2012 05:35:54 +0000 (UTC) (envelope-from bfalk_bsd@brandonfa.lk) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 492AF8FC0A for ; Tue, 6 Mar 2012 05:35:54 +0000 (UTC) Received: by vbmv11 with SMTP id v11so5165606vbm.13 for ; Mon, 05 Mar 2012 21:35:53 -0800 (PST) Received-SPF: pass (google.com: domain of bfalk_bsd@brandonfa.lk designates 10.220.178.71 as permitted sender) client-ip=10.220.178.71; Authentication-Results: mr.google.com; spf=pass (google.com: domain of bfalk_bsd@brandonfa.lk designates 10.220.178.71 as permitted sender) smtp.mail=bfalk_bsd@brandonfa.lk; dkim=pass header.i=bfalk_bsd@brandonfa.lk Received: from mr.google.com ([10.220.178.71]) by 10.220.178.71 with SMTP id bl7mr793807vcb.13.1331012153711 (num_hops = 1); Mon, 05 Mar 2012 21:35:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brandonfa.lk; s=google; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=mApadCS1IA7BkYwA+tnj0IwoTQ6efOdKCqm3+am+vlE=; b=nCi0fovu9XGF352rnU0Jjo4aUjrJjK2s+7fS8pv6skP4XHb4SJu4jLyJJ17zl1UJOm Pp5arTrB24MuOqVOMQdbY6qz7V7oLAm0y9o5AK86V1L477Ze7jTA6cZn/2qt/g9O3gc6 SwcwjDVa0r/AS/CXcmkDkJy+l5/bXURB17Sk8= MIME-Version: 1.0 Received: by 10.220.178.71 with SMTP id bl7mr649134vcb.13.1331012153369; Mon, 05 Mar 2012 21:35:53 -0800 (PST) Received: by 10.220.180.133 with HTTP; Mon, 5 Mar 2012 21:35:53 -0800 (PST) X-Originating-IP: [96.255.176.77] In-Reply-To: <4F55A0EA.8000300@gmail.com> References: <4F55A0EA.8000300@gmail.com> Date: Tue, 6 Mar 2012 00:35:53 -0500 Message-ID: From: Brandon Falk To: freebsd-hackers@freebsd.org X-Gm-Message-State: ALoCoQlfwSEb8bVNSaT5uqtpubMHg3q2UXgy9SOVBnnkr/pNKhX/1TtxBHZxkrmk72PkEcPeP2Rj Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Graphical Terminal Environment X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 05:35:54 -0000 I'm actually talking about perhaps getting rid of X11 totally. It's overkill for what I need. I use dwm right now and I basically want to create a dwm that doesn't have the massive X11 backend. X11 is well written, but it's getting outdated and quite large, especially if you only need terminals and no graphics (and really, I just want to learn, I understand that I'm 'reinventing the wheel'). On Tue, Mar 6, 2012 at 12:30 AM, matt wrote: > On 03/05/12 20:39, Brandon Falk wrote: > > I've been thinking for a while about possibly making an extremely > > lightweight environment that supports full monitor resolution, custom > > fonts, and terminals... that's about it. > > > > Essentially, an x11 that only supports tiling xterms all over the place. > I > > do everything through terminals, and I think it'd be a fun project to > make > > something that's only purpose is to make it so you can use your entire > > screen to its fullest (larger resolutions, smaller fonts, etc). Just a > > graphical tty. > > > > Not sure how stupid this idea sounds (or if it even is already done). > I've > > seen graphical terminals that use 1024x768 VESA graphics, but I've never > > seen one that can tile multiple terminals over say, 4 monitors at 1080p. > > I'm completely oblivious to how X11 actually gets data to the screen > > (besides drivers that depend on X11 itself... and this is not stripped > down > > X11, it's a 'replacement' for people who don't need a graphical > > environment, but would appreciate a much more expandable terminal > > environment), and I'd love to get some advice or maybe even work with a > > team if someone thinks this idea is good. Seems like it'd be a driver > > specific thing at the very core of the issue. Do drivers tie in with X11, > > or do they do what I think they should... draw graphics where commanded > to > > (via some universal OpenGL style API, not OpenGL->Xorg->Driver). Perhaps > > that's how they are... I'm rambling. > > > > Tell me if you need any clarifications, as I'm lacking in sleep and > > tomorrow when I read this it will probably not make any sense. > > > > -Brandon > > _______________________________________________ > > freebsd-hackers@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > To unsubscribe, send any mail to " > freebsd-hackers-unsubscribe@freebsd.org" > > Ratpoison is in ports and I think it does what you're asking...aka a > tiling wm aimed at keyboard control. > Just use a very minimal xinitrc? > > Matt > > From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 05:38:19 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DCD34106564A for ; Tue, 6 Mar 2012 05:38:19 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5B5238FC20 for ; Tue, 6 Mar 2012 05:38:19 +0000 (UTC) Received: by wibhn6 with SMTP id hn6so3159384wib.13 for ; Mon, 05 Mar 2012 21:38:18 -0800 (PST) Received-SPF: pass (google.com: domain of amvandemore@gmail.com designates 10.216.137.97 as permitted sender) client-ip=10.216.137.97; Authentication-Results: mr.google.com; spf=pass (google.com: domain of amvandemore@gmail.com designates 10.216.137.97 as permitted sender) smtp.mail=amvandemore@gmail.com; dkim=pass header.i=amvandemore@gmail.com Received: from mr.google.com ([10.216.137.97]) by 10.216.137.97 with SMTP id x75mr7614759wei.25.1331012298527 (num_hops = 1); Mon, 05 Mar 2012 21:38:18 -0800 (PST) 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=AOupJmKeoxmmd82tP51Z7H2HEEN/Ov5IwOEzSI/K14o=; b=ma/WmHQ8PB01cWPdNZfzHrjMmsjKF0D/ud4aLXFEpt19W7ym9NGz8p81/T0QnBVlXZ 36LGa7kNkt78SN8qXokCyzLgnlSQeLYSgJKde7LVu5LZ3bi7fpt6NJ4P22BFAZLH6k3Y jOnLPnN0C22g2pO7vE9FnTZlN5z6euMzxxZpJTTOvupVzk3ERB7BTcfczQQA/tcy4NbZ nCI29gtZeqSLM+gRVaE5s/QPFyiT4PRii9WhS93T0LCluKVE4zmjspPIlsWYWgZjY6sE y1663laYZ+Xx413f0wgChcjyJtd/i0qoj4zCHcmAxYIn4UKP8pmFY769d5a5BkhhLz/4 F+lg== MIME-Version: 1.0 Received: by 10.216.137.97 with SMTP id x75mr6112245wei.25.1331012298463; Mon, 05 Mar 2012 21:38:18 -0800 (PST) Received: by 10.223.93.138 with HTTP; Mon, 5 Mar 2012 21:38:18 -0800 (PST) In-Reply-To: References: <4F55A0EA.8000300@gmail.com> Date: Mon, 5 Mar 2012 23:38:18 -0600 Message-ID: From: Adam Vande More To: Brandon Falk Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org Subject: Re: Graphical Terminal Environment X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 05:38:19 -0000 On Mon, Mar 5, 2012 at 11:35 PM, Brandon Falk wrote: > I'm actually talking about perhaps getting rid of X11 totally. It's > overkill for what I need. I use dwm right now and I basically want to > create a dwm that doesn't have the massive X11 backend. X11 is well > written, but it's getting outdated and quite large, especially if you only > need terminals and no graphics (and really, I just want to learn, I > understand that I'm 'reinventing the wheel'). > Perhaps I'm misunderstanding, but doesn't vidcontrol+ tmux already do this? -- Adam Vande More From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 05:47:42 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0880F106566B for ; Tue, 6 Mar 2012 05:47:42 +0000 (UTC) (envelope-from fmdlc.unix@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id AC93C8FC23 for ; Tue, 6 Mar 2012 05:47:41 +0000 (UTC) Received: by ghrr20 with SMTP id r20so2333359ghr.13 for ; Mon, 05 Mar 2012 21:47:41 -0800 (PST) Received-SPF: pass (google.com: domain of fmdlc.unix@gmail.com designates 10.236.116.73 as permitted sender) client-ip=10.236.116.73; Authentication-Results: mr.google.com; spf=pass (google.com: domain of fmdlc.unix@gmail.com designates 10.236.116.73 as permitted sender) smtp.mail=fmdlc.unix@gmail.com; dkim=pass header.i=fmdlc.unix@gmail.com Received: from mr.google.com ([10.236.116.73]) by 10.236.116.73 with SMTP id f49mr30320834yhh.97.1331012861132 (num_hops = 1); Mon, 05 Mar 2012 21:47:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:reply-to:organization:user-agent:mime-version :to:subject:x-enigmail-version:content-type :content-transfer-encoding; bh=3ZHrMimTKaF9gNwLCfh/YgN75FpOxUGULrcwX+NSblo=; b=W+QhVvdraWnw/Vn0lqHHFP/5/JxTOF62YloFOS5W+D0Piep6Ww3DVAOUR4dPDqWxoL X3bT7wIFb8iMGDjN7fz3vDbvSvKAdhFFc+agRB+44gBbCkAeg+9mmwdRm8czDM4eaRcA HH24+UYA3z0VNkR2LgoS/Seq7NgRFtfJNQzjvuVAJI8fHLYYFur8epjyP4PIBHFyUDTz NVdXnSgGRp2OU3mFXbBHVIQZM+8RhuzQY4ZEMpxXtdSjomgUynCPBkjLibNoXhfzh4ap a63ilk9hJyqQ6otBP5ao+a8JEyRbZ57HWqAFbYfhQ2gfvsKNkML7OtrWOuU6cgJVEHmQ uFnw== Received: by 10.236.116.73 with SMTP id f49mr23971917yhh.97.1331012861079; Mon, 05 Mar 2012 21:47:41 -0800 (PST) Received: from [192.168.0.123] ([190.55.104.8]) by mx.google.com with ESMTPS id w44sm46304131yhk.17.2012.03.05.21.47.40 (version=SSLv3 cipher=OTHER); Mon, 05 Mar 2012 21:47:40 -0800 (PST) Message-ID: <4F55A4FA.10404@gmail.com> Date: Tue, 06 Mar 2012 02:47:38 -0300 From: "Facundo M. de la Cruz" Organization: Code4Life User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Kernel Panic: Page fault in nat_new function (ipnat). X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: fmdlc@code4life.com.ar List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 05:47:42 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi guys, At my work we has a network firewall with FreeBSD 8.2-RELEASE 64 bits on a generic box running like a network gateway (making NAT between inbound and outbound connections). This firewall has four PCI ethernet network cards: em0, rl0, rl1, and rl2. The interface *em0* is configured for the WAN connection, and here is where we're using *ipnat*. We has some map and bimap rules at /etc/ipnat.rules file. Repeatedly, the box crashs and the OS is reboteed writting a coredump in /var/crash directory. Checking the coredump file, I can see that the crash is produced by the *fr_checknatin()* function (at /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_nat.c), in the em0 interface, that then call to a trap (number 12) which becomes fatal and then that produces a kernel panic. Looking in the source code of ip_nat.c i can see the following (I was researching about that :-P) The fr_checknatin() function has two arguments: * fin(I) -> Pointer to the packet information. * passp(I) -> Pointer to the filtering result flag. And the nat_new() function has five arguments: * fin(I) -> Pointer to the packet information. * np(I) -> Pointer to the map rule. * natsave(I) -> Pointer to where to store the NAT struct pointer- * flags(I) -> Flags describing the current packet. * direction(I) -> Direction of the packet (IN/OUT). I understand that this issue is generated by the nat_new function, that create a new data structure for the NAT mappings without checks, and the error is produced when the entry is duplicated. The backtrace generated by the kernel crash is the following: Fatal trap 12: page fault while in kernel mode cpuid = 2; apic id = 04 fault virtual address = 0x4 fault code = supervisor read data, page not present instruction pointer = 0x20:0xffffffff80e25e5c stack pointer = 0x28:0xffffff800010d630 frame pointer = 0x28:0xffffff800010d730 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 0 (em0 taskq) trap number = 12 panic: page fault cpuid = 2 KDB: stack backtrace: #0 0xffffffff805f4e0e at kdb_backtrace+0x5e #1 0xffffffff805c2d07 at panic+0x187 #2 0xffffffff808ac600 at trap_fatal+0x290 #3 0xffffffff808ac9df at trap_pfault+0x28f #4 0xffffffff808acebf at trap+0x3df #5 0xffffffff80894fb4 at calltrap+0x8 #6 0xffffffff80e295d2 at fr_checknatin+0x382 #7 0xffffffff80e432b3 at fr_check+0x793 #8 0xffffffff8067e35c at pfil_run_hooks+0x9c #9 0xffffffff806d2159 at ip_input+0x279 #10 0xffffffff8067d76e at netisr_dispatch_src+0x7e #11 0xffffffff80673b3d at ether_demux+0x14d #12 0xffffffff80673f2d at ether_input+0x17d #13 0xffffffff8032e50a at em_rxeof+0x1ca #14 0xffffffff8032e928 at em_handle_que+0x48 #15 0xffffffff805ffeb5 at taskqueue_run_locked+0x85 #16 0xffffffff8060004e at taskqueue_thread_loop+0x4e #17 0xffffffff805994f8 at fork_exit+0x118 My idea is make the minimal changes in the ipnat syntax and not to migrate to PF, i only need to stop theses reboots, do you know any way to fix it?. Thanks! Regards. - -- Facundo M. de la Cruz (tty0) IT Consultant & Security Researcher RHCSA/RHCE (Red Hat Certified Engineer) GPG fingerprint: DF2F 514A 5167 00F5 C753 BF3B D797 C8E1 5726 0789 "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rich Cook -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBAgAGBQJPVaT6AAoJENeXyOFXJgeJjDMP/3dRke43zDT5PFEodLtLIwjN yvhVLUs3tg0FAIo9sxWH+7k/z3CxaW84jTWJ7dcqYowoS34iD58+T8qVXBl0NJ/y FcGiXDYFJDxm6F3qSkC9VLa9bM+SWI1u7Fhp4Oj39tdC30W7WpDwoctwR/Q/ojJm vxq7GP8CRVqIqgbHnWOgS+0QDQAyQcb6mm8GDa1Nxs49owH+EAYelhLn9S5dbBJT 1pOoftxs2Q6LixNHHZkBDRQJxoGHtPQI+lkZtFm90ODgyiGY0jmV5NmZHaXfoMUj 5s/lg+ePKemnEPL0rhxyquyqG3BBrgsCmeAGBhP1C6Z2nK4W8N+ZAVD4pX54ePbN dEZJiLL4EvMfY06YdXepVHIPEzmbeyxo6P8KFYFD/KBwIcxUoCxTHuBzcVZ4OIZH +Jk2HhL8rNn9LN1QeQiuw13/N6YUAP8sRfs7p/EZPRH4nX8Ng+F5CbLRUFkcOjwP nJY7na8tZ8U2HkAKohs0gmryOHaVS6pNxtmSKRWNC0wZtBG3pWH6ANUy+FG7c2FO E+s9C2vKT7FGVO1JE1aCuVJMs0CMXhktcxL8cPVvh6xWAdauoSa3+YO3YqevOi6T aDpDByvfur8uVVok7jS7Vh9VpFG12ZOitv439X4tShDxxNsQLQz6jvM40MJz995U 9+eaBCK4iUuRsMfJbNOl =BBkH -----END PGP SIGNATURE----- From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 05:48:48 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8064A106568D for ; Tue, 6 Mar 2012 05:48:48 +0000 (UTC) (envelope-from bfalk_bsd@brandonfa.lk) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2616C8FC2A for ; Tue, 6 Mar 2012 05:48:47 +0000 (UTC) Received: by vcmm1 with SMTP id m1so3488114vcm.13 for ; Mon, 05 Mar 2012 21:48:47 -0800 (PST) Received-SPF: pass (google.com: domain of bfalk_bsd@brandonfa.lk designates 10.220.152.76 as permitted sender) client-ip=10.220.152.76; Authentication-Results: mr.google.com; spf=pass (google.com: domain of bfalk_bsd@brandonfa.lk designates 10.220.152.76 as permitted sender) smtp.mail=bfalk_bsd@brandonfa.lk; dkim=pass header.i=bfalk_bsd@brandonfa.lk Received: from mr.google.com ([10.220.152.76]) by 10.220.152.76 with SMTP id f12mr826518vcw.30.1331012927419 (num_hops = 1); Mon, 05 Mar 2012 21:48:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brandonfa.lk; s=google; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=PPD9oaWaT2VFm+JcBNPUHjX0YNxZNjhMJ1TufXGexA8=; b=A0WXkbc1/vt5IKm9CeCocSW8MjnQLG0+1xmlRApHxExafsolZep8MIk9zlpEKVt3vx V6Dh1yV/gQXzN0rxjFw+yBKYZaieX4Edy2Mu2Q+KmS0b9LhbJdFf04LgvqT8Gw1yE4yb tMInqcurGvlrx8Plwhr48PqwPYJl0PV2eeeMw= MIME-Version: 1.0 Received: by 10.220.152.76 with SMTP id f12mr698954vcw.30.1331012927229; Mon, 05 Mar 2012 21:48:47 -0800 (PST) Received: by 10.220.180.133 with HTTP; Mon, 5 Mar 2012 21:48:47 -0800 (PST) X-Originating-IP: [96.255.176.77] Received: by 10.220.180.133 with HTTP; Mon, 5 Mar 2012 21:48:47 -0800 (PST) In-Reply-To: References: <4F55A0EA.8000300@gmail.com> Date: Tue, 6 Mar 2012 00:48:47 -0500 Message-ID: From: Brandon Falk To: Adam Vande More X-Gm-Message-State: ALoCoQkBI3qpjR4yi4ZlVTr4/dGKYnkFKnS5MeaKP9ozWeIa2QNB/vlzqqTC1FH6f+MHVXJxefmx Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org Subject: Re: Graphical Terminal Environment X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 05:48:48 -0000 I havent tried tmux yet, but on my system im only able to get 80x40 with vidcontrol on one monitor. But with xterm in xorg i can get 319x89 per monitor. Until i get about half of that, i wont be convinced to use something existing. Anyways, I'm off to sleep. Night, Brandon From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 06:00:30 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1C489106568C for ; Tue, 6 Mar 2012 06:00:30 +0000 (UTC) (envelope-from fmdlc.unix@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id C0E0C8FC14 for ; Tue, 6 Mar 2012 06:00:29 +0000 (UTC) Received: by ghrr20 with SMTP id r20so2335397ghr.13 for ; Mon, 05 Mar 2012 22:00:25 -0800 (PST) Received-SPF: pass (google.com: domain of fmdlc.unix@gmail.com designates 10.236.76.133 as permitted sender) client-ip=10.236.76.133; Authentication-Results: mr.google.com; spf=pass (google.com: domain of fmdlc.unix@gmail.com designates 10.236.76.133 as permitted sender) smtp.mail=fmdlc.unix@gmail.com; dkim=pass header.i=fmdlc.unix@gmail.com Received: from mr.google.com ([10.236.76.133]) by 10.236.76.133 with SMTP id b5mr31461081yhe.0.1331013625487 (num_hops = 1); Mon, 05 Mar 2012 22:00:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:reply-to:organization:user-agent:mime-version :to:subject:x-enigmail-version:content-type :content-transfer-encoding; bh=1mi7MkSqw6ArDc+ZI3zjBPJgdQ9Bz0wl3eQeqzI++d0=; b=JlEt4Ph7BIAYjk7hlXQWWFTGW1b7KZr677psyWQTWviZkd/z8AtPbGDVm62cNGzryI lfFda1m3yfNpwimlROmRjjwMpK5gHQGkrJHysSoJwhJiXw3Gxy0o9mdp4G3W6oNLvKtt h+t61k6O+lvV8CPMG40zlB8QzDicm/eG4AZoY56zr75RNyfJunD1a3NFASlgWvVy9hnh uXnTBDHopvY5u0k86KfGZ4zGVp9yEZr43nY53Lo83ggPo67JDreJwk2O7Uz0a9GcQphW sRqdF02ZzQpmRFvXuYmx1eh93g0cUBVPfM5jszTtIxsI7iy0Ym0NsP3+SQ5SbFW16y0c htLA== Received: by 10.236.76.133 with SMTP id b5mr24734036yhe.0.1331012212608; Mon, 05 Mar 2012 21:36:52 -0800 (PST) Received: from [192.168.0.123] ([190.55.104.8]) by mx.google.com with ESMTPS id l9sm28615810anm.15.2012.03.05.21.36.51 (version=SSLv3 cipher=OTHER); Mon, 05 Mar 2012 21:36:52 -0800 (PST) Message-ID: <4F55A271.7030902@gmail.com> Date: Tue, 06 Mar 2012 02:36:49 -0300 From: "Facundo M. de la Cruz" Organization: Code4Life User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org, Fer Gleiser X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Subject: Kernel Panic: Page fault in nat_new function (ipnat) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: fmdlc@code4life.com.ar List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 06:00:30 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi guys, At my work we has a network firewall with FreeBSD 8.2-RELEASE 64 bits on a generic box running like a network gateway (making NAT between inbound and outbound connections). This firewall has four PCI ethernet network cards: em0, rl0, rl1, and rl2. The interface *em0* is configured for the WAN connection, and here is where we're using *ipnat*. We has some map and bimap rules at /etc/ipnat.rules file. Repeatedly, the box crashs and the OS is reboteed writting a coredump in /var/crash directory. Checking the coredump file, I can see that the crash is produced by the *fr_checknatin()* function (at /usr/src/sys/modules/ipfilter/../../contrib/ipfilter/netinet/ip_nat.c), in the em0 interface, that then call to a trap (number 12) which becomes fatal and then that produces a kernel panic. Looking in the source code of ip_nat.c i can see the following (I was researching about that :-P) The fr_checknatin() function has two arguments: * fin(I) -> Pointer to the packet information. * passp(I) -> Pointer to the filtering result flag. And the nat_new() function has five arguments: * fin(I) -> Pointer to the packet information. * np(I) -> Pointer to the map rule. * natsave(I) -> Pointer to where to store the NAT struct pointer- * flags(I) -> Flags describing the current packet. * direction(I) -> Direction of the packet (IN/OUT). I understand that this issue is generated by the nat_new function, that create a new data structure for the NAT mappings without checks, and the error is produced when the entry is duplicated. The backtrace generated by the kernel crash is the following: Fatal trap 12: page fault while in kernel mode cpuid = 2; apic id = 04 fault virtual address = 0x4 fault code = supervisor read data, page not present instruction pointer = 0x20:0xffffffff80e25e5c stack pointer = 0x28:0xffffff800010d630 frame pointer = 0x28:0xffffff800010d730 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 0 (em0 taskq) trap number = 12 panic: page fault cpuid = 2 KDB: stack backtrace: #0 0xffffffff805f4e0e at kdb_backtrace+0x5e #1 0xffffffff805c2d07 at panic+0x187 #2 0xffffffff808ac600 at trap_fatal+0x290 #3 0xffffffff808ac9df at trap_pfault+0x28f #4 0xffffffff808acebf at trap+0x3df #5 0xffffffff80894fb4 at calltrap+0x8 #6 0xffffffff80e295d2 at fr_checknatin+0x382 #7 0xffffffff80e432b3 at fr_check+0x793 #8 0xffffffff8067e35c at pfil_run_hooks+0x9c #9 0xffffffff806d2159 at ip_input+0x279 #10 0xffffffff8067d76e at netisr_dispatch_src+0x7e #11 0xffffffff80673b3d at ether_demux+0x14d #12 0xffffffff80673f2d at ether_input+0x17d #13 0xffffffff8032e50a at em_rxeof+0x1ca #14 0xffffffff8032e928 at em_handle_que+0x48 #15 0xffffffff805ffeb5 at taskqueue_run_locked+0x85 #16 0xffffffff8060004e at taskqueue_thread_loop+0x4e #17 0xffffffff805994f8 at fork_exit+0x118 My idea is make the minimal changes in the ipnat syntax and not to migrate to PF, i only need to stop theses reboots, do you know any way to fix it?. Thanks! :-) Regards. - -- Facundo M. de la Cruz (tty0) IT Consultant & Security Researcher RHCSA/RHCE (Red Hat Certified Engineer) GPG fingerprint: DF2F 514A 5167 00F5 C753 BF3B D797 C8E1 5726 0789 "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rich Cook -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBAgAGBQJPVaJxAAoJENeXyOFXJgeJeIwQAJseoYt2p651LQUyLcoVccQP U3WsNcXb+KAxuP72p1G5t48LaYHJxHoTXjn9o8we2fl9ID0tyJOwZBiFqycoqL3k tw98wLU2czQTxf9zsp9VgAzAdKmpVAgfVu1SHdhC7e0/QT/LI7NJuI0XXwJIJm2L ZVVwGd52+H9wh7t7uzP7s3Qj6uoFRrIZVxqGsl0vq5HwKAf7BtOO1QytYofbjrUc DMDVof78iiQFJYllC3kiQMcalYMUuYY1aBqi3sVU+obq1voYgDAHgpJsSlKnfwhl 2NlXttQ0Qyy7PBxU3RqDSuz1S5ASV2ZV5i4wmtSRTkNWvx2mIVhNgRkSYUx9JgNt TbdNthVtSt+BAFm5Urd2zq3QUGeDH8t/xZT422i0AmOk/2ylTr/AVZQRy2rLlcbt CrHsN8FMjT5l6bouasShh30LosRqp3ruVnAvFGQ1hdSqob0s5I+cgm5wKPl2Qz2c G/MFPdcoad8hlzKBOpl3mRXquTOamMmAuTFEZtjMXdcltr1X85+QpaEBYtVUh2Lt wr3MqkBkorfrMpS9cco+PltD1FFh9+/Nf+LWqOL+n2nwo3JscCZxEAyPzD0Auu1k K5UNR1vgTZL+YvellsOeiyFgOrOHx0UwHksjg8fkq/b5HvgtnME6eu0XQ56K9l2D L8lhY/1TdjVlfCYGUqEr =dvYH -----END PGP SIGNATURE----- From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 06:50:02 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by hub.freebsd.org (Postfix) with ESMTP id 4211C106566B for ; Tue, 6 Mar 2012 06:50:02 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from [127.0.0.1] (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 0D3D416147B; Tue, 6 Mar 2012 06:49:48 +0000 (UTC) Message-ID: <4F55B38E.9070001@FreeBSD.org> Date: Tue, 06 Mar 2012 00:49:50 -0600 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: Devin Teske References: <0b7101ccfb32$58d459f0$0a7d0dd0$@fisglobal.com> <20120306022026.GA29187@volt.iem.pw.edu.pl> <5168AAFB-19D5-459D-8F3D-D884E5D18249@fisglobal.com> In-Reply-To: <5168AAFB-19D5-459D-8F3D-D884E5D18249@fisglobal.com> X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Cc: FreeBSD Hackers , Andrzej Tobola Subject: Re: [PREVIEW] bsdconfig(8) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 06:50:02 -0000 On 3/5/2012 8:24 PM, Devin Teske wrote: > > On Mar 5, 2012, at 6:20 PM, Andrzej Tobola wrote: > >> On Mon, Mar 05, 2012 at 04:44:53PM -0800, Devin Teske wrote: >>> >>> INSTRUCTIONS: >>> >>> 1. cd /usr/src >> >> cd /usr/src/usr.sbin ? >> > > Sorry… /usr/src/usr.bin > > You don't need to be root to run it, so it's going into "/usr/bin", not "sbin". That's not the dividing line, please read hier(7). This should be introduced as a port in /usr/local/sbin to start with, and then we'll see how it goes from there. Doug From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 07:15:51 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2187106566B; Tue, 6 Mar 2012 07:15:51 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 9644C8FC0C; Tue, 6 Mar 2012 07:15:51 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa06 [127.0.0.1]) by ltcfislmsgpa06.fnfis.com (8.14.4/8.14.4) with SMTP id q266PTB1022411; Tue, 6 Mar 2012 01:15:50 -0600 Received: from smtp.fisglobal.com ([10.132.206.17]) by ltcfislmsgpa06.fnfis.com with ESMTP id 13dd0jr69c-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 06 Mar 2012 01:15:50 -0600 Received: from [10.0.0.101] (10.14.152.61) by smtp.fisglobal.com (10.132.206.17) with Microsoft SMTP Server (TLS) id 14.1.323.3; Tue, 6 Mar 2012 01:15:49 -0600 MIME-Version: 1.0 (Apple Message framework v1257) From: Devin Teske In-Reply-To: <4F55B38E.9070001@FreeBSD.org> Date: Mon, 5 Mar 2012 23:15:47 -0800 Content-Transfer-Encoding: quoted-printable Message-ID: References: <0b7101ccfb32$58d459f0$0a7d0dd0$@fisglobal.com> <20120306022026.GA29187@volt.iem.pw.edu.pl> <5168AAFB-19D5-459D-8F3D-D884E5D18249@fisglobal.com> <4F55B38E.9070001@FreeBSD.org> To: Doug Barton X-Mailer: Apple Mail (2.1257) X-Originating-IP: [10.14.152.61] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.6.7498, 1.0.260, 0.0.0000 definitions=2012-03-06_01:2012-03-06, 2012-03-06, 1970-01-01 signatures=0 Content-Type: text/plain; charset="windows-1252" Cc: FreeBSD Hackers , Ron McDowell , Andrzej Tobola Subject: Re: [PREVIEW] bsdconfig(8) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 07:15:51 -0000 On Mar 5, 2012, at 10:49 PM, Doug Barton wrote: > On 3/5/2012 8:24 PM, Devin Teske wrote: >>=20 >> On Mar 5, 2012, at 6:20 PM, Andrzej Tobola wrote: >>=20 >>> On Mon, Mar 05, 2012 at 04:44:53PM -0800, Devin Teske wrote: >>>>=20 >>>> INSTRUCTIONS: >>>>=20 >>>> 1. cd /usr/src >>>=20 >>> cd /usr/src/usr.sbin ? >>>=20 >>=20 >> Sorry=85 /usr/src/usr.bin >>=20 >> You don't need to be root to run it, so it's going into "/usr/bin", not = "sbin". >=20 > That's not the dividing line, please read hier(7). Your right. "/usr/sbin" fits best. Thanks Doug! > This should be > introduced as a port in /usr/local/sbin to start with, and then we'll > see how it goes from there. >=20 Of course and naturally. --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 07:16:04 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D92F51065787 for ; Tue, 6 Mar 2012 07:16:04 +0000 (UTC) (envelope-from maninya@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 78BD48FC15 for ; Tue, 6 Mar 2012 07:16:04 +0000 (UTC) Received: by yenl9 with SMTP id l9so2104105yen.13 for ; Mon, 05 Mar 2012 23:16:03 -0800 (PST) Received-SPF: pass (google.com: domain of maninya@gmail.com designates 10.101.165.33 as permitted sender) client-ip=10.101.165.33; Authentication-Results: mr.google.com; spf=pass (google.com: domain of maninya@gmail.com designates 10.101.165.33 as permitted sender) smtp.mail=maninya@gmail.com; dkim=pass header.i=maninya@gmail.com Received: from mr.google.com ([10.101.165.33]) by 10.101.165.33 with SMTP id s33mr9895508ano.70.1331018163849 (num_hops = 1); Mon, 05 Mar 2012 23:16:03 -0800 (PST) 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=3D9vwuCyumUukGE41aMa2Z+pnLH4Hs4OwrWAVLeUpow=; b=bc/wHEzAk39Q3bXI6F22nuSFvWOyBG4IEf+409ATrol7cfPfK3o7XmSzKfQnWPLyoJ Q7IExgPsjeC9SCRnfxNf1a1P5t9vMKWFRSe1UsI8ByFQMc5opfLAS++QCQqUv6yG4tE8 rAvghCyePiO1MERaZuGVVwTDuHik9lZiWcgF4RH8fOw15te0sV7zelVpa109PeYAoEn1 f5AamEjheWMntY8gB7wi4oqd5ZK1utXkJcL6eHBG/bqBJJByJ1aVnpMuSmLFkFBIgeti XVHkY1iHkh8mU0bIjZnT5r0BmB6puloA/uNKAXmn2DHbUNHaObSB/0dspM7PUXuB2mlL vNHw== MIME-Version: 1.0 Received: by 10.101.165.33 with SMTP id s33mr7826095ano.70.1331018163792; Mon, 05 Mar 2012 23:16:03 -0800 (PST) Received: by 10.147.146.9 with HTTP; Mon, 5 Mar 2012 23:16:03 -0800 (PST) In-Reply-To: <201203051221.08681.jhb@freebsd.org> References: <201203051221.08681.jhb@freebsd.org> Date: Tue, 6 Mar 2012 12:46:03 +0530 Message-ID: From: Maninya M To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: CPUID and CPU STATE X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 07:16:05 -0000 Thank you. How do we get hardware cpuid? Can we change the number of CPUs available to the scheduler (in the scheduler code) dynamically, say completely cutting off a specific cpu core from being used at all? On 5 March 2012 22:51, John Baldwin wrote: > On Friday, March 02, 2012 2:20:00 am Maninya M wrote: > > I was unable to get this information about the cpuid variable in the > > scheduler source code. > > How does cpuid get its value from the hardware? > > The cpuid is a software ID value assigned during boot. It is not > directly related to any specific hardware IDs. > > > How is the CPUSTATES value obtained/changed with hardware in the source > > code? > > Do you mean, does cp_time[] handle hardware changes (hotplug CPUs, etc.)? > Currently that isn't supported, the kernel assumes the set of CPUs is > static for a given boot's lifetime. > > -- > John Baldwin > -- Maninya From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 07:44:56 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4335106566B for ; Tue, 6 Mar 2012 07:44:56 +0000 (UTC) (envelope-from wojtek@tensor.gdynia.pl) Received: from tensor.gdynia.pl (tensor.gdynia.pl [89.206.35.72]) by mx1.freebsd.org (Postfix) with ESMTP id 28F6D8FC0C for ; Tue, 6 Mar 2012 07:44:55 +0000 (UTC) Received: Received: from 127.0.0.1 (localhost [127.0.0.1]) by tensor.gdynia.pl (8.14.4/8.14.5) with ESMTP id q267il9E016911 for ; Tue, 6 Mar 2012 08:44:47 +0100 (CET) (envelope-from wojtek@tensor.gdynia.pl) Received: (from wojtek@localhost) by tensor.gdynia.pl (8.14.5/8.14.5/Submit) id q267il9Z016910; Tue, 6 Mar 2012 08:44:47 +0100 (CET) (envelope-from wojtek) Newsgroups: Date: Mon, 5 Mar 2012 09:32:22 +0100 (CET) From: Wojciech Puchar To: freebsd-hackers@freebsd.org Fcc: sent-mail Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-Cursor-Pos: : 585 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=UTF-8 Status: X-Status: X-Keywords: X-UID: 7 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.6 (tensor.gdynia.pl [89.206.35.72]); Tue, 06 Mar 2012 08:44:47 +0100 (CET) Subject: FreeBSD-9 crash at swapctl -d X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 07:44:56 -0000 repeatable crash when turning off my 9GB swap partition (of which 0 bytes was used): Dump header from device /dev/ada0b Architecture: amd64 Architecture Version: 2 Dump Length: 198971392B (189 MB) Blocksize: 512 Dumptime: Mon Mar 5 09:29:41 2012 Hostname: wojtek.tensor.gdynia.pl Magic: FreeBSD Kernel Dump Version String: FreeBSD 9.0-STABLE #0: Sun Mar 4 22:58:17 CET 2012 root@wojtek.tensor.gdynia.pl:/usr/src/sys/amd64/compile/wojtek Panic String: blist_meta_fill: allocation too large Dump Parity: 606467164 Bounds: 0 Dump Status: good any ideas? From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 09:10:03 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 4E658106566C; Tue, 6 Mar 2012 09:10:03 +0000 (UTC) Date: Tue, 6 Mar 2012 09:10:03 +0000 From: Alexander Best To: Devin Teske Message-ID: <20120306091003.GA77008@freebsd.org> References: <0b7101ccfb32$58d459f0$0a7d0dd0$@fisglobal.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0b7101ccfb32$58d459f0$0a7d0dd0$@fisglobal.com> Cc: freebsd-hackers@freebsd.org, Ron McDowell Subject: Re: [PREVIEW] bsdconfig(8) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 09:10:03 -0000 On Mon Mar 5 12, Devin Teske wrote: > Hiya fellow -hackers@ > > Many have complained that bsdinstall(8) does only a fraction of sysinstall(8). > This complaint is generally understood to be in-relation to the "Configure" menu > of sysinstall(8). > > Some here may already know that Ron McDowell and I have been hard at-work > developing the replacement for sysinstall(8)'s "Configure" menu -- which we have > named bsdconfig(8). > > bsdconfig(8), together with already-existing bsdinstall(8), should fill the > gap(s) when sysinstall(8) goes-away in FreeBSD-10. > > bsdconfig(8) is being designed with the intention of being MFC'd to 9, so that > sysinstall(8) and bsdconfig(8) can co-exist side-by-side while the bugs are > worked out in RELENG_9. > > Later down the road, 10.0 would have only bsdinstall(8) and bsdconfig(8) > (sysinstall(8) would no longer be provided). > > Thus, allowing a smooth transition away from sysinstall(8). > > With all that being said, without further ado, let me introduce the latest > preview: > > http://druidbsd.sf.net/download/bsdconfig/ > > NOTE: As of this writing, latest version is "bsdconfig.120305.txz" obtainable > from the above directory > > PRE-REQUISITES: > > You need an already-checked-out version of the FreeBSD source tree (preferably > 9.0 or higher). > > INSTRUCTIONS: > > 1. cd /usr/src > 2. fetch http://druidbsd.sf.net/download/bsdconfig/bsdconfig.120305.txz > 3. tar zxf bsdconfig.120305.txz > 4. cd bsdconfig > 5. sudo make install > > HOW TO USE: > > bsdconfig -h > bsdconfig > > NOTE: If sudo(8) is installed, no need to run as root (bsdconfig will handle > this for you -- if/when root privileges are needed, you'll be prompted for your > sudo(8) credentials). > > If you have an X11 display and have xauth(1) installed, try this in an X11 > session: > > bsdconfig -X > > Some other things to try for fun: > > bsdconfig hostname > # jump directly to hostname configuration > > bsdconfig users > # jump directly to user management > > bsdconfig networking > # jump directly to network management > > bsdconfig defaultrouter > # jump directly to defaultrouter configuration > > bsdconfig nameservers > # jump directly to DNS nameserver configuration > > bsdconfig docsinstall > # jump directly to documentation installation > > bsdconfig timezone > # jump directly to timezone configuration > > bsdconfig timezone -X > # Configure the timezone using X11 GUI > > bsdconfig timezone -h > # See timezone usage (for which there are many options) > > ERRATA: > > "Documentation Installation" is fully functional > "Network Management" is fully functional > "Time Zone" is fully functional > > and > > "Login/Group Management" is mostly functional (group add/edit/delete not done > yet) > > Rest of the remaining modules are not functional yet. > > We continue to work very hard on this every day and look forward to any/all > feedback, comments, suggestions, and snide remarks. great work. a few questions or rather suggestions: 1) why are there two ways to exit bsdconfig? one being "X Exit" and the other one being ""? 2) the highlighted first letters suggest that these are shortcuts. they work great for the actual menu items, but for "" and "", pressing O and E doesn't work. in fact E is already taken by "Startup". 3) when bsdconfig starts the note regarding the packages shouldn't state "Pascal". most people probably don't know what pascal is. ;) how about VirtualBox or chromium? these packages are probably used by a lot more users. 4) do we really need fdisk and disklabel? hasn't freebsd moved onto gpart and glabel? cheers. alex > -- > Cheers, > Devin > > _____________ > The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 09:11:26 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A47FA1065676 for ; Tue, 6 Mar 2012 09:11:26 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (unknown [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 7C5528FC18 for ; Tue, 6 Mar 2012 09:11:26 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id q269BPC5096545 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 6 Mar 2012 01:11:25 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.14.2/Submit) with UUCP id q269BP0e096544; Tue, 6 Mar 2012 01:11:25 -0800 (PST) (envelope-from perryh@pluto.rain.com) Received: from fbsd81 ([192.168.200.81]) by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA10475; Tue, 6 Mar 12 01:05:58 PST Date: Tue, 06 Mar 2012 08:05:40 -0800 From: perryh@pluto.rain.com To: bfalk_bsd@brandonfa.lk Message-Id: <4f5635d4.5Qp6ViEgiFLUuPKI%perryh@pluto.rain.com> References: <4F55A0EA.8000300@gmail.com> In-Reply-To: User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org, amvandemore@gmail.com Subject: Re: Graphical Terminal Environment X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 09:11:26 -0000 Brandon Falk wrote: > I havent tried tmux yet, but on my system im only able to get > 80x40 with vidcontrol on one monitor. But with xterm in xorg > i can get 319x89 per monitor ... To get higher resolution than what vidcontrol provides, you'll most likely need to run the display in graphic mode (which is what X11 does) rather than in text mode. That means that you will need to either use, or reinvent, the lowest levels of X (display driver, window mapping) and at least part of the xterm/rxvt application (terminal emulation, font rasterizing, perhaps scrolling). You could, however, eliminate the X practice of using the network to connect the terminal emulator to the display; this would give you an architecture resembling SunView (and its predecessor, SunTools). I _think_ SunTools/SunView were proprietary, although it's possible that Sun released the source code at some point. You could try doing some research with Google and/or the Internet Archive. From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 09:51:47 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0611E106564A for ; Tue, 6 Mar 2012 09:51:47 +0000 (UTC) (envelope-from bo@kbct.de) Received: from server1.worldofblubbbel.de (server1.worldofblubbbel.de [85.25.71.172]) by mx1.freebsd.org (Postfix) with ESMTP id B75C88FC16 for ; Tue, 6 Mar 2012 09:51:46 +0000 (UTC) Received: from bo-mbp.level1.hanse.fizon.de (31-16-42-243-dynip.superkabel.de [31.16.42.243]) by server1.worldofblubbbel.de (Postfix) with ESMTP id 25E6C33E161; Tue, 6 Mar 2012 10:31:51 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=iso-8859-1 From: =?iso-8859-1?Q?Bj=F6rn_Oelke?= In-Reply-To: Date: Tue, 6 Mar 2012 10:31:49 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4F55A0EA.8000300@gmail.com> To: Brandon Falk X-Mailer: Apple Mail (2.1257) Cc: freebsd-hackers@freebsd.org, =?iso-8859-1?Q?Bj=F6rn_Oelke?= Subject: Re: Graphical Terminal Environment X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 09:51:47 -0000 Am 06.03.2012 um 06:48 schrieb Brandon Falk: > I havent tried tmux yet, but on my system im only able to get 80x40 = with > vidcontrol on one monitor. But with xterm in xorg i can get 319x89 per > monitor. Until i get about half of that, i wont be convinced to use > something existing. Anyways, I'm off to sleep. Have you tried VESA's SC_PIXEL_MODE? It's a kernel option and IIRC it = works on amd64 since 8.1. `vidcontrol MODE_282` gave me 1280x1024 pixels. But to be honest, this = was about two years ago. --=20 BO .. http://kbct.de PS: Moin. From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 13:02:36 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C758106566B for ; Tue, 6 Mar 2012 13:02:36 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id D3A208FC17 for ; Tue, 6 Mar 2012 13:02:35 +0000 (UTC) Received: by wgbds12 with SMTP id ds12so4326983wgb.31 for ; Tue, 06 Mar 2012 05:02:34 -0800 (PST) Received-SPF: pass (google.com: domain of rwmaillists@googlemail.com designates 10.180.14.37 as permitted sender) client-ip=10.180.14.37; Authentication-Results: mr.google.com; spf=pass (google.com: domain of rwmaillists@googlemail.com designates 10.180.14.37 as permitted sender) smtp.mail=rwmaillists@googlemail.com; dkim=pass header.i=rwmaillists@googlemail.com Received: from mr.google.com ([10.180.14.37]) by 10.180.14.37 with SMTP id m5mr23032538wic.19.1331038954899 (num_hops = 1); Tue, 06 Mar 2012 05:02:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=SVzat993nKBx+/FzoRM/UbL4kTkGigkT2dj+kod19Pc=; b=gBG1X6qAz9tW/KRlT9ws0xriXmYfbily3hSIe4nB5RGSD4ATuDyE81ujtvsJKngMhu lM205eozkQHpxEl0bMVJo++MBZ0nhAvCuGIa062/RAgtwmojIWtZq2YbGqYKoN4IGmCm zxJyhBsOucoIHBtObcfjnRUzcZKI56WJSZB8m7Lznjt3ztBekg+ffoNsrpEi/VxgBDo0 CMDpzLv7cChDrwqzP7N0dCMHkHzi4STNZrmP3SzB1FHXKrVIHMs0pE3hm3esqXxlcOi7 d9E9Ei/hl/qZXBsBZ90xd7ryBc+RWH+MM4MPsSPokJpC4vkiGBoOzQovPVn+YrulbHYZ psdw== Received: by 10.180.14.37 with SMTP id m5mr18090733wic.19.1331037456839; Tue, 06 Mar 2012 04:37:36 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id fw5sm27916747wib.0.2012.03.06.04.37.34 (version=SSLv3 cipher=OTHER); Tue, 06 Mar 2012 04:37:35 -0800 (PST) Date: Tue, 6 Mar 2012 12:37:32 +0000 From: RW To: freebsd-hackers@freebsd.org Message-ID: <20120306123732.098d481a@gumby.homeunix.com> In-Reply-To: References: <4F55A0EA.8000300@gmail.com> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: Graphical Terminal Environment X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 13:02:36 -0000 On Tue, 6 Mar 2012 10:31:49 +0100 Bj=F6rn Oelke wrote: > Am 06.03.2012 um 06:48 schrieb Brandon Falk: > > I havent tried tmux yet, but on my system im only able to get 80x40 > > with vidcontrol on one monitor. But with xterm in xorg i can get > > 319x89 per monitor. Until i get about half of that, i wont be > > convinced to use something existing. Anyways, I'm off to sleep. >=20 >=20 > Have you tried VESA's SC_PIXEL_MODE? It's a kernel option and IIRC it > works on amd64 since 8.1. `vidcontrol MODE_282` gave me 1280x1024 > pixels. But to be honest, this was about two years ago. Since I did this recently, you need to build with=20 options VESA options SC_PIXEL_MODE Then run vidcontrol -i mode to get a list of modes. Choose one and then run vidcontrol with something like: -g 160x64 MODE_283 where 160x64 comes from dividing the mode's font size into its resolution. You can make that automatic by adding allscreens_flags=3D"-h 2000 -g 160x64 MODE_283" to rc.conf BTW does anyone know what the character at the end of the size field is in the "vidcontrol -i mode" output, I'm seeing "D","P" or "4" on the graphics modes. From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 13:18:42 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96284106564A for ; Tue, 6 Mar 2012 13:18:42 +0000 (UTC) (envelope-from sem@semmy.ru) Received: from sunner.semmy.ru (sunner.semmy.ru [IPv6:2a00:14d0:0:20::3]) by mx1.freebsd.org (Postfix) with ESMTP id 252368FC15 for ; Tue, 6 Mar 2012 13:18:41 +0000 (UTC) Received: from dhcp170-40-red.yandex.net ([95.108.170.40]) by sunner.semmy.ru with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from ) id 1S4uHn-000FLp-LA; Tue, 06 Mar 2012 17:18:39 +0400 Message-ID: <4F560EAF.40001@semmy.ru> Date: Tue, 06 Mar 2012 17:18:39 +0400 From: Sergey Matveychuk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: Markiyan Kushnir References: <4F550227.2010006@FreeBSD.org> <4F5528BF.9030109@gmail.com> In-Reply-To: <4F5528BF.9030109@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 06 Mar 2012 13:41:11 +0000 Cc: freebsd-hackers@freebsd.org Subject: Re: watching for a directory with kqueue X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 13:18:42 -0000 06.03.2012 0:57, Markiyan Kushnir wrote: > On 05.03.2012 20:12, Sergey Matveychuk wrote: >> Hi. >> >> I've met a problem with the subj. Could you help? >> >> I'm watching for a directory: >> EV_SET(kq_change_list, fd, EVFILT_VNODE, >> EV_ADD | EV_ENABLE | EV_ONESHOT, >> NOTE_DELETE | NOTE_WRITE | NOTE_EXTEND | NOTE_ATTRIB, >> 0, 0); >> >> When the directory changed, I read its contens with opendir, like that: >> struct kq_event kq_event[1000]; >> ... >> while(1) { >> n = kevent(kq, kq_change_list, chlist_used, kq_event, 1000, NULL); >> for(i = 0; i < n; i++) { >> if(kq_event[i].fflags & NOTE_EXTEND || kq_event[i].fflags & NOTE_WRITE) { >> opendir(.....) >> >> It works when I create a few files (1-3), but when I create 10 files >> with touch(1) I see only 3-6 files with opendir. I've got only one event >> with kevent() (n=1). Looks like I should got a few events, but I did >> not. Could you give an advice how to get all created files? > > Try to put some delay (~10ms) after your call to kevent(). > Not enough smooth for me, but works. From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 13:49:01 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACED91065672 for ; Tue, 6 Mar 2012 13:49:01 +0000 (UTC) (envelope-from alexkozlov0@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3C1198FC0C for ; Tue, 6 Mar 2012 13:49:01 +0000 (UTC) Received: by eaaf13 with SMTP id f13so1880904eaa.13 for ; Tue, 06 Mar 2012 05:49:00 -0800 (PST) Received-SPF: pass (google.com: domain of alexkozlov0@gmail.com designates 10.14.127.5 as permitted sender) client-ip=10.14.127.5; Authentication-Results: mr.google.com; spf=pass (google.com: domain of alexkozlov0@gmail.com designates 10.14.127.5 as permitted sender) smtp.mail=alexkozlov0@gmail.com; dkim=pass header.i=alexkozlov0@gmail.com Received: from mr.google.com ([10.14.127.5]) by 10.14.127.5 with SMTP id c5mr13798076eei.17.1331041740452 (num_hops = 1); Tue, 06 Mar 2012 05:49:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:subject:message-id:mime-version:content-type :content-disposition; bh=+b3E+TAIIS71+QpEJqZniiLKmvqb1/lxCPKXai5cqpE=; b=AibzAe9wpgDdhhe4n3asrkgreMUnPa6uInR0M2ECdCOuoPOdjc2frXxK8XKeD7KvXq CXouYpkVFwz1EzQX5OnuCghuR+cjKJf4wU3DNoadhabpQgZeapQCD0iD5CLV03ZEiNt+ skPg2x4Q8cwQnQB/oYmaqq3HnOwHj8+D8wRIa3PsZi+JGjgeum0yTCQcDhVifSvGxpTR At756qJ+btFAMPHNHOytQ+2Z15JKrXBkxsozI4GA2eqhBj+r60Uk4MTXSpoF8h5WXzHQ Fzf0YbpMxdbndgqCvPTvR7Zf/42c+ZuOeBDW5t3v9XVr4LGovVbccWmdPCNK0bVUbY7V GF2w== Received: by 10.14.127.5 with SMTP id c5mr10481565eei.17.1331040196751; Tue, 06 Mar 2012 05:23:16 -0800 (PST) Received: from ravenloft.kiev.ua (ravenloft.kiev.ua. [94.244.131.95]) by mx.google.com with ESMTPS id v51sm74488893eef.2.2012.03.06.05.23.11 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 06 Mar 2012 05:23:14 -0800 (PST) Sender: Alex Kozlov Date: Tue, 6 Mar 2012 15:23:04 +0200 From: Alex Kozlov To: RW , freebsd-hackers@freebsd.org Message-ID: <20120306132304.GA62937@ravenloft.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Cc: Subject: Re: Graphical Terminal Environment X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 13:49:01 -0000 On Tue, Mar 06, 2012 at 12:37:32PM +0000, RW wrote: > BTW does anyone know what the character at the end of the size field is > in the "vidcontrol -i mode" output, I'm seeing "D","P" or "4" on the > graphics modes. It's video memory model: $num - planar, $num - number of planes C - GCA graphics D - Direct 15/16/24 bit H - Hercules Graphics P - Packed pixels V - VGA mode X -- Adios From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 14:52:40 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E74A8106566B for ; Tue, 6 Mar 2012 14:52:40 +0000 (UTC) (envelope-from lidl@hydra.pix.net) Received: from hydra.pix.net (hydra.pix.net [IPv6:2001:470:e254::3c]) by mx1.freebsd.org (Postfix) with ESMTP id B82A28FC0C for ; Tue, 6 Mar 2012 14:52:40 +0000 (UTC) Received: from hydra.pix.net (localhost [127.0.0.1]) by hydra.pix.net (8.14.4/8.14.4) with ESMTP id q26EqdTc050506; Tue, 6 Mar 2012 09:52:39 -0500 (EST) (envelope-from lidl@hydra.pix.net) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.97.1 at mail.pix.net Received: (from lidl@localhost) by hydra.pix.net (8.14.4/8.14.4/Submit) id q26Eqdlm050505; Tue, 6 Mar 2012 09:52:39 -0500 (EST) (envelope-from lidl) Date: Tue, 6 Mar 2012 09:52:39 -0500 From: Kurt Lidl To: perryh@pluto.rain.com Message-ID: <20120306145239.GD50393@pix.net> References: <4F55A0EA.8000300@gmail.com> <4f5635d4.5Qp6ViEgiFLUuPKI%perryh@pluto.rain.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4f5635d4.5Qp6ViEgiFLUuPKI%perryh@pluto.rain.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-hackers@freebsd.org, bfalk_bsd@brandonfa.lk, amvandemore@gmail.com Subject: Re: Graphical Terminal Environment X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 14:52:41 -0000 On Tue, Mar 06, 2012 at 08:05:40AM -0800, perryh@pluto.rain.com wrote: > Brandon Falk wrote: > > > I havent tried tmux yet, but on my system im only able to get > > 80x40 with vidcontrol on one monitor. But with xterm in xorg > > i can get 319x89 per monitor ... > > To get higher resolution than what vidcontrol provides, you'll most > likely need to run the display in graphic mode (which is what X11 > does) rather than in text mode. That means that you will need to > either use, or reinvent, the lowest levels of X (display driver, > window mapping) and at least part of the xterm/rxvt application > (terminal emulation, font rasterizing, perhaps scrolling). You > could, however, eliminate the X practice of using the network to > connect the terminal emulator to the display; this would give you > an architecture resembling SunView (and its predecessor, SunTools). > > I _think_ SunTools/SunView were proprietary, although it's possible > that Sun released the source code at some point. You could try > doing some research with Google and/or the Internet Archive. I don't think they ever released that code. If you want re-use the lowest levels of the X11 drivers, you ought to check out the "Wayland" project. http://wayland.freedesktop.org -Kurt From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 15:24:44 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A0036106564A for ; Tue, 6 Mar 2012 15:24:44 +0000 (UTC) (envelope-from bfalk_bsd@brandonfa.lk) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4E1C88FC1D for ; Tue, 6 Mar 2012 15:24:44 +0000 (UTC) Received: by yenl9 with SMTP id l9so2344057yen.13 for ; Tue, 06 Mar 2012 07:24:43 -0800 (PST) Received-SPF: pass (google.com: domain of bfalk_bsd@brandonfa.lk designates 10.236.115.105 as permitted sender) client-ip=10.236.115.105; Authentication-Results: mr.google.com; spf=pass (google.com: domain of bfalk_bsd@brandonfa.lk designates 10.236.115.105 as permitted sender) smtp.mail=bfalk_bsd@brandonfa.lk; dkim=pass header.i=bfalk_bsd@brandonfa.lk Received: from mr.google.com ([10.236.115.105]) by 10.236.115.105 with SMTP id d69mr33734392yhh.89.1331047483900 (num_hops = 1); Tue, 06 Mar 2012 07:24:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brandonfa.lk; s=google; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=DchNjKYRQ/I0vOmKN867SiG+KDKeYhgeeVQ+2QoUTTM=; b=mSLEBbFBIgDbXfTEzgfZ1Eka3dNmmVlJ7fcVll4OhVNy/HZHB2whcOC/ZcBxY1so8I vA/cwrfhXTi9X8v5OHEfDWlI30HeGp/sViLDuBEeCoDSswps91kXSfJ/VO6EUqvGlfvN c+hXC5sv2cTSgBYmnVcYQUT2e4qA9/T4h16gg= Received: by 10.236.115.105 with SMTP id d69mr26757889yhh.89.1331047483798; Tue, 06 Mar 2012 07:24:43 -0800 (PST) Received: from [192.168.42.146] (wsip-184-183-177-134.dc.dc.cox.net. [184.183.177.134]) by mx.google.com with ESMTPS id z3sm1902212and.18.2012.03.06.07.24.42 (version=SSLv3 cipher=OTHER); Tue, 06 Mar 2012 07:24:43 -0800 (PST) Message-ID: <4F562C38.4010203@brandonfa.lk> Date: Tue, 06 Mar 2012 10:24:40 -0500 From: Brandon Falk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: perryh@pluto.rain.com References: <4F55A0EA.8000300@gmail.com> <4f5635d4.5Qp6ViEgiFLUuPKI%perryh@pluto.rain.com> In-Reply-To: <4f5635d4.5Qp6ViEgiFLUuPKI%perryh@pluto.rain.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQl+U8PmJa/3Uxw2DnOsntq1WGL083cnTxvbH9ciLckY+9GDMUIj5EY14KRGxk+iu79mdizg Cc: freebsd-hackers@freebsd.org, amvandemore@gmail.com Subject: Re: Graphical Terminal Environment X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 15:24:44 -0000 On 3/6/2012 11:05 AM, perryh@pluto.rain.com wrote: > Brandon Falk wrote: > >> I havent tried tmux yet, but on my system im only able to get >> 80x40 with vidcontrol on one monitor. But with xterm in xorg >> i can get 319x89 per monitor ... > > To get higher resolution than what vidcontrol provides, you'll most > likely need to run the display in graphic mode (which is what X11 > does) rather than in text mode. That means that you will need to > either use, or reinvent, the lowest levels of X (display driver, > window mapping) and at least part of the xterm/rxvt application > (terminal emulation, font rasterizing, perhaps scrolling). You > could, however, eliminate the X practice of using the network to > connect the terminal emulator to the display; this would give you > an architecture resembling SunView (and its predecessor, SunTools). > > I _think_ SunTools/SunView were proprietary, although it's possible > that Sun released the source code at some point. You could try > doing some research with Google and/or the Internet Archive. That's pretty much my plan. To write some lower level drivers to put the system in a graphics mode. I have 4 monitors and there is no other way to get multiple monitors without a GPU specific driver (at least from my VGA OSDev experience). My goal will be to make a driver that will be able to be runnable by any other driver easily. Instead of having to use Xorg, just calls to the video driver to set the mode to graphics, then some primitive functions to draw lines and dots. I don't see why Xorg should dominate the drivers completely, I really wish it was a matter of having an open, well documented, easy to use API that you can just give direct commands to. >From my understanding, this is the current model: [ Apps ] | v [ Xorg ] | v [ Driver ] | v [ GPU ] I think it should be the following: [ Apps ] | v [ Xorg ] [ Apps ] | | v v [ Driver ] | v [ GPU ] Does this make sense to anyone else? I really want to get this idea across because I think it would be really beneficial. -Brandon From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 15:39:55 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4A4BF106567A for ; Tue, 6 Mar 2012 15:39:55 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 20E3C8FC15 for ; Tue, 6 Mar 2012 15:39:55 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id C98CB46B58; Tue, 6 Mar 2012 10:39:54 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 3DAE7B974; Tue, 6 Mar 2012 10:39:54 -0500 (EST) From: John Baldwin To: Maninya M Date: Tue, 6 Mar 2012 08:34:08 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p10; KDE/4.5.5; amd64; ; ) References: <201203051221.08681.jhb@freebsd.org> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201203060834.08160.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Tue, 06 Mar 2012 10:39:54 -0500 (EST) Cc: freebsd-hackers@freebsd.org Subject: Re: CPUID and CPU STATE X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 15:39:55 -0000 On Tuesday, March 06, 2012 2:16:03 am Maninya M wrote: > Thank you. > How do we get hardware cpuid? > Can we change the number of CPUs available to the scheduler (in the > scheduler code) dynamically, say completely cutting off a specific cpu core > from being used at all? The hardware cpuid is machine-dependent. If you are in the kernel, you can use PCPU_GET(apic_id) on x86 to get the local APIC ID. Other platforms have a similar per-CPU variable. As far as getting it from userland, we do not have a good way of getting it currently aside from scraping /var/run/dmesg.boot or using libkvm to grovel around in kernel variables. As far as offlining a CPU, we do not have a way to do that currently (though you can take it out of the default cpuset which will prevent user threads from using it). > On 5 March 2012 22:51, John Baldwin wrote: > > > On Friday, March 02, 2012 2:20:00 am Maninya M wrote: > > > I was unable to get this information about the cpuid variable in the > > > scheduler source code. > > > How does cpuid get its value from the hardware? > > > > The cpuid is a software ID value assigned during boot. It is not > > directly related to any specific hardware IDs. > > > > > How is the CPUSTATES value obtained/changed with hardware in the source > > > code? > > > > Do you mean, does cp_time[] handle hardware changes (hotplug CPUs, etc.)? > > Currently that isn't supported, the kernel assumes the set of CPUs is > > static for a given boot's lifetime. > > > > -- > > John Baldwin > > > > > > -- > Maninya > -- John Baldwin From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 15:39:56 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 940B71065680 for ; Tue, 6 Mar 2012 15:39:56 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 6C59D8FC17 for ; Tue, 6 Mar 2012 15:39:56 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id 260FA46B43; Tue, 6 Mar 2012 10:39:56 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 5EAC0B942; Tue, 6 Mar 2012 10:39:55 -0500 (EST) From: John Baldwin To: freebsd-hackers@freebsd.org Date: Tue, 6 Mar 2012 10:21:37 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p10; KDE/4.5.5; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201203061021.37854.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Tue, 06 Mar 2012 10:39:55 -0500 (EST) Cc: Wojciech Puchar Subject: Re: FreeBSD-9 crash at swapctl -d X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 15:39:56 -0000 On Monday, March 05, 2012 3:32:22 am Wojciech Puchar wrote: > repeatable crash when turning off my 9GB swap partition (of which 0 bytes > was used): > > Dump header from device /dev/ada0b > Architecture: amd64 > Architecture Version: 2 > Dump Length: 198971392B (189 MB) > Blocksize: 512 > Dumptime: Mon Mar 5 09:29:41 2012 > Hostname: wojtek.tensor.gdynia.pl > Magic: FreeBSD Kernel Dump > Version String: FreeBSD 9.0-STABLE #0: Sun Mar 4 22:58:17 CET 2012 > root@wojtek.tensor.gdynia.pl:/usr/src/sys/amd64/compile/wojtek > Panic String: blist_meta_fill: allocation too large > Dump Parity: 606467164 > Bounds: 0 > Dump Status: good Can you fire up kgdb on the crash dump and get a stack trace? Can you also go to the frame for 'blist_meta_fill' and do 'p count' and 'p radix'? -- John Baldwin From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 15:39:57 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 992D2106566C; Tue, 6 Mar 2012 15:39:57 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 72E278FC13; Tue, 6 Mar 2012 15:39:57 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id 2CB8C46B52; Tue, 6 Mar 2012 10:39:57 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 8743CB974; Tue, 6 Mar 2012 10:39:56 -0500 (EST) From: John Baldwin To: freebsd-hackers@freebsd.org Date: Tue, 6 Mar 2012 10:24:06 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p10; KDE/4.5.5; amd64; ; ) References: <4F550227.2010006@FreeBSD.org> In-Reply-To: <4F550227.2010006@FreeBSD.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201203061024.06389.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Tue, 06 Mar 2012 10:39:56 -0500 (EST) Cc: Sergey Matveychuk Subject: Re: watching for a directory with kqueue X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 15:39:57 -0000 On Monday, March 05, 2012 1:12:55 pm Sergey Matveychuk wrote: > Hi. > > I've met a problem with the subj. Could you help? > > I'm watching for a directory: > EV_SET(kq_change_list, fd, EVFILT_VNODE, > EV_ADD | EV_ENABLE | EV_ONESHOT, > NOTE_DELETE | NOTE_WRITE | NOTE_EXTEND | NOTE_ATTRIB, > 0, 0); > > When the directory changed, I read its contens with opendir, like that: > struct kq_event kq_event[1000]; > ... > while(1) { > n = kevent(kq, kq_change_list, chlist_used, kq_event, 1000, NULL); > for(i = 0; i < n; i++) { > if(kq_event[i].fflags & NOTE_EXTEND || kq_event[i].fflags & NOTE_WRITE) { > opendir(.....) > > It works when I create a few files (1-3), but when I create 10 files > with touch(1) I see only 3-6 files with opendir. I've got only one event > with kevent() (n=1). Looks like I should got a few events, but I did > not. Could you give an advice how to get all created files? The problem is your kevent can fire after just one file is created, so you can run opendir() before all 10 files are created. If you want the keven to keep firing, you need to not use EV_ONESHOT. Instead, you probably want to use EV_CLEAR. That would let you get multiple events for the directory, and by the last one, all 10 files should be present. -- John Baldwin From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 15:49:23 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9B9811065674 for ; Tue, 6 Mar 2012 15:49:23 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from qmta07.emeryville.ca.mail.comcast.net (qmta07.emeryville.ca.mail.comcast.net [76.96.30.64]) by mx1.freebsd.org (Postfix) with ESMTP id 8023A8FC08 for ; Tue, 6 Mar 2012 15:49:23 +0000 (UTC) Received: from omta04.emeryville.ca.mail.comcast.net ([76.96.30.35]) by qmta07.emeryville.ca.mail.comcast.net with comcast id iFVT1i0080lTkoCA7FpHWv; Tue, 06 Mar 2012 15:49:17 +0000 Received: from damnhippie.dyndns.org ([24.8.232.202]) by omta04.emeryville.ca.mail.comcast.net with comcast id iFpG1i0064NgCEG8QFpHup; Tue, 06 Mar 2012 15:49:17 +0000 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 q26FnFrp015051; Tue, 6 Mar 2012 08:49:15 -0700 (MST) (envelope-from freebsd@damnhippie.dyndns.org) From: Ian Lepore To: Brandon Falk In-Reply-To: <4F562C38.4010203@brandonfa.lk> References: <4F55A0EA.8000300@gmail.com> <4f5635d4.5Qp6ViEgiFLUuPKI%perryh@pluto.rain.com> <4F562C38.4010203@brandonfa.lk> Content-Type: text/plain; charset="us-ascii" Date: Tue, 06 Mar 2012 08:49:14 -0700 Message-ID: <1331048954.32194.5.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Graphical Terminal Environment X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 15:49:23 -0000 On Tue, 2012-03-06 at 10:24 -0500, Brandon Falk wrote: > On 3/6/2012 11:05 AM, perryh@pluto.rain.com wrote: > > Brandon Falk wrote: > > > >> I havent tried tmux yet, but on my system im only able to get > >> 80x40 with vidcontrol on one monitor. But with xterm in xorg > >> i can get 319x89 per monitor ... > > > > To get higher resolution than what vidcontrol provides, you'll most > > likely need to run the display in graphic mode (which is what X11 > > does) rather than in text mode. That means that you will need to > > either use, or reinvent, the lowest levels of X (display driver, > > window mapping) and at least part of the xterm/rxvt application > > (terminal emulation, font rasterizing, perhaps scrolling). You > > could, however, eliminate the X practice of using the network to > > connect the terminal emulator to the display; this would give you > > an architecture resembling SunView (and its predecessor, SunTools). > > > > I _think_ SunTools/SunView were proprietary, although it's possible > > that Sun released the source code at some point. You could try > > doing some research with Google and/or the Internet Archive. > > That's pretty much my plan. To write some lower level drivers to put the system > in a graphics mode. I have 4 monitors and there is no other way to get multiple > monitors without a GPU specific driver (at least from my VGA OSDev experience). > My goal will be to make a driver that will be able to be runnable by any other > driver easily. Instead of having to use Xorg, just calls to the video driver to > set the mode to graphics, then some primitive functions to draw lines and dots. > > I don't see why Xorg should dominate the drivers completely, I really wish it > was a matter of having an open, well documented, easy to use API that you can > just give direct commands to. > > >From my understanding, this is the current model: > > [ Apps ] > | > v > [ Xorg ] > | > v > [ Driver ] > | > v > [ GPU ] > > I think it should be the following: > > [ Apps ] > | > v > [ Xorg ] [ Apps ] > | | > v v > [ Driver ] > | > v > [ GPU ] > > Does this make sense to anyone else? I really want to get this idea across > because I think it would be really beneficial. > > -Brandon With that model and your statement that the driver should support only primitive functions to draw lines and dots, that leaves the non-trivial problem of font rendering to the app. Given your original goal, font rendering is pretty much the bulk of what you want to do, is the app layer the right place for it? -- Ian From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 15:55:14 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 50C65106566B for ; Tue, 6 Mar 2012 15:55:14 +0000 (UTC) (envelope-from bfalk_bsd@brandonfa.lk) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id DB5D58FC13 for ; Tue, 6 Mar 2012 15:55:13 +0000 (UTC) Received: by ghrr20 with SMTP id r20so2620279ghr.13 for ; Tue, 06 Mar 2012 07:55:13 -0800 (PST) Received-SPF: pass (google.com: domain of bfalk_bsd@brandonfa.lk designates 10.101.20.1 as permitted sender) client-ip=10.101.20.1; Authentication-Results: mr.google.com; spf=pass (google.com: domain of bfalk_bsd@brandonfa.lk designates 10.101.20.1 as permitted sender) smtp.mail=bfalk_bsd@brandonfa.lk; dkim=pass header.i=bfalk_bsd@brandonfa.lk Received: from mr.google.com ([10.101.20.1]) by 10.101.20.1 with SMTP id x1mr10785743ani.36.1331049313256 (num_hops = 1); Tue, 06 Mar 2012 07:55:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brandonfa.lk; s=google; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=x03fUebdKu80Mo1S3MiIT2IcyniSSoXGVL5S+aQ6Iks=; b=lNjrwjUE2GGbzV/hGXy/pqMJdfwtzNnjoCzQzlylZvgubyl2g9E5Yn8MjWt9vyY9uA IGSPLBWEkb84B0RR1h3SC2ifrvPCa/FgBvqsUrr+MDTDt0QrIyulIZspTQpCaL1BUxMT xu74z5zAQApbipIW25IYSzDj2FurYOqjqjYyI= Received: by 10.101.20.1 with SMTP id x1mr8559645ani.36.1331049313104; Tue, 06 Mar 2012 07:55:13 -0800 (PST) Received: from [192.168.42.146] (wsip-184-183-177-134.dc.dc.cox.net. [184.183.177.134]) by mx.google.com with ESMTPS id b4sm30934204anb.22.2012.03.06.07.55.12 (version=SSLv3 cipher=OTHER); Tue, 06 Mar 2012 07:55:12 -0800 (PST) Message-ID: <4F56335E.9080802@brandonfa.lk> Date: Tue, 06 Mar 2012 10:55:10 -0500 From: Brandon Falk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: Ian Lepore References: <4F55A0EA.8000300@gmail.com> <4f5635d4.5Qp6ViEgiFLUuPKI%perryh@pluto.rain.com> <4F562C38.4010203@brandonfa.lk> <1331048954.32194.5.camel@revolution.hippie.lan> In-Reply-To: <1331048954.32194.5.camel@revolution.hippie.lan> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQnGQ3g1SYFJpu2bFYCV7zI7Qr5Hck+GvwMWfpiPBNoQR7z4KYrEQyHZreS0GBsq+FZ1DlQ5 Cc: freebsd-hackers@freebsd.org Subject: Re: Graphical Terminal Environment X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 15:55:14 -0000 On 3/6/2012 10:49 AM, Ian Lepore wrote: > > With that model and your statement that the driver should support only > primitive functions to draw lines and dots, that leaves the non-trivial > problem of font rendering to the app. Given your original goal, font > rendering is pretty much the bulk of what you want to do, is the app > layer the right place for it? > > -- Ian > > I'd plan to have it do more than just lines and dots. Pretty much anything you'd need to set up a basic interface with text, boxes, maybe circles. Just an API similar to OpenGL for 2d graphics minus shading and lighting. Think of anything you'd need for making simple 2d apps, and I'd throw it in. I completely understand the concept of having the app do as little of the graphics processing as possible. I'm not sure why I didn't mention the ability to draw fonts in the previous email. Think of a mix of ncurses simplicity for text-only apps, but with a twist of support for primitive drawing capabilities (line and dots [text drawing is just implied]). -Brandon From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 16:19:50 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82ACC106564A for ; Tue, 6 Mar 2012 16:19:50 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 037DA8FC14 for ; Tue, 6 Mar 2012 16:19:49 +0000 (UTC) Received: by wgbds12 with SMTP id ds12so4523367wgb.31 for ; Tue, 06 Mar 2012 08:19:49 -0800 (PST) Received-SPF: pass (google.com: domain of amvandemore@gmail.com designates 10.216.133.9 as permitted sender) client-ip=10.216.133.9; Authentication-Results: mr.google.com; spf=pass (google.com: domain of amvandemore@gmail.com designates 10.216.133.9 as permitted sender) smtp.mail=amvandemore@gmail.com; dkim=pass header.i=amvandemore@gmail.com Received: from mr.google.com ([10.216.133.9]) by 10.216.133.9 with SMTP id p9mr8829322wei.9.1331050789164 (num_hops = 1); Tue, 06 Mar 2012 08:19:49 -0800 (PST) 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=MW+SC3QfotuVyvZbnIHl/tj61weK6g70dBAg1RvFQjI=; b=W9isTgxuDQaIqRwScuEvnxlAcbL+MHcVv1Q/tEyKdBgfNcC4yiENHvjxBsIWBMU23y lVd5xPVyr3S1zLXtgF6h+EmAoO+upFU0bs61++ZbtCASAZKhSLyVyf5YJd1PrUYIkgRI jjwSqV2u3vgvtDe1SWlUlOVI+Cne4PtDwXGsTO8HfmN+b/tjv3uK2TWiNhHQ3z8hJCmS +cvDQ+6ed6jSG5C3EcUfq/P6yClO76Ia3BT8Qe2RLWQHGLZPCttZzR7vQ4xbhZdpb7Lp xejbxRh1eIvOmpQLLXA7FPJVnRPTRQ74S3zTp8QRMJHUwFgZnXXriFvoiWVaMOZkjvKv +EKQ== MIME-Version: 1.0 Received: by 10.216.133.9 with SMTP id p9mr7051818wei.9.1331050789099; Tue, 06 Mar 2012 08:19:49 -0800 (PST) Received: by 10.223.93.138 with HTTP; Tue, 6 Mar 2012 08:19:48 -0800 (PST) In-Reply-To: <4F56335E.9080802@brandonfa.lk> References: <4F55A0EA.8000300@gmail.com> <4f5635d4.5Qp6ViEgiFLUuPKI%perryh@pluto.rain.com> <4F562C38.4010203@brandonfa.lk> <1331048954.32194.5.camel@revolution.hippie.lan> <4F56335E.9080802@brandonfa.lk> Date: Tue, 6 Mar 2012 10:19:48 -0600 Message-ID: From: Adam Vande More To: Brandon Falk Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Ian Lepore , freebsd-hackers@freebsd.org Subject: Re: Graphical Terminal Environment X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 16:19:50 -0000 On Tue, Mar 6, 2012 at 9:55 AM, Brandon Falk wrote: > > I'd plan to have it do more than just lines and dots. Pretty much anything > you'd > need to set up a basic interface with text, boxes, maybe circles. Just an > API > similar to OpenGL for 2d graphics minus shading and lighting. Think of > anything > you'd need for making simple 2d apps, and I'd throw it in. > Sounds like you are reinventing SDL. -- Adam Vande More From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 16:27:12 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 685F61065673 for ; Tue, 6 Mar 2012 16:27:12 +0000 (UTC) (envelope-from bfalk_bsd@brandonfa.lk) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 00D1C8FC14 for ; Tue, 6 Mar 2012 16:27:11 +0000 (UTC) Received: by ggnk4 with SMTP id k4so2660232ggn.13 for ; Tue, 06 Mar 2012 08:27:11 -0800 (PST) Received-SPF: pass (google.com: domain of bfalk_bsd@brandonfa.lk designates 10.236.185.42 as permitted sender) client-ip=10.236.185.42; Authentication-Results: mr.google.com; spf=pass (google.com: domain of bfalk_bsd@brandonfa.lk designates 10.236.185.42 as permitted sender) smtp.mail=bfalk_bsd@brandonfa.lk; dkim=pass header.i=bfalk_bsd@brandonfa.lk Received: from mr.google.com ([10.236.185.42]) by 10.236.185.42 with SMTP id t30mr33899997yhm.105.1331051231375 (num_hops = 1); Tue, 06 Mar 2012 08:27:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brandonfa.lk; s=google; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=c4/Xgyfg0KoYVYstpaXS5cODRj26kGeAvR3BcLh9mkc=; b=hLG617UwiX3KNvw8LVwleiLviW21MP4BBHAHapa+N3fUxuyPcsYouflBsNBmbJMh09 PpmL8bMUWZILIHIYx41q2ReMxTSn3Xwe0eHrJIrs6W/UJ1lr4Ko0rOebeLnc7hFgx6Nt /k+9SAhwBdvEge40TQEkdNU8AW2D+EsDp2U0o= Received: by 10.236.185.42 with SMTP id t30mr26925574yhm.105.1331051231206; Tue, 06 Mar 2012 08:27:11 -0800 (PST) Received: from [192.168.42.146] (wsip-184-183-177-134.dc.dc.cox.net. [184.183.177.134]) by mx.google.com with ESMTPS id e8sm5267558yhk.0.2012.03.06.08.27.10 (version=SSLv3 cipher=OTHER); Tue, 06 Mar 2012 08:27:10 -0800 (PST) Message-ID: <4F563ADC.4000607@brandonfa.lk> Date: Tue, 06 Mar 2012 11:27:08 -0500 From: Brandon Falk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: Adam Vande More References: <4F55A0EA.8000300@gmail.com> <4f5635d4.5Qp6ViEgiFLUuPKI%perryh@pluto.rain.com> <4F562C38.4010203@brandonfa.lk> <1331048954.32194.5.camel@revolution.hippie.lan> <4F56335E.9080802@brandonfa.lk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQn9qAXSld58Lt0BTjOaKOSZcGQHIYCgydKPrLS4cVhhhoqbp2SYDBEa3xI9sDtEqSECiDjm Cc: freebsd-hackers@freebsd.org Subject: Re: Graphical Terminal Environment X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 16:27:12 -0000 On 3/6/2012 11:19 AM, Adam Vande More wrote: > On Tue, Mar 6, 2012 at 9:55 AM, Brandon Falk > wrote: > > > I'd plan to have it do more than just lines and dots. Pretty much anything > you'd > need to set up a basic interface with text, boxes, maybe circles. Just an API > similar to OpenGL for 2d graphics minus shading and lighting. Think of > anything > you'd need for making simple 2d apps, and I'd throw it in. > > > Sounds like you are reinventing SDL. > > > > -- > Adam Vande More SDL is massive to what I plan on doing, and SDL is dependent on X11. I don't plan on making it powerful enough to really do any graphics, although I'd branch the driver, one for minimal use in a high resolution terminal environment, and the other could be for maybe designing a whole new future for even games and such. -Brandon From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 17:30:22 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC22A1065675 for ; Tue, 6 Mar 2012 17:30:22 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 968AC8FC1C for ; Tue, 6 Mar 2012 17:30:22 +0000 (UTC) Received: by vcmm1 with SMTP id m1so4142196vcm.13 for ; Tue, 06 Mar 2012 09:30:16 -0800 (PST) Received-SPF: pass (google.com: domain of tevans.uk@googlemail.com designates 10.220.229.65 as permitted sender) client-ip=10.220.229.65; Authentication-Results: mr.google.com; spf=pass (google.com: domain of tevans.uk@googlemail.com designates 10.220.229.65 as permitted sender) smtp.mail=tevans.uk@googlemail.com; dkim=pass header.i=tevans.uk@googlemail.com Received: from mr.google.com ([10.220.229.65]) by 10.220.229.65 with SMTP id jh1mr3778202vcb.2.1331055016290 (num_hops = 1); Tue, 06 Mar 2012 09:30:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=9NpUbJuTcAXy1ndLULktRnTqfOGUMEtEdl1QJ83pLOk=; b=AyVzeqK+J8hWpJyRNqwvCHkwIeq+XqEMBo2Aov3Q5RxotFLrcSIwvmzj/hyLAV73yY ElwmdhRRi2kLp1IHnwFaaa9+FUQVRAQJD+5iv/nDJRJrVoFBrnH20b3mtwuplq0vyjzJ aDePtUC4DctRj4lOukuTOaUD060j91tdTZ4ifdHe8NuOfjS2JcWOz+RrYwNCUR0iwsqV KF63H5FCTJn50/GLmivmsbvKgGr4Wfh8WZ7vOBacwSQD5OtrVuX5YotcyO/ShWQ+md9k k9Jb9wX1TDf50Dsn04hirXU3fpbOMisGADmSWox9XdCXcdpPx6SiPeuEX3WhwIvr6NeT Rj3Q== MIME-Version: 1.0 Received: by 10.220.229.65 with SMTP id jh1mr3253817vcb.2.1331055016235; Tue, 06 Mar 2012 09:30:16 -0800 (PST) Received: by 10.52.110.100 with HTTP; Tue, 6 Mar 2012 09:30:16 -0800 (PST) In-Reply-To: <4F563ADC.4000607@brandonfa.lk> References: <4F55A0EA.8000300@gmail.com> <4f5635d4.5Qp6ViEgiFLUuPKI%perryh@pluto.rain.com> <4F562C38.4010203@brandonfa.lk> <1331048954.32194.5.camel@revolution.hippie.lan> <4F56335E.9080802@brandonfa.lk> <4F563ADC.4000607@brandonfa.lk> Date: Tue, 6 Mar 2012 17:30:16 +0000 Message-ID: From: Tom Evans To: Brandon Falk Content-Type: text/plain; charset=UTF-8 Cc: freebsd-hackers@freebsd.org Subject: Re: Graphical Terminal Environment X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 17:30:23 -0000 On Tue, Mar 6, 2012 at 4:27 PM, Brandon Falk wrote: > SDL is massive to what I plan on doing, and SDL is dependent on X11. Incorrect. SDL has no dependency upon X. Linux users can run SDL applications directly on a framebuffer device. Cheers Tom From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 18:08:38 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0335C1065674 for ; Tue, 6 Mar 2012 18:08:38 +0000 (UTC) (envelope-from bfalk_bsd@brandonfa.lk) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id A35F28FC0C for ; Tue, 6 Mar 2012 18:08:37 +0000 (UTC) Received: by ghrr20 with SMTP id r20so2753119ghr.13 for ; Tue, 06 Mar 2012 10:08:36 -0800 (PST) Received-SPF: pass (google.com: domain of bfalk_bsd@brandonfa.lk designates 10.236.154.168 as permitted sender) client-ip=10.236.154.168; Authentication-Results: mr.google.com; spf=pass (google.com: domain of bfalk_bsd@brandonfa.lk designates 10.236.154.168 as permitted sender) smtp.mail=bfalk_bsd@brandonfa.lk; dkim=pass header.i=bfalk_bsd@brandonfa.lk Received: from mr.google.com ([10.236.154.168]) by 10.236.154.168 with SMTP id h28mr34898273yhk.59.1331057316936 (num_hops = 1); Tue, 06 Mar 2012 10:08:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brandonfa.lk; s=google; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=N8ZJPqwzkNDlETFyHGAway4qloVfBJ3Tx7d2RtxwL6I=; b=ILkj/iWxhYW/jiyL6j4MPIP8eCrdrzxeG6GsngPFpIGBN34ScRUBQsnrm0tFphLXhU u4YpasXxTnEjgUPuTPCIefdG6L2kitvhDdRRiNnyEJ6VxKOdbjjqyoCKXjZmn13bW7Jl NlTl6F4Xvnj9pV93sA9syJ8KAq2eYO9+kFZVs= Received: by 10.236.154.168 with SMTP id h28mr27728631yhk.59.1331057316841; Tue, 06 Mar 2012 10:08:36 -0800 (PST) Received: from [192.168.42.146] (wsip-184-183-177-134.dc.dc.cox.net. [184.183.177.134]) by mx.google.com with ESMTPS id n10sm31637326ani.8.2012.03.06.10.08.36 (version=SSLv3 cipher=OTHER); Tue, 06 Mar 2012 10:08:36 -0800 (PST) Message-ID: <4F5652A1.30502@brandonfa.lk> Date: Tue, 06 Mar 2012 13:08:33 -0500 From: Brandon Falk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: Tom Evans References: <4F55A0EA.8000300@gmail.com> <4f5635d4.5Qp6ViEgiFLUuPKI%perryh@pluto.rain.com> <4F562C38.4010203@brandonfa.lk> <1331048954.32194.5.camel@revolution.hippie.lan> <4F56335E.9080802@brandonfa.lk> <4F563ADC.4000607@brandonfa.lk> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQn2HJhfTE4Py6lbxiwnR2wogUuC08/RWpuaGedYUvz0iZs4rkIDELa2XZLDZhsN55pcnxm9 Cc: freebsd-hackers@freebsd.org Subject: Re: Graphical Terminal Environment X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 18:08:38 -0000 On 3/6/2012 12:30 PM, Tom Evans wrote: > On Tue, Mar 6, 2012 at 4:27 PM, Brandon Falk wrote: >> SDL is massive to what I plan on doing, and SDL is dependent on X11. > > Incorrect. SDL has no dependency upon X. Linux users can run SDL > applications directly on a framebuffer device. > > Cheers > > Tom According to wikipedia: "On X Window System platforms, including Linux and OpenVMS , SDL uses Xlib to communicate with the X11 system for graphics and events." I'd have to look into that if it does work without xlib/X11. Although SDL is under the GPL still and I'd love to write mine under the BSD license. (If you haven't noticed, I'm going to keep finding excuses to write this as I really am kindof excited to learn/work on it) -Brandon From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 18:10:11 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 024871065670 for ; Tue, 6 Mar 2012 18:10:10 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id B1FDF8FC0A for ; Tue, 6 Mar 2012 18:10:10 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa03 [127.0.0.1]) by ltcfislmsgpa03.fnfis.com (8.14.4/8.14.4) with SMTP id q26HRGlr027915; Tue, 6 Mar 2012 12:10:08 -0600 Received: from smtp.fisglobal.com ([10.132.206.16]) by ltcfislmsgpa03.fnfis.com with ESMTP id 13dq09065h-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 06 Mar 2012 12:10:08 -0600 Received: from dtwin (10.14.152.15) by smtp.fisglobal.com (10.132.206.16) with Microsoft SMTP Server (TLS) id 14.1.323.3; Tue, 6 Mar 2012 12:10:06 -0600 From: Devin Teske To: "'Alexander Best'" References: <0b7101ccfb32$58d459f0$0a7d0dd0$@fisglobal.com> <20120306091003.GA77008@freebsd.org> In-Reply-To: <20120306091003.GA77008@freebsd.org> Date: Tue, 6 Mar 2012 10:10:08 -0800 Message-ID: <0bbc01ccfbc4$60904090$21b0c1b0$@fisglobal.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQLS9piWUR7xucLc87xGisvlu1lPqALnvp0ilDpN9kA= Content-Language: en-us X-Originating-IP: [10.14.152.15] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.6.7498, 1.0.260, 0.0.0000 definitions=2012-03-06_05:2012-03-06, 2012-03-06, 1970-01-01 signatures=0 Cc: freebsd-hackers@freebsd.org, 'Ron McDowell' Subject: RE: [PREVIEW] bsdconfig(8) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 18:10:11 -0000 Hi Alex, Thanks for your feedback! Thoughts inline below... > -----Original Message----- > From: Alexander Best [mailto:arundel@freebsd.org] > Sent: Tuesday, March 06, 2012 1:10 AM > To: Devin Teske > Cc: freebsd-hackers@freebsd.org; Ron McDowell > Subject: Re: [PREVIEW] bsdconfig(8) > > On Mon Mar 5 12, Devin Teske wrote: > > Hiya fellow -hackers@ > > > > Many have complained that bsdinstall(8) does only a fraction of sysinstall(8). > > This complaint is generally understood to be in-relation to the "Configure" > menu > > of sysinstall(8). > > > > Some here may already know that Ron McDowell and I have been hard at- > work > > developing the replacement for sysinstall(8)'s "Configure" menu -- which we > have > > named bsdconfig(8). > > > > bsdconfig(8), together with already-existing bsdinstall(8), should fill the > > gap(s) when sysinstall(8) goes-away in FreeBSD-10. > > > > bsdconfig(8) is being designed with the intention of being MFC'd to 9, so that > > sysinstall(8) and bsdconfig(8) can co-exist side-by-side while the bugs are > > worked out in RELENG_9. > > > > Later down the road, 10.0 would have only bsdinstall(8) and bsdconfig(8) > > (sysinstall(8) would no longer be provided). > > > > Thus, allowing a smooth transition away from sysinstall(8). > > > > With all that being said, without further ado, let me introduce the latest > > preview: > > > > http://druidbsd.sf.net/download/bsdconfig/ > > > > NOTE: As of this writing, latest version is "bsdconfig.120305.txz" obtainable > > from the above directory > > > > PRE-REQUISITES: > > > > You need an already-checked-out version of the FreeBSD source tree > (preferably > > 9.0 or higher). > > > > INSTRUCTIONS: > > > > 1. cd /usr/src Correction... cd /usr/src/usr.sbin > > 2. fetch > http://druidbsd.sf.net/download/bsdconfig/bsdconfig.120305.txz > > 3. tar zxf bsdconfig.120305.txz > > 4. cd bsdconfig > > 5. sudo make install > > > > HOW TO USE: > > > > bsdconfig -h > > bsdconfig > > > > NOTE: If sudo(8) is installed, no need to run as root (bsdconfig will handle > > this for you -- if/when root privileges are needed, you'll be prompted for your > > sudo(8) credentials). > > > > If you have an X11 display and have xauth(1) installed, try this in an X11 > > session: > > > > bsdconfig -X > > > > Some other things to try for fun: > > > > bsdconfig hostname > > # jump directly to hostname configuration > > > > bsdconfig users > > # jump directly to user management > > > > bsdconfig networking > > # jump directly to network management > > > > bsdconfig defaultrouter > > # jump directly to defaultrouter configuration > > > > bsdconfig nameservers > > # jump directly to DNS nameserver configuration > > > > bsdconfig docsinstall > > # jump directly to documentation installation > > > > bsdconfig timezone > > # jump directly to timezone configuration > > > > bsdconfig timezone -X > > # Configure the timezone using X11 GUI > > > > bsdconfig timezone -h > > # See timezone usage (for which there are many options) > > > > ERRATA: > > > > "Documentation Installation" is fully functional > > "Network Management" is fully functional > > "Time Zone" is fully functional > > > > and > > > > "Login/Group Management" is mostly functional (group add/edit/delete not > done > > yet) > > > > Rest of the remaining modules are not functional yet. > > > > We continue to work very hard on this every day and look forward to any/all > > feedback, comments, suggestions, and snide remarks. > > great work. a few questions or rather suggestions: > > 1) why are there two ways to exit bsdconfig? one being "X Exit" and the other > one being ""? If we change the label back to its default value of "Cancel", is it any different? What exactly would one be cancelling (as nothing has been selected yet)? I rather like the renamed "Cancel" button. Oh, and there's a lot more than 2 ways to exit bsdconfig(8): (from the main menu) 1. Choose "Exit" 2. Select "Exit bsdconfig" 3. Press ESC on the keyboard 4. (X11-only) Click the "X" close widget 5. (bug) If TERM is set to something other than cons25, pressing SHIFT+TAB will cause exit 6. (bug; Apple X11 only) If using X11 Forwarding to a Mac running Apple's X11 App, attempting to scroll a menu that is not scrollable with the mouse "wheel" (including two-finger up/down gesture) will cause exit. #5 remains as an open FreeBSD bug on the command-line and has already been filed as PR bin/151229). #6 remains as an open Apple bug in X11. Other bugs also exist in Apple X11 (like the fact that pressing ENTER to dismiss a dialog causes subsequent dialogs to be immediately dismissed as though the user is holding ENTER, though is not; work-around is to only use the mouse when interacting with Xdialog(1) via Apple's X11 App). I don't see a problem with giving the user multiple ways out (and labeling each correctly as such). > 2) the highlighted first letters suggest that these are shortcuts. they work > great for the actual menu items, but for "" and "", > pressing O and E doesn't work. in fact E is already taken by "Startup". This simply isn't how dialog(1) works. I would suggest filing a PR against dialog(1) but I think things are set in stone. I perceive your issue to be with the highlighted first-letters of the buttons. Mind you that I don't have control over this, it's the default functionality of dialog(1) to do this. NOTE: Xdialog(1) (enabled by passing `-X' for X11 GUI) does not do this. In fact, Xdialog(1) doesn't even allow type-ahead for the menu items. > 3) when bsdconfig starts the note regarding the packages shouldn't state > "Pascal". most people probably don't know what pascal is. ;) how about > VirtualBox or chromium? these packages are probably used by a lot more > users. ^_^ Agreed. Ron, can we change this? Thoughts: I'm thinking that we should name some high-visibility software here. Say... Firefox :-D > 4) do we really need fdisk and disklabel? hasn't freebsd moved onto gpart > and glabel? > I've been thinking about this a lot lately. I've been thinking that we should combine the Fdisk and DiskLabel menus into a single menu that calls sade(8). Thoughts? Again, thank you for all the feedback, Alex. -- Devin _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 18:13:29 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0EB47106566C for ; Tue, 6 Mar 2012 18:13:29 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id A6A2C8FC18 for ; Tue, 6 Mar 2012 18:13:28 +0000 (UTC) Received: by vbmv11 with SMTP id v11so5888130vbm.13 for ; Tue, 06 Mar 2012 10:13:27 -0800 (PST) Received-SPF: pass (google.com: domain of tevans.uk@googlemail.com designates 10.52.93.138 as permitted sender) client-ip=10.52.93.138; Authentication-Results: mr.google.com; spf=pass (google.com: domain of tevans.uk@googlemail.com designates 10.52.93.138 as permitted sender) smtp.mail=tevans.uk@googlemail.com; dkim=pass header.i=tevans.uk@googlemail.com Received: from mr.google.com ([10.52.93.138]) by 10.52.93.138 with SMTP id cu10mr3625445vdb.86.1331057607918 (num_hops = 1); Tue, 06 Mar 2012 10:13:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=BpVxFVscLvAfXrme46KJoUYCgx6iBSlO7w65S5LPKFo=; b=SloIq+k/zxUO4eTtOPaDgqBW0Jyuy/PjidAuj2oTaU08xjB59XkTt47RLurTTDk8pS Wymhn7vpITrhgVTE0NZXXxY1L6a+co3KfDg7P8H3B+SSTgrykKl5ZmA8KLrsTemRXpPY 6RORLYLM0mYi+gO8wDnnl7JUW+JPZpcsTRHRVoZQ/R8fbx76SDvCiFame4pKgB2ZUXV0 9V0xKZaHYvYwSyjNZVzWftIUIoue/AnPfT7IZaLKolIKAlzntE+h6VADln4BB/qeh2WS RWU+O3KPuaPIbWFYqGOpHTLYLK1xlZsIHGDXaUGr+4FVPkEUKh96Nxt8K/u+ZFPQWMEt frwQ== MIME-Version: 1.0 Received: by 10.52.93.138 with SMTP id cu10mr3097761vdb.86.1331057607848; Tue, 06 Mar 2012 10:13:27 -0800 (PST) Received: by 10.52.110.100 with HTTP; Tue, 6 Mar 2012 10:13:27 -0800 (PST) In-Reply-To: <4F5652A1.30502@brandonfa.lk> References: <4F55A0EA.8000300@gmail.com> <4f5635d4.5Qp6ViEgiFLUuPKI%perryh@pluto.rain.com> <4F562C38.4010203@brandonfa.lk> <1331048954.32194.5.camel@revolution.hippie.lan> <4F56335E.9080802@brandonfa.lk> <4F563ADC.4000607@brandonfa.lk> <4F5652A1.30502@brandonfa.lk> Date: Tue, 6 Mar 2012 18:13:27 +0000 Message-ID: From: Tom Evans To: Brandon Falk Content-Type: text/plain; charset=UTF-8 Cc: freebsd-hackers@freebsd.org Subject: Re: Graphical Terminal Environment X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 18:13:29 -0000 On Tue, Mar 6, 2012 at 6:08 PM, Brandon Falk wrote: > On 3/6/2012 12:30 PM, Tom Evans wrote: >> On Tue, Mar 6, 2012 at 4:27 PM, Brandon Falk wrote: >>> SDL is massive to what I plan on doing, and SDL is dependent on X11. >> >> Incorrect. SDL has no dependency upon X. Linux users can run SDL >> applications directly on a framebuffer device. >> >> Cheers >> >> Tom > According to wikipedia: "On X Window System > platforms, including Linux > and OpenVMS > , SDL uses Xlib > to communicate with the X11 system for > graphics and events." > > I'd have to look into that if it does work without xlib/X11. Although SDL is > under the GPL still and I'd love to write mine under the BSD license. (If you > haven't noticed, I'm going to keep finding excuses to write this as I really am > kindof excited to learn/work on it) > > -Brandon "According to wikipedia" is the worst way to start a rebuttal! SDL can run on many backends. When it runs on an X11 backend, it does indeed use Xlib to communicate with X11. When it runs on Windows, or OS X, or Linux fbdev, it does not. Cheers Tom From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 18:30:47 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 129661065688; Tue, 6 Mar 2012 18:30:47 +0000 (UTC) (envelope-from rcm@fuzzwad.org) Received: from mail.volente.us (unknown [IPv6:2001:470:7:d47::2]) by mx1.freebsd.org (Postfix) with ESMTP id C88248FC19; Tue, 6 Mar 2012 18:30:46 +0000 (UTC) Received: from shiny-w0.fuzzwad.net (localhost [127.0.0.1]) by mail.volente.us (8.14.4/8.14.4) with ESMTP id q26IUiVG080113; Tue, 6 Mar 2012 12:30:44 -0600 (CST) (envelope-from rcm@fuzzwad.org) Message-ID: <4F5657D4.3070009@fuzzwad.org> Date: Tue, 06 Mar 2012 12:30:44 -0600 From: Ron McDowell User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: Devin Teske References: <0b7101ccfb32$58d459f0$0a7d0dd0$@fisglobal.com> <20120306091003.GA77008@freebsd.org> <0bbc01ccfbc4$60904090$21b0c1b0$@fisglobal.com> In-Reply-To: <0bbc01ccfbc4$60904090$21b0c1b0$@fisglobal.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 06 Mar 2012 18:48:51 +0000 Cc: 'Alexander Best' , freebsd-hackers@freebsd.org Subject: Re: [PREVIEW] bsdconfig(8) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 18:30:47 -0000 Not sure this will get to -hackers, I'm not on their list. More below... On 3/6/12 12:10 PM, Devin Teske wrote: >> 3) when bsdconfig starts the note regarding the packages shouldn't state >> "Pascal". most people probably don't know what pascal is. ;) how about >> VirtualBox or chromium? these packages are probably used by a lot more >> users. > ^_^ Agreed. Ron, can we change this? > > Thoughts: I'm thinking that we should name some high-visibility software here. > Say... Firefox :-D That text was snagged verbatim from sysinstall. I'm open to any changes there. >> 4) do we really need fdisk and disklabel? hasn't freebsd moved onto gpart >> and glabel? >> > I've been thinking about this a lot lately. > > I've been thinking that we should combine the Fdisk and DiskLabel menus into a > single menu that calls sade(8). > > Thoughts? I'd agree with that for the 10.0 version. For 9.x I'd rather see them separate as that's the way they are in sysinstall. Make sense? -- Ron McDowell San Antonio TX From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 19:03:21 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99EED1065678 for ; Tue, 6 Mar 2012 19:03:21 +0000 (UTC) (envelope-from mwm@mired.org) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 50DDF8FC0A for ; Tue, 6 Mar 2012 19:03:21 +0000 (UTC) Received: by ggnk4 with SMTP id k4so2808175ggn.13 for ; Tue, 06 Mar 2012 11:03:20 -0800 (PST) Received: by 10.50.149.163 with SMTP id ub3mr9092307igb.30.1331059207214; Tue, 06 Mar 2012 10:40:07 -0800 (PST) Received: from bhuda.mired.org (74-140-201-117.dhcp.insightbb.com. [74.140.201.117]) by mx.google.com with ESMTPS id ko6sm10596913igc.2.2012.03.06.10.40.06 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 06 Mar 2012 10:40:06 -0800 (PST) Date: Tue, 6 Mar 2012 13:39:58 -0500 From: Mike Meyer To: freebsd-hackers@freebsd.org Message-ID: <20120306133958.008f1df2@bhuda.mired.org> In-Reply-To: References: Organization: Meyer Consulting X-Mailer: Claws Mail 3.7.10 (GTK+ 2.22.1; amd64-portbld-freebsd8.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAG1BMVEXguIzRkGnhyaz069mXhW0WHRnbrnR9WCQ6LB0CchNMAAACSUlEQVQ4jV2TQW7jMAxFGaPQOgQEdZaGMsgBrAvUA03dCxj1Uu4U2gfwQD7AGNax51NK07RcxXz6/CSl0Ij450vkPG1jzpIZM1UwDCl/xB14TWnNX8A00Qj5a0mnVFVbVUz4MeErea2HikSRqZzY894zwg9p2+/AtO8LzxFED+tNAUFeU29iFOLRxlZAcdo9A8wi8ZBMV4BKPde82Oxrvs6BTkulQIClte0DLFzzsKk9j1MBex8iUaP00Bd78S/muyFScrTXz6zLkEUxJp+SabQfNOs4f4Jpx5qSZ/304PWwlEWP1cOn/mJQR7EOD+uKhjcBLziuL7xoY5Xm+VFAUSw/LwwwsHEHxihpwV4EJH0xXRkbw1PkRw+X4pEuSJwBggqk+HEYKkiL5/74/nQkogigzQsAFrakxZyfw3wMIEEZPv4AWMfxwqE5GNxGaERjmH+PG8AE0L4/w9g0lsp1raLYAN5azQa+AOoO9NwcpFkTrG2VKNMNEL5UKUUAw34tha0z7onUG0oBoNtczE04GwFE3wCHc0ChezAJ6A1WMV81AtY7wDAJSlXwV+4cwBvsOsrQMRawfQEBz0deEZ7WNpV2szckIKo5VpDHDSDvF1GItwqqAlG01Hh50BGtVhuUkjkasg/14bYFGCgWg1fSWHvmOoJck2xdp9ZvZBHzDVTzX23TkrOn7qe5U2COEw5D4Vx3qEQpFY2Z/3QFnJxzp7YCmSMG19nOUoe869zZfOQb5ywQuWu0yCn5+8gxZz+BE7vG3j4/wbf4D/sXN9Wug1s7AAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQk6AjhUqcDSfyGvxD5f6pqW3QBvkkSf6yDYbstGujTBc2cYjWqYaOljNP2rodYIx99KPo9K Subject: Re: Graphical Terminal Environment X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 19:03:21 -0000 On Mon, 5 Mar 2012 23:39:57 -0500 Brandon Falk wrote: > I've been thinking for a while about possibly making an extremely > lightweight environment that supports full monitor resolution, custom > fonts, and terminals... that's about it. > > Essentially, an x11 that only supports tiling xterms all over the place. I > do everything through terminals, and I think it'd be a fun project to make > something that's only purpose is to make it so you can use your entire > screen to its fullest (larger resolutions, smaller fonts, etc). Just a > graphical tty. Since no one has mentioned it, if that's all you want, then all you really need to do is figure out how create one max-sized terminal on each physical screen. The screen command (ports/sysutils/screen) will then let you create multiple shell sessions on each screen, including tiling multiple sessions on the screen. It didn't interact well with emacs, and emacs would do pretty much everything I wanted it to do, so I stopped using it a while back for that kind of thing. I also find the comment that "X is quite large" amusing, because I wind up comparing it to the competition (the Mac UI being the only other current one that runs on top of Unix), and it looks quite compact. You might try a custom build of X, turning off all the stuff you don't need, and disabling the loading of any extensions you don't need, and see how much you can shrink it by before tackling rewriting it. You may even be able to lose the requirement for a pointer. I'm also curious as to why you want the ability to draw lines, circles, etc. to handle an array of terminals. Screen shows that can be done with nothing but a CGA. It might be education, though. http://www.mired.org/ Independent Software developer/SCM consultant, email for more information. O< ascii ribbon campaign - stop html mail - www.asciiribbon.org From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 19:08:55 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E38D3106567D for ; Tue, 6 Mar 2012 19:08:54 +0000 (UTC) (envelope-from bfalk_bsd@brandonfa.lk) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 982AB8FC25 for ; Tue, 6 Mar 2012 19:08:54 +0000 (UTC) Received: by ggnk4 with SMTP id k4so2813371ggn.13 for ; Tue, 06 Mar 2012 11:08:54 -0800 (PST) Received-SPF: pass (google.com: domain of bfalk_bsd@brandonfa.lk designates 10.236.165.34 as permitted sender) client-ip=10.236.165.34; Authentication-Results: mr.google.com; spf=pass (google.com: domain of bfalk_bsd@brandonfa.lk designates 10.236.165.34 as permitted sender) smtp.mail=bfalk_bsd@brandonfa.lk; dkim=pass header.i=bfalk_bsd@brandonfa.lk Received: from mr.google.com ([10.236.165.34]) by 10.236.165.34 with SMTP id d22mr35261768yhl.86.1331060934070 (num_hops = 1); Tue, 06 Mar 2012 11:08:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brandonfa.lk; s=google; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=+ZUTNbbBYyw/AvJ7ZY+A48BAU7MQ46nRi5l/UAUv8Ds=; b=oMFLUEJx3pOvqtW8Z+oLwYC77v1MngBg8ieGA/mIVTHKE+tbxqBdrDWRoVEC0GogwP S7pWBf0m8pL4a96s6Q6YKWB/H2AiPS3DLSw70m8crbEf6Kx6cScenYXiBiZcgmFLosrL 3Mebpk2rMFzGOx9yDCZYfpH2zb7fyp4qCKz94= Received: by 10.236.165.34 with SMTP id d22mr27999316yhl.86.1331060933939; Tue, 06 Mar 2012 11:08:53 -0800 (PST) Received: from [192.168.42.146] (wsip-184-183-177-134.dc.dc.cox.net. [184.183.177.134]) by mx.google.com with ESMTPS id g7sm51331267yhm.5.2012.03.06.11.08.53 (version=SSLv3 cipher=OTHER); Tue, 06 Mar 2012 11:08:53 -0800 (PST) Message-ID: <4F5660C3.5090700@brandonfa.lk> Date: Tue, 06 Mar 2012 14:08:51 -0500 From: Brandon Falk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <20120306133958.008f1df2@bhuda.mired.org> In-Reply-To: <20120306133958.008f1df2@bhuda.mired.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQkpae3bv79c9e5d0KxAjjGq1UtWyZXR7mRaW1+QL4bYVoA0ckY2h5UmXL+Drc2YdNyc5e2O Subject: Re: Graphical Terminal Environment X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 19:08:55 -0000 On 3/6/2012 1:39 PM, Mike Meyer wrote: > On Mon, 5 Mar 2012 23:39:57 -0500 > Brandon Falk wrote: > >> I've been thinking for a while about possibly making an extremely >> lightweight environment that supports full monitor resolution, custom >> fonts, and terminals... that's about it. >> >> Essentially, an x11 that only supports tiling xterms all over the place. I >> do everything through terminals, and I think it'd be a fun project to make >> something that's only purpose is to make it so you can use your entire >> screen to its fullest (larger resolutions, smaller fonts, etc). Just a >> graphical tty. > Since no one has mentioned it, if that's all you want, then all you > really need to do is figure out how create one max-sized terminal on > each physical screen. The screen command (ports/sysutils/screen) will > then let you create multiple shell sessions on each screen, including > tiling multiple sessions on the screen. It didn't interact well with > emacs, and emacs would do pretty much everything I wanted it to do, so > I stopped using it a while back for that kind of thing. > > I also find the comment that "X is quite large" amusing, because I > wind up comparing it to the competition (the Mac UI being the only > other current one that runs on top of Unix), and it looks quite > compact. You might try a custom build of X, turning off all the stuff > you don't need, and disabling the loading of any extensions you don't > need, and see how much you can shrink it by before tackling rewriting > it. You may even be able to lose the requirement for a pointer. > > I'm also curious as to why you want the ability to draw lines, > circles, etc. to handle an array of terminals. Screen shows that can > be done with nothing but a CGA. It might be education, though. > > Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4D5F8106566C for ; Tue, 6 Mar 2012 19:03:36 +0000 (UTC) (envelope-from yoctogram@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id E5A568FC18 for ; Tue, 6 Mar 2012 19:03:35 +0000 (UTC) Received: by vcmm1 with SMTP id m1so4263016vcm.13 for ; Tue, 06 Mar 2012 11:03:35 -0800 (PST) Received-SPF: pass (google.com: domain of yoctogram@gmail.com designates 10.220.155.132 as permitted sender) client-ip=10.220.155.132; Authentication-Results: mr.google.com; spf=pass (google.com: domain of yoctogram@gmail.com designates 10.220.155.132 as permitted sender) smtp.mail=yoctogram@gmail.com; dkim=pass header.i=yoctogram@gmail.com Received: from mr.google.com ([10.220.155.132]) by 10.220.155.132 with SMTP id s4mr3944954vcw.65.1331060615175 (num_hops = 1); Tue, 06 Mar 2012 11:03:35 -0800 (PST) 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:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=6Wt6tEoZs1z4aD57+RjEmqLMYvVqd3eoo7GqnX98zF8=; b=kp0OOHnjUvziO1vhgcSUTLjsk9Dh7FQUCNDb5jLSWkug/SQ0l8Fih1dPPfUlDiLzG9 yrHmi0QvnJtZPtJzNWJs4puDhRT0mJFM+pl1bV+1M8Cvx4uYwINyKG12Tzhf1Li5vy+g +dO+1IbymHv25NQrnuF4bFl87s4B0QT5MlkZBnal06GeiHk9mJolbJbfrgtWEw7Ewi9t twGUHyyrslZ46gUbsUsx0yJha+9x62xiirXg0Ctqi8hQmTrxYimQFpRchp/kvuFELixR 30P5L8jtyVH3CYY9fQbZBPbgqW+uh/4RZ60AI26xEq+4h9VsNTTcOt8t0+j5aOAJPNbH xQfw== Received: by 10.220.155.132 with SMTP id s4mr3284221vcw.65.1331058735223; Tue, 06 Mar 2012 10:32:15 -0800 (PST) Received: from [192.168.1.100] (bas10-montrealak-1128593967.dsl.bell.ca. [67.68.250.47]) by mx.google.com with ESMTPS id ei6sm31942662vdc.6.2012.03.06.10.32.12 (version=SSLv3 cipher=OTHER); Tue, 06 Mar 2012 10:32:13 -0800 (PST) Message-ID: <4F565823.60102@gmail.com> Date: Tue, 06 Mar 2012 13:32:03 -0500 From: Yocto User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <4F55A0EA.8000300@gmail.com> <4f5635d4.5Qp6ViEgiFLUuPKI%perryh@pluto.rain.com> <4F562C38.4010203@brandonfa.lk> <1331048954.32194.5.camel@revolution.hippie.lan> <4F56335E.9080802@brandonfa.lk> <4F563ADC.4000607@brandonfa.lk> <4F5652A1.30502@brandonfa.lk> In-Reply-To: <4F5652A1.30502@brandonfa.lk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 06 Mar 2012 19:16:21 +0000 Subject: Re: Graphical Terminal Environment X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 19:03:36 -0000 On 2012-03-06 13:08, Brandon Falk wrote: > Although SDL is > under the GPL still and I'd love to write mine under the BSD license. SDL 2.0 is under zlib license. And we use it under NetBSD without X11. www.libsdl.org/license.php // Yocto From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 19:43:58 2012 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 8ADAD1065677 for ; Tue, 6 Mar 2012 19:43:58 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-hackers@FreeBSD.org Date: Tue, 6 Mar 2012 14:43:48 -0500 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201203061443.50562.jkim@FreeBSD.org> Cc: Subject: AMD confirms a CPU bug X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 19:43:58 -0000 [Moving the thread from amd64@ to hackers@] http://leaf.dragonflybsd.org/mailarchive/kernel/2012-03/msg00000.html This bug actually delayed DragonFly 3.0 release. FYI, here is Matt's detailed explanation and the hack to work around the issue for GCC 4.4: http://gitweb.dragonflybsd.org/dragonfly.git/commit/8e32ecc0a77082f1e232a3e6d12e2f163f9667a4 Jung-uk Kim From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 19:52:14 2012 Return-Path: Delivered-To: freebsd-hackers@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 54AB2106573F for ; Tue, 6 Mar 2012 19:52:14 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id D18298FC18 for ; Tue, 6 Mar 2012 19:52:13 +0000 (UTC) Received: by wibhn6 with SMTP id hn6so3818189wib.13 for ; Tue, 06 Mar 2012 11:52:13 -0800 (PST) Received-SPF: pass (google.com: domain of bf1783@googlemail.com designates 10.180.92.71 as permitted sender) client-ip=10.180.92.71; Authentication-Results: mr.google.com; spf=pass (google.com: domain of bf1783@googlemail.com designates 10.180.92.71 as permitted sender) smtp.mail=bf1783@googlemail.com; dkim=pass header.i=bf1783@googlemail.com Received: from mr.google.com ([10.180.92.71]) by 10.180.92.71 with SMTP id ck7mr33045071wib.3.1331063533055 (num_hops = 1); Tue, 06 Mar 2012 11:52:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=mime-version:reply-to:date:message-id:subject:from:to:content-type; bh=y1NqoFhVQu81HfAZYVouiVbzNuOiQd1U1FP69yxsobg=; b=b7Ipu8bk5L67FRiG0sKLttLcPUQb/vd2tCCqMPbOnP/TsFsT5iY0xY7AeiqwdZDlmv BuFSGKMGsKsORJbm17pwdw6A2U8D3xofpPslsp9eVPKo3CnwHdve/d0FGi41HxPQDkVh Ac53yOVGXb2aL/y3zCPxqTLWrld3LmVN9WGyqpmtKlnOf5WbS9rS7YOkI0X+sthH+oC2 rv73utMpuBdqz+euPHSip0V/g3ZdXvLBheoZzoetZ0NqGKMKCXg4WDKjhYOSmUS1ZDHc aMmYq7QR8kI0xYyIpc57NnA74SQ3F5dyfLBvzfPLRooqFAdsiZB5fDaCooqr1rHPUqTa fdzg== MIME-Version: 1.0 Received: by 10.180.92.71 with SMTP id ck7mr26413372wib.3.1331063532971; Tue, 06 Mar 2012 11:52:12 -0800 (PST) Received: by 10.180.94.42 with HTTP; Tue, 6 Mar 2012 11:52:12 -0800 (PST) Date: Tue, 6 Mar 2012 19:52:12 +0000 Message-ID: From: "b. f." To: Brandon Falk , freebsd-hackers@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: Graphical Terminal Environment X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 19:52:14 -0000 Brandon Falk wrote: > I've been thinking for a while about possibly making an extremely > lightweight environment that supports full monitor resolution, custom > fonts, and terminals... that's about it. You may also want to look at our system libvgl ( vgl(3) ), ports/devel/directfb ( http://directfb.org/ ), and ports/graphics/svgalib ( http://www.svgalib.org/ ). Someone has mentioned wayland -- there was also an older X variant called tinyX that is still used by some minimalistic Linux distributions, and was loosely based on the X.org kdrive server. b, From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 19:58:53 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id AC026106566C for ; Tue, 6 Mar 2012 19:58:53 +0000 (UTC) (envelope-from bfalk_bsd@brandonfa.lk) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6057F8FC14 for ; Tue, 6 Mar 2012 19:58:53 +0000 (UTC) Received: by yenl9 with SMTP id l9so2605381yen.13 for ; Tue, 06 Mar 2012 11:58:52 -0800 (PST) Received-SPF: pass (google.com: domain of bfalk_bsd@brandonfa.lk designates 10.236.43.68 as permitted sender) client-ip=10.236.43.68; Authentication-Results: mr.google.com; spf=pass (google.com: domain of bfalk_bsd@brandonfa.lk designates 10.236.43.68 as permitted sender) smtp.mail=bfalk_bsd@brandonfa.lk; dkim=pass header.i=bfalk_bsd@brandonfa.lk Received: from mr.google.com ([10.236.43.68]) by 10.236.43.68 with SMTP id k44mr35859996yhb.77.1331063932788 (num_hops = 1); Tue, 06 Mar 2012 11:58:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brandonfa.lk; s=google; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=f/sXIc91S6ZFkUimkSz9wFs7tX8L7tEdp2E8FDmfumE=; b=KikXTg8nrHDn9EkGtx1Q7XDo48I1JXAo4jfcTnkAPNwo6IQF4MyGllNSE1K0wFDg8a SnGZRknFEiZdUk0BWzVg1+Cj6g+7ZjznznllOy+o+9dha9vY1fV/c59TMAfI7uNW2N8N N63jHzy5i2dJ978jdcyBDY/yPV1zMfuq6jV9Q= Received: by 10.236.43.68 with SMTP id k44mr28470934yhb.77.1331063932619; Tue, 06 Mar 2012 11:58:52 -0800 (PST) Received: from [192.168.42.146] (wsip-184-183-177-134.dc.dc.cox.net. [184.183.177.134]) by mx.google.com with ESMTPS id o31sm41084856yhe.12.2012.03.06.11.58.51 (version=SSLv3 cipher=OTHER); Tue, 06 Mar 2012 11:58:52 -0800 (PST) Message-ID: <4F566C79.8030407@brandonfa.lk> Date: Tue, 06 Mar 2012 14:58:49 -0500 From: Brandon Falk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: bf1783@gmail.com References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQkEuNeKAgcF/Y5hNe4MTuczGM7HaXsvpWRmFAypYPWGcTjN3Wx4ftziR24oPgRNSgG9H64W Cc: freebsd-hackers@FreeBSD.org, "b. f." Subject: Re: Graphical Terminal Environment X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 19:58:53 -0000 On 3/6/2012 2:52 PM, b. f. wrote: > Brandon Falk wrote: > >> I've been thinking for a while about possibly making an extremely >> lightweight environment that supports full monitor resolution, custom >> fonts, and terminals... that's about it. > You may also want to look at our system libvgl ( vgl(3) ), > ports/devel/directfb ( http://directfb.org/ ), and > ports/graphics/svgalib ( http://www.svgalib.org/ ). Someone has > mentioned wayland -- there was also an older X variant called tinyX > that is still used by some minimalistic Linux distributions, and was > loosely based on the X.org kdrive server. > > b, Thanks for all the links. I'm going to have to try some of this out. I think I am just going to end up writing a minimal NVIDIA driver that can set the video mode, resolution, and draw some lines for now. I've never actually worked with a video card before, only BIOS VGA functions and framebuffers. -Brandon From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 21:04:44 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3DB661065674 for ; Tue, 6 Mar 2012 21:04:44 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (m209-73.dsl.rawbw.com [198.144.209.73]) by mx1.freebsd.org (Postfix) with ESMTP id 182FA8FC14 for ; Tue, 6 Mar 2012 21:04:43 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.5/8.14.5) with ESMTP id q26Kf1VC011151 for ; Tue, 6 Mar 2012 12:41:01 -0800 (PST) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.5/8.14.5/Submit) id q26Kf1OL011150 for hackers@freebsd.org; Tue, 6 Mar 2012 12:41:01 -0800 (PST) (envelope-from david) Date: Tue, 6 Mar 2012 12:41:01 -0800 From: David Wolfskill To: hackers@freebsd.org Message-ID: <20120306204101.GE1730@albert.catwhisker.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="lkTb+7nhmha7W+c3" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Subject: mtree(8) reporting of file modes X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 21:04:44 -0000 --lkTb+7nhmha7W+c3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable As I mentioned in , at work, we're trying to use mtree(8) to do reality checks on server configuration/provisioning. (We are not proposing the use of mtree to actually enforce a particular configuration -- we are only considering using it to generate specification files, then check aa given system against those specification files.) I had thought it odd (after running "mtree -c") that most of the entries in the resulting specification file failed to mention the mode of the file; this was the catalyst for the above-cited message. In the mean time, I started poking at the sources. Caveat: I'm not really a C programmer; the bulk of my background is in sysadmin-type positions (though I've been doing other stuff for the last 4 years). Anyway, I fairly quickly focused my attention on src/usr.sbin/mtree/create.c, in particular, on the statf() function therein. Most of this part of the code is barely changed since 4.4 Lite; the most recent change to the section in question (lines 207 - 208 from the version in head as of r232599) was made by rgrimes@ back in 1994. So I presume that there's something I'm overlooking or otherwise missing, since the folks who have been here before were certainly more clueful than I am. But the code in question: =2E.. 206 } 207 if (keys & F_MODE && (p->fts_statp->st_mode & MBITS) !=3D mode) 208 output(indent, &offset, "mode=3D%#o", p->fts_statp->st_= mode & MBITS); =2E.. is what outputs the "mode" to standard output. Here is (the bulk of) what I found: * The "keys & F_MODE" term merely tests to see if we are interested in reporting the file mode. (By default, we are.) * "p->fts_statp->st_mode" refers to the "st_mode" returned from stat() for the file presently being examined. * MBITS is a mask of "mode bits" about which we care; it is defined (in mtree.h) as "(S_ISUID|S_ISGID|S_ISTXT|S_IRWXU|S_IRWXG|S_IRWXO)". These are defined in sys/stat.h; MBITS, thus, works out to 0007777. * mode is set to the (masked) mode of the (immediately) enclosing directory when it is visited in pre-order. (This is done in statd().) As a result, we only report the mode of a file if it differs from the mode of its parent directory. Huh??!? Maybe I'm confused, but certainly for my present purposes, and likely in general, I'd think it would make sense to just always report the file mode. A way to do that would be to change the above excerpt to read: =2E.. 206 } 207 if (keys & F_MODE) 208 output(indent, &offset, "mode=3D%#o", p->fts_statp->st_= mode & MBITS); =2E.. Another alternative, in case there are use cases for the existing behavior, would be to provide either another "key" or a command-line flag that says "give me all the modes". Am I the only one who would find such a change useful? Thanks for any reality checks. :-} Peace, david --=20 David H. Wolfskill david@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --lkTb+7nhmha7W+c3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk9Wdl0ACgkQmprOCmdXAD3ewQCfX1YiMhzzyQXg8vWEJPecCmjN z4MAn32q7QepxBonz3TSBcmWwB7shLqR =teo8 -----END PGP SIGNATURE----- --lkTb+7nhmha7W+c3-- From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 21:36:20 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5A62E106566B for ; Tue, 6 Mar 2012 21:36:20 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from qmta05.emeryville.ca.mail.comcast.net (qmta05.emeryville.ca.mail.comcast.net [76.96.30.48]) by mx1.freebsd.org (Postfix) with ESMTP id 414168FC0C for ; Tue, 6 Mar 2012 21:36:20 +0000 (UTC) Received: from omta19.emeryville.ca.mail.comcast.net ([76.96.30.76]) by qmta05.emeryville.ca.mail.comcast.net with comcast id iM6Z1i0051eYJf8A5MP4L4; Tue, 06 Mar 2012 21:23:04 +0000 Received: from damnhippie.dyndns.org ([24.8.232.202]) by omta19.emeryville.ca.mail.comcast.net with comcast id iMP21i01h4NgCEG01MP3hS; Tue, 06 Mar 2012 21:23:03 +0000 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 q26LMxq2015311; Tue, 6 Mar 2012 14:22:59 -0700 (MST) (envelope-from freebsd@damnhippie.dyndns.org) From: Ian Lepore To: David Wolfskill In-Reply-To: <20120306204101.GE1730@albert.catwhisker.org> References: <20120306204101.GE1730@albert.catwhisker.org> Content-Type: text/plain; charset="us-ascii" Date: Tue, 06 Mar 2012 14:22:59 -0700 Message-ID: <1331068979.32194.14.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: hackers@freebsd.org Subject: Re: mtree(8) reporting of file modes X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 21:36:20 -0000 On Tue, 2012-03-06 at 12:41 -0800, David Wolfskill wrote: > As I mentioned in > , at work, > we're trying to use mtree(8) to do reality checks on server > configuration/provisioning. (We are not proposing the use of mtree to > actually enforce a particular configuration -- we are only considering > using it to generate specification files, then check aa given system > against those specification files.) > > I had thought it odd (after running "mtree -c") that most of the entries > in the resulting specification file failed to mention the mode of the > file; this was the catalyst for the above-cited message. > > In the mean time, I started poking at the sources. > > Caveat: I'm not really a C programmer; the bulk of my background is in > sysadmin-type positions (though I've been doing other stuff for the last > 4 years). > > Anyway, I fairly quickly focused my attention on > src/usr.sbin/mtree/create.c, in particular, on the statf() function > therein. > > Most of this part of the code is barely changed since 4.4 Lite; the most > recent change to the section in question (lines 207 - 208 from the > version in head as of r232599) was made by rgrimes@ back in 1994. > > So I presume that there's something I'm overlooking or otherwise > missing, since the folks who have been here before were certainly more > clueful than I am. > > But the code in question: > > ... > 206 } > 207 if (keys & F_MODE && (p->fts_statp->st_mode & MBITS) != mode) > 208 output(indent, &offset, "mode=%#o", p->fts_statp->st_mode & MBITS); > ... > > is what outputs the "mode" to standard output. > > Here is (the bulk of) what I found: > > * The "keys & F_MODE" term merely tests to see if we are interested > in reporting the file mode. (By default, we are.) > > * "p->fts_statp->st_mode" refers to the "st_mode" returned from stat() > for the file presently being examined. > > * MBITS is a mask of "mode bits" about which we care; it is defined > (in mtree.h) as "(S_ISUID|S_ISGID|S_ISTXT|S_IRWXU|S_IRWXG|S_IRWXO)". > These are defined in sys/stat.h; MBITS, thus, works out to 0007777. > > * mode is set to the (masked) mode of the (immediately) enclosing > directory when it is visited in pre-order. (This is done in statd().) > > As a result, we only report the mode of a file if it differs from the > mode of its parent directory. > > Huh??!? > > > Maybe I'm confused, but certainly for my present purposes, and likely in > general, I'd think it would make sense to just always report the file > mode. > > A way to do that would be to change the above excerpt to read: > > ... > 206 } > 207 if (keys & F_MODE) > 208 output(indent, &offset, "mode=%#o", p->fts_statp->st_mode & MBITS); > ... > > > Another alternative, in case there are use cases for the existing > behavior, would be to provide either another "key" or a command-line > flag that says "give me all the modes". > > Am I the only one who would find such a change useful? > > Thanks for any reality checks. :-} > > Peace, > david At a glance I think the idea here is that when it outputs the directory entry it outputs a /set line that has the directory's mode in it, and then as it does the files in that directory it only needs to output a mode= clause for a file if it differs from the most recent /set line. (This is based on studying the code for about 30 seconds, so don't take it as gospel.) -- Ian From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 22:04:54 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 05D631065675 for ; Tue, 6 Mar 2012 22:04:54 +0000 (UTC) (envelope-from dieterbsd@engineer.com) Received: from mailout-us.gmx.com (mailout-us.gmx.com [74.208.5.67]) by mx1.freebsd.org (Postfix) with SMTP id CE5C48FC1B for ; Tue, 6 Mar 2012 22:04:53 +0000 (UTC) Received: (qmail 2250 invoked by uid 0); 6 Mar 2012 22:04:47 -0000 Received: from 67.206.183.193 by rms-us018 with HTTP Content-Type: text/plain; charset="utf-8" Date: Tue, 06 Mar 2012 17:04:43 -0500 From: "Dieter BSD" Message-ID: <20120306220444.300980@gmx.com> MIME-Version: 1.0 To: freebsd-hackers@freebsd.org X-Authenticated: #74169980 X-Flags: 0001 X-Mailer: GMX.com Web Mailer x-registered: 0 Content-Transfer-Encoding: 8bit X-GMX-UID: q+wkb/YU3zOlNR3dAHAh5od+IGRvbwB6 Subject: Re: Graphical Terminal Environment X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 22:04:54 -0000 Brandon writes: > (If you haven't noticed, I'm going to keep finding excuses to > write this as I really am kindof excited to learn/work on it) ideas: Display PostScript rio (from Plan 9) If you're mainly looking for a low-level graphics project, maybe reverse engineer something on the GPU (e.g. UVD) From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 23:29:56 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3D18B106566B for ; Tue, 6 Mar 2012 23:29:56 +0000 (UTC) (envelope-from lgusenet@be-well.ilk.org) Received: from asbnvacz-mailrelay01.megapath.net (asbnvacz-mailrelay01.megapath.net [207.145.128.243]) by mx1.freebsd.org (Postfix) with ESMTP id F15038FC08 for ; Tue, 6 Mar 2012 23:29:55 +0000 (UTC) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.39]) by asbnvacz-mailrelay01.megapath.net (Postfix) with ESMTP id 40717A71A36 for ; Tue, 6 Mar 2012 18:06:01 -0500 (EST) Received: (qmail 18380 invoked from network); 6 Mar 2012 23:06:00 -0000 Received: by simscan 1.4.0 ppid: 26565, pid: 273, t: 0.2833s scanners: clamav: m: Received: from unknown (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 6 Mar 2012 23:06:00 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.8]) by be-well.ilk.org (Postfix) with ESMTP id D248B33C1E; Tue, 6 Mar 2012 18:05:51 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id 2CCFD3985E; Tue, 6 Mar 2012 18:05:51 -0500 (EST) From: Lowell Gilbert To: David Wolfskill To: freebsd-hackers@freebsd.org References: <20120306204101.GE1730@albert.catwhisker.org> Date: Tue, 06 Mar 2012 18:05:51 -0500 In-Reply-To: <20120306204101.GE1730@albert.catwhisker.org> (David Wolfskill's message of "Tue, 6 Mar 2012 12:41:01 -0800") Message-ID: <44fwdlz5ww.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailman-Approved-At: Tue, 06 Mar 2012 23:33:19 +0000 Cc: Subject: Re: mtree(8) reporting of file modes X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-hackers@freebsd.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 23:29:56 -0000 David Wolfskill writes: > * mode is set to the (masked) mode of the (immediately) enclosing > directory when it is visited in pre-order. (This is done in statd().) Not quite. It looks like when statd() is called on the enclosing directory itself, it walks all of the children to find the most common values, and issues a "/set" line to establish defaults. When it is subsequently called for each of the children in their own right, it only needs to list the properties that differ. Which isn't really illogical: it substantially reduces the size of the output (and vastly improves the readability-by-humans) in exchange for having to traverse the list of file entries twice. > Maybe I'm confused, but certainly for my present purposes, and likely in > general, I'd think it would make sense to just always report the file > mode. > Another alternative, in case there are use cases for the existing > behavior, would be to provide either another "key" or a command-line > flag that says "give me all the modes". > Am I the only one who would find such a change useful? Well, it's definitely only useful if you're using something besides mtree itself to parse the output file. I like having the defaults, because most of the time all of the files in a directory have the same permissions, and there are fewer distractions for my eye. I guess the question is why do *you* find the "/set" lines to (even just occasionally) not be useful? Be well. From owner-freebsd-hackers@FreeBSD.ORG Tue Mar 6 23:34:44 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 79734106564A for ; Tue, 6 Mar 2012 23:34:44 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (m209-73.dsl.rawbw.com [198.144.209.73]) by mx1.freebsd.org (Postfix) with ESMTP id 192568FC1B for ; Tue, 6 Mar 2012 23:34:43 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.5/8.14.5) with ESMTP id q26N97pE012668 for ; Tue, 6 Mar 2012 15:09:07 -0800 (PST) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.5/8.14.5/Submit) id q26N97JB012667 for freebsd-hackers@freebsd.org; Tue, 6 Mar 2012 15:09:07 -0800 (PST) (envelope-from david) Date: Tue, 6 Mar 2012 15:09:07 -0800 From: David Wolfskill To: freebsd-hackers@freebsd.org Message-ID: <20120306230907.GH1730@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , freebsd-hackers@freebsd.org References: <20120306204101.GE1730@albert.catwhisker.org> <44fwdlz5ww.fsf@lowell-desk.lan> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LiQwW4YX+w4axhAx" Content-Disposition: inline In-Reply-To: <44fwdlz5ww.fsf@lowell-desk.lan> User-Agent: Mutt/1.4.2.3i Subject: Re: mtree(8) reporting of file modes X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Mar 2012 23:34:44 -0000 --LiQwW4YX+w4axhAx Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 06, 2012 at 06:05:51PM -0500, Lowell Gilbert wrote: > ... > I guess the question is why do *you* find the "/set" lines to (even just > occasionally) not be useful? > ... Simple: I overlooked them. :-} Thanks for the clarification: I *thought* there might be something fairly obvious that I had overlooked.... Peace, david --=20 David H. Wolfskill david@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --LiQwW4YX+w4axhAx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk9WmRIACgkQmprOCmdXAD3/+wCeImLSLz2FJV66w/Zf/txtlhv/ IcMAn17FhLSJHD3j2VmcQQS5I9rhhYyk =Af2W -----END PGP SIGNATURE----- --LiQwW4YX+w4axhAx-- From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 7 01:05:59 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E6851065670 for ; Wed, 7 Mar 2012 01:05:59 +0000 (UTC) (envelope-from bfalk_bsd@brandonfa.lk) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 4D56A8FC19 for ; Wed, 7 Mar 2012 01:05:59 +0000 (UTC) Received: by vbmv11 with SMTP id v11so6314221vbm.13 for ; Tue, 06 Mar 2012 17:05:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brandonfa.lk; s=google; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=EGcv5CsrbejnLpuC8jc93fStS9mG2g/4B0o77WQ+ho4=; b=VUDelpeWPjmt62xg1fgmpoIM7VHsFgMEJFlw7KV615lpCKeS2sCsjpe3M2qFWweJ/H DDsIp7UPtucInxi2TfrCdetX0eAGtMJUoHr+13AKgnfe3lztpeKad/bhS7l+8XkAUydy 0R3TbsE73B/EZjtY+tbVQg9ZRHSJ6Ul+cpRXw= MIME-Version: 1.0 Received: by 10.52.22.46 with SMTP id a14mr248841vdf.27.1331082358238; Tue, 06 Mar 2012 17:05:58 -0800 (PST) Received: by 10.220.180.133 with HTTP; Tue, 6 Mar 2012 17:05:57 -0800 (PST) X-Originating-IP: [166.182.65.133] Received: by 10.220.180.133 with HTTP; Tue, 6 Mar 2012 17:05:57 -0800 (PST) In-Reply-To: <20120306220444.300980@gmx.com> References: <20120306220444.300980@gmx.com> Date: Tue, 6 Mar 2012 20:05:57 -0500 Message-ID: From: Brandon Falk To: freebsd-hackers@freebsd.org X-Gm-Message-State: ALoCoQmVL9e/n6zDn0n6l+2OUNrXawEcuVJhnSSri27jArW9d66Zs9IAZMLk00hik0EQYC9sv5/u Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Graphical Terminal Environment X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2012 01:05:59 -0000 I want to learn but at the same time I want to create this graphical terminal under the BSD license so I would be able to have an entire system under the BSD license, with a bit better interface than 80x25 or 90x30 for that matter. Xorg has such a large dependency base that I bet somewhere down the line there'd be some gpl'd code, although I may be wrong. On Mar 6, 2012 5:06 PM, "Dieter BSD" wrote: > Brandon writes: > > (If you haven't noticed, I'm going to keep finding excuses to > > write this as I really am kindof excited to learn/work on it) > > ideas: > > Display PostScript > > rio (from Plan 9) > > If you're mainly looking for a low-level graphics project, > maybe reverse engineer something on the GPU (e.g. UVD) > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 7 03:49:18 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 742841065673 for ; Wed, 7 Mar 2012 03:49:18 +0000 (UTC) (envelope-from seanbru@yahoo-inc.com) Received: from mrout1-b.corp.bf1.yahoo.com (mrout1-b.corp.bf1.yahoo.com [98.139.253.104]) by mx1.freebsd.org (Postfix) with ESMTP id 2A5D38FC0A for ; Wed, 7 Mar 2012 03:49:17 +0000 (UTC) Received: from [127.0.0.1] (rideseveral.corp.yahoo.com [10.73.160.231]) by mrout1-b.corp.bf1.yahoo.com (8.14.4/8.14.4/y.out) with ESMTP id q273mvsS037066 for ; Tue, 6 Mar 2012 19:48:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yahoo-inc.com; s=cobra; t=1331092137; bh=W7V1+Hwa5ZZlYGvzemU8HqPaI/VbgBtEbb22PIms2tk=; h=Subject:From:Reply-To:To:Content-Type:Date:Message-ID: Mime-Version; b=cEKCK36iDvQfd4x0z4RBeEJkKT/1FJW77BnRKhvCTh6yQXyjX0bMB4qBjABCQWC2m akLtgq9FPIvLV5K8BgV+ozEoZL5cdECaqIYaxGM8xp9AEGjKL7qAVmkdc9T7y/u0mM OO8V+41O3Ljvs65NUtpaef8SYTyV/dStzexVUWJ8= From: Sean Bruno To: "hackers@freebsd.org" Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-A+6bvYqPnqHZ5/2dyODR" Date: Tue, 06 Mar 2012 19:48:56 -0800 Message-ID: <1331092136.2782.31.camel@powernoodle-l7.corp.yahoo.com> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Cc: Subject: Dell R620 + H710p X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: sbruno@freebsd.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2012 03:49:18 -0000 --=-A+6bvYqPnqHZ5/2dyODR Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Just a note from the "yahoo bsd" world. In order to get the R620/720 working here, we switched out the Broadcom ethernet device with an Intel (its a purchase option), and integrated the project/head_mfi branch to get things working in our universe. Sean http://people.freebsd.org/~sbruno/r620_dmidecode.txt http://people.freebsd.org/~sbruno/r620_pciconf.txt --=-A+6bvYqPnqHZ5/2dyODR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iQEcBAABAgAGBQJPVtqoAAoJEL2UHwafTLtOdpwH/2m22iI6TH0pcvYc2iP2gKcf e8gvnXnU9DmIOlZdYoi45ZL3TzCl5ecKYM8TXKwM8Ovz1fdcPUs3PoCk2NWOjHTh 4xHFhVk+OZzZ0Z44hUpebE5D0tbjPfva0msVan3Dmt6gOhot9MR88fbROcCjo3um wevWCJtwnyajqBk1vdJYEYFEUcLiHezcZXg3w5E+KfThvj2bAlsNfCMgwVRO/krQ nyagU0MS06sX/SROCHcZJjkNy8lRTRVaCkp7E0qDlARpviH/GRhQL4M1qxxP4OWQ OxYYMJCet6NaOEz2nbsDACZ6aczFukeVUBvElqLYc155y3LmLL4Nz4C07YlCyXo= =L0CC -----END PGP SIGNATURE----- --=-A+6bvYqPnqHZ5/2dyODR-- From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 7 05:21:22 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C17981065670 for ; Wed, 7 Mar 2012 05:21:22 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 83CE48FC18 for ; Wed, 7 Mar 2012 05:21:22 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa02 [127.0.0.1]) by ltcfislmsgpa02.fnfis.com (8.14.4/8.14.4) with SMTP id q274PTjU029977; Tue, 6 Mar 2012 23:21:15 -0600 Received: from smtp.fisglobal.com ([10.132.206.15]) by ltcfislmsgpa02.fnfis.com with ESMTP id 13dykp08m8-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 06 Mar 2012 23:21:15 -0600 Received: from [10.0.0.101] (10.14.152.61) by smtp.fisglobal.com (10.132.206.15) with Microsoft SMTP Server (TLS) id 14.1.323.3; Tue, 6 Mar 2012 23:21:13 -0600 MIME-Version: 1.0 (Apple Message framework v1257) From: Devin Teske In-Reply-To: <0b8401ccfb34$f2b26330$d8172990$@fisglobal.com> Date: Tue, 6 Mar 2012 21:21:13 -0800 Message-ID: <41CD1DBE-2A73-4552-92ED-CB2F361C90BD@fisglobal.com> References: <0b7101ccfb32$58d459f0$0a7d0dd0$@fisglobal.com> <4F55618B.6000905@fisglobal.com> <0b8401ccfb34$f2b26330$d8172990$@fisglobal.com> To: , X-Mailer: Apple Mail (2.1257) X-Originating-IP: [10.14.152.61] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.6.7498, 1.0.260, 0.0.0000 definitions=2012-03-07_01:2012-03-07, 2012-03-07, 1970-01-01 signatures=0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: 'Devin Teske' , rcm@fuzzwad.org Subject: Re: [PREVIEW] bsdconfig(8) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2012 05:21:22 -0000 On Mar 5, 2012, at 5:03 PM, Devin Teske wrote: >=20 >=20 >> -----Original Message----- >> From: Robison, Dave [mailto:david.robison@fisglobal.com] >> Sent: Monday, March 05, 2012 5:00 PM >> To: freebsd-hackers@freebsd.org >> Cc: rcm@fuzzwad.org; Devin Teske >> Subject: Re: [PREVIEW] bsdconfig(8) >>=20 >> On 03/05/2012 16:44, Devin Teske wrote: >>=20 >>=20 >>>=20 >>> We continue to work very hard on this every day and look forward to any= /all >>> feedback, comments, suggestions, and snide remarks. >>=20 >>=20 >> When editing user info via X dialogue it doesn't prompt with a "save" >> option like it does in ncurses. >>=20 >> Woo hoo, first to complain! >>=20 >=20 > Thanks DaveR! >=20 > I'll get right on that. Fixed in the latest download: http://druidbsd.sf.net/download/bsdconfig/ Latest is bsdconfig.120306.txz Preview Instructions (to get you up and running; again, requires checked-ou= t src-tree): cd /usr/src/usr.sbin fetch http://druidbsd.sf.net/download/bsdconfig/bsdconfig.120306.txz tar zxf bsdconfig.120306.txz cd bsdconfig make sudo make install /usr/sbin/bsdconfig -h /usr/sbin/bsdconfig Thanks DaveR! --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 7 09:04:05 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AE752106564A for ; Wed, 7 Mar 2012 09:04:05 +0000 (UTC) (envelope-from egoitz@ramattack.net) Received: from proxypop04.sare.net (proxypop04.sare.net [194.30.0.65]) by mx1.freebsd.org (Postfix) with ESMTP id 6AAD08FC15 for ; Wed, 7 Mar 2012 09:04:05 +0000 (UTC) Received: from www.saremail.com (unknown [194.30.0.100]) by proxypop04.sare.net (Postfix) with ESMTPSA id A54C59DC56D for ; Wed, 7 Mar 2012 10:03:58 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 07 Mar 2012 10:03:58 +0100 From: egoitz@ramattack.net To: In-Reply-To: <75239b58c09e170e7063f170f7a1a3d4@ramattack.net> References: <75239b58c09e170e7063f170f7a1a3d4@ramattack.net> Message-ID: <7a01f84ae5a20d34cc0a0c564ca0b598@ramattack.net> X-Sender: egoitz@ramattack.net User-Agent: Saremail/0.6-svn Subject: Re: About building release for using sysinstall X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2012 09:04:05 -0000 On Tue, 28 Feb 2012 19:13:56 +0100, egoitz@ramattack.net wrote: > Sorry but, perhaps should I write this another FreeBSD mailing > list?... perhaps this one, it's not it's place... if this can be the > situation, please tell me which mailing list to send to this > suggestion. > > Thanks a lot for you're time, > Best regards. > > On Mon, 27 Feb 2012 11:22:25 +0100, egoitz@ramattack.net wrote: >> Good morning, >> >> I have launched : >> > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to > "freebsd-hackers-unsubscribe@freebsd.org" Finally have been able to build a RELENG_9_0 release with isos, sysinstall and livefs disc with the following changes applied : generarelease90# pwd /usr/src/release/amd64 generarelease90# cvs diff -r 1.14.2.1.2.1 -r 1.14.2.1.2.2 mkisoimages.sh Index: mkisoimages.sh =================================================================== RCS file: /expert/ncvs/src/release/amd64/mkisoimages.sh,v retrieving revision 1.14.2.1.2.1 retrieving revision 1.14.2.1.2.2 diff -r1.14.2.1.2.1 -r1.14.2.1.2.2 7c7 < # $FreeBSD: src/release/amd64/mkisoimages.sh,v 1.14.2.1.2.1 2011/11/11 04:20:22 kensmith Exp $ --- > # $FreeBSD: src/release/amd64/mkisoimages.sh,v 1.14.2.1.2.2 > 2012/03/06 08:27:38 portero Exp $ 42d41 < echo "/dev/iso9660/`echo $LABEL | tr '[:lower:]' '[:upper:]'` / cd9660 ro 0 0" > $1/etc/fstab 44d42 < rm $1/etc/fstab generarelease90# cd .. generarelease90# cvs diff -r 1.5.2.1.2.2 -r 1.5.2.1.2.3 Makefile.sysinstall Index: Makefile.sysinstall =================================================================== RCS file: /expert/ncvs/src/release/Attic/Makefile.sysinstall,v retrieving revision 1.5.2.1.2.2 retrieving revision 1.5.2.1.2.3 diff -r1.5.2.1.2.2 -r1.5.2.1.2.3 1c1 < # $FreeBSD: src/release/Makefile.sysinstall,v 1.5.2.1.2.2 2012/01/02 04:11:22 kensmith Exp $ --- > # $FreeBSD: src/release/Makefile.sysinstall,v 1.5.2.1.2.3 2012/03/06 > 08:26:49 portero Exp $ 1152,1155d1151 < @sh ${.CURDIR}/${TARGET}/mkisoimages.sh \ < FreeBSD_Packages \ < ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-disc2.iso ${CD_DISC2} \ < ${CD_DISC2_PKGS} 1157,1160c1153 < @sh ${.CURDIR}/${TARGET}/mkisoimages.sh ${BOOTABLE} \ < FreeBSD_Install \ < ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-dvd1.iso ${CD_DVD1} \ < ${CD_DVD1_PKGS} --- > @echo "No necesito dvd... suficiente con disco1 y livefs" 1163,1166c1156 < @sh ${.CURDIR}/${TARGET}/mkisoimages.sh \ < FreeBSD_Documentation \ < ${CD}/FreeBSD-${BUILDNAME}-${TARGET}-disc3.iso ${CD_DOCS} \ < ${CD_DOCS_PKGS} --- > @echo "La documentacion se graba en cd1 y dvd1" the command sequence was : cd /usr/src make buildworld cd release make -f Makefile.sysinstall release CHROOTDIR=/expert/RELENG90RELEASE CVSROOT=/expert/ncvs RELEASETAG=RELENG_9_0 MAKE_ISOS=1 And after this have obtained my goal. I tell this here because perhaps is helpful for someone else. Best regards, From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 7 19:11:23 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3E2911065675 for ; Wed, 7 Mar 2012 19:11:23 +0000 (UTC) (envelope-from bfalk_bsd@brandonfa.lk) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id ED6548FC14 for ; Wed, 7 Mar 2012 19:11:22 +0000 (UTC) Received: by yenl9 with SMTP id l9so3356252yen.13 for ; Wed, 07 Mar 2012 11:11:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brandonfa.lk; s=google; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=O/niVNIb3V6b0wYe4Oi6ysARxhJQDNzElSx0DlGhhhw=; b=qBkWhTQDfnjSCLTVgVQnuUmpFDG0K2Q+zSq+cTdJK5D7lYSAxEygysvfqjGJtvuMmM +UGbi9D39pvkHRxvIY+ln7kujiL/WEeJzVS8A3ScIU4SlNcTngDNLTXohEqQ0jNhzFvz G2IJIOzR5tDAokg2LHzdSQh7FYb2RBTrf5f2A= Received: by 10.236.155.225 with SMTP id j61mr6451496yhk.43.1331147475950; Wed, 07 Mar 2012 11:11:15 -0800 (PST) Received: from [192.168.42.146] (wsip-184-183-177-134.dc.dc.cox.net. [184.183.177.134]) by mx.google.com with ESMTPS id r7sm40234692yhm.9.2012.03.07.11.11.15 (version=SSLv3 cipher=OTHER); Wed, 07 Mar 2012 11:11:15 -0800 (PST) Message-ID: <4F57B2CF.1050300@brandonfa.lk> Date: Wed, 07 Mar 2012 14:11:11 -0500 From: Brandon Falk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: Peter Jeremy References: <20120306133958.008f1df2@bhuda.mired.org> <4F5660C3.5090700@brandonfa.lk> <20120307190641.GA40051@server.vk2pj.dyndns.org> In-Reply-To: <20120307190641.GA40051@server.vk2pj.dyndns.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQkXGmUhDQ7kpqGfYnNfIspEljndHA/rz5sBsiafJLSF/dgd1kdhtIO19tRMyrCIOU0MYnfF Cc: freebsd-hackers@freebsd.org Subject: Re: Graphical Terminal Environment X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2012 19:11:23 -0000 On 3/7/2012 2:06 PM, Peter Jeremy wrote: > If you're looking for something minimal, vector support should be one of the > first things to go. At small sizes (in terms of dots), the best fonts are all > bitmaps, rather than vector descriptions. One of the features of TrueType and > Postscript is that a vendor can provide hand-tweaked bitmap glyphs for small > sizes of a vector font. Likewise the VT100 demonstrated that you don't need > vector line drawing to draw boxes. Some points to keep in mind: Anything > beyond what is supported in your VESA BIOS requires custom support for your > specific video chip. This is part of the code in x11-drivers/xf86-video-*. LCD > monitors look fairly poor unless driven at their native resolution so, unless > your VESA BIOS provide a mode that suits your monitor, you will need custom > driver code. I do plan on writing a small little driver for NVIDIA cards (it's what I have). I'm assuming it can't be terribly hard to detect the monitor's resolution, set to that resolution, then start displaying dots... you never know though... I'll be having a fun time with nouveau for the next few weeks :) -Brandon From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 7 21:13:03 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 672CA106566C for ; Wed, 7 Mar 2012 21:13:03 +0000 (UTC) (envelope-from peterjeremy@acm.org) Received: from fallbackmx10.syd.optusnet.com.au (fallbackmx10.syd.optusnet.com.au [211.29.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id 53F718FC12 for ; Wed, 7 Mar 2012 21:13:01 +0000 (UTC) Received: from mail11.syd.optusnet.com.au (mail11.syd.optusnet.com.au [211.29.132.192]) by fallbackmx10.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id q27J6ugS013181 for ; Thu, 8 Mar 2012 06:06:56 +1100 Received: from server.vk2pj.dyndns.org (c220-239-116-103.belrs4.nsw.optusnet.com.au [220.239.116.103]) by mail11.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id q27J6hVV025958 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 8 Mar 2012 06:06:45 +1100 X-Bogosity: Ham, spamicity=0.000000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.5/8.14.4) with ESMTP id q27J6gfu040703; Thu, 8 Mar 2012 06:06:42 +1100 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.5/8.14.4/Submit) id q27J6fGi040701; Thu, 8 Mar 2012 06:06:41 +1100 (EST) (envelope-from peter) Date: Thu, 8 Mar 2012 06:06:41 +1100 From: Peter Jeremy To: Brandon Falk Message-ID: <20120307190641.GA40051@server.vk2pj.dyndns.org> References: <20120306133958.008f1df2@bhuda.mired.org> <4F5660C3.5090700@brandonfa.lk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="7JfCtLOvnd9MIVvH" Content-Disposition: inline In-Reply-To: <4F5660C3.5090700@brandonfa.lk> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-hackers@freebsd.org Subject: Re: Graphical Terminal Environment X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2012 21:13:03 -0000 --7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2012-Mar-06 14:08:51 -0500, Brandon Falk wrote: >When I mention lines, circles, etc I was thinking moreso at the very low l= evel >of fonts being drawn by lines and dots (although I would like to branch it >eventually to support 2d graphics where people could maybe make some 2d ga= mes, >but keep the high-res terminal on the side to keep it minimal). I also may= want >to draw some lines to border terminal windows (screen would eliminate this >obviously). If you're looking for something minimal, vector support should be one of the first things to go. At small sizes (in terms of dots), the best fonts are all bitmaps, rather than vector descriptions. One of the features of TrueType and Postscript is that a vendor can provide hand-tweaked bitmap glyphs for small sizes of a vector font. Likewise the VT100 demonstrated that you don't need vector line drawing to draw boxes. Some points to keep in mind: Anything beyond what is supported in your VESA BIOS requires custom support for your specific video chip. This is part of the code in x11-drivers/xf86-video-*. LCD monitors look fairly poor unless driven at their native resolution so, unless your VESA BIOS provide a mode that suits your monitor, you will need custom driver code. --=20 Peter Jeremy --7JfCtLOvnd9MIVvH Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk9XscEACgkQ/opHv/APuIcwcACeOFbbVydo3IG60GLm2vLN/Qos H6IAoLsx20zxG20kjWRfJEMCvwsWg+aQ =ii6V -----END PGP SIGNATURE----- --7JfCtLOvnd9MIVvH-- From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 7 20:46:05 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22B0E106564A for ; Wed, 7 Mar 2012 20:46:05 +0000 (UTC) (envelope-from lgj@usenix.org) Received: from lonestar.usenix.org (lonestar.usenix.org [131.106.3.102]) by mx1.freebsd.org (Postfix) with ESMTP id E5B7E8FC0C for ; Wed, 7 Mar 2012 20:46:04 +0000 (UTC) Received: from negroni.usenix.org (negroni.usenix.org [131.106.3.145]) (authenticated bits=0) by lonestar.usenix.org (8.14.2/8.14.2) with ESMTP id q27KjErt016856 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Wed, 7 Mar 2012 12:46:04 -0800 (PST) From: Lionel Garth Jones Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed, 7 Mar 2012 12:46:04 -0800 Message-Id: <1FBDBD95-67C9-4EC5-9A20-2D51517D34C3@usenix.org> To: freebsd-hackers@freebsd.org Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) X-DCC-USENIX-Metrics: lonestar; whitelist X-Spam-Status: No, score=0.7 required=6.0 tests=ALL_TRUSTED, FH_DATE_PAST_20XX autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on lonestar X-Mailman-Approved-At: Wed, 07 Mar 2012 22:06:05 +0000 Subject: USENIX TaPP '12 Call for Papers Submission Deadline Approaching X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2012 20:46:05 -0000 We're writing to remind that the deadline for the 4th USENIX Workshop on the Theory and Practice of Provenance (TaPP '12) is approaching. Please submit your work by Saturday, March 31, 2012, at 5:00 p.m. EDT. http://www.usenix.org/tapp12/cfpb The Program Committee seeks short papers and vision papers describing challenges for provenance research, brief descriptions of new applications, proposals for mini-tutorials, pie-in-the sky research ideas, and anything that will create a successful workshop. TaPP '12 will bring together researchers and practitioners doing innovative work in the area of provenance. With the deluge of digital data we are currently experiencing, it has become increasingly important to capture and understand the origins and derivation of data--its provenance. Provenance provides important documentation that is an essential part of the quality of data, and it is essential to the trust we put in, for example, the data we find on the Web and the data that is derived from scientific experiments. The workshop may cover any topic related to theoretical or practical aspects of provenance, including but not limited to: provenance in databases, workflows, programming languages, security, software engineering, or systems; provenance on the Web; real-world applications of or requirements for provenance. Please adhere to these guidelines on how and what to submit: * Submissions should be self-contained and no more than 4 pages. * If supporting material is needed, an extra 4 pages may be submitted, but the committee will not be obliged to read them. * All submissions should clearly indicate whether they are intended for inclusion in the proceedings. More information and submission guidelines are available at http://www.usenix.org/tapp12/cfpb We look forward to receiving your submissions! Sincerely, Umut A. Acar, Max Planck Institute for Software Systems Todd J. Green, University of California, Davis, and LogicBlox TaPP '12 Program Co-Chairs tapp12chairs@usenix.org ------------------------------------------------------------------ TaPP '12 Call for Papers 4th USENIX Workshop on the Theory and Practice of Provenance (TaPP '12) June 14-15, 2012, Boston, MA http://www.usenix.org/tapp12/cfpb Submission deadline: March 31, 2012, 5:00 p.m. EDT ------------------------------------------------------------------ From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 7 22:31:56 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1EE601065675 for ; Wed, 7 Mar 2012 22:31:56 +0000 (UTC) (envelope-from bakul@bitblocks.com) Received: from mail.bitblocks.com (ns1.bitblocks.com [173.228.5.8]) by mx1.freebsd.org (Postfix) with ESMTP id 047F68FC1C for ; Wed, 7 Mar 2012 22:31:55 +0000 (UTC) Received: from bitblocks.com (localhost [127.0.0.1]) by mail.bitblocks.com (Postfix) with ESMTP id 86FC61CC8F; Wed, 7 Mar 2012 14:13:07 -0800 (PST) To: Brandon Falk In-reply-to: Your message of "Tue, 06 Mar 2012 14:08:51 EST." <4F5660C3.5090700@brandonfa.lk> References: <20120306133958.008f1df2@bhuda.mired.org> <4F5660C3.5090700@brandonfa.lk> Comments: In-reply-to Brandon Falk message dated "Tue, 06 Mar 2012 14:08:51 -0500." Date: Wed, 07 Mar 2012 14:13:07 -0800 From: Bakul Shah Message-Id: <20120307221307.86FC61CC8F@mail.bitblocks.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Graphical Terminal Environment X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Mar 2012 22:31:56 -0000 On Tue, 06 Mar 2012 14:08:51 EST Brandon Falk wrote: >You seem to understand exactly want I want. Just small font terminals on all >screens, and I was actually thinking `screen` would do the trick for the >splitting/management of them. As for stripping down X, I might do so as a proof >of concept, but in the end I want to develop my own for my own learning. > >When I mention lines, circles, etc I was thinking moreso at the very low level >of fonts being drawn by lines and dots (although I would like to branch it >eventually to support 2d graphics where people could maybe make some 2d games, >but keep the high-res terminal on the side to keep it minimal). I also may want >to draw some lines to border terminal windows (screen would eliminate this >obviously). You might want to look at /dev/draw of plan9. And rio, as someone else also suggested. /sys/src/9/port/devdraw.c on plan9 is only about 2200 lines. You may also wish to read Rob Pike's paper on 8 1/2 and man pages for draw(2), draw(3), graphics(2) and rio(1) @ cat-v.org. See rio presentation @ http://herpolhode.com/rob/lec5.pdf as it lays out window system design issues very nicely. From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 8 13:40:24 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DEAD106564A for ; Thu, 8 Mar 2012 13:40:24 +0000 (UTC) (envelope-from drbaud@yahoo.com) Received: from nm28-vm2.bullet.mail.ne1.yahoo.com (nm28-vm2.bullet.mail.ne1.yahoo.com [98.138.91.128]) by mx1.freebsd.org (Postfix) with SMTP id BE1DF8FC08 for ; Thu, 8 Mar 2012 13:40:23 +0000 (UTC) Received: from [98.138.90.57] by nm28.bullet.mail.ne1.yahoo.com with NNFMP; 08 Mar 2012 13:27:52 -0000 Received: from [98.138.89.251] by tm10.bullet.mail.ne1.yahoo.com with NNFMP; 08 Mar 2012 13:27:52 -0000 Received: from [127.0.0.1] by omp1043.mail.ne1.yahoo.com with NNFMP; 08 Mar 2012 13:27:52 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 214300.49821.bm@omp1043.mail.ne1.yahoo.com Received: (qmail 43827 invoked by uid 60001); 8 Mar 2012 13:27:52 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1331213272; bh=U0p5Z9bopDO126G5mdLf6ddFcM5FlVavSM12k+JxdJ8=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=Pl3hu5TvJwZa4C1K5OHHpUd921/8uwBwMUQA4C6NVfcyffRjNK1KEdl69EfZf7L7CuyG1mdO52xeKCF9WvB3WkwZsR5Ef8jep6u+MMwzmF14CIm2/hG4591tXUdTyGKDIiHscHAQZdIBtdxpwb1kU68oO+BfEMHZ0mzH+3cCWjQ= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=5mS5kmaLS5ICwMe+pqw5TgDersvG2J1nopvY8/DSd57sZO+XHHNOaj3RpuCfeLpZilb/fNz02tTMOdxYEC5Lzbv/wYP8ktXbYP0zFKAy8X8VSwih33yTTuOnP7k9VzdGVkLtlZIsDSYjKIdVtf+cVX1uTwa5CBCSCkz2UoAaL70=; X-YMail-OSG: Qs2jkDIVM1mxaInh0hLGo06zs.rQNr3rbintSNSkzSa6bFM mC4lBLREA4fTiSLe5.tPOeuvJMjPGZEohijf64swsJvjz2WQe0k1BEC.mBlQ V_.3iS_mu6kJ7gj41eUVmq_HBdIjREbe4yijGYvzsGjTR2tYqbuG_UNkvW2K 4UcfxS1dEnLi.jAEshjQoXCfQIkoMKmfixghKsElS2sFxg1n1dLxdlojbOJo dTmPvx1.mUlCU_usM_iKP.8LYZ6vBbugTqO.bfxh_8_t7L1he7vznQYD4ea_ o8CuX2cwMf8MJ6hXaTsBqkPdVKxbzIIQjKYWRtmaw_O5OWM0l6ALvMBYOVU4 xCyT1iWoTNQRICqXGDGcKpUvH_7VRfnQoRqW8X.UW3O4TSXFzAn5qxlqpha4 Unps_XJZMtIrYi9lbkpUKk597KQPI.FrVeIDMjPJMvSWUklIlLg-- Received: from [64.238.244.146] by web120701.mail.ne1.yahoo.com via HTTP; Thu, 08 Mar 2012 05:27:52 PST X-Mailer: YahooMailWebService/0.8.116.338427 Message-ID: <1331213272.40718.YahooMailNeo@web120701.mail.ne1.yahoo.com> Date: Thu, 8 Mar 2012 05:27:52 -0800 (PST) From: "Dr. Baud" To: "freebsd-hackers@freebsd.org" MIME-Version: 1.0 X-Mailman-Approved-At: Thu, 08 Mar 2012 13:55:32 +0000 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: DTrace built-in variables X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Dr. Baud" List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2012 13:40:24 -0000 =0A=0A=A0=A0=A0 Are the build-in variables cpu and curcpu supported in a 8.= 1-RELEASE DTrace?=0A=0A=A0=A0=A0 Dr.=0A From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 8 17:28:04 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB95B106566C; Thu, 8 Mar 2012 17:28:04 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 7EDB98FC13; Thu, 8 Mar 2012 17:28:04 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa06 [127.0.0.1]) by ltcfislmsgpa06.fnfis.com (8.14.4/8.14.4) with SMTP id q28HPVgE020312; Thu, 8 Mar 2012 11:27:57 -0600 Received: from smtp.fisglobal.com ([10.132.206.17]) by ltcfislmsgpa06.fnfis.com with ESMTP id 13f0vh82ms-9 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 08 Mar 2012 11:27:57 -0600 Received: from dtwin (10.14.152.15) by smtp.fisglobal.com (10.132.206.17) with Microsoft SMTP Server (TLS) id 14.1.323.3; Thu, 8 Mar 2012 11:27:26 -0600 From: Devin Teske To: "'Alexander Best'" References: <0b7101ccfb32$58d459f0$0a7d0dd0$@fisglobal.com> <20120306091003.GA77008@freebsd.org> In-Reply-To: <20120306091003.GA77008@freebsd.org> Date: Thu, 8 Mar 2012 09:27:36 -0800 Message-ID: <0f6b01ccfd50$c216d8f0$46448ad0$@fisglobal.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQLS9piWUR7xucLc87xGisvlu1lPqALnvp0ilD11SbA= Content-Language: en-us X-Originating-IP: [10.14.152.15] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.6.7498, 1.0.260, 0.0.0000 definitions=2012-03-08_04:2012-03-08, 2012-03-08, 1970-01-01 signatures=0 Cc: freebsd-hackers@freebsd.org, 'Ron McDowell' Subject: RE: [PREVIEW] bsdconfig(8) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2012 17:28:04 -0000 > -----Original Message----- > From: Alexander Best [mailto:arundel@freebsd.org] > Sent: Tuesday, March 06, 2012 1:10 AM > To: Devin Teske > Cc: freebsd-hackers@freebsd.org; Ron McDowell > Subject: Re: [PREVIEW] bsdconfig(8) > > On Mon Mar 5 12, Devin Teske wrote: [snip] > > > > Some here may already know that Ron McDowell and I have been hard at- > work > > developing the replacement for sysinstall(8)'s "Configure" menu -- which we > have > > named bsdconfig(8). [snip] > 3) when bsdconfig starts the note regarding the packages shouldn't state > "Pascal". most people probably don't know what pascal is. ;) how about > VirtualBox or chromium? these packages are probably used by a lot more > users. > 4) do we really need fdisk and disklabel? hasn't freebsd moved onto gpart > and glabel? > Both of these issues are addressed in the latest snapshot tarball... http://druidbsd.sf.net/download/bsdconfig/ Latest is bsdconfig.120307.txz -- Thanks Alex, Devin _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 8 18:09:06 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C992F106564A for ; Thu, 8 Mar 2012 18:09:06 +0000 (UTC) (envelope-from seanbru@yahoo-inc.com) Received: from mrout1-b.corp.bf1.yahoo.com (mrout1-b.corp.bf1.yahoo.com [98.139.253.104]) by mx1.freebsd.org (Postfix) with ESMTP id 74C3E8FC08 for ; Thu, 8 Mar 2012 18:09:06 +0000 (UTC) Received: from [127.0.0.1] (rideseveral.corp.yahoo.com [10.73.160.231]) by mrout1-b.corp.bf1.yahoo.com (8.14.4/8.14.4/y.out) with ESMTP id q28I8kew079274 for ; Thu, 8 Mar 2012 10:08:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yahoo-inc.com; s=cobra; t=1331230127; bh=+37Yt/Vx/QgyArdzaojO3BFPMhX8ifBYDG5P2IUjpeQ=; h=Subject:From:Reply-To:To:Content-Type:Date:Message-ID: Mime-Version; b=FUv0ngE2qn+uGmoVSSslGyolhxnbnL65egK1L9jzwLTH2IFdOuwvtw30O5XP68AOR XHR4+NilQsOa59bfcq7upprOUqx5glrIOUTka0gXI0mBtSRuveKoeqfKhnlkLWGQvX 3Xhm8PwONN5BoFCPPJbZzoWX+7IcIfBKesVLd/GI= From: Sean Bruno To: "hackers@freebsd.org" Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-XOGsrKS+oVwETjGFF7Wv" Date: Thu, 08 Mar 2012 10:08:46 -0800 Message-ID: <1331230126.3075.13.camel@powernoodle-l7.corp.yahoo.com> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Cc: Subject: mfid, raid monitoring daemon X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: sbruno@freebsd.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2012 18:09:06 -0000 --=-XOGsrKS+oVwETjGFF7Wv Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I'm trying to decide if I should cram "mfid" for mfi(4) controllers into the src tree or if we should package it up into a ports package. I suspect that either one is acceptible, but it seems to make more sense to put it into the src tree since mfiutil is also there. Comments? Sean ref: http://svnweb.freebsd.org/base/user/sbruno/mfid/ --=-XOGsrKS+oVwETjGFF7Wv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iQEcBAABAgAGBQJPWPWuAAoJEL2UHwafTLtOtgwH/2tw7cLJxUk+DyHM1Rpc3y2h ufYXJPT2JcNrOXKibo2iPQv0uACHHUHMW/nTj0AiHZRSjlpOadiuANEOdydlFg8F FqF+jJD3oaq65ENnQYcGmNpeX4Vv4kXaCOp9FgntIEPsWPttyR4OyKCIlRVmG7gd oWhw9cMY9yylyITRfl5PVGbTsGl39Pzplvt4KX/U3/ehIiV2TEDKpjJ1frccCtxu 3D2Ysr9HQM5OdhdOYzRFuIEy0StgH6F1eQKv2UnQIc6fA2kDzUThQFmwWXExYeRN fPuCLcVYIXB2x4kCUCquOQo/HC9paqLuu3DnNA3zKOvA6fHLJ57WBC5TwDNId1M= =N9T3 -----END PGP SIGNATURE----- --=-XOGsrKS+oVwETjGFF7Wv-- From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 8 18:17:04 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A4D79106566C for ; Thu, 8 Mar 2012 18:17:04 +0000 (UTC) (envelope-from bfalk_bsd@brandonfa.lk) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5FB758FC12 for ; Thu, 8 Mar 2012 18:17:04 +0000 (UTC) Received: by yenl9 with SMTP id l9so483814yen.13 for ; Thu, 08 Mar 2012 10:17:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brandonfa.lk; s=google; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=VanCFcoJhYdOzER2hcH/Lbxt6Dntsoa+eWgU6gcoQgI=; b=kjUraqXSC2l9SapLjJkgJQCyUC5lW/FQehO9cgFvESJj8XmipmVDTBdPQ4xAxT/ot3 KCCWlMwOyJXXv65bsBmBNpmG/I5312RuMEgBVk6EhGbgVBGl5lzabN1bBUoiMQED4lAo EUwntqZII8ReB1eLV7TjRUqtw1gqGHw3CoLYo= Received: by 10.236.197.100 with SMTP id s64mr12052254yhn.108.1331230623715; Thu, 08 Mar 2012 10:17:03 -0800 (PST) Received: from [192.168.42.146] (wsip-184-183-177-134.dc.dc.cox.net. [184.183.177.134]) by mx.google.com with ESMTPS id j2sm4340818ani.19.2012.03.08.10.17.02 (version=SSLv3 cipher=OTHER); Thu, 08 Mar 2012 10:17:03 -0800 (PST) Message-ID: <4F58F798.1000308@brandonfa.lk> Date: Thu, 08 Mar 2012 13:16:56 -0500 From: Brandon Falk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQnwON+6PUFShRXHlZVcWk/Gu3Akx68s6dciAcT3KfNit1+dPU1YHfrqCGJSxX2/KlNZzMlF Subject: De-warning...ing clang Kernel Builds X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2012 18:17:04 -0000 Is there anyone actively working on cleaning up the codebase to not throw warnings when built with clang. I realize these warnings do not matter, but I generally prefer to get rid of warnings if possible. I can't imagine it would take too long, although I could see an issue with developers not familiar with the clang warning system forgetting to check clang builds for warnings while they add new code. -Brandon From owner-freebsd-hackers@FreeBSD.ORG Thu Mar 8 23:21:12 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A7111065674 for ; Thu, 8 Mar 2012 23:21:12 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (cl-327.ede-01.nl.sixxs.net [IPv6:2001:7b8:2ff:146::2]) by mx1.freebsd.org (Postfix) with ESMTP id E1F078FC0A for ; Thu, 8 Mar 2012 23:21:11 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:9d09:6a8a:331f:682d] (unknown [IPv6:2001:7b8:3a7:0:9d09:6a8a:331f:682d]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 8951D5C37; Fri, 9 Mar 2012 00:21:10 +0100 (CET) Message-ID: <4F593EE5.1060803@FreeBSD.org> Date: Fri, 09 Mar 2012 00:21:09 +0100 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:11.0) Gecko/20120229 Thunderbird/11.0 MIME-Version: 1.0 To: Brandon Falk References: <4F58F798.1000308@brandonfa.lk> In-Reply-To: <4F58F798.1000308@brandonfa.lk> X-Enigmail-Version: 1.4a1pre Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: De-warning...ing clang Kernel Builds X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Mar 2012 23:21:12 -0000 On 2012-03-08 19:16, Brandon Falk wrote: > Is there anyone actively working on cleaning up the codebase to not throw > warnings when built with clang. I realize these warnings do not matter, but I > generally prefer to get rid of warnings if possible. I can't imagine it would > take too long, although I could see an issue with developers not familiar with > the clang warning system forgetting to check clang builds for warnings while > they add new code. Take care saying "these warnings do not matter". Unfortunately, it is not as simple as that. In some cases, the warnings are indeed superfluous, and it is rather annoying to fix them (a.k.a "shut up the compiler"). In other cases, however, the warnings point out real problems. Obviously, those problems can be fixed, but sometimes that is either very hard, or very disruptive, or both. And there are even cases where the problem may be very subtle, and cannot be fixed without extremely careful inspection (and retrospection). Last but not least, applying fixes may break code in unexpected ways. Especially if the code has been sitting untouched for years, it is prone to be sensitive to even the smallest changes... One big issue is that there are no tinderbox builds that use clang, and therefore people don't notice that commits introduce new warnings (or errors, even) when building with clang. This is something that should be fixed sooner rather than later. On the other hand, if -CURRENT would be switched to use clang by default, the problems would hopefully be taken care of sooner. :) From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 9 04:05:20 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 300021065675 for ; Fri, 9 Mar 2012 04:05:20 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id BA9138FC12 for ; Fri, 9 Mar 2012 04:05:19 +0000 (UTC) Received: by werl4 with SMTP id l4so1077764wer.13 for ; Thu, 08 Mar 2012 20:05:18 -0800 (PST) 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:content-transfer-encoding; bh=x3hHjgZhTNBQrEaNVCP0yOAg09Rfv+6D9nL72RH8vK4=; b=b7w14B57QnC+Iph2P9hzZRrbhwfGmLWRQIKdvniySS4YhklaNHhCjK2ZnRF1PFMG0A ox71psZvbY/vF+ZGoGAHGiR0tZ4AN4gnxWf+djIr6OJff3hQw8opJsxQv/iRDWmufYla zdfoFjAuflPK88eWugLr7UydznQZnEVx+8CDd9upsaaAbiOTrrxuFD8dM2xRL9b4twms DwECJfY+nJmX5Gw0MbKEZkWeni20eGVzDsYY5B7Q0p7OtXK/YNKlhkRNnkFStAGJ9V75 C5W11qIMuGggW7lPrY7nydtx4tlSHbW9LB+7vHkKyA+/8TRrkcSOffxjs6n85lywu/aU je+Q== MIME-Version: 1.0 Received: by 10.180.93.232 with SMTP id cx8mr950507wib.14.1331265918805; Thu, 08 Mar 2012 20:05:18 -0800 (PST) Received: by 10.180.75.41 with HTTP; Thu, 8 Mar 2012 20:05:18 -0800 (PST) In-Reply-To: <1331213272.40718.YahooMailNeo@web120701.mail.ne1.yahoo.com> References: <1331213272.40718.YahooMailNeo@web120701.mail.ne1.yahoo.com> Date: Thu, 8 Mar 2012 23:05:18 -0500 Message-ID: From: Ryan Stone To: "Dr. Baud" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-hackers@freebsd.org" Subject: Re: DTrace built-in variables X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2012 04:05:20 -0000 On Thu, Mar 8, 2012 at 8:27 AM, Dr. Baud wrote: > > > =A0=A0=A0 Are the build-in variables cpu and curcpu supported in a 8.1-RE= LEASE DTrace? > > =A0=A0=A0 Dr. Unfortunately not. However, you can approximate them with (IIRC) curthread->td_oncpu. From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 9 04:11:26 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5F6A8106564A for ; Fri, 9 Mar 2012 04:11:26 +0000 (UTC) (envelope-from rysto32@gmail.com) Received: from mail-we0-f182.google.com (mail-we0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id EA2E58FC08 for ; Fri, 9 Mar 2012 04:11:25 +0000 (UTC) Received: by werl4 with SMTP id l4so1080264wer.13 for ; Thu, 08 Mar 2012 20:11:24 -0800 (PST) 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:content-transfer-encoding; bh=x3hHjgZhTNBQrEaNVCP0yOAg09Rfv+6D9nL72RH8vK4=; b=mnT9GPdW4iAi7QLdFJLIu0kcVKSRlQj3c89HcA7/AFg251P2i4maK8Jto6AwZaGqho n6sN3QXYhinfn399dlQDsO+oRo8jSUPqNr2FZZ41YP4H9YPL0h2WL7+LfsjtOchZ/IMf 5VZ6jmn7gE3/jsg9mK9hA9eYrLZ3C5rFqrwRBcVB+Tl6dISwBXTtwpEyMdo+nrFehvSZ 5L00xRVMOJYsIh8eb7ey/C3LCB3RO2yZ7WpDHPf9vg7Kd1XcMJZJ/bk0WUURms7eIyCA 30ohI2C+6Ef18RIA/+IUvEFPoa83H+QSny7GEf8sse4jxOFPVgJSUMgSUvuUu9kdkYar gTbA== MIME-Version: 1.0 Received: by 10.180.93.232 with SMTP id cx8mr986668wib.14.1331266284862; Thu, 08 Mar 2012 20:11:24 -0800 (PST) Received: by 10.180.75.41 with HTTP; Thu, 8 Mar 2012 20:11:24 -0800 (PST) In-Reply-To: <1331213272.40718.YahooMailNeo@web120701.mail.ne1.yahoo.com> References: <1331213272.40718.YahooMailNeo@web120701.mail.ne1.yahoo.com> Date: Thu, 8 Mar 2012 23:11:24 -0500 Message-ID: From: Ryan Stone To: "Dr. Baud" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-hackers@freebsd.org" Subject: Re: DTrace built-in variables X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2012 04:11:26 -0000 On Thu, Mar 8, 2012 at 8:27 AM, Dr. Baud wrote: > > > =A0=A0=A0 Are the build-in variables cpu and curcpu supported in a 8.1-RE= LEASE DTrace? > > =A0=A0=A0 Dr. Unfortunately not. However, you can approximate them with (IIRC) curthread->td_oncpu. From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 9 04:52:01 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 82EB51065785 for ; Fri, 9 Mar 2012 04:52:01 +0000 (UTC) (envelope-from freebsd-hackers@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 31E9C8FC15 for ; Fri, 9 Mar 2012 04:52:01 +0000 (UTC) Received: from mail.unitedinsong.com.au (bell.herveybayaustralia.com.au [192.168.0.40]) by mail.unitedinsong.com.au (Postfix) with ESMTP id 3D0F15C28 for ; Fri, 9 Mar 2012 15:05:25 +1000 (EST) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.177]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id BE7135C22 for ; Fri, 9 Mar 2012 15:05:24 +1000 (EST) Message-ID: <4F598B33.2080001@herveybayaustralia.com.au> Date: Fri, 09 Mar 2012 14:46:43 +1000 From: Da Rock <9Phackers@herveybayaustralia.com.au> User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:7.0.1) Gecko/20111109 Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <20120306220444.300980@gmx.com> In-Reply-To: <20120306220444.300980@gmx.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Fri, 09 Mar 2012 05:01:15 +0000 Subject: Re: Graphical Terminal Environment X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-hackers@freebsd.org List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2012 04:52:01 -0000 On 03/07/12 08:04, Dieter BSD wrote: > Brandon writes: >> (If you haven't noticed, I'm going to keep finding excuses to >> write this as I really am kindof excited to learn/work on it) > ideas: > > Display PostScript > > rio (from Plan 9) > > If you're mainly looking for a low-level graphics project, > maybe reverse engineer something on the GPU (e.g. UVD) Looks like I may have been a little late to the party, but I'd suggest looking at Plan9 for ideas - this is exactly what it does. It is an OS with "windows" capabilities builtin (unlike Windows ironically enough, despite its dependencies), Rio itself is a WM like DWM or similar. I'd be surprised if it didn't have a similar api structure as you have outlined previously. For reference to access it like you would ssh on unix you use Drawterm instead, if that gives you any indication of its workings. Essentially no matter which way you look at it you'll be reinventing the wheel; but it does sound like fun! :) From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 9 09:38:33 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BDB5F106564A; Fri, 9 Mar 2012 09:38:33 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1648E8FC14; Fri, 9 Mar 2012 09:38:32 +0000 (UTC) Received: by bkcjc3 with SMTP id jc3so1350522bkc.13 for ; Fri, 09 Mar 2012 01:38:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; bh=CjTpOWsE9xLaMWYRZOgRbYdPnsH5/9tLw4FI3mwUaxU=; b=fmujHUhqr4WJGhsAQXgprYT//sOoH9tgVzjuVbX9Do6EQC1MCjBPJoewsBRxbvGQ4a D2Sfb8pImEBsqoCzTsOFILHNVIix/F1GxV11LKuuwteJMY6d6yLjVij7K+LAirFkPTC2 5TfOtr18oLxzp93+DTzfGY9NPZy/XEnhBhanbrWRo+mDZT5PgdcMJ8IpsXblgHsOQVB1 cwtaUf9gUwWORJlCkO7VvwdbzyUuuyCFMamZ7PPHfw25jeXcgLHxXLq+HRvVXlt68aiR ymzZhOW6OjJHT9Z50xA99HOpAzzVz8RS3+yR6+FffGGJrDBKPkH6NWd1a6ogs8bfKpSV TOJw== Received: by 10.204.150.78 with SMTP id x14mr581084bkv.114.1331285911842; Fri, 09 Mar 2012 01:38:31 -0800 (PST) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua. [212.86.226.226]) by mx.google.com with ESMTPS id t17sm8085000bke.6.2012.03.09.01.38.30 (version=SSLv3 cipher=OTHER); Fri, 09 Mar 2012 01:38:30 -0800 (PST) Sender: Alexander Motin Message-ID: <4F59CF94.7070506@FreeBSD.org> Date: Fri, 09 Mar 2012 11:38:28 +0200 From: Alexander Motin User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.2) Gecko/20120226 Thunderbird/10.0.2 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: jeff@freebsd.org Subject: [RFC] Thread CPU load estimation for ULE, not sampled by hardclock() X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2012 09:38:33 -0000 Hi. At this time ULE scheduler uses hardclock() ticks via sched_tick() to estimate threads CPU load. That strictly limits it's best possible precision and that is one more reason to call hardclock() on every HZ tick, even when there is no callouts scheduled. I've made a patch to get CPU load estimation in ULE in event-based way. It won't immediately increase precision as I still use ticks counter as time source, but it should be trivial to use more precise one later (if some global, fast and reliable one is available). What it gives now, is that sched_tick() function is now empty for ULE, same as it always was for 4BSD. With some more changes in other areas it should allow to run hardclock() with full HZ rate only on one non-idle CPU, not on each one as it is now. One more small step toward tick-less kernel. Patch can be found here: http://people.freebsd.org/~mav/sched.notick4.patch Any comments? Important theoretical question: what exactly we want to see as CPU load? ps(1) defines %cpu as: "decaying average over up to a minute of previous (real) time", but I think that definition is not exactly true now. As I understand, 4BSD calculates pure decaying average without time limit -- if not precision limitation, CPU load value would include data for all the thread life time with exponentially decreasing weight for old values. ULE behaves partially alike, but has strict idle deadline after which load considered equal to zero and in some cases it decays more linearly, that seems also depends on if/how often CPU load is read. So which way should be considered right? Should it be clear decaying average as 4BSD does, or should it be something closer to "average load for last N seconds", following ideas I see in ULE now? -- Alexander Motin From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 9 11:52:41 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4DD7D106566B for ; Fri, 9 Mar 2012 11:52:41 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id C984D8FC13 for ; Fri, 9 Mar 2012 11:52:40 +0000 (UTC) Received: by eekd17 with SMTP id d17so456963eek.13 for ; Fri, 09 Mar 2012 03:52:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=gqLJBMXsKWwucKQM5JK+WMPozigr4sdapnTRIMtSHTE=; b=mU3WXqxstGITDrBURVY5T29y1ycfE/B2ZUSxJMB+AQM4KsljuZADQg2zV3BK+n5au4 h6Nkmk3T37Aru65wlzMP6JC1FyLeTHQiJTwrrcd+rCXkL/8kP5ykLXL/0qVOuuKKMuy7 THz1IAlcUvy294sQAlxHNucuB0JAyYJMn9WX1lJREVAVd5TjIWm1vOcDO6AFSaIDHuKA Oh9rQEk7mc4YAgCgMAugjsUgbEj+uVcy86dxnJSizSvZYM1B0BAi3FDHAotKWoU5mUDn DA8mErwXiRKk/PS3sUJPIkvV/Qz/QiH3cTZyR3bQn2f9vHeFQ/dpXqKxMDGABtiMsPPb CuPQ== Received: by 10.14.28.140 with SMTP id g12mr342563eea.85.1331293959597; Fri, 09 Mar 2012 03:52:39 -0800 (PST) Received: from dfleuriot.local ([83.167.62.196]) by mx.google.com with ESMTPS id z47sm17213519een.5.2012.03.09.03.52.37 (version=SSLv3 cipher=OTHER); Fri, 09 Mar 2012 03:52:38 -0800 (PST) Message-ID: <4F59EF04.3070806@my.gd> Date: Fri, 09 Mar 2012 12:52:36 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <1331230126.3075.13.camel@powernoodle-l7.corp.yahoo.com> In-Reply-To: <1331230126.3075.13.camel@powernoodle-l7.corp.yahoo.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQk6hVHydELSYNx4xBTKCDCDjf+y9K5cJfMt81zld9jc89B/LMO8VPDm73Te0K/EZLz2reTi Subject: Re: mfid, raid monitoring daemon X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2012 11:52:41 -0000 On 3/8/12 7:08 PM, Sean Bruno wrote: > I'm trying to decide if I should cram "mfid" for mfi(4) controllers into > the src tree or if we should package it up into a ports package. I > suspect that either one is acceptible, but it seems to make more sense > to put it into the src tree since mfiutil is also there. > > Comments? > > Sean > > ref: http://svnweb.freebsd.org/base/user/sbruno/mfid/ For what it's worth, we use the following plugin for our Nagios RAID checks on MFI controllers. I'm attaching the nagios script below for those that are interested. The downside is it uses Megacli and all the linux compatibility stuff :( I for one would be *delighted* if a system came up that would allow me to skip the whole linux compatibility layer ! IMO: - port: flexibility (can choose to install or not, can update whenever you want) - base: no hassle with managing the port, at the cost of less flexibility (installed by default, updates only with the base system) I slightly favor a port. === Nagios script begins === #!/usr/bin/perl -w # check_megaraid_sas Nagios plugin # Copyright (C) 2007 Jonathan Delgado, delgado@molbio.mgh.harvard.edu # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # # # Nagios plugin to monitor the status of volumes attached to a LSI Megaraid SAS # controller, such as the Dell PERC5/i and PERC5/e. If you have any hotspares # attached to the controller, you can specify the number you should expect to # find with the '-s' flag. # # The paths for the Nagios plugins lib and MegaCli may need to me changed. # # Code for correct RAID level reporting contributed by Frode Nordahl, 2009/01/12. # # $Author: delgado $ # $Revision: #8 $ $Date: 2009/03/06 $ use strict; use Getopt::Std; use lib "/usr/lib/nagios/plugins"; use utils qw(%ERRORS); our($opt_h, $opt_s, $opt_o, $opt_m, $opt_p); getopts('hs:o:p:m:'); if ( $opt_h ) { print "Usage: $0 [-s number] [-m number] [-o number]\n"; print " -s is how many hotspares are attached to the controller\n"; print " -m is the number of media errors to ignore\n"; print " -p is the predictive error count to ignore\n"; print " -o is the number of other disk errors to ignore\n"; exit; } my $megacli = 'sudo /usr/local/sbin/megacli'; my ($adapters); my $hotspares = 0; my $hotsparecount = 0; my $pdbad = 0; my $pdcount = 0; my $mediaerrors = 0; my $mediaallow = 0; my $prederrors = 0; my $predallow = 0; my $othererrors = 0; my $otherallow = 0; my $result = ''; my $status = 'OK'; sub max_state ($$) { my ($current, $compare) = @_; if (($compare eq 'CRITICAL') || ($current eq 'CRITICAL')) { return 'CRITICAL'; } elsif ($compare eq 'OK') { return $current; } elsif ($compare eq 'WARNING') { return 'WARNING'; } elsif (($compare eq 'UNKNOWN') && ($current eq 'OK')) { return 'UNKNOWN'; } else { return $current; } } if ( $opt_s ) { $hotspares = $opt_s; } if ( $opt_m ) { $mediaallow = $opt_m; } if ( $opt_p ) { $predallow = $opt_p; } if ( $opt_o ) { $otherallow = $opt_o; } # Get the number of RAID controllers we have open (ADPCOUNT, "$megacli -adpCount |") || die "error: Could not execute MegaCli -adpCount"; while () { if ( m/Controller Count:\s*(\d+)/ ) { $adapters = $1; last; } } close ADPCOUNT; ADAPTER: for ( my $adp = 0; $adp < $adapters; $adp++ ) { # Get the number of logical drives on this adapter open (LDGETNUM, "$megacli -LdGetNum -a$adp |") || die "error: Could not execute $megacli -LdGetNum -a$adp"; my ($ldnum); while () { if ( m/Number of Virtual drives configured on adapter \d:\s*(\d+)/i ) { $ldnum = $1; last; } } close LDGETNUM; LDISK: for ( my $ld = 0; $ld < $ldnum; $ld++ ) { # Get info on this particular logical drive open (LDINFO, "$megacli -LdInfo -L$ld -a$adp |") || die "error: Could not execute $megacli -LdInfo -L$ld -a$adp"; my ($size, $unit, $raidlevel, $ldpdcount, $state, $spandepth); while () { if ( m/Size:\s*((\d+)(MB|GB|TB))/ ) { $size = $2; $unit = $3; # Adjust MB to GB if that's what we got if ( $unit eq 'MB' ) { $size = sprintf( "%.0f", ($size / 1024) ); $unit= 'GB'; } } elsif ( m/State:\s*(\w+)/ ) { $state = $1; if ( $state ne 'Optimal' ) { $status = 'CRITICAL'; } } elsif ( m/Number Of Drives:\s*(\d+)/ ) { $ldpdcount = $1; } elsif ( m/Span Depth:\s*(\d+)/ ) { $spandepth = $1; } elsif ( m/RAID Level: Primary-(\d)/ ) { $raidlevel = $1; } } close LDINFO; # Report correct RAID-level and number of drives in case of Span configurations if ($ldpdcount && $spandepth > 1) { $ldpdcount = $ldpdcount * $spandepth; if ($raidlevel < 10) { $raidlevel = $raidlevel . "0"; } } $result .= "$adp:$ld:RAID-$raidlevel:$ldpdcount drives:$size$unit:$state "; } #LDISK close LDINFO; # Get info on physical disks for this adapter open (PDLIST, "$megacli -PdList -a$adp |") || die "error: Could not execute $megacli -PdList -a$adp"; my ($slotnumber,$fwstate); PDISKS: while () { if ( m/Slot Number:\s*(\d+)/ ) { $slotnumber = $1; $pdcount++; } elsif ( m/(\w+) Error Count:\s*(\d+)/ ) { if ( $1 eq 'Media') { $mediaerrors += $2; } else { $othererrors += $2; } } elsif ( m/Predictive Failure Count:\s*(\d+)/ ) { $prederrors += $1; } elsif ( m/Firmware state:\s*(\w+)/ ) { $fwstate = $1; if ( $fwstate eq 'Hotspare' ) { $hotsparecount++; } elsif ( $fwstate eq 'Online' ) { # Do nothing } elsif ( $fwstate eq 'Unconfigured' ) { # A drive not in anything, or a non drive device $pdcount--; } elsif ( $slotnumber != 255 ) { $pdbad++; $status = 'CRITICAL'; } } } #PDISKS close PDLIST; } $result .= "Drives:$pdcount "; # Any bad disks? if ( $pdbad ) { $result .= "$pdbad Bad Drives "; } my $errorcount = $mediaerrors + $prederrors + $othererrors; # Were there any errors? if ( $errorcount ) { $result .= "($errorcount Errors) "; if ( ( $mediaerrors > $mediaallow ) || ( $prederrors > $predallow ) || ( $othererrors > $otherallow ) ) { $status = max_state($status, 'WARNING'); } } # Do we have as many hotspares as expected (if any) if ( $hotspares ) { if ( $hotsparecount < $hotspares ) { $status = max_state($status, 'WARNING'); $result .= "Hotspare(s):$hotsparecount (of $hotspares)"; } else { $result .= "Hotspare(s):$hotsparecount"; } } print STDOUT "$status: $result\n"; exit $ERRORS{$status}; === Nagios script ends === From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 9 15:28:17 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8908E106564A for ; Fri, 9 Mar 2012 15:28:17 +0000 (UTC) (envelope-from annonymouse@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 3AC918FC19 for ; Fri, 9 Mar 2012 15:28:17 +0000 (UTC) Received: by vbmv11 with SMTP id v11so1786284vbm.13 for ; Fri, 09 Mar 2012 07:28:16 -0800 (PST) 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=JN/PVm9WW3pqGUw3u5fjnYP3GE3vR7HRXnnZxd91Dw0=; b=v74MkwpO7JirtTqhzp8d+fyBrQmxxpe32PZRE1XaZbUlz9CQPzP9uWDSa7FDxwZQan 5jhK5TgbkCNrRyOZPmeR+cooqUIolF0toPON+W5zUsPVygPEVB7lT7aNG4qIkjhV34Iu sBCvtN4rOQ4gOJYxBrkxEDOsQQpR0VOeyKVIpL8IPrrprS/2y1aUjs7P+sqAvcKhHNVH IwUze3zkISGA8a3lWT9TLKqznhp2tAi4gsMj1kn8VBn2tBm+zfUuben3HVgk8Bg7VTMH zM+fFLvNWBXPg6JhXMmKugiDHJ9IWH2IwQJIH35HB9PO5hSEMaX2Ol06JvzT6wB9A8gc acnQ== MIME-Version: 1.0 Received: by 10.52.36.2 with SMTP id m2mr3896529vdj.102.1331305368571; Fri, 09 Mar 2012 07:02:48 -0800 (PST) Sender: annonymouse@gmail.com Received: by 10.220.118.19 with HTTP; Fri, 9 Mar 2012 07:02:48 -0800 (PST) Date: Fri, 9 Mar 2012 15:02:48 +0000 X-Google-Sender-Auth: jYxhtfgtMglwnTvAWTeysugZVMI Message-ID: From: Alex Yong To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Strong host model in IPv6? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2012 15:28:17 -0000 Hi all, I've been playing around with IPv6 networking on FreeBSD release 8.2 and found that there seems to be no strong incoming host model as specified in RFC 1122. I've spotted that in IPv4 there is the sysctl "net.inet.ip.check_interface" which defaults to set, but I've been unable to find any guarantees that strong host model is enforced in v6 in the comments or internet. According to the IPv6 Core Protocols Implementation book (3.7 "Input processing: ip6_input() Function") the incoming network packet processing in ip6_input should use the routing table to look up whether packets are of relevance for an interface - but the code base has diverged significantly since then including vnets for jails which makes me wonder if this is a bug. However before going into the long grass and trying to fix it I thought I'd ask here to see if there's anything I could try first, if I'm making some horrific mistakes, or if somebody had come across this already (I had a quick look at svn but didn't see anything of concern). My recipe for reproducing is thus: One FreeBSD 8.2 machine (the box under test), with 2 network interfaces (interface 0 and interface 1). interface 0 is connected to a subnet with routes to the outside world on v4 and v6. Interface 1 is connected directly via ethernet cable to the interface of a testing machine, with v4 disabled and a static v6 address for an unroutable subnet via the other interface. A route is configured for this subnet out of interface 1 (to allow for communications with the testing machine). The testing machine (which happens to be running FreeBSD) has 2 network interfaces (interface A and B). Interface A is connected to the same subnet as interface 0 (this is for my administration prodding of the testing device), and interface B is directly connected to interface 1 on the machine under test. Interface B has a staticly configured IPv6 address that matches the subnet of interface 1. It has a route to allow traffic to flow this way, *and* a route configured to route traffic for the box under tests interface 0 IPv6 address via interface B. If I ping interface 0 from box 1, I get a response. To prove that the response isn't coming in via the other links I used tcpdump on that interface on the testing machine *and* the machine under test and showed packets entering and responses leaving those interfaces. My expectation here would be to see packets entering (as the bpf hook is below the IP layer) but see no response. I checked sysctl net.inet6.ip6.forwarding is set to 0 (on both machines). Many thanks for any help AlexY From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 9 14:51:34 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0E8A61065673 for ; Fri, 9 Mar 2012 14:51:34 +0000 (UTC) (envelope-from drbaud@yahoo.com) Received: from nm11-vm1.bullet.mail.ne1.yahoo.com (nm11-vm1.bullet.mail.ne1.yahoo.com [98.138.91.40]) by mx1.freebsd.org (Postfix) with SMTP id B6B2A8FC0C for ; Fri, 9 Mar 2012 14:51:33 +0000 (UTC) Received: from [98.138.90.49] by nm11.bullet.mail.ne1.yahoo.com with NNFMP; 09 Mar 2012 14:51:27 -0000 Received: from [98.138.89.165] by tm2.bullet.mail.ne1.yahoo.com with NNFMP; 09 Mar 2012 14:51:27 -0000 Received: from [127.0.0.1] by omp1021.mail.ne1.yahoo.com with NNFMP; 09 Mar 2012 14:51:27 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 451365.84212.bm@omp1021.mail.ne1.yahoo.com Received: (qmail 20621 invoked by uid 60001); 9 Mar 2012 14:51:27 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1331304687; bh=jRI81XwjPupKTIktBm5px6BzBn4SaQDRMdvqgLAMTks=; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=Rg3sc2yA8q7V1Q8s1j1uYlTmrWgVSArGL8oZUKDp+JZRe2IOjc6E2C54OBdNPjbKAgicPGTtxaJmlZtPOTuB7Kqu7pnhSSP7/PG2f5JeTXFOi/Jl0wG+j2hfnIWP9VzLdzpKU1SozfCFf9hB+Eq7hg16yv7t13vE++Ze1xXzdR4= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=yituJPxqc0tZWbYSNkLB2C5qplQlBB3A5rpY3QZRZ5gPrhy4O9Pn4u/TQ8cdvntFQ8WyOzLoSJoRU9otMTYwsNVC4lVhwVhi+yLYKYFv9RyYgROrHgU0CdIFMlz3hIoIp0Z0oznQ7SLk+qsiZwzfLxm7ChxXvOEhQJf7+kl5nfo=; X-YMail-OSG: hiq9.WsVM1mZWGdtA5CHOMOcE6wDsJXq6TTfZQdaW0vJ8iC 0CNFX6vOcv1_K0S_FpVHEXY82ljxzOJitWQBkD67DPxPSXaYvNV0iBsaLQpR JPURo4FSVdpg26C1VgcR2BAyqHYYo4as2RtITnBWD3wIsV9Ivpb47oeM8ULy ZWI.xT9bwtIFtgZGhpH4ytswTg9kiUy_p0EckU7Nx57z49LMwvKaj67IWWHN 9Yj96NdUS.8EqCzAWbo3hJdaw4hFiiv52ecemdIPodjKHG2fETzA_l9aCgTp 2BvjjlS7AzFnr7zY4VwqTmrBtTKGhA9zvS.DnXUED7OzwHq1OjLoNpG8vdmJ 1G1hHLgdBQKusyy.c2iHNzt_tMEN.GaEaP8uode7kk3LwUKl5lNnu0c5FZ4L yNqJuKtpC31RRs1JmDpN1BM1xpw4mf0wfrZrgTfV0ac6kpLN2AibuhhuswqY yBSs0CvjcC.j3KX55xy8U5w-- Received: from [64.238.244.146] by web120706.mail.ne1.yahoo.com via HTTP; Fri, 09 Mar 2012 06:51:27 PST X-Mailer: YahooMailWebService/0.8.116.338427 References: <1331213272.40718.YahooMailNeo@web120701.mail.ne1.yahoo.com> Message-ID: <1331304687.12411.YahooMailNeo@web120706.mail.ne1.yahoo.com> Date: Fri, 9 Mar 2012 06:51:27 -0800 (PST) From: "Dr. Baud" To: freebsd hackers In-Reply-To: MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 09 Mar 2012 16:28:15 +0000 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: DTrace built-in variables X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Dr. Baud" List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2012 14:51:34 -0000 =0A=A0=A0=A0 I'll give it a try, thanks.=0A=0A=0AOn Thu, Mar 8, 2012 at 8:2= 7 AM, Dr. Baud wrote:=0A>=0A>=0A> =A0=A0=A0 Are the buil= d-in variables cpu and curcpu supported in a 8.1-RELEASE DTrace?=0A>=0A> = =A0=A0=A0 Dr.=0A=0AUnfortunately not.=A0 However, you can approximate them = with (IIRC)=0Acurthread->td_oncpu. From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 9 16:53:43 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B1ADC106566C for ; Fri, 9 Mar 2012 16:53:43 +0000 (UTC) (envelope-from vince@unsane.co.uk) Received: from unsane.co.uk (unsane-pt.tunnel.tserv5.lon1.ipv6.he.net [IPv6:2001:470:1f08:110::2]) by mx1.freebsd.org (Postfix) with ESMTP id 3FFCC8FC16 for ; Fri, 9 Mar 2012 16:53:42 +0000 (UTC) Received: from vhoffman-macbooklocal.local (lon.namesco.net [195.7.254.102]) (authenticated bits=0) by unsane.co.uk (8.14.5/8.14.5) with ESMTP id q29Grfw3002751 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 9 Mar 2012 16:53:42 GMT (envelope-from vince@unsane.co.uk) Message-ID: <4F5A3595.5070208@unsane.co.uk> Date: Fri, 09 Mar 2012 16:53:41 +0000 From: Vincent Hoffman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <1331230126.3075.13.camel@powernoodle-l7.corp.yahoo.com> <4F59EF04.3070806@my.gd> In-Reply-To: <4F59EF04.3070806@my.gd> X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: mfid, raid monitoring daemon X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2012 16:53:43 -0000 On 09/03/2012 11:52, Damien Fleuriot wrote: > On 3/8/12 7:08 PM, Sean Bruno wrote: >> I'm trying to decide if I should cram "mfid" for mfi(4) controllers into >> the src tree or if we should package it up into a ports package. I >> suspect that either one is acceptible, but it seems to make more sense >> to put it into the src tree since mfiutil is also there. >> >> Comments? >> >> Sean >> >> ref: http://svnweb.freebsd.org/base/user/sbruno/mfid/ > > For what it's worth, we use the following plugin for our Nagios RAID > checks on MFI controllers. > I'm attaching the nagios script below for those that are interested. > The downside is it uses Megacli and all the linux compatibility stuff :( > > > > I for one would be *delighted* if a system came up that would allow me > to skip the whole linux compatibility layer ! > Can you not get enough info via mfiutil? not to mention there is a FreeBSD megacli sysutils/megacli as well as sysutils/linux-megacli that said I favour a port for the reasons you give below. Vince > IMO: > - port: flexibility (can choose to install or not, can update whenever > you want) > - base: no hassle with managing the port, at the cost of less > flexibility (installed by default, updates only with the base system) > > > I slightly favor a port. > > > > From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 9 16:59:09 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C432D1065670 for ; Fri, 9 Mar 2012 16:59:09 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 517998FC08 for ; Fri, 9 Mar 2012 16:59:09 +0000 (UTC) Received: by eaaf13 with SMTP id f13so534700eaa.13 for ; Fri, 09 Mar 2012 08:59:08 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=1ClXFk9pXTMDfSlzpePysGPiQhGU7HLe5WItdeIso78=; b=aV8pDkjL6Hf7zVEY+xmBD6oyJndmeuF91hVaJCdDTH33cTl/++i548c3sl/i27OgYj 6f6L2E9xtv0sIXff7SWkkVpHW7QDQSVfD3GfQWqqjW0PA9NDAcfXqbTGnvTu+CTnB75a FX0qX1WYuYqv6/XqZWHU7wqPoRN+FNtBKzgJNgEUhCCNIxDFqA0/zP0LD/1aSKcnfLfm CQqZe04q1E2ISl/O8UVlQVr8BPM/M0G7v+HlCP+8oFIOzSZWzQz2eE02f4VHdd5GnIiN sgGkYxa9P90wFGFAiNfPX2yymAHPKkK29BRs0InFaBJeejDV8hxVrTRVVE5Lt+KFMYJ9 mAMw== Received: by 10.213.15.206 with SMTP id l14mr335137eba.285.1331312348265; Fri, 09 Mar 2012 08:59:08 -0800 (PST) Received: from dfleuriot.local ([83.167.62.196]) by mx.google.com with ESMTPS id h47sm20017205eea.10.2012.03.09.08.59.06 (version=SSLv3 cipher=OTHER); Fri, 09 Mar 2012 08:59:07 -0800 (PST) Message-ID: <4F5A36DA.90807@my.gd> Date: Fri, 09 Mar 2012 17:59:06 +0100 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <1331230126.3075.13.camel@powernoodle-l7.corp.yahoo.com> <4F59EF04.3070806@my.gd> <4F5A3595.5070208@unsane.co.uk> In-Reply-To: <4F5A3595.5070208@unsane.co.uk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQnQuIRMB2MGIzSzmCIyg/5hmKNg3QyVNN3n98kqYKpw5jxcVKYbUWJ/HPV4Ko+dF0K1+Rec Subject: Re: mfid, raid monitoring daemon X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2012 16:59:09 -0000 On 3/9/12 5:53 PM, Vincent Hoffman wrote: > On 09/03/2012 11:52, Damien Fleuriot wrote: >> On 3/8/12 7:08 PM, Sean Bruno wrote: >>> I'm trying to decide if I should cram "mfid" for mfi(4) controllers into >>> the src tree or if we should package it up into a ports package. I >>> suspect that either one is acceptible, but it seems to make more sense >>> to put it into the src tree since mfiutil is also there. >>> >>> Comments? >>> >>> Sean >>> >>> ref: http://svnweb.freebsd.org/base/user/sbruno/mfid/ >> >> For what it's worth, we use the following plugin for our Nagios RAID >> checks on MFI controllers. >> I'm attaching the nagios script below for those that are interested. >> The downside is it uses Megacli and all the linux compatibility stuff :( >> >> >> >> I for one would be *delighted* if a system came up that would allow me >> to skip the whole linux compatibility layer ! >> > Can you not get enough info via mfiutil? not to mention there is a > FreeBSD megacli > sysutils/megacli as well as sysutils/linux-megacli > > that said I favour a port for the reasons you give below. > > Vince We've never tried with mfiutil actually, could be worth a look. Regarding megacli, we're using the linux one and I'd be so happy to get shot of it, too many dependencies... From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 9 20:14:25 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx2.freebsd.org (mx2.freebsd.org [69.147.83.53]) by hub.freebsd.org (Postfix) with ESMTP id 82BB4106568C for ; Fri, 9 Mar 2012 20:14:25 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from [127.0.0.1] (hub.freebsd.org [IPv6:2001:4f8:fff6::36]) by mx2.freebsd.org (Postfix) with ESMTP id 61BB115FED9; Fri, 9 Mar 2012 20:13:57 +0000 (UTC) Message-ID: <4F5A6486.30701@FreeBSD.org> Date: Fri, 09 Mar 2012 12:13:58 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: Alex Yong References: In-Reply-To: X-Enigmail-Version: 1.3.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-hackers@freebsd.org Subject: Re: Strong host model in IPv6? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Mar 2012 20:14:25 -0000 On 3/9/2012 7:02 AM, Alex Yong wrote: > I've been playing around with IPv6 networking on FreeBSD release 8.2 and > found that there seems to be no strong incoming host model as specified in > RFC 1122. First, you're infinitely more likely to get a useful response if you send your message to freebsd-net@. Second, according to https://tools.ietf.org/html/rfc1122 that RFC has been updated quite a bit over the last 23 years. Have you followed that chain upwards to make sure that your concerns are still valid? Doug -- This .signature sanitized for your protection From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 10 17:44:18 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A538E106564A for ; Sat, 10 Mar 2012 17:44:18 +0000 (UTC) (envelope-from elman_syah@yahoo.com) Received: from nm28.bullet.mail.sp2.yahoo.com (nm28.bullet.mail.sp2.yahoo.com [98.139.91.98]) by mx1.freebsd.org (Postfix) with SMTP id 5AD0F8FC13 for ; Sat, 10 Mar 2012 17:44:18 +0000 (UTC) Received: from [98.139.91.70] by nm28.bullet.mail.sp2.yahoo.com with NNFMP; 10 Mar 2012 17:41:33 -0000 Received: from [72.30.22.37] by tm10.bullet.mail.sp2.yahoo.com with NNFMP; 10 Mar 2012 17:41:33 -0000 Received: from [127.0.0.1] by omp1067.mail.sp2.yahoo.com with NNFMP; 10 Mar 2012 17:41:33 -0000 X-Yahoo-Newman-Id: 554666.60471.bm@omp1067.mail.sp2.yahoo.com Received: (qmail 46312 invoked from network); 10 Mar 2012 17:41:33 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=DKIM-Signature:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:X-rim-org-msg-ref-id:Message-ID:Content-Transfer-Encoding:Reply-To:X-Priority:Sensitivity:Importance:Subject:To:From:Date:Content-Type:MIME-Version; b=QE7Ec/VcvEWKsu701RIwzJWnhuyqHMTwWsv820Q4DgBTSUaN/tL01MIdU5sONt8JfauEiNQ6YXsJMh5HWbPfMxDsosoMr54FtRDk77zeKxh3KBrN0+Aw7dmtEIPuMohaFejQIKGIgDnR2XeNhJFTgIPeNJX4PYE4iYOC4ToEeLo= ; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1331401293; bh=I2Q/08rRZaJA2bfpXUpglUGXUnJY5vfM1YvO1i9OJHM=; h=X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:X-rim-org-msg-ref-id:Message-ID:Content-Transfer-Encoding:Reply-To:X-Priority:Sensitivity:Importance:Subject:To:From:Date:Content-Type:MIME-Version; b=JxPY8OhoO14itR9Ja9iR2VsiR6K0joZvjdgajLJbb42fuz+3L+5IMG0z1LOYRbqyPDU8tPaIo7RV+iZOKRd8C7YlmRyBvdKgDEFQ9J70o8SXyHBl5B2jcesVwCdmnEN8l6L++vBljq10qMT0Puz1cAbbAa1KlJgsdjm30NMjBI8= X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: At5cv.EVM1n2OuDixSAHJGN2BAPQ3R1QDIpag2exn5ZoKa0 1yegJ.XArvwtmhgFV2MiNU7LSDXzDO.hjBkHjNMgaTptjv9s9cPyZWcXHXLj hJH0UYQYcFloPIKnIYK0qbdm6EIqXHc_aNCluEKarnfaEBfQ9NDF2ExjSmNz uOD84Rz22PM9H.aUH2ERaFd8pihdN4GmMyAUK.8rt2VJo1PBlivyBToAHQl3 Yf1rkUxzjP0c4ykJMvsZ6inQintzUZi9jy312mpGf.uggAan9I6s7yIBg1c6 b.H7_mnWgxNOPSzy7ky5Jb4cVqav00uJXLvMYEWPHJ.8oWm4gfb8KHoxVoYP _HAFxkQPEZlRhufBH_EPq4ApuYt2fQo7ubE698aYKMyHd_hyLTwPua97jiDa ebaex0cDNtblyeG6rFSt3Omu5qHIgux1lGJy439I6kVzhOFU- X-Yahoo-SMTP: q_7iUPaswBAP9nwhgF_vqEtO2hoAqIY- Received: from b14.c1.bise3.blackberry (elman_syah@216.9.249.193 with xymcookie) by smtp122-mob.biz.mail.gq1.yahoo.com with SMTP; 10 Mar 2012 17:41:32 +0000 UTC X-rim-org-msg-ref-id: 1930648073 Message-ID: <1930648073-1331401290-cardhu_decombobulator_blackberry.rim.net-1618036195-@b11.c1.bise3.blackberry> Content-Transfer-Encoding: base64 X-Priority: Normal Sensitivity: Normal Importance: Normal To: freebsd-hackers@freebsd.org From: "Elman" Date: Sat, 10 Mar 2012 17:41:27 +0000 Content-Type: text/plain; charset="Windows-1252" MIME-Version: 1.0 X-Mailman-Approved-At: Sat, 10 Mar 2012 18:07:40 +0000 Subject: DKIM-Milter in Freebsd 9.0 X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: elman_syah@yahoo.com List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2012 17:44:18 -0000 RGVhciBoYWNrZXIsDQoNCkkgaW5zdGFsbCBmcmVlYnNkIDkuMCByZWxlYXNlIGZvciB0aGUgbWFp bCBzZXJ2ZXIsIGJ1dCBubyBka2ltLW1pbHRlciBpbiBmcmVlYnNkIDkuMC4gSSd2ZSBiZWVuIGxv b2tpbmcgdGhlcmUsIGJ1dCBpdCBkb2Vzbid0IGV4aXN0IGFuZCBvbmx5IG9wZW4tZGtpbSBpbiBm cmVlYnNkIDkuMC4gSXMgZnJlZWJzZCA5LjAgbm8gbG9uZ2VyIHByb3ZpZGluZyBka2ltLW1pbHRl ciBhZ2FpbiBpbiBmcmVlYnNkIHBvcnQuPyBCZWZvcmUgSSB3YXMgdXNlIGZyZWVic2QgOC4yIGZv ciBtYWlsIHNlcnZlciwgdGhlcmUgYXJlIHN0aWxsIGV4aXN0IGRraW0tbWlsdGVyLiBJIGZpbmFs bHkgaW5zdGFsbCBka2ltLW1pbHRlciBmcm9tIHNvdXJjZSBhbmQgbWFudWFsIGNvbXBpbGUuIA0K DQpUaGFua3MNCiNFbG1hbg0KUG93ZXJlZCBieSBUZWxrb21zZWwgQmxhY2tCZXJyea4= From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 10 22:45:35 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5D10C1065673 for ; Sat, 10 Mar 2012 22:45:35 +0000 (UTC) (envelope-from bsd-src@helfman.org) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 0C6B18FC14 for ; Sat, 10 Mar 2012 22:45:34 +0000 (UTC) Received: by vcmm1 with SMTP id m1so3443082vcm.13 for ; Sat, 10 Mar 2012 14:45:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :x-gm-message-state; bh=pcpmylNjCfXjz2utU8u8FqiJBXc2AIHpUwdtUbsoqmI=; b=aqVcjL1VCED04Cmq/Bsa2fDpWhU2byHZ0v2x6I8K+SrtZ4Axa6RIspUB0rT4w9kkHZ p+EUjCXjW55IFeNW6fqUZlIskxmVNtGEkZ0hEyMxn5bGsBONuoXniTRzfVOuHMJISazL lCY3zUbVt7xdllGUbffFM8Z3D2Q04KfmWk+jULtIXqj71AO1iT6W1oC+u+N8rIvosFjz zLS63Klmeb1ZtuR13Q4xhWmrK7TLhS9p9nqmUbyslk8k9XrvqyqtjCVV/t5CTnbmKeIB rwq8DbmHdHi6rhuhfitBGRav/YUmgbjYLWw4PHtUVviK7lpFpvBcG0iP+amUuZH7tvtX uMSw== MIME-Version: 1.0 Received: by 10.52.36.176 with SMTP id r16mr10732302vdj.84.1331419533967; Sat, 10 Mar 2012 14:45:33 -0800 (PST) Sender: bsd-src@helfman.org Received: by 10.52.98.106 with HTTP; Sat, 10 Mar 2012 14:45:33 -0800 (PST) In-Reply-To: <1331230126.3075.13.camel@powernoodle-l7.corp.yahoo.com> References: <1331230126.3075.13.camel@powernoodle-l7.corp.yahoo.com> Date: Sat, 10 Mar 2012 14:45:33 -0800 X-Google-Sender-Auth: U2xL6DJrbx06uCxnxAhmcUO4WDc Message-ID: From: Jason Helfman To: sbruno@freebsd.org X-Gm-Message-State: ALoCoQkHG3VvASTHYq1yO9qLPAlORijzI3fcQbu2m1cHIMl3BrnWBtdW/fo0GOt7TpqAzUX26Ajn Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "hackers@freebsd.org" Subject: Re: mfid, raid monitoring daemon X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Mar 2012 22:45:35 -0000 On Thu, Mar 8, 2012 at 10:08 AM, Sean Bruno wrote: > I'm trying to decide if I should cram "mfid" for mfi(4) controllers into > the src tree or if we should package it up into a ports package. I > suspect that either one is acceptible, but it seems to make more sense > to put it into the src tree since mfiutil is also there. > > Comments? > > Sean > > ref: http://svnweb.freebsd.org/base/user/sbruno/mfid/ > I agree with placing it into the tree. Mfiutil is a great utility, but having a monitoring daemon in the tree would be a great addition. -jgh