From owner-freebsd-questions@FreeBSD.ORG Sun Oct 14 00:04:30 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B713816E for ; Sun, 14 Oct 2012 00:04:30 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoom.lafn.org (zoom.lafn.org [108.92.93.123]) by mx1.freebsd.org (Postfix) with ESMTP id 735488FC0C for ; Sun, 14 Oct 2012 00:04:30 +0000 (UTC) Received: from [10.0.12.7] (cpe-50-113-125-70.san.res.rr.com [50.113.125.70]) (authenticated bits=0) by zoom.lafn.org (8.14.3/8.14.2) with ESMTP id q9E04T6s059568 for ; Sat, 13 Oct 2012 17:04:29 -0700 (PDT) (envelope-from bc979@lafn.org) From: Doug Hardie Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: send-pr Submission Times Date: Sat, 13 Oct 2012 17:04:28 -0700 Message-Id: <81FE73D7-42C3-4E40-A09C-A8907B341D5E@lafn.org> To: "questions@FreeBSD.org Questions" Mime-Version: 1.0 (Apple Message framework v1283) X-Mailer: Apple Mail (2.1283) X-Virus-Scanned: clamav-milter 0.97 at zoom.lafn.org X-Virus-Status: Clean 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, 14 Oct 2012 00:04:30 -0000 I sent a PR using send-pr earlier today. However, after having sent it = and received a line that said it was submitted, I realized I didn't = include my email address. Somehow I completely overlooked that. I have = been waiting for it to show up in the on-line indexes, but it hasn't so = far. How long does that process normally take? I am wondering if it = was just dropped because of the lack of the email address. From owner-freebsd-questions@FreeBSD.ORG Sun Oct 14 00:13:14 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A2B463E5 for ; Sun, 14 Oct 2012 00:13:14 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (mail1.sourcehosting.net [74.205.51.45]) by mx1.freebsd.org (Postfix) with ESMTP id 71A058FC08 for ; Sun, 14 Oct 2012 00:13:14 +0000 (UTC) Received: from 24-181-237-39.dhcp.oxfr.ma.charter.com ([24.181.237.39] helo=Gregory-Larkins-iMac.local) by mail1.sourcehosting.net with esmtp (Exim 4.73 (FreeBSD)) (envelope-from ) id 1TNBpJ-0004jK-Qh; Sat, 13 Oct 2012 20:13:08 -0400 Received: from Gregory-Larkins-iMac.local (localhost [127.0.0.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by Gregory-Larkins-iMac.local (Postfix) with ESMTPS id 7A4BA1700477; Sat, 13 Oct 2012 20:13:05 -0400 (EDT) Message-ID: <507A0390.2040704@FreeBSD.org> Date: Sat, 13 Oct 2012 20:13:04 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: Doug Hardie References: <81FE73D7-42C3-4E40-A09C-A8907B341D5E@lafn.org> In-Reply-To: <81FE73D7-42C3-4E40-A09C-A8907B341D5E@lafn.org> X-SA-Exim-Connect-IP: 24.181.237.39 X-SA-Exim-Mail-From: glarkin@FreeBSD.org X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail1.sourcehosting.net X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00, RCVD_IN_SORBS_DUL,RDNS_DYNAMIC,TVD_RCVD_IP autolearn=no version=3.3.1 Subject: Re: send-pr Submission Times Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on mail1.sourcehosting.net) Cc: "questions@FreeBSD.org Questions" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Oct 2012 00:13:14 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat Oct 13 20:04:28 2012, Doug Hardie wrote: > I sent a PR using send-pr earlier today. However, after having sent it and received a line that said it was submitted, I realized I didn't include my email address. Somehow I completely overlooked that. I have been waiting for it to show up in the on-line indexes, but it hasn't so far. How long does that process normally take? I am wondering if it was just dropped because of the lack of the email address. > > > _______________________________________________ > 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" Hi Doug, Check your outbound mail queue, and perhaps it is stuck in there. Also, look at the send-pr man page and the use of the PR_FORM environment variable. You can create a default send-pr template, save it as a file and put the filename in PR_FORM. The next time you start send-pr, your PR will be populated from the template. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/cpucycle/ - Follow you, follow me -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (Darwin) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlB6A5AACgkQ0sRouByUApAPjQCfVlcDm8iK4zxbLnrL2VZgataI NLMAnAmobdYvs42FyPQpYSMe8rgRMfve =0SIr -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Sun Oct 14 00:29:20 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 620A48BA for ; Sun, 14 Oct 2012 00:29:20 +0000 (UTC) (envelope-from kline@thought.org) Received: from p3plsmtpa06-06.prod.phx3.secureserver.net (p3plsmtpa06-06.prod.phx3.secureserver.net [173.201.192.107]) by mx1.freebsd.org (Postfix) with ESMTP id 38EAC8FC08 for ; Sun, 14 Oct 2012 00:29:20 +0000 (UTC) Received: from ethic.thought.org ([209.180.213.209]) by p3plsmtpa06-06.prod.phx3.secureserver.net with id AoSi1k00C4XeM0101oSkGH; Sat, 13 Oct 2012 17:26:44 -0700 Date: Sat, 13 Oct 2012 17:26:42 -0700 From: Gary Kline To: Polytropon Subject: Re: editing pdf files Message-ID: <20121014002642.GA26447@ethic.thought.org> References: <5074A6B9.8040209@dreamchaser.org> <5078641D.4050905@passap.ru> <20121012234628.GA11112@ethic.thought.org> <20121013131907.c666bfc2.freebsd@edvax.de> <20121013204701.GE14155@ethic.thought.org> <20121013231536.c703bc21.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121013231536.c703bc21.freebsd@edvax.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD 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: Sun, 14 Oct 2012 00:29:20 -0000 On Sat, Oct 13, 2012 at 11:15:36PM +0200, Polytropon wrote: > On Sat, 13 Oct 2012 13:47:01 -0700, Gary Kline wrote: > > On Sat, Oct 13, 2012 at 01:19:07PM +0200, Polytropon wrote: > > > On Fri, 12 Oct 2012 16:46:28 -0700, Gary Kline wrote: > > > > > > The disassembling can be done with > > > > > > % pdfimages source.pdf . > > > > > > Then the files can be edited whatever tool you like, e. g. Gimp. > > > They often come out in PBM format. > > > > > > > > > A qstn I should have asked last time. this book is a history or > > bio of richland county, ohio:: in type, it's like 650 or more > > pages. SO: Is pdfimages going to spit of 6t50 files? as noted > > in last email, only a couple of these images are of any interest > > Depends on what actually _is_ in the PDF file. If every page is > represented as a picture, 650 pictures will be created. If it > contains text _and_ images, the images will be output, if will > _only_ output the images, with no real realtion to where they > have been placed in the text. As suggested by the name "pdfimages" > it takes the images from the PDF file. :-) > > The easiest way to check for possible text is to install xpdf > which brings the binary "pdftotext" (if I remember correctly that > this tool is in _that_ package). You can then use it like this: > > % pdftotext source.pdf > > It will create "source.txt" with all actual text (but of course > without _any_ formatting except line breaks and ^L page breaks), > including page numbers. But hey, it's pure ASCII text suitable > for further processing. :-) > > Run "pdftotext" without parameters for a short summary of its > parameters; "man pdftotext" is also provided. > Well, then my original instincts were right. I ran the pdftotext and nothing but the page numbers were there. rats. oh-well, at least I can type in byhhand what I want:) > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Twenty-six years of service to the Unix community. From owner-freebsd-questions@FreeBSD.ORG Sun Oct 14 01:57:30 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id C5836267 for ; Sun, 14 Oct 2012 01:57:30 +0000 (UTC) (envelope-from cjr@cruwe.de) Received: from wp376.webpack.hosteurope.de (wp376.webpack.hosteurope.de [IPv6:2a01:488:42::50ed:8591]) by mx1.freebsd.org (Postfix) with ESMTP id 859238FC19 for ; Sun, 14 Oct 2012 01:57:30 +0000 (UTC) Received: from p5b379bdc.dip.t-dialin.net ([91.55.155.220] helo=dijkstra.cruwe.de); authenticated by wp376.webpack.hosteurope.de running ExIM with esmtpsa (SSL3.0:DHE_RSA_AES_128_CBC_SHA1:16) id 1TNDSK-0001cM-IH; Sun, 14 Oct 2012 03:57:28 +0200 Date: Sun, 14 Oct 2012 03:57:20 +0200 From: "Christopher J. Ruwe" To: Subject: poudriere amassing fetch errors Message-ID: <20121014035720.1eb3c7d4@dijkstra.cruwe.de> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;cjr@cruwe.de;1350179850;3f2b2059; 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, 14 Oct 2012 01:57:30 -0000 Hello, for some time I have noticed that poudriere bulk build amass fetch errors, i.e., the corresponding distfile(s) cannot be fetched by the build jail and I have to fetch these manually. Does anybody know a fix to this unnerving condition? Cheers, -- Christopher J. Ruwe TZ: GMT + 2h GnuPG/GPG: 0xE8DE2C14 From owner-freebsd-questions@FreeBSD.ORG Sun Oct 14 01:58:13 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 95C27348 for ; Sun, 14 Oct 2012 01:58:13 +0000 (UTC) (envelope-from darcsis@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id 632938FC19 for ; Sun, 14 Oct 2012 01:58:13 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi1so4126876pad.13 for ; Sat, 13 Oct 2012 18:58:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:references:user-agent:x-envelope-to :mail-followup-to:date:message-id:mime-version:content-type; bh=vGgAVxYS7BNIYMfwX8EGAmMbZEcxfNadJvH3kngxtF8=; b=HLr9n9lHtXx14GUWJuolu52KDvDWz2roUIqGI3dAczFEl8FzIaq9I8rdO0NvjTuPrH k61pxX7UmOKQqfUr6IPnr3AOmLhrQgb/FHZ7R0MxCNKT+O6V3ZW033OiChHBHZdsvEYI xpwHzpRprcvHm44KaW8qv8WzRV5OqSlq1I4gcaRW/rJUVg8g4tNsZwqrQXvNAtxMUz9i JIbAwcaCRU2UGqC0XazUYsZsH77xfZIy5P8/Hctzve6zySqVq+3SEkuZwzNSqT6jh6Dn GEVOYL3Kz1vSbtfttn3hY2s63Sq62NFO9UxJi9KOcihCATqThrNnYalBXyAl4mg7igag IzTw== Received: by 10.66.87.73 with SMTP id v9mr22535308paz.1.1350179892665; Sat, 13 Oct 2012 18:58:12 -0700 (PDT) Received: from localhost ([125.34.64.49]) by mx.google.com with ESMTPS id ky6sm6778603pbc.18.2012.10.13.18.58.08 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 13 Oct 2012 18:58:11 -0700 (PDT) From: darcsis@gmail.com (Denise H. G.) To: Jos Chrispijn Subject: Re: FreeBSD9 - Fresh install (2) In-Reply-To: <5079ABFA.8050607@webrz.net> (Jos Chrispijn's message of "Sat, 13 Oct 2012 19:59:22 +0200") References: <5079ABFA.8050607@webrz.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (berkeley-unix) X-Envelope-To: jos@webrz.net Mail-Followup-To: Jos Chrispijn , freebsd-questions@freebsd.org Date: Sun, 14 Oct 2012 09:58:03 +0800 Message-ID: <86wqyt7r2s.fsf@venux.xbsd.name> 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Oct 2012 01:58:13 -0000 On 2012/10/14 at 01:59, Jos Chrispijn wrote: > > When setting up my 1TB harddisk for FreeBSD 9.0, I have some questions > about partioning: > I think of creating two partitions of 5Gb; one for the standard > FreeBSD file layour and a second one with a /backup slice on it. > Does this make sense? > > BR, > Jos Chrispijn > ................ If you intend to use ZFS, then backup would not be very difficult. I've just tried backing up my ZFS filesystem onto an external USB harddrive with just a few steps. -- 10 PRINT "HELLO, WORLD" From owner-freebsd-questions@FreeBSD.ORG Sun Oct 14 02:25:49 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 12BB5E42 for ; Sun, 14 Oct 2012 02:25:49 +0000 (UTC) (envelope-from shadowarrx@gmail.com) Received: from mail-bk0-f54.google.com (mail-bk0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 908318FC0C for ; Sun, 14 Oct 2012 02:25:48 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id jf20so1920350bkc.13 for ; Sat, 13 Oct 2012 19:25:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:to:subject; bh=SqAh64OxG7ZRLHCVRyBKlMyogfI+EaBgxf2d+eH+EBM=; b=XM6gW/ZtAnKXJC6EJ3pKkTjy9ThmjiyFEpbn+Hj4TE5oiK7NWLj31Y8tJmwKeUfCQA 1xaShzkCM88i4RlYOY6C3EkKj6gpabg1O9yhz2fnMdBY2Ad1aYHRBJ4WhGNKbQjuoH9u PT3JaXQIkom+7ezIOgMScAWFLZizJ6l0Fo/tQb0mU8DqROfssaJj9maPX3o863BvITis lPEWpzwAI/m4hnQDyZS6JlLDDH4gRhphkk47/WXAll2VriiCntz9H67agFT+MxFPiImL y6JRAHDlwQopeIEH1jWt2tRbpc5xsm0mIKEXX1dYBhSVEm76QYTdlrDOjDIC1BmzCNWG Qk3w== Received: by 10.204.9.9 with SMTP id j9mr2302884bkj.12.1350181540900; Sat, 13 Oct 2012 19:25:40 -0700 (PDT) Received: from localhost ([115.184.194.193]) by mx.google.com with SMTP id k21sm6866836bkv.1.2012.10.13.19.25.11 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 13 Oct 2012 19:25:40 -0700 (PDT) Message-ID: <507a22a4.5593cc0a.5707.643c@mx.google.com> Date: Sat, 13 Oct 2012 19:26:24 -0700 From: shadowarrx@gmail.com To: freebsd-questions@freebsd.org Subject: 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, 14 Oct 2012 02:25:49 -0000 gained $330 yesterday do this http://t.co/YQNCTinf From owner-freebsd-questions@FreeBSD.ORG Sun Oct 14 08:41:18 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A4AEA8F2 for ; Sun, 14 Oct 2012 08:41:18 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from avasout07.plus.net (avasout07.plus.net [84.93.230.235]) by mx1.freebsd.org (Postfix) with ESMTP id EE4B68FC0A for ; Sun, 14 Oct 2012 08:41:17 +0000 (UTC) Received: from curlew.milibyte.co.uk ([84.92.153.232]) by avasout07 with smtp id Awe61k002516WCc01we7EZ; Sun, 14 Oct 2012 09:38:07 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.0 cv=XOyyuHdE c=1 sm=1 a=lfSX4pPLp9EkufIcToJk/A==:17 a=rLpCYgkgFLgA:10 a=ZTb9aqGL9YkA:10 a=8nJEP1OIZ-IA:10 a=D7rCoLxHAAAA:8 a=lqfe9n3J01AA:10 a=rZcaUtd5QUXYnfmsW7UA:9 a=wPNLvfGTeEIA:10 a=lfSX4pPLp9EkufIcToJk/A==:117 Received: from curlew.lan ([192.168.1.13]) by curlew.milibyte.co.uk with esmtp (Exim 4.80) (envelope-from ) id 1TNJi2-0000up-6j for freebsd-questions@freebsd.org; Sun, 14 Oct 2012 09:38:06 +0100 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Sun, 14 Oct 2012 09:38:05 +0100 User-Agent: KMail/1.9.10 References: <5074A6B9.8040209@dreamchaser.org> <20121013131907.c666bfc2.freebsd@edvax.de> <20121013204701.GE14155@ethic.thought.org> In-Reply-To: <20121013204701.GE14155@ethic.thought.org> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201210140938.05760.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: 192.168.1.13 X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on curlew.lan X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=ham version=3.3.2 Subject: Re: editing pdf files Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on curlew.milibyte.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: Sun, 14 Oct 2012 08:41:18 -0000 On Saturday 13 October 2012 21:47:01 Gary Kline wrote: > =A0SO: Is pdfimages going to spit of 6t50 files? =A0as noted > =A0=A0=A0=A0=A0=A0=A0=A0in last email, only =A0a couple of these images a= re of any interest Probably. But Gimp accepts PDF files and gives you the option of importing= =20 images of individual selected pages. You might then be able to extract the= =20 text with some OCR software. =2D-=20 Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Sun Oct 14 09:42:54 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id F24FE654 for ; Sun, 14 Oct 2012 09:42:54 +0000 (UTC) (envelope-from gkontos.mail@gmail.com) Received: from mail-da0-f54.google.com (mail-da0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id C58078FC12 for ; Sun, 14 Oct 2012 09:42:54 +0000 (UTC) Received: by mail-da0-f54.google.com with SMTP id z9so2185111dad.13 for ; Sun, 14 Oct 2012 02:42:54 -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=WhpkVeEXuGd8AckYEuxX1eWUnKTtemB/jDnoXaIXprM=; b=bEyQhrFqOBt5SsDqgTKvkkU6SdGUjnCbjq2YqqSOO4ZuTfhGWc8Ts8PA5uSkpbMH/g UB5nXRlvbwqwP2lzSGD62FMqV3QXsNYaVBVJKUmPG/tcOoF3TRP01qToq/hb6F5s6AZM EbMOtfNzwhadiuBrmu/KTeLSrh6khZI5a9zyitUrAw+0g86Ts4QggSMOTHTXJFYBgrIc UOxQI8nv2JB929RImYVYemSXdvh+ELbzoq3QOOa4TqJ6zmmbR8WTD01diyTw3T9XwZ83 /KBwteCXz3rZ1/KZb15HRpidCsFfNcw8/Q7scocBzqhYbiB1714Q35sonZflR8vl6U20 UG0g== MIME-Version: 1.0 Received: by 10.68.234.7 with SMTP id ua7mr28319501pbc.91.1350207774119; Sun, 14 Oct 2012 02:42:54 -0700 (PDT) Received: by 10.68.194.72 with HTTP; Sun, 14 Oct 2012 02:42:54 -0700 (PDT) In-Reply-To: <20121010091855.GC4754@ozzmosis.com> References: <201210091554.24079.lumiwa@gmail.com> <20121010091855.GC4754@ozzmosis.com> Date: Sun, 14 Oct 2012 12:42:54 +0300 Message-ID: Subject: Re: FreeBSD 9.1 RC2 From: George Kontostanos To: freebsd-questions@freebsd.org 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, 14 Oct 2012 09:42:55 -0000 On Wed, Oct 10, 2012 at 12:18 PM, andrew clarke wrote: > On Tue 2012-10-09 15:54:23 UTC-0500, ajtiM (lumiwa@gmail.com) wrote: > >> I saw that is no more iso for FreeBSD RC1. Now is for RC2. Is it possible or >> better safe to use freebsd-update to update 9.1 RC1 to RC2, please? > > You can use "freebsd-update upgrade -r 9.1-RC2". > > Safe? You probably wouldn't want to use it on a production server. Use what? freebsd-update or RC2? We have productions machines running FreeBSD 9.1-beta1. The only reason why we don't upgrade them yet is because they are currently running very stable and a reboot is not even worth it. -- George Kontostanos --- http://www.aisecure.net From owner-freebsd-questions@FreeBSD.ORG Sun Oct 14 12:33:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E8D0E13A for ; Sun, 14 Oct 2012 12:33:40 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 5EAA08FC0A for ; Sun, 14 Oct 2012 12:33:39 +0000 (UTC) Received: from laptop3.herveybayaustralia.com.au (unknown [192.168.0.148]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id A60EE5C29 for ; Sun, 14 Oct 2012 22:42:31 +1000 (EST) Message-ID: <507AAF7A.9070909@herveybayaustralia.com.au> Date: Sun, 14 Oct 2012 22:26:34 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120728 Thunderbird/13.0.1 MIME-Version: 1.0 To: User Questions Subject: OT: gEDA, SPICE, electronic cad/simulation 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: Sun, 14 Oct 2012 12:33:41 -0000 I'm struggling with this damn gEDA/SPICE thing - I think I have gEDA schem figured, but I can't be sure because I can't test it. For the life of me I can't seem to get my head around it, but then I might just be too tired. Can anyone point out what I'm missing? I open geda, create a sch file (circuit), and then run gnetlist -g spice-sdb . I then run ngspice (or gspiceui) but it comes up with errors over the 555 (U1) and diodes (d?) I'm running like this: Error on line 9 : d1 2 0 unknown unable to find definition of model unknown - default assumed Error on line 13 : u1 0 4 3 +9v 1 4 5 +9v unknown unable to find definition of model +9v - default assumed unknown parameter (4) Doing analysis at TEMP = 27.000000 and TNOM = 27.000000 CPU time since last call: 0.040 seconds. Total CPU time: 0.040 seconds. Current dynamic memory usage = 0 bytes, Dynamic memory limit = 32742.316406 MB. Warning: can't parse '0': ignored Warning: can't parse '0': ignored Warning: can't parse '0': ignored Warning: singular matrix: check nodes 1 and 1 Warning: singular matrix: check nodes 1 and 1 Note: starting dynamic Gmin stepping Trying gmin = 1.0000E-03 Note: One successful Gmin step Trying gmin = 1.0000E-04 Note: One successful Gmin step Trying gmin = 1.0000E-05 Note: One successful Gmin step Trying gmin = 1.0000E-06 Note: One successful Gmin step Trying gmin = 1.0000E-07 Note: One successful Gmin step Trying gmin = 1.0000E-08 Note: One successful Gmin step Trying gmin = 1.0000E-09 Note: One successful Gmin step Trying gmin = 1.0000E-10 Note: One successful Gmin step Trying gmin = 1.0000E-11 Note: One successful Gmin step Trying gmin = 1.0000E-12 Note: One successful Gmin step Trying gmin = 1.0000E-12 Note: One successful Gmin step Warning: singular matrix: check nodes 1 and 1 Warning: Dynamic Gmin stepping failed Note: starting source stepping Supplies reduced to 0.0000% Warning: singular matrix: check nodes 1 and 1 Trying gmin = 1.0000E-02 Note: One successful Gmin step Trying gmin = 1.0000E-03 Note: One successful Gmin step Trying gmin = 1.0000E-04 Note: One successful Gmin step Trying gmin = 1.0000E-05 Note: One successful Gmin step Trying gmin = 1.0000E-06 Note: One successful Gmin step Trying gmin = 1.0000E-07 Note: One successful Gmin step Trying gmin = 1.0000E-08 Note: One successful Gmin step Trying gmin = 1.0000E-09 Note: One successful Gmin step Trying gmin = 1.0000E-10 Note: One successful Gmin step Trying gmin = 1.0000E-11 Note: One successful Gmin step Trying gmin = 1.0000E-12 Note: One successful Gmin step Note: One successful source step Supplies reduced to 0.1000% Warning: singular matrix: check nodes 1 and 1 Supplies reduced to 0.0000% Warning: singular matrix: check nodes 1 and 1 Warning: source stepping failed doAnalyses: iteration limit reached run simulation(s) aborted Syntax error: expression not understood 'v(5)-v(+9v) v(3)-v(2) v(5)-v(4) v(+9v) v(1) v(2) v(3) v(4) v(5)'. There is nada on google about any of this - but I suspect it is missing model files or something, and before I go attaching to yet another mailing list, I thought I'd run it by here first as I'm sure there are some who use this and have experience with it on FreeBSD 9. TIA guys From owner-freebsd-questions@FreeBSD.ORG Sun Oct 14 14:02:20 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3C797A60 for ; Sun, 14 Oct 2012 14:02:20 +0000 (UTC) (envelope-from peter@vereshagin.org) Received: from mx1.skyriver.ru (ns1.skyriver.ru [89.108.118.221]) by mx1.freebsd.org (Postfix) with ESMTP id BE66A8FC12 for ; Sun, 14 Oct 2012 14:02:17 +0000 (UTC) Received: from localhost (exit-01b.noisetor.net [173.254.216.67]) by mx1.skyriver.ru (Postfix) with ESMTPSA id EE4705B62; Sun, 14 Oct 2012 18:02:06 +0400 (MSK) Date: Sun, 14 Oct 2012 18:01:48 +0400 From: Peter Vereshagin To: schultz@ime.usp.br Subject: Re: Sysctls and privacy Message-ID: <20121014140148.GA5344@external.screwed.box> References: <20121012095915.470864k9735iy883@webmail.ime.usp.br> <20121013101545.GA21274@external.screwed.box> <20121013120939.18067gfy2u4vdzjn@webmail.ime.usp.br> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <20121013120939.18067gfy2u4vdzjn@webmail.ime.usp.br> Organization: ' X-Face: 8T>{1owI$Byj]]a; ^G]kRf*dkq>E-3':F>4ODP[#X4s"dr?^b&2G@'3lukno]A1wvJ_L(~u 6>I2ra/<,j1%@C[LN=>p#_}RIV+#:KTszp-X$bQOj,K 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, 14 Oct 2012 14:02:20 -0000 Hello. 2012/10/13 12:09:39 -0300 schultz@ime.usp.br => To Peter Vereshagin : > > y > > Hello. > > > > it's a -questions@ here, right? (= > > Indeed. :-) Ouch! it's already not... But I Cc: there. Oops? > > What's a specific of the case? > > I need quite a lot of such "jails", with some being able to see others, > including the case where one "jail" may be visible to many. However, a > "jail" being visible does not mean it can be modified by the observing > "jail". Did you specify elsewhere what a 'visible' does mean to you? - if this means network connectivity then you can put jails on the same network, e. g. the same address on a lo(4) interface - if this means a read-only access to the directory located outside of a jail then her4e is the trick: mount_nullfs -o ro /path/to/inject /your/jail/mount/detination > The first implementation I thought of was using users and groups. I imagine > I can do this with jails and read-only mounts, but I would like to avoid > making a clean system per jail since disk space would not be enough. The same trick can be done for every directory the freebsd base system consists of. Excluding those different for each jail, e. g. /var, /etc. Nullfs daesn't consume your disk space except for additional fstab lines, something about a dozen per jail. (= > Also, the configuration of such environment is much, much simpler than > a jails version. I don't think so. It's a task of the configuration of a second system without hardware initialization and so on, and then spreading your configs around other jails. > To be sincere, I have not discarded the possibility of a jails solution > with clever mounts to preserve space, but it did not occur to me yet. > > > What changes? > > Changing the default permissions on devices (e.g sound), jail goes beyond with its jail_devfs_rules > not allowing > any file to be setuid and be visible to ordinary users, What do you mean 'visible' here? Do you just chmod a-rwx on them? Say, to avoid listing the /usr/bin/su you should chmod a-rx /usr/bin which is far from the best idea... > patching some ports to avoid attacks on /tmp > (X server), Sounds interesting but doesn't seem googleable to me. Any URLs for xorg patches and/or for the list of such a ports please? > exercising memory and process limits via rctl, Ouch! a RELENG_9 feature... > changing > some system configurations (see_other_uids, etc), disabling access to > the system log, stopping useless (to me) daemons, setting per user > ZFS quotas and probably a few more I can't remember at the moment. > > > What kind of danger is this? This system info expose seems nothing to do with > > making the system work unexpectedly. > > Indeed, but then all users might infer which programs are running and when. How could the one know out that from overall system statistics only? > It's not about consistency loss, it's about privacy loss. ok but that can be the loss of a privacy of some other user? > > You didn't mention you must have an outside network connection. Should your > > untrusted software have it? Just unplug it otherwise. > > The untrusted software runs for a reason, and that is I need its output. > Some outputs are not that amenable to verification (pdf files for instance), > and I can not exclude the possibility I myself might post some of these > outputs online, for instance. They may however, contain the logs. Sure. You can convert PDFs to the set of images, reassemble them into your own PDFs without the logs and post then. So without the need for the outside network connectivity there shouldn't be much care. (= > > You can make the special chroot/jail environment for the users keeping them > > away from the access to the binaries exposing sysctls. And permit them the > > write access only to the volumes mounted as '-o noexec'. > > > > There should be the way(s) to bypass this, at the least one of the > > DSLs e. g. > > ruby, python, perl, php used in that environment may provide API for sysctls > > or the modules can be built to use sysctl api from C. Thus you should keep > > your C compiler and any of the soucres e. g. /usr/src to present on that > > environment. > > > > Even with that who knows if your software doesn't use sysctl(3) > > functions. But > > the 'basic user programs' shouldn't. > > That is a real solution for the problem I have asked. However, for my > use cases not being able to produce executables is too restrictive. > > > I don't think it's possible at the moment. Do you think this can be > > implemented without performance loss? Sysctl is a kind of the kernel stuff... > > Assuming you did implement the user blocking code for the sysctls, I Can't remind that. (= > couldn't help but imagine the group one would be one added "if" that > checks membership of an UID to a group. Err... what? > > How about emaulators/qemu, virtualbox, etc? > > They are not security tools. But they can hide the system statistics and improve the privacy, the what you need having the consistency already? I have no idea if 'security' includes 'privacy', sorry. > Both qemu and virtualbox don't guarantee > the code isolated will not interfere with the host. But it seems to. What if the code isolated doesn't interfere? > Also, the memory > usage patterns of these programs are not exactly efficient (in the > case where the sum of all "jail" limits is large but actual usage is > small). Do you mean here the emulators never release memory allocated once? And why jail limits matter after that? Clarify please. > Thank you for the comprehensive answer. Took some avdvice from 'Leadership Cookbook"s like 'Always thank a one only for the something" ? (= -- Peter Vereshagin (http://vereshagin.org) pgp: A0E26627 From owner-freebsd-questions@FreeBSD.ORG Sun Oct 14 15:38:05 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1E9557A5 for ; Sun, 14 Oct 2012 15:38:05 +0000 (UTC) (envelope-from jnagyjr1978@gmail.com) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id BD11E8FC0A for ; Sun, 14 Oct 2012 15:38:04 +0000 (UTC) Received: by mail-gg0-f182.google.com with SMTP id l1so1184604ggn.13 for ; Sun, 14 Oct 2012 08:37:58 -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 :x-enigmail-version:openpgp:content-type; bh=DF3k5zYRjlBz8hUU3YZItz5tLEhK1HYRKLndIO5T1EU=; b=SrzdjMi94THm2dUdh52sDTw3CrFS+53KoUeVbJdFKmWL+rseb1d4ycMyIFnyTYqjBa DjVNLmbevUzPi58PzX5g1OKEzTOOXpBq+zzStLxCUVS4o3UxuSSsX/7FGHmoAKPwlxVr ghRKn6Okwfm5WyNSEAXX33yLUGP1mkWapLDkuyzIopPgSgmlPBL5vMJVArOX3tXyCK14 CgCS+PHBaEtcXn+2UhmV8RzY/Uxjh5bcTy2857i3jvaKrPwu5tXdlsV2VNazHE/SIRl8 FCi3ZYi8Z9QKhqo4rOHrmR7YB7JqgFNoXBeXGoMGgRsa8NfSfqD58QxwWiuHraQKTa+q zpVw== Received: by 10.236.137.208 with SMTP id y56mr8483406yhi.58.1350229078636; Sun, 14 Oct 2012 08:37:58 -0700 (PDT) Received: from [192.168.1.33] (vid-196.dhcp.grp10.tnmmrl.infoave.net. [204.116.254.196]) by mx.google.com with ESMTPS id o19sm11505629anh.0.2012.10.14.08.37.56 (version=SSLv3 cipher=OTHER); Sun, 14 Oct 2012 08:37:56 -0700 (PDT) Message-ID: <507ADC4B.3080907@gmail.com> Date: Sun, 14 Oct 2012 10:37:47 -0500 From: Joseph a Nagy Jr User-Agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121011 Thunderbird/16.0.1 MIME-Version: 1.0 To: FreeBSD Questions Subject: Graphiz broke because of swig X-Enigmail-Version: 1.4.5 OpenPGP: id=96C03037 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig9BDAE043ED3E3C0D478F3AAB" 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, 14 Oct 2012 15:38:05 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9BDAE043ED3E3C0D478F3AAB Content-Type: multipart/mixed; boundary="------------090109030703080201070106" This is a multi-part message in MIME format. --------------090109030703080201070106 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I was installing my system earlier (dual-boot Ubuntu 12.04LTS/FreeBSD 9.0; Ubuntu was already present) and while installing subversion, one of the many co-dependencies of the many programs that were being installed was graphviz. Apparently I selected some support options relating to swig that broke the compile of graphiz (and therefore everything else). Is there a way to remedy this? I'd rather not reinstall the entire system. Thanks. --=20 Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://owl.apotheon.org --------------090109030703080201070106-- --------------enig9BDAE043ED3E3C0D478F3AAB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlB63EsACgkQ/yysspbAMDeezQCfcY3CvJzOOby4KBB5wX3CjTsG tnIAnRwmzk+S4mD7uFwXULXqJeTYiF/d =qyJS -----END PGP SIGNATURE----- --------------enig9BDAE043ED3E3C0D478F3AAB-- From owner-freebsd-questions@FreeBSD.ORG Sun Oct 14 16:23:04 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 11A7A837; Sun, 14 Oct 2012 16:23:04 +0000 (UTC) (envelope-from naylor.b.david@gmail.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 667858FC08; Sun, 14 Oct 2012 16:23:02 +0000 (UTC) Received: by mail-wg0-f50.google.com with SMTP id 16so3500578wgi.31 for ; Sun, 14 Oct 2012 09:23:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:user-agent:mime-version:content-type :content-transfer-encoding:message-id; bh=yWAwpBu3DaFJAZNvC2k58ZJ01Y7kdHNWRQkdxyGMAJQ=; b=IMfpNVvKfdNVdIFexnFf7jZjfFmyvIsdJpcIF1K5/HojZ+JeyfieGb3VlwBejcxlcq Qk01qC11hxMERwPwa4/tv/MJA9y2EdqMVxuSaVJmWUKj5u3PMP2EoKGcDGwklP7iL/hw JHFmqzrAjYv24wS6XthmvP+5WZDkkevb/kMu1QgAZY9DntxHvG+j6jpgdUJCral1wJ3J liucmxLbML9tSEd5AdRvyhPN47Qpv5oZzjE+uJRZaCOoS9OtvQLhOi1NKYma0eKs/Vnq pKA8ONFVz/qBnGyNuRI3W/Qqm8AjomsU0SqxIzwnNEh46a7CIUPylU15V+reNd+E0xQa UyMA== Received: by 10.180.93.106 with SMTP id ct10mr18091247wib.8.1350231782258; Sun, 14 Oct 2012 09:23:02 -0700 (PDT) Received: from dragon.dg (41-132-211-149.dsl.mweb.co.za. [41.132.211.149]) by mx.google.com with ESMTPS id dm3sm10645184wib.3.2012.10.14.09.22.57 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 14 Oct 2012 09:23:00 -0700 (PDT) From: David Naylor To: freebsd-questions@freebsd.org, freebsd-emulation@freebsd.org Subject: Wine-fbsd64 updated to 1.5.15 (32bit Wine for 64bit FreeBSD) Date: Sun, 14 Oct 2012 18:22:50 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.1-PRERELEASE; KDE/4.9.1; amd64; ; ) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart43586132.CYU3U26mYL"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201210141822.53673.naylor.b.david@gmail.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: Sun, 14 Oct 2012 16:23:04 -0000 --nextPart43586132.CYU3U26mYL Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, Packages [1] for wine-fbsd64-1.5.15 have been uploaded to mediafire [2]. T= he=20 packages for FreeBSD 10 use the pkgng [3] format. =20 Please read the installation messages, if you use the nVidia graphics drive= r,=20 for further information. =20 If you are having trouble with the FreeBSD-9 packages, please update to a=20 newer version of FreeBSD. =20 Regards, David [1] MD5 (wine-1.5.x-freebsd8/wine-fbsd64-1.5.15,1.tbz) =3D=20 0e3f2bf82ed767c93924a048eb2945d5 MD5 (wine-1.5.x-freebsd9/wine-fbsd64-1.5.15.1.txz) =3D=20 4cf6a54d40dd65e48dd0ee6aa736832d MD5 (wine-1.5.x-freebsd10/wine-fbsd64-1.5.15,1.txz) =3D=20 8fa11946ced1ef05d74489c74be16815 [2] http://www.mediafire.com/wine_fbsd64 [3] http://wiki.freebsd.org/pkgng --nextPart43586132.CYU3U26mYL Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEABECAAYFAlB65t0ACgkQUaaFgP9pFrKA/ACfS6gEIn7Jdj2Spqb2QBSQ2xew EzYAnjcxv3y43zr7MCWirtbLOi6lAaAj =g6u4 -----END PGP SIGNATURE----- --nextPart43586132.CYU3U26mYL-- From owner-freebsd-questions@FreeBSD.ORG Sun Oct 14 17:11:34 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2091A990 for ; Sun, 14 Oct 2012 17:11:34 +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 7EDD48FC18 for ; Sun, 14 Oct 2012 17:11:33 +0000 (UTC) Received: from seedling.local (host109-151-152-121.range109-151.btcentralplus.com [109.151.152.121]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q9EHBSRC063940 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sun, 14 Oct 2012 18:11:29 +0100 (BST) (envelope-from matthew@FreeBSD.org) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q9EHBSRC063940 Authentication-Results: smtp.infracaninophile.co.uk/q9EHBSRC063940; dkim=none (no signature); dkim-adsp=none X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host host109-151-152-121.range109-151.btcentralplus.com [109.151.152.121] claimed to be seedling.local Message-ID: <507AF237.3060401@FreeBSD.org> Date: Sun, 14 Oct 2012 18:11:19 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Graphiz broke because of swig References: <507ADC4B.3080907@gmail.com> In-Reply-To: <507ADC4B.3080907@gmail.com> X-Enigmail-Version: 1.4.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF76849B703F3E3532C0EEA94" X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=1.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_PBL, RCVD_IN_SORBS_DUL,RDNS_DYNAMIC,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Level: * 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: Sun, 14 Oct 2012 17:11:34 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF76849B703F3E3532C0EEA94 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 14/10/2012 16:37, Joseph a Nagy Jr wrote: > I was installing my system earlier (dual-boot Ubuntu 12.04LTS/FreeBSD > 9.0; Ubuntu was already present) and while installing subversion, one o= f > the many co-dependencies of the many programs that were being installed= > was graphviz. Apparently I selected some support options relating to > swig that broke the compile of graphiz (and therefore everything else).= > Is there a way to remedy this? I'd rather not reinstall the entire > system. Thanks. # cd /usr/ports/graphics/graphviz # make config Adjust the swig related options, then reinstall graphviz using whatever your favourite ports management tools are. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enigF76849B703F3E3532C0EEA94 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 Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlB68kAACgkQ8Mjk52CukIxi/wCgi4zlKQNBkVZM+lTh9Zxue3c4 gK4An17MXtBszK7RVRwi+ynjgXH5rcyw =HMql -----END PGP SIGNATURE----- --------------enigF76849B703F3E3532C0EEA94-- From owner-freebsd-questions@FreeBSD.ORG Sun Oct 14 17:13:13 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5BF57AAF for ; Sun, 14 Oct 2012 17:13:13 +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 1A4848FC0A for ; Sun, 14 Oct 2012 17:13:13 +0000 (UTC) Received: from r56.edvax.de (port-92-195-110-131.dynamic.qsc.de [92.195.110.131]) by mx02.qsc.de (Postfix) with ESMTP id 763F12454B; Sun, 14 Oct 2012 19:13:11 +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 q9EHDBGY001930; Sun, 14 Oct 2012 19:13:11 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 14 Oct 2012 19:13:11 +0200 From: Polytropon To: Joseph a Nagy Jr Subject: Re: Graphiz broke because of swig Message-Id: <20121014191311.9fc6beaa.freebsd@edvax.de> In-Reply-To: <507ADC4B.3080907@gmail.com> References: <507ADC4B.3080907@gmail.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 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, 14 Oct 2012 17:13:13 -0000 On Sun, 14 Oct 2012 10:37:47 -0500, Joseph a Nagy Jr wrote: > I was installing my system earlier (dual-boot Ubuntu 12.04LTS/FreeBSD > 9.0; Ubuntu was already present) and while installing subversion, one of > the many co-dependencies of the many programs that were being installed > was graphviz. Apparently I selected some support options relating to > swig that broke the compile of graphiz (and therefore everything else). > Is there a way to remedy this? You can reconfigure the port (and its dependencies, in case you don't exactly know in which port the problem occured) by doing: # cd /usr/ports/graphics/graphviz/ # make clean # make rmconfig-recursive # make config-recursive ... now process all config screens as needed ... # make install In case something stops on the way, investigate _there_. It may be possible that you need a "make deinstall && make reinstall" step, depending in what currently is installed on your system. Note that using port management tools might be an easier approach here, but utilizing the power of "bare bone ports" could lead to better diagnostic messages. Anyway, always consult /usr/ports/UPDATING for news. You would (for example) find something like this: 20080507: AFFECTS: Perl interface users of audio/gramofile AUTHOR: rafan@FreeBSD.org Perl support is removed due to devel/swig11 removal in ports. If you use the Perl interface, you are encouraged to use the new Audio::Gramofile found on CPAN (contact me for the ports). Note that this is a quite old message, quoted as an example only because it relates to swig. > I'd rather not reinstall the entire > system. Thanks. The system is managed independently from the installed software, so actually don't fear: no need to do this. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Oct 14 18:05:38 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1D40DC1A for ; Sun, 14 Oct 2012 18:05:38 +0000 (UTC) (envelope-from jos@webrz.net) Received: from webrz.xs4all.nl (webrz.xs4all.nl [82.95.248.216]) by mx1.freebsd.org (Postfix) with ESMTP id BC4DB8FC0A for ; Sun, 14 Oct 2012 18:05:37 +0000 (UTC) Received: from webrz.xs4all.nl (localhost [127.0.0.1]) by webrz.xs4all.nl (Postfix) with ESMTP id 174035085E; Sun, 14 Oct 2012 20:03:20 +0200 (CEST) Received: from [10.10.10.44] (chimea.webrz.net [10.10.10.44]) by webrz.xs4all.nl (Postfix) with ESMTPA id E34945083C; Sun, 14 Oct 2012 20:03:19 +0200 (CEST) Message-ID: <507AFEEC.2030609@webrz.net> Date: Sun, 14 Oct 2012 20:05:32 +0200 From: Jos Chrispijn User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: Polytropon Subject: Re: FreeBSD9 - Fresh install (2) References: <5079ABFA.8050607@webrz.net> <20121013210513.80676821.freebsd@edvax.de> In-Reply-To: <20121013210513.80676821.freebsd@edvax.de> X-AV-Checked: ClamAV using ClamSMTP @triton.webrz.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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, 14 Oct 2012 18:05:38 -0000 I was intending this on my 1TB hard disk (FreeBSD only): Two slices of 500G Slice one: 1g / 4g swap 7g /var 1g /tmp 487g /var Slice two: 500g /backup I question myself why I should use a 1TB hard disk, but it came with the hardware J-) I might better use 2x350G hard disks, but the server I use can only physical contain one piece. The slice one and two idea is perhaps Windows related, but I thought if I want to update my FreeBSD9 t0, let's say 10 or 11, I only have to clean slice one and put BSD on that again (having the backup slice untouched). thanks, Jos Chrispijn Polytropon: > On Sat, 13 Oct 2012 19:59:22 +0200, Jos Chrispijn wrote: >> When setting up my 1TB harddisk for FreeBSD 9.0, I have some questions >> about partioning: >> I think of creating two partitions of 5Gb; one for the standard FreeBSD >> file layour and a second one with a /backup slice on it. >> Does this make sense? > What exactly do you intend to backup (and why) onto a second > partition on the same disk? Sure, it is possible to do so, > but you should make yourself clear _what_ you want to do and > why, then it will imply _how_ will do it the best way -- even > though there might be more than one best way... :-) > > Also depending on your needs, 5GB may be too few to hold a full > installation of OS and programs (even though I've managed to > get a full 5.2 installation plus tons of programs on a 6 GB disk, > with 50% of free space afterwards). > > What do you do with the remaining 900 GB of the disk? :-) > > Also, please make yourself familiar with the terminology of what > a partitions and what a slice is, and see it in the proper context > of MBR vs. GPT partitioning. > > If I take your use of the TT (termini technici) literally, you > would have one partition containing everything rooted to /, and > a second partition that contains the same. You would either manually > have a backup mechanism from the 1st to the 2nd partition, or you > could configure them in some automated mirroring mechanism. But > I don't see a real use case when doing so on the _same_ disk. > Still it would be possible, and it could even be helpful in some > bad case scenario. > > From owner-freebsd-questions@FreeBSD.ORG Sun Oct 14 18:32:58 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3B5E3773 for ; Sun, 14 Oct 2012 18:32:58 +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 E857F8FC08 for ; Sun, 14 Oct 2012 18:32:57 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q9EIWr21005830; Sun, 14 Oct 2012 12:32:53 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q9EIWrRr005827; Sun, 14 Oct 2012 12:32:53 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 14 Oct 2012 12:32:53 -0600 (MDT) From: Warren Block To: Jos Chrispijn Subject: Re: FreeBSD9 - Fresh install (2) In-Reply-To: <507AFEEC.2030609@webrz.net> Message-ID: References: <5079ABFA.8050607@webrz.net> <20121013210513.80676821.freebsd@edvax.de> <507AFEEC.2030609@webrz.net> 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.2.7 (wonkity.com [127.0.0.1]); Sun, 14 Oct 2012 12:32:53 -0600 (MDT) Cc: Polytropon , 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, 14 Oct 2012 18:32:58 -0000 On Sun, 14 Oct 2012, Jos Chrispijn wrote: > I was intending this on my 1TB hard disk (FreeBSD only): > > Two slices of 500G > > Slice one: > 1g / Don't use less than 2G here. You have room. > 4g swap > 7g /var Way more than is needed, unless you plan to store non-FreeBSD stuff there. mysql does that, I've heard. For a normal FreeBSD install, 2G for /var is plenty, maybe more if you want to keep lots of log files or mail. From owner-freebsd-questions@FreeBSD.ORG Sun Oct 14 19:45:51 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8A4ABA58 for ; Sun, 14 Oct 2012 19:45:51 +0000 (UTC) (envelope-from UqSdy2xI.5Bs.5fp.4f.1z1jsx+questions=freebsd.org@bnc.mailjet.com) Received: from o242.p4.mailjet.com (o242.p4.mailjet.com [178.33.221.242]) by mx1.freebsd.org (Postfix) with ESMTP id 358BD8FC14 for ; Sun, 14 Oct 2012 19:45:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/simple; q=dns/txt; d=thefancy.org; i=noreply@thefancy.org; s=mailjet; h=message-id:mime-version:content-type:sender:from:to:subject:date; bh=udoj4Wlz6WbXwI5f96OPWTmJMlU=; b=ufKyAOSlt9sYkdrvka3zHDXlw4Csve1KzK05j32MI+mZED8iz9pcB5CrtrSm5V5qtG8PKLJpmYkt78OMJk9sobmM7zA4MSpstCM7nVsi6858B4lDbMRct5+BIu36AjObmEZvRvbMGwWLnNz9z1NDW9tL/6sxDXnwtF1+11nCGVo= Message-Id: Mime-Version: 1.0 Sender: noreply@thefancy.org From: Georgiana Boboc To: questions@freebsd.org Subject: Join me on Fancy Date: Sun, 14 Oct 2012 19:36:45 -0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit 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, 14 Oct 2012 19:45:51 -0000 You've been invited by vintage_traffic to join Fancy! To activate your invitation, go to: http://www.thefancy.com/register?invitation_key=8db10c0d23549d0215dbd0131b926cc32bfdf097 All the best, Team Fancy From owner-freebsd-questions@FreeBSD.ORG Sun Oct 14 20:29:30 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7018B639 for ; Sun, 14 Oct 2012 20:29:30 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.co.uk) Received: from avasout07.plus.net (avasout07.plus.net [84.93.230.235]) by mx1.freebsd.org (Postfix) with ESMTP id B8B3E8FC12 for ; Sun, 14 Oct 2012 20:29:28 +0000 (UTC) Received: from curlew.milibyte.co.uk ([84.92.153.232]) by avasout07 with smtp id B8VR1k008516WCc018VSmj; Sun, 14 Oct 2012 21:29:26 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.0 cv=XOyyuHdE c=1 sm=1 a=lfSX4pPLp9EkufIcToJk/A==:17 a=rLpCYgkgFLgA:10 a=G8PPuS6faQMA:10 a=ZTb9aqGL9YkA:10 a=8nJEP1OIZ-IA:10 a=D7rCoLxHAAAA:8 a=uV-vMVcYup8A:10 a=6I5d2MoRAAAA:8 a=juaQ31GLO2LMfh31EQkA:9 a=wPNLvfGTeEIA:10 a=tlJW8gxtbz4A:10 a=lfSX4pPLp9EkufIcToJk/A==:117 Received: from curlew.lan ([192.168.1.13]) by curlew.milibyte.co.uk with esmtp (Exim 4.80) (envelope-from ) id 1TNUoO-0003oP-Sw for freebsd-questions@freebsd.org; Sun, 14 Oct 2012 21:29:25 +0100 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Sun, 14 Oct 2012 21:29:24 +0100 User-Agent: KMail/1.9.10 References: <5079ABFA.8050607@webrz.net> <20121013210513.80676821.freebsd@edvax.de> <507AFEEC.2030609@webrz.net> In-Reply-To: <507AFEEC.2030609@webrz.net> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201210142129.24479.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: 192.168.1.13 X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on curlew.lan X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED autolearn=ham version=3.3.2 Subject: Re: FreeBSD9 - Fresh install (2) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on curlew.milibyte.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: Sun, 14 Oct 2012 20:29:30 -0000 On Sunday 14 October 2012 19:05:32 Jos Chrispijn wrote: > The slice one and two idea is perhaps Windows related, but I thought if > I want to update my FreeBSD9 t0, let's say 10 or 11, I only have to > clean slice one and put BSD on that again (having the backup slice > untouched). My approach would be to go for 3 slices. Slice 1 would be a suitable size to hold the OS and swap, I have quite a lot of ports installed on my desktop PC so would go for about 20 to 30 GB. This could be less for a server but with 1TB you can afford to be generous. This can then be partitioned to suit with whatever combinations of /, /usr, /usr/local, /var. /tmp and swap suits your fancy. The second slice would be the same size as the first and be left empty for now as a spare. The third slice, the rest of the disk, would be for all of your data and could be partitioned (or not) to suit your needs for /home and any other local data requirements. If there's to be any large mysql databases then I'd put them here with symlinks from /var where mysql normally expects to find them. When you come to upgrade to the next FreeBSD release just install it into the spare second slice and boot from that instead of the first. If you experience any serious problems with the upgrade then nothing has been lost and you can just revert to booting of the first slice until things are sorted out. The above is all assuming you're using UFS. If you're going to use ZFS then there are other possibilities like using sysutils/beadm from ports to manage multiple boot environments in a single partition. -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Sun Oct 14 21:57:46 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 607F4FDB for ; Sun, 14 Oct 2012 21:57:46 +0000 (UTC) (envelope-from levitch@iglou.com) Received: from rdsmtp.iglou.com (rdsmtp.iglou.com [192.107.41.63]) by mx1.freebsd.org (Postfix) with ESMTP id 1C41B8FC1A for ; Sun, 14 Oct 2012 21:57:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=iglou.com; s=alpha; h=Content-Type:MIME-Version:Message-ID:Subject:To:From:Date; bh=j9p+/r5P0S2mF1UnfZaxBBV4BLqGdANOCoNC2nFYQxg=; b=E8KfqUohIP0hPpY/n527QSYnEVE0QgfuMCp6fYeGCE490YU3eq7xLGyFOdckUUF7bSrWD5CsUTxzn2xfmu+0x8Drbz7jqKovdk36pemEcTzqjseoQgpNeudjltqKMVE1f6BK1lh4cfAC+QZ4hoITfVE3sjgs0eH72nhSKNqwE7M=; Received: from iglou3.iglou.com ([192.107.41.6]:61711 helo=mail.iglou.com) by rdsmtp.iglou.com with esmtpa (Exim MTA/8.19.3) (envelope-from ) id 1TNVrr-0007GB-VE by authid with igloumta_auth for questions@freebsd.org; Sun, 14 Oct 2012 17:37:03 -0400 Received: from shell1.iglou.com ([192.107.41.17]:43816 helo=shell1) by mail.iglou.com with esmtps (TLS cipher TLSv1:AES256-SHA:256) (Exim MTA/8.19.3) (envelope-from ) id 1TNVrr-0002yv-KE for questions@freebsd.org; Sun, 14 Oct 2012 17:37:03 -0400 Date: Sun, 14 Oct 2012 17:37:03 -0400 (EDT) From: Darrel X-X-Sender: levitch@shell1 To: questions@freebsd.org Subject: blackend from svn Message-ID: User-Agent: Alpine 2.00 (GSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Originating-IP: 192.107.41.17 X-IgLou-Customer: 3cb6f76205bd20f518810676a67a982b X-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, 14 Oct 2012 21:57:46 -0000 Hello, Having just installed a new system, I am considering using svn to get some docs. Perhaps I will create doc under /usr/local like this: # cd /usr/local # mkdir doc and then: svn co svn://svn.freebsd.org/doc/release/9.1.0/en_US.ISO8859-1/ I already am running current and stable- this computer is mainly for using VirtualBox to test Linux stuff that some contracts are asking for. Does this method of having a local copy of docs around seem alright, or does someone know that there is a better way? Thank you, Darrel From owner-freebsd-questions@FreeBSD.ORG Sun Oct 14 22:15:03 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D6DDA41B for ; Sun, 14 Oct 2012 22:15:03 +0000 (UTC) (envelope-from jnagyjr1978@gmail.com) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7F9208FC08 for ; Sun, 14 Oct 2012 22:15:03 +0000 (UTC) Received: by mail-gg0-f182.google.com with SMTP id l1so1225138ggn.13 for ; Sun, 14 Oct 2012 15:15:02 -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:x-enigmail-version:openpgp:content-type; bh=lf1MZitCEiMRQpb0ps+7K/4NJHmtk3USGAXJwHSiu8o=; b=wF+bqFhpiyPrK/1zSiAtmmaw+2Eya5cDrsmko1dOEtqSN4S2hsNlk6cyVOr06vxb6y cj2rsIfe8/Hij5RMLa9xQtQa+5JZtmHpTagLNKW9KB4dX2RySFioseUCqyIseKC9sv0p Ov9bODscGW2Pv821kAbapkHaCOnlCRw39e7MOJS7iBG1M03wmrlGVRdqhnhHQF/0xgQ5 bykSk/4Zq+JnkQiv+u6SdoQ4Cmjc1+p85cT5TFC/YNEQylbYLoAalm+Xn5J6HCEsDEA9 xTTRBd0n2+BKuKJqqX4bnVdMS7i1ubzA7wkDnmaIi4HL7KIse7nXkUSeSMHPiqCFB7k5 +jgg== Received: by 10.236.76.132 with SMTP id b4mr9056293yhe.106.1350252902576; Sun, 14 Oct 2012 15:15:02 -0700 (PDT) Received: from [192.168.1.36] (vid-196.dhcp.grp10.tnmmrl.infoave.net. [204.116.254.196]) by mx.google.com with ESMTPS id o19sm12208693anh.0.2012.10.14.15.14.56 (version=SSLv3 cipher=OTHER); Sun, 14 Oct 2012 15:15:01 -0700 (PDT) Message-ID: <507B3931.9050608@gmail.com> Date: Sun, 14 Oct 2012 17:14:09 -0500 From: Joseph a Nagy Jr User-Agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121011 Thunderbird/16.0.1 MIME-Version: 1.0 To: Polytropon , FreeBSD Questions Subject: Re: Graphiz broke because of swig References: <507ADC4B.3080907@gmail.com> <20121014191311.9fc6beaa.freebsd@edvax.de> In-Reply-To: <20121014191311.9fc6beaa.freebsd@edvax.de> X-Enigmail-Version: 1.4.5 OpenPGP: id=96C03037 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig17DC97421D2ACC260B437B6A" 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, 14 Oct 2012 22:15:03 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig17DC97421D2ACC260B437B6A Content-Type: multipart/mixed; boundary="------------000305030407000103050801" This is a multi-part message in MIME format. --------------000305030407000103050801 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 10/14/2012 12:13 PM, Polytropon wrote: > On Sun, 14 Oct 2012 10:37:47 -0500, Joseph a Nagy Jr wrote: >> I was installing my system earlier (dual-boot Ubuntu 12.04LTS/FreeBSD >> 9.0; Ubuntu was already present) and while installing subversion, one = of >> the many co-dependencies of the many programs that were being installe= d >> was graphviz. Apparently I selected some support options relating to >> swig that broke the compile of graphiz (and therefore everything else)= =2E >> Is there a way to remedy this? >=20 > You can reconfigure the port (and its dependencies, in case you > don't exactly know in which port the problem occured) by doing: >=20 > # cd /usr/ports/graphics/graphviz/ > # make clean > # make rmconfig-recursive > # make config-recursive > ... now process all config screens as needed ... > # make install >=20 > In case something stops on the way, investigate _there_. It may > be possible that you need a "make deinstall && make reinstall" > step, depending in what currently is installed on your system. Thanks, I hate seeming like a noob but its been a while since I've had to get under the hood, so to speak. > Note that using port management tools might be an easier approach > here, but utilizing the power of "bare bone ports" could lead to > better diagnostic messages. I was just following the handbook's suggestion of installing subversion (which on a bare system led to hours of compilations that broke because I didn't know swig was a program to handle what I was optioning in for graphviz or that it was broken and not used). > Anyway, always consult /usr/ports/UPDATING for news. You would > (for example) find something like this: >=20 > 20080507: > AFFECTS: Perl interface users of audio/gramofile > AUTHOR: rafan@FreeBSD.org >=20 > Perl support is removed due to devel/swig11 removal in ports. If you= use > the Perl interface, you are encouraged to use the new Audio::Gramofil= e > found on CPAN (contact me for the ports). >=20 > Note that this is a quite old message, quoted as an example only > because it relates to swig. Thanks, I'll definitely do so next time. (: >> I'd rather not reinstall the entire >> system. Thanks. >=20 > The system is managed independently from the installed software, > so actually don't fear: no need to do this. >=20 >=20 Haha, you have no idea what sort of troubles I sometimes cause for myself in this regard. ;) When I muck something up, I muck it up good! --=20 Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://owl.apotheon.org --------------000305030407000103050801-- --------------enig17DC97421D2ACC260B437B6A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlB7OTEACgkQ/yysspbAMDeC2wCglfavKQn8AZhLd46MfI9dd83s OTwAnRkmdYz3MUKyrI7eSR760TTtX+D4 =34hZ -----END PGP SIGNATURE----- --------------enig17DC97421D2ACC260B437B6A-- From owner-freebsd-questions@FreeBSD.ORG Mon Oct 15 00:33:06 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 27595F50 for ; Mon, 15 Oct 2012 00:33:06 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.120]) by mx1.freebsd.org (Postfix) with ESMTP id DF94B8FC0A for ; Mon, 15 Oct 2012 00:33:05 +0000 (UTC) X-Authority-Analysis: v=2.0 cv=Dp3UCRD+ c=1 sm=0 a=+L5dYfeubEW4PLvjDgtIXQ==:17 a=WAZfUmVf-EkA:10 a=nGzRxwCMVZQA:10 a=05ChyHeVI94A:10 a=kj9zAlcOel0A:10 a=ayC55rCoAAAA:8 a=BTvy5PFH36UA:10 a=UdvEN9gbqWsBAELrqE0A:9 a=CjuIK1q_8ugA:10 a=+L5dYfeubEW4PLvjDgtIXQ==:117 X-Cloudmark-Score: 0 X-Originating-IP: 76.184.157.127 Received: from [76.184.157.127] ([76.184.157.127:56580] helo=[10.0.0.8]) by cdptpa-oedge04.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id 74/F5-11677-BB95B705; Mon, 15 Oct 2012 00:32:59 +0000 Date: Sun, 14 Oct 2012 19:32:58 -0500 From: Paul Schmehl To: FreeBSD Questions Subject: Question about find - excluding directories Message-ID: <7651E6A84D436D388849B985@Pauls-MacBook-Pro.local> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Oct 2012 00:33:06 -0000 I want to use find to locate files that don't belong to a certain user but should belong to that user. But there are subdirectories I want to exclude. I have tried using this, but it doesn't work: find /path/to/dir -type d ! -uid num \( -type d ! -name dirname -prune \) If I leave off the part in parentheses, it finds all the files I'm looking for but also files in the subdirs I'm not interested in. If I add the parentheses, it doesn't find any files at all. This is FreeBSD 8.3 RELEASE. So how can I find these files without descending into directories I'm not interested in? Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell From owner-freebsd-questions@FreeBSD.ORG Mon Oct 15 01:42:55 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6643E4B6 for ; Mon, 15 Oct 2012 01:42:55 +0000 (UTC) (envelope-from schultz@ime.usp.br) Received: from hermes.ime.usp.br (hermes.ime.usp.br [143.107.45.4]) by mx1.freebsd.org (Postfix) with ESMTP id 02F1C8FC0A for ; Mon, 15 Oct 2012 01:42:54 +0000 (UTC) Received: from arachne.ime.usp.br (arachne.ime.usp.br [143.107.45.22]) by hermes.ime.usp.br (Postfix) with ESMTP id 927E88017E443; Sun, 14 Oct 2012 22:45:01 -0300 (BRT) Received: by arachne.ime.usp.br (Postfix, from userid 112) id 260C536D6001; Sun, 14 Oct 2012 22:33:28 -0300 (BRT) Received: from b1201654.virtua.com.br (b1201654.virtua.com.br [177.32.22.84]) by webmail.ime.usp.br (Horde Framework) with HTTP; Sun, 14 Oct 2012 22:33:28 -0300 Message-ID: <20121014223328.16140uoyo4x5dii0@webmail.ime.usp.br> Date: Sun, 14 Oct 2012 22:33:28 -0300 From: schultz@ime.usp.br To: Peter Vereshagin Subject: Re: Sysctls and privacy References: <20121012095915.470864k9735iy883@webmail.ime.usp.br> <20121013101545.GA21274@external.screwed.box> <20121013120939.18067gfy2u4vdzjn@webmail.ime.usp.br> <20121014140148.GA5344@external.screwed.box> In-Reply-To: <20121014140148.GA5344@external.screwed.box> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.10) X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00,MISSING_MID, UNPARSEABLE_RELAY autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on hermes.ime.usp.br 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, 15 Oct 2012 01:42:55 -0000 > Did you specify elsewhere what a 'visible' does mean to you? > > - if this means network connectivity then you can put jails on the same > network, e. g. the same address on a lo(4) interface > > - if this means a read-only access to the directory located outside of a > jail then her4e is the trick: > > mount_nullfs -o ro /path/to/inject /your/jail/mount/detination I did mean the second case. Your solution seems reasonable. Only change I would do is check for symlinks in the path within the jail roots to avoid symlink attacks. > The same trick can be done for every directory the freebsd base system > consists of. Excluding those different for each jail, e. g. /var, > /etc. Nullfs > daesn't consume your disk space except for additional fstab lines, something > about a dozen per jail. (= Here is the catch. I know I can read-only mount most static filesystems from a template. However, the mutable ones have to be copied. This means installing ports forces me to copy /usr/local, which is around half a gigabyte (I have some pre-installed ports). I have been looking into unionfs to solve this, but the BUGS section in the man page scared me a bit. :-) > I don't think so. It's a task of the configuration of a second system without > hardware initialization and so on, and then spreading your configs around > other jails. I mean configuring a user account is much simpler than configuring a jail. Still this is not at all a good reason not to use jails. :-) > jail goes beyond with its jail_devfs_rules I mean these changes are necessary in a user-based protection model. > What do you mean 'visible' here? Do you just chmod a-rwx on them? Say, to > avoid listing the /usr/bin/su you should chmod a-rx /usr/bin which > is far from > the best idea... I either chmod ug-s or chmod o-rwx. > Sounds interesting but doesn't seem googleable to me. Any URLs for xorg > patches and/or for the list of such a ports please? I didn't find any URL too. The fact is the x11-servers/xorg-server has the path /tmp/.X[n]-lock for the lock file hardcoded. Since I ended up using many small Xephyr instances to isolate GUI applications, someone could use that file before to prevent my application from starting. So I myself made the (very small) patch, and compiled the port manually. > Ouch! a RELENG_9 feature... If it does not go away in future versions I am happy with it. > How could the one know out that from overall system statistics only? Because someone might know the program memory, cpu or network usage patterns and extrapolate from the data. Firefox is a good example because it eats up huge amounts of RAM and garbage collects it quite fast. So when that pattern shows up you know someone is probably using Firefox. This, of course, also applies to other programs. Also, if you do know someone is going to run a single program in the machine, you might just have the memory footprint of that program by subtraction, and that reveals quite a lot. I do realize this has a great deal of paranoia, but it is an issue nonetheless. > ok but that can be the loss of a privacy of some other user? Not if you have a single (human) user on the machine. Also, this is quite informal reasoning. > Sure. You can convert PDFs to the set of images, reassemble them > into your own > PDFs without the logs and post then. Not without loss of quality, indexing and compactness. Also, steganography might be employed by the attacker. > So without the need for the outside network connectivity there shouldn't be > much care. (= This can be done, it just is not practical. Additionally, unfortunately some untrusted users have to have internet connection. I know they can gather important personal identifying information (/etc/passwd). In this sense, I have another question: can a user of jails realize he or she is not in a real FreeBSD system? If so, how much about the host can he or she gather? > Can't remind that. (= I never said you did implement it. :-) > Err... what? Before serving a sysctl, the kernel could check if UID == 0 or if UID is in the special GID. > But they can hide the system statistics and improve the privacy, the what you > need having the consistency already? I have no idea if 'security' includes > 'privacy', sorry. Using emulators/virtual machines improves the situation for sure, but yet that is not a silver bullet in terms of security, since these tools are designed to be compatibility tools, not security tools. Also, the added overhead does not justify it. > But it seems to. What if the code isolated doesn't interfere? If it does not interfere then we have a proper (but slow) solution. > Do you mean here the emulators never release memory allocated once? And why > jail limits matter after that? Clarify please. Yes, that is the point. There are situations in which the total memory used by a program is very high and the maximum memory used at any time is very low. The memory used by the emulator at any time is the total memory due to its inability to free used memory and give it back to the host OS. This can be very poor especially when it reaches swap in comparison to an OS-based solution. Say, I have an emulator whose memory limit is 64GB and I have only 4GB physical RAM. The emulating program might use just 2GB memory at a time but uses 256GB total. Then the emulator uses around 64GB generally and that gets into my swap, while if the program ran natively that might not happen. All in all, I think you convinced me to give jails a try. :-) From owner-freebsd-questions@FreeBSD.ORG Mon Oct 15 02:06:37 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3A89868D for ; Mon, 15 Oct 2012 02:06:37 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id E67668FC18 for ; Mon, 15 Oct 2012 02:06:36 +0000 (UTC) Received: by mail-ob0-f182.google.com with SMTP id wc20so5947183obb.13 for ; Sun, 14 Oct 2012 19:06:36 -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=bnUfBqHJ9s83VqZqdqEaQ4kmQcm5p8fLOMXzNXiZyLo=; b=EXFgdmrVS1aUFIncaoFJGgNbYH/TfxdXiDNvqBt8S15oww3RlL4oy/Usk/DFIP4IA8 QpL2DDM5154VVXK1MDBKsXtkf54/kdHQyBM7uzBz+rqyDo5KA8uo5p+YG6Uj3sKs6LHq jTjD5EiwThvSVnoebZtQBWUiKcrZ541Ji73wJMjKbArquo+xCaVkp7zhYX5mWFvcrcnU Fu60FtQN4Bxff66cD9iYYrVHLbcEIBNQcRC3ue0tJ3wMRbS3pZdYFCRferzF3gFcT4XS bsRff2xGUNB2Ska8nwPyPVlH7xgrzj/sDUJSaMtOAJFG6NHXl+9R4gSD8WG9YcgFMH1W waTw== MIME-Version: 1.0 Received: by 10.182.124.99 with SMTP id mh3mr8324847obb.91.1350266796047; Sun, 14 Oct 2012 19:06:36 -0700 (PDT) Received: by 10.76.80.104 with HTTP; Sun, 14 Oct 2012 19:06:35 -0700 (PDT) In-Reply-To: <20121014223328.16140uoyo4x5dii0@webmail.ime.usp.br> References: <20121012095915.470864k9735iy883@webmail.ime.usp.br> <20121013101545.GA21274@external.screwed.box> <20121013120939.18067gfy2u4vdzjn@webmail.ime.usp.br> <20121014140148.GA5344@external.screwed.box> <20121014223328.16140uoyo4x5dii0@webmail.ime.usp.br> Date: Sun, 14 Oct 2012 21:06:35 -0500 Message-ID: Subject: Re: Sysctls and privacy From: Adam Vande More To: schultz@ime.usp.br Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Peter Vereshagin , 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, 15 Oct 2012 02:06:37 -0000 On Sun, Oct 14, 2012 at 8:33 PM, wrote: > >> Here is the catch. I know I can read-only mount most static filesystems > from a template. However, the mutable ones have to be copied. > Says who? Is this your requirement? Why? > Because someone might know the program memory, cpu or network usage > patterns > and extrapolate from the data. Firefox is a good example because it > eats up huge amounts of RAM and garbage collects it quite fast. So when > that pattern shows up you know someone is probably using Firefox. > This, of course, also applies to other programs. > If this is really a serious concern of yours, you have much bigger fish to fry than sysctl(8). -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Mon Oct 15 02:36:58 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4CD14E17 for ; Mon, 15 Oct 2012 02:36:58 +0000 (UTC) (envelope-from schultz@ime.usp.br) Received: from netuno.ime.usp.br (netuno.ime.usp.br [143.107.45.90]) by mx1.freebsd.org (Postfix) with ESMTP id F039E8FC16 for ; Mon, 15 Oct 2012 02:36:57 +0000 (UTC) Received: from arachne.ime.usp.br (arachne.ime.usp.br [143.107.45.22]) by netuno.ime.usp.br (Postfix) with ESMTP id 02BD21278CD5; Sun, 14 Oct 2012 23:36:48 -0300 (BRT) Received: by arachne.ime.usp.br (Postfix, from userid 112) id F053C36D6001; Sun, 14 Oct 2012 23:36:47 -0300 (BRT) Received: from b1201654.virtua.com.br (b1201654.virtua.com.br [177.32.22.84]) by webmail.ime.usp.br (Horde Framework) with HTTP; Sun, 14 Oct 2012 23:36:47 -0300 Message-ID: <20121014233647.21466wdumwtyvflr@webmail.ime.usp.br> Date: Sun, 14 Oct 2012 23:36:47 -0300 From: schultz@ime.usp.br To: Adam Vande More Subject: Re: Sysctls and privacy References: <20121012095915.470864k9735iy883@webmail.ime.usp.br> <20121013101545.GA21274@external.screwed.box> <20121013120939.18067gfy2u4vdzjn@webmail.ime.usp.br> <20121014140148.GA5344@external.screwed.box> <20121014223328.16140uoyo4x5dii0@webmail.ime.usp.br> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.10) X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_20,MISSING_MID, UNPARSEABLE_RELAY autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on netuno.ime.usp.br Cc: Peter Vereshagin , 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, 15 Oct 2012 02:36:58 -0000 > Says who? Is this your requirement? Why? I meant I don't see how it can be done differently. > If this is really a serious concern of yours, you have much bigger fish to > fry than sysctl(8). Can you elaborate a bit more on this please? From owner-freebsd-questions@FreeBSD.ORG Mon Oct 15 06:05:12 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 58334857 for ; Mon, 15 Oct 2012 06:05:12 +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 D77718FC0A for ; Mon, 15 Oct 2012 06:05:11 +0000 (UTC) Received: from seedling.local (host86-128-112-220.range86-128.btcentralplus.com [86.128.112.220]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q9F651EY078658 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 15 Oct 2012 07:05:02 +0100 (BST) (envelope-from matthew@FreeBSD.org) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q9F651EY078658 Authentication-Results: smtp.infracaninophile.co.uk/q9F651EY078658; dkim=none (no signature); dkim-adsp=none X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host host86-128-112-220.range86-128.btcentralplus.com [86.128.112.220] claimed to be seedling.local Message-ID: <507BA786.6050300@FreeBSD.org> Date: Mon, 15 Oct 2012 07:04:54 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: Darrel Subject: Re: blackend from svn References: In-Reply-To: X-Enigmail-Version: 1.4.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig0DF344EC4C9D83FF365B332E" X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=3.1 required=5.0 tests=BAYES_00,RCVD_IN_PBL, RCVD_IN_SORBS_DUL,RDNS_DYNAMIC,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Level: *** X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: 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, 15 Oct 2012 06:05:12 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig0DF344EC4C9D83FF365B332E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 14/10/2012 22:37, Darrel wrote: > Having just installed a new system, I am considering using svn to > get some docs. Perhaps I will create doc under /usr/local like > this: >=20 > # cd /usr/local > # mkdir doc The canonical location is /usr/doc -- this stuff is part of FreeBSD itself, so shouldn't really sit under ${LOCALBASE} > and then: >=20 > svn co svn://svn.freebsd.org/doc/release/9.1.0/en_US.ISO8859-1/ >=20 > I already am running current and stable- this computer is mainly > for using VirtualBox to test Linux stuff that some contracts are > asking for. >=20 > Does this method of having a local copy of docs around seem alright, > or does someone know that there is a better way? That should work fine, if what you are after are the .xml source files the documentation is compiled from. Note that compiling all this stuff into HTML or PDF requires a moderately large toolchain to be installed. (see: textproc/docproj* in ports.) Also, the URL doc/release/9.1.0/en_US.ISO8859-1 -- that's a tag in SVN, meaning it is never going to be updated. Check out HEAD if you want to be able to track changes. You always used to be able to install a pre-compiled doc bundle from the install media. What with changes over the last several months I don't know if that is still possible, but if it is, then that would probably be more suitable if all you want is to have a reference copy of the docs to hand. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enig0DF344EC4C9D83FF365B332E 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 Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlB7p40ACgkQ8Mjk52CukIyshgCdFmaGbopxOB+E8kC6rFjf4Cwx TK8An0j8ziou0+uLYGquE8yzJrBupoUT =68Xi -----END PGP SIGNATURE----- --------------enig0DF344EC4C9D83FF365B332E-- From owner-freebsd-questions@FreeBSD.ORG Mon Oct 15 06:14:51 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ED259A88 for ; Mon, 15 Oct 2012 06:14:50 +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 76CC68FC0A for ; Mon, 15 Oct 2012 06:14:50 +0000 (UTC) Received: from seedling.local (host86-128-112-220.range86-128.btcentralplus.com [86.128.112.220]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q9F6EjM1078818 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 15 Oct 2012 07:14:46 +0100 (BST) (envelope-from matthew@FreeBSD.org) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q9F6EjM1078818 Authentication-Results: smtp.infracaninophile.co.uk/q9F6EjM1078818; dkim=none (no signature); dkim-adsp=none X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host host86-128-112-220.range86-128.btcentralplus.com [86.128.112.220] claimed to be seedling.local Message-ID: <507BA9D5.5020606@FreeBSD.org> Date: Mon, 15 Oct 2012 07:14:45 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: Paul Schmehl Subject: Re: Question about find - excluding directories References: <7651E6A84D436D388849B985@Pauls-MacBook-Pro.local> In-Reply-To: <7651E6A84D436D388849B985@Pauls-MacBook-Pro.local> X-Enigmail-Version: 1.4.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig5E5AC6A02C42193B4FB9F751" X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=2.4 required=5.0 tests=AWL,BAYES_00,RCVD_IN_PBL, RCVD_IN_RP_RNBL,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC,SPF_SOFTFAIL autolearn=no version=3.3.2 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk 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, 15 Oct 2012 06:14:51 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig5E5AC6A02C42193B4FB9F751 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 15/10/2012 01:32, Paul Schmehl wrote: > I want to use find to locate files that don't belong to a certain user > but should belong to that user. But there are subdirectories I want to= > exclude. >=20 > I have tried using this, but it doesn't work: >=20 > find /path/to/dir -type d ! -uid num \( -type d ! -name dirname -prune = \) >=20 > If I leave off the part in parentheses, it finds all the files I'm > looking for but also files in the subdirs I'm not interested in. >=20 > If I add the parentheses, it doesn't find any files at all. >=20 > This is FreeBSD 8.3 RELEASE. >=20 > So how can I find these files without descending into directories I'm > not interested in? Completely untested, but the usual thing with find(1) is down to the way it evaluates its arguments from left to right in a lazy fashion. So, if it has enough to know it is going to generate a true or false result after '-type d ! -uid num', it won't then go on to evaluate the rest of the line, meaning it will never see the effects of '-prune'. If you want to have exceptions, it is generally better to put them earlier in the command line: find /path/to/dir \( -type d ! -name dirname -prune \) -type d ! -uid num= Or you could use '-path' to match any path containing 'dirname' without the bracketed subexpression: find /path/to/dir -type d ! -path 'dirname*' ! -uid Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enig5E5AC6A02C42193B4FB9F751 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 Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlB7qdUACgkQ8Mjk52CukIx3VQCggA40FpMWAGdXkhjS8LyynIv2 P1sAniP6N4pUavtT+6RbFhkA24i6+Mwn =3TmU -----END PGP SIGNATURE----- --------------enig5E5AC6A02C42193B4FB9F751-- From owner-freebsd-questions@FreeBSD.ORG Mon Oct 15 06:23:35 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3DA06DD4 for ; Mon, 15 Oct 2012 06:23:35 +0000 (UTC) (envelope-from wangyc0307@gmail.com) Received: from mail-wg0-f42.google.com (mail-wg0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id C01908FC12 for ; Mon, 15 Oct 2012 06:23:34 +0000 (UTC) Received: by mail-wg0-f42.google.com with SMTP id fm10so113525wgb.1 for ; Sun, 14 Oct 2012 23:23: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:content-transfer-encoding; bh=58gxsT6UrwLybw2e25nBiowSeHbdHG+crwd68gP3Q4o=; b=ZOBM1JU5FIFhd3FfK6fm9YVKMnlG/4RpxDf5XRJjy+gnm9+DNaBdZFOeY9ccN2cxiG Ewj04UnNchTc5dxGlIOo15eUEhhiAUtToI4E5SyI0QLcpWu7CtRWujPLjbXAf6IM3Nri XZWuVEdo27xUkgk1SWe0TLhUmZ/tcT3s2csAL6B2C0sehf9S71fTGJpSPAPUHlVN5WqC C29qAfnfL3FnyCALxAjmwu3TY81X4y1ATRj9lRD9tBVF6Yl9pVfW5rXeTPs6Xr+CAOzN 8F2EdnI8VVocs8ibpb2QrTGWrb9TyexvwquhSY8bxngpIuqIfHHMB/gnW5/3yVgAY8pk JU1Q== MIME-Version: 1.0 Received: by 10.180.77.34 with SMTP id p2mr21373173wiw.0.1350282208212; Sun, 14 Oct 2012 23:23:28 -0700 (PDT) Received: by 10.216.202.6 with HTTP; Sun, 14 Oct 2012 23:23:27 -0700 (PDT) In-Reply-To: References: Date: Mon, 15 Oct 2012 14:23:27 +0800 Message-ID: Subject: Re: How does freebsd supports ipx? From: YC Wang To: =?UTF-8?B?0JLQuNGC0LDQu9C40Lkg0KLRg9GA0L7QstC10YY=?= Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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, 15 Oct 2012 06:23:35 -0000 2012/10/12 =D0=92=D0=B8=D1=82=D0=B0=D0=BB=D0=B8=D0=B9 =D0=A2=D1=83=D1=80=D0= =BE=D0=B2=D0=B5=D1=86 : > 2012/10/12 YC Wang : >> Hi,all: >> >> I read from wikipedia that freebsd supports ipx. But when I tried >> to set ipx address on em0=EF=BC=8Cit showed the following message: >> >> freebsd-yc# ifconfig em0 ipx (netnum.nodenum) >> ifconfig: socket(family 23,SOCK_DGRAM: Protocol not supported >> >> And as I furher trussed the ifconfig process, I found this was >> probably caused by the failure of the socket syscall: >> >> freebsd-yc# truss ifconfig em0 ipx netnum.nodenum >> ...... >> socket(PF_IPX,SOCK_DGRAM,0) ERR#43 'Protocol not su= pported' >> ...... >> >> >> In contrast however, when calling "socket(PF_IPX,SOCK_DGRAM,0)" on >> Linux, it will automatically load the ipx kernel module and the socket >> syscall returns successfully. But I don't find any ipx module in >> /boot/kernel/ on freebsd. >> >> So I wonder how does freebsd supports ipx? Is there any other work >> I should do for this purpose? >> >> And if this isn't the most appropriate list for this question, >> please let me know. >> >> Thanks >> YC Wang >> _______________________________________________ >> 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 suppose you should add "options IPX" line to your kernel > configuration file and rebuild/reinstall the kernel. > > > -- > > > > > ~~~ > WBR, > Vitaliy Turovets > NOC Lead @TV-Net ISP > NOC Lead @Service Outsourcing company > +38(093)265-70-55 > VITU-RIPE > X-NCC-RegID: ua.tv Hi: I rebuilt the kernel with "option IPX", but it didn't seem to work. Below was what I did: 1) create a new configure file IPXKERNEL enabling "option IPX" freebsd-yc# cat /sys/i386/conf/IPXKERNEL include GENERIC ident IPXKERNEL options IPX 2) make buildkerel KERNCONF=3DIPXKERNEL. When finised, I found that the ipx source code did get compiled, but hadn't been linked into a kernel module. freebsd-yc# find /usr/obj/usr/src/sys/IPXKERNEL/ | grep ipx /usr/obj/usr/src/sys/IPXKERNEL/modules/usr/src/sys/modules/arcnet/opt_ipx.h /usr/obj/usr/src/sys/IPXKERNEL/modules/usr/src/sys/modules/if_ef/opt_ipx.h /usr/obj/usr/src/sys/IPXKERNEL/modules/usr/src/sys/modules/if_tun/opt_ipx.h /usr/obj/usr/src/sys/IPXKERNEL/modules/usr/src/sys/modules/netgraph/iface/o= pt_ipx.h /usr/obj/usr/src/sys/IPXKERNEL/modules/usr/src/sys/modules/smbfs/opt_ipx.h /usr/obj/usr/src/sys/IPXKERNEL/modules/usr/src/sys/modules/sppp/opt_ipx.h /usr/obj/usr/src/sys/IPXKERNEL/modules/usr/src/sys/modules/wlan/opt_ipx.h /usr/obj/usr/src/sys/IPXKERNEL/opt_ipx.h /usr/obj/usr/src/sys/IPXKERNEL/ipx.o /usr/obj/usr/src/sys/IPXKERNEL/ipx_cksum.o /usr/obj/usr/src/sys/IPXKERNEL/ipx_input.o /usr/obj/usr/src/sys/IPXKERNEL/ipx_outputfl.o /usr/obj/usr/src/sys/IPXKERNEL/ipx_pcb.o /usr/obj/usr/src/sys/IPXKERNEL/ipx_proto.o /usr/obj/usr/src/sys/IPXKERNEL/ipx_usrreq.o 3) Still I installed the new kernel with "make installkernel KERNCONF=3DIPXKERNEL", and as expected, it was exactly the same to the old one. freebsd-yc# ls /boot/kernel > kernel.txt freebsd-yc# ls /boot/kernel.old/ > kernelold.txt freebsd-yc# diff kernel.txt kernelold.txt So do you have any idea about this? The information of my system is: freebsd-yc# uname -a FreeBSD freebsd-yc.vm 8.3-RELEASE FreeBSD 8.3-RELEASE #0: Mon Oct 15 11:20:49 CST 2012 root@freebsd-yc.vm:/usr/obj/usr/src/sys/IPXKERNEL i386 Thanks, YC Wang From owner-freebsd-questions@FreeBSD.ORG Mon Oct 15 08:09:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 57099157 for ; Mon, 15 Oct 2012 08:09:40 +0000 (UTC) (envelope-from eugene@imedia.ru) Received: from mx2.imedia.ru (mx2.imedia.ru [91.230.26.134]) by mx1.freebsd.org (Postfix) with ESMTP id A22118FC0A for ; Mon, 15 Oct 2012 08:09:39 +0000 (UTC) X-All-Recipients: X-DKIM: OpenDKIM Filter v2.5.0 mx2.imedia.ru q9F89c7w045598 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=imedia.ru; s=common; t=1350288578; bh=WjlcbDHoOCY7wEXrQ8EVumx2PW809d7e+LddX5z1fek=; h=From:Reply-To:To:Subject:Date; b=Ga+isijAdHim6c79i1WAyYsYOG0SWgYmU1DQkTQOqFJerCpn7LvuCeeSp32tL1L9k W8H69WtCT8yeXBqHzjFqlr5Tat+4uFYdjjLu8TyBXJQTHT+oWQNNPWF6+bvmb9C+em HOzQGNI/SmEH8gr9+MUArTfrXWUgJOTlxhJJrwKI= Received: from badger.imedia.ru (root@badger.imedia.ru [10.167.1.243]) by mx2.imedia.ru (8.14.3/8.14.3/TWINS7_LDAP) with ESMTP id q9F89c7w045598 for ; Mon, 15 Oct 2012 12:09:38 +0400 (MSK) (envelope-from eugene@imedia.ru) Received: from badger.imedia.ru (eugene@localhost [127.0.0.1]) by badger.imedia.ru (8.14.5/8.14.4) with ESMTP id q9F89cP3000600 for ; Mon, 15 Oct 2012 12:09:38 +0400 (MSK) (envelope-from eugene@imedia.ru) Received: from localhost (localhost [[UNIX: localhost]]) by badger.imedia.ru (8.14.5/8.14.4/Submit) id q9F89bF1000593 for freebsd-questions@freebsd.org; Mon, 15 Oct 2012 12:09:37 +0400 (MSK) (envelope-from eugene@imedia.ru) X-Authentication-Warning: badger.imedia.ru: eugene set sender to eugene@imedia.ru using -f From: Eugene Mitrofanov Organization: Sanoma Independent Media To: freebsd-questions@freebsd.org Subject: dev.bce.3.mbuf_alloc_failed_count increases permanently Date: Mon, 15 Oct 2012 12:09:37 +0400 User-Agent: KMail/1.9.10 X-Origin: badger.imedia.ru MIME-Version: 1.0 Content-Disposition: inline Message-Id: <201210151209.37882.eugene@imedia.ru> X-Length: 2179 X-UID: 5644 Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (mx2.imedia.ru [10.167.0.252]); Mon, 15 Oct 2012 12:09:38 +0400 (MSK) X-Virus-Scanned: clamav-milter 0.97.4-exp at lynx.imedia.ru X-Virus-Status: Clean X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Eugene Mitrofanov List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Oct 2012 08:09:40 -0000 Hello list! I have FreeBSD 8.2-p3 and observe a strange behaviour sysctl -a | g bce.3|g -vE '(%|stat)'; echo; sleep 10; sysctl -a | g bce.3| g -vE '(%|stat)'; echo; netstat -m dev.bce.3.l2fhdr_error_count: 0 dev.bce.3.mbuf_alloc_failed_count: 2098854 dev.bce.3.mbuf_frag_count: 2655285 dev.bce.3.dma_map_addr_rx_failed_count: 0 dev.bce.3.dma_map_addr_tx_failed_count: 57 dev.bce.3.unexpected_attention_count: 0 dev.bce.3.com_no_buffers: 0 dev.bce.3.l2fhdr_error_count: 0 dev.bce.3.mbuf_alloc_failed_count: 2098856 dev.bce.3.mbuf_frag_count: 2655288 dev.bce.3.dma_map_addr_rx_failed_count: 0 dev.bce.3.dma_map_addr_tx_failed_count: 57 dev.bce.3.unexpected_attention_count: 0 dev.bce.3.com_no_buffers: 0 3022/18143/21165 mbufs in use (current/cache/total) 2039/9179/11218/65536 mbuf clusters in use (current/cache/total/max) 1678/3731 mbuf+clusters out of packet secondary zone in use (current/cache) 0/1672/1672/12800 4k (page size) jumbo clusters in use (current/cache/total/max) 0/1763/1763/6400 9k jumbo clusters in use (current/cache/total/max) 0/0/0/3200 16k jumbo clusters in use (current/cache/total/max) 4833K/45448K/50282K bytes allocated to network (current/cache/total) 0/0/0 requests for mbufs denied (mbufs/clusters/mbuf+clusters) 0/0/0 requests for jumbo clusters denied (4k/9k/16k) 0/0/0 sfbufs in use (current/peak/max) 0 requests for sfbufs denied 0 requests for sfbufs delayed 59058137 requests for I/O initiated by sendfile 0 calls to protocol drain routines Any suggestions? Could You advise me what is the reason of this? -- EVM7-RIPE From owner-freebsd-questions@FreeBSD.ORG Mon Oct 15 08:24:03 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 009CE770 for ; Mon, 15 Oct 2012 08:24:02 +0000 (UTC) (envelope-from kernel@webrz.net) Received: from webrz.xs4all.nl (webrz.xs4all.nl [82.95.248.216]) by mx1.freebsd.org (Postfix) with ESMTP id A1CBE8FC0A for ; Mon, 15 Oct 2012 08:24:02 +0000 (UTC) Received: from webrz.xs4all.nl (localhost [127.0.0.1]) by webrz.xs4all.nl (Postfix) with ESMTP id F1DF15083C; Mon, 15 Oct 2012 10:21:50 +0200 (CEST) Received: from [10.10.10.44] (chimea.webrz.net [10.10.10.44]) by webrz.xs4all.nl (Postfix) with ESMTPA id C8DD650834; Mon, 15 Oct 2012 10:21:50 +0200 (CEST) Message-ID: <507BC823.9060606@webrz.net> Date: Mon, 15 Oct 2012 10:24:03 +0200 From: Jos Chrispijn User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: Mike Clarke Subject: Re: FreeBSD9 - Fresh install (2) References: <5079ABFA.8050607@webrz.net> <20121013210513.80676821.freebsd@edvax.de> <507AFEEC.2030609@webrz.net> <201210142129.24479.jmc-freebsd2@milibyte.co.uk> In-Reply-To: <201210142129.24479.jmc-freebsd2@milibyte.co.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AV-Checked: ClamAV using ClamSMTP @triton.webrz.net 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, 15 Oct 2012 08:24:03 -0000 Mike Clarke: > My approach would be to go for 3 slices. Slice 1 would be a suitable size to > hold the OS and swap, I have quite a lot of ports installed on my desktop PC > so would go for about 20 to 30 GB. This could be less for a server but with > 1TB you can afford to be generous. This can then be partitioned to suit with > whatever combinations of /, /usr, /usr/local, /var. /tmp and swap suits your > fancy. Intererestig suggestion. In my opinion overkill, but if I have to use them, I's rather do it good then K-) thanks, Jos Chrispijn > The second slice would be the same size as the first and be left empty for now > as a spare. ok > The third slice, the rest of the disk, would be for all of your data and could > be partitioned (or not) to suit your needs for /home and any other local data > requirements. If there's to be any large mysql databases then I'd put them > here with symlinks from /var where mysql normally expects to find them. > > When you come to upgrade to the next FreeBSD release just install it into the > spare second slice and boot from that instead of the first. If you experience > any serious problems with the upgrade then nothing has been lost and you can > just revert to booting of the first slice until things are sorted out. that sounds goo to me! So I then have to only make that slice bootable and install, right? > The above is all assuming you're using UFS. If you're going to use ZFS then > there are other possibilities like using sysutils/beadm from ports > to manage multiple boot > environments in a single partition. Will use the server UFS only, but the /sysutils/beadm makes me curious... thanks for your suggestions, Jos Chrispijn From owner-freebsd-questions@FreeBSD.ORG Mon Oct 15 10:03:31 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3AB08CBA for ; Mon, 15 Oct 2012 10:03: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 EA1708FC0C for ; Mon, 15 Oct 2012 10:03:29 +0000 (UTC) Received: from r56.edvax.de (port-92-195-110-131.dynamic.qsc.de [92.195.110.131]) by mx01.qsc.de (Postfix) with ESMTP id CB3B53CD02; Mon, 15 Oct 2012 12:03: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 q9FA3LGn007924; Mon, 15 Oct 2012 12:03:22 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 15 Oct 2012 12:03:21 +0200 From: Polytropon To: Jos Chrispijn Subject: Re: FreeBSD9 - Fresh install (2) Message-Id: <20121015120321.21ff48f4.freebsd@edvax.de> In-Reply-To: <507BC823.9060606@webrz.net> References: <5079ABFA.8050607@webrz.net> <20121013210513.80676821.freebsd@edvax.de> <507AFEEC.2030609@webrz.net> <201210142129.24479.jmc-freebsd2@milibyte.co.uk> <507BC823.9060606@webrz.net> 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: Mike Clarke , 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: Mon, 15 Oct 2012 10:03:31 -0000 On Mon, 15 Oct 2012 10:24:03 +0200, Jos Chrispijn wrote: > > When you come to upgrade to the next FreeBSD release just install it into the > > spare second slice and boot from that instead of the first. If you experience > > any serious problems with the upgrade then nothing has been lost and you can > > just revert to booting of the first slice until things are sorted out. > that sounds goo to me! So I then have to only make that slice bootable > and install, right? Per definition, you can only mark one slice bootable. If you manage to mark more than one slice bootable, the start loader (from BIOS) will boot into the first one it finds, and that will possibly be the one of the 1st slice. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Oct 15 14:47:06 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1094DC25 for ; Mon, 15 Oct 2012 14:47:06 +0000 (UTC) (envelope-from kernel@webrz.net) Received: from webrz.xs4all.nl (webrz.xs4all.nl [82.95.248.216]) by mx1.freebsd.org (Postfix) with ESMTP id B25238FC0C for ; Mon, 15 Oct 2012 14:47:05 +0000 (UTC) Received: from webrz.xs4all.nl (localhost [127.0.0.1]) by webrz.xs4all.nl (Postfix) with ESMTP id C378550960; Mon, 15 Oct 2012 16:44:53 +0200 (CEST) Received: from [10.10.10.44] (chimea.webrz.net [10.10.10.44]) by webrz.xs4all.nl (Postfix) with ESMTPA id 6E2575085E; Mon, 15 Oct 2012 16:44:53 +0200 (CEST) Message-ID: <507C21EB.2040908@webrz.net> Date: Mon, 15 Oct 2012 16:47:07 +0200 From: Jos Chrispijn User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: Polytropon Subject: Re: FreeBSD9 - Fresh install (2) References: <5079ABFA.8050607@webrz.net> <20121013210513.80676821.freebsd@edvax.de> <507AFEEC.2030609@webrz.net> <201210142129.24479.jmc-freebsd2@milibyte.co.uk> <507BC823.9060606@webrz.net> <20121015120321.21ff48f4.freebsd@edvax.de> In-Reply-To: <20121015120321.21ff48f4.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AV-Checked: ClamAV using ClamSMTP @triton.webrz.net Cc: Mike Clarke , 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, 15 Oct 2012 14:47:06 -0000 Polytropon: > Per definition, you can only mark one slice bootable. If you manage to > mark more than one slice bootable, the start loader (from BIOS) will > boot into the first one it finds, and that will possibly be the one of > the 1st slice. I know, but I was referring to the update installation of a new BSD version; if I have installed it on the empty slice, I only have to make that slice bootable (and removing that function from the original one). Does that make sense (still in Windows mode here J-) ? regards, Jos Chrispijn From owner-freebsd-questions@FreeBSD.ORG Mon Oct 15 16:05:00 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7BD0BA7; Mon, 15 Oct 2012 16:05:00 +0000 (UTC) (envelope-from levitch@iglou.com) Received: from rdsmtp.iglou.com (rdsmtp.iglou.com [192.107.41.63]) by mx1.freebsd.org (Postfix) with ESMTP id 315288FC0A; Mon, 15 Oct 2012 16:04:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=iglou.com; s=alpha; h=Content-Type:MIME-Version:References:Message-ID:In-Reply-To:Subject:cc:To:From:Date; bh=09HTONv4rBWG+lFEoqD4NdNA9Yg/gAbjdu5KOb5MMrM=; b=hATqDbrS3ARGJ30LSeYej2YLLIv8zD+fQdau49FM6d+zMT61lHgBarhv9c0886qahXBFO421okKJ1vl1QCkEXqdBfB0R+rEV+ZLl2EkDUNwFCjAW4thu/AZ91v7RvYnauNumxcd/ljXgxkozgNd7xTmRFAnxC8aZwyVx5W9Sprk=; Received: from iglou4.iglou.com ([192.107.41.39]:48553 helo=mail.iglou.com) by rdsmtp.iglou.com with esmtpa (Exim MTA/8.19.3) (envelope-from ) id 1TNnA3-0000dy-34 by authid with igloumta_auth; Mon, 15 Oct 2012 12:04:59 -0400 Received: from shell1.iglou.com ([192.107.41.17]:47228 helo=shell1) by mail.iglou.com with esmtps (TLS cipher TLSv1:AES256-SHA:256) (Exim MTA/8.19.3) (envelope-from ) id 1TNnA2-0002VJ-NL; Mon, 15 Oct 2012 12:04:58 -0400 Date: Mon, 15 Oct 2012 12:04:58 -0400 (EDT) From: Darrel X-X-Sender: levitch@shell1 To: Matthew Seaman Subject: [solved]: local-distfiles | blackend In-Reply-To: <507BA786.6050300@FreeBSD.org> Message-ID: References: <507BA786.6050300@FreeBSD.org> User-Agent: Alpine 2.00 (GSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Originating-IP: 192.107.41.17 X-IgLou-Customer: 3cb6f76205bd20f518810676a67a982b Cc: 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, 15 Oct 2012 16:05:00 -0000 --- >> >> svn co svn://svn.freebsd.org/doc/release/9.1.0/en_US.ISO8859-1/ >> --- >> >> Does this method of having a local copy of docs around seem alright, >> or does someone know that there is a better way? > > That should work fine, if what you are after are the .xml source files > the documentation is compiled from. Note that compiling all this stuff > into HTML or PDF requires a moderately large toolchain to be installed. > (see: textproc/docproj* in ports.) > > Also, the URL doc/release/9.1.0/en_US.ISO8859-1 -- that's a tag in SVN, > meaning it is never going to be updated. Check out HEAD if you want to > be able to track changes. > > You always used to be able to install a pre-compiled doc bundle from the > install media. What with changes over the last several months I don't > know if that is still possible, but if it is, then that would probably > be more suitable if all you want is to have a reference copy of the docs > to hand. Thank you, Matthew. It seems like what I had planned to do would have involved inventing the wheel. I recall seeing a docs option in the media as well. There is something in ports which will be fine for my purposes- I can get html and plain text. There are also knobs for postscript and portable documents for those interested. $ ls /usr/ports/misc/ | grep freebsd-doc Darrel From owner-freebsd-questions@FreeBSD.ORG Mon Oct 15 16:51:56 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 120D56A7 for ; Mon, 15 Oct 2012 16:51:56 +0000 (UTC) (envelope-from news@switch2voip.co.za) Received: from apollo.zhost.co.za (apollo.zhost.co.za [87.98.254.168]) by mx1.freebsd.org (Postfix) with ESMTP id 9287C8FC08 for ; Mon, 15 Oct 2012 16:51:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=switch2voip.co.za; s=default; h=Content-Type:MIME-Version:Message-ID:Subject:Reply-To:From:To:Date; bh=YvOsYz/skCtvICHmNrKoHXU+t3e44FN0iUT0ruv5JgA=; b=qT8cwLhC1TddHBSs2zeuzdBDQKyZM1Yib4aIy1oIhMICCMfSrrbzSbUDgG3LneVzNGnGU0aJiJqcjq0EWZ/ezJY+MbK99821CBq31E8yrFinRDASJ6ij7Qt2rPEiPIRC; Received: from apollo.zhost.co.za ([87.98.254.168]:37638 helo=www.switch2voip.co.za) by apollo.zhost.co.za with esmtpa (Exim 4.80) (envelope-from ) id 1TNnIw-0006Kj-8H for freebsd-questions@freebsd.org; Mon, 15 Oct 2012 18:14:10 +0200 Date: Mon, 15 Oct 2012 18:14:10 +0200 To: Fname From: "CommIT.tel" Subject: Network Cabling/VoIP/Voice/Data Solution. CommITtel can save you up to 40 percent of you telephone bill Message-ID: X-Priority: 3 X-Mailer: phpmailer (phpmailer.sourceforge.net) [version 2.0.4] Newsletter-Id: 5051c0eb711bf7.86277905-daa8d077f6ecc13ad2.34281417 MIME-Version: 1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - apollo.zhost.co.za X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - switch2voip.co.za Content-Type: text/plain; charset = "UTF-8" Content-Transfer-Encoding: base64 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: "CommIT.tel" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Oct 2012 16:51:56 -0000 VG8gdmlldyB0aGUgbWVzc2FnZSwgcGxlYXNlIHVzZSBhbiBIVE1MIGNvbXBhdGlibGUgZW1haWwg dmlld2VyIQ== From owner-freebsd-questions@FreeBSD.ORG Mon Oct 15 17:09:04 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 03A8F27D for ; Mon, 15 Oct 2012 17:09:04 +0000 (UTC) (envelope-from abdoumassnoue2013@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id AC7818FC14 for ; Mon, 15 Oct 2012 17:09:03 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id v11so7020010vbm.13 for ; Mon, 15 Oct 2012 10:09:03 -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=iip+sQT0s55g6sR/3EpB3/3QAfqoMZGjFpA3H0Jgx98=; b=dUootlUoK92INJYM0zUGRCJBe1UViTghqmZuspiYhlm7sDpjygJqg+wzukB600geGw 7Pjf4dcH3bBWUBdVB+bgRCjmyf9KZofLPBLvV99c2ZbmhX/bF74EH6G5JwZGVqN8f3x6 uKSwuFAwyGLrbNAwZVHKP8cibHykRqytZyjKCGhEoHGYN42BOI1VQ2hix2njNKQY0xNo t2ZgrAXPGEjpdRWD/tnv9o3gDw0/DrC5iBANFUvkIe7c8QtMGogPuAMl+W8PFNy71tJd EYe92mWHxVJV7IPe4Y07k6dhbKja2BrUsRFx05dGEmEuipLVfd6C5cO9TDIHKode1mm7 fnzQ== MIME-Version: 1.0 Received: by 10.220.155.132 with SMTP id s4mr7069430vcw.15.1350320943203; Mon, 15 Oct 2012 10:09:03 -0700 (PDT) Received: by 10.220.18.80 with HTTP; Mon, 15 Oct 2012 10:09:03 -0700 (PDT) Date: Mon, 15 Oct 2012 10:09:03 -0700 Message-ID: Subject: 0 From: abdou massnoue 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, 15 Oct 2012 17:09:04 -0000 From owner-freebsd-questions@FreeBSD.ORG Mon Oct 15 17:34:41 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BED83D34 for ; Mon, 15 Oct 2012 17:34:41 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from oproxy12-pub.bluehost.com (oproxy12-pub.bluehost.com [50.87.16.10]) by mx1.freebsd.org (Postfix) with SMTP id 6C42D8FC0C for ; Mon, 15 Oct 2012 17:34:41 +0000 (UTC) Received: (qmail 9799 invoked by uid 0); 15 Oct 2012 17:34:19 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by oproxy12.bluehost.com with SMTP; 15 Oct 2012 17:34:19 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=apotheon.com; s=default; h=Content-Type:MIME-Version:Message-ID:Subject:To:From:Date; bh=3pwjxprK60PM1WyfrWy1uCOLGjuiH0ng/m5WhpSjvwQ=; b=mm13yuQlbDiXaTZh0LM4xBTG+cH64VFmuaPm7llSQeGbV/P/pPvu8NtPpdeLxJY/2/FdRW2iSfMYibMsz81ReFtFZAwPH1GnpgTcgNxmwaOjvL00mN3ZivPx9NhSGkDk; Received: from [24.8.180.234] (port=62652 helo=localhost) by box543.bluehost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1TNoYV-0005pn-C2 for freebsd-questions@freebsd.org; Mon, 15 Oct 2012 11:34:19 -0600 Date: Mon, 15 Oct 2012 11:34:19 -0600 From: Chad Perrin To: FreeBSD Questions Subject: a metric for number of users Message-ID: <20121015173418.GA27414@hemlock.hydra> Mail-Followup-To: FreeBSD Questions MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HlL+5n6rz5pIUxbD" Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.com} {sentby:smtp auth 24.8.180.234 authed with perrin@apotheon.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: Mon, 15 Oct 2012 17:34:41 -0000 --HlL+5n6rz5pIUxbD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Is there some way I could get the number of unique IPs hitting FreeBSD servers for software updates? I'm curious about the direct comparison of numbers between FreeBSD, Ubuntu, Fedora, and SUSE for this metric. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --HlL+5n6rz5pIUxbD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlB8SRoACgkQ9mn/Pj01uKUg5wCeMcwSXeZaIwb02g/dzpr4ydt0 TgoAn2zdfp8RSEhir2N4tUEya0gmB50F =YyN2 -----END PGP SIGNATURE----- --HlL+5n6rz5pIUxbD-- From owner-freebsd-questions@FreeBSD.ORG Mon Oct 15 23:24:27 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1AC761E4 for ; Mon, 15 Oct 2012 23:24:27 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-ia0-f182.google.com (mail-ia0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id D16558FC0A for ; Mon, 15 Oct 2012 23:24:26 +0000 (UTC) Received: by mail-ia0-f182.google.com with SMTP id k10so5426727iag.13 for ; Mon, 15 Oct 2012 16:24:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ACC3KztxkaoBVg4H0HtX3dadevEFNS6KdtI2gXA0HWI=; b=tJAw1QuGAIeVsZeAwOouPqMvMsc+BPx2a1UupHnDh5g41WTXxNEppUsvBYYjdg0Nje MuI5xxiqO1JT1tm9FB1CkIcp7Gm5ZuoN/tC7Yx+WnH0/e5cDE5vyFDqgocVe/Zsqurss gWvlnszO+CZXDwo0DbWWwgoCmRUvRKI0usxS3O+Iy9iZBdC0BS1Jz4TTPM2TyHqe1sBs JtjMlId3x3qD/beGSL65zYAvNyTJ0KiGAUc9zlGPE7mMJoYviFs0WCJLiKxBgvfsnVyN zpg/l6ve3nXvrJJRPELvJxHhmODslLCns74OoFXDl5yRM+aF2qkNwYttm5wDQGbJcZJU PmDQ== MIME-Version: 1.0 Received: by 10.42.80.207 with SMTP id w15mr681446ick.40.1350343465784; Mon, 15 Oct 2012 16:24:25 -0700 (PDT) Received: by 10.64.30.11 with HTTP; Mon, 15 Oct 2012 16:24:25 -0700 (PDT) In-Reply-To: References: Date: Mon, 15 Oct 2012 19:24:25 -0400 Message-ID: Subject: Re: How does freebsd supports ipx? From: "illoai@gmail.com" To: YC Wang 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: Mon, 15 Oct 2012 23:24:27 -0000 On 15 October 2012 02:23, YC Wang wrote: ... > > I rebuilt the kernel with "option IPX", but it didn't seem to work. > Below was what I did: > > 1) create a new configure file IPXKERNEL enabling "option IPX" > freebsd-yc# cat /sys/i386/conf/IPXKERNEL > include GENERIC > ident IPXKERNEL > options IPX > > 2) make buildkerel KERNCONF=IPXKERNEL. When finised, I found that the > ipx source code did get compiled, but hadn't been linked into a kernel > module. > freebsd-yc# find /usr/obj/usr/src/sys/IPXKERNEL/ | grep ipx > /usr/obj/usr/src/sys/IPXKERNEL/modules/usr/src/sys/modules/arcnet/opt_ipx.h > /usr/obj/usr/src/sys/IPXKERNEL/modules/usr/src/sys/modules/if_ef/opt_ipx.h > /usr/obj/usr/src/sys/IPXKERNEL/modules/usr/src/sys/modules/if_tun/opt_ipx.h > /usr/obj/usr/src/sys/IPXKERNEL/modules/usr/src/sys/modules/netgraph/iface/opt_ipx.h > /usr/obj/usr/src/sys/IPXKERNEL/modules/usr/src/sys/modules/smbfs/opt_ipx.h > /usr/obj/usr/src/sys/IPXKERNEL/modules/usr/src/sys/modules/sppp/opt_ipx.h > /usr/obj/usr/src/sys/IPXKERNEL/modules/usr/src/sys/modules/wlan/opt_ipx.h > /usr/obj/usr/src/sys/IPXKERNEL/opt_ipx.h > /usr/obj/usr/src/sys/IPXKERNEL/ipx.o > /usr/obj/usr/src/sys/IPXKERNEL/ipx_cksum.o > /usr/obj/usr/src/sys/IPXKERNEL/ipx_input.o > /usr/obj/usr/src/sys/IPXKERNEL/ipx_outputfl.o > /usr/obj/usr/src/sys/IPXKERNEL/ipx_pcb.o > /usr/obj/usr/src/sys/IPXKERNEL/ipx_proto.o > /usr/obj/usr/src/sys/IPXKERNEL/ipx_usrreq.o > > 3) Still I installed the new kernel with "make installkernel > KERNCONF=IPXKERNEL", and as expected, it was exactly the same to the > old one. > freebsd-yc# ls /boot/kernel > kernel.txt > freebsd-yc# ls /boot/kernel.old/ > kernelold.txt > freebsd-yc# diff kernel.txt kernelold.txt > > So do you have any idea about this? The information of my system is: > freebsd-yc# uname -a > FreeBSD freebsd-yc.vm 8.3-RELEASE FreeBSD 8.3-RELEASE #0: Mon Oct 15 > 11:20:49 CST 2012 > root@freebsd-yc.vm:/usr/obj/usr/src/sys/IPXKERNEL i386 > % kldstat -v | grep ipx might be enlightening. I don't know if you're trying to connect to a netware server, but . . . Back in the old-old days of FreeBSD 4.6 or so, I connected to a netware (4-something, IIRC) server using ipx/spx & ncp (options IPX, options NCP, options NWFS) & it seemed to work pretty well. But I haven't used it since 6.x, & I no longer connect to any netware machines, so I have no idea if it sill works. I believe at the time it may have also required "options LIBMCHAIN" & "options FLOWTABLE", but that might have been a local issue. In the local network, I also had to have ethernet frames compiled in with at a minimum 8023 & SNAP support (& I think ETHER_II for sap/rip): device ef options ETHER_II options ETHER_8023 options ETHER_8022 options ETHER_SNAP (the ifconfig lines get ridiculous after a while) I also believe that nwfs.ko & libmchain.ko could be loaded as modules, but that ncp didn't play nicely when loaded as a module & ipx/spx had to be compiled into the kenel. Good luck. -- -- From owner-freebsd-questions@FreeBSD.ORG Tue Oct 16 00:09:26 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 632A5DEA for ; Tue, 16 Oct 2012 00:09:26 +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 1E3238FC0C for ; Tue, 16 Oct 2012 00:09:26 +0000 (UTC) Received: from r56.edvax.de (port-92-195-110-131.dynamic.qsc.de [92.195.110.131]) by mx01.qsc.de (Postfix) with ESMTP id 17C703CE53; Tue, 16 Oct 2012 02:09:24 +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 q9G09NBv002053; Tue, 16 Oct 2012 02:09:23 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 16 Oct 2012 02:09:23 +0200 From: Polytropon To: Jos Chrispijn Subject: Re: FreeBSD9 - Fresh install (2) Message-Id: <20121016020923.68d15b3f.freebsd@edvax.de> In-Reply-To: <507C21EB.2040908@webrz.net> References: <5079ABFA.8050607@webrz.net> <20121013210513.80676821.freebsd@edvax.de> <507AFEEC.2030609@webrz.net> <201210142129.24479.jmc-freebsd2@milibyte.co.uk> <507BC823.9060606@webrz.net> <20121015120321.21ff48f4.freebsd@edvax.de> <507C21EB.2040908@webrz.net> 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, 16 Oct 2012 00:09:26 -0000 On Mon, 15 Oct 2012 16:47:07 +0200, Jos Chrispijn wrote: > Polytropon: > > Per definition, you can only mark one slice bootable. If you manage to > > mark more than one slice bootable, the start loader (from BIOS) will > > boot into the first one it finds, and that will possibly be the one of > > the 1st slice. > I know, but I was referring to the update installation of a new BSD > version; if I have installed it on the empty slice, I only have to make > that slice bootable (and removing that function from the original one). > Does that make sense (still in Windows mode here J-) ? That would work, and could be performed easily even using the slice editor of the sysinstall program. Of course, make sure that all partition references work properly for _each_ slice. Using labels is a comfortable way to achieve this. But it would be no problem to use the device names (as long as the disk won't be moved). For example: Slice 1: Installation OS 8.2 -> boots to /dev/ad0s1a (kernel is in ad0s1a:/boot/kernel) -> performs root mount of /dev/ad0s1a -> mounts OS partitions /dev/ad0s1[defg] -> mounts data partition /dev/ad0s3 Slice 2: Installation OS 9.0 -> boots to /dev/ad0s2a (kernel is in ad0s2a:/boot/kernel) -> performs root mount of /dev/ad0s2a -> mounts OS partitions /dev/ad0s2[defg] -> mounts data partition /dev/ad0s3 Slice 3: Users' home directories You also use the fdisk command to set the active partition manually, or write a short skript that "flips the switch" to boot from "the other slice" the next time (comparable to the nextboot command in relation to kernels); see "man fdisk" for details. That won't work in "Windows" mode, as you cannot click on the slice. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Oct 16 00:55:42 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D1596BD3 for ; Tue, 16 Oct 2012 00:55:42 +0000 (UTC) (envelope-from confirmation@bounces.fanbridge.com) Received: from r234-m4.fanbridge.com (r234-m4.fanbridge.com [174.37.97.234]) by mx1.freebsd.org (Postfix) with ESMTP id 9EED68FC0C for ; Tue, 16 Oct 2012 00:55:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; s=r234-m4; d=fanbridge.com; h=From:To:Subject:Message-ID:Sender:List-Unsubscribe:List-Id:Date:Content-Type:MIME-Version; i=noreply@fanbridge.com; bh=ZUq3gGxM2jpD9X4en6ii/CRZpRg=; b=WpTNLrYMnMt8pQJeWkWjdSIA0EZ6TQV/eyE8la8mO2JhOuNg32skIx61IrfvTLVvS5KcY8v0SagQ wUZyvC2tCw== DomainKey-Signature: a=rsa-sha1; c=nofws; q=dns; s=r234-m4; d=fanbridge.com; b=gNhvieVybynyQii6HyqEsKpupE/3N392iVEg2+04Tx1lp6O9WCM4wPFSTK7Zr3KZCdQEqX1t2ZI9 fFZ0IHg6kw==; Received: from 127.0.0.1 (173.193.22.34) by r234-m4.fanbridge.com id hfio8s1cibco for ; Mon, 15 Oct 2012 20:34:33 -0400 (envelope-from ) From: "Niko Jay" To: "questions@freebsd.org" Subject: =?utf-8?Q?Please=20confirm=20your=20email=20for=20Niko=20Jay's=20list?= Message-ID: Sender: FanBridge X-fbridge-uid: 178882 X-fbridge-sid: 208793590 X-fbridge-cfc: br5FkPaFXat2rdYar2ca55hh2k X-fbridge-collection: collection-294682 Date: Mon, 15 Oct 2012 20:34:33 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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, 16 Oct 2012 00:55:43 -0000 Niko Jay FOLLOW INTERNATIONAL CARIBBEAN ARTIST NIKO JAY ON HIS JOURNEY THROUGH MU= SIC INDUSTRY STARDOM! Congratulations! You have been added to the runtime_records@live.com fan= list! Click on the following link to confirm/add your details: http://fburls.com/updt/178882|br5FkPaFXat2rdYar2ca55hh2k|questions@freeb= sd.org IMPORTANT: Be sure to add Niko Jay to your safe senders list to ensure t= hat you get these messages every time. This list is powered by FanBridge the world's leading provider of fan re= lationship management. With FanBridge, your information is kept safe and= never sold to third parties. http://www.fanbridge.com ---------------------------------------- Niko Jay sent this email to questions@freebsd.org Questions? Contact runtime_records@live.com or Niko Jay, c/o FanBridge,=20= Inc. - 14525 SW Millikan Way, #16910, Beaverton, Oregon 97005, United St= ates Update Your Information - http://fburls.com/updt/178882|br5FkPaFXat2rdYa= r2ca55hh2k|questions@freebsd.org Unsubscribe - http://fburls.com/usub/178882|br5FkPaFXat2rdYar2ca55hh2k|2= 08793590 Privacy Policy - http://www.fanbridge.com/learn/privacy.php This email message is powered by FanBridge: http://www.fanbridge.com/b.php?id=3D178882&utm_source=3Dmail_manage_conf= irmation&utm_medium=3Dmail_footer_link&utm_campaign=3Dpowered_by&utm_con= tent=3D178882 Powering Valuable Fan Relationships From owner-freebsd-questions@FreeBSD.ORG Tue Oct 16 01:24:27 2012 Return-Path: Delivered-To: questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 70B6A734 for ; Tue, 16 Oct 2012 01:24:27 +0000 (UTC) (envelope-from web9044@vm1003.netio.cz) Received: from vm1003.netio.cz (85-118-130-76.static.masterinter.net [85.118.130.76]) by mx1.freebsd.org (Postfix) with ESMTP id 293078FC0A for ; Tue, 16 Oct 2012 01:24:26 +0000 (UTC) Received: from localhost (vm1003.netio.cz [127.0.0.1]) by vm1003.netio.cz (Postfix) with ESMTP id 59F0F93D61 for ; Tue, 16 Oct 2012 03:15:01 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at vm1003 Received: from vm1003.netio.cz ([127.0.0.1]) by localhost (vm1003.netio.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Fx+xb4tGfIOK for ; Tue, 16 Oct 2012 03:15:01 +0200 (CEST) Received: by vm1003.netio.cz (Postfix, from userid 9044) id B669E1DE3F; Tue, 16 Oct 2012 03:14:48 +0200 (CEST) To: questions@FreeBSD.ORG Subject: National Australia Bank Message X-PHP-Originating-Script: 9044:ken(1).php From: National Australia Bank Message-ID: X-Priority: 1 X-MSmail-Priority: High X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Date: Tue, 16 Oct 2012 03:14:48 +0200 (CEST) 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: National Australia Bank List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Oct 2012 01:24:27 -0000 Dear National Australia Bank - NAB Customer, We're making some exciting changes that will make your online banking experience even better, We therefore request you to verify your account. [1]Click Here To Verify Your Account Regards, © 2012 National Australia Bank - NAB . All rights reserved References 1. http://www.indebomen.nl//wp-content/themes/picnic/cache/images/updatere..php From owner-freebsd-questions@FreeBSD.ORG Tue Oct 16 11:58:16 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 36EBE4AD for ; Tue, 16 Oct 2012 11:58:16 +0000 (UTC) (envelope-from wangyc0307@gmail.com) Received: from mail-wi0-f178.google.com (mail-wi0-f178.google.com [209.85.212.178]) by mx1.freebsd.org (Postfix) with ESMTP id B65B38FC08 for ; Tue, 16 Oct 2012 11:58:15 +0000 (UTC) Received: by mail-wi0-f178.google.com with SMTP id hr7so2789980wib.13 for ; Tue, 16 Oct 2012 04:58:13 -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=fWcPrqH59fkbeTPENcwO886MRGdRRnIAzT6H4GfYQIg=; b=v/lFg+3r0CIk1x2fB/wwPZV27HOK1pnQU+IlFgeUOl1Qjt8/cJaKJsqQdhgcMADb2o +00YNA8dti+3hXIoNKsYUode36JEe5jD5O38ViIZO18ZnOWyc+KVwBRNqq16E9VBLt/P 2Vu8/UdNUEFS/0mZgKA+A4nUbpdnLXbGpL4qRO67puACxMzPPsaGIj16WNrs4uMuSxIG KqoAek/pH0mnokk11qtnfaIkM76UKX+zOQMEP0WrqiOMOgAfZGMlEFRCXPwf95tCzctO ns8rWKTOqRfSrZY2Ecoqsia7hFPR1XPGN69I7/0V2NertaK//w7VQn+eEbv1ijWJ5un4 uf7A== MIME-Version: 1.0 Received: by 10.216.136.230 with SMTP id w80mr9644799wei.199.1350388692947; Tue, 16 Oct 2012 04:58:12 -0700 (PDT) Received: by 10.216.202.6 with HTTP; Tue, 16 Oct 2012 04:58:12 -0700 (PDT) In-Reply-To: References: Date: Tue, 16 Oct 2012 19:58:12 +0800 Message-ID: Subject: Re: How does freebsd supports ipx? From: YC Wang To: "illoai@gmail.com" Content-Type: text/plain; charset=UTF-8 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, 16 Oct 2012 11:58:16 -0000 2012/10/16 illoai@gmail.com : > On 15 October 2012 02:23, YC Wang wrote: > ... >> >> I rebuilt the kernel with "option IPX", but it didn't seem to work. >> Below was what I did: >> >> 1) create a new configure file IPXKERNEL enabling "option IPX" >> freebsd-yc# cat /sys/i386/conf/IPXKERNEL >> include GENERIC >> ident IPXKERNEL >> options IPX >> >> 2) make buildkerel KERNCONF=IPXKERNEL. When finised, I found that the >> ipx source code did get compiled, but hadn't been linked into a kernel >> module. >> freebsd-yc# find /usr/obj/usr/src/sys/IPXKERNEL/ | grep ipx >> /usr/obj/usr/src/sys/IPXKERNEL/modules/usr/src/sys/modules/arcnet/opt_ipx.h >> /usr/obj/usr/src/sys/IPXKERNEL/modules/usr/src/sys/modules/if_ef/opt_ipx.h >> /usr/obj/usr/src/sys/IPXKERNEL/modules/usr/src/sys/modules/if_tun/opt_ipx.h >> /usr/obj/usr/src/sys/IPXKERNEL/modules/usr/src/sys/modules/netgraph/iface/opt_ipx.h >> /usr/obj/usr/src/sys/IPXKERNEL/modules/usr/src/sys/modules/smbfs/opt_ipx.h >> /usr/obj/usr/src/sys/IPXKERNEL/modules/usr/src/sys/modules/sppp/opt_ipx.h >> /usr/obj/usr/src/sys/IPXKERNEL/modules/usr/src/sys/modules/wlan/opt_ipx.h >> /usr/obj/usr/src/sys/IPXKERNEL/opt_ipx.h >> /usr/obj/usr/src/sys/IPXKERNEL/ipx.o >> /usr/obj/usr/src/sys/IPXKERNEL/ipx_cksum.o >> /usr/obj/usr/src/sys/IPXKERNEL/ipx_input.o >> /usr/obj/usr/src/sys/IPXKERNEL/ipx_outputfl.o >> /usr/obj/usr/src/sys/IPXKERNEL/ipx_pcb.o >> /usr/obj/usr/src/sys/IPXKERNEL/ipx_proto.o >> /usr/obj/usr/src/sys/IPXKERNEL/ipx_usrreq.o >> >> 3) Still I installed the new kernel with "make installkernel >> KERNCONF=IPXKERNEL", and as expected, it was exactly the same to the >> old one. >> freebsd-yc# ls /boot/kernel > kernel.txt >> freebsd-yc# ls /boot/kernel.old/ > kernelold.txt >> freebsd-yc# diff kernel.txt kernelold.txt >> >> So do you have any idea about this? The information of my system is: >> freebsd-yc# uname -a >> FreeBSD freebsd-yc.vm 8.3-RELEASE FreeBSD 8.3-RELEASE #0: Mon Oct 15 >> 11:20:49 CST 2012 >> root@freebsd-yc.vm:/usr/obj/usr/src/sys/IPXKERNEL i386 >> > > % kldstat -v | grep ipx > might be enlightening. > > I don't know if you're trying to connect to a netware > server, but . . . > > Back in the old-old days of FreeBSD 4.6 or so, I > connected to a netware (4-something, IIRC) server > using ipx/spx & ncp (options IPX, options NCP, > options NWFS) & it seemed to work pretty well. > But I haven't used it since 6.x, & I no longer > connect to any netware machines, so I have > no idea if it sill works. I believe at the time it > may have also required "options LIBMCHAIN" & > "options FLOWTABLE", but that might have > been a local issue. > > In the local network, I also had to have ethernet > frames compiled in with at a minimum 8023 & > SNAP support (& I think ETHER_II for sap/rip): > device ef > options ETHER_II > options ETHER_8023 > options ETHER_8022 > options ETHER_SNAP > (the ifconfig lines get ridiculous after a while) > > I also believe that nwfs.ko & libmchain.ko could be > loaded as modules, but that ncp didn't play nicely > when loaded as a module & ipx/spx had to be > compiled into the kenel. > > Good luck. > > -- > -- Hi: I finally realize what the problem is: Rebuilding the kernel with "option IPX" will not generate a kernel module, in fact, the ipx code is built directly into the main kernel image. Therefore, I get ipx supported. Anyway, thank you for your suggestions. YC Wang From owner-freebsd-questions@FreeBSD.ORG Tue Oct 16 12:21:24 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2230F6B6 for ; Tue, 16 Oct 2012 12:21:24 +0000 (UTC) (envelope-from dedi.mf@gmail.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id D559E8FC12 for ; Tue, 16 Oct 2012 12:21:23 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so8124040oag.13 for ; Tue, 16 Oct 2012 05:21:23 -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=iIl3xp7K/gZnJzgQsQpeaOPkWOzyazl4oxOI5Bv2oP4=; b=w+mxPwnOMgIhdshlK23JkpWKUio9v+wykBld7NXl3WJH4jtXzxyMHdRZLDKrPxD2Qb TJaqfC+0trtEtS88m5R2UtwX+8jqJBJ0+Fgl+wU1qFtpxR8WbOYwQi8/fM/A3ii2fRQt xonSIhAWxS4KZdRwKewE9hnLGHorYVA5f90/1qpYw/12g1fc+cBusfljaqiajc1WYWUj AJEl46ma9BXxR4pcdqwWyi4NVyOytvCYPXb0Uez5B/19tifgBHAzmeoqDyn0Z7JKGBx4 7Sa34Y5vvji7ZrYx/Uy1Uu4VDRqSFgGGOb5bnfWU8+FcTsWjix7VZhNFkAJTZY2lhI6B 60bQ== MIME-Version: 1.0 Received: by 10.60.26.72 with SMTP id j8mr6478464oeg.68.1350390083243; Tue, 16 Oct 2012 05:21:23 -0700 (PDT) Received: by 10.60.133.147 with HTTP; Tue, 16 Oct 2012 05:21:23 -0700 (PDT) Date: Tue, 16 Oct 2012 19:21:23 +0700 Message-ID: Subject: http://localhost/phpmyadmin From: Dedi Mf 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, 16 Oct 2012 12:21:24 -0000 From owner-freebsd-questions@FreeBSD.ORG Tue Oct 16 15:08:48 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5397289A for ; Tue, 16 Oct 2012 15:08:48 +0000 (UTC) (envelope-from jacks.1785@gmail.com) Received: from mail-ia0-f182.google.com (mail-ia0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1A07F8FC08 for ; Tue, 16 Oct 2012 15:08:47 +0000 (UTC) Received: by mail-ia0-f182.google.com with SMTP id k10so6109244iag.13 for ; Tue, 16 Oct 2012 08:08:47 -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=KGW+fQ+KOS64M/oarmWRJ0AjmG69MyhIdDOqg0hKisQ=; b=q/2I65zmRLHNNK2gLtx5TZhGLwS9tSE58ANjMDvulW1AYDp4jE44iQlrugNV8XJPIz vZGH/vT7uy0ZnnQEo5BOIqvHRgRUKPNEfT+EWVQ32RZOuUVXnT9lw5LZ/fotaLjlOFVs Clm/WHApnUYzaiK5t5dh8zKhePE6wDCMfQQy72Y/PR5slZoah+dg2N/gJhEnGyd8SaXh 4roSOLa8Lba0I78A3oiHPpUgFrCuVJwZWzjTTPcvDus0IOiAq2x+KURY4fFz0yMUd1Pz wGG/CG6OYcAnEMUWb831v6I0rDwKU/NHHCicDDZqGaR9ISzfAxWwWOHuBQmTjNJv8ofS 8NUw== MIME-Version: 1.0 Received: by 10.50.152.231 with SMTP id vb7mr12477830igb.1.1350400127417; Tue, 16 Oct 2012 08:08:47 -0700 (PDT) Received: by 10.64.11.166 with HTTP; Tue, 16 Oct 2012 08:08:47 -0700 (PDT) Date: Tue, 16 Oct 2012 20:38:47 +0530 Message-ID: Subject: pppoe configuration and dns name resolution From: Jack To: freebsd-questions@freebsd.org 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, 16 Oct 2012 15:08:48 -0000 Hi I'm new as a FreeBSD user, and trying to configure my pppoe connection. After reading handbook and searching on various forums, I prepared the ppp.conf file, and tried starting the ppp via # ppp -ddial adsl Here 'adsl' is the profile name, in /etc/ppp/ppp.conf. I also tried #ppp -auto adsl but the error message was same. The tun0 interface is created, but when is tried pinging to well known sites, e.g. yahoo.com, etc. it says: "can't resolve hostname." It seems a DNS issue first, but when I put my adsl modem in non-bridged mode, I was able to connect to any site. The IP address allocated to my PC is via DHCP, so no special configuration was needed in modem's non-bridged mode. The problem arise only when I put adsl modem in bridged mode and tried dialing via ppp. My network schematic is: PC <-----------------------> ADSL modem <-----> Internet 192.168.1.2 192.168.1.1 DHCP is enabled in adsl modem. I'm pasting my related configuration files if they can help. Please tell me if any other files are needed. /etc/rc.conf hostname="jacklappy" ifconfig_fxp0="DHCP" sshd_enable="YES" moused_enable="YES" powerd_enable="YES" # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable dumpdev="AUTO" hald_enable="YES" dbus_enable="YES" routerenable="NO" -------------------------------------------------------------------------------------------------- /etc/resolv.conf # Generated by resolvconf nameserver 192.168.1.1 ---------------------------------------------------------------------------- /etc/ppp/ppp.conf default: adsl: set log Phase tun command set device PPPoE:fxp0 set mru 1492 set mtu 1492 set ctsrts off set speed sync set dial enable lqr set login set authname myusername set authkey mypassword set timeout 120 set redial 0 0 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR enable dns nat enable no ---------------------------------------------------------------------------------------- ifconfig output: fxp0: flags=8843 metric 0 mtu 1500 options=2009 ether 00:16:d3:0c:42:22 inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255 nd6 options=29 media: Ethernet autoselect (100baseTX ) status: active fwe0: flags=8802 metric 0 mtu 1500 options=8 ether 06:e4:0a:1b:50:36 nd6 options=29 ch 1 dma -1 fwip0: flags=8802 metric 0 mtu 1500 lladdr 6.e4.a.0.28.1b.50.36.a.2.ff.fe.0.0.0.0 nd6 options=29 lo0: flags=8049 metric 0 mtu 16384 options=600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x9 inet 127.0.0.1 netmask 0xff000000 nd6 options=21 tun0: flags=8051 metric 0 mtu 1500 options=80000 inet 10.0.0.1 --> 10.0.0.2 netmask 0xffffff00 nd6 options=21 Opened by PID 1907 -------------------------------------------------------------------------------------------------------- fxp0 is the ethernet interface of my PC via which adsl modem is connected. Any suggestions ... Regards -- Jack From owner-freebsd-questions@FreeBSD.ORG Tue Oct 16 15:19:32 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8DFBBAB2 for ; Tue, 16 Oct 2012 15:19:32 +0000 (UTC) (envelope-from mark@exonetric.com) Received: from relay.exonetric.net (relay0.exonetric.net [178.250.72.161]) by mx1.freebsd.org (Postfix) with ESMTP id 4B12D8FC0C for ; Tue, 16 Oct 2012 15:19:31 +0000 (UTC) Received: from markimac.fairfx.local (unknown [62.244.179.74]) by relay.exonetric.net (Postfix) with ESMTPSA id 1FDDC2C2A6; Tue, 16 Oct 2012 16:19:25 +0100 (BST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: pppoe configuration and dns name resolution From: Mark Blackman In-Reply-To: Date: Tue, 16 Oct 2012 16:19:24 +0100 Content-Transfer-Encoding: 7bit Message-Id: <5FA507B7-F634-4293-8529-88B5131CDDE9@exonetric.com> References: To: Jack X-Mailer: Apple Mail (2.1499) 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, 16 Oct 2012 15:19:32 -0000 On 16 Oct 2012, at 16:08, Jack wrote: > Hi > > I'm new as a FreeBSD user, and trying to configure my > pppoe connection. [snip] > > fxp0 is the ethernet interface of my PC via which adsl modem is connected. > > Any suggestions ... Consider using the ports mpd5 daemon for a PPPoE connection instead. I had a lot of trouble getting PPPoE to work with userland 'ppp', but mpd5 worked fine. - Mark From owner-freebsd-questions@FreeBSD.ORG Tue Oct 16 15:38:56 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6561416D for ; Tue, 16 Oct 2012 15:38:56 +0000 (UTC) (envelope-from jacks.1785@gmail.com) Received: from mail-ia0-f182.google.com (mail-ia0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 22EFD8FC08 for ; Tue, 16 Oct 2012 15:38:55 +0000 (UTC) Received: by mail-ia0-f182.google.com with SMTP id k10so6145328iag.13 for ; Tue, 16 Oct 2012 08:38:55 -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=bqKdOKaaRM0gtBqqQYXpBSnXpn9EfUSS4uv8qN4RTSU=; b=I5EXBeguSY0JSzNMBHZvsyoxAGpthnBnIP0Y2sVJzXKQSMuWZcJ79KQJKvNFAM0Sfh YfRl/wqnrmsb4it8Iyh0iI1v/hL3ZRdRdtBlwjCROkJif+6vtT87gkNiOIOU3q22rAgz kd3ZWN+g0Gxi03c9XAs2yK/avdL87x1TedpUwzpTDD5N3lzUb/F1/Fq7RUQIXV7DZrUF dsm6/rPJzzLMisrorrx50yBxO3cQaTXOG63Ch+smnMw23l2H/hqVu3i/quOV7r3vVCA6 pgL8FstPlVx4VhJ+svCwuMQHg8ZAi2zvnfPgoTHXSK8eAAfUY9+RtFlKY2qgQsfrbWwp vXYQ== MIME-Version: 1.0 Received: by 10.50.202.71 with SMTP id kg7mr12476772igc.55.1350401935414; Tue, 16 Oct 2012 08:38:55 -0700 (PDT) Received: by 10.64.11.166 with HTTP; Tue, 16 Oct 2012 08:38:55 -0700 (PDT) In-Reply-To: <5FA507B7-F634-4293-8529-88B5131CDDE9@exonetric.com> References: <5FA507B7-F634-4293-8529-88B5131CDDE9@exonetric.com> Date: Tue, 16 Oct 2012 21:08:55 +0530 Message-ID: Subject: Re: pppoe configuration and dns name resolution From: Jack To: freebsd-questions@freebsd.org 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, 16 Oct 2012 15:38:56 -0000 On Tue, Oct 16, 2012 at 8:49 PM, Mark Blackman wrote: > > On 16 Oct 2012, at 16:08, Jack wrote: > >> Hi >> >> I'm new as a FreeBSD user, and trying to configure my >> pppoe connection. > > [snip] > >> >> fxp0 is the ethernet interface of my PC via which adsl modem is connected. >> >> Any suggestions ... > > Consider using the ports mpd5 daemon for a PPPoE connection instead. > I had a lot of trouble getting PPPoE to work with userland 'ppp', but > mpd5 worked fine. > > - Mark I 'll try mpd5. Thanks. Actually, I was concerned with userland ppp, becoz of the scenarios where we have a FreeBSD machine and the only way to connect to internet is an adsl modem in bridge mode (assuming the mode in modem, can't be changed). In such case the only utilty is ppp, which can be of help. I'm using FreeBSD 9.1 RC-2. Regards -- Jack From owner-freebsd-questions@FreeBSD.ORG Tue Oct 16 15:49:24 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 24F7F468 for ; Tue, 16 Oct 2012 15:49:24 +0000 (UTC) (envelope-from mark@exonetric.com) Received: from relay.exonetric.net (relay0.exonetric.net [178.250.72.161]) by mx1.freebsd.org (Postfix) with ESMTP id DA5D78FC08 for ; Tue, 16 Oct 2012 15:49:23 +0000 (UTC) Received: from markimac.fairfx.local (unknown [62.244.179.74]) by relay.exonetric.net (Postfix) with ESMTPSA id 9AB602C2AC; Tue, 16 Oct 2012 16:49:22 +0100 (BST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: pppoe configuration and dns name resolution From: Mark Blackman In-Reply-To: Date: Tue, 16 Oct 2012 16:49:22 +0100 Content-Transfer-Encoding: 7bit Message-Id: <6AF968FA-4D15-4186-80B5-F65AD642D097@exonetric.com> References: <5FA507B7-F634-4293-8529-88B5131CDDE9@exonetric.com> To: Jack X-Mailer: Apple Mail (2.1499) 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, 16 Oct 2012 15:49:24 -0000 On 16 Oct 2012, at 16:38, Jack wrote: > I 'll try mpd5. Thanks. > > Actually, I was concerned with userland ppp, becoz of the > scenarios where we have a FreeBSD machine and the only > way to connect to internet is an adsl modem in bridge mode > (assuming the mode in modem, can't be changed). > In such case the only utilty is ppp, which can be of help. Ok, usually bridge mode implies PPPoE and mpd5 does PPPoE. Maybe I'm missing your point. - Mark From owner-freebsd-questions@FreeBSD.ORG Tue Oct 16 15:53:26 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 50550964 for ; Tue, 16 Oct 2012 15:53:26 +0000 (UTC) (envelope-from mark@exonetric.com) Received: from relay.exonetric.net (relay0.exonetric.net [178.250.72.161]) by mx1.freebsd.org (Postfix) with ESMTP id 118C38FC08 for ; Tue, 16 Oct 2012 15:53:25 +0000 (UTC) Received: from markimac.fairfx.local (unknown [62.244.179.74]) by relay.exonetric.net (Postfix) with ESMTPSA id 250882C2AD; Tue, 16 Oct 2012 16:53:25 +0100 (BST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: pppoe configuration and dns name resolution From: Mark Blackman In-Reply-To: <6AF968FA-4D15-4186-80B5-F65AD642D097@exonetric.com> Date: Tue, 16 Oct 2012 16:53:24 +0100 Content-Transfer-Encoding: 7bit Message-Id: <7242A240-9615-4B1A-A51D-F1B127777974@exonetric.com> References: <5FA507B7-F634-4293-8529-88B5131CDDE9@exonetric.com> <6AF968FA-4D15-4186-80B5-F65AD642D097@exonetric.com> To: Jack X-Mailer: Apple Mail (2.1499) 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, 16 Oct 2012 15:53:26 -0000 On 16 Oct 2012, at 16:49, Mark Blackman wrote: > > On 16 Oct 2012, at 16:38, Jack wrote: > >> I 'll try mpd5. Thanks. >> >> Actually, I was concerned with userland ppp, becoz of the >> scenarios where we have a FreeBSD machine and the only >> way to connect to internet is an adsl modem in bridge mode >> (assuming the mode in modem, can't be changed). >> In such case the only utilty is ppp, which can be of help. > > Ok, usually bridge mode implies PPPoE and mpd5 does PPPoE. Maybe > I'm missing your point. More accurately, bridge mode (on the modem) means your FreeBSD box will need to be the termination point of the PPPoE link rather than the modem itself and so you need to run something to terminate the PPPoE packets and mpd5 will do that (among other things). - Mark From owner-freebsd-questions@FreeBSD.ORG Tue Oct 16 16:51:47 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7990442C for ; Tue, 16 Oct 2012 16:51:47 +0000 (UTC) (envelope-from bennett@cs.niu.edu) Received: from mp.cs.niu.edu (mp.cs.niu.edu [131.156.145.41]) by mx1.freebsd.org (Postfix) with ESMTP id 2D0FF8FC08 for ; Tue, 16 Oct 2012 16:51:46 +0000 (UTC) Received: from mp.cs.niu.edu (bennett@localhost [127.0.0.1]) by mp.cs.niu.edu (8.14.3/8.14.3) with ESMTP id q9GFqa7H022508 for ; Tue, 16 Oct 2012 10:52:36 -0500 (CDT) Date: Tue, 16 Oct 2012 10:52:36 -0500 (CDT) From: Scott Bennett Message-Id: <201210161552.q9GFqaXj022507@mp.cs.niu.edu> To: freebsd-questions@freebsd.org Subject: clang options question 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, 16 Oct 2012 16:51:47 -0000 From looking at the clang(1) man page, it is not clear to me what the difference is between the -arch option and the -march= option. Would someone please summarize the difference(s) for me? Thanks much! Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * ********************************************************************** From owner-freebsd-questions@FreeBSD.ORG Tue Oct 16 17:02:36 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CB9B5A1F for ; Tue, 16 Oct 2012 17:02:36 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from icp-osb-irony-out8.external.iinet.net.au (icp-osb-irony-out8.external.iinet.net.au [203.59.1.225]) by mx1.freebsd.org (Postfix) with ESMTP id 40F918FC14 for ; Tue, 16 Oct 2012 17:02:35 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAGmSfVA6Bu5+/2dsb2JhbABFwASBCIIgAQEEAScTPwULCw0hAQYRFA0LMROHcgMJBbFkDYlUimiDfwGCRGADlBUBgVSFUDWFIIUOgwGBSA X-IronPort-AV: E=Sophos;i="4.80,595,1344182400"; d="scan'208";a="48264953" Received: from unknown (HELO smtp.phoenix) ([58.6.238.126]) by icp-osb-irony-out8.iinet.net.au with ESMTP; 17 Oct 2012 01:02:28 +0800 Received: by smtp.phoenix (Postfix, from userid 1001) id BB91E60A; Wed, 17 Oct 2012 04:02:27 +1100 (EST) Date: Wed, 17 Oct 2012 04:02:27 +1100 From: andrew clarke To: Jack Subject: Re: pppoe configuration and dns name resolution Message-ID: <20121016170227.GA64734@ozzmosis.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: 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, 16 Oct 2012 17:02:36 -0000 On Tue 2012-10-16 20:38:47 UTC+0530, Jack (jacks.1785@gmail.com) wrote: > I'm new as a FreeBSD user, and trying to configure my > pppoe connection. > > After reading handbook and searching on various forums, > I prepared the ppp.conf file, and tried starting the ppp via > # ppp -ddial adsl > > Here 'adsl' is the profile name, in /etc/ppp/ppp.conf. > I also tried > #ppp -auto adsl > but the error message was same. ... I use a similar setup here except I use static IPs for both the ADSL modem (in bridge mode) and the FreeBSD box connecting to it. The FreeBSD box then runs a DHCP server (dns/dnsmasq in ports) for any other machines on my LAN to talk to. > I'm pasting my related configuration files if they can help. > Please tell me if any other files are needed. Nothing really stands out glancing at your configs. I'd be looking for clues in /var/log/ppp.log. > tun0: flags=8051 metric 0 mtu 1500 > options=80000 > inet 10.0.0.1 --> 10.0.0.2 netmask 0xffffff00 > nd6 options=21 > Opened by PID 1907 tun0 should have been reassigned a public address here by the remote PPP host (your ISP). Also the MTU is still stuck at 1500 despite you correctly configuring 1492 in ppp.conf. So I think the PPP negotiation is failing. ppp.log may explain why. Mine looks like this: tun0: flags=8051 metric 0 mtu 1492 options=80000 inet 58.6.247.132 --> 203.215.15.252 netmask 0xffffffff Opened by PID 45904 Below is my (edited) rc.conf & ppp.conf. I simply start & stop the PPP session with "service ppp start" & "service ppp stop" as root. ## /etc/rc.conf hostname="blizzard.phoenix" ifconfig_bge0="inet 192.168.1.4 netmask 255.255.255.0" zfs_enable="YES" syslogd_flags="-c" gateway_enable="YES" sshd_enable="YES" inetd_enable="YES" fusefs_enable="YES" openntpd_enable="YES" dovecot_enable="YES" named_enable="NO" dnsmasq_enable="YES" postfix_enable="YES" sendmail_enable="NO" sendmail_submit_enable="NO" sendmail_outbound_enable="NO" sendmail_msp_queue_enable="NO" ppp_enable="YES" ppp_mode="ddial" ppp_nat="YES" ppp_profile="iinet" firewall_enable="YES" firewall_script="/etc/ipfw.rules" firewall_logging="YES" ## /etc/ppp/ppp.conf default: set log phase chat lcp ipcp ccp tun command lqm set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 nat enable yes disable lqr disable ipv6cp set echoperiod 30 enable echo iinet: set device PPPoE:bge0 set authname myusername set authkey mypassword set dial set login set mru 1492 set mtu 1492 set redial 15 0 add default HISADDR From owner-freebsd-questions@FreeBSD.ORG Tue Oct 16 17:24:36 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8EA5EFC2 for ; Tue, 16 Oct 2012 17:24:36 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from mail-pa0-f54.google.com (mail-pa0-f54.google.com [209.85.220.54]) by mx1.freebsd.org (Postfix) with ESMTP id 611018FC08 for ; Tue, 16 Oct 2012 17:24:36 +0000 (UTC) Received: by mail-pa0-f54.google.com with SMTP id bi1so6550297pad.13 for ; Tue, 16 Oct 2012 10:24:29 -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=4HwMmzUFSJxfUjRmy+evKo09yGql8gIT1VeG2cohwRo=; b=UkIs3V3Kz+CPJ0wC/95pOqoOAE3HNI+pKPlmehok7DrpTcpzxaKI5mT7duOHxKgHQY nLg1jzaN71Kmj1aR/Rg8XXXw6rVRTkYExaTRiFId9qTC95dzH0fSZR1wc6dez277n9wD VGpZhOyjphpY+zToUpUlRD+yrUcihVRdB/rysKamQorEjeKdzHTfdcgvAOg043zPLeWP wwAr7/DMoJfkRT+DE3MBeax6KMR4xD0Ay+GpqD71bAAfMDRXWvQd8PyJUNDjQFCB3XGo u+NmsQ4l7LTW+AkLBqAWdt4iBmXKkyY4hJdGZbLt/JnlOfbQecaMUB8Ii4tmlQq16T26 C34w== MIME-Version: 1.0 Received: by 10.68.237.231 with SMTP id vf7mr16525695pbc.63.1350408269879; Tue, 16 Oct 2012 10:24:29 -0700 (PDT) Received: by 10.66.216.196 with HTTP; Tue, 16 Oct 2012 10:24:29 -0700 (PDT) In-Reply-To: References: Date: Tue, 16 Oct 2012 11:24:29 -0600 Message-ID: Subject: Re: 0 From: Modulok To: abdou massnoue 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: Tue, 16 Oct 2012 17:24:36 -0000 1 On 10/15/12, abdou massnoue wrote: > > _______________________________________________ > 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 Oct 16 17:25:17 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E46F6DE for ; Tue, 16 Oct 2012 17:25:17 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from icp-osb-irony-out3.external.iinet.net.au (icp-osb-irony-out3.external.iinet.net.au [203.59.1.219]) by mx1.freebsd.org (Postfix) with ESMTP id 5718B8FC17 for ; Tue, 16 Oct 2012 17:25:16 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAN2XfVA6Bu5+/2dsb2JhbABFDr92gQiCIAEBBAE6PwULCw0oERQYMROHfgW7TJEsYAOVaoVQNYougjJP X-IronPort-AV: E=Sophos;i="4.80,595,1344182400"; d="scan'208";a="58650014" Received: from unknown (HELO smtp.phoenix) ([58.6.238.126]) by icp-osb-irony-out3.iinet.net.au with ESMTP; 17 Oct 2012 01:25:14 +0800 Received: by smtp.phoenix (Postfix, from userid 1001) id 6D01C614; Wed, 17 Oct 2012 04:25:14 +1100 (EST) Date: Wed, 17 Oct 2012 04:25:14 +1100 From: andrew clarke To: Scott Bennett Subject: Re: clang options question Message-ID: <20121016172514.GB64734@ozzmosis.com> References: <201210161552.q9GFqaXj022507@mp.cs.niu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201210161552.q9GFqaXj022507@mp.cs.niu.edu> User-Agent: Mutt/1.5.21 (2010-09-15) 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, 16 Oct 2012 17:25:18 -0000 On Tue 2012-10-16 10:52:36 UTC-0500, Scott Bennett (bennett@cs.niu.edu) wrote: > From looking at the clang(1) man page, it is not clear to me what the > difference is between the -arch option and the -march= option. Would > someone please summarize the difference(s) for me? Thanks much! >From the users POV, clang is supposed to be a drop-in replacement for gcc, where -arch is also an option. Looking online though, it would appear it's an Apple Darwin (OS X) only feature of gcc for generating universal binaries. The question is a bit academic as it doesn't actually do anything in FreeBSD, at least not for me: $ clang -o hello -arch x86_64 hello.c clang: warning: argument unused during compilation: '-arch x86_64' $ clang -v clang version 3.1 (branches/release_31) Target: amd64-portbld-freebsd8.3 Thread model: posix Nor in Linux (an old version, admittedly): $ clang -o hello -arch i386 hello.c clang: warning: argument unused during compilation: '-arch i386' $ clang -v clang version 1.1 (branches/release_27) Target: x86_64-pc-linux-gnu Thread model: posix Regards Andrew From owner-freebsd-questions@FreeBSD.ORG Tue Oct 16 17:52:11 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9E46C892 for ; Tue, 16 Oct 2012 17:52:11 +0000 (UTC) (envelope-from jherman@dichotomia.fr) Received: from mail.dichotomia.fr (hydrogen.dichotomia.net [91.121.82.228]) by mx1.freebsd.org (Postfix) with ESMTP id 5D2868FC08 for ; Tue, 16 Oct 2012 17:52:10 +0000 (UTC) Received: from [192.168.0.131] (27-108-190-109.dsl.ovh.fr [109.190.108.27]) (Authenticated sender: jherman@dichotomia.fr) by mail.dichotomia.fr (Postfix) with ESMTPSA id BD5B53DD06F for ; Tue, 16 Oct 2012 19:42:02 +0200 (CEST) Message-ID: <507D9D28.8090709@dichotomia.fr> Date: Tue, 16 Oct 2012 19:45:12 +0200 From: Jerome Herman User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: 0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (mail.dichotomia.fr); Tue, 16 Oct 2012 19:42:02 +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: Tue, 16 Oct 2012 17:52:11 -0000 Must resist the urge to post... 10 (I am weak)... On 16/10/2012 19:24, Modulok wrote: > 1 > > On 10/15/12, abdou massnoue wrote: >> _______________________________________________ >> 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" >> > _______________________________________________ > 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 Oct 16 17:58:05 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 98B71AB9 for ; Tue, 16 Oct 2012 17:58:05 +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 5B51B8FC08 for ; Tue, 16 Oct 2012 17:58:05 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.15]) by ltcfislmsgpa06.fnfis.com (8.14.4/8.14.4) with ESMTP id q9GHw0JA017283 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 16 Oct 2012 12:58:00 -0500 Received: from [10.0.0.101] (10.14.152.61) by smtp.fisglobal.com (10.132.206.15) with Microsoft SMTP Server (TLS) id 14.2.309.2; Tue, 16 Oct 2012 12:56:16 -0500 Subject: Re: 0 MIME-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset="windows-1252" From: Devin Teske In-Reply-To: <507D9D28.8090709@dichotomia.fr> Date: Tue, 16 Oct 2012 10:56:16 -0700 Content-Transfer-Encoding: quoted-printable Message-ID: <24596A78-394E-4C70-AED1-A550FDC59E60@fisglobal.com> References: <507D9D28.8090709@dichotomia.fr> To: Jerome Herman X-Mailer: Apple Mail (2.1283) X-Originating-IP: [10.14.152.61] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.7.7855, 1.0.431, 0.0.0000 definitions=2012-10-16_05:2012-10-16,2012-10-16,1970-01-01 signatures=0 Cc: freebsd-questions@freebsd.org 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: Tue, 16 Oct 2012 17:58:05 -0000 On Oct 16, 2012, at 10:45 AM, Jerome Herman wrote: > Must resist the urge to post... >=20 > 10 >=20 =85types of people in this world=85 ^_^ > (I am weak)... >=20 >=20 > On 16/10/2012 19:24, Modulok wrote: >> 1 >>=20 >> On 10/15/12, abdou massnoue wrote: >>> _______________________________________________ >>> 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 >> _______________________________________________ >> 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 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" _____________ 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 Tue Oct 16 18:13:10 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A5E80317 for ; Tue, 16 Oct 2012 18:13:10 +0000 (UTC) (envelope-from root.vagner@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6BE528FC17 for ; Tue, 16 Oct 2012 18:13:10 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id k10so13532462iea.13 for ; Tue, 16 Oct 2012 11:13: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=CiFt9GTZPVGs3FhIy28iiNaGj2Kmg3voxourFdXQUp4=; b=WzID0wz4fpn6Ib9+NH3R7VbkofVERIico2moW4csB5ozmvtP/zjbAgOAj9jh5LXXNX FwXIpcfFhSnLZjnmr9Uzjbho0tkN1/FlFC6ibM6ohn6e5btpKfue+le2VddSd6/MNaVI ecfhbWzU+YMHlYjzIQQicEq4vJ/Iu/2l61MAYZVmrw+zzw39hiY/H3t6qWFMQrKB3B41 qSMToiUZ8e0xmy9rjxclyor7Arj93AA/TosaJh7UyhC/plsWTrHUYnG3eJH9Fsoc3QCQ 1CCmxAujR3PO+glRSRZpa9cH0y+QDyHPSVtdnqMw7zQQDr2UANN5p02QFYP/uEydB9Ln F7/g== MIME-Version: 1.0 Received: by 10.43.135.135 with SMTP id ig7mr12346878icc.8.1350411184393; Tue, 16 Oct 2012 11:13:04 -0700 (PDT) Received: by 10.64.81.231 with HTTP; Tue, 16 Oct 2012 11:13:04 -0700 (PDT) Date: Tue, 16 Oct 2012 22:13:04 +0400 Message-ID: Subject: MFS root filesystem and static binaries size From: Stanislav Zaharov 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: Tue, 16 Oct 2012 18:13:10 -0000 Hello, I have a question regarding the mfsroot file system organization on installation cd. How is it possible that we have bigger binary files in ls list while actual occupied space is less. But when we try to copy these files on similar filesystem using cp or dd the actual used space is bigger? For example when we mount mfsroot image we get: $ df -h /mnt/ Filesystem Size Used Avail Capacity Mounted on /dev/md0 3.9M 3.3M 534k 86% /mnt $ ls -lhs /mnt/stand ... 766 -r-xr-xr-x 30 root wheel 3M 10 apr 2012 dhclient 766 -r-xr-xr-x 30 root wheel 3M 10 apr 2012 cpio 766 -r-xr-xr-x 30 root wheel 3M 10 apr 2012 camcontrol 766 -r-xr-xr-x 30 root wheel 3M 10 apr 2012 boot_crunch ... But: $ du -hc /mnt/stand ... 3,2M total But if we copy these files onto another UFS filesystem we really consume the space: $ cp -a /mnt/stand /tmp/stand $ du -hc /tmp/stand ... 91M total How is it possible and why does it matter for mfsroot? TIA -- Respectfully, Stanislav Putrya System & network administrator WWW: fotostrana.ru WWW2: bsdway.ru icq: 328585847 e-mail: root.vagner@gmail.com e-mail: vagner@bsdway.ru From owner-freebsd-questions@FreeBSD.ORG Tue Oct 16 18:20:07 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A623049F for ; Tue, 16 Oct 2012 18:20:07 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from oproxy12-pub.bluehost.com (oproxy12-pub.bluehost.com [50.87.16.10]) by mx1.freebsd.org (Postfix) with SMTP id 51AC78FC0A for ; Tue, 16 Oct 2012 18:20:07 +0000 (UTC) Received: (qmail 24449 invoked by uid 0); 16 Oct 2012 18:19:45 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by oproxy12.bluehost.com with SMTP; 16 Oct 2012 18:19:45 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=apotheon.com; s=default; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date; bh=dbTpcwnmNB+XJ8z0d8mKu/lc8aVw+B1ZNK5RgtbNO1A=; b=gUsRqKLrObWbKzenyGkB3ToGCovNlutmyHFoqsynU4bD9c+Ef3xuy+6owwiFQDqoK3eva6x9+tBCK+Xw3XfKRof6+Lrm8d7u+z20H5YzBId4w/53DgwhN4Q7ybuj6h4x; Received: from [24.8.180.234] (port=63829 helo=localhost) by box543.bluehost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1TOBk1-00079M-FI for freebsd-questions@freebsd.org; Tue, 16 Oct 2012 12:19:45 -0600 Date: Tue, 16 Oct 2012 12:19:44 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Subject: Re: 0 Message-ID: <20121016181944.GA2196@hemlock.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <507D9D28.8090709@dichotomia.fr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="vtzGhvizbBRQ85DL" Content-Disposition: inline In-Reply-To: <507D9D28.8090709@dichotomia.fr> User-Agent: Mutt/1.5.21 (2010-09-15) X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.com} {sentby:smtp auth 24.8.180.234 authed with perrin@apotheon.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: Tue, 16 Oct 2012 18:20:07 -0000 --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Oct 16, 2012 at 07:45:12PM +0200, Jerome Herman wrote: > Must resist the urge to post... >=20 > 10 >=20 > (I am weak)... There are 10 types of people in the world. . . . (You're the 10nd type.) --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --vtzGhvizbBRQ85DL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlB9pUAACgkQ9mn/Pj01uKXtMgCgvI/IIZMvfUrzITwj2jgBfd0v ot4An0oQWTe/My6PGvg6hV+xrYQWc5Nb =jLiC -----END PGP SIGNATURE----- --vtzGhvizbBRQ85DL-- From owner-freebsd-questions@FreeBSD.ORG Tue Oct 16 18:24:09 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5BAFC594 for ; Tue, 16 Oct 2012 18:24:09 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-lb0-f182.google.com (mail-lb0-f182.google.com [209.85.217.182]) by mx1.freebsd.org (Postfix) with ESMTP id CD4488FC0A for ; Tue, 16 Oct 2012 18:24:08 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id b5so5539846lbd.13 for ; Tue, 16 Oct 2012 11:24: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:content-type; bh=1RqcDOXgAQAdPjEo9NI+xLqtbQDMjCcMy5fxgxKf2/A=; b=a/M+sktPGOuuLb61m8DM+qZD28caWyH//lOJQHzKH1b5Tn8OEVaxhEuyLIKW7fDG6L Fgg+bnYU9hCYay2tjDLuBGcFtpBBX+XbNZNYCmzcNWlquhdaVOeJ+yVVO+OtE5oLhLJL pOQ4DQFb7Cj3ts1md4lclWI1UlLb9IXnNEgd0wTLix34prsvFiXzbPEGM93YI6rpzdna aPtj461H6DhfG/7F6rH2cAc153WYzwnv9dtaq+Xsu0R4WP/pJepYIIuveSDEKPmusZPT uOZ/+rlCnk0f+mAo9oYvq3hclcetkHccmaXZnkAucS8ke2HAMxAMG06M5RSOPiCChB8E sTSA== MIME-Version: 1.0 Received: by 10.152.108.197 with SMTP id hm5mr13675501lab.45.1350411847427; Tue, 16 Oct 2012 11:24:07 -0700 (PDT) Sender: vrwmiller@gmail.com Received: by 10.112.4.97 with HTTP; Tue, 16 Oct 2012 11:24:07 -0700 (PDT) In-Reply-To: References: Date: Tue, 16 Oct 2012 14:24:07 -0400 X-Google-Sender-Auth: qQCH2rTPs3Cpt__nppnd90YAjwM Message-ID: Subject: Re: MFS root filesystem and static binaries size From: Rick Miller To: freebsd-questions@freebsd.org 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, 16 Oct 2012 18:24:09 -0000 On Tue, Oct 16, 2012 at 2:13 PM, Stanislav Zaharov wrote: > Hello, > > I have a question regarding the mfsroot file system organization on > installation cd. > How is it possible that we have bigger binary files in ls list while actual > occupied space is less. But when we try to copy these files on similar > filesystem using cp or dd the actual used space is bigger? They are hardlinks. I have a blog post at http://blog.hostileadmin.com/2012/08/21/automating-generation-of-the-mfsroot-gz/ that touches on the subject...read the comments starting at line #76. -- Take care Rick Miller From owner-freebsd-questions@FreeBSD.ORG Tue Oct 16 20:14:54 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6FFD03F9 for ; Tue, 16 Oct 2012 20:14:54 +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 2F0968FC08 for ; Tue, 16 Oct 2012 20:14:53 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.15]) by ltcfislmsgpa06.fnfis.com (8.14.4/8.14.4) with ESMTP id q9GKEDEA023342 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 16 Oct 2012 15:14:52 -0500 Received: from [10.0.0.101] (10.14.152.61) by smtp.fisglobal.com (10.132.206.15) with Microsoft SMTP Server (TLS) id 14.2.309.2; Tue, 16 Oct 2012 15:13:42 -0500 Subject: Re: MFS root filesystem and static binaries size MIME-Version: 1.0 (Apple Message framework v1283) From: Devin Teske In-Reply-To: Date: Tue, 16 Oct 2012 13:13:41 -0700 Message-ID: <79906B82-7EF3-44DD-95A1-EF1DD239E2CD@fisglobal.com> References: To: Stanislav Zaharov X-Mailer: Apple Mail (2.1283) X-Originating-IP: [10.14.152.61] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.7.7855, 1.0.431, 0.0.0000 definitions=2012-10-16_06:2012-10-16,2012-10-16,1970-01-01 signatures=0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions@freebsd.org 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: Tue, 16 Oct 2012 20:14:54 -0000 On Oct 16, 2012, at 11:13 AM, Stanislav Zaharov wrote: > Hello, >=20 > I have a question regarding the mfsroot file system organization on > installation cd. > How is it possible that we have bigger binary files in ls list while actu= al > occupied space is less. The beauty of crunchgen(1). If you use the "-i" flag to ls, you'll see the inode numbers (and subsequen= tly notice that a great-many inodes are identical). When two files have the same inode, they are "hard links" to each other. Un= like a "soft link" (or "symbolic link" as they are more appropriately calle= d), which stores a destination-path of the target, a hard link instead look= s and acts no different than the original in every way. So, I can hear you asking, if all these binaries are linked to the same fil= e, what file is that? /stand/boot_crunch This is a "crunched" binary (produced by crunchgen(1)). Here's the configuration file that is fed to crunchgen(1) that produces thi= s binary: http://svn.freebsd.org/base/stable/9/release/i386/boot_crunch.conf Quite simply, crunchgen(1) takes a list of programs (progs) and libraries (= libs) and produces a "crunched" binary. You then create links (hard or soft) to the crunched binary. The crunched b= inary knows by argv[0] which main() subroutine to invoke. This ultimately allows things to stay nice and tight (storage space-wise). > But when we try to copy these files on similar > filesystem using cp or dd the actual used space is bigger? >=20 cp(1) doesn't track hard-links. tar(1) does. If you want to copy /stand out of the mfsroot, you can do this: mkdir /stand2 tar cf - /stand | tar xf - -C /stand2 A corresponding "ls -li /stand2" should show that the majority of files all= have the same inode (whereas if you use cp, "ls -li" will instead show dif= ferent inodes for every file that was copied, because again, cp(1) does not= support retention of hard-links). > For example when we mount mfsroot image we get: >=20 > $ df -h /mnt/ >=20 > Filesystem Size Used Avail Capacity Mounted on > /dev/md0 3.9M 3.3M 534k 86% /mnt >=20 > $ ls -lhs /mnt/stand > ... > 766 -r-xr-xr-x 30 root wheel 3M 10 apr 2012 dhclient > 766 -r-xr-xr-x 30 root wheel 3M 10 apr 2012 cpio > 766 -r-xr-xr-x 30 root wheel 3M 10 apr 2012 camcontrol > 766 -r-xr-xr-x 30 root wheel 3M 10 apr 2012 boot_crunch > ... >=20 > But: >=20 > $ du -hc /mnt/stand > ... > 3,2M total >=20 >=20 > But if we copy these files onto another UFS filesystem we really consume > the space: >=20 > $ cp -a /mnt/stand /tmp/stand >=20 > $ du -hc /tmp/stand > ... > 91M total >=20 >=20 > How is it possible and why does it matter for mfsroot? >=20 The reason crunchgen(1) is used to create /stand/boot_crunch for the instal= l media (mfsroot) is to save space and simplify the environment. When using= a crunched binary, there are no libraries to worry about for example (all = the libraries are compiled-in). --=20 Cheers, 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 Tue Oct 16 20:24:53 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DC25775B for ; Tue, 16 Oct 2012 20:24:53 +0000 (UTC) (envelope-from root.vagner@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9D2218FC17 for ; Tue, 16 Oct 2012 20:24:53 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id k10so13841982iea.13 for ; Tue, 16 Oct 2012 13:24:53 -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=WY1Jh7tje+Qhe6kL6z3v+4alNtJ6JpqdYO+hvk4GQGE=; b=FM9456bNggcgKGj5fdze9sql6075RiR+lOX0WGW7BiQ+8gw1v4/1+PVx7VuQHi0mbz a8KSz5/Qh2bDCNA/OyUUqqiBej9+BEzZAzofRcwuOJw9R4/TNagxGDB8rWp6OZp++4ee VFXu1pP1jHYDKIbVCiLQLsbjVzPQD3AROTsgXzVGU8eZUBBt9kL6TKjEv+PSemFmjWzW cpWh0YnCkCLVROHyCgtoNPLMO5SfuWSA2h31mBehjTOUXOAgD46D7nX0zQ+1x1SEXupc WIe5zedQ05j58dvl1RlPnCSrVV4Z0cgEEnrlvoXAgdxVFIexH1hwR5K6iUnkrqGewaZz WntA== MIME-Version: 1.0 Received: by 10.50.15.193 with SMTP id z1mr13358480igc.47.1350419092953; Tue, 16 Oct 2012 13:24:52 -0700 (PDT) Received: by 10.64.81.231 with HTTP; Tue, 16 Oct 2012 13:24:52 -0700 (PDT) In-Reply-To: <79906B82-7EF3-44DD-95A1-EF1DD239E2CD@fisglobal.com> References: <79906B82-7EF3-44DD-95A1-EF1DD239E2CD@fisglobal.com> Date: Wed, 17 Oct 2012 00:24:52 +0400 Message-ID: Subject: Re: MFS root filesystem and static binaries size From: Stanislav Zaharov 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: Tue, 16 Oct 2012 20:24:54 -0000 On Wed, Oct 17, 2012 at 12:13 AM, Devin Teske wrote: > > On Oct 16, 2012, at 11:13 AM, Stanislav Zaharov wrote: > > Hello, > > I have a question regarding the mfsroot file system organization on > installation cd. > How is it possible that we have bigger binary files in ls list while actual > occupied space is less. > > > The beauty of crunchgen(1). > > If you use the "-i" flag to ls, you'll see the inode numbers (and > subsequently notice that a great-many inodes are identical). > > When two files have the same inode, they are "hard links" to each other. > Unlike a "soft link" (or "symbolic link" as they are more appropriately > called), which stores a destination-path of the target, a hard link instead > looks and acts no different than the original in every way. > > So, I can hear you asking, if all these binaries are linked to the same > file, what file is that? > > /stand/boot_crunch > > This is a "crunched" binary (produced by crunchgen(1)). > > Here's the configuration file that is fed to crunchgen(1) that produces > this binary: > > http://svn.freebsd.org/base/stable/9/release/i386/boot_crunch.conf > > Quite simply, crunchgen(1) takes a list of programs (progs) and libraries > (libs) and produces a "crunched" binary. > > You then create links (hard or soft) to the crunched binary. The crunched > binary knows by argv[0] which main() subroutine to invoke. > > This ultimately allows things to stay nice and tight (storage space-wise). > > > > But when we try to copy these files on similar > filesystem using cp or dd the actual used space is bigger? > > > cp(1) doesn't track hard-links. > > tar(1) does. > > If you want to copy /stand out of the mfsroot, you can do this: > > mkdir /stand2 > tar cf - /stand | tar xf - -C /stand2 > > A corresponding "ls -li /stand2" should show that the majority of files > all have the same inode (whereas if you use cp, "ls -li" will instead show > different inodes for every file that was copied, because again, cp(1) does > not support retention of hard-links). > > > > > For example when we mount mfsroot image we get: > > $ df -h /mnt/ > > Filesystem Size Used Avail Capacity Mounted on > /dev/md0 3.9M 3.3M 534k 86% /mnt > > $ ls -lhs /mnt/stand > ... > 766 -r-xr-xr-x 30 root wheel 3M 10 apr 2012 dhclient > 766 -r-xr-xr-x 30 root wheel 3M 10 apr 2012 cpio > 766 -r-xr-xr-x 30 root wheel 3M 10 apr 2012 camcontrol > 766 -r-xr-xr-x 30 root wheel 3M 10 apr 2012 boot_crunch > ... > > But: > > $ du -hc /mnt/stand > ... > 3,2M total > > > But if we copy these files onto another UFS filesystem we really consume > the space: > > $ cp -a /mnt/stand /tmp/stand > > $ du -hc /tmp/stand > ... > 91M total > > > How is it possible and why does it matter for mfsroot? > > > The reason crunchgen(1) is used to create /stand/boot_crunch for the > install media (mfsroot) is to save space and simplify the environment. When > using a crunched binary, there are no libraries to worry about for example > (all the libraries are compiled-in). > -- > Cheers, > Devin > _____________ > The information contained in this message is proprietary and/or > confidential. If you are not the intended recipient, please: (i) delete the > message and all copies; (ii) do not disclose, distribute or use the message > in any manner; and (iii) notify the sender immediately. In addition, please > be aware that any message addressed to our domain is subject to archiving > and review by persons other than the intended recipient. Thank you. > Thank you for the explanation! -- Respectfully, Stanislav Putrya System & network administrator WWW: fotostrana.ru WWW2: bsdway.ru icq: 328585847 e-mail: root.vagner@gmail.com e-mail: vagner@bsdway.ru From owner-freebsd-questions@FreeBSD.ORG Tue Oct 16 20:51:51 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 34F2BCE8 for ; Tue, 16 Oct 2012 20:51:51 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (m209-73.dsl.rawbw.com [198.144.209.73]) by mx1.freebsd.org (Postfix) with ESMTP id F1FD38FC0A for ; Tue, 16 Oct 2012 20:51:50 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.5/8.14.5) with ESMTP id q9GKpo9U001964; Tue, 16 Oct 2012 13:51:50 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.5/8.14.5/Submit) id q9GKpnXO001963; Tue, 16 Oct 2012 13:51:49 -0700 (PDT) (envelope-from david) Date: Tue, 16 Oct 2012 13:51:49 -0700 From: David Wolfskill To: freebsd-questions@freebsd.org Subject: IPCS resource access within a down-level jail? Message-ID: <20121016205149.GA1817@albert.catwhisker.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="r5Pyd7+fXNt84Ff3" 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 Reply-To: freebsd-questions@freebsd.org, David Wolfskill List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Oct 2012 20:51:51 -0000 --r5Pyd7+fXNt84Ff3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable [Please include me in responses; I've set Reply-To as a hint. Thanks!] A colleague had been running a program that makes use of IPCS message queues in a 7.x/i386 environment. He was moved to a 32-bit 7.x-based jail instantiated on an 8.x/amd64 host. Within that jail, "ipcs -a" now fails to come anywhere near close to reporting what it does outside the jail. I then performed an experiment: I created a 7.x/i386 jail on my 9.x/i386 laptop. I verified that "ipcs -a" (outside the jail) shows Stuff: d134(9.1-P)[1] ipcs -a Message Queues: T ID KEY MODE OWNER GROUP CREATOR CGROUP = CBYTES QNUM QBYTES LSPI= D LRPID STIME RTIME CTIME =20 Shared Memory: T ID KEY MODE OWNER GROUP CREATOR CGROUP = NATTCH SEGSZ CPID LPID ATIME DTIME CTIM= E =20 m 393216 0 --rw------- david david david david = 2 393216 3671 3147 8:23:37 no-entry 8:2= 3:37 m 851969 0 --rw------- david david david david = 2 262080 3861 3147 9:24:09 no-entry 9:2= 4:09 m 458754 0 --rw------- david david david david = 2 384000 3861 3147 9:24:09 no-entry 9:2= 4:09 Semaphores: T ID KEY MODE OWNER GROUP CREATOR CGROUP = NSEMS OTIME CTIME =20 d134(9.1-P)[2]=20 Inside the jail, using the 7.x version of ipcs, I get: %ipcs -a ipcs: sysctlbyname: kern.ipc.msqids: Cannot allocate memory % I then recompiled the 9.x versions of ipcs & ipcrm and linked them statically; running that verion of ipcs, I see: %~/bin/!! ~/bin/ipcs -a Message Queues: T ID KEY MODE OWNER GROUP CREATOR CGROUP = CBYTES QNUM QBYTES LSPI= D LRPID STIME RTIME CTIME =20 Shared Memory: T ID KEY MODE OWNER GROUP CREATOR CGROUP = NATTCH SEGSZ CPID LPID ATIME DTIME CTIM= E =20 m 393216 0 --rw------- david david david david = 2 393216 3671 3147 15:23:37 no-entry 15:2= 3:37 m 655362 0 --rw------- david david david david = 2 262080 3861 3147 18:39:30 no-entry 18:3= 9:30 Semaphores: T ID KEY MODE OWNER GROUP CREATOR CGROUP = NSEMS OTIME CTIME =20 % Is this (inability to access IPCS resources properly within a "down-level" jail) expected behavior? Is there a sane(?) way to provide IPCS resources inside a down-level jail? Thanks! Peace, david --=20 David H. Wolfskill david@catwhisker.org Taliban: Evil men with guns afraid of truth from a 14-year old girl. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --r5Pyd7+fXNt84Ff3 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlB9yOQACgkQmprOCmdXAD3zMACeN5e1MYbb9Cl60uujvmZeJuqy nNUAnji0HeQwQs4qjYiwW02e5R7jBVt3 =LNQN -----END PGP SIGNATURE----- --r5Pyd7+fXNt84Ff3-- From owner-freebsd-questions@FreeBSD.ORG Tue Oct 16 21:21:31 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 82077740 for ; Tue, 16 Oct 2012 21:21:31 +0000 (UTC) (envelope-from garya@dreamchaser.org) Received: from nightmare.dreamchaser.org (nightmare.dreamchaser.org [12.32.44.142]) by mx1.freebsd.org (Postfix) with ESMTP id 4C1A78FC12 for ; Tue, 16 Oct 2012 21:21:30 +0000 (UTC) Received: from breakaway.dreamchaser.org (breakaway.dreamchaser.org. [12.32.36.73]) by nightmare.dreamchaser.org (8.13.6/8.13.6) with ESMTP id q9GLLN0B015372; Tue, 16 Oct 2012 15:21:23 -0600 (MDT) (envelope-from garya@dreamchaser.org) Message-ID: <507DCFD3.2060409@dreamchaser.org> Date: Tue, 16 Oct 2012 15:21:23 -0600 From: Gary Aitken User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120609 Thunderbird/13.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org, jacks.1785@gmail.com Subject: Re: pppoe configuration and dns name resolution References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (nightmare.dreamchaser.org [12.32.36.65]); Tue, 16 Oct 2012 15:21:23 -0600 (MDT) 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, 16 Oct 2012 21:21:31 -0000 On 10/16/12 09:08, Jack wrote: > I'm new as a FreeBSD user, and trying to configure my > pppoe connection. > > After reading handbook and searching on various forums, > I prepared the ppp.conf file, and tried starting the ppp via > # ppp -ddial adsl > > Here 'adsl' is the profile name, in /etc/ppp/ppp.conf. > I also tried > #ppp -auto adsl > but the error message was same. > > The tun0 interface is created, but when is tried pinging to well > known sites, e.g. yahoo.com, etc. it says: > "can't resolve hostname." > > It seems a DNS issue first, but when I put my adsl modem > in non-bridged mode, I was able to connect to any site. > The IP address allocated to my PC is via DHCP, so > no special configuration was needed in modem's > non-bridged mode. It's not a DNS issue; tun0 isn't configured for the proper IP addr > The problem arise only when I put adsl modem in > bridged mode and tried dialing via ppp. > > My network schematic is: > > PC <-----------------------> ADSL modem <-----> Internet > 192.168.1.2 192.168.1.1 > > DHCP is enabled in adsl modem. > > I'm pasting my related configuration files if they can help. > Please tell me if any other files are needed. > > /etc/rc.conf > > hostname="jacklappy" > ifconfig_fxp0="DHCP" > sshd_enable="YES" > moused_enable="YES" > powerd_enable="YES" > # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable > dumpdev="AUTO" > hald_enable="YES" > dbus_enable="YES" > routerenable="NO" My config is slightly different, w/o dhcp and natd I don't have any expertise with this, but when using bridging it's my understanding you should not configure the hardware interface -- in your case, fxp0 Perhaps the ifconfig_fxp0="DHCP" should be specified for tun0 instead. My rc.conf says ifconfog_ep0="" but then I'm not using dhcp, so I'm not sure whether it belongs on tun0 or fxp0. > -------------------------------------------------------------------------------------------------- > > > /etc/resolv.conf > > # Generated by resolvconf > nameserver 192.168.1.1 > ---------------------------------------------------------------------------- > > > /etc/ppp/ppp.conf > > default: > > adsl: > set log Phase tun command > set device PPPoE:fxp0 > set mru 1492 > set mtu 1492 > set ctsrts off > set speed sync > set dial > enable lqr > set login > set authname myusername > set authkey mypassword > set timeout 120 > set redial 0 0 > set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 > add default HISADDR > enable dns > nat enable no Mine has only the following; the main thing different is the "enable mssfixup" and the '!' on the add command I would think you need to at least get rid of the set ifaddr command, which is causing tun0 to have the wrong ip addr set log Phase Chap LCP IPCP CCP tun command set device PPPoE:ep0 set mtu max 1492 set mru max 1492 enable mssfixup set dial set login set timeout 0 set authname set authkey add! default HISADDR I start ppp using: /usr/sbin/ppp -quiet -dedicated your_profile > ---------------------------------------------------------------------------------------- > > > ifconfig output: > > fxp0: flags=8843 metric 0 mtu 1500 > options=2009 > ether 00:16:d3:0c:42:22 > inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255 > nd6 options=29 > media: Ethernet autoselect (100baseTX ) > status: active > fwe0: flags=8802 metric 0 mtu 1500 > options=8 > ether 06:e4:0a:1b:50:36 > nd6 options=29 > ch 1 dma -1 > fwip0: flags=8802 metric 0 mtu 1500 > lladdr 6.e4.a.0.28.1b.50.36.a.2.ff.fe.0.0.0.0 > nd6 options=29 > lo0: flags=8049 metric 0 mtu 16384 > options=600003 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x9 > inet 127.0.0.1 netmask 0xff000000 > nd6 options=21 > tun0: flags=8051 metric 0 mtu 1500 > options=80000 > inet 10.0.0.1 --> 10.0.0.2 netmask 0xffffff00 > nd6 options=21 > Opened by PID 1907 > -------------------------------------------------------------------------------------------------------- > > fxp0 is the ethernet interface of my PC via which adsl modem is connected. tun0 should show the ip addr assigned by your ISP: tun0: flags=8051 mtu 1492 inet 12.32.44.142 --> 216.14.225.104 netmask 0xffffffff Opened by PID 219 Gary From owner-freebsd-questions@FreeBSD.ORG Tue Oct 16 21:40:59 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CA0AAAAD; Tue, 16 Oct 2012 21:40:59 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1BF5F8FC12; Tue, 16 Oct 2012 21:40:58 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id e12so5594225lag.13 for ; Tue, 16 Oct 2012 14:40:57 -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 :content-transfer-encoding; bh=5Qv8qR16jrf33FmeM0EPHrbFHt/gkX53B2JiVz2QMKk=; b=OMPnv5T5128D7+K9J8XrMqAl5Iij/rC8BtFkwmTVvjcikKc04pCGCYnnj6rWcBDwrE mA5XY22DPYe4MaP9XUE1tzqBFnwsMK5FgwY996Wi6jParrBXEis2cVrKAM92htBM5GNQ j7u3+Kgi6B4BhjsVBR8tgzcgzD6YnUzpLYmxahxzeKRgdbLlevvIHR4ihSZdXIKUq9D+ d2J4LXriYImMqOTFqT7gkQYzf0fQOprCWjQjOhK9YNCq3DVcl3I/3xSeyWS/3kyaTSou pFvTyOeBMMnHM00LKpTAgWTX9cbGL0vp9l9kzfequ0JYnXVXk1uA1GukbRAf8ogPa7Xp klrw== MIME-Version: 1.0 Received: by 10.112.30.136 with SMTP id s8mr3672661lbh.26.1350423657512; Tue, 16 Oct 2012 14:40:57 -0700 (PDT) Sender: vrwmiller@gmail.com Received: by 10.112.4.97 with HTTP; Tue, 16 Oct 2012 14:40:57 -0700 (PDT) In-Reply-To: <79906B82-7EF3-44DD-95A1-EF1DD239E2CD@fisglobal.com> References: <79906B82-7EF3-44DD-95A1-EF1DD239E2CD@fisglobal.com> Date: Tue, 16 Oct 2012 17:40:57 -0400 X-Google-Sender-Auth: 7ROIbZGdmV0Q_PXqGx4Pd586gOc Message-ID: Subject: Re: MFS root filesystem and static binaries size From: Rick Miller To: Devin Teske Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Stanislav Zaharov , 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, 16 Oct 2012 21:40:59 -0000 Kudos to Devin for his explanation! On Tue, Oct 16, 2012 at 4:13 PM, Devin Teske wr= ote: > > On Oct 16, 2012, at 11:13 AM, Stanislav Zaharov wrote: > >> Hello, >> >> I have a question regarding the mfsroot file system organization on >> installation cd. >> How is it possible that we have bigger binary files in ls list while act= ual >> occupied space is less. > > The beauty of crunchgen(1). > > If you use the "-i" flag to ls, you'll see the inode numbers (and subsequ= ently notice that a great-many inodes are identical). > > When two files have the same inode, they are "hard links" to each other. = Unlike a "soft link" (or "symbolic link" as they are more appropriately cal= led), which stores a destination-path of the target, a hard link instead lo= oks and acts no different than the original in every way. > > So, I can hear you asking, if all these binaries are linked to the same f= ile, what file is that? > > /stand/boot_crunch > > This is a "crunched" binary (produced by crunchgen(1)). > > Here's the configuration file that is fed to crunchgen(1) that produces t= his binary: > > http://svn.freebsd.org/base/stable/9/release/i386/boot_crunch.conf > > Quite simply, crunchgen(1) takes a list of programs (progs) and libraries= (libs) and produces a "crunched" binary. > > You then create links (hard or soft) to the crunched binary. The crunched= binary knows by argv[0] which main() subroutine to invoke. > > This ultimately allows things to stay nice and tight (storage space-wise)= . > > > >> But when we try to copy these files on similar >> filesystem using cp or dd the actual used space is bigger? >> > > cp(1) doesn't track hard-links. > > tar(1) does. > > If you want to copy /stand out of the mfsroot, you can do this: > > mkdir /stand2 > tar cf - /stand | tar xf - -C /stand2 > > A corresponding "ls -li /stand2" should show that the majority of files a= ll have the same inode (whereas if you use cp, "ls -li" will instead show d= ifferent inodes for every file that was copied, because again, cp(1) does n= ot support retention of hard-links). > > > > >> For example when we mount mfsroot image we get: >> >> $ df -h /mnt/ >> >> Filesystem Size Used Avail Capacity Mounted on >> /dev/md0 3.9M 3.3M 534k 86% /mnt >> >> $ ls -lhs /mnt/stand >> ... >> 766 -r-xr-xr-x 30 root wheel 3M 10 apr 2012 dhclient >> 766 -r-xr-xr-x 30 root wheel 3M 10 apr 2012 cpio >> 766 -r-xr-xr-x 30 root wheel 3M 10 apr 2012 camcontrol >> 766 -r-xr-xr-x 30 root wheel 3M 10 apr 2012 boot_crunch >> ... >> >> But: >> >> $ du -hc /mnt/stand >> ... >> 3,2M total >> >> >> But if we copy these files onto another UFS filesystem we really consume >> the space: >> >> $ cp -a /mnt/stand /tmp/stand >> >> $ du -hc /tmp/stand >> ... >> 91M total >> >> >> How is it possible and why does it matter for mfsroot? >> > > The reason crunchgen(1) is used to create /stand/boot_crunch for the inst= all media (mfsroot) is to save space and simplify the environment. When usi= ng a crunched binary, there are no libraries to worry about for example (al= l the libraries are compiled-in). > -- > Cheers, > Devin > > _____________ > The information contained in this message is proprietary and/or confident= ial. 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 awa= re that any message addressed to our domain is subject to archiving and rev= iew by persons other than the intended recipient. Thank you. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" --=20 Take care Rick Miller From owner-freebsd-questions@FreeBSD.ORG Tue Oct 16 22:23:03 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2E66B486; Tue, 16 Oct 2012 22:23:03 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from outbound.ifdnrg.com (outbound.ifdnrg.com [193.200.98.38]) by mx1.freebsd.org (Postfix) with ESMTP id A0B9C8FC08; Tue, 16 Oct 2012 22:23:02 +0000 (UTC) Received: from [192.168.1.84] (188-221-77-161.zone12.bethere.co.uk [188.221.77.161]) (authenticated bits=0) by outbound.ifdnrg.com (8.14.5/8.14.5) with ESMTP id q9GMAA4m026651 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 16 Oct 2012 23:10:11 +0100 (BST) (envelope-from paul@ifdnrg.com) Message-ID: <507DDB40.7070400@ifdnrg.com> Date: Tue, 16 Oct 2012 23:10:08 +0100 From: Paul Macdonald User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org, ports@freebsd.org Subject: Fetched Ports index falling out of date 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, 16 Oct 2012 22:23:03 -0000 Hi, For the past 4 days or so, i have noticed an issue where the ports INDEX is out of date. e.g portupgrade-2.4.10,2 > succeeds index (index has 2.4.9.9,2) sqlite3-3.7.14.1 > succeeds index (index has 3.7.14) This is on both 8.3 REL and 9.0 REL (amd64) Ports index update performed by make fetch index in /usr/ports and also tried portsdb -Fu Building with Uu fixes issue but i don't fancy doing that locally every day. Anyone else seeing this? thanks Paul. From owner-freebsd-questions@FreeBSD.ORG Tue Oct 16 23:55:26 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 008149CC for ; Tue, 16 Oct 2012 23:55:25 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id CEB398FC08 for ; Tue, 16 Oct 2012 23:55:25 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9GNtP5Q015145 for ; Tue, 16 Oct 2012 23:55:25 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9GNtPer015143 for freebsd-questions@freebsd.org; Tue, 16 Oct 2012 23:55:25 GMT (envelope-from bdrewery) Received: (qmail 40344 invoked from network); 16 Oct 2012 18:55:23 -0500 Received: from unknown (HELO ?10.10.0.115?) (freebsd@shatow.net@10.10.0.115) by sweb.xzibition.com with ESMTPA; 16 Oct 2012 18:55:23 -0500 Message-ID: <507DF3E6.40905@FreeBSD.org> Date: Tue, 16 Oct 2012 18:55:18 -0500 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: Paul Macdonald Subject: Re: Fetched Ports index falling out of date References: <507DDB40.7070400@ifdnrg.com> In-Reply-To: <507DDB40.7070400@ifdnrg.com> X-Enigmail-Version: 1.4.5 OpenPGP: id=3C9B0CF9; url=http://www.shatow.net/bryan/bryan.asc Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: ports@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, 16 Oct 2012 23:55:26 -0000 On 10/16/2012 5:10 PM, Paul Macdonald wrote: > Hi, > > For the past 4 days or so, i have noticed an issue where the ports INDEX > is out of date. > > e.g > portupgrade-2.4.10,2 > succeeds index (index has > 2.4.9.9,2) > sqlite3-3.7.14.1 > succeeds index (index has 3.7.14) > > This is on both 8.3 REL and 9.0 REL (amd64) > > Ports index update performed by make fetch index in /usr/ports > and also tried portsdb -Fu > > Building with Uu fixes issue but i don't fancy doing that locally every > day. > > Anyone else seeing this? I've noticed this as well. Mind showing me the output of this? grep portmaster /usr/ports/INDEX-{7,8,9} 2>/dev/null|cut -d \| -f 1 Bryan From owner-freebsd-questions@FreeBSD.ORG Tue Oct 16 23:59:53 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E3FE7C1F for ; Tue, 16 Oct 2012 23:59:53 +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 80FBF8FC08 for ; Tue, 16 Oct 2012 23:59:53 +0000 (UTC) Received: from [10.0.10.3] ([173.88.213.199]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 16 Oct 2012 16:58:41 -0700 Message-ID: <507DF4AC.3000003@a1poweruser.com> Date: Tue, 16 Oct 2012 19:58:36 -0400 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-questions@freebsd.org, David Wolfskill Subject: Re: IPCS resource access within a down-level jail? References: <20121016205149.GA1817@albert.catwhisker.org> In-Reply-To: <20121016205149.GA1817@albert.catwhisker.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 16 Oct 2012 23:58:41.0409 (UTC) FILETIME=[2AEEF710:01CDABFA] 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: Tue, 16 Oct 2012 23:59:54 -0000 David Wolfskill wrote: > [Please include me in responses; I've set Reply-To as a hint. Thanks!] > > A colleague had been running a program that makes use of IPCS message > queues in a 7.x/i386 environment. > > He was moved to a 32-bit 7.x-based jail instantiated on an 8.x/amd64 > host. > > Within that jail, "ipcs -a" now fails to come anywhere near close to > reporting what it does outside the jail. > > I then performed an experiment: I created a 7.x/i386 jail on my > 9.x/i386 laptop. I verified that "ipcs -a" (outside the jail) shows > Stuff: > > d134(9.1-P)[1] ipcs -a > Message Queues: > T ID KEY MODE OWNER GROUP CREATOR CGROUP CBYTES QNUM QBYTES LSPID LRPID STIME RTIME CTIME > > Shared Memory: > T ID KEY MODE OWNER GROUP CREATOR CGROUP NATTCH SEGSZ CPID LPID ATIME DTIME CTIME > m 393216 0 --rw------- david david david david 2 393216 3671 3147 8:23:37 no-entry 8:23:37 > m 851969 0 --rw------- david david david david 2 262080 3861 3147 9:24:09 no-entry 9:24:09 > m 458754 0 --rw------- david david david david 2 384000 3861 3147 9:24:09 no-entry 9:24:09 > > Semaphores: > T ID KEY MODE OWNER GROUP CREATOR CGROUP NSEMS OTIME CTIME > > d134(9.1-P)[2] > > > Inside the jail, using the 7.x version of ipcs, I get: > > %ipcs -a > ipcs: sysctlbyname: kern.ipc.msqids: Cannot allocate memory > % > > I then recompiled the 9.x versions of ipcs & ipcrm and linked them > statically; running that verion of ipcs, I see: > > %~/bin/!! > ~/bin/ipcs -a > Message Queues: > T ID KEY MODE OWNER GROUP CREATOR CGROUP CBYTES QNUM QBYTES LSPID LRPID STIME RTIME CTIME > > Shared Memory: > T ID KEY MODE OWNER GROUP CREATOR CGROUP NATTCH SEGSZ CPID LPID ATIME DTIME CTIME > m 393216 0 --rw------- david david david david 2 393216 3671 3147 15:23:37 no-entry 15:23:37 > m 655362 0 --rw------- david david david david 2 262080 3861 3147 18:39:30 no-entry 18:39:30 > > Semaphores: > T ID KEY MODE OWNER GROUP CREATOR CGROUP NSEMS OTIME CTIME > > % > > Is this (inability to access IPCS resources properly within a > "down-level" jail) expected behavior? > > Is there a sane(?) way to provide IPCS resources inside a down-level > jail? > > Thanks! > > Peace, > david Your problem is in the way you are trying to use jails. The jail has to be at the same major release level as the host. Host being 9.2 with a jail at 9.0 may work. But 9.x or 8.x host with 7.x jail for sure will not work. From owner-freebsd-questions@FreeBSD.ORG Wed Oct 17 01:34:46 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E43C667F; Wed, 17 Oct 2012 01:34:46 +0000 (UTC) (envelope-from john.marshall@riverwillow.com.au) Received: from mail4.riverwillow.net.au (mail4.riverwillow.net.au [202.125.45.59]) by mx1.freebsd.org (Postfix) with ESMTP id 50D508FC17; Wed, 17 Oct 2012 01:34:45 +0000 (UTC) Received: from [172.25.24.201] (CPE-60-225-19-68.home33.cht.bigpond.net.au [60.225.19.68]) (authenticated bits=0) by mail4.riverwillow.net.au (8.14.5/8.14.5) with ESMTP id q9H1JKGN039050 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NOT); Wed, 17 Oct 2012 11:19:21 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=riverwillow.com.au; s=m4001; t=1350436762; bh=IgoE27qGibaYIaOlhPiUqSPbcVPb+pq1+I7iWiiwGUc=; h=Date:From:To:CC:Subject:References:In-Reply-To; b=FmWqzhEj4pFWvgjQH1tvErH91UnpBkR2baSzstr4NGKNzQd8AK31g3FuASvNqpasR 5MpRHBZydRH8o8RsmzziZZpm1mnuM9I+IGp64UwOazONbJ3ohYOnyzwOrP10JyCu2C cq23cWwVdOIlKZ+HKD6/eXcMXtIds8fZJqqDb+x8= Message-ID: <507E078C.2040701@riverwillow.com.au> Date: Wed, 17 Oct 2012 12:19:08 +1100 From: John Marshall Organization: Riverwillow Pty Ltd User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:16.0) Gecko/20121016 Thunderbird/16.0.1 MIME-Version: 1.0 To: Paul Macdonald Subject: Re: Fetched Ports index falling out of date References: <507DDB40.7070400@ifdnrg.com> In-Reply-To: <507DDB40.7070400@ifdnrg.com> X-Enigmail-Version: 1.4.5 OpenPGP: id=A29A84A2; url=http://pki.riverwillow.com.au/pgp/johnmarshall.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig47C34FBC7CDA869F9F51E79B" Cc: ports@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, 17 Oct 2012 01:34:47 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig47C34FBC7CDA869F9F51E79B Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable On 17/10/2012 09:10, Paul Macdonald wrote: > For the past 4 days or so, i have noticed an issue where the ports INDE= X > is out of date. Yes, the published INDEX-n files (for "make fetchindex") haven't been updated since Saturday. ozsrv03> curl -I http://www.FreeBSD.org/ports/INDEX-8.bz2 HTTP/1.1 200 OK Content-Type: application/x-bzip Accept-Ranges: bytes ETag: "3485320067" Last-Modified: Sat, 13 Oct 2012 09:05:08 GMT Content-Length: 1661371 Date: Wed, 17 Oct 2012 01:11:59 GMT Server: httpd/1.4.x LaHonda ozsrv03> curl -I http://www.FreeBSD.org/ports/INDEX-9.bz2 HTTP/1.1 200 OK Content-Type: application/x-bzip Accept-Ranges: bytes ETag: "3948082461" Last-Modified: Sat, 13 Oct 2012 10:24:02 GMT Content-Length: 1658256 Date: Wed, 17 Oct 2012 01:12:03 GMT Server: httpd/1.4.x LaHonda ozsrv03> curl -I http://www.FreeBSD.org/ports/INDEX-10.bz2 HTTP/1.1 200 OK Content-Type: application/x-bzip Accept-Ranges: bytes ETag: "219974981" Last-Modified: Sat, 13 Oct 2012 11:40:03 GMT Content-Length: 1658256 Date: Wed, 17 Oct 2012 01:12:08 GMT Server: httpd/1.4.x LaHonda --=20 John Marshall --------------enig47C34FBC7CDA869F9F51E79B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlB+B5cACgkQw/tAaKKahKJ36gCdETgl+UwRFX4A4U33RMomtJsX TCgAoLqNFf38ueAmZUoYQv6DoscPj2z9 =NX7e -----END PGP SIGNATURE----- --------------enig47C34FBC7CDA869F9F51E79B-- From owner-freebsd-questions@FreeBSD.ORG Wed Oct 17 05:34:30 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4373110D for ; Wed, 17 Oct 2012 05:34:30 +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 0124C8FC08 for ; Wed, 17 Oct 2012 05:34:27 +0000 (UTC) Received: from r56.edvax.de (port-92-195-110-131.dynamic.qsc.de [92.195.110.131]) by mx02.qsc.de (Postfix) with ESMTP id E4D1C24C5D; Wed, 17 Oct 2012 07:34:20 +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 q9H5YKoq002383; Wed, 17 Oct 2012 07:34:20 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Wed, 17 Oct 2012 07:34:20 +0200 From: Polytropon To: Jack Subject: Re: pppoe configuration and dns name resolution Message-Id: <20121017073420.bfbe68a8.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: Wed, 17 Oct 2012 05:34:30 -0000 On Tue, 16 Oct 2012 20:38:47 +0530, Jack wrote: > I'm new as a FreeBSD user, and trying to configure my > pppoe connection. I've been using PPPoE with a DSL modem for many years, using FreeBSD 4, 5 and 7 with the system's PPPoE tools. The IP was provided to the computer directly, so no DHCP in the modem involved ("real modem mode"). In /etc/ppp/ppp.conf, I did simply define: myispname: set device PPPoE:xl0 set authname customer1234567@myispname set authkey XXXXXXXXX set dial set login add default HISADDR No further changes to that file. Note that here, xl0 is the interface directly connected to the modem. And in /etc/rc.conf: ifconfig_xl0="192.168.0.1 netmask 0xffffff00" ppp_enable="YES" ppp_profile="myispname" ppp_mode="ddial" ppp_nat="YES" So the system would automatically start the connection at boot time. The tun0 interface would then be associated the public IP designated when the PPPoE connection was up and running. Note that ppp_nat only has been needed to "transition" the connection through a 2nd NIC into the local net, making my machine a gateway (including related services, such as natd and dhcpd). I also think initializing the NIC xl0 is not entirely needed, maybe "up" would have been sufficient. For actually being able to use PPPoE, I did add the required components to the kernel, because that approach was "state of the art" at those times. :-) In /etc/resolv.conf I did add the nameservers published by my ISP. Anything worked automatically, I did not need to make further changes. Basically my setup looks like yours, except that (as I said) I did not use any "additional features" of the DSL modem (as it did not have such features). :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Wed Oct 17 05:58:53 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 21738A8B for ; Wed, 17 Oct 2012 05:58:53 +0000 (UTC) (envelope-from jacks.1785@gmail.com) Received: from mail-ia0-f196.google.com (mail-ia0-f196.google.com [209.85.210.196]) by mx1.freebsd.org (Postfix) with ESMTP id D8E408FC16 for ; Wed, 17 Oct 2012 05:58:52 +0000 (UTC) Received: by mail-ia0-f196.google.com with SMTP id j38so589111iad.7 for ; Tue, 16 Oct 2012 22:58: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:date:message-id:subject:from:to :content-type; bh=L/8/z9UsarJGN4tSOQXX+/RvOcSADyeg/seW0ofnuGY=; b=gzswqwwE6p0bOdvxwVM9GFb1rD3GPAQALEtrpgE/kIw5XbmLYzt1G3bfm0o8+97ISu 3amQhrGnaPhXbA81l49tGSug3r3TKJ4TtTifCEoIcAXRb9RCVJyLygy6MxtJgV9MkOHt T3IkMv3tml/dqr7YecpYNYTx2Tq7SL5YKN+EriGtcA5xkK9MXxfHW9xug49OIhYgcZH9 n1NRlYyEYssRj1FA4aJl+Go9Sn0BGRN1yYV/oEVI4Kdf1Av7IMdFwIIr/kagbXfFtWlg xbAGnJii3czQRCi5PoySBJktsnrRFKyVHNqaijdMX8W0q5cTvxTt5G9dhGowkKxLvz8O IKow== MIME-Version: 1.0 Received: by 10.50.46.134 with SMTP id v6mr515899igm.55.1350453531988; Tue, 16 Oct 2012 22:58:51 -0700 (PDT) Received: by 10.64.11.166 with HTTP; Tue, 16 Oct 2012 22:58:51 -0700 (PDT) In-Reply-To: <6AF968FA-4D15-4186-80B5-F65AD642D097@exonetric.com> References: <5FA507B7-F634-4293-8529-88B5131CDDE9@exonetric.com> <6AF968FA-4D15-4186-80B5-F65AD642D097@exonetric.com> Date: Wed, 17 Oct 2012 11:28:51 +0530 Message-ID: Subject: Re: pppoe configuration and dns name resolution From: Jack To: freebsd-questions@freebsd.org 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: Wed, 17 Oct 2012 05:58:53 -0000 On Tue, Oct 16, 2012 at 9:19 PM, Mark Blackman wrote: > > On 16 Oct 2012, at 16:38, Jack wrote: > >> I 'll try mpd5. Thanks. >> >> Actually, I was concerned with userland ppp, becoz of the >> scenarios where we have a FreeBSD machine and the only >> way to connect to internet is an adsl modem in bridge mode >> (assuming the mode in modem, can't be changed). >> In such case the only utilty is ppp, which can be of help. > > Ok, usually bridge mode implies PPPoE and mpd5 does PPPoE. Maybe > I'm missing your point. > > - Mark Mark, what I meant is when we have, say a fresh FreeBSD install, then the only service we have at expose is ppp. To be able to use mpd5, or other ports/packages we first need to connect to internet then only we can install/use mpd5. So, by default we are stuck at using ppp builtin with FreeBSD. And yes by bridge mode I meant that and are to be provided to OS, rather than storing them inside adsl modem. The bridge mode works fine in my Windows XP setup. Nothing special to configure, just need to go to network connections and create a new connection, using username and password. In XP, I'm using DHCP too, so that I don't need to manually confgure interface IP address. That's why I'm sure that my network setup is not a issue. The issue lies somewhere in FreeBSD configuration or somewhere else. Regards -- Jack From owner-freebsd-questions@FreeBSD.ORG Wed Oct 17 06:44:02 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 10FF84FE; Wed, 17 Oct 2012 06:44:02 +0000 (UTC) (envelope-from erwin@mail.droso.net) Received: from mail.droso.net (grizzly.droso.dk [IPv6:2a01:4f8:100:9424::3]) by mx1.freebsd.org (Postfix) with ESMTP id 9EC358FC0A; Wed, 17 Oct 2012 06:44:01 +0000 (UTC) Received: by mail.droso.net (Postfix, from userid 1001) id C5F8A6517; Wed, 17 Oct 2012 08:43:59 +0200 (CEST) Date: Wed, 17 Oct 2012 08:43:59 +0200 From: Erwin Lansing To: Paul Macdonald Subject: Re: Fetched Ports index falling out of date Message-ID: <20121017064359.GN27371@droso.net> References: <507DDB40.7070400@ifdnrg.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <507DDB40.7070400@ifdnrg.com> X-Operating-System: FreeBSD/amd64 9.0-RELEASE User-Agent: Mutt/1.5.21 (2010-09-15) Cc: ports@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, 17 Oct 2012 06:44:02 -0000 On Tue, Oct 16, 2012 at 11:10:08PM +0100, Paul Macdonald wrote: > Hi, Hi Paul, > > For the past 4 days or so, i have noticed an issue where the ports INDEX > is out of date. > > e.g > portupgrade-2.4.10,2 > succeeds index (index has 2.4.9.9,2) > sqlite3-3.7.14.1 > succeeds index (index has 3.7.14) > > This is on both 8.3 REL and 9.0 REL (amd64) > > Ports index update performed by make fetch index in /usr/ports > and also tried portsdb -Fu > > Building with Uu fixes issue but i don't fancy doing that locally every day. > > Anyone else seeing this? > There was some major work on the FreeBSD cluster machines this weekend and as always with such a large change, some things will be overlooked. I've talked to the people with the right access and hope it will be fixed later today. Best, Erwin -- Erwin Lansing http://droso.dk erwin@FreeBSD.org http:// www.FreeBSD.org From owner-freebsd-questions@FreeBSD.ORG Wed Oct 17 09:36:58 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 57C7EF20; Wed, 17 Oct 2012 09:36:58 +0000 (UTC) (envelope-from ateve@sohara.org) Received: from uk1rly2283.eechost.net (relay01a.mail.uk1.eechost.net [217.69.40.75]) by mx1.freebsd.org (Postfix) with ESMTP id 142B48FC17; Wed, 17 Oct 2012 09:36:57 +0000 (UTC) Received: from [31.186.37.179] (helo=rpi-1.marelmo.com) by uk1rly2283.eechost.net with esmtpa (Exim 4.72) (envelope-from ) id 1TOOwZ-0002yB-Og; Wed, 17 Oct 2012 09:25:35 +0100 Received: from [192.168.63.1] (helo=steve.marelmo.com) by rpi-1.marelmo.com with smtp (Exim 4.72) (envelope-from ) id 1TOP2c-0007QR-NM; Wed, 17 Oct 2012 09:31:50 +0100 Date: Wed, 17 Oct 2012 09:30:06 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: MFS root filesystem and static binaries size Message-Id: <20121017093006.11ef91b99dfafdeb3f2a28ed@sohara.org> In-Reply-To: <79906B82-7EF3-44DD-95A1-EF1DD239E2CD@fisglobal.com> References: <79906B82-7EF3-44DD-95A1-EF1DD239E2CD@fisglobal.com> X-Mailer: Sylpheed 3.2.0 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Auth-Info: 15567@permanet.ie (plain) Cc: Devin Teske 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, 17 Oct 2012 09:36:58 -0000 On Tue, 16 Oct 2012 13:13:41 -0700 Devin Teske wrote: > When two files have the same inode, they are "hard links" to each other. > Unlike a "soft link" (or "symbolic link" as they are more appropriately > called), which stores a destination-path of the target, a hard link > instead looks and acts no different than the original in every way. A better way of thinking about it (ie. closer to reality) is that the inode entry is the file. When two directory entries both have the same inode number in them they refer to the same file. Crunchgen produces a file with a lot of names. -- Steve O'Hara-Smith From owner-freebsd-questions@FreeBSD.ORG Wed Oct 17 10:27:20 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A30D769A for ; Wed, 17 Oct 2012 10:27:20 +0000 (UTC) (envelope-from bennett@cs.niu.edu) Received: from mp.cs.niu.edu (mp.cs.niu.edu [131.156.145.41]) by mx1.freebsd.org (Postfix) with ESMTP id 715CE8FC16 for ; Wed, 17 Oct 2012 10:27:17 +0000 (UTC) Received: from mp.cs.niu.edu (bennett@localhost [127.0.0.1]) by mp.cs.niu.edu (8.14.3/8.14.3) with ESMTP id q9HAQLBD004122; Wed, 17 Oct 2012 05:26:21 -0500 (CDT) Date: Wed, 17 Oct 2012 05:26:21 -0500 (CDT) From: Scott Bennett Message-Id: <201210171026.q9HAQLRC004121@mp.cs.niu.edu> To: mail@ozzmosis.com Subject: Re: clang options question 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, 17 Oct 2012 10:27:20 -0000 On Wed, 17 Oct 2012 04:25:14 +1100 andrew clarke wrote: >On Tue 2012-10-16 10:52:36 UTC-0500, Scott Bennett (bennett@cs.niu.edu) wrote: > >> From looking at the clang(1) man page, it is not clear to me what the >> difference is between the -arch option and the -march= option. Would >> someone please summarize the difference(s) for me? Thanks much! > >>From the users POV, clang is supposed to be a drop-in replacement for >gcc, where -arch is also an option. Looking online though, it would >appear it's an Apple Darwin (OS X) only feature of gcc for generating >universal binaries. Oh. Okay. Thanks for the Darwin info, too. I hadn't known that OS X had carried on NEXTSTEP's support for fat binaries. > >The question is a bit academic as it doesn't actually do anything in >FreeBSD, at least not for me: > >$ clang -o hello -arch x86_64 hello.c >clang: warning: argument unused during compilation: '-arch x86_64' > >$ clang -v >clang version 3.1 (branches/release_31) >Target: amd64-portbld-freebsd8.3 >Thread model: posix > >Nor in Linux (an old version, admittedly): > >$ clang -o hello -arch i386 hello.c >clang: warning: argument unused during compilation: '-arch i386' > >$ clang -v >clang version 1.1 (branches/release_27) >Target: x86_64-pc-linux-gnu >Thread model: posix > I see. So it's just decoration for compatibility with gcc and something to worry about. Thanks very much for the response. Scott Bennett, Comm. ASMELG, CFIAG ********************************************************************** * Internet: bennett at cs.niu.edu * *--------------------------------------------------------------------* * "A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army." * * -- Gov. John Hancock, New York Journal, 28 January 1790 * ********************************************************************** From owner-freebsd-questions@FreeBSD.ORG Wed Oct 17 14:27:35 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 245F1A69 for ; Wed, 17 Oct 2012 14:27:35 +0000 (UTC) (envelope-from jtrigg@spamcop.net) Received: from argent.heraldsnet.net (argent.heraldsnet.net [69.60.117.17]) by mx1.freebsd.org (Postfix) with ESMTP id ECAD78FC08 for ; Wed, 17 Oct 2012 14:27:34 +0000 (UTC) Received: by argent.heraldsnet.net (Postfix, from userid 11001) id BFBDE5C38; Wed, 17 Oct 2012 10:27:33 -0400 (EDT) Date: Wed, 17 Oct 2012 10:27:33 -0400 From: Jim Trigg To: freebsd-questions@freebsd.org Subject: Problem upgrading Message-ID: <20121017142733.GJ75370@spamcop.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: Wed, 17 Oct 2012 14:27:35 -0000 Any suggestions on how to fix this? --- argent(1) /usr/ports/ports-mgmt/portmaster# freebsd-update -r 9.0-RELEASE upgrade Looking up update.FreeBSD.org mirrors... 3 mirrors found. Fetching metadata signature for 8.2-RELEASE from update5.FreeBSD.org... done. Fetching metadata index... done. Fetching 1 metadata files... done. Inspecting system... done. The following components of FreeBSD seem to be installed: kernel/generic src/base src/bin src/cddl src/contrib src/crypto src/etc src/games src/gnu src/include src/krb5 src/lib src/libexec src/release src/rescue src/sbin src/secure src/share src/sys src/tools src/ubin src/usbin world/base world/dict world/doc world/games world/info world/manpages world/proflibs The following components of FreeBSD do not seem to be installed: world/catpages Does this look reasonable (y/n)? y Fetching metadata signature for 9.0-RELEASE from update5.FreeBSD.org... done. Fetching metadata index... done. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 1 metadata files... done. The update metadata is correctly signed, but failed an integrity check. Cowardly refusing to proceed any further. --- Thanks, Jim From owner-freebsd-questions@FreeBSD.ORG Wed Oct 17 18:50:19 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B18EB80A for ; Wed, 17 Oct 2012 18:50:19 +0000 (UTC) (envelope-from kernel@webrz.net) Received: from webrz.xs4all.nl (webrz.xs4all.nl [82.95.248.216]) by mx1.freebsd.org (Postfix) with ESMTP id 5DFF78FC12 for ; Wed, 17 Oct 2012 18:50:19 +0000 (UTC) Received: from webrz.xs4all.nl (localhost [127.0.0.1]) by webrz.xs4all.nl (Postfix) with ESMTP id 89B0850889; Wed, 17 Oct 2012 20:48:07 +0200 (CEST) Received: from [10.10.10.44] (chimea.webrz.net [10.10.10.44]) by webrz.xs4all.nl (Postfix) with ESMTPA id 637175086E; Wed, 17 Oct 2012 20:48:07 +0200 (CEST) Message-ID: <507EFDED.5040303@webrz.net> Date: Wed, 17 Oct 2012 20:50:21 +0200 From: Jos Chrispijn User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: Polytropon Subject: Re: FreeBSD9 - Fresh install (2) References: <5079ABFA.8050607@webrz.net> <20121013210513.80676821.freebsd@edvax.de> <507AFEEC.2030609@webrz.net> <201210142129.24479.jmc-freebsd2@milibyte.co.uk> <507BC823.9060606@webrz.net> <20121015120321.21ff48f4.freebsd@edvax.de> <507C21EB.2040908@webrz.net> <20121016020923.68d15b3f.freebsd@edvax.de> In-Reply-To: <20121016020923.68d15b3f.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AV-Checked: ClamAV using ClamSMTP @triton.webrz.net 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, 17 Oct 2012 18:50:19 -0000 Thanks for this very informative suggestion. I think I need to study it thouroughly, but will certainly head for that solution. kind regards, Jos Chrispijn Polytropon: > That would work, and could be performed easily even using > the slice editor of the sysinstall program. > > Of course, make sure that all partition references work > properly for _each_ slice. Using labels is a comfortable > way to achieve this. But it would be no problem to use > the device names (as long as the disk won't be moved). > > For example: > > Slice 1: Installation OS 8.2 > -> boots to /dev/ad0s1a (kernel is in ad0s1a:/boot/kernel) > -> performs root mount of /dev/ad0s1a > -> mounts OS partitions /dev/ad0s1[defg] > -> mounts data partition /dev/ad0s3 > > Slice 2: Installation OS 9.0 > -> boots to /dev/ad0s2a (kernel is in ad0s2a:/boot/kernel) > -> performs root mount of /dev/ad0s2a > -> mounts OS partitions /dev/ad0s2[defg] > -> mounts data partition /dev/ad0s3 > > Slice 3: Users' home directories > > You also use the fdisk command to set the active partition manually, > or write a short skript that "flips the switch" to boot from "the > other slice" the next time (comparable to the nextboot command in > relation to kernels); see "man fdisk" for details. > > That won't work in "Windows" mode, as you cannot click on the slice. :-) > > From owner-freebsd-questions@FreeBSD.ORG Wed Oct 17 20:57:51 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5D7EFD74 for ; Wed, 17 Oct 2012 20:57:51 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1FB2F8FC0A for ; Wed, 17 Oct 2012 20:57:50 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id k10so16431913iea.13 for ; Wed, 17 Oct 2012 13:57:50 -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=w5qaSld0H9GuNfh9wtipFjdFQtkJ6O+A4GDmEpMf3mo=; b=IFn45G1mYiagZHBE/a5/J9G3HAxYBJPYSE9BzNrwiQL6ExfqkFZGO1eSCEBLIoDVZO ooOpmQ2iOLToIL74tTMVl1RSevuXf1LrgxjUcz27CfXYd9cN/oKMoA499TliPVRjz9pg doPTc5RCUq8jkER7x6AMa0pCtyp40U+CBDOmSZaGHHguqFTeivuyXG12EpSl5pRy5MXj Zvd5Gpcgvrt/RQBLHGSdKSFWWSBB4YDYnqwxNSAVUhi2a1HMAON4Mt55OjO7WPCfmP6c 7Ly3xfRAZHuQJOZc3/srGzuBbLSVZkixVMRorbPaw3fEi6+3QWuoOCB7tVOZXOzV7yY1 p6Yg== MIME-Version: 1.0 Received: by 10.50.106.227 with SMTP id gx3mr2937124igb.10.1350507469739; Wed, 17 Oct 2012 13:57:49 -0700 (PDT) Received: by 10.64.49.67 with HTTP; Wed, 17 Oct 2012 13:57:49 -0700 (PDT) X-Originating-IP: [93.221.176.159] In-Reply-To: <20121015173418.GA27414@hemlock.hydra> References: <20121015173418.GA27414@hemlock.hydra> Date: Wed, 17 Oct 2012 22:57:49 +0200 Message-ID: Subject: Re: a metric for number of users From: "C. P. Ghost" To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQnGpg4dqDM8hkwXWyGoXt230HeLH4TDlhqy5LzWL5aJqvvm0A87MovZSh6BaZk0c0Ydi1bC 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, 17 Oct 2012 20:57:51 -0000 On Mon, Oct 15, 2012 at 7:34 PM, Chad Perrin wrote: > Is there some way I could get the number of unique IPs hitting FreeBSD > servers for software updates? I'm curious about the direct comparison of > numbers between FreeBSD, Ubuntu, Fedora, and SUSE for this metric. You could ask for this, but beware of drawing wrong conclusions. Where I'm currently working, we're fetching sources, ports and distfiles only once, rebuild, test, and then mirror internally to a couple of 10k machines. And I'm sure we're not alone doing this: it's certainly not such an uncommon scenario out there. > Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] -cpghost. -- Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Wed Oct 17 21:31:44 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 677AB9E6 for ; Wed, 17 Oct 2012 21:31:44 +0000 (UTC) (envelope-from tsnow@tabletoptelephone.com) Received: from scanner2.tabletoptelephone.com (scanner2.tabletoptelephone.com [63.235.184.35]) by mx1.freebsd.org (Postfix) with ESMTP id 3288F8FC0A for ; Wed, 17 Oct 2012 21:31:43 +0000 (UTC) X-ASG-Debug-ID: 1350508453-024ed808db0e740001-jLrpzn Received: from newmail2.tabletoptelephone.com (mail.tabletoptelephone.com [63.235.184.36]) by scanner2.tabletoptelephone.com with ESMTP id yR9Kk8vwmAHDoqCP for ; Wed, 17 Oct 2012 14:14:13 -0700 (MST) X-Barracuda-Envelope-From: tsnow@tabletoptelephone.com X-Barracuda-Apparent-Source-IP: 63.235.184.36 Message-ID: <507F1FA2.7000008@tabletoptelephone.com> Date: Wed, 17 Oct 2012 14:14:10 -0700 From: Timothy Snowberger User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Problem upgrading References: <20121017142733.GJ75370@spamcop.net> X-ASG-Orig-Subj: Re: Problem upgrading In-Reply-To: <20121017142733.GJ75370@spamcop.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Barracuda-Connect: mail.tabletoptelephone.com[63.235.184.36] X-Barracuda-Start-Time: 1350508453 X-Barracuda-URL: http://63.235.184.35:8000/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at tabletoptelephone.com X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: -1002.00 X-Barracuda-Spam-Status: No, SCORE=-1002.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=4.0 KILL_LEVEL=1000.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, 17 Oct 2012 21:31:44 -0000 On 10/17/2012 7:27 AM, Jim Trigg wrote: > Any suggestions on how to fix this? > > --- > argent(1) /usr/ports/ports-mgmt/portmaster# freebsd-update -r 9.0-RELEASE upgrade > Looking up update.FreeBSD.org mirrors... 3 mirrors found. > Fetching metadata signature for 8.2-RELEASE from update5.FreeBSD.org... done. > Fetching metadata index... done. > Fetching 1 metadata files... done. > Inspecting system... done. > > The following components of FreeBSD seem to be installed: > kernel/generic src/base src/bin src/cddl src/contrib src/crypto src/etc > src/games src/gnu src/include src/krb5 src/lib src/libexec src/release > src/rescue src/sbin src/secure src/share src/sys src/tools src/ubin > src/usbin world/base world/dict world/doc world/games world/info > world/manpages world/proflibs > > The following components of FreeBSD do not seem to be installed: > world/catpages > > Does this look reasonable (y/n)? y > > Fetching metadata signature for 9.0-RELEASE from update5.FreeBSD.org... done. > Fetching metadata index... done. > Fetching 1 metadata patches. done. > Applying metadata patches... done. > Fetching 1 metadata files... done. > > The update metadata is correctly signed, but > failed an integrity check. > Cowardly refusing to proceed any further. > --- > > Thanks, > Jim > _______________________________________________ > 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" sed -i '' -e 's/=_/=%@_/' /usr/sbin/freebsd-update See http://lists.freebsd.org/pipermail/freebsd-stable/2011-October/064321.html "First, a minor change must be made to the freebsd-update code in order for it to accept file names appearing in FreeBSD 9.0 which contain the '%' and '@' characters; without this change, freebsd-update will error out with the message "The update metadata is correctly signed, but failed an integrity check". " From owner-freebsd-questions@FreeBSD.ORG Wed Oct 17 23:20:33 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7242080A for ; Wed, 17 Oct 2012 23:20:33 +0000 (UTC) (envelope-from grarpamp@gmail.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id 359EA8FC08 for ; Wed, 17 Oct 2012 23:20:32 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so10677346oag.13 for ; Wed, 17 Oct 2012 16:20: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=sksiw6SYiN29hMBbAEmCpzh9r1QgafReyhxg2O00j9s=; b=HTswvw3BnjawGQ93YEB7SerDimz3HNdsbDXLO/5qarBq5tPUlIneoXzb73QWY94/7q ihhELlmpyrCXap1vyJuNRpxTwahpElNnx5yTHuA/ZztoS91PjmolKXDiX5h7WJfIzU+W cewxFiRBUlDzIsm1Z0b/jUDdcNt1FZPFkLPH4vJFpO1sccKuu3xIET8fpaRO6921GTlL aCZSqG8VfZ7tEoom9CZHVz/yubbvDphTlyVD8R5xz0M16BhwkY1lE9Q9ugzamMl2IO40 ttj32RvIhOc/aV9cysZKnO73ODrtmpUvsheIHQN07WwpLY8XBAaxW4WD0aUGUpfqi+Uf z06g== MIME-Version: 1.0 Received: by 10.60.3.6 with SMTP id 6mr17400204oey.117.1350516032281; Wed, 17 Oct 2012 16:20:32 -0700 (PDT) Received: by 10.76.152.129 with HTTP; Wed, 17 Oct 2012 16:20:32 -0700 (PDT) Date: Wed, 17 Oct 2012 19:20:32 -0400 Message-ID: Subject: vm.kmem_size From: grarpamp 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: Wed, 17 Oct 2012 23:20:33 -0000 How small and big can I realistically push vm.kmem_size to on this platform with RELENG_8 GENERIC before kernel crashes? CPU: Intel(R) Pentium(R) 4 CPU real memory = 2147483648 (2048 MB) avail memory = 2085355520 (1988 MB) If it matters, I am using defaults for ZFS and everything else. First set is barely primed. Second set is well used. I often see another 100M of wired mem up to 675M'ish. # booted vm.kmem_map_free: 630730752 vm.kmem_map_size: 19271680 vm.kmem_size_scale: 3 vm.kmem_size_max: 335544320 vm.kmem_size_min: 0 vm.kmem_size: 650000000 vm.kvm_free: 54521856 vm.kvm_size: 1073737728 vfs.zfs.mfu_size: 482816 vfs.zfs.mru_size: 2186240 vfs.zfs.anon_size: 16384 vfs.zfs.arc_meta_limit: 101562500 vfs.zfs.arc_meta_used: 3519512 vfs.zfs.arc_min: 50781250 vfs.zfs.arc_max: 406250000 kstat.zfs.misc.arcstats.p: 203125000 kstat.zfs.misc.arcstats.c: 406250000 kstat.zfs.misc.arcstats.c_min: 50781250 kstat.zfs.misc.arcstats.c_max: 406250000 kstat.zfs.misc.arcstats.size: 3532312 kstat.zfs.misc.arcstats.hdr_size: 58324 kstat.zfs.misc.arcstats.data_size: 2685440 kstat.zfs.misc.arcstats.other_size: 788548 Mem: 1660K Active, 2692K Inact, 31M Wired, 8K Cache, 7200K Buf, 1958M Free ITEM SIZE LIMIT USED FREE REQUESTS FAILURES zfs_znode_cache: 268, 0, 43, 13, 43, 0 Type InUse MemUse HighUse Requests Size(s) solaris 6742 6505K - 38161 16,32,64,128,256,512,1024,2048,4096 # used vm.kmem_map_free: 145154048 vm.kmem_map_size: 481452032 vm.kmem_size_scale: 3 vm.kmem_size_max: 335544320 vm.kmem_size_min: 0 vm.kmem_size: 650000000 vm.kvm_free: 46133248 vm.kvm_size: 1073737728 vfs.zfs.mfu_size: 131460608 vfs.zfs.mru_size: 217134080 vfs.zfs.anon_size: 262144 vfs.zfs.arc_meta_limit: 101562500 vfs.zfs.arc_meta_used: 108829156 vfs.zfs.arc_min: 50781250 vfs.zfs.arc_max: 406250000 kstat.zfs.misc.arcstats.p: 228111557 kstat.zfs.misc.arcstats.c: 374401883 kstat.zfs.misc.arcstats.c_min: 50781250 kstat.zfs.misc.arcstats.c_max: 406250000 kstat.zfs.misc.arcstats.size: 364867900 kstat.zfs.misc.arcstats.hdr_size: 2751420 kstat.zfs.misc.arcstats.data_size: 348670976 kstat.zfs.misc.arcstats.other_size: 13445504 Mem: 206M Active, 82M Inact, 571M Wired, 21M Cache, 19M Buf, 1112M Free ITEM SIZE LIMIT USED FREE REQUESTS FAILURES zfs_znode_cache: 268, 0, 10419, 123, 12786, 0 Type InUse MemUse HighUse Requests Size(s) solaris 206261 391419K - 11430057 16,32,64,128,256,512,1024,2048,4096 From owner-freebsd-questions@FreeBSD.ORG Thu Oct 18 02:08:59 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ED60674C; Thu, 18 Oct 2012 02:08:59 +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 AFC208FC08; Thu, 18 Oct 2012 02:08:59 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.17]) by ltcfislmsgpa06.fnfis.com (8.14.4/8.14.4) with ESMTP id q9I1dRDQ028662 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Wed, 17 Oct 2012 20:39:27 -0500 Received: from [10.0.0.101] (10.14.152.61) by smtp.fisglobal.com (10.132.206.17) with Microsoft SMTP Server (TLS) id 14.2.309.2; Wed, 17 Oct 2012 20:39:26 -0500 Subject: Re: MFS root filesystem and static binaries size MIME-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset="us-ascii" From: Devin Teske In-Reply-To: <20121017093006.11ef91b99dfafdeb3f2a28ed@sohara.org> Date: Wed, 17 Oct 2012 18:39:23 -0700 Content-Transfer-Encoding: quoted-printable Message-ID: <2A51EF1B-7274-439B-AF9D-AB116F9B4583@fisglobal.com> References: <79906B82-7EF3-44DD-95A1-EF1DD239E2CD@fisglobal.com> <20121017093006.11ef91b99dfafdeb3f2a28ed@sohara.org> To: "Steve O'Hara-Smith" X-Mailer: Apple Mail (2.1283) X-Originating-IP: [10.14.152.61] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.7.7855, 1.0.431, 0.0.0000 definitions=2012-10-17_05:2012-10-17,2012-10-17,1970-01-01 signatures=0 Cc: Devin Teske , freebsd-questions@freebsd.org 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, 18 Oct 2012 02:09:00 -0000 On Oct 17, 2012, at 1:30 AM, Steve O'Hara-Smith wrote: > On Tue, 16 Oct 2012 13:13:41 -0700 > Devin Teske wrote: >=20 >> When two files have the same inode, they are "hard links" to each other. >> Unlike a "soft link" (or "symbolic link" as they are more appropriately >> called), which stores a destination-path of the target, a hard link >> instead looks and acts no different than the original in every way. >=20 > A better way of thinking about it (ie. closer to reality) is that > the inode entry is the file. When two directory entries both have the same > inode number in them they refer to the same file. Crunchgen produces a > file with a lot of names. >=20 For clarity/record, crunchgen(1) itself does not generate the links. You technically don't have to link to boot_crunch at all, for example: /stand/boot_crunch ls Another example: /rescue/rescue vi HINT: /rescue/rescue is also a crunchgen(1)-produced binary, just like /sta= nd/boot_crunch in the mfsroot. --=20 Devin _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 18 03:11:45 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B232A3ED for ; Thu, 18 Oct 2012 03:11:45 +0000 (UTC) (envelope-from jacks.1785@gmail.com) Received: from mail-ie0-f182.google.com (mail-ie0-f182.google.com [209.85.223.182]) by mx1.freebsd.org (Postfix) with ESMTP id 795868FC0C for ; Thu, 18 Oct 2012 03:11:45 +0000 (UTC) Received: by mail-ie0-f182.google.com with SMTP id k10so16995136iea.13 for ; Wed, 17 Oct 2012 20:11:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=RxFCu5GvijgTM+wcBD604Fl7RHFOPFDtCyPmVSxW8C4=; b=CmaCDe/PM//eD+eyjrvNfwoUIqnnaS3QKhVdCe19Bg0ZuwrXQor/zyv7QoI6VgP8LF 1mce5Bh445HFASnXtQC83yFOytu/4p+mETqVREhZmh1igCPyIG+4E2Wt9bbLsmBUxqbw Fhv8xjC/IMBiDN8O+7prydlFy0OVNMkdWpZ75BWu/AH+oXPOrJNMTbI5g/9YPkANfNLs pvPLVMZIlHVFSenROmFkWcBQ5RLQ+uAUyZDgqX5OLLQSN8ESPhO/vHxNkZOY5iHQKNIP iXtlI8yzErunI97dcjzit0ALmzrtMwediwehG9fM12tmk3Vk3j62MUql4LSmLUk6GYBh N+AA== MIME-Version: 1.0 Received: by 10.50.37.168 with SMTP id z8mr3652923igj.1.1350529904864; Wed, 17 Oct 2012 20:11:44 -0700 (PDT) Received: by 10.64.11.166 with HTTP; Wed, 17 Oct 2012 20:11:44 -0700 (PDT) Date: Thu, 18 Oct 2012 08:41:44 +0530 Message-ID: Subject: Re: pppoe configuration and dns name resolution From: Jack To: freebsd-questions@freebsd.org 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: Thu, 18 Oct 2012 03:11:45 -0000 Hi, Thank you guys for your suggestions, and sharing your experiences with me. This time I deleted old /var/log/ppp.log file, and I did modify /etc/ppp/ppp.conf - just the location of ifaddr line is changed and some more logging options set -nothing else is changed. . The file is this now: /etc/ppp/ppp.conf : default: adsl: set log Phase chat lcp ipcp ccp tun command lqm set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 set device PPPoE:fxp0 set mru 1492 set mtu 1492 set ctsrts off set speed sync set dial enable lqr set login set authname set authkey set timeout 120 set redial 0 0 # set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 # now this interface is set up at 2nd line in adsl profile add default HISADDR enable dns nat enable no ----------------------------------------------------------------------------- Then I rebooted FreeBSD, in verbose mode enabled. After it booted, I started ppp like this: #ppp -ddial adsl Here is the shell o/p along with verbose lines /usr/sbin/ppp -ddial adsl Working in ddial mode Using interface: tun0 ;verbose lines tun0: buf attached WARNING: attempt to domain_add(netgraph) after domainfinalize() ----------------------------------------------------------------------------------------------------- The output of ifconfig is: fxp0: flags=8843 metric 0 mtu 1500 options=2009 ether 00:16:d3:0c:42:22 inet 192.168.1.2 netmask 0xffffff00 broadcast 192.168.1.255 nd6 options=29 media: Ethernet autoselect (100baseTX ) status: active fwe0: flags=8802 metric 0 mtu 1500 options=8 ether 06:e4:0a:1b:50:36 nd6 options=29 ch 1 dma -1 fwip0: flags=8802 metric 0 mtu 1500 lladdr 6.e4.a.0.28.1b.50.36.a.2.ff.fe.0.0.0.0 nd6 options=29 lo0: flags=8049 metric 0 mtu 16384 options=600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x9 inet 127.0.0.1 netmask 0xff000000 nd6 options=21 tun0: flags=8051 metric 0 mtu 1500 options=80000 nd6 options=21 Opened by PID 1731 --------------------------------------------------------------------------------------------- The /var/log/ppp.log file contents: http://justpaste.it/1fcw ---------------------------------------------------------------------------------------------------------------------------- Is there some standard sequence for the contents of /etc/ppp/ppp.conf ? I guess that may be the problem. The bridge mode works fine in my Windows XP setup. Nothing special to configure, just need to go to network connections and create a new connection, using username and password. In XP, I'm using DHCP too, so that I don't need to manually confgure interface IP address. That's why I'm sure that my network setup is not a issue. The issue lies somewhere in FreeBSD configuration or somewhere else. On Tue, Oct 16, 2012 at 9:19 PM, Mark Blackman wrote: > > On 16 Oct 2012, at 16:38, Jack wrote: > >> I 'll try mpd5. Thanks. >> >> Actually, I was concerned with userland ppp, becoz of the >> scenarios where we have a FreeBSD machine and the only >> way to connect to internet is an adsl modem in bridge mode >> (assuming the mode in modem, can't be changed). >> In such case the only utilty is ppp, which can be of help. > > Ok, usually bridge mode implies PPPoE and mpd5 does PPPoE. Maybe > I'm missing your point. > Mark, what I meant to say is when we have, say a fresh FreeBSD install, then the only service we have at expose is ppp. To be able to use mpd5, or other ports/packages we first need to connect to internet then only we can install/use mpd5. So, by default we are stuck at using ppp builtin with FreeBSD. :( By bridge mode I meant that and are to be provided to OS, rather than storing them inside adsl modem. PS: I sent this mail with /var/log/ppp.log contents yesterday but it seems that list moderator rejected the post due to its large size. So, I'm pasting the link for contents of /var/log/ppp.log Regards -- Jack From owner-freebsd-questions@FreeBSD.ORG Thu Oct 18 03:54:01 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 16768ADC for ; Thu, 18 Oct 2012 03:54:01 +0000 (UTC) (envelope-from freebsd@pki2.com) Received: from btw.pki2.com (btw.pki2.com [IPv6:2001:470:a:6fd::2]) by mx1.freebsd.org (Postfix) with ESMTP id D01958FC12 for ; Thu, 18 Oct 2012 03:54:00 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by btw.pki2.com (8.14.5/8.14.5) with ESMTP id q9I3rqSH076293 for ; Wed, 17 Oct 2012 20:53:53 -0700 (PDT) (envelope-from freebsd@pki2.com) Subject: ERROR: vxgehal-mgmtaux.c: sou vxge_hal_mrpcim_reg_t has too many members: 1911 > 1023 From: Dennis Glatting To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="ISO-8859-1" Date: Wed, 17 Oct 2012 20:53:52 -0700 Message-ID: <1350532432.3968.32.camel@btw.pki2.com> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-yoursite-MailScanner-Information: Dennis Glatting X-yoursite-MailScanner-ID: q9I3rqSH076293 X-yoursite-MailScanner: Found to be clean X-MailScanner-From: freebsd@pki2.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: Thu, 18 Oct 2012 03:54:01 -0000 While building a kernel, this error was emitted on several compiles: clang -O -pipe -DVXGE_HAL_RX_MULTI_POST -DVXGE_HAL_TX_MULTI_POST -D_KERNEL -DKLD_MODULE -nostdinc -DHAVE_KERNEL_OPTION_HEADERS -include /disk-2/obj/disk-1/src/sys/DTRACE/opt_global.h -I. -I@ -I@/contrib/altq -fno-common -g -fno-omit-frame-pointer -I/disk-2/obj/disk-1/src/sys/DTRACE -mno-aes -mno-avx -mcmodel=kernel -mno-red-zone -mno-mmx -mno-sse -msoft-float -fno-asynchronous-unwind-tables -ffreestanding -fstack-protector -std=iso9899:1999 -Qunused-arguments -fstack-protector -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual -Wundef -Wno-pointer-sign -fformat-extensions -Wmissing-include-dirs -fdiagnostics-show-option -Wno-error-tautological-compare -Wno-error-empty-body -Wno-error-parentheses-equality -c /disk-1/src/sys/modules/vxge/../../dev/vxge/vxgehal/vxgehal-mgmtaux.c ctfconvert -L VERSION -g vxgehal-mgmtaux.o ERROR: vxgehal-mgmtaux.c: sou vxge_hal_mrpcim_reg_t has too many members: 1911 > 1023 mc# uname -a FreeBSD mc 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0 r241306M: Sat Oct 6 20:41:22 PDT 2012 root@mc:/usr/obj/disk-1/src/sys/DTRACE amd64 From owner-freebsd-questions@FreeBSD.ORG Thu Oct 18 07:48:25 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EA6C0625; Thu, 18 Oct 2012 07:48:25 +0000 (UTC) (envelope-from erwin@lansing.dk) Received: from mail.droso.net (grizzly.droso.dk [IPv6:2a01:4f8:100:9424::3]) by mx1.freebsd.org (Postfix) with ESMTP id 7C9F08FC0A; Thu, 18 Oct 2012 07:48:25 +0000 (UTC) Received: from [192.168.0.51] (unknown [194.29.130.243]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.droso.net (Postfix) with ESMTPSA id 985356535; Thu, 18 Oct 2012 09:48:18 +0200 (CEST) References: <507DDB40.7070400@ifdnrg.com> <20121017064359.GN27371@droso.net> Mime-Version: 1.0 (1.0) In-Reply-To: <20121017064359.GN27371@droso.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: <28BEF233-B938-45FA-807C-C2814C189CA2@lansing.dk> X-Mailer: iPad Mail (10A403) From: Erwin Lansing Subject: Re: Fetched Ports index falling out of date Date: Thu, 18 Oct 2012 09:48:51 +0200 To: Erwin Lansing X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,MIME_QP_LONG_LINE, RDNS_NONE autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on grizzly.droso.net Cc: "ports@freebsd.org" , Paul Macdonald , "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, 18 Oct 2012 07:48:26 -0000 On Oct 17, 2012, at 8:43, Erwin Lansing wrote: > On Tue, Oct 16, 2012 at 11:10:08PM +0100, Paul Macdonald wrote: >> Hi, >=20 > Hi Paul, >>=20 >> For the past 4 days or so, i have noticed an issue where the ports INDEX=20= >> is out of date. >>=20 >> e.g >> portupgrade-2.4.10,2 > succeeds index (index has 2.4.9.9= ,2) >> sqlite3-3.7.14.1 > succeeds index (index has 3.7.14)= >>=20 >> This is on both 8.3 REL and 9.0 REL (amd64) >>=20 >> Ports index update performed by make fetch index in /usr/ports >> and also tried portsdb -Fu >>=20 >> Building with Uu fixes issue but i don't fancy doing that locally every d= ay. >>=20 >> Anyone else seeing this? > There was some major work on the FreeBSD cluster machines this weekend > and as always with such a large change, some things will be overlooked. > I've talked to the people with the right access and hope it will be > fixed later today. >=20 Should be fixed and they are again updated every two hours. Erwin= From owner-freebsd-questions@FreeBSD.ORG Thu Oct 18 10:40:37 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 686A3F6D for ; Thu, 18 Oct 2012 10:40:37 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 1991E8FC14 for ; Thu, 18 Oct 2012 10:40:36 +0000 (UTC) Received: from laptop3.herveybayaustralia.com.au (unknown [192.168.0.166]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.unitedinsong.com.au (Postfix) with ESMTPSA id DFDC65C29 for ; Thu, 18 Oct 2012 20:56:24 +1000 (EST) Message-ID: <507FDC9C.4040608@herveybayaustralia.com.au> Date: Thu, 18 Oct 2012 20:40:28 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:13.0) Gecko/20120728 Thunderbird/13.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: OT: gEDA, SPICE, electronic cad/simulation References: <507AAF7A.9070909@herveybayaustralia.com.au> <507D3916.3000802@bananmonarki.se> In-Reply-To: <507D3916.3000802@bananmonarki.se> 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: Thu, 18 Oct 2012 10:40:37 -0000 On 10/16/12 20:38, Bernt Hansson wrote: > 2012-10-14 14:26, Da Rock skrev: >> I'm struggling with this damn gEDA/SPICE thing - I think I have gEDA >> schem figured, but I can't be sure because I can't test it. For the life >> of me I can't seem to get my head around it, but then I might just be >> too tired. >> >> Can anyone point out what I'm missing? I open geda, create a sch file >> (circuit), and then run gnetlist -g spice-sdb . I then run >> ngspice (or gspiceui) but it comes up with errors over the 555 (U1) and >> diodes (d?) I'm running like this: > > You are using the spice models for those components? > > geda does not have spice models for diodes and 555 at least not mine. That may be it. Where are they supposed to be located on FreeBSD? And I suppose I would need to find where I can get them in the first place :) Thx From owner-freebsd-questions@FreeBSD.ORG Thu Oct 18 11:20:30 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E2ED6BB0 for ; Thu, 18 Oct 2012 11:20:30 +0000 (UTC) (envelope-from paul-freebsd@fletchermoorland.co.uk) Received: from hercules.mthelicon.com (hercules.mthelicon.com [66.90.118.40]) by mx1.freebsd.org (Postfix) with ESMTP id 981168FC0C for ; Thu, 18 Oct 2012 11:20:30 +0000 (UTC) Received: from demophon.fletchermoorland.co.uk (hydra.fletchermoorland.co.uk [78.33.209.59] (may be forged)) (authenticated bits=0) by hercules.mthelicon.com (8.14.5/8.14.5) with ESMTP id q9IBGvaA032709 for ; Thu, 18 Oct 2012 11:17:04 GMT (envelope-from paul-freebsd@fletchermoorland.co.uk) Message-ID: <507FE527.9030309@fletchermoorland.co.uk> Date: Thu, 18 Oct 2012 12:16:55 +0100 From: Paul Wootton User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:12.0) Gecko/20120530 Thunderbird/12.0.1 MIME-Version: 1.0 To: freebsd-questions Subject: Test 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: Thu, 18 Oct 2012 11:20:30 -0000 Just a test message From owner-freebsd-questions@FreeBSD.ORG Thu Oct 18 11:21:58 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3E04BC87 for ; Thu, 18 Oct 2012 11:21:58 +0000 (UTC) (envelope-from corebug@corebug.net) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id DCCE28FC0A for ; Thu, 18 Oct 2012 11:21:56 +0000 (UTC) Received: by mail-vc0-f182.google.com with SMTP id fw7so11946326vcb.13 for ; Thu, 18 Oct 2012 04:21:55 -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:from:date :message-id:subject:to:cc:content-type:x-gm-message-state; bh=Q9QtTNmca+XeNz/52Fqd9ITmL5U1lqEZtPY7oKNl3EY=; b=iDhngVnQHgdAayFtAt4dizHwnXhSEeT7NBxg61Cml/jlkXyvYNQeGZqwJVndsjlJje qHN1rmNH6Ji9y5ZWlCcxTNhI737Ei4NkrpgWXAePJx2lmjxwaxGwiWJBcyAN0wvWQ/TO tyhpHp8IpIyjvhBrCCXy8vtFNeclWGm/ts8ZP9qDRQtaTRoMx0R+Yi4ZEjKRXICNWCb0 IT3cJA3RaTcTBvPW+16ziEvVOlowXDZJkHecCWFliHoBPzfcffD+FHpNBhL6vUune7k9 wSubiythlhblBVSVa/vCnlCETQKlT5sXCOsG24Q3VoS94JyzKPUYWvMXQJxCtG8cRdmo wiCg== Received: by 10.59.6.39 with SMTP id cr7mr14978376ved.17.1350559315581; Thu, 18 Oct 2012 04:21:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.208.197 with HTTP; Thu, 18 Oct 2012 04:21:35 -0700 (PDT) X-Originating-IP: [95.158.3.123] In-Reply-To: <507FE527.9030309@fletchermoorland.co.uk> References: <507FE527.9030309@fletchermoorland.co.uk> From: =?UTF-8?B?0JLQuNGC0LDQu9C40Lkg0KLRg9GA0L7QstC10YY=?= Date: Thu, 18 Oct 2012 14:21:35 +0300 Message-ID: Subject: Re: Test To: Paul Wootton Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQmBRab5rXRsPfBbrEtsPb0VTB/86OjGN4muyYItTyxjIq0ghSlmvpftqkQngfm8GVR9lJeF 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, 18 Oct 2012 11:21:58 -0000 2012/10/18 Paul Wootton : > Just a test message > _______________________________________________ > 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" Your test seems to be succesful :) -- ~~~ WBR, Vitaliy Turovets NOC Lead @TV-Net ISP NOC Lead @Service Outsourcing company +38(093)265-70-55 VITU-RIPE X-NCC-RegID: ua.tv From owner-freebsd-questions@FreeBSD.ORG Thu Oct 18 11:50:06 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E235A9E0 for ; Thu, 18 Oct 2012 11:50:05 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-gg0-f182.google.com (mail-gg0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7B56E8FC0A for ; Thu, 18 Oct 2012 11:50:05 +0000 (UTC) Received: by mail-gg0-f182.google.com with SMTP id l1so2462292ggn.13 for ; Thu, 18 Oct 2012 04:50:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=seibercom.net; s=google; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type :content-transfer-encoding; bh=AuEt5eZdMGnesFXzqasdkcJ8yCtAsm5gQxNrZyLAEb0=; b=WoddVRhbdUJrU2P12JbbCrb7NBokDQCcYjNWpo3VB0a2KCpEmyirpzXLoFDkORPY6J kIp3X0P1Jst083OICmVIiBlYRNdK+sjKyZFTxdPXKEIh4HMZitgwBC6BVIkipxknsRJa KYHo/A4BmLltn6QL8dfV4bEcJ5W9nVyhf8a14= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:reply-to :organization:x-mailer:face:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=AuEt5eZdMGnesFXzqasdkcJ8yCtAsm5gQxNrZyLAEb0=; b=CAkkDW0+h15af7m/C8YI4OaJ/tsFQLIIkE3FxZMcTn/v5vKLT8Tckq4GnESM9fz8/w pX2BTQ57Ik0GVqkNvJsc9v98QI39x7rN0OO/MhAcb807IM4sbCe1vUyyQ/ubbvRxktWj meG3swJBVsNpitmV6/zlpxq6V3wM0uhJPFCVpxgg+Bl07gUmzmIzEWooav1nJRpbuzaB yTxbOMklmTSfrCWrK93b9fOV3a2yJbuHI4aoggzxrthEPr+vOkYsFh9r9fxrD6Q4TG8F xMDQsD6vxSbTCqVbQx0Z4qotUgNT3KIhf40PeQTn0ovtdeUHlQzcesJsi7OBk1lRqIAh wLLw== Received: by 10.236.73.161 with SMTP id v21mr12160477yhd.103.1350561004440; Thu, 18 Oct 2012 04:50:04 -0700 (PDT) Received: from scorpio.seibercom.net (cpe-076-182-104-150.nc.res.rr.com. [76.182.104.150]) by mx.google.com with ESMTPS id o13sm21236843ang.1.2012.10.18.04.50.02 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 18 Oct 2012 04:50:03 -0700 (PDT) Received: from scorpio (localhost [127.0.0.1]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3Xj7px2jn2z2CG4g for ; Thu, 18 Oct 2012 07:50:01 -0400 (EDT) Date: Thu, 18 Oct 2012 07:50:00 -0400 From: Jerry To: FreeBSD Subject: Re: Test Message-ID: <20121018075000.43e7ba45@scorpio> In-Reply-To: <507FE527.9030309@fletchermoorland.co.uk> References: <507FE527.9030309@fletchermoorland.co.uk> Organization: seibercom.net X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQmfDHvJ8lhTm75U+rIMxqoHKjxj9Q5jCzY73HHzz2AE4mkE21GsUB4PPg1w6KfBO3zpZUdj 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: Thu, 18 Oct 2012 11:50:06 -0000 On Thu, 18 Oct 2012 12:16:55 +0100 Paul Wootton articulated: > Just a test message Per URL: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/eresources.html#ERESOURCES-MAIL Note: If you wish to test your ability to send to FreeBSD lists, send a test message to freebsd-test. Please do not send test messages to any other list. -- Jerry â™” Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ From owner-freebsd-questions@FreeBSD.ORG Thu Oct 18 12:11:51 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 416E0A85 for ; Thu, 18 Oct 2012 12:11:51 +0000 (UTC) (envelope-from vs@celicom.ru) Received: from backup.newdesign.ru (backup.newdesign.ru [89.111.189.186]) by mx1.freebsd.org (Postfix) with ESMTP id E7FBA8FC0C for ; Thu, 18 Oct 2012 12:11:50 +0000 (UTC) Received: from [89.175.99.178] (helo=[192.168.100.40]) by backup.newdesign.ru with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.75 (FreeBSD)) (envelope-from ) id 1TOoUo-000MNO-96 for freebsd-questions@freebsd.org; Thu, 18 Oct 2012 15:42:38 +0400 Message-ID: <507FEB89.9070002@celicom.ru> Date: Thu, 18 Oct 2012 15:44:09 +0400 From: Solmin Vladimir User-Agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120827 Thunderbird/15.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: pecl-imagick 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: Thu, 18 Oct 2012 12:11:51 -0000 Hello! $ uname -a FreeBSD xxxxxxxxxxxxx 6.3-RELEASE-p2 FreeBSD 6.3-RELEASE-p2 #2: Fri Mar 18 01:15:38 MSK 2011 xx@xxxxxxxxxx:/usr/src/sys/amd64/compile/XXXXX amd64 $ cd /usr/ports/graphics/pecl-imagick/ [skvernobot@ns:/usr/ports/graphics/pecl-imagick]$ make ===> pecl-imagick-3.0.1_1 depends on file: /usr/local/bin/phpize - found ===> pecl-imagick-3.0.1_1 depends on file: /usr/local/bin/autoconf-2.68 - found ===> pecl-imagick-3.0.1_1 depends on shared library: MagickWand.5 - not found ===> Verifying install for MagickWand.5 in /usr/ports/graphics/ImageMagick ===> Returning to build of pecl-imagick-3.0.1_1 Error: shared library "MagickWand.5" does not exist *** Error code 1 Stop in /usr/ports/graphics/pecl-imagick. $ pkg_info | grep Ima ImageMagick-6.6.0.10 Image processing tools Why i see this error ? ( How i can fix that ? -- Bst Rgrds From owner-freebsd-questions@FreeBSD.ORG Thu Oct 18 15:11:29 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8072D682 for ; Thu, 18 Oct 2012 15:11:29 +0000 (UTC) (envelope-from freebsd@pki2.com) Received: from btw.pki2.com (btw.pki2.com [IPv6:2001:470:a:6fd::2]) by mx1.freebsd.org (Postfix) with ESMTP id 4B43F8FC18 for ; Thu, 18 Oct 2012 15:11:29 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by btw.pki2.com (8.14.5/8.14.5) with ESMTP id q9IFBJtO042218 for ; Thu, 18 Oct 2012 08:11:19 -0700 (PDT) (envelope-from freebsd@pki2.com) Subject: Problems with the LSI 9211-8i or LSI SAS2008 chips? From: Dennis Glatting To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="ISO-8859-1" Date: Thu, 18 Oct 2012 08:11:19 -0700 Message-ID: <1350573079.3968.41.camel@btw.pki2.com> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-yoursite-MailScanner-Information: Dennis Glatting X-yoursite-MailScanner-ID: q9IFBJtO042218 X-yoursite-MailScanner: Found to be clean X-MailScanner-From: freebsd@pki2.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: Thu, 18 Oct 2012 15:11:29 -0000 I am working with some folks on this list on a ZFS problem where I am using LSI 9211-8i boards flashed to IT, which use the LSI SAS2008 chips (I own about ten of these boards). I have used various versions of BIOS and firmware from LSI in these boards and presently using LSI's most recent. The 2008 chips are listed as supported in the driver and I have also used Supermicro boards with these chips. mps0: port 0xc000-0xc0ff mem 0xfe93c000-0xfe93ffff,0xfe940000-0xfe97ffff irq 32 at device 0.0 on pci3 mps0: Firmware: 14.00.00.00, Driver: 14.00.00.01-fbsd mps0: IOCCapabilities: 1285c In the debugging process the question arose related to chip revisions, firmware revisions, and folks general opinion about the 9211-8i /or/ recommendation of something better for a ZFS HBA. We /do not/ know if the problem experienced is this board/chip/firmware, rather we're simply asking questions about them. Opinions? Experiences? From owner-freebsd-questions@FreeBSD.ORG Thu Oct 18 16:31:42 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 184B6B57 for ; Thu, 18 Oct 2012 16:31:42 +0000 (UTC) (envelope-from jtrigg@spamcop.net) Received: from argent.heraldsnet.net (argent.heraldsnet.net [69.60.117.17]) by mx1.freebsd.org (Postfix) with ESMTP id E17C18FC0C for ; Thu, 18 Oct 2012 16:31:41 +0000 (UTC) Received: by argent.heraldsnet.net (Postfix, from userid 11001) id 0C9EEB822; Thu, 18 Oct 2012 12:31:35 -0400 (EDT) Date: Thu, 18 Oct 2012 12:31:34 -0400 From: Jim Trigg To: Timothy Snowberger Subject: Re: Problem upgrading Message-ID: <20121018163134.GA28941@spamcop.net> References: <20121017142733.GJ75370@spamcop.net> <507F1FA2.7000008@tabletoptelephone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <507F1FA2.7000008@tabletoptelephone.com> User-Agent: Mutt/1.5.21 (2010-09-15) 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, 18 Oct 2012 16:31:42 -0000 On Wed, Oct 17, 2012 at 02:14:10PM -0700, Timothy Snowberger wrote: > On 10/17/2012 7:27 AM, Jim Trigg wrote: > > Any suggestions on how to fix this? > > > > --- > > argent(1) /usr/ports/ports-mgmt/portmaster# freebsd-update -r 9.0-RELEASE upgrade > > Does this look reasonable (y/n)? y > > ... > > Fetching metadata signature for 9.0-RELEASE from update5.FreeBSD.org... done. > > Fetching metadata index... done. > > Fetching 1 metadata patches. done. > > Applying metadata patches... done. > > Fetching 1 metadata files... done. > > > > The update metadata is correctly signed, but > > failed an integrity check. > > Cowardly refusing to proceed any further. > > sed -i '' -e 's/=_/=%@_/' /usr/sbin/freebsd-update > > See http://lists.freebsd.org/pipermail/freebsd-stable/2011-October/064321.html > > "First, a minor change must be made to the freebsd-update code in order > for it to accept file names appearing in FreeBSD 9.0 which contain the '%' > and '@' characters; without this change, freebsd-update will error out > with the message "The update metadata is correctly signed, but failed an > integrity check". " This fixed it. Thanks, Jim From owner-freebsd-questions@FreeBSD.ORG Thu Oct 18 18:17:24 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6550FB72 for ; Thu, 18 Oct 2012 18:17:24 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from oproxy7-pub.bluehost.com (oproxy7-pub.bluehost.com [67.222.55.9]) by mx1.freebsd.org (Postfix) with SMTP id 29EC38FC16 for ; Thu, 18 Oct 2012 18:17:23 +0000 (UTC) Received: (qmail 643 invoked by uid 0); 18 Oct 2012 18:17:02 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by oproxy7.bluehost.com with SMTP; 18 Oct 2012 18:17:02 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=apotheon.com; s=default; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:From:Date; bh=xE+fhfzkTq08PxVLC6IR9AoFWISsUXa+b8/3u04ZjpU=; b=bZWtBdvBB8RAXrEJT7Zi83k8xlikLGhecIyWUydC1Nf9V3AfhKG/DtpMRbfQxB6BrDDF1+swfoiFQWhHHR2CdLrV1ZN1hPvScEMvm7alWW7CVXVNq/yksqQwx7vdWcxj; Received: from [24.8.180.234] (port=61599 helo=localhost) by box543.bluehost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1TOueU-00079b-2k for freebsd-questions@freebsd.org; Thu, 18 Oct 2012 12:17:02 -0600 Date: Thu, 18 Oct 2012 12:17:01 -0600 From: Chad Perrin To: freebsd-questions@freebsd.org Subject: Re: a metric for number of users Message-ID: <20121018181701.GA3559@hemlock.hydra> Mail-Followup-To: freebsd-questions@freebsd.org References: <20121015173418.GA27414@hemlock.hydra> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gKMricLos+KVdGMg" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.com} {sentby:smtp auth 24.8.180.234 authed with perrin@apotheon.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: Thu, 18 Oct 2012 18:17:24 -0000 --gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 17, 2012 at 10:57:49PM +0200, C. P. Ghost wrote: > On Mon, Oct 15, 2012 at 7:34 PM, Chad Perrin wrote: > > Is there some way I could get the number of unique IPs hitting FreeBSD > > servers for software updates? I'm curious about the direct comparison = of > > numbers between FreeBSD, Ubuntu, Fedora, and SUSE for this metric. >=20 > You could ask for this, but beware of drawing wrong conclusions. Where I'm > currently working, we're fetching sources, ports and distfiles only > once, rebuild, test, and then mirror internally to a couple of 10k > machines. And I'm sure we're not alone doing this: it's certainly not > such an uncommon scenario out there. I'm familiar with the problems of trying to accurately measure users. I just want a kind of ballpark comparison of some metrics between different systems, even if the way the numbers hash out make direct comparisons wildly inaccurate, to satisfy my own curiosity. I'm not sure who I'd ask, by the way. That's part of the problem. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --gKMricLos+KVdGMg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlCAR50ACgkQ9mn/Pj01uKX9CACeIKY+2+VpD4wmFSmQNk7aaj0D PCAAoPOvkVRS82uSQr8arIBtPUCoy+7G =J8xI -----END PGP SIGNATURE----- --gKMricLos+KVdGMg-- From owner-freebsd-questions@FreeBSD.ORG Thu Oct 18 19:03:58 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DB049484 for ; Thu, 18 Oct 2012 19:03:58 +0000 (UTC) (envelope-from rwmaillists@googlemail.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 5D5AF8FC08 for ; Thu, 18 Oct 2012 19:03:57 +0000 (UTC) Received: by mail-ee0-f54.google.com with SMTP id c50so5265829eek.13 for ; Thu, 18 Oct 2012 12:03: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=sAiFWafTc37WDreS6Abk/U40+/uV2aPJ33WnHOGm32Q=; b=WCrRbgoE2k7pD6/TdAi2szG65mqyH1MbzoKMbyj7LQUjPwCZ2TsDP40qdimhYJmzUN fhtGeXMitl3Qlm85xUcaebXK+jxdCUrM5afQkwHNZgm3RSPGkAPS5c7xVqvBcPjVuaO2 7ZVrdTNyF/+DI81RtMxrL/K2qChXBRlPWp6Veor0ru7xkQwCilbWKCxl+dnjWYXubolZ IlL0MEj5Fvwj8IvtaboUv8ESmdbBoUq7KKegtVViUQgMl4DasPwLTcpnCyDfbVO8V5E1 /Wb74ewr/1C0MprMyRIoRu8HQ0HZUKAwx5DjRXHhC+XfOaL70ZzpGbRwgBMIJIytYQJi 7uUA== Received: by 10.14.173.67 with SMTP id u43mr33415369eel.27.1350587036302; Thu, 18 Oct 2012 12:03:56 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id b44sm37235497eep.12.2012.10.18.12.03.53 (version=SSLv3 cipher=OTHER); Thu, 18 Oct 2012 12:03:54 -0700 (PDT) Date: Thu, 18 Oct 2012 20:03:50 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: pppoe configuration and dns name resolution Message-ID: <20121018200350.48504572@gumby.homeunix.com> In-Reply-To: References: X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) 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, 18 Oct 2012 19:03:59 -0000 On Tue, 16 Oct 2012 20:38:47 +0530 Jack wrote: > My network schematic is: > > PC <-----------------------> ADSL modem <-----> Internet > 192.168.1.2 192.168.1.1 > ... > /etc/resolv.conf > > # Generated by resolvconf > nameserver 192.168.1.1 If 192.168.1.1 is the modem, how can it be a proxy nameserver? It doesn't have an internet connection if it's not terminating PPP. You have ifconfig_fxp0="DHCP" which means you are picking up DHCP from the modem itself not the other side of the PPP link. In bridging mode you only need to configure the underlying ethernet device if you want to route back-out into the router's LAN (PPPoE and IP can share a lan). You don't necessarily need DHCP with PPPoE because PPP can deliver the IP address, DNS etc by itself. If the ISP requires you to use DHCP you should probably have configured the tun0 interface instead of fxp0. From owner-freebsd-questions@FreeBSD.ORG Thu Oct 18 21:41:01 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CC6E6D64 for ; Thu, 18 Oct 2012 21:41:01 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id 91C4E8FC14 for ; Thu, 18 Oct 2012 21:41:01 +0000 (UTC) Received: from www.dweimer.net (webmail.dweimer.net [192.168.5.1]) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id q9ILEoa2077064 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Thu, 18 Oct 2012 16:14:50 -0500 (CDT) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 18 Oct 2012 16:14:50 -0500 From: dweimer To: FreeBSD Questions Subject: ZFS / Boot Environments / Jails / Upgrading form Source Code Organization: dweimer.net Mail-Reply-To: Message-ID: X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/0.8.1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Oct 2012 21:41:01 -0000 I have been playing around with different build layouts etc trying to come up with a plan to make updates smoother and more easily recoverable if it goes horribly wrong. I think I have almost figured things out, just have a couple things left to figure out, one of which I am hoping someone on this list can help em out with, to save me some trial an error. Steps already figured out, mount new boot environment (using 9.1rc2 to test with) in /usr/jails/release91rc2, added the necessary settings to rc.conf, started jail, so far so good. I now know I can run the boot environment from within the jail, stop the jail and begin the upgrade from source. First step replace the usr/src within the jail with new source using svn, easy enough. Then start make buildworld... oops, I have a problem now, the usr/obj/usr stuff is now under /usr/obj/usr/jails/release91rc2..., However I want it to be under /usr/jails/release91rc2/usr/obj/usr. From looking at the usr/src/Makefile It looks like I need to set the MAKEOBJDIRPREFIX=/usr/jails/relase91rc2/usr/obj/usr/src/tmp environment variable, but is that the best solution here? There's also a /usr/obj/lib32 directory (system is running amd64, I assume this is for 32 bit libraries), so I would likely need to do something here as well, that I haven't gotten to yet. I know the /usr/obj/usr directory can be deleted after the installation of the source, does the same go for the /usr/obj/lib32 directory? if so perhaps it is a better option to make a new zfs data set outside the boot environments to mount under /usr/obj directory, let the default prefixes handle which sub directory to use, and just delete the directories when I am done working with the boot environment. -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Thu Oct 18 21:55:24 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E35B92F0 for ; Thu, 18 Oct 2012 21:55:24 +0000 (UTC) (envelope-from dg@pki2.com) Received: from btw.pki2.com (btw.pki2.com [IPv6:2001:470:a:6fd::2]) by mx1.freebsd.org (Postfix) with ESMTP id AB2538FC08 for ; Thu, 18 Oct 2012 21:55:24 +0000 (UTC) Received: from btw.pki2.com (btw.pki2.com [192.168.23.1]) by btw.pki2.com (8.14.5/8.14.5) with ESMTP id q9ILtJCE052682 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 18 Oct 2012 14:55:20 -0700 (PDT) (envelope-from dg@pki2.com) Date: Thu, 18 Oct 2012 14:55:19 -0700 (PDT) From: Dennis Glatting X-X-Sender: dennisg@btw.pki2.com To: freebsd-questions@freebsd.org Subject: Is the Intel 82599ES chipset supported (ixgbe)? 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-yoursite-MailScanner-Information: Dennis Glatting X-yoursite-MailScanner-ID: q9ILtJCE052682 X-yoursite-MailScanner: Found to be clean X-MailScanner-From: dg@pki2.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: Thu, 18 Oct 2012 21:55:25 -0000 I'm looking throught he source for the ixgbe drivers and see code supporting the 82599EB but nothing for the ES. These chips look nearly the same but I'm no expert. I am looking at a Supermicro 10GbE board (AOC-STGN-i2S) trying to determine if it'll work under FreeBSD 9.x. Any clue? The data sheet is here: ftp://ftp.supermicro.com/CDR-NIC_1.30_for_Add-on_NIC_Cards/MANUALS/datasheet-AOC-STGN-i2S.pdf From owner-freebsd-questions@FreeBSD.ORG Thu Oct 18 23:31:25 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 787D9170 for ; Thu, 18 Oct 2012 23:31:25 +0000 (UTC) (envelope-from rodperson@rodperson.com) Received: from www6.pairlite.com (www6.pairlite.com [64.130.10.16]) by mx1.freebsd.org (Postfix) with ESMTP id 5385F8FC14 for ; Thu, 18 Oct 2012 23:31:24 +0000 (UTC) Received: from atomizer64 (c-71-60-224-178.hsd1.pa.comcast.net [71.60.224.178]) by www6.pairlite.com (Postfix) with ESMTPA id 6AC9B67AED for ; Thu, 18 Oct 2012 19:24:44 -0400 (EDT) Date: Thu, 18 Oct 2012 19:24:43 -0400 From: Rod Person To: freebsd-questions@freebsd.org Subject: i3 window manager 4.3 Build error on FreeBSD Message-ID: <20121018192443.15f8c0c4@atomizer64> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd9.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, 18 Oct 2012 23:31:25 -0000 Hello, I'm trying to build the latest version of i3 on FreeBSD since the port has not been updated yet, and I get the following error when building. [i3] YACC src/cfgparse.y [i3] CC src/cfgparse.tab.c [i3] LEX src/cfgparse.l flex: can't open src/cfgparse.yy.c gmake: *** [src/cfgparse.yy.c] Error 1 I have flex 2.5.37 bison 2.5.1 installed from ports. -- Rod Just because it can been done, does not mean it should be done. From owner-freebsd-questions@FreeBSD.ORG Fri Oct 19 03:38:57 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EADB45D8 for ; Fri, 19 Oct 2012 03:38:57 +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 8BAAE8FC08 for ; Fri, 19 Oct 2012 03:38:57 +0000 (UTC) Received: from mail.cs.ait.ac.th (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id 232363A382C for ; Fri, 19 Oct 2012 10:33:43 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= subject:subject:from:from:message-id:date:date:received:received :received; s=selector1; t=1350617622; x=1352432023; bh=akzKeF+Gx IPLOLCZ8ZBCj2A6Q8BvDGIO+dSsalj/QDs=; b=ZWhg07JRAoh5Y+uHMkdIVsqUn u9QWddBiu/sf9z0zFTu+IyTPy5Xs0WwUGEjFuSoWd4HCfwAX5u8vbx/1DDge+bRA WYSvaa2q7OUpNimkpnaJcf2iJHXX4WzkOO5oIUdBndrR12f9Yz3eCWo+XfJGGWyN ZFE7kXD5lpOG6Z4Ujg= 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 aASwHEnBXpAo for ; Fri, 19 Oct 2012 10:33:42 +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 AA58C3A381D for ; Fri, 19 Oct 2012 10:33:42 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.5/8.14.5/Submit) id q9J3XggJ072735; Fri, 19 Oct 2012 10:33:42 +0700 (ICT) (envelope-from on) Date: Fri, 19 Oct 2012 10:33:42 +0700 (ICT) Message-Id: <201210190333.q9J3XggJ072735@banyan.cs.ait.ac.th> From: Olivier Nicole To: freebsd-questions@freebsd.org Subject: Strage system messages in 8.3 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, 19 Oct 2012 03:38:58 -0000 Hi, Two night ago, I upgraded my main server to FreeBSD 8.3 and since, I get those messages: Message from syslogd@banyan at Oct 19 01:15:32 ... banyan kernel: ) Message from syslogd@banyan at Oct 19 01:19:31 ... banyan kernel: :1b Message from syslogd@banyan at Oct 19 07:40:00 ... banyan kernel: 26, Message from syslogd@banyan at Oct 19 08:39:00 ... banyan kernel: 70t Message from syslogd@banyan at Oct 19 09:36:24 ... banyan kernel: ]:d Message from syslogd@banyan at Oct 19 09:59:45 ... banyan kernel: :5d I have all my servers running the same release, and this is the only on exibiting such behavious. FreeBSD banyan.cs.ait.ac.th 8.3-RELEASE-p4 FreeBSD 8.3-RELEASE-p4 #5: Wed Oct 17 18:32:54 ICT 2012 root@banyan.cs.ait.ac.th:/usr/obj/usr/src/sys/CSIM amd64 The custom kernel only includes quota, nothing fancy, rest is generic. What these messages could be? Best regards, Olivier From owner-freebsd-questions@FreeBSD.ORG Fri Oct 19 05:15:48 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E83D1FDD for ; Fri, 19 Oct 2012 05:15:48 +0000 (UTC) (envelope-from jamesp@musicreports.com) Received: from mri-mail.musicreports.com (mail.musicreports.com [38.98.50.162]) by mx1.freebsd.org (Postfix) with ESMTP id BAF0A8FC0A for ; Fri, 19 Oct 2012 05:15:48 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mri-mail.musicreports.com (Postfix) with ESMTP id F2669568804A for ; Thu, 18 Oct 2012 22:09:36 -0700 (PDT) X-Virus-Scanned: amavisd-new at mri-mail.musicreports.com Received: from mri-mail.musicreports.com ([127.0.0.1]) by localhost (mri-mail.musicreports.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zyxL-FlRuJwH for ; Thu, 18 Oct 2012 22:09:35 -0700 (PDT) Received: from mri-mail.musicreports.com (mri-mail.musicreports.com [192.168.20.65]) by mri-mail.musicreports.com (Postfix) with ESMTP id 5E2775688043 for ; Thu, 18 Oct 2012 22:09:35 -0700 (PDT) Date: Thu, 18 Oct 2012 22:09:35 -0700 (PDT) From: "James D. Parra" To: freebsd-questions@freebsd.org Message-ID: <1445972233.157473.1350623375097.JavaMail.root@mri-mail> Subject: remote connections to xdm MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [192.168.10.70] X-Mailer: Zimbra 6.0.15_GA_2995 (ZimbraWebClient - FF3.0 (Linux)/6.0.15_GA_2995) 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, 19 Oct 2012 05:15:49 -0000 Hello, I set up xdm on a server (FreeBSD 9)and I can connect to it from any machine on the same local network as the server, but not from computers on different network, for example networks connected via a tunnel. Is there something to be added in /etc/hosts.allow or in the xdm config files to allow connections from specific IP subnets? Thank you in advance. James From owner-freebsd-questions@FreeBSD.ORG Fri Oct 19 07:51:26 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1AD857A8 for ; Fri, 19 Oct 2012 07:51:26 +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 C80F58FC14 for ; Fri, 19 Oct 2012 07:51:25 +0000 (UTC) Received: from r56.edvax.de (port-92-195-110-131.dynamic.qsc.de [92.195.110.131]) by mx01.qsc.de (Postfix) with ESMTP id 015743CB87; Fri, 19 Oct 2012 09:51: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 q9J7pHkD001952; Fri, 19 Oct 2012 09:51:17 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 19 Oct 2012 09:51:17 +0200 From: Polytropon To: RW Subject: Re: pppoe configuration and dns name resolution Message-Id: <20121019095117.bc10a4e0.freebsd@edvax.de> In-Reply-To: <20121018200350.48504572@gumby.homeunix.com> References: <20121018200350.48504572@gumby.homeunix.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: Fri, 19 Oct 2012 07:51:26 -0000 On Thu, 18 Oct 2012 20:03:50 +0100, RW wrote: > On Tue, 16 Oct 2012 20:38:47 +0530 > Jack wrote: > > /etc/resolv.conf > > > > # Generated by resolvconf > > nameserver 192.168.1.1 > > If 192.168.1.1 is the modem, how can it be a proxy nameserver? It > doesn't have an internet connection if it's not terminating PPP. > > You have > > ifconfig_fxp0="DHCP" > > which means you are picking up DHCP from the modem itself not the > other side of the PPP link. In bridging mode you only need to > configure the underlying ethernet device if you want to route back-out > into the router's LAN (PPPoE and IP can share a lan). > > You don't necessarily need DHCP with PPPoE because PPP can deliver the > IP address, DNS etc by itself. If the ISP requires you to use DHCP you > should probably have configured the tun0 interface instead of fxp0. Exactly that's what I did describe in my message: Configuration data is set in ppp.conf, no DHCP involved, and the actual IP will be delivered to the tun0 interface, while fxp0 (in this case) can be used for involving with NAT (if required). Setting the nameserver to an _actual_ nameserver (either running named on the machine, or relying on the ISP's nameservers) is required. This is the easiest approach to dealing with PPPoE modems (if they are used as "actual modems" without any additional routing, DHCP or other functionality). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Oct 19 07:56:44 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8A0ED950 for ; Fri, 19 Oct 2012 07:56:44 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail04.adl6.internode.on.net (ipmail04.adl6.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:6:4]) by mx1.freebsd.org (Postfix) with ESMTP id BD3888FC08 for ; Fri, 19 Oct 2012 07:56:43 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap4EANAGgVDLevdH/2dsb2JhbABFwWSCIAEBBAE4QQULCyETAw8JAwIBAgFFEwEHAQEXh2MFDL1Ri1gngniDIwOXAI8fgwKBSQ Received: from ppp247-71.static.internode.on.net (HELO leader.local) ([203.122.247.71]) by ipmail04.adl6.internode.on.net with ESMTP; 19 Oct 2012 18:26:42 +1030 Message-ID: <508105E2.5060208@ShaneWare.Biz> Date: Fri, 19 Oct 2012 18:18:50 +1030 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:16.0) Gecko/20121017 Thunderbird/16.0.1 MIME-Version: 1.0 To: dweimer@dweimer.net Subject: Re: ZFS / Boot Environments / Jails / Upgrading form Source Code 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: Fri, 19 Oct 2012 07:56:44 -0000 On 19/10/2012 07:44, dweimer wrote: > First step replace the usr/src within the jail with new source using > svn, easy enough. Then start make buildworld... oops, I have a > problem now, the usr/obj/usr stuff is now under > /usr/obj/usr/jails/release91rc2..., However I want it to be under > /usr/jails/release91rc2/usr/obj/usr. If the jails base dir is /usr/obj/usr/jails/release91rc2 then it can only access files below that base dir. That is part of the jails security. If your jail is based at /usr/obj/usr/jails/release91rc2 then the jail by default will buildworld into /usr/obj of the jail system which translates to /usr/obj/usr/jails/release91rc2/usr/obj on the base system. You can adjust the settings within the jail but it will always be within the release91rc2 dir so you can't use the jail to install into /usr/jails of the base system. > From looking at the usr/src/Makefile It looks like I need to set the > MAKEOBJDIRPREFIX=/usr/jails/relase91rc2/usr/obj/usr/src/tmp > environment variable, but is that the best solution here? There's > also a /usr/obj/lib32 directory (system is running amd64, I assume > this is for 32 bit libraries), so I would likely need to do something > here as well, that I haven't gotten to yet. lib32 is part of the final system - you don't need to handle it separately. See man src.conf if you want to turn off the creation of 32bit libs. You can set MAKEOBJDIRPREFIX (default /usr/obj ) to define where the binary files are made. You can also set DESTDIR (default is / ) for the installworld step to define where they get installed. When you start a buildworld or buildkernel the compiled binaries are stored within MAKEOBJDIRPREFIX. When that is complete the installworld or installkernel steps install the files from MAKEOBJDIRPREFIX into DESTDIR to create a workable system. That prevents a failed build from destroying part of your running system. If you want to experiment with different versions then you can also try- mkdir /usr/jails cd /usr/jails svn co http://svn0.us-west.FreeBSD.org/base/releng/9.0 9.0-src cd 9.0-src set MAKEOBJDIRPREFIX = /usr/jails/9.0-obj set DESTDIR = /usr/jails/9.0-base make buildworld && make installworld cd /usr/jails svn co http://svn0.us-east.FreeBSD.org/base/releng/9.1 9.1-src cd 9.1-src set MAKEOBJDIRPREFIX = /usr/jails/9.1-obj set DESTDIR = /usr/jails/9.1-base make buildworld && make installworld > I know the /usr/obj/usr directory can be deleted after the > installation of the source, does the same go for the /usr/obj/lib32 > directory? if so Anything in MAKEOBJDIRPREFIX (/usr/obj) can be deleted after you have installed it, including lib32 which are libs to allow running 32bit programs on a 64bit system. From owner-freebsd-questions@FreeBSD.ORG Fri Oct 19 10:38:57 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ACA6FEE for ; Fri, 19 Oct 2012 10:38:57 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 6727A8FC12 for ; Fri, 19 Oct 2012 10:38:56 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1TP9yb-0005mf-QX for freebsd-questions@freebsd.org; Fri, 19 Oct 2012 11:38:49 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1TP9yb-00075N-Bc for freebsd-questions@freebsd.org; Fri, 19 Oct 2012 11:38:49 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5) with ESMTP id q9JAcm3f073342 for ; Fri, 19 Oct 2012 11:38:48 +0100 (BST) (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.5/8.14.5/Submit) id q9JAcmq7073341 for freebsd-questions@freebsd.org; Fri, 19 Oct 2012 11:38:48 +0100 (BST) (envelope-from mexas) Date: Fri, 19 Oct 2012 11:38:48 +0100 (BST) From: Anton Shterenlikht Message-Id: <201210191038.q9JAcmq7073341@mech-cluster241.men.bris.ac.uk> To: freebsd-questions@freebsd.org Subject: laptop with no BIOS? or BIOS reflash pain X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: mexas@bristol.ac.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Oct 2012 10:38:57 -0000 I've HP compaq 6715s laptop. It's all right with 10-current. I've got wireless and at one point I even managed to get flash working. My problem is with BIOS. Apparently it's wrong and John Baldwin provided me with a pci.c patch to get it to boot. There is an updated BIOS version, but so far I failed to get it installed. HP only provide MS and freedos executables. I tried BartPE - doesn't work. I tried plugging in a MS disk - doesn't work. The only think I haven't tried is getting a spare disk, installing freedos on it and then running the freedos executable from USB - what a fucking pain... For proper hardware (servers) HP provide images which are executed from management console, but not for laptops. I guess the idea that one might use their laptops for anything other than MS is so wild, that it never crossed their maid. Anyway, I think I've heard there are some laptops with no BIOS, is this true? Or perhaps there are brands where BIOS reflash is not such a great pain? I remember on Compaq Armada the BIOS was stored on disk and Compaq provided a floppy image to boot from and reflash BIOS. That was easy. Anything like this exist these days? Are there any EFI laptops? Any model people would recommend? Thanks Anton From owner-freebsd-questions@FreeBSD.ORG Fri Oct 19 11:57:45 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 303DE6B1 for ; Fri, 19 Oct 2012 11:57:45 +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 E1D5E8FC12 for ; Fri, 19 Oct 2012 11:57:44 +0000 (UTC) Received: from r56.edvax.de (port-92-195-110-131.dynamic.qsc.de [92.195.110.131]) by mx02.qsc.de (Postfix) with ESMTP id 8D08624574; Fri, 19 Oct 2012 13:57: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 q9JBvbC8002669; Fri, 19 Oct 2012 13:57:37 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Fri, 19 Oct 2012 13:57:37 +0200 From: Polytropon To: mexas@bristol.ac.uk Subject: Re: laptop with no BIOS? or BIOS reflash pain Message-Id: <20121019135737.bf3ada15.freebsd@edvax.de> In-Reply-To: <201210191038.q9JAcmq7073341@mech-cluster241.men.bris.ac.uk> References: <201210191038.q9JAcmq7073341@mech-cluster241.men.bris.ac.uk> 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: Fri, 19 Oct 2012 11:57:45 -0000 On Fri, 19 Oct 2012 11:38:48 +0100 (BST), Anton Shterenlikht wrote: > There is an updated BIOS version, but > so far I failed to get it installed. > HP only provide MS and freedos executables. > I tried BartPE - doesn't work. Maybe you can utilize the approach to create the "typical" DOS boot diskette and access it via attached USB floppy disk drive? > I tried plugging in a MS disk - doesn't work. > The only think I haven't tried is getting > a spare disk, installing freedos on it > and then running the freedos executable > from USB - what a fucking pain... The idea with a disk could work, but seems a bit over- complicated for such a "simple" (yes, haha) task like updating the BIOS. > For proper hardware (servers) HP provide > images which are executed from management > console, but not for laptops. > I guess the idea that one might > use their laptops for anything other than MS > is so wild, that it never crossed their maid. That's because it doesn't exist. :-) > Anyway, I think I've heard there are some laptops > with no BIOS, is this true? Per termini technici, yes. Some systems use EFI (or UEFI) instead of a BIOS. It's comparable to a much more advanced (than BIOS) micro-OS that initializes the hardware, connectes to the Internet, tells the manufacturer what you're doing and keeps limiting you in what you are allowed to install. :-) > Or perhaps there are brands where BIOS > reflash is not such a great pain? Yes, mainframes with loadable microprogram. :-) > I remember on Compaq Armada the BIOS was > stored on disk and Compaq provided a floppy > image to boot from and reflash BIOS. > That was easy. I remember that idea, but having to rely on a working hard disk in order to have _basic_ (that's what the 'B' in BIOS means) input and output functionality looks a bit ridiculous. > Anything like this exist these days? For sure, but not very common in home consumer hardware (yet). > Are there any EFI laptops? As far as I know, Apple only makes such. Newer netbooks intended to run MICROS~1 products are also known, both for i386/amd64 and ARM architecture (with the idea that on ARM, you cannot run anything else than what the hardware vendor allows, which is "Windows"). > Any model people would recommend? IBM Thinkpad. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Oct 19 12:34:38 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0DABD570 for ; Fri, 19 Oct 2012 12:34:38 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) by mx1.freebsd.org (Postfix) with ESMTP id 78F608FC0C for ; Fri, 19 Oct 2012 12:34:35 +0000 (UTC) Received: from kw.news4all.se (c80-217-70-175.bredband.comhem.se [80.217.70.175]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id q9JCYPmS064598; Fri, 19 Oct 2012 14:34:27 +0200 (CEST) (envelope-from bah@bananmonarki.se) Message-ID: <50814826.1080303@bananmonarki.se> Date: Fri, 19 Oct 2012 14:31:34 +0200 From: Bernt Hansson User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:15.0) Gecko/20120929 Thunderbird/15.0.1 MIME-Version: 1.0 To: Da Rock Subject: Re: OT: gEDA, SPICE, electronic cad/simulation References: <507AAF7A.9070909@herveybayaustralia.com.au> <507D3916.3000802@bananmonarki.se> <507FDC9C.4040608@herveybayaustralia.com.au> In-Reply-To: <507FDC9C.4040608@herveybayaustralia.com.au> 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, 19 Oct 2012 12:34:38 -0000 2012-10-18 12:40, Da Rock skrev: > On 10/16/12 20:38, Bernt Hansson wrote: >> 2012-10-14 14:26, Da Rock skrev: >>> I'm struggling with this damn gEDA/SPICE thing - I think I have gEDA >>> schem figured, but I can't be sure because I can't test it. For the life >>> of me I can't seem to get my head around it, but then I might just be >>> too tired. >>> >>> Can anyone point out what I'm missing? I open geda, create a sch file >>> (circuit), and then run gnetlist -g spice-sdb . I then run >>> ngspice (or gspiceui) but it comes up with errors over the 555 (U1) and >>> diodes (d?) I'm running like this: >> >> You are using the spice models for those components? >> >> geda does not have spice models for diodes and 555 at least not mine. > That may be it. Where are they supposed to be located on FreeBSD? If it where up to me /usr/local/share/geda/spice but it is not up to me, that directory does not exist. > And I suppose I would need to find where I can get them in the first place :) Well, my guess is gnu.org. I'm not at the office right now, maybe later so I can't check the url. From owner-freebsd-questions@FreeBSD.ORG Fri Oct 19 14:04:02 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7E356338 for ; Fri, 19 Oct 2012 14:04:02 +0000 (UTC) (envelope-from dweimer@dweimer.net) Received: from webmail.dweimer.net (24-240-198-187.static.stls.mo.charter.com [24.240.198.187]) by mx1.freebsd.org (Postfix) with ESMTP id 292348FC0A for ; Fri, 19 Oct 2012 14:04:01 +0000 (UTC) Received: from www.dweimer.net (webmail.dweimer.net [192.168.5.1]) by webmail.dweimer.net (8.14.5/8.14.5) with ESMTP id q9JE400Y005221 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 19 Oct 2012 09:04:00 -0500 (CDT) (envelope-from dweimer@dweimer.net) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 19 Oct 2012 09:04:00 -0500 From: dweimer To: Shane Ambler Subject: Re: ZFS / Boot Environments / Jails / Upgrading form Source Code Organization: dweimer.net Mail-Reply-To: In-Reply-To: <508105E2.5060208@ShaneWare.Biz> References: <508105E2.5060208@ShaneWare.Biz> Message-ID: <41d7c0dab7877515ec4d14a8eb4a7e63@dweimer.net> X-Sender: dweimer@dweimer.net User-Agent: Roundcube Webmail/0.8.1 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: dweimer@dweimer.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Oct 2012 14:04:02 -0000 On 2012-10-19 02:48, Shane Ambler wrote: > On 19/10/2012 07:44, dweimer wrote: > >> First step replace the usr/src within the jail with new source using >> svn, easy enough. Then start make buildworld... oops, I have a >> problem now, the usr/obj/usr stuff is now under >> /usr/obj/usr/jails/release91rc2..., However I want it to be under >> /usr/jails/release91rc2/usr/obj/usr. > > If the jails base dir is /usr/obj/usr/jails/release91rc2 then it can > only access files below that base dir. That is part of the jails > security. > > If your jail is based at /usr/obj/usr/jails/release91rc2 then the > jail > by default will buildworld into /usr/obj of the jail system which > translates to /usr/obj/usr/jails/release91rc2/usr/obj on the base > system. > > You can adjust the settings within the jail but it will always be > within the release91rc2 dir so you can't use the jail to install into > /usr/jails of the base system. The base of the Jail, is /usr/jails/release91rc2, however, I did forget to mention that I was running the buildworld and buildkernel from the base system, with the intent to install using the DESTDIR=/usr/jails/release91rc2 command line option > >> From looking at the usr/src/Makefile It looks like I need to set >> the >> MAKEOBJDIRPREFIX=/usr/jails/relase91rc2/usr/obj/usr/src/tmp >> environment variable, but is that the best solution here? There's >> also a /usr/obj/lib32 directory (system is running amd64, I assume >> this is for 32 bit libraries), so I would likely need to do >> something >> here as well, that I haven't gotten to yet. > > lib32 is part of the final system - you don't need to handle it > separately. See man src.conf if you want to turn off the creation of > 32bit libs. Got it, Fine with leaving it there, just wanted to know if there was a separate option to define where it ended up. > You can set MAKEOBJDIRPREFIX (default /usr/obj ) to define where the > binary files are made. > You can also set DESTDIR (default is / ) for the installworld step to > define where they get installed. It appears I went to deep on my definition of the MAKOBJDIRPREFIX, made the above path after seeing some output at the start of one of my buildworld attempts, which is what led me to believe there would be a second choice. > When you start a buildworld or buildkernel the compiled binaries are > stored within MAKEOBJDIRPREFIX. When that is complete the > installworld > or installkernel steps install the files from MAKEOBJDIRPREFIX into > DESTDIR to create a workable system. That prevents a failed build > from > destroying part of your running system. > > If you want to experiment with different versions then you can also > try- > > mkdir /usr/jails > cd /usr/jails > svn co http://svn0.us-west.FreeBSD.org/base/releng/9.0 9.0-src > cd 9.0-src > set MAKEOBJDIRPREFIX = /usr/jails/9.0-obj > set DESTDIR = /usr/jails/9.0-base > make buildworld && make installworld > > cd /usr/jails > svn co http://svn0.us-east.FreeBSD.org/base/releng/9.1 9.1-src > cd 9.1-src > set MAKEOBJDIRPREFIX = /usr/jails/9.1-obj > set DESTDIR = /usr/jails/9.1-base > make buildworld && make installworld Here was the key information I needed, found several examples searching but none stated the MAKEOBJDIRPREFIX=, as you state below they are not needed for the running system, guessing most people clean them up afterwards so they aren't concerned they don't exist in the same boot environment in the end. I prefer to keep them in the same boot environment if possible, just so that if I delete a boot environment I know I got rid of everything that belonged to it and don't end up uselessly eating up extra disk space. I do delete the /usr/obj/usr directory prior to any rebuild, from old documentation I read when I first started doing source upgrades as a method of improving the speed of the buildworld. I am sure those were written for a 32bit system, which is why the lib32 directory wasn't included in those instructions. >> I know the /usr/obj/usr directory can be deleted after the >> installation of the source, does the same go for the /usr/obj/lib32 >> directory? if so > > Anything in MAKEOBJDIRPREFIX (/usr/obj) can be deleted after you have > installed it, including lib32 which are libs to allow running 32bit > programs on a 64bit system. Looks like I am on the right path, now time to give it a try with the new environment variables, thanks for your help Shane. If all goes well on this step, only things I have left to figured out and test is creating zfs snapshots by hand of volumes outside my boot environment, and mounting those read write within the jailed systems base so that I can fully test my applications against the latest live data without changing the actual data. Don't expect to have any trouble with this one. And then last of all need to test removing a HD from my Virtual Machine, adding a replacement, and rebuilding the mirror, again don't expect this to be a problem, just need to work my way through them and get the steps down before I am comfortable doing these procedures on a system that I need to run when its completed. -- Thanks, Dean E. Weimer http://www.dweimer.net/ From owner-freebsd-questions@FreeBSD.ORG Fri Oct 19 15:46:15 2012 Return-Path: Delivered-To: FREEBSD-QUESTIONS@FREEBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CAE6AF4E for ; Fri, 19 Oct 2012 15:46:15 +0000 (UTC) (envelope-from 317641616-bounced@newzapp.co.uk) Received: from mta1-01.newzapp.co.uk (mta1-01.newzapp.co.uk [89.234.28.214]) by mx1.freebsd.org (Postfix) with ESMTP id 4E3A48FC18 for ; Fri, 19 Oct 2012 15:46:15 +0000 (UTC) Received: from 408959-mta1-05.lon.intensive.int (127.0.0.1) by mta1-01.newzapp.co.uk id hg5qse0ig5c7 for ; Fri, 19 Oct 2012 16:37:18 +0100 (envelope-from <317641616-bounced@newzapp.co.uk>) From: "Webshop" To: "FREEBSD-QUESTIONS@FREEBSD.ORG" Subject: Please vote before 23rd October Date: Fri, 19 Oct 2012 16:37:18 +0100 Message-ID: <20121019-16371807-3258@408959-mta1-05.lon.intensive.int> X-Abuse-Info: Sent using NewZapp, www.NewZapp.co.uk, support@DestiNet.co.uk X-Abuse-Info: Sent by webshop@mobilephonesdirect.co.uk X-Orig-message-ID: 317641616 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="--=B2CAC7F690A8407EBCF4_329C_F088_986B" 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, 19 Oct 2012 15:46:15 -0000 ----=B2CAC7F690A8407EBCF4_329C_F088_986B Content-Type: text/plain;charset="iso-8859-1" Content-Transfer-Encoding: Quoted-Printable To view this email online, follow this link: http://s5.newzapp.co.uk/gt= p.aspx?LID=3DOSwzMTc2NDE2MTYsMw=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D WIN AN IPHONE 5 OR SAMSUNG GALAXY S3 This isn't a marketing promotion and there's no catch - We're asking fo= r your support as someone who has previously purchased from MOBILE PHON= ES DIRECT or one of our partner websites. = =20 To be in with a chance of winning simply take a very short 17 question = survey and Vote 'MOBILE PHONES DIRECT' for this years 'BEST ONLINE RETA= ILER' (we're Question No.11 and it takes under 60 seconds). Once you've answered all of the questions, please leave your name and e= mail address and you'll be entered into the draw - There's several Smar= tphones up for grabs so why not forward this email to your family and f= riends asking them to vote, or ask them to take the survey at www.vote4= mpd.com Good luck and a Big thank you from all of us at Mobile Phones Direct fo= r voting. =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D This message was sent to FREEBSD-QUESTIONS@FREEBSD.ORG by using NewZap= p Email Marketing [ http://www.newzapp.co.uk ]. Follow this link to Uns= ubscribe [ http://s5.newzapp.co.uk/r.aspx?CID=3D19429 ]. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D ----=B2CAC7F690A8407EBCF4_329C_F088_986B-- From owner-freebsd-questions@FreeBSD.ORG Fri Oct 19 17:01:39 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 38F34DB5 for ; Fri, 19 Oct 2012 17:01:39 +0000 (UTC) (envelope-from heath@topsearchword.net) Received: from p3plsmtpout001-02.prod.phx3.secureserver.net (p3plsmtpout001.prod.phx3.secureserver.net [208.109.80.47]) by mx1.freebsd.org (Postfix) with SMTP id ECDD08FC0A for ; Fri, 19 Oct 2012 17:01:38 +0000 (UTC) Received: (qmail 17084 invoked from network); 19 Oct 2012 17:01:32 -0000 Received: from unknown (HELO ml01) (50.63.174.75) by p3plsmtpout001-02.prod.phx3.secureserver.net (208.109.80.47) with ESMTP; 19 Oct 2012 17:01:32 -0000 MIME-Version: 1.0 From: =?utf-8?B?VG9wIFNlYXJjaCBXb3Jk?= Sender: =?utf-8?B?VG9wIFNlYXJjaCBXb3Jk?= To: freebsd-questions@freebsd.org Date: 19 Oct 2012 10:01:04 -0700 Subject: =?utf-8?B?VG9wIFNlYXJjaCBXb3JkIC0gQmVzdCBBZFdvcmRzIEFsdGVybmF0aXZl?= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 Message-Id: <20121019170139.38F34DB5@hub.freebsd.org> X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: =?utf-8?B?VG9wIFNlYXJjaCBXb3Jk?= List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 19 Oct 2012 17:01:39 -0000 SGVsbG8sCgogTGV0IG1lIGludHJvZHVjZSB5b3Ugb3VyIHVuaXF1ZSBwYXRlbnQgcGVuZGlu ZyB0ZWNobm9sb2d5IHdoaWNoIHdpbGwKYnJpbmcgeW91ciB3ZWJzaXRlIG9uIHRvcCBvZiBh bGwgbWFqb3Igc2VhcmNoIGVuZ2luZXMsIHN1Y2ggYXMgR29vZ2xlLApZYWhvbywgQmluZyBh bmQgbWFueSBtb3JlIGluIGFzIGxpdHRsZSBhcyA0OCBob3VycyB3aXRob3V0IGJpZGRpbmcK aGlnaGVzdCBjb3N0IHBlciBjbGljayBhbW9uZyBjb21wZXRpdG9ycy4KCiBXaXRoIG91ciB0 ZWNobm9sb2d5IHlvdSB3aWxsIG5vdCBoYXZlIHRvIHdvcnJ5IGFib3V0IGNvbXBldGl0b3Jz LApiZWNhdXNlIG9uY2UgeW91IGdldCBrZXl3b3JkLCBub2JvZHkgZWxzZSBjYW4gdXNlIGl0 IGR1cmluZyB3aG9sZQp5ZWFyLiBZb3Ugd2lsbCBoYXZlIGV4Y2x1c2l2ZSByaWdodHMgb24g eW91ciBrZXl3b3JkcyBkdXJpbmcgdGhhdApwZXJpb2QgYW5kIGZpcnN0IHJpZ2h0IG9mIHJl bmV3YWwuCgpZb3UgY2FuIHNlZSBvbmxpbmUgZGVtb25zdHJhdGlvbiBvZiBvdXIgdGVjaG5v bG9neSBvbiBvdXIgd2Vic2l0ZS4KCkluIG9yZGVyIHRvIHNlZSBpdDoKIC0gR28gdG8gb3Vy IHdlYnNpdGUgKHNlZSBiZWxvdykgYW5kIGNsaWNrIG9uIE9ubGluZSBEZW1vIGJ1dHRvbjsK IC0gVHlwZSBpbiB5b3VyIHdlYiBhZGRyZXNzIHd3dy5mcmVlYnNkLm9yZyBhbmQgYW55IEtl eXdvcmQgeW91IHdhbnQ7CiAtIENsaWNrIG9uIFZpZXcgT25saW5lIERlbW8gdG8gc2VlIHJl c3VsdC4KCiBBZnRlciB5b3UgZmlsbCBvdXQgb3VyIG9ubGluZSBxdW90ZSBmb3JtLCBvdXIg cmVwcmVzZW50YXRpdmUgd2lsbCBhbmFseXplCm1pbmltdW0gcG9zc2libGUgdHJhZmZpYyBm b3IgeW91ciBrZXl3b3JkcyBhbmQgZ2l2ZSB5b3UgbWluaW11bSBndWFyYW50ZWVkCnRyYWZm aWMgYW1vdW50IHdpdGggcHJpbWUgcG9zaXRpb25pbmcgb2YgeW91ciB3ZWJzaXRlIG9uIHRv cCBvZiBhbGwgbWFqb3IKc2VhcmNoIGVuZ2luZXMgYW5kIGFsc28gd2lsbCBjYWxjdWxhdGUg YmVzdCBwcmljZSB3aGljaCB3aWxsIGZpdCBpbiB5b3VyCmJ1ZGdldC4KCkJlc3QgcmVnYXJk cywKVG9wU2VhcmNoV29yZC5uZXQK From owner-freebsd-questions@FreeBSD.ORG Fri Oct 19 19:00:04 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9441AA81 for ; Fri, 19 Oct 2012 19:00:04 +0000 (UTC) (envelope-from VirusChecker@mail1.rosprint.net) Received: from mail1.rosprint.net (mail1.rosprint.net [193.232.88.140]) by mx1.freebsd.org (Postfix) with ESMTP id 00A598FC08 for ; Fri, 19 Oct 2012 19:00:03 +0000 (UTC) Received: from mail1.rosprint.net (localhost [127.0.0.1]) by mail1.rosprint.net (8.13.1/8.13.1) with ESMTP id q9JIpqLt019647 for ; Fri, 19 Oct 2012 22:51:53 +0400 Received: (from root@localhost) by mail1.rosprint.net (8.13.1/8.13.1/Submit) id q9JIpqQX019646; Fri, 19 Oct 2012 22:51:52 +0400 Date: Fri, 19 Oct 2012 22:51:52 +0400 From: VirusChecker@mail1.rosprint.net Message-Id: <201210191851.q9JIpqQX019646@mail1.rosprint.net> To: Subject: Virus was detected in the message MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="NextPart19643" Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.65 on 193.232.88.140 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, 19 Oct 2012 19:00:04 -0000 This is a multi-part message in MIME format. --NextPart19643 Content-Type: text/plain Content-Transfer-Encoding: 7bit The message was not delivered to the following recipients: It was not delivered because infected objects have been detected q9JIpotu019641 INFECTED LINFECTED Email-Worm.Win32.Mydoom.m The header of the message follows: Received: from freebsd.org (93-45-210-251.ip104.fastwebnet.it [93.45.210.251]) by mail1.rosprint.net (8.13.1/8.13.1) with ESMTP id q9JIpotu019641 for ; Fri, 19 Oct 2012 22:51:51 +0400 From: freebsd-questions@freebsd.org To: dniimf@gin.global-one.ru Subject: Date: Fri, 19 Oct 2012 20:51:56 +0200 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0013_3AC05767.9E5B4780" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 --NextPart19643-- From owner-freebsd-questions@FreeBSD.ORG Fri Oct 19 20:30:37 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A88D4D0 for ; Fri, 19 Oct 2012 20:30:37 +0000 (UTC) (envelope-from patfbsd@davenulle.org) Received: from smtp.lamaiziere.net (net.lamaiziere.net [94.23.254.147]) by mx1.freebsd.org (Postfix) with ESMTP id 68F798FC0A for ; Fri, 19 Oct 2012 20:30:36 +0000 (UTC) Received: from baby-jane.lamaiziere.net (unknown [192.168.1.10]) by smtp.lamaiziere.net (Postfix) with ESMTP id C967AAD94; Fri, 19 Oct 2012 22:30:28 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by baby-jane.lamaiziere.net (Postfix) with ESMTP id 33C352CF261; Fri, 19 Oct 2012 22:29:52 +0200 (CEST) Date: Fri, 19 Oct 2012 22:29:51 +0200 From: Patrick Lamaiziere To: "Christopher J. Ruwe" Subject: Re: poudriere amassing fetch errors Message-ID: <20121019222951.7e5cdf0e@davenulle.org> In-Reply-To: <20121014035720.1eb3c7d4@dijkstra.cruwe.de> References: <20121014035720.1eb3c7d4@dijkstra.cruwe.de> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; i386-portbld-freebsd9) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit 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, 19 Oct 2012 20:30:37 -0000 Le Sun, 14 Oct 2012 03:57:20 +0200, "Christopher J. Ruwe" a écrit : Hello, > for some time I have noticed that poudriere bulk build amass fetch > errors, i.e., the corresponding distfile(s) cannot be fetched by the > build jail and I have to fetch these manually. > > Does anybody know a fix to this unnerving condition? I don't see this problem. Missing resolv.conf ? /usr/local/etc/poudriere.conf # By default the jails have no /etc/resolv.conf, you will need to set # REVOLV_CONF to a file on your hosts system that will be copied has # /etc/resolv.conf for the jail, except if you don't need it (using an http # proxy for example) RESOLV_CONF=/etc/resolv.conf From owner-freebsd-questions@FreeBSD.ORG Sat Oct 20 04:12:33 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 199633C1 for ; Sat, 20 Oct 2012 04:12:33 +0000 (UTC) (envelope-from jacks.1785@gmail.com) Received: from mail-ia0-f182.google.com (mail-ia0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id D3ADC8FC0A for ; Sat, 20 Oct 2012 04:12:32 +0000 (UTC) Received: by mail-ia0-f182.google.com with SMTP id k10so1071549iag.13 for ; Fri, 19 Oct 2012 21:12: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 :content-type; bh=nAwZBD0A+x5oMzMs7OQDqzPGtnJy2I7Or8wooGtv6i8=; b=stPMOEdan0vluPFq3tTBKp9ObrQqoy4izgF5Zf7Z/y5CbFjswPu7jO77xBVnj/RiAx UsVsWcThDIEwYsuL453+YlD7PEl6FUn2gBj1UWbEQpdeCKwJbLfOZv/FF7oeb0RizqTV ZNBKdeeBaZcdjQ9r3/3+cSF9OKVICO4GpYMyMwJANZ8EfoQLDLsOVzmW/FYwF+Pq7Zsr NzJrLYoHbwL7++M2EAMEBSaCENr14UzNWvy6f+RGF5mnDUASfFHVOBuqiIkr4FGJCpPz AQ2ZkfHZqHQhIur9YWUMwsELeHtWaEm3hIdJ082niLpcUJso+UWdjhwyu1zhxJ0NW7MR jLkg== MIME-Version: 1.0 Received: by 10.50.202.71 with SMTP id kg7mr3486320igc.55.1350706352067; Fri, 19 Oct 2012 21:12:32 -0700 (PDT) Received: by 10.64.11.166 with HTTP; Fri, 19 Oct 2012 21:12:31 -0700 (PDT) In-Reply-To: References: Date: Sat, 20 Oct 2012 09:42:31 +0530 Message-ID: Subject: Re: pppoe configuration and dns name resolution From: Jack To: freebsd-questions@freebsd.org 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, 20 Oct 2012 04:12:33 -0000 Hi again, This time I disabled DHCP on my fxp0 interface and in my adsl modem too. But the problem still exists. This time I tried both approaches: assigned an IP address explicitly to fxp0, and then no explicit assignment to fxp0. I still don' get why FreeBSD is having trouble connecting via PPP. I am trying every combinations that might work, but still no luck. Any help will be appreciated. I'm posting my config files. The statements in comments are those that I already tried enabling them. ## /etc/rc.conf hostname="jacks_lappy" #ifconfig_fxp0="DHCP" #ifconfig_tun0="" ifconfig_fxp0="inet 192.168.1.4 netmask 255.255.255.0" #ifconfig_fxp0="" sshd_enable="YES" moused_enable="YES" powerd_enable="YES" # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable dumpdev="AUTO" hald_enable="YES" dbus_enable="YES" routerenable="NO" #defaultrouter="192.168.1.1" ppp_enable="YES" ppp_mode="ddial" ppp_nat="NO" ppp_profile="adsl" ppp_adsl_unit="0" I tried to specify tun0 interface explicitly, but still no luck. When I start ppp using: service ppp start It shows tun0 is busy. ---------------------------------------------------------------------------------------------------------------------- ## etc/resolv.conf #Open DNS nameservers: nameserver 208.67.222.222 nameserver 208.67.220.220 ---------------------------------------------------------------------------------------------------------------------- ## /etc/ppp/ppp.conf default: set log Phase chat lcp ipcp ccp tun command lqm set ifaddr 10.0.0.1/0 10.0.0.2/0 0.0.0.0 0.0.0.0 # set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 0.0.0.0 nat enable no adsl: set device PPPoE:fxp0 #set device PPPoE:tun0 set mru 1492 set mtu 1492 set ctsrts off set speed sync set dial enable lqr set login set authname set authkey set timeout 120 set redial 0 0 add default HISADDR #enable dns ---------------------------------------------------------------------------------------------------------------------- ## output of ifconfig just after boot: fxp0: flags=8843 metric 0 mtu 1500 options=2009 ether 00:16:d3:0c:42:22 inet 192.168.1.4 netmask 0xffffff00 broadcast 192.168.1.255 inet6 fe80::216:d3ff:fe0c:4222%fxp0 prefixlen 64 scopeid 0x6 nd6 options=29 media: Ethernet autoselect (100baseTX ) status: active fwe0: flags=8802 metric 0 mtu 1500 options=8 ether 06:e4:0a:1b:50:36 nd6 options=29 ch 1 dma -1 fwip0: flags=8802 metric 0 mtu 1500 lladdr 6.e4.a.0.28.1b.50.36.a.2.ff.fe.0.0.0.0 nd6 options=29 lo0: flags=8049 metric 0 mtu 16384 options=600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x9 inet 127.0.0.1 netmask 0xff000000 nd6 options=21 tun0: flags=8051 metric 0 mtu 1500 options=80000 nd6 options=29 Opened by PID 1231 ---------------------------------------------------------------------------------------------------------------------- ## output of ifconfig after I started ppp using ## service ppp start fxp0: flags=8843 metric 0 mtu 1500 options=2009 ether 00:16:d3:0c:42:22 inet 192.168.1.4 netmask 0xffffff00 broadcast 192.168.1.255 inet6 fe80::216:d3ff:fe0c:4222%fxp0 prefixlen 64 scopeid 0x6 nd6 options=29 media: Ethernet autoselect (100baseTX ) status: active fwe0: flags=8802 metric 0 mtu 1500 options=8 ether 06:e4:0a:1b:50:36 nd6 options=29 ch 1 dma -1 fwip0: flags=8802 metric 0 mtu 1500 lladdr 6.e4.a.0.28.1b.50.36.a.2.ff.fe.0.0.0.0 nd6 options=29 lo0: flags=8049 metric 0 mtu 16384 options=600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x9 inet 127.0.0.1 netmask 0xff000000 nd6 options=21 tun0: flags=8051 metric 0 mtu 1500 options=80000 nd6 options=29 Opened by PID 1231 ---------------------------------------------------------------------------------------------------------------------- Now it seems to me that there might be some sequence of statements in /etc/ppp/ppp.conf that works, and others don't But what is that magic sequence? PS: In windows there is no problem connecting via ppp, even if I use DHCP server enabled on my adsl modem, and modem is in bridge mode. So, there must be some way in FreeBSD too, that works regardless of whether ip address of fxp0(the ethernet interface to which adsl modem connects to PC), is assigned via a DHCP server on modem or manually. I understand that if DHCP is enabled on adsl modem, and fxp0 is assigned the ip address via this DHCP, then the PPP server of ISP to which we are trying to connect, will also assign a public IP address to the PPP client, which in case of FreeBSD is tun0 interface rather than fxp0 . In other words, tun0 interface here should be PPP client, and PPP server is at ISP side. Ths fxp0 interface is used for both types of traffic - local LAN traffic and the PPP traffic. PC <------------------------------> ADSL modem <--------------> ISP fxp0 (LAN DHCP Client) LAN DHCP server doesn't know about 192.168.1.2 192.168.1.1 LAN tun0 transparent to PPP traffic PPP client ( in bridge mode) PPP Server So, from ISP's PPP server's perspective, the only thing it sees on customer side is PPP client ie tun0 interface. PPP server doesn't know anything about adsl modem in between and any LAN at customer side. adsl modem just acts as a PPP traffic forwarder - that's why it is called a bridge mode of modem. So, tun0 interface is the interface to which ISP's PPP server will assign the public IP address. >From my understanding it shoud not matter whether fxp0 is assigned the ip address via DHCP server on local lan or via manually - at least this concept works on windows. But in FreeBSD, if I enable dhcp on fxp0, then /etc/resolv.conf is created each time I boot in FreeBSD, so the only nameserver being 192.168.1.1, ie adsl modem ethernet interface. Even if I edit it to include nameservers of my ISP or OpenDNS this file is created each time FreeBSD boots, and these entries are lost, with only entry being 192.168.1.1 Is this a FreeBSD design/bheaviour issue? Can anyone throw light on the issue I'm facing? Any possible tricks I might be missing, while configuring PPP interface? Regards, -- Jack From owner-freebsd-questions@FreeBSD.ORG Sat Oct 20 04:15:09 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BCF7D4AE for ; Sat, 20 Oct 2012 04:15:09 +0000 (UTC) (envelope-from jacks.1785@gmail.com) Received: from mail-ia0-f182.google.com (mail-ia0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7F99C8FC2B for ; Sat, 20 Oct 2012 04:15:09 +0000 (UTC) Received: by mail-ia0-f182.google.com with SMTP id k10so1072548iag.13 for ; Fri, 19 Oct 2012 21:15: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 :content-type; bh=RiUY1khCfZJwHp6XR3w7psOgvA4Ra1TeuiTrxDjNHf0=; b=VVH7jewUDeFTV/tanyZxgxopSRWZGROWZwedqIRp4bd8BZFizqLpF/3Z6prp79iH4U /8RYKVHQKXi6teJ5QwSzW7Txcy3cwqb4x8wuwP+93AeJT7s20r+1DTxyohk6J3winl+7 RUD3PIAwo9/2bQEqPYM90+TVJnuDX3pDhmsVQmmglIJ25eGgfrC026KVuQ0MJzrjiHvg hL92SX5QCiezoXMp1PE2R/0DY+XYymP7SZZm0sBaCEzDMeHLWpQz559BJ1sRs+Dg5DPz qqFoWRML8jVdca4cu6GMjpyZaBF0VE9is3uK4AOzEGHKGXgBcL8OqXG4zev34y8d5Rp7 K09w== MIME-Version: 1.0 Received: by 10.50.237.70 with SMTP id va6mr10492363igc.8.1350706509020; Fri, 19 Oct 2012 21:15:09 -0700 (PDT) Received: by 10.64.11.166 with HTTP; Fri, 19 Oct 2012 21:15:08 -0700 (PDT) In-Reply-To: References: Date: Sat, 20 Oct 2012 09:45:08 +0530 Message-ID: Subject: pppoe configuration and dns name resolution From: Jack To: freebsd-questions@freebsd.org 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, 20 Oct 2012 04:15:09 -0000 Hi again, This time I disabled DHCP on my fxp0 interface and in my adsl modem too. But the problem still exists. This time I tried both approaches: assigned an IP address explicitly to fxp0, and then no explicit assignment to fxp0. I still don' get why FreeBSD is having trouble connecting via PPP. I am trying every combinations that might work, but still no luck. Any help will be appreciated. I'm posting my config files. The statements in comments are those that I already tried enabling them. ## /etc/rc.conf hostname="jacks_lappy" #ifconfig_fxp0="DHCP" #ifconfig_tun0="" ifconfig_fxp0="inet 192.168.1.4 netmask 255.255.255.0" #ifconfig_fxp0="" sshd_enable="YES" moused_enable="YES" powerd_enable="YES" # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable dumpdev="AUTO" hald_enable="YES" dbus_enable="YES" routerenable="NO" #defaultrouter="192.168.1.1" ppp_enable="YES" ppp_mode="ddial" ppp_nat="NO" ppp_profile="adsl" ppp_adsl_unit="0" I tried to specify tun0 interface explicitly, but still no luck. When I start ppp using: service ppp start It shows tun0 is busy. ---------------------------------------------------------------------------------------------------------------------- ## etc/resolv.conf #Open DNS nameservers: nameserver 208.67.222.222 nameserver 208.67.220.220 ---------------------------------------------------------------------------------------------------------------------- ## /etc/ppp/ppp.conf default: set log Phase chat lcp ipcp ccp tun command lqm set ifaddr 10.0.0.1/0 10.0.0.2/0 0.0.0.0 0.0.0.0 # set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 0.0.0.0 nat enable no adsl: set device PPPoE:fxp0 #set device PPPoE:tun0 set mru 1492 set mtu 1492 set ctsrts off set speed sync set dial enable lqr set login set authname set authkey set timeout 120 set redial 0 0 add default HISADDR #enable dns ---------------------------------------------------------------------------------------------------------------------- ## output of ifconfig just after boot: fxp0: flags=8843 metric 0 mtu 1500 options=2009 ether 00:16:d3:0c:42:22 inet 192.168.1.4 netmask 0xffffff00 broadcast 192.168.1.255 inet6 fe80::216:d3ff:fe0c:4222%fxp0 prefixlen 64 scopeid 0x6 nd6 options=29 media: Ethernet autoselect (100baseTX ) status: active fwe0: flags=8802 metric 0 mtu 1500 options=8 ether 06:e4:0a:1b:50:36 nd6 options=29 ch 1 dma -1 fwip0: flags=8802 metric 0 mtu 1500 lladdr 6.e4.a.0.28.1b.50.36.a.2.ff.fe.0.0.0.0 nd6 options=29 lo0: flags=8049 metric 0 mtu 16384 options=600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x9 inet 127.0.0.1 netmask 0xff000000 nd6 options=21 tun0: flags=8051 metric 0 mtu 1500 options=80000 nd6 options=29 Opened by PID 1231 ---------------------------------------------------------------------------------------------------------------------- ## output of ifconfig after I started ppp using ## service ppp start fxp0: flags=8843 metric 0 mtu 1500 options=2009 ether 00:16:d3:0c:42:22 inet 192.168.1.4 netmask 0xffffff00 broadcast 192.168.1.255 inet6 fe80::216:d3ff:fe0c:4222%fxp0 prefixlen 64 scopeid 0x6 nd6 options=29 media: Ethernet autoselect (100baseTX ) status: active fwe0: flags=8802 metric 0 mtu 1500 options=8 ether 06:e4:0a:1b:50:36 nd6 options=29 ch 1 dma -1 fwip0: flags=8802 metric 0 mtu 1500 lladdr 6.e4.a.0.28.1b.50.36.a.2.ff.fe.0.0.0.0 nd6 options=29 lo0: flags=8049 metric 0 mtu 16384 options=600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x9 inet 127.0.0.1 netmask 0xff000000 nd6 options=21 tun0: flags=8051 metric 0 mtu 1500 options=80000 nd6 options=29 Opened by PID 1231 ---------------------------------------------------------------------------------------------------------------------- Now it seems to me that there might be some sequence of statements in /etc/ppp/ppp.conf that works, and others don't But what is that magic sequence? PS: In windows there is no problem connecting via ppp, even if I use DHCP server enabled on my adsl modem, and modem is in bridge mode. So, there must be some way in FreeBSD too, that works regardless of whether ip address of fxp0(the ethernet interface to which adsl modem connects to PC), is assigned via a DHCP server on modem or manually. I understand that if DHCP is enabled on adsl modem, and fxp0 is assigned the ip address via this DHCP, then the PPP server of ISP to which we are trying to connect, will also assign a public IP address to the PPP client, which in case of FreeBSD is tun0 interface rather than fxp0 . In other words, tun0 interface here should be PPP client, and PPP server is at ISP side. Ths fxp0 interface is used for both types of traffic - local LAN traffic and the PPP traffic. PC <------------------------------> ADSL modem <--------------> ISP fxp0 (LAN DHCP Client) LAN DHCP server doesn't know about 192.168.1.2 192.168.1.1 LAN tun0 transparent to PPP traffic PPP client ( in bridge mode) PPP Server So, from ISP's PPP server's perspective, the only thing it sees on customer side is PPP client ie tun0 interface. PPP server doesn't know anything about adsl modem in between and any LAN at customer side. adsl modem just acts as a PPP traffic forwarder - that's why it is called a bridge mode of modem. So, tun0 interface is the interface to which ISP's PPP server will assign the public IP address. >From my understanding it shoud not matter whether fxp0 is assigned the ip address via DHCP server on local lan or via manually - at least this concept works on windows. But in FreeBSD, if I enable dhcp on fxp0, then /etc/resolv.conf is created each time I boot in FreeBSD, so the only nameserver being 192.168.1.1, ie adsl modem ethernet interface. Even if I edit it to include nameservers of my ISP or OpenDNS this file is created each time FreeBSD boots, and these entries are lost, with only entry being 192.168.1.1 Is this a FreeBSD design/behaviour issue? Can anyone throw light on the issue I'm facing? Any possible tricks I might be missing, while configuring PPP interface? Regards, -- Jack From owner-freebsd-questions@FreeBSD.ORG Sat Oct 20 06:09:08 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8382BA7D for ; Sat, 20 Oct 2012 06:09:08 +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 1FE638FC0A for ; Sat, 20 Oct 2012 06:09:07 +0000 (UTC) Received: from r56.edvax.de (port-92-195-110-131.dynamic.qsc.de [92.195.110.131]) by mx01.qsc.de (Postfix) with ESMTP id 119453CD81; Sat, 20 Oct 2012 08:09:06 +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 q9K695oH001972; Sat, 20 Oct 2012 08:09:05 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 20 Oct 2012 08:09:05 +0200 From: Polytropon To: Jack Subject: Re: pppoe configuration and dns name resolution Message-Id: <20121020080905.27440256.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: Sat, 20 Oct 2012 06:09:08 -0000 On Sat, 20 Oct 2012 09:42:31 +0530, Jack wrote: > Hi again, > > This time I disabled DHCP on my fxp0 interface and > in my adsl modem too. > But the problem still exists. > > This time I tried both approaches: > assigned an IP address explicitly to fxp0, and > then no explicit assignment to fxp0. That should be the easiest test setting. > I still don' get why FreeBSD is having trouble > connecting via PPP. Seems to be a specific problem. There is no general problem with PPPoE on FreeBSD. > I am trying every combinations that might work, > but still no luck. > Any help will be appreciated. Try to limit "variables" as much as possible. Control one "thing" per time. > I'm posting my config files. The statements in comments > are those that I already tried enabling them. > > > ## /etc/rc.conf > hostname="jacks_lappy" > #ifconfig_fxp0="DHCP" > #ifconfig_tun0="" > ifconfig_fxp0="inet 192.168.1.4 netmask 255.255.255.0" > #ifconfig_fxp0="" Is this IP inside your network? In my old setting, I had defined the IP for the NIC connected to the modem as 192.168.0.1, but my own network (and therefor also the 2nd NIC in the machine) in 192.168.1.* - I don't know if the first could have been omitted, just doing ="up" for the NIC connected to the modem. > sshd_enable="YES" > moused_enable="YES" > powerd_enable="YES" > # Set dumpdev to "AUTO" to enable crash dumps, "NO" to disable > dumpdev="AUTO" > > hald_enable="YES" > dbus_enable="YES" No problem here, not related. > routerenable="NO" This option does not exist. See /etc/defaults/rc.conf for a list of them. I haven't used that option in the working setup. > #defaultrouter="192.168.1.1" Correct - I also did not define a default router. > ppp_enable="YES" > ppp_mode="ddial" > ppp_nat="NO" > ppp_profile="adsl" > ppp_adsl_unit="0" I've also not used the last parameter. The tun0 interface would have been generated automatically. Everything implies that the _kernel_ has all the neccessary functionality enabled (tun interface, PPPoE related netgraph modules and NIC support). > I tried to specify tun0 interface explicitly, > but still no luck. No need to do so. > When I start ppp using: > service ppp start > > It shows tun0 is busy. Which is correct. > ## etc/resolv.conf > #Open DNS nameservers: > nameserver 208.67.222.222 > nameserver 208.67.220.220 Those are OpenDNS resolvers. I've been using two provided by my ISP, and also ran named myself later on. > ## /etc/ppp/ppp.conf > > default: > set log Phase chat lcp ipcp ccp tun command lqm > set ifaddr 10.0.0.1/0 10.0.0.2/0 0.0.0.0 0.0.0.0 > # set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 0.0.0.0 > nat enable no > > adsl: > set device PPPoE:fxp0 > #set device PPPoE:tun0 > set mru 1492 > set mtu 1492 > set ctsrts off > set speed sync > set dial > > enable lqr > > set login > set authname > set authkey > set timeout 120 > set redial 0 0 > > add default HISADDR > #enable dns Why not try a minimal configuration? myispname: set device PPPoE:fxp0 set authname set authkey set dial set login add default HISADDR That should be everything which is needed. For better diagnostics, add your custom options (like lpr or redial) later on. As I said, all my examples and suggestions are taken from a working example, different OS versions, different physical modems. ---------------------------------------------------------------------------------------------------------------------- > > ## output of ifconfig just after boot: > > fxp0: flags=8843 metric 0 mtu 1500 > options=2009 > ether 00:16:d3:0c:42:22 > inet 192.168.1.4 netmask 0xffffff00 broadcast 192.168.1.255 > inet6 fe80::216:d3ff:fe0c:4222%fxp0 prefixlen 64 scopeid 0x6 > nd6 options=29 > media: Ethernet autoselect (100baseTX ) > status: active Looks good so far - connected to the modem. > tun0: flags=8051 metric 0 mtu 1500 > options=80000 > nd6 options=29 > Opened by PID 1231 Does not look good - no IP assigned. > ## output of ifconfig after I started ppp using > ## service ppp start The ppp should have been started automatically... > fxp0: flags=8843 metric 0 mtu 1500 > options=2009 > ether 00:16:d3:0c:42:22 > inet 192.168.1.4 netmask 0xffffff00 broadcast 192.168.1.255 > inet6 fe80::216:d3ff:fe0c:4222%fxp0 prefixlen 64 scopeid 0x6 > nd6 options=29 > media: Ethernet autoselect (100baseTX ) > status: active Again, looks correct. > tun0: flags=8051 metric 0 mtu 1500 > options=80000 > nd6 options=29 > Opened by PID 1231 And again no IP here. > Now it seems to me that there might be some sequence of statements in > /etc/ppp/ppp.conf that works, and others don't That's possible. Limit the statements first, starting from the ppp.conf file provided by the system. Just add the few lines neccessary to have ppp create the connection. > But what is that magic sequence? I don't know, I just can tell you a working sequence. :-) > PS: In windows there is no problem connecting via ppp, even if > I use DHCP server enabled on my adsl modem, and modem is > in bridge mode. In "Windows", there's also no way for you to find out what actually happens, so this information is not of very much help. (I'm almost sure you could use Wireshark to listen to the "conversation" the PC and the modem are having, to obtain more details...) > So, there must be some way in FreeBSD too, that works > regardless of whether ip address of fxp0(the ethernet interface > to which adsl modem connects to PC), is assigned via > a DHCP server on modem or manually. Definitely. The easiest way is to first limit "variables" in this setting, so let the modem be a modem, _not_ a router, DHCP server, NAT device or anything else. (This is a statement from my own experience with a modem which was nothing more or less than a modem.) > I understand that if DHCP is enabled on adsl modem, and > fxp0 is assigned the ip address via this DHCP, then the PPP > server of ISP to which we are trying to connect, will also assign > a public IP address to the PPP client, which in case of FreeBSD > is tun0 interface rather than fxp0 . I assume that if you obtain connection data via DHCP, you'll also get assigned other data like nameservers. That means you will not have to deal with PPPoE at all because the modem does the "connection work". This is an assumption, I don't know your particular modem to make a better guess. :-) > So, tun0 interface is the interface to which ISP's PPP server will > assign the public IP address. I have to admit that I have limited experience with involving DHCP in the PPPoE process. I know several modems that do the "connection work" on their own and have the user _not_ deal with PPPoE details on their side - everything will be done in IP (here: DHCP), providing all required connection details. > From my understanding it shoud not matter whether fxp0 is > assigned the ip address via DHCP server on local lan or via > manually - at least this concept works on windows. I also thing this is not required, as my working example (!) shows that the NIC has had an IP address, but in a different network. > Can anyone throw light on the issue I'm facing? > Any possible tricks I might be missing, while configuring PPP > interface? Do things as simple as possible first. For the examples, see my initial message again. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Oct 20 13:14:34 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6F881C22 for ; Sat, 20 Oct 2012 13:14:34 +0000 (UTC) (envelope-from rwmaillists@googlemail.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 EA1008FC08 for ; Sat, 20 Oct 2012 13:14:33 +0000 (UTC) Received: by mail-ee0-f54.google.com with SMTP id c50so610631eek.13 for ; Sat, 20 Oct 2012 06:14:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=KHDVuazM/x0Ce1wgojkac8/aFmv05mTntJAuZw6FxOU=; b=MIml3oNk0Uml+MqRaxOTzmRI+wiJ8huS3eDS/U5xyZMl9X7jk91t0V/XkA25skB1WA OAeBlxWlo3BF22SPjNPtV0hEROZCun12tCLqUCmW196OtMFtWta9bpdmknoXOx8XHgwo NfwM32HTlVc0dc7dlk3EY8GWdf00po/49yVHvaxIOa6ku+G4s3bQfyKVEIJzRlovY4Fn QLgQx8AAtqPfIBBvEVPiU/Hm2aPtEW104nIBlfeWgvtvq4z3aVJ8BW1l7FalqE0M4lIw gxDkoobJQ3MTBn6bC+DJ09k1OWvDI9aQgvHyaNzX7FUpY/1/Nezbzh48bGo0mRPWvSdn NaMg== Received: by 10.14.214.133 with SMTP id c5mr5511253eep.8.1350738866914; Sat, 20 Oct 2012 06:14:26 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id 7sm6990547eeg.5.2012.10.20.06.14.25 (version=SSLv3 cipher=OTHER); Sat, 20 Oct 2012 06:14:26 -0700 (PDT) Date: Sat, 20 Oct 2012 14:14:22 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: pppoe configuration and dns name resolution Message-ID: <20121020141422.5beef665@gumby.homeunix.com> In-Reply-To: References: X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) 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: Sat, 20 Oct 2012 13:14:34 -0000 On Sat, 20 Oct 2012 09:42:31 +0530 Jack wrote: > Hi again, > > This time I disabled DHCP on my fxp0 interface and > in my adsl modem too. > But the problem still exists. > > This time I tried both approaches: > assigned an IP address explicitly to fxp0, and > then no explicit assignment to fxp0. I'd leave fxp0 unset until you've fixed the other problems - it's not necessary for PPP. Modems and routers in PPPoE bridging mode don't normally require any adjustment or other access so there's probably no need to assign address anyway. > I still don' get why FreeBSD is having trouble > connecting via PPP. The original problem you quoted was with DNS and that's explained by the DHCP on fxp0 overwriting resolv.conf with the router/modem's own non-functional DNS proxy. As regards ppp.conf mine was simply: default: set log Phase tun command adsl: set device PPPoE:vr0 set authname set authkey add default HISADDR > ppp_adsl_unit="0" > > > I tried to specify tun0 interface explicitly, > but still no luck. > When I start ppp using: > service ppp start > It shows tun0 is busy. Don't try to specify the tun device number. I've noticed in the past that occasionally tun0 becomes unusable and ppp will switch to tun1. I've seen this happen when I've been restarting ppp a lot. > From my understanding it shoud not matter whether fxp0 is > assigned the ip address via DHCP server on local lan or via > manually - at least this concept works on windows. > > But in FreeBSD, if I enable dhcp on fxp0, then > /etc/resolv.conf is created each time I boot in FreeBSD, > so the only nameserver being 192.168.1.1, ie adsl > modem ethernet interface. > Even if I edit it to include nameservers of my ISP or OpenDNS > this file is created each time FreeBSD boots, and these entries > are lost, with only entry being 192.168.1.1 > There's no good reason to use DHCP in this case, you can simply set a static private IP address (typically a high address in the same /24 as the modem). If you really must use DHCP then it can be reconfigured globally or per interface (type apropos dhclient). I notice that the original resolv.conf you quoted was set by resolvconf. I've never used this so I can't comment on whether it's helping or hindering. I suspect it aimed at laptops switching between different networks. From owner-freebsd-questions@FreeBSD.ORG Sat Oct 20 14:14:33 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E641AC1C for ; Sat, 20 Oct 2012 14:14:33 +0000 (UTC) (envelope-from cjr@cruwe.de) Received: from wp376.webpack.hosteurope.de (wp376.webpack.hosteurope.de [IPv6:2a01:488:42::50ed:8591]) by mx1.freebsd.org (Postfix) with ESMTP id 787DF8FC14 for ; Sat, 20 Oct 2012 14:14:33 +0000 (UTC) Received: from p57bded11.dip.t-dialin.net ([87.189.237.17] helo=dijkstra.cruwe.de); authenticated by wp376.webpack.hosteurope.de running ExIM with esmtpsa (SSL3.0:DHE_RSA_AES_128_CBC_SHA1:16) id 1TPZot-0006VL-7M; Sat, 20 Oct 2012 16:14:31 +0200 Date: Sat, 20 Oct 2012 16:14:28 +0200 From: "Christopher J. Ruwe" To: Subject: Re: poudriere amassing fetch errors Message-ID: <20121020161428.6431e734@dijkstra.cruwe.de> In-Reply-To: <20121019222951.7e5cdf0e@davenulle.org> References: <20121014035720.1eb3c7d4@dijkstra.cruwe.de> <20121019222951.7e5cdf0e@davenulle.org> X-Mailer: Claws Mail 3.8.1 (GTK+ 2.24.6; amd64-portbld-freebsd9.0) Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-bounce-key: webpack.hosteurope.de;cjr@cruwe.de;1350742473;b7d40c7b; Cc: Patrick Lamaiziere 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, 20 Oct 2012 14:14:34 -0000 On Fri, 19 Oct 2012 22:29:51 +0200 Patrick Lamaiziere wrote: > Le Sun, 14 Oct 2012 03:57:20 +0200, > "Christopher J. Ruwe" a =C3=A9crit : >=20 > Hello, >=20 > > for some time I have noticed that poudriere bulk build amass fetch > > errors, i.e., the corresponding distfile(s) cannot be fetched by the > > build jail and I have to fetch these manually. > >=20 > > Does anybody know a fix to this unnerving condition? >=20 > I don't see this problem. >=20 > Missing resolv.conf ? > /usr/local/etc/poudriere.conf > # By default the jails have no /etc/resolv.conf, you will need to set > # REVOLV_CONF to a file on your hosts system that will be copied has > # /etc/resolv.conf for the jail, except if you don't need it (using an > http # proxy for example) > RESOLV_CONF=3D/etc/resolv.conf >=20 My apolgies for that absolutly crappy discription of the error I was witnessing. Upon reading my post anew, I just do not know what hit me posting that. Anyways, I did not have a /etc/resolv.conf entry in my poudriere.conf, as it has been working for some time without. The error was rather byzanthine ... sometimes, the sources were fetched correctly, sometimes not. Regrettably, I do not have any fetch error messages around any more, so I cannot supply the information I should have included in my first post.=20 Anyways, setting the entry in poudriere.conf seems to have solved the issue. Interesting how any fetching could have occured without ... Thanks and cheers, --=20 Christopher J. Ruwe TZ: GMT + 2h GnuPG/GPG: 0xE8DE2C14 From owner-freebsd-questions@FreeBSD.ORG Sat Oct 20 18:12:34 2012 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 98561C3B for ; Sat, 20 Oct 2012 18:12:34 +0000 (UTC) (envelope-from kernel@webrz.net) Received: from webrz.xs4all.nl (webrz.xs4all.nl [82.95.248.216]) by mx1.freebsd.org (Postfix) with ESMTP id 4CC2B8FC14 for ; Sat, 20 Oct 2012 18:12:34 +0000 (UTC) Received: from webrz.xs4all.nl (localhost [127.0.0.1]) by webrz.xs4all.nl (Postfix) with ESMTP id 813CF50889 for ; Sat, 20 Oct 2012 20:10:16 +0200 (CEST) Received: from [10.10.10.44] (chimea.webrz.net [10.10.10.44]) by webrz.xs4all.nl (Postfix) with ESMTPA id 6199B5083C for ; Sat, 20 Oct 2012 20:10:16 +0200 (CEST) Message-ID: <5082E98F.1060806@webrz.net> Date: Sat, 20 Oct 2012 20:12:31 +0200 From: Jos Chrispijn User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org Subject: FreeBSD 9x - PHP and MySQL Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AV-Checked: ClamAV using ClamSMTP @triton.webrz.net 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, 20 Oct 2012 18:12:34 -0000 FreeBSD 9.1-PRERELEASE Can you tell me what might be the best MySQL version to be used and which PHP version should I use to that? Running 64-bit. thanks, Jos Chrispijn From owner-freebsd-questions@FreeBSD.ORG Sat Oct 20 18:24:19 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 20BB816B for ; Sat, 20 Oct 2012 18:24:19 +0000 (UTC) (envelope-from freebsd@johnea.net) Received: from mail.johnea.net (johnea.net [70.167.123.7]) by mx1.freebsd.org (Postfix) with ESMTP id 038068FC14 for ; Sat, 20 Oct 2012 18:24:18 +0000 (UTC) Received: from [192.168.100.239] (vhost.johnea.net [192.168.100.239]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.johnea.net (Postfix) with ESMTPSA id E538773F188B for ; Sat, 20 Oct 2012 11:18:22 -0700 (PDT) Message-ID: <5082EAEE.4040609@johnea.net> Date: Sat, 20 Oct 2012 11:17:57 -0700 From: freebsd@johnea.net User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: 9.1 and gmirror with GPT? Content-Type: text/plain; charset=UTF-8 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, 20 Oct 2012 18:24:19 -0000 Hello, Just wondering if 9.1 will bring any improvement to the situation of creating a full disk geom mirror while also using GPT partition table? Is the fix for this a near term thing, or something in the farther future? Thanks for any insight! johnea From owner-freebsd-questions@FreeBSD.ORG Sat Oct 20 18:34:59 2012 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3EFB1463 for ; Sat, 20 Oct 2012 18:34:59 +0000 (UTC) (envelope-from universite@ukr.net) Received: from ffe17.ukr.net (ffe17.ukr.net [195.214.192.83]) by mx1.freebsd.org (Postfix) with ESMTP id DDFA78FC0A for ; Sat, 20 Oct 2012 18:34:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=ukr.net; s=ffe; h=Date:Message-Id:From:To:References:In-Reply-To:Subject:Content-Type:Content-Transfer-Encoding:MIME-Version; bh=spE01wzsMlEyRt+VJcs4etD21XClrsTlvIxob4Fv1Vo=; b=jbyIlx40nSilpGvX52GnDLc+A4IyMEcn10h3g1PcfXVvvp6JD6Fp4uwuPNAIer1rVMND8HlIc6nTpHYPjoon8MJFDxZAaS7ePIYjM2djH6V6Cva7huCqnFkmKesZ3iKsJsWqCawVyU5vaxVHEYNrdP8brUcCrZlyJkJdnmLT0oU=; Received: from mail by ffe17.ukr.net with local ID 1TPdai-000FnV-K1 for freebsd-questions@FreeBSD.org; Sat, 20 Oct 2012 21:16:08 +0300 MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: binary Content-Type: text/plain; charset="windows-1251" Subject: Re: FreeBSD 9x - PHP and MySQL In-Reply-To: <5082E98F.1060806@webrz.net> References: <5082E98F.1060806@webrz.net> To: freebsd-questions@FreeBSD.org From: "Vladislav Prodan" X-Mailer: freemail.ukr.net 4.0 Message-Id: <59872.1350756968.13329707865865715712@ffe17.ukr.net> X-Browser: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20100101 Firefox/15.0.1 Date: Sat, 20 Oct 2012 21:16:08 +0300 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, 20 Oct 2012 18:34:59 -0000 MySQL 5.5 php 5.4.x > FreeBSD 9.1-PRERELEASE > Can you tell me what might be the best MySQL version to be used and > which PHP version should I use to that? > Running 64-bit. > > thanks, > Jos Chrispijn > _______________________________________________ > 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" -- Vladislav V. Prodan System & Network Administrator http://support.od.ua +380 67 4584408, +380 99 4060508 VVP88-RIPE From owner-freebsd-questions@FreeBSD.ORG Sat Oct 20 21:37:06 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 4D6B459B for ; Sat, 20 Oct 2012 21:37:06 +0000 (UTC) (envelope-from dalescott@shaw.ca) Received: from idcmail-mo1so.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by mx1.freebsd.org (Postfix) with ESMTP id 162508FC0A for ; Sat, 20 Oct 2012 21:37:05 +0000 (UTC) Received: from pd2ml2so-ssvc.prod.shaw.ca ([10.0.141.134]) by pd2mo1so-svcs.prod.shaw.ca with ESMTP; 20 Oct 2012 15:36:58 -0600 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=uEzPmqyKk3FmB56oMsVOxxXrQXkXzvelGz2cNcKR8zE= c=1 sm=1 a=v3Et4PGsvvsA:10 a=BLceEmwcHowA:10 a=kj9zAlcOel0A:10 a=TnnSnozJutt0IcAQwEzKEw==:17 a=6I5d2MoRAAAA:8 a=uVDnky9UAAAA:8 a=HmU4sD4hlGHoeH0d5LAA:9 a=CjuIK1q_8ugA:10 a=SV7veod9ZcQA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Received: from unknown (HELO dalet61) ([68.144.182.135]) by pd2ml2so-dmz.prod.shaw.ca with ESMTP; 20 Oct 2012 15:36:58 -0600 From: "Dale Scott" To: "'Vladislav Prodan'" , References: <5082E98F.1060806@webrz.net> <59872.1350756968.13329707865865715712@ffe17.ukr.net> In-Reply-To: <59872.1350756968.13329707865865715712@ffe17.ukr.net> Subject: RE: FreeBSD 9x - PHP and MySQL Date: Sat, 20 Oct 2012 15:37:03 -0600 Message-ID: <006d01cdaf0b$0b601640$222042c0$@shaw.ca> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQGQ9MGnJQT/QcWXOV93/mhXWP4m2wHMtaZUmC3FORA= Content-Language: en-us 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, 20 Oct 2012 21:37:06 -0000 There's no reason not to just use the latest in the ports tree, which as of now is: php5-5.4.7 mysql-server-5.5.28 I use phpmyadmin, which usually results in updating php5 every new release (which is why I'm on php5-5.4.7), although I'm still on mysql-server-5.5.16. -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Vladislav Prodan Sent: Saturday, October 20, 2012 12:16 PM To: freebsd-questions@FreeBSD.org Subject: Re: FreeBSD 9x - PHP and MySQL MySQL 5.5 php 5.4.x > FreeBSD 9.1-PRERELEASE > Can you tell me what might be the best MySQL version to be used and > which PHP version should I use to that? > Running 64-bit. > > thanks, > Jos Chrispijn > _______________________________________________ > 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" -- Vladislav V. Prodan System & Network Administrator http://support.od.ua +380 67 4584408, +380 99 4060508 VVP88-RIPE _______________________________________________ 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 Oct 20 21:50:19 2012 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A26697FC for ; Sat, 20 Oct 2012 21:50:19 +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 100748FC08 for ; Sat, 20 Oct 2012 21:50:18 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q9KLoEeS072949 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sat, 20 Oct 2012 22:50:14 +0100 (BST) (envelope-from matthew@FreeBSD.org) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q9KLoEeS072949 Authentication-Results: smtp.infracaninophile.co.uk/q9KLoEeS072949; dkim=none (no signature); dkim-adsp=none Message-ID: <50831C90.6080101@FreeBSD.org> Date: Sat, 20 Oct 2012 22:50:08 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: Jos Chrispijn Subject: Re: FreeBSD 9x - PHP and MySQL References: <5082E98F.1060806@webrz.net> In-Reply-To: <5082E98F.1060806@webrz.net> X-Enigmail-Version: 1.4.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig367CFEA31A28DCF4FC5B89CC" X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 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 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: Sat, 20 Oct 2012 21:50:19 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig367CFEA31A28DCF4FC5B89CC Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 20/10/2012 19:12, Jos Chrispijn wrote: > Can you tell me what might be the best MySQL version to be used and > which PHP version should I use to that? Unless you're running applications with known dependencies on earlier versions, always choose the latest stable release version of PHP. For MySQL, it's not so vital, but the latest release should be your default choice. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enig367CFEA31A28DCF4FC5B89CC 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 Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlCDHJUACgkQ8Mjk52CukIxf+QCfY+axkHmdWV2ksfVFHviRSvpF Am4An0ZqTYfLihUOXWwLIrvp+waRYR8k =MXiW -----END PGP SIGNATURE----- --------------enig367CFEA31A28DCF4FC5B89CC-- From owner-freebsd-questions@FreeBSD.ORG Sat Oct 20 21:52:45 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 223C18BD for ; Sat, 20 Oct 2012 21:52:45 +0000 (UTC) (envelope-from jnagyjr1978@gmail.com) Received: from mail-gh0-f182.google.com (mail-gh0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id C05688FC14 for ; Sat, 20 Oct 2012 21:52:44 +0000 (UTC) Received: by mail-gh0-f182.google.com with SMTP id r20so306645ghr.13 for ; Sat, 20 Oct 2012 14:52:38 -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:x-enigmail-version:openpgp:content-type; bh=VOqY+uS9NqTBmJrQHhDo3KXbU4XNgeU8f3GZM8s9cAg=; b=Jn3plsFrMbDQ4JYNkLgbtKELsWYjakWSyM+PxohLVSpVnTWIoMyh6kh+TUTfBk8g5M dK/VIwcC6qKqVnZBs3Z2faoHkIgE+YA0ZtZEmBxCQipTjmh9hxfZL9llkRiHn2OL1L5f GRA1YgoJGFYmRRWnihJlGagySpVXveJ2903HlvU1oamIcSdE38M1mUXRGzovXv8m4mg6 Ac3RuFYtcvXTOb3A1+4myIZSG1U/GhPTMHrH6mPYEgYAIO6jksSYKRBe8wXCa9k++x5U 1lk4FNXpSOLizaIb+IATKnnXJl7j4C3PWw/nS3hFWtUnGSTWRwAXNjTPQvC1SGVCfSoX Z5Eg== Received: by 10.236.110.108 with SMTP id t72mr4818610yhg.32.1350769958393; Sat, 20 Oct 2012 14:52:38 -0700 (PDT) Received: from [192.168.1.33] (vid-196.dhcp.grp10.tnmmrl.infoave.net. [204.116.254.196]) by mx.google.com with ESMTPS id e18sm4627637yhi.0.2012.10.20.14.52.36 (version=SSLv3 cipher=OTHER); Sat, 20 Oct 2012 14:52:37 -0700 (PDT) Message-ID: <50831CEF.6060908@gmail.com> Date: Sat, 20 Oct 2012 16:51:43 -0500 From: Joseph a Nagy Jr User-Agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121011 Thunderbird/16.0.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Graphiz broke because of swig References: <507ADC4B.3080907@gmail.com> <507AF237.3060401@FreeBSD.org> In-Reply-To: <507AF237.3060401@FreeBSD.org> X-Enigmail-Version: 1.4.5 OpenPGP: id=96C03037 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig9ABAB63EF3814AC70E5EAB4C" 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: Sat, 20 Oct 2012 21:52:45 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig9ABAB63EF3814AC70E5EAB4C Content-Type: multipart/mixed; boundary="------------090800080709040500060202" This is a multi-part message in MIME format. --------------090800080709040500060202 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 10/14/2012 12:11 PM, Matthew Seaman wrote: > On 14/10/2012 16:37, Joseph a Nagy Jr wrote: >> I was installing my system earlier (dual-boot Ubuntu 12.04LTS/FreeBSD >> 9.0; Ubuntu was already present) and while installing subversion, one = of >> the many co-dependencies of the many programs that were being installe= d >> was graphviz. Apparently I selected some support options relating to >> swig that broke the compile of graphiz (and therefore everything else)= =2E >> Is there a way to remedy this? I'd rather not reinstall the entire >> system. Thanks. >=20 > # cd /usr/ports/graphics/graphviz > # make config >=20 > Adjust the swig related options, then reinstall graphviz using whatever= > your favourite ports management tools are. >=20 > Cheers, >=20 > Matthew >=20 No luck. I was compiling from source using make and letting dependencies be resolved automatically. Something seriously got messed up and I feel like an idiot. I was following the handbook and was in chapter 5 where it was recommended to install subversion for ports tree management (sounded good to me) and I executed, from /use/ports/devel/subversion/ 'make install clean'. It was doing good up until doxygen/graphviz, it seems. I have no easy way of getting the error messages here (on the Ubuntu side of the laptop I'm installing on) as Ubuntu's ufs tools suck. I'm wanting to get away from Canonical telling me what I'm going to use and back to maintaining my own system. I decided on FreeBSD because of stability and security, but I'm stumped and feel like a moron. So much for good starts (I used gparted to resize the Ubuntu partition so I could fit FreeBSD on here). --=20 Yours in Christ, Joseph A Nagy Jr "Whoever loves instruction loves knowledge, But he who hates correction is stupid." -- Proverbs 12:1 Emails are not formal business letters, whatever businesses may want. Original content CopyFree (F) under the OWL http://owl.apotheon.org --------------090800080709040500060202-- --------------enig9ABAB63EF3814AC70E5EAB4C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlCDHO8ACgkQ/yysspbAMDfZ3ACeLZhDBGKKzbPlF4BHktBF0Mts 3woAoKKI2Z7iJdvKxnXhUgTPPmQWsz3q =t1xy -----END PGP SIGNATURE----- --------------enig9ABAB63EF3814AC70E5EAB4C-- From owner-freebsd-questions@FreeBSD.ORG Sat Oct 20 22:06:14 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 412C0B5B for ; Sat, 20 Oct 2012 22:06:14 +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 9B8198FC0C for ; Sat, 20 Oct 2012 22:06:13 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q9KM6AOA073242 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sat, 20 Oct 2012 23:06:10 +0100 (BST) (envelope-from matthew@FreeBSD.org) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q9KM6AOA073242 Authentication-Results: smtp.infracaninophile.co.uk/q9KM6AOA073242; dkim=none (no signature); dkim-adsp=none Message-ID: <50832051.8010004@FreeBSD.org> Date: Sat, 20 Oct 2012 23:06:09 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: Joseph a Nagy Jr Subject: Re: Graphiz broke because of swig References: <507ADC4B.3080907@gmail.com> <507AF237.3060401@FreeBSD.org> <50831CEF.6060908@gmail.com> In-Reply-To: <50831CEF.6060908@gmail.com> X-Enigmail-Version: 1.4.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD70D5D5DBB6165EFBC95B8BF" X-Virus-Scanned: clamav-milter 0.97.6 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.8 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 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: Sat, 20 Oct 2012 22:06:14 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD70D5D5DBB6165EFBC95B8BF Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 20/10/2012 22:51, Joseph a Nagy Jr wrote: > No luck. I was compiling from source using make and letting dependencie= s > be resolved automatically. Something seriously got messed up and I feel= > like an idiot. I was following the handbook and was in chapter 5 where > it was recommended to install subversion for ports tree management > (sounded good to me) and I executed, from /use/ports/devel/subversion/ > 'make install clean'. It was doing good up until doxygen/graphviz, it > seems. I have no easy way of getting the error messages here (on the > Ubuntu side of the laptop I'm installing on) as Ubuntu's ufs tools suck= =2E Why can't you do something like create a transcript of the session where you try and install subversion, but it fails, and post that transcript onto a pastebin site directly from FreeBSD? Use script(1) to make the transcript: % script /tmp/session.log % ... do ports related things ... % exit The session.log should contain a copy of everything that got printed onto your terminal. Pastebin sites are a dime a dozen, and you can probably find one that lets you use standard unix tools to upload to it. Then just post the link here. Chances are the problem you've run into is not unique to you, and that someone will know exactly what to do to sort you out. We need to see all the details though if we're going to be able to offer you effective advice. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --------------enigD70D5D5DBB6165EFBC95B8BF 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 Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlCDIFIACgkQ8Mjk52CukIzvcQCdGqiZNMqaAHJtui19v/Jqm2+J PYoAnie+p8AWjS6Df7qPt5Hi0Ttq0Sc5 =wYLQ -----END PGP SIGNATURE----- --------------enigD70D5D5DBB6165EFBC95B8BF--