From owner-freebsd-questions@FreeBSD.ORG Sun May 26 01:26:56 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9D2799FE for ; Sun, 26 May 2013 01:26:56 +0000 (UTC) (envelope-from moonlightakkiy@yahoo.ca) Received: from nm48-vm10.bullet.mail.bf1.yahoo.com (nm48-vm10.bullet.mail.bf1.yahoo.com [216.109.114.235]) by mx1.freebsd.org (Postfix) with ESMTP id 439E7240 for ; Sun, 26 May 2013 01:26:55 +0000 (UTC) Received: from [98.139.215.143] by nm48.bullet.mail.bf1.yahoo.com with NNFMP; 26 May 2013 01:26:54 -0000 Received: from [98.139.213.13] by tm14.bullet.mail.bf1.yahoo.com with NNFMP; 26 May 2013 01:26:54 -0000 Received: from [127.0.0.1] by smtp113.mail.bf1.yahoo.com with NNFMP; 26 May 2013 01:26:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.ca; s=s1024; t=1369531614; bh=Bx4NA79CW7nOEMV3l1vMJnr9LXl79Ujgksr9xlRp+Gw=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Received:X-Google-DKIM-Signature:MIME-Version:X-Received:Received:Date:Message-ID:Subject:From:To:Content-Type; b=geL6KAjwB17/gQ0bt7uclYdUQB0yXR/+hXMrgVK5DtOAogsn459KLww6byeEKHj9P1LdzBxhUW6JSrvJ9HOjL6G1ALpfVl4p7+xcegezV9tMrLI7v2ubWs7BHTa1lf+OArH0OH0wktrDQSufAZmqPFeD+qp9XRZOMBrAGuQoZoA= X-Yahoo-Newman-Id: 349257.68970.bm@smtp113.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: gxvdrBQVM1nDXep_.HAK6bxOzPZW5QHIPlLVNyQiu7RHKrk AU_.ajA0fuUK8O9uD3Svs_BXhgNtFfhH07R_PbGybUTlWWfLhxutFD9q9EWW JOULuyWQ70_WuQ0F3_0TRF0fKU40LR5uVHOTARyKmU2YVZXB5TR3i306m6i6 Qva2y7sbwRXElqzrta7qO3KMDM_nC7p6fkdQnhs6aSjIqYgyCErzfgGrfOTQ Fjg7StoveN.6X7CagdjwolXf4Amd.7U8IRDO7CDRrQxxYYJC_Uy3wDvS6vuM qkbtDSilqz2kjl5iQU6Rs.iaAwkjm0Ubq6Sb14UU3jyEQ_EYJCJEywqmX441 nxUJ.t32ZASDcqigYNbFzKiL9KgrX0wsX7AS7qDsRIm4x8L0yayROB_cEgNM het8pqi3LWZ9.3iS_9fYsm6fdWpGc1qfPkLz.v.VroPWycNAG0VBzC60urv7 AddLH04Q4dP4gViaP2G1SvOdD_yEnoiyeq_QB617WL.fnWMi13thnO_wfASd YOXl2O1iGMpaqo9xDezplSXZo.gZL7o8kpPtcCPn1Hhomc8lAUPzhB3uUBoz P7deW X-Yahoo-SMTP: Xr6qjFWswBAEmd20sAvB4Q3keqXvXsIH9TjJ X-Rocket-Received: from mail-pa0-f53.google.com (moonlightakkiy@209.85.220.53 with ) by smtp113.mail.bf1.yahoo.com with SMTP; 25 May 2013 18:26:54 -0700 PDT Received: by mail-pa0-f53.google.com with SMTP id kq12so5648999pab.12 for ; Sat, 25 May 2013 18:26:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Bx4NA79CW7nOEMV3l1vMJnr9LXl79Ujgksr9xlRp+Gw=; b=BG6pcw67rwdJY0fF36eBKyuF6BPLG8H/fCh5YQKQiKtZ4xf6nx6MmEhVtR9S7SUW8/ bonAGBYASorQv8hA7exg5089ugM5/R6cntWLNEmE8Cn7ijH5WBfoxB7PqjNnpg0yQ0aw 0JnxqNDnPebjtmCcKB0axJKY5I4Nsl2YBisBQ3hzarv7cFPT+XeKCe2l1Qe3YuE2B4+V 9wx8hvObihqq7JXJABbN1lsxaxQI1IRyh1OXBSvEXN+75wtOf1UlYzi5NL0q0AfjJofq 84QylXtcqs7WCY2icx1cNNycGAPaFbOecgXyj9wXQ0bN0rC4XtbjUoV9Yrk1oGAaOREK MROw== MIME-Version: 1.0 X-Received: by 10.68.76.67 with SMTP id i3mr23697637pbw.20.1369531613319; Sat, 25 May 2013 18:26:53 -0700 (PDT) Received: by 10.68.6.74 with HTTP; Sat, 25 May 2013 18:26:53 -0700 (PDT) Date: Sat, 25 May 2013 19:26:53 -0600 Message-ID: Subject: Re: RALINK RT3572 supported in 9.1-RELEASE ? From: PseudoCylon To: freebsd-questions@freebsd.org, "Ronald F. Guilmette" Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 May 2013 01:26:56 -0000 > ------------------------------ > > Message: 7 > Date: Sat, 25 May 2013 06:54:12 -0400 > From: Jerry > To: FreeBSD > Subject: Re: RALINK RT3572 supported in 9.1-RELEASE ? > Message-ID: <20130525065412.2c0e2f73@scorpio> > Content-Type: text/plain; charset=UTF-8 > > On Sat, 25 May 2013 03:11:48 -0700 > Ronald F. Guilmette articulated: > >> >> I have a Trendnet TEW-684UB wireless dual-band USB adapter. Googling >> around for awhile leads me to believe that this probably contains an >> Ralink RT3572 chipset. >> >> Further googling also leads me to believe that a version of the >> run(4) driver which should support this chipset was comitted some >> considerable time ago. >> >> Can anyone confirm either or both of these two impressions? Does >> the TEW-684UB contain an Ralink RT3572? Is support for that chipset >> present in 9.1-RELEASE? >> >> If the answer to both of the above is "yes", then where might I find >> a "HOW TO" sort of doc which might help me to get this running? I've >> already added the following lines to /boot/loader.conf and rebooted: >> >> if_run_load="YES" >> runfw_load="YES" >> >> but apparently to no avail. >> >> After adding the above two lines to loader.conf and rebooting, >> shouldn't the device thenceforth appear in the output of "ifconfig >> -a" ? (Mine does not.) > > Seriously, it took me three seconds to go to the TRENDnet page and > discover that it uses the RT3573 chip set. > I will leave discovering > if the run(4) driver supports it as a lesson for the student. RT3572 -> yes RT3573 -> unlikely What does usbconfig -d N.N dump_device_desc ^-- the same number from ugenN.N say? AK > > -- > Jerry ? > > Disclaimer: off-list followups get on-list replies or get ignored. > Please do not ignore the Reply-To header. > __________________________________________________________________ > > > > ------------------------------ > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > End of freebsd-questions Digest, Vol 468, Issue 8 > ************************************************* From owner-freebsd-questions@FreeBSD.ORG Sun May 26 08:58:42 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 50750BB0 for ; Sun, 26 May 2013 08:58:42 +0000 (UTC) (envelope-from bored_to_death85@yahoo.com) Received: from nm39-vm9.bullet.mail.bf1.yahoo.com (nm39-vm9.bullet.mail.bf1.yahoo.com [72.30.239.153]) by mx1.freebsd.org (Postfix) with ESMTP id CDCAFF00 for ; Sun, 26 May 2013 08:58:41 +0000 (UTC) Received: from [98.139.212.153] by nm39.bullet.mail.bf1.yahoo.com with NNFMP; 26 May 2013 08:58:32 -0000 Received: from [98.139.212.238] by tm10.bullet.mail.bf1.yahoo.com with NNFMP; 26 May 2013 08:58:32 -0000 Received: from [127.0.0.1] by omp1047.mail.bf1.yahoo.com with NNFMP; 26 May 2013 08:58:32 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 601650.48137.bm@omp1047.mail.bf1.yahoo.com Received: (qmail 97535 invoked by uid 60001); 26 May 2013 08:58:32 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1369558712; bh=Bsdr2ogScLHW8MejYjiHGe76AgRZIhv2e/Lshul7rr0=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=XhYMMBjHhMtHELycAOXpxv666teMs34npQmwgb53je2H2N5dAMVfpiUZvxeuyQHLQ6PsamCUGOTSjTS78HsDLscmeIVb1zRZr+xVaYvKWPSdHY+a4FLO1F0atOzf4AaPpTRnjUlnrzxK0n7nXn79nvlEaw4DcxQFO3wM1rqixOk= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=rMcRSiOuSRGLkiZrV786B6hC5mLAqyzXNTDerjM/eNkvC97ZKRCPVmyKz/B6UzM9Ad280m258r7kOpo0PtOsO9SUzrILzF4jWQYGSnoOgF2vUh17wsvarofep5GyOG0sXwYJlNW5396zvyGEwC2a/eQ1R6qn77v+IScqwT6tcb8=; X-YMail-OSG: RO2.FYwVM1km7SvMnzdWzsWZDxM33xv3lfQaW20ALf81SY. 0IAuEXpohQHXVGwnFFkNEfhvmSmThJwnZuNu7up.QxK9uPkdbHXBtoAoMX.v 0gHBp3gkhfpY3WQu1Zc1japTXih0E8nf6cDiZr3882QStL5AKYlpkQFO2l7a UsN8INmCcazdN6Dr0I9M9Ul3kjch2S3UatdL4vIm757jw_ZK.uDY1pwpFULD h4RbWqOM6jeN_NNtP4cp8umSx659fBzzW25jiwMuHwTRSxBAK92ypYz9Mub1 ArkUYPjkUHsZwVpyQ_nUYf22KX.dbuo2Ss__KoLciokXr2oPT0N2bHRjXH5G q9C.7DVBo3.ut.fG.Kt.4srGzfNSqUTULCQ3F33hCdfUnMQyK5uias_xv6c2 5K7n0oOzWJC1hI3pGber3gXVqOCQbkXtzDuBylRdoIKRfkU3m6t4Q21FJM9I tSF3kVhFbG.vX9YqtITYJt.icsrfBLYI6eZV7JX.DiZfSJxvH Received: from [94.183.246.198] by web165006.mail.bf1.yahoo.com via HTTP; Sun, 26 May 2013 01:58:32 PDT X-Rocket-MIMEInfo: 002.001, aGkgZXZlcnlvbmUsCgpJIGhhdmUgYSAyNC83IG5ldHdvcmsgc2VydmVyL2dhdGV3YXkgd2l0aCBGcmVlQlNELTguMiBvbiBhIFNTRCBkcml2ZS4gaXQncyBwYXJ0aXRpb25lZCBhcyBub3JtYWwgKC8gLCAvdG1wLCAvdmFyICwgL3VzciBhbmQgc3dhcCkgZm9yIGEgbG9uZyB0aW1lIG5vdy4gQnV0IHJlY2VudGx5IEkgaGVhcmQgZnJvbSBhIEZyZWVCU0QgZXhwZXJ0IHRoYXQgSSBzaG91bGRuJ3QgaGF2ZSBzd2FwIHBhcnRpdGlvbiBmb3IgbXkgc2VydmVyLCBhbmQgaGF2aW5nIHN3YXAgcGFydGl0aW9uIGNvdWwBMAEBAQE- X-Mailer: YahooMailWebService/0.8.144.546 Message-ID: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> Date: Sun, 26 May 2013 01:58:32 -0700 (PDT) From: "M. V." Subject: "swap" partition leads to instability? To: "freebsd-questions@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: "M. V." List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 May 2013 08:58:42 -0000 hi everyone, I have a 24/7 network server/gateway with FreeBSD-8.2 on a SSD drive. it's partitioned as normal (/ , /tmp, /var , /usr and swap) for a long time now. But recently I heard from a FreeBSD expert that I shouldn't have swap partition for my server, and having swap partition could make my server unstable. this was so strange for me, and I searched a lot but couldn't find a reason for this claim. so my question is simple: - could having a "swap" partition, be a bad thing for my FreeBSD server? and if so, why and in what conditions? Cheers! From owner-freebsd-questions@FreeBSD.ORG Sun May 26 09:09:30 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9B336D6E for ; Sun, 26 May 2013 09:09:30 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) by mx1.freebsd.org (Postfix) with ESMTP id 6E114F57 for ; Sun, 26 May 2013 09:09:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=963VbK6591Cl2tGaOfeS9mG8IuD28IoHja9ioAIbhcs=; b=BFeqPDXz/oTlimOGj7twkEnutPtPn9xuxxMU829c4nnAkiNoQoEw5nkZkZ7s9zs0npWOAs4aftoy3ddmm+eEbwpeqN4Av1Gmcl6v9vGN01cWTnGSp+nCgktzg9eEQyO4jHfRGYBEmjODJVgH1DnWf4NaRDoksjbREsfrwfeC10w=; Received: from [122.129.203.50] (port=19200 helo=X220.ovitrap.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1UgWx7-004E7I-PG; Sun, 26 May 2013 03:09:23 -0600 Date: Sun, 26 May 2013 16:09:06 +0700 From: Erich Dollansky To: "M. V." Subject: Re: "swap" partition leads to instability? Message-ID: <20130526160906.4e379016@X220.ovitrap.com> In-Reply-To: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> References: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 May 2013 09:09:30 -0000 Hi, On Sun, 26 May 2013 01:58:32 -0700 (PDT) "M. V." wrote: > I have a 24/7 network server/gateway with FreeBSD-8.2 on a SSD drive. > it's partitioned as normal (/ , /tmp, /var , /usr and swap) for a > long time now. But recently I heard from a FreeBSD expert that I > shouldn't have swap partition for my server, and having swap > partition could make my server unstable. this was so strange for me, > and I searched a lot but couldn't find a reason for this claim. > because it is a false claim. I never ever have had any system with working hard, that gave a problem because of the swap space. Erich From owner-freebsd-questions@FreeBSD.ORG Sun May 26 09:32:36 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E32CF29A for ; Sun, 26 May 2013 09:32:36 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id AD15CFF2 for ; Sun, 26 May 2013 09:32:36 +0000 (UTC) Received: from r56.edvax.de (port-92-195-231-35.dynamic.qsc.de [92.195.231.35]) by mx01.qsc.de (Postfix) with ESMTP id 506E43CC6B; Sun, 26 May 2013 11:32:25 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r4Q9WZZx010949; Sun, 26 May 2013 11:32:36 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 26 May 2013 11:32:35 +0200 From: Polytropon To: Erich Dollansky Subject: Re: "swap" partition leads to instability? Message-Id: <20130526113235.f5dbe768.freebsd@edvax.de> In-Reply-To: <20130526160906.4e379016@X220.ovitrap.com> References: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> <20130526160906.4e379016@X220.ovitrap.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" , "M. V." X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 May 2013 09:32:36 -0000 On Sun, 26 May 2013 16:09:06 +0700, Erich Dollansky wrote: > Hi, > > On Sun, 26 May 2013 01:58:32 -0700 (PDT) > "M. V." wrote: > > > I have a 24/7 network server/gateway with FreeBSD-8.2 on a SSD drive. > > it's partitioned as normal (/ , /tmp, /var , /usr and swap) for a > > long time now. But recently I heard from a FreeBSD expert that I > > shouldn't have swap partition for my server, and having swap > > partition could make my server unstable. this was so strange for me, > > and I searched a lot but couldn't find a reason for this claim. > > > because it is a false claim. I never ever have had any system with > working hard, that gave a problem because of the swap space. I think the "problem" here is that he's using a SSD. As soon as the swap partition is being in heavy use, which means it receives many writes, this may lead to the SSD "wearing out", decreasing its lifetime. Swap space usually does not make a system unstable. Sometimes, the opposite is true. :-) So if you're using a SSD, you can apply certain optimizations to increase its lifetime so it can be in use for several years (running 24/7). Here are some suggestions -- check if they are useful in your specific case! # newfs -m 0 -i 16384 -b 16384 -f 2048 -U /dev/ada0a This assumes that you don't have created any slices, just one bootable partition covering the whole disk (therefor ada0a). Create a swapfile like this: # /bin/rm -f /swapfile.tmp # /bin/dd if=/dev/zero of=/swapfile.tmp bs=16m seek=1k count=0 # /sbin/mdconfig -a -t vnode -u 0 -f /swapfile.tmp || /bin/sh # /bin/chflags nodump /swapfile.tmp # /bin/rm -f /swapfile.tmp # /sbin/swapctl -a /dev/md0 This makes the system use a "disk-backed dynamic swap file". If the swap won't be used, no space will be occupied or "reserved" on the SSD. You can also think about "changing stuff" you won't need to store on the SSD, maybe some content of /tmp or /var. You can also put those into a "memory disk". The "SSD rule" is: Minimize writes if you can. This is a _general_ rule and does not correspond to swap only! -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun May 26 09:36:45 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D601B35A for ; Sun, 26 May 2013 09:36:45 +0000 (UTC) (envelope-from emorrasg@yahoo.es) Received: from nm25-vm7.bullet.mail.ird.yahoo.com (nm25-vm7.bullet.mail.ird.yahoo.com [212.82.109.208]) by mx1.freebsd.org (Postfix) with SMTP id 12FF77C for ; Sun, 26 May 2013 09:36:44 +0000 (UTC) Received: from [77.238.189.238] by nm25.bullet.mail.ird.yahoo.com with NNFMP; 26 May 2013 09:36:35 -0000 Received: from [46.228.39.65] by tm19.bullet.mail.ird.yahoo.com with NNFMP; 26 May 2013 09:36:35 -0000 Received: from [127.0.0.1] by smtp102.mail.ir2.yahoo.com with NNFMP; 26 May 2013 09:36:35 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s1024; t=1369560995; bh=GXBttxthDKKLekYMKkSc/Kcam4t5MoahwPALRr45eHs=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References:X-Mailer:Disposition-Notification-To:Mime-Version:Content-Type:Content-Transfer-Encoding; b=kEkYxS6xeIapyv+D1FzZhUd3cc4ao88DajYOmLb4RzAYeeomNqgGZex5D5EMer3VMdKrskrXrw+wJT4sz5Jyhdacd2/x/vwoeCXFfK2sJD7Zvo/mk3O0Km5vLCL50PgeuQCgqCCfFBuh/LSDGCS1YKTafoh4a4K2JClXhocWCyQ= X-Yahoo-Newman-Id: 318388.62563.bm@smtp102.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: qvbKPfsVM1kTG6nrTGwAgFiW10FT.H3Sy9Zd4tHDO1s2aKb uxTFPoO_LTbKUuFGTDnaEq7SYzja_j9LDg4NMpuTYUOvSFfryinPSVCpC_I8 QgCofwaL_.z0KwVvAgrd5eWM7HjzDnBiTO_fjtYnRtyXfcAHlnVtLaW0KAOK 41yV4otpIi9CVGmOEe5wX2vGUd5pMOIHQaAGmTdswei5aITjzTB7kLKzlmMn XHBqFuziDYtpB9pULoSynkZ2K1lLTIRMhSIvq4NqZMVMUyPfTCseTKF.7Y_4 9wAtUUjVwGGnn2XFbPiCiZj2ZGsfykqd8IbsqWrhhl0AI.y45NZFVVOztZ_D dhmdaihALTZo0y6wWQ.ssMEnts6q0lEaUho93PE0CBsP9IgutsbR5Sq_GfgA K.CPyES.3UQZkg2Avg.1QmIw- X-Yahoo-SMTP: mX392iiswBAeJNdO_s.EW62LZDJR X-Rocket-Received: from camibar.emorras.eu (emorrasg@89.7.216.154 with ) by smtp102.mail.ir2.yahoo.com with SMTP; 26 May 2013 09:36:35 +0000 UTC Date: Sun, 26 May 2013 11:36:37 +0200 From: Eduardo Morras To: freebsd-questions@freebsd.org Subject: Re: "swap" partition leads to instability? Message-Id: <20130526113637.cf6fdfd5b0cb7f0413fc5f8d@yahoo.es> In-Reply-To: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> References: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.17; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "M. V." X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 May 2013 09:36:45 -0000 On Sun, 26 May 2013 01:58:32 -0700 (PDT) "M. V." wrote: > hi everyone, > > I have a 24/7 network server/gateway with FreeBSD-8.2 on a SSD drive. it's partitioned as normal (/ , /tmp, /var , /usr and swap) for a long time now. But recently I heard from a FreeBSD expert that I shouldn't have swap partition for my server, and having swap partition could make my server unstable. this was so strange for me, and I searched a lot but couldn't find a reason for this claim. > > > so my question is simple: > - could having a "swap" partition, be a bad thing for my FreeBSD server? and if so, why and in what conditions? I never had a problem with swap partitions, but perhaps the FreeBSD expert may refer to one of this three issues I can think about problems with swap, none of them are unstability issues: a) Swap partitions may store info from previous boot, you can use swap encryption for that. b) When using swap files (mounting a swap in a file), at shutdown sometimes there's a race condition and swap is unmounted before it's empty. c) If your system needs to use swap, network apps may show/throw timeouts when swap i/o is heavy. Sometimes b) kicks me but it's my fault because i don't shutdown process properly. > > Cheers! L --- --- Eduardo Morras From owner-freebsd-questions@FreeBSD.ORG Sun May 26 09:37:27 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3560B3F3 for ; Sun, 26 May 2013 09:37:27 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) by mx1.freebsd.org (Postfix) with ESMTP id 080468E for ; Sun, 26 May 2013 09:37:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=Qk67349znWvHGakcOHtDGe2haQgA15V2q86eACaGMYU=; b=MenGAHGjy5FxDvhYknT6Qfyi8cqBVQJqHAUCzugr7iibjSd3XTOGnPS7p9VvjKRu2bwUK9ASlcj3iom9qf1p2GtVOODCYJgTXhx2RLt8TtBZCerzScY+FnHAGo9tNhZLJ5uh6+BV57XxocuKCwRThnH3IEWKksSHE2CGPbrCN9k=; Received: from [122.129.203.50] (port=55396 helo=X220.ovitrap.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1UgXOG-004Ky0-CA; Sun, 26 May 2013 03:37:25 -0600 Date: Sun, 26 May 2013 16:37:12 +0700 From: Erich Dollansky To: Erich Dollansky Subject: Re: "swap" partition leads to instability? Message-ID: <20130526163712.0a02aeee@X220.ovitrap.com> In-Reply-To: <20130526160906.4e379016@X220.ovitrap.com> References: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> <20130526160906.4e379016@X220.ovitrap.com> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: "freebsd-questions@freebsd.org" , "M. V." X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 May 2013 09:37:27 -0000 Hi, sorry for my English. Here is what I wanted to say. On Sun, 26 May 2013 16:09:06 +0700 Erich Dollansky wrote: > Hi, > > On Sun, 26 May 2013 01:58:32 -0700 (PDT) > "M. V." wrote: > > > I have a 24/7 network server/gateway with FreeBSD-8.2 on a SSD > > drive. it's partitioned as normal (/ , /tmp, /var , /usr and swap) > > for a long time now. But recently I heard from a FreeBSD expert > > that I shouldn't have swap partition for my server, and having swap > > partition could make my server unstable. this was so strange for me, > > and I searched a lot but couldn't find a reason for this claim. > > > because it is a false claim. I never ever have had any system with > working hard, that gave a problem because of the swap space. I never ever have had any system which was working hard that gave problems because of the swaps space. Erich > > Erich > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Sun May 26 10:57:45 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DDEB1847 for ; Sun, 26 May 2013 10:57:45 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (unknown [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 4B212202 for ; Sun, 26 May 2013 10:57:45 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.7/8.14.7) with ESMTP id r4QAv9xe058100 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 26 May 2013 11:57:15 +0100 (BST) (envelope-from matthew@FreeBSD.org) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk r4QAv9xe058100 Authentication-Results: smtp.infracaninophile.co.uk/r4QAv9xe058100; dkim=none reason="no signature"; dkim-adsp=none (unprotected policy) Message-ID: <51A1EA7C.4080803@FreeBSD.org> Date: Sun, 26 May 2013 11:57:00 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: "M. V." Subject: Re: "swap" partition leads to instability? References: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> In-Reply-To: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2MWNORHADOAAHPIXVXMLM" X-Virus-Scanned: clamav-milter 0.97.8 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 May 2013 10:57:45 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2MWNORHADOAAHPIXVXMLM Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 26/05/2013 09:58, M. V. wrote: > hi everyone, >=20 > I have a 24/7 network server/gateway with FreeBSD-8.2 on a SSD drive. i= t's partitioned as normal (/ , /tmp, /var , /usr and swap) for a long tim= e now. But recently I heard from a FreeBSD expert that I shouldn't have s= wap partition for my server, and having swap partition could make my serv= er unstable. this was so strange for me, and I searched a lot but couldn'= t find a reason for this claim. >=20 >=20 > so my question is simple: > - could having a "swap" partition, be a bad thing for my FreeBSD server= ? and if so, why and in what conditions? Having a swap partition is absolutely standard for server or workstation class machines, and should be implemented as a matter of course. Even if the machine has much more memory than it would generally ever use and so have no actual need to swap. About the only circumstances where you wouldn't want swap is if you were creating an embedded appliance and eg. didn't have any writable disk space. That's pretty extraordinary and as such a system would have to be heavily customized over stock FreeBSD anyhow, so not having swap would fade into insignificance compared to the other changes that would be required. Why is swap needed? Nowadays, memory is sufficiently cheap and system boards are capable of loading so much of it, that the only sensible strategy is to have more physical RAM than is required to keep your normal application load working. So a swap partition should not be routinely involved in swapping memory pages back and forth. Even so, idle pages can be swapped out -- there's no point in having an unreferenced memory page sitting in RAM taking up space that could be used productively by an active process. A small amount of swap usage like this is standard. A large amount of swap usage like this indicates you need to switch to using better written software. Swap is also useful to buffer against unexpected spikes in memory usage. Sure, performance generally nosedives once a system starts actively swapping, but that may be a better outcome than the alternative if there is no swap capacity available: which is for the kernel to start killing off processes in an attempt to reduce memory pressure. Finally, swap is used as the place to record kernel state in the event of system crashes. You could use any otherwise unused disk partition for that, but swap is traditional. This is where the hoary old recipe of 'swap =3D twice ram' came from, although nowadays what with minidumps and the generally larger amounts of RAM in use you don't need to provide anything like as much as that. If you're bothered by having a few GiB of disk allocated as swap but basically idle, then look into tmpfs or mdmfs for /tmp -- that will let you make productive use the space while still keeping the ability to save crashdumps if needed. Some caveats about where to put a swap area: * If your system is under memory pressure, then your swap area can be extremely active. In these circumstances putting swap on a SSD card or other device with a limited number of write-cycles is not a good choice. * If you are using ZFS, and again, if you are under memory pressure, then putting swap on a ZFS can lead to a deadlock where the system needs to allocate more memory to deal with an out-of-memory condition. In this case, it is recommended to create a separate swap partition not managed by ZFS. Otherwise, swap can go anywhere. A dedicated partition will give better performance than swapping to a file, but file-backed swap is handy if you need to add swap in a hurry. For resilience, mirror swap partitions in pairs -- gmirror(8) is a good tool for that. Don't try using any of the higher RAID levels for swap areas -- their performance characteristics are not a good match to the sort of IO a swap area does. For best performance, you should spread swap areas over as many disk spindles as possible. You can create numerous swap areas and the system will automatically stripe any IO across them. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey ------enig2MWNORHADOAAHPIXVXMLM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlGh6oQACgkQ8Mjk52CukIwsnwCfaIsPZfHDhzuHb3pOWEYvknyV E0wAn1GL3fOXLFmJi/smaynYkPa3H4CN =Tk4u -----END PGP SIGNATURE----- ------enig2MWNORHADOAAHPIXVXMLM-- From owner-freebsd-questions@FreeBSD.ORG Sun May 26 11:44:52 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 58D18FE7; Sun, 26 May 2013 11:44:52 +0000 (UTC) (envelope-from alexl@mellanox.com) Received: from eu1sys200aog103.obsmtp.com (eu1sys200aog103.obsmtp.com [207.126.144.115]) by mx1.freebsd.org (Postfix) with ESMTP id 116F0315; Sun, 26 May 2013 11:44:50 +0000 (UTC) Received: from MTLCAS02.mtl.com ([193.47.165.155]) (using TLSv1) by eu1sys200aob103.postini.com ([207.126.147.11]) with SMTP ID DSNKUaH1rsaeVRw+D1E18SnbUWBUvFyJblXa@postini.com; Sun, 26 May 2013 11:44:51 UTC Received: from MTLDAG01.mtl.com ([10.0.8.75]) by MTLCAS02.mtl.com ([10.0.8.72]) with mapi id 14.03.0123.003; Sun, 26 May 2013 14:43:30 +0300 From: Alex Liptsin To: "freebsd-questions@freebsd.org" , "freebsd-net@freebsd.org" Subject: How to switch Datgram/Connected mtu modes? Thread-Topic: How to switch Datgram/Connected mtu modes? Thread-Index: Ac5aBjoH5e0b3u1XTvyAlDGQDXzaKQ== Date: Sun, 26 May 2013 11:43:29 +0000 Message-ID: <64DAB3164E410447932305F50F896D8D6AF651AD@MTLDAG01.mtl.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.13.1] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 May 2013 11:44:52 -0000 Hello. I work with FreeBSD 9.1 and Mellanox devices. How can I configure MTU in connected mode on FreeBSD 9.1? In Linux to enable connected mode for interface ib0, I enter: echo connected > /sys/class/net/ib0/mode Switching between CM and UD mode can be done in run time: echo datagram > /sys/class/net/ib0/mode sets the mode of ib0 to UD echo connected > /sys/class/net/ib0/mode sets the mode ib0 to CM There is no such directories at FreeBSD. Wat shall I do? Datagram vs Connected modes The IPoIB driver supports two modes of operation: datagram and connected. The mode is set and read through an interface's /sys/class/net//mode file. In datagram mode, the IB UD (Unreliable Datagram) transport is used and so the interface MTU has is equal to the IB L2 MTU minus the IPoIB encapsulation header (4 bytes). For example, in a typical IB fabric with a 2K MTU, the IPoIB MTU will be 2048 - 4 =3D 2044 bytes. In connected mode, the IB RC (Reliable Connected) transport is used. Connected mode takes advantage of the connected nature of the IB transport and allows an MTU up to the maximal IP packet size of 64K, which reduces the number of IP packets needed for handling large UDP datagrams, TCP segments, etc and increases the performance for large messages. In connected mode, the interface's UD QP is still used for multicast and communication with peers that don't support connected mode. In this case, RX emulation of ICMP PMTU packets is used to cause the networking stack to use the smaller UD MTU for these neighbours. Thanks a lot Regards, Alex Liptsin Office: +972 (74) 7236141 Mobile: +972(54) 7833986 Fax: +972(74) 7236161 Email: alexl@mellanox.com From owner-freebsd-questions@FreeBSD.ORG Sun May 26 12:21:06 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 59801684 for ; Sun, 26 May 2013 12:21:06 +0000 (UTC) (envelope-from xavierfreebsdquestions@gmail.com) Received: from mail-qc0-x22c.google.com (mail-qc0-x22c.google.com [IPv6:2607:f8b0:400d:c01::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 25AB363C for ; Sun, 26 May 2013 12:21:06 +0000 (UTC) Received: by mail-qc0-f172.google.com with SMTP id z1so3154410qcx.3 for ; Sun, 26 May 2013 05:21:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=A8pTEzITF8hpAz+V4ycK1oJ/nFm7SdFcUbgwXNljMhs=; b=REVYgMHuIWvrhiL/Ei7MAUyCjXX3fm7ocaJE6VF5dTfcZwJYNQitXdQcZeF/P2/+np M39Dbd15SVKa/9X4oJZatgTWhgTunWLtbxcpChuTr0pUa8U6AT+bkXJtAS9+72juQm2l 2knNOyYZBiSJBz7ln5hz0DAiEq7pgBZsCNQNiC3834MiRLWh1waYUKTU1E+kKtt39dng iRHFfY2iGHYo8nG2B/BRIhqywic9UA0kffsQ8WDr0+SGLmj1Tay+cxg9cxFYwKiGjW9K r4mCn4e/g3dc0DlOoho3MeTX4CkDcDaDqBjWNX9MBjQ/rRrJdEivaBCN6nkx5hocxAzJ bZEg== MIME-Version: 1.0 X-Received: by 10.224.7.195 with SMTP id e3mr23690047qae.5.1369570864665; Sun, 26 May 2013 05:21:04 -0700 (PDT) Received: by 10.49.2.100 with HTTP; Sun, 26 May 2013 05:21:04 -0700 (PDT) Date: Sun, 26 May 2013 14:21:04 +0200 Message-ID: Subject: a copy of ASL dump for acer aspire laptops models From: Xavier To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 May 2013 12:21:06 -0000 Hi everyone, I need a copy of ACPI Source Language (ASL), '# acpidump-dt> copy_model_laptop.asl' of any version of FreeBSD you have the option ACPI always enabled and does not give any problem on ACER laptops. Anyone can send me a copy of your ASL dump ( see above ) of ACER ASPIRE laptops model? Thanks, see you. From owner-freebsd-questions@FreeBSD.ORG Sun May 26 12:37:15 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6E9C2A97 for ; Sun, 26 May 2013 12:37:15 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 33C3B6A4 for ; Sun, 26 May 2013 12:37:15 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UgaC2-0002SB-Qm for freebsd-questions@freebsd.org; Sun, 26 May 2013 14:37:03 +0200 Received: from 79-139-19-75.prenet.pl ([79.139.19.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 May 2013 14:36:58 +0200 Received: from jb.1234abcd by 79-139-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 26 May 2013 14:36:58 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Subject: Re: "swap" partition leads to instability? Date: Sun, 26 May 2013 12:36:42 +0000 (UTC) Lines: 37 Message-ID: References: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 79.139.19.75 (Mozilla/5.0 (X11; Linux i686; rv:21.0) Gecko/20100101 Firefox/21.0) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 May 2013 12:37:15 -0000 M. V. yahoo.com> writes: > > hi everyone, > > I have a 24/7 network server/gateway with FreeBSD-8.2 on a SSD drive. it's partitioned as normal (/ , /tmp, > /var , /usr and swap) for a long time now. But recently I heard from a FreeBSD expert that I shouldn't have > swap partition for my server, and having swap partition could make my server unstable. this was so strange > for me, and I searched a lot but couldn't find a reason for this claim. > > so my question is simple: > - could having a "swap" partition, be a bad thing for my FreeBSD server? and if so, why and in what conditions? > > Cheers! Hi, I think your FB expert was up to something. I bet he spoke out of experience. Swapping by itself can decrease system reliability due to possible data corruption on swap disk or during two-way transfers, with subsequent incorrect RAM and machine crash. But, swapping is also a symptom, not a problem. It is never a good idea to let it get to that point. Badly written, architected, or tuned server app or system are the reason. Think of RDBMS/SQL server processing real-time on-line transactions and how much it goes into setting it up properly for a heavy use. On a smaller scale, consider this example: http://blog.jcole.us/2010/09/28/mysql-swap-insanity-and-the-numa-architecture/ jb From owner-freebsd-questions@FreeBSD.ORG Sun May 26 14:19:10 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3AC98C81; Sun, 26 May 2013 14:19:10 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from flat.berklix.org (flat.berklix.org [83.236.223.115]) by mx1.freebsd.org (Postfix) with ESMTP id AC2F4A5E; Sun, 26 May 2013 14:19:09 +0000 (UTC) Received: from mart.js.berklix.net (p5DCBF3B6.dip0.t-ipconnect.de [93.203.243.182]) (authenticated bits=128) by flat.berklix.org (8.14.5/8.14.5) with ESMTP id r4QEIwZ8079887; Sun, 26 May 2013 16:18:59 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id r4QEJ5TQ003705; Sun, 26 May 2013 16:19:05 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.4/8.14.4) with ESMTP id r4QEItxR008247; Sun, 26 May 2013 16:19:00 +0200 (CEST) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201305261419.r4QEItxR008247@fire.js.berklix.net> To: Xavier Subject: Re: a copy of ASL dump for acer aspire laptops models From: "Julian H. Stacey" Organization: http://berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Sun, 26 May 2013 14:21:04 +0200." Date: Sun, 26 May 2013 16:18:55 +0200 Sender: jhs@berklix.com Cc: freebsd-acpi@freebsd.org, freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 May 2013 14:19:10 -0000 Hi, Reference: > From: Xavier > Date: Sun, 26 May 2013 14:21:04 +0200 Xavier wrote: > Hi everyone, > > I need a copy of ACPI Source Language (ASL), '# acpidump-dt> > copy_model_laptop.asl' of any version of FreeBSD you have the option > ACPI always enabled and does not give any problem on ACER laptops. > > Anyone can send me a copy of your ASL dump ( see above ) of ACER > ASPIRE laptops model? > Hi, I have an acer/aspire/5741 & no problems I'm aware of, so will send you mine. uname -a FreeBSD lapr.js.berklix.net 9.1-RELEASE FreeBSD 9.1-RELEASE #3: Tue Apr 9 14:33:17 CEST 2013 jhs@lapr.js.berklix.net:/sys/amd64/compile/LAPR.small amd64 I'm not sure what you mean at "you have the option ACPI always enabled and does not give any problem" however, sysctl -a | grep -i acpi does show device acpi & 136 lines in total, acpidump -dt produces 15,840 lines, so I'll not append to list but private mail you. Anything else you need ? What's wrong ? What you are you chasing ? PS mobile@freebsd.org or acpi@freesbd.org would be better & best lists for this, not questions@. http://lists.freebsd.org/mailman/listinfo/freebsd-acpi http://lists.freebsd.org/mailman/listinfo/freebsd-mobile so I added cc: freebsd-acpi@freebsd.org Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com Reply below not above, like a play script. Indent old text with "> ". Send plain text. No quoted-printable, HTML, base64, multipart/alternative. From owner-freebsd-questions@FreeBSD.ORG Sun May 26 14:59:48 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1A8D7121; Sun, 26 May 2013 14:59:48 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from flat.berklix.org (flat.berklix.org [83.236.223.115]) by mx1.freebsd.org (Postfix) with ESMTP id A5A98EF8; Sun, 26 May 2013 14:59:47 +0000 (UTC) Received: from mart.js.berklix.net (p5DCBF3B6.dip0.t-ipconnect.de [93.203.243.182]) (authenticated bits=128) by flat.berklix.org (8.14.5/8.14.5) with ESMTP id r4QExhms080060; Sun, 26 May 2013 16:59:43 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id r4QExvFZ004027; Sun, 26 May 2013 16:59:57 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.4/8.14.4) with ESMTP id r4QExldL009623; Sun, 26 May 2013 16:59:52 +0200 (CEST) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201305261459.r4QExldL009623@fire.js.berklix.net> To: Xavier Subject: Re: a copy of ASL dump for acer aspire laptops models From: "Julian H. Stacey" Organization: http://berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Sun, 26 May 2013 16:18:55 +0200." <201305261419.r4QEItxR008247@fire.js.berklix.net> Date: Sun, 26 May 2013 16:59:47 +0200 Sender: jhs@berklix.com Cc: freebsd-acpi@freebsd.org, freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 May 2013 14:59:48 -0000 Hi Xavier cc questions@ & acpi@ I wrote: > acpidump -dt produces 15,840 lines, > so I'll not append to list but private mail you. I put it here so others on acpi@ & questions@ can look too if they want. http://berklix.com/~jhs/hardware/laptops/acer/aspire/5741/ Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com Reply below not above, like a play script. Indent old text with "> ". Send plain text. No quoted-printable, HTML, base64, multipart/alternative. From owner-freebsd-questions@FreeBSD.ORG Sun May 26 16:30:21 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B47E22AD for ; Sun, 26 May 2013 16:30:21 +0000 (UTC) (envelope-from asrofibcllamongan@yahoo.com) Received: from nm11.bullet.mail.ird.yahoo.com (nm11.bullet.mail.ird.yahoo.com [77.238.189.64]) by mx1.freebsd.org (Postfix) with SMTP id C42CF1CF for ; Sun, 26 May 2013 16:30:20 +0000 (UTC) Received: from [77.238.189.238] by nm11.bullet.mail.ird.yahoo.com with NNFMP; 26 May 2013 16:30:16 -0000 Received: from [46.228.39.69] by tm19.bullet.mail.ird.yahoo.com with NNFMP; 26 May 2013 16:30:16 -0000 Received: from [127.0.0.1] by smtp106.mail.ir2.yahoo.com with NNFMP; 26 May 2013 16:30:16 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1369585816; bh=cgpK8TWoZkp4JQd5B5wp0pVj+ysrkUa/G5TETTVPP1Q=; h=X-Yahoo-Newman-Id:Message-ID:Date:X-Rocket-Received:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:From:To:Subject; b=i0HgvGiOLYQygMLRgE6h6LC1YaJO7vhHLbMYQtI/3s08TRjE8Q1jX1UkXhmDZ+mBcFSU9xfWMNP3UQnrXshTOvvSKk1JuKXkQcFklYr1z1yDObmeIoHJboqDU64x0hbGagZVWpzt6D0eISKaNUB/PBjdh2r6TNR/5Y5gorc06oY= X-Yahoo-Newman-Id: 166337.38623.bm@smtp106.mail.ir2.yahoo.com Message-ID: <166337.38623.bm@smtp106.mail.ir2.yahoo.com> Date: Sun, 26 May 2013 16:30:16 +0000 (UTC) X-Rocket-Received: from obagebeh (asrofibcllamongan@183.171.164.74 with ) by smtp106.mail.ir2.yahoo.com with SMTP; 26 May 2013 16:30:16 +0000 UTC X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 081CVVYVM1k0dcFh.DUyr99b3D84PvjLhaTz6XHywvBEJbe UbsG8pQUfprmoxbo0S5ecQFy6KsrJQcoruYQ4MzB08Fzj13URKuxOMPNNpuo 4FgoV2QWn0jk7oNbarMdJCdYVA2LrXv6UIZC_SZU3z2j3.KbBcJ2IJlCeGe7 nChIBRIsPWyQi.WLCSptF4b8kVRE1utRcB_p_9zFq05N1hCGcBBuNSaboLnu Jn42rUTLYDpeIkI0AhklvXN5xiYljO.onmc_p.AgUJSCcNPZIakrTPIlNCl1 JHtxBLGLdJ4fQ.2XSKQcjm0lGkF3Mt4phOhSOQOkLYApk.r0Z_ZK9eD7MCZZ Z0iyYb56biRIQByk3mBEwPC6zFAikoj.Bm6S5bY.gNcxwVu.ZKjPf2K3QvzP dWlORbNZwVxFPu7tnRUMvxo.fbtx..oMQPFkwz5pByx4JVk9dexFK6IkzeG_ KXKyfrzaIh3jp0KedXzf3KN98rBlMH2f53qHya1JnqX06OC63yhLC7kyg6u5 mFwRjxwLSg7JJ.DMwXEqFgzUyEA54EMs1hxoqMBxwAgyU_.VaU8nV4Vy4WUy 2ITbyczk- X-Yahoo-SMTP: jvrSwFOswBCeKWj_XwQiHGNPOD7Fl7xrZayV_hmU From: asrofibcllamongan@yahoo.com To: , , Subject: RE: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 May 2013 16:30:21 -0000 Gustav%20Linde399 http://spsp2.free.fr/w/52Clare%20Lanman230 Mon, 27 May 2013 20:27:12 From owner-freebsd-questions@FreeBSD.ORG Sun May 26 17:16:15 2013 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 91153D6D for ; Sun, 26 May 2013 17:16:15 +0000 (UTC) (envelope-from kernel@webrz.net) Received: from thetys.cloudzeeland.nl (webrz.xs4all.nl [83.161.133.58]) by mx1.freebsd.org (Postfix) with ESMTP id 5681A328 for ; Sun, 26 May 2013 17:16:14 +0000 (UTC) Received: from thetys.cloudzeeland.nl (thetys.cloudzeeland.nl [10.10.10.31]) by thetys.cloudzeeland.nl (Postfix) with ESMTP id 49F3716445A7 for ; Sun, 26 May 2013 19:08:27 +0200 (CEST) Received: from [10.10.10.44] (chimea.cloudzeeland.nl [10.10.10.44]) by thetys.cloudzeeland.nl (Postfix) with ESMTPA id 284B9164455D for ; Sun, 26 May 2013 19:08:27 +0200 (CEST) Message-ID: <51A24361.4050104@webrz.net> Date: Sun, 26 May 2013 19:16:17 +0200 From: Jos Chrispijn User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: "freebsd-questions@FreeBSD.org" Subject: Gateway on downloads Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP on thetys.cloudzeeland.nl X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 May 2013 17:16:15 -0000 Hi all, > netstart -rn (partitially) Destination Gateway Flags Refs Use Netif Expire default 10.10.10.100 UGS 0 858468 re0 Can you tell me how I can force _any_download from my server not going via 10.10.10.100 but to another gateway number 10.10.10.200? For incoming uploads (ftp) and domain requests (Apache) still to keep 10.10.10.100 for incoming traffic. I have NZBGet installed and want to use the 2nd gateway (triple time the 1st gateway speed) on downloads. Maybe there is a way on ftp/download requests to redirect certain destination IP's to be switch through another network gateway IP? Thanks, Jos Chrispijn From owner-freebsd-questions@FreeBSD.ORG Sun May 26 23:33:07 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 4129999E for ; Sun, 26 May 2013 23:33:07 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 01C2224F for ; Sun, 26 May 2013 23:33:06 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r4QNWvVS029581; Sun, 26 May 2013 17:32:57 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r4QNWu3i029578; Sun, 26 May 2013 17:32:57 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 26 May 2013 17:32:56 -0600 (MDT) From: Warren Block To: Polytropon Subject: Re: "swap" partition leads to instability? In-Reply-To: <20130526113235.f5dbe768.freebsd@edvax.de> Message-ID: References: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> <20130526160906.4e379016@X220.ovitrap.com> <20130526113235.f5dbe768.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Sun, 26 May 2013 17:32:57 -0600 (MDT) Cc: Erich Dollansky , "freebsd-questions@freebsd.org" , "M. V." X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 May 2013 23:33:07 -0000 On Sun, 26 May 2013, Polytropon wrote: > On Sun, 26 May 2013 16:09:06 +0700, Erich Dollansky wrote: >> Hi, >> >> On Sun, 26 May 2013 01:58:32 -0700 (PDT) >> "M. V." wrote: >> >>> I have a 24/7 network server/gateway with FreeBSD-8.2 on a SSD drive. >>> it's partitioned as normal (/ , /tmp, /var , /usr and swap) for a >>> long time now. But recently I heard from a FreeBSD expert that I >>> shouldn't have swap partition for my server, and having swap >>> partition could make my server unstable. this was so strange for me, >>> and I searched a lot but couldn't find a reason for this claim. >>> >> because it is a false claim. I never ever have had any system with >> working hard, that gave a problem because of the swap space. > > I think the "problem" here is that he's using a SSD. > As soon as the swap partition is being in heavy use, > which means it receives many writes, this may lead > to the SSD "wearing out", decreasing its lifetime. Another problem with SSDs is that they can have difficulty with wear leveling. This is even worse with swap because there is no way to use TRIM to tell the SSD about blocks that have been freed. The workaround is a swapfile on UFS with TRIM enabled. It works fine, and even better when you update the rc scripts for shutdown. Here's an article on setup: http://www.wonkity.com/~wblock/docs/html/ssd.html And here is the PR with a patch: http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/168544 From owner-freebsd-questions@FreeBSD.ORG Sun May 26 23:40:19 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C5FE7CCE for ; Sun, 26 May 2013 23:40:19 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-ob0-x233.google.com (mail-ob0-x233.google.com [IPv6:2607:f8b0:4003:c01::233]) by mx1.freebsd.org (Postfix) with ESMTP id 91F5929B for ; Sun, 26 May 2013 23:40:19 +0000 (UTC) Received: by mail-ob0-f179.google.com with SMTP id wo10so3971889obc.10 for ; Sun, 26 May 2013 16:40:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=B07FUSHooJxvsvtVQ7b1XVY21iIeAMicN1qP6dXkxiE=; b=IhEL0dq9bx7K1OsC7BaoKWBVVFwpg4B0ShaS+oFXGHIFWovsKHnw1Qb0kh/gDoHmSl MElT0kbmUezwz6Z7S4EFWTHMdnPLxRfJ8vryDzcZGKd/YC3KdtL7iTAF6JJ5Pp6gLW/L DLKoUI6EbZ/j6ITxTSx+vdBL4J+yIAQ0deMd/kgn2+bE8PvxwQRUo7JBlNSdlsFIbssI HDH9/I/8k1fp1AM8ZEO84E6kGARlQnODDLVrYH3XXjfyv47Ln7+VbYDWRLkB57zQntYW tYOcUWv7Ry82tpHxahxEcTxLOTrw//cy+2WEPtlgMszPje2yHsc04+a3pw/hEwG8wsCV rlKw== MIME-Version: 1.0 X-Received: by 10.60.125.201 with SMTP id ms9mr16902171oeb.65.1369611618063; Sun, 26 May 2013 16:40:18 -0700 (PDT) Received: by 10.60.9.99 with HTTP; Sun, 26 May 2013 16:40:18 -0700 (PDT) In-Reply-To: References: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> <20130526160906.4e379016@X220.ovitrap.com> <20130526113235.f5dbe768.freebsd@edvax.de> Date: Sun, 26 May 2013 16:40:18 -0700 Message-ID: Subject: Re: "swap" partition leads to instability? From: Michael Sierchio To: Warren Block X-Gm-Message-State: ALoCoQkLX9lubLGSrNUGfh41kjRY5B2iVnV/OKWq9HJPeyS2ZJNweQSKRdk5qHxDdn7C0ik+cM0H Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Erich Dollansky , Polytropon , "freebsd-questions@freebsd.org" , "M. V." X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 May 2013 23:40:19 -0000 The Intel SLC mSATA drives I use in embedded devices don't support TRIM, but - it doesn't seem to matter. Actually, I'm confident that just using bare partitions for swap is fine, and I haven't had any of the trouble I witnessed with MLC devices. The difference is that the size is limited to under 32GB. - M On Sun, May 26, 2013 at 4:32 PM, Warren Block wrote: > On Sun, 26 May 2013, Polytropon wrote: > > On Sun, 26 May 2013 16:09:06 +0700, Erich Dollansky wrote: >> >>> Hi, >>> >>> On Sun, 26 May 2013 01:58:32 -0700 (PDT) >>> "M. V." wrote: >>> >>> I have a 24/7 network server/gateway with FreeBSD-8.2 on a SSD drive. >>>> it's partitioned as normal (/ , /tmp, /var , /usr and swap) for a >>>> long time now. But recently I heard from a FreeBSD expert that I >>>> shouldn't have swap partition for my server, and having swap >>>> partition could make my server unstable. this was so strange for me, >>>> and I searched a lot but couldn't find a reason for this claim. >>>> >>>> because it is a false claim. I never ever have had any system with >>> working hard, that gave a problem because of the swap space. >>> >> >> I think the "problem" here is that he's using a SSD. >> As soon as the swap partition is being in heavy use, >> which means it receives many writes, this may lead >> to the SSD "wearing out", decreasing its lifetime. >> > > Another problem with SSDs is that they can have difficulty with wear > leveling. This is even worse with swap because there is no way to use TRIM > to tell the SSD about blocks that have been freed. > > The workaround is a swapfile on UFS with TRIM enabled. It works fine, and > even better when you update the rc scripts for shutdown. > > Here's an article on setup: > http://www.wonkity.com/~**wblock/docs/html/ssd.html > > And here is the PR with a patch: > http://www.freebsd.org/cgi/**query-pr.cgi?pr=bin/168544 > > ______________________________**_________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions > To unsubscribe, send any mail to "freebsd-questions-** > unsubscribe@freebsd.org " > From owner-freebsd-questions@FreeBSD.ORG Sun May 26 23:48:20 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7DC91F6D for ; Sun, 26 May 2013 23:48:20 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pd0-f169.google.com (mail-pd0-f169.google.com [209.85.192.169]) by mx1.freebsd.org (Postfix) with ESMTP id 5CC732E4 for ; Sun, 26 May 2013 23:48:20 +0000 (UTC) Received: by mail-pd0-f169.google.com with SMTP id y11so5992075pdj.0 for ; Sun, 26 May 2013 16:48:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=GdKuwO5rqA959dDAxBQlShzDesAfjrIA0fXg/GgGShM=; b=D0+xY9anE8N4gWBWKvXmPaBkIMYOQwlb4rdvfNSy1RpowUAgelIsg/Y2FG9iIK4c3r GEWxfFR8o6TPlX6PkM6PbhSWU09IklVI1z82p4lIqEX/z1Et3SRaXwG5LV7L3uCdYbw7 Z7b7UZwkR5umFfcaM9U1ccVPLeUhoMZvhZacACUhX+1KFp3ZjN1UfKkucpewslEMNywx nsbnDNf37dDbVcIAsB4FBCvT6D9Yez6ObUp/Orcv0xMfu1jOGnXjpCGa+9NNxImaWTqb ohldsXOY2XmMH8L81Om3QH5EJG/cuB8MEaWa97R5rrU1sgrj38fjoTmzalkTKi9WeoEf QIVQ== MIME-Version: 1.0 X-Received: by 10.66.102.3 with SMTP id fk3mr27262199pab.192.1369612098823; Sun, 26 May 2013 16:48:18 -0700 (PDT) Received: by 10.70.31.195 with HTTP; Sun, 26 May 2013 16:48:18 -0700 (PDT) In-Reply-To: References: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> <20130526160906.4e379016@X220.ovitrap.com> <20130526113235.f5dbe768.freebsd@edvax.de> Date: Sun, 26 May 2013 18:48:18 -0500 Message-ID: Subject: Re: "swap" partition leads to instability? From: Adam Vande More To: Warren Block Content-Type: text/plain; charset=ISO-8859-1 Cc: Erich Dollansky , Polytropon , "freebsd-questions@freebsd.org" , "M. V." X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 26 May 2013 23:48:20 -0000 On Sun, May 26, 2013 at 6:32 PM, Warren Block wrote: > Another problem with SSDs is that they can have difficulty with wear > leveling. This is even worse with swap because there is no way to use TRIM > to tell the SSD about blocks that have been freed. Um, that is wrong. It is in fact the basically the point of TRIM. And SSD's typically use the best form of wear leveling and it's usually advisable to leave a bit of the drive unpartitioned/unused to ensure the wear leveling works optimally. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Mon May 27 00:20:33 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BFEE08AD for ; Mon, 27 May 2013 00:20:33 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 81365622 for ; Mon, 27 May 2013 00:20:33 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r4R0KP89030016; Sun, 26 May 2013 18:20:25 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r4R0KOs6030013; Sun, 26 May 2013 18:20:25 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 26 May 2013 18:20:24 -0600 (MDT) From: Warren Block To: Adam Vande More Subject: Re: "swap" partition leads to instability? In-Reply-To: Message-ID: References: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> <20130526160906.4e379016@X220.ovitrap.com> <20130526113235.f5dbe768.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Sun, 26 May 2013 18:20:25 -0600 (MDT) Cc: Erich Dollansky , Polytropon , "freebsd-questions@freebsd.org" , "M. V." X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 00:20:33 -0000 On Sun, 26 May 2013, Adam Vande More wrote: > On Sun, May 26, 2013 at 6:32 PM, Warren Block wrote: > >> Another problem with SSDs is that they can have difficulty with wear >> leveling. This is even worse with swap because there is no way to use TRIM >> to tell the SSD about blocks that have been freed. > > Um, that is wrong. Which part? A FreeBSD swap partition has no way to use TRIM, so I suggest using a swap file on top of UFS, which does support TRIM. > It is in fact the basically the point of TRIM. > And SSD's typically use the best form of wear leveling and it's > usually advisable to leave a bit of the drive unpartitioned/unused to > ensure the wear leveling works optimally. Using TRIM should preserve performance better than leaving unused space and letting the drive wear leveling algorithm move data around without the hint. From owner-freebsd-questions@FreeBSD.ORG Mon May 27 00:44:50 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BB2DC29B for ; Mon, 27 May 2013 00:44:50 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from mail-ee0-f46.google.com (mail-ee0-f46.google.com [74.125.83.46]) by mx1.freebsd.org (Postfix) with ESMTP id 59B26782 for ; Mon, 27 May 2013 00:44:49 +0000 (UTC) Received: by mail-ee0-f46.google.com with SMTP id e49so3538515eek.19 for ; Sun, 26 May 2013 17:44:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=ROMFVopJRpgajWZp8RzfW/T7P6BP9Dkrqx4OD3gnpg4=; b=wMyb18On2gIHLMmu+yFa4gj9h+iYi3iDQ8gnea1njopt2xe0CQiTNSe1XdSE/Y60GI e3prn06WdGI6kD8452I7QPmq30K7SXsOHeRy+Bt5naBMKEbyEubo4pEg8GUQFDt0UhQl wNUOjBjL4fZlJhZmI2XdcQV/frV2eWT2Wgrn8+o1pdSU491oTu1aj3BQVRH3MTUDA1NJ bDGaSUqD6Tc7Yf6pqATF+o5XV6Jei3VpljoXWV1l/dF/cR2cMZ25sNg1grGQpTOWFlWM N7pL8TDfrJyTniaZXy2NpYxbQ8dqT4wITaY/XCH0IE6vRO5/y2nXYTmNjmqpalxqeFeJ F+rA== MIME-Version: 1.0 X-Received: by 10.14.98.194 with SMTP id v42mr7952139eef.61.1369615481936; Sun, 26 May 2013 17:44:41 -0700 (PDT) Received: by 10.15.99.199 with HTTP; Sun, 26 May 2013 17:44:41 -0700 (PDT) Date: Sun, 26 May 2013 18:44:41 -0600 Message-ID: Subject: Case sensitive usernames and sendmail - mystic voodoo From: Modulok To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 00:44:50 -0000 List, Step1: Make a new user:: root@localhost# pw useradd foo -m -s /bin/tcsh -h 0 password for user foo: (secret) Step 2: Does sendmail know them:: root@modunix# sendmail -bv foo@localhost foo@localhost... deliverable: mailer local, user foo # Good... Step 3: Make a new user with uppercase 'B':: root@localhost# pw useradd Bar -m -s /bin/tcsh -h 0 password for user Bar: (secret) Step 4: Does sendmail know them:: root@modunix# sendmail -bv Bar@localhost Bar@localhost... User unknown Curious, why? I know usernames are case-sensitive, I thought emails were too. Without fighting an epic battle with with the sendmail configs, is there a simple way to make this work? The obvious answer is probably, "usernames should be lowercase!" and for new users I'll enforce that policy. For existing users however, who may already have lots of case-sensitive usernames in various config files, etc this isn't a real option. By just altering their usernames I'm afraid I'd break the whole damn universe. How can I enable mail for them? Cheers! -Modulok- From owner-freebsd-questions@FreeBSD.ORG Mon May 27 01:09:36 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 70D1E60A for ; Mon, 27 May 2013 01:09:36 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) by mx1.freebsd.org (Postfix) with ESMTP id 3A9BA812 for ; Mon, 27 May 2013 01:09:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=Usk09p3JvR4S5Sj9pi9mXJzayQ8AsLT7KNxl+IPBWfA=; b=tmSrKTKDOy1zFDwrAYuumPu9szj0rJD71swXTAPmInbLD/ORzgvQadPUB1ndrjIS7s0hghp7gt+OE57rZe9mmCzq/I7oxEt8YisrMogXrLRjC74Yui7xVnTyVnh9mAQGXrjHbmIYMFSp6ooHNaZZZ8OZC9MXmi6eaXTgX+Vtoq0=; Received: from [122.129.203.50] (port=52616 helo=X220.ovitrap.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1UglwL-003kf7-8Q; Sun, 26 May 2013 19:09:34 -0600 Date: Mon, 27 May 2013 08:09:19 +0700 From: Erich Dollansky To: Modulok Subject: Re: Case sensitive usernames and sendmail - mystic voodoo Message-ID: <20130527080919.1e149ef7@X220.ovitrap.com> In-Reply-To: References: X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 01:09:36 -0000 Hi, On Sun, 26 May 2013 18:44:41 -0600 Modulok wrote: > List, > > Step1: Make a new user:: > > root@localhost# pw useradd foo -m -s /bin/tcsh -h 0 > password for user foo: (secret) > > Step 2: Does sendmail know them:: > > root@modunix# sendmail -bv foo@localhost > foo@localhost... deliverable: mailer local, user foo > > # Good... > > Step 3: Make a new user with uppercase 'B':: > > root@localhost# pw useradd Bar -m -s /bin/tcsh -h 0 > password for user Bar: (secret) > > Step 4: Does sendmail know them:: > > root@modunix# sendmail -bv Bar@localhost > Bar@localhost... User unknown > > > Curious, why? I know usernames are case-sensitive, I thought emails > were too. Without fighting an epic battle with with the sendmail > configs, is there a simple way to make this work? > > The obvious answer is probably, "usernames should be lowercase!" and > for new users I'll enforce that policy. For existing users however, > who may already have lots of case-sensitive usernames in various > config files, etc this isn't a real option. By just altering their > usernames I'm afraid I'd break the whole damn universe. How can I > enable mail for them? > have you read this? http://www.linuxquestions.org/questions/linux-software-2/sendmail-unable-to-find-users-22290/ Erich From owner-freebsd-questions@FreeBSD.ORG Mon May 27 01:17:57 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D8E197D2 for ; Mon, 27 May 2013 01:17:57 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pa0-f47.google.com (mail-pa0-f47.google.com [209.85.220.47]) by mx1.freebsd.org (Postfix) with ESMTP id B6E8B867 for ; Mon, 27 May 2013 01:17:57 +0000 (UTC) Received: by mail-pa0-f47.google.com with SMTP id kl13so75989pab.20 for ; Sun, 26 May 2013 18:17:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=QxFbP9tnvbhimlW1Qyc9y5usjbB/DttmufU8cB0UU7w=; b=UnpAAHX1KsYoc3bkPuN9z+w7N7buotu1YAq8pzzgsW9SVV0CnpYsx23uLlg9qTxVQP B9oAFWb6n13QWrkNq4Af/k4xH9BxlBlfRD6j55waA10RfB7OcYKceydzX5uE6irZIPvM J/NbFoMTv4BHagYqXYE5JB/JBjH7VVax1xtTq2TyrmCfCBBkUZQYu/E43ii1xiBuZaL5 PD55xiP1Bed9hRaT0qsS+rLmUEVOt6qfLZyfrJsjHhb+gGi3HEC45pXgGxwZ5f+IjKWH cHL/m9f/81rbwx4UQQ22U+kWIoKGOQHRgOr1ZygymNa59tUhM71wfF0dZzWWa7z88EPb KmJQ== MIME-Version: 1.0 X-Received: by 10.68.228.195 with SMTP id sk3mr26933248pbc.103.1369617469985; Sun, 26 May 2013 18:17:49 -0700 (PDT) Received: by 10.70.31.195 with HTTP; Sun, 26 May 2013 18:17:49 -0700 (PDT) In-Reply-To: References: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> <20130526160906.4e379016@X220.ovitrap.com> <20130526113235.f5dbe768.freebsd@edvax.de> Date: Sun, 26 May 2013 20:17:49 -0500 Message-ID: Subject: Re: "swap" partition leads to instability? From: Adam Vande More To: Warren Block Content-Type: text/plain; charset=ISO-8859-1 Cc: Erich Dollansky , Polytropon , "freebsd-questions@freebsd.org" , "M. V." X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 01:17:57 -0000 On Sun, May 26, 2013 at 7:20 PM, Warren Block wrote: > Which part? This part: "Another problem with SSDs is that they can have difficulty with wear leveling." Do as I suggested and you'll get maximum life from the drive even with swap present. Even absent of best practices, SSD's in general do a great job in managing wear leveling. We're 5+ years out from crappy SSD's with dynamic wear leveling. Modern SSD's don't suffer nearly the write amplification effect of earlier drives. Also the write amplification effect only comes into play during random writes. A lot of common swap usage isn't random. All this is of course assuming we're dealing with a quality drive. If you're using a cheap Chinese knock off, all bets are off. > A FreeBSD swap partition has no way to use TRIM, so I suggest > using a swap file on top of UFS, which does support TRIM. > > Using TRIM should preserve performance better than leaving unused space and > letting the drive wear leveling algorithm move data around without the hint. Normal dynamic wear leveling on a modern SSD will be better than imposing an FS- backed swap for 4GB partion occupying a small fraction of total drive space. File backed paging imposes two sets of bottlenecks and TRIM only *helps* with one. Another part of the equation is how much is swap used. If rarely, this is a non-issue to begin with. If it's significant, any flash SSD probably isn't appropriate. Certain other SSD's are not subject to these guidelines at all. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Mon May 27 01:25:28 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 616D6948 for ; Mon, 27 May 2013 01:25:28 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 2B84C8B4 for ; Mon, 27 May 2013 01:25:27 +0000 (UTC) Received: from r56.edvax.de (port-92-195-231-35.dynamic.qsc.de [92.195.231.35]) by mx02.qsc.de (Postfix) with ESMTP id 95EBE24883; Mon, 27 May 2013 03:17:02 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r4R1HCWJ002524; Mon, 27 May 2013 03:17:12 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 27 May 2013 03:17:12 +0200 From: Polytropon To: Modulok Subject: Re: Case sensitive usernames and sendmail - mystic voodoo Message-Id: <20130527031712.a6cbecf2.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 01:25:28 -0000 On Sun, 26 May 2013 18:44:41 -0600, Modulok wrote: > I know usernames are case-sensitive, I thought emails were > too. If I remember e-mail basics correctly: No. They're not. For example, foo@example.com, FOO@example.com and Foo@example.com and all upper/lowercase variations are the same as foo@example.com. For sending mail within a system and across systems, names in the passwd file have to be in conjunction with the respective mail queues for the users. Even "foo" and "Foo" can coexist (as soon as they have a different UID, reflecting the fact that two distinguishable users are intended), but regarding mail... that sounds problematic. > Without fighting an epic battle with with the sendmail configs, is > there a simple way to make this work? Use lowercase usernames only. Make it a convention. Verify it. > The obvious answer is probably, "usernames should be lowercase!" and for > new users I'll enforce that policy. For existing users however, who may > already have lots of case-sensitive usernames in various config files, > etc this isn't a real option. That's true, but didn't this approach get you in trouble earlier? > By just altering their usernames I'm > afraid I'd break the whole damn universe. This is quite possible. As you mentioned correctly, usernames with uppercase letters may already appear in config files. You _could_ check for each user below his $HOME for any appearing in a file and replace this, but that could cause trouble if something is stored in a "Registry"-like binary file. Regarding /etc/passwd, the home directory _may_ be a different name than the username, so those _pathnames_ in files should not require a change. But files mentioning _usernames_ will probably cause problems. > How can I enable mail for > them? Maybe it's possible to use /etc/mail/aliases? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon May 27 01:36:48 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C4B78BBA for ; Mon, 27 May 2013 01:36:48 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id 93ED591F for ; Mon, 27 May 2013 01:36:48 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id o17so8196389oag.27 for ; Sun, 26 May 2013 18:36:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=TBhma4kjSesavjqlZoDSTIKG1ThyQ5vPoqlAl7nTfro=; b=jlf5/TWUU1VyerpS7KvKHsiAVYBlT74kzMqq9UKrzfkvboZcZFHFs2B/lQprufNrwT Diq5h85UEQXXacVpiuAf8BdikQFt9DrJcmM5vJa7JH7hS8pVd0/nXXkQpKvfzlzNvQ+B 9SoBjfOmrpUK94NeGyjtx81MtvxFtyAFYzx/wl083trCFDzthp6v1yXYdXpc4DpBksMg DT4F4xuFEBjQkXHfB9750W3Y6mVW6Wln5TSlDN6rRMxU2JF6y+ZyYYxrnaRLolpmDTdw 2jfMLehyI7JaN85DggiLJtZJlCbbOs6R2EOeIkaMTAQfkARw6khNaYYHteVoY7+a6Yb7 S3iw== MIME-Version: 1.0 X-Received: by 10.60.44.74 with SMTP id c10mr3626956oem.80.1369618601321; Sun, 26 May 2013 18:36:41 -0700 (PDT) Received: by 10.60.9.99 with HTTP; Sun, 26 May 2013 18:36:41 -0700 (PDT) In-Reply-To: <20130527031712.a6cbecf2.freebsd@edvax.de> References: <20130527031712.a6cbecf2.freebsd@edvax.de> Date: Sun, 26 May 2013 18:36:41 -0700 Message-ID: Subject: Re: Case sensitive usernames and sendmail - mystic voodoo From: Michael Sierchio To: Polytropon X-Gm-Message-State: ALoCoQldH0ncotUIO+7ATT7lrXu/AxJv9g+/CJw8/x62qrpUNWAXWLV5MFrln/I2ZPNLyITDZZnH Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions , Modulok X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 01:36:48 -0000 On Sun, May 26, 2013 at 6:17 PM, Polytropon wrote: > > On Sun, 26 May 2013 18:44:41 -0600, Modulok wrote: > > I know usernames are case-sensitive, I thought emails were > > too. > > If I remember e-mail basics correctly: No. They're not. > For example, foo@example.com, FOO@example.com and Foo@example.com > and all upper/lowercase variations are the same as foo@example.com. > You remember incorrectly ;-) The local part of an address (before the @ sign) is case-sensitive (with the exception of postmaster@example.com) Everything to the right of the @ is indeed case insensitive, but everything to the left might be case sensitive, depending on local policy. This means you must preserve the case of everything to the left of the @ sign. From owner-freebsd-questions@FreeBSD.ORG Mon May 27 01:47:16 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B56D8E2B for ; Mon, 27 May 2013 01:47:16 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 7E865973 for ; Mon, 27 May 2013 01:47:16 +0000 (UTC) Received: from r56.edvax.de (port-92-195-231-35.dynamic.qsc.de [92.195.231.35]) by mx02.qsc.de (Postfix) with ESMTP id 6D80F2434C; Mon, 27 May 2013 03:47:12 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r4R1lL8f002624; Mon, 27 May 2013 03:47:22 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 27 May 2013 03:47:21 +0200 From: Polytropon To: Michael Sierchio Subject: Re: Case sensitive usernames and sendmail - mystic voodoo Message-Id: <20130527034721.36fe24ca.freebsd@edvax.de> In-Reply-To: References: <20130527031712.a6cbecf2.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions , Modulok X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 01:47:16 -0000 On Sun, 26 May 2013 18:36:41 -0700, Michael Sierchio wrote: > On Sun, May 26, 2013 at 6:17 PM, Polytropon wrote: > > > > On Sun, 26 May 2013 18:44:41 -0600, Modulok wrote: > > > I know usernames are case-sensitive, I thought emails were > > > too. > > > > If I remember e-mail basics correctly: No. They're not. > > For example, foo@example.com, FOO@example.com and Foo@example.com > > and all upper/lowercase variations are the same as foo@example.com. > > > > You remember incorrectly ;-) I checked again - and yes, it seems that my memory about the valid definition has changed to what is reality today, i. e. sendmail "rewriting" uppercase to lowercase prior to further processing. > The local part of an address (before the @ sign) is case-sensitive (with > the exception of postmaster@example.com) So it depends on how sendmail is configured that "it does not matter today". > Everything to the right of the @ is indeed case insensitive, but everything > to the left might be case sensitive, depending on local policy. This means > you must preserve the case of everything to the left of the @ sign. According to the link provided by Erich Dollansky, FreeBSD's default sendmail.cf setting of Mlocal, P=/usr/libexec/mail.local, F=lsDFMAw5 needs to be added the "u" option to the F= parameter to preserve the uppercase letters in the the left side (username) of the address. Maybe this additiion is required in other cf files containing Mlocal settings too? Of course it would be nice if there was a corresponding setting for the mc files which the cf files are usually generated from... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon May 27 03:31:18 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A219FF9C for ; Mon, 27 May 2013 03:31:18 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from mail-ee0-f43.google.com (mail-ee0-f43.google.com [74.125.83.43]) by mx1.freebsd.org (Postfix) with ESMTP id 3BCCAE1E for ; Mon, 27 May 2013 03:31:17 +0000 (UTC) Received: by mail-ee0-f43.google.com with SMTP id d41so3781642eek.16 for ; Sun, 26 May 2013 20:31:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=/gBziqpLvTu9d2c+c7pBynF9IPp/CXKZCRfXkOe8lmo=; b=wqEVFnOlv+G545y1Sx/CTLEQARbVyuMOJhjCyaf5E/bZomtkB2q0gRAslpQSKYwmWG bjim6zNROI9FUwTtWgz9yDDTUJCmYa8Li96WvzhccOvyso9X+LuBvOiqbXwilcYZuKto WLB16x0APlr/dAUrAtMWGFAB86tqmfTOlCtixYMkj3WtUbn/TuGD8pWjR14at70WjClb 9pUC01wPx/ARl0coORccUJLqEXNptTjFwq6U1cmMt5EbmGbhCC7TJoByQMEKfEfi07ly NnAcTpV1EBwbQbIRzfVdGYBUmWftMkj6cK4Ez2JM+TH6I+cOTb/nr1RliWItYsjfnTVo swdQ== MIME-Version: 1.0 X-Received: by 10.14.182.5 with SMTP id n5mr8178797eem.151.1369625469695; Sun, 26 May 2013 20:31:09 -0700 (PDT) Received: by 10.15.99.199 with HTTP; Sun, 26 May 2013 20:31:09 -0700 (PDT) In-Reply-To: <20130527034721.36fe24ca.freebsd@edvax.de> References: <20130527031712.a6cbecf2.freebsd@edvax.de> <20130527034721.36fe24ca.freebsd@edvax.de> Date: Sun, 26 May 2013 21:31:09 -0600 Message-ID: Subject: Re: Case sensitive usernames and sendmail - mystic voodoo From: Modulok To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Cc: Michael Sierchio , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 03:31:18 -0000 >> Everything to the right of the @ is indeed case insensitive, but >> everything >> to the left might be case sensitive, depending on local policy. This >> means >> you must preserve the case of everything to the left of the @ sign. > > According to the link provided by Erich Dollansky, FreeBSD's > default sendmail.cf setting of > > Mlocal, P=/usr/libexec/mail.local, F=lsDFMAw5 > > needs to be added the "u" option to the F= parameter to preserve > the uppercase letters in the the left side (username) of the > address. Maybe this additiion is required in other cf files > containing Mlocal settings too? Of course it would be nice if > there was a corresponding setting for the mc files which the > cf files are usually generated from... So, best practices aside, this would be a bug in the default config? (i.e. can I celebrate my bug-finding yet?) Cheers! -Modulok- From owner-freebsd-questions@FreeBSD.ORG Mon May 27 03:40:12 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 60B661DE for ; Mon, 27 May 2013 03:40:12 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 297DBE80 for ; Mon, 27 May 2013 03:40:11 +0000 (UTC) Received: from r56.edvax.de (port-92-195-231-35.dynamic.qsc.de [92.195.231.35]) by mx02.qsc.de (Postfix) with ESMTP id CA091246B2; Mon, 27 May 2013 05:40:07 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r4R3eH5Z003039; Mon, 27 May 2013 05:40:17 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 27 May 2013 05:40:17 +0200 From: Polytropon To: Modulok Subject: Re: Case sensitive usernames and sendmail - mystic voodoo Message-Id: <20130527054017.10693d2c.freebsd@edvax.de> In-Reply-To: References: <20130527031712.a6cbecf2.freebsd@edvax.de> <20130527034721.36fe24ca.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 03:40:12 -0000 On Sun, 26 May 2013 21:31:09 -0600, Modulok wrote: > >> Everything to the right of the @ is indeed case insensitive, but > >> everything > >> to the left might be case sensitive, depending on local policy. This > >> means > >> you must preserve the case of everything to the left of the @ sign. > > > > According to the link provided by Erich Dollansky, FreeBSD's > > default sendmail.cf setting of > > > > Mlocal, P=/usr/libexec/mail.local, F=lsDFMAw5 > > > > needs to be added the "u" option to the F= parameter to preserve > > the uppercase letters in the the left side (username) of the > > address. Maybe this additiion is required in other cf files > > containing Mlocal settings too? Of course it would be nice if > > there was a corresponding setting for the mc files which the > > cf files are usually generated from... > > So, best practices aside, this would be a bug in the default config? No. A convention. :-) > (i.e. can I celebrate my bug-finding yet?) Depends. If it's a _desired_ convention (because people regularly have problems with e-mail addresses and just don't care for upper and lower case), it's a good default setting. In _your_ case, it does not apply, because it introduces problems. So if you intend to make a local modification, that's no problem because you _can_ configure such things. This is the power that comes by the freedom of choice. You can celebrate this. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon May 27 08:46:42 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2C08E908 for ; Mon, 27 May 2013 08:46:42 +0000 (UTC) (envelope-from bored_to_death85@yahoo.com) Received: from nm16.bullet.mail.bf1.yahoo.com (nm16.bullet.mail.bf1.yahoo.com [98.139.212.175]) by mx1.freebsd.org (Postfix) with SMTP id ABE5BDDE for ; Mon, 27 May 2013 08:46:41 +0000 (UTC) Received: from [98.139.215.141] by nm16.bullet.mail.bf1.yahoo.com with NNFMP; 27 May 2013 08:46:32 -0000 Received: from [98.139.212.241] by tm12.bullet.mail.bf1.yahoo.com with NNFMP; 27 May 2013 08:46:32 -0000 Received: from [127.0.0.1] by omp1050.mail.bf1.yahoo.com with NNFMP; 27 May 2013 08:46:32 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 327063.30974.bm@omp1050.mail.bf1.yahoo.com Received: (qmail 95935 invoked by uid 60001); 27 May 2013 08:46:32 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1369644392; bh=UXujFxJA3TUyerePA3Dh5GXlhl2tdlcyXvjqmTHpGdg=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=TjNjCbbVhhAc1V50g9PNqW2IYgz2RIfxdxPt9P/95Z2HhHnEd1oQu2Suf8L1TpApaazNnZUNwQyMt62I4Bk6rjwBYGN25VMLI+ZWzvA1yc7kuAbnYtDbFWu73Ij4Sy7ejStB1Q6AteFyqpCcaH1EPSL6kvMTurah0qrLzIMHU+I= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=QgWuuKfuckhhGuT8ikGASHIRhFuY26N059DH3es+pq3EXpbWyC42K7Rp/PMtj1VOtGNqJWaGTG4RgKWPO986Jk0yTRUl0pJFpH0FI+ZRorsJDBA1iWWRxokpm4Aefi2kfVSMm8rTiBzYLmxDLrwUskWEDsWy1C5lKqCkSW8AbL0=; X-YMail-OSG: L8VfmqQVM1kttzXtOXDWROz02iwczd5xw_7JbvRn8sPkqWV NxsxKE1oEZUkKZojSzGlpdWCbynMR.91RT0ffM4bxPrjC8AwqsTuP5uifXMJ DkVUF83y7MZcrwvBcpylT0oinMfyE9tX24TvfPTCMCG.d_I80W.UHdH0bW37 jJxuTnTFDb27qpDCZT17Sw3AmHX3Pb4eXQSumQ23qmjIZbNSbQ4wQfi9vmui QO4uwMySTguRrph1DHAE50oWaS5JXu0pm_AAbmUlDoJuOspllezTyvNdLJy2 _p.dXgs9IoT3TnGdfWa1_Y626Qt4UDp19e.JuKrK7CiHHhMpNjVw7zT7uB3r 9zXY501W9yNqYYvgElQDUWVAxTiC1WVyPA6AbMCf07sE10wx8exXgLHngOjU 0qvWXuNDEEtHFNTzeyQPQbzJIG9rSsreKRVkALO3o.esfo1y2QwGhX_0p8cB N9DnyYj28ckGkHh4ZRLKvL0Tue9tLcNIK_kV6QWTMDb2GsQ6ef10MH_jDZIR wUBECC.4VfJbnZ5k0NeDJBJ6Sl80.17udnAi_9XF3hKgyqF6lzinDbICmA8T Y7dqn0P.t6Qb1ZdCRkRxlu2xBBWA5gGkg3Wmh_WiX812xAKlwsHWzQ08d5Nq JE1H_XhfMRS9OKg0xAB2MNHpegxgVeRuGViCY8yvEudsgE3.uuqYxhWCyAFf 2TU9OK0ScTR7eGfBWDc5eCro31OzUOeTSQKDJbxOqXV0- Received: from [94.183.246.198] by web165003.mail.bf1.yahoo.com via HTTP; Mon, 27 May 2013 01:46:32 PDT X-Rocket-MIMEInfo: 002.001, amIgPGpiLjEyMzRhYmNkIDxhdD4gZ21haWwuY29tPiB3cml0ZXM6Cgo.IE0uIFYuIDxib3JlZF90b19kZWF0aDg1IDxhdD4geWFob28uY29tPiB3cml0ZXM6Cgo.PiByZWNlbnRseSBJIGhlYXJkIGZyb20gYSBGcmVlQlNEIGV4cGVydCB0aGF0IEkgc2hvdWxkbid0IGhhdmUKPj4gc3dhcCBwYXJ0aXRpb24gZm9yIG15IHNlcnZlciwgYW5kIGhhdmluZyBzd2FwIHBhcnRpdGlvbiBjb3VsZAo.PiBtYWtlIG15IHNlcnZlciB1bnN0YWJsZS4gCgo.IEkgdGhpbmsgeW91ciBGQiBleHBlcnQgd2FzIHVwIHRvIHNvbWUBMAEBAQE- X-Mailer: YahooMailWebService/0.8.144.546 References: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> Message-ID: <1369644392.92027.YahooMailNeo@web165003.mail.bf1.yahoo.com> Date: Mon, 27 May 2013 01:46:32 -0700 (PDT) From: "M. V." Subject: Re: "swap" partition leads to instability? To: jb , "freebsd-questions@freebsd.org" In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: "M. V." List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 08:46:42 -0000 jb gmail.com> writes: > M. V. yahoo.com> writes: >> recently I heard from a FreeBSD expert that I shouldn't have >> swap partition for my server, and having swap partition could >> make my server unstable. > I think your FB expert was up to something. I bet he spoke out > of experience. > > Swapping by itself can decrease system reliability due to possible > data corruption on swap disk or during two-way transfers, with > subsequent incorrect RAM and machine crash. > > But, swapping is also a symptom, not a problem. > It is never a good idea to let it get to that point. ... > http://blog.jcole.us/2010/09/28/mysql-swap-insanity-and-the-numa-architecture/ Very interesting point. - do you think this could hurt my server's stability too? (most of its work is a noticeable amount of packet-forwarding, and other network services, like firewall, dhcp server, ntp server, etc) - if so, in what conditions? can I do something to prevent this? or should I just get rid of the swap partition? - does swap partition do any good for me at all? I mean if we even suppose nothing bad happens because of it, is it worth risking to keep it? thank you. From owner-freebsd-questions@FreeBSD.ORG Mon May 27 09:57:16 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CC368D62 for ; Mon, 27 May 2013 09:57:16 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 8FD9A132 for ; Mon, 27 May 2013 09:57:15 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UguAt-0003C8-Cb for freebsd-questions@freebsd.org; Mon, 27 May 2013 11:57:11 +0200 Received: from 79-139-19-75.prenet.pl ([79.139.19.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 May 2013 11:57:07 +0200 Received: from jb.1234abcd by 79-139-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 27 May 2013 11:57:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Subject: Re: Date: Mon, 27 May 2013 09:56:53 +0000 (UTC) Lines: 52 Message-ID: References: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> <1369644392.92027.YahooMailNeo@web165003.mail.bf1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 79.139.19.75 (Mozilla/5.0 (X11; Linux i686; rv:21.0) Gecko/20100101 Firefox/21.0) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 09:57:16 -0000 M. V. yahoo.com> writes: > ... > > Swapping by itself can decrease system reliability due to possible > > data corruption on swap disk or during two-way transfers, with > > > subsequent incorrect RAM and machine crash. > > > > But, swapping is also a symptom, not a problem. > > It is never a good idea to let it get to that point. > ... > > > http://blog.jcole.us/2010/09/28/mysql-swap-insanity-and-the-numa-architecture/ > > Very interesting point. > - do you think this could hurt my server's stability too? (most of its work is a noticeable amount of > packet-forwarding, and other network services, like firewall, dhcp server, ntp server, etc) > - if so, in what conditions? can I do something to prevent this? or should I just get rid of the swap partition? > > - does swap partition do any good for me at all? I mean if we even suppose nothing bad happens because of it, is > it worth risking to keep it? > > thank you. I wish there was a clear answer. There are two schools practised by server owners: - with swap space (partition or file) They see swapping as a symptom (of a problem, real or potential), and they treat it as a useful early warning device that gives them time to act. If prolonged or unattended, swapping may slow down the system and even end up in "thrashing", which is close to a terminal state. - no swap space They are "purists" - when they set up a server for a specific purpose they know it (requirements, apps run, resources assigned) and they are in charge. No "sissy" swapping, they do not trust those kernel algos, etc. They know that out-of-memory kernel killer may terminate a process (perhaps not the one they would expect) in case of memory crunch, but they think they can live with it by closely watching system and app state indicators to prevent that from happening. In the end it comes down to owner's preferences. If in doubt, try with and without swap space and see how it works in your particular environment. jb From owner-freebsd-questions@FreeBSD.ORG Mon May 27 13:37:50 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 96CDDE60 for ; Mon, 27 May 2013 13:37:50 +0000 (UTC) (envelope-from odeds@mellanox.com) Received: from eu1sys200aog108.obsmtp.com (eu1sys200aog108.obsmtp.com [207.126.144.125]) by mx1.freebsd.org (Postfix) with ESMTP id BA8B4275 for ; Mon, 27 May 2013 13:35:54 +0000 (UTC) Received: from MTLCAS02.mtl.com ([193.47.165.155]) (using TLSv1) by eu1sys200aob108.postini.com ([207.126.147.11]) with SMTP ID DSNKUaNhOcfbVZeA0D33Y8B8N+yIY7Kpae8m@postini.com; Mon, 27 May 2013 13:35:54 UTC Received: from MTLDAG01.mtl.com ([10.0.8.75]) by MTLCAS02.mtl.com ([10.0.8.72]) with mapi id 14.03.0123.003; Mon, 27 May 2013 16:34:38 +0300 From: Oded Shanoon To: "freebsd-questions@freebsd.org" Subject: FreeBSD-10.0 code freeze Thread-Topic: FreeBSD-10.0 code freeze Thread-Index: Ac5a3twAOoqkPHAXT26B1ixbg5DQ9Q== Date: Mon, 27 May 2013 13:34:37 +0000 Message-ID: <058596FC127BDB469D7D60F04E37C63F7345AAC7@MTLDAG01.mtl.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.13.1] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 13:37:50 -0000 Hi, I heard a rumor that the 10.0 code freeze will be in the end of July. Is that true? Can anyone tell me when does it plan to be? Regards, Oded Shanoon Ofed-FreeBSD team Mellanox Technologies, Raanana From owner-freebsd-questions@FreeBSD.ORG Mon May 27 18:00:54 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 202B45CA for ; Mon, 27 May 2013 18:00:54 +0000 (UTC) (envelope-from edflecko@gmail.com) Received: from mail-qe0-f48.google.com (mail-qe0-f48.google.com [209.85.128.48]) by mx1.freebsd.org (Postfix) with ESMTP id DEE961AC for ; Mon, 27 May 2013 18:00:53 +0000 (UTC) Received: by mail-qe0-f48.google.com with SMTP id 2so3134957qea.7 for ; Mon, 27 May 2013 11:00:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=RcR3XOPbF2YLBNZK79ufKl+VwHqMiudGbFI+KFnda0E=; b=SdK17UHMuJrTUrmgslsdkbpuopZWJNEOy2GjOH56jr5Faqtf7nvzVywvuY7x6Xul74 Tj1aqPBzovVp1HVnlV3a67GvWW8AKxpsI5YWFdQlAOEwHCaCTDfICQWuGBbA85/piy2T 7BDDbzFIivqoP1EaFlDG+Jt24c9KTBN+KvSeI66PLA0cqlK8i0g1PmsNCOvyQ6FjSzU+ Z1fMIw13VgBztxDb19JNX71jcDLWgfcVKpj86AqpiYdb/7zmqTyQtIhgkFhB3PTqoH/n GvC3yiwRgB3L66beg2vysCcWWTgwR9+quT6LmU4NHKcmb1VYYUr7OFBzCm5gX27V5aYb J1tQ== MIME-Version: 1.0 X-Received: by 10.224.68.10 with SMTP id t10mr19092424qai.24.1369677652890; Mon, 27 May 2013 11:00:52 -0700 (PDT) Received: by 10.49.121.232 with HTTP; Mon, 27 May 2013 11:00:52 -0700 (PDT) Date: Mon, 27 May 2013 11:00:52 -0700 Message-ID: Subject: pkg_version says my ports need to be updated? From: Ed Flecko To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 18:00:54 -0000 Clearly, I'm doing something wrong. :-) I thought I was using svn to keep my ports, src and docs up to date, but pkg_version seems to disagree. I'm running 9.1 and I've installed ports, src, and docs as part of my install. After that, I use subversion to (I thought) make sure everything was up to date. I ran these commands: /usr/local/bin/svn up /usr/src /usr/local/bin/svn up /usr/ports /usr/local/bin/svn up /usr/doc and then I ran: pkg_version -vIL = and it says "< needs updating (index has ...) on about 1 dozen items. So my "index" is out of sync with my ports??? What did I screw up and how do I correct it? Thank you! Ed From owner-freebsd-questions@FreeBSD.ORG Mon May 27 18:16:37 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6CA58B4D for ; Mon, 27 May 2013 18:16:37 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wg0-x22e.google.com (mail-wg0-x22e.google.com [IPv6:2a00:1450:400c:c00::22e]) by mx1.freebsd.org (Postfix) with ESMTP id 077F3296 for ; Mon, 27 May 2013 18:16:36 +0000 (UTC) Received: by mail-wg0-f46.google.com with SMTP id l18so4572247wgh.13 for ; Mon, 27 May 2013 11:16:35 -0700 (PDT) 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=JjcELrnVycm1IKDPFCogtB8vlkIoTvBCAQNfIOmBrvA=; b=pcXcJIKLcOXLo8T0qhJ153Uo98WY4r1JSb8z4IDLTh75+Lp4bwCivKFbWX+3wZ5NN8 pI9xvB6ymElwqgPTziWs1G3DQcQeteu8kLQQ1b8vtBymY/O0DsvPc3tVvqE4zUYbCQ+o fOt9KCWwfdTDUSCpHmddy9rBb/iCpPxJwTjG11i5toEqZJxxudz0dgXf4rONCAf/5m+/ 8DNlhtGOd44Qj081FG8lLFw+cJeik/r32D6DvYoO2dsLy2ftKTTyJWWdTyus5Nr/mY5R JSxny3/HeHsMoEDuLd652G7r+xzmExnKIFObWenCHJudAxeU0DPmF/rz0Ih7STG80ZG0 zEQQ== X-Received: by 10.180.108.175 with SMTP id hl15mr9259474wib.19.1369678595216; Mon, 27 May 2013 11:16:35 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPSA id d5sm19229815wic.1.2013.05.27.11.16.34 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Mon, 27 May 2013 11:16:34 -0700 (PDT) Date: Mon, 27 May 2013 19:16:33 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: pkg_version says my ports need to be updated? Message-ID: <20130527191633.70f45585@gumby.homeunix.com> In-Reply-To: References: X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.17; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 18:16:37 -0000 On Mon, 27 May 2013 11:00:52 -0700 Ed Flecko wrote: > Clearly, I'm doing something wrong. > > :-) > > I thought I was using svn to keep my ports, src and docs up to date, > but pkg_version seems to disagree. > > I'm running 9.1 and I've installed ports, src, and docs as part of my > install. After that, I use subversion to (I thought) make sure > everything was up to date. > > I ran these commands: > > /usr/local/bin/svn up /usr/src > > /usr/local/bin/svn up /usr/ports > > /usr/local/bin/svn up /usr/doc > > and it says "< needs updating (index has ...) on about 1 dozen items. > So my "index" is out of sync with my ports??? You updated the source code for the base system, and the ports tree (instructions for building and installing packages from source). You updated neither the base system nor the installed packages. Take another look at the handbook. From owner-freebsd-questions@FreeBSD.ORG Mon May 27 18:16:47 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 57B04BD7 for ; Mon, 27 May 2013 18:16:47 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id CFEE9297 for ; Mon, 27 May 2013 18:16:46 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.7/8.14.7) with ESMTP id r4RIGabn009446 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Mon, 27 May 2013 19:16:37 +0100 (BST) (envelope-from matthew@FreeBSD.org) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk r4RIGabn009446 Authentication-Results: smtp.infracaninophile.co.uk/r4RIGabn009446; dkim=none reason="no signature"; dkim-adsp=none (unprotected policy) Message-ID: <51A3A2FD.4000304@FreeBSD.org> Date: Mon, 27 May 2013 19:16:29 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: pkg_version says my ports need to be updated? References: In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2GHDEMOKUDDFXXAKIJICQ" X-Virus-Scanned: clamav-milter 0.97.8 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 18:16:47 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2GHDEMOKUDDFXXAKIJICQ Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 27/05/2013 19:00, Ed Flecko wrote: > Clearly, I'm doing something wrong. >=20 > :-) >=20 > I thought I was using svn to keep my ports, src and docs up to date, bu= t > pkg_version seems to disagree. >=20 > I'm running 9.1 and I've installed ports, src, and docs as part of my > install. After that, I use subversion to (I thought) make sure everythi= ng > was up to date. >=20 > I ran these commands: >=20 > /usr/local/bin/svn up /usr/src >=20 > /usr/local/bin/svn up /usr/ports >=20 > /usr/local/bin/svn up /usr/doc >=20 > and then I ran: >=20 >=20 > pkg_version -vIL =3D >=20 >=20 >=20 > and it says "< needs updating (index has ...) on about 1 dozen items. S= o my > "index" is out of sync with my ports??? >=20 > What did I screw up and how do I correct it? You seem to have updated the ports tree, which is a collection of recipes for how to build ported software, but not actually updated by rebuilding any of the ported software that has become out of date. Try installing ports-mgmt/portmaster and then running portmaster -a Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey ------enig2GHDEMOKUDDFXXAKIJICQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlGjowMACgkQ8Mjk52CukIylWQCcDEp+366KOT6SqV8bNyHIO8Iy eMoAnifsQbDnVWBOk5ywqhOIPNMiV4V1 =PIai -----END PGP SIGNATURE----- ------enig2GHDEMOKUDDFXXAKIJICQ-- From owner-freebsd-questions@FreeBSD.ORG Mon May 27 18:49:17 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 36CF24E2 for ; Mon, 27 May 2013 18:49:17 +0000 (UTC) (envelope-from edflecko@gmail.com) Received: from mail-qc0-x22d.google.com (mail-qc0-x22d.google.com [IPv6:2607:f8b0:400d:c01::22d]) by mx1.freebsd.org (Postfix) with ESMTP id F3876649 for ; Mon, 27 May 2013 18:49:16 +0000 (UTC) Received: by mail-qc0-f173.google.com with SMTP id c11so3625643qcv.18 for ; Mon, 27 May 2013 11:49:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=2Mh+5dg7mw+cLrdNsSKNOMag+fLHTd2oe/pMsbw9bGI=; b=OnDDHekhuhU24KpCs1AMALouImvjLyOoxx9i6lGPUfagommN9ZsdrEchA9zG9C53cP QkRWRZO1X4GlQCwAoRtMg666nTMGPoLFLctr+OJeO5/PqXVhwfUhqt1rGzPT++xYiv+X QCaYnY7FufGsPyLH1/Qvhy0EeWltxrHYbBaR6s2MJkFuTuztqoo0Sq3QulXMqQLNamLB 3FQ41Cn7Qy8bITIHSca6JlIIO3Rv0IUYhT4PDt5QhoU8/8FmQMqqP5vPGsC8d1ipJr2v rT0/rhbAs/sCzK9mvUp5IbNdH6Khq26eXwi7BQmKeNrLt5ZBaMVJF0MdpyQl6420LV5G UI9w== MIME-Version: 1.0 X-Received: by 10.224.68.10 with SMTP id t10mr19240638qai.24.1369680555558; Mon, 27 May 2013 11:49:15 -0700 (PDT) Received: by 10.49.121.232 with HTTP; Mon, 27 May 2013 11:49:15 -0700 (PDT) In-Reply-To: <51A3A2FD.4000304@FreeBSD.org> References: <51A3A2FD.4000304@FreeBSD.org> Date: Mon, 27 May 2013 11:49:15 -0700 Message-ID: Subject: Re: pkg_version says my ports need to be updated? From: Ed Flecko To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 18:49:17 -0000 Thank you both! Since I want to know the "correct" way (or one of I'm sure many correct ways) of initially installing the OS and then getting it up to date (and staying up to date), can you tell me what I did wrong and/or what I might want to do differently? Ed On Mon, May 27, 2013 at 11:16 AM, Matthew Seaman wrote: > On 27/05/2013 19:00, Ed Flecko wrote: > > Clearly, I'm doing something wrong. > > > > :-) > > > > I thought I was using svn to keep my ports, src and docs up to date, but > > pkg_version seems to disagree. > > > > I'm running 9.1 and I've installed ports, src, and docs as part of my > > install. After that, I use subversion to (I thought) make sure everything > > was up to date. > > > > I ran these commands: > > > > /usr/local/bin/svn up /usr/src > > > > /usr/local/bin/svn up /usr/ports > > > > /usr/local/bin/svn up /usr/doc > > > > and then I ran: > > > > > > pkg_version -vIL = > > > > > > > > and it says "< needs updating (index has ...) on about 1 dozen items. So > my > > "index" is out of sync with my ports??? > > > > What did I screw up and how do I correct it? > > You seem to have updated the ports tree, which is a collection of > recipes for how to build ported software, but not actually updated by > rebuilding any of the ported software that has become out of date. > > Try installing ports-mgmt/portmaster and then running > > portmaster -a > > Cheers, > > Matthew > -- > Dr Matthew J Seaman MA, D.Phil. > PGP: http://www.infracaninophile.co.uk/pgpkey > > > From owner-freebsd-questions@FreeBSD.ORG Mon May 27 19:11:21 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id EBF6991B for ; Mon, 27 May 2013 19:11:21 +0000 (UTC) (envelope-from kurt.buff@gmail.com) Received: from mail-ea0-x22f.google.com (mail-ea0-x22f.google.com [IPv6:2a00:1450:4013:c01::22f]) by mx1.freebsd.org (Postfix) with ESMTP id 87ECF75C for ; Mon, 27 May 2013 19:11:21 +0000 (UTC) Received: by mail-ea0-f175.google.com with SMTP id h10so3999076eaj.34 for ; Mon, 27 May 2013 12:11:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=G5PhntEBSVPYkCGNQ5zPQvg+NTJfQxrxMeyD1h1wJZg=; b=U6m7VYuIXUdKpcl1iLajzGMwe6n+SVLMH0wex77Y9FH7w6q36Om1YesfMVdyxYnElk ndc6bvrnH7JOE57qbbJjL01XnzjxYD4KpUDh2GJ0nScZQdTtNZKL7IZAY1FVzOZgHLR3 e389OYag/9hXbGb8gOBYj2MrX03Ds4vuuY3/Y75IlMCKTQhuKPkRWdfMjGV9lvzOmR2a 5nk9n9lY1vtWWABGunuTNHtmC/tEhB5kBSHM/F9wZo65B2zyeNflky/rnAWjH0CNiegw rmRdGPBPjCJ01wRFQecMlkeoHWMMOUgdSmkuZVWplfU5jJ0I/XdeSG/F85877gHDBfZb SgaQ== MIME-Version: 1.0 X-Received: by 10.15.24.194 with SMTP id j42mr10993614eeu.93.1369681879671; Mon, 27 May 2013 12:11:19 -0700 (PDT) Received: by 10.14.69.200 with HTTP; Mon, 27 May 2013 12:11:19 -0700 (PDT) In-Reply-To: References: <51A3A2FD.4000304@FreeBSD.org> Date: Mon, 27 May 2013 12:11:19 -0700 Message-ID: Subject: Re: pkg_version says my ports need to be updated? From: Kurt Buff To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 19:11:22 -0000 Read the relevant portions of the handbook Chapter 5: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html Chapter 25: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading.html Then also: man portmaster man freebsd-update On Mon, May 27, 2013 at 11:49 AM, Ed Flecko wrote: > Thank you both! > > Since I want to know the "correct" way (or one of I'm sure many correct > ways) of initially installing the OS and then getting it up to date (and > staying up to date), can you tell me what I did wrong and/or what I might > want to do differently? > > Ed > > > On Mon, May 27, 2013 at 11:16 AM, Matthew Seaman wrote: > >> On 27/05/2013 19:00, Ed Flecko wrote: >> > Clearly, I'm doing something wrong. >> > >> > :-) >> > >> > I thought I was using svn to keep my ports, src and docs up to date, but >> > pkg_version seems to disagree. >> > >> > I'm running 9.1 and I've installed ports, src, and docs as part of my >> > install. After that, I use subversion to (I thought) make sure everything >> > was up to date. >> > >> > I ran these commands: >> > >> > /usr/local/bin/svn up /usr/src >> > >> > /usr/local/bin/svn up /usr/ports >> > >> > /usr/local/bin/svn up /usr/doc >> > >> > and then I ran: >> > >> > >> > pkg_version -vIL = >> > >> > >> > >> > and it says "< needs updating (index has ...) on about 1 dozen items. So >> my >> > "index" is out of sync with my ports??? >> > >> > What did I screw up and how do I correct it? >> >> You seem to have updated the ports tree, which is a collection of >> recipes for how to build ported software, but not actually updated by >> rebuilding any of the ported software that has become out of date. >> >> Try installing ports-mgmt/portmaster and then running >> >> portmaster -a >> >> Cheers, >> >> Matthew >> -- >> Dr Matthew J Seaman MA, D.Phil. >> PGP: http://www.infracaninophile.co.uk/pgpkey >> >> >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Mon May 27 20:18:48 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id EC8B7351 for ; Mon, 27 May 2013 20:18:48 +0000 (UTC) (envelope-from schweikh@schweikhardt.net) Received: from rs2.shuttle.de (rs2.shuttle.de [IPv6:2001:638:206:3::8]) by mx1.freebsd.org (Postfix) with ESMTP id B180A9FB for ; Mon, 27 May 2013 20:18:48 +0000 (UTC) Received: by rs2.shuttle.de (Postfix, from userid 10) id 6F3EF58016; Mon, 27 May 2013 22:18:46 +0200 (CEST) Received: from hal9000.schweikhardt.net (localhost [127.0.0.1]) by hal9000.schweikhardt.net (8.14.7/8.14.7) with ESMTP id r4RKIYC4003753 for ; Mon, 27 May 2013 22:18:34 +0200 (CEST) (envelope-from schweikh@hal9000.schweikhardt.net) Received: (from schweikh@localhost) by hal9000.schweikhardt.net (8.14.7/8.14.7/Submit) id r4RKIYt5003752 for questions@freebsd.org; Mon, 27 May 2013 22:18:34 +0200 (CEST) (envelope-from schweikh) Date: Mon, 27 May 2013 22:18:34 +0200 From: Jens Schweikhardt To: questions@freebsd.org Subject: Recommendations for 64GB USB 3.0 Sticks? Message-ID: <20130527201834.GA3147@schweikhardt.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 20:18:49 -0000 hello, world\n I have a problem with a USB 2.0 64GB Stick, that's not recognized by FreeBSD 9 (Corsair Survivor). I have also read other people having problems with large size sticks (>=64GB). Has anyone a recommendation for a 64GB USB 3.0 stick? Preferably with read and write speeds >=100MByte/s, respectively. Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) From owner-freebsd-questions@FreeBSD.ORG Mon May 27 21:44:19 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D9C73394 for ; Mon, 27 May 2013 21:44:19 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 9DD6EEAE for ; Mon, 27 May 2013 21:44:19 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r4RLi9II038952; Mon, 27 May 2013 15:44:09 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r4RLi9ab038949; Mon, 27 May 2013 15:44:09 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 27 May 2013 15:44:09 -0600 (MDT) From: Warren Block To: Ed Flecko Subject: Re: pkg_version says my ports need to be updated? In-Reply-To: Message-ID: References: <51A3A2FD.4000304@FreeBSD.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Mon, 27 May 2013 15:44:09 -0600 (MDT) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 21:44:19 -0000 On Mon, 27 May 2013, Ed Flecko wrote: > Since I want to know the "correct" way (or one of I'm sure many correct > ways) of initially installing the OS and then getting it up to date (and > staying up to date), can you tell me what I did wrong and/or what I might > want to do differently? A short overview: http://www.wonkity.com/~wblock/docs/html/portupgrade.html From owner-freebsd-questions@FreeBSD.ORG Tue May 28 04:16:52 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5E098750 for ; Tue, 28 May 2013 04:16:52 +0000 (UTC) (envelope-from followait@yahoo.com) Received: from nm40-vm4.bullet.mail.bf1.yahoo.com (nm40-vm4.bullet.mail.bf1.yahoo.com [72.30.239.212]) by mx1.freebsd.org (Postfix) with ESMTP id EA255654 for ; Tue, 28 May 2013 04:16:51 +0000 (UTC) Received: from [98.139.212.148] by nm40.bullet.mail.bf1.yahoo.com with NNFMP; 28 May 2013 04:13:44 -0000 Received: from [98.139.212.227] by tm5.bullet.mail.bf1.yahoo.com with NNFMP; 28 May 2013 04:13:44 -0000 Received: from [127.0.0.1] by omp1036.mail.bf1.yahoo.com with NNFMP; 28 May 2013 04:13:44 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 412344.62261.bm@omp1036.mail.bf1.yahoo.com Received: (qmail 28153 invoked by uid 60001); 28 May 2013 04:13:44 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1369714424; bh=O3+Bowgo6tDl05EP5Xbr+6NNVL5m7KitUv5rV+FANpY=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=6OuNp37dCokGpr1uFFJMA276tvVmt3QUm0vj2omsUucdrI7rS3fkB8G0pW2ZfX/EYHv0wxcyMV2wpEoUrUcVY9xozIKSnoSheLgzkWYR9MLbf0tINfMMHe62jUgHeFeOSN64pWtDhi2sm5mjgqxbC7T38i6QQ0g9KcmkHHA5Lk4= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=rM+3TYGPPDXsKzb/zm1yEw5N0jkJR8yh3TW39EU5K3anuGor18TU8OTkAnFUSIHe44SAHFWfCHmHoOkGol09Xd8ciZCrcPtLuOR6cfT1ryUvYsN+mSDXFJ5wyHPxjchADcB0veHL7uRNh8T1nFVZZafLBo7KGOjz451jlvxDVWc=; X-YMail-OSG: KZM2mqoVM1lieneUwfqWNx8msll_6.nsFxU5XNFGc3zqj4o 8j4zI4mZaugZN1T.FOAuifV7rxq44UlYuPuHJXEEvgB_TUpL.9n6BXrWiRyU mZ9ZK55GGTinhcgZPxC5N8bf_aoNsbK3dDRBl776keNyLNUEZGaUEmRLg_9N rznaEYPCNwknjByTM1XMwO2L8fA2Jz8tJQpt6Yp_YezDC3cpk1ExW3brniNG Do3xOrjKiB8551PZvCBB3H7OG.ND24j6olQY.OfHmNgR3SQEeuTorZizcACj YvOdI9W4qTgTIWIRvPHjH.joEpxPFrdnavO7NtcEgE9ObTCJq1JLuzRi7Bir gWumwDvNt2OuPPaHeBjO10FUrC3krqr48JITIDJ.byz2xu.DG420s_nETrnT P5Pz5tNL_V3sEOs4kqSlPAbFEc1UGTIdoOEmXqughc2eCvacWlYkVswppeXd 2LqPpYvQwOZHAQSaXgEBE05fRYNlULyG7qUBa1.oLKOEN.ULAZBY- Received: from [180.175.167.12] by web163001.mail.bf1.yahoo.com via HTTP; Mon, 27 May 2013 21:13:44 PDT X-Rocket-MIMEInfo: 002.001, RHVyaW5nIHRoZSBpbnN0YWxsYXRpb24gb2YgRnJlZUJTRCA5LjEgdXNpbmcgYnNkaW50YWxsLCBpdCBzZWVtcyB0aGUgY29uY2VwdCBoYXMgYmVlbiBjaGFuZ2VkLgpJbiB0aGUgIlBhcnRpdGlvbiBFZGl0b3IiLCB1c2luZyBHUFQsIG5vIHNsaWNlIGNvbmNlcHQsIG5vIHBhcnRpdGlvbiB0aGF0IHVzaW5nIGEvYi9jL2QuCklzIHRoZSBwYXJ0aXRpb24gbWVjaGFuaXNtIHNpbXBsaWZpZWQgaGVyZT8BMAEBAQE- X-Mailer: YahooMailWebService/0.8.144.546 Message-ID: <1369714424.25575.YahooMailNeo@web163001.mail.bf1.yahoo.com> Date: Mon, 27 May 2013 21:13:44 -0700 (PDT) From: J Ronald Subject: slice and partition in FreeBSD 9.1 To: "freebsd-questions@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: J Ronald List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 04:16:52 -0000 During the installation of FreeBSD 9.1 using bsdintall, it seems the concept has been changed. In the "Partition Editor", using GPT, no slice concept, no partition that using a/b/c/d. Is the partition mechanism simplified here? From owner-freebsd-questions@FreeBSD.ORG Tue May 28 04:18:02 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1C9B6905 for ; Tue, 28 May 2013 04:18:02 +0000 (UTC) (envelope-from vadims@libre.lv) Received: from mail.skynet.lv (mail.skynet.lv [195.244.128.84]) by mx1.freebsd.org (Postfix) with ESMTP id D7D6A677 for ; Tue, 28 May 2013 04:18:00 +0000 (UTC) Received: from mail.skynet.lv (localhost [127.0.0.1]) by mail.skynet.lv (Postfix) with ESMTP id 97E621917F for ; Tue, 28 May 2013 07:09:13 +0300 (EEST) Received: from vbsd (unknown [87.110.30.129]) by mail.skynet.lv (Postfix) with ESMTPSA id 77CAF1917E for ; Tue, 28 May 2013 07:09:13 +0300 (EEST) Date: Tue, 28 May 2013 07:08:12 +0300 (EEST) From: vadims@libre.lv To: freebsd-questions@freebsd.org Subject: cannot use ftp utility throught proxy Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 04:18:02 -0000 Hello! Can someone help me, please? Have no luck seting up ftp utility for using proxy. Already have set environment variables: FTP_PROXY=http://proxyserver:8080 HTTP_PROXY=http://proxyserver:8080 When try to connect: root# root@zerver:/root # ftp -a ftp2.FreeBSD.org root# ftp: Can't connect to `128.205.32.24:21': Operation timed out root# ftp: Can't connect to `ftp2.FreeBSD.org:ftp' Used tcpdump to check where it connects: root# tcpdump -n -ttt -i em0 port ftp & I can see, that ftp is trying to connect directly to 128.205.32.24.21. Tried to use this env variable, but without acceptable results: FETCH_CMD=/usr/bin/fetch -ARrvp -T 10 uname -a 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 Excuses my language, not native English. Have a lucky day! VS. From owner-freebsd-questions@FreeBSD.ORG Tue May 28 04:31:19 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 809D8C46 for ; Tue, 28 May 2013 04:31:19 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 4BD4774C for ; Tue, 28 May 2013 04:31:19 +0000 (UTC) Received: from r56.edvax.de (port-92-195-231-35.dynamic.qsc.de [92.195.231.35]) by mx02.qsc.de (Postfix) with ESMTP id CB9062521D; Tue, 28 May 2013 06:31:08 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r4S4VIs8003019; Tue, 28 May 2013 06:31:18 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 28 May 2013 06:31:18 +0200 From: Polytropon To: J Ronald Subject: Re: slice and partition in FreeBSD 9.1 Message-Id: <20130528063118.d1d58c3a.freebsd@edvax.de> In-Reply-To: <1369714424.25575.YahooMailNeo@web163001.mail.bf1.yahoo.com> References: <1369714424.25575.YahooMailNeo@web163001.mail.bf1.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 04:31:19 -0000 On Mon, 27 May 2013 21:13:44 -0700 (PDT), J Ronald wrote: > During the installation of FreeBSD 9.1 using bsdintall, it seems the concept has been changed. > In the "Partition Editor", using GPT, no slice concept, no partition that using a/b/c/d. That is correct. Instead of the MBR-style partition names (like da0s1a or da0a), GPT-style partition names (like da0p1) are being used. As known, they carry a UFS file system. > Is the partition mechanism simplified here? No. It's a _different_ mechanism. MBR: The old system: fdisk, bsdlabel, newfs -> slices & partitions (slices optional: dedicated) GPT: The new system: gpart, newfs -> partitions ("different kind of" compared to MBR, of course) See this comparison: http://www.wonkity.com/~wblock/docs/html/disksetup.html http://www.freebsd.org/doc/en/books/handbook/geom-glabel.html http://www.freebsd.org/doc/handbook/disks-adding.html Still you have the choice to use MBR partitioning if this is a requirement (maybe due to hardware that has problems booting GPT partitioned media? who knows). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue May 28 04:36:21 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 856B8D1A for ; Tue, 28 May 2013 04:36:21 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 5039577D for ; Tue, 28 May 2013 04:36:20 +0000 (UTC) Received: from r56.edvax.de (port-92-195-231-35.dynamic.qsc.de [92.195.231.35]) by mx02.qsc.de (Postfix) with ESMTP id 333C725268; Tue, 28 May 2013 06:36:17 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r4S4aQPX003050; Tue, 28 May 2013 06:36:26 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 28 May 2013 06:36:26 +0200 From: Polytropon To: vadims@libre.lv Subject: Re: cannot use ftp utility throught proxy Message-Id: <20130528063626.3ca6e4cf.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 04:36:21 -0000 On Tue, 28 May 2013 07:08:12 +0300 (EEST), vadims@libre.lv wrote: > Hello! > Can someone help me, please? > > Have no luck seting up ftp utility for using proxy. > Already have set environment variables: > FTP_PROXY=http://proxyserver:8080 > HTTP_PROXY=http://proxyserver:8080 > > When try to connect: > root# root@zerver:/root # ftp -a ftp2.FreeBSD.org > root# ftp: Can't connect to `128.205.32.24:21': Operation timed out > root# ftp: Can't connect to `ftp2.FreeBSD.org:ftp' > > Used tcpdump to check where it connects: > root# tcpdump -n -ttt -i em0 port ftp > > & I can see, that ftp is trying to connect directly to 128.205.32.24.21. I think I can see the problem. Please check "man ftp" for the correct name of the environment variables. Unlike typical for many other programs, those for ftp are written in lower case: ftp_proxy URL of FTP proxy to use when making FTP URL requests (if not defined, use the standard FTP protocol). See http_proxy for further notes about proxy use. http_proxy URL of HTTP proxy to use when making HTTP URL requests. If proxy authentication is required and there is a user- name and password in this URL, they will automatically be used in the first attempt to authenticate to the proxy. If ``unsafe'' URL characters are required in the username or password (for example `@' or `/'), encode them with RFC 1738 `%XX' encoding. Note that the use of a username and password in ftp_proxy and http_proxy may be incompatible with other programs that use it (such as lynx(1)). NOTE: this is not used for interactive sessions, only for command-line fetches. You can also interactively set those (again, see "man ftp" for more details). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue May 28 04:40:34 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id BF936EBD for ; Tue, 28 May 2013 04:40:34 +0000 (UTC) (envelope-from me@staticsafe.ca) Received: from uriel.asininetech.com (uriel.asininetech.com [IPv6:2607:5300:60:e3a::1]) by mx1.freebsd.org (Postfix) with ESMTP id 700897A7 for ; Tue, 28 May 2013 04:40:34 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by uriel.asininetech.com (Postfix) with ESMTP id 75385E09E5; Tue, 28 May 2013 00:40:26 -0400 (EDT) X-DKIM: OpenDKIM Filter v2.6.8 uriel.asininetech.com 75385E09E5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=staticsafe.ca; s=2012; t=1369716026; bh=iFLqSLOHVVLVMeg87n3wakiiLZh2HADwfqjw58bEyWQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=wYdEOBXeOQWnhIVINqf9626O4naKfqDvYqJD4sced/m7q9h6/0K8sGA+ui82Ki1zX y0gPnZZJUN1tDcZnaGRZ3iA0T1CLUHaX0bXeWvmLbeLhDblCwqH2zQxy2I8f3jEb4f pi8scIHDqc66/Zv+PDuk/zKBYjkHalptbSpsUoRw= Received: from uriel.asininetech.com ([127.0.0.1]) by localhost (uriel.asininetech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GVir_7zaqkCw; Tue, 28 May 2013 00:40:25 -0400 (EDT) Received: from uriel.asininetech.com (uriel.asininetech.com [IPv6:2607:5300:60:e3a::1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by uriel.asininetech.com (Postfix) with ESMTPSA id BFB07E0620; Tue, 28 May 2013 00:40:25 -0400 (EDT) X-DKIM: OpenDKIM Filter v2.6.8 uriel.asininetech.com BFB07E0620 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=staticsafe.ca; s=2012; t=1369716025; bh=iFLqSLOHVVLVMeg87n3wakiiLZh2HADwfqjw58bEyWQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=Najh0vgpUBpNzitM0RS+MHA/LdwBzSEc9zes/G6PxtrbGXDm3PMzXLUnFySRnDjUm XpXxMaUvwjFAJ8QXTH9sRqueBiz3P87iVEEWFen1XdXzQzxz041GTD5yTj/C5iIkl5 hC/OHbiefVUKyaj/jwTTg+pa/44XMlLmDusmQnvQ= Date: Tue, 28 May 2013 00:40:23 -0400 From: staticsafe To: freebsd-questions@freebsd.org Subject: Re: cannot use ftp utility throught proxy Message-ID: <20130528044022.GA22271@uriel.asininetech.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: vadims@libre.lv X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 04:40:34 -0000 On Tue, May 28, 2013 at 07:08:12AM +0300, vadims@libre.lv wrote: > Hello! > Can someone help me, please? > > Have no luck seting up ftp utility for using proxy. > Already have set environment variables: > FTP_PROXY=http://proxyserver:8080 > HTTP_PROXY=http://proxyserver:8080 > > When try to connect: > root# root@zerver:/root # ftp -a ftp2.FreeBSD.org > root# ftp: Can't connect to `128.205.32.24:21': Operation timed out > root# ftp: Can't connect to `ftp2.FreeBSD.org:ftp' > > Used tcpdump to check where it connects: > root# tcpdump -n -ttt -i em0 port ftp > > & I can see, that ftp is trying to connect directly to 128.205.32.24.21. > > Tried to use this env variable, but without acceptable results: > FETCH_CMD=/usr/bin/fetch -ARrvp -T 10 > > uname -a > 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC > 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC > amd64 > > Excuses my language, not native English. > > Have a lucky day! > VS. According to the ftp manpage, the variables for proxying are: ftp_proxy URL of FTP proxy to use when making FTP URL requests (if not defined, use the standard FTP protocol). See http_proxy for further notes about proxy use. http_proxy URL of HTTP proxy to use when making HTTP URL requests. If proxy authentication is required and there is a user- name and password in this URL, they will automatically be used in the first attempt to authenticate to the proxy. If ``unsafe'' URL characters are required in the username or password (for example `@' or `/'), encode them with RFC3986 `%XX' encoding. Note that the use of a username and password in ftp_proxy and http_proxy may be incompatible with other programs that use it (such as lynx(1)). NOTE: this is not used for interactive sessions, only for command-line fetches. Notice the capitalization, "ftp_proxy" as opposed to "FTP_PROXY". Not sure why environment variables are not all caps, seems inconsistent. -- staticsafe O< ascii ribbon campaign - stop html mail - www.asciiribbon.org Please don't top post - http://goo.gl/YrmAb Don't CC me! I'm subscribed to whatever list I just posted on. From owner-freebsd-questions@FreeBSD.ORG Tue May 28 05:07:40 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6A7EB772 for ; Tue, 28 May 2013 05:07:40 +0000 (UTC) (envelope-from vadims@libre.lv) Received: from mail.skynet.lv (mail.skynet.lv [195.244.128.84]) by mx1.freebsd.org (Postfix) with ESMTP id 2F2CF85E for ; Tue, 28 May 2013 05:07:39 +0000 (UTC) Received: from mail.skynet.lv (localhost [127.0.0.1]) by mail.skynet.lv (Postfix) with ESMTP id 3EEBC19B88; Tue, 28 May 2013 08:08:28 +0300 (EEST) Received: from vbsd (unknown [87.110.30.129]) by mail.skynet.lv (Postfix) with ESMTPSA id ED26619B86; Tue, 28 May 2013 08:08:27 +0300 (EEST) Date: Tue, 28 May 2013 08:07:35 +0300 (EEST) From: vadims@libre.lv To: Polytropon Subject: Re: cannot use ftp utility throught proxy In-Reply-To: <20130528063626.3ca6e4cf.freebsd@edvax.de> Message-ID: References: <20130528063626.3ca6e4cf.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 05:07:40 -0000 Tried "ftp_proxy=http://proxyserver:8080" - no connection to proxy server. root@:/root # env TERM=screen FTP_PROXY=http://proxyserver:8080 HTTP_PROXY=http://proxyserver:8080 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/csh HOME=/root USER=root HOSTTYPE=FreeBSD VENDOR=amd OSTYPE=FreeBSD MACHTYPE=x86_64 SHLVL=1 PWD=/root LOGNAME=root GROUP=wheel HOST=myserver EDITOR=vi PAGER=more BLOCKSIZE=K FETCH_CMD=/usr/bin/fetch -ARrvp -T 10 ftp_proxy=http://proxyserver:8080 Thank You! VS. On Tue, 28 May 2013, Polytropon wrote: > On Tue, 28 May 2013 07:08:12 +0300 (EEST), vadims@libre.lv wrote: >> Hello! >> Can someone help me, please? >> >> Have no luck seting up ftp utility for using proxy. >> Already have set environment variables: >> FTP_PROXY=http://proxyserver:8080 >> HTTP_PROXY=http://proxyserver:8080 >> >> When try to connect: >> root# root@zerver:/root # ftp -a ftp2.FreeBSD.org >> root# ftp: Can't connect to `128.205.32.24:21': Operation timed out >> root# ftp: Can't connect to `ftp2.FreeBSD.org:ftp' >> >> Used tcpdump to check where it connects: >> root# tcpdump -n -ttt -i em0 port ftp >> >> & I can see, that ftp is trying to connect directly to 128.205.32.24.21. > > I think I can see the problem. Please check "man ftp" for the > correct name of the environment variables. Unlike typical for > many other programs, those for ftp are written in lower case: > > ftp_proxy URL of FTP proxy to use when making FTP URL requests (if > not defined, use the standard FTP protocol). > > See http_proxy for further notes about proxy use. > > http_proxy URL of HTTP proxy to use when making HTTP URL requests. > If proxy authentication is required and there is a user- > name and password in this URL, they will automatically be > used in the first attempt to authenticate to the proxy. > > If ``unsafe'' URL characters are required in the username > or password (for example `@' or `/'), encode them with RFC > 1738 `%XX' encoding. > > Note that the use of a username and password in ftp_proxy > and http_proxy may be incompatible with other programs > that use it (such as lynx(1)). > > NOTE: this is not used for interactive sessions, only for > command-line fetches. > > You can also interactively set those (again, see "man ftp" for > more details). > > > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > From owner-freebsd-questions@FreeBSD.ORG Tue May 28 05:36:48 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CAFEF3C4 for ; Tue, 28 May 2013 05:36:48 +0000 (UTC) (envelope-from saeedeh.motlagh@gmail.com) Received: from mail-lb0-f174.google.com (mail-lb0-f174.google.com [209.85.217.174]) by mx1.freebsd.org (Postfix) with ESMTP id 5888E955 for ; Tue, 28 May 2013 05:36:47 +0000 (UTC) Received: by mail-lb0-f174.google.com with SMTP id u10so7344312lbi.19 for ; Mon, 27 May 2013 22:36:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=78pvuKITdMhPUb5sFI6dIe6oELdga0ewuLrb54POb4g=; b=ARem7LWVzFFgJfmSQWjDQOUHL4hMNeov0ll0jGAzS+XLQh/g4NYLN4CB2AevVKfXKq /kUqnVF/xsPNblAdJZJolJTiWyCoqUeJ8G1m5nZoIs8NB7xhUJMW9x3CaZND+dZj8tPi qsFEzS8Ab8NKJrTR1HpOyECfAkGrIlRD1P2UdTE5AJteUwDakcGKUeejII46JvrF77V2 +4JnufnauMNfUoXQWgFZm87MEVVTVzvE4OT5LlesIXxYmhGd8ItgvafAJHSfzhY2ORUm gPttm23ykHCraK9MMHzxsaUECaPxVxeCiZSDwlD9MZbr4aBd9MT3bsGbU4tieJDWrH9O 8I6g== X-Received: by 10.112.19.9 with SMTP id a9mr15480731lbe.80.1369718982914; Mon, 27 May 2013 22:29:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.149.33 with HTTP; Mon, 27 May 2013 22:29:02 -0700 (PDT) From: saeedeh motlagh Date: Tue, 28 May 2013 09:59:02 +0430 Message-ID: Subject: when root partition is mounted in boot time? To: freebsd-questions Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 05:36:48 -0000 hello all, i have a question about root partition. i want to know when this partition is mounted in bootstrap process? is root mounted before kernel loading? more over, i heard that root partition is mounted read-only in boot process before loading kernel. after that kernel is loaded and all other things are done (such as mounting other devices, running rc scripts, ...), then the root in unmounted and remount read-write. is it true? if not, what exactly happened for root partition in boot time and when is mounted? t =E2=80=8Bhanks in advance *s.motlagh* ** From owner-freebsd-questions@FreeBSD.ORG Tue May 28 07:18:00 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 32C19FB3; Tue, 28 May 2013 07:18:00 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id ECE51EA2; Tue, 28 May 2013 07:17:59 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.80.1) with esmtp (envelope-from ) id <1UhEAO-000i8t-8H>; Tue, 28 May 2013 09:17:56 +0200 Received: from f052242046.adsl.alicedsl.de ([78.52.242.46] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.80.1) with esmtpsa (envelope-from ) id <1UhEAO-003T9C-5c>; Tue, 28 May 2013 09:17:56 +0200 Date: Tue, 28 May 2013 09:17:55 +0200 From: "O. Hartmann" To: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Subject: mail/claws-mail: INBOX shows still moved or deleted mails, filtering not working properly Message-ID: <20130528091755.61f5a0d8@thor.walstatt.dyndns.org> Organization: FU Berlin X-Mailer: Claws Mail 3.9.1 (GTK+ 2.24.18; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Originating-IP: 78.52.242.46 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 07:18:00 -0000 After a struggle with OpenLDAP and Thunderbird (core dumps all over the place when using Thunderbird with OpenLDAP backed users), I moved to Evolution, which is unsatisfying, since calendar function immediately makes Evolution crahs on all tested FreeBSD platforms (9.1-STABLE, 10.0-CURRENT). I tried mail/claws-mail for now and I'm surprised how "cryptic" and fast an email client can be, but I also have serious struggles with this email client. When fetch and filtering Emails from the account of our computer center's IMPA4 mail servers, the moved and even deleted emails remain visible (but greyished) in the INBOX or any other folder and marked deleted. Filtered and filter induced moves of mails also are greyed, still visible in the main INBOX of the email account but marked with the flag for new mail in INBOX. I can not delete them from INBOX. This behaviour is odd. I searched Grand Master Google for that and found relatively old bug reports about such behaviour, but that should be solved. I exclude misconfigurations, since I already configured those "immediate actions" as recommended. Nor Evolution nor thunderbird show that weird behaviour and they operate as expected on all mail actions. Maybe someone could give me a hint what to check. Personally, I consider this behaviour a bug and renders another email client unusable on FreeBSD, but I might be terribly wrong here and still suffer from a configuration inconvenience. Please CC me, I'm no subscriber of both lists. Thanks in advance, Oliver Hartmann From owner-freebsd-questions@FreeBSD.ORG Tue May 28 07:40:54 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 637FB36A; Tue, 28 May 2013 07:40:54 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from smtp-int-m.obspm.fr (smtp-int-m.obspm.fr [145.238.187.15]) by mx1.freebsd.org (Postfix) with ESMTP id F2565F7A; Tue, 28 May 2013 07:40:53 +0000 (UTC) Received: from pcjas.obspm.fr (pcjas.obspm.fr [145.238.184.233]) by smtp-int-m.obspm.fr (8.14.3/8.14.3/SIO Observatoire de Paris - 07/2009) with ESMTP id r4S7edOC009440 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 28 May 2013 09:40:40 +0200 Date: Tue, 28 May 2013 09:40:39 +0200 From: Albert Shih To: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Subject: using ports or gems (easy_install) Message-ID: <20130528074039.GA47407@pcjas.obspm.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.21 (2010-09-15) X-Miltered: at smtp-int-m.obspm.fr with ID 51A45F77.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 51A45F77.000/145.238.184.233/pcjas.obspm.fr/pcjas.obspm.fr/ X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 07:40:54 -0000 Hi everybody, I would like to known how you manage your gem (ruby) or easyinstall (python). Do you use ports ? or directly gems or easyinstall ? or both ? For exemple when you want install some software with lots of dependances you can use (if the software use easy_install) just one easy_install and everything is installed, you can use ports for some packages but sometime not every packages are in the ports so you should need to installed it through easy_install. After that same question about updating.... So what you do ? And why ? Regards. JAS -- Albert SHIH DIO bâtiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex France Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71 xmpp: jas@obspm.fr Heure local/Local time: mar 28 mai 2013 09:36:34 CEST From owner-freebsd-questions@FreeBSD.ORG Tue May 28 07:50:37 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D666F5FC; Tue, 28 May 2013 07:50:37 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 7FE0490; Tue, 28 May 2013 07:50:37 +0000 (UTC) Received: from mail.cs.ait.ac.th (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id 9E68FFEBBA; Tue, 28 May 2013 14:50:26 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= references:subject:subject:in-reply-to:from:from:message-id:date :date:received:received:received; s=selector1; t=1369727426; x= 1371541827; bh=PY9KVCe9mwvTlzKAKS5jI4f2XTf/RkwUYxNAnc4HJtU=; b=V ExuVnFzWJL8tWHUtQ/JBnPZGxcDEkiosJ9wasz6YKav375fn806FDyZ2iB5QVBHf fBHCPsycTkkCbPH2sA/losF7ohf7eaKC4nybxyCgjbm1w3HtJs+NXCFiyeF11OIS Ex/+JU/KrAdWIu21qHZLKoVpj9Nd+r3t7Hf875FFyg= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by mail.cs.ait.ac.th (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id OOdL5Mts_IhF; Tue, 28 May 2013 14:50:26 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id 406C2FEBB9; Tue, 28 May 2013 14:50:26 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.6/8.14.6/Submit) id r4S7oPCX044852; Tue, 28 May 2013 14:50:25 +0700 (ICT) (envelope-from on) Date: Tue, 28 May 2013 14:50:25 +0700 (ICT) Message-Id: <201305280750.r4S7oPCX044852@banyan.cs.ait.ac.th> From: Olivier Nicole To: Albert.Shih@obspm.fr In-reply-to: <20130528074039.GA47407@pcjas.obspm.fr> (message from Albert Shih on Tue, 28 May 2013 09:40:39 +0200) Subject: Re: using ports or gems (easy_install) References: <20130528074039.GA47407@pcjas.obspm.fr> Cc: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 07:50:37 -0000 Hi, > I would like to known how you manage your gem (ruby) or easyinstall > (python). Do you use ports ? or directly gems or easyinstall ? or both ? As far as I can, I use ports, for consistency. But I am using mostly Perl and CPAN is very well integrated in FreeBSD ports. Voila. Olivier From owner-freebsd-questions@FreeBSD.ORG Tue May 28 08:26:08 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5DA17D83 for ; Tue, 28 May 2013 08:26:08 +0000 (UTC) (envelope-from andreev.peter@gmail.com) Received: from mail-we0-x232.google.com (mail-we0-x232.google.com [IPv6:2a00:1450:400c:c03::232]) by mx1.freebsd.org (Postfix) with ESMTP id F1214239 for ; Tue, 28 May 2013 08:26:07 +0000 (UTC) Received: by mail-we0-f178.google.com with SMTP id q56so4905690wes.23 for ; Tue, 28 May 2013 01:26:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=IRVIU6JiKO2Ri1CYmNLZB9eMWP0i1g/HbZDK1hApUa0=; b=nDOJG3+leTtEP9mJrgy/BWUbBMNg/fUJOT2W1TeqgoK0s2qvP+hdm9kiKUhSYkjLd7 JARuI04D0JDHcR0EajhmQIUGQLeJx/UmUZsVXLLH0+IinlTRoRtxJsxwlIiAEZTd74ak Ip83RUeqkstOG9wp/ihHwlvDNPrce2dQoD/m1OBnggOganGji09iXJPkj9tdDhRTXRUW YuyYVYpATn0DBTGoIEiMnqF0O1ULkdNdWoLtR+XEHiOnRf3gizLATZQB4vhi9EUoKCwV znUN9lSs102hp9+eAs1QcsT9bxlFy+8mINbKnPHSfihPm14u+GbjrCBsLZjFYdWo9LEn 2+qQ== MIME-Version: 1.0 X-Received: by 10.180.183.139 with SMTP id em11mr10996510wic.16.1369729566223; Tue, 28 May 2013 01:26:06 -0700 (PDT) Received: by 10.227.108.200 with HTTP; Tue, 28 May 2013 01:26:06 -0700 (PDT) Date: Tue, 28 May 2013 12:26:06 +0400 Message-ID: Subject: Any arp table size limitations? From: Peter Andreev To: freebsd Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 08:26:08 -0000 Hello, We are connecting to an IXP, they have tested our FreeBSD 9.1 server and said we can store only about 600 MACs simultaneously. So I'd like to ask if there is any arp table size limitations and if so, how we can increase the limit? -- AP From owner-freebsd-questions@FreeBSD.ORG Tue May 28 08:27:44 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A155FE4C for ; Tue, 28 May 2013 08:27:44 +0000 (UTC) (envelope-from sam.gh1986@gmail.com) Received: from mail-lb0-f180.google.com (mail-lb0-f180.google.com [209.85.217.180]) by mx1.freebsd.org (Postfix) with ESMTP id 321CD260 for ; Tue, 28 May 2013 08:27:43 +0000 (UTC) Received: by mail-lb0-f180.google.com with SMTP id r10so7412318lbi.39 for ; Tue, 28 May 2013 01:27:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Rr0Z/TjuthKEmx0u5oyfvCiIT8pUkeMFyfZwcA/QcdE=; b=Tu/OtYJ8cEEs/s2Zek11Zylg/gp3GbwTqPU72G5b5YTzRGQxev+QUcJEk1banuItMY lmG+jCsM7RY72D+5Kwtx6fOHSmJ07Kdgrhmqeyc2TNges83ZUTzaY5dLVzrKeLsqBWzh /GA2PP84iDuiSGYCqanXp7FYy03sy1C74aXArXiyg9L6DUOtrpmqyN4WBAV2u0BFH68e 0gOlPzX8M5qdwsh5g5uJ63Ueh8Al9AJdfll+xYi2UnAXYcDbkofKkHR+bNvdvo6DSh3z ryDnvwjTjuomdW5Jur2XtxL4C6sGids/FxJgEeKhppPj5NDTem7QFLAM4STyIaKh0+Ea sqUw== MIME-Version: 1.0 X-Received: by 10.112.166.101 with SMTP id zf5mr15720137lbb.59.1369729661692; Tue, 28 May 2013 01:27:41 -0700 (PDT) Received: by 10.112.218.8 with HTTP; Tue, 28 May 2013 01:27:41 -0700 (PDT) Date: Tue, 28 May 2013 12:57:41 +0430 Message-ID: Subject: freebsd8.2 with /etc mount point can't run correctly From: s m To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 08:27:44 -0000 hello all, i want to install freebsd8.2 with different partitions. i want to have a separated partition for /etc. therefore this is my partitions: / , /var, /etc. /tmp, /usr, swap. but after installing, freebsd can not run correctly and have problem with fstab. i checked my fstab file (fstab file in /etc partition) and every thing is ok. i think i should do something in order to use fstab file in different mount point. is it true? what should i do to have a freebsd with a separate /etc mount point? any comments are appreciated. SAM From owner-freebsd-questions@FreeBSD.ORG Tue May 28 08:46:41 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E45546D8 for ; Tue, 28 May 2013 08:46:41 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) by mx1.freebsd.org (Postfix) with ESMTP id 5A6C939C for ; Tue, 28 May 2013 08:46:41 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.7/8.14.7) with ESMTP id r4S8kYeZ034963 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 28 May 2013 10:46:34 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.7/8.14.7/Submit) with ESMTP id r4S8kYMM034960; Tue, 28 May 2013 10:46:34 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Tue, 28 May 2013 10:46:33 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: s m Subject: Re: freebsd8.2 with /etc mount point can't run correctly In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="2055831798-847570967-1369730794=:72982" X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.fig.ol.no Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 08:46:42 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --2055831798-847570967-1369730794=:72982 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT On Tue, 28 May 2013 12:57+0430, s m wrote: > hello all, > > i want to install freebsd8.2 with different partitions. i want to have > a separated partition for /etc. therefore this is my partitions: / , > /var, /etc. /tmp, /usr, swap. > > but after installing, freebsd can not run correctly and have problem > with fstab. i checked my fstab file (fstab file in /etc partition) and > every thing is ok. i think i should do something in order to use fstab > file in different mount point. is it true? what should i do to have a > freebsd with a separate /etc mount point? > > any comments are appreciated. > SAM If you really want to keep /etc as a separate filesystem, then I would try something like this: 1. Create the file /etc-mount and give it the following contents: #!/bin/sh /sbin/mount /dev/ada0pX /etc exec /etc/rc $* 2. Make sure to substitute the right device file for the mount command. 2. Make /etc-mount executable: chmod a+x /etc-mount 3. On the root filesystem, let /etc/rc be a symlink to /etc-mount. This is just off the top of my head. It may work, or it may not work. HTH. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ --2055831798-847570967-1369730794=:72982-- From owner-freebsd-questions@FreeBSD.ORG Tue May 28 09:00:05 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9E00EA15 for ; Tue, 28 May 2013 09:00:05 +0000 (UTC) (envelope-from saeedeh.motlagh@gmail.com) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com [209.85.217.181]) by mx1.freebsd.org (Postfix) with ESMTP id 288C761B for ; Tue, 28 May 2013 09:00:04 +0000 (UTC) Received: by mail-lb0-f181.google.com with SMTP id w20so7435311lbh.40 for ; Tue, 28 May 2013 01:59:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=6qroqb4YlpFn+xh5e2ar2mzPZJYcQdWSClDDOJUIyA8=; b=NfFqyR6wH0lS8g/fWvA8MDg3QU2DBCtQmnA2p69RdTU2B2mIGwzpEgqQ0WEwq8MuvX Hc8vHHuWwuN0xu4zILDJqA1kievl1p+KLUPWjK3Nwp90I1UvMx3kPikvlEFjwd23SOGQ z8w7qbWF26xyiRu2TTXtNzSzFxkl0gAc7G1Ub2gUHlzUdoWmn2sd4NfDd81LuLctjIX1 6VHJfkLSAmugxbAnutuGsfClSEd7ETWpxjiYjPr1013svIOgAdtPWUg8pC8Etwn/eujG ZSt4mBKZC8V8FytJc8d5yEAA+7oJpCur+u9PQvW6DgjxPevELqENIpxWNadNVHje+ykP AezA== X-Received: by 10.152.21.40 with SMTP id s8mr13384792lae.6.1369731598459; Tue, 28 May 2013 01:59:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.149.33 with HTTP; Tue, 28 May 2013 01:59:18 -0700 (PDT) In-Reply-To: References: From: saeedeh motlagh Date: Tue, 28 May 2013 13:29:18 +0430 Message-ID: Subject: Re: freebsd8.2 with /etc mount point can't run correctly To: =?UTF-8?Q?Trond_Endrest=C3=B8l?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: s m , freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 09:00:05 -0000 thanks Trond but i think it can not help me. you know i want to separate my /etc completely from root. for some reasons, i want to unmount /etc while root is mounted. by your procedure, i think /etc is dependent to root yet. isn't it? On Tue, May 28, 2013 at 1:16 PM, Trond Endrest=C3=B8l < Trond.Endrestol@fagskolen.gjovik.no> wrote: > On Tue, 28 May 2013 12:57+0430, s m wrote: > > > hello all, > > > > i want to install freebsd8.2 with different partitions. i want to have > > a separated partition for /etc. therefore this is my partitions: / , > > /var, /etc. /tmp, /usr, swap. > > > > but after installing, freebsd can not run correctly and have problem > > with fstab. i checked my fstab file (fstab file in /etc partition) and > > every thing is ok. i think i should do something in order to use fstab > > file in different mount point. is it true? what should i do to have a > > freebsd with a separate /etc mount point? > > > > any comments are appreciated. > > SAM > > If you really want to keep /etc as a separate filesystem, then I would > try something like this: > > 1. Create the file /etc-mount and give it the following contents: > > #!/bin/sh > /sbin/mount /dev/ada0pX /etc > exec /etc/rc $* > > 2. Make sure to substitute the right device file for the mount > command. > > 2. Make /etc-mount executable: chmod a+x /etc-mount > > 3. On the root filesystem, let /etc/rc be a symlink to /etc-mount. > > This is just off the top of my head. It may work, or it may not work. > > HTH. > > -- > +-------------------------------+------------------------------------+ > | Vennlig hilsen, | Best regards, | > | Trond Endrest=C3=B8l, | Trond Endrest=C3=B8l, = | > | IT-ansvarlig, | System administrator, | > | Fagskolen Innlandet, | Gj=C3=B8vik Technical College, Norway, = | > | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | > | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | > +-------------------------------+------------------------------------+ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > --=20 *Sa.M* From owner-freebsd-questions@FreeBSD.ORG Tue May 28 10:25:46 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0BDFDF0C for ; Tue, 28 May 2013 10:25:46 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) by mx1.freebsd.org (Postfix) with ESMTP id 8D355986 for ; Tue, 28 May 2013 10:25:45 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.7/8.14.7) with ESMTP id r4SAPcoU035630 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 28 May 2013 12:25:38 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.7/8.14.7/Submit) with ESMTP id r4SAPcQd035627; Tue, 28 May 2013 12:25:38 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Tue, 28 May 2013 12:25:38 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: saeedeh motlagh Subject: Re: freebsd8.2 with /etc mount point can't run correctly In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="2055831798-285741212-1369736738=:72982" X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.fig.ol.no Cc: s m , freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 10:25:46 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --2055831798-285741212-1369736738=:72982 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT On Tue, 28 May 2013 13:29+0430, saeedeh motlagh wrote: > On Tue, May 28, 2013 at 1:16 PM, Trond Endrestøl < > Trond.Endrestol@fagskolen.gjovik.no> wrote: > > > On Tue, 28 May 2013 12:57+0430, s m wrote: > > > > > hello all, > > > > > > i want to install freebsd8.2 with different partitions. i want to have > > > a separated partition for /etc. therefore this is my partitions: / , > > > /var, /etc. /tmp, /usr, swap. > > > > > > but after installing, freebsd can not run correctly and have problem > > > with fstab. i checked my fstab file (fstab file in /etc partition) and > > > every thing is ok. i think i should do something in order to use fstab > > > file in different mount point. is it true? what should i do to have a > > > freebsd with a separate /etc mount point? > > > > > > any comments are appreciated. > > > SAM > > > > If you really want to keep /etc as a separate filesystem, then I would > > try something like this: > > > > 1. Create the file /etc-mount and give it the following contents: > > > > #!/bin/sh > > /sbin/mount /dev/ada0pX /etc > > exec /etc/rc $* > > > > 2. Make sure to substitute the right device file for the mount > > command. > > > > 2. Make /etc-mount executable: chmod a+x /etc-mount > > > > 3. On the root filesystem, let /etc/rc be a symlink to /etc-mount. > > > > This is just off the top of my head. It may work, or it may not work. > > > > HTH. > thanks Trond but i think it can not help me. > > you know i want to separate my /etc completely from root. for some reasons, > i want to unmount /etc while root is mounted. > > by your procedure, i think /etc is dependent to root yet. isn't it? When the system boots, init(8) fires up a shell to execute the commands contained in (the real) /etc/rc. At boot only the root file system is mounted, thus you need a mechanism to mount /etc ahead of normal startup and pass whatever arguments the fake /etc/rc was invoked with on to the real /etc/rc. As long as no processes holds open any files within /etc and you don't need any of the files, /etc/{,s}pwd.db og /etc/group comes to mind, you should be able to unmount /etc at your own pace. I guess you should be in single user mode while doing this. Why do you need this strange detachment anyway? Backups? Snapshots? -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ --2055831798-285741212-1369736738=:72982-- From owner-freebsd-questions@FreeBSD.ORG Tue May 28 10:26:48 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9535BFD6; Tue, 28 May 2013 10:26:48 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-bk0-x22e.google.com (mail-bk0-x22e.google.com [IPv6:2a00:1450:4008:c01::22e]) by mx1.freebsd.org (Postfix) with ESMTP id EF5419B0; Tue, 28 May 2013 10:26:47 +0000 (UTC) Received: by mail-bk0-f46.google.com with SMTP id my13so4111528bkb.5 for ; Tue, 28 May 2013 03:26:46 -0700 (PDT) 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:x-mailer :mime-version:content-type:content-transfer-encoding; bh=scJbhc60EptzsOs64YDrPwavWD4nOWODsBPz7EydE8o=; b=DhQB9UaVYGos4/sUBo1N1qXPE1ak3GG3wEohnXG9AViQa4A9iy/YyOd7MeehaFdfPC kzh6Fgtm+n3Ey4ubpwGoRtZEEYXW1CSX6JvOyvVuTUiBXujs8LdN6vKAWt62dmChkpro yHem3TiKr7u3EgK+YmIGFCXQg22gk3YCCMupBlCA93yphYfL44dos865K3rTC9+cllXD puWRK0uCZFmwZLUXqgAALEnPLT/9wmCsifJBux4i+xl2kCIDQ8/Arhgln68RpCSU6jEj VXcNSGCDn6+ROGyCoF22+5bsz7MNqhWStFMk8du11SIkicIE8ZxTHyp/7fmnaHNCDn/T hG2w== X-Received: by 10.204.227.201 with SMTP id jb9mr13106979bkb.96.1369736805981; Tue, 28 May 2013 03:26:45 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPSA id i15sm9782655bkz.12.2013.05.28.03.26.44 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Tue, 28 May 2013 03:26:45 -0700 (PDT) Date: Tue, 28 May 2013 11:26:43 +0100 From: RW To: "O. Hartmann" Subject: Re: mail/claws-mail: INBOX shows still moved or deleted mails, filtering not working properly Message-ID: <20130528112643.5122e50c@gumby.homeunix.com> In-Reply-To: <20130528091755.61f5a0d8@thor.walstatt.dyndns.org> References: <20130528091755.61f5a0d8@thor.walstatt.dyndns.org> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.17; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 10:26:48 -0000 On Tue, 28 May 2013 09:17:55 +0200 O. Hartmann wrote: > I tried mail/claws-mail for now and I'm surprised how "cryptic" and > fast an email client can be, but I also have serious struggles with > this email client. > > When fetch and filtering Emails from the account of our computer > center's IMPA4 mail servers, the moved and even deleted emails remain > visible (but greyished) in the INBOX or any other folder and marked > deleted. > >... > Nor Evolution nor thunderbird show that weird behaviour and they > operate as expected on all mail actions. This is how a traditional IMAP client works, you mark as deleted and manually expunge - and move is done through copy,delete and expunge. In the advanced section of the per account preferences there is a setting that starts "Move deleted mails to trash ...", check that you haven't unset that. BTW please don't cross post without a very good reason. From owner-freebsd-questions@FreeBSD.ORG Tue May 28 10:59:00 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 242C1972 for ; Tue, 28 May 2013 10:59:00 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id B6D01DBC for ; Tue, 28 May 2013 10:58:59 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.5/8.14.5) with ESMTP id r4SAwpPs089622; Tue, 28 May 2013 11:58:52 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Message-ID: <51A48DEB.1040003@qeng-ho.org> Date: Tue, 28 May 2013 11:58:51 +0100 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: s m Subject: Re: freebsd8.2 with /etc mount point can't run correctly References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 10:59:00 -0000 On 05/28/13 09:27, s m wrote: > hello all, > > i want to install freebsd8.2 with different partitions. i want to have > a separated partition for /etc. therefore this is my partitions: / , > /var, /etc. /tmp, /usr, swap. > > but after installing, freebsd can not run correctly and have problem > with fstab. i checked my fstab file (fstab file in /etc partition) and > every thing is ok. i think i should do something in order to use fstab > file in different mount point. is it true? what should i do to have a > freebsd with a separate /etc mount point? Generally speaking, a separate /etc partition is A Bad Thing(TM), and a sign you're doing things wrong. However, nanobsd does (partially) separate /etc out, and it does so using /etc/rc.initdiskless and its early (pre-rc) mounting code. Take a look at rc.initdiskless and the nanobsd code in /usr/src/tools/tools/nanobsd/nanobsd.sh if you really want to go down this route. -- In the dungeons of Mordor, Sauron bred Orcs with LOLcats to create a new race of servants. Called Uruk-Oh-Hai in the Black Speech, they were cruel and delighted in torturing spelling and grammar. _Lord of the Rings 2.0, the Web Edition_ From owner-freebsd-questions@FreeBSD.ORG Tue May 28 11:12:15 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 22742D67 for ; Tue, 28 May 2013 11:12:15 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) by mx1.freebsd.org (Postfix) with ESMTP id 9367FE95 for ; Tue, 28 May 2013 11:12:14 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.7/8.14.7) with ESMTP id r4SBCAd3035991 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 28 May 2013 13:12:10 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.7/8.14.7/Submit) with ESMTP id r4SBCAxu035988; Tue, 28 May 2013 13:12:10 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Tue, 28 May 2013 13:12:10 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: s m Subject: Re: freebsd8.2 with /etc mount point can't run correctly In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="2055831798-597971615-1369739530=:72982" X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.fig.ol.no Cc: saeedeh motlagh , FreeBSD questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 11:12:15 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --2055831798-597971615-1369739530=:72982 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT On Tue, 28 May 2013 15:13+0430, s m wrote: > On 5/28/13, Trond Endrestøl wrote: > > On Tue, 28 May 2013 12:25+0200, Trond Endrestøl wrote: > > > >> On Tue, 28 May 2013 13:29+0430, saeedeh motlagh wrote: > >> > >> > On Tue, May 28, 2013 at 1:16 PM, Trond Endrestøl < > >> > Trond.Endrestol@fagskolen.gjovik.no> wrote: > >> > > >> > > On Tue, 28 May 2013 12:57+0430, s m wrote: > >> > > > >> > > > hello all, > >> > > > > >> > > > i want to install freebsd8.2 with different partitions. i want to > >> > > > have > >> > > > a separated partition for /etc. therefore this is my partitions: / > >> > > > , > >> > > > /var, /etc. /tmp, /usr, swap. > >> > > > > >> > > > but after installing, freebsd can not run correctly and have > >> > > > problem > >> > > > with fstab. i checked my fstab file (fstab file in /etc partition) > >> > > > and > >> > > > every thing is ok. i think i should do something in order to use > >> > > > fstab > >> > > > file in different mount point. is it true? what should i do to have > >> > > > a > >> > > > freebsd with a separate /etc mount point? > >> > > > > >> > > > any comments are appreciated. > >> > > > SAM > >> > > > >> > > If you really want to keep /etc as a separate filesystem, then I > >> > > would > >> > > try something like this: > >> > > > >> > > 1. Create the file /etc-mount and give it the following contents: > >> > > > >> > > #!/bin/sh > >> > > /sbin/mount /dev/ada0pX /etc > >> > > exec /etc/rc $* > >> > > > >> > > 2. Make sure to substitute the right device file for the mount > >> > > command. > >> > > > >> > > 2. Make /etc-mount executable: chmod a+x /etc-mount > >> > > > >> > > 3. On the root filesystem, let /etc/rc be a symlink to /etc-mount. > >> > > > >> > > This is just off the top of my head. It may work, or it may not work. > >> > > > >> > > HTH. > >> > >> > thanks Trond but i think it can not help me. > >> > > >> > you know i want to separate my /etc completely from root. for some > >> > reasons, > >> > i want to unmount /etc while root is mounted. > >> > > >> > by your procedure, i think /etc is dependent to root yet. isn't it? > >> > >> When the system boots, init(8) fires up a shell to execute the > >> commands contained in (the real) /etc/rc. At boot only the root file > >> system is mounted, thus you need a mechanism to mount /etc ahead of > >> normal startup and pass whatever arguments the fake /etc/rc was > >> invoked with on to the real /etc/rc. > >> > >> As long as no processes holds open any files within /etc and you > >> don't need any of the files, /etc/{,s}pwd.db and[!] /etc/group comes > >> to mind, you should be able to unmount /etc at your own pace. I > >> guess you should be in single user mode while doing this. > > > > [Typo corrected.] > > > >> Why do you need this strange detachment anyway? > >> Backups? Snapshots? > thanks guys, > > you know i have a server and change my pwd files most of the time. i > want to safe my server, so i prefer to mount my root read-only and > because of changes in pwd files, i should mount /etc read-write. > therefore i want to separate my /etc from root. > > moreover, if i want to enable journaling on /etc, i should unmount it > (journaling cannot been set for root partition). To enable journaling, i.e. soft updates, for the root filesystem, do the exact following: 1. Reboot into single user mode. 2. Run /sbin/tunefs -j enable /dev/ada0pX 3. Issue the reboot command. > now, do you have any suggestion for my status? how can i mount /etc > partition at boot time? As I said earlier in this thread you need a mechanism for mounting /etc prior to running the startup scripts. OK, here's a more detailed list than the previous one, assuming the root filesystem is currently mounted read-write: 1. Create and edit the file /fake-rc, giving it this contents (the next 3 lines): #!/bin/sh mount /dev/ada0pX /etc exec /etc/rc $* 2. Don't forget to substitute the right device file corresponding to the /etc filesystem. 3. Let /fake-rc be executable: chmod a+x /fake-rc 4. Go to single user mode. I'm still assuming the _root_ filesystem is mounted read-write. Please ensure it is. 5. Unmount /etc. 6. Let /etc/rc be a symbolic link to /fake-rc, by issuing the command: /bin/ln -s /fake-rc /etc/rc 7. Remount /etc manually, i.e. mount /dev/ada0pX /etc 8. Make the necessary changes to /etc/fstab so that the root file system is never mounted read-write during startup. 9. Reboot the system and observe to see if the behaviour is the desired one. Remember this, because this is important: When the system boots, init(8) fires up a shell to execute the commands contained in (the real) /etc/rc. At boot only the _root_ file system is mounted, thus you need a mechanism to mount /etc ahead of normal startup and pass whatever arguments the fake /etc/rc was invoked with on to the real /etc/rc. This is what you would accomplish by erecting /etc/rc on the _root_ filesystem as a symlink to the fake /fake-rc, also on the _root_ filesystem. The fake /fake-rc takes care of mounting /etc at startup and resuming running the startup scripts by executing the real /etc/rc, now that the /etc filesystem is finally mounted (read-write). Use this opportunity to really learn how FreeBSD behaves during startup and what its expectations are. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ --2055831798-597971615-1369739530=:72982-- From owner-freebsd-questions@FreeBSD.ORG Tue May 28 11:40:18 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 03A3E588 for ; Tue, 28 May 2013 11:40:18 +0000 (UTC) (envelope-from emorrasg@yahoo.es) Received: from nm2-vm1.bullet.mail.ird.yahoo.com (nm2-vm1.bullet.mail.ird.yahoo.com [77.238.189.200]) by mx1.freebsd.org (Postfix) with SMTP id 0F58C17D for ; Tue, 28 May 2013 11:40:16 +0000 (UTC) Received: from [77.238.189.48] by nm2.bullet.mail.ird.yahoo.com with NNFMP; 28 May 2013 11:40:10 -0000 Received: from [46.228.39.101] by tm1.bullet.mail.ird.yahoo.com with NNFMP; 28 May 2013 11:40:10 -0000 Received: from [127.0.0.1] by smtp138.mail.ir2.yahoo.com with NNFMP; 28 May 2013 11:40:10 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s1024; t=1369741210; bh=Z25qaLRSWgeqFsDo8h9zt/FdYsIRCgc0pBg4XiCYkc4=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Date:From:To:Subject:Message-Id:In-Reply-To:References:X-Mailer:Disposition-Notification-To:Mime-Version:Content-Type:Content-Transfer-Encoding; b=tBKcon+vXSI6J7ljY5XmmXCKDYWbfmIP/nl+hy2J8nRHTS46wpNTAUPOrq9Fu2o7B78MDzl7anlajhGjImSuPJVMTaRz+LLZxYcMieILgvuevVINNVxh1sGLy+Cpa+i5DRrPJGRiaqqVj7HL6j5AvkenNIV5+DoBpsb6x5brkj8= X-Yahoo-Newman-Id: 622304.46015.bm@smtp138.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: EwVWfboVM1m9LHo9ct3oeqgxesvEuUXapl_Xid6oYiV_MBI .pW5qbKyZmEkZTguGF0TR5tEkg2y4fzrE.YL3lOCTvRRYwduZsQUNFtPwxCe 7nqIQwRMaEcUTeNdanzf0jnpeda1.kRG0em_zAcwp231RW_PxBmLzScRmFBw 76jeuAUBI0hPmacLq6_u0oNREEFRGCNxOjywTURksb2QSMriXejCyXu5s4k1 KwVxocXuFzxoC_pZIVzW5qho5v3AHogyv95JBK22g7ptz47.HED9TSL7SOPK baoKFUa9h5mwc560U_5lQtOkZljx03E0GgocUFpf.yRBR73FRLAmm0LI9dMr FpE54H1gaz2URWSi8bJEHwIApgYqbcG0zR7Iui5FXPy84t2y_LbJZgXZGf3p GzGIu7iNEsqKhIrpH.r1.qCAQ X-Yahoo-SMTP: mX392iiswBAeJNdO_s.EW62LZDJR X-Rocket-Received: from camibar.emorras.eu (emorrasg@85.219.45.142 with ) by smtp138.mail.ir2.yahoo.com with SMTP; 28 May 2013 11:40:10 +0000 UTC Date: Tue, 28 May 2013 13:40:08 +0200 From: Eduardo Morras To: freebsd-questions@freebsd.org Subject: Re: freebsd8.2 with /etc mount point can't run correctly Message-Id: <20130528134008.fdf60ccfb922e96e21e85c72@yahoo.es> In-Reply-To: References: X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.17; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 11:40:18 -0000 On Tue, 28 May 2013 12:57:41 +0430 s m wrote: > hello all, > > i want to install freebsd8.2 with different partitions. i want to have > a separated partition for /etc. therefore this is my partitions: / , > /var, /etc. /tmp, /usr, swap. > > but after installing, freebsd can not run correctly and have problem > with fstab. i checked my fstab file (fstab file in /etc partition) and > every thing is ok. i think i should do something in order to use fstab > file in different mount point. is it true? what should i do to have a > freebsd with a separate /etc mount point? > > any comments are appreciated. No, starting in single user mode mount / only and will fail to start. I, and others for sure, use single user mode for recovery faulty systems. But as always, they are your feet ;) What's wrong with /usr/local/etc ? It can be wherever you want and have whatever you need. > SAM > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" --- --- Eduardo Morras From owner-freebsd-questions@FreeBSD.ORG Tue May 28 11:43:37 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A83E86C8; Tue, 28 May 2013 11:43:37 +0000 (UTC) (envelope-from alexl@mellanox.com) Received: from eu1sys200aog113.obsmtp.com (eu1sys200aog113.obsmtp.com [207.126.144.135]) by mx1.freebsd.org (Postfix) with ESMTP id 2221A1AF; Tue, 28 May 2013 11:43:35 +0000 (UTC) Received: from MTLCAS02.mtl.com ([193.47.165.155]) (using TLSv1) by eu1sys200aob113.postini.com ([207.126.147.11]) with SMTP ID DSNKUaSYTLVCQei4GSKePqg2j6sAR5pgng6D@postini.com; Tue, 28 May 2013 11:43:36 UTC Received: from MTLDAG01.mtl.com ([10.0.8.75]) by MTLCAS02.mtl.com ([10.0.8.72]) with mapi id 14.03.0123.003; Tue, 28 May 2013 14:35:46 +0300 From: Alex Liptsin To: "freebsd-infiniband@freebsd.org" , "freebsd-net@freebsd.org" , "freebsd-questions@freebsd.org" Subject: Create bond on Infiniband ports Thread-Topic: Create bond on Infiniband ports Thread-Index: Ac5blHiC28mlGzpUR72ew+cW7MoT7Q== Date: Tue, 28 May 2013 11:35:45 +0000 Message-ID: <64DAB3164E410447932305F50F896D8D6AF65A33@MTLDAG01.mtl.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.13.1] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Regev Lev X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 11:43:37 -0000 Hi. I use FreeBSD 9.1 with OFED compiled on it. There is a Mellanox adapter: [root@qa-h-vrt-030-006 ~]# pciconf -lv |grep mlx4 -A 3 mlx4_core0@pci0:0:5:0: class=3D0x028000 card=3D0x005015b3 chip=3D0x100315b= 3 rev=3D0x00 hdr=3D0x00 vendor =3D 'Mellanox Technologies' device =3D 'MT27500 Family [ConnectX-3]' class =3D network I want to create Bond on the two ports (ib0 and ib1) of this device: [root@qa-h-vrt-030-006 ~]# ifconfig em0: flags=3D8843 metric 0 mtu 1500 options=3D209b ether 00:50:56:23:1e:06 inet6 fe80::250:56ff:fe23:1e06%em0 prefixlen 64 scopeid 0x2 inet 10.195.30.6 netmask 0xffff0000 broadcast 10.195.255.255 nd6 options=3D23 media: Ethernet autoselect (1000baseT ) status: active lo0: flags=3D8049 metric 0 mtu 16384 options=3D600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet 127.0.0.1 netmask 0xff000000 nd6 options=3D23 ib0: flags=3D8043 metric 0 mtu 65520 options=3D80018 lladdr 80.0.0.48.fe.80.0.0.0.0.0.0.0.2.c9.0.1.0.d0.51 inet 11.195.30.1 netmask 0xffff0000 broadcast 11.195.255.255 inet6 fe80::250:56ff:fe23:1e06%ib0 prefixlen 64 scopeid 0x4 nd6 options=3D23 ib1: flags=3D8043 metric 0 mtu 65520 options=3D80018 lladdr 80.0.0.49.fe.80.0.0.0.0.0.0.0.2.c9.0.1.0.d0.52 inet 12.195.30.1 netmask 0xffff0000 broadcast 12.195.255.255 inet6 fe80::250:56ff:fe23:1e06%ib1 prefixlen 64 scopeid 0x5 nd6 options=3D23 1. Is there "bond" in FreeBSD or its "Lagg"? 2. I tried to create this way, but failed: [root@qa-h-vrt-030-006 ~]# ifconfig lagg0 create root@qa-h-vrt-031-005 conf]# ifconfig lagg0 laggproto failover laggport ib0= laggport ib1 ifconfig: SIOCSLAGGPORT: Protocol not supported Any ideas? Is it supported on Infiniband ports? Regards, Alex Liptsin From owner-freebsd-questions@FreeBSD.ORG Tue May 28 13:06:24 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BF215B4D; Tue, 28 May 2013 13:06:24 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from smtp-int-m.obspm.fr (smtp-int-m.obspm.fr [145.238.187.15]) by mx1.freebsd.org (Postfix) with ESMTP id 59E5D8D5; Tue, 28 May 2013 13:06:24 +0000 (UTC) Received: from pcjas.obspm.fr (pcjas.obspm.fr [145.238.184.233]) by smtp-int-m.obspm.fr (8.14.3/8.14.3/SIO Observatoire de Paris - 07/2009) with ESMTP id r4SD6Fiv027205 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 28 May 2013 15:06:16 +0200 Date: Tue, 28 May 2013 15:06:15 +0200 From: Albert Shih To: Olivier Nicole Subject: Re: using ports or gems (easy_install) Message-ID: <20130528130615.GA48534@pcjas.obspm.fr> References: <20130528074039.GA47407@pcjas.obspm.fr> <201305280750.r4S7oPCX044852@banyan.cs.ait.ac.th> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <201305280750.r4S7oPCX044852@banyan.cs.ait.ac.th> User-Agent: Mutt/1.5.21 (2010-09-15) X-Miltered: at smtp-int-m.obspm.fr with ID 51A4ABC7.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 51A4ABC7.000/145.238.184.233/pcjas.obspm.fr/pcjas.obspm.fr/ Cc: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 13:06:24 -0000 Le 28/05/2013 ? 14:50:25+0700, Olivier Nicole a écrit > Hi, > > > I would like to known how you manage your gem (ruby) or easyinstall > > (python). Do you use ports ? or directly gems or easyinstall ? or both ? > > As far as I can, I use ports, for consistency. Me too. But what you do when you cannot ? (Like the ports don't exist) ? I see three possibility : 1/ write the ports (unfortunately not for me) 2/ wait until someone does (many time it's impossible) 3/ use easy_install or gem > > But I am using mostly Perl and CPAN is very well integrated in FreeBSD > ports. Yes much better than ruby or python. Regards. JAS -- Albert SHIH DIO bâtiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex France Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71 xmpp: jas@obspm.fr Heure local/Local time: mar 28 mai 2013 15:03:58 CEST From owner-freebsd-questions@FreeBSD.ORG Tue May 28 14:09:10 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A6460565 for ; Tue, 28 May 2013 14:09:10 +0000 (UTC) (envelope-from goodboyjunon@gmail.com) Received: from mail-wg0-x243.google.com (mail-wg0-x243.google.com [IPv6:2a00:1450:400c:c00::243]) by mx1.freebsd.org (Postfix) with ESMTP id 46024DCA for ; Tue, 28 May 2013 14:09:10 +0000 (UTC) Received: by mail-wg0-f67.google.com with SMTP id m15so1803018wgh.2 for ; Tue, 28 May 2013 07:09:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=cU24URLvx4yP1eCSZwRM7/UVYB7TUbB9VsKRqcZNYMo=; b=n6DpdMcAOIQ/G3Sgz0+51XR7godavhwk1NVuFw+lslvxXV1YvOuGOKFzZtOqAXOmJ1 5xVCKE5vHmBaoVLvcKvuMixmX24R1fJfUEJf9onPUyivkhuakYPl/ffS8fARKFZpemRF q0jY2LUfYFnnIVVJ9Spgrd/u4CXXe9VfpVxZsKmbSDjdKcegkyEVl/adBCwiwAsc69hx Rjhqra9JL2yK8ye72X1xh+2Yaa5SBC4UfNpYE/tUTrHFxp1QDCTKmTYSYzZ5sz9JHFGh ntd0aACEW81YLHnEBKGbnAXDqNmiBFbZltm1yo6RQFG21II4NAEt2ahNbQ5KYJoy3YbL tCFA== MIME-Version: 1.0 X-Received: by 10.194.216.105 with SMTP id op9mr8189409wjc.17.1369750149359; Tue, 28 May 2013 07:09:09 -0700 (PDT) Received: by 10.217.140.10 with HTTP; Tue, 28 May 2013 07:09:09 -0700 (PDT) Date: Tue, 28 May 2013 20:09:09 +0600 Message-ID: Subject: http://localhost/phpmyadmin From: Md Junon To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 14:09:10 -0000 From owner-freebsd-questions@FreeBSD.ORG Tue May 28 14:32:26 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 4A7607B for ; Tue, 28 May 2013 14:32:26 +0000 (UTC) (envelope-from me@che78-3-82-246-30-233.fbx.proxad.net) Received: from smtp4-g21.free.fr (smtp4-g21.free.fr [IPv6:2a01:e0c:1:1599::13]) by mx1.freebsd.org (Postfix) with ESMTP id 17A14F1D for ; Tue, 28 May 2013 14:32:24 +0000 (UTC) Received: from che78-3-82-246-30-233.fbx.proxad.net (unknown [82.246.30.233]) by smtp4-g21.free.fr (Postfix) with ESMTP id CD36F4C8064 for ; Tue, 28 May 2013 16:32:18 +0200 (CEST) Received: by che78-3-82-246-30-233.fbx.proxad.net (Postfix, from userid 2000) id 95B68285D6; Tue, 28 May 2013 16:32:17 +0200 (CEST) Date: Tue, 28 May 2013 16:32:17 +0200 From: Harald Weis To: freebsd-questions@freebsd.org Subject: midori > preferences > segmentation fault Message-ID: <20130528143217.GB5334@pollux.local.net> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 14:32:26 -0000 midori > Edit > Preferences results, nearly every time, in: *** NSPlugin Viewer *** ERROR: rpc_end_sync called when not in sync! Segmentation fault (core dumped) This occurs since 9.1-RELEASE. All ports (midori, linux-f10-flashplugin11, nspluginwrapper, etc) are up to date. No problem with chromium. Haven't tried firefox this time. Compile time for chromium is about 6 hours. As far as I remember, firefox compile time takes even longer. What is wrong with midori ? Thank you in advance, Harald From owner-freebsd-questions@FreeBSD.ORG Tue May 28 15:42:11 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id AE365353 for ; Tue, 28 May 2013 15:42:11 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id 35DF02F8 for ; Tue, 28 May 2013 15:42:10 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.5/8.14.5) with ESMTP id r4SFg9Ft040840 for ; Tue, 28 May 2013 16:42:09 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Message-ID: <51A4D051.10103@qeng-ho.org> Date: Tue, 28 May 2013 16:42:09 +0100 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: FreeBSD-Questions Subject: [OT] What's the http://localhost/phpmyadmin mail about? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 15:42:11 -0000 Many apologies for the off topic post, but my curiosity has got the better of me. Every once in a while we get a post with a subject of "http://localhost/phpmyadmin" and no body. What is the point of this - borked mailer, existentialist spam, hacking attempt by a wannabe script kiddie even more clueless than usual, first contact with aliens evolved from web servers? I'm baffled. -- In the dungeons of Mordor, Sauron bred Orcs with LOLcats to create a new race of servants. Called Uruk-Oh-Hai in the Black Speech, they were cruel and delighted in torturing spelling and grammar. _Lord of the Rings 2.0, the Web Edition_ From owner-freebsd-questions@FreeBSD.ORG Tue May 28 15:53:47 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 40D57605 for ; Tue, 28 May 2013 15:53:47 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 02DAC388 for ; Tue, 28 May 2013 15:53:46 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r4SFrh3w046247; Tue, 28 May 2013 09:53:43 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r4SFrgla046244; Tue, 28 May 2013 09:53:42 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 28 May 2013 09:53:42 -0600 (MDT) From: Warren Block To: Polytropon Subject: Re: slice and partition in FreeBSD 9.1 In-Reply-To: <20130528063118.d1d58c3a.freebsd@edvax.de> Message-ID: References: <1369714424.25575.YahooMailNeo@web163001.mail.bf1.yahoo.com> <20130528063118.d1d58c3a.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Tue, 28 May 2013 09:53:43 -0600 (MDT) Cc: J Ronald , "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 15:53:47 -0000 On Tue, 28 May 2013, Polytropon wrote: > See this comparison: > > http://www.wonkity.com/~wblock/docs/html/disksetup.html > > http://www.freebsd.org/doc/en/books/handbook/geom-glabel.html > > http://www.freebsd.org/doc/handbook/disks-adding.html There is a little information on the common types here, too: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/bsdinstall-partitioning.html#bsdinstall-part-manual > Still you have the choice to use MBR partitioning if this is > a requirement (maybe due to hardware that has problems booting > GPT partitioned media? who knows). Some BIOS systems think GPT partitions mean the system is running UEFI. On those system, MBR is required to boot correctly. I think this is still a problem with the Thinkpad T4xx and T5xx models, possibly others. From owner-freebsd-questions@FreeBSD.ORG Tue May 28 15:56:52 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6CF4990E; Tue, 28 May 2013 15:56:52 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-bk0-x22b.google.com (mail-bk0-x22b.google.com [IPv6:2a00:1450:4008:c01::22b]) by mx1.freebsd.org (Postfix) with ESMTP id 9D6CF3F3; Tue, 28 May 2013 15:56:51 +0000 (UTC) Received: by mail-bk0-f43.google.com with SMTP id jm2so2730422bkc.30 for ; Tue, 28 May 2013 08:56:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=uL2xTPn1L5HiYo/HocjOlHx4E7saC7x/Rg5jgaQEpI4=; b=VFJobJWgLI8bu0X7yxVPjS7ki9SelCq9R96CS/TsywqV+WnVBSUzr2kPmSvRmuK4cA pOwbO3dn4e9Slie7HAyWjRUUTflSzmeSS0XwrEEK9dvFsrHqnKuPl/wNsiBHcRLgo+J9 G+lVabbCy6KY5DACqHHFCsRuSLMrl6TlWzBWBzjVGzhQckisIjLQBVpq++FLdN+vUpk4 STQSYto+rzotBV3eb+G773XWDdU/hoEeoar6ZTFPpOX1FdzOMddJWwB6kqgs/YXwfmeR hAJhjRPVo5Yp0PxZkoDS/L36z3nIWjSaj3gYRWQuyH/wIwuChjs5agSNwM8rJgEPd23d 33Og== MIME-Version: 1.0 X-Received: by 10.204.235.129 with SMTP id kg1mr13508098bkb.28.1369756610195; Tue, 28 May 2013 08:56:50 -0700 (PDT) Received: by 10.205.40.129 with HTTP; Tue, 28 May 2013 08:56:50 -0700 (PDT) In-Reply-To: <64DAB3164E410447932305F50F896D8D6AF65A33@MTLDAG01.mtl.com> References: <64DAB3164E410447932305F50F896D8D6AF65A33@MTLDAG01.mtl.com> Date: Tue, 28 May 2013 08:56:50 -0700 Message-ID: Subject: Re: Create bond on Infiniband ports From: Garrett Cooper To: Alex Liptsin Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-infiniband@freebsd.org" , Regev Lev , "freebsd-questions@freebsd.org" , "freebsd-net@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 15:56:52 -0000 On Tue, May 28, 2013 at 4:35 AM, Alex Liptsin wrote: > Hi. > > I use FreeBSD 9.1 with OFED compiled on it. > > There is a Mellanox adapter: > > [root@qa-h-vrt-030-006 ~]# pciconf -lv |grep mlx4 -A 3 > mlx4_core0@pci0:0:5:0: class=0x028000 card=0x005015b3 chip=0x100315b3 > rev=0x00 hdr=0x00 > vendor = 'Mellanox Technologies' > device = 'MT27500 Family [ConnectX-3]' > class = network > > I want to create Bond on the two ports (ib0 and ib1) of this device: > > [root@qa-h-vrt-030-006 ~]# ifconfig > em0: flags=8843 metric 0 mtu 1500 > > options=209b > ether 00:50:56:23:1e:06 > inet6 fe80::250:56ff:fe23:1e06%em0 prefixlen 64 scopeid 0x2 > inet 10.195.30.6 netmask 0xffff0000 broadcast 10.195.255.255 > nd6 options=23 > media: Ethernet autoselect (1000baseT ) > status: active > lo0: flags=8049 metric 0 mtu 16384 > options=600003 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 > inet 127.0.0.1 netmask 0xff000000 > nd6 options=23 > ib0: flags=8043 metric 0 mtu 65520 > options=80018 > lladdr 80.0.0.48.fe.80.0.0.0.0.0.0.0.2.c9.0.1.0.d0.51 > inet 11.195.30.1 netmask 0xffff0000 broadcast 11.195.255.255 > inet6 fe80::250:56ff:fe23:1e06%ib0 prefixlen 64 scopeid 0x4 > nd6 options=23 > ib1: flags=8043 metric 0 mtu 65520 > options=80018 > lladdr 80.0.0.49.fe.80.0.0.0.0.0.0.0.2.c9.0.1.0.d0.52 > inet 12.195.30.1 netmask 0xffff0000 broadcast 12.195.255.255 > inet6 fe80::250:56ff:fe23:1e06%ib1 prefixlen 64 scopeid 0x5 > nd6 options=23 > > > 1. Is there "bond" in FreeBSD or its "Lagg"? > It's lagg. Setting up bonded interfaces is different (Anthony C. or someone else can provide more details about this). failover mode via lagg is completely different from failover mode with IB IIRC. > 2. I tried to create this way, but failed: > > [root@qa-h-vrt-030-006 ~]# ifconfig lagg0 create > > root@qa-h-vrt-031-005 conf]# ifconfig lagg0 laggproto failover laggport > ib0 laggport ib1 > > ifconfig: SIOCSLAGGPORT: Protocol not supported > > Any ideas? > Is it supported on Infiniband ports? > The media setting pieces are look to only be supported with mlx4 in en mode: 1076 static int mlx4_en_ioctl(struct ifnet *dev, u_long command, caddr_t data) 1077 { ... 1115 case SIOCGIFMEDIA: 1116 error = ifmedia_ioctl(dev, ifr, &priv->media, command); 1117 break; If I remember correctly, IB ports with mlx4 default to ib mode, not en mode (it also helps to have the right drivers loaded for this). Cheers, -Garrett From owner-freebsd-questions@FreeBSD.ORG Tue May 28 17:08:57 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 32C997EC for ; Tue, 28 May 2013 17:08:57 +0000 (UTC) (envelope-from pckizer@nostrum.com) Received: from shaman.nostrum.com (nostrum-pt.tunnel.tserv2.fmt.ipv6.he.net [IPv6:2001:470:1f03:267::2]) by mx1.freebsd.org (Postfix) with ESMTP id 0A10F968 for ; Tue, 28 May 2013 17:08:56 +0000 (UTC) Received: from [10.12.10.114] ([4.30.77.1]) (authenticated bits=0) by shaman.nostrum.com (8.14.3/8.14.3) with ESMTP id r4SH8r5x018071 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO) for ; Tue, 28 May 2013 12:08:55 -0500 (CDT) (envelope-from pckizer@nostrum.com) From: Philip Kizer Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: pfctl and verbosely listing tables not giving full output on 9.x Message-Id: <8AA29A95-1CE9-41B5-A2A8-5E208CA496BB@nostrum.com> Date: Tue, 28 May 2013 12:08:53 -0500 To: FreeBSD-Questions Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) X-Mailer: Apple Mail (2.1503) Received-SPF: pass (shaman.nostrum.com: 4.30.77.1 is authenticated by a trusted mechanism) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 17:08:57 -0000 On some of my older systems, I try and view some tables verbosely as the = manual describes: We can now use the table show command to output, for each = address and packet direction, the number of packets and bytes that = are being passed or blocked by rules referencing the table. = The time at which the current accounting started is also shown with = the ``Cleared'' line. # pfctl -t test -vTshow 129.128.5.191 Cleared: Thu Feb 13 18:55:18 2003 In/Block: [ Packets: 0 Bytes: 0 = ] In/Pass: [ Packets: 10 Bytes: 840 = ] Out/Block: [ Packets: 0 Bytes: 0 = ] Out/Pass: [ Packets: 10 Bytes: 840 = ] and I get what I would expect when I issue the command: # uname -r 8.3-RELEASE-p3 # pfctl -t spam -vTshow No ALTQ support in kernel ALTQ related functions disabled 61.156.238.56 Cleared: Mon May 27 16:06:03 2013 In/Block: [ Packets: 23 Bytes: 1673 = ] In/Pass: [ Packets: 0 Bytes: 0 = ] Out/Block: [ Packets: 0 Bytes: 0 = ] Out/Pass: [ Packets: 0 Bytes: 0 = ] 101.44.1.135 Cleared: Tue May 28 11:14:23 2013 In/Block: [ Packets: 21 Bytes: 1520 = ] In/Pass: [ Packets: 0 Bytes: 0 = ] Out/Block: [ Packets: 0 Bytes: 0 = ] Out/Pass: [ Packets: 0 Bytes: 0 = ] All of my newer systems seem to not be showing me the data I expect: # uname -rm 9.1-RELEASE-p3 amd64 # pfctl -t spam -vTshow No ALTQ support in kernel ALTQ related functions disabled 46.21.161.37 Cleared: Tue May 14 10:37:11 2013 46.29.248.152 Cleared: Sat May 25 03:47:26 2013 46.165.236.153 Cleared: Tue May 14 06:12:05 2013 [...] # uname -rm 9.1-RELEASE i386 # pfctl -t spam -vTshow No ALTQ support in kernel ALTQ related functions disabled 1.235.138.249 Cleared: Sat Apr 27 19:55:15 2013 27.50.140.140 Cleared: Fri Apr 26 13:43:11 2013 31.3.245.178 Cleared: Tue Apr 30 19:30:29 2013 [...] # uname -rm 9.1-RELEASE amd64 # pfctl -t spam -vTshow No ALTQ support in kernel ALTQ related functions disabled 46.29.248.152 Cleared: Sat May 25 03:49:12 2013 50.73.11.52 Cleared: Wed May 22 01:57:10 2013 61.132.228.240 Cleared: Sun May 19 23:46:07 2013 Can anyone confirm similar behaviour on their systems, or has anyone = even tried? I didn't see any active PRs about this. Thanks, Philip From owner-freebsd-questions@FreeBSD.ORG Tue May 28 18:42:34 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1DFC85BB for ; Tue, 28 May 2013 18:42:34 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id D47B1E4E for ; Tue, 28 May 2013 18:42:33 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UhOqo-0005Va-Em for freebsd-questions@freebsd.org; Tue, 28 May 2013 20:42:32 +0200 Received: from 79-139-19-75.prenet.pl ([79.139.19.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 May 2013 20:42:26 +0200 Received: from jb.1234abcd by 79-139-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 28 May 2013 20:42:26 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Subject: Re: "swap" partition leads to instability? Date: Tue, 28 May 2013 18:42:10 +0000 (UTC) Lines: 11 Message-ID: References: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> <1369644392.92027.YahooMailNeo@web165003.mail.bf1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 79.139.19.75 (Mozilla/5.0 (X11; Linux i686; rv:21.0) Gecko/20100101 Firefox/21.0) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 18:42:34 -0000 Follow up comment. It has been pointed out to me that there is Varnish software taking advantage of system VMM and swap space. Well, there are cache-oblivious algorithms that perform as well, and so they make the above (disk access model; cache-aware model) unnecessary (obsolete ?) and are superior in their generality. jb From owner-freebsd-questions@FreeBSD.ORG Tue May 28 18:47:21 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 900D88E2 for ; Tue, 28 May 2013 18:47:21 +0000 (UTC) (envelope-from fred.morcos@gmail.com) Received: from mail-wg0-x235.google.com (mail-wg0-x235.google.com [IPv6:2a00:1450:400c:c00::235]) by mx1.freebsd.org (Postfix) with ESMTP id 29478E98 for ; Tue, 28 May 2013 18:47:21 +0000 (UTC) Received: by mail-wg0-f53.google.com with SMTP id m15so5789535wgh.20 for ; Tue, 28 May 2013 11:47:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=8/SWjDFy1uW3TeGeCW9JznUqyv4p9rjPC7EBooEGDGc=; b=AsBO/rFY42C9z5mD4r1ToS3SVFkt7q/9yzF84cov+Fz61yujXd98txsvQSsWm5/BIA 70ag94q1hfU/nqmeTdYHdExYaesiBV9ClIDiwwG77PS5My0WP4VfAesHaI7X48p9Js57 DoKVkmBSwFquqwYQaxeNHvREWI80NOzjXhEYyxiiSQ3DW2Z/jVO5OjWmpq4mX7x+2OWx 1HOkUGf6RohrufCA2o3UizAEz+1edMYhEpUE0ly/1ZWUSW3EXhPBH6fbM+pHFkqO/CJb gHWKpVT5XQ9EYi5GHL4g/O0hkOmJ4P+P+yPd6imSLHrm0aEUqz3jWXMK1wmPdRJsB8iH 7uHQ== X-Received: by 10.180.39.233 with SMTP id s9mr13269134wik.25.1369766840191; Tue, 28 May 2013 11:47:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.193.138 with HTTP; Tue, 28 May 2013 11:46:49 -0700 (PDT) In-Reply-To: References: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> <1369644392.92027.YahooMailNeo@web165003.mail.bf1.yahoo.com> From: Fred Morcos Date: Tue, 28 May 2013 20:46:49 +0200 Message-ID: Subject: Re: "swap" partition leads to instability? To: jb Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 18:47:21 -0000 On Tue, May 28, 2013 at 8:42 PM, jb wrote: > Follow up comment. > > It has been pointed out to me that there is Varnish software taking > advantage > of system VMM and swap space. > > Well, there are cache-oblivious algorithms that perform as well, and so > they > make the above (disk access model; cache-aware model) unnecessary > (obsolete ?) and are superior in their generality. > > Note that such cache-oblivious algorithms cannot be trivially applied to any problem. Also, properly written cache-oblivious algorithms tend to recursively decompose the problem until it is small enough to fit in a cache and solve each part iteratively. The improvement effect can be noticed on large inputs. These algorithms will most probably perform quite badly on small inputs. > jb > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Tue May 28 19:14:30 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2D48DE45 for ; Tue, 28 May 2013 19:14:30 +0000 (UTC) (envelope-from terje@elde.net) Received: from keepquiet.net (keepquiet.net [IPv6:2a01:4f8:130:84c1::deaf:babe]) by mx1.freebsd.org (Postfix) with ESMTP id E5EB46C for ; Tue, 28 May 2013 19:14:29 +0000 (UTC) Received: from [10.130.11.108] (cm-84.210.76.250.getinternet.no [84.210.76.250]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: terje@elde.net) by keepquiet.net (Postfix) with ESMTPSA id A0E232E419; Tue, 28 May 2013 21:14:25 +0200 (CEST) References: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> In-Reply-To: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=us-ascii Message-Id: <7E5293AA-C3B2-4CC2-B84F-44CD7002D413@elde.net> Content-Transfer-Encoding: quoted-printable X-Mailer: iPhone Mail (10A523) From: Terje Elde Subject: Re: "swap" partition leads to instability? Date: Tue, 28 May 2013 21:14:24 +0200 To: "M. V." Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 19:14:30 -0000 On 26. mai 2013, at 10:58, "M. V." wrote: > But recently I heard from a FreeBSD expert that I shouldn't have swap part= ition for my server, and having swap partition could make my server unstable= Any chance this could be a simple misunderstanding? That he objected to the thought of the server swapping on an SSD (or whereev= er), more than the idea of having the partition itself? If you're heavily swapping on an SSD with no redundancy, sooner or later it w= ill kill your server.=20 Generally though, havin too little memory will also give issues. ;) I usually recommend viewing swap like you view filesystems. If you don't wan= t downtime or dataloss when it dies, plan for failiure, and use gmirror or z= fs mirror and zvol.=20 Terje From owner-freebsd-questions@FreeBSD.ORG Tue May 28 22:14:09 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8DF6E417 for ; Tue, 28 May 2013 22:14:09 +0000 (UTC) (envelope-from freebsdenml@fuckaround.org) Received: from mr003msr.fastwebnet.it (mr003msr.fastwebnet.it [85.18.95.66]) by mx1.freebsd.org (Postfix) with ESMTP id 4FEA3DEE for ; Tue, 28 May 2013 22:14:09 +0000 (UTC) Received: from server1.fuckaround.org (93.49.16.11) by mr003msr.fastwebnet.it (8.5.140.03) id 51A356770030E437 for freebsd-questions@freebsd.org; Wed, 29 May 2013 00:11:33 +0200 Received: by server1.fuckaround.org (Postfix, from userid 65534) id 79B8A75830E; Wed, 29 May 2013 00:11:33 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on server1.fuckaround.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=7.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.1 Received: from [10.10.10.17] (unknown [10.10.10.17]) by server1.fuckaround.org (Postfix) with ESMTP id CD0F275830D for ; Wed, 29 May 2013 00:11:30 +0200 (CEST) Message-ID: <51A52C3F.6010809@fuckaround.org> Date: Wed, 29 May 2013 00:14:23 +0200 From: Pol Hallen User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: FreeBSD-Questions Subject: openvpn and tap device Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 22:14:09 -0000 Hi all! I installed openvpn (I use it like client). There isn't any "openvpn_enable=YES" and openvpn_if="tap" in rc.conf but after start openvpn I can connect to openvpn server and clients. ifconfig doesn't show me any tap interface is it a correct situation? thanks! From owner-freebsd-questions@FreeBSD.ORG Tue May 28 23:01:48 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 513D7C44 for ; Tue, 28 May 2013 23:01:48 +0000 (UTC) (envelope-from kentas@hush.com) Received: from smtp10.hushmail.com (smtp10a.hushmail.com [65.39.178.239]) by mx1.freebsd.org (Postfix) with ESMTP id 3CBF07B for ; Tue, 28 May 2013 23:01:47 +0000 (UTC) Received: from smtp10.hushmail.com (smtp10a.hushmail.com [65.39.178.239]) by smtp10.hushmail.com (Postfix) with SMTP id ECA561B5354 for ; Tue, 28 May 2013 23:01:40 +0000 (UTC) Received: from smtp.hushmail.com (w7.hushmail.com [65.39.178.32]) by smtp10.hushmail.com (Postfix) with ESMTP; Tue, 28 May 2013 23:01:40 +0000 (UTC) Received: by smtp.hushmail.com (Postfix, from userid 99) id A5B396F448; Tue, 28 May 2013 23:01:40 +0000 (UTC) MIME-Version: 1.0 Date: Tue, 28 May 2013 19:01:40 -0400 To: freebsd-questions@freebsd.org Subject: BSD sleep From: "Kenta Suzumoto" Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="UTF-8" Message-Id: <20130528230140.A5B396F448@smtp.hushmail.com> Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 23:01:48 -0000 Hi. Is there no built-in way of making "sleep" sleep in increments of minutes, hours, etc? The GNU "sleep" can be invoked like "sleep 1h" for an hour. The FreeBSD one's manpage leads me to believe we can only use seconds, which is kind of annoying. Is there an undocmented or missing feature here? Seems really trivial to implement. ~ $ sleep 1h usage: sleep seconds From owner-freebsd-questions@FreeBSD.ORG Tue May 28 23:46:37 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E77C62C7; Tue, 28 May 2013 23:46:37 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-ie0-x229.google.com (mail-ie0-x229.google.com [IPv6:2607:f8b0:4001:c03::229]) by mx1.freebsd.org (Postfix) with ESMTP id B39B937F; Tue, 28 May 2013 23:46:37 +0000 (UTC) Received: by mail-ie0-f169.google.com with SMTP id u16so23066309iet.14 for ; Tue, 28 May 2013 16:46:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=oDcbWLNhAVG5ouL5p7OFQ9gCdbRaz0yfvspUxC0MiRk=; b=wAk9X0niVoTO2x3peVzLmhVh5pcZ9NiDqM/Zj3hEzt9gir4ih/BAkek6VuYLxmo5ym 1HZ/Rb1K+H9aL/cxRwFrlWbVxjjc2HAZzvPpO6QQFkTNv1/BdbgLEiRqOdgPCUoRFv3r z+gezucUdjWORF2qpKsVixjjL1M8hiOR51BRQlewV1RXHb/ILpFfCtaDTwiyXwDicrnl f/BOrHRnD1lsJxOyDz220kQj9nGiU2BrKSf5nSPDz5a0TDkfri+0z8sns+jDqkNPsBoG hAKf54K4H06cGElCY7mV2QXF9DW8VF8xSpfoTt5WC+5vi9y6+lhr03jptUqK5QGy7QuH lqnQ== X-Received: by 10.50.20.130 with SMTP id n2mr8329834ige.87.1369784797455; Tue, 28 May 2013 16:46:37 -0700 (PDT) Received: from [192.168.1.34] (c-98-212-197-211.hsd1.il.comcast.net. [98.212.197.211]) by mx.google.com with ESMTPSA id y11sm7046140igy.10.2013.05.28.16.46.30 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 28 May 2013 16:46:36 -0700 (PDT) Message-ID: <51A541B5.3010905@gmail.com> Date: Tue, 28 May 2013 18:45:57 -0500 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Kenta Suzumoto Subject: Re: BSD sleep References: <20130528230140.A5B396F448@smtp.hushmail.com> In-Reply-To: <20130528230140.A5B396F448@smtp.hushmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org, freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 May 2013 23:46:38 -0000 On 5/28/2013 6:01 PM, Kenta Suzumoto wrote: > Hi. Is there no built-in way of making "sleep" sleep in increments > of minutes, hours, etc? The GNU "sleep" can be invoked like "sleep > 1h" for an hour. The FreeBSD one's manpage leads me to believe we > can only use seconds, which is kind of annoying. Is there an > undocmented or missing feature here? Seems really trivial to > implement. > > ~ $ sleep 1h > usage: sleep seconds > You think it's trivial until you read this: http://infiniteundo.com/post/25326999628/falsehoods-programmers-believe-about-time If you sleep one hour, do you sleep one hour from now or one hour from the system clock which may change in the next hour? If it's the system clock, you may sleep for ten minutes or ten hours. If you need to sleep for 3600 seconds, that's simple and understandable. From owner-freebsd-questions@FreeBSD.ORG Wed May 29 02:46:14 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8C3BAC0; Wed, 29 May 2013 02:46:14 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 3B7DDE31; Wed, 29 May 2013 02:46:13 +0000 (UTC) Received: from mail.cs.ait.ac.th (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id E5EF0FEBD9; Wed, 29 May 2013 09:46:10 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= references:subject:subject:in-reply-to:from:from:message-id:date :date:received:received:received; s=selector1; t=1369795570; x= 1371609971; bh=CM6dk+97NIqpqgzfY2yk04hKp3jOWAaATsA4piQfVis=; b=I iWizqzJbGaFuOVVrnmpl2CEuWr5aUuoE/Bvye2XI6q5Z7SSMBUle4bXAvCa+MbGU 5vdebiHY860bjohAfKrrvaSPAG4LiMe/E99FJGRE8QmFbh86sIOOKmWccn+2//wW HVLocaI+hFypd0SX/+uywlzpqbh1E5q7DW6QMnP3/g= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by mail.cs.ait.ac.th (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id zyGV11gQlNQ3; Wed, 29 May 2013 09:46:10 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id 9BC42FEBD8; Wed, 29 May 2013 09:46:10 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.6/8.14.6/Submit) id r4T2k9Bt070918; Wed, 29 May 2013 09:46:09 +0700 (ICT) (envelope-from on) Date: Wed, 29 May 2013 09:46:09 +0700 (ICT) Message-Id: <201305290246.r4T2k9Bt070918@banyan.cs.ait.ac.th> From: Olivier Nicole To: Albert.Shih@obspm.fr In-reply-to: <20130528130615.GA48534@pcjas.obspm.fr> (message from Albert Shih on Tue, 28 May 2013 15:06:15 +0200) Subject: Re: using ports or gems (easy_install) References: <20130528074039.GA47407@pcjas.obspm.fr> <201305280750.r4S7oPCX044852@banyan.cs.ait.ac.th> <20130528130615.GA48534@pcjas.obspm.fr> Cc: freebsd-questions@freebsd.org, freebsd-ports@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 02:46:14 -0000 Albert, > > > I would like to known how you manage your gem (ruby) or easyinstall > > > (python). Do you use ports ? or directly gems or easyinstall ? or both ? > > As far as I can, I use ports, for consistency. > Me too. But what you do when you cannot ? (Like the ports don't exist) ? > I see three possibility : > 1/ write the ports (unfortunately not for me) > 2/ wait until someone does (many time it's impossible) > 3/ use easy_install or gem I use the solution 3 (cpan in the case of Perl). Best regards, olivier > > > > > > But I am using mostly Perl and CPAN is very well integrated in FreeBSD > > ports. > > Yes much better than ruby or python. > > Regards. > From owner-freebsd-questions@FreeBSD.ORG Wed May 29 04:27:02 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0692664F for ; Wed, 29 May 2013 04:27:02 +0000 (UTC) (envelope-from unixuser2000-fbsd@yahoo.com) Received: from nm5-vm4.bullet.mail.sg3.yahoo.com (nm5-vm4.bullet.mail.sg3.yahoo.com [106.10.148.147]) by mx1.freebsd.org (Postfix) with ESMTP id 58A4A323 for ; Wed, 29 May 2013 04:27:00 +0000 (UTC) Received: from [106.10.166.124] by nm5.bullet.mail.sg3.yahoo.com with NNFMP; 29 May 2013 04:24:40 -0000 Received: from [106.10.150.24] by tm13.bullet.mail.sg3.yahoo.com with NNFMP; 29 May 2013 04:24:40 -0000 Received: from [127.0.0.1] by omp1025.mail.sg3.yahoo.com with NNFMP; 29 May 2013 04:24:40 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 92041.66361.bm@omp1025.mail.sg3.yahoo.com Received: (qmail 3261 invoked by uid 60001); 29 May 2013 04:24:40 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1369801480; bh=fYhOEDvZ6Kf4tjlEWgX4sOFK132OUfJ8uhZjIDzs3FI=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=XFZ0IHbxo+V4s3/cFoBXwR+5q1f7lZc/xDrS6UBVA/p3+zxHtDvGcdcvVPIkx/xkJLAbgVdRCI21UR93LU4KJQCAX1MEijkp7NtMbBQM6JrzLG50V6zMqWolWpzichlxU2HIUXMiWY9kM9a7jL6CwcYpoMYwTNqeLRkucQlfTRA= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Z+46qdcmsDTXffU0DJCSCGN/L+r+7LQ6L4PGHlhjEVF2Iuzed2QlUo0YGXXiNhbwKnXgsX7iSP438xAyi6aRiqWw4yA1N/9RyzOIURVa6pt0Kb4dhQhHiYuoisfrhp3mtPuv3JAVbcsuprB3CQQ8t4Bt0cZbvDZBI7ZA9SpB6lA=; X-YMail-OSG: HcW7wzIVM1kGpmz5X2d3HfWEXYUzapxkX.hOMyn.WyTV2Z3 SNU6VDBYNbRnf2uT3WyvYg2Omn9LFheQkZkjEHPDsQyh.kQFolq3zMdcP2nn HFNsI7QlgyWepeyAtjv86A1MCLitPEk6I4OsfK.j1usWpwzDnoseaL4yyvtT k.H.iuNFQo1m4OnzwNIpgJedBioBOl5K8Ji2SjjZfYr3wn791TpfIMDLUiCA ojUrM3nMppNT0mNrOHtj9B7PNXThFYBeb694uKxkhWe1NwgK7ubyMtb7bh7r K16wjIpcywtAw1I43rQg4L0cbW2r1v.0i7rqQTT31DnQpOUD70oRT1UWxuGz U6BO3uEBqsEhyxaEJdSVr5YCsBWvHUn4utqCwxeFwRFvgOBTITq0clD8gcIL W76_dIRaKh8cT4zj4A9Y06QIXJYWvzB8fXIx5lVxrSpaSGI0Hkwi5eJwQMY6 SxrD_QN0MiuhYlM1kGNp5E.EycZSK8C7ozSWj2tKZkE1GH_EPtiA30RMQa4j phR3OfYpwtveloyzQXv4gevsOU7jGKxVcbjoqkKME1hQ3EKhJBhdwbKaLW1c Hr1sfGK2cFW7JEh5wlmEs57KSA1BfZoAkNwJny59Sop2ajCVtyOQv13vkbh8 8zwhLq2ZUSkIkVCcS9brm3Kg1WwMcM_7NKEdKLq.CNN4BRKymkKv9 Received: from [103.245.47.20] by web190706.mail.sg3.yahoo.com via HTTP; Wed, 29 May 2013 12:24:39 SGT X-Rocket-MIMEInfo: 002.001, Cgo.WW91IHRoaW5rIGl0J3MgdHJpdmlhbCB1bnRpbCB5b3UgcmVhZCB0aGlzOgo.Cj5odHRwOi8vaW5maW5pdGV1bmRvLmNvbS9wb3N0LzI1MzI2OTk5NjI4L2ZhbHNlaG9vZHMtcHJvZ3JhbW1lcnMtYmVsaWV2ZS1hYm91dC10aW1lCj4KPklmIHlvdSBzbGVlcCBvbmUgaG91ciwgZG8geW91IHNsZWVwIG9uZSBob3VyIGZyb20gbm93IG9yIG9uZSBob3VyIGZyb20gCj50aGUgc3lzdGVtIGNsb2NrIHdoaWNoIG1heSBjaGFuZ2UgaW4gdGhlIG5leHQgaG91cj_CoCBJZiBpdCdzIHRoZSBzeXN0ZW0gCj5jbG9jaywBMAEBAQE- X-Mailer: YahooMailWebService/0.8.144.546 References: <20130528230140.A5B396F448@smtp.hushmail.com> <51A541B5.3010905@gmail.com> Message-ID: <1369801479.2670.YahooMailNeo@web190706.mail.sg3.yahoo.com> Date: Wed, 29 May 2013 12:24:39 +0800 (SGT) From: Quark Subject: Re: BSD sleep To: Joshua Isom , Kenta Suzumoto In-Reply-To: <51A541B5.3010905@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-current@freebsd.org" , "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Quark List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 04:27:02 -0000 =0A=0A>You think it's trivial until you read this:=0A>=0A>http://infiniteun= do.com/post/25326999628/falsehoods-programmers-believe-about-time=0A>=0A>If= you sleep one hour, do you sleep one hour from now or one hour from =0A>th= e system clock which may change in the next hour?=A0 If it's the system =0A= >clock, you may sleep for ten minutes or ten hours.=A0 If you need to sleep= =0A>for 3600 seconds, that's simple and understandable.=0A=0A=0Awhat is st= opping from interpreting 1h in similar manner to 3600? i.e. from now=0A From owner-freebsd-questions@FreeBSD.ORG Wed May 29 04:59:37 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DE58810A for ; Wed, 29 May 2013 04:59:37 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-ob0-x229.google.com (mail-ob0-x229.google.com [IPv6:2607:f8b0:4003:c01::229]) by mx1.freebsd.org (Postfix) with ESMTP id AE32B898 for ; Wed, 29 May 2013 04:59:37 +0000 (UTC) Received: by mail-ob0-f169.google.com with SMTP id up14so3570744obb.0 for ; Tue, 28 May 2013 21:59:37 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=+Ht+KMf5JfqvAEaC2oxxKpJZAYPVcaPS9qYLxqAV20Y=; b=Ju836OeA7dthvn8qbvr2tPKSKyqHz77H1FlNN+nC17+4KRfpPjiEscSKxK4D67lY3X jY9JWo4r98cUSrBl9Ud2SL28xM8Bnaj2kj8psacGY8WDi/tzO10kJyM/Tj+RvJV3djYC 827b+ZadNwzJVZ9RCDNx+FFY+ii39lVZK23jcwoQTrBeBhMc3Q3UJ/xEm+nZ8g+nK+Nl 20XkG4aE+AwlXoQyeRzPRC/q7VYQHv6TVj3rv3endLDY2nO2pXkLJxZ9M53RLk7aTAyi P2uCfCLpOVkCymNPaQRU6BGIYCSKxdbSUh6sbgeFbycscrkkFo5qPo00OlUGcPGJ3i0e 5lFw== MIME-Version: 1.0 X-Received: by 10.60.124.67 with SMTP id mg3mr640917oeb.1.1369803576893; Tue, 28 May 2013 21:59:36 -0700 (PDT) Received: by 10.60.56.198 with HTTP; Tue, 28 May 2013 21:59:36 -0700 (PDT) In-Reply-To: <51A541B5.3010905@gmail.com> References: <20130528230140.A5B396F448@smtp.hushmail.com> <51A541B5.3010905@gmail.com> Date: Tue, 28 May 2013 21:59:36 -0700 Message-ID: Subject: Re: BSD sleep From: Michael Sierchio To: Joshua Isom X-Gm-Message-State: ALoCoQlAskwmtkt4pcC2/GVsjedBQ290do2JOcbOK3eKodFAgdNY7s/w9g1YjQyorWP4poyTRlAy Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Kenta Suzumoto , freebsd-current@freebsd.org, FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 04:59:37 -0000 On Tue, May 28, 2013 at 4:45 PM, Joshua Isom wrote: > You think it's trivial until you read this: > > http://infiniteundo.com/post/**25326999628/falsehoods-** > programmers-believe-about-time > > Some days have 86400 seconds, some have 86401. There is a provision for two leap seconds to be applied at once, but that hasn't ever happened. Still, a truly correct clock, set to UTC, might someday read 23:59:59 23:59:60 23:59:61 00:00:00 How many seconds did that hour have? From owner-freebsd-questions@FreeBSD.ORG Wed May 29 06:13:09 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 49FE3ACC; Wed, 29 May 2013 06:13:09 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id EA723CE1; Wed, 29 May 2013 06:13:08 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.7/8.14.7) with ESMTP id r4T6Ctia060259 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 29 May 2013 07:13:03 +0100 (BST) (envelope-from matthew@FreeBSD.org) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk r4T6Ctia060259 Authentication-Results: smtp.infracaninophile.co.uk/r4T6Ctia060259; dkim=none reason="no signature"; dkim-adsp=none (unprotected policy) Message-ID: <51A59C60.3010709@FreeBSD.org> Date: Wed, 29 May 2013 07:12:48 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Michael Sierchio Subject: Re: BSD sleep References: <20130528230140.A5B396F448@smtp.hushmail.com> <51A541B5.3010905@gmail.com> In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2IWTWOFKWKXRMQFOALULR" X-Virus-Scanned: clamav-milter 0.97.8 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: Kenta Suzumoto , Joshua Isom , FreeBSD Questions , freebsd-current@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 06:13:09 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2IWTWOFKWKXRMQFOALULR Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 29/05/2013 05:59, Michael Sierchio wrote: > On Tue, May 28, 2013 at 4:45 PM, Joshua Isom wrote: >=20 >=20 >> You think it's trivial until you read this: >> >> http://infiniteundo.com/post/**25326999628/falsehoods-** >> programmers-believe-about-time >> >> > Some days have 86400 seconds, some have 86401. There is a provision fo= r > two leap seconds to be applied at once, but that hasn't ever happened. > Still, a truly correct clock, set to UTC, might someday read >=20 > 23:59:59 > 23:59:60 > 23:59:61 > 00:00:00 >=20 > How many seconds did that hour have? Right. The fact that on very rare occasions a minute may not have 60 seconds in it plus many other corner cases in calculating the current wall-clock time is an amusing irrelevance. First of all, sleep deals in local elapsed time, which is a well defined property even if the displayed wall-clock time would be all over the place due to DST changes or relativistic effects or whatever. In this case, I'd be pretty surprised if GNU sleep's algorithm was anything more complicated than to convert the stated time into seconds and then sleep that number of seconds. And to do that conversion, it wwould just define one minute as 60 seconds, one hour as 60 minutes, one day as 24 hours, one week as 7 days, perhaps one month as 30 days, one year as 365 days[*]. Sure, it's simplistic and unsophisticated, but as an engineering solution it's good enough for the vast majority of purposes. Cheers, Matthew [*] I haven't checked on GNU sleep, but (for example) this is exactly what dnssec-keygen(8) does. --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey ------enig2IWTWOFKWKXRMQFOALULR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlGlnGcACgkQ8Mjk52CukIxjWgCfYsDszXTxMIsq6GSIanZKaBfg VMkAn16VkWFmjQQlfnj6lXizS7EjCiC2 =sH69 -----END PGP SIGNATURE----- ------enig2IWTWOFKWKXRMQFOALULR-- From owner-freebsd-questions@FreeBSD.ORG Wed May 29 07:33:57 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C1E5F1EE for ; Wed, 29 May 2013 07:33:57 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id 5FF5C134 for ; Wed, 29 May 2013 07:33:56 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.5/8.14.5) with ESMTP id r4T7Xsmh048659; Wed, 29 May 2013 08:33:55 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Message-ID: <51A5AF62.4070709@qeng-ho.org> Date: Wed, 29 May 2013 08:33:54 +0100 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: Michael Sierchio Subject: Re: BSD sleep References: <20130528230140.A5B396F448@smtp.hushmail.com> <51A541B5.3010905@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 07:33:57 -0000 On 05/29/13 05:59, Michael Sierchio wrote: > On Tue, May 28, 2013 at 4:45 PM, Joshua Isom wrote: > > >> You think it's trivial until you read this: >> >> http://infiniteundo.com/post/**25326999628/falsehoods-** >> programmers-believe-about-time >> >> > Some days have 86400 seconds, some have 86401. There is a provision for > two leap seconds to be applied at once, but that hasn't ever happened. A little pedantic nitpick: no there isn't, that was caused by an initial misreading of the definition of leap seconds. There *can* be two leap seconds in a year (which is what caused the confusion), but if that happens one will be at the end of June and the other at the end of December, they'll not happen together. Theoretically it's possible to have a negative leap second, but as that would require the Earth's core to collapse enough to spin it faster or a hit from a massive impactor, I'd rather not be around to see it. :-} -- In the dungeons of Mordor, Sauron bred Orcs with LOLcats to create a new race of servants. Called Uruk-Oh-Hai in the Black Speech, they were cruel and delighted in torturing spelling and grammar. _Lord of the Rings 2.0, the Web Edition_ From owner-freebsd-questions@FreeBSD.ORG Wed May 29 07:36:53 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 24ECB2A8 for ; Wed, 29 May 2013 07:36:53 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id B78F9150 for ; Wed, 29 May 2013 07:36:52 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.5/8.14.5) with ESMTP id r4T7apQ9048668; Wed, 29 May 2013 08:36:51 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Message-ID: <51A5B013.5020905@qeng-ho.org> Date: Wed, 29 May 2013 08:36:51 +0100 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: Pol Hallen Subject: Re: openvpn and tap device References: <51A52C3F.6010809@fuckaround.org> In-Reply-To: <51A52C3F.6010809@fuckaround.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD-Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 07:36:53 -0000 On 05/28/13 23:14, Pol Hallen wrote: > Hi all! > > I installed openvpn (I use it like client). > > There isn't any "openvpn_enable=YES" and openvpn_if="tap" in rc.conf but > after start openvpn I can connect to openvpn server and clients. > > ifconfig doesn't show me any tap interface > > is it a correct situation? It's a while since I looked at OpenVPN, so this is from unreliable memory, but IIRC it uses tap devices under Windows and tun devices under Unix(ish) OSes. Do you see tun0 appear? -- In the dungeons of Mordor, Sauron bred Orcs with LOLcats to create a new race of servants. Called Uruk-Oh-Hai in the Black Speech, they were cruel and delighted in torturing spelling and grammar. _Lord of the Rings 2.0, the Web Edition_ From owner-freebsd-questions@FreeBSD.ORG Wed May 29 08:00:43 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7310475C for ; Wed, 29 May 2013 08:00:43 +0000 (UTC) (envelope-from ml@netfence.it) Received: from smtp.eutelia.it (mp1-smtp-6.eutelia.it [62.94.10.166]) by mx1.freebsd.org (Postfix) with ESMTP id 2D8BA252 for ; Wed, 29 May 2013 08:00:42 +0000 (UTC) Received: from ns2.biolchim.it (ip-188-188.sn2.eutelia.it [83.211.188.188]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.eutelia.it (Eutelia) with ESMTP id ECA666609D3 for ; Wed, 29 May 2013 10:00:34 +0200 (CEST) Received: from soth.ventu (adsl-ull-208-226.41-151.net24.it [151.41.226.208]) (authenticated bits=0) by ns2.biolchim.it (8.14.7/8.14.7) with ESMTP id r4T80NMw012738 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Wed, 29 May 2013 10:00:27 +0200 (CEST) (envelope-from ml@netfence.it) X-Authentication-Warning: ns2.biolchim.it: Host adsl-ull-208-226.41-151.net24.it [151.41.226.208] claimed to be soth.ventu Received: from alamar.ventu (alamar.ventu [10.1.2.18]) by soth.ventu (8.14.7/8.14.5) with ESMTP id r4T80BDH018728; Wed, 29 May 2013 10:00:11 +0200 (CEST) (envelope-from ml@netfence.it) Message-ID: <51A5B58B.906@netfence.it> Date: Wed, 29 May 2013 10:00:11 +0200 From: Andrea Venturoli User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130518 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org, freebsd@qeng-ho.org Subject: Re: openvpn and tap device References: <51A52C3F.6010809@fuckaround.org> <51A5B013.5020905@qeng-ho.org> In-Reply-To: <51A5B013.5020905@qeng-ho.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.73 X-Scanned-By: MIMEDefang 2.73 on 10.1.2.13 X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (ns2.biolchim.it [192.168.2.203]); Wed, 29 May 2013 10:00:27 +0200 (CEST) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 08:00:43 -0000 On 05/29/13 09:36, Arthur Chance wrote: > It's a while since I looked at OpenVPN, so this is from unreliable > memory, but IIRC it uses tap devices under Windows and tun devices under > Unix(ish) OSes. It can use tun OR tap device on both Unix(ish) (and IIRC the same holds for Windows). > Do you see tun0 appear? Yes (unless I use a tap based setup). bye av. From owner-freebsd-questions@FreeBSD.ORG Wed May 29 10:40:04 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7036F139 for ; Wed, 29 May 2013 10:40:04 +0000 (UTC) (envelope-from v.velox@vvelox.net) Received: from vulpes.vvelox.net (vulpes.vvelox.net [99.69.115.42]) by mx1.freebsd.org (Postfix) with ESMTP id 42387D90 for ; Wed, 29 May 2013 10:40:03 +0000 (UTC) Received: from vixen42 (vixen42.vulpes.vvelox.net [192.168.15.2]) (Authenticated sender: kitsune) by vulpes.vvelox.net (Postfix) with ESMTPA id 06E3C3F775 for ; Wed, 29 May 2013 05:39:44 -0500 (CDT) Date: Wed, 29 May 2013 05:37:13 -0500 From: "Zane C. B-H." To: freebsd-questions@freebsd.org Subject: Re: using ports or gems (easy_install) Message-ID: <20130529053713.07a75c6c@vixen42> In-Reply-To: <20130528130615.GA48534@pcjas.obspm.fr> References: <20130528074039.GA47407@pcjas.obspm.fr> <201305280750.r4S7oPCX044852@banyan.cs.ait.ac.th> <20130528130615.GA48534@pcjas.obspm.fr> X-Mailer: Claws Mail 3.9.1 (GTK+ 2.24.18; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: base64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 10:40:04 -0000 T24gVHVlLCAyOCBNYXkgMjAxMyAxNTowNjoxNSArMDIwMA0KQWxiZXJ0IFNoaWggPEFsYmVydC5T aGloQG9ic3BtLmZyPiB3cm90ZToNCg0KPiAgTGUgMjgvMDUvMjAxMyA/IDE0OjUwOjI1KzA3MDAs IE9saXZpZXIgTmljb2xlIGEg6WNyaXQNCj4gPiBIaSwNCj4gPiANCj4gPiA+IEkgd291bGQgbGlr ZSB0byBrbm93biBob3cgeW91IG1hbmFnZSB5b3VyIGdlbSAocnVieSkgb3INCj4gPiA+IGVhc3lp bnN0YWxsIChweXRob24pLiBEbyB5b3UgdXNlIHBvcnRzID8gb3IgZGlyZWN0bHkgZ2VtcyBvcg0K PiA+ID4gZWFzeWluc3RhbGwgPyBvciBib3RoID8gDQo+ID4gDQo+ID4gQXMgZmFyIGFzIEkgY2Fu LCBJIHVzZSBwb3J0cywgZm9yIGNvbnNpc3RlbmN5Lg0KPiANCj4gTWUgdG9vLiBCdXQgd2hhdCB5 b3UgZG8gd2hlbiB5b3UgY2Fubm90ID8gKExpa2UgdGhlIHBvcnRzIGRvbid0DQo+IGV4aXN0KSA/ IA0KPiANCj4gSSBzZWUgdGhyZWUgcG9zc2liaWxpdHkgOiANCj4gDQo+ICAgICAxLyB3cml0ZSB0 aGUgcG9ydHMgKHVuZm9ydHVuYXRlbHkgbm90IGZvciBtZSkNCj4gDQo+ICAgICAyLyB3YWl0IHVu dGlsIHNvbWVvbmUgZG9lcyAobWFueSB0aW1lIGl0J3MgaW1wb3NzaWJsZSkNCj4gDQo+ICAgICAz LyB1c2UgZWFzeV9pbnN0YWxsIG9yIGdlbQ0KDQpJdCBpcyBlYXN5IHRvIGxlYXJuLiBJIHdvdWxk IHN0cm9uZ2x5IHN1Z2dlc3QgbGVhcm5pbmcgaXQsIGV2ZW4gaWYNCnlvdSBqdXN0IG1haW50YWlu IHRoZSBwb3J0cyB5b3Vyc2VsZiBhbmQgZG9uJ3QgY29udHJpYnV0ZSB0aGVtIHRvIHRoZQ0KcG9y dHMgdHJlZS4gRG9pbmcgc28gd2lsbCBkcmFzdGljYWxseSBpbXByb3ZlIHRoZSBtYW5hZ2VhYmls aXR5IG9mDQp5b3VyIHN5c3RlbS4NCg0KaHR0cDovL3d3dy5mcmVlYnNkLm9yZy9kb2MvZW5fVVMu SVNPODg1OS0xL2Jvb2tzL3BvcnRlcnMtaGFuZGJvb2svDQo= From owner-freebsd-questions@FreeBSD.ORG Wed May 29 10:50:53 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3C1DA359 for ; Wed, 29 May 2013 10:50:53 +0000 (UTC) (envelope-from alexl@mellanox.com) Received: from eu1sys200aog117.obsmtp.com (eu1sys200aog117.obsmtp.com [207.126.144.143]) by mx1.freebsd.org (Postfix) with ESMTP id 567F6E3C for ; Wed, 29 May 2013 10:50:51 +0000 (UTC) Received: from MTLCAS01.mtl.com ([193.47.165.155]) (using TLSv1) by eu1sys200aob117.postini.com ([207.126.147.11]) with SMTP ID DSNKUaXdhU5Kr4wER4kxPq7w9yTqKmE1gbxW@postini.com; Wed, 29 May 2013 10:50:52 UTC Received: from MTLDAG01.mtl.com ([10.0.8.75]) by MTLCAS01.mtl.com ([10.0.8.71]) with mapi id 14.03.0123.003; Wed, 29 May 2013 13:28:37 +0300 From: Alex Liptsin To: "freebsd-questions@freebsd.org" Subject: How can I unload/load modules that complied inside the kernel? Thread-Topic: How can I unload/load modules that complied inside the kernel? Thread-Index: Ac5cV0cx4M98alznSxGgPd1gR8MLdg== Date: Wed, 29 May 2013 10:28:37 +0000 Message-ID: <64DAB3164E410447932305F50F896D8D6AF65F61@MTLDAG01.mtl.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.13.1] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 10:50:53 -0000 Hello. I am using FreeBSD9.1 [root@h-qa-033 ~]# uname -a FreeBSD h-qa-033 9.1-RELEASE FreeBSD 9.1-RELEASE #0: Tue May 28 11:26:45 ID= T 2013 root@h-qa-033:/usr/obj/lab/odeds/freebsd/9.1.0/sys/MYKERNEL amd= 64 OFED and IB support are compiled in kernel. 1. How can I unload/load modules that complied inside the kernel? [root@h-qa-033 ~]# kldstat -v | grep mlx4 -B 5 Id Refs Address Size Name 1 10 0xffffffff80200000 13dcbf8 kernel (/boot/kernel/kernel) Contains modules: Id Name 420 mlxen 418 mlx4ib 419 mlx4 I want to unload/load mlx4ib. 2. Is there any way to take it out of kernel and load manually? Like if_lagg for example: [root@h-qa-033 ~]# kldstat Id Refs Address Size Name 1 10 0xffffffff80200000 13dcbf8 kernel 3 1 0xffffffff81812000 2197 if_mos.ko 4 1 0xffffffff81815000 690a if_lagg.ko Thanks a lot. Alex. From owner-freebsd-questions@FreeBSD.ORG Wed May 29 10:55:09 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8C918495 for ; Wed, 29 May 2013 10:55:09 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 3CE54E89 for ; Wed, 29 May 2013 10:55:08 +0000 (UTC) Received: from mail.cs.ait.ac.th (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id CBB9CFEBD4; Wed, 29 May 2013 17:55:00 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= references:subject:subject:in-reply-to:from:from:message-id:date :date:received:received:received; s=selector1; t=1369824900; x= 1371639301; bh=mMmsuVcMUlz7mP0rq7twlzdecmaNNU/sOX+qJgHMQp4=; b=i yy3ExsPiJdmCLua5V01M+NpcZBc6TdjnpkGF/yPrCDXR1cLE0PGeCVYtI//TTWyP 8Xvy+Y7U7vrx14N8xycsNJP/iYRJQ2LQ8pqgMfXtvRrRDYhUe7JN/KcnEM263T/i DDXTGtJXku63GbIoyVpXvV5C0Vz2F0WlYmWMEnni1M= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by mail.cs.ait.ac.th (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id oHATSw6VCtOp; Wed, 29 May 2013 17:55:00 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id 784B3FEBCD; Wed, 29 May 2013 17:55:00 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.6/8.14.6/Submit) id r4TAsxF3074919; Wed, 29 May 2013 17:54:59 +0700 (ICT) (envelope-from on) Date: Wed, 29 May 2013 17:54:59 +0700 (ICT) Message-Id: <201305291054.r4TAsxF3074919@banyan.cs.ait.ac.th> From: Olivier Nicole To: alexl@mellanox.com In-reply-to: <64DAB3164E410447932305F50F896D8D6AF65F61@MTLDAG01.mtl.com> (message from Alex Liptsin on Wed, 29 May 2013 10:28:37 +0000) Subject: Re: How can I unload/load modules that complied inside the kernel? References: <64DAB3164E410447932305F50F896D8D6AF65F61@MTLDAG01.mtl.com> Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 10:55:09 -0000 > [root@h-qa-033 ~]# uname -a > FreeBSD h-qa-033 9.1-RELEASE FreeBSD 9.1-RELEASE #0: Tue May 28 11:26:45 IDT 2013 root@h-qa-033:/usr/obj/lab/odeds/freebsd/9.1.0/sys/MYKERNEL amd64 > > OFED and IB support are compiled in kernel. > > > 1. How can I unload/load modules that complied inside the kernel? kldload and kldunload should be what you are looking for. Olivier From owner-freebsd-questions@FreeBSD.ORG Wed May 29 11:20:32 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8171FC41 for ; Wed, 29 May 2013 11:20:32 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 450F596 for ; Wed, 29 May 2013 11:20:32 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UheQ0-0006H2-MN for freebsd-questions@freebsd.org; Wed, 29 May 2013 13:20:30 +0200 Received: from 79-139-19-75.prenet.pl ([79-139-19-75.prenet.pl]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 May 2013 13:19:48 +0200 Received: from jb.1234abcd by 79-139-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 May 2013 13:19:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Subject: Re: "swap" partition leads to instability? Date: Wed, 29 May 2013 11:19:32 +0000 (UTC) Lines: 22 Message-ID: References: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> <1369644392.92027.YahooMailNeo@web165003.mail.bf1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 79.139.19.75 (Mozilla/5.0 (X11; Linux i686; rv:21.0) Gecko/20100101 Firefox/21.0) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 11:20:32 -0000 Fred Morcos gmail.com> writes: > .. > The improvement effect can be > noticed on large inputs. These algorithms will most probably perform quite > badly on small inputs. I think your concern has been addressed in review of various algos where base case identification helped to avoid overhead cost in small problem sizes relative to cache. http://erikdemaine.org/papers/BRICS2002/paper.pdf In light of available but not implemented better VMM algos, perhaps *BSD and Linux could eliminate or reduce the need for: - swap space - swapping out RAM even if there is no lack of it - overcommitment of memory (a bluff asking to be punished by OOM killer) - OOM killer Besides, they allow sloppy/dangerous programming. jb From owner-freebsd-questions@FreeBSD.ORG Wed May 29 11:38:38 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 063A010E; Wed, 29 May 2013 11:38:38 +0000 (UTC) (envelope-from yerenkow@gmail.com) Received: from mail-pb0-x233.google.com (mail-pb0-x233.google.com [IPv6:2607:f8b0:400e:c01::233]) by mx1.freebsd.org (Postfix) with ESMTP id D2CB518A; Wed, 29 May 2013 11:38:37 +0000 (UTC) Received: by mail-pb0-f51.google.com with SMTP id jt11so9067517pbb.38 for ; Wed, 29 May 2013 04:38:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=52+f6DkQGSiqjofDdzyCkrfq3wsdjttSO2HlyCXpHps=; b=oHU9cqQv5MtyETz9rvXcaRspurVarbY20+yA2DryJBQbsQtJjkupexdbve/P67B89d DcFP3hXoM8MbINwseoaFKNoIBIp1KOmJYPWdmTlhDNpaQb/SSlMniJbV+T9MvkU7xV1X dlbW1XuLK6R5NRsh6YooehBo5amfc8J0ZGizZHYPO7p0HY+7GMWL6RxEIFkn93Ks5x2o /xD2NgM6Bty82EdNeDnZ/y/aAZYSvsU9Kkl3bMj5uIczLd4Fl2X8HBiG4J/zxMdlS4vr fpt1P4ReJJ1ho48yVozcpaPjy9uJlGu8My8erCBJ5IVlOFyWiP0zUjOAQ8Hq5BM1Cgb0 DqTw== MIME-Version: 1.0 X-Received: by 10.68.176.133 with SMTP id ci5mr2483181pbc.21.1369827517605; Wed, 29 May 2013 04:38:37 -0700 (PDT) Received: by 10.68.239.103 with HTTP; Wed, 29 May 2013 04:38:37 -0700 (PDT) In-Reply-To: <1369801479.2670.YahooMailNeo@web190706.mail.sg3.yahoo.com> References: <20130528230140.A5B396F448@smtp.hushmail.com> <51A541B5.3010905@gmail.com> <1369801479.2670.YahooMailNeo@web190706.mail.sg3.yahoo.com> Date: Wed, 29 May 2013 14:38:37 +0300 Message-ID: Subject: Re: BSD sleep From: Alexander Yerenkow To: Quark Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Kenta Suzumoto , Joshua Isom , "freebsd-questions@freebsd.org" , "freebsd-current@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 11:38:38 -0000 >what is stopping from interpreting 1h in similar manner to 3600? i.e. from now No, this is user-friendly, and thus can't be done :) But if think a second, sleep is used rarely by average users, mostly by programmers and other scripts, and they should know better what they are doing. Seriously, that explanation about different hours is not enough to prevent at least useful option. like sleep -f 1h (-f means force convert, without it you can see good explanation why sleep for 1 hour will be not sleep for 1 hour, and etc, and not get sleep at all.). Exact units in which sleeps happens (seconds, ticks, minutes, years) can be described in manual page, even without accepting m,h - that info would be useful for one. P.S. There is already non-portable feature in sleep - non-integer, and I'm sure that no one thought about some financists from various countries, who used to specify long numbers with separator, e.g. 3.600, and this means for them one hour and not 3 point 6 seconds. -- Regards, Alexander Yerenkow From owner-freebsd-questions@FreeBSD.ORG Wed May 29 11:04:53 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E7B3E712; Wed, 29 May 2013 11:04:53 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2E508F32; Wed, 29 May 2013 11:04:52 +0000 (UTC) Received: by mail-ee0-f54.google.com with SMTP id e50so5329390eek.41 for ; Wed, 29 May 2013 04:04:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=1/Ip5YJCcJei+epzWcI30TKYV+lICnSavghIVUiljDw=; b=g6UDtKEIEQgtlNlaQ3EH9NWlgl6Wdt3HDtB9U9wxlF2QE3FmbhNHe5GXA5AwImCGXC fQx3eIEucogWtbl036EnBzxmCy9iKjNSEY2alvazJg4v+MIGuyeKKSGI/akxZwV1I1Os 0500SBEX5NMOlP1pnzp2EWWrB6tgFVnDsQbkuS9dhteVN+5b7W5yZA3ajIODM86mRBns kvhE+F4dPovlh6cV9dZbxew27NTfH+i/SkF6ARNZAZ4gVoCpyU7yivpNOq8v+hCAZ+jN mqZqVHEUro/yztdIZqdIGbfGihVnCI6tNvaEn9IH68f2/WiQOtmfo0zMgSSrLYX7ZYAk xR+g== MIME-Version: 1.0 X-Received: by 10.15.73.133 with SMTP id h5mr2255533eey.118.1369825487716; Wed, 29 May 2013 04:04:47 -0700 (PDT) Received: by 10.15.23.76 with HTTP; Wed, 29 May 2013 04:04:47 -0700 (PDT) Received: by 10.15.23.76 with HTTP; Wed, 29 May 2013 04:04:47 -0700 (PDT) In-Reply-To: <51A59C60.3010709@FreeBSD.org> References: <20130528230140.A5B396F448@smtp.hushmail.com> <51A541B5.3010905@gmail.com> <51A59C60.3010709@FreeBSD.org> Date: Wed, 29 May 2013 12:04:47 +0100 Message-ID: Subject: Re: BSD sleep From: Chris Rees To: Matthew Seaman X-Mailman-Approved-At: Wed, 29 May 2013 11:42:04 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Kenta Suzumoto , Joshua Isom , Michael Sierchio , FreeBSD Questions , freebsd-current@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 11:04:54 -0000 On 29 May 2013 07:13, "Matthew Seaman" wrote: > > On 29/05/2013 05:59, Michael Sierchio wrote: > > On Tue, May 28, 2013 at 4:45 PM, Joshua Isom wrote: > > > > > >> You think it's trivial until you read this: > >> > >> http://infiniteundo.com/post/**25326999628/falsehoods-** > >> programmers-believe-about-time< http://infiniteundo.com/post/25326999628/falsehoods-programmers-believe-about-time > > >> > >> > > Some days have 86400 seconds, some have 86401. There is a provision for > > two leap seconds to be applied at once, but that hasn't ever happened. > > Still, a truly correct clock, set to UTC, might someday read > > > > 23:59:59 > > 23:59:60 > > 23:59:61 > > 00:00:00 > > > > How many seconds did that hour have? > > Right. The fact that on very rare occasions a minute may not have 60 > seconds in it plus many other corner cases in calculating the current > wall-clock time is an amusing irrelevance. > > First of all, sleep deals in local elapsed time, which is a well defined > property even if the displayed wall-clock time would be all over the > place due to DST changes or relativistic effects or whatever. > > In this case, I'd be pretty surprised if GNU sleep's algorithm was > anything more complicated than to convert the stated time into seconds > and then sleep that number of seconds. And to do that conversion, it > wwould just define one minute as 60 seconds, one hour as 60 minutes, one > day as 24 hours, one week as 7 days, perhaps one month as 30 days, one > year as 365 days[*]. Sure, it's simplistic and unsophisticated, but as > an engineering solution it's good enough for the vast majority of > purposes. OK, but is this really something the OS should handle? I'm sure sleep `expr 3600 \* 2` will suffice and is perfectly readable, including being more portable. Why should we keep putting these weird "extensions" in? At some point it just becomes fiddling, and yet another source of error when porting.... Chris From owner-freebsd-questions@FreeBSD.ORG Wed May 29 11:57:53 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C1FDC89F for ; Wed, 29 May 2013 11:57:53 +0000 (UTC) (envelope-from fred.morcos@gmail.com) Received: from mail-ie0-x236.google.com (mail-ie0-x236.google.com [IPv6:2607:f8b0:4001:c03::236]) by mx1.freebsd.org (Postfix) with ESMTP id 94A682E3 for ; Wed, 29 May 2013 11:57:53 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id a14so24352542iee.41 for ; Wed, 29 May 2013 04:57:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=qpBZ/xUD+zKwQDvrhePfhysNF/PzEO0JUwm5mpLzGvQ=; b=vzUscLfxRCfRAJRlbmO61yerHTbUVsmD7qUj0oQ1fVzAPdOPNUuS3evqDKUo7WYgPI zaVTgAElDTn8NavDoWEPQwlqUlBn8HffmG5S1513iXlwEHxP8lsUjkopGURZ5F1XSaZ+ YuzqKGFutcb3pEXByGn/nMi8pZRV7OHd1RrGOvp3E82niTRDNCD8UeIiSi1GIpe7tQ4V okZE+3GuXu0leswVDRN4DO+YGL7Pyu9XKZ+BEX9WMbjR/C0Uk1nu4e8LbsPSunuxArDP voagO8LvxW0jL6AG4k0DtSLj5WISMt4KWq0hJJSuifPY7uaTloT82texBfHOp9qIs5BM qgFw== X-Received: by 10.42.63.133 with SMTP id c5mr889839ici.41.1369828672363; Wed, 29 May 2013 04:57:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.7.136 with HTTP; Wed, 29 May 2013 04:57:22 -0700 (PDT) In-Reply-To: References: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> <1369644392.92027.YahooMailNeo@web165003.mail.bf1.yahoo.com> From: Fred Morcos Date: Wed, 29 May 2013 13:57:22 +0200 Message-ID: Subject: Re: "swap" partition leads to instability? To: jb Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 11:57:53 -0000 On Wed, May 29, 2013 at 1:19 PM, jb wrote: > Fred Morcos gmail.com> writes: > > > .. > > The improvement effect can be > > noticed on large inputs. These algorithms will most probably perform > quite > > badly on small inputs. > > I think your concern has been addressed in review of various algos where > base > case identification helped to avoid overhead cost in small problem sizes > relative to cache. > http://erikdemaine.org/papers/BRICS2002/paper.pdf > I will check the paper out after work, but for clarification: "Also, properly written cache-oblivious algorithms tend to recursively decompose the problem until it is small enough to fit in a cache and solve each part iteratively." <-- refers to the base case. The issue is when the input is small enough to be solved faster iteratively but too large to fit in the cache. Also note that this is extremely machine and cache-dependent. Still, I will check the paper out :) thanks. > > In light of available but not implemented better VMM algos, perhaps *BSD > and > Linux could eliminate or reduce the need for: > - swap space > I run Archlinux without any swap space on a workstation laptop without problems. I occasionally fallocate a swapfile when I need to build GHC (usually in /tmp to make use of tmpfs). > - swapping out RAM even if there is no lack of it > Linux has a sysctl variable vm.swappiness which you can set to 0 or 1 out of 100. Not sure how to achieve the same on FreeBSD, maybe one or more combinations of the following? vm.swap_idle_threshold2: 10 vm.swap_idle_threshold1: 2 vm.stats.vm.v_swappgsout: 236969 vm.stats.vm.v_swappgsin: 28411 vm.stats.vm.v_swapout: 92607 vm.stats.vm.v_swapin: 28285 vm.disable_swapspace_pageouts: 0 vm.defer_swapspace_pageouts: 0 vm.swap_idle_enabled: 0 > - overcommitment of memory (a bluff asking to be punished by OOM killer) > - OOM killer > Besides, they allow sloppy/dangerous programming. > > jb > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Wed May 29 11:58:16 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CC29993C for ; Wed, 29 May 2013 11:58:16 +0000 (UTC) (envelope-from jbirch@jbirch.net) Received: from mail-ob0-x233.google.com (mail-ob0-x233.google.com [IPv6:2607:f8b0:4003:c01::233]) by mx1.freebsd.org (Postfix) with ESMTP id 9A1DD2F5 for ; Wed, 29 May 2013 11:58:16 +0000 (UTC) Received: by mail-ob0-f179.google.com with SMTP id xk17so796749obc.10 for ; Wed, 29 May 2013 04:58:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:content-type:x-gm-message-state; bh=OlWU4juSr49ng8FJNxVAU+6iKoQK0vakyeCXOyYrkZg=; b=le6zUJ7/KAoNdz1tF9F0T7nU3BDGBm26DGCFUeTVzE8413+omoymPjA+NNwHQgoUqn 2qPdmlirCIm9Gpxkq4pb12H8E8oEElNr1gIhvp7345IXw6+MyRwKR4alWW8JjirgtNPF Yz0AZx/OfkduA0QA6lpJ6/D5tmZOZsiz07IS/7t+zpIasaZq/zmwQn0c/YfytVuDgvgf YDdyM18jrSUIw4i4NEUIjj6onwLrN4y+yn83XmCtswvoXIYJIz8nRp272yE1+uZTMYN+ rEYvb74ANtFGCKrWnnAhmmYj4WK5pSiy3B57CV1JK8NoPkus9zaCKKlnZ+W56R/fBIql EwVg== MIME-Version: 1.0 X-Received: by 10.60.37.133 with SMTP id y5mr1329658oej.123.1369828696175; Wed, 29 May 2013 04:58:16 -0700 (PDT) Received: by 10.182.55.35 with HTTP; Wed, 29 May 2013 04:58:16 -0700 (PDT) X-Originating-IP: [49.176.128.84] In-Reply-To: References: <20130528230140.A5B396F448@smtp.hushmail.com> <51A541B5.3010905@gmail.com> <1369801479.2670.YahooMailNeo@web190706.mail.sg3.yahoo.com> Date: Wed, 29 May 2013 21:58:16 +1000 Message-ID: Subject: Re: BSD sleep From: Jason Birch To: "freebsd-current@freebsd.org" , "freebsd-questions@freebsd.org" X-Gm-Message-State: ALoCoQn3tNt+3lOBmwMkHO+K5DWIq2ErNN7lRLYi6dosBUhccWuaVlm9/O6SskgH6MtDBBkKezZf Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 11:58:17 -0000 > Seriously, that explanation about different hours is not enough to prevent > at least useful option. > like > sleep -f 1h > (-f means force convert, without it you can see good explanation why sleep > for 1 hour will be not sleep for 1 hour, and etc, and not get sleep at > all.). > Do one thing, and do it well. What you have proposed involves: * an additional force flag * interpolation of what follows the force flag (does m mean minutes, or months?) * expectations around time, time zones, and what an hours is. That fails the litmus test on complexity for me personally - it seems like a lot of complexity for not much gain. > P.S. There is already non-portable feature in sleep - non-integer, and I'm > sure that no one thought about some financists from various countries, who > used to specify long numbers with separator, e.g. 3.600, and this means for > them one hour and not 3 point 6 seconds. > This isn't a good reason for adding another non-portable feature. From owner-freebsd-questions@FreeBSD.ORG Wed May 29 12:11:04 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id BB442F9B; Wed, 29 May 2013 12:11:04 +0000 (UTC) (envelope-from yerenkow@gmail.com) Received: from mail-pb0-x22d.google.com (mail-pb0-x22d.google.com [IPv6:2607:f8b0:400e:c01::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 94124637; Wed, 29 May 2013 12:11:04 +0000 (UTC) Received: by mail-pb0-f45.google.com with SMTP id mc17so9114834pbc.32 for ; Wed, 29 May 2013 05:11:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=fZhQf8xGG2bCQutx/KvIGvPTHWufCXYB05kHxEWT/nk=; b=zZ2xHn/pbvxebYx7MvyV2bqEQvZFISWOXz2uhd/Y6D0AWdtcIlElY4RgOJq4QCxUNw NCx5SQTTTE7mEE/RheNyV8crc9cRwQev491dvD36fV1Uly078DOKc21c4vUr00whiiSX UHSGKDvW8Gx97ofRynGLC3rx7kgJGqMdftXiS/KESkjxPnUiB+E4AmV9CqJjd4+qUKGY nVM5cn3diRz9mMZmN1D3/sNBwpbNxu9AVaZYbI+HgbtLE+7eh3hI0+0sLE/ZQOg9mmJm ckbGvjlwJOtJYncZarcddlqB9U1Rl3Pr7+Asy+qnS4jiQZ3vcqGBxXZHDKY5OIj00Z8/ KGUQ== MIME-Version: 1.0 X-Received: by 10.67.5.8 with SMTP id ci8mr3101468pad.48.1369829464418; Wed, 29 May 2013 05:11:04 -0700 (PDT) Received: by 10.68.239.103 with HTTP; Wed, 29 May 2013 05:11:04 -0700 (PDT) In-Reply-To: References: <20130528230140.A5B396F448@smtp.hushmail.com> <51A541B5.3010905@gmail.com> <1369801479.2670.YahooMailNeo@web190706.mail.sg3.yahoo.com> Date: Wed, 29 May 2013 15:11:04 +0300 Message-ID: Subject: Re: BSD sleep From: Alexander Yerenkow To: Jason Birch Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-current@freebsd.org" , "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 12:11:04 -0000 I'm just saying that there's pretty space for discussion. If someone raised this now, why not discuss it now. > If you sleep one hour, do you sleep one hour from now or one hour from the system clock which may change in the next hour? If it's the system clock, you may sleep for ten minutes or ten hours. If you need to sleep for 3600 seconds, that's simple and understandable. How about rephrase it: > If you sleep 3600 seconds, do you sleep 3600 seconds from now or 3600 seconds from the system clock which may change in the next hour? If it's the system clock, you may sleep for ten minutes or ten hours. How "way of specifying period" changing the fact that "internal minimal unit of sleep" is not clearly specified in manpage? Also, there no info on how DST/ ntp time changes affects of running sleeps. I don't see right now how new flag (which currently if specified makes `sleep` exit with help), could break something, but I see that this is could be useful in some cases. This also raise question what sleep should do if something specified incorrectly, like sleep 2h30m30m , or 1h1h or else. And also if any changes would be accepted, this should be specified in manpage (that one about `m` as month). About non-portable feature with non-integers, it was just side observation. -- Regards, Alexander Yerenkow From owner-freebsd-questions@FreeBSD.ORG Wed May 29 12:31:42 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 749836D3 for ; Wed, 29 May 2013 12:31:42 +0000 (UTC) (envelope-from k.oikonomou@att.net) Received: from nm16.access.bullet.mail.mud.yahoo.com (nm16.access.bullet.mail.mud.yahoo.com [66.94.237.217]) by mx1.freebsd.org (Postfix) with ESMTP id 32DE1820 for ; Wed, 29 May 2013 12:31:41 +0000 (UTC) Received: from [66.94.237.194] by nm16.access.bullet.mail.mud.yahoo.com with NNFMP; 29 May 2013 12:28:29 -0000 Received: from [98.139.221.49] by tm5.access.bullet.mail.mud.yahoo.com with NNFMP; 29 May 2013 12:28:28 -0000 Received: from [127.0.0.1] by smtp102.sbc.mail.bf1.yahoo.com with NNFMP; 29 May 2013 12:28:28 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=att.net; s=s1024; t=1369830508; bh=slHxrDMHUo4wVxRHphSU8iTUXlZnhAHLrFccBULqgGs=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Message-ID:Date:From:Organization:User-Agent:MIME-Version:To:Subject:Content-Type:Content-Transfer-Encoding; b=GY/EbpeUi245JWQ6ZPl9nOTZ7trlELrBBIVEfzrduTqaiamDWpIlYsydZeRnhniHSZVmI+yAYGwRX3zOOdDQOlN2kUEBjJdhY/c1QvS1W2iOBK73US/NiiOIvEWQbKAu3EFKx1L/MpaKz5rYkXdTuu5eio3fqL4NQ7ffyOtyf6I= X-Yahoo-Newman-Id: 898307.57362.bm@smtp102.sbc.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: 7n_rFGIVM1nLWuiDYWl6Yc6mBUlGX4sOJ0kssm9zyeh5grI 4CYr7LiJWQXwE8Qtph4EgoJ0r97f_FPBu2OS1mwYAJkhqm2nAKO9riD2iBIT 5ErXX5lGXwUx5BMY.6STGE3VFdlMtxGZ9bfjeDUXwbbRs3srm4.FqkWF1Hhu SxK4LVWStnJANN97fBWeGQOLK_zsFAnxIhDVpkHWVIZuk_kKv23Knv3MFI1z 33x3NWT8oQh_ffBVBQh9BkJq11O0m_elZFK19oWupwMvGG4HWy5ZOEcgcMA. N1g_F2rdTFZmq_j31g9MKNAh1LcwF_Qo0mDXTW4ykdezzjFdQ6sY3X1fSUmm 25U8y5o8w983xKYbhP1TeEslc14jP8O3gP_TDPIXekYSpEpZ5zUyJvJvLg87 gUGj7Q32fUzSwIv4dn2PxCiddi42aRCdUbjE299ysbK.LPyItBt0UGd7kIXM 7GuGQw7vbI2Y04EgdeyaJs.4mx0JPHh46UcgIJRIROeyGpvORawXRx4SjGfn vIjubRPlZ6rlehe6c50vihSh3sF2rSSwQZ4y2SomkTbiqxOFDwkBlX.5wdOU cC_Bj X-Yahoo-SMTP: dQDeuIqswBBZlqxPL_idatjeqZFsZlQC4MQ5I3DYpsI- X-Rocket-Received: from [135.207.38.76] (k.oikonomou@67.84.197.59 with plain) by smtp102.sbc.mail.bf1.yahoo.com with SMTP; 29 May 2013 05:28:28 -0700 PDT Message-ID: <51A565AD.5020601@att.net> Date: Tue, 28 May 2013 22:19:25 -0400 From: Kostas Oikonomou Organization: Home User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130407 Thunderbird/17.0.5 To: freebsd Subject: idle process keeping cpu 150% busy in freebsd 9.1 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 12:31:42 -0000 Hello, I am new to FreeBSD. I just installed 9.1-RELEASE-p3 (comes with PC-BSD 9.1) on an HP Pavilion s5100z. The machine has a dual-core AMD Athlon 7750 processor. What happens is that when I am doing nothing on the machine, one core is about 150% busy running the idle process: USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 11 152.9 0.0 0 32 ?? RL 8:19AM 2:14.50 [idle] root 0 0.0 0.1 0 2672 ?? DLs 8:19AM 0:00.36 [kernel] root 1 0.0 0.0 6276 416 ?? SLs 8:19AM 0:00.05 /sbin/init -- I have read [1]http://forums.freebsd.org/showthread.php?t=38757, which seems to be relevant, and I tried sysctl -w kern.eventtimer.timer= as they suggest, but to no avail. One more piece of information: the only possible problem I see when the machine boots is the following in dmesg: ... acpi0: on motherboard acpi0: Power Button (fixed) ACPI Error: Field [ASSM] at 524320 exceeds Buffer [BUF0] size 880 (bits) (20110527/dsopcode-254) ACPI Error: Method parse/execution failed [\\_SB_.MEM_._CRS] (Node 0xfffffe0003cfc380), AE_AML_BUFFER_LIMIT (20110527/psparse-560) ACPI Error: Method execution failed [\\_SB_.MEM_._CRS] (Node 0xfffffe0003cfc380), AE_AML_BUFFER_LIMIT (20110527/uteval-113) can't fetch resources for \\_SB_.MEM_ - AE_AML_BUFFER_LIMIT cpu0: on acpi0 cpu1: on acpi0 ... Any help would be greatly appreciated. Kostas References 1. http://forums.freebsd.org/showthread.php?t=38757 From owner-freebsd-questions@FreeBSD.ORG Wed May 29 12:35:20 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 49D93842 for ; Wed, 29 May 2013 12:35:20 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-we0-x236.google.com (mail-we0-x236.google.com [IPv6:2a00:1450:400c:c03::236]) by mx1.freebsd.org (Postfix) with ESMTP id D696E872 for ; Wed, 29 May 2013 12:35:19 +0000 (UTC) Received: by mail-we0-f182.google.com with SMTP id q57so6176384wes.27 for ; Wed, 29 May 2013 05:35:19 -0700 (PDT) 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=d6/sjxXs69HQyGhZcR15DVVBR2byBfyp4fCd/zTatW4=; b=m1JAMis/s1LZzRls6YDZyNXalVYzxHWYtu+s2hKPJcim2IuA//HszRUs2tMEMPSSfM GJ4sytke2J9ubIijjbEzV6JAAAa6aOQYrUF3nGm8/s8k1nkR4JclF+7zqpq3mBU/Wusl 3CfooBSlbSqfv55zSuvOBw6jJWHlZIqFpg7GjyzDuAAssFBJrjHEbTXfKPN0LP3l5Gg+ /qYdUIoro1ePLxymxko/YNf48Rl/MvsRWH2Djz3TUsUVCOQIxbNVhdhQJqhEY7BHYI7A /RL7mD3aUj7pvDtHXdAFycIDAuPlw6sE/PZqusj5po1NwsDEOTAqB0CoY8gQNj6/tr9v wwCw== X-Received: by 10.180.185.225 with SMTP id ff1mr1659212wic.36.1369830919032; Wed, 29 May 2013 05:35:19 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPSA id w8sm35619696wiz.0.2013.05.29.05.35.18 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Wed, 29 May 2013 05:35:18 -0700 (PDT) Date: Wed, 29 May 2013 13:35:16 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: "swap" partition leads to instability? Message-ID: <20130529133516.295084a6@gumby.homeunix.com> In-Reply-To: References: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.17; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 12:35:20 -0000 On Sun, 26 May 2013 12:36:42 +0000 (UTC) jb wrote: > But, swapping is also a symptom, not a problem. > It is never a good idea to let it get to that point. No, there are thing that are better on disk than in memory. The most common example is tmpfs. It's much better that files left on tmpfs can sent to disk rather tying up physical memory indefinitely. BTW you mean paging, or swap use, rather that swapping. Linux supports only paging, so it can be taken as read that swapping means paging, but FreeBSD supports both. From owner-freebsd-questions@FreeBSD.ORG Wed May 29 12:50:31 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id BD81049A for ; Wed, 29 May 2013 12:50:31 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-bk0-x234.google.com (mail-bk0-x234.google.com [IPv6:2a00:1450:4008:c01::234]) by mx1.freebsd.org (Postfix) with ESMTP id 4F7939FC for ; Wed, 29 May 2013 12:50:31 +0000 (UTC) Received: by mail-bk0-f52.google.com with SMTP id mz10so4871366bkb.11 for ; Wed, 29 May 2013 05:50:30 -0700 (PDT) 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=VZ3oU3sIvONT075/kWWSv8AVqOHZh/J4QnCRKyFQfIw=; b=YKsTPgWGJBMs5lh4M5ucQarcSUL2FTehTwSIwXWKDraoI6kK8MgAhr90JeUAfTwPa+ wXLQmMEJzLkNonvLYUwl03pOsP2kDMp7rLUssQactKq0ERomXZRVoBlCzypM4JcHacAg gq82iRxIRDEcKoNMxGzq5yP9gzVGVrvC1qaSa1II4Rq2OWy4t7vFhlK4TecnEnYUjzCZ YVMQLtPRi1aK6AT5Rg1pHhCotxzoqc/J5ATLhnXEe930o99JsSidP2JVcxnDxQ3J/9UN orlL498/lh2dRSW8uteQZlYTIZK+r6v1YXYOPY15X0kj7YgOupi8jGTJ+lFGSCAIb84N n1qQ== X-Received: by 10.204.117.77 with SMTP id p13mr660626bkq.174.1369831830368; Wed, 29 May 2013 05:50:30 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPSA id jm15sm11951974bkb.13.2013.05.29.05.50.29 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Wed, 29 May 2013 05:50:29 -0700 (PDT) Date: Wed, 29 May 2013 13:50:27 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: "swap" partition leads to instability? Message-ID: <20130529135027.13ef4d5e@gumby.homeunix.com> In-Reply-To: References: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> <1369644392.92027.YahooMailNeo@web165003.mail.bf1.yahoo.com> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.17; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 12:50:31 -0000 On Wed, 29 May 2013 13:57:22 +0200 Fred Morcos wrote: > Linux has a sysctl variable vm.swappiness which you can set to 0 or 1 > out of 100. Not sure how to achieve the same on FreeBSD, maybe one or > more combinations of the following? You'll probably make things worse. > vm.stats.vm.v_swappgsout: 236969 > vm.stats.vm.v_swappgsin: 28411 > vm.stats.vm.v_swapout: 92607 > vm.stats.vm.v_swapin: 28285 These are just information > vm.disable_swapspace_pageouts: 0 I'm not entirely sure, but I think this just disables paging at runtime - rather than compile time. > vm.defer_swapspace_pageouts: 0 IIRC this defers paging, but it can end up with the paging done on the critical path rather in the background - it's usually a bad idea. > vm.swap_idle_enabled: 0 > vm.swap_idle_threshold2: 10 > vm.swap_idle_threshold1: 2 This why you shouldn't confuse swapping and paging. These are about actually swapping-out processes. It's mainly about reducing memory use on multiuser systems where there many terminal idle at at any time. From owner-freebsd-questions@FreeBSD.ORG Wed May 29 13:34:53 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 898EC8A6 for ; Wed, 29 May 2013 13:34:53 +0000 (UTC) (envelope-from onlinesjournals@gmail.com) Received: from mail-bk0-x241.google.com (mail-bk0-x241.google.com [IPv6:2a00:1450:4008:c01::241]) by mx1.freebsd.org (Postfix) with ESMTP id 09962EAC for ; Wed, 29 May 2013 13:34:52 +0000 (UTC) Received: by mail-bk0-f65.google.com with SMTP id ji1so1139645bkc.4 for ; Wed, 29 May 2013 06:34:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:reply-to:from:to:subject:date:mime-version:content-type :content-transfer-encoding:x-priority; bh=dsyZItvfVn5IylE6yrlPUKZwt/glDkRaYG4rLG/wUpU=; b=nzCo0OBE9Er4mOMBWlGrpy3fXkqSv6s58E9B7FWRIMxtfzHVXHBGOTYOwzGXqpTtEJ LL9oOa2EIBnFW6633LB3jYfrJs97YjnJC0i3d6CIH8kSX8r/Z99AFKTQ+q6f0vwqS5Zx E9MDO04Y4XZKuMMtACNyzdkPoIv+1lZdibXuVXaEcLMKfbv7EECdfXHsTJJw2ZyL+zN+ TpOv5nq50lIvqAGYGoMVw0flPewgzxXV8os3biU7yb1oFK5uJ2yZnaJS+UvQONGx6ZsQ rrG9ONrm8VNkmErqVTpZtykvUPy4eRmBHxPA4HZxCfSZPugYANDe9c1107FHDl+RWAo2 6Q8g== X-Received: by 10.205.107.202 with SMTP id dz10mr687992bkc.180.1369834492131; Wed, 29 May 2013 06:34:52 -0700 (PDT) Received: from Benyamin-PC ([2.187.52.102]) by mx.google.com with ESMTPSA id so13sm12063762bkb.15.2013.05.29.06.34.48 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Wed, 29 May 2013 06:34:51 -0700 (PDT) Message-ID: <0324c5c1-41423-02012740653009@benyamin-pc> From: "Sjournals" To: freebsd-questions@freebsd.org Subject: Sjournals Services (Open Journal Management system, Sjournals Index, ...) Date: Wed, 29 May 2013 06:33:55 -0700 X-Priority: 3 MIME-Version: 1.0 Content-Type: text/plain X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Sjournals List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 13:34:53 -0000 Dear Researchers We provide high quality services and strive to ease all steps from submission to publication of high quality research work. 1. [1]Sjournals Manager (FREE of charge) The [2]Sjournals Manager manages the overall publishing system. The [3]Sjournals Manager does the setup for the journal, and enrolls the Editors, Section Editors, Copyeditors, Layout Editors, Proofreaders, and Reviewers. The [4]Sjournals Manager cordially invites you to join the peer reviewed journals of the Open Journal Management system and help us to produce good quality research in your area of expertise. With Sjournals Manager you can easily start your own journal. Scholars, institutions, conference organizers and scientific societies can all propose and launch new scientific journals. 2. Call for Paper (Vol 2 | Issue 6 | June 2013) We invite you to submit your manuscript(s) at [5]http://www.sjournals.com for rapid publication (via online submission system). Our objective is to inform author(s) of the decision on their manuscript (s) within one week of submission (All of Fields). Some of Indexing/Abstracting DOAJ, CABI Abstract, Global health, TEEAL (Cornell University), HINARI, CAS, ISC, Genamic JournalSeek, JournalTOCs, Academic Journals Database, PKP, Google scholar, SCIRUS, Index Copernicus, Academic keys, ResearchBib, Newjour, Electronic journals library, WorldCat, ProQuest, Open J-gate, library information service, GIF, Free journals act, etc. Submit your thesis abstract (*FREE*) Abstracts of all Master, Doctoral thesis will be submitted for inclusion in Sjournals Thesis, an online database used by researchers around the world. ST can be searched by author name, subject terms, and all words in the title and abstract. 3. [6]Sjournals Index (FREE of charge) The [7]Sjournals Index provides quantitative and qualitative tool for ranking, evaluating and categorizing the journals for academic evaluation and excellence. This factor is used for evaluating the prestige of journals. The evaluation is carried out by considering the factors like peer review originality, scientific quality, technical editing quality, editorial quality and regularity. 4. [8]Sjournals Conference Management System (FREE of charge) [9]Sjournals Conference Management System (SCMS) is a Web publishing tool that will create a complete Web presence for your scholarly conference. Don't hesitate to contact us if you have any questions. --- Kind Regards Sjournals Team Email: [10]Onlinesjournals@gmail.com [11]Onlinesjournals@yahoo.com [12]www.sjournals.com [13]www.sjournals.net [14]http://sjournals.net/ojs/index.php/index/about (Sjournals Manager) [15]http://sjournals.net/onlineconferencesystem/ (Sjournals Conference Management System) [16]http://sjournals.net/sjournalsindex (Sjournals Index) --------------------------------------------------------------------- ----------------------------------- P Think Green - don't print this email unless you really need to References 1. http://sjournals.net/ojs/ 2. http://sjournals.net/ojs/ 3. http://sjournals.net/ojs/ 4. http://sjournals.net/ojs/ 5. http://www.sjournals.com/ 6. http://sjournals.net/sjournalsindex/ 7. http://sjournals.net/sjournalsindex/ 8. http://sjournals.net/onlineconferencesystem 9. http://sjournals.net/onlineconferencesystem 10. mailto:Onlinesjournals@gmail.com 11. mailto:Onlinesjournals@gmail.com 12. http://www.sjournals.com/ 13. http://www.sjournals.net/ 14. http://sjournals.net/ojs/index.php/index/about 15. http://sjournals.net/onlineconferencesystem/ 16. http://sjournals.net/sjournalsindex From owner-freebsd-questions@FreeBSD.ORG Wed May 29 14:01:59 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1BD78790 for ; Wed, 29 May 2013 14:01:59 +0000 (UTC) (envelope-from paul@kraus-haus.org) Received: from mail-ve0-x229.google.com (mail-ve0-x229.google.com [IPv6:2607:f8b0:400c:c01::229]) by mx1.freebsd.org (Postfix) with ESMTP id D0E012D9 for ; Wed, 29 May 2013 14:01:55 +0000 (UTC) Received: by mail-ve0-f169.google.com with SMTP id m1so624549ves.0 for ; Wed, 29 May 2013 07:01:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=JTm62+lfyNRNSJTHDHxdUKsCHPa+/b9QpG1EGmrUkVo=; b=HDXbg5nszY8AekTF8knNvwehhFPl7fzLWmRfmYtE2FcVigYOvHOoktioG2wLdhBkCc PofFVdHp75v0doX5a0BDgJHHBJT8ULpUfk2aCPDw9qilXIMnaenqtmc86NRDtQDAWISU eATjzLdorflDb0m7Knpoc2Jdu87LdkdTpURnkFRWju+sOCRm2y5NTAQLhfB0wDT4+swe 4dEuiZV/E+REBq4zUf9ALpunTbXKHWctDGBFBQlVF0Vu/OTkx+sPT5kpxoLc4IfhWePz N2FAZMGqcpXGHXya4e7diqYnFMOjcVxyF9cTEGxs+oFlmyF0xCMfB1O9ogER/w+YaInE fMbg== X-Received: by 10.220.215.73 with SMTP id hd9mr1665339vcb.19.1369836115003; Wed, 29 May 2013 07:01:55 -0700 (PDT) Received: from [192.168.2.66] ([96.236.21.119]) by mx.google.com with ESMTPSA id sr7sm22500089vdc.2.2013.05.29.07.01.53 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 May 2013 07:01:54 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: BSD sleep From: Paul Kraus In-Reply-To: Date: Wed, 29 May 2013 10:01:53 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <698624A1-FC5F-4537-8C95-EC971CD2EE1A@kraus-haus.org> References: <20130528230140.A5B396F448@smtp.hushmail.com> <51A541B5.3010905@gmail.com> <1369801479.2670.YahooMailNeo@web190706.mail.sg3.yahoo.com> To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.1503) X-Gm-Message-State: ALoCoQmAsBK1tHBsHa/begwS8RLD9ndwNMnpoIMHYUWmFLgpOTDuSX1pym2UchInLR779zLTtSTF X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 14:01:59 -0000 On May 29, 2013, at 7:58 AM, Jason Birch wrote: >> Seriously, that explanation about different hours is not enough to = prevent >> at least useful option. >> like >> sleep -f 1h >> (-f means force convert, without it you can see good explanation why = sleep >> for 1 hour will be not sleep for 1 hour, and etc, and not get sleep = at >> all.). >>=20 >=20 > Do one thing, and do it well. What you have proposed involves: > * an additional force flag > * interpolation of what follows the force flag (does m mean minutes, = or > months?) > * expectations around time, time zones, and what an hours is. >=20 > That fails the litmus test on complexity for me personally - it seems = like > a lot of complexity for not much gain. Agreed. When I first started dealing with Unix professionally (1995, I = started playing with Unix-like OSes almost 10 years earlier) I was = taught that each Unix command does one thing and does it well. That = simplicity is one of the core strengths of Unix (and Unix-like) OSes. = With the popularization of Linux I see many movements towards a "dumbing = down" of the OS, making it behave more like more common OSes, even if = those changes make it less robust and flexible. One of the reasons I choose FreeBSD over Linux in many cases is that = FreeBSD is closer to the roots of Unix in terms of keeping things simple = and reliability being more important than convenience. Disclaimer: I spent most of my time between 1995 and 2012 managing = Solaris systems. An occasional Linux system would crop up. When I = started really looking at FreeBSD in 2012 (I wanted ZFS and OpenSolaris = / OpenIndiana / NexentaCore / Illumos did not support my hardware) I was = very happily surprised that it "felt" like a grown up OS and not the toy = that many Linux distributions feel like to me. -- Paul Kraus Deputy Technical Director, LoneStarCon 3 Sound Coordinator, Schenectady Light Opera Company From owner-freebsd-questions@FreeBSD.ORG Wed May 29 14:13:20 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4419AB83 for ; Wed, 29 May 2013 14:13:20 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ea0-x22c.google.com (mail-ea0-x22c.google.com [IPv6:2a00:1450:4013:c01::22c]) by mx1.freebsd.org (Postfix) with ESMTP id C4BF03C6 for ; Wed, 29 May 2013 14:13:19 +0000 (UTC) Received: by mail-ea0-f172.google.com with SMTP id d10so5343312eaj.17 for ; Wed, 29 May 2013 07:13:18 -0700 (PDT) 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=5T1K5KkqQbBLUr4BaozRsvydqGngO7UVVSCKoH8x9S8=; b=ToLdaNK7WuA2l1kvsH1rDchaPWAtq7RMrXDXVchXXCJCjPbsooEHxcW9GrkwQp18FV F1l7H4VeO+5RDyCAn/j66Y+EsKvACm69sLmEXPNsgi7ZdgkNDCySnZiwOaD5L/vnQRdZ oOmynXSUyDA3QE2gEwGK5qMuxSFeT2IQ2VmwTVtoKQ4/6eVZtk+RIONMMvjcT6kpFz++ vRKXJFDiwff2beRPGJzLpncxsAuxx48NqXD8yKjXd29EpJtXKQmPHg/TdjUBQHcEihCS Z65KA5lkDmqH5tYNH18o6MmuuNo8f/oD5lTjsWwYZh7MnwNcplDQlAjMIunT+RcPvMH5 F4UA== X-Received: by 10.14.224.201 with SMTP id x49mr3642862eep.14.1369836798866; Wed, 29 May 2013 07:13:18 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPSA id y2sm54242632eeu.2.2013.05.29.07.13.17 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Wed, 29 May 2013 07:13:18 -0700 (PDT) Date: Wed, 29 May 2013 15:13:16 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: BSD sleep Message-ID: <20130529151316.74797552@gumby.homeunix.com> In-Reply-To: References: <20130528230140.A5B396F448@smtp.hushmail.com> <51A541B5.3010905@gmail.com> <51A59C60.3010709@FreeBSD.org> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.17; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 14:13:20 -0000 On Wed, 29 May 2013 12:04:47 +0100 Chris Rees wrote: > On 29 May 2013 07:13, "Matthew Seaman" wrote: > > Right. The fact that on very rare occasions a minute may not have > > 60 seconds in it plus many other corner cases in calculating the > > current wall-clock time is an amusing irrelevance. > > And in any case where you cared about the leap second, you would probably care that sleep doesn't wake-up on a second boundary, and can end-up in the next second. > OK, but is this really something the OS should handle? I'm sure sleep > `expr 3600 \* 2` will suffice and is perfectly readable, including > being more portable. +1 From owner-freebsd-questions@FreeBSD.ORG Wed May 29 14:45:58 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1EEEC847 for ; Wed, 29 May 2013 14:45:58 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) by mx1.freebsd.org (Postfix) with ESMTP id AB410975 for ; Wed, 29 May 2013 14:45:57 +0000 (UTC) Received: by mail-wi0-f171.google.com with SMTP id hq7so3610999wib.4 for ; Wed, 29 May 2013 07:45:56 -0700 (PDT) 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=iiKN3PNIE4FLl0qqdy4g+02cOU2IWNAl+8NEEgbIod4=; b=ubR/yVT7YXnfn/ySWn7A/CBALc320uzF+aLcme+uKEB/+Q+jdyROuEiWXOVSv8xwy/ exRVBS0NsulzKASRLJ4uBv6vgONaR6pg2zTXA9kSVKu4I/jWb1SVSJ8u9d7YAYQkWphG sd/qtubvn81q2PLTzU98LtZHhUqIMFbHspRcqmuVZeptjDUoc+SCEWcGtiwFh/aCGWhx YhHPLiV95L+2WNPpEEFEvbDc8JGHBgrUrhO00yTtV8J3BnNP86xxtxQ6mv7NEJ9eE+wm WKkZR/OKuwP/YXCN5wawDGpAL+8yxOYtSWM4YU4z2sbJxqGAeXY0bmUVVqFY/A+UKCGF pjqA== X-Received: by 10.194.158.34 with SMTP id wr2mr1813475wjb.57.1369838756860; Wed, 29 May 2013 07:45:56 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPSA id fu14sm31718929wic.0.2013.05.29.07.45.55 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Wed, 29 May 2013 07:45:56 -0700 (PDT) Date: Wed, 29 May 2013 15:45:54 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: BSD sleep Message-ID: <20130529154554.230e4e93@gumby.homeunix.com> In-Reply-To: <698624A1-FC5F-4537-8C95-EC971CD2EE1A@kraus-haus.org> References: <20130528230140.A5B396F448@smtp.hushmail.com> <51A541B5.3010905@gmail.com> <1369801479.2670.YahooMailNeo@web190706.mail.sg3.yahoo.com> <698624A1-FC5F-4537-8C95-EC971CD2EE1A@kraus-haus.org> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.17; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 14:45:58 -0000 On Wed, 29 May 2013 10:01:53 -0400 Paul Kraus wrote: > Agreed. When I first started dealing with Unix professionally (1995, > I started playing with Unix-like OSes almost 10 years earlier) I was > taught that each Unix command does one thing and does it well. It would still just be doing one thing - sleeping. Support for units usually comes under "and does it well". I wouldn't want to have to pipe df through awk to get MBs, or complicate "find" with arithmetic. Unit support in sleep is a perfectly legitimate thing to ask for, I don't think it particularly useful though, and leap-second support is close to pointless. From owner-freebsd-questions@FreeBSD.ORG Wed May 29 15:34:36 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D0F6249F for ; Wed, 29 May 2013 15:34:36 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id 71776FE for ; Wed, 29 May 2013 15:34:36 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.5/8.14.5) with ESMTP id r4TFYTVD054468 for ; Wed, 29 May 2013 16:34:29 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Message-ID: <51A62005.8040101@qeng-ho.org> Date: Wed, 29 May 2013 16:34:29 +0100 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: FreeBSD-Questions Subject: Routed(8) resurrecting deleted aliases Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 15:34:36 -0000 I've got a gateway machine running routed. If I use ifconfig to temporarily add a /32 alias to an interface to give it an alternate identity on that interface's network, and then delete the alias, it reappears in the routing table shortly after. Use "route delete" to clear it and it reappears again. Automate the process and it reappears every 30 seconds, corresponding to routed's cycle time. The only way to permanently clear it is to restart routed. This is at 9.1-RELEASE-p3 on amd64. I can't find any PR that matches this behaviour or anything via Google except for one comment on the forums that's less than helpful(*). Anybody know anything about this, or should I file a PR? (*) The comment consists of "That's because you are running routed" with no explanation or suggestions. -- In the dungeons of Mordor, Sauron bred Orcs with LOLcats to create a new race of servants. Called Uruk-Oh-Hai in the Black Speech, they were cruel and delighted in torturing spelling and grammar. _Lord of the Rings 2.0, the Web Edition_ From owner-freebsd-questions@FreeBSD.ORG Wed May 29 15:43:34 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 04A1FA31 for ; Wed, 29 May 2013 15:43:34 +0000 (UTC) (envelope-from lsantagostini@gmail.com) Received: from mail-ie0-x232.google.com (mail-ie0-x232.google.com [IPv6:2607:f8b0:4001:c03::232]) by mx1.freebsd.org (Postfix) with ESMTP id D2CFB243 for ; Wed, 29 May 2013 15:43:33 +0000 (UTC) Received: by mail-ie0-f178.google.com with SMTP id f4so9534920iea.9 for ; Wed, 29 May 2013 08:43:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=/ilOHsRty06Vm4PB1tj10hsSwipcCsF3JKIZcBTO0Bw=; b=zeNTzuNC7XgmPGWaTkNx5TpRykD9S9r7hKPJp/0UZH1x31WWmbMhztI+wMzzPe1pyx Vb/DUW+fwNr8YUka9PmWH9M0s5QF0scDUCSe9qKJW3NdP4u6kGMzlk9ZqwGsFoIjd4BE 2QDB7MB8NgYfD2zToBsdfgyzFWQSClqFjxdBI2HircA+iM4vh+9o/6Hicv7Vjl4K8izb OjXYDnF3b0zUAUq2uJpADE+ykVRur3D/zTIKQ6n9xneSwTFGAHz5f037Wr03JgjbwtQe tWFolU5Us1XegFUTIwkNygX73WTjDm0lNqMdpSqz5WEUICm0JB6eeiJhAzngQue98y81 505w== MIME-Version: 1.0 X-Received: by 10.50.176.166 with SMTP id cj6mr1611479igc.56.1369842213638; Wed, 29 May 2013 08:43:33 -0700 (PDT) Received: by 10.64.133.19 with HTTP; Wed, 29 May 2013 08:43:33 -0700 (PDT) Date: Wed, 29 May 2013 12:43:33 -0300 Message-ID: Subject: Little help with radius From: Leonardo Santagostini To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 15:43:34 -0000 Hello list, I was trying to do ssh authentication using Radius but, Radius server is on the AD not in my FreeBSD box. Anyone can give to me a clue? Thanks in advance, Regards/Saludos.- Leonardo Santagostini From owner-freebsd-questions@FreeBSD.ORG Wed May 29 15:52:52 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id BBD82213 for ; Wed, 29 May 2013 15:52:52 +0000 (UTC) (envelope-from ml@fuckaround.org) Received: from mr002msr.fastwebnet.it (mr002msr.fastwebnet.it [85.18.95.65]) by mx1.freebsd.org (Postfix) with ESMTP id 483AA3DA for ; Wed, 29 May 2013 15:52:52 +0000 (UTC) Received: from server1.fuckaround.org (93.49.16.11) by mr002msr.fastwebnet.it (8.5.140.03) id 5190ACC201ED3B92 for freebsd-questions@freebsd.org; Wed, 29 May 2013 17:52:44 +0200 Received: by server1.fuckaround.org (Postfix, from userid 65534) id B0EFC75830E; Wed, 29 May 2013 17:52:44 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on server1.fuckaround.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=7.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.1 Received: from tweet.localnet (unknown [192.168.1.1]) by server1.fuckaround.org (Postfix) with ESMTP id 695C075830D for ; Wed, 29 May 2013 17:52:42 +0200 (CEST) From: Pol Hallen To: freebsd-questions@freebsd.org Subject: Re: openvpn and tap device Date: Wed, 29 May 2013 17:52:45 +0200 User-Agent: KMail/1.13.7 (Linux/3.2.0-3-686-pae; KDE/4.8.4; i686; ; ) References: <51A52C3F.6010809@fuckaround.org> <51A5B013.5020905@qeng-ho.org> In-Reply-To: <51A5B013.5020905@qeng-ho.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201305291752.45910.ml@fuckaround.org> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: ml@fuckaround.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 15:52:52 -0000 > It's a while since I looked at OpenVPN, so this is from unreliable > memory, but IIRC it uses tap devices under Windows and tun devices under > Unix(ish) OSes. Do you see tun0 appear? sorry for the mistake: tun device I don't have any tun devices but I can use openvpn to connect to other vpn client Pol From owner-freebsd-questions@FreeBSD.ORG Wed May 29 17:49:49 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 79141FC for ; Wed, 29 May 2013 17:49:49 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pa0-f46.google.com (mail-pa0-f46.google.com [209.85.220.46]) by mx1.freebsd.org (Postfix) with ESMTP id 57B1BC37 for ; Wed, 29 May 2013 17:49:49 +0000 (UTC) Received: by mail-pa0-f46.google.com with SMTP id fa1so2090966pad.5 for ; Wed, 29 May 2013 10:49:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=snmtyLgVTcRNRgoLOnDwWFeMRare2qtjFEbxyRGQPFU=; b=CTo0BFkXvyJani0P4YBMjkvRr/cX6xQp2A27jqvcCDtdYMm/Q7CcaAQFCJj770S+Tn aqQxkjr3y5UdjuiOHT3PbQCw0o2k2Nstnc18JYW0Erdnv8qKna405Jqsv/yo036678Ew uDlvKqIhUitMYiQfo1GVziriA7wHWa+GAi2WunwZOLlCDi9Ax1hm4/loIuQ2eInddcMU 0sTnS9EJIjD6XUPCXz7PqIdKmpKi9vb5fB+o/FBPJWf2X3q9VuB3/d8RhAgCrP4eODA5 zGpVCPJ5TfZKjAsPeBdK9YGGBCgy8AXp1MZm1UXD46ttswNf6JehWsWxokexBv40FoF+ +upA== MIME-Version: 1.0 X-Received: by 10.66.102.3 with SMTP id fk3mr4441671pab.192.1369849782948; Wed, 29 May 2013 10:49:42 -0700 (PDT) Received: by 10.70.31.195 with HTTP; Wed, 29 May 2013 10:49:42 -0700 (PDT) In-Reply-To: References: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> <1369644392.92027.YahooMailNeo@web165003.mail.bf1.yahoo.com> Date: Wed, 29 May 2013 12:49:42 -0500 Message-ID: Subject: Re: "swap" partition leads to instability? From: Adam Vande More To: jb Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 17:49:49 -0000 On Wed, May 29, 2013 at 6:19 AM, jb wrote: > - overcommitment of memory (a bluff asking to be punished by OOM killer) No self respecting Unix has an OOM by default. > - OOM killer Are you suggesting FreeBSD does this crap? > Besides, they allow sloppy/dangerous programming. Yup, in the kernel. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Wed May 29 18:03:15 2013 Return-Path: Delivered-To: freebsd-questions@Freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 146106F6 for ; Wed, 29 May 2013 18:03:15 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 012E9D89 for ; Wed, 29 May 2013 18:03:14 +0000 (UTC) Received: from [10.0.10.1] ([173.88.196.224]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 29 May 2013 11:03:15 -0700 Message-ID: <51A642E5.2050506@a1poweruser.com> Date: Wed, 29 May 2013 14:03:17 -0400 From: Joe User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-questions@Freebsd.org Subject: looking for command to display default route ip address Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 29 May 2013 18:03:15.0910 (UTC) FILETIME=[CAE3CE60:01CE5C96] X-Sender: fbsd8@a1poweruser.com X-Authenticated-Sender: fbsd8@a1poweruser.com X-EchoSenderHash: [fbsd8]-[a1poweruser*com] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 18:03:15 -0000 Hello list How do I find the ip address of the default route? thanks From owner-freebsd-questions@FreeBSD.ORG Wed May 29 17:52:59 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 426B522B for ; Wed, 29 May 2013 17:52:59 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-ob0-x231.google.com (mail-ob0-x231.google.com [IPv6:2607:f8b0:4003:c01::231]) by mx1.freebsd.org (Postfix) with ESMTP id 0D544CD3 for ; Wed, 29 May 2013 17:52:59 +0000 (UTC) Received: by mail-ob0-f177.google.com with SMTP id ta17so3922425obb.36 for ; Wed, 29 May 2013 10:52:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=zQTLdRh44p5ZyU12X+BDkzzmmobQ9lRJZtJT+PLWZAo=; b=XljMkW/y6Xa8PfCr/9xJyq9bNVf0GM8t3KtT58LeGDUB7W8jjaHsyUtpITRXdEgvwv shMrMT358UTyF4oBUBeFGS4NY8HbZrQEOGkJ07xXVZ3l4/hX0cFju8qX0QAonZl8wPW/ 7GMylYPxoUWC0ALiNdkkPxpFJIYaFoosMSRPbWmvDev8qL0mFKYmbBIPFyKcULAiMpxY GrkyTRz9T7JzQHkNEiumF8Q3Dwu/VvCXlt/3PjsnlesUIksyqdl5dH2VhJkPN0BAGnww NezA5uOiDLe78K3eFTTvd8JVEue+4Ac4PaUQyKJIba9745/trZtkXct4NzQPN4B2t51u GtVQ== MIME-Version: 1.0 X-Received: by 10.182.129.230 with SMTP id nz6mr2307729obb.49.1369849978633; Wed, 29 May 2013 10:52:58 -0700 (PDT) Received: by 10.60.56.198 with HTTP; Wed, 29 May 2013 10:52:58 -0700 (PDT) In-Reply-To: References: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> <20130526160906.4e379016@X220.ovitrap.com> <20130526113235.f5dbe768.freebsd@edvax.de> Date: Wed, 29 May 2013 10:52:58 -0700 Message-ID: Subject: Re: "swap" partition leads to instability? From: Michael Sierchio To: Adam Vande More X-Gm-Message-State: ALoCoQnlPGCDPxDIcLqPYqH58+x4XgIYV6rBxXCqL7V4DVgi8fExzk7Q7igvr6Hr+5+NGnqXvsqK X-Mailman-Approved-At: Wed, 29 May 2013 18:05:36 +0000 Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Erich Dollansky , Polytropon , "freebsd-questions@freebsd.org" , "M. V." X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 17:52:59 -0000 On Sun, May 26, 2013 at 6:17 PM, Adam Vande More wrote: > > Normal dynamic wear leveling on a modern SSD will be better than > imposing an FS- backed swap for 4GB partion occupying a small fraction > of total drive space. > > Quite so. - M From owner-freebsd-questions@FreeBSD.ORG Wed May 29 18:09:22 2013 Return-Path: Delivered-To: freebsd-questions@Freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B59A68C3 for ; Wed, 29 May 2013 18:09:22 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 93001DE4 for ; Wed, 29 May 2013 18:09:22 +0000 (UTC) Received: by be-well.ilk.org (Postfix, from userid 1147) id 8835A33C25; Wed, 29 May 2013 14:09:16 -0400 (EDT) From: Lowell Gilbert To: Joe Subject: Re: looking for command to display default route ip address References: <51A642E5.2050506@a1poweruser.com> Date: Wed, 29 May 2013 14:09:16 -0400 In-Reply-To: <51A642E5.2050506@a1poweruser.com> (Joe's message of "Wed, 29 May 2013 14:03:17 -0400") Message-ID: <44k3mhhd4j.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-questions@Freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: freebsd-questions@Freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 18:09:22 -0000 Joe writes: > Hello list > > How do I find the ip address of the default route? The next-hop address, or the local address? The former can be easily parsed out of the netstat(1) output, the latter isn't necessarily unique. From owner-freebsd-questions@FreeBSD.ORG Wed May 29 18:12:07 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C1D7C9AB for ; Wed, 29 May 2013 18:12:07 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-ie0-x236.google.com (mail-ie0-x236.google.com [IPv6:2607:f8b0:4001:c03::236]) by mx1.freebsd.org (Postfix) with ESMTP id 9960AE22 for ; Wed, 29 May 2013 18:12:07 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id a14so25788542iee.13 for ; Wed, 29 May 2013 11:12:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=nm2wx8DXTbaHNGt1+B9UpwEqpXu7/o+7SlIVL6+xrD0=; b=p7B4uO3l/0byhU3RQ7/tMmbrlHjdVuQU0WY2gKFK7pt+wPAzJoxzXS982XHjG5vbDQ GwuVDAmBuqsN1G5RpDsQ1tcVSbnmF85e0bqno5shHEb66fIaaMOXXItkTD2yuArrD2C0 DUGliE+A6XfvVcMxUX0svejOC4b1H/oLsE/HZyAZh/8vgynuEEVg3XiOcqgxBfQIBwmK nN86bBLbt3y3B7u8Axwmz1LBrJZJw+g7Q9OfaGwKSABwQa4gpn/08+gNa5aZ5Rluq0Fe T8oJmwxJx/UyYzVdPR7cUxGr9Iy3Pkew9uSr6YRgfEvG6CrBbvElXZhoymKQy2Tj0QRr sO8g== MIME-Version: 1.0 X-Received: by 10.50.98.104 with SMTP id eh8mr9277320igb.111.1369851127370; Wed, 29 May 2013 11:12:07 -0700 (PDT) Sender: vrwmiller@gmail.com Received: by 10.64.18.78 with HTTP; Wed, 29 May 2013 11:12:07 -0700 (PDT) In-Reply-To: <51A642E5.2050506@a1poweruser.com> References: <51A642E5.2050506@a1poweruser.com> Date: Wed, 29 May 2013 14:12:07 -0400 X-Google-Sender-Auth: 4ftVRlqKRexj_DdMhmYuvhJNPpg Message-ID: Subject: Re: looking for command to display default route ip address From: Rick Miller To: Joe Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 18:12:07 -0000 On Wed, May 29, 2013 at 2:03 PM, Joe wrote: > Hello list > > How do I find the ip address of the default route? The following examples return the next hop, usually a router. # grep defaultrouter /etc/rc.conf defaultrouter="192.168.0.1" or # netstat -r Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.0.1 UGS 0 192 em0 ... -- Take care Rick Miller From owner-freebsd-questions@FreeBSD.ORG Wed May 29 18:16:49 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 12F10ABB; Wed, 29 May 2013 18:16:49 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) by mx1.freebsd.org (Postfix) with ESMTP id E57B0E5E; Wed, 29 May 2013 18:16:48 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 44219B98A; Wed, 29 May 2013 14:16:48 -0400 (EDT) From: John Baldwin To: freebsd-net@freebsd.org Subject: Re: How to switch Datgram/Connected mtu modes? Date: Wed, 29 May 2013 13:33:52 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p25; KDE/4.5.5; amd64; ; ) References: <64DAB3164E410447932305F50F896D8D6AF651AD@MTLDAG01.mtl.com> In-Reply-To: <64DAB3164E410447932305F50F896D8D6AF651AD@MTLDAG01.mtl.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201305291333.52607.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Wed, 29 May 2013 14:16:48 -0400 (EDT) Cc: Alex Liptsin , "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 18:16:49 -0000 On Sunday, May 26, 2013 7:43:29 am Alex Liptsin wrote: > Hello. > > I work with FreeBSD 9.1 and Mellanox devices. > > How can I configure MTU in connected mode on FreeBSD 9.1? > In Linux to enable connected mode for interface ib0, I enter: > > echo connected > /sys/class/net/ib0/mode > > > > Switching between CM and UD mode can be done in run time: > > echo datagram > /sys/class/net/ib0/mode sets the mode of ib0 to UD > > echo connected > /sys/class/net/ib0/mode sets the mode ib0 to CM > > There is no such directories at FreeBSD. Wat shall I do? Have you tried looking for dev.ib.0 sysctls? It looks like the OFED bits in FreeBSD map Linux sysfs entries to sysctl nodes, but I don't have a box with IB handy to see what it looks like at runtime. -- John Baldwin From owner-freebsd-questions@FreeBSD.ORG Wed May 29 18:05:28 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CDE2E7D9 for ; Wed, 29 May 2013 18:05:28 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 8B048DAD for ; Wed, 29 May 2013 18:05:28 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r4TI5LpB056850; Wed, 29 May 2013 12:05:21 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r4TI5LDe056847; Wed, 29 May 2013 12:05:21 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Wed, 29 May 2013 12:05:21 -0600 (MDT) From: Warren Block To: Michael Sierchio Subject: Re: "swap" partition leads to instability? In-Reply-To: Message-ID: References: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> <20130526160906.4e379016@X220.ovitrap.com> <20130526113235.f5dbe768.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Wed, 29 May 2013 12:05:21 -0600 (MDT) X-Mailman-Approved-At: Wed, 29 May 2013 18:20:44 +0000 Cc: Adam Vande More , Erich Dollansky , Polytropon , "freebsd-questions@freebsd.org" , "M. V." X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 18:05:28 -0000 On Wed, 29 May 2013, Michael Sierchio wrote: > On Sun, May 26, 2013 at 6:17 PM, Adam Vande More wrote: > > Normal dynamic wear leveling on a modern SSD will be better than > imposing an FS- backed swap for 4GB partion occupying a small fraction > of total drive space. And you don't think the presence of TRIM--where the SSD can actually know which blocks are no longer in use--is worthwhile? From owner-freebsd-questions@FreeBSD.ORG Wed May 29 18:22:17 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 08ECCF88 for ; Wed, 29 May 2013 18:22:17 +0000 (UTC) (envelope-from markham_breitbach@ssimicro.com) Received: from mail.ssimicro.com (mail.ssimicro.com [64.247.129.10]) by mx1.freebsd.org (Postfix) with ESMTP id 7EF55EE9 for ; Wed, 29 May 2013 18:22:16 +0000 (UTC) Received: from markhamw.ssimicro.com (markhamw.ssimicro.com [64.247.130.98]) by mail.ssimicro.com (8.14.4/8.14.5) with ESMTP id r4TIDjXj090633 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NOT); Wed, 29 May 2013 12:13:45 -0600 (MDT) Message-ID: <51A64559.1090504@ssimicro.com> Date: Wed, 29 May 2013 12:13:45 -0600 From: markham breitbach User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Joe Subject: Re: looking for command to display default route ip address References: <51A642E5.2050506@a1poweruser.com> In-Reply-To: <51A642E5.2050506@a1poweruser.com> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 18:22:17 -0000 route -n get default On 13-05-29 12:03 PM, Joe wrote: > Hello list > > How do I find the ip address of the default route? > > thanks > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Wed May 29 18:34:17 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0DF4720D for ; Wed, 29 May 2013 18:34:17 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pb0-x22b.google.com (mail-pb0-x22b.google.com [IPv6:2607:f8b0:400e:c01::22b]) by mx1.freebsd.org (Postfix) with ESMTP id DC379F69 for ; Wed, 29 May 2013 18:34:16 +0000 (UTC) Received: by mail-pb0-f43.google.com with SMTP id ma3so9580640pbc.30 for ; Wed, 29 May 2013 11:34:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=0FOg0fGvR9VSw70TI2mXNVZc+6dP8MFrh+Ew17cKvyM=; b=Rpb8eQzeuM9SHduo3k2dEJLJ/pv4O0LtFf/7uTjf9PrFvpyu93USb+iH+E+cmdCBT/ piqGRipj8pd8dkI7GkJAERB2/5eWebr0PxLHWnEpn6wLuD+qzYNdmmy7rPTFhSW2i1NS oG+7pwJcVdguVbkULvIljq2kmSgpNIBVAI57Wsi3HIoqgrlmP/Y+5dSX3W0EWaGbLxqu atwh190XPSKiQ1TpGpJeNsSMEGncaEcE13d+Jv6bwQ8YtpRaVnOPhryOF0v6hqfnxTLc u/Go9g1a5QVA/JW0AsZ8iOqJpcAtDukGh0mwvLGmOm62BtcwsBr/1OHbRxO9zgAD3zz1 QdIA== MIME-Version: 1.0 X-Received: by 10.68.228.195 with SMTP id sk3mr4138963pbc.103.1369852456167; Wed, 29 May 2013 11:34:16 -0700 (PDT) Received: by 10.70.31.195 with HTTP; Wed, 29 May 2013 11:34:16 -0700 (PDT) In-Reply-To: References: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> <20130526160906.4e379016@X220.ovitrap.com> <20130526113235.f5dbe768.freebsd@edvax.de> Date: Wed, 29 May 2013 13:34:16 -0500 Message-ID: Subject: Re: "swap" partition leads to instability? From: Adam Vande More To: Warren Block Content-Type: text/plain; charset=ISO-8859-1 X-Mailman-Approved-At: Wed, 29 May 2013 18:46:45 +0000 Cc: Polytropon , Erich Dollansky , Michael Sierchio , "freebsd-questions@freebsd.org" , "M. V." X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 18:34:17 -0000 On Wed, May 29, 2013 at 1:05 PM, Warren Block wrote: > And you don't think the presence of TRIM--where the SSD can actually know > which blocks are no longer in use--is worthwhile? As a whole, TRIM is worthwhile. However when an SSD is overprovisioned it provides a lot of benefits. TRIM-less swap in this case doesn't. The PE rate of the worst MLC SSD's at this point is @3000 AFAIK. Given those figures and average desktop swap rate at my estimation, prioritizing write endurance on an SSD is not beneficial(especially with a SanForce). If you are swapping continuously something like ZeusRAM may be required. There are probably other solutions available as well as other 3rd party ones. If you are swapping a lot, the best case is usually to add RAM. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Wed May 29 18:38:48 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4AA2F2B9 for ; Wed, 29 May 2013 18:38:48 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pb0-x22d.google.com (mail-pb0-x22d.google.com [IPv6:2607:f8b0:400e:c01::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 2546FF91 for ; Wed, 29 May 2013 18:38:48 +0000 (UTC) Received: by mail-pb0-f45.google.com with SMTP id mc17so9539891pbc.18 for ; Wed, 29 May 2013 11:38:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=NItkomLYB8oDDZctx7eRRhdXEveLoWf1WPnXIJkjG1U=; b=B7hw55AIdEFmEB8M4LzZmNOi8yrR5p8npuSNjF5/FCHznb5/cfftIy3OX2JyBkquNM pKd2xJQJm0ITJjr9o8HDNLWfhfcSWU9wn/Cd9LhU1bib8XZl3ZYYJHlMv4c3hpcAo20N tUTSAN9Vp6ndp1tcHvMjuFonZsK4GSXt2codYS02Ap0ZMjWtSPtIoSyMHw3PqcOCnDtv 8SLwNHZXE2d4i3t3IKLCLFDo2FSg6VthdZLBy8f8N5aVDfBTdEG79JRI31nRe6inV084 yn98BfqAbwOeIk5gJire1cHS1rmpmUrUPF0qYao9VoJLEo+PhE963GfFUXTuqu+JdF6K A4Gg== MIME-Version: 1.0 X-Received: by 10.66.102.3 with SMTP id fk3mr4634451pab.192.1369852727918; Wed, 29 May 2013 11:38:47 -0700 (PDT) Received: by 10.70.31.195 with HTTP; Wed, 29 May 2013 11:38:47 -0700 (PDT) In-Reply-To: References: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> <20130526160906.4e379016@X220.ovitrap.com> <20130526113235.f5dbe768.freebsd@edvax.de> Date: Wed, 29 May 2013 13:38:47 -0500 Message-ID: Subject: Re: "swap" partition leads to instability? From: Adam Vande More To: Warren Block Content-Type: text/plain; charset=ISO-8859-1 X-Mailman-Approved-At: Wed, 29 May 2013 19:15:31 +0000 Cc: Polytropon , Erich Dollansky , Michael Sierchio , "freebsd-questions@freebsd.org" , "M. V." X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 18:38:48 -0000 PS -- Moderating questions@ is just awful. I'm disappointed. On Wed, May 29, 2013 at 1:34 PM, Adam Vande More wrote: > On Wed, May 29, 2013 at 1:05 PM, Warren Block wrote: >> And you don't think the presence of TRIM--where the SSD can actually know >> which blocks are no longer in use--is worthwhile? > > As a whole, TRIM is worthwhile. However when an SSD is > overprovisioned it provides a lot of benefits. TRIM-less swap in this > case doesn't. The PE rate of the worst MLC SSD's at this point is > @3000 AFAIK. Given those figures and average desktop swap rate at my > estimation, prioritizing write endurance on an SSD is not > beneficial(especially with a SanForce). If you are swapping > continuously something like ZeusRAM may be required. There are > probably other solutions available as well as other 3rd party ones. > If you are swapping a lot, the best case is usually to add RAM. > > -- > Adam Vande More -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Wed May 29 19:32:19 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 67D1043E for ; Wed, 29 May 2013 19:32:19 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from mail-ea0-x22e.google.com (mail-ea0-x22e.google.com [IPv6:2a00:1450:4013:c01::22e]) by mx1.freebsd.org (Postfix) with ESMTP id 00E572D6 for ; Wed, 29 May 2013 19:32:18 +0000 (UTC) Received: by mail-ea0-f174.google.com with SMTP id z7so5463645eaf.19 for ; Wed, 29 May 2013 12:32:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=AVEmB8F/UCzawLVW3DkAa+esNOg7DmwYirtqYAGbLLw=; b=dlgy9PyTo7JnZmKe87nwpesZ+gQUevEKXdLSE9AEHEwa3labEFVR2xMagAevEQMlVs g/8xFX9Bp9+LF1j12q7lUue5S3RA1yZpyMiWtsk75t9q37h4BoX+goC3EFapaiOKxFAd 6uS/QO7SbO8b7oz/XaABqMUSQTWrjVhFJOq+bLYmDSKj8Ylyw7+9s1tlgs5TAqSBpXpe WzC8RDcH2fzaAgrN3oz8Cot/RhTTTroJanzeoaMGWgrFg+erTsWCpuV4IODkdVoUxPPh ZLgkehu+JzPHwrKRYNOZB7nVA/IHW86fA/58RJoFstUQC8UP2RL1MhF9+1yH+YiIP57i qW4Q== MIME-Version: 1.0 X-Received: by 10.14.216.9 with SMTP id f9mr5890030eep.54.1369855938061; Wed, 29 May 2013 12:32:18 -0700 (PDT) Received: by 10.15.99.199 with HTTP; Wed, 29 May 2013 12:32:17 -0700 (PDT) In-Reply-To: <20130529154554.230e4e93@gumby.homeunix.com> References: <20130528230140.A5B396F448@smtp.hushmail.com> <51A541B5.3010905@gmail.com> <1369801479.2670.YahooMailNeo@web190706.mail.sg3.yahoo.com> <698624A1-FC5F-4537-8C95-EC971CD2EE1A@kraus-haus.org> <20130529154554.230e4e93@gumby.homeunix.com> Date: Wed, 29 May 2013 13:32:17 -0600 Message-ID: Subject: Re: BSD sleep From: Modulok To: RW Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 19:32:19 -0000 I'm personally a fan of a forest-green bike shed myself... >> It would still just be doing one thing - sleeping. I agree. Perfect solution fallacy aside, a sleep option with basic time increments would be useful for real-world purposes. I'm in favor of computing it as a multiple of seconds as previously outlined. We don't need to contrive the sleep function for every possible corner case until it's reduced to something complicated, buggy and unreliable. As long as it doesn't break existing code, new and useful options are appreciated. As a programmer, if I say sleep for 1 hour I expect it to sleep for 3600 local seconds from the time the call is made until it wakes up again without any absurd gotchas. If the real-world time elapsed is more or less than 3600 seconds due to an internal clock error - fine. That's a different problem altogether. My 2 cents. -Modulok- On 5/29/13, RW wrote: > On Wed, 29 May 2013 10:01:53 -0400 > Paul Kraus wrote: > >> Agreed. When I first started dealing with Unix professionally (1995, >> I started playing with Unix-like OSes almost 10 years earlier) I was >> taught that each Unix command does one thing and does it well. > > It would still just be doing one thing - sleeping. Support for units > usually comes under "and does it well". I wouldn't want to have to > pipe df through awk to get MBs, or complicate "find" with arithmetic. > > Unit support in sleep is a perfectly legitimate thing to ask for, I > don't think it particularly useful though, and leap-second support is > close to pointless. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Wed May 29 19:52:25 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9D30CC11 for ; Wed, 29 May 2013 19:52:25 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 618E239C for ; Wed, 29 May 2013 19:52:25 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UhmPx-0000DW-RV for freebsd-questions@freebsd.org; Wed, 29 May 2013 21:52:24 +0200 Received: from 79-139-19-75.prenet.pl ([79.139.19.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 May 2013 21:52:17 +0200 Received: from jb.1234abcd by 79-139-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 May 2013 21:52:17 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Subject: Re: "swap" partition leads to instability? Date: Wed, 29 May 2013 19:52:02 +0000 (UTC) Lines: 40 Message-ID: References: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> <20130529133516.295084a6@gumby.homeunix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 79.139.19.75 (Mozilla/5.0 (X11; Linux i686; rv:21.0) Gecko/20100101 Firefox/21.0) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 19:52:25 -0000 RW googlemail.com> writes: > > On Sun, 26 May 2013 12:36:42 +0000 (UTC) > jb wrote: > > > But, swapping is also a symptom, not a problem. > > It is never a good idea to let it get to that point. > > No, there are thing that are better on disk than in memory. The most > common example is tmpfs. It's much better that files left on tmpfs can > sent to disk rather tying up physical memory indefinitely. > > BTW you mean paging, or swap use, rather that swapping. Linux supports > only paging, so it can be taken as read that swapping means paging, but > FreeBSD supports both. Yes, there is some confusion about the diff, if any, between paging and swapping. Paging - copying or moving pages between physical memory (RAM) and secondary storage (e.g. hard disk), in both directions. Swapping - nowdays is synonymous with "paging". But its history is as follows (per Wikipedia): Historically, swapping referred to moving from/to secondary storage a whole program at a time, in a scheme known as roll-in/roll-out. In the 1960s, after the concept of virtual memory was introduced — in two variants, either using segments or pages — the term swapping was applied to moving, respectively, either segments or pages, between memory and disk. Today with the virtual memory mostly based on pages, not segments, swapping became a fairly close synonym of paging. You say that FB supports both, Linux supports paging only. Well, Linux utilizes swap space as part of virtual memory. So, can you elaborate more on that - what is the essence of the diff, why should I avoid the term "swapping" when referring to Linux, assuming VMM systems on both ? jb From owner-freebsd-questions@FreeBSD.ORG Wed May 29 20:06:32 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9B14524F for ; Wed, 29 May 2013 20:06:32 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pd0-f178.google.com (mail-pd0-f178.google.com [209.85.192.178]) by mx1.freebsd.org (Postfix) with ESMTP id 7B69D648 for ; Wed, 29 May 2013 20:06:32 +0000 (UTC) Received: by mail-pd0-f178.google.com with SMTP id w11so6257075pde.23 for ; Wed, 29 May 2013 13:06:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=C2d7FpUYQYa6FUNEhEboG5gVZslHryNoFBoK+aN3JzM=; b=BwqAMJmRaS3CsOM5xPbcX2kE6fAyoSi4gXMzzQYEyLMYktfcL43p/4Y+4Z4fjKdMJD xPukJKOBS+hR9GxANy8oLbfIxrEOXPmGjd5uY63xIeudm3HJdJFMek79HooKZ4JF/JWi xBDc2dKous7JBsUO8ZWlY1C7rziSiSUwb3XpuMrShH+v6pP4pzU4+ko6immwqPzHB04B VS5PPpQxATcTOjMT3cIgPZfI5xmbX60E27Xb4OqvSBI/Zdgdr26PZeOBKLVsVS5qq1tn w3lMhh5L/e4aDXrf1mjUiRaHJMMYQeBBR8g2RMX0YJ/hX1M/dJDL6nC5rgkE3ZMGqwSL QREA== MIME-Version: 1.0 X-Received: by 10.66.147.129 with SMTP id tk1mr4896445pab.191.1369857991821; Wed, 29 May 2013 13:06:31 -0700 (PDT) Received: by 10.70.31.195 with HTTP; Wed, 29 May 2013 13:06:31 -0700 (PDT) In-Reply-To: References: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> <20130529133516.295084a6@gumby.homeunix.com> Date: Wed, 29 May 2013 15:06:31 -0500 Message-ID: Subject: Re: "swap" partition leads to instability? From: Adam Vande More To: jb Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 20:06:32 -0000 On Wed, May 29, 2013 at 2:52 PM, jb wrote: > Well, Linux utilizes swap space as part of virtual memory. As does every other Unix. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Wed May 29 20:13:42 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id AB718342 for ; Wed, 29 May 2013 20:13:42 +0000 (UTC) (envelope-from paul@kraus-haus.org) Received: from mail-vb0-x230.google.com (mail-vb0-x230.google.com [IPv6:2607:f8b0:400c:c02::230]) by mx1.freebsd.org (Postfix) with ESMTP id 68364695 for ; Wed, 29 May 2013 20:13:42 +0000 (UTC) Received: by mail-vb0-f48.google.com with SMTP id w8so5555904vbf.7 for ; Wed, 29 May 2013 13:13:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=OzDOiuvQ64s/xwEukbUBPaJTOLLI21zA0++t8lDebgQ=; b=gsM1fgW27ndR+VXFgqPPFzbhzZZ/A1KpvCgnL06KNzv4Y++3X5EzapvOAHLmRY43a1 qobpH7C4VnTccIzUBH3EylXO5AmKBvwCUVJAdVQ5KUS/kTi1mXds+RJ+KCzObYtPK032 Pvy7wfYlWhZ3SbbFjmNTDfODExaqA2oGm3owGgBjt9h0jnP+L4qpi6JA/zg9ZSdkNtqo 5OvxL+W5A8cNrRoetRotQBcJ/Bqs7dyH/lAc7RxlCKvkFth81ssCSVbYJXBNRduWv7DE 25xsufpuMlHhY0HBd3wvOFOHrRt3Cc+KliiLRoA2RWzL37zPju1MX6deGUHluxoCUSw+ ZzRA== X-Received: by 10.52.114.135 with SMTP id jg7mr2286851vdb.78.1369858421855; Wed, 29 May 2013 13:13:41 -0700 (PDT) Received: from mbp1.kraus-haus.org (mail.thecreativeadvantage.com. [96.236.16.109]) by mx.google.com with ESMTPSA id ho10sm29709665vdb.7.2013.05.29.13.13.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 May 2013 13:13:40 -0700 (PDT) Subject: Re: "swap" partition leads to instability? Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset=us-ascii From: Paul Kraus In-Reply-To: Date: Wed, 29 May 2013 16:13:39 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <7695CBFB-60A6-4E64-BB8B-FD0413271A9D@kraus-haus.org> References: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> <20130529133516.295084a6@gumby.homeunix.com> To: jb X-Mailer: Apple Mail (2.1503) X-Gm-Message-State: ALoCoQl/fy+1DQu2s4Kns35GInWJ4fVgVBTdWwW5iZuLMXqVRp5/2lYTH6c8W3ZDZNWCnH54E5KO Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 20:13:42 -0000 On May 29, 2013, at 3:52 PM, jb wrote: > Yes, there is some confusion about the diff, if any, between paging = and=20 > swapping. >=20 > Paging - copying or moving pages between physical memory (RAM) and = secondary > storage (e.g. hard disk), in both directions. > Swapping - nowdays is synonymous with "paging". > You say that FB supports both, Linux supports paging only. > Well, Linux utilizes swap space as part of virtual memory. > So, can you elaborate more on that - what is the essence of the diff, = why > should I avoid the term "swapping" when referring to Linux, assuming = VMM > systems on both ? When I started working professionally with Unix systems in 1995, = I was taught that paging was the process of copying least used "pages" = of RAM onto disk so that the RAM could be freed if the system needed = more RAM. Swapping was the process of moving an entire program from RAM = to disk in order to free up RAM. In other words, a process can be "swapped out" and placed on = disk until it comes up to run again, at which point it can be "swapped = in" and executed. I think that much of the confusion comes from the use of the = SWAP device by the PAGING system. When the concept of paging came about, = it just used the already existing SWAP space to store it's "paged out" = pages of memory. On the systems I worked on at the time (SunOS / Solaris), paging = was a sign of pressure on the physical memory (RAM) of a system, = swapping was a sign of _severe_ physical memory pressure. This was a = time when we configured 2 to 4 times the amount of physical RAM as SWAP = space. RAM was very expensive and hard drives just expensive :-) It was = common on a "normally" operating system to see the page scanner* running = up to 100 times per second. A scan rate of over 100 was considered a = sign of pressure on RAM that needed to be addressed, any SWAPing was = considered a sign that the system needed more physical RAM. Today RAM is so cheap that _any_ paging is often considered bad = and an indication that more Ram should be added. *Solaris Page Scanner: This is a kernel level process that wakes up, = examines the amount of free RAM, and takes action based on that value. = The thresholds are all dynamic and based on the amount of RAM in the = system. Above a high water mark the scanner does nothing. As the amount = of free RAM drops, various pages of RAM are copied to SWAP space and the = RAM freed. Eventually, if the amount of free Ram falls low enough, even = parts of the kernel will be paged out. This is very bad and can lead to = a system "thrashing" where it spends the vast majority of it's time just = paging in and out and not actually getting anything done. -- Paul Kraus Deputy Technical Director, LoneStarCon 3 Sound Coordinator, Schenectady Light Opera Company From owner-freebsd-questions@FreeBSD.ORG Wed May 29 20:18:01 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1BAEE40E for ; Wed, 29 May 2013 20:18:01 +0000 (UTC) (envelope-from stuartb@4gh.net) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) by mx1.freebsd.org (Postfix) with ESMTP id DB0A96C0 for ; Wed, 29 May 2013 20:18:00 +0000 (UTC) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=2.1 cv=Krx0hwmN c=1 sm=0 tr=0 a=AYs0lCZhWNYcdqRGU1uqFQ==:117 a=xWl05iZal9sA:10 a=wPDyFdB5xvgA:10 a=kj9zAlcOel0A:10 a=J-SXeeTLAAAA:8 a=2XxJDLx0xmcA:10 a=4svSRLp8KaIAQZoLMZwA:9 a=CjuIK1q_8ugA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp01.rcn.cmh.synacor.com header.from=stuartb@4gh.net; sender-id=neutral Authentication-Results: smtp01.rcn.cmh.synacor.com smtp.mail=stuartb@4gh.net; spf=neutral; sender-id=neutral Authentication-Results: smtp01.rcn.cmh.synacor.com smtp.user=stuartb.4gh@starpower.net; auth=pass (LOGIN) Received-SPF: neutral (smtp01.rcn.cmh.synacor.com: 208.58.6.235 is neither permitted nor denied by domain of 4gh.net) Received: from [208.58.6.235] ([208.58.6.235:45035] helo=freeman.4gh.net) by smtp.rcn.com (envelope-from ) (ecelerity 2.2.3.49 r(42060/42061)) with ESMTPA id 1E/1C-06490-77266A15; Wed, 29 May 2013 16:17:59 -0400 Received: by freeman.4gh.net (Postfix, from userid 1001) id 8E4C7130E03; Wed, 29 May 2013 16:17:58 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by freeman.4gh.net (Postfix) with ESMTP id 864F8130DA7; Wed, 29 May 2013 16:17:58 -0400 (EDT) Date: Wed, 29 May 2013 16:17:58 -0400 (EDT) From: Stuart Barkley To: freebsd-questions@freebsd.org Subject: Re: BSD sleep In-Reply-To: <20130528230140.A5B396F448@smtp.hushmail.com> Message-ID: References: <20130528230140.A5B396F448@smtp.hushmail.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 20:18:01 -0000 On Tue, 28 May 2013 at 19:01 -0000, Kenta Suzumoto wrote: > Hi. Is there no built-in way of making "sleep" sleep in increments > of minutes, hours, etc? The GNU "sleep" can be invoked like "sleep > 1h" for an hour. The FreeBSD one's manpage leads me to believe we > can only use seconds, which is kind of annoying. Is there an > undocmented or missing feature here? Seems really trivial to > implement. > > ~ $ sleep 1h > usage: sleep seconds See also /usr/ports/misc/delay. Stuart From owner-freebsd-questions@FreeBSD.ORG Wed May 29 20:35:59 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BC1347E6 for ; Wed, 29 May 2013 20:35:59 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from flat.berklix.org (flat.berklix.org [83.236.223.115]) by mx1.freebsd.org (Postfix) with ESMTP id 542DC81B for ; Wed, 29 May 2013 20:35:58 +0000 (UTC) Received: from mart.js.berklix.net (p5DCBCDDA.dip0.t-ipconnect.de [93.203.205.218]) (authenticated bits=128) by flat.berklix.org (8.14.5/8.14.5) with ESMTP id r4TKZmk5007970; Wed, 29 May 2013 22:35:49 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id r4TKaAKH036459; Wed, 29 May 2013 22:36:10 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.4/8.14.4) with ESMTP id r4TKZhUE072068; Wed, 29 May 2013 22:36:00 +0200 (CEST) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201305292036.r4TKZhUE072068@fire.js.berklix.net> To: Olivier Nicole Subject: Re: How can I unload/load modules that complied inside the kernel? From: "Julian H. Stacey" Organization: http://berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Wed, 29 May 2013 17:54:59 +0700." <201305291054.r4TAsxF3074919@banyan.cs.ait.ac.th> Date: Wed, 29 May 2013 22:35:43 +0200 Sender: jhs@berklix.com Cc: alexl@mellanox.com, freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 20:35:59 -0000 Hi, Reference: > From: Olivier Nicole > Date: Wed, 29 May 2013 17:54:59 +0700 (ICT) Olivier Nicole wrote: > > [root@h-qa-033 ~]# uname -a > > FreeBSD h-qa-033 9.1-RELEASE FreeBSD 9.1-RELEASE #0: Tue May 28 11:26:45 IDT 2013 root@h-qa-033:/usr/obj/lab/odeds/freebsd/9.1.0/sys/MYKERNEL amd64 > > > > OFED and IB support are compiled in kernel. > > > > > > 1. How can I unload/load modules that complied inside the kernel? > > kldload and kldunload should be what you are looking for. [Unless things have got more flexible] I dont believe you can unload/load modules that complied inside the kernel. I think you need to compile a new kernel without the modules you want to toggle on & off, Then you can use kldload and kldunload. Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com Reply below not above, like a play script. Indent old text with "> ". Send plain text. No quoted-printable, HTML, base64, multipart/alternative. From owner-freebsd-questions@FreeBSD.ORG Wed May 29 22:51:27 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B32892E6 for ; Wed, 29 May 2013 22:51:27 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (be-well.ilk.org [23.30.133.173]) by mx1.freebsd.org (Postfix) with ESMTP id 8DD3BD92 for ; Wed, 29 May 2013 22:51:27 +0000 (UTC) Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.41]) by be-well.ilk.org (Postfix) with ESMTP id 921A633C24; Wed, 29 May 2013 18:51:21 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id 9C9AF3984A; Wed, 29 May 2013 18:51:20 -0400 (EDT) From: Lowell Gilbert To: Peter Andreev Subject: Re: Any arp table size limitations? References: Date: Wed, 29 May 2013 18:51:20 -0400 In-Reply-To: (Peter Andreev's message of "Tue, 28 May 2013 12:26:06 +0400") Message-ID: <44bo7t4cyf.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: freebsd List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 May 2013 22:51:27 -0000 Peter Andreev writes: > We are connecting to an IXP, they have tested our FreeBSD 9.1 server and > said we can store only about 600 MACs simultaneously. So I'd like to ask if > there is any arp table size limitations and if so, how we can increase the > limit? I looked at the code and there don't seem to be any arbitrary limits. The code isn't optimized for really large numbers of entries, but 600 isn't what I'd consider large in this context. I ran a simple shell script and had no problems entering many thousands of static ARP entries, so my interpretation from reading the code isn't horribly wrong. I think you need to find out what kind of problems they ran into at 600 entries. As a (maybe-irrelevant) side point, I don't know what you mean by IXP, since in my background the term means "Internet eXchange Point," and isn't likely to get anywhere close to 600 ARP entries on a single subnet. From owner-freebsd-questions@FreeBSD.ORG Thu May 30 03:06:27 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9ED1F1974 for ; Thu, 30 May 2013 03:06:27 +0000 (UTC) (envelope-from account.update@financier.com) Received: from financier.com (host34-217-static.37-88-b.business.telecomitalia.it [88.37.217.34]) by mx1.freebsd.org (Postfix) with ESMTP id A6E8A6CB for ; Thu, 30 May 2013 03:06:24 +0000 (UTC) From: account.update@financier.com To: freebsd-questions@freebsd.org Subject: Help us identify you and your account Date: 30 May 2013 05:14:34 +0200 Message-ID: <20130530051434.6BF4803DDE5454F3@financier.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: account.update@financier.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 May 2013 03:06:27 -0000 [ChaseNew.gif] Help us identify your account Dear Customer, We need your help resolving an issue with your account. To give us time to work together on this, we've temporarily limited what you can do with your account until the issue is resolved. We understand it may be frustrating not to have full access to your Bank account. We want to work with you to get your account back to normal as quickly as possible. What's the problem? We need a little bit more information about you to help confirm your identity. Case ID Number: PP-001-487-280-335 [1]CLICK TO CONFIRM To help us with this and to find out what you can and can't do with your account until the issue is resolved, log in to your account and go to the Resolution Center. Sincerely, Chase Bank References 1. http://www.sciproducts.co.uk/update/chase/Homepage.php?https://chaseonline.chase.com/Logon.aspx?LOB=RBGLogon From owner-freebsd-questions@FreeBSD.ORG Thu May 30 05:39:40 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 712A8E6 for ; Thu, 30 May 2013 05:39:40 +0000 (UTC) (envelope-from andreev.peter@gmail.com) Received: from mail-wg0-x22f.google.com (mail-wg0-x22f.google.com [IPv6:2a00:1450:400c:c00::22f]) by mx1.freebsd.org (Postfix) with ESMTP id 0CD3DFB9 for ; Thu, 30 May 2013 05:39:39 +0000 (UTC) Received: by mail-wg0-f47.google.com with SMTP id e11so6892104wgh.26 for ; Wed, 29 May 2013 22:39:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=GSEEekO8lALnsMT0Q5xLlirUYPuTNvf31teQvCCocKk=; b=DAtUGJjNcsz9S0SfZYeDlu3ewoMhR77HvDuj2hZWgPtstVylEkVGsqfGLZmyRUkmNU ss+6X9SBGfFV1wYWfjKf9L/o8ipEVQGj+71Ynz/tGMeZv9r0a+cTI0dIcda8Bu4Z5WNl LwgvkZvVaPDkEHnPj/kqKue/AUWlr5uaOxq6AQ6gKNNEogqlP7nEdUXshzBZg6FJ22Pr CDqktJ/+rM+aIaM3YxjGliidcqsRpCmfj5NWdX2Hrcp3eaO9jlqlqpnSavkuaEMs96l2 y1FLepdE9D6HS8wz1/N9Kx7gdGfay1a7hJFxEZC9Gv6r1TAWUoey9XqfhZAoKCELsdsJ lztw== MIME-Version: 1.0 X-Received: by 10.181.13.229 with SMTP id fb5mr2872039wid.16.1369892379117; Wed, 29 May 2013 22:39:39 -0700 (PDT) Received: by 10.227.52.134 with HTTP; Wed, 29 May 2013 22:39:39 -0700 (PDT) In-Reply-To: <44bo7t4cyf.fsf@lowell-desk.lan> References: <44bo7t4cyf.fsf@lowell-desk.lan> Date: Thu, 30 May 2013 09:39:39 +0400 Message-ID: Subject: Re: Any arp table size limitations? From: Peter Andreev To: freebsd Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 May 2013 05:39:40 -0000 Thank you Lowell, Yes, that's an Internet exchange point. We have done a similar test and didn't found any problems, I asked on maillist just to be sure. 2013/5/30 Lowell Gilbert > Peter Andreev writes: > > > We are connecting to an IXP, they have tested our FreeBSD 9.1 server and > > said we can store only about 600 MACs simultaneously. So I'd like to ask > if > > there is any arp table size limitations and if so, how we can increase > the > > limit? > > I looked at the code and there don't seem to be any arbitrary > limits. The code isn't optimized for really large numbers of entries, > but 600 isn't what I'd consider large in this context. > > I ran a simple shell script and had no problems entering many thousands > of static ARP entries, so my interpretation from reading the code isn't > horribly wrong. I think you need to find out what kind of problems they > ran into at 600 entries. > > As a (maybe-irrelevant) side point, I don't know what you mean by IXP, > since in my background the term means "Internet eXchange Point," and > isn't likely to get anywhere close to 600 ARP entries on a single > subnet. > -- AP From owner-freebsd-questions@FreeBSD.ORG Thu May 30 09:48:45 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 81F459AA; Thu, 30 May 2013 09:48:45 +0000 (UTC) (envelope-from schweikh@schweikhardt.net) Received: from rs2.shuttle.de (rs2.shuttle.de [IPv6:2001:638:206:3::8]) by mx1.freebsd.org (Postfix) with ESMTP id 4544BF59; Thu, 30 May 2013 09:48:45 +0000 (UTC) Received: by rs2.shuttle.de (Postfix, from userid 10) id EACA65804B; Thu, 30 May 2013 11:48:43 +0200 (CEST) Received: from hal9000.schweikhardt.net (localhost [127.0.0.1]) by hal9000.schweikhardt.net (8.14.7/8.14.7) with ESMTP id r4U9mWQV000737; Thu, 30 May 2013 11:48:32 +0200 (CEST) (envelope-from schweikh@hal9000.schweikhardt.net) Received: (from schweikh@localhost) by hal9000.schweikhardt.net (8.14.7/8.14.7/Submit) id r4U9mWTC000736; Thu, 30 May 2013 11:48:32 +0200 (CEST) (envelope-from schweikh) Date: Thu, 30 May 2013 11:48:32 +0200 From: Jens Schweikhardt To: Kenta Suzumoto Subject: Re: BSD sleep Message-ID: <20130530094832.GB3053@schweikhardt.net> References: <20130528230140.A5B396F448@smtp.hushmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130528230140.A5B396F448@smtp.hushmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-current@freebsd.org, freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 May 2013 09:48:45 -0000 On Tue, May 28, 2013 at 07:01:40PM -0400, Kenta Suzumoto wrote: # Hi. Is there no built-in way of making "sleep" sleep in increments # of minutes, hours, etc? The GNU "sleep" can be invoked like "sleep # 1h" for an hour. The FreeBSD one's manpage leads me to believe we # can only use seconds, which is kind of annoying. Is there an # undocmented or missing feature here? Seems really trivial to # implement. # # ~ $ sleep 1h # usage: sleep seconds Perfection is reached when there is nothing left to take away. The GNU format is already an incompatibility. If I want to sleep longer than 3 digit amount in secs, I do the math. The POSIXly *portable* way to do this and document it for the mathematically challenged is sleep $((2*60*60)) # 2h sleep $((7*24*60*60)) # 1w Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped) From owner-freebsd-questions@FreeBSD.ORG Thu May 30 10:35:40 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 13ACD49E for ; Thu, 30 May 2013 10:35:40 +0000 (UTC) (envelope-from pulsarpietro@aol.com) Received: from omr-m04.mx.aol.com (omr-m04.mx.aol.com [64.12.143.78]) by mx1.freebsd.org (Postfix) with ESMTP id E252026C for ; Thu, 30 May 2013 10:35:39 +0000 (UTC) Received: from mtaout-da04.r1000.mx.aol.com (mtaout-da04.r1000.mx.aol.com [172.29.51.132]) by omr-m04.mx.aol.com (Outbound Mail Relay) with ESMTP id 5E72570001D74 for ; Thu, 30 May 2013 06:35:33 -0400 (EDT) Received: from ppaolini-mac.genexislocal.nl (mail.genexis.nl [78.108.141.145]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mtaout-da04.r1000.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id CA196E00009D for ; Thu, 30 May 2013 06:35:32 -0400 (EDT) From: Pietro Paolini Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: VIMAGE Message-Id: Date: Thu, 30 May 2013 12:35:31 +0200 To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) X-Mailer: Apple Mail (2.1503) x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20121107; t=1369910133; bh=RD51fm7cPau5OnF9LsPzf1XS2C0aqc1ENsYydOf+AK0=; h=From:To:Subject:Message-Id:Date:Mime-Version:Content-Type; b=ThwQ4r0xBrOrwMt4U+7cAeD2KQkp/JET2w1mzIX3CvbFWJ9qckHCPiq6hnbZV760z rtffM2QFD+8sbcladBNq2ZYO58aHljK3yxL9TkV3JfsNkwlAYhSF7cbbc+4/052z7B VSQnmgUDTI0ksHqBThpCmM+vUV7vVUGLp9jaGd5w= X-AOL-SCOLL-SCORE: 0:2:389047104:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d338451a72b742cef X-AOL-IP: 78.108.141.145 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 May 2013 10:35:40 -0000 Hello all, I am a new bye on the FreeBSD and I am looking at the VIMAGE features = experiencing some problems. I added the options : VIMAGE if_bridge and I removed STCP then I recompiled my kernel and install it. After that, following this tutorial = http://imunes.tel.fer.hr/virtnet/eurobsdcon07_tutorial.pdf I tried the = "Exercise 2" which consist on=20 the following commands: vimage -c n1 vimage -c n2 ngctl mkpeer efface ether ether ngctl mkpeer efface ether ether ngctl mkpeer em0: bridge lower link0 ngctl name em0:lower bridge0 ngctl connect em0: bridge0: upper link1 ngctl connect ngeth0: bridge0: ether link2 ngctl connect ngeth1: bridge0: ether link3 vimage -i n1 ngeth0 e0 But my virtual interface on the n1 vimage does not receive any packet = from the external network while I can see the packet go out from it. For instance using DHCP, e0 on n1 sends DHCP packets but it does not = receive the answers (which are send, I verified it from wireshark), in = adding the ARP request for his IP address (if I try to add it statically) are = not received then it can not answer. At the end of the line the question is: how can I make this "virtual = network" and the external real network be able to communicate ? Thanks in advance. Pietro. From owner-freebsd-questions@FreeBSD.ORG Thu May 30 12:29:40 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 95F29F25 for ; Thu, 30 May 2013 12:29:40 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 84F1EB2A for ; Thu, 30 May 2013 12:29:40 +0000 (UTC) Received: from [10.0.10.1] ([173.88.196.224]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 30 May 2013 05:29:41 -0700 Message-ID: <51A74637.8090809@a1poweruser.com> Date: Thu, 30 May 2013 08:29:43 -0400 From: Joe User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Pietro Paolini Subject: Re: VIMAGE References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 30 May 2013 12:29:41.0590 (UTC) FILETIME=[5BD6AF60:01CE5D31] X-Sender: fbsd8@a1poweruser.com X-Authenticated-Sender: fbsd8@a1poweruser.com X-EchoSenderHash: [fbsd8]-[a1poweruser*com] Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 May 2013 12:29:40 -0000 Pietro Paolini wrote: > Hello all, > > I am a new bye on the FreeBSD and I am looking at the VIMAGE features experiencing some problems. > I added the options : > VIMAGE > if_bridge > > and I removed > STCP > > then I recompiled my kernel and install it. > > After that, following this tutorial http://imunes.tel.fer.hr/virtnet/eurobsdcon07_tutorial.pdf I tried the "Exercise 2" which consist on > the following commands: > > vimage -c n1 > vimage -c n2 > ngctl mkpeer efface ether ether > ngctl mkpeer efface ether ether > ngctl mkpeer em0: bridge lower link0 > ngctl name em0:lower bridge0 > ngctl connect em0: bridge0: upper link1 > ngctl connect ngeth0: bridge0: ether link2 > ngctl connect ngeth1: bridge0: ether link3 > vimage -i n1 ngeth0 e0 > > But my virtual interface on the n1 vimage does not receive any packet from the external network while I can see the packet go out from it. > > For instance using DHCP, e0 on n1 sends DHCP packets but it does not receive the answers (which are send, I verified it from wireshark), in adding > the ARP request for his IP address (if I try to add it statically) are not received then it can not answer. > > At the end of the line the question is: how can I make this "virtual network" and the external real network be able to communicate ? > > Thanks in advance. > Pietro. > > 1. That link is from 2007. So very much has changed since then. There are more current links on the internet about this subject. Most are for 8.X releases. 2. If your running 8.2-RELEASE or 9.1-RELEASE all you need to add is "options vimage" statement to your kernel source and recompile. 3. There are 2 networking methods available for creating vnet/vimage jail networks, if_bridge/epair and netgraph. The if_bridge/epair method is far simpler to config and use then the netgraph method. 4. There are 2 methods of jail setup, the rc.d method where your jail definition parameters go into the hosts rc.conf and the jail(8) method where you can place each jails definition parameter in separate files. 5. There are two very important show stopper PRs on vimage, 164763 memory leak and 149050 the rc.d keyword "nojail" problem. Vimage is a very long way from prime time usage, thats why it's labeled as highly experimental. Host system freezes and page faults are common. 6. When it comes to running a firewall in a vnet/vimage jail your limited to IPFW and it has limitations. Dummynet and in kernel NAT cause system freezes. IPFILTER causes page fault at boot time. PF will run on the host but not run in the vnet/vimage jail. Here are a bunch of PRs on vimage firewall problems, 143621, 176092, 161094, 176992, 143808, 148155, 165252, 178480, 178482 Check out these links http://druidbsd.sourceforge.net/vimage.shtml http://devinteske.com/vimage-jails-on-freebsd-8 http://lists.freebsd.org/pipermail/freebsd-virtualization/2011-September/000747.html http://bsdbased.com/2009/12/06/freebsd-8-vimage-epair-howto http://zewaren.net/site/?q=node/78 From owner-freebsd-questions@FreeBSD.ORG Thu May 30 13:46:15 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 274F8DEC for ; Thu, 30 May 2013 13:46:15 +0000 (UTC) (envelope-from mark@msen.com) Received: from shell.msen.com (msen.com [148.59.86.2]) by mx1.freebsd.org (Postfix) with ESMTP id 6A8DD28B for ; Thu, 30 May 2013 13:46:14 +0000 (UTC) X-Sent-To: Received: from [192.168.2.21] (99-170-102-4.lightspeed.livnmi.sbcglobal.net [99.170.102.4]) (authenticated bits=0) by shell.msen.com (8.14.3/8.14.3) with ESMTP id r4UDk5YX098106 for ; Thu, 30 May 2013 09:46:13 -0400 (EDT) (envelope-from mark@msen.com) Message-ID: <51A7583F.70302@msen.com> Date: Thu, 30 May 2013 09:46:39 -0400 From: Mark Moellering User-Agent: Mozilla/5.0 (Windows NT 5.2; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: VIMAGE (slightly off topic) References: <51A74637.8090809@a1poweruser.com> In-Reply-To: <51A74637.8090809@a1poweruser.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: Pass (sender authenticated); receiver=msen.com; client-ip=99.170.102.4; envelope-from= Received-SPF: Pass (sender authenticated); receiver=msen.com; client-ip=99.170.102.4; helo=[192.168.2.21] X-Milter: Spamilter (Reciever: shell.msen.com; Sender-ip: 99.170.102.4; Sender-helo: [192.168.2.21]; ) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 May 2013 13:46:15 -0000 On 5/30/2013 8:29 AM, Joe wrote: > Pietro Paolini wrote: >> Hello all, >> >> I am a new bye on the FreeBSD and I am looking at the VIMAGE features >> experiencing some problems. >> I added the options : >> VIMAGE >> if_bridge >> >> and I removed >> STCP >> >> then I recompiled my kernel and install it. >> >> After that, following this tutorial >> http://imunes.tel.fer.hr/virtnet/eurobsdcon07_tutorial.pdf I tried >> the "Exercise 2" which consist on the following commands: >> >> vimage -c n1 >> vimage -c n2 >> ngctl mkpeer efface ether ether >> ngctl mkpeer efface ether ether >> ngctl mkpeer em0: bridge lower link0 >> ngctl name em0:lower bridge0 >> ngctl connect em0: bridge0: upper link1 >> ngctl connect ngeth0: bridge0: ether link2 >> ngctl connect ngeth1: bridge0: ether link3 >> vimage -i n1 ngeth0 e0 >> >> But my virtual interface on the n1 vimage does not receive any packet >> from the external network while I can see the packet go out from it. >> >> For instance using DHCP, e0 on n1 sends DHCP packets but it does not >> receive the answers (which are send, I verified it from wireshark), >> in adding >> the ARP request for his IP address (if I try to add it statically) >> are not received then it can not answer. >> >> At the end of the line the question is: how can I make this "virtual >> network" and the external real network be able to communicate ? >> >> Thanks in advance. >> Pietro. >> >> > > 1. That link is from 2007. So very much has changed since then. > There are more current links on the internet about this subject. Most > are for 8.X releases. > > 2. If your running 8.2-RELEASE or 9.1-RELEASE all you need to add is > "options vimage" statement to your kernel source and recompile. > > 3. There are 2 networking methods available for creating vnet/vimage > jail networks, if_bridge/epair and netgraph. The if_bridge/epair > method is far simpler to config and use then the netgraph method. > > 4. There are 2 methods of jail setup, the rc.d method where your jail > definition parameters go into the hosts rc.conf and the jail(8) method > where you can place each jails definition parameter in separate files. > > 5. There are two very important show stopper PRs on vimage, > 164763 memory leak and 149050 the rc.d keyword "nojail" problem. > Vimage is a very long way from prime time usage, thats why it's > labeled as highly experimental. Host system freezes and page faults > are common. > > 6. When it comes to running a firewall in a vnet/vimage jail your > limited to IPFW and it has limitations. Dummynet and in kernel NAT > cause system freezes. IPFILTER causes page fault at boot time. PF will > run on the host but not run in the vnet/vimage jail. Here are a bunch > of PRs on vimage firewall problems, 143621, 176092, 161094, 176992, > 143808, 148155, 165252, 178480, 178482 > > > Check out these links > > http://druidbsd.sourceforge.net/vimage.shtml > http://devinteske.com/vimage-jails-on-freebsd-8 > http://lists.freebsd.org/pipermail/freebsd-virtualization/2011-September/000747.html > > > http://bsdbased.com/2009/12/06/freebsd-8-vimage-epair-howto > http://zewaren.net/site/?q=node/78 > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > I would like to thank Pietro for asking the question and Joe for answering, as I was looking into vimage myself. This sort of thing really helps a lot of people who are exploring FreeBSD and new features. From owner-freebsd-questions@FreeBSD.ORG Thu May 30 15:06:08 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DDC0BD9F for ; Thu, 30 May 2013 15:06:08 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wg0-x22d.google.com (mail-wg0-x22d.google.com [IPv6:2a00:1450:400c:c00::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 76EBCAF2 for ; Thu, 30 May 2013 15:06:08 +0000 (UTC) Received: by mail-wg0-f45.google.com with SMTP id n12so341297wgh.12 for ; Thu, 30 May 2013 08:06:07 -0700 (PDT) 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=JXpHHB+803kgplmG8fwFnYMofcd5ACEUoRN31dMY3Jo=; b=j/yhqm0EA+0oAupp0xgl+rLw9hZMMiWJ26T5RoY/HNjfrlnpGbOVrmOL2VKm43/Rj8 +N9/3dfVVHM+csB+jCtO8WuZAdUIxd9e0ycuBTPR525Jm4xINCtdGwtX0omdgoVlwd7x j9jPOuRiSvfsD6oRo+zOtdgHkdGVCy/ciVvr00mYPrnsGD2yq9PYGsu5Vj9MWupOK93f CznHrYjMm+STiTysQ4x+0QciwHLQqtsa+7uow5tCD2+q5V1T2pKHLQ8ccscOAFJkibNk 4bnwEQ7txUWPXgG0CySEixu8ZmXrM6VGCRRJCvHMW9pR7c6JWKQ76SF6twlKGHac7CCs cEFQ== X-Received: by 10.180.184.83 with SMTP id es19mr18960400wic.54.1369926367660; Thu, 30 May 2013 08:06:07 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPSA id fu14sm38648600wic.0.2013.05.30.08.05.57 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Thu, 30 May 2013 08:05:57 -0700 (PDT) Date: Thu, 30 May 2013 16:05:55 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: "swap" partition leads to instability? Message-ID: <20130530160555.3104ced6@gumby.homeunix.com> In-Reply-To: References: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> <20130529133516.295084a6@gumby.homeunix.com> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.17; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 May 2013 15:06:08 -0000 On Wed, 29 May 2013 19:52:02 +0000 (UTC) jb wrote: > RW googlemail.com> writes: > > > > > BTW you mean paging, or swap use, rather that swapping. Linux > > supports only paging, so it can be taken as read that swapping > > means paging, but FreeBSD supports both. > > Yes, there is some confusion about the diff, if any, between paging > and swapping. > > Paging - copying or moving pages between physical memory (RAM) and > secondary storage (e.g. hard disk), in both directions. > Swapping - nowdays is synonymous with "paging". > But its history is as follows (per Wikipedia): This is a bit Linux-centric. > You say that FB supports both, Linux supports paging only. > Well, Linux utilizes swap space as part of virtual memory. > So, can you elaborate more on that - what is the essence of the diff, > why should I avoid the term "swapping" when referring to Linux, > assuming VMM systems on both ? You page-out pages and swap-out processes. When FreeBSD is very short of memory it swaps-out entire processes to concentrate the memory in the running processes. Linux goes directly from paging to killing processes. You can also set vm.swap_idle_enabled to allow idle processes to be swapped during normal use. This may help if a server has a lot memory tied up in processes that tend to be idle for long periods of time - traditionally used on shell servers. These days you'd probably want to be adding more memory. From owner-freebsd-questions@FreeBSD.ORG Thu May 30 15:21:27 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C82FE6DC for ; Thu, 30 May 2013 15:21:27 +0000 (UTC) (envelope-from pulsarpietro@aol.com) Received: from omr-m01.mx.aol.com (omr-m01.mx.aol.com [64.12.143.75]) by mx1.freebsd.org (Postfix) with ESMTP id 8E7D3D1E for ; Thu, 30 May 2013 15:21:27 +0000 (UTC) Received: from mtaout-da04.r1000.mx.aol.com (mtaout-da04.r1000.mx.aol.com [172.29.51.132]) by omr-m01.mx.aol.com (Outbound Mail Relay) with ESMTP id 3C29F700580DE; Thu, 30 May 2013 11:21:21 -0400 (EDT) Received: from ppaolini-mac.genexislocal.nl (mail.genexis.nl [78.108.141.145]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mtaout-da04.r1000.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id 50CC0E000089; Thu, 30 May 2013 11:21:20 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: VIMAGE From: Pietro Paolini In-Reply-To: <51A74637.8090809@a1poweruser.com> Date: Thu, 30 May 2013 17:21:17 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <627BE01F-08C6-4A79-A6DC-32B7C65B6DA7@aol.com> References: <51A74637.8090809@a1poweruser.com> To: Joe X-Mailer: Apple Mail (2.1503) x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20121107; t=1369927281; bh=SoRTeakSSNphgycXvNXmDF2oJeMnm1ykjf/PdIVlMbk=; h=From:To:Subject:Message-Id:Date:Mime-Version:Content-Type; b=nWipejdqQMKB224Corl6Am6QF1Nu/TOC2RsJIdRIyyDIZhUuqaUOTcxxckabd/X3C 9uTwKHgHIFivxLMY4UDdTLp4BWTcXvW2wiMMbq1Qhwu0tQW6l0lV7Aru5MV4FtcYpe VYBS0ZMQiTJriJJ9SKuFH9V5hRmGKyI+0zeFr3+s= X-AOL-SCOLL-SCORE: 0:2:458288352:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d338451a76e6e1237 X-AOL-IP: 78.108.141.145 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 May 2013 15:21:27 -0000 On May 30, 2013, at 2:29 PM, Joe wrote: > Pietro Paolini wrote: >> Hello all, >> I am a new bye on the FreeBSD and I am looking at the VIMAGE features = experiencing some problems. >> I added the options : >> VIMAGE >> if_bridge >> and I removed >> STCP >> then I recompiled my kernel and install it. >> After that, following this tutorial = http://imunes.tel.fer.hr/virtnet/eurobsdcon07_tutorial.pdf I tried the = "Exercise 2" which consist on the following commands: >> vimage -c n1 >> vimage -c n2 >> ngctl mkpeer efface ether ether >> ngctl mkpeer efface ether ether >> ngctl mkpeer em0: bridge lower link0 >> ngctl name em0:lower bridge0 >> ngctl connect em0: bridge0: upper link1 >> ngctl connect ngeth0: bridge0: ether link2 >> ngctl connect ngeth1: bridge0: ether link3 >> vimage -i n1 ngeth0 e0 >> But my virtual interface on the n1 vimage does not receive any packet = from the external network while I can see the packet go out from it. >> For instance using DHCP, e0 on n1 sends DHCP packets but it does not = receive the answers (which are send, I verified it from wireshark), in = adding >> the ARP request for his IP address (if I try to add it statically) = are not received then it can not answer. >> At the end of the line the question is: how can I make this "virtual = network" and the external real network be able to communicate ? >> Thanks in advance. >> Pietro. >=20 > 1. That link is from 2007. So very much has changed since then. > There are more current links on the internet about this subject. Most = are for 8.X releases. >=20 > 2. If your running 8.2-RELEASE or 9.1-RELEASE all you need to add is = "options vimage" statement to your kernel source and recompile. >=20 > 3. There are 2 networking methods available for creating vnet/vimage = jail networks, if_bridge/epair and netgraph. The if_bridge/epair method = is far simpler to config and use then the netgraph method. >=20 > 4. There are 2 methods of jail setup, the rc.d method where your jail = definition parameters go into the hosts rc.conf and the jail(8) method = where you can place each jails definition parameter in separate files. >=20 > 5. There are two very important show stopper PRs on vimage, > 164763 memory leak and 149050 the rc.d keyword "nojail" problem. > Vimage is a very long way from prime time usage, thats why it's = labeled as highly experimental. Host system freezes and page faults are = common. >=20 > 6. When it comes to running a firewall in a vnet/vimage jail your = limited to IPFW and it has limitations. Dummynet and in kernel NAT cause = system freezes. IPFILTER causes page fault at boot time. PF will run on = the host but not run in the vnet/vimage jail. Here are a bunch of PRs on = vimage firewall problems, 143621, 176092, 161094, 176992, 143808, = 148155, 165252, 178480, 178482 >=20 >=20 > Check out these links >=20 > http://druidbsd.sourceforge.net/vimage.shtml > http://devinteske.com/vimage-jails-on-freebsd-8 > = http://lists.freebsd.org/pipermail/freebsd-virtualization/2011-September/0= 00747.html >=20 > http://bsdbased.com/2009/12/06/freebsd-8-vimage-epair-howto > http://zewaren.net/site/?q=3Dnode/78 >=20 >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" Thanks so much, really interesting and good links but I can't again = accomplish my task - I followed = http://bsdbased.com/2009/12/06/freebsd-8-vimage-epair-howto as a base = tutorial -=20 I would like simulate more client for my PC using this technology, and = that's my topology: 1 - Two epairs created=20 2 - Two jail created 3 - Assign one intf for jail 4 - Add the real interface to a bridge where I put all the interfaces ------- JAIL1 0b ------- ------- JAIL2 =20 1b ------- ------- HOST 0a 1a em0 --> REAL ------- Where {0,1}a is the first pair and {0,1}b is the second and em0 is my = real interface (it has an IP address), then I got to the problem, I = tried=20 to : jexec 2 dhclient epair1b =20 And I can see the DHCP packet with the correct MAC address going out, = the server reply (I have a sniffer pc) but the transaction does not end = successfully, what is really strange is that if I attach tcpdump on em0 = I can NOT see the answer server sends while when I try dhclient em0=20 I can see the packet going in and out and the DHCP transaction finish = successfully. Do you have any idea about how can I accomplish my=20 target ? Maybe I am using the wrong technology ? I would not surprised if I make a error on my configuration but what = really interest me is if I CAN do that using jail. Thanks a lot, and in advance ! :-) Pietro. >=20 From owner-freebsd-questions@FreeBSD.ORG Thu May 30 16:18:47 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 89E07E27 for ; Thu, 30 May 2013 16:18:47 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 770B92D8 for ; Thu, 30 May 2013 16:18:47 +0000 (UTC) Received: from [10.0.10.1] ([173.88.196.224]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 30 May 2013 09:18:47 -0700 Message-ID: <51A77BE9.7070107@a1poweruser.com> Date: Thu, 30 May 2013 12:18:49 -0400 From: Joe User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Pietro Paolini Subject: Re: VIMAGE References: <51A74637.8090809@a1poweruser.com> <627BE01F-08C6-4A79-A6DC-32B7C65B6DA7@aol.com> In-Reply-To: <627BE01F-08C6-4A79-A6DC-32B7C65B6DA7@aol.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 30 May 2013 16:18:47.0764 (UTC) FILETIME=[5D326140:01CE5D51] X-Sender: fbsd8@a1poweruser.com X-Authenticated-Sender: fbsd8@a1poweruser.com X-EchoSenderHash: [fbsd8]-[a1poweruser*com] Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 May 2013 16:18:47 -0000 Pietro Paolini wrote: > On May 30, 2013, at 2:29 PM, Joe wrote: > >> Pietro Paolini wrote: >>> Hello all, >>> I am a new bye on the FreeBSD and I am looking at the VIMAGE features experiencing some problems. >>> I added the options : >>> VIMAGE >>> if_bridge >>> and I removed >>> STCP >>> then I recompiled my kernel and install it. >>> After that, following this tutorial http://imunes.tel.fer.hr/virtnet/eurobsdcon07_tutorial.pdf I tried the "Exercise 2" which consist on the following commands: >>> vimage -c n1 >>> vimage -c n2 >>> ngctl mkpeer efface ether ether >>> ngctl mkpeer efface ether ether >>> ngctl mkpeer em0: bridge lower link0 >>> ngctl name em0:lower bridge0 >>> ngctl connect em0: bridge0: upper link1 >>> ngctl connect ngeth0: bridge0: ether link2 >>> ngctl connect ngeth1: bridge0: ether link3 >>> vimage -i n1 ngeth0 e0 >>> But my virtual interface on the n1 vimage does not receive any packet from the external network while I can see the packet go out from it. >>> For instance using DHCP, e0 on n1 sends DHCP packets but it does not receive the answers (which are send, I verified it from wireshark), in adding >>> the ARP request for his IP address (if I try to add it statically) are not received then it can not answer. >>> At the end of the line the question is: how can I make this "virtual network" and the external real network be able to communicate ? >>> Thanks in advance. >>> Pietro. >> 1. That link is from 2007. So very much has changed since then. >> There are more current links on the internet about this subject. Most are for 8.X releases. >> >> 2. If your running 8.2-RELEASE or 9.1-RELEASE all you need to add is "options vimage" statement to your kernel source and recompile. >> >> 3. There are 2 networking methods available for creating vnet/vimage jail networks, if_bridge/epair and netgraph. The if_bridge/epair method is far simpler to config and use then the netgraph method. >> >> 4. There are 2 methods of jail setup, the rc.d method where your jail definition parameters go into the hosts rc.conf and the jail(8) method where you can place each jails definition parameter in separate files. >> >> 5. There are two very important show stopper PRs on vimage, >> 164763 memory leak and 149050 the rc.d keyword "nojail" problem. >> Vimage is a very long way from prime time usage, thats why it's labeled as highly experimental. Host system freezes and page faults are common. >> >> 6. When it comes to running a firewall in a vnet/vimage jail your limited to IPFW and it has limitations. Dummynet and in kernel NAT cause system freezes. IPFILTER causes page fault at boot time. PF will run on the host but not run in the vnet/vimage jail. Here are a bunch of PRs on vimage firewall problems, 143621, 176092, 161094, 176992, 143808, 148155, 165252, 178480, 178482 >> >> >> Check out these links >> >> http://druidbsd.sourceforge.net/vimage.shtml >> http://devinteske.com/vimage-jails-on-freebsd-8 >> http://lists.freebsd.org/pipermail/freebsd-virtualization/2011-September/000747.html >> >> http://bsdbased.com/2009/12/06/freebsd-8-vimage-epair-howto >> http://zewaren.net/site/?q=node/78 >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Thanks so much, really interesting and good links but I can't again accomplish my task - I followed http://bsdbased.com/2009/12/06/freebsd-8-vimage-epair-howto as a base tutorial - > > > I would like simulate more client for my PC using this technology, and that's my topology: > > 1 - Two epairs created > 2 - Two jail created > 3 - Assign one intf for jail > 4 - Add the real interface to a bridge where I put all the interfaces > > ------- > JAIL1 > 0b > ------- > > ------- > JAIL2 > 1b > ------- > > ------- > HOST > 0a > 1a > em0 --> REAL > ------- > > Where {0,1}a is the first pair and {0,1}b is the second and em0 is my real interface (it has an IP address), then I got to the problem, I tried > to : > > jexec 2 dhclient epair1b > > And I can see the DHCP packet with the correct MAC address going out, the server reply (I have a sniffer pc) but the transaction does not end successfully, what is really strange is that if I attach tcpdump on em0 I can NOT see the answer server sends while when I try > > dhclient em0 > > I can see the packet going in and out and the DHCP transaction finish successfully. Do you have any idea about how can I accomplish my > target ? Maybe I am using the wrong technology ? > > I would not surprised if I make a error on my configuration but what really interest me is if I CAN do that using jail. > > Thanks a lot, and in advance ! :-) > > Pietro. > Pietro; You really have to provide a lot more info about your host system and jail configuration. What version of FreeBSD are you running? Which method do you use to create your jails, rc.d/rc.conf or jail(8). How are your creating the if_bridge/epair network, IE entering commands by hand or using a script? Post the script. Can you post the output of ifconfig command after you have your jail network created? How are you handling the "rc.d nojail keyword" problem? Have you manually assigned a private LAN ip address and default route to the epairXb interface inside of the vnet jail? DHCP will not work from inside of the vnet jail. Your ISP only assigns a single dymamic IP address per each account. You already used your assigned ip address for your host. If the computer your running the vnet/vimage jail on is on a local area network and the gateway host is running a DHCP server to dynamically assign private ip address to computers on the LAN, then DHCP in the vnet/vimage jail may work. To the broader question, why do you think you need a vnet/vimage jail in the first place. You wrote "simulate more client for my PC", If client means hosting paying clients then you sure don't want to be using vimage because it highly experimental and NOT reliable. Jails are a security feature that encloses a process in a container. By process I mean "postfix email server" or "apache web server". If your "client" means "processes", then this is what the non-vnet/vimage jail is for. From owner-freebsd-questions@FreeBSD.ORG Thu May 30 16:25:08 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 76D34FC9 for ; Thu, 30 May 2013 16:25:08 +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 3C7C8337 for ; Thu, 30 May 2013 16:25:07 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.17]) by ltcfislmsgpa04.fnfis.com (8.14.5/8.14.5) with ESMTP id r4UGP5mY001815 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 30 May 2013 11:25:05 -0500 Received: from LTCFISWMSGMB21.FNFIS.com ([10.132.99.23]) by LTCFISWMSGHT06.FNFIS.com ([10.132.206.17]) with mapi id 14.02.0309.002; Thu, 30 May 2013 11:25:05 -0500 From: "Teske, Devin" To: Pietro Paolini Subject: Re: VIMAGE Thread-Topic: VIMAGE Thread-Index: AQHOXSFz+LfSxNVDbEKhvdpKVCZplpkePgkA Date: Thu, 30 May 2013 16:25:04 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7201F68CBD@ltcfiswmsgmb21> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.126] MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626, 1.0.431, 0.0.0000 definitions=2013-05-30_05:2013-05-30,2013-05-30,1970-01-01 signatures=0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 May 2013 16:25:08 -0000 On May 30, 2013, at 3:35 AM, Pietro Paolini wrote: Hello all, I am a new bye on the FreeBSD and I am looking at the VIMAGE features exper= iencing some problems. I added the options : VIMAGE if_bridge and I removed STCP then I recompiled my kernel and install it. After that, following this tutorial http://imunes.tel.fer.hr/virtnet/eurobs= dcon07_tutorial.pdf I tried the "Exercise 2" which consist on the following commands: vimage -c n1 vimage -c n2 ngctl mkpeer efface ether ether ngctl mkpeer efface ether ether Don't you just love autocorrect? (does the same thing to me=85 turns "eifac= e" into "efface") ngctl mkpeer em0: bridge lower link0 Looks good. ngctl name em0:lower bridge0 I usually do my "connect" before the "name"=85 but shouldn't matter. Should= work all the same. ngctl connect em0: bridge0: upper link1 This looks wrong to me. I'd expect: ngctl connect em0: bridge0:lower upper link1 # The way I see most people using vimage=85 it seems like almost always a m= istake to not hook the upper (unless you have very good reason to make the = base machine inaccessible from the jails and vice-versa). Some missing points=85 # Make sure the bridged-interface is active ifconfig em0 up # Set promiscous mode and # don't override src addr ngctl msg em0: setpromisc 1 ngctl msg em0: setautosrc 0 ngctl connect ngeth0: bridge0: ether link2 ngctl connect ngeth1: bridge0: ether link3 Let's re-work this. Earlier you did 2x "mkpeer" to pre-create your eiface nodes. I don't do thi= s, as it later requires a "connect" for each created peer. What you can do instead is _not_ perform those earlier commands (shown belo= w): ngctl mkpeer eiface ether ether ngctl mkpeer eiface ether ether (followed by the above "connect" statements) But *instead*, you can actually do a contextual "mkpeer" that connects the = nodes as they are created. For example=85 instead of this: ngctl mkpeer eiface ether ether ngctl mkpeer eiface ether ether ngctl connect ngeth0: bridge0: ether link2 ngctl connect ngeth0: bridge0: ether link3 (which doesn't look right to me, because I'm used to creating an ether edge= between bridge:lower and the eiface) You can instead do: ngctl mkpeer em0:lower eiface link2 ether ngctl mkpeer em0:lower eiface link3 ether This simplifies 4 statements into 2. NOTE: I can't remember if "em0:lower" can be replaced with the new name of = "bridge0" (that you created with "ngctl name em0:lower bridge0"). My script= s continue to use the raw name in the mkpeer statements even after a rename= of the lower-link. You *may* be able to instead say "ngctl mkpeer bridge0:= eiface link2 ether" etc.) vimage -i n1 ngeth0 e0 But my virtual interface on the n1 vimage does not receive any packet from = the external network while I can see the packet go out from it. Try hooking changing your PHY->bridge hook to the lower and hooking your PH= Y upper into the bridge. For instance using DHCP, e0 on n1 sends DHCP packets but it does not receiv= e the answers (which are send, I verified it from wireshark), in adding the ARP request for his IP address (if I try to add it statically) are not = received then it can not answer. At the end of the line the question is: how can I make this "virtual networ= k" and the external real network be able to communicate ? Thanks in advance. Wondering if you've given my solution a try=85 http://druidbsd.sf.net/vimage.shtml -- 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-questions@FreeBSD.ORG Thu May 30 16:38:26 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3AE0A242 for ; Thu, 30 May 2013 16:38:26 +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 E8BEA3DC for ; Thu, 30 May 2013 16:38:25 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.15]) by ltcfislmsgpa05.fnfis.com (8.14.5/8.14.5) with ESMTP id r4UGc8xE005775 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 30 May 2013 11:38:08 -0500 Received: from LTCFISWMSGMB21.FNFIS.com ([10.132.99.23]) by LTCFISWMSGHT04.FNFIS.com ([10.132.206.15]) with mapi id 14.02.0309.002; Thu, 30 May 2013 11:38:08 -0500 From: "Teske, Devin" To: Joe Subject: Re: VIMAGE Thread-Topic: VIMAGE Thread-Index: AQHOXSFz+LfSxNVDbEKhvdpKVCZplpkd/EiAgAAv74CAABATgIAABWMA Date: Thu, 30 May 2013 16:38:07 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7201F68D61@ltcfiswmsgmb21> References: <51A74637.8090809@a1poweruser.com> <627BE01F-08C6-4A79-A6DC-32B7C65B6DA7@aol.com> <51A77BE9.7070107@a1poweruser.com> In-Reply-To: <51A77BE9.7070107@a1poweruser.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.126] MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626, 1.0.431, 0.0.0000 definitions=2013-05-30_05:2013-05-30,2013-05-30,1970-01-01 signatures=0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Pietro Paolini , "" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 May 2013 16:38:26 -0000 On May 30, 2013, at 9:18 AM, Joe wrote: Pietro Paolini wrote: On May 30, 2013, at 2:29 PM, Joe > wrote: Pietro Paolini wrote: Hello all, I am a new bye on the FreeBSD and I am looking at the VIMAGE features exper= iencing some problems. I added the options : VIMAGE if_bridge and I removed STCP then I recompiled my kernel and install it. After that, following this tutorial http://imunes.tel.fer.hr/virtnet/eurobs= dcon07_tutorial.pdf I tried the "Exercise 2" which consist on the following= commands: vimage -c n1 vimage -c n2 ngctl mkpeer efface ether ether ngctl mkpeer efface ether ether ngctl mkpeer em0: bridge lower link0 ngctl name em0:lower bridge0 ngctl connect em0: bridge0: upper link1 ngctl connect ngeth0: bridge0: ether link2 ngctl connect ngeth1: bridge0: ether link3 vimage -i n1 ngeth0 e0 But my virtual interface on the n1 vimage does not receive any packet from = the external network while I can see the packet go out from it. For instance using DHCP, e0 on n1 sends DHCP packets but it does not receiv= e the answers (which are send, I verified it from wireshark), in adding the ARP request for his IP address (if I try to add it statically) are not = received then it can not answer. At the end of the line the question is: how can I make this "virtual networ= k" and the external real network be able to communicate ? Thanks in advance. Pietro. 1. That link is from 2007. So very much has changed since then. There are more current links on the internet about this subject. Most are f= or 8.X releases. 2. If your running 8.2-RELEASE or 9.1-RELEASE all you need to add is "optio= ns vimage" statement to your kernel source and recompile. 3. There are 2 networking methods available for creating vnet/vimage jail n= etworks, if_bridge/epair and netgraph. The if_bridge/epair method is far si= mpler to config and use then the netgraph method. 4. There are 2 methods of jail setup, the rc.d method where your jail defin= ition parameters go into the hosts rc.conf and the jail(8) method where you= can place each jails definition parameter in separate files. 5. There are two very important show stopper PRs on vimage, 164763 memory leak and 149050 the rc.d keyword "nojail" problem. Vimage is a very long way from prime time usage, thats why it's labeled as = highly experimental. Host system freezes and page faults are common. 6. When it comes to running a firewall in a vnet/vimage jail your limited t= o IPFW and it has limitations. Dummynet and in kernel NAT cause system free= zes. IPFILTER causes page fault at boot time. PF will run on the host but n= ot run in the vnet/vimage jail. Here are a bunch of PRs on vimage firewall = problems, 143621, 176092, 161094, 176992, 143808, 148155, 165252, 178480, 1= 78482 Check out these links http://druidbsd.sourceforge.net/vimage.shtml http://devinteske.com/vimage-jails-on-freebsd-8 http://lists.freebsd.org/pipermail/freebsd-virtualization/2011-September/00= 0747.html http://bsdbased.com/2009/12/06/freebsd-8-vimage-epair-howto http://zewaren.net/site/?q=3Dnode/78 _______________________________________________ freebsd-questions@freebsd.org mailing= list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org= " Thanks so much, really interesting and good links but I can't again accompl= ish my task - I followed http://bsdbased.com/2009/12/06/freebsd-8-vimage-ep= air-howto as a base tutorial - I would like simulate more client for my PC = using this technology, and that's my topology: 1 - Two epairs created 2 - Two jail created 3 - Assign one intf for jail 4 - Add the real interface to a bridge where I put all the interfaces ------- JAIL1 0b ------- ------- JAIL2 1b ------- ------- HOST 0a 1a em0 --> REAL ------- Where {0,1}a is the first pair and {0,1}b is the second and em0 is my real = interface (it has an IP address), then I got to the problem, I tried to : jexec 2 dhclient epair1b And I can see the DHCP packet with the correct MA= C address going out, the server reply (I have a sniffer pc) but the transac= tion does not end successfully, what is really strange is that if I attach = tcpdump on em0 I can NOT see the answer server sends while when I try dhclient em0 I can see the packet going in and out and the DHCP transaction= finish successfully. Do you have any idea about how can I accomplish my ta= rget ? Maybe I am using the wrong technology ? I would not surprised if I make a error on my configuration but what really= interest me is if I CAN do that using jail. Thanks a lot, and in advance ! :-) Pietro. Pietro; You really have to provide a lot more info about your host system and jail = configuration. What version of FreeBSD are you running? Which method do you use to create your jails, rc.d/rc.conf or jail(8). How are your creating the if_bridge/epair network, IE entering commands by = hand or using a script? Post the script. Can you post the output of ifconfig command after you have your jail networ= k created? How are you handling the "rc.d nojail keyword" problem? Have you manually assigned a private LAN ip address and default route to th= e epairXb interface inside of the vnet jail? DHCP will not work from inside of the vnet jail. Your ISP only assigns a si= ngle dymamic IP address per each account. You already used your assigned ip= address for your host. If the computer your running the vnet/vimage jail o= n is on a local area network and the gateway host is running a DHCP server = to dynamically assign private ip address to computers on the LAN, then DHCP= in the vnet/vimage jail may work. I imagine that most vimage solutions do not do what mine does=85 (http://dr= uidbsd.sourceforge.net/download.shtml#vimage) Which is to actually give each bridged interface a unique MAC address. This makes each vimage truly appear as a separate host. This makes DHCP fro= m a vimage possible because the DHCP server sees discretely unique systems,= through-and-through. To the broader question, why do you think you need a vnet/vimage jail in th= e first place. You wrote "simulate more client for my PC", If client means = hosting paying clients then you sure don't want to be using vimage because = it highly experimental and NOT reliable. The reports of vimages unreliability must be coupled with the feature-set y= ou desire. I say this because yesterday afternoon=85 we shipped our first-ever product= ion platform to a customer -- based entirely on FreeBSD 8.1 + vimage + zfs = + sysutils/zxfer + multipath + nullfs + nfs. No single point of failure. We ran vimage in the lab for about 2.5 years before arriving at the point t= hat we were ready to put it into production. (NOTE: FreeBSD-8.1 is about 36= months old). So to say that it's not reliable enough for production=85 it depends on you= r definition of production. From the FreeBSD Foundation side=85 I'd say tha= t this sounds about correct (because "production" means to the FreeBSD Foun= dation=85 able to work with all GENERIC features). However, in our case "pr= oduction" means=85 able to work with the features *we* need. The features VIMAGE doesn't work with today are PF and a few other things (= I saw Joe post in a different reply that "nooptions SCTP" may not be requir= ed anymore=85 so progress seems to be afoot). But with respect to stability and reliability=85 if you can get them to run= =85 they're solid=85 Just don't do any of the following: 1. Expose /dev/mem to the jail via a ruleset 2. Expose /dev/kmem (same problem as #1 =85 you could find yourself in a ke= rnel panic) NOTE: Both of the above are self-inflicted gunshot wounds. These devices ar= e not exposed by default (and the only reason to do so is to try to get thi= ngs like Xorg or "netstat -nr" to work within the vimage; side-note: "route= -n get default" works). Oh=85 and then there's the issue that when you stop a vimage, some KVA page= s are supposedly lost. Well=85 in true production, we don't make it a habit of stopping vimages (o= nce they are up, they stay up). Usually the only reason for a vimage to go = down is if the base machine goes down or you need to change the mounts=85 i= n either case, the KVA pages will be refreshed on a reboot of the base mach= ine=85 so it's really not an issue to the way we run production. -- Devin Jails are a security feature that encloses a process in a container. By pro= cess I mean "postfix email server" or "apache web server". If your "client"= means "processes", then this is what the non-vnet/vimage jail is for. _______________________________________________ freebsd-questions@freebsd.org mailing= list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" _____________ 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-questions@FreeBSD.ORG Thu May 30 17:50:58 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C0C729E7 for ; Thu, 30 May 2013 17:50:58 +0000 (UTC) (envelope-from MGASS@csbsju.edu) Received: from smtp2.computing.csbsju.edu (smtp2.computing.csbsju.edu [152.65.184.23]) by mx1.freebsd.org (Postfix) with ESMTP id 69E059B0 for ; Thu, 30 May 2013 17:50:57 +0000 (UTC) X-AuditID: ac10425c-b7f3d6d000002d88-79-51a78df6355c Received: from Mail-HTCAS1.ad.csbsju.edu (Unknown_Domain [172.16.66.43]) by smtp2.computing.csbsju.edu (Symantec Messaging Gateway) with SMTP id AE.F0.11656.6FD87A15; Thu, 30 May 2013 12:35:51 -0500 (CDT) Received: from nx.csbsju.edu (172.16.66.48) by MAIL-HTCAS1.ad.csbsju.edu (172.16.66.43) with Microsoft SMTP Server id 14.3.123.3; Thu, 30 May 2013 12:35:50 -0500 Received: by nx.csbsju.edu (Postfix, from userid 1401) id ABF011807C8; Thu, 30 May 2013 12:35:50 -0500 (CDT) Resent-From: Michael Gass Resent-Date: Thu, 30 May 2013 12:35:50 -0500 Resent-Message-ID: <20130530173550.GA6991@csbsju.edu> Resent-To: Date: Thu, 30 May 2013 12:19:41 -0500 From: Michael Gass To: Subject: Should I move to amd64 ? Message-ID: <20130530171941.GA1208@csbsju.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Brightmail-Tracker: H4sIAAAAAAAAA11Ta0xbZRjma0t3qHx6OC3lXYFlHN0lU7uxzW3JdA6Ml5ig1Bhv2bIVemzP KKX2tDg0KjOgowFXLtsYsEjCgLnh0IljBhnQXVomGCGyiSDxB0y3EAl1uDEW8FwoHPbn5O3z vO/zvJevhJI6pjEQrMPNuBxmO63WqJrI1MefvFPSaNoQvK3ednPqrGoneqky9KUqHb2jedrC 2NlcxrV+x16NrfvXkUhnl2p/5WAA5aMmpRdFEUBuhr8nq1RSrIdfRprVXqQhKPJnBH8OHFdJ P+oRnLgxLWZRpAN6fO3LpPgJCE0fVYTjZm+bWoqfgoKmgUgvIvh4HRw+uVuAVeQquFp9UUxX 8/Hnl78QJXUkDfdaL4u4lkyCwZYLojwmjXBw/DSS4hjoPjYq5it5q9q2kFqQV5Lx0DhLCHAs +RhUdJ+b7yARjviGlT6krZJVV8mqqxara5HyFDJw2W7nRmNmTrbT42YdVmMml8Ht8xgZi+cs kha96zwK9G3xI5JAdDTutDSaqEhzLpeX7UdZhII24MPd1SZKm5FjybOZOdsezpORzXIcm+Og Y3Gtl09/eIFzeewMR+uwnj8dhRfgDI89i16Bi87Um6g4mRDnZDPZHA+3x+Oy+xEQSr60vlgo tZjzPmBcOZKgH8UTKjoOXy8YT6dIq9nNZDGMk3GF2fcJgk7EKCIigtK7GCuz/13Wzr8leaeA lUJLMXJaajYO53I8Q8oZsd8kPDPXYKIMSxWXtqwgovzISkTTyyV7inOasznWKrfW4SviSGFK stXitQIaHUZFy0T8YjO/Iv2iitzuKnrPkIA/EjJihQybx7F0SkMcpoQpSRkruhn0+K9knnhE RgiGhpW49xtebvkSObnnLVSh4N8F4ArhEcTw/9EHptPifnGOeUYajsJjRTz40DwozpaAnWLn CxJym41nEIHIWQUEJ6s10Fw3jeHSFZ8OyiYCerjfOJ4MwcrWrdBRcncbBPvrtkOwbCQFyq93 PAc3T/3xMtzt7DDBXFfBG3Bv4tJbUBQ6+Tb8O9O/C6ZODO2Fwd8bLPBD738MTB08Z4VrQ/ku mPy2JQ/8tYUfw9yBKR+CtlB5OYLh0lb+6wuUVCPo+Mpbg2A0cOE4jxQH+G+oqqUOwexvN+rQ Lf7qisWru80P7kWHR7eLV5+nwldPF5YQHUbnr54mXX1BRb4aQz76sD1tdauxZWfB14c6P9tq G1ype3WiPSZluD2t98c1tzMzDrQTk5sKX3/+mYTNn5RUDPSt0pZu+b5ntizKH+x7xaprSN2n WXutBvflvbY7dfLZ06Ub7pRpexI3re8a2/Hmod6LK4aM92uSllmHisfKz8fPfFo4ngaPplSu ie5n2X9e+Om71bSKs5mT1yldnPl/sr64iKwFAAA= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 May 2013 17:50:58 -0000 I am currently using a 9.1-RELEASE with an i386 install. The hardware is a core 2 duo with 2 GB of RAM. My video card is an ati radeon hd 2400 xt. Things work fine. Would I gain anything by starting over and doing an AMD64 install or would that be a bad idea? Would my system perform better, worse, or the same after the change? I may eventually bring the memory up to 4GB, but not anytime soon. I understand some ports my not work - like WINE - but I do not use WINE. Would there be other problems? -- Michael Gass mgass@csbsju.edu From owner-freebsd-questions@FreeBSD.ORG Thu May 30 18:04:49 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4A2CEE6F for ; Thu, 30 May 2013 18:04:49 +0000 (UTC) (envelope-from MGASS@csbsju.edu) Received: from smtp1.computing.csbsju.edu (smtp1.computing.csbsju.edu [152.65.184.22]) by mx1.freebsd.org (Postfix) with ESMTP id E66C1A54 for ; Thu, 30 May 2013 18:04:48 +0000 (UTC) X-AuditID: ac10425b-b7f9f6d000001813-f4-51a794bad14f Received: from Mail-HTCAS1.ad.csbsju.edu (Unknown_Domain [172.16.66.43]) by smtp1.computing.csbsju.edu (Symantec Messaging Gateway) with SMTP id DF.5F.06163.AB497A15; Thu, 30 May 2013 13:04:42 -0500 (CDT) Received: from nx.csbsju.edu (172.16.66.48) by MAIL-HTCAS1.ad.csbsju.edu (172.16.66.43) with Microsoft SMTP Server id 14.3.123.3; Thu, 30 May 2013 13:04:42 -0500 Received: by nx.csbsju.edu (Postfix, from userid 1401) id 4206E1807C8; Thu, 30 May 2013 13:04:42 -0500 (CDT) Date: Thu, 30 May 2013 13:04:42 -0500 From: Michael Gass To: Subject: Should I move to amd64 ? Message-ID: <20130530180442.GB7711@csbsju.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Brightmail-Tracker: H4sIAAAAAAAAA11TfUwbdRjm13Z4dPzkepTy0oFKlT/cB67ETJIZP2NmNEtoNIuy4XalR1vp l70WqUbDNoyj2bQOhghOmQzYJq6OMEC3DCy4FiI6CYIVxESJcwuKK9SgU/Du2sKxfy5vnud9 n+f9+B0hpX5LURNmm4tx2miLJlku6yAf27Tl87p23dbjC/cWXot2yh5BTzZEPpQVoWL5gwbG Yq5gnPc9tE9u+uY7X7JjQFbZEA6iKtQh9aIUAsj7YfjQ77JYrIIr0/5kLyIIivwaQU+aF8m5 sBVBzc+/JPM5FGmD4d5+CR/LyDw4EG1DfJzMxW9++ZagoyTvhqXxbwX9dDIXwl2XbuNjTObD 1c6DklisgKH3ZoR8KbkZmi9EBF8puQHalwgeziDvgbqh7rhtDtT7pqQ+lNYoqm4UVTeuVjcj 6RmkZq0uhza/1G51uF1mmzG/lNWzL7rzGYO7E8X2trsXfTCvDSCSQJpUbNK366h1dAXrsQZQ OSHRqPGxoSYdla63GzwmmjXtZd16q5llzXabJgM3e7n021c4p9vCsBolnq3lYLwC692Wcs0d uOZsq47KFAmxDnOp2e5m97qdlgACQsqVth7mSw205xXGaY8JBtAGQqbJxBPVs0UUaaRdTDnD OBhngn2ZIDQ5GCUlJVEqJ2NkKsvMFu5piDsFPMa3pBDTsWYzcQXLMaSYEfrNxTeX23SUeq3i 2pYlREoAGYlUTVbMnmIdtJU1G8XWSnxF2EaCitmm4wIeTU2ggmUO3uHnVqRaVRHbDaOX1Nn4 NT4jg88wuW1rp1Rn4tO8KCliBTe1Cl/VckSaiOAN1XfhkU85uaw1cmLP66hOwr0LwHX8I1Bw v9wt06Xjk8IccSY2HIW38eD6OCjMlo0dQucrEmKbgrOIQOSSBEI3muTgb/kbw+BlnxKOzgVV 8G/7rBZCDT0PQN+RxUIIjbZsh9DR6UehdqLvcbh25senYLG/TwfLX1Tvgn/mBp+Dmsip52H+ 5ugeiJ6c3AfhH9oM8NnIXwxED3UbYXyyygk3znV5IND8xuuwvD/qQ3AhUluLYOqdHu7rCx5p QtB32vs+gpngpeMccjjIfSONXS0Ilr7/tQVd564uWb26i751L0o8s124epxKXL2IX0JqAo1f fWfs6isq4tWoq5DEOLBnx9hPJQv7v8obP98Unnj4svJZKku2e36Tcctkb2cZeW7hxJ8fbSzb GVZai72FpwaKu/1v53UMXvQo+qn6oV3OkTGWOfFuyWIDfefEC5uzI6Hc0XWTYweyyz6uH8iZ 8W8tUayvDDyz+LTnE7r6VbjoKHqix7Ptvz/mCg5OLZ+f1shYE63dKHWy9P/INpTlewUAAA== X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 May 2013 18:04:49 -0000 I am currently using a 9.1-RELEASE with an i386 install. The hardware is a core 2 duo with 2 GB of RAM. My video card is an ati radeon hd 2400 xt. Things work fine. Would I gain anything by starting over and doing an AMD64 install or would that be a bad idea? Would my system perform better, worse, or the same after the change? I may eventually bring the memory up to 4GB, but not anytime soon. I understand some ports my not work - like WINE - but I do not use WINE. Would there be other problems? -- Michael Gass mgass@csbsju.edu From owner-freebsd-questions@FreeBSD.ORG Thu May 30 19:18:54 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1B05F5DD for ; Thu, 30 May 2013 19:18:54 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id D28F3F07 for ; Thu, 30 May 2013 19:18:53 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ui8N3-0008T4-DO for freebsd-questions@freebsd.org; Thu, 30 May 2013 21:18:51 +0200 Received: from 79-139-19-75.prenet.pl ([79.139.19.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 May 2013 21:18:45 +0200 Received: from jb.1234abcd by 79-139-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 May 2013 21:18:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Subject: Re: "swap" partition leads to instability? Date: Thu, 30 May 2013 19:18:29 +0000 (UTC) Lines: 23 Message-ID: References: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> <20130529133516.295084a6@gumby.homeunix.com> <20130530160555.3104ced6@gumby.homeunix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 79.139.19.75 (Mozilla/5.0 (X11; Linux i686; rv:21.0) Gecko/20100101 Firefox/21.0) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 May 2013 19:18:54 -0000 RW googlemail.com> writes: > ... > > Yes, there is some confusion about the diff, if any, between paging > > and swapping. > > > > Paging - copying or moving pages between physical memory (RAM) and > > secondary storage (e.g. hard disk), in both directions. > > Swapping - nowdays is synonymous with "paging". > > But its history is as follows (per Wikipedia): > > This is a bit Linux-centric. > ... > You page-out pages and swap-out processes. > > When FreeBSD is very short of memory it swaps-out entire processes to > concentrate the memory in the running processes. Linux goes directly > from paging to killing processes. That was helpful - knowing the details of VMM implementation in various OSs helps understand the generalizations, with exceptions ... jb From owner-freebsd-questions@FreeBSD.ORG Thu May 30 19:22:07 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 634506BB for ; Thu, 30 May 2013 19:22:07 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pd0-f178.google.com (mail-pd0-f178.google.com [209.85.192.178]) by mx1.freebsd.org (Postfix) with ESMTP id 45C8BF3D for ; Thu, 30 May 2013 19:22:07 +0000 (UTC) Received: by mail-pd0-f178.google.com with SMTP id w11so896496pde.9 for ; Thu, 30 May 2013 12:22:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=urdVHT4a8QhQddcGYgw+pKBbyG0r52maMp2bda0r1bM=; b=UeYgaPK3QBcAA+JjAG2EDQ3LSBUXeT2ONjEHqJw+VKevxUxjGpIOOxNCssK//AmymO DTV89k5A3NuRL2yi2y1bd+A8Xg14XMVoHGWP9ReQLeGEVEus3j+Ff1Fnpb481GvJpo6B XntErMhglm7RXeQOwTjnmUQOdyP1z15+goFXy3aLuMpjtIPbIs1BiCnO8BGrQTd9EKx6 urDc2xmHVBUwK97vFlpPXx3NdCfEr57uXzeuCBXap9DLPD/0lTeWDwVvWo5+n2y2r5mi RGNnOA7DIHFfKWHcTbbkw0DZ8tyYGqRniyOyHFkwNEcEKhrDfkI88vJ1oo+C16YOm5hh Awpw== MIME-Version: 1.0 X-Received: by 10.66.27.147 with SMTP id t19mr9874887pag.207.1369941721190; Thu, 30 May 2013 12:22:01 -0700 (PDT) Received: by 10.70.31.195 with HTTP; Thu, 30 May 2013 12:22:01 -0700 (PDT) In-Reply-To: <20130530180442.GB7711@csbsju.edu> References: <20130530180442.GB7711@csbsju.edu> Date: Thu, 30 May 2013 14:22:01 -0500 Message-ID: Subject: Re: Should I move to amd64 ? From: Adam Vande More To: Michael Gass Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 May 2013 19:22:07 -0000 Given your description, no you should not move. On Thu, May 30, 2013 at 1:04 PM, Michael Gass wrote: > > I am currently using a 9.1-RELEASE with an i386 install. > The hardware is a core 2 duo with 2 GB of RAM. My video card > is an ati radeon hd 2400 xt. Things work fine. > > Would I gain anything by starting over and doing an AMD64 install > or would that be a bad idea? Would my system perform better, worse, > or the same after the change? I may eventually bring the memory up > to 4GB, but not anytime soon. > > I understand some ports my not work - like WINE - but I do not use > WINE. Would there be other problems? > > -- > Michael Gass > mgass@csbsju.edu > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Thu May 30 19:38:44 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5AC02D48 for ; Thu, 30 May 2013 19:38:44 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 1E852C2 for ; Thu, 30 May 2013 19:38:43 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Ui8gM-0004D4-TD for freebsd-questions@freebsd.org; Thu, 30 May 2013 21:38:42 +0200 Received: from 79-139-19-75.prenet.pl ([79.139.19.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 May 2013 21:38:42 +0200 Received: from jb.1234abcd by 79-139-19-75.prenet.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 May 2013 21:38:42 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: jb Subject: Re: "swap" partition leads to instability? Date: Thu, 30 May 2013 19:38:25 +0000 (UTC) Lines: 21 Message-ID: References: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> <20130529133516.295084a6@gumby.homeunix.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 79.139.19.75 (Mozilla/5.0 (X11; Linux i686; rv:21.0) Gecko/20100101 Firefox/21.0) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 May 2013 19:38:44 -0000 RW googlemail.com> writes: > > On Sun, 26 May 2013 12:36:42 +0000 (UTC) > jb wrote: > > > But, swapping is also a symptom, not a problem. > > It is never a good idea to let it get to that point. > > No, there are thing that are better on disk than in memory. The most > common example is tmpfs. It's much better that files left on tmpfs can > sent to disk rather tying up physical memory indefinitely. Yup, tmpfs - in virtual memory. That's an unfortunate excuse. But before its content are swapped out, the critical system like a server will be destabilized and show lame performance. The tmp-on-tmpfs has so many disadvantages that it is difficult to count and follow all of them. jb From owner-freebsd-questions@FreeBSD.ORG Thu May 30 21:18:40 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C85FD5D6 for ; Thu, 30 May 2013 21:18:40 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wi0-x22e.google.com (mail-wi0-x22e.google.com [IPv6:2a00:1450:400c:c05::22e]) by mx1.freebsd.org (Postfix) with ESMTP id 60C7B986 for ; Thu, 30 May 2013 21:18:40 +0000 (UTC) Received: by mail-wi0-f174.google.com with SMTP id c10so116979wiw.7 for ; Thu, 30 May 2013 14:18:38 -0700 (PDT) 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=jRaUVkcFsXKQCWesZj9KaaMbSVvlsBOddBvKqww1+cc=; b=fVPxAeEWKTY5kPk9sZ7HYG06Sdnaa0vmZ/9nFH+cr+m0FwA15Sde6SfXTtg5Daf9JF csWdDUD6Mw8d8vyDWKMpT2lI83ca7QDZGrYtTJnjFVjDUTVlEMHpsSC2cJCJLejsJYd4 Rj7aIFSf+1ZoyiAaRT3kEabQy48JJZSYMq9canWFr50HH6bkF+nX6XvFlrN0KabvIKdt Po7sr+Jcz/ducfmFcfq7jT34jI+cRADHa3Ph1uCMxYFkEudd3vI7rEXtTG+Fmn1sDXe0 Kt/4ymrevgESMpC5FJWq3hLEcaeHa/LIvydiw/JpsHiRtevWw5h1op+qBq6MBPaCYKqY Lseg== X-Received: by 10.194.21.138 with SMTP id v10mr6712121wje.16.1369948718401; Thu, 30 May 2013 14:18:38 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPSA id fu14sm876131wic.8.2013.05.30.14.18.37 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Thu, 30 May 2013 14:18:38 -0700 (PDT) Date: Thu, 30 May 2013 22:18:35 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: "swap" partition leads to instability? Message-ID: <20130530221835.080f0d98@gumby.homeunix.com> In-Reply-To: References: <1369558712.96152.YahooMailNeo@web165006.mail.bf1.yahoo.com> <20130526160906.4e379016@X220.ovitrap.com> <20130526113235.f5dbe768.freebsd@edvax.de> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.17; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 May 2013 21:18:40 -0000 On Sun, 26 May 2013 18:48:18 -0500 Adam Vande More wrote: > Um, that is wrong. It is in fact the basically the point of TRIM. > And SSD's typically use the best form of wear leveling and it's > usually advisable to leave a bit of the drive unpartitioned/unused to > ensure the wear leveling works optimally. Would the UFS default 8% reserve achieve that? From owner-freebsd-questions@FreeBSD.ORG Thu May 30 21:57:28 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E0F7F926 for ; Thu, 30 May 2013 21:57:28 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from st11p05mm-asmtp002.mac.com (st11p05mm-asmtpout002.mac.com [17.172.108.237]) by mx1.freebsd.org (Postfix) with ESMTP id BC204D07 for ; Thu, 30 May 2013 21:57:28 +0000 (UTC) Received: from [17.153.29.69] (unknown [17.153.29.69]) by st11p05mm-asmtp002.mac.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Jan 3 2012)) with ESMTPSA id <0MNM00LLOSYBKX90@st11p05mm-asmtp002.mac.com> for freebsd-questions@freebsd.org; Thu, 30 May 2013 21:57:18 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626,1.0.431,0.0.0000 definitions=2013-05-30_07:2013-05-30,2013-05-30,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1305010000 definitions=main-1305300208 Content-type: text/plain; charset=us-ascii MIME-version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: Should I move to amd64 ? From: Charles Swiger In-reply-to: <20130530171941.GA1208@csbsju.edu> Date: Thu, 30 May 2013 14:57:17 -0700 Content-transfer-encoding: 7bit Message-id: <1492A3B3-0004-429E-9C53-48DC432AD085@mac.com> References: <20130530171941.GA1208@csbsju.edu> To: FreeBSD - X-Mailer: Apple Mail (2.1503) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 May 2013 21:57:28 -0000 Hi-- On May 30, 2013, at 10:19 AM, Michael Gass wrote: > I am currently using a 9.1-RELEASE with an i386 install. > The hardware is a core 2 duo with 2 GB of RAM. My video card > is an ati radeon hd 2400 xt. Things work fine. > > Would I gain anything by starting over and doing an AMD64 install > or would that be a bad idea? Would my system perform better, worse, > or the same after the change? I may eventually bring the memory up > to 4GB, but not anytime soon. For machines with less than 4GB of RAM, running 32-bit version is probably wise; 32-bit processes use memory more efficiently compared with 64-bit mode. For some math-intensive workloads like SSL/crypto, audio/video transcoding, and such, there is likely to be significant improvement in 64-bit mode compared with running in 32-bit mode. For most other workloads, you're not likely to notice a difference. > I understand some ports my not work - like WINE - but I do not use > WINE. Would there be other problems? Nope, or at least not in general; AMD64 is very stable nowadays. Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Fri May 31 07:39:38 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 51DFD2E7 for ; Fri, 31 May 2013 07:39:38 +0000 (UTC) (envelope-from sd@nanoteq.com) Received: from relay04.imcf.co.za (sslmanagement.securicom.co.za [196.30.14.12]) by mx1.freebsd.org (Postfix) with ESMTP id 7A1CAAB6 for ; Fri, 31 May 2013 07:39:36 +0000 (UTC) Received: from MailVault ([192.168.2.53]) by relay04.imcf.co.za with Microsoft SMTPSVC(6.0.3790.1830); Fri, 31 May 2013 09:29:58 +0200 Received: from 8380-5.imcf.co.za ([192.168.1.1]) by IMCFMVA23.imcf.co.za with Microsoft SMTPSVC(6.0.3790.1830); Fri, 31 May 2013 09:29:56 +0200 X-AuditID: c0a80437-b7fcb6d000000186-4f-51a851735832 Received: from ntq-ex.nanoteq.co.za ( [192.168.150.40]) by 8380-5.imcf.co.za (Securicom Gateway) with SMTP id 8F.BD.00390.37158A15; Fri, 31 May 2013 09:29:55 +0200 (CAT) Received: from NTQ-EX.nanoteq.co.za ([10.37.48.8]) by ntq-ex.nanoteq.co.za ([10.37.48.8]) with mapi; Fri, 31 May 2013 09:28:40 +0200 From: Stefan Desancic To: "questions@FreeBSD.org" Date: Fri, 31 May 2013 09:29:54 +0200 Subject: TCPmux Thread-Topic: TCPmux Thread-Index: Ac5d0FISpxzPpF5PRxiuii2zR/ZrGA== Message-ID: Accept-Language: en-US, en-ZA Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-ZA MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrMJsWRmVeSWpSXmKPExsVyYMU0Dd3iwBWBBheXG1p0n+xmdmD0mPFp PksAYxSXTUpqTmZZapG+XQJXxpNtdQWXJSuaGpoZGxh3i3UxcnJICJhI/Dr4lQnCFpO4cG89 WxcjF4eQwGpGiZ+/TrNAOG2MEmc2LGPuYuTgYBNQk3g9gR2kQUTAWGLe5B1sIDaLgKrE+c8n WEBsYQF+icnPepghakQkPl99xAph60mcP/sbzOYV8Jd41XcKbDGjgKzEwS1fGEFsZgFxiVtP 5kMdJCCxZM95ZghbVOLl43+sEPUyEt2XHrOBnMMskC+xc34JxEhBiZMzn7BMYBSahWTSLISq WUiqIEp0JBbs/sQGYWtLLFv4mhnGPnPgMROy+AJG9lWMghbGFga6pnqZuclpesn5elWJmxjB UcBivoPxznWDQ4wCHIxKPLxaHisChVgTy4orcw8xWnIwKYnyWoKE+JLyUyozEosz4otKc1KL leR4O9ctDRQShwsXlxYXZCZn5pcWx5cW5RxilOBgVhLh7Ty3PFCINyWxsiq1KB+i9RCjNAeL kjivcueSQCGB9MSS1OzU1ILUIpisPQeHkgTvBC+gpYJFqempFWmZOSUwaSVF3t//lwUKSSHL oFvNxMF5iNGcgwdkP8gY3uKCxNzizHSoEbK87uuBTheDiaJqP8VoLSXOex6kTwCkIqM0D267 lALv2Q1ArZJIEqi6XzGaAoNRmLcPpJ8HmNgR1srwFoCsFYUKouszB4a1CO8Ta1B4FZckliC7 1xfiXqgoqk6pBkamh6dNdGW2n328Ou9ndJBV6MxSkxnpZo8+dOw/WxTxoNX+45+HW3IeHVnb +k1S4u6dbSWHz179/cd26a+Iiu2prqEJV+pOVKT1Jcq0cW1fMn2+pJ7cwatekqn3vzA88HJ2 fH/bVeBTrgV38NwUoScv2268Lzt9bX/jt4wnF+Inrtym0JD+Wi5WiaU4I9FQi7moOBEAQTE4 WeYDAAA= X-OriginalArrivalTime: 31 May 2013 07:29:56.0457 (UTC) FILETIME=[A646ED90:01CE5DD0] x-archived: no Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 May 2013 07:39:38 -0000 Good Morning, Is there a flag or a setting in the PF firewall in FreeBSD that you can set= to allow TCPmux traffic to flow through it? The pass all rule doesn't seem= to work, however if I disable PF completely then the TCPmux traffic flow t= hrough. Kind Regards Important Notice: This e-mail and its contents are subject to the Nanoteq (Pty) Ltd e-mail le= gal notice available at: http://www.nanoteq.com/AboutUs/EmailDisclaimer.aspx From owner-freebsd-questions@FreeBSD.ORG Fri May 31 08:32:02 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id BABB1BAF for ; Fri, 31 May 2013 08:32:02 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-la0-x230.google.com (mail-la0-x230.google.com [IPv6:2a00:1450:4010:c03::230]) by mx1.freebsd.org (Postfix) with ESMTP id 496E2D8D for ; Fri, 31 May 2013 08:32:02 +0000 (UTC) Received: by mail-la0-f48.google.com with SMTP id fs12so1099296lab.7 for ; Fri, 31 May 2013 01:32:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=hvCLu0wW2OaCzbe8b9O2Yc+FA/jClz2+ujfi4+dDCz0=; b=zKd14RhYOBtdoWqk2JJ4+2zNxbRI8LyQk/hskTn9Tic8VQj9jBFoepk/19eIz1lfps 8/6LzgmkQh1RdyxZP8wCc8EDWQ74u7QEmv6BxUAFWcjptxXi3S53ACh4lMMmAd82QAfw rbGL0huB4cuZ1HxT1QfY4BO+W991PNfWONfdiPS8q9io5JxhZ2xG8iHSgJnKJiggln7H J/mb4Q3ZhdjQExg6LDJJbVSNQyetCQ9Twhoqm56N3jfUuqtdcw/40gdW1LSaULi6FcaV DqrSziUa4L/lKIZigkGhuUmD3d4LqOjPLKFWJKN3Do2Cx6UX5+iq/fYuy9mBL4EG6ilk W2dw== X-Received: by 10.152.116.7 with SMTP id js7mr5397794lab.7.1369989121314; Fri, 31 May 2013 01:32:01 -0700 (PDT) Received: from [192.168.1.128] (mau.donbass.com. [92.242.127.250]) by mx.google.com with ESMTPSA id t4sm18360366lbe.7.2013.05.31.01.32.00 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 31 May 2013 01:32:00 -0700 (PDT) Message-ID: <51A85FFE.7060701@gmail.com> Date: Fri, 31 May 2013 11:31:58 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:20.0) Gecko/20100101 Firefox/20.0 SeaMonkey/2.17.1 MIME-Version: 1.0 To: Stefan Desancic , "questions@FreeBSD.org" Subject: Re: TCPmux References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 May 2013 08:32:02 -0000 31.05.2013 10:29, Stefan Desancic: > Good Morning, > > Is there a flag or a setting in the PF firewall in FreeBSD that you can set to allow TCPmux traffic to flow through it? The pass all rule doesn't seem to work, however if I disable PF completely then the TCPmux traffic flow through. I have no problems with tcpmux and pf. Can you show your config? On my machines tcpmux is served from inetd on default port (1). -- Sphinx of black quartz, judge my vow. From owner-freebsd-questions@FreeBSD.ORG Fri May 31 08:48:29 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 01565D2F for ; Fri, 31 May 2013 08:48:28 +0000 (UTC) (envelope-from pulsarpietro@aol.com) Received: from omr-d09.mx.aol.com (omr-d09.mx.aol.com [205.188.108.133]) by mx1.freebsd.org (Postfix) with ESMTP id BC2DAE1F for ; Fri, 31 May 2013 08:48:28 +0000 (UTC) Received: from mtaout-mb06.r1000.mx.aol.com (mtaout-mb06.r1000.mx.aol.com [172.29.41.70]) by omr-d09.mx.aol.com (Outbound Mail Relay) with ESMTP id EE7D0700000B1; Fri, 31 May 2013 04:48:21 -0400 (EDT) Received: from ppaolini-mac.genexislocal.nl (mail.genexis.nl [78.108.141.145]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mtaout-mb06.r1000.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id 69F09E0000B6; Fri, 31 May 2013 04:48:21 -0400 (EDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: VIMAGE From: Pietro Paolini In-Reply-To: <13CA24D6AB415D428143D44749F57D7201F68CBD@ltcfiswmsgmb21> Date: Fri, 31 May 2013 10:48:19 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <13CA24D6AB415D428143D44749F57D7201F68CBD@ltcfiswmsgmb21> To: Devin Teske X-Mailer: Apple Mail (2.1503) x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20121107; t=1369990101; bh=RXjjwDmk2qzugScask/XBpNpV658dCTTfskx+ZM79qA=; h=From:To:Subject:Message-Id:Date:Mime-Version:Content-Type; b=uGogWMJZx+GqwiBbM09zq5Ez0QwrZb7YpXQk4Zd+Z8gchI/brbGOezmx8dmFT+es4 q5w1+8hKltafjtWcaG7GyKiyp+zYhM3oS8LeiSwE2EU9z1b02ighqhNBmoSeER6hSU G3S+JGhfHc0mZp8cUOVrXd9BcUtfouPBGJhaztIU= X-AOL-SCOLL-SCORE: 0:2:412409152:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d294651a863d5775d X-AOL-IP: 78.108.141.145 Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 May 2013 08:48:29 -0000 On May 30, 2013, at 6:25 PM, "Teske, Devin" = wrote: >=20 > On May 30, 2013, at 3:35 AM, Pietro Paolini wrote: >=20 >> Hello all, >>=20 >> I am a new bye on the FreeBSD and I am looking at the VIMAGE features = experiencing some problems. >> I added the options : >> VIMAGE >> if_bridge >>=20 >> and I removed >> STCP >>=20 >> then I recompiled my kernel and install it. >>=20 >> After that, following this tutorial = http://imunes.tel.fer.hr/virtnet/eurobsdcon07_tutorial.pdf I tried the = "Exercise 2" which consist on=20 >> the following commands: >>=20 >> vimage -c n1 >> vimage -c n2 >> ngctl mkpeer efface ether ether >> ngctl mkpeer efface ether ether >=20 > Don't you just love autocorrect? (does the same thing to me=85 turns = "eiface" into "efface") >=20 >=20 >> ngctl mkpeer em0: bridge lower link0 >=20 > Looks good. >=20 >=20 >> ngctl name em0:lower bridge0 >=20 > I usually do my "connect" before the "name"=85 but shouldn't matter. = Should work all the same. >=20 >=20 >> ngctl connect em0: bridge0: upper link1 >=20 > This looks wrong to me. >=20 > I'd expect: >=20 > ngctl connect em0: bridge0:lower upper link1 >=20 Many thanks for the answer Devin, when I try to use that last command I receive: ngctl connect em0: bridge0:lower upper link1 ngctl: send msg: Invalid argument What's wrong ? From owner-freebsd-questions@FreeBSD.ORG Fri May 31 08:53:27 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D327AE98 for ; Fri, 31 May 2013 08:53:27 +0000 (UTC) (envelope-from pulsarpietro@aol.com) Received: from omr-d06.mx.aol.com (omr-d06.mx.aol.com [205.188.109.203]) by mx1.freebsd.org (Postfix) with ESMTP id 8C44DE71 for ; Fri, 31 May 2013 08:53:27 +0000 (UTC) Received: from mtaout-db02.r1000.mx.aol.com (mtaout-db02.r1000.mx.aol.com [172.29.51.194]) by omr-d06.mx.aol.com (Outbound Mail Relay) with ESMTP id 135207000008C; Fri, 31 May 2013 04:53:21 -0400 (EDT) Received: from ppaolini-mac.genexislocal.nl (mail.genexis.nl [78.108.141.145]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mtaout-db02.r1000.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id 39F6BE00008E; Fri, 31 May 2013 04:53:20 -0400 (EDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: VIMAGE From: Pietro Paolini In-Reply-To: <13CA24D6AB415D428143D44749F57D7201F68D61@ltcfiswmsgmb21> Date: Fri, 31 May 2013 10:53:18 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <8A56412E-1E90-47AD-ABA3-A02B89CA575D@aol.com> References: <51A74637.8090809@a1poweruser.com> <627BE01F-08C6-4A79-A6DC-32B7C65B6DA7@aol.com> <51A77BE9.7070107@a1poweruser.com> <13CA24D6AB415D428143D44749F57D7201F68D61@ltcfiswmsgmb21> To: Devin Teske X-Mailer: Apple Mail (2.1503) x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20121107; t=1369990401; bh=7WTCa4TF9ATd4B4xH2cwgsRkUAdkdCqrgzPmCLjYoVo=; h=From:To:Subject:Message-Id:Date:Mime-Version:Content-Type; b=hFsQSy3xeyoPvXjijudElfFm/AyEXumXyraQ8e298tMqHPm+oKAVCRQ4kXE2ygkM+ MKoMfozkNEsvgLU+xgyrsYN7zuwFgZ9QQwdOASHTlmJ+dRQnuM0lJr99CNzDCDXVeM adaVfULtm+CCcpv8BQqrTL5wxYcoK770rZIkpCrk= X-AOL-SCOLL-SCORE: 0:2:473953248:93952408 X-AOL-SCOLL-URL_COUNT: 0 x-aol-sid: 3039ac1d33c251a865002932 X-AOL-IP: 78.108.141.145 Cc: Joe , "" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 May 2013 08:53:27 -0000 On May 30, 2013, at 6:38 PM, "Teske, Devin" = wrote: >=20 > On May 30, 2013, at 9:18 AM, Joe wrote: >=20 >> Pietro Paolini wrote: >>> On May 30, 2013, at 2:29 PM, Joe wrote: >>>> Pietro Paolini wrote: >>>>> Hello all, >>>>> I am a new bye on the FreeBSD and I am looking at the VIMAGE = features experiencing some problems. >>>>> I added the options : >>>>> VIMAGE >>>>> if_bridge >>>>> and I removed >>>>> STCP >>>>> then I recompiled my kernel and install it. >>>>> After that, following this tutorial = http://imunes.tel.fer.hr/virtnet/eurobsdcon07_tutorial.pdf I tried the = "Exercise 2" which consist on the following commands: >>>>> vimage -c n1 >>>>> vimage -c n2 >>>>> ngctl mkpeer efface ether ether >>>>> ngctl mkpeer efface ether ether >>>>> ngctl mkpeer em0: bridge lower link0 >>>>> ngctl name em0:lower bridge0 >>>>> ngctl connect em0: bridge0: upper link1 >>>>> ngctl connect ngeth0: bridge0: ether link2 >>>>> ngctl connect ngeth1: bridge0: ether link3 >>>>> vimage -i n1 ngeth0 e0 >>>>> But my virtual interface on the n1 vimage does not receive any = packet from the external network while I can see the packet go out from = it. >>>>> For instance using DHCP, e0 on n1 sends DHCP packets but it does = not receive the answers (which are send, I verified it from wireshark), = in adding >>>>> the ARP request for his IP address (if I try to add it statically) = are not received then it can not answer. >>>>> At the end of the line the question is: how can I make this = "virtual network" and the external real network be able to communicate ? >>>>> Thanks in advance. >>>>> Pietro. >>>> 1. That link is from 2007. So very much has changed since then. >>>> There are more current links on the internet about this subject. = Most are for 8.X releases. >>>>=20 >>>> 2. If your running 8.2-RELEASE or 9.1-RELEASE all you need to add = is "options vimage" statement to your kernel source and recompile. >>>>=20 >>>> 3. There are 2 networking methods available for creating = vnet/vimage jail networks, if_bridge/epair and netgraph. The = if_bridge/epair method is far simpler to config and use then the = netgraph method. >>>>=20 >>>> 4. There are 2 methods of jail setup, the rc.d method where your = jail definition parameters go into the hosts rc.conf and the jail(8) = method where you can place each jails definition parameter in separate = files. >>>>=20 >>>> 5. There are two very important show stopper PRs on vimage, >>>> 164763 memory leak and 149050 the rc.d keyword "nojail" problem. >>>> Vimage is a very long way from prime time usage, thats why it's = labeled as highly experimental. Host system freezes and page faults are = common. >>>>=20 >>>> 6. When it comes to running a firewall in a vnet/vimage jail your = limited to IPFW and it has limitations. Dummynet and in kernel NAT cause = system freezes. IPFILTER causes page fault at boot time. PF will run on = the host but not run in the vnet/vimage jail. Here are a bunch of PRs on = vimage firewall problems, 143621, 176092, 161094, 176992, 143808, = 148155, 165252, 178480, 178482 >>>>=20 >>>>=20 >>>> Check out these links >>>>=20 >>>> http://druidbsd.sourceforge.net/vimage.shtml >>>> http://devinteske.com/vimage-jails-on-freebsd-8 >>>> = http://lists.freebsd.org/pipermail/freebsd-virtualization/2011-September/0= 00747.html >>>>=20 >>>> http://bsdbased.com/2009/12/06/freebsd-8-vimage-epair-howto >>>> http://zewaren.net/site/?q=3Dnode/78 >>>>=20 >>>>=20 >>>> _______________________________________________ >>>> freebsd-questions@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>> To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" >>> Thanks so much, really interesting and good links but I can't again = accomplish my task - I followed = http://bsdbased.com/2009/12/06/freebsd-8-vimage-epair-howto as a base = tutorial - I would like simulate more client for my PC using this = technology, and that's my topology: >>> 1 - Two epairs created 2 - Two jail created >>> 3 - Assign one intf for jail >>> 4 - Add the real interface to a bridge where I put all the = interfaces >>> ------- >>> JAIL1 >>> 0b >>> ------- >>> ------- >>> JAIL2 1b >>> ------- >>> ------- >>> HOST >>> 0a >>> 1a >>> em0 --> REAL >>> ------- >>> Where {0,1}a is the first pair and {0,1}b is the second and em0 is = my real interface (it has an IP address), then I got to the problem, I = tried to : >>> jexec 2 dhclient epair1b And I can see the DHCP packet with the = correct MAC address going out, the server reply (I have a sniffer pc) = but the transaction does not end successfully, what is really strange is = that if I attach tcpdump on em0 I can NOT see the answer server sends = while when I try >>> dhclient em0 I can see the packet going in and out and the DHCP = transaction finish successfully. Do you have any idea about how can I = accomplish my target ? Maybe I am using the wrong technology ? >>> I would not surprised if I make a error on my configuration but what = really interest me is if I CAN do that using jail. >>> Thanks a lot, and in advance ! :-) >>> Pietro. >>=20 >>=20 >> Pietro; >>=20 >> You really have to provide a lot more info about your host system and = jail configuration. >>=20 >> What version of FreeBSD are you running? >>=20 >> Which method do you use to create your jails, rc.d/rc.conf or = jail(8). >>=20 >> How are your creating the if_bridge/epair network, IE entering = commands by hand or using a script? Post the script. >>=20 >> Can you post the output of ifconfig command after you have your jail = network created? >>=20 >> How are you handling the "rc.d nojail keyword" problem? >>=20 >> Have you manually assigned a private LAN ip address and default route = to the epairXb interface inside of the vnet jail? >>=20 >> DHCP will not work from inside of the vnet jail. Your ISP only = assigns a single dymamic IP address per each account. You already used = your assigned ip address for your host. If the computer your running the = vnet/vimage jail on is on a local area network and the gateway host is = running a DHCP server to dynamically assign private ip address to = computers on the LAN, then DHCP in the vnet/vimage jail may work. >>=20 >=20 > I imagine that most vimage solutions do not do what mine does=85 = (http://druidbsd.sourceforge.net/download.shtml#vimage) >=20 > Which is to actually give each bridged interface a unique MAC address. >=20 > This makes each vimage truly appear as a separate host. This makes = DHCP from a vimage possible because the DHCP server sees discretely = unique systems, through-and-through. >=20 >=20 >=20 >> To the broader question, why do you think you need a vnet/vimage jail = in the first place. You wrote "simulate more client for my PC", If = client means hosting paying clients then you sure don't want to be using = vimage because it highly experimental and NOT reliable. >>=20 >=20 > The reports of vimages unreliability must be coupled with the = feature-set you desire. >=20 > I say this because yesterday afternoon=85 we shipped our first-ever = production platform to a customer -- based entirely on FreeBSD 8.1 + = vimage + zfs + sysutils/zxfer + multipath + nullfs + nfs. No single = point of failure. >=20 > We ran vimage in the lab for about 2.5 years before arriving at the = point that we were ready to put it into production. (NOTE: FreeBSD-8.1 = is about 36 months old). >=20 > So to say that it's not reliable enough for production=85 it depends = on your definition of production. =46rom the FreeBSD Foundation side=85 = I'd say that this sounds about correct (because "production" means to = the FreeBSD Foundation=85 able to work with all GENERIC features). = However, in our case "production" means=85 able to work with the = features *we* need. >=20 > The features VIMAGE doesn't work with today are PF and a few other = things (I saw Joe post in a different reply that "nooptions SCTP" may = not be required anymore=85 so progress seems to be afoot). >=20 > But with respect to stability and reliability=85 if you can get them = to run=85 they're solid=85 >=20 > Just don't do any of the following: >=20 > 1. Expose /dev/mem to the jail via a ruleset >=20 > 2. Expose /dev/kmem (same problem as #1 =85 you could find yourself in = a kernel panic) >=20 > NOTE: Both of the above are self-inflicted gunshot wounds. These = devices are not exposed by default (and the only reason to do so is to = try to get things like Xorg or "netstat -nr" to work within the vimage; = side-note: "route -n get default" works). >=20 > Oh=85 and then there's the issue that when you stop a vimage, some KVA = pages are supposedly lost. >=20 > Well=85 in true production, we don't make it a habit of stopping = vimages (once they are up, they stay up). Usually the only reason for a = vimage to go down is if the base machine goes down or you need to change = the mounts=85 in either case, the KVA pages will be refreshed on a = reboot of the base machine=85 so it's really not an issue to the way we = run production. > --=20 > Devin >=20 >=20 >> Jails are a security feature that encloses a process in a container. = By process I mean "postfix email server" or "apache web server". If your = "client" means "processes", then this is what the non-vnet/vimage jail = is for. >>=20 >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org" >=20 > _____________ > 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. I am running a 9.1-RELEASE with VIMAGE option enabled, I don't see any = problem with my DHCP server because I am in a custom env then DHCP is = running on a machine than I configured. I used both ways http://imunes.tel.fer.hr/virtnet/eurobsdcon07_tutorial.pdf=20 or http://bsdbased.com/2009/12/06/freebsd-8-vimage-epair-howto All I wish is to connect my external network on the real ethernet = interface to my virtual network stack (jail, visage, as you wish call = it). From owner-freebsd-questions@FreeBSD.ORG Fri May 31 09:55:12 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D8F3CCF2 for ; Fri, 31 May 2013 09:55:12 +0000 (UTC) (envelope-from bblister@email.vlsi.gr) Received: from bigb5.homeftp.net (k2-pc243.koz.uowm.gr [83.212.19.243]) by mx1.freebsd.org (Postfix) with ESMTP id 58B0D140 for ; Fri, 31 May 2013 09:55:11 +0000 (UTC) Received: from bigb5.homeftp.net (localhost [127.0.0.1]) by bigb5.homeftp.net (8.14.4/8.14.4) with ESMTP id r4V9rZdP071045 for ; Fri, 31 May 2013 12:53:37 +0300 (EEST) (envelope-from bblister@email.vlsi.gr) X-DKIM: Sendmail DKIM Filter v2.8.3 bigb5.homeftp.net r4V9rZdP071045 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=vlsi.gr; s=default; t=1369994017; i=@vlsi.gr; bh=OfLbzgSsimBoC7OCv66MPPQN3Pox4Nec4XMXTBKXKVU=; h=Date:From:To:Subject:Message-ID:Reply-To:MIME-Version: Content-Type; b=IKIZNRLcliSiaWUs4d9qZC9miYuGLqB91akrMy6qyvOGJEYDsxXuaJ6DawIB5/SEP TZgvg0oyufpHv6uT5znCs0+Wm/XPbuOEJ23oOUvD14dpcrdA2XY+LKD3iz3kiS0GBB gUx0sGSIze1W6marJaVEXlMq9NGAUMCxFAc65XZA= Received: (from root@localhost) by bigb5.homeftp.net (8.14.4/8.14.4/Submit) id r4V9rTjE071043 for freebsd-questions@freebsd.org; Fri, 31 May 2013 12:53:29 +0300 (EEST) (envelope-from bblister@email.vlsi.gr) Date: Fri, 31 May 2013 12:53:29 +0300 From: BBLister To: FreeBSD Questions Subject: New kernel 9.1 informs me to report wbwd0 to FreeBSD Message-ID: <20130531095329.GA70898@bigb5.homeftp.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (bigb5.homeftp.net [127.0.0.1]); Fri, 31 May 2013 12:53:37 +0300 (EEST) X-Virus-Scanned: clamav-milter 0.97.8 at bigb5.homeftp.net X-Virus-Status: Clean X-Spam-Status: No, score=-3.8 required=4.5 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on bigb5.homeftp.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: BBLister List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 May 2013 09:55:12 -0000 Hi, I upgraded to 9.1 ( 9.1-STABLE FreeBSD 9.1-STABLE #0 r251140: ) today and my dmesg kernel prints: wbwd0: DevID 0x60 DevRev 0x12, please report this. wbwd0: DevID 0x60 DevRev 0x12, please report this. wbwd0: at port 0x2e-0x2f on isa0 wbwd0: Before watchdog attach: Watchdog enabled. Watchdog fired. Scaling by 1s, timer at 255 (<=255s left). CRF5 0x00 CRF7 0xff I am willing to provide any help necessary. Regards, BB From owner-freebsd-questions@FreeBSD.ORG Fri May 31 11:11:49 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A5A5F23C for ; Fri, 31 May 2013 11:11:49 +0000 (UTC) (envelope-from sd@nanoteq.com) Received: from relay05.imcf.co.za (sslmanagement.securicom.co.za [196.30.14.12]) by mx1.freebsd.org (Postfix) with ESMTP id 913377B7 for ; Fri, 31 May 2013 11:11:47 +0000 (UTC) Received: from MailVault ([192.168.2.57]) by relay05.imcf.co.za with Microsoft SMTPSVC(6.0.3790.1830); Fri, 31 May 2013 13:10:43 +0200 Received: from 8360-2.imcf.co.za ([192.168.1.1]) by IMCFMVA27.imcf.co.za with Microsoft SMTPSVC(6.0.3790.1830); Fri, 31 May 2013 13:10:38 +0200 X-AuditID: c0a80434-b7f696d000002712-e3-51a8852d9db0 Received: from ntq-ex.nanoteq.co.za ( [192.168.150.40]) by 8360-2.imcf.co.za (Securicom Gateway) with SMTP id 51.BD.10002.D2588A15; Fri, 31 May 2013 13:10:38 +0200 (CAT) Received: from NTQ-EX.nanoteq.co.za ([10.37.48.8]) by ntq-ex.nanoteq.co.za ([10.37.48.8]) with mapi; Fri, 31 May 2013 13:09:45 +0200 From: Stefan Desancic To: Volodymyr Kostyrko , "questions@FreeBSD.org" Date: Fri, 31 May 2013 13:10:37 +0200 Subject: RE: TCPmux Thread-Topic: TCPmux Thread-Index: AQEKO9FZZqYA7s+tFwQ54BlUhSB3OAFAMbINmp1hb0A= Message-ID: References: <51A85FFE.7060701@gmail.com> In-Reply-To: <51A85FFE.7060701@gmail.com> Accept-Language: en-US, en-ZA Content-Language: en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: acceptlanguage: en-US, en-ZA Content-Type: multipart/mixed; boundary="_002_F46C10D2F60F034BB106EAB4CD7E833C01007D987647ntqexnanote_" MIME-Version: 1.0 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFprNLsWRmVeSWpSXmKPExsVyYMU0DV291hWBBs/nSFg0ziux6D7ZzezA 5DHj03wWj52z7rIHMEVx2aSk5mSWpRbp2yVwZezaeJ6p4J9vxdmG/2wNjNe8uxg5OSQETCQ2 PDvADGGLSVy4t56ti5GLQ0hgNaNE9/qbUE4bo8Sy491MXYwcHGwCahKvJ7CDNIgIxEps3XeQ DcRmEVCV2HRvJpgtLCAs8flpPxtEjYjE56uPWCFsK4k5U9rBlvEK+Ev8b3wGZgsJ5El8P7IW bCangKZE2/vHYDajgKzEwS1fGEFsZgFxiVtP5jNBHCoi8fDiaTYIW1Ti5eN/rBD1MhLdlx6z QdRnSpw/vY4VYpegxMmZT1gmMIrMQjJqFpKyWUjKZgF9yQx0xvpd+hAlihJTuh+yQ9hmEj+u TYdqlZE4vX8X8yxgCDELLGGU2Hj5FBuyhgWMnKsYBS2MzQx0jfQyc5PT9JLz9aoSNzGCo4/F ZAfjoX3yhxgFOBiVeHhr61YECrEmlhVX5h5itORgUhLl3VgNFOJLyk+pzEgszogvKs1JLVaS 4+1ctzRQSBwuXFxaXJCZnJlfWhxfWpRziFEFaP+jDasvMEqx5OXnpSqJ8K6rAZrDm5JYWZVa lA8x5hCjNAeLkjhvRSpQSiA9sSQ1OzW1ILUIJmvPwaEkwXu+ESgrWJSanlqRlplTApNWUuT9 /X9ZoJAUsgy6M5g4OA8xmnPwAO1f3gyyv7ggMbc4Mx1qhCyv+3qgN8RgoqjaTzFaS4nzXgRZ LwBSkVGaB7ddSoH37AagVkkkCVTdrxhNgUEqzLsSZC8PMNMgrJXhLQBZKwoVRNdnDgx3Ed4n 1stB7i1JLEF2ry/EvVBRVJ1SDYyeFZrfLFiv27d/k9ykciT1wN5dHPeTL8yL9tjbfK84IKL2 +tc7D0M4ZVeblK/jU3i9YsnkUP6AK/yJ1+cymuuu8rXpTq4xO7Y/OdNxySaV6Cs5J64+4yw9 dstj05UZJ3bVT5uTu0SY8eXPizYPuE9MX7zmOGNSvc+uZJ4qI6lI/tWcl7uPVZcrsRRnJBpq MRcVJwIAz0F51C4EAAA= X-OriginalArrivalTime: 31 May 2013 11:10:38.0741 (UTC) FILETIME=[7B4B1C50:01CE5DEF] x-archived: no X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 May 2013 11:11:49 -0000 --_002_F46C10D2F60F034BB106EAB4CD7E833C01007D987647ntqexnanote_ Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SGksDQoNClRoYW5rIHlvdSBmb3IgeW91ciB2ZXJ5IHNwZWVkeSByZXNwb25zZS4NCkFsc28gQXR0 YWNoZWQgaXMgdGhlIGNvbmZpZyBmaWxlLg0KDQpLaW5kIFJlZ2FyZHMNCg0KU3RlZmFuDQoNCg0K IyBTZWN0aW9uOiBJbnRlcmZhY2VzDQpwdWJsaWNfaWYxOT0iZW0wIg0KcHJpdmF0ZV9pZjE4PSJl bTEiDQptZ210X2lmPSJlbTEiDQojIEVuZDogSW50ZXJmYWNlcw0KDQojIFNlY3Rpb246IFBvcnRz DQpNYW5hZ2VtZW50ID0gInsyMiw1NTU1fSINCmlrZXBvcnRzID0gIns1MDAsNDUwMH0iDQojIEVu ZDogUG9ydHMNCg0KIyBTZWN0aW9uOiBBZGRyZXNzIFRhYmxlDQp0YWJsZSA8Q0VOVEVSLUNPTlRB Q1Q+IHsxOTIuMTY4LjUwLjI1MH0NCnRhYmxlIDxDT05UQUNULUVER0UxPiB7MTkyLjE2OC41MC4x fQ0KdGFibGUgPElQXzEwLjAuMC4xPiB7MTAuMC4wLjF9DQp0YWJsZSA8SVBfMTAuMC4wLjI+IHsx MC4wLjAuMn0NCnRhYmxlIDxJUF8xOTIuMTY4LjUwLjI1MD4gezE5Mi4xNjguNTAuMjUwfQ0KdGFi bGUgPExQTl8xOTIuMTY4LjEwMC4wXzI0PiB7MTkyLjE2OC4xMDAuMC8yNH0NCnRhYmxlIDxMUE5f MTkyLjE2OC41MC4wXzI0PiB7MTkyLjE2OC41MC4wLzI0fQ0KdGFibGUgPENFTlRFUi1DT05UQUNU Tj4gezE5Mi4xNjguNTAuMjUwfQ0KIyBFbmQ6IEFkZHJlc3MgVGFibGUNCg0KIyBTZWN0aW9uOiBP cHRpb25zDQpzZXQgcnVsZXNldC1vcHRpbWl6YXRpb24gbm9uZQ0Kc2V0IGJsb2NrLXBvbGljeSBy ZXR1cm4NCnNldCBza2lwIG9uIGxvDQojIEVuZDogT3B0aW9ucw0KDQojIFNlY3Rpb246IFNjcnVi YmluZw0Kc2NydWIgaW4gYWxsDQojIEVuZDogU2NydWJiaW5nDQoNCiMgU2VjdGlvbjogQW50aSBT cG9vZmluZw0KYW50aXNwb29mIHF1aWNrIGZvciB7JHB1YmxpY19pZjE5LCAkcHJpdmF0ZV9pZjE4 fSBpbmV0DQojIEVuZDogQW50aSBTcG9vZmluZw0KDQojIFNlY3Rpb246IEZpcmV3YWxsIFJ1bGVz DQojIFNlY3Rpb246IFN5c3RlbSBSdWxlcw0KYmxvY2sgaW4gZnJvbSBhbnkgdG8gYW55IGxhYmVs IFJ1bGVJZFsxMTFdDQpwYXNzIG91dCBmcm9tIGFueSB0byBhbnkgbGFiZWwgUnVsZUlkWzExMl0N CiMgRW5kOiBTeXN0ZW0gUnVsZXMNCg0KIyBTZWN0aW9uOiBWUE4gTFBOIGFjY2VzcyBSdWxlcw0K cGFzcyBmcm9tIHs8TFBOXzE5Mi4xNjguMTAwLjBfMjQ+fSB0byB7PExQTl8xOTIuMTY4LjUwLjBf MjQ+fSB0YWdnZWQgdnBuIGxhYmVsIFJ1bGVJZFsxNDBdDQpwYXNzIGZyb20gezxMUE5fMTkyLjE2 OC41MC4wXzI0Pn0gdG8gezxMUE5fMTkyLjE2OC4xMDAuMF8yND59IGxhYmVsIFJ1bGVJZFsxNDFd DQojIEVuZDogVlBOIExQTiBhY2Nlc3MgUnVsZXMNCg0KIyBTZWN0aW9uOiBVc2VyIFJ1bGVzDQoj IGJsb2NrIGZyb20gYW55IHRvIGFueSBubyBzdGF0ZSBsYWJlbCBSdWxlSWRbMTQ5XQ0KIyBwYXNz IGluIGZyb20gezxMUE5fMTkyLjE2OC4xMDAuMF8yND59IHRvIHs8TFBOXzE5Mi4xNjguNTAuMF8y ND59IGxhYmVsIFJ1bGVJZFsxNTFdDQojIHBhc3MgaW4gZnJvbSB7PExQTl8xOTIuMTY4LjUwLjBf MjQ+fSB0byB7PExQTl8xOTIuMTY4LjEwMC4wXzI0Pn0gbGFiZWwgUnVsZUlkWzE1Ml0NCnBhc3Mg ZnJvbSBhbnkgdG8gYW55IGxhYmVsIFJ1bGVJZFsxNTddDQojIEVuZDogVXNlciBSdWxlcw0KDQoj IFNlY3Rpb246IElQc2VjIFJ1bGVzDQpwYXNzIGluIG9uICRtZ210X2lmIHByb3RvIHt1ZHB9IGZy b20gezxDRU5URVItQ09OVEFDVE4+fSB0byB7PENPTlRBQ1QtRURHRTE+fSBwb3J0ICRpa2Vwb3J0 cyBsYWJlbCBSdWxlSWRbMTE3XQ0KcGFzcyBpbiBvbiAkbWdtdF9pZiBwcm90byB7ZXNwfSBmcm9t IHs8Q0VOVEVSLUNPTlRBQ1ROPn0gdG8gezxDT05UQUNULUVER0UxPn0gbGFiZWwgUnVsZUlkWzEx OF0NCnBhc3MgaW4gb24gJG1nbXRfaWYgcHJvdG8ge2lwZW5jYXB9IGZyb20gezxDRU5URVItQ09O VEFDVE4+fSB0byB7PENPTlRBQ1QtRURHRTE+fSB0YWcgbWFuYWdlbWVudCBsYWJlbCBSdWxlSWRb MTE5XQ0KcGFzcyBwcm90byB7dWRwfSBmcm9tIHs8SVBfMTkyLjE2OC41MC4yNTA+fSB0byB7PElQ XzEwLjAuMC4yPn0gcG9ydCAkaWtlcG9ydHMgbGFiZWwgUnVsZUlkWzEzMV0NCnBhc3MgcHJvdG8g e3VkcH0gZnJvbSB7PElQXzEwLjAuMC4yPn0gdG8gezxJUF8xOTIuMTY4LjUwLjI1MD59IHBvcnQg JGlrZXBvcnRzIGxhYmVsIFJ1bGVJZFsxMzJdDQpwYXNzIHByb3RvIHtlc3B9IGZyb20gezxJUF8x OTIuMTY4LjUwLjI1MD59IHRvIHs8SVBfMTAuMC4wLjI+fSBsYWJlbCBSdWxlSWRbMTMzXQ0KcGFz cyBwcm90byB7ZXNwfSBmcm9tIHs8SVBfMTAuMC4wLjI+fSB0byB7PElQXzE5Mi4xNjguNTAuMjUw Pn0gbGFiZWwgUnVsZUlkWzEzNF0NCnBhc3MgaW4gb24gJHB1YmxpY19pZjE5IHByb3RvIHt1ZHB9 IGZyb20gezxJUF8xMC4wLjAuMj59IHRvIHs8SVBfMTAuMC4wLjE+fSBwb3J0ICRpa2Vwb3J0cyBs YWJlbCBSdWxlSWRbMTM1XQ0KcGFzcyBvdXQgb24gJHB1YmxpY19pZjE5IHByb3RvIHt1ZHB9IGZy b20gezxJUF8xMC4wLjAuMT59IHRvIHs8SVBfMTAuMC4wLjI+fSBwb3J0ICRpa2Vwb3J0cyBsYWJl bCBSdWxlSWRbMTM2XQ0KcGFzcyBpbiBvbiAkcHVibGljX2lmMTkgcHJvdG8ge2VzcH0gZnJvbSB7 PElQXzEwLjAuMC4yPn0gdG8gezxJUF8xMC4wLjAuMT59IGxhYmVsIFJ1bGVJZFsxMzddDQpwYXNz IG91dCBvbiAkcHVibGljX2lmMTkgcHJvdG8ge2VzcH0gZnJvbSB7PElQXzEwLjAuMC4xPn0gdG8g ezxJUF8xMC4wLjAuMj59IGxhYmVsIFJ1bGVJZFsxMzhdDQpwYXNzIGluIG9uICRwdWJsaWNfaWYx OSBwcm90byB7aXBlbmNhcH0gZnJvbSB7PElQXzEwLjAuMC4yPn0gdG8gezxJUF8xMC4wLjAuMT59 IHRhZyB2cG4gbGFiZWwgUnVsZUlkWzEzOV0NCiMgRW5kOiBJUHNlYyBSdWxlcw0KDQojIFNlY3Rp b246IE1hbmFnZW1lbnQgUnVsZXMNCnBhc3MgaW4gb24gJG1nbXRfaWYgcHJvdG8ge3RjcH0gZnJv bSB7PENFTlRFUi1DT05UQUNUPn0gdG8gezxDT05UQUNULUVER0UxPn0gcG9ydCAkTWFuYWdlbWVu dCB0YWdnZWQgbWFuYWdlbWVudCBsYWJlbCBSdWxlSWRbMTIwXQ0KIyBFbmQ6IE1hbmFnZW1lbnQg UnVsZXMNCiMgRW5kOiBGaXJld2FsbCBSdWxlcw0KDQoNCg0KDQoNCg0KDQoNCg0KDQotLS0tLU9y aWdpbmFsIE1lc3NhZ2UtLS0tLQ0KRnJvbTogVm9sb2R5bXlyIEtvc3R5cmtvIFttYWlsdG86Yy5r d29yckBnbWFpbC5jb21dDQpTZW50OiAzMSBNYXkgMjAxMyAxMDozMiBBTQ0KVG86IFN0ZWZhbiBE ZXNhbmNpYzsgcXVlc3Rpb25zQEZyZWVCU0Qub3JnDQpTdWJqZWN0OiBSZTogVENQbXV4DQoNCjMx LjA1LjIwMTMgMTA6MjksIFN0ZWZhbiBEZXNhbmNpYzoNCj4gR29vZCBNb3JuaW5nLA0KPg0KPiBJ cyB0aGVyZSBhIGZsYWcgb3IgYSBzZXR0aW5nIGluIHRoZSBQRiBmaXJld2FsbCBpbiBGcmVlQlNE IHRoYXQgeW91IGNhbiBzZXQgdG8gYWxsb3cgVENQbXV4IHRyYWZmaWMgdG8gZmxvdyB0aHJvdWdo IGl0PyBUaGUgcGFzcyBhbGwgcnVsZSBkb2Vzbid0IHNlZW0gdG8gd29yaywgaG93ZXZlciBpZiBJ IGRpc2FibGUgUEYgY29tcGxldGVseSB0aGVuIHRoZSBUQ1BtdXggdHJhZmZpYyBmbG93IHRocm91 Z2guDQoNCkkgaGF2ZSBubyBwcm9ibGVtcyB3aXRoIHRjcG11eCBhbmQgcGYuIENhbiB5b3Ugc2hv dyB5b3VyIGNvbmZpZz8gT24gbXkgbWFjaGluZXMgdGNwbXV4IGlzIHNlcnZlZCBmcm9tIGluZXRk IG9uIGRlZmF1bHQgcG9ydCAoMSkuDQoNCi0tDQpTcGhpbnggb2YgYmxhY2sgcXVhcnR6LCBqdWRn ZSBteSB2b3cuDQoNCg0KDQpJbXBvcnRhbnQgTm90aWNlOg0KDQpUaGlzIGUtbWFpbCBhbmQgaXRz IGNvbnRlbnRzIGFyZSBzdWJqZWN0IHRvIHRoZSBOYW5vdGVxIChQdHkpIEx0ZCBlLW1haWwgbGVn YWwgbm90aWNlIGF2YWlsYWJsZSBhdDoNCmh0dHA6Ly93d3cubmFub3RlcS5jb20vQWJvdXRVcy9F bWFpbERpc2NsYWltZXIuYXNweA0K --_002_F46C10D2F60F034BB106EAB4CD7E833C01007D987647ntqexnanote_ Content-Type: application/octet-stream; name="pf.conf" Content-Description: pf.conf Content-Disposition: attachment; filename="pf.conf"; size=2920; creation-date="Fri, 31 May 2013 11:07:21 GMT"; modification-date="Fri, 31 May 2013 11:07:20 GMT" Content-Transfer-Encoding: base64 IyBTZWN0aW9uOiBJbnRlcmZhY2VzCnB1YmxpY19pZjE5PSJlbTAiCnByaXZhdGVfaWYxOD0iZW0x IgptZ210X2lmPSJlbTEiCiMgRW5kOiBJbnRlcmZhY2VzCgojIFNlY3Rpb246IFBvcnRzCk1hbmFn ZW1lbnQgPSAiezIyLDU1NTV9Igppa2Vwb3J0cyA9ICJ7NTAwLDQ1MDB9IgojIEVuZDogUG9ydHMK CiMgU2VjdGlvbjogQWRkcmVzcyBUYWJsZQp0YWJsZSA8Q0VOVEVSLUNPTlRBQ1Q+IHsxOTIuMTY4 LjUwLjI1MH0KdGFibGUgPENPTlRBQ1QtRURHRTE+IHsxOTIuMTY4LjUwLjF9CnRhYmxlIDxJUF8x MC4wLjAuMT4gezEwLjAuMC4xfQp0YWJsZSA8SVBfMTAuMC4wLjI+IHsxMC4wLjAuMn0KdGFibGUg PElQXzE5Mi4xNjguNTAuMjUwPiB7MTkyLjE2OC41MC4yNTB9CnRhYmxlIDxMUE5fMTkyLjE2OC4x MDAuMF8yND4gezE5Mi4xNjguMTAwLjAvMjR9CnRhYmxlIDxMUE5fMTkyLjE2OC41MC4wXzI0PiB7 MTkyLjE2OC41MC4wLzI0fQp0YWJsZSA8Q0VOVEVSLUNPTlRBQ1ROPiB7MTkyLjE2OC41MC4yNTB9 CiMgRW5kOiBBZGRyZXNzIFRhYmxlCgojIFNlY3Rpb246IE9wdGlvbnMKc2V0IHJ1bGVzZXQtb3B0 aW1pemF0aW9uIG5vbmUKc2V0IGJsb2NrLXBvbGljeSByZXR1cm4Kc2V0IHNraXAgb24gbG8KIyBF bmQ6IE9wdGlvbnMKCiMgU2VjdGlvbjogU2NydWJiaW5nCnNjcnViIGluIGFsbAojIEVuZDogU2Ny dWJiaW5nCgojIFNlY3Rpb246IEFudGkgU3Bvb2ZpbmcKYW50aXNwb29mIHF1aWNrIGZvciB7JHB1 YmxpY19pZjE5LCAkcHJpdmF0ZV9pZjE4fSBpbmV0CiMgRW5kOiBBbnRpIFNwb29maW5nCgojIFNl Y3Rpb246IEZpcmV3YWxsIFJ1bGVzCiMgU2VjdGlvbjogU3lzdGVtIFJ1bGVzCmJsb2NrIGluIGZy b20gYW55IHRvIGFueSBsYWJlbCBSdWxlSWRbMTExXQpwYXNzIG91dCBmcm9tIGFueSB0byBhbnkg bGFiZWwgUnVsZUlkWzExMl0KIyBFbmQ6IFN5c3RlbSBSdWxlcwoKIyBTZWN0aW9uOiBWUE4gTFBO IGFjY2VzcyBSdWxlcwpwYXNzIGZyb20gezxMUE5fMTkyLjE2OC4xMDAuMF8yND59IHRvIHs8TFBO XzE5Mi4xNjguNTAuMF8yND59IHRhZ2dlZCB2cG4gbGFiZWwgUnVsZUlkWzE0MF0KcGFzcyBmcm9t IHs8TFBOXzE5Mi4xNjguNTAuMF8yND59IHRvIHs8TFBOXzE5Mi4xNjguMTAwLjBfMjQ+fSBsYWJl bCBSdWxlSWRbMTQxXQojIEVuZDogVlBOIExQTiBhY2Nlc3MgUnVsZXMKCiMgU2VjdGlvbjogVXNl ciBSdWxlcwojIGJsb2NrIGZyb20gYW55IHRvIGFueSBubyBzdGF0ZSBsYWJlbCBSdWxlSWRbMTQ5 XQojIHBhc3MgaW4gZnJvbSB7PExQTl8xOTIuMTY4LjEwMC4wXzI0Pn0gdG8gezxMUE5fMTkyLjE2 OC41MC4wXzI0Pn0gbGFiZWwgUnVsZUlkWzE1MV0KIyBwYXNzIGluIGZyb20gezxMUE5fMTkyLjE2 OC41MC4wXzI0Pn0gdG8gezxMUE5fMTkyLjE2OC4xMDAuMF8yND59IGxhYmVsIFJ1bGVJZFsxNTJd CnBhc3MgZnJvbSBhbnkgdG8gYW55IGxhYmVsIFJ1bGVJZFsxNTddCiMgRW5kOiBVc2VyIFJ1bGVz CgojIFNlY3Rpb246IElQc2VjIFJ1bGVzCnBhc3MgaW4gb24gJG1nbXRfaWYgcHJvdG8ge3VkcH0g ZnJvbSB7PENFTlRFUi1DT05UQUNUTj59IHRvIHs8Q09OVEFDVC1FREdFMT59IHBvcnQgJGlrZXBv cnRzIGxhYmVsIFJ1bGVJZFsxMTddCnBhc3MgaW4gb24gJG1nbXRfaWYgcHJvdG8ge2VzcH0gZnJv bSB7PENFTlRFUi1DT05UQUNUTj59IHRvIHs8Q09OVEFDVC1FREdFMT59IGxhYmVsIFJ1bGVJZFsx MThdCnBhc3MgaW4gb24gJG1nbXRfaWYgcHJvdG8ge2lwZW5jYXB9IGZyb20gezxDRU5URVItQ09O VEFDVE4+fSB0byB7PENPTlRBQ1QtRURHRTE+fSB0YWcgbWFuYWdlbWVudCBsYWJlbCBSdWxlSWRb MTE5XQpwYXNzIHByb3RvIHt1ZHB9IGZyb20gezxJUF8xOTIuMTY4LjUwLjI1MD59IHRvIHs8SVBf MTAuMC4wLjI+fSBwb3J0ICRpa2Vwb3J0cyBsYWJlbCBSdWxlSWRbMTMxXQpwYXNzIHByb3RvIHt1 ZHB9IGZyb20gezxJUF8xMC4wLjAuMj59IHRvIHs8SVBfMTkyLjE2OC41MC4yNTA+fSBwb3J0ICRp a2Vwb3J0cyBsYWJlbCBSdWxlSWRbMTMyXQpwYXNzIHByb3RvIHtlc3B9IGZyb20gezxJUF8xOTIu MTY4LjUwLjI1MD59IHRvIHs8SVBfMTAuMC4wLjI+fSBsYWJlbCBSdWxlSWRbMTMzXQpwYXNzIHBy b3RvIHtlc3B9IGZyb20gezxJUF8xMC4wLjAuMj59IHRvIHs8SVBfMTkyLjE2OC41MC4yNTA+fSBs YWJlbCBSdWxlSWRbMTM0XQpwYXNzIGluIG9uICRwdWJsaWNfaWYxOSBwcm90byB7dWRwfSBmcm9t IHs8SVBfMTAuMC4wLjI+fSB0byB7PElQXzEwLjAuMC4xPn0gcG9ydCAkaWtlcG9ydHMgbGFiZWwg UnVsZUlkWzEzNV0KcGFzcyBvdXQgb24gJHB1YmxpY19pZjE5IHByb3RvIHt1ZHB9IGZyb20gezxJ UF8xMC4wLjAuMT59IHRvIHs8SVBfMTAuMC4wLjI+fSBwb3J0ICRpa2Vwb3J0cyBsYWJlbCBSdWxl SWRbMTM2XQpwYXNzIGluIG9uICRwdWJsaWNfaWYxOSBwcm90byB7ZXNwfSBmcm9tIHs8SVBfMTAu MC4wLjI+fSB0byB7PElQXzEwLjAuMC4xPn0gbGFiZWwgUnVsZUlkWzEzN10KcGFzcyBvdXQgb24g JHB1YmxpY19pZjE5IHByb3RvIHtlc3B9IGZyb20gezxJUF8xMC4wLjAuMT59IHRvIHs8SVBfMTAu MC4wLjI+fSBsYWJlbCBSdWxlSWRbMTM4XQpwYXNzIGluIG9uICRwdWJsaWNfaWYxOSBwcm90byB7 aXBlbmNhcH0gZnJvbSB7PElQXzEwLjAuMC4yPn0gdG8gezxJUF8xMC4wLjAuMT59IHRhZyB2cG4g bGFiZWwgUnVsZUlkWzEzOV0KIyBFbmQ6IElQc2VjIFJ1bGVzCgojIFNlY3Rpb246IE1hbmFnZW1l bnQgUnVsZXMKcGFzcyBpbiBvbiAkbWdtdF9pZiBwcm90byB7dGNwfSBmcm9tIHs8Q0VOVEVSLUNP TlRBQ1Q+fSB0byB7PENPTlRBQ1QtRURHRTE+fSBwb3J0ICRNYW5hZ2VtZW50IHRhZ2dlZCBtYW5h Z2VtZW50IGxhYmVsIFJ1bGVJZFsxMjBdCiMgRW5kOiBNYW5hZ2VtZW50IFJ1bGVzCiMgRW5kOiBG aXJld2FsbCBSdWxlcw== --_002_F46C10D2F60F034BB106EAB4CD7E833C01007D987647ntqexnanote_-- From owner-freebsd-questions@FreeBSD.ORG Fri May 31 13:30:12 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B7B25B56 for ; Fri, 31 May 2013 13:30:12 +0000 (UTC) (envelope-from emorrasg@yahoo.es) Received: from nm9.bullet.mail.ird.yahoo.com (nm9.bullet.mail.ird.yahoo.com [77.238.189.35]) by mx1.freebsd.org (Postfix) with ESMTP id EC1881C3 for ; Fri, 31 May 2013 13:30:11 +0000 (UTC) Received: from [77.238.189.56] by nm9.bullet.mail.ird.yahoo.com with NNFMP; 31 May 2013 13:26:34 -0000 Received: from [46.228.39.108] by tm9.bullet.mail.ird.yahoo.com with NNFMP; 31 May 2013 13:26:34 -0000 Received: from [127.0.0.1] by smtp145.mail.ir2.yahoo.com with NNFMP; 31 May 2013 13:26:34 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s1024; t=1370006793; bh=F6TLKyXYNUI+ppCfElCC/CdEwdD6onPiG+KxZxe8X6Y=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Date:From:To:Subject:Message-Id:X-Mailer:Disposition-Notification-To:Mime-Version:Content-Type:Content-Transfer-Encoding; b=2d2n78HNnl61hIbLa/nCTqscQ/bVXaUVbEXmLw1pMiMNxMM1xaW1MSuh2lLZirNQUU0143UJSYy7+m7WtKoVCjSXVVgcaagAnyfeOLk+TSd0z9zU5mGQpVi4wsFog1OiDCURLx1DVp3GxRK9jfzSl2jOWI2rllnD2s1ttxY3t1M= X-Yahoo-Newman-Id: 997337.65893.bm@smtp145.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-5 X-YMail-OSG: _QczaI4VM1mniCChUdUXuBKVq6ZqEx3gQMBDGRFaiqTaQUg xrtMH_hrePDUv18rpvGJSBE0fnLVSHqIqvg06hudvPIkNYgm9RkNjAvhPNNW obY.7XEIzbektQUzKlxo6Z1sR6GqD5.sGtxR9bjhq8i7BhBbPzTVbEXxtgAY pYRyMku4hOPBR16ruw2q2r4fvt_UZtxMkDgOw2rFQFDwuVzwqnbyu66m1hcr nLTn174VvTKugDO6RB9vbi6n8ZXk69XE91u.ofGvKacuXGoJMZIwKscGryfr 34BfpPcyCXJ.yLhhD1xZ0_G.lkVdLMHpM9bvrSnmXKXm6dQWUkXAArX3Vupg 3olijo2yFApz2zv64eLRMvxohWsfHfN6mz15GLJX3fDg_hp103Z5CZGpAI0H K0bpostBMbe4v5fhQULZkv7Vms26gQF6LdWzopeKjOMD2pw5CYSXYfHqz5pP ou.VU335.virL1F5VKI7wFM3oar09EI3Nu_PhvU.dpZDVIopGQzxgpK6XDJ1 fxQ-- X-Yahoo-SMTP: mX392iiswBAeJNdO_s.EW62LZDJR X-Rocket-Received: from camibar.emorras.eu (emorrasg@85.219.45.142 with ) by smtp145.mail.ir2.yahoo.com with SMTP; 31 May 2013 13:26:33 +0000 UTC Date: Fri, 31 May 2013 15:26:33 +0200 From: Eduardo Morras To: freebsd-questions@freebsd.org Subject: Clang cannot finds standard system lib libssl.a Message-Id: <20130531152633.dd6dfb61118c57184369c5de@yahoo.es> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.18; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 May 2013 13:30:12 -0000 Hi, I'm trying to compile a single big file project written in C. It compiled fine, without problems in my develop machine (FreeBSD 9.1 STABLE, Clang3.2) but not on the server (FreeBSD 9.1 Release#0, Clang 3.1). The app uses openssl dtls and links to system ssl libs. Am I missing something? For compile I do: %clang gog_server.c -o gog_server -v -I /usr/include/openssl but I get a lot of undefined references to whole openssl lib functions, structs etc in Link phase: ... gog_server.c:(.text+0x9): undefined reference to `CRYPTO_num_locks' gog_server.c:(.text+0x50): undefined reference to `CRYPTO_num_locks' ... I have manually checked that: a) /usr/lib/libssl.a /usr/lib/libssl.so exist b) The linker has /usr/lib path %clang -print-search-dirs programs: =/usr/bin libraries: =/usr/bin/../lib/clang/3.1:/usr/lib c) Add -Xlinker "-L /usr/lib" d) Add -Xlinker "-l /usr/lib/libssl.a", get this from linker: "/usr/bin/ld" --eh-frame-hdr -dynamic-linker /libexec/ld-elf.so.1 -o gog_server /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o -L/usr/lib /tmp/gog_server-8bAHxn.o "-l /usr/lib/libssl.a" -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/crtend.o /usr/lib/crtn.o /usr/bin/ld: cannot find "-l /usr/lib/libssl.a" e) Tried c) and d) without "", but get the same answers /usr/bin/ld: cannont find ... Finally, this is the relevant output of last try: % clang gog_server.c -o gog_server -v -I /usr/include/openssl -Xlinker /usr/lib/libssl.a 2>err FreeBSD clang version 3.1 (branches/release_31 156863) 20120523 Target: x86_64-unknown-freebsd9.0 Thread model: posix "/usr/bin/clang" -cc1 -triple x86_64-unknown-freebsd9.0 -emit-obj -mrelax-all -disable-free -main-file-name gog_server.c -mrelocation-model static -mdisable-fp-elim -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -momit-leaf-frame-pointer -v -resource-dir /usr/bin/../lib/clang/3.1 -I /usr/include/openssl -fmodule-cache-path /var/tmp/clang-module-cache -fdebug-compilation-dir /home/gowen/clang/Gog -ferror-limit 19 -fmessage-length 0 -mstackrealign -fgnu-runtime -fobjc-runtime-has-arc -fobjc-runtime-has-weak -fobjc-dispatch-method=non-legacy -fdiagnostics-show-option -o /tmp/gog_server-mK51RB.o -x c gog_server.c clang -cc1 version 3.1 based upon LLVM 3.1 default target x86_64-unknown-freebsd9.0 ignoring nonexistent directory "/usr/bin/../lib/clang/3.1/include" #include "..." search starts here: #include <...> search starts here: /usr/include/openssl /usr/include/clang/3.1 /usr/include End of search list. "/usr/bin/ld" --eh-frame-hdr -dynamic-linker /libexec/ld-elf.so.1 -o gog_server /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o -L/usr/lib /tmp/gog_server-mK51RB.o /usr/lib/libssl.a -lgcc --as-needed -lgcc_s --no-as-needed -lc -lgcc --as-needed -lgcc_s --no-as-needed /usr/lib/crtend.o /usr/lib/crtn.o /tmp/gog_server-mK51RB.o: In function `THREAD_setup': gog_server.c:(.text+0x9): undefined reference to `CRYPTO_num_locks' ..... and a lot of similar lines. So, Am I missing something? Thanks in advance. --- --- Eduardo Morras From owner-freebsd-questions@FreeBSD.ORG Fri May 31 14:13:40 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7EB38B7B for ; Fri, 31 May 2013 14:13:40 +0000 (UTC) (envelope-from tijl@coosemans.org) Received: from mailrelay003.isp.belgacom.be (mailrelay003.isp.belgacom.be [195.238.6.53]) by mx1.freebsd.org (Postfix) with ESMTP id 1D6976B4 for ; Fri, 31 May 2013 14:13:39 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AngGAG+vqFFbsJmg/2dsb2JhbABagwm8LYJtgQAXdIIjAQEFViIBEAsOCgkWDwkDAgECASceBg0BBwEBiA26TY8cB4NXA5AAgSyXUoMROg Received: from 160.153-176-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.176.153.160]) by relay.skynet.be with ESMTP; 31 May 2013 16:12:30 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.7/8.14.7) with ESMTP id r4VECTGW003016; Fri, 31 May 2013 16:12:29 +0200 (CEST) (envelope-from tijl@coosemans.org) Message-ID: <51A8AFC8.5030509@coosemans.org> Date: Fri, 31 May 2013 16:12:24 +0200 From: Tijl Coosemans User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130517 Thunderbird/17.0.6 MIME-Version: 1.0 To: Eduardo Morras Subject: Re: Clang cannot finds standard system lib libssl.a References: <20130531152633.dd6dfb61118c57184369c5de@yahoo.es> In-Reply-To: <20130531152633.dd6dfb61118c57184369c5de@yahoo.es> X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2VLISHHMVPUOIUWGRPOGU" Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 May 2013 14:13:40 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2VLISHHMVPUOIUWGRPOGU Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2013-05-31 15:26, Eduardo Morras wrote: > I'm trying to compile a single big file project written in C. It > compiled fine, without problems in my develop machine (FreeBSD 9.1 > STABLE, Clang3.2) but not on the server (FreeBSD 9.1 Release#0, Clang > 3.1). The app uses openssl dtls and links to system ssl libs. Am I > missing something? >=20 > For compile I do: >=20 > %clang gog_server.c -o gog_server -v -I /usr/include/openssl >=20 > but I get a lot of undefined references to whole openssl lib > functions, structs etc in Link phase: >=20 > ... > gog_server.c:(.text+0x9): undefined reference to `CRYPTO_num_locks' > gog_server.c:(.text+0x50): undefined reference to `CRYPTO_num_locks' > ... CRYPTO_num_locks is in libcrypto so try linking with that in addition to libssl. ------enig2VLISHHMVPUOIUWGRPOGU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iF4EAREIAAYFAlGor80ACgkQfoCS2CCgtitPugD/dSBAaRBaInX62ihlA8qtlFSi oaNCHN+2seYRg1C+AKkA/3SyYrGkJ4JUddJEkST8Lv4+I/+S3wWtUCjmtaH66mlW =7UOw -----END PGP SIGNATURE----- ------enig2VLISHHMVPUOIUWGRPOGU-- From owner-freebsd-questions@FreeBSD.ORG Fri May 31 14:28:56 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D5BF5E24 for ; Fri, 31 May 2013 14:28:56 +0000 (UTC) (envelope-from emorrasg@yahoo.es) Received: from nm22-vm5.bullet.mail.ird.yahoo.com (nm22-vm5.bullet.mail.ird.yahoo.com [212.82.109.224]) by mx1.freebsd.org (Postfix) with SMTP id 349267A3 for ; Fri, 31 May 2013 14:28:55 +0000 (UTC) Received: from [77.238.189.52] by nm22.bullet.mail.ird.yahoo.com with NNFMP; 31 May 2013 14:28:48 -0000 Received: from [46.228.39.94] by tm5.bullet.mail.ird.yahoo.com with NNFMP; 31 May 2013 14:28:48 -0000 Received: from [127.0.0.1] by smtp131.mail.ir2.yahoo.com with NNFMP; 31 May 2013 14:28:48 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s1024; t=1370010528; bh=No8ZN864oVhV+pOatjo7ss2rAeA0A+l8o5XQmfmmhU0=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Date:From:To:Subject:Message-Id:In-Reply-To:References:X-Mailer:Disposition-Notification-To:Mime-Version:Content-Type:Content-Transfer-Encoding; b=6Uz3XGubAUdI09zS4+egHXG8GK/iKa2zZMxxO8PH8djwVAeCFofEVykH7mENL2lmPosoTifziqYb/HjY8Cx09PXl+qDWadeUXAsvCt4PxvsERfgw1gCMaMjvSZlaJI15oN4dBbqC+eTjkCmtCpv0stLzPBrPJNT9DSrVeD8YGSY= X-Yahoo-Newman-Id: 686276.42997.bm@smtp131.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: o9UR3E0VM1nVg24b0rzEw6aN6n_79YW_frNnPBW7LxjSJrZ bwj0_F0dZg4k6K7x8VSBdC2jkaAkh4m_tmbH1zjUcrET2q2LZKbJWVkCXbOz cR9rg4_wMHpppXYAD7FfNFSFEbP4l7Rv.qWdupZr0x_C5huu_cAN4EMxfS8. GPuRpXpGwXkqdCkzQRwwohDtbPO2AnMvgvVBVDR1SYLhdzhluSAzpLZlMfKe EgsieYBht3nNUm7SNc1SZTEdxL1kko6Vflk7YqOZmjbzxQgLHK0tr6cJFXIG XewGBvp2PTmW00GVsM0ZlBIVfFGuuMIFrFKXkUpGzYTbFt736RydFK00KB_l X_2ArYG1kAyj1RrKDsFp7GV9MPyoVO9ASKDk7jKvZL3aPmp51e1RIUPjLL3i VpbwvWEAcWgN.v4rnNypahAUyUu4HQOeQPK.jnMwDzPEVY8A3vRKa_dhAVek - X-Yahoo-SMTP: mX392iiswBAeJNdO_s.EW62LZDJR X-Rocket-Received: from camibar.emorras.eu (emorrasg@85.219.45.142 with ) by smtp131.mail.ir2.yahoo.com with SMTP; 31 May 2013 14:28:48 +0000 UTC Date: Fri, 31 May 2013 16:28:48 +0200 From: Eduardo Morras To: freebsd-questions@freebsd.org Subject: Re: Clang cannot finds standard system lib libssl.a Message-Id: <20130531162848.8a008616332c5906d79eefcc@yahoo.es> In-Reply-To: <51A8AFC8.5030509@coosemans.org> References: <20130531152633.dd6dfb61118c57184369c5de@yahoo.es> <51A8AFC8.5030509@coosemans.org> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.18; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 May 2013 14:28:56 -0000 On Fri, 31 May 2013 16:12:24 +0200 Tijl Coosemans wrote: > > CRYPTO_num_locks is in libcrypto so try linking with that in addition > to libssl. > Now i works, thanks a lot!! Forgot to add -Xlinker /usr/lib/libcrypto.a and -Xlinker /usr/lib/libpthread.a Now everything works as expected. Bytes bite bitter when abuse caffeine... --- --- Eduardo Morras From owner-freebsd-questions@FreeBSD.ORG Fri May 31 15:14:27 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 63A69696 for ; Fri, 31 May 2013 15:14:27 +0000 (UTC) (envelope-from c.kworr@gmail.com) Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com [209.85.217.173]) by mx1.freebsd.org (Postfix) with ESMTP id E0D8F9E0 for ; Fri, 31 May 2013 15:14:26 +0000 (UTC) Received: by mail-lb0-f173.google.com with SMTP id t10so1791245lbi.4 for ; Fri, 31 May 2013 08:14:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=zY5qMBMnKmHu1nuXpcTwU8VY54Sihijae3YK7BNvkac=; b=XJw+ZXqHoPS8rLr3P6xEnk9K/JQF8WoVo/p2Yk1lbR8isH4Iy6KkrHfbvhO0DTfOhF U4yXi9N0i7F83tBtwLc0+mj+F0hBQGVlLO41g6/pBJGVwZMrsH7bebJNN41dXRAkou+s mOaRk4D/KvK/1cmupCYF+oov6QdLsCg15UyQRMZluISoRzNr4zqMwhixaV5HWgsUmlK8 Dco6DIjAC5iLP5xcif5OaFRY4rOvyQXi9X9joto5h9onkZKnbUHhOmKK8/+AtbBrqGX+ 3MMMnh+nCi/W25A2KyG5/Mof3JJ14+yb85SUeN35yGjF20Z8DghX03rF399cAKB60cDr 6dtQ== X-Received: by 10.112.7.4 with SMTP id f4mr6044513lba.132.1370013260062; Fri, 31 May 2013 08:14:20 -0700 (PDT) Received: from [192.168.1.128] (mau.donbass.com. [92.242.127.250]) by mx.google.com with ESMTPSA id g10sm19679987lag.10.2013.05.31.08.14.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 31 May 2013 08:14:19 -0700 (PDT) Message-ID: <51A8BE49.3070801@gmail.com> Date: Fri, 31 May 2013 18:14:17 +0300 From: Volodymyr Kostyrko User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:20.0) Gecko/20100101 Firefox/20.0 SeaMonkey/2.17.1 MIME-Version: 1.0 To: Stefan Desancic , "questions@FreeBSD.org" Subject: Re: TCPmux References: <51A85FFE.7060701@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 May 2013 15:14:27 -0000 31.05.2013 14:10, Stefan Desancic: > Hi, > > Thank you for your very speedy response. > Also Attached is the config file. > > Kind Regards > > Stefan > > > # Section: Interfaces > public_if19="em0" > private_if18="em1" > mgmt_if="em1" > # End: Interfaces > > # Section: Ports > Management = "{22,5555}" > ikeports = "{500,4500}" > # End: Ports > > # Section: Address Table > table {192.168.50.250} > table {192.168.50.1} > table {10.0.0.1} > table {10.0.0.2} > table {192.168.50.250} > table {192.168.100.0/24} > table {192.168.50.0/24} > table {192.168.50.250} > # End: Address Table > > # Section: Options > set ruleset-optimization none > set block-policy return > set skip on lo > # End: Options > > # Section: Scrubbing > scrub in all > # End: Scrubbing > > # Section: Anti Spoofing > antispoof quick for {$public_if19, $private_if18} inet > # End: Anti Spoofing > > # Section: Firewall Rules > # Section: System Rules > block in from any to any label RuleId[111] > pass out from any to any label RuleId[112] > # End: System Rules > > # Section: VPN LPN access Rules > pass from {} to {} tagged vpn label RuleId[140] > pass from {} to {} label RuleId[141] > # End: VPN LPN access Rules > > # Section: User Rules > # block from any to any no state label RuleId[149] > # pass in from {} to {} label RuleId[151] > # pass in from {} to {} label RuleId[152] > pass from any to any label RuleId[157] > # End: User Rules > > # Section: IPsec Rules > pass in on $mgmt_if proto {udp} from {} to {} port $ikeports label RuleId[117] > pass in on $mgmt_if proto {esp} from {} to {} label RuleId[118] > pass in on $mgmt_if proto {ipencap} from {} to {} tag management label RuleId[119] > pass proto {udp} from {} to {} port $ikeports label RuleId[131] > pass proto {udp} from {} to {} port $ikeports label RuleId[132] > pass proto {esp} from {} to {} label RuleId[133] > pass proto {esp} from {} to {} label RuleId[134] > pass in on $public_if19 proto {udp} from {} to {} port $ikeports label RuleId[135] > pass out on $public_if19 proto {udp} from {} to {} port $ikeports label RuleId[136] > pass in on $public_if19 proto {esp} from {} to {} label RuleId[137] > pass out on $public_if19 proto {esp} from {} to {} label RuleId[138] > pass in on $public_if19 proto {ipencap} from {} to {} tag vpn label RuleId[139] > # End: IPsec Rules > > # Section: Management Rules > pass in on $mgmt_if proto {tcp} from {} to {} port $Management tagged management label RuleId[120] > # End: Management Rules > # End: Firewall Rules I'm missing a rule which would pass tcp connections to port 1 on any interface. However I can see a pass all rule. Remote connections should be enabled. How your tcpmux server is configured? Can you show the output of `sockstat | grep ':1 '`? >> Good Morning, >> >> Is there a flag or a setting in the PF firewall in FreeBSD that you can set to allow TCPmux traffic to flow through it? The pass all rule doesn't seem to work, however if I disable PF completely then the TCPmux traffic flow through. > > I have no problems with tcpmux and pf. Can you show your config? On my machines tcpmux is served from inetd on default port (1). -- Sphinx of black quartz, judge my vow. From owner-freebsd-questions@FreeBSD.ORG Fri May 31 15:36:21 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 86533B2E for ; Fri, 31 May 2013 15:36:21 +0000 (UTC) (envelope-from bsd@todoo.biz) Received: from newmail.rmm.fr (newmail.rmm.fr [213.251.152.9]) by mx1.freebsd.org (Postfix) with ESMTP id 4E977B22 for ; Fri, 31 May 2013 15:36:21 +0000 (UTC) Received: from newmail.rmm.fr (newmail.rmm.fr [213.251.152.9]) by newmail.rmm.fr (Postfix) with ESMTP id 7F2381B4E8E for ; Fri, 31 May 2013 17:26:29 +0200 (CEST) X-Virus-Scanned: amavisd-new 2.8.0 (20120630) at rmm.fr Received: from newmail.rmm.fr ([213.251.152.9]) by newmail.rmm.fr (newmail.rmm.fr [213.251.152.9]) (amavisd-new, port 10026) with ESMTP id 0c_Kk43XIlHk for ; Fri, 31 May 2013 17:26:29 +0200 (CEST) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: hidden) by newmail.rmm.fr (Postfix) with ESMTPSA id 4FEF31B4E86 for ; Fri, 31 May 2013 17:26:29 +0200 (CEST) From: "bsd@todoo.biz" Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: pkgng dependencies change / update Message-Id: <71B55EBD-A768-42D3-839A-E89098A1AD81@todoo.biz> Date: Fri, 31 May 2013 17:26:30 +0200 To: Liste FreeBSD Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) X-Mailer: Apple Mail (2.1503) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 May 2013 15:36:21 -0000 Hi,=20 I am trying to figure out how to change / update the dependencies on a = package.=20 I have a postfix package which comes from a server where mysql-client is = in version 5.1=20 And I would like to install the same package on a server where = mysql-client is in version 5.6=20 I am not sure if this is feasible.=20 Of course when I try to install this package on the server, it tells me = :=20 > jail: ns3 15:03:57 /home/gregober # pkg add postfix-2.10.0,1.txz=20 > Installing postfix-2.10.0,1...missing dependency mysql-client-5.1.68 > Failed to install the following 1 package(s): postfix-2.10.0,1.txz I have tried to set the dependency to an updated version of the port :=20= > jail: ns3 15:04:16 /home/gregober # pkg set -o = databases/mysql51-client:databases/mysql56-client > Change origin from databases/mysql51-client to = databases/mysql56-client for all dependencies? [y/N]: y But no luck !!=20 Any idea how to do that ?=20 ________________________________________________ =AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?= =BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7 =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF Your provider of OpenSource Appliances www.osnet.eu =09 ________________________________________________ =AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?= =BB=A7=AB?=BB=A5=AB?=BB=A7=AB?=BB=A5=AB?=BB=A7 =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF PGP ID --> 0x1BA3C2FD From owner-freebsd-questions@FreeBSD.ORG Fri May 31 18:10:01 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4E17E94B for ; Fri, 31 May 2013 18:10:01 +0000 (UTC) (envelope-from unixuser2000-fbsd@yahoo.com) Received: from nm27-vm4.bullet.mail.sg3.yahoo.com (nm27-vm4.bullet.mail.sg3.yahoo.com [106.10.151.131]) by mx1.freebsd.org (Postfix) with ESMTP id 983C0373 for ; Fri, 31 May 2013 18:10:00 +0000 (UTC) Received: from [106.10.166.113] by nm27.bullet.mail.sg3.yahoo.com with NNFMP; 31 May 2013 18:09:59 -0000 Received: from [106.10.150.24] by tm2.bullet.mail.sg3.yahoo.com with NNFMP; 31 May 2013 18:09:59 -0000 Received: from [127.0.0.1] by omp1025.mail.sg3.yahoo.com with NNFMP; 31 May 2013 18:09:59 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 160389.66266.bm@omp1025.mail.sg3.yahoo.com Received: (qmail 31708 invoked by uid 60001); 31 May 2013 18:09:59 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1370023798; bh=Reh+LjgKKwknktp/Nqh1coIgiuER2IlKhKW3PqvdjKA=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=3c4qPGY4ISE+O+FsoBqsgqayjuqDTI+iD9/LYhssbAu4JXuYnks0pMqQoCNgGV9IoLmEaJ3pq7IoJOHuuC31+1OYWqVxTJYZF7lSAibr01tTbQ3hrwTn4N4cj+VyRamIGYbxu8pynV2tYzdb9L9r41as2VbAOIdb35zNYmu0+V4= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=DW/cB5DcKl/CXPjaFcufM6fYUp9pj9QlvbkOls1rz1NmgvTvMlQ0xpZpqeUBy4cOs4M/aONFUYVcwlHHL+m/p1rZzvTFPPPvFNc4agp0JMKEk4JDTqlWeLOHoohxAw/HhotOOlv/EZje4rMd7fJBkA4S6ugCpyr70aMZTMN1Vw8=; X-YMail-OSG: 8CU_fegVM1mTq7la1xcojLX4eFVUk25spbYrnlfEO.CJSZr 31IGOZp97RhXNjTVg2BeI5RWq6pjz_VjkTs_RjMbp3Zvd_i75j0Tjx8veJUc jl6XsJkABFCOnMdr_hJR_QDDN3YEnpH3f1Ka9n5uYdqX9GI2e7mr9MKCqEon rlIDaXA4FqbYEUtXotB4mfeeRAFZaa3mDh0JoYgwv9l.NBTVJYpNUf0z6aNo EBmWjkszkoVdHW_8Q6fLcnzcbL_llWcTcsCIvYWv.Mnz2L7eqVv9n7d3mk82 xhXn8nd4ZNq3806dO.JyjCyEAYF2SS9XLDyObvOg0XAu7ck41J0fVouBOdZI XC34XlM_0mmi5I9PhMo_ymEX_l1wiPpJbx88BYa_fs8P48hDRjSNk3ozsT.l WS1XVfC0DDDZV3gMfX6lZ3dVAagqRcjbsFOVMFUOQ1UUwJFKY_P5oFPcxhNQ _.C899F6JX1OTvGW44BeeXCvSqsXSlzW85T22_XBtTSynaYGgaqIHqZ6YCD5 A3nv5BAX9E0eybig1Rk0- Received: from [122.167.91.37] by web190704.mail.sg3.yahoo.com via HTTP; Sat, 01 Jun 2013 02:09:58 SGT X-Rocket-MIMEInfo: 002.001, aXMgbW91bnRfc21iZnMsIHNtYnV0aWwgYW5kIGZyaWVuZHMgcGFydCBvZiBiYXNlIHN5c3RlbT8gdGhpcyBpcyBGcmVlQlNEIGFtZDY0IDkuMS1SRUxFQVNFCnRoZW4gd2hhdCBpcyBleHRyYSBpbiBzYW1iYSBwb3J0PwoBMAEBAQE- X-Mailer: YahooMailWebService/0.8.145.547 Message-ID: <1370023798.22796.YahooMailNeo@web190704.mail.sg3.yahoo.com> Date: Sat, 1 Jun 2013 02:09:58 +0800 (SGT) From: Quark Subject: mount_smbfs in base? To: "freebsd-questions@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Quark List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 May 2013 18:10:01 -0000 is mount_smbfs, smbutil and friends part of base system? this is FreeBSD am= d64 9.1-RELEASE=0Athen what is extra in samba port?=0A From owner-freebsd-questions@FreeBSD.ORG Fri May 31 18:32:05 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id AE1CE135 for ; Fri, 31 May 2013 18:32:05 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 7481966C for ; Fri, 31 May 2013 18:32:05 +0000 (UTC) Received: from [82.113.121.140] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1UiU7J-0000wP-Lo for freebsd-questions@freebsd.org; Fri, 31 May 2013 20:31:57 +0200 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id r4VIVvfv000966 for ; Fri, 31 May 2013 20:31:57 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id r4VIVrjS000965 for freebsd-questions@freebsd.org; Fri, 31 May 2013 20:31:53 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Fri, 31 May 2013 20:31:53 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: Re: mount_smbfs in base? Message-ID: <20130531183152.GA847@tiny.Sisis.de> References: <1370023798.22796.YahooMailNeo@web190704.mail.sg3.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1370023798.22796.YahooMailNeo@web190704.mail.sg3.yahoo.com> X-Operating-System: FreeBSD 10.0-CURRENT r235646 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 82.113.121.140 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 May 2013 18:32:05 -0000 El día Saturday, June 01, 2013 a las 02:09:58AM +0800, Quark escribió: > is mount_smbfs, smbutil and friends part of base system? this is FreeBSD amd64 9.1-RELEASE $ which mount_smbfs /usr/sbin/mount_smbfs $ which smbutil /usr/bin/smbutil > then what is extra in samba port? a SMB client and server matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: guru@unixarea.de | - Never being an iSlave WWW: http://www.unixarea.de/ | - No proprietary attachments, no HTML/RTF in E-mail phone: +49-170-4527211 | - Respect for open standards From owner-freebsd-questions@FreeBSD.ORG Fri May 31 18:41:03 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id F39C42F6 for ; Fri, 31 May 2013 18:41:02 +0000 (UTC) (envelope-from unixuser2000-fbsd@yahoo.com) Received: from nm18-vm1.bullet.mail.sg3.yahoo.com (nm18-vm1.bullet.mail.sg3.yahoo.com [106.10.149.96]) by mx1.freebsd.org (Postfix) with SMTP id 475CF6D3 for ; Fri, 31 May 2013 18:41:01 +0000 (UTC) Received: from [106.10.166.124] by nm18.bullet.mail.sg3.yahoo.com with NNFMP; 31 May 2013 18:41:00 -0000 Received: from [106.10.150.23] by tm13.bullet.mail.sg3.yahoo.com with NNFMP; 31 May 2013 18:41:00 -0000 Received: from [127.0.0.1] by omp1024.mail.sg3.yahoo.com with NNFMP; 31 May 2013 18:41:00 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 702547.79048.bm@omp1024.mail.sg3.yahoo.com Received: (qmail 13879 invoked by uid 60001); 31 May 2013 18:41:00 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1370025660; bh=dZI+BI29G9DMECpqtB+Zb2u2LvdvKgz7bs7TC9q7e3M=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Y/Le78xKqfzfAaVDgvl7hWJ1RKPrQGfI2vt+ut1mrf2yIFjmiW5iUXlCkszxt0rPXXgUTns0Txv6SjGPqRgLUc201DxqwIO3yLwjSSWZAGDlZdLjfiOR3Zwp1CcnZjUT8dhI9L/ZXQBo9nMG0YYC72eYUpX5jYcYrhcztQLsdLQ= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=s2y3brT0L9n5pDkkMDxhuQy0jxusnQYZcIV4CDXytKbsonyqzm5km+9Z6QQIMKQXbfP4SA8CvoMfAGHYFYFSCNXN6y8oXW3qYTeZmPXoqI07beLJueKhZ6RX1GGQ3Lk1YomdCoo2iUEIj1WfQklb8CLaKBEedSYIKz0yDV50xSc=; X-YMail-OSG: r7n3UgMVM1na_FrY7huCMpvSVu3Ivk.RR4eHGB7os6YWM0f FLMas1z9U30xsgFtJhAV8PsqSl1.4uiqj5K5wI3dIa8QOlQnPeOR2AU9r9B5 2oHk8jOXtz_jhCaYIbfDGUl5G078OPfjMk2QFCemq7RcNgLPn5g1RnMv4wgX Gbjh1PGn.IU3SmjB027h9ztaWRdUPKjR0pw_56TD2ltlbBffNcxY5w3Oqi7T fhSwZVEDJU5JXBauyDdkdnocJjdgv_nCCwuvgulPuJapJcez2DAuXpki9eF2 ln8N1vrtip_LmVFPflMjR02_qzMjqsaIqOaO70HWsDh5udRZ3m4xRSYfDx8A b.TDkSha.APM.mnemWQAzZkkBxAPLd94CCvCc44AlXLdihC_hV18pnuZ.hYa BAe7R26qjLx8hA46lqxfja7wpHY2MXJNPR491Ip5NHVlRpSTXM8nlyPHiSf6 gkfncJHNs6_jOhp.rhjc4x_XJmIliY4Cttd8HTPlZhfj2dDhKJOVkLONs4Hm PkrnQpcw7Zq5iSSWz7qe1JyvYWQ-- Received: from [103.245.47.20] by web190701.mail.sg3.yahoo.com via HTTP; Sat, 01 Jun 2013 02:41:00 SGT X-Rocket-MIMEInfo: 002.001, CgoKCi0tLS0tIE9yaWdpbmFsIE1lc3NhZ2UgLS0tLS0KPiBGcm9tOiBNYXR0aGlhcyBBcGl0eiA8Z3VydUB1bml4YXJlYS5kZT4KPiBUbzogZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmcKPiBDYzogCj4gU2VudDogU2F0dXJkYXksIDEgSnVuZSAyMDEzIDEyOjAxIEFNCj4gU3ViamVjdDogUmU6IG1vdW50X3NtYmZzIGluIGJhc2U_Cj4gCj4gRWwgZMOtYSBTYXR1cmRheSwgSnVuZSAwMSwgMjAxMyBhIGxhcyAwMjowOTo1OEFNICswODAwLCBRdWFyayBlc2NyaWJpw7M6Cj4gCj4.ICBpcyBtb3VudF9zbWIBMAEBAQE- X-Mailer: YahooMailWebService/0.8.145.547 References: <1370023798.22796.YahooMailNeo@web190704.mail.sg3.yahoo.com> <20130531183152.GA847@tiny.Sisis.de> Message-ID: <1370025660.3819.YahooMailNeo@web190701.mail.sg3.yahoo.com> Date: Sat, 1 Jun 2013 02:41:00 +0800 (SGT) From: Quark Subject: Re: mount_smbfs in base? To: Matthias Apitz , "freebsd-questions@freebsd.org" In-Reply-To: <20130531183152.GA847@tiny.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Quark List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 May 2013 18:41:03 -0000 =0A=0A=0A=0A----- Original Message -----=0A> From: Matthias Apitz =0A> To: freebsd-questions@freebsd.org=0A> Cc: =0A> Sent: Saturday= , 1 June 2013 12:01 AM=0A> Subject: Re: mount_smbfs in base?=0A> =0A> El d= =EDa Saturday, June 01, 2013 a las 02:09:58AM +0800, Quark escribi=F3:=0A> = =0A>> is mount_smbfs, smbutil and friends part of base system? this is Fre= eBSD =0A> amd64 9.1-RELEASE=0A> =0A> $ which mount_smbfs=0A> /usr/sbin/moun= t_smbfs=0A> $ which smbutil=0A> /usr/bin/smbutil=0A=0AI saw that, but suspe= cted I must have done something stupid that those binaries got placed there= .=0A=0A> =0A>> then what is extra in samba port?=0A> =0A> a SMB client and= server=0A=0Aso this SMB client is recentish than what is in base?=0AI 'gue= ss' samba was GPL, is it OK to let live GPL s/w in base when such strides a= re being attempted to oust GCC?=0A=0A> =0A> =A0=A0=A0 matthias=0A> -- =0A> = Sent from my FreeBSD netbook=0A> =0A> Matthias Apitz=A0 =A0 =A0 =A0 =A0 =A0= =A0 |=A0 - No system with backdoors like Apple/Android=0A> E-mail: guru@u= nixarea.de=A0 =A0 |=A0 - Never being an iSlave=0A> WWW: http://www.unixare= a.de/ |=A0 - No proprietary attachments, no HTML/RTF in =0A> E-mail=0A> pho= ne: +49-170-4527211=A0 =A0 =A0 |=A0 - Respect for open standards=0A> _____= __________________________________________=0A> freebsd-questions@freebsd.or= g mailing list=0A> http://lists.freebsd.org/mailman/listinfo/freebsd-questi= ons=0A> To unsubscribe, send any mail to =0A> "freebsd-questions-unsubscrib= e@freebsd.org"=0A> From owner-freebsd-questions@FreeBSD.ORG Fri May 31 19:12:29 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8C032966 for ; Fri, 31 May 2013 19:12:29 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pd0-f176.google.com (mail-pd0-f176.google.com [209.85.192.176]) by mx1.freebsd.org (Postfix) with ESMTP id 6B4C8847 for ; Fri, 31 May 2013 19:12:29 +0000 (UTC) Received: by mail-pd0-f176.google.com with SMTP id r11so2656723pdi.21 for ; Fri, 31 May 2013 12:12:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=lvB10zMNydXrix+R0rkc4HEKcVX0NIJa4/+CeuHYHX4=; b=dvFDZGouTGp7EGjINuXeQSidSAIzZMT/0ir4mO8apiqjn3U5Rfxbb/FVVRphCahpKi D/fU9XUTimB0l8fJ1rV7m0k1p8H2pfBahHXf1CNvEmZhI/7Xbj38UoMWZDe9wGHIl3YT O8AhhJ56FS6McUMpV8rAwzr/f8hrKGjhPritSPXks50pAUHBAfd6aYBMbq8gPXVlZ5YA 3oEGiuBZKU3L7GcHOXrTqy3Vx+I7krHuNz3KBXhsqhXCEx1DR3Z2FkWyH3vn/kPWR1cm YmaZVSKdixbIwvJFEmAaXVAplGU+WnIPxeAoXhNbKbqoL9UXF6AFsVP3+ji4FQlkEOuk NVIg== MIME-Version: 1.0 X-Received: by 10.68.194.135 with SMTP id hw7mr14259501pbc.192.1370027548686; Fri, 31 May 2013 12:12:28 -0700 (PDT) Received: by 10.70.31.195 with HTTP; Fri, 31 May 2013 12:12:28 -0700 (PDT) In-Reply-To: <1370025660.3819.YahooMailNeo@web190701.mail.sg3.yahoo.com> References: <1370023798.22796.YahooMailNeo@web190704.mail.sg3.yahoo.com> <20130531183152.GA847@tiny.Sisis.de> <1370025660.3819.YahooMailNeo@web190701.mail.sg3.yahoo.com> Date: Fri, 31 May 2013 14:12:28 -0500 Message-ID: Subject: Re: mount_smbfs in base? From: Adam Vande More To: Quark Content-Type: text/plain; charset=ISO-8859-1 Cc: Matthias Apitz , "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 May 2013 19:12:29 -0000 On Fri, May 31, 2013 at 1:41 PM, Quark wrote: > > I saw that, but suspected I must have done something stupid that those binaries got placed there. > >> >>> then what is extra in samba port? >> >> a SMB client and server > > so this SMB client is recentish than what is in base? Yes. > I 'guess' samba was GPL, is it OK to let live GPL s/w in base when such strides are being attempted to oust GCC? mount_smbfs isn't GPL. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Fri May 31 22:05:43 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4FBAE730; Fri, 31 May 2013 22:05:43 +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 C601DECA; Fri, 31 May 2013 22:05:42 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.16]) by ltcfislmsgpa07.fnfis.com (8.14.5/8.14.5) with ESMTP id r4VM5drg006906 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Fri, 31 May 2013 17:05:39 -0500 Received: from LTCFISWMSGMB21.FNFIS.com ([10.132.99.23]) by LTCFISWMSGHT05.FNFIS.com ([10.132.206.16]) with mapi id 14.02.0309.002; Fri, 31 May 2013 17:05:39 -0500 From: "Teske, Devin" To: Pietro Paolini Subject: Re: VIMAGE Thread-Topic: VIMAGE Thread-Index: AQHOXSFz+LfSxNVDbEKhvdpKVCZplpkePgkAgAESuICAAN7EAA== Date: Fri, 31 May 2013 22:05:39 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7201F6B5F0@ltcfiswmsgmb21> References: <13CA24D6AB415D428143D44749F57D7201F68CBD@ltcfiswmsgmb21> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.126] MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626, 1.0.431, 0.0.0000 definitions=2013-05-31_09:2013-05-31,2013-05-31,1970-01-01 signatures=0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Devin Teske , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 May 2013 22:05:43 -0000 On May 31, 2013, at 1:48 AM, Pietro Paolini wrote: On May 30, 2013, at 6:25 PM, "Teske, Devin" > wrote: On May 30, 2013, at 3:35 AM, Pietro Paolini wrote: Hello all, I am a new bye on the FreeBSD and I am looking at the VIMAGE features exper= iencing some problems. I added the options : VIMAGE if_bridge and I removed STCP then I recompiled my kernel and install it. After that, following this tutorial http://imunes.tel.fer.hr/virtnet/eurobs= dcon07_tutorial.pdf I tried the "Exercise 2" which consist on the following commands: vimage -c n1 vimage -c n2 ngctl mkpeer efface ether ether ngctl mkpeer efface ether ether Don't you just love autocorrect? (does the same thing to me=85 turns "eifac= e" into "efface") ngctl mkpeer em0: bridge lower link0 Looks good. ngctl name em0:lower bridge0 I usually do my "connect" before the "name"=85 but shouldn't matter. Should= work all the same. ngctl connect em0: bridge0: upper link1 This looks wrong to me. I'd expect: ngctl connect em0: bridge0:lower upper link1 Many thanks for the answer Devin, when I try to use that last command I receive: ngctl connect em0: bridge0:lower upper link1 ngctl: send msg: Invalid argument What's wrong ? Let's start from scratch on a freshly booted box=85 dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl ls -l [sudo] Password: There are 4 total nodes: Name: em0 Type: ether ID: 00000002 Num hooks: 0 Name: em1 Type: ether ID: 00000003 Num hooks: 0 Name: ngctl1719 Type: socket ID: 00000004 Num hooks: 0 Name: msk0 Type: ether ID: 00000001 Num hooks: 0 Ok=85 we have an "ether" type node for each of our physical adapters (these= are provided by ng_ether(4); you didn't have to do anything to get these n= odes). We also have a single "socket" type node. This is the "ngctl" connection to= the netgraph subsystem (you can learn more by reading ng_socket(4)). Here's the corresponding hardware behind em0, em1, and msk0: =3D=3D=3D dteske@scu0a.jbsd.vicor.com ~ $ grep '\= (em\|e1000phy\|mskc\?\)[[:digit:]]' /var/run/dmesg.boot mskc0: port 0xdc00-0xdcff mem 0xfc= ffc000-0xfcffffff irq 16 at device 0.0 on pci5 msk0: on mskc0 msk0: Ethernet address: xx:xx:xx:xx:xx:xx miibus0: on msk0 e1000phy0: PHY 0 on miibus0 e1000phy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT= , 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto mskc0: [ITHREAD] em0: port 0xec80-0xecbf= mem 0xfebe0000-0xfebfffff irq 16 at device 4.0 on pci7 em0: [FILTER] em0: Ethernet address: xx:xx:xx:xx:xx:xx em1: port 0xec00-0xec3f= mem 0xfeba0000-0xfebbffff,0xfeb80000-0xfeb9ffff irq 18 at device 6.0 on pc= i7 em1: [FILTER] em1: Ethernet address: xx:xx:xx:xx:xx:xx em0: link state changed to UP =3D=3D=3D Next, let's make a bridge (think of it as a big software switch that we're = going to hook a bunch of interfaces; created, physical, or otherwise). Since I'm doing this over an SSH connection (a mistake I made earlier today= ), I'm not going to touch em0 (the adapter my SSH connection is using). Cre= ating the bridge on an actively configured PHY will knock it off the net. T= his is not to say you can't have an active configuration on a bridged inter= face=85 just that the creation of the bridge (something you should only do = once each time you boot) will disrupt an active connection. So=85 dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl mkpeer em1: bridge lower link0 NOTE: No output =3D=3D Success. =3D=3D=3D Now let's look at our handiwork=85 dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl info em1:lower Name: Type: bridge ID: 00000007 Num hooks: 1 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- link0 em1 ether 00000003 lower Ok, we see that the lower peer hook of the em1 ether-node goes off to somet= hing named "link0". To see where link0 is off-to=85 we need a full listing (back to "ngctl ls -= l"). dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl ls -l There are 5 total nodes: Name: Type: bridge ID: 00000007 Num hooks: 1 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- link0 em1 ether 00000003 lower Name: em0 Type: ether ID: 00000002 Num hooks: 0 Name: em1 Type: ether ID: 00000003 Num hooks: 1 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- lower bridge 00000007 link0 Name: ngctl1762 Type: socket ID: 0000000b Num hooks: 0 Name: msk0 Type: ether ID: 00000001 Num hooks: 0 Matching "link0" in the first column to "link0" in the last-column, we can = see that this lower-link0 is to a bridge (with no name). NOTE: When you're digesting the above output=85 it helps to imagine whitesp= ace in between the nodes with their respective hooks and other nodes. Futur= e pastes below will introduce such whitespace to make it easier to read. =3D=3D=3D Right now, the only way to refer to the bridge is by way of "em1:lower" (be= cause we created the bridge right on the lower hook of the em1 ether-node). At this point, let's talk about naming. Giving our bridge a name is entirel= y optional, but greatly clarifies the output of both "ngctl ls -l" and "ngc= tl dot". dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl name em1:lower em1bridge dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl ls -l There are 5 total nodes: Name: em0 Type: ether ID: 00000002 Num hooks: 0 Name: em1 Type: ether ID: 00000003 Num hooks: 1 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- lower em1bridge bridge 00000007 link0 Name: ngctl1831 Type: socket ID: 0000001a Num hooks: 0 Name: em1bridge Type: bridge ID: 00000007 Num hooks: 1 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- link0 em1 ether 00000003 lower Name: msk0 Type: ether ID: 00000001 Num hooks: 0 The new "em1bridge" name acts as an alias to "em1:lower" in future ngctl co= mmands. For example, "ngctl info em1:lower" and "ngctl info em1bridge" can = now be used interchangeably and produce the same results. dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl info em1bridge: Name: em1bridge Type: bridge ID: 00000007 Num hooks: 1 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- link0 em1 ether 00000003 lower dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl info em1:lower Name: em1bridge Type: bridge ID: 00000007 Num hooks: 1 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- link0 em1 ether 00000003 lower =3D=3D=3D We're not done with the bridge yet. Because we foresee the possibility that= it might be nice to be able to communicate with the jail that we're going = to later hook into this bridge=85 we should hook the physical adapter's "up= per" hook into the bridge. If you don't do this, you won't be able to (for example) ping a jail from t= he host where the host has only the PHY and the jail has only a (yet uncrea= ted) eiface. Regardless of the fact that the bridge uses the PHY and the ja= il uses the bridge, to communicate with an IP that is configured on the bas= e host, you must hook the upper. dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl connect em1: em1:lower upper link1 If you want to use the alias I set up earlier (of "em1bridge") that works t= oo (just don't forget the colon at the end of the alias): dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl connect em1: em1bridge: upper link1 Here's the results: dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl ls -l There are 5 total nodes: Name: em0 Type: ether ID: 00000002 Num hooks: 0 Name: em1 Type: ether ID: 00000003 Num hooks: 2 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- upper em1bridge bridge 0000002a link1 lower em1bridge bridge 0000002a link0 Name: ngctl1874 Type: socket ID: 00000030 Num hooks: 0 Name: em1bridge Type: bridge ID: 0000002a Num hooks: 2 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- link1 em1 ether 00000003 upper link0 em1 ether 00000003 lower Name: msk0 Type: ether ID: 00000001 Num hooks: 0 NOTE: Some of the Peer ID's have changed, because I wanted to test that the= alias could be used; I used "sudo ngctl shutdown em1bridge:" and re-execut= ed up to the point where I connect the em1:upper into the bridge=85 except = this time using the alias of "em1bridge" instead of "em1:lower" (indeed, yo= u can use them interchangeably). =3D=3D=3D Ok=85 We've now done the hard part=85 which was to create and configure a b= ridge that is usable by any new nodes we connect to it and also (if you hoo= ked the upper portion of em1 back into its own lower which is acting as the= bridge) the base machine can communicate with any of the forth-coming jail= s (if on the same subnet at least). There's an easy step that shouldn't be skipped though=85 Before you can truly use this bridge with any other interfaces=85 dteske@scu0a.jbsd.vicor.com ~ $ sudo if= config em1 up dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl msg em1: setpromisc 1 dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl msg em1: setautosrc 0 A bridge cannot send packets out if the interface is down. A bridge cannot work properly without promiscuous mode. A bridge cannot send out packets for different addresses unless you turn of= f "setautosrc" =3D=3D=3D Let's create our first virtual NIC and connect it to the bridge. dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl mkpeer em1bridge: eiface link2 ether This command did two things. It created a new "eiface" node (see ng_eiface(= 4)), and connected it to the bridge. Let's have a look: dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl ls -l There are 6 total nodes: Name: em0 Type: ether ID: 00000002 Num hooks: 0 Name: em1 Type: ether ID: 00000003 Num hooks: 2 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- upper em1bridge bridge 0000002a link1 lower em1bridge bridge 0000002a link0 Name: ngeth0 Type: eiface ID: 00000035 Num hooks: 1 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- ether em1bridge bridge 0000002a link2 Name: ngctl2800 Type: socket ID: 00000036 Num hooks: 0 Name: em1bridge Type: bridge ID: 0000002a Num hooks: 3 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- link2 ngeth0 eiface 00000035 ether link1 em1 ether 00000003 upper link0 em1 ether 00000003 lower Name: msk0 Type: ether ID: 00000001 Num hooks: 0 The list of hooks for our bridge (em1bridge) is growing, and now we see a n= ew node (ngeth0) with one hook into that bridge. =3D=3D=3D ASIDE: If you wanted to script this=85 here's how you can test for an unuse= d link: Right now, we have link0, link1, and link2 for the bridge. If a link exists= for a bridge, the following command will return some info about the link a= nd return success (whereas if the link does not exist, the command will ret= urn an error and exit with error-status): dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl msg em1bridge: getstats 0 Rec'd response "getstats" (4) from "[2a]:": Args: {} dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl msg em1bridge: getstats 1 Rec'd response "getstats" (4) from "[2a]:": Args: {} dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl msg em1bridge: getstats 2 Rec'd response "getstats" (4) from "[2a]:": Args: {} dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl msg em1bridge: getstats 3 ngctl: send msg: Socket is not connected dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl msg em1bridge: getstats 4 ngctl: send msg: Socket is not connected dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl msg em1bridge: getstats 5 ngctl: send msg: Socket is not connected As you can see from the above output=85 we get errors for link3, link4, and= link5, because they don't exist. Naturally, testing $? exit status after e= ach of these commands would show how this can be scripted (HINT: throw stdo= ut/stderr to /dev/null and test $?). =3D=3D=3D At this point=85 you say "ifconfig": dteske@oos0a.lbxrich.vicor.com ~ $ i= fconfig msk0: flags=3D8802 metric 0 mtu 1500 options=3Dc011a ether xx:xx:xx:xx:xx:xx media: Ethernet autoselect em0: flags=3D8843 metric 0 mtu 1500 options=3D209b ether xx:xx:xx:xx:xx:xx inet xx.xx.xx.xx netmask 0xffffff80 broadcast xx.xx.xx.xx media: Ethernet autoselect (1000baseT ) status: active em1: flags=3D8943 metric 0 = mtu 1500 options=3D209b ether xx:xx:xx:xx:xx:xx media: Ethernet autoselect status: no carrier ipfw0: flags=3D8801 metric 0 mtu 65536 lo0: flags=3D8049 metric 0 mtu 16384 options=3D3 inet 127.0.0.1 netmask 0xff000000 ngeth0: flags=3D8802 metric 0 mtu 1500 ether 00:00:00:00:00:00 =3D=3D=3D Ok, there are two problems with the network interface. 1. It has a NULL MAC address (00:00:00:00:00:00). Good luck communicating o= n the Internet (remember, we disabled setautosrc -- we intend to make up a = MAC address that is unique). 2. The name leaves something to be desired (if we're going to use this with= a vimage jail, it would be nice if the interface had the jail name in it, = so that when you do an "ngctl ls -l" or an "ngctl dot" =85 you're going to = see the jail name so it becomes clear which jails are hooked to which PHY's= through which bridges). =3D=3D=3D Let's tackle the easier one first=85 let's rename this new interface. You and I already know that this interface that we want to rename is "ngeth= 0"=85 but you can actually extract the name from the link in the bridge. dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl show -n em1bridge:link2 Name: ngeth0 Type: eiface ID: 00000035 Num hooks: 1 First, we rename it in netgraph (this does not affect the output of ifconfi= g -- and again, we do this to make "ngctl ls -l" and "ngctl dot" more palat= able): dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl name em1bridge:link2 ng0_myjail dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl ls -l There are 6 total nodes: Name: em0 Type: ether ID: 00000002 Num hooks: 0 Name: em1 Type: ether ID: 00000003 Num hooks: 2 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- upper em1bridge bridge 0000002a link1 lower em1bridge bridge 0000002a link0 Name: ngctl2843 Type: socket ID: 00000046 Num hooks: 0 Name: ng0_myjail Type: eiface ID: 00000035 Num hooks: 1 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- ether em1bridge bridge 0000002a link2 Name: em1bridge Type: bridge ID: 0000002a Num hooks: 3 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- link2 ng0_myjail eiface 00000035 ether link1 em1 ether 00000003 upper link0 em1 ether 00000003 lower Name: msk0 Type: ether ID: 00000001 Num hooks: 0 Looking good. However, ifconfig hasn't changed=85 dteske@scu0a.jbsd.vicor.com ~ $ ifconfig ... ngeth0: flags=3D8802 metric 0 mtu 1500 ether 00:00:00:00:00:00 We want to rename the interface with ifconfig for a different reason. We renamed the interface with netgraph earlier so that netgraph outputs wou= ld be nice and easy to digest. This time, we rename with ifconfig so that we can layer jails onto the same= rootdir. The naming convention (which is the same naming convention I use for renami= ng on the netgraph side) is: ng#_name The # always starts at zero for each jail where "name" is the name of the j= ail. Again=85 I use this scheme so that I can layer jails onto the same root-dir= ; /etc/rc.conf is then populated with things like: ifconfig_ng0_myjail=3D... ifconfig_ng0_myrouter=3D... ifconfig_ng1_myrouter=3D... ifconfig_ng0_anotherjail=3D... So that when you say "service netif start" inside the vnet jail=85 it appli= es the right settings. So=85 we rename with ifconfig: dteske@scu0a.jbsd.vicor.com ~ $ sudo if= config ngeth0 name ng0_myjail dteske@scu0a.jbsd.vicor.com ~ $ ifconfig ... ng0_myjail: flags=3D8802 metric 0 mtu 1500 ether 00:00:00:00:00:00 =3D=3D=3D We're almost ready to shove this interface into a jail (which we haven't cr= eated yet). But=85 we come back to that NULL MAC address. NOTE: Forming your own MAC address, or even coming up with your own formula= should not be taken lightly. Here's a formula I use (which is based on several RFC's for MAC address for= mation): NOTE: In this context, ${_bridge} is em1 and $LINKNUM is 2 # Set the MAC address of the new interface # using a sensible algorithm to prevent # conflicts on the network. # # MAC LP:LL:LB:BB:BB:BB # P 2, 6, A, or E but usually 2 # NOTE: Indicates "privately administered" = MAC # L ng_bridge(4) link number (1-65535) # B Same as bridged interface # _bridge_ether=3D$( ifconfig ${_bridge} ethe= r | awk '/ether/{print $2}' ) _ether_devid=3D"${_bridge_ether#??:??:?}" n=3D$LINKNUM _quad=3D$(($n & 15)) case "${_quad}" in 10) _quad=3Da;; 11) _quad=3Db;; 12) _quad= =3Dc;; 13) _quad=3Dd;; 14) _quad=3De;; 15) _quad= =3Df;; esac _ether_devid=3D":${_quad}${_ether_devid}" n=3D$(($n >> 4)) _quad=3D$(($n & 15)) case "${_quad}" in 10) _quad=3Da;; 11) _quad=3Db;; 12) _quad= =3Dc;; 13) _quad=3Dd;; 14) _quad=3De;; 15) _quad= =3Df;; esac _ether_devid=3D"${_quad}${_ether_devid}" n=3D$(($n >> 4)) _quad=3D$(($n & 15)) case "${_quad}" in 10) _quad=3Da;; 11) _quad=3Db;; 12) _quad= =3Dc;; 13) _quad=3Dd;; 14) _quad=3De;; 15) _quad= =3Df;; esac _ether_devid=3D"2:${_quad}${_ether_devid}" n=3D$(($n >> 4)) _quad=3D$(($n & 15)) case "${_quad}" in 10) _quad=3Da;; 11) _quad=3Db;; 12) _quad= =3Dc;; 13) _quad=3Dd;; 14) _quad=3De;; 15) _quad= =3Df;; esac _ether_devid=3D"${_quad}${_ether_devid}" n=3D$(($n >> 4)) After which=85 ${_ether_devid} holds a properly formed MAC address that ca= n (in every case I've tested) "get out". Here's what I do to set it: ifconfig ng0_myjail ether "${_ether_devid}" Here's an example of how the MAC address was translated from the physical a= dapter to the ng_eiface(4) interface: dteske@scu0a.jbsd.vicor.com ~ $ ifconfi= g em1; ifconfig ng0_myjail em1: flags=3D8943 metric 0 = mtu 1500 options=3D209b ether 00:0e:0c:ab:1b:76 media: Ethernet autoselect status: no carrier ng0_myjail: flags=3D8802 metric 0 mtu 1500 ether 02:00:2c:ab:1b:76 =3D=3D=3D OK=85 we're now ready to shove that interface into a vimage jail. But=85 First we need a vimage jail. (this is not a tutorial on how to create, mana= ge, build, or do anything else with jails, vimage-jails, or vps-jails *othe= r* than give it a netgraph based interface) I'm going to use my existing base machine as a fake jail (by pointing my ja= il's rootdir at "/"). NOTE: Certain sysctl's have to be set appropriately before you fire up the = jail to make this vimage jail able to do "more" on the net. dteske@scu0a.jbsd.vicor.com ~ $ sudo sy= sctl security.jail.set_hostname_allowed=3D1 security.jail.sysvipc_allowed= =3D1 security.jail.socket_unixiproute_only=3D1 security.jail.set_hostname_allowed: 1 -> 1 security.jail.sysvipc_allowed: 1 -> 1 security.jail.socket_unixiproute_only: 0 -> 1 NOTE: Unless you intend to reboot to restore the defaults later=85 you migh= t want to take down those previous values for restoration *after* we fire u= p the "vimage" jail. dteske@scu0a.jbsd.vicor.com ~ $ sudo ja= il -i -c vnet name=3Dmyjail host.hostname=3Dmyjail path=3D/ persist 1 dteske@scu0a.jbsd.vicor.com ~ $ jls JID IP Address Hostname Path 1 - myjail / OK=85 we have a running jail (with the vnet property, making it a "vimage" = jail -- which can accept network interfaces). =3D=3D=3D Right now our jail has no network interfaces (well, it has an unconfigured = lo0). dteske@scu0a.jbsd.vicor.com ~ $ sudo je= xec myjail ifconfig lo0: flags=3D8008 metric 0 mtu 16384 options=3D3 So let's pass the netgraph created interface into the jail=85 dteske@scu0a.jbsd.vicor.com ~ $ sudo if= config ng0_myjail vnet 1 dteske@scu0a.jbsd.vicor.com ~ $ sudo je= xec myjail ifconfig lo0: flags=3D8008 metric 0 mtu 16384 options=3D3 ng0_myjail: flags=3D8802 metric 0 mtu 1500 ether 02:00:2c:ab:1b:76 Sweet! =3D=3D=3D Almost there=85 Let's go into /etc/rc.conf, give it an IP, and start the network=85 dteske@scu0a.jbsd.vicor.com ~ $ sudo sy= src ifconfig_ng0_myjail=3D"inet 192.168.1.1 netmask 255.255.255.0" /etc/rc.conf: ifconfig_ng0_myjail: -> inet 192.168.1.1 netmask 255.255.255= .0 dteske@scu0a.jbsd.vicor.com ~ $ grep ng= 0 /etc/rc.conf ifconfig_ng0_myjail=3D"inet 192.168.1.1 netmask 255.255.255.0" dteske@scu0a.jbsd.vicor.com ~ $ sudo je= xec myjail service netif start Starting Network: lo0 ng0_myjail. lo0: flags=3D8049 metric 0 mtu 16384 options=3D3 inet 127.0.0.1 netmask 0xff000000 ng0_myjail: flags=3D8843 metric 0 m= tu 1500 ether 02:00:2c:ab:1b:76 inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 Now we're cookin' with gasoline! =3D=3D=3D Optionally go configure your base machine with an IP and have fun. -- 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-questions@FreeBSD.ORG Fri May 31 23:23:44 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6E5FD2BB for ; Fri, 31 May 2013 23:23:44 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 3312A13A for ; Fri, 31 May 2013 23:23:44 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UiYfY-0003KG-N8 for freebsd-questions@freebsd.org; Sat, 01 Jun 2013 01:23:36 +0200 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 Jun 2013 01:23:36 +0200 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 Jun 2013 01:23:36 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Where to get source for 10? Date: Fri, 31 May 2013 23:23:20 +0000 (UTC) Lines: 5 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 May 2013 23:23:44 -0000 For 9.1 I can checkout http://svn.freebsd.org/base/releng/9.1/ But where can I get the source for FreeBSD10? Thanks. From owner-freebsd-questions@FreeBSD.ORG Fri May 31 23:27:39 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id BBFAD38D for ; Fri, 31 May 2013 23:27:39 +0000 (UTC) (envelope-from ayan@ayan.net) Received: from mail-gg0-x234.google.com (mail-gg0-x234.google.com [IPv6:2607:f8b0:4002:c02::234]) by mx1.freebsd.org (Postfix) with ESMTP id 83A97167 for ; Fri, 31 May 2013 23:27:39 +0000 (UTC) Received: by mail-gg0-f180.google.com with SMTP id q4so513258ggn.11 for ; Fri, 31 May 2013 16:27:39 -0700 (PDT) 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:x-enigmail-version:content-type :content-transfer-encoding:x-gm-message-state; bh=71g2dbLuL9OHBTMtnbuvUcgy/zcVL3AiT25l37xGkPQ=; b=kdvrxHtTWd4rLPdHQWyIxMd15ozcXx+4wfVg9nRbG3jzX+h0BR/iJNh38Etj5EXhF3 zrRouers3/BmB4rAiqMKjnWeMt6UmSHpZlc6/6qNmhwQ4IloY0aBGYwTsTFASWG4N1TO 9hCUGlssk75z2bZIxI59EPJruUxhWVhBcQvXW40YOAc9iOZsSj+lbS8VyhLcxgyFmx/G KNzb6ZyhV93Boxjr95SjfW+cQdxnhCCpoHd2Yw/z7DMs6fPyZSaKbeuF9667v9wyCV1S CvysyM9XD6m97wFwOe/zXAlE0uilKd3fpccFJdFAN1nFeTdNUPazi8SBvWJgZhS97QGy naAA== X-Received: by 10.236.50.161 with SMTP id z21mr3054944yhb.31.1370042859123; Fri, 31 May 2013 16:27:39 -0700 (PDT) Received: from [172.16.0.6] (fl-69-69-27-16.sta.embarqhsd.net. [69.69.27.16]) by mx.google.com with ESMTPSA id f71sm71145620yha.8.2013.05.31.16.27.37 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 31 May 2013 16:27:38 -0700 (PDT) Message-ID: <51A931E8.4090109@ayan.net> Date: Fri, 31 May 2013 19:27:36 -0400 From: Ayan George User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130510 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Where to get source for 10? References: In-Reply-To: X-Enigmail-Version: 1.4.6 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Gm-Message-State: ALoCoQnaIav6zZ0ATzrm3nVM47nIVPn+AbZ6TX7UTtLnUK1KhdRDPvvgDELaLxkEGQqvkGrzkTUp X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 May 2013 23:27:39 -0000 On 05/31/2013 07:23 PM, Walter Hurry wrote: > For 9.1 I can checkout http://svn.freebsd.org/base/releng/9.1/ > > But where can I get the source for FreeBSD10? > I assume it'd be the head branch: http://svn.freebsd.org/base/head/ From owner-freebsd-questions@FreeBSD.ORG Fri May 31 23:42:27 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 171116A1 for ; Fri, 31 May 2013 23:42:27 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-ie0-x230.google.com (mail-ie0-x230.google.com [IPv6:2607:f8b0:4001:c03::230]) by mx1.freebsd.org (Postfix) with ESMTP id E09391DE for ; Fri, 31 May 2013 23:42:26 +0000 (UTC) Received: by mail-ie0-f176.google.com with SMTP id at20so5402431iec.21 for ; Fri, 31 May 2013 16:42:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=iWcuBazGEHar2/zMYsCnQyHXMuK4aMemyZl/dqskGto=; b=Io5BGwCRqY2DDk7Fa6DP+evoGNFNOz7WwqLnFq4ZNs9crczFfpHMiF3WCbxuQRRlPN I0EZqVnNEKJTq3A+IznTBvJpycJDHj26MkKTrXEAhSVk1uyJfqDnWhhrszleqvYfByuP 3r7ZH0gWXmW0H/BWuIjj9yqmOP/WNxkByvku2jlIRLyCkPa0BU/PDbKXLG+MuEs0kZYM X3OGoeruqt6bjaZLMC1b0q+8DEOOxuBEXBFliQC2baQt+0z+ZR4yZ3veus8fF3gCNxlP rFL+HLiHU2oX8EZtEOsJmcwl4A6eeh4Zy7Gymz0Wy5/tS1YkmwOVbuQdcmLaMDXty4Qb WMLw== X-Received: by 10.50.17.166 with SMTP id p6mr2796561igd.12.1370043746633; Fri, 31 May 2013 16:42:26 -0700 (PDT) Received: from [192.168.1.34] (c-98-212-197-211.hsd1.il.comcast.net. [98.212.197.211]) by mx.google.com with ESMTPSA id gz1sm5485619igb.5.2013.05.31.16.42.25 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 31 May 2013 16:42:26 -0700 (PDT) Message-ID: <51A9353D.7060402@gmail.com> Date: Fri, 31 May 2013 18:41:49 -0500 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Ayan George Subject: Re: Where to get source for 10? References: <51A931E8.4090109@ayan.net> In-Reply-To: <51A931E8.4090109@ayan.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 May 2013 23:42:27 -0000 On 5/31/2013 6:27 PM, Ayan George wrote: > On 05/31/2013 07:23 PM, Walter Hurry wrote: >> For 9.1 I can checkout http://svn.freebsd.org/base/releng/9.1/ >> >> But where can I get the source for FreeBSD10? >> > > I assume it'd be the head branch: > > http://svn.freebsd.org/base/head/ > Yes, it's the head branch, but beware, it's experimental and breaks sometimes. From owner-freebsd-questions@FreeBSD.ORG Sat Jun 1 00:40:00 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 18622A46 for ; Sat, 1 Jun 2013 00:40:00 +0000 (UTC) (envelope-from matthew@FreeBSD.org) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 6CE71342 for ; Sat, 1 Jun 2013 00:39:59 +0000 (UTC) Received: from seedling.local (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.7/8.14.7) with ESMTP id r510dhgl068501 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sat, 1 Jun 2013 01:39:44 +0100 (BST) (envelope-from matthew@FreeBSD.org) DKIM-Filter: OpenDKIM Filter v2.8.3 smtp.infracaninophile.co.uk r510dhgl068501 Authentication-Results: smtp.infracaninophile.co.uk/r510dhgl068501; dkim=none reason="no signature"; dkim-adsp=none (unprotected policy) X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host seedling.black-earth.co.uk [81.2.117.99] claimed to be seedling.local Message-ID: <51A942C7.8080704@FreeBSD.org> Date: Sat, 01 Jun 2013 01:39:35 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: "bsd@todoo.biz" Subject: Re: pkgng dependencies change / update References: <71B55EBD-A768-42D3-839A-E89098A1AD81@todoo.biz> In-Reply-To: <71B55EBD-A768-42D3-839A-E89098A1AD81@todoo.biz> X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="----enig2UKGHMMBLLVTMAWBQIOMR" X-Virus-Scanned: clamav-milter 0.97.8 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: Liste FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jun 2013 00:40:00 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2UKGHMMBLLVTMAWBQIOMR Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 31/05/2013 16:26, bsd@todoo.biz wrote: > Hi,=20 >=20 > I am trying to figure out how to change / update the dependencies on a = package.=20 >=20 > I have a postfix package which comes from a server where mysql-client i= s in version 5.1=20 > And I would like to install the same package on a server where mysql-cl= ient is in version 5.6=20 >=20 > I am not sure if this is feasible.=20 >=20 > Of course when I try to install this package on the server, it tells me= :=20 >=20 >=20 >> jail: ns3 15:03:57 /home/gregober # pkg add postfix-2.10.0,1.txz=20 >> Installing postfix-2.10.0,1...missing dependency mysql-client-5.1.68 >> Failed to install the following 1 package(s): postfix-2.10.0,1.txz >=20 >=20 > I have tried to set the dependency to an updated version of the port : = >=20 >> jail: ns3 15:04:16 /home/gregober # pkg set -o databases/mysql51-clien= t:databases/mysql56-client >> Change origin from databases/mysql51-client to databases/mysql56-clien= t for all dependencies? [y/N]: y >=20 >=20 > But no luck !!=20 >=20 >=20 > Any idea how to do that ?=20 Well, the best way is generally to use a package compiled against the correct set of dependencies in the first place. postfix will be linking against the MySQL client shared libraries. Those have different ABI versions between mysql51 and mysql56. Meaning you can't simply swap one for the other and expect things to still work. 'pkg set -o' looks like it does what you want, but really, it doesn't. What it does is allow smoothly replacing one complete dependency tree with another. So, running: # pkg set -o databases/mysql51-client:databases/mysql56-client is fine and dandy, and a necessary prerequisite to then running an upgrade against a package repo where everything that links against mysql client has been linked against mysql56-client specifically. In fact, you're doing things the wrong way round. 'pkg set -o' works on what has already been installed. You could in principle use 'pkg set -o' to switch your mysql56-client machine to using mysql51-client -- which means running 'pkg set -o ...' and then *reinstalling all the packages that depend on mysql56-client with equivalent packages linked against mysql51-client*. After that, your postfix package should install OK. Ultimate plans are that the need to use 'pkg set -o' should disappear entirely, as the package dependency solver should be clever enough to work out all this stuff for itself. There's also ideas about making more finely grained binary packages -- several packages from one port essentially. So out of each mysqlXX-client port there'd be several packages created, one of which contains just the shared libraries. The good thing about that is it will be possible to install shared libraries for several different mysqlXX versions simultaneously, which would make your postfix problem fairly trivial to solve. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey ------enig2UKGHMMBLLVTMAWBQIOMR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlGpQs8ACgkQ8Mjk52CukIz3lwCgjO2b0BlT7Sjs+RQrxYvEcvOa ALoAnjI7V6vFH+VyiQAV1tljQgPQO8+I =rgpU -----END PGP SIGNATURE----- ------enig2UKGHMMBLLVTMAWBQIOMR-- From owner-freebsd-questions@FreeBSD.ORG Sat Jun 1 00:47:42 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7CD50B35 for ; Sat, 1 Jun 2013 00:47:42 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 3FD8E37D for ; Sat, 1 Jun 2013 00:47:41 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UiZyu-0002wd-JU for freebsd-questions@freebsd.org; Sat, 01 Jun 2013 02:47:40 +0200 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 Jun 2013 02:47:40 +0200 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 Jun 2013 02:47:40 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Re: Where to get source for 10? Date: Sat, 1 Jun 2013 00:47:25 +0000 (UTC) Lines: 14 Message-ID: References: <51A931E8.4090109@ayan.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jun 2013 00:47:42 -0000 On Fri, 31 May 2013 19:27:36 -0400, Ayan George wrote: > On 05/31/2013 07:23 PM, Walter Hurry wrote: >> For 9.1 I can checkout http://svn.freebsd.org/base/releng/9.1/ >> >> But where can I get the source for FreeBSD10? >> >> > I assume it'd be the head branch: > > http://svn.freebsd.org/base/head/ Thanks. From owner-freebsd-questions@FreeBSD.ORG Sat Jun 1 00:54:04 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 220E9D6A for ; Sat, 1 Jun 2013 00:54:04 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id D6F853E6 for ; Sat, 1 Jun 2013 00:54:03 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Uia54-0005RU-Fm for freebsd-questions@freebsd.org; Sat, 01 Jun 2013 02:54:02 +0200 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 Jun 2013 02:54:02 +0200 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 Jun 2013 02:54:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Re: Where to get source for 10? Date: Sat, 1 Jun 2013 00:53:41 +0000 (UTC) Lines: 19 Message-ID: References: <51A931E8.4090109@ayan.net> <51A9353D.7060402@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jun 2013 00:54:04 -0000 On Fri, 31 May 2013 18:41:49 -0500, Joshua Isom wrote: > On 5/31/2013 6:27 PM, Ayan George wrote: >> On 05/31/2013 07:23 PM, Walter Hurry wrote: >>> For 9.1 I can checkout http://svn.freebsd.org/base/releng/9.1/ >>> >>> But where can I get the source for FreeBSD10? >>> >>> >> I assume it'd be the head branch: >> >> http://svn.freebsd.org/base/head/ >> >> > Yes, it's the head branch, but beware, it's experimental and breaks > sometimes. > Thanks for the cautionary advice, but it's OK, it's only experimental on my side too. From owner-freebsd-questions@FreeBSD.ORG Sat Jun 1 03:26:19 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 80F0F116; Sat, 1 Jun 2013 03:26:19 +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 05494B2A; Sat, 1 Jun 2013 03:26:18 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.15]) by ltcfislmsgpa02.fnfis.com (8.14.5/8.14.5) with ESMTP id r513QGgP016355 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Fri, 31 May 2013 22:26:16 -0500 Received: from LTCFISWMSGMB21.FNFIS.com ([10.132.99.23]) by LTCFISWMSGHT04.FNFIS.com ([10.132.206.15]) with mapi id 14.02.0309.002; Fri, 31 May 2013 22:26:16 -0500 From: "Teske, Devin" To: Pietro Paolini Subject: Re: VIMAGE Thread-Topic: VIMAGE Thread-Index: AQHOXSFz+LfSxNVDbEKhvdpKVCZplpkePgkAgAESuICAAN7EAIAAWZWA Date: Sat, 1 Jun 2013 03:26:16 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7201F6BCEB@ltcfiswmsgmb21> References: <13CA24D6AB415D428143D44749F57D7201F68CBD@ltcfiswmsgmb21> <13CA24D6AB415D428143D44749F57D7201F6B5F0@ltcfiswmsgmb21> In-Reply-To: <13CA24D6AB415D428143D44749F57D7201F6B5F0@ltcfiswmsgmb21> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.126] MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626, 1.0.431, 0.0.0000 definitions=2013-05-31_09:2013-05-31,2013-05-31,1970-01-01 signatures=0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Devin Teske , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jun 2013 03:26:19 -0000 On May 31, 2013, at 3:05 PM, Teske, Devin wrote: On May 31, 2013, at 1:48 AM, Pietro Paolini wrote: On May 30, 2013, at 6:25 PM, "Teske, Devin" > wrote: On May 30, 2013, at 3:35 AM, Pietro Paolini wrote: Hello all, I am a new bye on the FreeBSD and I am looking at the VIMAGE features exper= iencing some problems. I added the options : VIMAGE if_bridge and I removed STCP then I recompiled my kernel and install it. After that, following this tutorial http://imunes.tel.fer.hr/virtnet/eurobs= dcon07_tutorial.pdf I tried the "Exercise 2" which consist on the following commands: vimage -c n1 vimage -c n2 ngctl mkpeer efface ether ether ngctl mkpeer efface ether ether Don't you just love autocorrect? (does the same thing to me=85 turns "eifac= e" into "efface") ngctl mkpeer em0: bridge lower link0 Looks good. ngctl name em0:lower bridge0 I usually do my "connect" before the "name"=85 but shouldn't matter. Should= work all the same. ngctl connect em0: bridge0: upper link1 This looks wrong to me. I'd expect: ngctl connect em0: bridge0:lower upper link1 Many thanks for the answer Devin, when I try to use that last command I receive: ngctl connect em0: bridge0:lower upper link1 ngctl: send msg: Invalid argument What's wrong ? Let's start from scratch on a freshly booted box=85 dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl ls -l [sudo] Password: There are 4 total nodes: Name: em0 Type: ether ID: 00000002 Num hooks: 0 Name: em1 Type: ether ID: 00000003 Num hooks: 0 Name: ngctl1719 Type: socket ID: 00000004 Num hooks: 0 Name: msk0 Type: ether ID: 00000001 Num hooks: 0 Ok=85 we have an "ether" type node for each of our physical adapters (these= are provided by ng_ether(4); you didn't have to do anything to get these n= odes). We also have a single "socket" type node. This is the "ngctl" connection to= the netgraph subsystem (you can learn more by reading ng_socket(4)). Here's the corresponding hardware behind em0, em1, and msk0: =3D=3D=3D dteske@scu0a.jbsd.vicor.com ~ $ grep '\= (em\|e1000phy\|mskc\?\)[[:digit:]]' /var/run/dmesg.boot mskc0: port 0xdc00-0xdcff mem 0xfc= ffc000-0xfcffffff irq 16 at device 0.0 on pci5 msk0: on mskc0 msk0: Ethernet address: xx:xx:xx:xx:xx:xx miibus0: on msk0 e1000phy0: PHY 0 on miibus0 e1000phy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT= , 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto mskc0: [ITHREAD] em0: port 0xec80-0xecbf= mem 0xfebe0000-0xfebfffff irq 16 at device 4.0 on pci7 em0: [FILTER] em0: Ethernet address: xx:xx:xx:xx:xx:xx em1: port 0xec00-0xec3f= mem 0xfeba0000-0xfebbffff,0xfeb80000-0xfeb9ffff irq 18 at device 6.0 on pc= i7 em1: [FILTER] em1: Ethernet address: xx:xx:xx:xx:xx:xx em0: link state changed to UP =3D=3D=3D Next, let's make a bridge (think of it as a big software switch that we're = going to hook a bunch of interfaces; created, physical, or otherwise). Since I'm doing this over an SSH connection (a mistake I made earlier today= ), I'm not going to touch em0 (the adapter my SSH connection is using). Cre= ating the bridge on an actively configured PHY will knock it off the net. T= his is not to say you can't have an active configuration on a bridged inter= face=85 just that the creation of the bridge (something you should only do = once each time you boot) will disrupt an active connection. So=85 dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl mkpeer em1: bridge lower link0 NOTE: No output =3D=3D Success. =3D=3D=3D Now let's look at our handiwork=85 dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl info em1:lower Name: Type: bridge ID: 00000007 Num hooks: 1 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- link0 em1 ether 00000003 lower Ok, we see that the lower peer hook of the em1 ether-node goes off to somet= hing named "link0". To see where link0 is off-to=85 we need a full listing (back to "ngctl ls -= l"). dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl ls -l There are 5 total nodes: Name: Type: bridge ID: 00000007 Num hooks: 1 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- link0 em1 ether 00000003 lower Name: em0 Type: ether ID: 00000002 Num hooks: 0 Name: em1 Type: ether ID: 00000003 Num hooks: 1 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- lower bridge 00000007 link0 Name: ngctl1762 Type: socket ID: 0000000b Num hooks: 0 Name: msk0 Type: ether ID: 00000001 Num hooks: 0 Matching "link0" in the first column to "link0" in the last-column, we can = see that this lower-link0 is to a bridge (with no name). NOTE: When you're digesting the above output=85 it helps to imagine whitesp= ace in between the nodes with their respective hooks and other nodes. Futur= e pastes below will introduce such whitespace to make it easier to read. =3D=3D=3D Right now, the only way to refer to the bridge is by way of "em1:lower" (be= cause we created the bridge right on the lower hook of the em1 ether-node). At this point, let's talk about naming. Giving our bridge a name is entirel= y optional, but greatly clarifies the output of both "ngctl ls -l" and "ngc= tl dot". dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl name em1:lower em1bridge dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl ls -l There are 5 total nodes: Name: em0 Type: ether ID: 00000002 Num hooks: 0 Name: em1 Type: ether ID: 00000003 Num hooks: 1 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- lower em1bridge bridge 00000007 link0 Name: ngctl1831 Type: socket ID: 0000001a Num hooks: 0 Name: em1bridge Type: bridge ID: 00000007 Num hooks: 1 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- link0 em1 ether 00000003 lower Name: msk0 Type: ether ID: 00000001 Num hooks: 0 The new "em1bridge" name acts as an alias to "em1:lower" in future ngctl co= mmands. For example, "ngctl info em1:lower" and "ngctl info em1bridge" can = now be used interchangeably and produce the same results. dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl info em1bridge: Name: em1bridge Type: bridge ID: 00000007 Num hooks: 1 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- link0 em1 ether 00000003 lower dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl info em1:lower Name: em1bridge Type: bridge ID: 00000007 Num hooks: 1 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- link0 em1 ether 00000003 lower =3D=3D=3D We're not done with the bridge yet. Because we foresee the possibility that= it might be nice to be able to communicate with the jail that we're going = to later hook into this bridge=85 we should hook the physical adapter's "up= per" hook into the bridge. If you don't do this, you won't be able to (for example) ping a jail from t= he host where the host has only the PHY and the jail has only a (yet uncrea= ted) eiface. Regardless of the fact that the bridge uses the PHY and the ja= il uses the bridge, to communicate with an IP that is configured on the bas= e host, you must hook the upper. dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl connect em1: em1:lower upper link1 If you want to use the alias I set up earlier (of "em1bridge") that works t= oo (just don't forget the colon at the end of the alias): dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl connect em1: em1bridge: upper link1 Here's the results: dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl ls -l There are 5 total nodes: Name: em0 Type: ether ID: 00000002 Num hooks: 0 Name: em1 Type: ether ID: 00000003 Num hooks: 2 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- upper em1bridge bridge 0000002a link1 lower em1bridge bridge 0000002a link0 Name: ngctl1874 Type: socket ID: 00000030 Num hooks: 0 Name: em1bridge Type: bridge ID: 0000002a Num hooks: 2 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- link1 em1 ether 00000003 upper link0 em1 ether 00000003 lower Name: msk0 Type: ether ID: 00000001 Num hooks: 0 NOTE: Some of the Peer ID's have changed, because I wanted to test that the= alias could be used; I used "sudo ngctl shutdown em1bridge:" and re-execut= ed up to the point where I connect the em1:upper into the bridge=85 except = this time using the alias of "em1bridge" instead of "em1:lower" (indeed, yo= u can use them interchangeably). =3D=3D=3D Ok=85 We've now done the hard part=85 which was to create and configure a b= ridge that is usable by any new nodes we connect to it and also (if you hoo= ked the upper portion of em1 back into its own lower which is acting as the= bridge) the base machine can communicate with any of the forth-coming jail= s (if on the same subnet at least). There's an easy step that shouldn't be skipped though=85 Before you can truly use this bridge with any other interfaces=85 dteske@scu0a.jbsd.vicor.com ~ $ sudo if= config em1 up dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl msg em1: setpromisc 1 dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl msg em1: setautosrc 0 A bridge cannot send packets out if the interface is down. A bridge cannot work properly without promiscuous mode. A bridge cannot send out packets for different addresses unless you turn of= f "setautosrc" =3D=3D=3D Let's create our first virtual NIC and connect it to the bridge. dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl mkpeer em1bridge: eiface link2 ether This command did two things. It created a new "eiface" node (see ng_eiface(= 4)), and connected it to the bridge. Let's have a look: dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl ls -l There are 6 total nodes: Name: em0 Type: ether ID: 00000002 Num hooks: 0 Name: em1 Type: ether ID: 00000003 Num hooks: 2 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- upper em1bridge bridge 0000002a link1 lower em1bridge bridge 0000002a link0 Name: ngeth0 Type: eiface ID: 00000035 Num hooks: 1 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- ether em1bridge bridge 0000002a link2 Name: ngctl2800 Type: socket ID: 00000036 Num hooks: 0 Name: em1bridge Type: bridge ID: 0000002a Num hooks: 3 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- link2 ngeth0 eiface 00000035 ether link1 em1 ether 00000003 upper link0 em1 ether 00000003 lower Name: msk0 Type: ether ID: 00000001 Num hooks: 0 The list of hooks for our bridge (em1bridge) is growing, and now we see a n= ew node (ngeth0) with one hook into that bridge. =3D=3D=3D ASIDE: If you wanted to script this=85 here's how you can test for an unuse= d link: Right now, we have link0, link1, and link2 for the bridge. If a link exists= for a bridge, the following command will return some info about the link a= nd return success (whereas if the link does not exist, the command will ret= urn an error and exit with error-status): dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl msg em1bridge: getstats 0 Rec'd response "getstats" (4) from "[2a]:": Args: {} dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl msg em1bridge: getstats 1 Rec'd response "getstats" (4) from "[2a]:": Args: {} dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl msg em1bridge: getstats 2 Rec'd response "getstats" (4) from "[2a]:": Args: {} dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl msg em1bridge: getstats 3 ngctl: send msg: Socket is not connected dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl msg em1bridge: getstats 4 ngctl: send msg: Socket is not connected dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl msg em1bridge: getstats 5 ngctl: send msg: Socket is not connected As you can see from the above output=85 we get errors for link3, link4, and= link5, because they don't exist. Naturally, testing $? exit status after e= ach of these commands would show how this can be scripted (HINT: throw stdo= ut/stderr to /dev/null and test $?). =3D=3D=3D At this point=85 you say "ifconfig": dteske@oos0a.lbxrich.vicor.com ~ $ i= fconfig msk0: flags=3D8802 metric 0 mtu 1500 options=3Dc011a ether xx:xx:xx:xx:xx:xx media: Ethernet autoselect em0: flags=3D8843 metric 0 mtu 1500 options=3D209b ether xx:xx:xx:xx:xx:xx inet xx.xx.xx.xx netmask 0xffffff80 broadcast xx.xx.xx.xx media: Ethernet autoselect (1000baseT ) status: active em1: flags=3D8943 metric 0 = mtu 1500 options=3D209b ether xx:xx:xx:xx:xx:xx media: Ethernet autoselect status: no carrier ipfw0: flags=3D8801 metric 0 mtu 65536 lo0: flags=3D8049 metric 0 mtu 16384 options=3D3 inet 127.0.0.1 netmask 0xff000000 ngeth0: flags=3D8802 metric 0 mtu 1500 ether 00:00:00:00:00:00 =3D=3D=3D Ok, there are two problems with the network interface. 1. It has a NULL MAC address (00:00:00:00:00:00). Good luck communicating o= n the Internet (remember, we disabled setautosrc -- we intend to make up a = MAC address that is unique). 2. The name leaves something to be desired (if we're going to use this with= a vimage jail, it would be nice if the interface had the jail name in it, = so that when you do an "ngctl ls -l" or an "ngctl dot" =85 you're going to = see the jail name so it becomes clear which jails are hooked to which PHY's= through which bridges). =3D=3D=3D Let's tackle the easier one first=85 let's rename this new interface. You and I already know that this interface that we want to rename is "ngeth= 0"=85 but you can actually extract the name from the link in the bridge. dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl show -n em1bridge:link2 Name: ngeth0 Type: eiface ID: 00000035 Num hooks: 1 First, we rename it in netgraph (this does not affect the output of ifconfi= g -- and again, we do this to make "ngctl ls -l" and "ngctl dot" more palat= able): dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl name em1bridge:link2 ng0_myjail dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl ls -l There are 6 total nodes: Name: em0 Type: ether ID: 00000002 Num hooks: 0 Name: em1 Type: ether ID: 00000003 Num hooks: 2 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- upper em1bridge bridge 0000002a link1 lower em1bridge bridge 0000002a link0 Name: ngctl2843 Type: socket ID: 00000046 Num hooks: 0 Name: ng0_myjail Type: eiface ID: 00000035 Num hooks: 1 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- ether em1bridge bridge 0000002a link2 Name: em1bridge Type: bridge ID: 0000002a Num hooks: 3 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- link2 ng0_myjail eiface 00000035 ether link1 em1 ether 00000003 upper link0 em1 ether 00000003 lower Name: msk0 Type: ether ID: 00000001 Num hooks: 0 Looking good. However, ifconfig hasn't changed=85 dteske@scu0a.jbsd.vicor.com ~ $ ifconfig ... ngeth0: flags=3D8802 metric 0 mtu 1500 ether 00:00:00:00:00:00 We want to rename the interface with ifconfig for a different reason. We renamed the interface with netgraph earlier so that netgraph outputs wou= ld be nice and easy to digest. This time, we rename with ifconfig so that we can layer jails onto the same= rootdir. The naming convention (which is the same naming convention I use for renami= ng on the netgraph side) is: ng#_name The # always starts at zero for each jail where "name" is the name of the j= ail. Again=85 I use this scheme so that I can layer jails onto the same root-dir= ; /etc/rc.conf is then populated with things like: ifconfig_ng0_myjail=3D... ifconfig_ng0_myrouter=3D... ifconfig_ng1_myrouter=3D... ifconfig_ng0_anotherjail=3D... So that when you say "service netif start" inside the vnet jail=85 it appli= es the right settings. So=85 we rename with ifconfig: dteske@scu0a.jbsd.vicor.com ~ $ sudo if= config ngeth0 name ng0_myjail dteske@scu0a.jbsd.vicor.com ~ $ ifconfig ... ng0_myjail: flags=3D8802 metric 0 mtu 1500 ether 00:00:00:00:00:00 =3D=3D=3D We're almost ready to shove this interface into a jail (which we haven't cr= eated yet). But=85 we come back to that NULL MAC address. NOTE: Forming your own MAC address, or even coming up with your own formula= should not be taken lightly. Here's a formula I use (which is based on several RFC's for MAC address for= mation): NOTE: In this context, ${_bridge} is em1 and $LINKNUM is 2 # Set the MAC address of the new interface # using a sensible algorithm to prevent # conflicts on the network. # # MAC LP:LL:LB:BB:BB:BB # P 2, 6, A, or E but usually 2 # NOTE: Indicates "privately administered" = MAC # L ng_bridge(4) link number (1-65535) # B Same as bridged interface # _bridge_ether=3D$( ifconfig ${_bridge} ethe= r | awk '/ether/{print $2}' ) _ether_devid=3D"${_bridge_ether#??:??:?}" n=3D$LINKNUM _quad=3D$(($n & 15)) case "${_quad}" in 10) _quad=3Da;; 11) _quad=3Db;; 12) _quad= =3Dc;; 13) _quad=3Dd;; 14) _quad=3De;; 15) _quad= =3Df;; esac _ether_devid=3D":${_quad}${_ether_devid}" n=3D$(($n >> 4)) _quad=3D$(($n & 15)) case "${_quad}" in 10) _quad=3Da;; 11) _quad=3Db;; 12) _quad= =3Dc;; 13) _quad=3Dd;; 14) _quad=3De;; 15) _quad= =3Df;; esac _ether_devid=3D"${_quad}${_ether_devid}" n=3D$(($n >> 4)) _quad=3D$(($n & 15)) case "${_quad}" in 10) _quad=3Da;; 11) _quad=3Db;; 12) _quad= =3Dc;; 13) _quad=3Dd;; 14) _quad=3De;; 15) _quad= =3Df;; esac _ether_devid=3D"2:${_quad}${_ether_devid}" n=3D$(($n >> 4)) _quad=3D$(($n & 15)) case "${_quad}" in 10) _quad=3Da;; 11) _quad=3Db;; 12) _quad= =3Dc;; 13) _quad=3Dd;; 14) _quad=3De;; 15) _quad= =3Df;; esac _ether_devid=3D"${_quad}${_ether_devid}" n=3D$(($n >> 4)) After which=85 ${_ether_devid} holds a properly formed MAC address that ca= n (in every case I've tested) "get out". Here's what I do to set it: ifconfig ng0_myjail ether "${_ether_devid}" Here's an example of how the MAC address was translated from the physical a= dapter to the ng_eiface(4) interface: dteske@scu0a.jbsd.vicor.com ~ $ ifconfi= g em1; ifconfig ng0_myjail em1: flags=3D8943 metric 0 = mtu 1500 options=3D209b ether 00:0e:0c:ab:1b:76 media: Ethernet autoselect status: no carrier ng0_myjail: flags=3D8802 metric 0 mtu 1500 ether 02:00:2c:ab:1b:76 =3D=3D=3D OK=85 we're now ready to shove that interface into a vimage jail. But=85 First we need a vimage jail. (this is not a tutorial on how to create, mana= ge, build, or do anything else with jails, vimage-jails, or vps-jails *othe= r* than give it a netgraph based interface) I'm going to use my existing base machine as a fake jail (by pointing my ja= il's rootdir at "/"). NOTE: Certain sysctl's have to be set appropriately before you fire up the = jail to make this vimage jail able to do "more" on the net. dteske@scu0a.jbsd.vicor.com ~ $ sudo sy= sctl security.jail.set_hostname_allowed=3D1 security.jail.sysvipc_allowed= =3D1 security.jail.socket_unixiproute_only=3D1 security.jail.set_hostname_allowed: 1 -> 1 security.jail.sysvipc_allowed: 1 -> 1 security.jail.socket_unixiproute_only: 0 -> 1 NOTE: Unless you intend to reboot to restore the defaults later=85 you migh= t want to take down those previous values for restoration *after* we fire u= p the "vimage" jail. dteske@scu0a.jbsd.vicor.com ~ $ sudo ja= il -i -c vnet name=3Dmyjail host.hostname=3Dmyjail path=3D/ persist 1 dteske@scu0a.jbsd.vicor.com ~ $ jls JID IP Address Hostname Path 1 - myjail / OK=85 we have a running jail (with the vnet property, making it a "vimage" = jail -- which can accept network interfaces). =3D=3D=3D Right now our jail has no network interfaces (well, it has an unconfigured = lo0). dteske@scu0a.jbsd.vicor.com ~ $ sudo je= xec myjail ifconfig lo0: flags=3D8008 metric 0 mtu 16384 options=3D3 So let's pass the netgraph created interface into the jail=85 dteske@scu0a.jbsd.vicor.com ~ $ sudo if= config ng0_myjail vnet 1 dteske@scu0a.jbsd.vicor.com ~ $ sudo je= xec myjail ifconfig lo0: flags=3D8008 metric 0 mtu 16384 options=3D3 ng0_myjail: flags=3D8802 metric 0 mtu 1500 ether 02:00:2c:ab:1b:76 Sweet! =3D=3D=3D Almost there=85 Let's go into /etc/rc.conf, give it an IP, and start the network=85 dteske@scu0a.jbsd.vicor.com ~ $ sudo sy= src ifconfig_ng0_myjail=3D"inet 192.168.1.1 netmask 255.255.255.0" /etc/rc.conf: ifconfig_ng0_myjail: -> inet 192.168.1.1 netmask 255.255.255= .0 dteske@scu0a.jbsd.vicor.com ~ $ grep ng= 0 /etc/rc.conf ifconfig_ng0_myjail=3D"inet 192.168.1.1 netmask 255.255.255.0" dteske@scu0a.jbsd.vicor.com ~ $ sudo je= xec myjail service netif start Starting Network: lo0 ng0_myjail. lo0: flags=3D8049 metric 0 mtu 16384 options=3D3 inet 127.0.0.1 netmask 0xff000000 ng0_myjail: flags=3D8843 metric 0 m= tu 1500 ether 02:00:2c:ab:1b:76 inet 192.168.1.1 netmask 0xffffff00 broadcast 192.168.1.255 Now we're cookin' with gasoline! =3D=3D=3D Optionally go configure your base machine with an IP and have fun. A quick conclusion=85 Because we've built this all on top of netgraph=85 we can =85 graph it. dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl dot | dot -Tsvg -o netgraph-scu0a.svg I then uploaded the file to the web and here it is: http://druidbsd.sourceforge.net/download/netgraph-scu0a.svg You should compare this directly to the output of "ngctl ls -l": dteske@scu0a.jbsd.vicor.com ~ $ sudo ng= ctl ls -l There are 6 total nodes: Name: em0 Type: ether ID: 00000002 Num hooks: 0 Name: em1 Type: ether ID: 00000003 Num hooks: 2 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- upper em1bridge bridge 0000002a link1 lower em1bridge bridge 0000002a link0 Name: ng0_myjail Type: eiface ID: 00000035 Num hooks: 1 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- ether em1bridge bridge 0000002a link2 Name: em1bridge Type: bridge ID: 0000002a Num hooks: 3 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- link2 ng0_myjail eiface 00000035 ether link1 em1 ether 00000003 upper link0 em1 ether 00000003 lower Name: ngctl8676 Type: socket ID: 00000049 Num hooks: 0 Name: msk0 Type: ether ID: 00000001 Num hooks: 0 You'll notice that when you graph the layout with "ngctl dot", the nodes ar= e rendered as boxes displaying their "Peer Name" up top, their "Peer Type" = in the lower-left, and their "Peer ID" in the bottom-right. The edges from one node to another contains two octagons. These are the "Lo= cal hook" and "Peer hook". -- 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-questions@FreeBSD.ORG Sat Jun 1 05:00:06 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EB54F9CF for ; Sat, 1 Jun 2013 05:00:06 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from paka.cyberleo.net (mtumishi.cyberleo.net [216.226.128.201]) by mx1.freebsd.org (Postfix) with ESMTP id CB6DBEAB for ; Sat, 1 Jun 2013 05:00:06 +0000 (UTC) Received: from [172.16.44.4] (den.cyberleo.net [216.80.73.130]) by paka.cyberleo.net (Postfix) with ESMTPSA id 3C2A1191D72; Sat, 1 Jun 2013 00:51:49 -0400 (EDT) Message-ID: <51A97DE4.2080408@cyberleo.net> Date: Fri, 31 May 2013 23:51:48 -0500 From: CyberLeo Kitsana User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130410 Thunderbird/17.0.5 MIME-Version: 1.0 To: Jack Mc Lauren Subject: Re: make release fails References: <1369309963.43730.YahooMailNeo@web160101.mail.bf1.yahoo.com> In-Reply-To: <1369309963.43730.YahooMailNeo@web160101.mail.bf1.yahoo.com> X-Enigmail-Version: 1.6a1pre Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: FreeBSD Global Users Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jun 2013 05:00:07 -0000 On 05/23/2013 06:52 AM, Jack Mc Lauren wrote: > Hi > find //usr/obj/usr/src/release/dist/doc -empty -delete > find: -delete: //usr/obj/usr/src/release/dist/doc: relative path potentially not > safe > *** [distributeworld] Error code 1 > What's wrong with this? > Thanks in advance Huh. Apparently I ran across this myself in the past, since I found a patch lurking in my source tree. ----8<---- diff --git a/Makefile.inc1 b/Makefile.inc1 index 4567e5d..1830483 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -685,7 +685,7 @@ distributeworld installworld: installcheck ${IMAKEENV} rm -rf ${INSTALLTMP} .if make(distributeworld) .for dist in ${EXTRA_DISTRIBUTIONS} - find ${DESTDIR}/${DISTDIR}/${dist} -empty -delete + find ${DESTDIR}/${DISTDIR}/${dist} -empty -exec rmdir {} + .endfor .endif ----8<---- The reason this occurs is because you and I are building with NODOC, which leaves dist/doc empty, and the above find construct will refuse to -delete if the directory specified on the command line is one of the ones that would have been deleted. Either patch the makefile as above, tell make to ignore the return code of this find invocation, or put some non-empty files into /usr/obj/usr/src/release/dist/doc during the release building process (like a README pointing to the docs tarball on the mirrors) to make it not trigger the empty condition. Hope this helps! -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://www.fur.com/peace/ From owner-freebsd-questions@FreeBSD.ORG Sat Jun 1 06:40:34 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 34EF718A for ; Sat, 1 Jun 2013 06:40:34 +0000 (UTC) (envelope-from sam.gh1986@gmail.com) Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com [209.85.217.175]) by mx1.freebsd.org (Postfix) with ESMTP id BAA9B1BC for ; Sat, 1 Jun 2013 06:40:33 +0000 (UTC) Received: by mail-lb0-f175.google.com with SMTP id v10so2362194lbd.34 for ; Fri, 31 May 2013 23:40:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=ruur97BBrZ9xxkKja8/rgKmWZhO5jehPo+uOiJVxcwo=; b=PqzC0Gyc5kz2MPM7jMfxEIkHBHbxX0Pgo94sEuFKqfrm17xqIOZ1+oJKtbhc2xEH4g gC0di/ouDld1p4dUVaJiE0VNXtjqMEkmzH9zxpe9B02hrxUjql1DBSaP44FlRXDU728g 5v7sRMfdn0StwU4OjrNyfA4X8IjwwLtYoU6NkINHYnRHWhCUJhrYayIGmtCXpxM2Wy8C hh/H6fUgXZYJfRUOARv8C6pK/I8tmIsaJbayoP8mZKiBu7431EZawLzlTEY8C8RgRctg NxWDe2IIu2nReCWHiPb6ogeb/I/vnzl3HhArRzrzY9yhDIgZ6p+wNAy2vGe3+SpAI4C+ /03Q== MIME-Version: 1.0 X-Received: by 10.112.172.40 with SMTP id az8mr7232185lbc.88.1370068832175; Fri, 31 May 2013 23:40:32 -0700 (PDT) Received: by 10.112.218.8 with HTTP; Fri, 31 May 2013 23:40:32 -0700 (PDT) Date: Sat, 1 Jun 2013 11:10:32 +0430 Message-ID: Subject: define more partitions in freebsd From: s m To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jun 2013 06:40:34 -0000 hello all i want to install freebsd8.2 on my system. for some reasons, i need partitions more than 6. my freebsd just allow me to define partitions from a to h, not any more. i checked FreeBSD handbook, but it doesn't say anything about defining more partitions. my question is: how can i define more partitions on my freebsd? (for example, ad3s1a, ..., ad3s1h, ad3s1i, ad3s1j, ...). any comments or hints are appreciated. SAM From owner-freebsd-questions@FreeBSD.ORG Sat Jun 1 07:21:09 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 870635BE for ; Sat, 1 Jun 2013 07:21:09 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 502B12C1 for ; Sat, 1 Jun 2013 07:21:09 +0000 (UTC) Received: from r56.edvax.de (port-92-195-136-185.dynamic.qsc.de [92.195.136.185]) by mx02.qsc.de (Postfix) with ESMTP id 7240124817; Sat, 1 Jun 2013 09:21:01 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r517LBIx001894; Sat, 1 Jun 2013 09:21:12 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 1 Jun 2013 09:21:11 +0200 From: Polytropon To: s m Subject: Re: define more partitions in freebsd Message-Id: <20130601092111.8c1ad1c0.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jun 2013 07:21:09 -0000 On Sat, 1 Jun 2013 11:10:32 +0430, s m wrote: > hello all > > i want to install freebsd8.2 on my system. for some reasons, i need > partitions more than 6. my freebsd just allow me to define partitions > from a to h, not any more. That's correct and expected for the MBR partitioning approach (which is considered "mostly outdated" today). > i checked FreeBSD handbook, but it doesn't say anything about defining > more partitions. Because you _cannot_ define more partitions than up to 'h'. This is a hard-defined limit of MBR-style partitions (as they are initialized with bsdlabel). > my question is: how can i define more partitions on my freebsd? (for > example, ad3s1a, ..., ad3s1h, ad3s1i, ad3s1j, ...). You cannot. You need to use the GPT partitioning approach and repartition your disk. With gpart, you can create more than 'h' partitions, but the partitions will have different names, such as ad3s1p1, ad3s1p2, ..., ad3s1p10, ad3s1p11, ... and so on. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Jun 1 07:56:17 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 06F679B3 for ; Sat, 1 Jun 2013 07:56:17 +0000 (UTC) (envelope-from sam.gh1986@gmail.com) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com [209.85.217.171]) by mx1.freebsd.org (Postfix) with ESMTP id 88AC83C5 for ; Sat, 1 Jun 2013 07:56:15 +0000 (UTC) Received: by mail-lb0-f171.google.com with SMTP id v20so2363109lbc.2 for ; Sat, 01 Jun 2013 00:56:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=OEtVIoH2arDEDyCaCyFJ1tIG/o7xOiTjMsUS00piMnc=; b=FgUEi7lR4FfBWskXJxchnvH+QNfWRo/pDCDTF1bliv8Ejrp1eNszFkj8F/xi3Gq3fo ebvmbqfNr/rUIfKNRItZ4uLe1u1n3x/qOw0Gebpxi/sZfn11opvVz9qQQ0i15mTi6RDI 9Izru1EUiQyFbnK5RBqILD8yCPLwJ33WJnx1q02N02qIRvZOHbtwDVr3+YqB+TF2RIOg Clq17KIhwAXX/x16kCgTvinMVQAsIV52gMgQQWKL4pihfQI4dvBSSgPMz9hbdmyNzL6q aNY5oBcAZLkulhKOx/5ObsnQRc5osPrWrr0KfuOzkVm9H4sTuBr/iOTTL/9Ihz5g7tux 73hw== MIME-Version: 1.0 X-Received: by 10.152.30.103 with SMTP id r7mr7215955lah.25.1370073374913; Sat, 01 Jun 2013 00:56:14 -0700 (PDT) Received: by 10.112.218.8 with HTTP; Sat, 1 Jun 2013 00:56:14 -0700 (PDT) In-Reply-To: <20130601092111.8c1ad1c0.freebsd@edvax.de> References: <20130601092111.8c1ad1c0.freebsd@edvax.de> Date: Sat, 1 Jun 2013 12:26:14 +0430 Message-ID: Subject: Re: define more partitions in freebsd From: s m To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jun 2013 07:56:17 -0000 thanks for your reply, it is a good news if i can define more partitions with gpart. names are not so important for me. if i can define more partitions with gpart, are these partitions work correctly? you know i wan to define a journal partition for each partition on my freebsd. so if i use these extra partition as journal provider, do they work correctly? and another question, how can i define more partitions with gpart? i searched and some people say to use "gpart -n 20". do you mean to use this command too? and my last question, some people say to change byte 0x28a of the disk from 0x08 to 0x14 (which 14 is the number of partitions). do you think it's a good idea and applicable solution? thanks for your attention On 6/1/13, Polytropon wrote: > On Sat, 1 Jun 2013 11:10:32 +0430, s m wrote: >> hello all >> >> i want to install freebsd8.2 on my system. for some reasons, i need >> partitions more than 6. my freebsd just allow me to define partitions >> from a to h, not any more. > > That's correct and expected for the MBR partitioning approach > (which is considered "mostly outdated" today). > > > >> i checked FreeBSD handbook, but it doesn't say anything about defining >> more partitions. > > Because you _cannot_ define more partitions than up to 'h'. > This is a hard-defined limit of MBR-style partitions (as > they are initialized with bsdlabel). > > > >> my question is: how can i define more partitions on my freebsd? (for >> example, ad3s1a, ..., ad3s1h, ad3s1i, ad3s1j, ...). > > You cannot. You need to use the GPT partitioning approach > and repartition your disk. With gpart, you can create more > than 'h' partitions, but the partitions will have different > names, such as ad3s1p1, ad3s1p2, ..., ad3s1p10, ad3s1p11, ... > and so on. > > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > From owner-freebsd-questions@FreeBSD.ORG Sat Jun 1 09:47:25 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 17ADE740 for ; Sat, 1 Jun 2013 09:47:25 +0000 (UTC) (envelope-from tijl@coosemans.org) Received: from mailrelay005.isp.belgacom.be (mailrelay005.isp.belgacom.be [195.238.6.171]) by mx1.freebsd.org (Postfix) with ESMTP id AC4DD91D for ; Sat, 1 Jun 2013 09:47:24 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApcMAKzCqVFbsJmg/2dsb2JhbABZgwkwgnW8AAQEAXwXdIIjAQEFViIBEAsYCRYPCQMCAQIBJx4GDQEHAQEFiAgIuWOPIQeDVwOQAIEsl1KDETo Received: from 160.153-176-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.176.153.160]) by relay.skynet.be with ESMTP; 01 Jun 2013 11:46:08 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.7/8.14.7) with ESMTP id r519k7h4044806; Sat, 1 Jun 2013 11:46:07 +0200 (CEST) (envelope-from tijl@coosemans.org) Message-ID: <51A9C2D7.5050908@coosemans.org> Date: Sat, 01 Jun 2013 11:45:59 +0200 From: Tijl Coosemans User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130517 Thunderbird/17.0.6 MIME-Version: 1.0 To: Walter Hurry Subject: Re: Where to get source for 10? References: <51A931E8.4090109@ayan.net> In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2OKOUVQEFRQGAJWMOWNJJ" Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jun 2013 09:47:25 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2OKOUVQEFRQGAJWMOWNJJ Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2013-06-01 02:47, Walter Hurry wrote: > On Fri, 31 May 2013 19:27:36 -0400, Ayan George wrote: >> On 05/31/2013 07:23 PM, Walter Hurry wrote: >>> For 9.1 I can checkout http://svn.freebsd.org/base/releng/9.1/ >>> >>> But where can I get the source for FreeBSD10? >> >> I assume it'd be the head branch: >> >> http://svn.freebsd.org/base/head/ >=20 > Thanks. Consider using a mirror: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/svn-mirrors.htm= l ------enig2OKOUVQEFRQGAJWMOWNJJ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iF4EAREIAAYFAlGpwt8ACgkQfoCS2CCgtiuHswD/cO2I1GJtV9XRDpqM8P9RhUnP MqSTZz7fL/nrNePZNXcA/j+wxCkULNmOvegFP0ZP4jwV4kDHy6VtyvRlBcaQUXFV =L/hM -----END PGP SIGNATURE----- ------enig2OKOUVQEFRQGAJWMOWNJJ-- From owner-freebsd-questions@FreeBSD.ORG Sat Jun 1 11:59:49 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DAB81E32 for ; Sat, 1 Jun 2013 11:59:49 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp.rcn.com (smtp.rcn.com [69.168.97.78]) by mx1.freebsd.org (Postfix) with ESMTP id A65A7D0B for ; Sat, 1 Jun 2013 11:59:49 +0000 (UTC) X_CMAE_Category: 0,0 Undefined,Undefined X-CNFS-Analysis: v=2.1 cv=N7UQSQNB c=1 sm=0 tr=0 a=nVny9ETX7T5uMhI2oTVyRA==:117 a=Qm7PpDN649EA:10 a=AaUjGI9IrlcA:10 a=kj9zAlcOel0A:10 a=OA2lqS22AAAA:8 a=sIt-5M63AAAA:8 a=_dmXLmcpbGkA:10 a=g7DU_W_b8aicMegLqGEA:9 a=CjuIK1q_8ugA:10 X-CM-Score: 0 X-Scanned-by: Cloudmark Authority Engine Authentication-Results: smtp01.rcn.cmh.synacor.com header.from=roberthuff@rcn.com; sender-id=neutral Authentication-Results: smtp01.rcn.cmh.synacor.com smtp.mail=roberthuff@rcn.com; spf=neutral; sender-id=neutral Received-SPF: neutral (smtp01.rcn.cmh.synacor.com: 209.6.193.164 is neither permitted nor denied by domain of rcn.com) Received: from [209.6.193.164] ([209.6.193.164:60142] helo=jerusalem.litteratus.org.litteratus.org) by smtp.rcn.com (envelope-from ) (ecelerity 2.2.3.49 r(42060/42061)) with ESMTP id 22/97-02280-E22E9A15; Sat, 01 Jun 2013 07:59:43 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <20905.57901.934369.586878@jerusalem.litteratus.org> Date: Sat, 1 Jun 2013 07:59:41 -0400 To: s m Subject: Re: define more partitions in freebsd In-Reply-To: References: <20130601092111.8c1ad1c0.freebsd@edvax.de> X-Mailer: VM 7.17 under 21.4 (patch 22) "Instant Classic" XEmacs Lucid Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jun 2013 11:59:49 -0000 s m writes: > and my last question, some people say to change byte 0x28a of the > disk from 0x08 to 0x14 (which 14 is the number of partitions). do > you think it's a good idea and applicable solution? Short answer: if you have to ask - no, it isn't. :-) Respectfully, Robert Huff From owner-freebsd-questions@FreeBSD.ORG Sat Jun 1 12:31:34 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id EED91604 for ; Sat, 1 Jun 2013 12:31:34 +0000 (UTC) (envelope-from sam.gh1986@gmail.com) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com [209.85.217.171]) by mx1.freebsd.org (Postfix) with ESMTP id 5ABC1E3C for ; Sat, 1 Jun 2013 12:31:33 +0000 (UTC) Received: by mail-lb0-f171.google.com with SMTP id v20so2503804lbc.30 for ; Sat, 01 Jun 2013 05:31:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=XQkadpvvu8NmFrYrsFzrkl7spxRulW5CnpR+AWHBYLg=; b=d6a6YbXJwTuENTfeTqX/cTCyy9JrlwMTwgIjer2MX1Gvix3qS87eQVbvnW+xR5qsem J8S2lMpHNd+fhW8qFDdDPQ9tajVRvYlx+PFQ3wDZRKsmkkN7InygJYcHNnqDTxkKIpFr O0L2Xm+lfZQe/jiqKqTqRKSKuWWc4tgi2lKnxYrYikglGXreMo1/3nx75spGkCPXu3XB S86EQ38fGG36Hh6Ss2DmZ+/TGyw3z+dfni/3AvNpVuZY/48h5wS99IUNiTT5xJIb+VBN SEQl/VjX9pHhT+v6XwzksYbfKa1ghdMHGSkYIRKWGuqkgGV+A3XVG9zYY7yqYZqMs86h I1OQ== MIME-Version: 1.0 X-Received: by 10.112.172.40 with SMTP id az8mr7638227lbc.88.1370089892738; Sat, 01 Jun 2013 05:31:32 -0700 (PDT) Received: by 10.112.218.8 with HTTP; Sat, 1 Jun 2013 05:31:32 -0700 (PDT) In-Reply-To: <20905.57901.934369.586878@jerusalem.litteratus.org> References: <20130601092111.8c1ad1c0.freebsd@edvax.de> <20905.57901.934369.586878@jerusalem.litteratus.org> Date: Sat, 1 Jun 2013 17:01:32 +0430 Message-ID: Subject: Re: define more partitions in freebsd From: s m To: Robert Huff Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jun 2013 12:31:35 -0000 thanks Robert, so i just have one choice: gpart. do you know how to use it? i define ad3 and ad3s1; after that i run this command: "gpart create -s mbr -n 20 ad3s1". but this error happens: "GEOM: file exists". after that i do it again in different way: i create ad3 and after that run the above command but it says: "invalid argument ad3s1". i think because there is no ad3s1!!! now how can i use -n flag to set entries number for my partitioning??? you know it is so important for me :(( any comments or hints are really appreciated. SAM On 6/1/13, Robert Huff wrote: > > s m writes: > > >> and my last question, some people say to change byte 0x28a of the >> disk from 0x08 to 0x14 (which 14 is the number of partitions). do >> you think it's a good idea and applicable solution? > > Short answer: if you have to ask - no, it isn't. > :-) > Respectfully, > > > Robert Huff > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Sat Jun 1 12:38:31 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 92C566EA for ; Sat, 1 Jun 2013 12:38:31 +0000 (UTC) (envelope-from mueller6724@bellsouth.net) Received: from nm5.access.bullet.mail.mud.yahoo.com (nm5.access.bullet.mail.mud.yahoo.com [66.94.237.206]) by mx1.freebsd.org (Postfix) with ESMTP id 388F0E79 for ; Sat, 1 Jun 2013 12:38:30 +0000 (UTC) Received: from [66.94.237.194] by nm5.access.bullet.mail.mud.yahoo.com with NNFMP; 01 Jun 2013 12:36:13 -0000 Received: from [98.139.221.52] by tm5.access.bullet.mail.mud.yahoo.com with NNFMP; 01 Jun 2013 12:36:13 -0000 Received: from [127.0.0.1] by smtp105.sbc.mail.bf1.yahoo.com with NNFMP; 01 Jun 2013 12:36:13 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bellsouth.net; s=s1024; t=1370090173; bh=3GWvK46TU1PNRTZhdMPRpCO6MK4sRKfByHBmhTOMwCU=; h=X-Yahoo-Newman-Id:Message-ID:Date:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:From:To:References:Subject; b=WwUYRh0adq/Rn7es+H0ndBpqTLO3QvzWGFu3sRizamodgE1pVB2QO67X7Kkzqbav71QBkY7XEjTSvuFdrvLrysn08kl8i44TItSBZHCQi6RVnjjB6eTZRVyM1RdI5q4eFn9gwJmjh6z0w0GXJrqkWSPU6TLr2wLHTfbVP+H8/fk= X-Yahoo-Newman-Id: 164411.98747.bm@smtp105.sbc.mail.bf1.yahoo.com Message-ID: <164411.98747.bm@smtp105.sbc.mail.bf1.yahoo.com> Date: Sat, 1 Jun 2013 05:36:13 -0700 (PDT) X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: ZmrPFoEVM1kaLMUN3nVrPwmYO0mJXBxZCFcmbcR3YrYlqfC 4tp9T4pmRjoo1Dk7i3NBoeLHkWClkfDcR5BXrwGFOPnQF88S3zOv6izjfpxB 9nEjMzzmNc9s.cj4jsXpABdtQPpwmC16npp8aeUYzkknqCeieq0VVfGES_k6 rTYsn0tGeWSTP2l1QUqJyVdZPFfiq9Bb9yw.U7vkyCkqFP7xzT2jSkmn6yBP dBwK4pvJ2uI6fsiKG4_UJhnNJgs97reGxMs83.PRWz6OUj9gyspwRXoEZmpS G09cICVK.bYJ9IiwwfOBSWPyCaLzPiHJBpWEvZuggjjnDnWCa3JlN4BcbY9M VNLd5xZdpfXJ4HhgVGH0ucHM2_IvtCX3eLx8vmHnbS3W3xJEd4QyuzyUSY1K 5EGcXFqum4vQl_U8uLmnkWNbtNsco_XVCGMXChdoZzJs6Q.N.ArMSfvErvlX Xng3LAk2dhOUMixicRQiea2CBaV6qD1W.fBsUyMytgIiBnVb0ZjLTjai7wCO Wd8VtMlL4acq08qR.K8ta6Q-- X-Yahoo-SMTP: Kz_aW1.swBBYof3zAD7.RWzXz9ZAQVDMml1VADsbgPT4Kq79LC0- X-Rocket-Received: from localhost (mueller6724@74.130.198.7 with plain) by smtp105.sbc.mail.bf1.yahoo.com with SMTP; 01 Jun 2013 05:36:13 -0700 PDT From: "Thomas Mueller" To: freebsd-questions@FreeBSD.org References: <20130601092111.8c1ad1c0.freebsd@edvax.de> Subject: Re: define more partitions in freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jun 2013 12:38:31 -0000 > On Sat, 1 Jun 2013 11:10:32 +0430, s m wrote: > hello all > > > i want to install freebsd8.2 on my system. for some reasons, i need > > partitions more than 6. my freebsd just allow me to define partitions > > from a to h, not any more. > That's correct and expected for the MBR partitioning approach > (which is considered "mostly outdated" today). > > i checked FreeBSD handbook, but it doesn't say anything about defining > > more partitions. > Because you _cannot_ define more partitions than up to 'h'. > This is a hard-defined limit of MBR-style partitions (as > they are initialized with bsdlabel). > > my question is: how can i define more partitions on my freebsd? (for > > example, ad3s1a, ..., ad3s1h, ad3s1i, ad3s1j, ...). > You cannot. You need to use the GPT partitioning approach > and repartition your disk. With gpart, you can create more > than 'h' partitions, but the partitions will have different > names, such as ad3s1p1, ad3s1p2, ..., ad3s1p10, ad3s1p11, ... > and so on. > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... Are you sure of this? Can you GPT-partition an MBR slice as opposed to the whole disk? You should get ad3p1, ad3p2, ...,ad3p10, ad3p11, ... Then you would have to migrate an MBR partition table to GPT, if you have non-FreeBSD slices. I don't know if gpart can do that, but Rod Smith's gdisk (included in FreeBSD ports) or gpt (still used in NetBSD but not FreeBSD) can. Tom From owner-freebsd-questions@FreeBSD.ORG Sat Jun 1 13:10:13 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DFE72D60 for ; Sat, 1 Jun 2013 13:10:13 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id A4DB1F5F for ; Sat, 1 Jun 2013 13:10:13 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r51DA30Q078215; Sat, 1 Jun 2013 07:10:03 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r51DA3rk078212; Sat, 1 Jun 2013 07:10:03 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sat, 1 Jun 2013 07:10:03 -0600 (MDT) From: Warren Block To: Polytropon Subject: Re: define more partitions in freebsd In-Reply-To: <20130601092111.8c1ad1c0.freebsd@edvax.de> Message-ID: References: <20130601092111.8c1ad1c0.freebsd@edvax.de> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Sat, 01 Jun 2013 07:10:03 -0600 (MDT) Cc: s m , freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jun 2013 13:10:13 -0000 On Sat, 1 Jun 2013, Polytropon wrote: > On Sat, 1 Jun 2013 11:10:32 +0430, s m wrote: > >> my question is: how can i define more partitions on my freebsd? (for >> example, ad3s1a, ..., ad3s1h, ad3s1i, ad3s1j, ...). > > You cannot. You need to use the GPT partitioning approach > and repartition your disk. With gpart, you can create more > than 'h' partitions, but the partitions will have different > names, such as ad3s1p1, ad3s1p2, ..., ad3s1p10, ad3s1p11, ... > and so on. GPT partitioning is a replacement for MBR partitioning, and will generally look like ad3p1, ad3p2, and so on. FreeBSD's GPT implementation should allow 128 GPT partitions by default, although I have not tested that. Use of gpart to set up a disk is shown here: http://www.wonkity.com/~wblock/docs/html/disksetup.html The FreeBSD 9.x installer, bsdinstall, uses GPT partitioning by default. The older sysinstall that is used on FreeBSD 8 does not, and probably has no native way to use GPT. The partitions would have to be set up manually from a shell before running the installer, and then manually entered in the installer. From owner-freebsd-questions@FreeBSD.ORG Sat Jun 1 13:44:08 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6041E186 for ; Sat, 1 Jun 2013 13:44:08 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 257D882 for ; Sat, 1 Jun 2013 13:44:07 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Uim6I-0004Nq-0e for freebsd-questions@freebsd.org; Sat, 01 Jun 2013 15:44:06 +0200 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 Jun 2013 15:44:06 +0200 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 Jun 2013 15:44:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: FreeBSD10: lock order reversal with portsnap extract Date: Sat, 1 Jun 2013 13:43:47 +0000 (UTC) Lines: 8 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jun 2013 13:44:08 -0000 I'm installing FreeBSD10 (head; snapshot from 30 May 2013) into a VM. One of the first things I do is a 'portsnap fetch extract'. As soon as the extract starts it produces a 'lock order reversal' message with a KDB stack backtrace, but then proceeds successfully to verify the integrity and install the ports tree. Should I worry? From owner-freebsd-questions@FreeBSD.ORG Sat Jun 1 14:27:46 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D1422DF9 for ; Sat, 1 Jun 2013 14:27:46 +0000 (UTC) (envelope-from fernando.apesteguia@gmail.com) Received: from mail-we0-x22f.google.com (mail-we0-x22f.google.com [IPv6:2a00:1450:400c:c03::22f]) by mx1.freebsd.org (Postfix) with ESMTP id 6C7DF1A3 for ; Sat, 1 Jun 2013 14:27:46 +0000 (UTC) Received: by mail-we0-f175.google.com with SMTP id x54so507378wes.20 for ; Sat, 01 Jun 2013 07:27:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=umkFA5DUUQmDZxEkGx903cCEzOWRnZTun77VoHiRz7Q=; b=jMe1PK+AcZhKuO9l9DOHN4eDomfa5LpC52z+h6738ysUhs1sRr8EzroC8uyiR99m17 XpGfHopW4J4Q/6/kDL9zyMhRGGs5KKnxyZSE7ZCZbmnd6BIt4pg1wBWaIHs4bYLghMGw UJ1/1pPIYi1yyQRhO1jwDSWIeE2vRQaKycK3bN7k0D/mMNqScOCXrHDtJYG6rbWomThZ X8IrbTp8bPN2a0d+JVyIdrh/FXT0xPMbiCnqe5UmbAm1+yDRjgCJ1WEcWYpruRSer4RG hTWnnusBUkF9zmRB47Cme7nS8IBbjLovLRy0UBEVDlSo16OxUDYlOQwCjSm5PO4HDDFU I8XQ== MIME-Version: 1.0 X-Received: by 10.194.77.66 with SMTP id q2mr13185471wjw.34.1370096865550; Sat, 01 Jun 2013 07:27:45 -0700 (PDT) Received: by 10.180.11.179 with HTTP; Sat, 1 Jun 2013 07:27:45 -0700 (PDT) Received: by 10.180.11.179 with HTTP; Sat, 1 Jun 2013 07:27:45 -0700 (PDT) In-Reply-To: References: Date: Sat, 1 Jun 2013 16:27:45 +0200 Message-ID: Subject: Re: FreeBSD10: lock order reversal with portsnap extract From: =?ISO-8859-1?Q?Fernando_Apestegu=EDa?= To: Walter Hurry Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: User Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jun 2013 14:27:46 -0000 El 01/06/2013 15:44, "Walter Hurry" escribi=F3: > > I'm installing FreeBSD10 (head; snapshot from 30 May 2013) into a VM. > > One of the first things I do is a 'portsnap fetch extract'. As soon as > the extract starts it produces a 'lock order reversal' message with a KDB > stack backtrace, but then proceeds successfully to verify the integrity > and install the ports tree. > > Should I worry? LORs should be avoided when possible but are not a bug per se. You should check the pages listed here[1] to see if your lor has already been reported. Cheers. [1] https://wiki.freebsd.org/LOR > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Sat Jun 1 14:38:31 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 714AA3DB for ; Sat, 1 Jun 2013 14:38:31 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 3A9EA1FB for ; Sat, 1 Jun 2013 14:38:30 +0000 (UTC) Received: from r56.edvax.de (port-92-195-136-185.dynamic.qsc.de [92.195.136.185]) by mx01.qsc.de (Postfix) with ESMTP id DED1C3CD98; Sat, 1 Jun 2013 16:38:22 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r51EcWIG001971; Sat, 1 Jun 2013 16:38:32 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 1 Jun 2013 16:38:32 +0200 From: Polytropon To: Warren Block Subject: Re: define more partitions in freebsd Message-Id: <20130601163832.d5951154.freebsd@edvax.de> In-Reply-To: References: <20130601092111.8c1ad1c0.freebsd@edvax.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: s m , freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jun 2013 14:38:31 -0000 On Sat, 1 Jun 2013 07:10:03 -0600 (MDT), Warren Block wrote: > On Sat, 1 Jun 2013, Polytropon wrote: > > On Sat, 1 Jun 2013 11:10:32 +0430, s m wrote: > > > >> my question is: how can i define more partitions on my freebsd? (for > >> example, ad3s1a, ..., ad3s1h, ad3s1i, ad3s1j, ...). > > > > You cannot. You need to use the GPT partitioning approach > > and repartition your disk. With gpart, you can create more > > than 'h' partitions, but the partitions will have different > > names, such as ad3s1p1, ad3s1p2, ..., ad3s1p10, ad3s1p11, ... > > and so on. > > GPT partitioning is a replacement for MBR partitioning, and will > generally look like ad3p1, ad3p2, and so on. Sorry for my inaccuracy: Of course the slicing part as well as the BSD partitions are _both_ replaced by GPT partition numbers. > Use of gpart to set up a disk is shown here: > http://www.wonkity.com/~wblock/docs/html/disksetup.html That article should be on the top of each list regarding disk partitioning on FreeBSD, maybe something comparable could be added to the Handbook? > The FreeBSD 9.x installer, bsdinstall, uses GPT partitioning by default. > The older sysinstall that is used on FreeBSD 8 does not, and probably > has no native way to use GPT. As far as I know: no. You have to use the common CLI tools if you want to install FreeBSD 8 on a GPT system (but it's easily possible). > The partitions would have to be set up > manually from a shell before running the installer, and then manually > entered in the installer. With the precaution of _not_ to vary existing partitions. However, I don't know how the installer will handle the non-MBR partitions (probably comparable to dedicated partitions?), I've never tried that. (Even for dedicated layout, I personally tend to use CLI only, without using sysinstall or sade). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Jun 1 14:41:38 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 57126484 for ; Sat, 1 Jun 2013 14:41:38 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 1F924214 for ; Sat, 1 Jun 2013 14:41:38 +0000 (UTC) Received: from r56.edvax.de (port-92-195-136-185.dynamic.qsc.de [92.195.136.185]) by mx01.qsc.de (Postfix) with ESMTP id 659683CD9F; Sat, 1 Jun 2013 16:41:37 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id r51Efls4001977; Sat, 1 Jun 2013 16:41:47 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 1 Jun 2013 16:41:47 +0200 From: Polytropon To: "Thomas Mueller" Subject: Re: define more partitions in freebsd Message-Id: <20130601164147.98270430.freebsd@edvax.de> In-Reply-To: <164411.98747.bm@smtp105.sbc.mail.bf1.yahoo.com> References: <20130601092111.8c1ad1c0.freebsd@edvax.de> <164411.98747.bm@smtp105.sbc.mail.bf1.yahoo.com> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jun 2013 14:41:38 -0000 On Sat, 1 Jun 2013 05:36:13 -0700 (PDT), Thomas Mueller wrote: > > On Sat, 1 Jun 2013 11:10:32 +0430, s m wrote: > > hello all > > > > > i want to install freebsd8.2 on my system. for some reasons, i need > > > partitions more than 6. my freebsd just allow me to define partitions > > > from a to h, not any more. > > > That's correct and expected for the MBR partitioning approach > > (which is considered "mostly outdated" today). > > > > > > i checked FreeBSD handbook, but it doesn't say anything about defining > > > more partitions. > > > Because you _cannot_ define more partitions than up to 'h'. > > This is a hard-defined limit of MBR-style partitions (as > > they are initialized with bsdlabel). > > > > > > my question is: how can i define more partitions on my freebsd? (for > > > example, ad3s1a, ..., ad3s1h, ad3s1i, ad3s1j, ...). > > > You cannot. You need to use the GPT partitioning approach > > and repartition your disk. With gpart, you can create more > > than 'h' partitions, but the partitions will have different > > names, such as ad3s1p1, ad3s1p2, ..., ad3s1p10, ad3s1p11, ... > > and so on. > > > > Polytropon > > Magdeburg, Germany > > Happy FreeBSD user since 4.0 > > Andra moi ennepe, Mousa, ... > > > Are you sure of this? Can you GPT-partition an MBR slice as > opposed to the whole disk? Probably not. GPT "obsoletes" both slices and partitions. > You should get ad3p1, ad3p2, ...,ad3p10, ad3p11, ... That is what I should have written. :-) > Then you would have to migrate an MBR partition table to GPT, > if you have non-FreeBSD slices. I don't know if gpart can do > that, but Rod Smith's gdisk (included in FreeBSD ports) or > gpt (still used in NetBSD but not FreeBSD) can. The "simplest" approach would probably be to backup the data from the existing partitions, re-inialize the whole disk with a GPT scheme, format the (GPT) partitions and then restore the dump previously taken. I'm not sure if such kind of "harsh re-partitioning" can be done _safely_ on the fly... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Jun 1 14:42:17 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 56741515 for ; Sat, 1 Jun 2013 14:42:17 +0000 (UTC) (envelope-from vadims@libre.lv) Received: from mail.skynet.lv (mail.skynet.lv [195.244.128.84]) by mx1.freebsd.org (Postfix) with ESMTP id 19383221 for ; Sat, 1 Jun 2013 14:42:16 +0000 (UTC) Received: from mail.skynet.lv (localhost [127.0.0.1]) by mail.skynet.lv (Postfix) with ESMTP id C5FE8509CB for ; Sat, 1 Jun 2013 17:43:02 +0300 (EEST) Received: from vbsd (unknown [87.110.30.129]) by mail.skynet.lv (Postfix) with ESMTPSA id A2333509CA for ; Sat, 1 Jun 2013 17:43:02 +0300 (EEST) Date: Sat, 1 Jun 2013 17:42:08 +0300 (EEST) From: vadims@libre.lv To: freebsd-questions@freebsd.org Subject: cannot ftp using proxy Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jun 2013 14:42:17 -0000 Hello! Still can't resolve problem with "ftp" utility. root@ona:/root # ftp ftp2.freebsd.org ftp: Can't connect to `128.205.32.24:21': Operation timed out ftp: Can't connect to `ftp2.freebsd.org:ftp' ftp> "socksta -4" tells me that it is not even trying to connect to proxy server, connecting directly instead: root@ona:/root # sockstat -4 USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root ftp 54160 3 tcp4 10.10.15.26:50457 128.205.32.24:21 root@ona:/root # uname -a FreeBSD ona.iem.gov.lv 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:27:25 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 root@ona:/root # env TERM=screen ftp_proxy=http://myproxy:8080 http_proxy=http://myproxy:8080 PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/csh HOME=/root USER=root HOSTTYPE=FreeBSD VENDOR=amd OSTYPE=FreeBSD MACHTYPE=x86_64 SHLVL=1 PWD=/root LOGNAME=root GROUP=wheel HOST=ona EDITOR=vi PAGER=more BLOCKSIZE=K Tried to google with no luck - no solution works for me. By the way, "fetch" works as expected, I can fetch and install ports. I would appreciate any help and/or any hints! Best regards! VS. From owner-freebsd-questions@FreeBSD.ORG Sat Jun 1 15:54:03 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A111E415 for ; Sat, 1 Jun 2013 15:54:03 +0000 (UTC) (envelope-from carlj@peak.org) Received: from mail-pb0-x234.google.com (mail-pb0-x234.google.com [IPv6:2607:f8b0:400e:c01::234]) by mx1.freebsd.org (Postfix) with ESMTP id 76C285F1 for ; Sat, 1 Jun 2013 15:54:03 +0000 (UTC) Received: by mail-pb0-f52.google.com with SMTP id xa12so3724142pbc.11 for ; Sat, 01 Jun 2013 08:54:02 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-authentication-warning:from:to:subject:references :mail-followup-to:date:in-reply-to:message-id:user-agent :mime-version:content-type:x-gm-message-state; bh=o73r/TPXCpWbKu0mf0FLu868rDFPTbpcVvhMr9Xk46o=; b=ghe7GVsQngtTYKB45R2AiFby+MN0z25/wHKQao/p8kMYkbFOsqiR31Nyksqid6JGQO 3jPua8gwWUKp8+rh8TwnBRlRbxX+FO3URHP+LTJ4UoxWCfcwH77r9pS+wpcMU4bA3sFM 3CwOz1oisNKWCqrPiJF/EpQ3if6EZEXpq1fLbdVNSNxlQxft8gqEGx1CzgKc9l3NGi8z cbfhUQj60xJlhGEqj5gcAXiL8wTDUpmjKPQL1sL4Id0+kTNgEJG0rlHMgxr4bY8ho4ut ixofmZpORiJvH+m7M//020LRXGz9aiMHM4xQ5NZ+B0iceplxzeS8xtvJkWM98SPSafAj fPOQ== X-Received: by 10.66.121.132 with SMTP id lk4mr18591404pab.1.1370102042770; Sat, 01 Jun 2013 08:54:02 -0700 (PDT) Received: from bonsai.localnet ([207.55.107.62]) by mx.google.com with ESMTPSA id k3sm2132708pbc.23.2013.06.01.08.54.01 for (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 01 Jun 2013 08:54:01 -0700 (PDT) Received: from oak.localnet (oak.localnet [192.168.193.34]) by bonsai.localnet (Postfix) with ESMTP id C5A223D5B4 for ; Sat, 1 Jun 2013 08:53:59 -0700 (PDT) Received: from oak.localnet (localhost.localnet [127.0.0.1]) by oak.localnet (Postfix) with ESMTP id 9893DCB44 for ; Sat, 1 Jun 2013 08:53:59 -0700 (PDT) Received: (from carlj@localhost) by oak.localnet (8.14.5/8.14.5/Submit) id r51Frxfl045053; Sat, 1 Jun 2013 08:53:59 -0700 (PDT) (envelope-from carlj@peak.org) X-Authentication-Warning: oak.localnet: carlj set sender to carlj@peak.org using -f From: Carl Johnson To: freebsd-questions@freebsd.org Subject: Re: define more partitions in freebsd References: Mail-Followup-To: freebsd-questions@freebsd.org Date: Sat, 01 Jun 2013 08:53:59 -0700 In-Reply-To: (s. m.'s message of "Sat, 1 Jun 2013 11:10:32 +0430") Message-ID: <87y5atg73c.fsf@oak.localnet> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Gm-Message-State: ALoCoQkqBbtnB3PVab8YuKedhaaBbanDZ/nEuRlRdSEo2lCCItbw3ani+u3l32LFbfuh8LiKMndY X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jun 2013 15:54:03 -0000 s m writes: > hello all > > i want to install freebsd8.2 on my system. for some reasons, i need > partitions more than 6. my freebsd just allow me to define partitions > from a to h, not any more. > > i checked FreeBSD handbook, but it doesn't say anything about defining > more partitions. > > my question is: how can i define more partitions on my freebsd? (for > example, ad3s1a, ..., ad3s1h, ad3s1i, ad3s1j, ...). > > any comments or hints are appreciated. > SAM Others have already commented that GPT labels are better, but I think that you can have more than 8 partitions. I remember a posting a while back that the maximum had been increased. You will have to experiment if you want to do this, but gpart shows an example that uses 20 partitions: '/sbin/gpart create -s BSD -n 20 ada0s1'. I also don't know that bsdlabel will handle these, so you definitely should experiment first. -- Carl Johnson carlj@peak.org From owner-freebsd-questions@FreeBSD.ORG Sat Jun 1 18:22:47 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B2C7A6E4 for ; Sat, 1 Jun 2013 18:22:47 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from flat.berklix.org (flat.berklix.org [83.236.223.115]) by mx1.freebsd.org (Postfix) with ESMTP id 49B63A3E for ; Sat, 1 Jun 2013 18:22:46 +0000 (UTC) Received: from mart.js.berklix.net (pD9FBE579.dip0.t-ipconnect.de [217.251.229.121]) (authenticated bits=128) by flat.berklix.org (8.14.5/8.14.5) with ESMTP id r51IMgEV008239; Sat, 1 Jun 2013 20:22:42 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by mart.js.berklix.net (8.14.3/8.14.3) with ESMTP id r51IMdhD055286; Sat, 1 Jun 2013 20:22:39 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.4/8.14.4) with ESMTP id r51IMTSc055873; Sat, 1 Jun 2013 20:22:34 +0200 (CEST) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201306011822.r51IMTSc055873@fire.js.berklix.net> To: Walter Hurry Subject: Re: FreeBSD10: lock order reversal with portsnap extract From: "Julian H. Stacey" Organization: http://berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Sat, 01 Jun 2013 13:43:47 -0000." Date: Sat, 01 Jun 2013 20:22:29 +0200 Sender: jhs@berklix.com Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jun 2013 18:22:47 -0000 Hi, Reference: > From: Walter Hurry > Date: Sat, 1 Jun 2013 13:43:47 +0000 (UTC) Walter Hurry wrote: > I'm installing FreeBSD10 (head; snapshot from 30 May 2013) into a VM. > > One of the first things I do is a 'portsnap fetch extract'. As soon as > the extract starts it produces a 'lock order reversal' message with a KDB > stack backtrace, but then proceeds successfully to verify the integrity > and install the ports tree. > > Should I worry? Yes, you should worry ;-) Worry you didn't realise: a) questions@ list was created originally for beginners b) the so called 10 is actually current for that you should subscribe @ ask on current@freebsd.org Best go review the descriptions of the 50 odd lists we have on @freebsd.org Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultant, Munich http://berklix.com Reply below not above, like a play script. Indent old text with "> ". Send plain text. No quoted-printable, HTML, base64, multipart/alternative. From owner-freebsd-questions@FreeBSD.ORG Sat Jun 1 18:37:52 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id DF242849 for ; Sat, 1 Jun 2013 18:37:52 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id A346DA99 for ; Sat, 1 Jun 2013 18:37:52 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UiqgY-0007qd-KL for freebsd-questions@freebsd.org; Sat, 01 Jun 2013 20:37:50 +0200 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 Jun 2013 20:37:50 +0200 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 01 Jun 2013 20:37:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Re: FreeBSD10: lock order reversal with portsnap extract Date: Sat, 1 Jun 2013 18:37:34 +0000 (UTC) Lines: 26 Message-ID: References: <201306011822.r51IMTSc055873@fire.js.berklix.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jun 2013 18:37:52 -0000 On Sat, 01 Jun 2013 20:22:29 +0200, Julian H. Stacey wrote: > Hi, Reference: >> From: Walter Hurry >> Date: Sat, 1 Jun 2013 13:43:47 +0000 (UTC) > > Walter Hurry wrote: >> I'm installing FreeBSD10 (head; snapshot from 30 May 2013) into a VM. >> >> One of the first things I do is a 'portsnap fetch extract'. As soon as >> the extract starts it produces a 'lock order reversal' message with a >> KDB stack backtrace, but then proceeds successfully to verify the >> integrity and install the ports tree. >> >> Should I worry? > > Yes, you should worry ;-) > > Worry you didn't realise: > a) questions@ list was created originally for beginners b) the so > called 10 is actually current > for that you should subscribe @ ask on current@freebsd.org > Best go review the descriptions of the 50 odd lists we have on > @freebsd.org > Oh, OK. Sorry. Will do. From owner-freebsd-questions@FreeBSD.ORG Sat Jun 1 20:31:03 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 6C92AC19 for ; Sat, 1 Jun 2013 20:31:03 +0000 (UTC) (envelope-from freebsdenml@fuckaround.org) Received: from mr003msr.fastwebnet.it (mr003msr.fastwebnet.it [85.18.95.66]) by mx1.freebsd.org (Postfix) with ESMTP id 012D6E11 for ; Sat, 1 Jun 2013 20:31:02 +0000 (UTC) Received: from server1.fuckaround.org (93.49.16.11) by mr003msr.fastwebnet.it (8.5.140.03) id 51A3567700A1ACCC for freebsd-questions@freebsd.org; Sat, 1 Jun 2013 22:30:55 +0200 Received: by server1.fuckaround.org (Postfix, from userid 65534) id 1C363758310; Sat, 1 Jun 2013 22:30:55 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on server1.fuckaround.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=7.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.1 Received: from [10.10.10.17] (unknown [10.10.10.17]) by server1.fuckaround.org (Postfix) with ESMTP id 22EDE75830F for ; Sat, 1 Jun 2013 22:30:50 +0200 (CEST) Message-ID: <51AA5AB3.7050207@fuckaround.org> Date: Sat, 01 Jun 2013 22:33:55 +0200 From: Pol Hallen User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: quota advice Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jun 2013 20:31:03 -0000 Hello all :-) I using quota and I've a doubt: many howto advice to put to cron something like: quotacheck -vguma but the problem is: quotacheck: Quota for users is enabled on mountpoint /data so quotacheck might damage the file. Please turn quotas off or use -f to force checking. So... can be a good idea, put: quotaoff -a quotacheck -vguma quotaon -a to script to do this check or there is another way? thanks for help! Pol From owner-freebsd-questions@FreeBSD.ORG Sat Jun 1 20:38:43 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2CD2EEA3 for ; Sat, 1 Jun 2013 20:38:43 +0000 (UTC) (envelope-from lokadamus@gmx.de) Received: from mout.gmx.net (mout.gmx.net [212.227.17.21]) by mx1.freebsd.org (Postfix) with ESMTP id C0D38E4E for ; Sat, 1 Jun 2013 20:38:42 +0000 (UTC) Received: from mailout-de.gmx.net ([10.1.76.19]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0Lhhfz-1U5i4z1LE1-00ms2H for ; Sat, 01 Jun 2013 22:38:36 +0200 Received: (qmail invoked by alias); 01 Jun 2013 20:38:36 -0000 Received: from 31-18-17-251-dynip.superkabel.de (EHLO [192.168.0.144]) [31.18.17.251] by mail.gmx.net (mp019) with SMTP; 01 Jun 2013 22:38:36 +0200 X-Authenticated: #3333826 X-Provags-ID: V01U2FsdGVkX198MpQUG998Uh8gIk5zlMSUQnNQcvQ5zIJfVwEs5j R6UPLtqbNFJnjK Message-ID: <51AA5BD2.9020907@gmx.de> Date: Sat, 01 Jun 2013 22:38:42 +0200 From: "lokadamus@gmx.de" User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:15.0) Gecko/20120909 Thunderbird/15.0 MIME-Version: 1.0 To: ml@fuckaround.org Subject: Re: openvpn and tap device References: <51A52C3F.6010809@fuckaround.org> <51A5B013.5020905@qeng-ho.org> <201305291752.45910.ml@fuckaround.org> In-Reply-To: <201305291752.45910.ml@fuckaround.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jun 2013 20:38:43 -0000 On 29.05.2013 17:52, Pol Hallen wrote: >> It's a while since I looked at OpenVPN, so this is from unreliable >> memory, but IIRC it uses tap devices under Windows and tun devices under >> Unix(ish) OSes. Do you see tun0 appear? > sorry for the mistake: tun device > > I don't have any tun devices but I can use openvpn to connect to other vpn > client Do you start openvpn from console or have you a log- file for openvpn? There stand, what openvpn is doing and how it connect. > Pol > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Sat Jun 1 20:47:09 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 53DBDF4; Sat, 1 Jun 2013 20:47:09 +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 24B33E92; Sat, 1 Jun 2013 20:47:08 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.15]) by ltcfislmsgpa01.fnfis.com (8.14.5/8.14.5) with ESMTP id r51Kl7tB008555 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sat, 1 Jun 2013 15:47:07 -0500 Received: from LTCFISWMSGMB21.FNFIS.com ([10.132.99.23]) by LTCFISWMSGHT04.FNFIS.com ([10.132.206.15]) with mapi id 14.02.0309.002; Sat, 1 Jun 2013 15:47:07 -0500 From: "Teske, Devin" To: "" Subject: Re: openvpn and tap device Thread-Topic: openvpn and tap device Thread-Index: AQHOW/CyvqY4g3r690ezZApxTUuPxpkcGoGAgACKjYCABQk8AA== Date: Sat, 1 Jun 2013 20:47:06 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7201F6CA47@ltcfiswmsgmb21> References: <51A52C3F.6010809@fuckaround.org> <51A5B013.5020905@qeng-ho.org> <201305291752.45910.ml@fuckaround.org> In-Reply-To: <201305291752.45910.ml@fuckaround.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.126] Content-Type: text/plain; charset="us-ascii" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626, 1.0.431, 0.0.0000 definitions=2013-06-01_07:2013-05-31,2013-06-01,1970-01-01 signatures=0 Cc: Devin Teske , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jun 2013 20:47:09 -0000 On May 29, 2013, at 8:52 AM, Pol Hallen wrote: >> It's a while since I looked at OpenVPN, so this is from unreliable >> memory, but IIRC it uses tap devices under Windows and tun devices under >> Unix(ish) OSes. Do you see tun0 appear? >=20 > sorry for the mistake: tun device >=20 > I don't have any tun devices but I can use openvpn to connect to other vp= n=20 > client >=20 tun devices are used with software like vpnc in my experience. --=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.