From owner-freebsd-questions@FreeBSD.ORG Sun May 19 00:02:48 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0E43DECB for ; Sun, 19 May 2013 00:02:48 +0000 (UTC) (envelope-from quartz@sneakertech.com) Received: from relay02.pair.com (relay02.pair.com [209.68.5.16]) by mx1.freebsd.org (Postfix) with SMTP id A61A1A65 for ; Sun, 19 May 2013 00:02:47 +0000 (UTC) Received: (qmail 40048 invoked by uid 0); 19 May 2013 00:02:46 -0000 Received: from 173.48.104.62 (HELO ?10.2.2.1?) (173.48.104.62) by relay02.pair.com with SMTP; 19 May 2013 00:02:46 -0000 X-pair-Authenticated: 173.48.104.62 Message-ID: <519816A2.9020506@sneakertech.com> Date: Sat, 18 May 2013 20:02:42 -0400 From: Quartz User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: check variable content size in sh script References: <5194F65F.6080503@a1poweruser.com> <5194FB0A.9090400@tundraware.com> <13CA24D6AB415D428143D44749F57D7201F4D41F@ltcfiswmsgmb26> <5197998E.6050200@sneakertech.com> <51979A8B.8080703@tundraware.com> <5197A526.7020302@sneakertech.com> <20130518180634.9e5fd3c2.freebsd@edvax.de> In-Reply-To: <20130518180634.9e5fd3c2.freebsd@edvax.de> 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, 19 May 2013 00:02:48 -0000 > By default, there is no bash on FreeBSD, Right right... I know this, but forgot what list I was on :) It doesn't help that I always install bash first thing on any freebsd box or it get's installed automatically as part of pc-bsd anyway. ______________________________________ it has a certain smooth-brained appeal From owner-freebsd-questions@FreeBSD.ORG Sun May 19 00:06:50 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 2C54315F for ; Sun, 19 May 2013 00:06:50 +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 EC84AA86 for ; Sun, 19 May 2013 00:06:49 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.15]) by ltcfislmsgpa06.fnfis.com (8.14.5/8.14.5) with ESMTP id r4J06m9s030881 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sat, 18 May 2013 19:06:49 -0500 Received: from LTCFISWMSGMB26.FNFIS.com ([10.132.99.18]) by LTCFISWMSGHT04.FNFIS.com ([10.132.206.15]) with mapi id 14.02.0309.002; Sat, 18 May 2013 19:06:48 -0500 From: "Teske, Devin" To: Quartz Subject: Re: check variable content size in sh script Thread-Topic: check variable content size in sh script Thread-Index: AQHOUkc8OBFwBehJxk+zMS+kIvSMRZkIQzQAgAAKzgCAAxSDAIAAAS6AgAAMpACAAAJBAIAAgqyAgAADgIA= Date: Sun, 19 May 2013 00:06:47 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7201F508F2@ltcfiswmsgmb26> References: <5194F65F.6080503@a1poweruser.com> <5194FB0A.9090400@tundraware.com> <13CA24D6AB415D428143D44749F57D7201F4D41F@ltcfiswmsgmb26> <5197998E.6050200@sneakertech.com> <51979A8B.8080703@tundraware.com> <5197A526.7020302@sneakertech.com> <20130518180634.9e5fd3c2.freebsd@edvax.de> <519814A7.8070702@sneakertech.com> In-Reply-To: <519814A7.8070702@sneakertech.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.126] Content-Type: text/plain; charset="Windows-1252" Content-ID: <9AD99305EB2F3646AF0B4E813470D611@fisglobal.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626, 1.0.431, 0.0.0000 definitions=2013-05-18_08:2013-05-17,2013-05-18,1970-01-01 signatures=0 Cc: "" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 May 2013 00:06:50 -0000 On May 18, 2013, at 4:54 PM, Quartz wrote: >=20 >> #foo works with sh >=20 > Is it actually part of the official spec though is what I'm wondering, or= is it a case of other shells not rejecting 'advanced' statements when runn= ing in emulation. >=20 Shells don't have an "emulation mode". The shell supports what it supports,= and no shell that I've ever used had an "emulation mode" to act like anoth= er shell. Maybe you're referring to as "emulation" is actually the invocation line of= the shell script. Make no mistake=85 when you change the invocation (first) line of a shell s= cript from: #/bin/sh to: #/bin/tcsh You are not instructing a shell to "emulate" anything, you are actually usi= ng a different shell. sh !=3D tcsh !=3D bash !=3D ash !=3D dash !=3D zsh Your script will use the shell that is written in the innovation line and t= he features you get are respective to which shell you choose. >=20 >> At least FreeBSD's implementation of sh (which is ash, I think) >> supports the # functionality. >=20 > The reason I say all this is that my copy of tcsh (on this not-freebsd ma= chine) *doesn't* work with this when in sh emulation. >=20 Get the idea that "csh" or "tcsh" are *anything* like sh out of your mind. Further, you almost *never* want to do any serious shell programming in csh= or tcsh. Why? Because csh and tcsh have an incomplete programming spec. Most notably= are the way that it handles pipe data and the standard-output/error file d= escriptors. Specifically, you cannot throw away stdout while keeping stderr= . This short-coming may not be noticeable to all programmers that choose cs= h/tcsh, but if you want to do any serious programming, you'll eventually hi= t those limitations and be forced to move to a real shell (real in the sens= e that it has a complete programming specification). I personally never recommend csh/tcsh as a scripting language=85 but I can = see the benefit that certain constructs (like "repeat N cmd") have, purely = for their simplicity (and readability for *very* short scripts). To challen= ge myself on this topic, I routinely try and cross-port very complex shell = scripts to csh, and while I can do math with "let" and I can other things t= hat a *normal* scripting language should allow=85 I invariably end up runni= ng away screaming in frustration. Again, csh !=3D tcsh !=3D sh !=3D bash !=3D ash !=3D dash !=3D zsh --=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 Sun May 19 00:13:29 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id AA72C291; Sun, 19 May 2013 00:13:29 +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 77230AC8; Sun, 19 May 2013 00:13:29 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.16]) by ltcfislmsgpa04.fnfis.com (8.14.5/8.14.5) with ESMTP id r4J0DS1x027337 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sat, 18 May 2013 19:13:28 -0500 Received: from LTCFISWMSGMB26.FNFIS.com ([10.132.99.18]) by LTCFISWMSGHT05.FNFIS.com ([10.132.206.16]) with mapi id 14.02.0309.002; Sat, 18 May 2013 19:13:28 -0500 From: "Teske, Devin" To: Devin Teske Subject: Re: check variable content size in sh script Thread-Topic: check variable content size in sh script Thread-Index: AQHOUkc8OBFwBehJxk+zMS+kIvSMRZkIQzQAgAAKzgCAAxSDAIAAAS6AgAAMpACAAAJBAIAAgqyAgAADgICAAAHdgA== Date: Sun, 19 May 2013 00:13:27 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7201F50963@ltcfiswmsgmb26> References: <5194F65F.6080503@a1poweruser.com> <5194FB0A.9090400@tundraware.com> <13CA24D6AB415D428143D44749F57D7201F4D41F@ltcfiswmsgmb26> <5197998E.6050200@sneakertech.com> <51979A8B.8080703@tundraware.com> <5197A526.7020302@sneakertech.com> <20130518180634.9e5fd3c2.freebsd@edvax.de> <519814A7.8070702@sneakertech.com> <13CA24D6AB415D428143D44749F57D7201F508F2@ltcfiswmsgmb26> In-Reply-To: <13CA24D6AB415D428143D44749F57D7201F508F2@ltcfiswmsgmb26> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.126] Content-Type: text/plain; charset="Windows-1252" Content-ID: <17E8B62C93CED544A571D62DB5C4E97E@fisglobal.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626, 1.0.431, 0.0.0000 definitions=2013-05-18_08:2013-05-17,2013-05-18,1970-01-01 signatures=0 Cc: "" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 May 2013 00:13:29 -0000 On May 18, 2013, at 5:06 PM, Teske, Devin wrote: >=20 > On May 18, 2013, at 4:54 PM, Quartz wrote: >=20 >>=20 >>> #foo works with sh >>=20 >> Is it actually part of the official spec though is what I'm wondering, o= r is it a case of other shells not rejecting 'advanced' statements when run= ning in emulation. >>=20 >=20 > Shells don't have an "emulation mode". The shell supports what it support= s, and no shell that I've ever used had an "emulation mode" to act like ano= ther shell. >=20 I say this from a FreeBSD context. It may entirely be possible that a Linux= distro uses bash in /bin/sh -- and it's entirely possible that bash may ac= t differently if ARGV[0] is /bin/sh. But I wouldn't call this emulation. I'= d call it standardization. When bash is invoked with an ARGV[0] of bash or "{anything}/bash", it will = act "more like bash" and "less like standardized bourne shell, aka POSIX co= mpliant /bin/sh" (notice I didn't insert the name of any other shell, like = ash, dash, etc. but instead I said "like [a] standardized bourne shell". Th= at is to say that bash will more strictly adhere to POSIX bourne shell stan= dards when ARGV[0] is /bin/sh versus "bash". Even when bash clamps down on the bash-specific features if/when ARGV[0] is= /bin/sh=85 you still have access to constructs such as ${#foo}. All that being said=85 csh/tcsh has no such "standards comliancy mode" (wha= t you called emulation). In fact=85 csh/tcsh don't follow the POSIX standar= ds (or if it does=85 *extremely* loosely; see "handling of file descriptors= " below in replied-to text). --=20 Devin > Maybe you're referring to as "emulation" is actually the invocation line = of the shell script. >=20 > Make no mistake=85 when you change the invocation (first) line of a shell= script from: >=20 > #/bin/sh >=20 > to: >=20 > #/bin/tcsh >=20 > You are not instructing a shell to "emulate" anything, you are actually u= sing a different shell. >=20 > sh !=3D tcsh !=3D bash !=3D ash !=3D dash !=3D zsh >=20 > Your script will use the shell that is written in the innovation line and= the features you get are respective to which shell you choose. >=20 >=20 >=20 >>=20 >>> At least FreeBSD's implementation of sh (which is ash, I think) >>> supports the # functionality. >>=20 >> The reason I say all this is that my copy of tcsh (on this not-freebsd m= achine) *doesn't* work with this when in sh emulation. >>=20 >=20 > Get the idea that "csh" or "tcsh" are *anything* like sh out of your mind. >=20 > Further, you almost *never* want to do any serious shell programming in c= sh or tcsh. >=20 > Why? Because csh and tcsh have an incomplete programming spec. Most notab= ly are the way that it handles pipe data and the standard-output/error file= descriptors. Specifically, you cannot throw away stdout while keeping stde= rr. This short-coming may not be noticeable to all programmers that choose = csh/tcsh, but if you want to do any serious programming, you'll eventually = hit those limitations and be forced to move to a real shell (real in the se= nse that it has a complete programming specification). >=20 > I personally never recommend csh/tcsh as a scripting language=85 but I ca= n see the benefit that certain constructs (like "repeat N cmd") have, purel= y for their simplicity (and readability for *very* short scripts). To chall= enge myself on this topic, I routinely try and cross-port very complex shel= l scripts to csh, and while I can do math with "let" and I can other things= that a *normal* scripting language should allow=85 I invariably end up run= ning away screaming in frustration. >=20 > Again, >=20 > csh !=3D tcsh !=3D sh !=3D bash !=3D ash !=3D dash !=3D zsh > --=20 > Devin >=20 > _____________ > 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" _____________ 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 Sun May 19 00:51:42 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D0AF26A1; Sun, 19 May 2013 00:51:42 +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 BB423BDE; Sun, 19 May 2013 00:51:42 +0000 (UTC) Received: from [10.0.10.1] ([173.88.196.224]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Sat, 18 May 2013 17:51:43 -0700 Message-ID: <5198221D.5040601@a1poweruser.com> Date: Sat, 18 May 2013 20:51:41 -0400 From: Joe User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Devin Teske Subject: Re: netgraph network setup for jail(8) vnet jails. References: <5197A06A.9080401@a1poweruser.com> <13CA24D6AB415D428143D44749F57D7201F5076A@ltcfiswmsgmb26> In-Reply-To: <13CA24D6AB415D428143D44749F57D7201F5076A@ltcfiswmsgmb26> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 May 2013 00:51:43.0495 (UTC) FILETIME=[08014170:01CE542B] X-Sender: fbsd8@a1poweruser.com X-Authenticated-Sender: fbsd8@a1poweruser.com X-EchoSenderHash: [fbsd8]-[a1poweruser*com] Cc: "" 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, 19 May 2013 00:51:42 -0000 Teske, Devin wrote: > Sorry for top-post, but just wanted to add a quick note: > > The output of "ngctl dot" would be very helpful to others in debugging your setup. graph netgraph { edge [ weight = 1.0 ]; node [ shape = record, fontsize = 12 ] { "1" [ label = "{rl0:|{ether|[1]:}}" ]; "5" [ label = "{bridge0:|{bridge|[5]:}}" ]; "9" [ label = "{ngeth0:|{eiface|[9]:}}" ]; "e" [ label = "{ngctl2355:|{socket|[e]:}}" ]; }; subgraph cluster_disconnected { bgcolor = pink; "e"; }; node [ shape = octagon, fontsize = 10 ] { "1.upper" [ label = "upper" ]; "1.lower" [ label = "lower" ]; }; { edge [ weight = 2.0, style = bold ]; "1" -- "1.upper"; "1" -- "1.lower"; }; node [ shape = octagon, fontsize = 10 ] { "5.link2" [ label = "link2" ]; "5.link1" [ label = "link1" ]; "5.link0" [ label = "link0" ]; }; { edge [ weight = 2.0, style = bold ]; "5" -- "5.link2"; "5" -- "5.link1"; "5" -- "5.link0"; }; "5.link1" -- "1.upper"; "5.link0" -- "1.lower"; node [ shape = octagon, fontsize = 10 ] { "9.ether" [ label = "ether" ]; }; { edge [ weight = 2.0, style = bold ]; "9" -- "9.ether"; }; "9.ether" -- "5.link2"; }; From owner-freebsd-questions@FreeBSD.ORG Sun May 19 01:33:53 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id F025E1D7 for ; Sun, 19 May 2013 01:33:53 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wi0-x236.google.com (mail-wi0-x236.google.com [IPv6:2a00:1450:400c:c05::236]) by mx1.freebsd.org (Postfix) with ESMTP id 87D04D2E for ; Sun, 19 May 2013 01:33:53 +0000 (UTC) Received: by mail-wi0-f182.google.com with SMTP id c10so1208839wiw.9 for ; Sat, 18 May 2013 18:33:52 -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=BCCAWkD+LHGFtQKrGpVH10tSAhrDAdN8jJ/6+4yLY54=; b=R/u9L3IPKhDkqCj+ZJzctmx+qUHJ4jV+XKhY/s51Q9YBsV9GCDKwr8lhz7DqcjrPzX o7rxxTBj4/y+AvDvVaR2F737AWO0/MlicTqrE6lK9uME1ruZSsCBKtOHQeJH45MTrxsQ l8Fuu2hddXaVzCnUyd7ZkevanatKYGXvPopVK1DW6T81vbUnjXssu0OlMdpDiJeaG/4I q0AlnWlbyafi2Yw9RzYZAhCIEyCNhi6eZkqBdy9hh4QG1dM+iNYCTnSc1VmaDmJrDpC1 upSvA76LvpuCt/XZajipJ973PEByG9MlSSdtDr79aOLe80P74yb/WCbEGc84rvZBq+5E jepg== X-Received: by 10.180.72.230 with SMTP id g6mr4149351wiv.8.1368927232639; Sat, 18 May 2013 18:33:52 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPSA id dj7sm5809223wib.6.2013.05.18.18.33.51 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Sat, 18 May 2013 18:33:52 -0700 (PDT) Date: Sun, 19 May 2013 02:33:49 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: List Spam Filtering Message-ID: <20130519023349.112cd45d@gumby.homeunix.com> In-Reply-To: <20130517091535.03fd7442@scorpio> References: <201305110134.r4B1Yl8q089784@fire.js.berklix.net> <5195582D.10404@cran.org.uk> <20130517064233.7d34e4cf@scorpio> <51961A75.6060605@cran.org.uk> <20130517131932.03450167@gumby.homeunix.com> <20130517084529.57f67259@scorpio> <20130517140301.38d772cc@gumby.homeunix.com> <20130517091535.03fd7442@scorpio> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.17; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 May 2013 01:33:54 -0000 On Fri, 17 May 2013 09:15:35 -0400 Jerry wrote: > On Fri, 17 May 2013 14:03:01 +0100 > RW articulated: > > > On Fri, 17 May 2013 08:45:29 -0400 > > Jerry wrote: > > > > > On Fri, 17 May 2013 13:19:32 +0100 > > > RW articulated: > > > > > > > On Fri, 17 May 2013 12:54:29 +0100 > > > > Bruce Cran wrote: > > > > > > > > > Yes, seriously. Have you seen the number of people who post > > > > > messages "PLEASE REMOVE ME FROM THIS MAILING LIST!!", > > > > > apparently not understanding how to manage their subscription? > > > > > > > > There's also the likelyhood that reluctant subscribers are less > > > > likely to take care about avoiding various types of backscatter. > > > > > > Well, unless the reluctant subscriber is running an incorrectly > > > configured MTA, I don't see a problem with "backscatter". Now, if > > > they do have a maladjusted MTA, they have more problems then just > > > subscribing to a list. > > > > Out of Office replies, sieve rejects, anti-spam challenges etc > > Yes, an incorrectly configured MTA or one of its milters. Not especially > There are > ways to deal with these assholes. Only some of it, and there's no general way of dealing with the out-of-list component. > Allowing a blanket "open-door" > policy is like setting file permissions on everything to 0777 just > because you are to lazy to find a correct solution to a problem. Actually requiring subscription is pretty much like setting 0777, it's really only a protection against accidental list spamming. If a spammer actually wanted to spam lists he could harvest subscribed addresses, or simply subscribe. From owner-freebsd-questions@FreeBSD.ORG Sun May 19 02:48:42 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 97ED77DC; Sun, 19 May 2013 02:48:42 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 630A9100; Sun, 19 May 2013 02:48:42 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.15]) by ltcfislmsgpa04.fnfis.com (8.14.5/8.14.5) with ESMTP id r4J2mWpF006393 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sat, 18 May 2013 21:48:32 -0500 Received: from LTCFISWMSGMB26.FNFIS.com ([10.132.99.18]) by LTCFISWMSGHT04.FNFIS.com ([10.132.206.15]) with mapi id 14.02.0309.002; Sat, 18 May 2013 21:48:32 -0500 From: "Teske, Devin" To: Joe Subject: Re: netgraph network setup for jail(8) vnet jails. Thread-Topic: netgraph network setup for jail(8) vnet jails. Thread-Index: AQHOU93CBuO69ayRZkOyIHdwpxatO5kL6zyAgAAW54CAACCkgA== Date: Sun, 19 May 2013 02:48:31 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7201F50BEC@ltcfiswmsgmb26> References: <5197A06A.9080401@a1poweruser.com> <13CA24D6AB415D428143D44749F57D7201F5076A@ltcfiswmsgmb26> <5198221D.5040601@a1poweruser.com> In-Reply-To: <5198221D.5040601@a1poweruser.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.126] MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626, 1.0.431, 0.0.0000 definitions=2013-05-18_08:2013-05-17,2013-05-18,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: Devin Teske , "" 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: Sun, 19 May 2013 02:48:42 -0000 On May 18, 2013, at 5:51 PM, Joe wrote: Teske, Devin wrote: Sorry for top-post, but just wanted to add a quick note: The output of "ngctl dot" would be very helpful to others in debugging your= setup. graph netgraph { edge [ weight =3D 1.0 ]; node [ shape =3D record, fontsize =3D 12 ] { "1" [ label =3D "{rl0:|{ether|[1]:}}" ]; "5" [ label =3D "{bridge0:|{bridge|[5]:}}" ]; "9" [ label =3D "{ngeth0:|{eiface|[9]:}}" ]; "e" [ label =3D "{ngctl2355:|{socket|[e]:}}" ]; }; subgraph cluster_disconnected { bgcolor =3D pink; "e"; }; node [ shape =3D octagon, fontsize =3D 10 ] { "1.upper" [ label =3D "upper" ]; "1.lower" [ label =3D "lower" ]; }; { edge [ weight =3D 2.0, style =3D bold ]; "1" -- "1.upper"; "1" -- "1.lower"; }; node [ shape =3D octagon, fontsize =3D 10 ] { "5.link2" [ label =3D "link2" ]; "5.link1" [ label =3D "link1" ]; "5.link0" [ label =3D "link0" ]; }; { edge [ weight =3D 2.0, style =3D bold ]; "5" -- "5.link2"; "5" -- "5.link1"; "5" -- "5.link0"; }; "5.link1" -- "1.upper"; "5.link0" -- "1.lower"; node [ shape =3D octagon, fontsize =3D 10 ] { "9.ether" [ label =3D "ether" ]; }; { edge [ weight =3D 2.0, style =3D bold ]; "9" -- "9.ether"; }; "9.ether" -- "5.link2"; }; I rendered your output by saving it in a file ("joe.dot") and then running: dot -Tsvg -o joe.svg < joe.dot I then uploaded "joe.svg" to my website: http://druidbsd.sf.net/download/joe.svg Compare your output to any of the following: http://druidbsd.sf.net/download/warden0.jbsd.svg http://druidbsd.sourceforge.net/download/folsom.svg It looks like everything is connected properly. A couple thoughts off the top of my head: a. Did you enable promiscuous mode on rl0 via ngctl? (in your script perhap= s?) b. Have you tried giving ngeth0 a new MAC address? (I do this through ngctl= too, but I imagine ifconfig from within the jail could achieve the same th= ing) -- 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 Sun May 19 06:20:03 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9D205C32 for ; Sun, 19 May 2013 06:20:03 +0000 (UTC) (envelope-from fddi@gmx.it) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by mx1.freebsd.org (Postfix) with ESMTP id 48E68B01 for ; Sun, 19 May 2013 06:20:02 +0000 (UTC) Received: from knuth.default.domain.invalid ([31.177.41.8]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0LjeWC-1U2gLM01pg-00bZIE for ; Sun, 19 May 2013 08:19:56 +0200 Message-ID: <51986F0A.4030509@gmx.it> Date: Sun, 19 May 2013 08:19:54 +0200 From: fddi User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: problems with port upgrade consistency using portsnap X-Provags-ID: V03:K0:qY7Vs31256VCoL56H5ldP4q6RPTTHoYJPSMjrROy1Po0QY515jK iR9HishK2x4dr0uioUc8Jm8czRE5ZBzQ5orfWpKypkYZzqqeDw8bk9wkatBb49Y77ZQdy9T vi1rb8Q0XpJCTRbci0pvCH8x+ctEMGEAV+fZa1aqoIRfK1c2YQW/BFGE3n0cwcKnrPW/Wne EDaH/xu+mtKEZ8gE7QgHw== Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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, 19 May 2013 06:20:03 -0000 Hello, I am using portsnap to update my port collection on FreeBSD 9.1 the first time I ran it a few weeks ago I did| || |||portsnap fetch| || |and then portsnap exctract then I did a crontab script to update ports every night 0 3 * * * /usr/sbin/portsnap -I cron update && pkg_version -vIL= Now after a few weeks pkg_version is reporting me a lot of ports which needs updating dbus-glib-0.100.1 < needs updating (index has 0.100.2) desktop-file-utils-0.18 < needs updating (index has 0.21) dokuwiki-20121013 < needs updating (index has 20130510) freetype2-2.4.11 < needs updating (index has 2.4.12_1) intltool-0.41.1 < needs updating (index has 0.50.2) p5-HTML-Parser-3.70 < needs updating (index has 3.71) p5-LWP-Protocol-https-6.03 < needs updating (index has 6.04) php5-5.4.14 < needs updating (index has 5.4.15) php5-dom-5.4.14 < needs updating (index has 5.4.15) php5-exif-5.4.14 < needs updating (index has 5.4.15) php5-fileinfo-5.4.14 < needs updating (index has 5.4.15) php5-gd-5.4.14 < needs updating (index has 5.4.15) php5-iconv-5.4.14 < needs updating (index has 5.4.15) php5-json-5.4.14 < needs updating (index has 5.4.15) php5-ldap-5.4.14 < needs updating (index has 5.4.15) php5-mbstring-5.4.14 < needs updating (index has 5.4.15) php5-mcrypt-5.4.14 < needs updating (index has 5.4.15) php5-mysql-5.4.14 < needs updating (index has 5.4.15) php5-openssl-5.4.14 < needs updating (index has 5.4.15) php5-session-5.4.14 < needs updating (index has 5.4.15) php5-xml-5.4.14 < needs updating (index has 5.4.15) php5-zlib-5.4.14 < needs updating (index has 5.4.15) py27-sqlite3-2.7.3_3 < needs updating (index has 2.7.5_3) python27-2.7.3_6 < needs updating (index has 2.7.5) roundcube-0.8.6,1 < needs updating (index has 0.9.0,1) sendmail+tls+sasl2+db42-8.14.7 < needs updating (index has 8.14.7_1) sendmail+tls+sasl2-8.14.7 < needs updating (index has 8.14.7_1) shared-mime-info-1.0_2 < needs updating (index has 1.1) wget-1.14 < needs updating (index has 1.14_2) if I use portmaster to upgrade my ports collection it is telling me all packages are up to date... so there is something not working for example py27-sqlite3-2.7.3_3 < needs updating (index has 2.7.5_3) but if I go into /usr/ports/lang/python27 and I look in Makefile, it reports PORTNAME= python27 PORTVERSION= 2.7.3 PORTREVISION= 6 while it should be PORTNAME= python27 PORTVERSION= 2.7.5 PORTREVISION= 3 Looks like the ports database is updated but the ports tree it is not... anyone could give me a hint on why this may happen ? I actually am unable to update my ports collection. thank you very much Rick || From owner-freebsd-questions@FreeBSD.ORG Sun May 19 06:43:42 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id AE8B4E1B for ; Sun, 19 May 2013 06:43:42 +0000 (UTC) (envelope-from quartz@sneakertech.com) Received: from relay01.pair.com (relay01.pair.com [209.68.5.15]) by mx1.freebsd.org (Postfix) with SMTP id 4F64FB64 for ; Sun, 19 May 2013 06:43:41 +0000 (UTC) Received: (qmail 29906 invoked by uid 0); 19 May 2013 06:43:40 -0000 Received: from 173.48.104.62 (HELO ?10.2.2.1?) (173.48.104.62) by relay01.pair.com with SMTP; 19 May 2013 06:43:40 -0000 X-pair-Authenticated: 173.48.104.62 Message-ID: <5198749C.5050904@sneakertech.com> Date: Sun, 19 May 2013 02:43:40 -0400 From: Quartz User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: "" Subject: Re: check variable content size in sh script References: <5194F65F.6080503@a1poweruser.com> <5194FB0A.9090400@tundraware.com> <13CA24D6AB415D428143D44749F57D7201F4D41F@ltcfiswmsgmb26> <5197998E.6050200@sneakertech.com> <51979A8B.8080703@tundraware.com> <5197A526.7020302@sneakertech.com> <20130518180634.9e5fd3c2.freebsd@edvax.de> <519814A7.8070702@sneakertech.com> <13CA24D6AB415D428143D44749F57D7201F508F2@ltcfiswmsgmb26> <13CA24D6AB415D428143D44749F57D7201F50963@ltcfiswmsgmb26> In-Reply-To: <13CA24D6AB415D428143D44749F57D7201F50963@ltcfiswmsgmb26> Content-Type: text/plain; charset=windows-1252; 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, 19 May 2013 06:43:42 -0000 > I say this from a FreeBSD context. It may entirely be possible that a > Linux distro uses bash in /bin/sh Yes. For most (all?) linux distros as well as osx, /bin/sh is actually bash. When I say "emulation mode" I mean running a script with a "#!/bin/sh" header on a system that doesn't have a real copy of sh. Whatever shell ends up running the script is effectively emulating sh's environment, at least in my mind. Bash is well known for not complaining when you use bash-specific features in a script which uses a "#!/bin/sh" header. This trips up many a programmer and causes script failures on systems where sh is not actually bash in disguise. This is why I question some things as to whether they're *really* valid pure sh syntax and not something that just happens to work in whatever shell is pretending to be sh (which I thought was tcsh on this machine I just did that test on, but on second look maybe not). ______________________________________ it has a certain smooth-brained appeal From owner-freebsd-questions@FreeBSD.ORG Sun May 19 09:04:56 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A58615F4 for ; Sun, 19 May 2013 09:04:56 +0000 (UTC) (envelope-from FreeBSD@shaneware.biz) Received: from ipmail06.adl2.internode.on.net (ipmail06.adl2.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:2:6]) by mx1.freebsd.org (Postfix) with ESMTP id 124B8ED6 for ; Sun, 19 May 2013 09:04:55 +0000 (UTC) Received: from ppp247-71.static.internode.on.net (HELO leader.local) ([203.122.247.71]) by ipmail06.adl2.internode.on.net with ESMTP; 19 May 2013 18:34:53 +0930 Message-ID: <519895B3.9060506@ShaneWare.Biz> Date: Sun, 19 May 2013 18:34:51 +0930 From: Shane Ambler User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: fddi Subject: Re: problems with port upgrade consistency using portsnap References: <51986F0A.4030509@gmx.it> In-Reply-To: <51986F0A.4030509@gmx.it> 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: Sun, 19 May 2013 09:04:56 -0000 On 19/05/2013 15:49, fddi wrote: > Hello, > I am using portsnap to update my port collection on FreeBSD 9.1 > > the first time I ran it a few weeks ago I did| > || > |||portsnap fetch| > || > |and then > > portsnap exctract > > > then I did a crontab script to update ports every night > > 0 3 * * * /usr/sbin/portsnap -I cron update && pkg_version -vIL= > > > Now after a few weeks pkg_version is reporting me a lot of ports which > needs updating > py27-sqlite3-2.7.3_3 < needs updating (index has 2.7.5_3) > python27-2.7.3_6 < needs updating (index has 2.7.5) That is correct. You are confusing two different things. portsnap updates the ports tree, which contains the files needed to compile the programs you install. It is only information about the programs and version with instructions to compile. portsnap does not install the programs for you. pkg_version is telling you that the ports tree has information on new versions available of programs you have installed. > if I use portmaster to upgrade my ports collection it is telling me all > packages are up to date... > so there is something not working portmaster installs the binary programs for you. Look into this later if the later info doesn't fix it. > for example > > py27-sqlite3-2.7.3_3 < needs updating (index has 2.7.5_3) This is a python library to add access to sqlite db files. Don't confuse it with python itself. The Makefile for this will be in databases/py-sqlite3 > but if I go into > > /usr/ports/lang/python27 > > and I look in Makefile, it reports > > PORTNAME= python27 > PORTVERSION= 2.7.3 > PORTREVISION= 6 While this isn't the Makefile for py-sqlite3, pkg_version is telling you it knows about python 2.7.5 so this is not the Makefile that pkg_version is looking at, but it would appear to be the file that portmaster is looking at. It looks like you have two copies of the ports tree. Check /etc/portsnap.conf you may have an odd setting for PORTSDIR. Another possibility is you have an odd PORTSDIR defined in your environment, what does echo $PORTSDIR show? You may also have bad settings in cron - run portsnap fetch update manually and see if python27/Makefile changes Start by sorting out why pkg_version and portmaster are using different files before you progress further. From owner-freebsd-questions@FreeBSD.ORG Sun May 19 09:48:25 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 094D1EDA for ; Sun, 19 May 2013 09:48:25 +0000 (UTC) (envelope-from tijl@coosemans.org) Received: from mailrelay009.isp.belgacom.be (mailrelay009.isp.belgacom.be [195.238.6.176]) by mx1.freebsd.org (Postfix) with ESMTP id A0DA0FC3 for ; Sun, 19 May 2013 09:48:24 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlcGALOemFFbsWH6/2dsb2JhbABbgwi/BIJnfxd0gh8BAQVWIgEQCw4KCRYPCQMCAQIBJx4GDQEHAQGIDbtijyEHg1QDj3uBK5dSgxE6 Received: from 250.97-177-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.177.97.250]) by relay.skynet.be with ESMTP; 19 May 2013 11:48:17 +0200 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.7/8.14.7) with ESMTP id r4J9mFWH001036; Sun, 19 May 2013 11:48:16 +0200 (CEST) (envelope-from tijl@coosemans.org) Message-ID: <51989FDA.5070302@coosemans.org> Date: Sun, 19 May 2013 11:48:10 +0200 From: Tijl Coosemans User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:17.0) Gecko/20130517 Thunderbird/17.0.6 MIME-Version: 1.0 To: Dennis Glatting Subject: Re: More than 32 CPUs under 8.4-P References: <1368897188.16472.19.camel@btw.pki2.com> In-Reply-To: <1368897188.16472.19.camel@btw.pki2.com> X-Enigmail-Version: 1.5.1 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="----enig2CCURQTQNSOBAOVEUEQGW" 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, 19 May 2013 09:48:25 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) ------enig2CCURQTQNSOBAOVEUEQGW Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 2013-05-18 19:13, Dennis Glatting wrote: > I have a 4x16=3D64 core server running FreeBSD 8.4-P but only two of th= e > CPUs (2x16=3D32) are enabled. Enabling the other 32 isn't as simple as > changing MAXCPU in param.h (apparently) and recompiling. >=20 > What do I need to do to enable the other 32 cores? Try FreeBSD 9.x. MAXCPU is 64 there. ------enig2CCURQTQNSOBAOVEUEQGW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iF4EAREIAAYFAlGYn98ACgkQfoCS2CCgtisjHQD/fOkeIriZKVDskO9Nzd7M15AB qVvntSiz8AUoxjf5Su8A/jBw1B+wtpUN+ZzuzKUKgJLHmrjYJslxxhyrLCz1M+Rz =b9jY -----END PGP SIGNATURE----- ------enig2CCURQTQNSOBAOVEUEQGW-- From owner-freebsd-questions@FreeBSD.ORG Sun May 19 14:23:09 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 28D998CC for ; Sun, 19 May 2013 14:23:09 +0000 (UTC) (envelope-from the.lists@mgm51.com) Received: from oneyou.mcmli.com (oneyou.mcmli.com [IPv6:2001:470:1d:8da::100]) by mx1.freebsd.org (Postfix) with ESMTP id B4633B75 for ; Sun, 19 May 2013 14:23:08 +0000 (UTC) Received: from sentry.24cl.com (sentry.24cl.com [IPv6:2001:470:89e9:feed::1]) by oneyou.mcmli.com (Postfix) with ESMTPS id 3bD57H0TS0z1DNj for ; Sun, 19 May 2013 10:23:07 -0400 (EDT) Received: from BigBloat (bigbloat.24cl.home [10.20.1.4]) by sentry.24cl.com (Postfix) with ESMTP id EBFD7391C2 for ; Sun, 19 May 2013 10:23:05 -0400 (EDT) Message-ID: <201305191023060093.0071C36F@sentry.24cl.com> X-Mailer: Courier 3.50.00.09.1098 (http://www.rosecitysoftware.com) (P) Date: Sun, 19 May 2013 10:23:06 -0400 From: "Mike." To: freebsd-questions@freebsd.org Subject: 9.1 - new install questions Content-Type: text/plain; charset="ISO-8859-1" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 May 2013 14:23:09 -0000 I just installed 9.1 on a clean disk. The dmesg is at the end of this message. For the network configuration, I selected DHCP for IPv4 and SLAAC for IPv6. When I boot the PC, it appears that dhclient tries to load twice. Why does it try to load the second time? >From the console log: May 18 17:53:15 a31p kernel: Starting dhclient. May 18 17:53:15 a31p kernel: DHCPREQUEST on fxp0 to 255.255.255.255 port 67 May 18 17:53:15 a31p kernel: DHCPREQUEST on fxp0 to 255.255.255.255 port 67 May 18 17:53:15 a31p kernel: DHCPACK from 10.20.1.1 May 18 17:53:15 a31p kernel: bound to 10.20.2.14 -- renewal in 360000 seconds. May 18 17:53:15 a31p kernel: dhclient already running? (pid=1233). Also during the boot process, but earlier, is this message: (aprobe0:ata1:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 00 00 40 00 00 00 00 00 00 (aprobe0:ata1:0:1:0): CAM status: Command timeout (aprobe0:ata1:0:1:0): Error 5, Retry was blocked run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config (aprobe0:ata1:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 00 00 40 00 00 00 00 00 00 (aprobe0:ata1:0:1:0): CAM status: Command timeout (aprobe0:ata1:0:1:0): Error 5, Retry was blocked What is that trying to tell me? The disk appears to work fine, i.e., 9.1 loads up and runs OK. The above adds significantly to the boot time. If it is just informational, is there a way to bypass it? Thanks. dmesg: Copyright (c) 1992-2012 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 9.1-RELEASE #0 r243826: Tue Dec 4 06:55:39 UTC 2012 root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 CPU: Intel(R) Pentium(R) 4 Mobile CPU 1.70GHz (1698.61-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf24 Family = f Model = 2 Stepping = 4 Features=0x3febf9ff real memory = 1073741824 (1024 MB) avail memory = 1031213056 (983 MB) kbd1 at kbdmux0 ctl: CAM Target Layer loaded acpi0: on motherboard acpi_ec0: port 0x62,0x66 on acpi0 acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 3ff00000 (3) failed cpu0: on acpi0 attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: port 0x70-0x71 irq 8 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: on hostb0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0x3000-0x30ff mem 0xe8000000-0xefffffff,0xd0100000-0xd010ffff irq 11 at device 0.0 on pci1 uhci0: port 0x1800-0x181f irq 11 at device 29.0 on pci0 usbus0 on uhci0 uhci1: port 0x1820-0x183f irq 11 at device 29.1 on pci0 usbus1 on uhci1 uhci2: port 0x1840-0x185f irq 11 at device 29.2 on pci0 usbus2 on uhci2 pcib2: at device 30.0 on pci0 pci2: on pcib2 cbb0: mem 0x50000000-0x50000fff irq 11 at device 0.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb1: mem 0x50100000-0x50100fff irq 11 at device 0.1 on pci2 cardbus1: on cbb1 pccard1: <16-bit PCCard bus> on cbb1 fwohci0: mem 0xd0201000-0xd02017ff irq 11 at device 0.2 on pci2 fwohci0: OHCI version 1.0 (ROM=0) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:06:1b:00:10:00:6d:38 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:06:1b:00:6d:38 fwe0: Ethernet address: 02:06:1b:00:6d:38 fwip0: on firewire0 fwip0: Firewire address: 00:06:1b:00:10:00:6d:38 @ 0xfffe00000000, S400, maxrec 2048 dcons_crom0: on firewire0 dcons_crom0: bus_addr 0x14a0000 fwohci0: Initiate bus reset fwohci0: fwohci_intr_core: BUS reset fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1, CYCLEMASTER mode fxp0: port 0x8000-0x803f mem 0xd0200000-0xd0200fff irq 11 at device 8.0 on pci2 miibus0: on fxp0 inphy0: PHY 1 on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow fxp0: Ethernet address: 00:0e:9b:2c:c7:f6 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1860-0x186f at device 31.1 on pci0 ata0: at channel 0 on atapci0 ata1: at channel 1 on atapci0 pci0: at device 31.3 (no driver attached) pcm0: port 0x1c00-0x1cff,0x18c0-0x18ff irq 11 at device 31.5 on pci0 pcm0: pci0: at device 31.6 (no driver attached) acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model Generic PS/2 mouse, device ID 0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 ppc0: port 0x3bc-0x3be,0x7bc-0x7be irq 7 drq 0 on acpi0 ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode ppbus0: on ppc0 plip0: on ppbus0 ppi0: on ppbus0 battery0: on acpi0 acpi_acad0: on acpi0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xcffff,0xdc000-0xdffff,0xe0000-0xeffff pnpid ORM0000 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 acpi_perf0: on cpu0 p4tcc0: on cpu0 firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me) firewire0: bus manager 0 Timecounters tick every 1.000 msec usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 usbus2: 12Mbps Full Speed USB v1.0 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ugen2.1: at usbus2 uhub2: on usbus2 uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered (aprobe0:ata1:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 00 00 40 00 00 00 00 00 00 (aprobe0:ata1:0:1:0): CAM status: Command timeout (aprobe0:ata1:0:1:0): Error 5, Retry was blocked run_interrupt_driven_hooks: still waiting after 60 seconds for xpt_config (aprobe0:ata1:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 00 00 40 00 00 00 00 00 00 (aprobe0:ata1:0:1:0): CAM status: Command timeout (aprobe0:ata1:0:1:0): Error 5, Retry was blocked ada0 at ata0 bus 0 scbus0 target 0 lun 0 ada0: ATA-6 device ada0: 100.000MB/s transfers (UDMA5, PIO 8192bytes) ada0: 76319MB (156301488 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad0 cd0 at ata1 bus 0 scbus1 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes) cd0: cd present [1232519 x 2048 byte records] Trying to mount root from ufs:/dev/ada0p2 [rw]... fxp0: link state changed to UP -fini- From owner-freebsd-questions@FreeBSD.ORG Sun May 19 14:57:30 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id ACE6C4A9 for ; Sun, 19 May 2013 14:57:30 +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 9D0DDD46 for ; Sun, 19 May 2013 14:57:30 +0000 (UTC) Received: from [10.0.10.1] ([173.88.196.224]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 19 May 2013 07:57:31 -0700 Message-ID: <5198E85A.9000702@a1poweruser.com> Date: Sun, 19 May 2013 10:57:30 -0400 From: Joe User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "" Subject: does ifconfig see netgraph bridges? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 May 2013 14:57:31.0660 (UTC) FILETIME=[3044B4C0:01CE54A1] 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: Sun, 19 May 2013 14:57:30 -0000 I create a ng bridge but issuing ifconfig does not show the bridge. Running 9.1-RELEASE. Is this a bug? From owner-freebsd-questions@FreeBSD.ORG Sun May 19 15:51:44 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 27C02CF for ; Sun, 19 May 2013 15:51:44 +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 E748FE79 for ; Sun, 19 May 2013 15:51:43 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by btw.pki2.com (8.14.6/8.14.5) with ESMTP id r4JFpQV9047857; Sun, 19 May 2013 08:51:28 -0700 (PDT) (envelope-from freebsd@pki2.com) Subject: Re: More than 32 CPUs under 8.4-P From: Dennis Glatting To: Tijl Coosemans In-Reply-To: <51989FDA.5070302@coosemans.org> References: <1368897188.16472.19.camel@btw.pki2.com> <51989FDA.5070302@coosemans.org> Content-Type: text/plain; charset="ISO-8859-1" Date: Sun, 19 May 2013 08:51:26 -0700 Message-ID: <1368978686.16472.25.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: r4JFpQV9047857 X-yoursite-MailScanner: Found to be clean X-MailScanner-From: freebsd@pki2.com Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 May 2013 15:51:44 -0000 On Sun, 2013-05-19 at 11:48 +0200, Tijl Coosemans wrote: > On 2013-05-18 19:13, Dennis Glatting wrote: > > I have a 4x16=64 core server running FreeBSD 8.4-P but only two of the > > CPUs (2x16=32) are enabled. Enabling the other 32 isn't as simple as > > changing MAXCPU in param.h (apparently) and recompiling. > > > > What do I need to do to enable the other 32 cores? > > Try FreeBSD 9.x. MAXCPU is 64 there. > Not an option. ZFS hangs on multi-socket systems (Tyan, Supermicro) under 9.1. ZFS does not hang under 8.4. This (and one other 4 socket) is a production system. From owner-freebsd-questions@FreeBSD.ORG Sun May 19 16:26:36 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6DEF5AD7 for ; Sun, 19 May 2013 16:26:36 +0000 (UTC) (envelope-from fddi@gmx.it) Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) by mx1.freebsd.org (Postfix) with ESMTP id 1AAD4F86 for ; Sun, 19 May 2013 16:26:35 +0000 (UTC) Received: from knuth.default.domain.invalid ([31.177.41.8]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0LtDpH-1UTgI037n9-012oVK; Sun, 19 May 2013 18:26:32 +0200 Message-ID: <5198FD3A.4040603@gmx.it> Date: Sun, 19 May 2013 18:26:34 +0200 From: fddi User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Shane Ambler Subject: Re: problems with port upgrade consistency using portsnap References: <51986F0A.4030509@gmx.it> <519895B3.9060506@ShaneWare.Biz> In-Reply-To: <519895B3.9060506@ShaneWare.Biz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:AzkqiLTiK68JSFaaW8STwoaw47KKFFPQmmUgf16cikb8M99XG3f HqynP7t1cIkuOj+IbadqgHrVtPAgFQge1bUjpzHb0HT2CNjUQWQLgTbVCKxCjnh5/Judjp4 2TPmxpwiL/xyY9eXsYvVMqFcE+TsaPS4vY6BD1pOHkokqRZW0XqPYSZYIwRH4Kmt+w3N94K DsZnYbhym09HgPLJKSJIg== 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, 19 May 2013 16:26:36 -0000 hello, here is from portsnap.conf # PORTSDIR=/usr/ports so it is /usr/ports instead in my environment $PORTSDIR is undefined. Here is /usr/ports/lang/python27/Makefile PORTNAME= python27 PORTVERSION= 2.7.3 PORTREVISION= 6 after I did portsnap fetch update everythign looks up to date so ther is something wrong in my crontab 0 3 * * * /usr/sbin/portsnap -I cron update && pkg_version -vIL= the problem was in portsnap -I which updates only thr index files... thanks for helping me to identify the issue cheers Rick On 5/19/13 11:04 AM, Shane Ambler wrote: > On 19/05/2013 15:49, fddi wrote: >> Hello, >> I am using portsnap to update my port collection on FreeBSD 9.1 >> >> the first time I ran it a few weeks ago I did| >> || >> |||portsnap fetch| >> || >> |and then >> >> portsnap exctract >> >> >> then I did a crontab script to update ports every night >> >> 0 3 * * * /usr/sbin/portsnap -I cron update && pkg_version -vIL= >> >> >> Now after a few weeks pkg_version is reporting me a lot of ports which >> needs updating > >> py27-sqlite3-2.7.3_3 < needs updating (index has 2.7.5_3) >> python27-2.7.3_6 < needs updating (index has 2.7.5) > > That is correct. You are confusing two different things. portsnap > updates the ports tree, which contains the files needed to compile the > programs you install. It is only information about the programs and > version with instructions to compile. portsnap does not install the > programs for you. > > pkg_version is telling you that the ports tree has information on new > versions available of programs you have installed. > >> if I use portmaster to upgrade my ports collection it is telling me all >> packages are up to date... >> so there is something not working > > portmaster installs the binary programs for you. Look into this later > if the later info doesn't fix it. > >> for example >> >> py27-sqlite3-2.7.3_3 < needs updating (index has >> 2.7.5_3) > > This is a python library to add access to sqlite db files. Don't > confuse it with python itself. The Makefile for this will be in > databases/py-sqlite3 > >> but if I go into >> >> /usr/ports/lang/python27 >> >> and I look in Makefile, it reports >> >> PORTNAME= python27 >> PORTVERSION= 2.7.3 >> PORTREVISION= 6 > > While this isn't the Makefile for py-sqlite3, pkg_version is telling > you it knows about python 2.7.5 so this is not the Makefile that > pkg_version is looking at, but it would appear to be the file that > portmaster is looking at. It looks like you have two copies of the > ports tree. > > Check /etc/portsnap.conf you may have an odd setting for PORTSDIR. > Another possibility is you have an odd PORTSDIR defined in your > environment, what does echo $PORTSDIR show? You may also have bad > settings in cron - run portsnap fetch update manually and see if > python27/Makefile changes > > Start by sorting out why pkg_version and portmaster are using > different files before you progress further. > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Sun May 19 18:32:21 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id EBABABB2 for ; Sun, 19 May 2013 18:32:21 +0000 (UTC) (envelope-from nvass@gmx.com) Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) by mx1.freebsd.org (Postfix) with ESMTP id 8A6FD2FF for ; Sun, 19 May 2013 18:32:21 +0000 (UTC) Received: from [192.168.44.139] ([46.228.204.146]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MB2G8-1Uo4YE1Nqu-009xo7; Sun, 19 May 2013 20:32:14 +0200 Message-ID: <51991AAD.4020201@gmx.com> Date: Sun, 19 May 2013 20:32:13 +0200 From: Nikos Vassiliadis User-Agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: Joe Subject: Re: does ifconfig see netgraph bridges? References: <5198E85A.9000702@a1poweruser.com> In-Reply-To: <5198E85A.9000702@a1poweruser.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:z/+EuGbfQwM4WmssVLydUQ8F4/YmvMw0WBMVauAZrGqbKqk544n VfX36yEos5sWjJdrLxl3Lohm1XzjE46/0Z73It//pnwuWNc7kkkcJ4FhMRn/9lkVNMOFB83 nuDKLM0jJzQKo763uQwvbSIWkqWDTkuDbScJ8EvWL+T9OkFualG7Op4Koi9z3NVmKNqEWDg GcBKURVfF2Sq+Ti5wo2DA== Cc: "" 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, 19 May 2013 18:32:22 -0000 Hi, On 05/19/2013 04:57 PM, Joe wrote: > I create a ng bridge but issuing ifconfig does not show the bridge. > Running 9.1-RELEASE. > Is this a bug? ifconfig is not supposed to know about a netgraph bridge. So this is by design. Also, since the bridge is supposed to be transparent to the network i wouldn't know what kind of information would be relevant to ifconfig, that is the netgraph bridge has no MAC, no IP etc. What info are you after? Nikos From owner-freebsd-questions@FreeBSD.ORG Sun May 19 18:33:23 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9021AC55 for ; Sun, 19 May 2013 18:33:23 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 576F8315 for ; Sun, 19 May 2013 18:33:22 +0000 (UTC) Received: from [82.113.121.196] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Ue8Py-0007RZ-Hg for freebsd-questions@freebsd.org; Sun, 19 May 2013 20:33:14 +0200 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id r4JIXFKe001062 for ; Sun, 19 May 2013 20:33:15 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id r4JIXErk001061 for freebsd-questions@freebsd.org; Sun, 19 May 2013 20:33:14 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Sun, 19 May 2013 20:33:14 +0200 From: Matthias Apitz To: freebsd-questions@freebsd.org Subject: Acer Aspire One D250 && special function keys Message-ID: <20130519183313.GA1016@tiny.Sisis.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD 10.0-CURRENT r235646 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 82.113.121.196 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 May 2013 18:33:23 -0000 Hello, I'm running a 10-CURRENT r250588 on that laptop, which has some special function keys, for example Fn+Down and Fn+Up to control the sound volume; how could I manage to get them to work? On my other netbook, an Asus EeePC 900, I have to load the kmod acpi_asus.ko to get the corresponding keys (Fn+F8/F9) working. Thanks matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: guru@unixarea.de | - Never being an iSlave WWW: http://www.unixarea.de/ | - No proprietary attachments, no HTML/RTF in E-mail phone: +49-170-4527211 | - Respect for open standards From owner-freebsd-questions@FreeBSD.ORG Sun May 19 18:42:50 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0FD07FA8 for ; Sun, 19 May 2013 18:42:50 +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 CF02835D for ; Sun, 19 May 2013 18:42:49 +0000 (UTC) Received: from r56.edvax.de (port-92-195-9-165.dynamic.qsc.de [92.195.9.165]) by mx02.qsc.de (Postfix) with ESMTP id 0320027AF4; Sun, 19 May 2013 20:42:41 +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 r4JIgpwS003906; Sun, 19 May 2013 20:42:51 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 19 May 2013 20:42:51 +0200 From: Polytropon To: Matthias Apitz Subject: Re: Acer Aspire One D250 && special function keys Message-Id: <20130519204251.e92fca4c.freebsd@edvax.de> In-Reply-To: <20130519183313.GA1016@tiny.Sisis.de> References: <20130519183313.GA1016@tiny.Sisis.de> Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@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: Sun, 19 May 2013 18:42:50 -0000 On Sun, 19 May 2013 20:33:14 +0200, Matthias Apitz wrote: > > Hello, > > I'm running a 10-CURRENT r250588 on that laptop, which has some special > function keys, for example Fn+Down and Fn+Up to control the sound > volume; how could I manage to get them to work? On my other netbook, an > Asus EeePC 900, I have to load the kmod acpi_asus.ko to get the > corresponding keys (Fn+F8/F9) working. Did you use xev to check if those keys generate a unique code or symbol? If not, try loading one of the present /boot/kernel/acpi_*.ko modules to see if one of them can enable the functionality. Of course none of the present ones look as if it would support a Acer Aspire One D250, but go ahead and try. :-) If the keys don't work per se (like for comparison the Fn+PageUp key on some IBM laptops to switch the keyboard light on and off - totally independent from the OS -, you need to make sure they emit a code or symbol (you can add that with xmodmap) and then have some program "pick it up" and act accordingly (e. g. calling "mixer vol +10" and "mixer vol -10" for the volume control). The x11/xev program from ports is a nice indicator to check what's working "out of the box", compared to additional ACPI modules in action. For example, I found the Fn + cursor keys on an Lenovo R61i send specific key codes, but no action per default. Instead, the keyboard light does not send any key code, but works. Maybe volume and brightness keys are handled in a similar way on your machine... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun May 19 19:16:41 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 4BC8D3AA for ; Sun, 19 May 2013 19:16:41 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 1091462C for ; Sun, 19 May 2013 19:16:40 +0000 (UTC) Received: from [82.113.121.196] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Ue95z-00011i-DR; Sun, 19 May 2013 21:16:39 +0200 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id r4JJGaFC001242; Sun, 19 May 2013 21:16:37 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id r4JJGZ2m001241; Sun, 19 May 2013 21:16:35 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Sun, 19 May 2013 21:16:35 +0200 From: Matthias Apitz To: Polytropon Subject: Re: Acer Aspire One D250 && special function keys Message-ID: <20130519191634.GA1229@tiny.Sisis.de> References: <20130519183313.GA1016@tiny.Sisis.de> <20130519204251.e92fca4c.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20130519204251.e92fca4c.freebsd@edvax.de> X-Operating-System: FreeBSD 10.0-CURRENT r235646 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 82.113.121.196 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 May 2013 19:16:41 -0000 El día Sunday, May 19, 2013 a las 08:42:51PM +0200, Polytropon escribió: > Did you use xev to check if those keys generate a unique > code or symbol? If not, try loading one of the present > /boot/kernel/acpi_*.ko modules to see if one of them can > enable the functionality. Of course none of the present > ones look as if it would support a Acer Aspire One D250, > but go ahead and try. :-) > > ... They do not give anything in xev(1), I tried this before posting already, and I was afraid of PANIC's just kldloading the acpi_* I will try this tomorrow in single user modus. Thanks matthias -- Sent from my FreeBSD netbook Matthias Apitz | - No system with backdoors like Apple/Android E-mail: guru@unixarea.de | - Never being an iSlave WWW: http://www.unixarea.de/ | - No proprietary attachments, no HTML/RTF in E-mail phone: +49-170-4527211 | - Respect for open standards From owner-freebsd-questions@FreeBSD.ORG Sun May 19 19:54:17 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 12E5CDA9 for ; Sun, 19 May 2013 19:54:17 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-ia0-x232.google.com (mail-ia0-x232.google.com [IPv6:2607:f8b0:4001:c02::232]) by mx1.freebsd.org (Postfix) with ESMTP id DAD967B4 for ; Sun, 19 May 2013 19:54:16 +0000 (UTC) Received: by mail-ia0-f178.google.com with SMTP id i9so6620434iad.23 for ; Sun, 19 May 2013 12:54:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=hm0jlWfcuobtCVRTNx82QkXdfY0c0ijcp9AMrPK+BlA=; b=o38723obzNO4zdDL5kjPwvd3ycHTUL4LlmyEStnazxy7PqgA2w9AAtMwcNhbmEvoVX IMaPXrB8dGW6/xlRCZ8A3hUlTmT0JjOE0xW/pSMZPaE9wj5ac0oBUcM9sMU0qQEMCvWx 1HbJ/XMmqV0i2byS0PGb3nisduyDue1dlxtrqNqqVObY10cDwP+9xuQZs53f2qHy9QwZ DE082uqHsW+DS9J2md6paOYfkwhALeMpagByY7sOqDk9aokbVrAD9x3MZEhRSaXSSoov rJWrn4H2Gy34NhJ1A5LoWlNOuPImX7P2XFKpZOncQ5iapjvU14ln721r19wAchqLFD3J 3SiA== X-Received: by 10.42.21.135 with SMTP id k7mr5462800icb.15.1368993256628; Sun, 19 May 2013 12:54:16 -0700 (PDT) Received: from [192.168.1.34] (c-98-212-197-211.hsd1.il.comcast.net. [98.212.197.211]) by mx.google.com with ESMTPSA id ua6sm8232962igb.0.2013.05.19.12.54.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 19 May 2013 12:54:15 -0700 (PDT) Message-ID: <51992DD0.6010103@gmail.com> Date: Sun, 19 May 2013 14:53:52 -0500 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: More than 32 CPUs under 8.4-P References: <1368897188.16472.19.camel@btw.pki2.com> <51989FDA.5070302@coosemans.org> <1368978686.16472.25.camel@btw.pki2.com> In-Reply-To: <1368978686.16472.25.camel@btw.pki2.com> 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, 19 May 2013 19:54:17 -0000 On 5/19/2013 10:51 AM, Dennis Glatting wrote: > On Sun, 2013-05-19 at 11:48 +0200, Tijl Coosemans wrote: >> On 2013-05-18 19:13, Dennis Glatting wrote: >>> I have a 4x16=64 core server running FreeBSD 8.4-P but only two of the >>> CPUs (2x16=32) are enabled. Enabling the other 32 isn't as simple as >>> changing MAXCPU in param.h (apparently) and recompiling. >>> >>> What do I need to do to enable the other 32 cores? >> >> Try FreeBSD 9.x. MAXCPU is 64 there. >> > > Not an option. > > ZFS hangs on multi-socket systems (Tyan, Supermicro) under 9.1. ZFS does > not hang under 8.4. This (and one other 4 socket) is a production > system. > > Does this seem to describe the problem? http://www.freebsd.org/cgi/query-pr.cgi?pr=177536 You can try switching to 9-stable. Looking at the source for 8.4, it's not being fixed in the 8 series. From owner-freebsd-questions@FreeBSD.ORG Sun May 19 20:00:20 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 31E88F69 for ; Sun, 19 May 2013 20:00:20 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-wg0-x22c.google.com (mail-wg0-x22c.google.com [IPv6:2a00:1450:400c:c00::22c]) by mx1.freebsd.org (Postfix) with ESMTP id C67ED7E4 for ; Sun, 19 May 2013 20:00:19 +0000 (UTC) Received: by mail-wg0-f44.google.com with SMTP id a12so2334781wgh.23 for ; Sun, 19 May 2013 13:00:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=8RJ1mzefk86Zekh8yxZ206MNU5e+Ijoo9reZmb9YOb0=; b=hzJ7OGV1gZ7ieuuW+q8Y0vaw6l9Cj759dRs6uualegbxCl3uX9dBlHh1K9jn7sTb7U buDwJpnRCIU6FYVKXJPRW1JqXmHKWO2HEggck7Da3N+7m6/NjpzszNRFAAESg0GKwASO 6ngN36kURdYln/J3KIlUy+uGzEBXUUvQbPzgWq/8u9u42o0DyvQTu0GnNT4FpDiximCC uA2nyMH6z+CSEOgo8ErTBd4P3LWgD9pe7Eg/ba1ifrReB+EEK5ctpcrUAZRyTqHLS+NI LmufswZfsfoYdF5Zxw/rzO+yivo7CFSJcXmo/748wj4sDqKXL+8S0qdPdPKiR0KhwTcn eq6w== MIME-Version: 1.0 X-Received: by 10.180.74.207 with SMTP id w15mr7621997wiv.19.1368993619027; Sun, 19 May 2013 13:00:19 -0700 (PDT) Received: by 10.194.95.71 with HTTP; Sun, 19 May 2013 13:00:18 -0700 (PDT) Date: Sun, 19 May 2013 22:00:18 +0200 Message-ID: Subject: Unkillable processes From: David Demelier 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: Sun, 19 May 2013 20:00:20 -0000 Hello there, I've had a process on state "pfault" and it was just unkillable, kill -9 had no effects and because the script was doing an infinite loop the machine was slower and slower so the only way to fix that was a reboot. Why kill -9 has still no effects on some bad processes? Regards, -- Demelier David From owner-freebsd-questions@FreeBSD.ORG Sun May 19 20:05:45 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A9CE3BF for ; Sun, 19 May 2013 20:05:45 +0000 (UTC) (envelope-from paul@kraus-haus.org) Received: from mail-gh0-f182.google.com (mail-gh0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6EEA2809 for ; Sun, 19 May 2013 20:05:44 +0000 (UTC) Received: by mail-gh0-f182.google.com with SMTP id z15so542931ghb.27 for ; Sun, 19 May 2013 13:05:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:subject:mime-version:content-type:from:in-reply-to:date :cc:content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=CsTr4fsq3dLrFIJ9/yYFpLARJOf9L63wUmi6GqOb+c4=; b=VdSjxpD2Bf/VpYVtWIruMXN8rA9K0mnpY/xWbl+IgPuT5TWgxTUiNRmm/ATwFA1FVo TfK79mptd1uvE/tC92EKh7ypiqjIZ3UgujVYaZXrJbJ1+kTxT/lO9331l3nOax3t1ljY e7AHmFKdCPBerrFk4uYz6d+HAjEFvLwosBN7fYMRtYb1FkkdLRiEmwO0wyQ0CZmYT9dt /tcX6NfHeyKmPKYJQwc/4+ui9RenAjiG6faUyyoPNdE9zbjDGkhn0NgEztVZ3QFSAmKZ p6ZJcSjni5pfDg5Rb8zNqtsxCvIJzqf6LWq33tK1diYjp+oUoHbNJ9iiKyl7l+1CqYWY 9Pbw== X-Received: by 10.236.138.232 with SMTP id a68mr2300316yhj.29.1368993938166; Sun, 19 May 2013 13:05:38 -0700 (PDT) Received: from [192.168.2.66] ([96.236.21.119]) by mx.google.com with ESMTPSA id v27sm34990533yhj.12.2013.05.19.13.05.36 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 19 May 2013 13:05:37 -0700 (PDT) Subject: Re: ZFS install on a partition Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset=us-ascii From: Paul Kraus In-Reply-To: <20130519021642.GC3841@neutralgood.org> Date: Sun, 19 May 2013 16:05:36 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <372082cab2064846809615a8073e022c@DB3PR07MB059.eurprd07.prod.outlook.com> <20130519021642.GC3841@neutralgood.org> To: kpneal@pobox.com X-Mailer: Apple Mail (2.1503) X-Gm-Message-State: ALoCoQml14TmEN962KH/KeUGq+0/x+NKM6ACvKHQ6PoEB+T5WP5c9BzSHeSGS/XjOJHZZpMFMz1+ Cc: Ivailo Tanusheff , Liste FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 May 2013 20:05:45 -0000 On May 18, 2013, at 10:16 PM, kpneal@pobox.com wrote: > On Sat, May 18, 2013 at 01:29:58PM +0000, Ivailo Tanusheff wrote: >> Not sure about your calculations, hope you trust them, but in my = previous company we have a 3-4 months period when a disk fails almost = every day on 2 year old servers, so trust me - I do NOT trust those = calculations, as I've seen the opposite. Maybe it was a failed batch of = disk, shipped in the country, but no one is insured against this. Yes, = you can use several hot spares on the software raid, but: >=20 > What calculations are you talking about? He posted the uncorrectable = read > error probabilities manufacturers put into drive datasheets. The = probability > of a URE is distinct from and very different from the probability of = the > entire drive failing. I think he is referring to the calculation I did based on = uncorrectable error rate and whether you will run into that type of = error over the life of the drive. 1 TB =3D=3D 8,796,093,022,208 bits 10^15 (in bits) / 1 TB ~=3D 113.687 So if over the life of the drive you READ a TOTAL of 113.687 TB, = then you will, statistically speaking, run into one uncorrectable read = error and potentially return bad data to the application or OS. This = does NOT scale with size of drive, it is the same for all drives with an = uncorrectable error rate of 10^-15 bits. So if you read the entirety of = a 1 TB drive 114 times or a 4 TB 29 times you get the same result. But this is a statistical probability, and some drives will have = more (much more) uncorrectable errors and others will have less (much = less), although I don't know if the distribution falls on a typical = gaussian (bell) curve. -- Paul Kraus Deputy Technical Director, LoneStarCon 3 Sound Coordinator, Schenectady Light Opera Company From owner-freebsd-questions@FreeBSD.ORG Sun May 19 20:22:05 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7FEC73A6 for ; Sun, 19 May 2013 20:22:05 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 45D5E8A6 for ; Sun, 19 May 2013 20:22:04 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UeA7G-0008V7-8m for freebsd-questions@freebsd.org; Sun, 19 May 2013 22:22:02 +0200 Received: from pool-173-79-84-117.washdc.fios.verizon.net ([173.79.84.117]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 19 May 2013 22:22:02 +0200 Received: from nightrecon by pool-173-79-84-117.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 19 May 2013 22:22:02 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Subject: Re: problems with port upgrade consistency using portsnap Date: Sun, 19 May 2013 16:21:47 -0400 Lines: 18 Message-ID: References: <51986F0A.4030509@gmx.it> <519895B3.9060506@ShaneWare.Biz> <5198FD3A.4040603@gmx.it> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-84-117.washdc.fios.verizon.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: nightrecon@hotmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 May 2013 20:22:05 -0000 fddi wrote: [snip] > > so ther is something wrong in my crontab > > 0 3 * * * /usr/sbin/portsnap -I cron update && pkg_version -vIL= See man portsnap, section TIPS - it shows example of correct way: 0 3 * * * root /usr/sbin/portsnap cron The TIPS section contains more details. [snip] -Mike From owner-freebsd-questions@FreeBSD.ORG Sun May 19 20:28:16 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B3F41525 for ; Sun, 19 May 2013 20:28:16 +0000 (UTC) (envelope-from paul@kraus-haus.org) Received: from mail-ye0-f180.google.com (mail-ye0-f180.google.com [209.85.213.180]) by mx1.freebsd.org (Postfix) with ESMTP id 79E9F8E0 for ; Sun, 19 May 2013 20:28:16 +0000 (UTC) Received: by mail-ye0-f180.google.com with SMTP id r11so1343113yen.11 for ; Sun, 19 May 2013 13:28:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:subject:mime-version:content-type:from:in-reply-to:date :cc:content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=3satUd4FtrICgETB7ojToVPRrf8GVIBOcbMvYG+c8/g=; b=evWYK4Pr+Z1mHIKki11J1GHRS9Ty/7C0Sj8ZxoKELOdPTyW/VTaUaHiUIKkCx3ae/l W5bP6E/vOmQTkU8Q2prc2DG34fUIFNLxU47CYbCWhtFJw891E7dd1hQS4jlXp4xEeG7g AWhW1SsmtYo6Ke7QRUVinJc/SnRiKZCtLDOE0vJosibqVNWXc3/hS7R7A6j6RRfj/fb+ M86tFNuo6yc4rLRmJAyOTnizDEAzT3wvaICp2Rk7Dup6ooM34a1JTLggKYB8SxzmM5H7 yzRrp0A0Mo6N4pOBjDEPnQdzej7eb+51L3S0Z+hRJv/Dxc+3JAmm8Zc+VFaQYmL/hpup dujA== X-Received: by 10.236.73.165 with SMTP id v25mr9346058yhd.141.1368995289614; Sun, 19 May 2013 13:28:09 -0700 (PDT) Received: from [192.168.2.66] ([96.236.21.119]) by mx.google.com with ESMTPSA id w62sm35117195yhd.27.2013.05.19.13.28.08 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 19 May 2013 13:28:08 -0700 (PDT) Subject: Re: More than 32 CPUs under 8.4-P Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset=us-ascii From: Paul Kraus In-Reply-To: <1368978686.16472.25.camel@btw.pki2.com> Date: Sun, 19 May 2013 16:28:06 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1368897188.16472.19.camel@btw.pki2.com> <51989FDA.5070302@coosemans.org> <1368978686.16472.25.camel@btw.pki2.com> To: Dennis Glatting X-Mailer: Apple Mail (2.1503) X-Gm-Message-State: ALoCoQnQaNpMdw4izi/5+KyGQENdfB1qCCi0b0COB8/P+aj1NS/Of/YR7l7I1ApBSUM12z+Oa4v8 Cc: Tijl Coosemans , 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, 19 May 2013 20:28:16 -0000 On May 19, 2013, at 11:51 AM, Dennis Glatting wrote: > ZFS hangs on multi-socket systems (Tyan, Supermicro) under 9.1. ZFS = does > not hang under 8.4. This (and one other 4 socket) is a production > system. Can you be more specific, I have been running 9.0 and 9.1 = systems with multi-CPU and all ZFS with no (CPU related*) issues. * I say no CPU related issues because I have run into SATA timeout = issues with an external SATA enclosure with 4 drives (I know, SATA port = expanders are evil, but it is my best option here). Sometimes the zpool = hangs hard, sometimes just becomes unresponsive for a while. My "fix", = such as it is, is to tune the zfs per vdev queue depth as follows: vfs.zfs.vdev.min_pending=3D"3" vfs.zfs.vdev.max_pending=3D"5" The defaults are 5 and 10 respectively, and when I run with those I have = the timeout issues, but only under very heavy I/O load. I only generate = such load when migrating large amounts of data, which thankfully does = not happen all that often. -- Paul Kraus Deputy Technical Director, LoneStarCon 3 Sound Coordinator, Schenectady Light Opera Company From owner-freebsd-questions@FreeBSD.ORG Sun May 19 20:28:25 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 597A95B3 for ; Sun, 19 May 2013 20:28:25 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-ie0-x229.google.com (mail-ie0-x229.google.com [IPv6:2607:f8b0:4001:c03::229]) by mx1.freebsd.org (Postfix) with ESMTP id A0D7F8E1 for ; Sun, 19 May 2013 20:28:24 +0000 (UTC) Received: by mail-ie0-f169.google.com with SMTP id u16so12822682iet.28 for ; Sun, 19 May 2013 13:28:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=VJNO3DNzH76Fh9sivvem49gKDlIVkTf2brFABl4sj18=; b=ColJEmADqUSPpQV8FKTv0b+6LmqABRVNdwg/nwOXfgjBITpuikCw3T/U2GUI/PNVqb g0ujSIa+vezN0P1jG5k2EoMv9WMQqgEZk4V6VWZzGDcm11SezMrOX7V2JV1dafZeWHcT pAIBGqr+c5qSfPBiAICCkCpt0IMfkwF5AFkreS6qHDU8mSQMJwbK4ozZbCZwz1ZYGCqr ImEakhEZ6W3c9oBs81I8sUvm6m3kT6+oEznAMHqrPcK3hod9GXwBRQi2BP/TnxsqPAjf 4HZV9Lj+Q44bV5DD8gw/7lW+hIG+mThjmPx0qbb5EwMm1YM6//QsskJg/d2GpoqG+eLC hDoA== X-Received: by 10.50.41.66 with SMTP id d2mr3509295igl.100.1368995304150; Sun, 19 May 2013 13:28:24 -0700 (PDT) Received: from [192.168.1.34] (c-98-212-197-211.hsd1.il.comcast.net. [98.212.197.211]) by mx.google.com with ESMTPSA id qr3sm13168008igb.1.2013.05.19.13.28.22 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 19 May 2013 13:28:23 -0700 (PDT) Message-ID: <519935D0.5080202@gmail.com> Date: Sun, 19 May 2013 15:28:00 -0500 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: Unkillable processes References: In-Reply-To: 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, 19 May 2013 20:28:25 -0000 On 5/19/2013 3:00 PM, David Demelier wrote: > Hello there, > > I've had a process on state "pfault" and it was just unkillable, kill > -9 had no effects and because the script was doing an infinite loop > the machine was slower and slower so the only way to fix that was a > reboot. > > Why kill -9 has still no effects on some bad processes? > > Regards, > > -- > Demelier David A process can be unkillable if it's holding a lock, like reading from disk. Eventually, the lock will release and it should die. You can use limits to change how much CPU and memory a process can use. My guess is what happened is it started using a lot of memory, but you ran out and have a lot of swap. It was trying to run while using your hard drive instead of ram. With limits, you should be able to prevent it from using swap which could help, and cap the amount of ram and cpu. From owner-freebsd-questions@FreeBSD.ORG Sun May 19 20:41:33 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B31038DD for ; Sun, 19 May 2013 20:41:33 +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 83FB895E for ; Sun, 19 May 2013 20:41:33 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.31]) by ltcfislmsgpa03.fnfis.com (8.14.5/8.14.5) with ESMTP id r4JKfVOX028668 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sun, 19 May 2013 15:41:31 -0500 Received: from LTCFISWMSGMB26.FNFIS.com ([10.132.99.18]) by LTCFISWMSGHT03.FNFIS.com ([10.132.206.31]) with mapi id 14.02.0309.002; Sun, 19 May 2013 15:41:31 -0500 From: "Teske, Devin" To: Nikos Vassiliadis Subject: Re: does ifconfig see netgraph bridges? Thread-Topic: does ifconfig see netgraph bridges? Thread-Index: AQHOVKE1tf210Wa7u0KIurPxajRUVJkNKOuAgAAkHwA= Date: Sun, 19 May 2013 20:41:31 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7201F5198C@ltcfiswmsgmb26> References: <5198E85A.9000702@a1poweruser.com> <51991AAD.4020201@gmx.com> In-Reply-To: <51991AAD.4020201@gmx.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.126] Content-Type: text/plain; charset="Windows-1252" Content-ID: <86295805D3CE3B4DA7E536AFA5626120@fisglobal.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626, 1.0.431, 0.0.0000 definitions=2013-05-19_06:2013-05-17,2013-05-19,1970-01-01 signatures=0 Cc: Joe , "" 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: Sun, 19 May 2013 20:41:33 -0000 On May 19, 2013, at 11:32 AM, Nikos Vassiliadis wrote: > Hi, >=20 > On 05/19/2013 04:57 PM, Joe wrote: >> I create a ng bridge but issuing ifconfig does not show the bridge. >> Running 9.1-RELEASE. >> Is this a bug? >=20 > ifconfig is not supposed to know about a netgraph bridge. So this is > by design. Also, since the bridge is supposed to be transparent to the > network i wouldn't know what kind of information would be relevant to ifc= onfig, that is the netgraph bridge has no MAC, no IP etc. What info > are you after? >=20 To see the upper/lower links to a bridge, you want to execute (as root): ngctl ls -l The output is a bit cluttered, as there's no empty newline between the head= ers as it enumerates the different types. Just as traditional "ls" you can give it a path, however the path is not de= limited by "/" but by ":" to separate the peers, etc. Start small by trying to ls your bridge (and then ls -l your bridge). If me= mory serves (on the go, so don't have a terminal to try this out before giv= ing the tip): ngctl ls -l bridge0: Should perhaps show the connected links. When in doubt=85 go interactive=85 ngctl And try different combinations of "ls" and "ls -l" on the prompt. --=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 Sun May 19 20:48:04 2013 Return-Path: Delivered-To: freebsd-questions@Freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id CE003A41 for ; Sun, 19 May 2013 20:48:04 +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 BF50C993 for ; Sun, 19 May 2013 20:48:01 +0000 (UTC) Received: from [10.0.10.1] ([173.88.196.224]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 19 May 2013 13:47:57 -0700 Message-ID: <51993A7A.8070302@a1poweruser.com> Date: Sun, 19 May 2013 16:47:54 -0400 From: Joe User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-questions@Freebsd.org Subject: ngctl list ? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 19 May 2013 20:47:57.0218 (UTC) FILETIME=[247A4020:01CE54D2] 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: Sun, 19 May 2013 20:48:04 -0000 When I issue "ngctl list" command on the host it only shows the socket for ngctl. I thought it would also show the real NIC interface device names. Am I wrong in thinking that? From owner-freebsd-questions@FreeBSD.ORG Sun May 19 21:03:33 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 236ADD2B for ; Sun, 19 May 2013 21:03:33 +0000 (UTC) (envelope-from david.j.chou@intel.com) Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by mx1.freebsd.org (Postfix) with ESMTP id CC828A14 for ; Sun, 19 May 2013 21:03:32 +0000 (UTC) Received: from azsmga002.ch.intel.com ([10.2.17.35]) by azsmga101.ch.intel.com with ESMTP; 19 May 2013 14:03:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.87,704,1363158000"; d="scan'208,217";a="243858646" Received: from orsmsx106.amr.corp.intel.com ([10.22.225.133]) by AZSMGA002.ch.intel.com with ESMTP; 19 May 2013 14:03:25 -0700 Received: from orsmsx105.amr.corp.intel.com ([169.254.4.106]) by ORSMSX106.amr.corp.intel.com ([169.254.5.62]) with mapi id 14.03.0123.003; Sun, 19 May 2013 14:03:25 -0700 From: "Chou, David J" To: "freebsd-questions@freebsd.org" Subject: How to get kernel source code of free-BSD release 9.1 Thread-Topic: How to get kernel source code of free-BSD release 9.1 Thread-Index: Ac5U1Epsq60fdQJ/RUur+5S1P8SxeA== Date: Sun, 19 May 2013 21:03:24 +0000 Message-ID: <360A224CA5291F458103405CD90949367CB15A60@ORSMSX105.amr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.22.254.138] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 May 2013 21:03:33 -0000 Hi, I have created a virtual machine of PC-BSD release 9.1 64 bit in VMware Pl= ayer Version 5.0.0 build-812388 based on PCBSD9.1-x64-DVD.iso downloaded fr= om ftp://mirrors.isc.org/pub/pcbsd/9.1/amd64/PCBSD9.1-x64-DVD.iso , and set= up network configuration and installed Firefox 20.0 by AppCafe, and configu= red the network setting in Preference->Advanced of Firefox, and I could ac= cess Internet. Now I need to build my own customized kernel, but there is no src subdirect= ory in /usr, so here is my question: 1. Is there any way to install kernel source when I create the virtual = machine from PCBSD9.1-x64-DVD.iso ? 2. Any BKM to get the kernel source after the Virtual Machine already cr= eated as my case now? Thanks! Regards, David From owner-freebsd-questions@FreeBSD.ORG Sun May 19 21:41:30 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A37041BE for ; Sun, 19 May 2013 21:41:30 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 691DFAEF for ; Sun, 19 May 2013 21:41:30 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UeBM8-0003JL-Gd for freebsd-questions@freebsd.org; Sun, 19 May 2013 23:41:28 +0200 Received: from pool-173-79-84-117.washdc.fios.verizon.net ([173.79.84.117]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 19 May 2013 23:41:28 +0200 Received: from nightrecon by pool-173-79-84-117.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 19 May 2013 23:41:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Subject: Re: How to get kernel source code of free-BSD release 9.1 Date: Sun, 19 May 2013 17:41:16 -0400 Lines: 47 Message-ID: References: <360A224CA5291F458103405CD90949367CB15A60@ORSMSX105.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-84-117.washdc.fios.verizon.net X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: nightrecon@hotmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 May 2013 21:41:30 -0000 Chou, David J wrote: > Hi, > > I have created a virtual machine of PC-BSD release 9.1 64 bit in VMware > Player Version 5.0.0 build-812388 based on PCBSD9.1-x64-DVD.iso downloaded > from ftp://mirrors.isc.org/pub/pcbsd/9.1/amd64/PCBSD9.1-x64-DVD.iso , and > setup network configuration and installed Firefox 20.0 by AppCafe, and > configured the network setting in Preference->Advanced of Firefox, and I > could access Internet. > > Now I need to build my own customized kernel, but there is no src > subdirectory in /usr, so here is my question: > > 1. Is there any way to install kernel source when I create the virtual > machine from PCBSD9.1-x64-DVD.iso ? Not sure about PCBSD as I haven't used it, but with regular FreeBSD I believe you can by selecting the appropriate package distribution group. Been a while since I've done an install, but even so the source will be the static RELEASE bits and not contain any security updates. > 2. Any BKM to get the kernel source after the Virtual Machine already > created as my case now? Yes - install the devel/subversion port. Go ahead and create the src directory under /usr. Then do: svn checkout svn://svn.freebsd.org/base/releng/9.1 /usr/src Once having checked out you can then issue a svn update /usr/src command to pull in security updates as they become available over time. There are also two US mirrors available such as: svn checkout svn://svn0.us-east.freebsd.org/base/releng/9.1 /usr/src svn checkout svn://svn0.us-west.freebsd.org/base/releng/9.1 /usr/src I have used the us-east one. There is also a project underway to add in to base an 'svnup', similar in scope to how csup replaced cvsup to make it easier in the future. I believe freebsd-update is also a possibility but I have no experience with it. At any rate, more details can be found in the Handbook. -Mike From owner-freebsd-questions@FreeBSD.ORG Sun May 19 23:55:00 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BF42A60D for ; Sun, 19 May 2013 23:55:00 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-da0-x22d.google.com (mail-da0-x22d.google.com [IPv6:2607:f8b0:400e:c00::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 9E32EEB7 for ; Sun, 19 May 2013 23:55:00 +0000 (UTC) Received: by mail-da0-f45.google.com with SMTP id w3so3518095dad.32 for ; Sun, 19 May 2013 16:55:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=9pgEazcLla+9LrwWT+ujHZXjp4xuZ6Q4jTK6WPKEPMU=; b=QrS5/f5AmYAs4v+9//h7zge1WLIZ+n0XqUEbQeuL55/oxLMkztZ0NmQ/YMjAze1qrU N++6X4o0xdR4A8XjxRwD+wK36JmDBpey/fVYcAkfwlt0pd59HMDbqX3emNYxKgxVXaGy mOQsWUAnD96uE4L+C+i3Re/ZMAOJcZoKg8DlXkGCYCcYUinpOzEaxxwHUoOQLQaO7vvV +9UwgammWR1zZ7rCszhxJsIulWluLxJd6RdSn503q8D67vMhq0X+ESLMbeLOveSMF+al dwGwsZ6+1gr7jDZahGWlQR+aBvvpHp4qJrfFSMoJE+B4qtQ8K2ZgQhgFjyPOb29VfdMH 8NjA== MIME-Version: 1.0 X-Received: by 10.66.50.4 with SMTP id y4mr59302314pan.216.1369007700485; Sun, 19 May 2013 16:55:00 -0700 (PDT) Received: by 10.70.31.195 with HTTP; Sun, 19 May 2013 16:55:00 -0700 (PDT) In-Reply-To: <360A224CA5291F458103405CD90949367CB15A60@ORSMSX105.amr.corp.intel.com> References: <360A224CA5291F458103405CD90949367CB15A60@ORSMSX105.amr.corp.intel.com> Date: Sun, 19 May 2013 18:55:00 -0500 Message-ID: Subject: Re: How to get kernel source code of free-BSD release 9.1 From: Adam Vande More To: "Chou, David J" Content-Type: text/plain; charset=ISO-8859-1 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: Sun, 19 May 2013 23:55:00 -0000 On Sun, May 19, 2013 at 4:03 PM, Chou, David J wro= te: > Hi, > > I have created a virtual machine of PC-BSD release 9.1 64 bit in VMware = Player Version 5.0.0 build-812388 based on PCBSD9.1-x64-DVD.iso downloaded = from ftp://mirrors.isc.org/pub/pcbsd/9.1/amd64/PCBSD9.1-x64-DVD.iso , and s= etup network configuration and installed Firefox 20.0 by AppCafe, and confi= gured the network setting in Preference->Advanced of Firefox, and I could = access Internet. > > Now I need to build my own customized kernel, but there is no src subdire= ctory in /usr, so here is my question: > > 1. Is there any way to install kernel source when I create the virtua= l machine from PCBSD9.1-x64-DVD.iso ? mount_cd9660 /dev/acd0 /mnt && tar -C / /mnt/usr/freebsd-dist/src.txz > 2. Any BKM to get the kernel source after the Virtual Machine already = created as my case now? fetch ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/9.1-RELEASE/src.txz -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Mon May 20 01:45:51 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D5E44971 for ; Mon, 20 May 2013 01:45:51 +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 94BFA22A for ; Mon, 20 May 2013 01:45:51 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by btw.pki2.com (8.14.6/8.14.5) with ESMTP id r4K1jZqf071822; Sun, 19 May 2013 18:45:35 -0700 (PDT) (envelope-from freebsd@pki2.com) Subject: Re: More than 32 CPUs under 8.4-P From: Dennis Glatting To: Paul Kraus In-Reply-To: References: <1368897188.16472.19.camel@btw.pki2.com> <51989FDA.5070302@coosemans.org> <1368978686.16472.25.camel@btw.pki2.com> Content-Type: text/plain; charset="ISO-8859-1" Date: Sun, 19 May 2013 18:45:35 -0700 Message-ID: <1369014335.16472.60.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: r4K1jZqf071822 X-yoursite-MailScanner: Found to be clean X-MailScanner-From: freebsd@pki2.com Cc: Tijl Coosemans , 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, 20 May 2013 01:45:51 -0000 On Sun, 2013-05-19 at 16:28 -0400, Paul Kraus wrote: > On May 19, 2013, at 11:51 AM, Dennis Glatting wrote: > > > ZFS hangs on multi-socket systems (Tyan, Supermicro) under 9.1. ZFS does > > not hang under 8.4. This (and one other 4 socket) is a production > > system. > > Can you be more specific, I have been running 9.0 and 9.1 systems with > multi-CPU and all ZFS with no (CPU related*) issues. > I have (down to) ten FreeBSD/ZFS systems. Five of them are multi-socket populated. All are AMD CPUs of the 6200 series. Two of those multi-socketed systems are simply workstations and don't do much file I/O, so I have yet to see them fault. The remaining three perform significant I/O in the 1-8TB (simultaneous) file range, including sorting, compression, backup, etc (ZFS compression is enabled on some data sets as is dedup on a few minor data sets). I also do iSCSI and NFS from one of these systems. Simply, if I run 9.1 on those three busy systems ZFS will eventually hang under load (within ten hours to a few days) whereas it does not under 8.3/4. Two of those systems are 4x16 cores, one 2x16, and two 2x8 cores. Multiple, simultaneous pbzip2 runs on individual 2-5TB ASCII files generally causes a hang within 10-20 hours. "Hang" means the system is alive and on the network but disk I/O has stopped. Run any command except statically linked executables on a memory volume and they will not run (no output or return to command prompt). This includes "reboot," which never really reboots. The volumes where work is performed are typically 12-33TB RAIDz2 volumes. For example: root@mc:~ # zpool list disk-1 NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT disk-1 16.2T 5.86T 10.4T 36% 1.32x ONLINE - root@mc:~ # zpool status disk-1 pool: disk-1 state: ONLINE scan: scrub repaired 0 in 21h53m with 0 errors on Mon Apr 29 01:52:55 2013 config: NAME STATE READ WRITE CKSUM disk-1 ONLINE 0 0 0 raidz2-0 ONLINE 0 0 0 da2 ONLINE 0 0 0 da3 ONLINE 0 0 0 da4 ONLINE 0 0 0 da7 ONLINE 0 0 0 da5 ONLINE 0 0 0 da6 ONLINE 0 0 0 cache da0 ONLINE 0 0 0 errors: No known data errors > * I say no CPU related issues because I have run into SATA timeout > issues with an external SATA enclosure with 4 drives (I know, SATA port > expanders are evil, but it is my best option here). Sometimes the zpool > hangs hard, sometimes just becomes unresponsive for a while. My "fix", > such as it is, is to tune the zfs per vdev queue depth as follows: > > vfs.zfs.vdev.min_pending="3" > vfs.zfs.vdev.max_pending="5" > I've not tried those. Currently, these are mine: vfs.zfs.write_limit_override="1G" vfs.zfs.arc_max="8G" vfs.zfs.txg.timeout=15 vfs.zfs.cache_flush_disable=1 # Recommended from the net # April, 2013 vfs.zfs.l2arc_norw=0 # Default is 1 vfs.zfs.l2arc_feed_again=0 # Default is 1 vfs.zfs.l2arc_noprefetch=0 # Default is 0 vfs.zfs.l2arc_feed_min_ms=1000 # Default is 200 > The defaults are 5 and 10 respectively, and when I run with those I > have the timeout issues, but only under very heavy I/O load. I only > generate such load when migrating large amounts of data, which > thankfully does not happen all that often. > Two days ago when the 9.1 system hanged I was able to run a static procstat where it inadvertently(?) printed that da0 wasn't responsive on the console. Unfortunately I didn't have a static camcontrol ready so I was unable to query it. That said, according to the criteria from https://wiki.freebsd.org/AvgZfsDeadlockDebug that hang isn't a true ZFS problem, yet hung it was. I have since (today) updated the firmware of most of the devices in that system and it is currently running some tasks. Most of the disks in that system are Seagate but the un-updated devices include three WD disks (RAID1 OS and a swap disk) -- unupdated because I haven't been able to figure WD firmware download out) and a SSD where the manufacturer indicates the firmware diff is minor, though I plan to go back and flash it anyway. If my 4x16 system ever finishes I will be updating its device's firmware too but it is an 8.4-P system and doesn't give me any trouble. Another 4x16 system gave me ZFS trouble under 9.1 but when I downgraded to 8.4-P it has been stable as a rock for the past 22 days often under heavy load. From owner-freebsd-questions@FreeBSD.ORG Mon May 20 02:29:47 2013 Return-Path: Delivered-To: freebsd-questions@Freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 42E733D1 for ; Mon, 20 May 2013 02:29:47 +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 13D4435D for ; Mon, 20 May 2013 02:29:46 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.31]) by ltcfislmsgpa05.fnfis.com (8.14.5/8.14.5) with ESMTP id r4K2Tbw7020535 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Sun, 19 May 2013 21:29:37 -0500 Received: from LTCFISWMSGMB26.FNFIS.com ([10.132.99.18]) by LTCFISWMSGHT03.FNFIS.com ([10.132.206.31]) with mapi id 14.02.0309.002; Sun, 19 May 2013 21:29:37 -0500 From: "Teske, Devin" To: Joe Subject: Re: ngctl list ? Thread-Topic: ngctl list ? Thread-Index: AQHOVNIwXFfQJGFeN0CDQ+tJB0izZpkNreoA Date: Mon, 20 May 2013 02:29:36 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7201F51DFF@ltcfiswmsgmb26> References: <51993A7A.8070302@a1poweruser.com> In-Reply-To: <51993A7A.8070302@a1poweruser.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.126] MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626, 1.0.431, 0.0.0000 definitions=2013-05-19_07:2013-05-17,2013-05-19,1970-01-01 signatures=0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 May 2013 02:29:47 -0000 On May 19, 2013, at 1:47 PM, Joe wrote: When I issue "ngctl list" command on the host it only shows the socket for = ngctl. I thought it would also show the real NIC interface device names. Am I wrong in thinking that? No, you're not wrong, however one wrinkle is that ng_ether(4) has to be com= piled-in to get the netgraph subsystem to attach to your real NIC interface= s. On the system where you're executing "ngctl list" (same thing as "ngctl ls"= ), can you execute: config -x `sysctl -n kern.bootfile` | grep NETGRAPH_ETHER and get back something like the following (which I get back from my system): options NETGRAPH_ETHER # ng_ether(4) (and on that system, I get the following for "ngctl ls") root@folsom.vicor.com ~ # ngctl ls There are 16 total nodes: Name: em0 Type: ether ID: 00000003 Num hooks: 0 Name: em1 Type: ether ID: 00000004 Num hooks: 0 Name: em2 Type: ether ID: 00000005 Num hooks: 0 Name: ng0_beefcake Type: eiface ID: 00000018 Num hooks: 1 Name: ng0_stats Type: eiface ID: 0000000f Num hooks: 1 Name: ngctl21992 Type: socket ID: 0000005f Num hooks: 0 Name: ng0_cfg0_vlbxri Type: eiface ID: 00000024 Num hooks: 1 Name: igb0bridge Type: bridge ID: 00000008 Num hooks: 4 Name: ng0_ipu0a_vlbxr Type: eiface ID: 00000037 Num hooks: 1 Name: ng0_ipm0_vlbxri Type: eiface ID: 0000002d Num hooks: 1 Name: igb1bridge Type: bridge ID: 0000001d Num hooks: 8 Name: ng0_oos0a_vlbxr Type: eiface ID: 00000042 Num hooks: 1 Name: ng0_opm0_vlbxri Type: eiface ID: 0000004e Num hooks: 1 Name: ng0_wss0a_vlbxr Type: eiface ID: 0000005b Num hooks: 1 Name: igb0 Type: ether ID: 00000001 Num hooks: 2 Name: igb1 Type: ether ID: 00000002 Num hooks: 2 NOTE: Alternatively=85 if you don't get a response back from config(8) simi= lar to the above,=85 does "kldstat" show an "ng_ether" entry? I think last = time I tried to load ng_ether(4) as a module (versus compiled-in), it didn'= t list any of my ether devices ("Type: ether" in above "ngctl ls" output). -- 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 Mon May 20 02:55:15 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 862BD72A for ; Mon, 20 May 2013 02:55:15 +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 29263619 for ; Mon, 20 May 2013 02:55:15 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by btw.pki2.com (8.14.6/8.14.5) with ESMTP id r4K2sxwo096110; Sun, 19 May 2013 19:54:59 -0700 (PDT) (envelope-from dg@pki2.com) Subject: Re: More than 32 CPUs under 8.4-P From: Dennis Glatting To: Paul Kraus In-Reply-To: <1369014335.16472.60.camel@btw.pki2.com> References: <1368897188.16472.19.camel@btw.pki2.com> <51989FDA.5070302@coosemans.org> <1368978686.16472.25.camel@btw.pki2.com> <1369014335.16472.60.camel@btw.pki2.com> Content-Type: text/plain; charset="ISO-8859-1" Date: Sun, 19 May 2013 19:54:59 -0700 Message-ID: <1369018499.16472.65.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: r4K2sxwo096110 X-yoursite-MailScanner: Found to be clean X-MailScanner-From: dg@pki2.com Cc: Tijl Coosemans , 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, 20 May 2013 02:55:15 -0000 Minutes after I typed that message 2x16 the system paniced with the following back trace: kdb_backtrace panic vdev_deadman vdev_deadman vdev_deadman spa_deadman softclock intr_event_execute_handlers ithread_loop fork_exit fork_trampoline I had just created a memory disk when that happened: root@iirc:~ # mdconfig -a -t swap -s 1g -u 1 root@iirc:~ # newfs -U /dev/md1 root@iirc:~ # mount /dev/md1 /mnt root@iirc:~ # cp -p procstat kgdb /mnt root@iirc:~ # cd /rescue/ root@iirc:/rescue # cp -p * /mnt On Sun, 2013-05-19 at 18:45 -0700, Dennis Glatting wrote: > On Sun, 2013-05-19 at 16:28 -0400, Paul Kraus wrote: > > On May 19, 2013, at 11:51 AM, Dennis Glatting wrote: > > > > > ZFS hangs on multi-socket systems (Tyan, Supermicro) under 9.1. ZFS does > > > not hang under 8.4. This (and one other 4 socket) is a production > > > system. > > > > Can you be more specific, I have been running 9.0 and 9.1 systems with > > multi-CPU and all ZFS with no (CPU related*) issues. > > > > I have (down to) ten FreeBSD/ZFS systems. Five of them are multi-socket > populated. All are AMD CPUs of the 6200 series. Two of those > multi-socketed systems are simply workstations and don't do much file > I/O, so I have yet to see them fault. > > The remaining three perform significant I/O in the 1-8TB (simultaneous) > file range, including sorting, compression, backup, etc (ZFS compression > is enabled on some data sets as is dedup on a few minor data sets). I > also do iSCSI and NFS from one of these systems. > > Simply, if I run 9.1 on those three busy systems ZFS will eventually > hang under load (within ten hours to a few days) whereas it does not > under 8.3/4. Two of those systems are 4x16 cores, one 2x16, and two 2x8 > cores. Multiple, simultaneous pbzip2 runs on individual 2-5TB ASCII > files generally causes a hang within 10-20 hours. > > "Hang" means the system is alive and on the network but disk I/O has > stopped. Run any command except statically linked executables on a > memory volume and they will not run (no output or return to command > prompt). This includes "reboot," which never really reboots. > > The volumes where work is performed are typically 12-33TB RAIDz2 > volumes. For example: > > root@mc:~ # zpool list disk-1 > NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT > disk-1 16.2T 5.86T 10.4T 36% 1.32x ONLINE - > > root@mc:~ # zpool status disk-1 > pool: disk-1 > state: ONLINE > scan: scrub repaired 0 in 21h53m with 0 errors on Mon Apr 29 01:52:55 > 2013 > config: > > NAME STATE READ WRITE CKSUM > disk-1 ONLINE 0 0 0 > raidz2-0 ONLINE 0 0 0 > da2 ONLINE 0 0 0 > da3 ONLINE 0 0 0 > da4 ONLINE 0 0 0 > da7 ONLINE 0 0 0 > da5 ONLINE 0 0 0 > da6 ONLINE 0 0 0 > cache > da0 ONLINE 0 0 0 > > errors: No known data errors > > > > * I say no CPU related issues because I have run into SATA timeout > > issues with an external SATA enclosure with 4 drives (I know, SATA port > > expanders are evil, but it is my best option here). Sometimes the zpool > > hangs hard, sometimes just becomes unresponsive for a while. My "fix", > > such as it is, is to tune the zfs per vdev queue depth as follows: > > > > vfs.zfs.vdev.min_pending="3" > > vfs.zfs.vdev.max_pending="5" > > > > I've not tried those. Currently, these are mine: > > vfs.zfs.write_limit_override="1G" > vfs.zfs.arc_max="8G" > vfs.zfs.txg.timeout=15 > vfs.zfs.cache_flush_disable=1 > > # Recommended from the net > # April, 2013 > vfs.zfs.l2arc_norw=0 # Default is 1 > vfs.zfs.l2arc_feed_again=0 # Default is 1 > vfs.zfs.l2arc_noprefetch=0 # Default is 0 > vfs.zfs.l2arc_feed_min_ms=1000 # Default is 200 > > > > The defaults are 5 and 10 respectively, and when I run with those I > > have the timeout issues, but only under very heavy I/O load. I only > > generate such load when migrating large amounts of data, which > > thankfully does not happen all that often. > > > > Two days ago when the 9.1 system hanged I was able to run a static > procstat where it inadvertently(?) printed that da0 wasn't responsive on > the console. Unfortunately I didn't have a static camcontrol ready so I > was unable to query it. > > That said, according to the criteria from > https://wiki.freebsd.org/AvgZfsDeadlockDebug that hang isn't a true ZFS > problem, yet hung it was. > > I have since (today) updated the firmware of most of the devices in that > system and it is currently running some tasks. Most of the disks in that > system are Seagate but the un-updated devices include three WD disks > (RAID1 OS and a swap disk) -- unupdated because I haven't been able to > figure WD firmware download out) and a SSD where the manufacturer > indicates the firmware diff is minor, though I plan to go back and flash > it anyway. > > If my 4x16 system ever finishes I will be updating its device's firmware > too but it is an 8.4-P system and doesn't give me any trouble. Another > 4x16 system gave me ZFS trouble under 9.1 but when I downgraded to 8.4-P > it has been stable as a rock for the past 22 days often under heavy > load. > > > > > > _______________________________________________ > 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" -- Dennis Glatting From owner-freebsd-questions@FreeBSD.ORG Mon May 20 06:11:41 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 85CB4951 for ; Mon, 20 May 2013 06:11:41 +0000 (UTC) (envelope-from s.khanchi@gmail.com) Received: from mail-we0-x235.google.com (mail-we0-x235.google.com [IPv6:2a00:1450:400c:c03::235]) by mx1.freebsd.org (Postfix) with ESMTP id 23E4CE58 for ; Mon, 20 May 2013 06:11:40 +0000 (UTC) Received: by mail-we0-f181.google.com with SMTP id u57so428376wes.26 for ; Sun, 19 May 2013 23:11:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=z/lSzDQVvqWq44Cs1iU/PNGKOwIt4JKsL7Oz5u9TKcU=; b=ZS6tdODvC49OBUlKT+2UoemP73uPBSIf5KDtb1t/CWrBhM1lc+WIrL3PE6tYqx85S8 LijW10knquI+F/azqgvMPdcmB20gENMkbhEH3nc9JF6Os5/38oBNrLMIqS2qFJhcTlpr JBb4ptxBlT9sWp3aAR/ksv6m2Zt8D1jJWzj6DuBrQYSvUcbjA/d22jW/gYtR7e6ACng8 Vd9nzellKAPu2j6qS+wXCIX7uqVJ13D0RxZvf3KnoTdWxkomy41dgnHiG+4fJkZxUDS7 tYGHAqn+U5e/x2Jac7Osxxn2E6n/TpUGJsGQyfxC2zJklACRwjZNFARQWqNO+gxazJj2 g3dw== X-Received: by 10.180.105.231 with SMTP id gp7mr10400002wib.23.1369030300149; Sun, 19 May 2013 23:11:40 -0700 (PDT) MIME-Version: 1.0 Sender: s.khanchi@gmail.com Received: by 10.194.239.195 with HTTP; Sun, 19 May 2013 23:11:20 -0700 (PDT) From: h bagade Date: Mon, 20 May 2013 10:41:20 +0430 X-Google-Sender-Auth: 4DlTnthKmsNAaArzKotIIdsNlVk Message-ID: Subject: Subversion load problem- "svnadmin: Dump stream contains a malformed header (with no ':')" 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, 20 May 2013 06:11:41 -0000 Hi all, I have problem loading a partial dump of one repository into a new repository. When I try to load a partial dump of the old repository, which paths also corrected, I've got the "Checksum mismatch" error for a file. When I try to replace the "Text-content-md5" field of the file on the dump with the correct one using sed command, another error regarding malformed header is occurred("svnadmin: Dump stream contains a malformed header (with no ':')")! I don't know how to fix this problem and I really need this migration to be done. I've searched a lot but couldn't find any solution. Any suggestions or ideas? From owner-freebsd-questions@FreeBSD.ORG Mon May 20 12:34:27 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8FCFA4FF for ; Mon, 20 May 2013 12:34:27 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mx1.bjare.net (mx1.bjare.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id 507C6656 for ; Mon, 20 May 2013 12:34:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.bjare.net (Postfix) with ESMTP id 0D85C5E543 for ; Mon, 20 May 2013 14:34:19 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mx1.bjare.net X-Spam-Flag: NO X-Spam-Score: -0.966 X-Spam-Level: X-Spam-Status: No, score=-0.966 tagged_above=-999 required=5 tests=[AWL=0.032, BAYES_00=-2.599, RCVD_IN_PBL=0.905, RDNS_DYNAMIC=0.1, SPF_SOFTFAIL=0.596] Received: from mx1.bjare.net ([127.0.0.1]) by localhost (mx1.bjare.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 7P9EOe+kmJN1 for ; Mon, 20 May 2013 14:34:14 +0200 (CEST) X-BN-MX1: ja X-BN-MailInfo: BjareNet Received: from bljbsd01.no-ip.org (c224-156-70-80.bjare.net [80.70.156.224]) by mx1.bjare.net (Postfix) with ESMTP id 200565E4C9 for ; Mon, 20 May 2013 14:34:10 +0200 (CEST) Message-ID: <519A1843.3070808@eskk.nu> Date: Mon, 20 May 2013 14:34:11 +0200 From: Leslie Jensen User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: FreeBSD Questions Subject: Delete files with time stamp on Samba Server 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: Mon, 20 May 2013 12:34:27 -0000 I have a remote Samba Server where Windows machines place backup files once a day. The format is backup_2013-05-03_13.45.44_.zip Before the Windows client places the file it removes the file from the day before. In turn I do a backup of the backup files once every week(Friday) to another directory. This directory will eventually fill up and I need to make a check and remove the oldest file maybe once a week before the new file is copied, or put in other words I never want more than 4 files to be in this directory. My scripting skills are not at the level where I can figure this out, so I'll appreciate suggestions on how to solve this in the correct way. Thanks :-) /Leslie From owner-freebsd-questions@FreeBSD.ORG Mon May 20 13:53:23 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id AE9506C2 for ; Mon, 20 May 2013 13:53:23 +0000 (UTC) (envelope-from m@mbg.pt) Received: from mail-vb0-x234.google.com (mail-vb0-x234.google.com [IPv6:2607:f8b0:400c:c02::234]) by mx1.freebsd.org (Postfix) with ESMTP id 72FE4A92 for ; Mon, 20 May 2013 13:53:23 +0000 (UTC) Received: by mail-vb0-f52.google.com with SMTP id p13so3837535vbe.11 for ; Mon, 20 May 2013 06:53:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:x-originating-ip:in-reply-to:references :from:date:message-id:subject:to:cc:content-type:x-gm-message-state; bh=AZ8n5DxRxH+Ndvvx2NDqKB69WFBnYXFyQRuf5tDje9Y=; b=HIbbm+8T8+GGKvFo/Z/UIwU1ckloVzPTVhN4ZiaJxzDqMdM43zRfQLFqBeG83tfrT1 T2IYPrc9zM+du2/3o14MR8x/GBifHYnEM4ISvfXBgRcpVMJ/VxslMG5ekoSXBzKLroXm W8nW0ao16UpF+MV5znBM9YziRvTNQUDg4F9T0ISBUFhb6NkgWKF10rpcrXnrvW0gi+A8 pF3K/3vLYv2EGu9cj5r/5FLaIBbtBzDUG0K7GI3pzXef4NCg7/3e94XocpHx7jlzQ2eA rxpEOahd4HVjVXD3wad/FvuHqljy7t/lm80jCVfQO6NXUfWYzWhCsyrezzoi0q4Qi7Gg NM9A== X-Received: by 10.220.238.4 with SMTP id kq4mr9888102vcb.73.1369058002914; Mon, 20 May 2013 06:53:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.221.9.70 with HTTP; Mon, 20 May 2013 06:52:42 -0700 (PDT) X-Originating-IP: [213.228.167.112] In-Reply-To: <519A1843.3070808@eskk.nu> References: <519A1843.3070808@eskk.nu> From: =?ISO-8859-1?Q?Miguel_Barbosa_Gon=E7alves?= Date: Mon, 20 May 2013 14:52:42 +0100 Message-ID: Subject: Re: Delete files with time stamp on Samba Server To: Leslie Jensen X-Gm-Message-State: ALoCoQmfAEyUG+RybAAn+eN+62t1rDbvWXQtZyrRDvyS7Scti4G5TrmLiVs9n1jB8elh20uMsQBv Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 May 2013 13:53:23 -0000 On 20 May 2013 13:34, Leslie Jensen wrote: > > I have a remote Samba Server where Windows machines place backup files > once a day. The format is > > > backup_2013-05-03_13.45.44_.**zip > > > Before the Windows client places the file it removes the file from the day > before. > > In turn I do a backup of the backup files once every week(Friday) to > another directory. > > This directory will eventually fill up and I need to make a check and > remove the oldest file maybe once a week before the new file is copied, or > put in other words I never want more than 4 files to be in this directory. > > My scripting skills are not at the level where I can figure this out, so > I'll appreciate suggestions on how to solve this in the correct way. > Hi Leslie! I believe this is what you need: --- START --- #!/bin/sh KEEP='5' pg_dump -U gp > /backups/gp.`date +%Y%m%d-%H%M%S`.sql N=1 for file in `ls -r /backups/gp.*` do [ $N -gt $KEEP ] && rm -f $file N=`expr $N + 1` done --- END --- I am using this to keep 5 backup files... Modify as needed. Cheers, Miguel From owner-freebsd-questions@FreeBSD.ORG Mon May 20 14:00:53 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B3B18A0A for ; Mon, 20 May 2013 14:00:53 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mx1.bjare.net (mx1.bjare.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id 472D4B0E for ; Mon, 20 May 2013 14:00:53 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.bjare.net (Postfix) with ESMTP id C83805E55F; Mon, 20 May 2013 16:00:50 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mx1.bjare.net X-Spam-Flag: NO X-Spam-Score: -0.966 X-Spam-Level: X-Spam-Status: No, score=-0.966 tagged_above=-999 required=5 tests=[AWL=0.032, BAYES_00=-2.599, RCVD_IN_PBL=0.905, RDNS_DYNAMIC=0.1, SPF_SOFTFAIL=0.596] Received: from mx1.bjare.net ([127.0.0.1]) by localhost (mx1.bjare.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id aTDiW52StLbq; Mon, 20 May 2013 16:00:42 +0200 (CEST) X-BN-MX1: ja X-BN-MailInfo: BjareNet Received: from bljbsd01.no-ip.org (c224-156-70-80.bjare.net [80.70.156.224]) by mx1.bjare.net (Postfix) with ESMTP id 449695E56F; Mon, 20 May 2013 16:00:34 +0200 (CEST) Message-ID: <519A2C66.9090506@eskk.nu> Date: Mon, 20 May 2013 16:00:06 +0200 From: Leslie Jensen User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Miguel_Barbosa_Gon=E7alves?= Subject: Re: Delete files with time stamp on Samba Server References: <519A1843.3070808@eskk.nu> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit 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, 20 May 2013 14:00:53 -0000 2013-05-20 15:52, Miguel Barbosa Gonçalves skrev: > On 20 May 2013 13:34, Leslie Jensen wrote: > >> >> I have a remote Samba Server where Windows machines place backup files >> once a day. The format is >> >> >> backup_2013-05-03_13.45.44_.**zip >> >> >> Before the Windows client places the file it removes the file from the day >> before. >> >> In turn I do a backup of the backup files once every week(Friday) to >> another directory. >> >> This directory will eventually fill up and I need to make a check and >> remove the oldest file maybe once a week before the new file is copied, or >> put in other words I never want more than 4 files to be in this directory. >> >> My scripting skills are not at the level where I can figure this out, so >> I'll appreciate suggestions on how to solve this in the correct way. >> > > > Hi Leslie! > > I believe this is what you need: > > --- START --- > #!/bin/sh > > KEEP='5' > > pg_dump -U gp > /backups/gp.`date +%Y%m%d-%H%M%S`.sql > > N=1 > for file in `ls -r /backups/gp.*` > do > [ $N -gt $KEEP ] && rm -f $file > N=`expr $N + 1` > done > --- END --- > > I am using this to keep 5 backup files... Modify as needed. > > Cheers, > Miguel > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Thanks Miguel I'll see what I can do with it. /Leslie From owner-freebsd-questions@FreeBSD.ORG Mon May 20 14:46:43 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 56B6F314 for ; Mon, 20 May 2013 14:46:43 +0000 (UTC) (envelope-from xavierfreebsdquestions@gmail.com) Received: from mail-qa0-x22e.google.com (mail-qa0-x22e.google.com [IPv6:2607:f8b0:400d:c00::22e]) by mx1.freebsd.org (Postfix) with ESMTP id 21DB4E4A for ; Mon, 20 May 2013 14:46:43 +0000 (UTC) Received: by mail-qa0-f46.google.com with SMTP id bv4so1569675qab.12 for ; Mon, 20 May 2013 07:46:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=Pb0C6zKqpt8qg57h02s1sDyfW/O1rUXcFEz3l4MHHs0=; b=MOY1mRY5zL264f/tIpKDy0FNOWyfMBltmVJLhdapcgLCUIAzaVvzqdr+o/xA8Rs/x0 tSi36UWIKXRQ71nU5L1LRbxLDO3k6+oAY6UaVoMqPuwJ0tClm7xQyLzVQBbom8YY+U2n I3GXFhLZUp6GUwjSoVl/XVaa1xk9iYXszfwSOzbnDm+DyrbRjbgCuGq/2o05UjAUKCma 3nnznAaqRKrlv9Jh8wvUGAnJyD2jKKnnVxdHGziH55HNcNVxX65UC3k7qQa3C4Mqb8HN V/OMXvvPGPEzqmLqoRuNGHis5L5TpEDwILkE+6fGCnkvdnYH/sNt9BswbD2qnq+ssvmH i4lA== MIME-Version: 1.0 X-Received: by 10.224.119.83 with SMTP id y19mr47408581qaq.7.1369061202719; Mon, 20 May 2013 07:46:42 -0700 (PDT) Received: by 10.49.2.100 with HTTP; Mon, 20 May 2013 07:46:42 -0700 (PDT) Date: Mon, 20 May 2013 16:46:42 +0200 Message-ID: Subject: graphics/shotwell port don't compile right From: Xavier 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: Mon, 20 May 2013 14:46:43 -0000 Hi to all, First, I have ports tree all update: root@casa:/root # date Mon May 20 15:35:57 CEST 2013 root@casa:/root # portsnap fetch update Looking up portsnap.FreeBSD.org mirrors... 6 mirrors found. Fetching snapshot tag from ec2-eu-west-1.portsnap.FreeBSD.org... done. Ports tree hasn't changed since last snapshot. No updates needed. Ports tree is already up to date. root@casa:/root # date Mon May 20 15:36:02 CEST 2013 root@casa:/root # If I try to compile graphics/shotwell don't right: root@casa:/usr/ports/graphics/shotwell # ls -lR total 28 -rw-r--r-- 1 root wheel 2078 24 abr 20:10 Makefile -rw-r--r-- 1 root wheel 141 14 jul 2012 distinfo drwxr-xr-x 2 root wheel 512 20 mai 15:21 files/ -rw-r--r-- 1 root wheel 629 6 nov 2012 pkg-descr -rw-r--r-- 1 root wheel 9673 17 mar 15:04 pkg-plist ./files: total 28 -rw-r--r-- 1 root wheel 3465 14 jul 2012 patch-Makefile -rw-r--r-- 1 root wheel 10926 14 jul 2012 patch-src-camera-CameraTable.vala -rw-r--r-- 1 root wheel 2015 14 jul 2012 patch-src-photos-GRaw.vala -rw-r--r-- 1 root wheel 516 14 jul 2012 patch-src__main.vala -rw-r--r-- 1 root wheel 2225 14 jul 2012 patch-vapi-libraw.vapi root@casa:/usr/ports/graphics/shotwell # file * Makefile: ASCII text distinfo: ASCII text files: directory pkg-descr: ASCII text pkg-plist: ASCII text root@casa:/usr/ports/graphics/shotwell # sha256 * SHA256 (Makefile) = debdd0c8fc709f02cbe4f778200b2e07140eb7505afa584e46932ec336d1 edca SHA256 (distinfo) = 7f798cb45f23cb89969215b9441d82f7c4496f0d40f6748e03beba2a1180 baa0 SHA256 (files) = 864a5491419f7769951139971fdd1726a69a628570966fc213d85b6b3c21002 8 SHA256 (pkg-descr) = bdf56cdc2c2358477c5fc22f945cdad2d1260a78af596331f7239f0a890 5e29e SHA256 (pkg-plist) = 5caf2beae870121650493ca0782a20c6e39a07f164ef2586435c8c1d9da 8432c root@casa:/usr/ports/graphics/shotwell # make ===> License LGPL21 accepted by the user ===> Fetching all distfiles required by shotwell-0.11.6_3 for building ===> Extracting for shotwell-0.11.6_3 => SHA256 Checksum OK for shotwell-0.11.6.tar.bz2. ===> Patching for shotwell-0.11.6_3 ===> Applying FreeBSD patches for shotwell-0.11.6_3 ===> shotwell-0.11.6_3 depends on package: vala>=0.12.0 - found ===> shotwell-0.11.6_3 depends on executable: gmake - found ===> shotwell-0.11.6_3 depends on executable: update-desktop-database - found ===> shotwell-0.11.6_3 depends on executable: gtk-update-icon-cache - found ===> shotwell-0.11.6_3 depends on file: /usr/local/bin/intltool-extract - foun d ===> shotwell-0.11.6_3 depends on shared library: sqlite3 - found ===> shotwell-0.11.6_3 depends on shared library: dbus-glib-1 - found ===> shotwell-0.11.6_3 depends on shared library: gee - found ===> shotwell-0.11.6_3 depends on shared library: json-glib-1.0 - found ===> shotwell-0.11.6_3 depends on shared library: soup-2.4 - found ===> shotwell-0.11.6_3 depends on shared library: gexiv2 - found ===> shotwell-0.11.6_3 depends on shared library: exif - found ===> shotwell-0.11.6_3 depends on shared library: gphoto2 - found ===> shotwell-0.11.6_3 depends on shared library: webkitgtk-1.0 - found ===> shotwell-0.11.6_3 depends on shared library: unique-1.0 - found ===> shotwell-0.11.6_3 depends on shared library: raw - found ===> shotwell-0.11.6_3 depends on shared library: intl - found ===> shotwell-0.11.6_3 depends on shared library: glib-2.0 - found ===> shotwell-0.11.6_3 depends on shared library: pcre - found ===> shotwell-0.11.6_3 depends on shared library: atk-1.0.0 - found ===> shotwell-0.11.6_3 depends on shared library: gconf-2.4 - found ===> shotwell-0.11.6_3 depends on shared library: gdk_pixbuf-2.0.0 - found ===> shotwell-0.11.6_3 depends on shared library: gtk-x11-2.0.0 - found ===> shotwell-0.11.6_3 depends on shared library: gsf-1.114 - found ===> shotwell-0.11.6_3 depends on shared library: IDL-2.0 - found ===> shotwell-0.11.6_3 depends on shared library: rsvg-2.2 - found ===> shotwell-0.11.6_3 depends on shared library: xml2.5 - found ===> shotwell-0.11.6_3 depends on shared library: ORBit-2.0 - found ===> shotwell-0.11.6_3 depends on shared library: pango-1.0.0 - found ===> Configuring for shotwell-0.11.6_3 Configured. Type 'make' to build, 'make install' to install. ===> Building for shotwell-0.11.6_3 valac -c -g --enable-checking --thread --fatal-warnings --vapidir=plugins/ -X -DGETTEXT_PACKAGE='"shotwell"' -X -I. --pkg=gobject-2.0 --pkg=glib-2.0 --pkg=gdk -2.0 --pkg=gtk+-2.0 --includedir=plugins --vapi=plugins/shotwell-plugin-dev-1.0. vapi --header=plugins/shotwell-plugin-dev-1.0.h src/plugins/SpitInterfaces.vala src/plugins/TransitionsInterfaces.vala src/plugins/PublishingInterfaces.vala gtk+-2.0.vapi:5802.40-5802.42: warning: Gtk is deprecated. Use gtk+-3.0 Compilation failed: 0 error(s), 1 warning(s) gmake: *** [plugins/shotwell-plugin-dev-1.0.vapi] Error 1 *** [do-build] Error code 1 Stop in /usr/ports/graphics/shotwell. root@casa:/usr/ports/graphics/shotwell # Can yours help me to debug the problem ? Thanks, see you. From owner-freebsd-questions@FreeBSD.ORG Mon May 20 19:58:50 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 452B76B for ; Mon, 20 May 2013 19:58:50 +0000 (UTC) (envelope-from freebsdenml@fuckaround.org) Received: from mr001msr.fastwebnet.it (mr001msr.fastwebnet.it [85.18.95.64]) by mx1.freebsd.org (Postfix) with ESMTP id 050811A86 for ; Mon, 20 May 2013 19:58:49 +0000 (UTC) Received: from server1.fuckaround.org (93.49.16.11) by mr001msr.fastwebnet.it (8.5.140.03) id 51764783028B130E for freebsd-questions@freebsd.org; Mon, 20 May 2013 21:56:18 +0200 Received: by server1.fuckaround.org (Postfix, from userid 65534) id 0C5A575824C; Mon, 20 May 2013 21:56:18 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on server1.fuckaround.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=7.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.1 Received: from [10.10.10.17] (unknown [10.10.10.17]) by server1.fuckaround.org (Postfix) with ESMTP id BD22175824B for ; Mon, 20 May 2013 21:56:14 +0200 (CEST) Message-ID: <519A8074.7070107@fuckaround.org> Date: Mon, 20 May 2013 21:58:44 +0200 From: Pol Hallen User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: FreeBSD Questions Subject: route problem Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 May 2013 19:58:50 -0000 Hi folks! On my lan I've: server1 re0 - 192.168.1.250 xl0 - 192.168.2.250 default 192.168.1.212 UGS 0 189 re0 127.0.0.1 link#8 UH 0 18 lo0 192.168.1.0/24 link#1 U 0 6145 re0 192.168.1.250 link#1 UHS 0 0 lo0 192.168.2.0/24 link#7 U 0 2282 xl0 192.168.2.250 link#7 UHS 0 0 lo0 and gateway_enable="YES" from server1 I can ping whole lan: 192.168.1.0/24, 192.168.2.0/24 from server2 re0 - 192.168.2.52 Destination Gateway Flags Refs Use Netif Expire default 192.168.2.250 UGS 0 8450 fxp0 127.0.0.1 link#8 UH 0 0 lo0 192.168.2.52 link#6 UHS 0 0 lo0 I can ping 192.168.2.0/24 and ONLY 192.168.1.250. I need ping 192.168.1.0/24 lan but I can only see 192.168.1.250 any idea? thanks! Pol From owner-freebsd-questions@FreeBSD.ORG Mon May 20 20:14:17 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E76A388A for ; Mon, 20 May 2013 20:14:17 +0000 (UTC) (envelope-from andre@drenet.net) Received: from nqhost.drenet.net (nqhost.drenet.net [184.95.47.164]) by mx1.freebsd.org (Postfix) with ESMTP id D25B61B46 for ; Mon, 20 May 2013 20:14:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by nqhost.drenet.net (Postfix) with ESMTP id F0CD422842 for ; Mon, 20 May 2013 16:07:50 -0400 (EDT) Received: from nqhost.drenet.net ([127.0.0.1]) by localhost (nqhost.drenet.net [127.0.0.1]) (maiad, port 10024) with ESMTP id 75423-08 for ; Mon, 20 May 2013 16:07:50 -0400 (EDT) Received: by nqhost.drenet.net (Postfix, from userid 80) id B139722841; Mon, 20 May 2013 16:07:50 -0400 (EDT) To: freebsd-questions@freebsd.org Subject: Re: route problem X-PHP-Originating-Script: 0:rcmail.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 20 May 2013 16:07:50 -0400 From: Andre Goree In-Reply-To: <519A8074.7070107@fuckaround.org> References: <519A8074.7070107@fuckaround.org> Message-ID: X-Sender: andre@drenet.net User-Agent: Roundcube Webmail/0.9.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 May 2013 20:14:18 -0000 On 2013-05-20 3:58 pm, Pol Hallen wrote: > Hi folks! On my lan I've: > > server1 > > re0 - 192.168.1.250 > xl0 - 192.168.2.250 > > default 192.168.1.212 UGS 0 189 re0 > 127.0.0.1 link#8 UH 0 18 lo0 > 192.168.1.0/24 link#1 U 0 6145 re0 > 192.168.1.250 link#1 UHS 0 0 lo0 > 192.168.2.0/24 link#7 U 0 2282 xl0 > 192.168.2.250 link#7 UHS 0 0 lo0 > > and gateway_enable="YES" > > from server1 I can ping whole lan: 192.168.1.0/24, 192.168.2.0/24 > > from server2 > > re0 - 192.168.2.52 > > Destination Gateway Flags Refs Use Netif > Expire > default 192.168.2.250 UGS 0 8450 fxp0 > 127.0.0.1 link#8 UH 0 0 lo0 > 192.168.2.52 link#6 UHS 0 0 lo0 > > I can ping 192.168.2.0/24 and ONLY 192.168.1.250. > > I need ping 192.168.1.0/24 lan but I can only see 192.168.1.250 > > any idea? > > thanks! > > Pol I'm pretty sure you need a route on "server2" to 192.168.1.0/24. Try: route add 192.168.1.0/24 192.168.2.250 -- Andre Goree -=-=-=-=-=- Email - andre@drenet.net Website - http://blog.drenet.net PGP key - http://www.drenet.net/0x83ADAAAB.asc -=-=-=-=-=- From owner-freebsd-questions@FreeBSD.ORG Mon May 20 20:16:53 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 96945CE0 for ; Mon, 20 May 2013 20:16:53 +0000 (UTC) (envelope-from freebsdenml@fuckaround.org) Received: from mr001msr.fastwebnet.it (mr001msr.fastwebnet.it [85.18.95.64]) by mx1.freebsd.org (Postfix) with ESMTP id 540191BAD for ; Mon, 20 May 2013 20:16:52 +0000 (UTC) Received: from server1.fuckaround.org (93.49.16.11) by mr001msr.fastwebnet.it (8.5.140.03) id 51764783028B83D1 for freebsd-questions@freebsd.org; Mon, 20 May 2013 22:16:52 +0200 Received: by server1.fuckaround.org (Postfix, from userid 65534) id 1F9B775824C; Mon, 20 May 2013 22:16:52 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on server1.fuckaround.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=7.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.1 Received: from [10.10.10.17] (unknown [10.10.10.17]) by server1.fuckaround.org (Postfix) with ESMTP id C40C775824B for ; Mon, 20 May 2013 22:16:48 +0200 (CEST) Message-ID: <519A8546.4090109@fuckaround.org> Date: Mon, 20 May 2013 22:19:18 +0200 From: Pol Hallen User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: route problem References: <519A8074.7070107@fuckaround.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 May 2013 20:16:53 -0000 > Try: > route add 192.168.1.0/24 192.168.2.250 does not run :-( Pol From owner-freebsd-questions@FreeBSD.ORG Mon May 20 20:54:28 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9F643E17 for ; Mon, 20 May 2013 20:54:28 +0000 (UTC) (envelope-from andre@drenet.net) Received: from nqhost.drenet.net (nqhost.drenet.net [184.95.47.164]) by mx1.freebsd.org (Postfix) with ESMTP id 89BAB984 for ; Mon, 20 May 2013 20:54:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by nqhost.drenet.net (Postfix) with ESMTP id 6028922842 for ; Mon, 20 May 2013 16:54:28 -0400 (EDT) Received: from nqhost.drenet.net ([127.0.0.1]) by localhost (nqhost.drenet.net [127.0.0.1]) (maiad, port 10024) with ESMTP id 76426-01 for ; Mon, 20 May 2013 16:54:28 -0400 (EDT) Received: by nqhost.drenet.net (Postfix, from userid 80) id 4896422841; Mon, 20 May 2013 16:54:28 -0400 (EDT) To: freebsd-questions@freebsd.org Subject: Re: route problem X-PHP-Originating-Script: 0:rcmail.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 20 May 2013 16:54:28 -0400 From: Andre Goree In-Reply-To: <519A8546.4090109@fuckaround.org> References: <519A8074.7070107@fuckaround.org> <519A8546.4090109@fuckaround.org> Message-ID: <4a61bfe6346c98bdc46bf45798d55d6e@drenet.net> X-Sender: andre@drenet.net User-Agent: Roundcube Webmail/0.9.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 May 2013 20:54:28 -0000 On 2013-05-20 4:19 pm, Pol Hallen wrote: > Try: > route add 192.168.1.0/24 192.168.2.250 > > does not run :-( > > Pol Interesting. I had a similar issue I got around with a similar route addition, though I was going from a LAN PC through my server that was running openvpn out to a remotely connected client. What was the error that the route command failed with? I could have the syntax wrong (may need a "-net" in there), but I'm sure I used almost the exact same thing to solve my issue -- in my case, I ran 'route add 10.0.1.0/24 10.0.0.98', where '10.0.1.0/24' is the openvpn client network and '10.0.0.98' is the LAN interface of the openvpn server. If you don't mind could you post the output of ifconfig from both boxes? -- Andre Goree -=-=-=-=-=- Email - andre@drenet.net Website - http://blog.drenet.net PGP key - http://www.drenet.net/0x83ADAAAB.asc -=-=-=-=-=- From owner-freebsd-questions@FreeBSD.ORG Mon May 20 20:57:21 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DF045FA0 for ; Mon, 20 May 2013 20:57:21 +0000 (UTC) (envelope-from david.j.chou@intel.com) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mx1.freebsd.org (Postfix) with ESMTP id A9CEAD48 for ; Mon, 20 May 2013 20:57:21 +0000 (UTC) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 20 May 2013 13:56:14 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.87,709,1363158000"; d="scan'208,217";a="316802237" Received: from orsmsx104.amr.corp.intel.com ([10.22.225.131]) by orsmga001.jf.intel.com with ESMTP; 20 May 2013 13:56:14 -0700 Received: from orsmsx107.amr.corp.intel.com (10.22.240.5) by ORSMSX104.amr.corp.intel.com (10.22.225.131) with Microsoft SMTP Server (TLS) id 14.3.123.3; Mon, 20 May 2013 13:56:14 -0700 Received: from orsmsx105.amr.corp.intel.com ([169.254.4.106]) by ORSMSX107.amr.corp.intel.com ([169.254.1.206]) with mapi id 14.03.0123.003; Mon, 20 May 2013 13:56:14 -0700 From: "Chou, David J" To: "'freebsd-questions@freebsd.org'" Subject: Task bar missed when creating PC-BSD release 9.1 64 bit VM in VMware Workstation Version 98.02 build-1031769 Thread-Topic: Task bar missed when creating PC-BSD release 9.1 64 bit VM in VMware Workstation Version 98.02 build-1031769 Thread-Index: Ac5VmmqjWiE0OAzVQmClIQ+G5l5ARA== Date: Mon, 20 May 2013 20:56:13 +0000 Message-ID: <360A224CA5291F458103405CD90949367CB15C0A@ORSMSX105.amr.corp.intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.22.254.140] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 May 2013 20:57:21 -0000 Hi, I am trying to create a virtual machine of PC-BSD release 9.1 64 bit in VM= ware Workstation Version 98.02 build-1031769 based on PCBSD9.1-x64-DVD.iso = downloaded from ftp://mirrors.isc.org/pub/pcbsd/9.1/amd64/PCBSD9.1-x64-DVD.= iso in Windows 7 64 bits system. The screen resolution is 1280x1024, if I = chose "Yes" in "Confirm Resolution" window to keep the autodetec, then aft= er the whole creation process finished, and login in as a created user, the= task doesn't appear in the bottom below the desktop. If I powered off the= VM, and changed the Display setting to "Specificy monitor settings" with "= Maximum resolution" set to "1024 x 768" by "Virtual Machine Settings" in Wo= rkstation, and repower on the VM, then the task bar appears on the bottom b= elow desktop. What is the issue? Did I miss anything during the VM creation? Thanks. David , and setup network configuration and installed Firefox 20.0 by AppCafe, an= d configured the network setting in Preference->Advanced of Firefox, and I = could access Internet. Now I need to build my own customized kernel, but there is no src subdirect= ory in /usr, so here is my question: 1. Is there any way to install kernel source when I create the = virtual machine from PCBSD9.1-x64-DVD.iso ? 2. Any BKM to get the kernel source after the Virtual Machine al= ready created as my case now? Thanks! Regards, David From owner-freebsd-questions@FreeBSD.ORG Mon May 20 20:58:43 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 687FF105 for ; Mon, 20 May 2013 20:58:43 +0000 (UTC) (envelope-from freebsdenml@fuckaround.org) Received: from mr003msr.fastwebnet.it (mr003msr.fastwebnet.it [85.18.95.66]) by mx1.freebsd.org (Postfix) with ESMTP id E8F38EDA for ; Mon, 20 May 2013 20:58:42 +0000 (UTC) Received: from server1.fuckaround.org (93.49.16.11) by mr003msr.fastwebnet.it (8.5.140.03) id 51948C87007D66D7 for freebsd-questions@freebsd.org; Mon, 20 May 2013 22:58:41 +0200 Received: by server1.fuckaround.org (Postfix, from userid 65534) id 0699475824E; Mon, 20 May 2013 22:58:41 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on server1.fuckaround.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=7.0 tests=ALL_TRUSTED, TO_NO_BRKTS_PCNT autolearn=unavailable version=3.3.1 Received: from [10.10.10.17] (unknown [10.10.10.17]) by server1.fuckaround.org (Postfix) with ESMTP id 91E2375824C for ; Mon, 20 May 2013 22:58:37 +0200 (CEST) Message-ID: <519A8F13.8000002@fuckaround.org> Date: Mon, 20 May 2013 23:01:07 +0200 From: Pol Hallen User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: route problem References: <519A8074.7070107@fuckaround.org> <519A8546.4090109@fuckaround.org> <4a61bfe6346c98bdc46bf45798d55d6e@drenet.net> In-Reply-To: <4a61bfe6346c98bdc46bf45798d55d6e@drenet.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 May 2013 20:58:43 -0000 > If you don't mind could you post the output of ifconfig from both boxes? server1: re0: flags=8843 metric 0 mtu 1500 options=8209b ether 70:71:bc:94:c3:6d inet 192.168.1.250 netmask 0xffffff00 broadcast 192.168.1.255 inet6 fe80::7271:bcff:fe94:c36d%re0 prefixlen 64 scopeid 0x1 nd6 options=29 media: Ethernet autoselect (100baseTX ) status: active xl0: flags=8843 metric 0 mtu 1500 options=80008 ether 00:60:08:6d:59:50 inet 192.168.2.250 netmask 0xffffff00 broadcast 192.168.2.255 inet6 fe80::260:8ff:fe6d:5950%xl0 prefixlen 64 scopeid 0x7 nd6 options=29 media: Ethernet autoselect (100baseTX ) status: active lo0: flags=8049 metric 0 mtu 16384 options=600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8 inet 127.0.0.1 netmask 0xff000000 nd6 options=21 server2 fxp0: flags=8843 metric 0 mtu 1500 options=2009 ether 00:0f:fe:b3:db:8c inet6 fe80::20f:feff:feb3:db8c%fxp0 prefixlen 64 scopeid 0x6 inet 192.168.2.52 netmask 0xffffff00 broadcast 192.168.2.255 nd6 options=29 media: Ethernet autoselect (100baseTX ) status: active plip0: flags=8810 metric 0 mtu 1500 nd6 options=29 lo0: flags=8049 metric 0 mtu 16384 options=600003 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8 inet 127.0.0.1 netmask 0xff000000 nd6 options=21 From owner-freebsd-questions@FreeBSD.ORG Mon May 20 22:01:58 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 974061E9 for ; Mon, 20 May 2013 22:01:58 +0000 (UTC) (envelope-from freebsd@chthonixia.net) Received: from www5.pairlite.com (www5.pairlite.com [64.130.10.15]) by mx1.freebsd.org (Postfix) with ESMTP id 78E1129E for ; Mon, 20 May 2013 22:01:57 +0000 (UTC) Received: from whisperer.chthonixia.net (unknown [184.152.30.105]) by www5.pairlite.com (Postfix) with ESMTPSA id 3DC142E2BD for ; Mon, 20 May 2013 18:01:49 -0400 (EDT) Date: Mon, 20 May 2013 18:01:55 -0400 From: Joe Altman To: freebsd-questions@freebsd.org Subject: Re: graphics/shotwell port don't compile right Message-ID: <20130520220155.GA30268@whisperer.chthonixia.net> 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) 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, 20 May 2013 22:01:58 -0000 On Mon, May 20, 2013 at 04:46:42PM +0200, Xavier wrote: > Hi to all, > > First, I have ports tree all update: > > > If I try to compile graphics/shotwell don't right: There are bug reports open on shotwell's issues: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/177913 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/178014 http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/177568 You may wish to attach your report to one of them. Best regards, Joe From owner-freebsd-questions@FreeBSD.ORG Mon May 20 23:27:44 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 15E12B73 for ; Mon, 20 May 2013 23:27:44 +0000 (UTC) (envelope-from andre@drenet.net) Received: from nqhost.drenet.net (nqhost.drenet.net [184.95.47.164]) by mx1.freebsd.org (Postfix) with ESMTP id F2521F2 for ; Mon, 20 May 2013 23:27:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by nqhost.drenet.net (Postfix) with ESMTP id BBE9122842 for ; Mon, 20 May 2013 19:27:40 -0400 (EDT) Received: from nqhost.drenet.net ([127.0.0.1]) by localhost (nqhost.drenet.net [127.0.0.1]) (maiad, port 10024) with ESMTP id 76426-07 for ; Mon, 20 May 2013 19:27:40 -0400 (EDT) Received: by nqhost.drenet.net (Postfix, from userid 80) id AACB022841; Mon, 20 May 2013 19:27:40 -0400 (EDT) To: freebsd-questions@freebsd.org Subject: Re: route problem X-PHP-Originating-Script: 0:rcmail.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 20 May 2013 19:27:40 -0400 From: Andre Goree In-Reply-To: <519A8F13.8000002@fuckaround.org> References: <519A8074.7070107@fuckaround.org> <519A8546.4090109@fuckaround.org> <4a61bfe6346c98bdc46bf45798d55d6e@drenet.net> <519A8F13.8000002@fuckaround.org> Message-ID: <08a8caddd8d51e9067ad3cbe0c152a90@drenet.net> X-Sender: andre@drenet.net User-Agent: Roundcube Webmail/0.9.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 May 2013 23:27:44 -0000 On 2013-05-20 5:01 pm, Pol Hallen wrote: > If you don't mind could you post the output of ifconfig from both > boxes? > > server1: > > re0: flags=8843 metric 0 mtu > 1500 > options=8209b > ether 70:71:bc:94:c3:6d > inet 192.168.1.250 netmask 0xffffff00 broadcast 192.168.1.255 > inet6 fe80::7271:bcff:fe94:c36d%re0 prefixlen 64 scopeid 0x1 > nd6 options=29 > media: Ethernet autoselect (100baseTX ) > status: active > xl0: flags=8843 metric 0 mtu > 1500 > options=80008 > ether 00:60:08:6d:59:50 > inet 192.168.2.250 netmask 0xffffff00 broadcast 192.168.2.255 > inet6 fe80::260:8ff:fe6d:5950%xl0 prefixlen 64 scopeid 0x7 > nd6 options=29 > media: Ethernet autoselect (100baseTX ) > status: active > lo0: flags=8049 metric 0 mtu 16384 > options=600003 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8 > inet 127.0.0.1 netmask 0xff000000 > nd6 options=21 > > server2 > > fxp0: flags=8843 metric 0 mtu > 1500 > options=2009 > ether 00:0f:fe:b3:db:8c > inet6 fe80::20f:feff:feb3:db8c%fxp0 prefixlen 64 scopeid 0x6 > inet 192.168.2.52 netmask 0xffffff00 broadcast 192.168.2.255 > nd6 options=29 > media: Ethernet autoselect (100baseTX ) > status: active > plip0: flags=8810 metric 0 mtu 1500 > nd6 options=29 > lo0: flags=8049 metric 0 mtu 16384 > options=600003 > inet6 ::1 prefixlen 128 > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x8 > inet 127.0.0.1 netmask 0xff000000 > nd6 options=21 > On 'server1', what is the output of 'sysctl net.inet.ip.forwarding'? Perhaps you did not reboot after you set 'gateway_enable="YES"'? This is from my box with forwarding enabled: root@daemon ~ # sysctl net.inet.ip.forwarding net.inet.ip.forwarding: 1 root@daemon ~ # -- Andre Goree -=-=-=-=-=- Email - andre@drenet.net Website - http://blog.drenet.net PGP key - http://www.drenet.net/0x83ADAAAB.asc -=-=-=-=-=- From owner-freebsd-questions@FreeBSD.ORG Mon May 20 23:28:32 2013 Return-Path: Delivered-To: freebsd-questions@Freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3856CD04; Mon, 20 May 2013 23:28:32 +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 268EC109; Mon, 20 May 2013 23:28:31 +0000 (UTC) Received: from [10.0.10.1] ([173.88.196.224]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 20 May 2013 16:28:26 -0700 Message-ID: <519AB19A.50100@a1poweruser.com> Date: Mon, 20 May 2013 19:28:26 -0400 From: Joe User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Devin Teske Subject: Re: ngctl list ? References: <51993A7A.8070302@a1poweruser.com> <13CA24D6AB415D428143D44749F57D7201F51DFF@ltcfiswmsgmb26> In-Reply-To: <13CA24D6AB415D428143D44749F57D7201F51DFF@ltcfiswmsgmb26> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 20 May 2013 23:28:26.0782 (UTC) FILETIME=[BA8EDBE0:01CE55B1] X-Sender: fbsd8@a1poweruser.com X-Authenticated-Sender: fbsd8@a1poweruser.com X-EchoSenderHash: [fbsd8]-[a1poweruser*com] Cc: freebsd-questions@Freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 May 2013 23:28:32 -0000 Teske Here is my results Without netgraph compiled into the kernel, issuing "ngctl list" command on the host only shows the socket for ngctl. After I issue the kldload command on the host for netgraph ng_bridge ng_eiface ng_ether ng_socket, then issuing "ngctl list" command now shows the real NIC interface device names. Thanks for you insight. I have another problem. To standardize my bridge and eiface names I want to use the JID number as a suffix. jid=`jls -j ${jailname} jid` bridge_name="bridge${jid} When creating the bridge it gets assigned bridge_name just like I want. I want to assign the ${jid} to the ieface peer name and can not figure out the syntax. This is the command I am using now ngctl mkpeer eiface ether ether This creates a default name of ngeth0 I would be ok with ngeth${jid} But would really like to assign my own peer name vetjail${jid} Does the mkpeer syntax allow doing this? Thanks Joe From owner-freebsd-questions@FreeBSD.ORG Tue May 21 04:02:13 2013 Return-Path: Delivered-To: freebsd-questions@Freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9160C200; Tue, 21 May 2013 04:02:13 +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 5E6EBCEF; Tue, 21 May 2013 04:02:12 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.15]) by ltcfislmsgpa03.fnfis.com (8.14.5/8.14.5) with ESMTP id r4L425cp001456 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Mon, 20 May 2013 23:02:05 -0500 Received: from LTCFISWMSGMB26.FNFIS.com ([10.132.99.18]) by LTCFISWMSGHT04.FNFIS.com ([10.132.206.15]) with mapi id 14.02.0309.002; Mon, 20 May 2013 23:02:05 -0500 From: "Teske, Devin" To: Joe Subject: Re: ngctl list ? Thread-Topic: ngctl list ? Thread-Index: AQHOVNIwXFfQJGFeN0CDQ+tJB0izZpkNreoAgAFftwCAAEx0AA== Date: Tue, 21 May 2013 04:02:04 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7201F53802@ltcfiswmsgmb26> References: <51993A7A.8070302@a1poweruser.com> <13CA24D6AB415D428143D44749F57D7201F51DFF@ltcfiswmsgmb26> <519AB19A.50100@a1poweruser.com> In-Reply-To: <519AB19A.50100@a1poweruser.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.126] Content-Type: text/plain; charset="Windows-1252" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626, 1.0.431, 0.0.0000 definitions=2013-05-21_02:2013-05-20,2013-05-21,1970-01-01 signatures=0 Cc: Devin Teske , "" 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, 21 May 2013 04:02:13 -0000 On May 20, 2013, at 4:28 PM, Joe wrote: [=85] > Without netgraph compiled into the kernel, issuing "ngctl list" command o= n the host only shows the socket for ngctl. >=20 > After I issue the kldload command on the host for netgraph ng_bridge ng_e= iface ng_ether ng_socket, then issuing "ngctl list" command now shows the r= eal NIC interface device names. >=20 > Thanks for you insight. >=20 Cool=85 glad module-based ng_ether is working. (in 8.1 the ng_* modules all= worked, but for ng_ether, it wasn't producing the expected results as a mo= dule -- glad that's been fixed). > I have another problem. >=20 > To standardize my bridge and eiface names I want to use the JID number as= a suffix. >=20 > jid=3D`jls -j ${jailname} jid` >=20 > bridge_name=3D"bridge${jid} > When creating the bridge it gets assigned bridge_name just like I want. >=20 > I want to assign the ${jid} to the ieface peer name and can not figure ou= t the syntax. This is the command I am using now >=20 > ngctl mkpeer eiface ether ether >=20 The syntax for renaming anything in netgraph with ngctl (non-interactively)= is "ngctl name ". First you create the node and then you rename it. As an aside... It looks like you're creating the eiface separately from connecting it to t= he bridge. You can combine the mkpeer and the (not shown) later "connect" b= y doing a contextual mpeer (which will result in a peer being created that = is already connected to the bridge). For example: ngctl mkpeer rl0:lower eiface link# ether You're creating a new eiface peer off the rl0:lower ether device and assign= ing the link all in one go. "rl0" is your ng_ether device and rl0:lower is (presumably) your ng_bridge = device. "link#" is the new link to create. To find the "#" value in "link#"= , I run a loop that starts from "2" (because rl0:upper is "link0", and rl0:= lower is "link1") and counts upward until it finds an unused link#. How I test for the existence of a link is by issuing: ngctl info rl0:lower getstats # Where # is the link# you're interested in. So here's the loop I run to find= link# LINKNUM=3D2 while ngctl msg rl0:bridge getstats $LINKNUM > /dev/null 2>&1; do LINKNUM=3D$(($LINKNUM+1)) done At that point, I've calculated LINKNUM and can then issue the above command= with: ngctl mkpeer rl0:lower eiface link$LINKNUM ether NOTE: Again, assuming your ng_ether device is "rl0" (a Realtek NIC; replace= with "em0", "bge0", or whatever as needed). Resulting in a new eiface that is already connected to the bridge (previous= ly connected to rl0:lower). Now=85 to rename that interface=85 ngctl name rl0:lower:link$LINKNUM But once you've done that, you're not finished yet. You now need to rename = the interface using ifconfig. The syntax for renaming interfaces visible to ifconfig(8) is: ifconfig name The old name is obtainable with the following ngctl syntax: ngctl show -n rl0:lower:link$LINKNUM NOTE: It's the second word, so "| awk '{print $2}'" is handy here Once you've got that value, you can then do your ifconfig re-naming. This i= s the safe way to do the renaming (interrogate netgraph for the ifconfig na= me using the above method). NOTE: The netgraph renaming is entirely optional (should have mentioned tha= t earlier); all that is really needed is the ifconfig renaming (using the n= gctl show syntax to parse out the current ifconfig name for a peer). Howeve= r, one of the things that the netgraph-based naming buys you is that when y= ou dump the current config (using "ngctl dot"), you have a good mapping of = eifaces-to-JIDs; in my case=85 with the vimage script I developed=85 this i= s why I actually tend to favor the jail-name truncated to fit into the inte= rface name=85 it's much more useful than staring at a graphviz rendering ho= lding nothing but JIDs). > This creates a default name of ngeth0 > I would be ok with ngeth${jid} > But would really like to assign my own peer name vetjail${kid} All you really need is the above recipe and you should be on your way. Let = me know if you need additional help. > Does the mkpeer syntax allow doing this? >=20 Well=85 not really. The "name" syntax of ngctl allows this. > Thanks >=20 Cheers. --=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 Tue May 21 05:24:30 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 82E6E1BA for ; Tue, 21 May 2013 05:24:30 +0000 (UTC) (envelope-from noel.hunt@gmail.com) Received: from mail-we0-x22e.google.com (mail-we0-x22e.google.com [IPv6:2a00:1450:400c:c03::22e]) by mx1.freebsd.org (Postfix) with ESMTP id 097A2B6 for ; Tue, 21 May 2013 05:24:29 +0000 (UTC) Received: by mail-we0-f174.google.com with SMTP id x53so95951wes.19 for ; Mon, 20 May 2013 22:24:29 -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=VXLodTbtHtwMc7XcSlhnyf54+hgyRt1sKqlPZYHFYZA=; b=bafPs+FoMW73OjqboXqXOw15YdqqBNWUf+fbzJVS3/M0sDd3T9RSYm1j0pxV796jaY ZAG3/iGZ7ya1Jyj0Bqr1+GEUQefxNcAo8zWejgjeEV0hY9AtGo0LxXL38HrZWCWLh3RO X5FRHMm8T03KfeowdyLSPGJQNpJWcgWOTOYmLV7JKgMkdYdKaudydoMYhqAUpgZ1oYao y1kibt40n9/6EZyU5MrALPIYwb8RExc2+01Uzz0T99TwNXamUb+v7QGh8omHKgTl0jXp bGTe7CX62R0zrsQXWiMsWOxri5Qn/DHoAdV27PzwmzzcYaFtHF2k/TGYqqjCDubG7283 K/tQ== MIME-Version: 1.0 X-Received: by 10.180.108.168 with SMTP id hl8mr1201078wib.23.1369113866600; Mon, 20 May 2013 22:24:26 -0700 (PDT) Received: by 10.180.108.106 with HTTP; Mon, 20 May 2013 22:24:26 -0700 (PDT) Date: Tue, 21 May 2013 15:24:26 +1000 Message-ID: Subject: signal vs. sigaction and SIGCHLD From: Noel Hunt 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, 21 May 2013 05:24:30 -0000 I have a small test program which simply forks and execs its command line arguments, but after the fork and before the exec, it sends a SIGSTOP to the child. The parent then sleeps for 3 seconds before exiting. However, a signal handler for SIGCHLD has been installed and I was expecting the parent to be notified of the SIGSTOP sent to the child, but with the `signal' interface this doesn't appear to work. If I change the code to use `sigaction' and `sigprocmask' (to unblock any blocked SIGCHLD), this program works the way intended, that is, the signal handler is called: 1 #include 2 #include 3 #include 4 #include 5 #include 6 #include 7 #include 8 #include 9 10 #define SIGACTION 11 12 static void waithandler(int i){ 13 int pid, cursig; 14 int tstat; 15 16 #ifdef SIGACTION 17 pid = waitpid(-1, &tstat, WUNTRACED); 18 #else 19 pid = wait(&tstat); 20 signal(SIGCHLD, waithandler); 21 #endif 22 if (pid < 0) 23 return; 24 25 printf("waithandler: child (%d)", pid); 26 if (WIFSTOPPED(tstat)) { 27 printf(" received"); 28 cursig = WSTOPSIG(tstat); 29 if (cursig == SIGSTOP) 30 printf(" SIGSTOP\n"); 31 else if (cursig == SIGTRAP) 32 printf(" SIGTRAP\n"); 33 else 34 printf(" %d\n", cursig); 35 } else { 36 printf(" exited status=%d\n", WEXITSTATUS(tstat)); 37 } 38 } 39 40 main(int argc, char **argv){ 41 int i, j; 42 int fd, hangpid; 43 FILE *ttyerr; 44 char ctl[16]; 45 #ifdef SIGACTION 46 sigset_t sigmask[2]; 47 struct sigaction sa; 48 49 sa.sa_flags = 0; 50 sigemptyset(&sa.sa_mask); 51 sa.sa_handler = waithandler; 52 sigaction(SIGCHLD, &sa, NULL); 53 sigemptyset(&sigmask[0]); 54 sigaddset(&sigmask[0], SIGCHLD); 55 sigprocmask(SIG_UNBLOCK, &sigmask[0], &sigmask[1]); 56 #else 57 58 signal(SIGCHLD, waithandler); 59 #endif 60 ttyerr = fopen("/dev/tty", "w"); 61 if (argc <= 1) { 62 if( ttyerr ) 63 fprintf(ttyerr,"Usage: %s cmd [args...]\n",argv[0],*argv); 64 exit(1); 65 } 66 if( (hangpid=fork())==0 ){ 67 kill(getpid(), SIGSTOP); 68 execvp(argv[1], argv+1); 69 perror(argv[1]); 70 exit(1); 71 } 72 if(hangpid==-1){ 73 perror("fork"); 74 exit(1); 75 } 76 if( ttyerr ){ 77 fprintf(ttyerr,"/proc/%d\n",hangpid); 78 fclose(ttyerr); 79 } 80 sleep(3); 81 } The file is `hang.c'. I compile and run it like this: % ./hang echo foo bar baz waithandler: child (2280) received SIGSTOP /proc/2280 If I recompile with `#undef SIGACTION', waithandler is not called. I should add that even with the sigaction(2) interface, without the `sigprocmask' call, it still doesn't work, which suggests that SIGCHLD is being blocked. Can anyone explain why? From owner-freebsd-questions@FreeBSD.ORG Tue May 21 05:57:00 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9619B9EF for ; Tue, 21 May 2013 05:57:00 +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 5F2F0198 for ; Tue, 21 May 2013 05:57:00 +0000 (UTC) Received: from r56.edvax.de (port-92-195-231-35.dynamic.qsc.de [92.195.231.35]) by mx01.qsc.de (Postfix) with ESMTP id 9BAF63CE3D; Tue, 21 May 2013 07:56:53 +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 r4L5v2cZ004419; Tue, 21 May 2013 07:57:03 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 21 May 2013 07:57:02 +0200 From: Polytropon To: Noel Hunt Subject: Re: signal vs. sigaction and SIGCHLD Message-Id: <20130521075702.6d59bbac.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 May 2013 05:57:00 -0000 On Tue, 21 May 2013 15:24:26 +1000, Noel Hunt wrote: > If I recompile with `#undef SIGACTION', waithandler is not > called. > > I should add that even with the sigaction(2) interface, without > the `sigprocmask' call, it still doesn't work, which suggests > that SIGCHLD is being blocked. > > Can anyone explain why? >From reading "man 3 signal", I get the following impression: No Name Default Action Description 20 SIGCHLD discard signal child status has changed The default action is to discard the signal, so the following paragraph could make sense: The sig argument specifies which signal was received. The func procedure allows a user to choose the action upon receipt of a signal. To set the default action of the signal to occur as listed above, func should be SIG_DFL. A SIG_DFL resets the default action. To ignore the signal func should be SIG_IGN. This will cause subsequent instances of the signal to be ignored and pending instances to be discarded. If SIG_IGN is not used, further occurrences of the signal are automatically blocked and func is called. >From my limited understanding, maybe this could help you find an explanation of the observed behaviour? Also compare /usr/include/sys/signal.h for the definition of the involved typedef's. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue May 21 05:59:56 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 817F9A95 for ; Tue, 21 May 2013 05:59:56 +0000 (UTC) (envelope-from sam.gh1986@gmail.com) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com [209.85.217.177]) by mx1.freebsd.org (Postfix) with ESMTP id 101531AE for ; Tue, 21 May 2013 05:59:55 +0000 (UTC) Received: by mail-lb0-f177.google.com with SMTP id o10so333421lbi.22 for ; Mon, 20 May 2013 22:59:54 -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=1KMh5Z2aAqAwb7APWV0bSk8S7Hhaa1Cf+jWUk6p/XbE=; b=yfNii76CYvLbEmWihumZhAZ2sd6y/P7Xg84C/bgZ7SdKmfEosgVHXg5cCUigk6GyB6 YKHMxx7LI505OsCrFm+XRYQn//7vwZ1mWE4L4BZMEM0qGe5MQodj1wlvpD6jWKmi3gMw QOve1qCIAung3bQu/sAH6pdOQv+1f0vf6aUVqHkRls3XRuuKOjQiV8gFkxUVmr6W1mNO KWUhpUHjWIOUyodmkyEvdlmVarG9YF7wGwyH9DTk44x3Ursm+FifXFj2CGMQFTuy0p2C 3lDUgG/UMFFL/O5Yi+fs4cE2WzRW6X009ZMXv6QjDQ2a3NyKDAEX1y55ZHhv25SC+93T CBSA== MIME-Version: 1.0 X-Received: by 10.112.162.40 with SMTP id xx8mr702799lbb.30.1369115994494; Mon, 20 May 2013 22:59:54 -0700 (PDT) Received: by 10.112.128.138 with HTTP; Mon, 20 May 2013 22:59:54 -0700 (PDT) Date: Tue, 21 May 2013 10:29:54 +0430 Message-ID: Subject: setup journaling for root partition From: s m To: freebsd-questions 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, 21 May 2013 05:59:56 -0000 hello everybody i want to setup a journal partition for my root partition. but i do not know how to do that. in FreeBSD handbook, it is done in single user mode, unmount the desired partition and assign the journal partition to it. i test this procedure and it is done for /usr partition but for root partition, it can not be unmount in single user mode. i try to do it in fixiit mode, but i can not load gjournal. do i use gpart to partitioning my system and enable journaling for root partition? isn't there any way to setup journaling for my existing root partition? which command should be used (or is better to used) to enable journaling? tunefs, gjournal or newfs? please help me to setup a journal partition for my root. thanks in advance SAM From owner-freebsd-questions@FreeBSD.ORG Tue May 21 06:06:19 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1DE35E53 for ; Tue, 21 May 2013 06:06:19 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-ob0-x230.google.com (mail-ob0-x230.google.com [IPv6:2607:f8b0:4003:c01::230]) by mx1.freebsd.org (Postfix) with ESMTP id E10891F4 for ; Tue, 21 May 2013 06:06:18 +0000 (UTC) Received: by mail-ob0-f176.google.com with SMTP id wp18so280087obc.35 for ; Mon, 20 May 2013 23:06:18 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=8ctUwct4g6V13too9ssLH3WO7TZYU39GXqn7Tb+PD7g=; b=aP64Nc9YBey0Abyk4EYKiQe6iq/TjtgPDigJiTAPY6Fu7vFbm+skKV4oSHi/hOIszA miylyOOC8GvLqBWx+dlJSOH1004UmoroBJd7utDB2MJHTQ4YMSOFJl73PvZp5PWoli0J MVuuid/1YAKptEO7Vwi36kqUmtlrN7dtDaV8fBtubZezKfMu1vrjIWfHtu336p8Sgbwe N5AbCLoe2ZJhfkRhD7ki6Lc9aF45Nfr7BSrOTRg21Sv7lbOIhNkYtA4ZgWb+PuHdXRLg M9lq8/Vr/8j+t+KQKpeTU9beOo8TekeklJarxGJ9ygsM3Mi0fn3WP/5IaZt6Ai7eE2l6 DSxw== MIME-Version: 1.0 X-Received: by 10.60.17.231 with SMTP id r7mr535970oed.13.1369116378499; Mon, 20 May 2013 23:06:18 -0700 (PDT) Received: by 10.60.57.37 with HTTP; Mon, 20 May 2013 23:06:18 -0700 (PDT) In-Reply-To: References: Date: Mon, 20 May 2013 23:06:18 -0700 Message-ID: Subject: Re: setup journaling for root partition From: Michael Sierchio To: s m X-Gm-Message-State: ALoCoQmIt6/xa+Vh1h0/XWlzPAZoAwy/WTZdcXx1NssSjppRSy9cBGhku8OpDoDb8kv1HENBWrJG Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 May 2013 06:06:19 -0000 On Mon, May 20, 2013 at 10:59 PM, s m wrote: > hello everybody > > i want to setup a journal partition for my root partition. but i do not > know how to do that. in FreeBSD handbook, it is done in single user mode, > unmount the desired partition and assign the journal partition to it. i > test this procedure and it is done for /usr partition but for root > partition, it can not be unmount in single user mode. > > See the man page on gjournal To configure journaling on the UFS file system using gjournal, one should first create a gjournal provider using the gjournal utility, then run newfs(8) or tunefs(8) on it with the -J flag which instructs UFS to coop- erate with the gjournal provider below. From owner-freebsd-questions@FreeBSD.ORG Tue May 21 07:38:50 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 403B3B86 for ; Tue, 21 May 2013 07:38:50 +0000 (UTC) (envelope-from Ivailo.Tanusheff@skrill.com) Received: from co9outboundpool.messaging.microsoft.com (co9ehsobe004.messaging.microsoft.com [207.46.163.27]) by mx1.freebsd.org (Postfix) with ESMTP id 08D227BB for ; Tue, 21 May 2013 07:38:49 +0000 (UTC) Received: from mail102-co9-R.bigfish.com (10.236.132.232) by CO9EHSOBE010.bigfish.com (10.236.130.73) with Microsoft SMTP Server id 14.1.225.23; Tue, 21 May 2013 07:23:35 +0000 Received: from mail102-co9 (localhost [127.0.0.1]) by mail102-co9-R.bigfish.com (Postfix) with ESMTP id C06973408AF; Tue, 21 May 2013 07:23:35 +0000 (UTC) X-Forefront-Antispam-Report: CIP:157.56.249.213; KIP:(null); UIP:(null); IPV:NLI; H:AM2PRD0710HT004.eurprd07.prod.outlook.com; RD:none; EFVD:NLI X-SpamScore: 0 X-BigFish: PS0(z569dh2b68kz9371I103dK542Izz1f42h1ee6h1de0h1fdah1202h1e76h1d1ah1d2ah1fc6hzz17326ah8275dhz2fh2a8h668h839h944hd24hf0ah1220h1288h12a5h12a9h12bdh137ah13b6h1441h1504h1537h153bh162dh1631h1758h18e1h1946h19b5h19ceh1ad9h1b0ah1d07h1d0ch1d2eh1d3fh9a9j1155h) Received-SPF: pass (mail102-co9: domain of skrill.com designates 157.56.249.213 as permitted sender) client-ip=157.56.249.213; envelope-from=Ivailo.Tanusheff@skrill.com; helo=AM2PRD0710HT004.eurprd07.prod.outlook.com ; .outlook.com ; X-Forefront-Antispam-Report-Untrusted: SFV:SKI; SFS:; DIR:OUT; SFP:; SCL:-1; SRVR:DB3PR07MB057; H:DB3PR07MB059.eurprd07.prod.outlook.com; LANG:en; Received: from mail102-co9 (localhost.localdomain [127.0.0.1]) by mail102-co9 (MessageSwitch) id 1369121013755035_5001; Tue, 21 May 2013 07:23:33 +0000 (UTC) Received: from CO9EHSMHS018.bigfish.com (unknown [10.236.132.227]) by mail102-co9.bigfish.com (Postfix) with ESMTP id ACA313C0064; Tue, 21 May 2013 07:23:33 +0000 (UTC) Received: from AM2PRD0710HT004.eurprd07.prod.outlook.com (157.56.249.213) by CO9EHSMHS018.bigfish.com (10.236.130.28) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 21 May 2013 07:23:33 +0000 Received: from DB3PR07MB057.eurprd07.prod.outlook.com (10.242.137.144) by AM2PRD0710HT004.eurprd07.prod.outlook.com (10.255.165.39) with Microsoft SMTP Server (TLS) id 14.16.311.1; Tue, 21 May 2013 07:23:23 +0000 Received: from DB3PR07MB059.eurprd07.prod.outlook.com (10.242.137.149) by DB3PR07MB057.eurprd07.prod.outlook.com (10.242.137.144) with Microsoft SMTP Server (TLS) id 15.0.698.13; Tue, 21 May 2013 07:23:22 +0000 Received: from DB3PR07MB059.eurprd07.prod.outlook.com ([169.254.2.144]) by DB3PR07MB059.eurprd07.prod.outlook.com ([169.254.2.144]) with mapi id 15.00.0698.010; Tue, 21 May 2013 07:23:21 +0000 From: Ivailo Tanusheff To: Pol Hallen , FreeBSD Questions Subject: RE: route problem Thread-Topic: route problem Thread-Index: AQHOVZSHBPXmdwL2uUG7xS/y+6PU7pkPOzqQ Date: Tue, 21 May 2013 07:23:20 +0000 Message-ID: <9f1cbf47bf4a4ba8b8f9908f9f81e734@DB3PR07MB059.eurprd07.prod.outlook.com> References: <519A8074.7070107@fuckaround.org> In-Reply-To: <519A8074.7070107@fuckaround.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [217.18.249.148] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: skrill.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, 21 May 2013 07:38:50 -0000 Hi, Hope you have rebooted after enabling the gateway, but you can check this w= ith " sysctl net.inet.ip.forwarding " :) So far from the server side it looks OK for me, but what are you pinging ac= tually? How is done the configuration of the target device? This sounds like a pure routing problem, as you do not use NAT, then the de= vices in the 192.168.1.0/24 should know where to find your server. The basic ideas are: 1. Make 192.168.1.250 default gateway for the devices in 192.168.1.0/24 or 2. route add -net 192.168.2 gw 192.168.1.250 (syntax depends on the OS) Also check if the device you ping accepts pings - many devices denies this = by default, also Windows 7/2008 and later has firewall enabled which do not= permits pings. Best regards, Ivailo Tanusheff -----Original Message----- From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-questions@f= reebsd.org] On Behalf Of Pol Hallen Sent: Monday, May 20, 2013 10:59 PM To: FreeBSD Questions Subject: route problem Hi folks! On my lan I've: server1 re0 - 192.168.1.250 xl0 - 192.168.2.250 default 192.168.1.212 UGS 0 189 re0 127.0.0.1 link#8 UH 0 18 lo0 192.168.1.0/24 link#1 U 0 6145 re0 192.168.1.250 link#1 UHS 0 0 lo0 192.168.2.0/24 link#7 U 0 2282 xl0 192.168.2.250 link#7 UHS 0 0 lo0 and gateway_enable=3D"YES" from server1 I can ping whole lan: 192.168.1.0/24, 192.168.2.0/24 from server2 re0 - 192.168.2.52 Destination Gateway Flags Refs Use Netif Expire default 192.168.2.250 UGS 0 8450 fxp0 127.0.0.1 link#8 UH 0 0 lo0 192.168.2.52 link#6 UHS 0 0 lo0 I can ping 192.168.2.0/24 and ONLY 192.168.1.250. I need ping 192.168.1.0/24 lan but I can only see 192.168.1.250 any idea? thanks! Pol _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman= /listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org= " From owner-freebsd-questions@FreeBSD.ORG Tue May 21 09:24:28 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E035C3C5 for ; Tue, 21 May 2013 09:24:28 +0000 (UTC) (envelope-from sam.gh1986@gmail.com) Received: from mail-lb0-f170.google.com (mail-lb0-f170.google.com [209.85.217.170]) by mx1.freebsd.org (Postfix) with ESMTP id 6BC251B2 for ; Tue, 21 May 2013 09:24:28 +0000 (UTC) Received: by mail-lb0-f170.google.com with SMTP id t13so519253lbd.15 for ; Tue, 21 May 2013 02:24:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=J6PSRq6wjwxtevRIhINjjtq6SqPrEhuwScCaSgKpKxY=; b=ncXDqDAtJnO7YsnY8nMa1r93LMvir8jcBiDbCwTOb01PAgrdJbDgzQZzCAZcHhhMcl puQCIlNcVMuwLam91E4FmZICTcvFi4JcuamiewuAQsWAMMn2RcMQdIMogz0K2k/FmmPa A1vaf99opd1z2Zo7HaSLojH/5nZtPsgRti+FqWiGxM6hSLB1gbzcLUe5J2UZ3JCirmbO F1C88VBsN058XUf1ZXNAtCmog/2Q6J66OlRx61mrZfmWbdqSOZ/NCEkl9enLuXAMK2Rs WKuOk0vpCOKmsHnqw+VSF8j4gW7yVKD7uQC69qdgSUWwa3kRgzlGoCsamcTiDH9JS1zr IS6Q== MIME-Version: 1.0 X-Received: by 10.152.8.231 with SMTP id u7mr836922laa.27.1369128267082; Tue, 21 May 2013 02:24:27 -0700 (PDT) Received: by 10.112.128.138 with HTTP; Tue, 21 May 2013 02:24:27 -0700 (PDT) In-Reply-To: References: Date: Tue, 21 May 2013 13:54:27 +0430 Message-ID: Subject: Re: setup journaling for root partition From: s m To: Michael Sierchio Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 May 2013 09:24:28 -0000 thanks Michael this is what i've done (based on the FreeBSD handbook): creating a partition for journal, go to single user mode, unmount desired partition (for example /usr), load gjournal, add journal partition to /usr partition. this procedure works well for user and other partitions except root because i can not unmount it. should i set up journaling in fixit mode with gpart? how? i try different ways but none of them work for me:(( On Tue, May 21, 2013 at 10:36 AM, Michael Sierchio wrote: > > On Mon, May 20, 2013 at 10:59 PM, s m wrote: > >> hello everybody >> >> i want to setup a journal partition for my root partition. but i do not >> know how to do that. in FreeBSD handbook, it is done in single user mode, >> unmount the desired partition and assign the journal partition to it. i >> test this procedure and it is done for /usr partition but for root >> partition, it can not be unmount in single user mode. >> >> > See the man page on gjournal > > To configure journaling on the UFS file system using gjournal, one > should > first create a gjournal provider using the gjournal utility, then run > newfs(8) or tunefs(8) on it with the -J flag which instructs UFS to > coop- > erate with the gjournal provider below. > > > From owner-freebsd-questions@FreeBSD.ORG Tue May 21 09:40:46 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id BE5BB949 for ; Tue, 21 May 2013 09:40:46 +0000 (UTC) (envelope-from jcigar@ulb.ac.be) Received: from mxin.ulb.ac.be (mxin.ulb.ac.be [164.15.128.112]) by mx1.freebsd.org (Postfix) with ESMTP id 56FA527B for ; Tue, 21 May 2013 09:40:45 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArsBAPM/m1GkD30E/2dsb2JhbAANTIM4wVKBH4MTAQEBBAEBATUWIAoRCxgJFg8JAwIBAgEPBgEJJg4FAgQBAQEBGQSHWgMbqGqKHg1LiA6MSoElgTkWgz4DlHRegw+EYoYSiDRsgQM Received: from bebif01.ulb.ac.be (HELO [192.168.0.50]) ([164.15.125.4]) by smtp.ulb.ac.be with ESMTP/TLS/DHE-RSA-CAMELLIA256-SHA; 21 May 2013 11:39:36 +0200 Message-ID: <519B40D8.2090809@ulb.ac.be> Date: Tue, 21 May 2013 11:39:36 +0200 From: Julien Cigar User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130404 Thunderbird/17.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: setup journaling for root partition References: In-Reply-To: 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, 21 May 2013 09:40:46 -0000 gjournal should not be used anymore as it has been implemented in the file system code ... On 05/21/2013 11:24, s m wrote: > thanks Michael > > this is what i've done (based on the FreeBSD handbook): creating a > partition for journal, go to single user mode, unmount desired partition > (for example /usr), load gjournal, add journal partition to /usr partition. > this procedure works well for user and other partitions except root because > i can not unmount it. > > should i set up journaling in fixit mode with gpart? how? i try different > ways but none of them work for me:(( > > > > On Tue, May 21, 2013 at 10:36 AM, Michael Sierchio wrote: > >> On Mon, May 20, 2013 at 10:59 PM, s m wrote: >> >>> hello everybody >>> >>> i want to setup a journal partition for my root partition. but i do not >>> know how to do that. in FreeBSD handbook, it is done in single user mode, >>> unmount the desired partition and assign the journal partition to it. i >>> test this procedure and it is done for /usr partition but for root >>> partition, it can not be unmount in single user mode. >>> >>> >> See the man page on gjournal >> >> To configure journaling on the UFS file system using gjournal, one >> should >> first create a gjournal provider using the gjournal utility, then run >> newfs(8) or tunefs(8) on it with the -J flag which instructs UFS to >> coop- >> erate with the gjournal provider below. >> >> >> > _______________________________________________ > 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" -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. From owner-freebsd-questions@FreeBSD.ORG Tue May 21 10:10:36 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 138402FE for ; Tue, 21 May 2013 10:10:36 +0000 (UTC) (envelope-from sam.gh1986@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 924005F6 for ; Tue, 21 May 2013 10:10:35 +0000 (UTC) Received: by mail-lb0-f182.google.com with SMTP id z5so546979lbh.41 for ; Tue, 21 May 2013 03:10:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=dqapQ2v+2rEtiBC7A3z/4JBrIogt8e87CEvE2S9Q/fQ=; b=AMRv/UxQjrBgdEJOUFLAlx4vCtQzHOVs0X0GF/eYBz9CGO88x2h8BCY4YxG5DO3ewu lMU2KWdYcwyjT7lU7l6+p8xnMa0qNMVhfx6Zcolf4C1Fq9p76WiuhWBpKxcs+vwyrfBR ugAwDWKwXHhx2H7RMk+5LNUf/L/21HP5JmZUwKbdNAndeLrtITX3YiLPxMl0BB7ecyEe 5Q5ETVriu/yHRxROpiV9CDN2jT2e3ezBnPQXq1AfoQ52Gu/sjbfvPCi5AWwAVw14OQ3Y 44CN2jMuF6MgNYSGKPy2M8iW29RUBnMbhyt4ZfJksZLFurK4EMSe25D52HcTvmfHHjFd ZkmQ== MIME-Version: 1.0 X-Received: by 10.112.162.40 with SMTP id xx8mr1162469lbb.30.1369131034120; Tue, 21 May 2013 03:10:34 -0700 (PDT) Received: by 10.112.128.138 with HTTP; Tue, 21 May 2013 03:10:34 -0700 (PDT) In-Reply-To: <519B40D8.2090809@ulb.ac.be> References: <519B40D8.2090809@ulb.ac.be> Date: Tue, 21 May 2013 14:40:34 +0430 Message-ID: Subject: Re: setup journaling for root partition From: s m To: Julien Cigar Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 May 2013 10:10:36 -0000 you mean that journaling is enabled by default???? i don't think so. i think i misunderstanding. may i ask you to explain it more clear? On Tue, May 21, 2013 at 2:09 PM, Julien Cigar wrote: > gjournal should not be used anymore as it has been implemented in the file > system code ... > > > On 05/21/2013 11:24, s m wrote: > >> thanks Michael >> >> this is what i've done (based on the FreeBSD handbook): creating a >> partition for journal, go to single user mode, unmount desired partition >> (for example /usr), load gjournal, add journal partition to /usr >> partition. >> this procedure works well for user and other partitions except root >> because >> i can not unmount it. >> >> should i set up journaling in fixit mode with gpart? how? i try different >> ways but none of them work for me:(( >> >> >> >> On Tue, May 21, 2013 at 10:36 AM, Michael Sierchio > >wrote: >> >> On Mon, May 20, 2013 at 10:59 PM, s m wrote: >>> >>> hello everybody >>>> >>>> i want to setup a journal partition for my root partition. but i do not >>>> know how to do that. in FreeBSD handbook, it is done in single user >>>> mode, >>>> unmount the desired partition and assign the journal partition to it. i >>>> test this procedure and it is done for /usr partition but for root >>>> partition, it can not be unmount in single user mode. >>>> >>>> >>>> See the man page on gjournal >>> >>> To configure journaling on the UFS file system using gjournal, one >>> should >>> first create a gjournal provider using the gjournal utility, then >>> run >>> newfs(8) or tunefs(8) on it with the -J flag which instructs UFS to >>> coop- >>> erate with the gjournal provider below. >>> >>> >>> >>> ______________________________**_________________ >> 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 " >> > > > -- > No trees were killed in the creation of this message. > However, many electrons were terribly inconvenienced. > > ______________________________**_________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions > To unsubscribe, send any mail to "freebsd-questions-** > unsubscribe@freebsd.org " > From owner-freebsd-questions@FreeBSD.ORG Tue May 21 10:14:51 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BA3794EF for ; Tue, 21 May 2013 10:14:51 +0000 (UTC) (envelope-from vilibald.wanca@gmail.com) Received: from mail-pb0-x22d.google.com (mail-pb0-x22d.google.com [IPv6:2607:f8b0:400e:c01::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 9DE0B64A for ; Tue, 21 May 2013 10:14:51 +0000 (UTC) Received: by mail-pb0-f45.google.com with SMTP id mc17so460469pbc.32 for ; Tue, 21 May 2013 03:14:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=sFdM2TeaDqLiP8v5l9zB4I/GRj3rAZWwVkXkYZCgAFI=; b=eZMar7+InT6PHc1x7nVDcJtkw0XZimMREi8HhmE6UrFZn/jnPIsukgxD6dN4h3gJ8l ow5KzQCo546PJRurfotT/LkiM8lb4BwA22GEYylmkVHLai5x/X86t9jfg87ZizScj1ce sEGtwnVhF5SSOmG/f3+xJoyK8Q9xa7BQK2SsJFdzNkYkAK6+h9kPSsBJdFjaeHRct3an j+9iGiQEfTxY1QEfbI13TzTEpVInjxL3z75vlumBfQU4NAiD4yRWPcHHvoNUw76MByy1 LDE3Z/AHzRi38H4uWoPHw4r18hB+Iieos/tyT9Qp2I++RnDl0GBqvf8K+l0I8DWACtRM tdnQ== MIME-Version: 1.0 X-Received: by 10.66.89.65 with SMTP id bm1mr2330193pab.179.1369131291429; Tue, 21 May 2013 03:14:51 -0700 (PDT) Received: by 10.68.6.4 with HTTP; Tue, 21 May 2013 03:14:51 -0700 (PDT) Date: Tue, 21 May 2013 12:14:51 +0200 Message-ID: Subject: Re: signal vs. sigaction and SIGCHLD From: vilibald wanca 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, 21 May 2013 10:14:51 -0000 Doesn't wait call suspend the calling process until the child is terminated? >From man page for wait: The wait() function suspends execution of its calling process until status information is available for a terminated child process But in your case the child process is not terminated. If you use the same pid = waitpid(-1, &tstat, WUNTRACED); in case of signal you'll get the same result as with sigaction, or that's what I suspect to happen, haven't had a chance test it. Vilda 2013/5/21 Polytropon > > On Tue, 21 May 2013 15:24:26 +1000, Noel Hunt wrote: > > If I recompile with `#undef SIGACTION', waithandler is not > > called. > > > > I should add that even with the sigaction(2) interface, without > > the `sigprocmask' call, it still doesn't work, which suggests > > that SIGCHLD is being blocked. > > > > Can anyone explain why? > > From reading "man 3 signal", I get the following impression: > > No Name Default Action Description > 20 SIGCHLD discard signal child status has changed > > The default action is to discard the signal, so the following > paragraph could make sense: > > The sig argument specifies which signal was received. The func procedure > allows a user to choose the action upon receipt of a signal. To set the > default action of the signal to occur as listed above, func should be > SIG_DFL. A SIG_DFL resets the default action. To ignore the signal func > should be SIG_IGN. This will cause subsequent instances of the signal to > be ignored and pending instances to be discarded. If SIG_IGN is not > used, further occurrences of the signal are automatically blocked and > func is called. > > From my limited understanding, maybe this could help you find > an explanation of the observed behaviour? > > Also compare /usr/include/sys/signal.h for the definition of > the involved typedef's. > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Tue May 21 10:42:19 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E53F3B91 for ; Tue, 21 May 2013 10:42:19 +0000 (UTC) (envelope-from jcigar@ulb.ac.be) Received: from mxin.ulb.ac.be (mxin.ulb.ac.be [164.15.128.112]) by mx1.freebsd.org (Postfix) with ESMTP id 32CFD80D for ; Tue, 21 May 2013 10:42:18 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmgCAC1Om1GkD30E/2dsb2JhbAANTIM4iRm4OYEfgxMBAQEDAQEBAUsgCgEQCxgJFggHCQMCAQIBDwYBCRURBggFAQEEAQEBARkEh1oDCRKofoomDUuIDoxKgSWBMgeDVAOUdF6DD4RihhKINGyBAw Received: from bebif01.ulb.ac.be (HELO [192.168.0.50]) ([164.15.125.4]) by smtp.ulb.ac.be with ESMTP/TLS/DHE-RSA-CAMELLIA256-SHA; 21 May 2013 12:40:17 +0200 Message-ID: <519B4F11.9030309@ulb.ac.be> Date: Tue, 21 May 2013 12:40:17 +0200 From: Julien Cigar User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130404 Thunderbird/17.0.5 MIME-Version: 1.0 To: s m Subject: Re: setup journaling for root partition References: <519B40D8.2090809@ulb.ac.be> In-Reply-To: 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 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, 21 May 2013 10:42:20 -0000 On 05/21/2013 12:10, s m wrote: > you mean that journaling is enabled by default???? i don't think so. i > think i misunderstanding. may i ask you to explain it more clear? > gjournal is journaling through GEOM. Since Freebsd 9 soft-updates journaling has been implemented for UFS. So if you want journaling for an UFS FS there is no reason to use gjournal anymore. (check manpages of newfs and/or tunefs and the "-j" and the "-J" flags) > > On Tue, May 21, 2013 at 2:09 PM, Julien Cigar > wrote: > > gjournal should not be used anymore as it has been implemented in > the file system code ... > > > On 05/21/2013 11:24, s m wrote: > > thanks Michael > > this is what i've done (based on the FreeBSD handbook): creating a > partition for journal, go to single user mode, unmount desired > partition > (for example /usr), load gjournal, add journal partition to > /usr partition. > this procedure works well for user and other partitions except > root because > i can not unmount it. > > should i set up journaling in fixit mode with gpart? how? i > try different > ways but none of them work for me:(( > > > > On Tue, May 21, 2013 at 10:36 AM, Michael Sierchio > >wrote: > > On Mon, May 20, 2013 at 10:59 PM, s m > > wrote: > > hello everybody > > i want to setup a journal partition for my root > partition. but i do not > know how to do that. in FreeBSD handbook, it is done > in single user mode, > unmount the desired partition and assign the journal > partition to it. i > test this procedure and it is done for /usr partition > but for root > partition, it can not be unmount in single user mode. > > > See the man page on gjournal > > To configure journaling on the UFS file system using > gjournal, one > should > first create a gjournal provider using the gjournal > utility, then run > newfs(8) or tunefs(8) on it with the -J flag which > instructs UFS to > coop- > erate with the gjournal provider below. > > > > _______________________________________________ > 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 > " > > > > -- > No trees were killed in the creation of this message. > However, many electrons were terribly inconvenienced. > > _______________________________________________ > 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 > " > > -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. From owner-freebsd-questions@FreeBSD.ORG Tue May 21 11:44:16 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BB8FADDD for ; Tue, 21 May 2013 11:44:16 +0000 (UTC) (envelope-from saeedeh.motlagh@gmail.com) Received: from mail-lb0-f176.google.com (mail-lb0-f176.google.com [209.85.217.176]) by mx1.freebsd.org (Postfix) with ESMTP id 29A3BA46 for ; Tue, 21 May 2013 11:44:15 +0000 (UTC) Received: by mail-lb0-f176.google.com with SMTP id x10so645853lbi.7 for ; Tue, 21 May 2013 04:44:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=H/ssb0NK4TJfBxE4Xb+WIQ2TnJPhrJcfEbHktfo7SiI=; b=gPuH8kYah8QDvlmAsDGXMXlujIRZp00LdSnYX27SKYeho2YJTUX/NSt4tSChdkJl4D MmcJcLFRLQm8DnGiI9ySj1vHKGlUpXdVNB+N/vgTaNbuxBl0h2ARe++m6DLzLZjtBQfU eiqqxoBSBvveNTyhiWaYnwe2928EP1hVA0pKpaHIZxsxcNeeLQaCmU2iTN4aJEc87BCr 7HvA/S+j/JFPgzFlFuYiRsiD0VYXAU4PGjBRVw9KsFa5X8vTAwtbO27UOAeVe6t94JWk xtMy9AxhhBa9CSp8TIwNab/NebKN2IsF8ZnATnmD7mjqMy1OsRRJEs9cfaewgiHx5OSa CEQA== X-Received: by 10.112.141.38 with SMTP id rl6mr1309033lbb.101.1369136654867; Tue, 21 May 2013 04:44:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.13.226 with HTTP; Tue, 21 May 2013 04:43:34 -0700 (PDT) In-Reply-To: <519B4F11.9030309@ulb.ac.be> References: <519B40D8.2090809@ulb.ac.be> <519B4F11.9030309@ulb.ac.be> From: saeedeh motlagh Date: Tue, 21 May 2013 16:13:34 +0430 Message-ID: Subject: Re: setup journaling for root partition To: Julien Cigar Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: s m , freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 May 2013 11:44:16 -0000 thanks Julien, but i think it's not true. man page for newfs seys that journaling is done via gjournal and in freebsd handbook it says do journaling with gjournal for UFS file system. you mean i should create a partition and just enable journaling for it with -J flag? i think my problem is, my gjournal can not act correctly in fixit mode because i can load it in single user mode and every thing is ok but in fixit mode, i can not load it and all commands return errors. please help me to make a journal for my root:((( On Tue, May 21, 2013 at 3:10 PM, Julien Cigar wrote: > On 05/21/2013 12:10, s m wrote: > >> you mean that journaling is enabled by default???? i don't think so. i >> think i misunderstanding. may i ask you to explain it more clear? >> >> > gjournal is journaling through GEOM. Since Freebsd 9 soft-updates > journaling has been implemented for UFS. So if you want journaling for an > UFS FS there is no reason to use gjournal anymore. (check manpages of newfs > and/or tunefs and the "-j" and the "-J" flags) > > >> On Tue, May 21, 2013 at 2:09 PM, Julien Cigar > jcigar@ulb.ac.be>> wrote: >> >> gjournal should not be used anymore as it has been implemented in >> the file system code ... >> >> >> On 05/21/2013 11:24, s m wrote: >> >> thanks Michael >> >> this is what i've done (based on the FreeBSD handbook): creating a >> partition for journal, go to single user mode, unmount desired >> partition >> (for example /usr), load gjournal, add journal partition to >> /usr partition. >> this procedure works well for user and other partitions except >> root because >> i can not unmount it. >> >> should i set up journaling in fixit mode with gpart? how? i >> try different >> ways but none of them work for me:(( >> >> >> >> On Tue, May 21, 2013 at 10:36 AM, Michael Sierchio >> >**wrote: >> >> >> On Mon, May 20, 2013 at 10:59 PM, s m >> > wrote: >> >> hello everybody >> >> i want to setup a journal partition for my root >> partition. but i do not >> know how to do that. in FreeBSD handbook, it is done >> in single user mode, >> unmount the desired partition and assign the journal >> partition to it. i >> test this procedure and it is done for /usr partition >> but for root >> partition, it can not be unmount in single user mode. >> >> >> See the man page on gjournal >> >> To configure journaling on the UFS file system using >> gjournal, one >> should >> first create a gjournal provider using the gjournal >> utility, then run >> newfs(8) or tunefs(8) on it with the -J flag which >> instructs UFS to >> coop- >> erate with the gjournal provider below. >> >> >> >> ______________________________**_________________ >> 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 >> >> >" >> >> >> >> >> -- No trees were killed in the creation of this message. >> However, many electrons were terribly inconvenienced. >> >> ______________________________**_________________ >> 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 >> >> >" >> >> >> > > -- > No trees were killed in the creation of this message. > However, many electrons were terribly inconvenienced. > > ______________________________**_________________ > 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 " > -- *Sa.M* From owner-freebsd-questions@FreeBSD.ORG Tue May 21 12:35:41 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E7E74454 for ; Tue, 21 May 2013 12:35:41 +0000 (UTC) (envelope-from feld@feld.me) Received: from out2-smtp.messagingengine.com (out2-smtp.messagingengine.com [66.111.4.26]) by mx1.freebsd.org (Postfix) with ESMTP id B97D7DEE for ; Tue, 21 May 2013 12:35:41 +0000 (UTC) Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.nyi.mail.srv.osa (Postfix) with ESMTP id 754C620DE8 for ; Tue, 21 May 2013 08:35:33 -0400 (EDT) Received: from frontend1.nyi.mail.srv.osa ([10.202.2.160]) by compute3.internal (MEProxy); Tue, 21 May 2013 08:35:35 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=feld.me; h= content-type:to:subject:references:date:mime-version :content-transfer-encoding:from:message-id:in-reply-to; s= mesmtp; bh=RFBdP20RfoPA3Bx/cBYx4s9GEqo=; b=mY/xEFtTnAF1HFbpo+Mti SaZs+twJzNQ5hWjjV9Feg+IWK4CbAVGb78kPJmg7ZjCB3j9cdsoIvz/U6PXs9JeO qMw+JdsznykEpB9mgVuN0cVePrDETFNQ2j/QGiMZWZoja/PPOdhPkKotJRLxv/5k 6DQIvBEAqBZ3v7d+eb5p6Y= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:to:subject:references:date :mime-version:content-transfer-encoding:from:message-id :in-reply-to; s=smtpout; bh=RFBdP20RfoPA3Bx/cBYx4s9GEqo=; b=sdCu z0buoeduUi9UC6js/Q1YQJ7KKGHDKSvsZmCWtCkssMgWZoWjzScWnrK+oW4Ai0dv SNYVF+XXDigINsiNRW3gkfoiJP1Hgxc4BwgoxMi3aOjWPEmwgRhGTMPptb8ZRWKT YSPKys0iPvQtDa6+Pz3835r2b69esq7B7JoGS7U= X-Sasl-enc: xmX3mDx+X5xZWmW6KFFqOojdPlRHHfv4FzZRZc6JNP2D 1369139733 Received: from tech304.office.supranet.net (unknown [66.170.8.18]) by mail.messagingengine.com (Postfix) with ESMTPA id 3AC60C8000A for ; Tue, 21 May 2013 08:35:33 -0400 (EDT) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: freebsd-questions@freebsd.org Subject: Re: setup journaling for root partition References: <519B40D8.2090809@ulb.ac.be> <519B4F11.9030309@ulb.ac.be> Date: Tue, 21 May 2013 07:35:32 -0500 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Mark Felder" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.15 (FreeBSD) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 May 2013 12:35:42 -0000 On Tue, 21 May 2013 06:43:34 -0500, saeedeh motlagh wrote: > thanks Julien, but i think it's not true. man page for newfs seys that > journaling is done via gjournal and in freebsd handbook it says do > journaling with gjournal for UFS file system. No, he's right. It's generally not recommended to use gjournal anymore. It's still supported for those that have existing implementations and want to be able to update their FreeBSD install without breaking their filesystems. UFS' SUJ (soft updates journaling) is what you should be using. From owner-freebsd-questions@FreeBSD.ORG Tue May 21 14:36:49 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id AE344271 for ; Tue, 21 May 2013 14:36:49 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id 7416B6B1 for ; Tue, 21 May 2013 14:36:49 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UengA-0004Li-27 for freebsd-questions@freebsd.org; Tue, 21 May 2013 16:36:42 +0200 Received: from office-nat.spylog.net ([193.169.234.6]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 May 2013 16:36:42 +0200 Received: from citrin by office-nat.spylog.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 21 May 2013 16:36:42 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Anton Yuzhaninov Subject: Re: Errors building vortex port Date: Tue, 21 May 2013 14:36:26 +0000 (UTC) Organization: Vega Lines: 16 Sender: Anton Yuzhaninov Message-ID: References: X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: office-nat.spylog.net X-Comment-To: "C. L. Martinez" User-Agent: tin/2.0.1-20111224 ("Achenvoir") (UNIX) (FreeBSD/10.0-CURRENT (i386)) 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, 21 May 2013 14:36:49 -0000 On Thu, 16 May 2013 18:30:05, C. L. Martinez wrote: CLM> ===> Building for vortex-2.9.0.59 CLM> cd /wrkdirs/usr/ports/net/vortex/work/vortex-2.9.0 && cc -c vortex.c CLM> -I/usr/local/include CLM> cd /wrkdirs/usr/ports/net/vortex/work/vortex-2.9.0 && cc -o vortex CLM> vortex.o -L/usr/local/lib /usr/local/lib/libnids.a CLM> `/usr/local/bin/libnet11-config --libs` -lgthread-2.0 -lpcap CLM> /usr/local/lib/libnids.a(killtcp.o): In function `raw_init': CLM> killtcp.c:(.text+0xa): undefined reference to `libnet_open_raw_sock' CLM> /usr/local/lib/libnids.a(killtcp.o): In function `nids_killtcp_seq': CLM> killtcp.c:(.text+0xc7): undefined reference to `libnet_build_ip' CLM> killtcp.c:(.text+0x14d): undefined reference to `libnet_write_ip' CLM> killtcp.c:(.text+0x18f): undefined reference to `libnet_build_ip' CLM> killtcp.c:(.text+0x20f): undefined reference to `libnet_write_ip' May be libnids broken with libnet 1.1. Try to libnet 1.0 From owner-freebsd-questions@FreeBSD.ORG Tue May 21 14:42:24 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id DB22D408 for ; Tue, 21 May 2013 14:42:24 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id 759E3773 for ; Tue, 21 May 2013 14:42:24 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.5/8.14.5) with ESMTP id r4LEg4Uq012438; Tue, 21 May 2013 15:42:04 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Message-ID: <519B87BC.1010301@qeng-ho.org> Date: Tue, 21 May 2013 15:42:04 +0100 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: saeedeh motlagh Subject: Re: setup journaling for root partition References: <519B40D8.2090809@ulb.ac.be> <519B4F11.9030309@ulb.ac.be> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 May 2013 14:42:24 -0000 On 05/21/13 12:43, saeedeh motlagh wrote: > thanks Julien, but i think it's not true. man page for newfs seys that > journaling is done via gjournal and in freebsd handbook it says do > journaling with gjournal for UFS file system. > > you mean i should create a partition and just enable journaling for it with > -J flag? > > i think my problem is, my gjournal can not act correctly in fixit mode > because i can load it in single user mode and every thing is ok but in > fixit mode, i can not load it and all commands return errors. > > please help me to make a journal for my root:((( Look more carefully at the newfs man page. Option -J (upper case) is gjournal type journalling, option -j (lower case) is native UFS soft update journalling. It's the latter one you want. This is on RELEASE-9.1 though. What version are you on? -- In the dungeons of Mordor, Sauron bred Orcs with LOLcats to create a new race of servants. Called Uruk-Oh-Hai in the Black Speech, they were cruel and delighted in torturing spelling and grammar. _Lord of the Rings 2.0, the Web Edition_ From owner-freebsd-questions@FreeBSD.ORG Tue May 21 14:46:23 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 40712614 for ; Tue, 21 May 2013 14:46:23 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-ob0-x232.google.com (mail-ob0-x232.google.com [IPv6:2607:f8b0:4003:c01::232]) by mx1.freebsd.org (Postfix) with ESMTP id 0A93E7C1 for ; Tue, 21 May 2013 14:46:22 +0000 (UTC) Received: by mail-ob0-f178.google.com with SMTP id v19so803136obq.23 for ; Tue, 21 May 2013 07:46:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=nbp4wZ6cpvi2B9eqGOyqMNkHLrOftlegN6Mk/D6WRno=; b=G+pHHRYrvvt1tH4sL9YEm6qd4c4lzWb+yeIe/rc00VbRkmJklURiUSVP0LXHtdmt8u +dqa9gXgxPn75xPF/SV32+zntG1iKfRmcUxHo90Hnf+Cnm9uT2HgfYXFB0EKOX3BSsZA k8WoohqyDG2mrLswSX1IXUtKfkSGdxEiCdCFle0pZjX5NFwDp8VQvDAcNQoMYdP+JMPr b05P6sxCfKNHB8v1iWtvkmbwZlYY4RfPrFZHkNI1o4n0QQHGtm4eDbh7M3W/mfowyWvt GZFQ14GW040uE3aAKP3EGS1wcuyldGhIJdgniFLwgUC1uC35qOYGrCj/lgd+LpDQzbzh pMvw== MIME-Version: 1.0 X-Received: by 10.60.17.198 with SMTP id q6mr1562564oed.131.1369147582575; Tue, 21 May 2013 07:46:22 -0700 (PDT) Received: by 10.60.57.37 with HTTP; Tue, 21 May 2013 07:46:22 -0700 (PDT) In-Reply-To: <519B87BC.1010301@qeng-ho.org> References: <519B40D8.2090809@ulb.ac.be> <519B4F11.9030309@ulb.ac.be> <519B87BC.1010301@qeng-ho.org> Date: Tue, 21 May 2013 07:46:22 -0700 Message-ID: Subject: Re: setup journaling for root partition From: Michael Sierchio To: Arthur Chance X-Gm-Message-State: ALoCoQnNFN4njEVWYxj92hKAGHKGvJIiIeqvzh2xkeaujonLQ4XNlb0Kr27h9P1AmnLZZKkBxsXY Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: saeedeh motlagh , freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 May 2013 14:46:23 -0000 AFAIK Softupdates journaling still breaks snapshot functionality - which makes it unusable for me. I wouldn't assume that the O.P. doesn't want we he's asking for. - M On Tue, May 21, 2013 at 7:42 AM, Arthur Chance wrote: > On 05/21/13 12:43, saeedeh motlagh wrote: > >> thanks Julien, but i think it's not true. man page for newfs seys that >> journaling is done via gjournal and in freebsd handbook it says do >> journaling with gjournal for UFS file system. >> >> you mean i should create a partition and just enable journaling for it >> with >> -J flag? >> >> i think my problem is, my gjournal can not act correctly in fixit mode >> because i can load it in single user mode and every thing is ok but in >> fixit mode, i can not load it and all commands return errors. >> >> please help me to make a journal for my root:((( >> > > Look more carefully at the newfs man page. Option -J (upper case) is > gjournal type journalling, option -j (lower case) is native UFS soft update > journalling. It's the latter one you want. > > This is on RELEASE-9.1 though. What version are you on? > > -- > In the dungeons of Mordor, Sauron bred Orcs with LOLcats to create a > new race of servants. Called Uruk-Oh-Hai in the Black Speech, they > were cruel and delighted in torturing spelling and grammar. > > _Lord of the Rings 2.0, the Web Edition_ > > ______________________________**_________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions > To unsubscribe, send any mail to "freebsd-questions-** > unsubscribe@freebsd.org " > From owner-freebsd-questions@FreeBSD.ORG Tue May 21 15:18:31 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 27B3C1E3 for ; Tue, 21 May 2013 15:18:31 +0000 (UTC) (envelope-from freebsd@qeng-ho.org) Received: from blue.qeng-ho.org (blue.qeng-ho.org [217.155.128.241]) by mx1.freebsd.org (Postfix) with ESMTP id B5E8C95D for ; Tue, 21 May 2013 15:18:27 +0000 (UTC) Received: from fileserver.home.qeng-ho.org (localhost [127.0.0.1]) by fileserver.home.qeng-ho.org (8.14.5/8.14.5) with ESMTP id r4LFIQLI012517; Tue, 21 May 2013 16:18:27 +0100 (BST) (envelope-from freebsd@qeng-ho.org) Message-ID: <519B9042.5050704@qeng-ho.org> Date: Tue, 21 May 2013 16:18:26 +0100 From: Arthur Chance User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: Michael Sierchio Subject: Re: setup journaling for root partition References: <519B40D8.2090809@ulb.ac.be> <519B4F11.9030309@ulb.ac.be> <519B87BC.1010301@qeng-ho.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: saeedeh motlagh , freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 May 2013 15:18:31 -0000 On 05/21/13 15:46, Michael Sierchio wrote: > AFAIK Softupdates journaling still breaks snapshot functionality - which > makes it unusable for me. I wouldn't assume that the O.P. doesn't want we > he's asking for. Good point, I'd forgotten that problem as I don't use UFS snapshots. I can imagine it would be a killer for some people. -- In the dungeons of Mordor, Sauron bred Orcs with LOLcats to create a new race of servants. Called Uruk-Oh-Hai in the Black Speech, they were cruel and delighted in torturing spelling and grammar. _Lord of the Rings 2.0, the Web Edition_ From owner-freebsd-questions@FreeBSD.ORG Tue May 21 15:20:30 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 579DD2A4 for ; Tue, 21 May 2013 15:20:30 +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 17F81974 for ; Tue, 21 May 2013 15:20:29 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r4LFKTJL080255; Tue, 21 May 2013 09:20:29 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r4LFKTco080252; Tue, 21 May 2013 09:20:29 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 21 May 2013 09:20:29 -0600 (MDT) From: Warren Block To: Arthur Chance Subject: Re: setup journaling for root partition In-Reply-To: <519B9042.5050704@qeng-ho.org> Message-ID: References: <519B40D8.2090809@ulb.ac.be> <519B4F11.9030309@ulb.ac.be> <519B87BC.1010301@qeng-ho.org> <519B9042.5050704@qeng-ho.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Tue, 21 May 2013 09:20:29 -0600 (MDT) Cc: Michael Sierchio , saeedeh motlagh , freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 May 2013 15:20:30 -0000 On Tue, 21 May 2013, Arthur Chance wrote: > On 05/21/13 15:46, Michael Sierchio wrote: >> AFAIK Softupdates journaling still breaks snapshot functionality - which >> makes it unusable for me. I wouldn't assume that the O.P. doesn't want we >> he's asking for. > > Good point, I'd forgotten that problem as I don't use UFS snapshots. I can > imagine it would be a killer for some people. It is, especially if you use dump/restore. From owner-freebsd-questions@FreeBSD.ORG Tue May 21 16:25:36 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9640C31D for ; Tue, 21 May 2013 16:25:36 +0000 (UTC) (envelope-from machina2413@gmail.com) Received: from mail-bk0-x236.google.com (mail-bk0-x236.google.com [IPv6:2a00:1450:4008:c01::236]) by mx1.freebsd.org (Postfix) with ESMTP id 2E832CD4 for ; Tue, 21 May 2013 16:25:36 +0000 (UTC) Received: by mail-bk0-f54.google.com with SMTP id it16so180378bkc.41 for ; Tue, 21 May 2013 09:25:35 -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=dSD+f4jsR8A9nxAZD4BAOwcK3+dJWFQUmeUs7Y5texQ=; b=gtpwMHaS3/Z21C/WrwSrSGxaJLzPFQwGxO2qKwKtY2e+fa5fxXt/9CTOmUbMoCCQe2 W5/IoS5V5M3+s2y6XCYMgL6urpfrAnfOxBgU7KhHiFqtWj5Zil4iiLR51iPaNXzA+tda cDgfQN5XrcqKy36RxQgjr/4n1Y93tNjsJlFhpFD0k5fkV8/LuMtJxy2Yvx9g59c75b3+ kbOmfKf0rYGPx+/fdrwe6GD6/H1xkmGO3n3byIWYzRz8bvILw9R+hJXisij/nvZc1mY6 Xp1oPzuxs80Sz11XxfYFBsF+MMRVDDowNandcs5BpmXGcv8dc3sHZrG+VcAki2t81yuf G2Zg== MIME-Version: 1.0 X-Received: by 10.205.101.65 with SMTP id cz1mr1770166bkc.124.1369153535164; Tue, 21 May 2013 09:25:35 -0700 (PDT) Received: by 10.205.25.72 with HTTP; Tue, 21 May 2013 09:25:35 -0700 (PDT) Date: Tue, 21 May 2013 18:25:35 +0200 Message-ID: Subject: FreeBSD, VBox, mouse integration From: asf8g 9hf32 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, 21 May 2013 16:25:36 -0000 Hello, I'm using VirtualBox. Host OS is FreeBSD, guest OS is FreeBSD(amd64) too. I'd like to integrate mouse from guest and host(I don't want to use right ctrl to free mouse from guest). I'm using vbox guest additions to do it. I have loaded drivers(vboxguest and vboxvideo).My rc.conf has lines vboxguest_enable="YES"vboxservice_enable="YES" but mouse isn't integrated. Could you tell me what to do to integrate mouse ? Thanks, Lukas From owner-freebsd-questions@FreeBSD.ORG Tue May 21 16:41:03 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id AE24BA08 for ; Tue, 21 May 2013 16:41:03 +0000 (UTC) (envelope-from freebsdenml@fuckaround.org) Received: from mr001msr.fastwebnet.it (mr001msr.fastwebnet.it [85.18.95.64]) by mx1.freebsd.org (Postfix) with ESMTP id 3BDFEDAE for ; Tue, 21 May 2013 16:41:03 +0000 (UTC) Received: from server1.fuckaround.org (93.49.16.11) by mr001msr.fastwebnet.it (8.5.140.03) id 5176478302A6FA8F for freebsd-questions@freebsd.org; Tue, 21 May 2013 18:41:00 +0200 Received: by server1.fuckaround.org (Postfix, from userid 65534) id A200375824E; Tue, 21 May 2013 18:41:00 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on server1.fuckaround.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=7.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.1 Received: from [10.10.10.17] (unknown [10.10.10.17]) by server1.fuckaround.org (Postfix) with ESMTP id 19B4475824C for ; Tue, 21 May 2013 18:40:55 +0200 (CEST) Message-ID: <519BA42D.8010809@fuckaround.org> Date: Tue, 21 May 2013 18:43:25 +0200 From: Pol Hallen User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: "freebsd-questions@freebsd.org >> FreeBSD Questions" Subject: filesystem advice Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 May 2013 16:41:03 -0000 Hi all and sorry for this (newbie) question. I study FreeBSD (I come from linux) and I'm not sure which filesystem use. My situation: install a fileserver (samba) for 3 clients and put it as gateway/server on internet (ssh, and samba to internal lan). I installed FreeBSD with raid 1 following this howto: http://www.ateamsystems.com/blog/Installing-FreeBSD-9-gmirror-GPT-partitions-raid-1 everything ok! I see that use ufs filesystem, now: I'd like have less maintenance possible direclty to machine because this server is far to me 50Km. So I can use ssh for default (and extra) maintenance. Which filesystem is "better"? After total crash of system (i.e.) or black-out, ufs can repair it by itself? Or better use ufs+journal? or zfs? Motherboard is atom dual core with 2Gb of ram and 2 disks with 2Gb each. Thanks for the help! Best regards Pol From owner-freebsd-questions@FreeBSD.ORG Tue May 21 16:45:55 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 90AFBD95 for ; Tue, 21 May 2013 16:45:55 +0000 (UTC) (envelope-from tnelson@rockbochs.com) Received: from zmail.rockbochs.com (zmail.rockbochs.com [208.65.104.56]) by mx1.freebsd.org (Postfix) with ESMTP id 6EBCCDFF for ; Tue, 21 May 2013 16:45:55 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by zmail.rockbochs.com (Postfix) with ESMTP id A0DEE20583C5 for ; Tue, 21 May 2013 11:39:44 -0500 (CDT) X-Virus-Scanned: amavisd-new at zmail.rockbochs.com Received: from zmail.rockbochs.com ([127.0.0.1]) by localhost (zmail.rockbochs.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WeN+9bsgME9s for ; Tue, 21 May 2013 11:39:43 -0500 (CDT) Received: from zmail.rockbochs.com (zmail.rockbochs.com [208.65.104.56]) by zmail.rockbochs.com (Postfix) with ESMTP id 7BEC820580AE for ; Tue, 21 May 2013 11:39:43 -0500 (CDT) Date: Tue, 21 May 2013 11:39:43 -0500 (CDT) From: Tim Nelson To: freebsd-questions@freebsd.org Message-ID: <4402634.106182.1369154383402.JavaMail.root@rockbochs.com> In-Reply-To: <15887170.106166.1369154292197.JavaMail.root@rockbochs.com> Subject: Installing 8.1-RELEASE - Problems via FTP MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [216.173.144.70] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Win)/7.2.0_GA_2669) 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, 21 May 2013 16:45:55 -0000 Greetings- I have need to install FreeBSD 8.1-RELEASE amd64 to build some packages. My usual method of installation is via the *-bootonly.iso, pulling the install from FTP. However, it appears since 8.1-RELEASE is old and deprecated, none of the mirrors have the files available anymore to use during the installer. So, how do I proceed: 1. Does anyone have a proper URL to put into the installer? I already tried ftp://ftp-archive.freebsd.org but I think there is additional path info needed 2. Should I install from the full CD or DVDs? If successful, would I still have problems pulling the ports tree for 8.1-RELEASE? Thanks! --Tim From owner-freebsd-questions@FreeBSD.ORG Tue May 21 17:08:27 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4954D814 for ; Tue, 21 May 2013 17:08:27 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id 138ACF21 for ; Tue, 21 May 2013 17:08:26 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id o17so1161752oag.13 for ; Tue, 21 May 2013 10:08:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=Ji0FR/reFJ5rZxQiC5zqGFVyMyo1B3WGSAyJoav0xaA=; b=ZqgyIF6at4c/+q5kxI2UB1Q0ePovUVPzO6ODsFhMpChMC4olFz1a/zc+P9MeFYT6KP yMyg8w9b/VNfcW+tXe7E4D1NSN+bbGP3UZ/Znt8Q2FCabHGyH6fkTpS+p6MPrieyswww T9fW/7jZfsfq+inMJo+Mw1aZm49pZ2KmgOaBfp9Odz6sBn+yWBHx3/7y/5QBtDiw+yYN W4Hb5JAxwK5pJTzfy7+3gZXN8zYhu6JEhGEZlNxsvDg7TVAoBsnFErnfs5vlHLYUZ6sn sDFuayfnOxzOWRcGvV/a9Kigv8xs9IuNffhR4L7kQylPuQGEHM6+cDLDEjQaKQl8DMol /HvA== MIME-Version: 1.0 X-Received: by 10.60.47.1 with SMTP id z1mr2083386oem.134.1369156100311; Tue, 21 May 2013 10:08:20 -0700 (PDT) Received: by 10.60.57.37 with HTTP; Tue, 21 May 2013 10:08:20 -0700 (PDT) In-Reply-To: References: <519B40D8.2090809@ulb.ac.be> <519B4F11.9030309@ulb.ac.be> <519B87BC.1010301@qeng-ho.org> <519B9042.5050704@qeng-ho.org> Date: Tue, 21 May 2013 10:08:20 -0700 Message-ID: Subject: Re: setup journaling for root partition From: Michael Sierchio To: freebsd-questions X-Gm-Message-State: ALoCoQnEM3G57JIArH9TIUUlnTpIuIkpvFoB0lmp6aKQ/VwvIG26QdrS3DaMng/7Z7u8FnD9ZVvz 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, 21 May 2013 17:08:27 -0000 On Tue, May 21, 2013 at 8:20 AM, Warren Block wrote: On Tue, 21 May 2013, Arthur Chance wrote: > > On 05/21/13 15:46, Michael Sierchio wrote: >> >>> AFAIK Softupdates journaling still breaks snapshot functionality - which >>> makes it unusable for me. I wouldn't assume that the O.P. doesn't want we >>> he's asking for. >>> >> >> Good point, I'd forgotten that problem as I don't use UFS snapshots. I >> can imagine it would be a killer for some people. >> > > It is, especially if you use dump/restore. > Or tarsnap (which is what we use for backups here), or... there are many use cases for snapshots. - M From owner-freebsd-questions@FreeBSD.ORG Tue May 21 17:26:58 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2B448E8D for ; Tue, 21 May 2013 17:26:58 +0000 (UTC) (envelope-from axelbsd@ymail.com) Received: from nm3-vm2.bullet.mail.ne1.yahoo.com (nm3-vm2.bullet.mail.ne1.yahoo.com [98.138.91.19]) by mx1.freebsd.org (Postfix) with ESMTP id D34BAFF7 for ; Tue, 21 May 2013 17:26:57 +0000 (UTC) Received: from [98.138.90.53] by nm3.bullet.mail.ne1.yahoo.com with NNFMP; 21 May 2013 17:23:45 -0000 Received: from [98.138.84.41] by tm6.bullet.mail.ne1.yahoo.com with NNFMP; 21 May 2013 17:23:45 -0000 Received: from [127.0.0.1] by smtp109.mail.ne1.yahoo.com with NNFMP; 21 May 2013 17:23:45 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1369157025; bh=uhy44hpGUpuLL2PqzNSOiRMEW5uSJTbRwkPEA9fR/Io=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Received:X-Google-DKIM-Signature:MIME-Version:X-Received:Received:In-Reply-To:References:Date:Message-ID:Subject:From:To:Cc:Content-Type; b=VgpTjtFj1YYeeDO61m8G97MCmh4stqhCGDB4s+cc0uVSV2DORgiZuZwN/5hZhTx3k3ew70bx4SSqnPzkQK56EfcXpIdYonR9QWwM0wBrDh4yPwNKY+HeznJZ2dImH1FsHhy7WKYn7+T0nPT+XoNb62lPBQoZUfa/E1x/vcaShEA= X-Yahoo-Newman-Id: 942927.75460.bm@smtp109.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: LFVII_UVM1m.2rgoqcYzBWROh91VukI6Av8qfnkBhWNSM4s rYZ_JWYM8WE5Pknq1W7Ke3R.bxYsKPXVZvgIUvhDraY.aMWwgdpBKjxDQAhM Gi6BMWJFPxwHh7.8irH0p5RE0I93Kn92Ut6fCEjJzD4dzxdH7uS2X4JhLECd EZdVow23458OdKkFFdEcRPRrXrXjqIveEIdfvhWHG3YLnetB2dvHZBPFktEZ 8Jhg7m.ViDmkCL3Xlx0BiUjZXm2LYtbQzO7YwriVWeZM0gZSvb599NGULsBI tHQbnlBLzc6fHRxvfXcKO68I6QSGUIftMda14wrjcbn_Lwe7FDkwC57zopym vkEoHq6ebgyj8y20H4PK1ZOzGnExiMtGSmkvGFGeE2N8shlVtwb9VbU9TCmV CSOxXAlAgSDBy8jlZ6.e3kE8esLppI9_AtK66GKQovH0n0hefzxLfuEXoV0y DDA-- X-Yahoo-SMTP: S65s63SswBDjU54Gjqw2GSWlZmfgiEU_X3tN1_9u X-Rocket-Received: from mail-ve0-f171.google.com (axelbsd@209.85.128.171 with ) by smtp109.mail.ne1.yahoo.com with SMTP; 21 May 2013 10:23:45 -0700 PDT Received: by mail-ve0-f171.google.com with SMTP id m1so697371ves.30 for ; Tue, 21 May 2013 10:23:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=uhy44hpGUpuLL2PqzNSOiRMEW5uSJTbRwkPEA9fR/Io=; b=iogRKeCp0d4HArqOe2GDYZXd1SnpW/AqNEi1vpzLyA+DkL0ny4aXG4KXEUB6JZd0bN 8LGbiyqPWbv+cCQzL20aD9bvpIAoRX7i+6xsPnq7cJkACzth9dPHRf0f2rGi0Sh+A4VW pyhgcJortq7sYc7hzFUoNGhqTgQmgeh+dOVcc5EoX9t33TASIwzPhEVLULze7Go4GsHu hW2uOFwhlGLhqi09i4z/gWU6zj9pckaysf1GW6uf/izajsez78+C2hpnnusscv/CSwjZ iQ7O/KjsELU2DFmBY1bLusEzHMUg3eBSG7seBCsHeWV0h/7eHzdNFfa349WZCdsqFK12 O+iQ== MIME-Version: 1.0 X-Received: by 10.220.213.131 with SMTP id gw3mr1323119vcb.27.1369157025229; Tue, 21 May 2013 10:23:45 -0700 (PDT) Received: by 10.58.146.6 with HTTP; Tue, 21 May 2013 10:23:45 -0700 (PDT) In-Reply-To: References: Date: Tue, 21 May 2013 19:23:45 +0200 Message-ID: Subject: Re: FreeBSD, VBox, mouse integration From: Alexandre To: asf8g 9hf32 Content-Type: text/plain; charset=UTF-8 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: Tue, 21 May 2013 17:26:58 -0000 On Tuesday, May 21, 2013, asf8g 9hf32 wrote: > Hello, > > I'm using VirtualBox. Host OS is FreeBSD, guest OS is FreeBSD(amd64) too. > I'd like to integrate mouse from guest and host(I don't want to use right > ctrl to free mouse from guest). > I'm using vbox guest additions to do it. I have loaded drivers(vboxguest > and vboxvideo).My rc.conf has lines > > vboxguest_enable="YES"vboxservice_enable="YES" > > but mouse isn't integrated. > > Could you tell me what to do to integrate mouse ? > > Thanks, > > Lukas > Hi Lukas, In your VM, have you installed VBox additional tool from ports/packages in addition to the lines in /etc/rc.conf ? You must use the same version of VirtualBox on both host and guest. Kind regards, Alexandre From owner-freebsd-questions@FreeBSD.ORG Tue May 21 18:04:06 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6655EDC9 for ; Tue, 21 May 2013 18:04:06 +0000 (UTC) (envelope-from trtrmitya@gmail.com) Received: from mail-lb0-f177.google.com (mail-lb0-f177.google.com [209.85.217.177]) by mx1.freebsd.org (Postfix) with ESMTP id E6F70214 for ; Tue, 21 May 2013 18:04:05 +0000 (UTC) Received: by mail-lb0-f177.google.com with SMTP id o10so1136501lbi.36 for ; Tue, 21 May 2013 11:03:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version:x-mailer; bh=EmM2coynGPrddv1SJnTIcmVMI5aZfgIersHR+C2arvE=; b=SBuazlxJJGQprlIvhZDLUqOC+z6WiSsKmfA9gmdBUasjcUgEG9EosXEL6x8rumF1nY ScZJC/Om1Ab1MCnAHLGjKa+ueEg5wow2lhWdM2LHpANS3cytyVzhhjOK87dt6D7BIlRr 9ZgBWrygwgcL4Apl2GmpbFV5T3YHfpo7t1vY8dHxt9GjUWdEnnIZD86kx4b8S9oon1cn tO3dcqzYyDzd6PL1MX5eCI+i8VNJ62HxphRDLPGRWlZp1PALLx/kzZKTLxc5jNj/Oc7k mM66bbKejDxDnAeCw/ZN55Nqv2XCUbjfQTrhdP2J+AvokoUFnuXnZThmBE/zOgANI5vm DsUw== X-Received: by 10.112.6.6 with SMTP id w6mr2117762lbw.123.1369159439259; Tue, 21 May 2013 11:03:59 -0700 (PDT) Received: from [10.0.1.20] (ip-95-220-128-64.bb.netbynet.ru. [95.220.128.64]) by mx.google.com with ESMTPSA id y7sm1520737lad.5.2013.05.21.11.03.58 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 May 2013 11:03:58 -0700 (PDT) From: Dmitry Sivachenko Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: RES column in top(1) output Message-Id: <24044FD7-4E2A-493F-B0CE-701C3A73169F@gmail.com> Date: Tue, 21 May 2013 22:03:57 +0400 To: questions@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) X-Mailer: Apple Mail (2.1503) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 May 2013 18:04:06 -0000 Hello, Can you please explain me the meaning of RES column in top(1) output: as far as I understand from man-page, it is resident portion of the = process, that is the amount of memory process takes from RAM. But I = get: Mem: 55G Active, 23G Inact, 11G Wired, 3729M Cache, 9838M Buf, 97M Free Swap: 49G Total, 14M Used, 49G Free PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU = COMMAND 93273 username 103 52 0 141G 115G uwait 22 25:37 19.82% = XXX So I have a machine with 96GB of RAM, no swap is used and my process's = resident size is 115G (more than physical memory). It is clear I am missing something. Thanks in advance.= From owner-freebsd-questions@FreeBSD.ORG Tue May 21 18:09:56 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 960EFFA3 for ; Tue, 21 May 2013 18:09:56 +0000 (UTC) (envelope-from machina2413@gmail.com) Received: from mail-bk0-x22c.google.com (mail-bk0-x22c.google.com [IPv6:2a00:1450:4008:c01::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 2C6B5262 for ; Tue, 21 May 2013 18:09:56 +0000 (UTC) Received: by mail-bk0-f44.google.com with SMTP id jc3so597813bkc.3 for ; Tue, 21 May 2013 11:09: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 :cc:content-type; bh=aExY+XlaMGD0fY2kQjOC7ljFDkw1hAYevqEab23+3go=; b=iPguT0gezc6sW/nTph3BxUth13poxZGOrBZg2ATJ1hkD8VppMy6l/GEWwzKNHDlMlA 1veoyuyQAJedR1EiH5OW0Kt0dNWZBrxHSBY6RKZ7NrOgDc+QeJ/kGfjx/J3tJhbKdQWT Q7mtLacxjwkJfZWbgg0zxM0n3F/6MnPP0DY6+iAMfx9zEADTmA0+k4pH9W15Z/qKYccz 1e4wXmfZ+LuFEDKTGjM5c6n0Zm/2+eSXq8RnJvn6/p8GbXjC6WHOt/GgW4DRm3UHFNyD Fn3cC7lEgHj0CFm0Xs0vqtVeHW8LqmORpAaakCrEZVVCnwtkWqSTsw2n6mnR39p+1hNo lV1Q== MIME-Version: 1.0 X-Received: by 10.205.21.138 with SMTP id qs10mr2038853bkb.39.1369159795129; Tue, 21 May 2013 11:09:55 -0700 (PDT) Received: by 10.205.25.72 with HTTP; Tue, 21 May 2013 11:09:55 -0700 (PDT) In-Reply-To: References: Date: Tue, 21 May 2013 20:09:55 +0200 Message-ID: Subject: Re: FreeBSD, VBox, mouse integration From: asf8g 9hf32 To: Alexandre Content-Type: text/plain; charset=ISO-8859-1 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: Tue, 21 May 2013 18:09:56 -0000 Well, I don't know much about installation. My professor at university has ordered me to test mouse integration(it hasn't worked). So I need to fix it. The only thing I know is that he has used guest additions. I have 2 scripts. The first loads drivers (vboxguest and vboxvideo). The second is about vboxservice. Loading drivers works fine, I've checked it using "kldstat". I've found on Web that I need to add this 2 lines to rc.conf, but they have been there already. I have no idea what to do next. What do you mean with the same version of VirtualBox? Do I have to have the same version on my host and guest even if i dont use vbox on guest? Lukas 2013/5/21 Alexandre > > > On Tuesday, May 21, 2013, asf8g 9hf32 wrote: > >> Hello, >> >> I'm using VirtualBox. Host OS is FreeBSD, guest OS is FreeBSD(amd64) too. >> I'd like to integrate mouse from guest and host(I don't want to use right >> ctrl to free mouse from guest). >> I'm using vbox guest additions to do it. I have loaded drivers(vboxguest >> and vboxvideo).My rc.conf has lines >> >> vboxguest_enable="YES"vboxservice_enable="YES" >> >> but mouse isn't integrated. >> >> Could you tell me what to do to integrate mouse ? >> >> Thanks, >> >> Lukas > > >> Hi Lukas, > > > In your VM, have you installed VBox additional tool from ports/packages in > addition to the lines in /etc/rc.conf ? > You must use the same version of VirtualBox on both host and guest. > > Kind regards, > Alexandre > From owner-freebsd-questions@FreeBSD.ORG Tue May 21 18:15:47 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A991F328 for ; Tue, 21 May 2013 18:15:47 +0000 (UTC) (envelope-from freebsdenml@fuckaround.org) Received: from mr001msr.fastwebnet.it (mr001msr.fastwebnet.it [85.18.95.64]) by mx1.freebsd.org (Postfix) with ESMTP id 694FE2CB for ; Tue, 21 May 2013 18:15:47 +0000 (UTC) Received: from server1.fuckaround.org (93.49.16.11) by mr001msr.fastwebnet.it (8.5.140.03) id 5176478302A962B3 for questions@freebsd.org; Tue, 21 May 2013 20:15:46 +0200 Received: by server1.fuckaround.org (Postfix, from userid 65534) id 3A4E175824E; Tue, 21 May 2013 20:15:46 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on server1.fuckaround.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=7.0 tests=ALL_TRUSTED autolearn=unavailable version=3.3.1 Received: from [10.10.10.17] (unknown [10.10.10.17]) by server1.fuckaround.org (Postfix) with ESMTP id DBAA975824C for ; Tue, 21 May 2013 20:15:40 +0200 (CEST) Message-ID: <519BBA63.40807@fuckaround.org> Date: Tue, 21 May 2013 20:18:11 +0200 From: Pol Hallen User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: questions@freebsd.org Subject: freebsd-stable/release? Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 May 2013 18:15:47 -0000 Hi all :-) quick question: for a production server, what it best way? now I using the release: 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:11:52 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 thanks! Pol From owner-freebsd-questions@FreeBSD.ORG Tue May 21 18:26:20 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3A7E2750 for ; Tue, 21 May 2013 18:26:20 +0000 (UTC) (envelope-from vrwmiller@gmail.com) Received: from mail-ie0-x22a.google.com (mail-ie0-x22a.google.com [IPv6:2607:f8b0:4001:c03::22a]) by mx1.freebsd.org (Postfix) with ESMTP id 1357D34F for ; Tue, 21 May 2013 18:26:20 +0000 (UTC) Received: by mail-ie0-f170.google.com with SMTP id aq17so2714090iec.29 for ; Tue, 21 May 2013 11:26:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=OxrWXJy4QacykgF6sgZmJLbVGAGE0v12V/oEHrBGVSQ=; b=pceGCe7FEkjFW6Ufy677Xpj23hA/pES4S7e0voDoeRHUc07rYs91Pcxtbr19gNl/Mx rP4TfYaEhQb9BxH/JXsbWr5lPDRAC9zkSuPHmYkWB4ZAN/xZU2uxGUzPiqGPb6nDUIV8 w0mR8KYslWha+cylhGDvYxtFSHNsVZVPDnGffEpoJgRGRUB4XrJrUWy19gzNeJaQH0Rc XIE3N+h/u8MWv4waMLIH92OxJKl4rzkeHtevUWQjvtpZzkk8prFXzC/ifLaIy5whbd/3 HyZtre5ta15Qc/MUkho4ifgn0RZHCTRhb4/5iyI5nRuc1rxEtfsfn2MHJ7ZXD5mW3H9W 0yIA== MIME-Version: 1.0 X-Received: by 10.50.178.135 with SMTP id cy7mr2088239igc.97.1369160779742; Tue, 21 May 2013 11:26:19 -0700 (PDT) Sender: vrwmiller@gmail.com Received: by 10.64.25.66 with HTTP; Tue, 21 May 2013 11:26:19 -0700 (PDT) In-Reply-To: <519BBA63.40807@fuckaround.org> References: <519BBA63.40807@fuckaround.org> Date: Tue, 21 May 2013 14:26:19 -0400 X-Google-Sender-Auth: SWbeUvxbSQB3dYeyjo7O9VXflbQ Message-ID: Subject: Re: freebsd-stable/release? From: Rick Miller To: Pol Hallen Content-Type: text/plain; charset=ISO-8859-1 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: Tue, 21 May 2013 18:26:20 -0000 On Tue, May 21, 2013 at 2:18 PM, Pol Hallen wrote: > Hi all :-) > > quick question: for a production server, what it best way? I've done work with organizations that will not install anything that is considered a development branch, of which stable/ is. Therefore, for production environments, those organizations will only install -RELEASE or releng/ releases. It comes down to a decision you and/or your organization must make and that decision will be based on a risk/reward analysis. Hope that helps. -- Take care Rick Miller From owner-freebsd-questions@FreeBSD.ORG Tue May 21 18:50:08 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 98C10EE5 for ; Tue, 21 May 2013 18:50:08 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 6A5D3622 for ; Tue, 21 May 2013 18:50:08 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.31]) by ltcfislmsgpa03.fnfis.com (8.14.5/8.14.5) with ESMTP id r4LIncNp018562 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Tue, 21 May 2013 13:50:06 -0500 Received: from LTCFISWMSGMB26.FNFIS.com ([10.132.99.18]) by LTCFISWMSGHT03.FNFIS.com ([10.132.206.31]) with mapi id 14.02.0309.002; Tue, 21 May 2013 13:50:01 -0500 From: "Teske, Devin" To: Tim Nelson Subject: Re: Installing 8.1-RELEASE - Problems via FTP Thread-Topic: Installing 8.1-RELEASE - Problems via FTP Thread-Index: AQHOVkKuSwahHQ/tPUu/VFmUgiOg+5kQT0oA Date: Tue, 21 May 2013 18:50:00 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7201F546F7@ltcfiswmsgmb26> References: <4402634.106182.1369154383402.JavaMail.root@rockbochs.com> In-Reply-To: <4402634.106182.1369154383402.JavaMail.root@rockbochs.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.126] Content-Type: text/plain; charset="Windows-1252" Content-ID: <26064ADA37DF0C4F87AE014B3DE555A6@fisglobal.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626, 1.0.431, 0.0.0000 definitions=2013-05-21_05:2013-05-21,2013-05-21,1970-01-01 signatures=0 Cc: "" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Devin Teske List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 May 2013 18:50:08 -0000 On May 21, 2013, at 9:39 AM, Tim Nelson wrote: > Greetings- >=20 > I have need to install FreeBSD 8.1-RELEASE amd64 to build some packages. = My usual method of installation is via the *-bootonly.iso, pulling the inst= all from FTP. However, it appears since 8.1-RELEASE is old and deprecated, = none of the mirrors have the files available anymore to use during the inst= aller. >=20 Poppycock=85 BEFORE you get to the sysinstall media selection dialog, make a detour into= the "Options", use arrow-up/down to highlight "Release Name", press SPACEB= AR, and change from X.Y-RELEASE to "any" (without quotes; also acceptable w= ould be "__RELEASE" without quotes). NOTE: This will tell sysinstall to *not* try and auto-detect the release di= rectory path on the FTP server but instead use the exact path that you give= it. When you get to the media selection dialog, use FTP-Passive with the follow= ing URL: ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/8.1-RE= LEASE/ That should work. The "any" (or "__RELEASE") release-name tells it to not t= ry things like "pub/FreeBSD/releases//" (which obviously doe= sn't exist, given extra "-Archive" and "old-" prefixes in some of the path = directory elements). > So, how do I proceed: >=20 > 1. Does anyone have a proper URL to put into the installer? I already tri= ed ftp://ftp-archive.freebsd.org but I think there is additional path info = needed Right=85 but you really need to make the detour into the "Options" and chan= ge "Release Name" to either "any" or "__RELEASE" to indicate that the path = you are providing is absolute (otherwise, sysinstall try to intelligently f= ind the directory based off the architecture that it booted from -- this wa= s done to make maintenance easier). Just go into the Options and set "Release Name" to "any" (HINT: if you were= scripting sysinstall, you'd be able to do the same thing with "relName=3Da= ny") and then use: ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/8.1-REL= EASE NOTE: Replace i386 with amd64 if you want 64-bit build > 2. Should I install from the full CD or DVDs? If successful, would I stil= l have problems pulling the ports tree for 8.1-RELEASE? >=20 If you use the above method, you can have the CD pull the static ports coll= ection off the FTP server. However, (and this may be what you desire) just = note that the ports collection when installed from an FTP mirror is not an = up-to-date snapshot of the constantly-shifting ports tree. --=20 DevinD _____________ 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 May 21 19:39:43 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E705FE44 for ; Tue, 21 May 2013 19:39:43 +0000 (UTC) (envelope-from axelbsd@ymail.com) Received: from nm35-vm2.bullet.mail.ne1.yahoo.com (nm35-vm2.bullet.mail.ne1.yahoo.com [98.138.229.98]) by mx1.freebsd.org (Postfix) with ESMTP id ABE7C908 for ; Tue, 21 May 2013 19:39:43 +0000 (UTC) Received: from [98.138.90.53] by nm35.bullet.mail.ne1.yahoo.com with NNFMP; 21 May 2013 19:37:33 -0000 Received: from [98.138.84.43] by tm6.bullet.mail.ne1.yahoo.com with NNFMP; 21 May 2013 19:37:33 -0000 Received: from [127.0.0.1] by smtp111.mail.ne1.yahoo.com with NNFMP; 21 May 2013 19:37:33 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1369165053; bh=XWbbQADXC4zjD/2L2PsPcA8MFpkQfAsCQIfSHww/RK4=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Received:X-Google-DKIM-Signature:X-Received:MIME-Version:Received:In-Reply-To:References:From:Date:Message-ID:Subject:To:Cc:Content-Type; b=kXXFPsoPT0e6xrUDh72fCncSCsV0KGCtodo94Twnnyqfxb8uNTfr628qcrrngYh96nbcgRD6DWXQtZ7VK/seCNFsGRz5F+hl4kqfSRwmjR+LWiegi7+5kLMKycmBKTYk/BHa0/6gxGzGIwdDxuJl+VrX4W5y6DOhgn93lnqQI1I= X-Yahoo-Newman-Id: 2404.46916.bm@smtp111.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: kt48E4gVM1mLm54ou9qckskkKgOAM8Xuw_i6s71jF72_iNW 27SmCRvuIqBo6ucrjQtZAUFlfBWzcLSytgoqF_Q.8ALI.Wi0LJYpF400dd5J QRdB5gpKduuiT0I2krpDtKJTYbcBDVvdvnwxTo_l0429QhLuvxsM2GVJucuw 2XqBaG49R5JwAzhggUMJem4bTCd_Zf81QyFQKxP_O_Aw69KtDds1.G.daorh KaAN5sCsi5P4SUh40BqJs86wBSKEsLszikJy61hZZCz_nrt_wn5q8Frsa5HG gmVxjDpGVMwKWfl_R8sjV3PSIqqwNviI7UMTUMmsTlW0OG__iSRLEqgZvJXy 7kEH4SHjqRu8J.8fJmJ_6sFAVOey8TdBtfTHKKHCSHuvmx4wN6StI562owfH NDo0P34Q4JDV454E0B8qvDisRfh2FElC7lwXxyX48ykkVUzmRy9HqlrLIln9 6s6zq96kOqxKRBhEDpqoOE1r5BcGT1y3wptz.PYEtyQmoKXmhFs0pYKAbhIM YEyq1EppF77zzONALMRiKjz9NH2FXsM6Fa_ryFj5SEQ-- X-Yahoo-SMTP: S65s63SswBDjU54Gjqw2GSWlZmfgiEU_X3tN1_9u X-Rocket-Received: from mail-vb0-f48.google.com (axelbsd@209.85.212.48 with ) by smtp111.mail.ne1.yahoo.com with SMTP; 21 May 2013 12:37:32 -0700 PDT Received: by mail-vb0-f48.google.com with SMTP id q16so717198vbe.35 for ; Tue, 21 May 2013 12:37:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=XWbbQADXC4zjD/2L2PsPcA8MFpkQfAsCQIfSHww/RK4=; b=jCoMJ4swxPz4glPE0jRLgtLQvzUWyu3rfmTt/oz8D5gnfYXlEq0A0pNrCpF4lyvAWv NXOJdZ8I+ppJifKB2EtHDFkzW8yFa/RfOQTSsMJDx2ika5TUhnl6vHdPwx7NOkeGwy7r quxREJ/ytTqylu81m0FzUI5n7jMo+fFC4578bybekJ1uIwEGJEX2168mInvdeVOKnUJi gYC//ZNO9lQUiHaDBYyLafpG11u8tONZ2KDvPTWwx3X3Ld0LBwaWR6Hi8jxQGJrl/dIK UxzGJOBrE3WwQayaZJ6dUC+a2t8wIufr6XZNcU4kphLJl62OAD9wyGUTgKXEgtiJIQIs 5AbQ== X-Received: by 10.58.243.102 with SMTP id wx6mr1544768vec.26.1369165052153; Tue, 21 May 2013 12:37:32 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.146.6 with HTTP; Tue, 21 May 2013 12:37:12 -0700 (PDT) In-Reply-To: References: From: Alexandre Date: Tue, 21 May 2013 21:37:12 +0200 Message-ID: Subject: Re: FreeBSD, VBox, mouse integration To: asf8g 9hf32 Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "freebsd-questions@freebsd.org" , Alexandre 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, 21 May 2013 19:39:44 -0000 Lukas, I mean that the host must get installed the same virtualbox version ( http://www.freshports.org/emulators/virtualbox-ose/) than the virtualbox addition tools inside the VM ( http://www.freshports.org/emulators/virtualbox-ose-additions/). You can check the version of Virtualbox installed using this command: % pkg_info | grep virtualbox Kind regards, Alexandre On Tue, May 21, 2013 at 8:09 PM, asf8g 9hf32 wrote: > Well, I don't know much about installation. My professor at university has > ordered me to test mouse integration(it hasn't worked). So I need to fix > it. > The only thing I know is that he has used guest additions. I have 2 > scripts. The first loads drivers (vboxguest and vboxvideo). The second is > about vboxservice. > Loading drivers works fine, I've checked it using "kldstat". > > I've found on Web that I need to add this 2 lines to rc.conf, but they > have been there already. > I have no idea what to do next. > > What do you mean with the same version of VirtualBox? Do I have to have > the same version on my host and guest even if i dont use vbox on guest? > > Lukas > > > 2013/5/21 Alexandre > >> >> >> On Tuesday, May 21, 2013, asf8g 9hf32 wrote: >> >>> Hello, >>> >>> I'm using VirtualBox. Host OS is FreeBSD, guest OS is FreeBSD(amd64) too. >>> I'd like to integrate mouse from guest and host(I don't want to use right >>> ctrl to free mouse from guest). >>> I'm using vbox guest additions to do it. I have loaded drivers(vboxguest >>> and vboxvideo).My rc.conf has lines >>> >>> vboxguest_enable="YES"vboxservice_enable="YES" >>> >>> but mouse isn't integrated. >>> >>> Could you tell me what to do to integrate mouse ? >>> >>> Thanks, >>> >>> Lukas >> >> >>> Hi Lukas, >> >> >> In your VM, have you installed VBox additional tool from ports/packages >> in addition to the lines in /etc/rc.conf ? >> You must use the same version of VirtualBox on both host and guest. >> >> Kind regards, >> Alexandre >> > > From owner-freebsd-questions@FreeBSD.ORG Tue May 21 19:40:42 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 5AF95EF6 for ; Tue, 21 May 2013 19:40:42 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from st11p05mm-asmtp002.mac.com (st11p05mm-asmtpout002.mac.com [17.172.108.237]) by mx1.freebsd.org (Postfix) with ESMTP id 3770F922 for ; Tue, 21 May 2013 19:40:41 +0000 (UTC) Received: from cswiger1.apple.com (unknown [17.209.4.71]) by st11p05mm-asmtp002.mac.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Jan 3 2012)) with ESMTPSA id <0MN5006ZYVVJX040@st11p05mm-asmtp002.mac.com> for questions@freebsd.org; Tue, 21 May 2013 18:40:32 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.10.8626,1.0.431,0.0.0000 definitions=2013-05-21_05:2013-05-21,2013-05-21,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=2 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1305010000 definitions=main-1305210187 Content-type: text/plain; charset=us-ascii MIME-version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: RES column in top(1) output From: Charles Swiger In-reply-to: <24044FD7-4E2A-493F-B0CE-701C3A73169F@gmail.com> Date: Tue, 21 May 2013 11:40:30 -0700 Content-transfer-encoding: quoted-printable Message-id: References: <24044FD7-4E2A-493F-B0CE-701C3A73169F@gmail.com> To: Dmitry Sivachenko X-Mailer: Apple Mail (2.1503) 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: Tue, 21 May 2013 19:40:42 -0000 On May 21, 2013, at 11:03 AM, Dmitry Sivachenko = wrote: > Hello, >=20 > Can you please explain me the meaning of RES column in top(1) output: > as far as I understand from man-page, it is resident portion of the = process, that is the amount of memory process takes from RAM. Yes, that's the definition. > But I get: >=20 > Mem: 55G Active, 23G Inact, 11G Wired, 3729M Cache, 9838M Buf, 97M = Free > Swap: 49G Total, 14M Used, 49G Free >=20 >=20 > PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU = COMMAND > 93273 username 103 52 0 141G 115G uwait 22 25:37 = 19.82% XXX >=20 > So I have a machine with 96GB of RAM, no swap is used and my process's = resident size is 115G (more than physical memory). Memory that has been allocated but not written to is associated with the = process address space in terms of accounting, but does not actually = consume physical memory. There's also copy-on-write memory (used for = the program executable code itself, which is also typically also marked = read-only), mmap()ing big sparse files or device special files like a = video framebuffer (ie, an X11 server), and probably a few other things = which can reserve lots of resident memory without actually consuming = physical memory. Regards, --=20 -Chuck From owner-freebsd-questions@FreeBSD.ORG Tue May 21 20:11:01 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 55B56CA for ; Tue, 21 May 2013 20:11:01 +0000 (UTC) (envelope-from tnelson@rockbochs.com) Received: from zmail.rockbochs.com (zmail.rockbochs.com [208.65.104.56]) by mx1.freebsd.org (Postfix) with ESMTP id 330E1AB2 for ; Tue, 21 May 2013 20:11:00 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by zmail.rockbochs.com (Postfix) with ESMTP id 6942C20583C5 for ; Tue, 21 May 2013 15:10:58 -0500 (CDT) X-Virus-Scanned: amavisd-new at zmail.rockbochs.com Received: from zmail.rockbochs.com ([127.0.0.1]) by localhost (zmail.rockbochs.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1IFR1oYvQbac for ; Tue, 21 May 2013 15:10:57 -0500 (CDT) Received: from zmail.rockbochs.com (zmail.rockbochs.com [208.65.104.56]) by zmail.rockbochs.com (Postfix) with ESMTP id CA61720580FE for ; Tue, 21 May 2013 15:10:57 -0500 (CDT) Date: Tue, 21 May 2013 15:10:57 -0500 (CDT) From: Tim Nelson To: freebsd-questions Message-ID: <7835579.108022.1369167057732.JavaMail.root@rockbochs.com> In-Reply-To: <13CA24D6AB415D428143D44749F57D7201F546F7@ltcfiswmsgmb26> Subject: Re: Installing 8.1-RELEASE - Problems via FTP MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [172.16.23.44] X-Mailer: Zimbra 7.2.0_GA_2669 (ZimbraWebClient - FF3.0 (Win)/7.2.0_GA_2669) 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, 21 May 2013 20:11:01 -0000 ----- Original Message ----- >=20 > On May 21, 2013, at 9:39 AM, Tim Nelson wrote: >=20 > > Greetings- > >=20 > > I have need to install FreeBSD 8.1-RELEASE amd64 to build some > > packages. My usual method of installation is via the > > *-bootonly.iso, pulling the install from FTP. However, it appears > > since 8.1-RELEASE is old and deprecated, none of the mirrors have > > the files available anymore to use during the installer. > >=20 >=20 > Poppycock=E2=80=A6 >=20 > BEFORE you get to the sysinstall media selection dialog, make a > detour into the "Options", use arrow-up/down to highlight "Release > Name", press SPACEBAR, and change from X.Y-RELEASE to "any" (without > quotes; also acceptable would be "__RELEASE" without quotes). >=20 > NOTE: This will tell sysinstall to *not* try and auto-detect the > release directory path on the FTP server but instead use the exact > path that you give it. >=20 > When you get to the media selection dialog, use FTP-Passive with the > following URL: >=20 > =09ftp://ftp-archive.freebsd.org/pub/FreeBSD-Archive/old-releases/i386/8.= 1-RELEASE/ >=20 > That should work. The "any" (or "__RELEASE") release-name tells it to > not try things like "pub/FreeBSD/releases//" (which > obviously doesn't exist, given extra "-Archive" and "old-" prefixes > in some of the path directory elements). >=20 >=20 This worked perfectly, no problems. Thanks for the help! --Tim From owner-freebsd-questions@FreeBSD.ORG Tue May 21 20:39:59 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BBCED974 for ; Tue, 21 May 2013 20:39:59 +0000 (UTC) (envelope-from machina2413@gmail.com) Received: from mail-bk0-x235.google.com (mail-bk0-x235.google.com [IPv6:2a00:1450:4008:c01::235]) by mx1.freebsd.org (Postfix) with ESMTP id 50ABEC48 for ; Tue, 21 May 2013 20:39:59 +0000 (UTC) Received: by mail-bk0-f53.google.com with SMTP id mx1so676693bkb.26 for ; Tue, 21 May 2013 13:39:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=BCO5Cm/dGrJQFwbRyWwEQq5CQTpVOP5H6/3m4Uwmblw=; b=nwvmYWCLWyenJDBgz/xXaxofoUWpkqYDlPRj4lPrw+SS1iZT4EpPpvYlB0+oYL5Lk5 UkCfBJIRAb8e8kz6okHhwiGUs6I0zQhsMC3OtSP4y/iSs9bujuvH+BNrc+mNaM+Cigyk L2xAlmHsNCABrX+A0E8/XzhulLBgUb/nqbxVTkVrprgHjCRZ6meBtKdCtKBl+PZo9AXw 28HsBZt7RrYWrgWO+ZRG3/C+aQEVdlEhQYkeZT9pWmiZCW/lIii7RSZlY4zYX8xZlmMB IN6o4Ndc5uUe3F1TWwf+mnxURQLviuBITbJQL9fxY+ATED4Hk92ObvPsrMcovIuyIQNl 2hqg== MIME-Version: 1.0 X-Received: by 10.205.107.71 with SMTP id dx7mr2209023bkc.119.1369168798061; Tue, 21 May 2013 13:39:58 -0700 (PDT) Received: by 10.205.25.72 with HTTP; Tue, 21 May 2013 13:39:57 -0700 (PDT) In-Reply-To: References: Date: Tue, 21 May 2013 22:39:57 +0200 Message-ID: Subject: Re: FreeBSD, VBox, mouse integration From: asf8g 9hf32 To: Alexandre Content-Type: text/plain; charset=ISO-8859-1 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: Tue, 21 May 2013 20:39:59 -0000 Ok, so when I used % pkg_info | grep virtualbox on my host or guest machine I receive output: "pkg_info: no packages installed". But we have network booting there, root directories are copied from other machine, so when I used this command on this main machine, the output was: virtualbox-ose-4.2.12 A general-purpose full virtualizer for x86 hardware virtualbox-ose-additions-4.2.12_1 VirtualBox additions for FreeBSD guests virtualbox-ose-kmod-4.2.12 VirtualBox kernel module for FreeBSD When I started vboxservice on guest machine I got output: OS Version: FreeBSD 9.1-STABLE #0: Sat May 11 OS Service Pack: FreeBSD 9.1-STABLE #0: Sat May 11 Package type: BSD_64BIST_GENERIC(OSE) 4.2.12_OSE r84980 started. Verbose level = 0 Is it fine ? What to do now ? Lukas 2013/5/21 Alexandre > > > On Tuesday, May 21, 2013, asf8g 9hf32 wrote: > >> Hello, >> >> I'm using VirtualBox. Host OS is FreeBSD, guest OS is FreeBSD(amd64) too. >> I'd like to integrate mouse from guest and host(I don't want to use right >> ctrl to free mouse from guest). >> I'm using vbox guest additions to do it. I have loaded drivers(vboxguest >> and vboxvideo).My rc.conf has lines >> >> vboxguest_enable="YES"vboxservice_enable="YES" >> >> but mouse isn't integrated. >> >> Could you tell me what to do to integrate mouse ? >> >> Thanks, >> >> Lukas > > >> Hi Lukas, > > > In your VM, have you installed VBox additional tool from ports/packages in > addition to the lines in /etc/rc.conf ? > You must use the same version of VirtualBox on both host and guest. > > Kind regards, > Alexandre > From owner-freebsd-questions@FreeBSD.ORG Tue May 21 21:15:59 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7131B6AD for ; Tue, 21 May 2013 21:15:59 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-da0-x22c.google.com (mail-da0-x22c.google.com [IPv6:2607:f8b0:400e:c00::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 5225DEF1 for ; Tue, 21 May 2013 21:15:59 +0000 (UTC) Received: by mail-da0-f44.google.com with SMTP id z8so686289daj.17 for ; Tue, 21 May 2013 14:15:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=v4xjv/kTUprqo6Z2KYhgV8WLNfBB01WEAE5ogpoWcU0=; b=eVmB+ggMJGjN68IQN8ukS0YR5ASyQDvkxjufRLgCzF0ncNmvpiJpEk+ioVHWlpojpQ mKIT0Ib0sgsgzW2CPnk66FIcu6YOKcHJd4Z+1p0GvrgVwnmD+5mL9uoLVosvCWn1Wcyc 1dvg1UkWxso3ERUNHx+LrqpuvCU4MwJV3scsI8JC3aeiZxV46VXgP1xE2RpHxooHSNt+ HviRed94++pygjIIe5KIjMfdI3nnB8yQtEAAKQOYHL1nH3P4EUqXc94sOCDU9dHZ8xyI 2bJrUJN4K0B/gvk8GaE5+1hKgBvVIzablhIE/xRAJxKyZN2ZOBDcS6vQ0dF1Qmr0d8qc wHMA== MIME-Version: 1.0 X-Received: by 10.68.130.167 with SMTP id of7mr4669830pbb.169.1369170959071; Tue, 21 May 2013 14:15:59 -0700 (PDT) Received: by 10.70.31.195 with HTTP; Tue, 21 May 2013 14:15:59 -0700 (PDT) In-Reply-To: References: Date: Tue, 21 May 2013 16:15:59 -0500 Message-ID: Subject: Re: FreeBSD, VBox, mouse integration From: Adam Vande More To: asf8g 9hf32 Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 May 2013 21:15:59 -0000 On Tue, May 21, 2013 at 11:25 AM, asf8g 9hf32 wrote: > Hello, > > I'm using VirtualBox. Host OS is FreeBSD, guest OS is FreeBSD(amd64) too. > I'd like to integrate mouse from guest and host(I don't want to use right > ctrl to free mouse from guest). > I'm using vbox guest additions to do it. I have loaded drivers(vboxguest > and vboxvideo).My rc.conf has lines > > vboxguest_enable="YES"vboxservice_enable="YES" > > but mouse isn't integrated. > > Could you tell me what to do to integrate mouse ? https://wiki.freebsd.org/VirtualBox#Installing_Guest_Additions_for_FreeBSD_guests -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Tue May 21 21:37:27 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0F311BF0 for ; Tue, 21 May 2013 21:37:27 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr6.xs4all.nl (smtp-vbr6.xs4all.nl [194.109.24.26]) by mx1.freebsd.org (Postfix) with ESMTP id 8923DFE3 for ; Tue, 21 May 2013 21:37:26 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr6.xs4all.nl (8.13.8/8.13.8) with ESMTP id r4LLbJGQ003682; Tue, 21 May 2013 23:37:19 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 99D66123F3; Tue, 21 May 2013 23:37:19 +0200 (CEST) Date: Tue, 21 May 2013 23:37:19 +0200 From: Roland Smith To: Pol Hallen Subject: Re: filesystem advice Message-ID: <20130521213719.GA37505@slackbox.erewhon.net> References: <519BA42D.8010809@fuckaround.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY" Content-Disposition: inline In-Reply-To: <519BA42D.8010809@fuckaround.org> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: by XS4ALL Virus Scanner 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, 21 May 2013 21:37:27 -0000 --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 21, 2013 at 06:43:25PM +0200, Pol Hallen wrote: > Hi all and sorry for this (newbie) question. >=20 > I study FreeBSD (I come from linux) and I'm not sure which filesystem use. >=20 > My situation: install a fileserver (samba) for 3 clients and put it as > gateway/server on internet (ssh, and samba to internal lan). >=20 > I installed FreeBSD with raid 1 following this howto: >=20 > http://www.ateamsystems.com/blog/Installing-FreeBSD-9-gmirror-GPT-partiti= ons-raid-1 >=20 > everything ok! >=20 > I see that use ufs filesystem, now: >=20 > I'd like have less maintenance possible direclty to machine because this > server is far to me 50Km. >=20 > So I can use ssh for default (and extra) maintenance. >=20 > Which filesystem is "better"? After total crash of system (i.e.) or > black-out, ufs can repair it by itself? Or better use ufs+journal? or zfs? By default, FreeBSD 9.x uses journaled soft-updates now. This will cut down the filesystem check time significantly. A filesystem check will require manual intervention when some kinds of errors are found.=20 ZFS likes to have a lot of memory, and preferably a 64-bit machine. See the tuning guide: https://wiki.freebsd.org/ZFSTuningGuide > Motherboard is atom dual core with 2Gb of ram and 2 disks with 2Gb each. Roland --=20 R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --OXfL5xGRrasGEqWY Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iEYEARECAAYFAlGb6Q8ACgkQEnfvsMMhpyUFKgCbBG5oFpA9onVMh/3u1HDlBNxu qJ4An1ydZrA6v/12nNvCV03s/l12j1XR =oA/p -----END PGP SIGNATURE----- --OXfL5xGRrasGEqWY-- From owner-freebsd-questions@FreeBSD.ORG Wed May 22 04:39:43 2013 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3FC79434 for ; Wed, 22 May 2013 04:39:43 +0000 (UTC) (envelope-from trtrmitya@gmail.com) Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com [209.85.217.169]) by mx1.freebsd.org (Postfix) with ESMTP id C5ABB7CC for ; Wed, 22 May 2013 04:39:42 +0000 (UTC) Received: by mail-lb0-f169.google.com with SMTP id 10so1597346lbf.28 for ; Tue, 21 May 2013 21:39:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=peTFSKryCjGmm1T1eeq7SlgKw/0PJxE54Kr5Uzztp6A=; b=VnJnHihODXb+6xs24m7ndQuYuhcF4Zzps4+37klYfr026geSP9WKFjhl7vEHTEjax0 UYZTV1Xce++GBLgynawKlO7ZGdzXRHLI0Y15f83qL3B+jSCZ9tBUzubGZa0NHS5NjWQN gcI+aYopV8cVb1qci1/bdK4GWW+QTVeapYUtyU12rADyh3Xbqto6i39BPkjLWGpbRrsm ZD0+sQ+JQvDXP3ehp5mh1ebDrojUZ8TCUy1Re7/alQqIRoQeBT9IruIHAn0YXM2s3AGw Im+6vsVTuGfN27nDizael0oxwipih7q+tsJu9pz6YjEr99aFG0S2TeJVUXOiN9WsjFnP FteQ== X-Received: by 10.112.204.100 with SMTP id kx4mr3161684lbc.17.1369197581523; Tue, 21 May 2013 21:39:41 -0700 (PDT) Received: from [10.0.1.20] (ip-95-220-128-64.bb.netbynet.ru. [95.220.128.64]) by mx.google.com with ESMTPSA id l8sm2171959lae.4.2013.05.21.21.39.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 21 May 2013 21:39:40 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: RES column in top(1) output From: Dmitry Sivachenko In-Reply-To: Date: Wed, 22 May 2013 08:39:39 +0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <24044FD7-4E2A-493F-B0CE-701C3A73169F@gmail.com> To: Charles Swiger X-Mailer: Apple Mail (2.1503) 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: Wed, 22 May 2013 04:39:43 -0000 On 21.05.2013, at 22:40, Charles Swiger wrote: >>=20 >> Mem: 55G Active, 23G Inact, 11G Wired, 3729M Cache, 9838M Buf, 97M = Free >> Swap: 49G Total, 14M Used, 49G Free >>=20 >>=20 >> PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU = COMMAND >> 93273 username 103 52 0 141G 115G uwait 22 25:37 = 19.82% XXX >>=20 >> So I have a machine with 96GB of RAM, no swap is used and my = process's resident size is 115G (more than physical memory). >=20 > Memory that has been allocated but not written to is associated with = the process address space in terms of accounting, but does not actually = consume physical memory. There's also copy-on-write memory (used for = the program executable code itself, which is also typically also marked = read-only), mmap()ing big sparse files or device special files like a = video framebuffer (ie, an X11 server), and probably a few other things = which can reserve lots of resident memory without actually consuming = physical memory. >=20 Okay, I see. What is the correct way to obtain the amount of physical memory used by = a process? Thanks!= From owner-freebsd-questions@FreeBSD.ORG Wed May 22 05:14:46 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CB3479C4 for ; Wed, 22 May 2013 05:14:46 +0000 (UTC) (envelope-from sam.gh1986@gmail.com) Received: from mail-la0-x22c.google.com (mail-la0-x22c.google.com [IPv6:2a00:1450:4010:c03::22c]) by mx1.freebsd.org (Postfix) with ESMTP id 5238C8E2 for ; Wed, 22 May 2013 05:14:46 +0000 (UTC) Received: by mail-la0-f44.google.com with SMTP id fr10so1515300lab.3 for ; Tue, 21 May 2013 22:14:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=7aGqW0yMoHN5NRph3pmPJEBzPdZVTzGAEne3qXomoSE=; b=yy1dICGNdUMX0+jOdwrKH9RxUt9t3siWkCmv7nqXGYvr2eqK2JiILr+uI82ld5lFSa ++SnNaiz87qk6BVVdUjXayO3sFEI/ZHi5+Shv0CcjcwmLa6fHVRnSddMO32NQKGUlicQ kbdm+Zef6OmCbtEAZS1geYM/atT0D+HB6IfruIHVUrL929uwBAqSqanTgApSTGBpyY5n DI0jz4zYXDulH3SdJa9IgwV2QEKKL/e7SBpPEfaM8FRjO3Cy3cS6GHpTAYUStNQPCFPu YYB0Aq932NGD2hCkp0tBmwYl1PLy4eg46TDFCI9uvi6xsd+7fw880S+eMAD74GWnP7K+ utqA== MIME-Version: 1.0 X-Received: by 10.112.162.40 with SMTP id xx8mr3191883lbb.30.1369199685150; Tue, 21 May 2013 22:14:45 -0700 (PDT) Received: by 10.112.128.138 with HTTP; Tue, 21 May 2013 22:14:45 -0700 (PDT) In-Reply-To: References: <519B40D8.2090809@ulb.ac.be> <519B4F11.9030309@ulb.ac.be> <519B87BC.1010301@qeng-ho.org> <519B9042.5050704@qeng-ho.org> Date: Wed, 22 May 2013 09:44:45 +0430 Message-ID: Subject: Re: setup journaling for root partition From: s m To: Michael Sierchio Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 May 2013 05:14:46 -0000 thanks guys for your attentions. i want to setup journaling in FreeBSD 8.2. i compare soft-update and journaling and choose journaling (it is more suitable for my goals). i want to enable journaling for all my partitions. i can do it for all partitions except root in single user mode. i can not do it for root because i can not unmount root in single user mode. please let me know how set a journal provider for my root partition in FreeBSD 8.2. thank you so much On Tue, May 21, 2013 at 9:38 PM, Michael Sierchio wrote: > On Tue, May 21, 2013 at 8:20 AM, Warren Block wrote: > > On Tue, 21 May 2013, Arthur Chance wrote: > > > > On 05/21/13 15:46, Michael Sierchio wrote: > >> > >>> AFAIK Softupdates journaling still breaks snapshot functionality - > which > >>> makes it unusable for me. I wouldn't assume that the O.P. doesn't want > we > >>> he's asking for. > >>> > >> > >> Good point, I'd forgotten that problem as I don't use UFS snapshots. I > >> can imagine it would be a killer for some people. > >> > > > > It is, especially if you use dump/restore. > > > > Or tarsnap (which is what we use for backups here), or... there are many > use cases for snapshots. > > - M > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Wed May 22 05:40:33 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A29A1149 for ; Wed, 22 May 2013 05:40:33 +0000 (UTC) (envelope-from hrisikeshsahu@gmail.com) Received: from mail-oa0-f41.google.com (mail-oa0-f41.google.com [209.85.219.41]) by mx1.freebsd.org (Postfix) with ESMTP id 719839E3 for ; Wed, 22 May 2013 05:40:33 +0000 (UTC) Received: by mail-oa0-f41.google.com with SMTP id n9so1961629oag.0 for ; Tue, 21 May 2013 22:40: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 :content-type; bh=ibpGIy2N/3aYXoOQDfJN7z7/2QNUJMHhehE3rIPUdvw=; b=ngBdXk1OseQtYNCyMQjHB40AaJV4TtvsTxmpgsoo1WxrpoBeoA/76Ee1tOSwEb79i4 sO4iTmEtveP9ROX9/KfgibVU8bIRupN4/8IPtmBQoV5H0Lr6662gUL8sajLgF/nEiyAs kR3XYVTg4es4iXmC+sIQ8SPnknDldhC4Ozgpd4Kb3zmEKJkss8d61JOU4HFC9SPHxCqn W2SQQm6LLuCop6rv4Al0lkgEbYFYyc80hbm+ppF9Cp2t0FHo3As3ghk4DOpxpOZdv0sD 6fBKCFqwDSJL30OPUJ8c+MrVyJ8DseBkeEKT1nTvtarf4WC4aVrZ3zHJF9vue/CFLQJR JMSg== MIME-Version: 1.0 X-Received: by 10.60.131.243 with SMTP id op19mr3553651oeb.132.1369201226830; Tue, 21 May 2013 22:40:26 -0700 (PDT) Received: by 10.182.240.135 with HTTP; Tue, 21 May 2013 22:40:26 -0700 (PDT) In-Reply-To: References: Date: Wed, 22 May 2013 11:10:26 +0530 Message-ID: Subject: Re: Fresh installation 9.1 From: hrkesh sahu To: =?ISO-8859-1?Q?Trond_Endrest=F8l?= , FreeBSD questions Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 May 2013 05:40:33 -0000 Hi All, IPv4 Routing - ------------------------ I disabled the DHCP from rc.conf for both the interface. but still I am not able to route trafic from one interface to another. rc.conf --------------- hostname=3D"idc-freebsd" keymap=3D"hy.armscii-8.kbd" #ifconfig_re0=3D"DHCP" #ifconfig_rl0=3D"DHCP" dumpdev=3D"NO" ifconfig_rl0=3D"inet 192.168.100.101 netmask 255.255.255.0 ifconfig_re0=3D"inet 192.168.200.101 netmask 255.255.255.0 ipv6_activate_all_interfaces=3D"YES" gateway_enable=3D"YES" default_router=3D"192.168.200.1" I am using FreeBSD - 9.1 Release version I need to communicate between two different subnets. Am i missing anything to enable freebsd as router? Do i need to add a route entry? If possible could you please share rc.conf file with IPv4 routing? Regards Hrisikesh On Thu, May 9, 2013 at 2:04 PM, Trond Endrest=F8l < Trond.Endrestol@fagskolen.gjovik.no> wrote: > On Thu, 9 May 2013 12:18+0530, hrkesh sahu wrote: > > > > HI All, > > > > > I have a FreeBSD 9.1 Release installed with TWO NIC cards. I was trying > to > > make this FreeBSD machine as a router . > > This is my rc.conf > > -------------------------------- > > ifconfig_rl0 =3D "inet 192.168.100.101 netmask 255.255.255.0" > > ifconfig_re0=3D"inet 192.168.200.101 netmask 255.255.255.0" > > > > gateway_enable =3D "YES" > > ifconfig_rl0 =3D "DHCP" > > ifconfig_re0 =3D "DHCP" > > > > defaultrouter =3D "192.168.100.1" > > ipv6_activate_all_interfaces =3D "YES" > > sshd_enable =3D "YES" > > synchronous_dhclient=3D"YES" > > > > Please help me to establish a IPv4 router. > > Both the interfaces are connected to to different laptops with a static > IP > > address. > > You should place a # in front of the two lines: > > > ifconfig_rl0 =3D "DHCP" > > ifconfig_re0 =3D "DHCP" > > Next, you probably shouldn't place spaces before and after the equal > signs. > > > Laptop 1 =3D 192.168.100.102 ( connected to interface rl0) gateway - > > 192.168.100.1 > > > > Laptop 2 =3D 192.168.200.102 ( connected to interface re0) > > ping from Laptop1 -> rl0 is successful > > but ping from Laptop1 -> re0 is not successful. > > > > After this I want to know also How to make this as IPv6 router? > > See > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.ht= ml > . > > You probably should create a ULA prefix or two, and assign these to > your router interfaces. http://www.sixxs.net/tools/grh/ula/ might help > you. > > Something along these lines might help you achieve what you want: > > ifconfig_rl0_ipv6=3D"inet6 fd8f:d6d0:e6e7:100::1 prefixlen 64" > ifconfig_re0_ipv6=3D"inet6 fd44:13de:a366:200::1 prefixlen 64" > ipv6_gateway_enable=3D"YES" > > Finally you probably should configure and enable Router Advertisement > and Host Auto Configuration as explained in section 32.11.6 of > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.ht= ml > . > > -- > +-------------------------------+------------------------------------+ > | Vennlig hilsen, | Best regards, | > | Trond Endrest=F8l, | Trond Endrest=F8l, = | > | IT-ansvarlig, | System administrator, | > | Fagskolen Innlandet, | Gj=F8vik Technical College, Norway, | > | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | > | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | > +-------------------------------+------------------------------------+ From owner-freebsd-questions@FreeBSD.ORG Wed May 22 05:53:25 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D5ED53BA for ; Wed, 22 May 2013 05:53:25 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-ie0-x22d.google.com (mail-ie0-x22d.google.com [IPv6:2607:f8b0:4001:c03::22d]) by mx1.freebsd.org (Postfix) with ESMTP id A49D9A54 for ; Wed, 22 May 2013 05:53:25 +0000 (UTC) Received: by mail-ie0-f173.google.com with SMTP id k5so4356673iea.32 for ; Tue, 21 May 2013 22:53:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=XtqpTZmbXUTxx7103P2oEsp9AV/wTm/1CL2wFZV7Grg=; b=G/dCivnGYYniHZTnRyL+0JUOFXAjMeXPXDXt15Ugp6IPP4OFjpvWnw0ZCt6aU+8QQc jZfraYbdZLxO8VAXe7PIMRDeOV6Wsi7ByWUxruuBD0hDDrIPynzHcS0rm5EjFEly5OAx NeriABPq6N5vFFJvdosMbqvXv/VXKa7/mha6pC+MBpwaEvZKi44p1R0GUzpzWlZt86KR DXByn+N/crc+ApnAAfxAVXEDBgH1/bVbePu3acW1XF901PYvWBxapgBpkvpJBSK9fU+2 JkFY9v1nPANdL9/XUqDAUYnSM5GEvp+BlFcz3VwoLZIy8gYNMEXnpA+qrOXI0BJw5k4K BXEw== MIME-Version: 1.0 X-Received: by 10.43.138.196 with SMTP id it4mr2902718icc.3.1369202005359; Tue, 21 May 2013 22:53:25 -0700 (PDT) Received: by 10.231.138.136 with HTTP; Tue, 21 May 2013 22:53:25 -0700 (PDT) In-Reply-To: References: <519B40D8.2090809@ulb.ac.be> <519B4F11.9030309@ulb.ac.be> <519B87BC.1010301@qeng-ho.org> <519B9042.5050704@qeng-ho.org> Date: Tue, 21 May 2013 22:53:25 -0700 Message-ID: Subject: Re: setup journaling for root partition From: Michael Sierchio To: s m X-Gm-Message-State: ALoCoQmjFRCmeP0R73b1r7PSHu85u+4L6BBN2zj8R9t3i650+BpRZ6+K+5SB7YKnsG+d5w+suShN Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 May 2013 05:53:25 -0000 On Tue, May 21, 2013 at 10:14 PM, s m wrote: > thanks guys for your attentions. > > i want to setup journaling in FreeBSD 8.2. i compare soft-update and > journaling and choose journaling (it is more suitable for my goals). > > i want to enable journaling for all my partitions. i can do it for all > partitions except root in single user mode. i can not do it for root > because i can not unmount root in single user mode. > > No, but you don't need to. In single user mode, root is mounted read-only. You can run tunefs on the root fs device. - M From owner-freebsd-questions@FreeBSD.ORG Wed May 22 06:32:10 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 177C693C for ; Wed, 22 May 2013 06:32:10 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) by mx1.freebsd.org (Postfix) with ESMTP id 6F808C1E for ; Wed, 22 May 2013 06:32:09 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.7/8.14.7) with ESMTP id r4M6W5lF037062 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 22 May 2013 08:32:05 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.7/8.14.7/Submit) with ESMTP id r4M6W5MU037059; Wed, 22 May 2013 08:32:05 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Wed, 22 May 2013 08:32:05 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: hrkesh sahu Subject: Re: Fresh installation 9.1 In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="2055831798-465747425-1369204325=:72982" X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.fig.ol.no Cc: FreeBSD questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 May 2013 06:32:10 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --2055831798-465747425-1369204325=:72982 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT On Wed, 22 May 2013 11:10+0530, hrkesh sahu wrote: > Hi All, > IPv4 Routing - > ------------------------ > I disabled the DHCP from rc.conf for both the interface. but still I am not > able to route trafic from one interface to another. > > rc.conf > --------------- > hostname="idc-freebsd" > keymap="hy.armscii-8.kbd" > #ifconfig_re0="DHCP" > #ifconfig_rl0="DHCP" > dumpdev="NO" > ifconfig_rl0="inet 192.168.100.101 netmask 255.255.255.0 > ifconfig_re0="inet 192.168.200.101 netmask 255.255.255.0 Are the two lines above copied straight from your rc.conf file? If so, both lines are missing a " at the end. Please check to see if this is needed. Next, the outputs of the ifconfig command and the netstat -r command should reveal something interesting. Would you please post the results from these two commands? > ipv6_activate_all_interfaces="YES" > gateway_enable="YES" > default_router="192.168.200.1" > > I am using FreeBSD - 9.1 Release version > > I need to communicate between two different subnets. > > Am i missing anything to enable freebsd as router? > Do i need to add a route entry? > > If possible could you please share rc.conf file with IPv4 routing? > > Regards > Hrisikesh > > On Thu, May 9, 2013 at 2:04 PM, Trond Endrestøl < > Trond.Endrestol@fagskolen.gjovik.no> wrote: > > > On Thu, 9 May 2013 12:18+0530, hrkesh sahu wrote: > > > > > > HI All, > > > > > > > I have a FreeBSD 9.1 Release installed with TWO NIC cards. I was trying > > to > > > make this FreeBSD machine as a router . > > > This is my rc.conf > > > -------------------------------- > > > ifconfig_rl0 = "inet 192.168.100.101 netmask 255.255.255.0" > > > ifconfig_re0="inet 192.168.200.101 netmask 255.255.255.0" > > > > > > gateway_enable = "YES" > > > ifconfig_rl0 = "DHCP" > > > ifconfig_re0 = "DHCP" > > > > > > defaultrouter = "192.168.100.1" > > > ipv6_activate_all_interfaces = "YES" > > > sshd_enable = "YES" > > > synchronous_dhclient="YES" > > > > > > Please help me to establish a IPv4 router. > > > Both the interfaces are connected to to different laptops with a static > > IP > > > address. > > > > You should place a # in front of the two lines: > > > > > ifconfig_rl0 = "DHCP" > > > ifconfig_re0 = "DHCP" > > > > Next, you probably shouldn't place spaces before and after the equal > > signs. > > > > > Laptop 1 = 192.168.100.102 ( connected to interface rl0) gateway - > > > 192.168.100.1 > > > > > > Laptop 2 = 192.168.200.102 ( connected to interface re0) > > > ping from Laptop1 -> rl0 is successful > > > but ping from Laptop1 -> re0 is not successful. > > > > > > After this I want to know also How to make this as IPv6 router? > > > > See > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html > > . > > > > You probably should create a ULA prefix or two, and assign these to > > your router interfaces. http://www.sixxs.net/tools/grh/ula/ might help > > you. > > > > Something along these lines might help you achieve what you want: > > > > ifconfig_rl0_ipv6="inet6 fd8f:d6d0:e6e7:100::1 prefixlen 64" > > ifconfig_re0_ipv6="inet6 fd44:13de:a366:200::1 prefixlen 64" > > ipv6_gateway_enable="YES" > > > > Finally you probably should configure and enable Router Advertisement > > and Host Auto Configuration as explained in section 32.11.6 of > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html > > . -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ --2055831798-465747425-1369204325=:72982-- From owner-freebsd-questions@FreeBSD.ORG Wed May 22 06:47:42 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1ACBAC48 for ; Wed, 22 May 2013 06:47:42 +0000 (UTC) (envelope-from demelier.david@gmail.com) Received: from mail-we0-x230.google.com (mail-we0-x230.google.com [IPv6:2a00:1450:400c:c03::230]) by mx1.freebsd.org (Postfix) with ESMTP id AC55FD2D for ; Wed, 22 May 2013 06:47:41 +0000 (UTC) Received: by mail-we0-f176.google.com with SMTP id p58so821706wes.21 for ; Tue, 21 May 2013 23:47:40 -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=yX5qxAXYLR9jyzdNWI21gqgDISctO1wyNBo2ktYAlIQ=; b=ro2S9pL9V1PYnO7legVYXoNKhEQQKaTBICpsliBpL3LlWDKGnobQFRl3OAeiwtfY+X odw4VQrocPLTny19QnC397Id70r5EfRYuf4c/U8v+55Dq74VUTtIbt0HuVP+UXYCVyTW Ghv8XLqBdkCsUK/ePEW46ZnlX5q+Dm/hh6x8osKEPFSW0VZVw7z6wSEj4pKxmDlFoz7/ GZvxgDhtArLj8MSEqiHsL/u0VvBRAYhzoH2ATa7BeasKmDFX5jM/3gyL1zj4IqeXgt+V YsEsm7Y7XckLy5E5RmQzuFxq+vIVsCwkXFSx4daPYzc1cCHBcY+8kFDC+fsROb+Mhzsq rBkA== MIME-Version: 1.0 X-Received: by 10.180.72.227 with SMTP id g3mr30247928wiv.1.1369205260931; Tue, 21 May 2013 23:47:40 -0700 (PDT) Received: by 10.194.32.101 with HTTP; Tue, 21 May 2013 23:47:40 -0700 (PDT) In-Reply-To: <519935D0.5080202@gmail.com> References: <519935D0.5080202@gmail.com> Date: Wed, 22 May 2013 08:47:40 +0200 Message-ID: Subject: Re: Unkillable processes From: David Demelier To: Joshua Isom 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: Wed, 22 May 2013 06:47:42 -0000 2013/5/19 Joshua Isom : > On 5/19/2013 3:00 PM, David Demelier wrote: >> >> Hello there, >> >> I've had a process on state "pfault" and it was just unkillable, kill >> -9 had no effects and because the script was doing an infinite loop >> the machine was slower and slower so the only way to fix that was a >> reboot. >> >> Why kill -9 has still no effects on some bad processes? >> >> Regards, >> >> -- >> Demelier David > > > A process can be unkillable if it's holding a lock, like reading from disk. > Eventually, the lock will release and it should die. You can use limits to > change how much CPU and memory a process can use. My guess is what happened > is it started using a lot of memory, but you ran out and have a lot of swap. > It was trying to run while using your hard drive instead of ram. With > limits, you should be able to prevent it from using swap which could help, > and cap the amount of ram and cpu. Hello, thank you for that precise explanation, I will add limits into the new rctl.conf, however I don't know how many amount of ram I should allow, in fact I have absolutely no idea how much of ram an usual program eats, is 50Mo enough for user applications ? Regards, -- Demelier David From owner-freebsd-questions@FreeBSD.ORG Wed May 22 07:08:19 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E87C4348 for ; Wed, 22 May 2013 07:08:19 +0000 (UTC) (envelope-from hrisikeshsahu@gmail.com) Received: from mail-oa0-f42.google.com (mail-oa0-f42.google.com [209.85.219.42]) by mx1.freebsd.org (Postfix) with ESMTP id B4332E24 for ; Wed, 22 May 2013 07:08:19 +0000 (UTC) Received: by mail-oa0-f42.google.com with SMTP id i10so2031323oag.15 for ; Wed, 22 May 2013 00:08:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=4+2NEQtBpTB8VtfdE/mNSiHnTBVsq31QPQjABJV2zFM=; b=z/Xz8ES+tuSGcUrc0nl8uH71tDD528aTZUktUeJaoxPvSI7c3FKX3Dnxpk2kLCejrj Yt8Xpei/FS2viyYRxQRSK7IifBIEfIbe+s7Zg8yEbTsvBZq4oimvhQhT5KTYRJCwmFUD JiUFiR4VJXKcLcUC5lmXCRSioiDUGboaKXNGN62GFjOaYJodFn4xmvhBIRiD15ecky6B Jd5C7Fn4qg7s8p4mf8RikUv0p7nn5lgSl9MQrnXIrBb+7OaAzdcWC7ADt9u8NczFUIYX 0vosUA09CRGCBk5bnBwT1ACAKQERhOYT8scyxXVqJRCJwg1qQoMy3BK+bxLcr+ZHIQkF LPNA== MIME-Version: 1.0 X-Received: by 10.182.87.134 with SMTP id ay6mr3888544obb.13.1369206498970; Wed, 22 May 2013 00:08:18 -0700 (PDT) Received: by 10.182.240.135 with HTTP; Wed, 22 May 2013 00:08:18 -0700 (PDT) In-Reply-To: References: Date: Wed, 22 May 2013 12:38:18 +0530 Message-ID: Subject: Re: Fresh installation 9.1 From: hrkesh sahu To: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 May 2013 07:08:20 -0000 Hi , Thanks a lot for this quick reply. Sorry i missed the " in the end while typing. It's a typo. I provided the ouput of " nestat -r " and "ifconfig". > netstat -r -------------- routing tables - internet : ----------- destination Gateway Flags Refs Use Netif Expire default 192.168.200.1 UGS 0 0 re0 localhost link#12 UH 0 148 lo0 192.168.100.0 link#10 U 0 0 rl0 192.168.100.101 link#10 UHS 0 0 lo0 192.168.200.0 link#5 U 0 0 re0 192.168.200.101 link#5 UHS 0 0 lo0 Internet6: ------------------- Ipv6 details > Ifconfig -------------------- re0: flags=3D8843 Metric 0 mtu 1500 options=3D8209b ether 00:1f:d0:40:8b:bd inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen 64 scopeid 0x5 inet 192.168.200.101 netmask 0xffffff00 broadcast 192.168.200.255 nd6 options=3D21 media:Enthernet autoselect (none) status: no carrier rl0: flags=3D8843 Metric 0 mtu 1500 options=3D2008 ether 00:10:b5:48:9f:73 inet6 fe80::21f:b5ff:fe48:9f73%rl0 prefixlen 64 scopeid 0xa inet 192.168.100.101 netmask 0xffffff00 broadcast 192.168.100.255 nd6 options=3D21 media:Enthernet autoselect (none) status: no carrier there is a plip0 and lo0. Regards Hrisikesh On Wed, May 22, 2013 at 12:02 PM, Trond Endrest=F8l < Trond.Endrestol@fagskolen.gjovik.no> wrote: > On Wed, 22 May 2013 11:10+0530, hrkesh sahu wrote: > > > Hi All, > > IPv4 Routing - > > ------------------------ > > I disabled the DHCP from rc.conf for both the interface. but still I am > not > > able to route trafic from one interface to another. > > > > rc.conf > > --------------- > > hostname=3D"idc-freebsd" > > keymap=3D"hy.armscii-8.kbd" > > #ifconfig_re0=3D"DHCP" > > #ifconfig_rl0=3D"DHCP" > > dumpdev=3D"NO" > > > ifconfig_rl0=3D"inet 192.168.100.101 netmask 255.255.255.0 > > ifconfig_re0=3D"inet 192.168.200.101 netmask 255.255.255.0 > > Are the two lines above copied straight from your rc.conf file? > If so, both lines are missing a " at the end. Please check to see if > this is needed. > > Next, the outputs of the ifconfig command and the netstat -r command > should reveal something interesting. Would you please post the > results from these two commands? > > > ipv6_activate_all_interfaces=3D"YES" > > gateway_enable=3D"YES" > > default_router=3D"192.168.200.1" > > > > I am using FreeBSD - 9.1 Release version > > > > I need to communicate between two different subnets. > > > > Am i missing anything to enable freebsd as router? > > Do i need to add a route entry? > > > > If possible could you please share rc.conf file with IPv4 routing? > > > > Regards > > Hrisikesh > > > > On Thu, May 9, 2013 at 2:04 PM, Trond Endrest=F8l < > > Trond.Endrestol@fagskolen.gjovik.no> wrote: > > > > > On Thu, 9 May 2013 12:18+0530, hrkesh sahu wrote: > > > > > > > > HI All, > > > > > > > > > I have a FreeBSD 9.1 Release installed with TWO NIC cards. I was > trying > > > to > > > > make this FreeBSD machine as a router . > > > > This is my rc.conf > > > > -------------------------------- > > > > ifconfig_rl0 =3D "inet 192.168.100.101 netmask 255.255.255.0" > > > > ifconfig_re0=3D"inet 192.168.200.101 netmask 255.255.255.0" > > > > > > > > gateway_enable =3D "YES" > > > > ifconfig_rl0 =3D "DHCP" > > > > ifconfig_re0 =3D "DHCP" > > > > > > > > defaultrouter =3D "192.168.100.1" > > > > ipv6_activate_all_interfaces =3D "YES" > > > > sshd_enable =3D "YES" > > > > synchronous_dhclient=3D"YES" > > > > > > > > Please help me to establish a IPv4 router. > > > > Both the interfaces are connected to to different laptops with a > static > > > IP > > > > address. > > > > > > You should place a # in front of the two lines: > > > > > > > ifconfig_rl0 =3D "DHCP" > > > > ifconfig_re0 =3D "DHCP" > > > > > > Next, you probably shouldn't place spaces before and after the equal > > > signs. > > > > > > > Laptop 1 =3D 192.168.100.102 ( connected to interface rl0) gateway= - > > > > 192.168.100.1 > > > > > > > > Laptop 2 =3D 192.168.200.102 ( connected to interface re0) > > > > ping from Laptop1 -> rl0 is successful > > > > but ping from Laptop1 -> re0 is not successful. > > > > > > > > After this I want to know also How to make this as IPv6 router? > > > > > > See > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.ht= ml > > > . > > > > > > You probably should create a ULA prefix or two, and assign these to > > > your router interfaces. http://www.sixxs.net/tools/grh/ula/ might hel= p > > > you. > > > > > > Something along these lines might help you achieve what you want: > > > > > > ifconfig_rl0_ipv6=3D"inet6 fd8f:d6d0:e6e7:100::1 prefixlen 64" > > > ifconfig_re0_ipv6=3D"inet6 fd44:13de:a366:200::1 prefixlen 64" > > > ipv6_gateway_enable=3D"YES" > > > > > > Finally you probably should configure and enable Router Advertisement > > > and Host Auto Configuration as explained in section 32.11.6 of > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.ht= ml > > > . > > -- > +-------------------------------+------------------------------------+ > | Vennlig hilsen, | Best regards, | > | Trond Endrest=F8l, | Trond Endrest=F8l, = | > | IT-ansvarlig, | System administrator, | > | Fagskolen Innlandet, | Gj=F8vik Technical College, Norway, | > | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | > | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | > +-------------------------------+------------------------------------+ > From owner-freebsd-questions@FreeBSD.ORG Wed May 22 07:33:47 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8D7AD953 for ; Wed, 22 May 2013 07:33:47 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) by mx1.freebsd.org (Postfix) with ESMTP id E4F6DF29 for ; Wed, 22 May 2013 07:33:46 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.7/8.14.7) with ESMTP id r4M7Xg1T037487 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 22 May 2013 09:33:42 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.7/8.14.7/Submit) with ESMTP id r4M7XgUV037484; Wed, 22 May 2013 09:33:42 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Wed, 22 May 2013 09:33:42 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: hrkesh sahu Subject: Re: Fresh installation 9.1 In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="2055831798-540096040-1369208022=:72982" X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.fig.ol.no Cc: FreeBSD questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 May 2013 07:33:47 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --2055831798-540096040-1369208022=:72982 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT On Wed, 22 May 2013 12:38+0530, hrkesh sahu wrote: > Hi , > Thanks a lot for this quick reply. > Sorry i missed the " in the end while typing. It's a typo. > I provided the ouput of " nestat -r " and "ifconfig". > > > netstat -r > -------------- > routing tables - > > internet : > ----------- > destination Gateway > Flags Refs > Use Netif Expire > default 192.168.200.1 > UGS 0 > 0 re0 > localhost link#12 > UH 0 > 148 lo0 > 192.168.100.0 link#10 > U 0 > 0 rl0 > 192.168.100.101 link#10 UHS > 0 > 0 lo0 > 192.168.200.0 link#5 > U 0 > 0 re0 > 192.168.200.101 link#5 UHS > 0 > 0 lo0 > > Internet6: > ------------------- > Ipv6 details > > > Ifconfig > -------------------- > re0: flags=8843 Metric 0 mtu 1500 > options=8209b > ether 00:1f:d0:40:8b:bd > inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen 64 scopeid 0x5 > inet 192.168.200.101 netmask 0xffffff00 broadcast 192.168.200.255 > nd6 options=21 > media:Enthernet autoselect (none) > status: no carrier > > rl0: flags=8843 Metric 0 mtu 1500 > options=2008 > ether 00:10:b5:48:9f:73 > inet6 fe80::21f:b5ff:fe48:9f73%rl0 prefixlen 64 scopeid 0xa > inet 192.168.100.101 netmask 0xffffff00 broadcast 192.168.100.255 > nd6 options=21 > media:Enthernet autoselect (none) > status: no carrier > > there is a plip0 and lo0. Neither NIC is connected to any equipment, e.g. switch, hub, or computer (status: no carrier). Make sure you can use a straight network cable, else you'll need to get a couple of cross wired network cables and use those instead. Next, confirm the sysctl net.inet.ip.forwarding is set to 1 by running the sysctl net.inet.ip.forwarding command. If not, you can set the sysctl to 1 by running the sysctl net.inet.ip.forwarding=1 command, and you probably should inspect the /etc/rc.conf file one more time. Once you connect the computer to the two networks, the IPv4 routing should work. If not, come back. > Regards > Hrisikesh > > On Wed, May 22, 2013 at 12:02 PM, Trond Endrestøl < > Trond.Endrestol@fagskolen.gjovik.no> wrote: > > > On Wed, 22 May 2013 11:10+0530, hrkesh sahu wrote: > > > > > Hi All, > > > IPv4 Routing - > > > ------------------------ > > > I disabled the DHCP from rc.conf for both the interface. but still I am > > not > > > able to route trafic from one interface to another. > > > > > > rc.conf > > > --------------- > > > hostname="idc-freebsd" > > > keymap="hy.armscii-8.kbd" > > > #ifconfig_re0="DHCP" > > > #ifconfig_rl0="DHCP" > > > dumpdev="NO" > > > > > ifconfig_rl0="inet 192.168.100.101 netmask 255.255.255.0 > > > ifconfig_re0="inet 192.168.200.101 netmask 255.255.255.0 > > > > Are the two lines above copied straight from your rc.conf file? > > If so, both lines are missing a " at the end. Please check to see if > > this is needed. > > > > Next, the outputs of the ifconfig command and the netstat -r command > > should reveal something interesting. Would you please post the > > results from these two commands? > > > > > ipv6_activate_all_interfaces="YES" > > > gateway_enable="YES" > > > default_router="192.168.200.1" > > > > > > I am using FreeBSD - 9.1 Release version > > > > > > I need to communicate between two different subnets. > > > > > > Am i missing anything to enable freebsd as router? > > > Do i need to add a route entry? > > > > > > If possible could you please share rc.conf file with IPv4 routing? > > > > > > Regards > > > Hrisikesh > > > > > > On Thu, May 9, 2013 at 2:04 PM, Trond Endrestøl < > > > Trond.Endrestol@fagskolen.gjovik.no> wrote: > > > > > > > On Thu, 9 May 2013 12:18+0530, hrkesh sahu wrote: > > > > > > > > > > HI All, > > > > > > > > > > > I have a FreeBSD 9.1 Release installed with TWO NIC cards. I was > > trying > > > > to > > > > > make this FreeBSD machine as a router . > > > > > This is my rc.conf > > > > > -------------------------------- > > > > > ifconfig_rl0 = "inet 192.168.100.101 netmask 255.255.255.0" > > > > > ifconfig_re0="inet 192.168.200.101 netmask 255.255.255.0" > > > > > > > > > > gateway_enable = "YES" > > > > > ifconfig_rl0 = "DHCP" > > > > > ifconfig_re0 = "DHCP" > > > > > > > > > > defaultrouter = "192.168.100.1" > > > > > ipv6_activate_all_interfaces = "YES" > > > > > sshd_enable = "YES" > > > > > synchronous_dhclient="YES" > > > > > > > > > > Please help me to establish a IPv4 router. > > > > > Both the interfaces are connected to to different laptops with a > > static > > > > IP > > > > > address. > > > > > > > > You should place a # in front of the two lines: > > > > > > > > > ifconfig_rl0 = "DHCP" > > > > > ifconfig_re0 = "DHCP" > > > > > > > > Next, you probably shouldn't place spaces before and after the equal > > > > signs. > > > > > > > > > Laptop 1 = 192.168.100.102 ( connected to interface rl0) gateway - > > > > > 192.168.100.1 > > > > > > > > > > Laptop 2 = 192.168.200.102 ( connected to interface re0) > > > > > ping from Laptop1 -> rl0 is successful > > > > > but ping from Laptop1 -> re0 is not successful. > > > > > > > > > > After this I want to know also How to make this as IPv6 router? > > > > > > > > See > > > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html > > > > . > > > > > > > > You probably should create a ULA prefix or two, and assign these to > > > > your router interfaces. http://www.sixxs.net/tools/grh/ula/ might help > > > > you. > > > > > > > > Something along these lines might help you achieve what you want: > > > > > > > > ifconfig_rl0_ipv6="inet6 fd8f:d6d0:e6e7:100::1 prefixlen 64" > > > > ifconfig_re0_ipv6="inet6 fd44:13de:a366:200::1 prefixlen 64" > > > > ipv6_gateway_enable="YES" > > > > > > > > Finally you probably should configure and enable Router Advertisement > > > > and Host Auto Configuration as explained in section 32.11.6 of > > > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html > > > > . -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ --2055831798-540096040-1369208022=:72982-- From owner-freebsd-questions@FreeBSD.ORG Wed May 22 12:51:15 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D93C15E7 for ; Wed, 22 May 2013 12:51:15 +0000 (UTC) (envelope-from hrisikeshsahu@gmail.com) Received: from mail-oa0-f45.google.com (mail-oa0-f45.google.com [209.85.219.45]) by mx1.freebsd.org (Postfix) with ESMTP id A413ECC2 for ; Wed, 22 May 2013 12:51:15 +0000 (UTC) Received: by mail-oa0-f45.google.com with SMTP id j6so2469551oag.4 for ; Wed, 22 May 2013 05:51:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=9irSBrzOIFvj11Z8VYXZLqOmeWvQLO1egU1SM3ERFiw=; b=uxkQYu9sLGs9itUuhauk4Xjl2PSV2E83FLQ848VhDICB7IqdbsbkU+Haz2SYH0WZOK T6tnFAbdU24OjKgsMVswdNNeERIszMi8SGRCtJsbBVSfe1RjnhZscleRIuOyP7qVDtxe cJNRl6tcrJDEgjmpEY4Bwe9ghjc3xO+wACiMtyuAQvP8qbwJszMtwsH6FNO7zBUSARog mvSVZ+CdTU1FQt1ic6rYeJK6fqBZ9+/HlOBmPD1ZXxo4rcbfEHLWjl5YnT44KB/yyL8o uMZuI+XTdBUll7B8aSLdzD9Awoc+OZSa7oYw4NR5cPlM64M4f5tkn9cchwqWWVFYmNlN RY+g== MIME-Version: 1.0 X-Received: by 10.182.74.131 with SMTP id t3mr4534053obv.87.1369227074880; Wed, 22 May 2013 05:51:14 -0700 (PDT) Received: by 10.182.240.135 with HTTP; Wed, 22 May 2013 05:51:14 -0700 (PDT) In-Reply-To: References: Date: Wed, 22 May 2013 18:21:14 +0530 Message-ID: Subject: Re: Fresh installation 9.1 From: hrkesh sahu To: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 May 2013 12:51:15 -0000 Hi Trond , Thanks a lot. Now i am able to ping to other network with IPv4 address. For IPv6 I added these lines in rc.conf - first I included - ipv6_gateway_enable=3D"YES" ++> Laptop1( Ipv6 address fe80::224:7eff:fee0:6b51) is connected to interface rl0 ( ipv6 address - fe80::21f:b5ff:fe48:9f73) While doing ping6 from "fe80::224:7eff:fee0:6b51" to "fe80::21f:b5ff:fe48:9f73" - it is working. Neighbor advertisement from "fe80::21f:b5ff:fe48:9f73" is happening. while doing from ping6 from "fe80::224:7eff:fee0:6b51" to other interface "fe80::21f:d0ff:fe40:8bbd" , then there is no Neighbor advertisement. After this I included these two lines to rc.conf - rtadvd_enable=3D"YES" rtadvd_interfaces=3D"rl0" I have not created any file like /etc/rtadvd.conf . Do i need to create this configuration file? if yes, what should be the input to rtadvd.conf for link local address? please find Ipv6 interface details. Ifconfig -------------------- re0: flags=3D8843 Metric 0 mtu 1500 options=3D8209b ether 00:1f:d0:40:8b:bd inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen 64 scopeid 0x5 inet 192.168.200.101 netmask 0xffffff00 broadcast 192.168.200.255 nd6 options=3D21 media:Enthernet autoselect (none) status:active rl0: flags=3D8843 Metric 0 mtu 1500 options=3D2008 ether 00:10:b5:48:9f:73 inet6 fe80::21f:b5ff:fe48:9f73%rl0 prefixlen 64 scopeid 0xa inet 192.168.100.101 netmask 0xffffff00 broadcast 192.168.100.255 nd6 options=3D21 media:Enthernet autoselect (none) status: active Regards Hrisikesh On Wed, May 22, 2013 at 1:03 PM, Trond Endrest=F8l < Trond.Endrestol@fagskolen.gjovik.no> wrote: > On Wed, 22 May 2013 12:38+0530, hrkesh sahu wrote: > > > Hi , > > Thanks a lot for this quick reply. > > Sorry i missed the " in the end while typing. It's a typo. > > I provided the ouput of " nestat -r " and "ifconfig". > > > > > netstat -r > > -------------- > > routing tables - > > > > internet : > > ----------- > > destination Gateway > > Flags Refs > > Use Netif Expire > > default 192.168.200.1 > > UGS 0 > > 0 re0 > > localhost link#12 > > UH 0 > > 148 lo0 > > 192.168.100.0 link#10 > > U 0 > > 0 rl0 > > 192.168.100.101 link#10 UHS > > 0 > > 0 lo0 > > 192.168.200.0 link#5 > > U 0 > > 0 re0 > > 192.168.200.101 link#5 UHS > > 0 > > 0 lo0 > > > > Internet6: > > ------------------- > > Ipv6 details > > > > > Ifconfig > > -------------------- > > re0: flags=3D8843 Metric 0 mtu = 1500 > > > options=3D8209b > > ether 00:1f:d0:40:8b:bd > > inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen 64 scopeid 0x5 > > inet 192.168.200.101 netmask 0xffffff00 broadcast 192.168.200.2= 55 > > nd6 options=3D21 > > media:Enthernet autoselect (none) > > status: no carrier > > > > rl0: flags=3D8843 Metric 0 mtu = 1500 > > options=3D2008 > > ether 00:10:b5:48:9f:73 > > inet6 fe80::21f:b5ff:fe48:9f73%rl0 prefixlen 64 scopeid 0xa > > inet 192.168.100.101 netmask 0xffffff00 broadcast 192.168.100.2= 55 > > nd6 options=3D21 > > media:Enthernet autoselect (none) > > status: no carrier > > > > there is a plip0 and lo0. > > Neither NIC is connected to any equipment, e.g. switch, hub, or > computer (status: no carrier). Make sure you can use a straight > network cable, else you'll need to get a couple of cross wired network > cables and use those instead. > > Next, confirm the sysctl net.inet.ip.forwarding is set to 1 by > running the sysctl net.inet.ip.forwarding command. > > If not, you can set the sysctl to 1 by running the sysctl > net.inet.ip.forwarding=3D1 command, and you probably should inspect the > /etc/rc.conf file one more time. > > Once you connect the computer to the two networks, the IPv4 routing > should work. If not, come back. > > > Regards > > Hrisikesh > > > > On Wed, May 22, 2013 at 12:02 PM, Trond Endrest=F8l < > > Trond.Endrestol@fagskolen.gjovik.no> wrote: > > > > > On Wed, 22 May 2013 11:10+0530, hrkesh sahu wrote: > > > > > > > Hi All, > > > > IPv4 Routing - > > > > ------------------------ > > > > I disabled the DHCP from rc.conf for both the interface. but still = I > am > > > not > > > > able to route trafic from one interface to another. > > > > > > > > rc.conf > > > > --------------- > > > > hostname=3D"idc-freebsd" > > > > keymap=3D"hy.armscii-8.kbd" > > > > #ifconfig_re0=3D"DHCP" > > > > #ifconfig_rl0=3D"DHCP" > > > > dumpdev=3D"NO" > > > > > > > ifconfig_rl0=3D"inet 192.168.100.101 netmask 255.255.255.0 > > > > ifconfig_re0=3D"inet 192.168.200.101 netmask 255.255.255.0 > > > > > > Are the two lines above copied straight from your rc.conf file? > > > If so, both lines are missing a " at the end. Please check to see if > > > this is needed. > > > > > > Next, the outputs of the ifconfig command and the netstat -r command > > > should reveal something interesting. Would you please post the > > > results from these two commands? > > > > > > > ipv6_activate_all_interfaces=3D"YES" > > > > gateway_enable=3D"YES" > > > > default_router=3D"192.168.200.1" > > > > > > > > I am using FreeBSD - 9.1 Release version > > > > > > > > I need to communicate between two different subnets. > > > > > > > > Am i missing anything to enable freebsd as router? > > > > Do i need to add a route entry? > > > > > > > > If possible could you please share rc.conf file with IPv4 routing? > > > > > > > > Regards > > > > Hrisikesh > > > > > > > > On Thu, May 9, 2013 at 2:04 PM, Trond Endrest=F8l < > > > > Trond.Endrestol@fagskolen.gjovik.no> wrote: > > > > > > > > > On Thu, 9 May 2013 12:18+0530, hrkesh sahu wrote: > > > > > > > > > > > > HI All, > > > > > > > > > > > > > I have a FreeBSD 9.1 Release installed with TWO NIC cards. I wa= s > > > trying > > > > > to > > > > > > make this FreeBSD machine as a router . > > > > > > This is my rc.conf > > > > > > -------------------------------- > > > > > > ifconfig_rl0 =3D "inet 192.168.100.101 netmask 255.255.255.0" > > > > > > ifconfig_re0=3D"inet 192.168.200.101 netmask 255.255.255.0" > > > > > > > > > > > > gateway_enable =3D "YES" > > > > > > ifconfig_rl0 =3D "DHCP" > > > > > > ifconfig_re0 =3D "DHCP" > > > > > > > > > > > > defaultrouter =3D "192.168.100.1" > > > > > > ipv6_activate_all_interfaces =3D "YES" > > > > > > sshd_enable =3D "YES" > > > > > > synchronous_dhclient=3D"YES" > > > > > > > > > > > > Please help me to establish a IPv4 router. > > > > > > Both the interfaces are connected to to different laptops with = a > > > static > > > > > IP > > > > > > address. > > > > > > > > > > You should place a # in front of the two lines: > > > > > > > > > > > ifconfig_rl0 =3D "DHCP" > > > > > > ifconfig_re0 =3D "DHCP" > > > > > > > > > > Next, you probably shouldn't place spaces before and after the > equal > > > > > signs. > > > > > > > > > > > Laptop 1 =3D 192.168.100.102 ( connected to interface rl0) > gateway - > > > > > > 192.168.100.1 > > > > > > > > > > > > Laptop 2 =3D 192.168.200.102 ( connected to interface re0) > > > > > > ping from Laptop1 -> rl0 is successful > > > > > > but ping from Laptop1 -> re0 is not successful. > > > > > > > > > > > > After this I want to know also How to make this as IPv6 router? > > > > > > > > > > See > > > > > > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.ht= ml > > > > > . > > > > > > > > > > You probably should create a ULA prefix or two, and assign these = to > > > > > your router interfaces. http://www.sixxs.net/tools/grh/ula/ might > help > > > > > you. > > > > > > > > > > Something along these lines might help you achieve what you want: > > > > > > > > > > ifconfig_rl0_ipv6=3D"inet6 fd8f:d6d0:e6e7:100::1 prefixlen 64" > > > > > ifconfig_re0_ipv6=3D"inet6 fd44:13de:a366:200::1 prefixlen 64" > > > > > ipv6_gateway_enable=3D"YES" > > > > > > > > > > Finally you probably should configure and enable Router > Advertisement > > > > > and Host Auto Configuration as explained in section 32.11.6 of > > > > > > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.ht= ml > > > > > . > > -- > +-------------------------------+------------------------------------+ > | Vennlig hilsen, | Best regards, | > | Trond Endrest=F8l, | Trond Endrest=F8l, = | > | IT-ansvarlig, | System administrator, | > | Fagskolen Innlandet, | Gj=F8vik Technical College, Norway, | > | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | > | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | > +-------------------------------+------------------------------------+ > From owner-freebsd-questions@FreeBSD.ORG Wed May 22 12:55:31 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 506F67C1 for ; Wed, 22 May 2013 12:55:31 +0000 (UTC) (envelope-from leslie@eskk.nu) Received: from mx1.bjare.net (mx1.bjare.net [212.31.160.3]) by mx1.freebsd.org (Postfix) with ESMTP id DA726D5C for ; Wed, 22 May 2013 12:55:30 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mx1.bjare.net (Postfix) with ESMTP id 7090F5E4FF for ; Wed, 22 May 2013 14:55:29 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mx1.bjare.net X-Spam-Flag: NO X-Spam-Score: -0.967 X-Spam-Level: X-Spam-Status: No, score=-0.967 tagged_above=-999 required=5 tests=[AWL=0.031, BAYES_00=-2.599, RCVD_IN_PBL=0.905, RDNS_DYNAMIC=0.1, SPF_SOFTFAIL=0.596] Received: from mx1.bjare.net ([127.0.0.1]) by localhost (mx1.bjare.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id CILsMql8yzbl for ; Wed, 22 May 2013 14:55:24 +0200 (CEST) X-BN-MX1: ja X-BN-MailInfo: BjareNet Received: from bljbsd01.no-ip.org (c224-156-70-80.bjare.net [80.70.156.224]) by mx1.bjare.net (Postfix) with ESMTP id 7A12F5E46B for ; Wed, 22 May 2013 14:55:21 +0200 (CEST) Message-ID: <519CC039.7020008@eskk.nu> Date: Wed, 22 May 2013 14:55:21 +0200 From: Leslie Jensen User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130516 Thunderbird/17.0.6 MIME-Version: 1.0 To: FreeBSD Questions Subject: Upgrading from 8.3 to 9.1 zfs pool can't attach Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 May 2013 12:55:31 -0000 I've upgraded a machine with freebsd-update from 8.3 to 9.1. After the first restart I edited /etc/fstab in single user mode because the names on the disks had changed. But the zpool I have seem to have a problem and I'm not sure on how to recover it. May 22 12:00:39 kernel: ZFS WARNING: Unable to attach to ada0. May 22 12:00:39 kernel: ZFS WARNING: Unable to attach to ada1. May 22 12:00:39 kernel: ZFS WARNING: Unable to attach to ada4. May 22 12:00:40 kernel: ZFS WARNING: Unable to attach to ada5. camcontrol devlist at scbus0 target 0 lun 0 (ada0,pass0) at scbus1 target 0 lun 0 (ada1,pass1) at scbus2 target 0 lun 0 (ada2,pass2) at scbus2 target 1 lun 0 (ada3,pass3) at scbus3 target 0 lun 0 (ada4,pass4) at scbus3 target 1 lun 0 (ada5,pass5) ada2 and ada3 are configured as raid/r0 holding the system. ada0, ada1, ada4 and ada5 should be a zpool with /storage cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/raid/r0s1b none swap sw 0 0 /dev/raid/r0s1a / ufs rw 1 1 /dev/raid/r0s1e /tmp ufs rw 2 2 /dev/raid/r0s1f /usr ufs rw 2 2 /dev/raid/r0s1d /var ufs rw 2 2 Can I recover it? Thanks /Leslie From owner-freebsd-questions@FreeBSD.ORG Wed May 22 13:24:13 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 32913903 for ; Wed, 22 May 2013 13:24:13 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) by mx1.freebsd.org (Postfix) with ESMTP id 7D923FBA for ; Wed, 22 May 2013 13:24:12 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.7/8.14.7) with ESMTP id r4MDO84f055599 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 22 May 2013 15:24:08 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.7/8.14.7/Submit) with ESMTP id r4MDO8Kd055596; Wed, 22 May 2013 15:24:08 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Wed, 22 May 2013 15:24:08 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: hrkesh sahu Subject: Re: Fresh installation 9.1 In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="2055831798-43629252-1369229048=:72982" X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.fig.ol.no Cc: FreeBSD questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 May 2013 13:24:13 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --2055831798-43629252-1369229048=:72982 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT On Wed, 22 May 2013 18:21+0530, hrkesh sahu wrote: > Hi Trond , > Thanks a lot. > Now i am able to ping to other network with IPv4 address. > > For IPv6 I added these lines in rc.conf - > first I included - > ipv6_gateway_enable="YES" > > ++> Laptop1( Ipv6 address fe80::224:7eff:fee0:6b51) is connected to > interface rl0 ( ipv6 address - fe80::21f:b5ff:fe48:9f73) > While doing ping6 from "fe80::224:7eff:fee0:6b51" to > "fe80::21f:b5ff:fe48:9f73" - it is working. Neighbor advertisement from > "fe80::21f:b5ff:fe48:9f73" is happening. > while doing from ping6 from "fe80::224:7eff:fee0:6b51" to other interface > "fe80::21f:d0ff:fe40:8bbd" , then there is no Neighbor advertisement. > > After this I included these two lines to rc.conf - > > rtadvd_enable="YES" > rtadvd_interfaces="rl0" > > I have not created any file like /etc/rtadvd.conf . Do i need to create > this configuration file? > if yes, what should be the input to rtadvd.conf for link local address? > > please find Ipv6 interface details. > > > Ifconfig > -------------------- > re0: flags=8843 Running,Simplex,Multicast> Metric 0 mtu 1500 > options=8209b VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE> > ether 00:1f:d0:40:8b:bd > inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen 64 scopeid 0x5 > inet 192.168.200.101 netmask 0xffffff00 broadcast 192.168.200.255 > nd6 options=21 LINKLOCAL> > media:Enthernet autoselect (none) > status:active > > rl0: flags=8843 Running,Simplex,Multicast> Metric 0 mtu 1500 > options=2008 > ether 00:10:b5:48:9f:73 > inet6 fe80::21f:b5ff:fe48:9f73%rl0 prefixlen 64 scopeid 0xa > inet 192.168.100.101 netmask 0xffffff00 broadcast 192.168.100.255 > nd6 options=21 > media:Enthernet autoselect (none) > status: active Congratz on achieving active carrier wave on your NICs. Right now your system is running with link-local IPv6 addresses. You may view LL addresses as VLAN local. Packets to such addresses will never ever be forwarded by a router. Instead set up either official IPv6 addresses/subnets or create your own Unique Local Addresses (ULA) as I wrote previously about. Augment your /etc/rc.conf file with, say: ifconfig_rl0_ipv6="inet6 fd8f:d6d0:e6e7:100::101 prefixlen 64" You may assign the IPv6 address manually to avoid restarting the networking subsystem or the whole machine: ifconfig rl0 inet6 fd8f:d6d0:e6e7:100::101 prefixlen 64 Next, create /etc/rtadvd.conf with the following contents: rl0:\ :addr="fd8f:d6d0:e6e7:100::":prefixlen#64: If you want IPv6 routing on the re0 interface, you need, say this, in /etc/rc.conf: ifconfig_re0_ipv6="inet6 fd44:13de:a366:200::1 prefixlen 64" Assign the IPv6 address manually using: ifconfig re0 inet6 fd44:13de:a366:200::1 prefixlen 64 And add this to /etc/rtadvd.conf: re0:\ :addr="fd44:13de:a366:200::":prefixlen#64: You'll need to restart rtadvd by issuing /etc/rc.d/rtadvd restart. Happy hacking. > Regards > Hrisikesh > > On Wed, May 22, 2013 at 1:03 PM, Trond Endrestøl < > Trond.Endrestol@fagskolen.gjovik.no> wrote: > > > On Wed, 22 May 2013 12:38+0530, hrkesh sahu wrote: > > > > > Hi , > > > Thanks a lot for this quick reply. > > > Sorry i missed the " in the end while typing. It's a typo. > > > I provided the ouput of " nestat -r " and "ifconfig". > > > > > > > netstat -r > > > -------------- > > > routing tables - > > > > > > internet : > > > ----------- > > > destination Gateway > > > Flags Refs > > > Use Netif Expire > > > default 192.168.200.1 > > > UGS 0 > > > 0 re0 > > > localhost link#12 > > > UH 0 > > > 148 lo0 > > > 192.168.100.0 link#10 > > > U 0 > > > 0 rl0 > > > 192.168.100.101 link#10 UHS > > > 0 > > > 0 lo0 > > > 192.168.200.0 link#5 > > > U 0 > > > 0 re0 > > > 192.168.200.101 link#5 UHS > > > 0 > > > 0 lo0 > > > > > > Internet6: > > > ------------------- > > > Ipv6 details > > > > > > > Ifconfig > > > -------------------- > > > re0: flags=8843 Metric 0 mtu 1500 > > > > > options=8209b > > > ether 00:1f:d0:40:8b:bd > > > inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen 64 scopeid 0x5 > > > inet 192.168.200.101 netmask 0xffffff00 broadcast 192.168.200.255 > > > nd6 options=21 > > > media:Enthernet autoselect (none) > > > status: no carrier > > > > > > rl0: flags=8843 Metric 0 mtu 1500 > > > options=2008 > > > ether 00:10:b5:48:9f:73 > > > inet6 fe80::21f:b5ff:fe48:9f73%rl0 prefixlen 64 scopeid 0xa > > > inet 192.168.100.101 netmask 0xffffff00 broadcast 192.168.100.255 > > > nd6 options=21 > > > media:Enthernet autoselect (none) > > > status: no carrier > > > > > > there is a plip0 and lo0. > > > > Neither NIC is connected to any equipment, e.g. switch, hub, or > > computer (status: no carrier). Make sure you can use a straight > > network cable, else you'll need to get a couple of cross wired network > > cables and use those instead. > > > > Next, confirm the sysctl net.inet.ip.forwarding is set to 1 by > > running the sysctl net.inet.ip.forwarding command. > > > > If not, you can set the sysctl to 1 by running the sysctl > > net.inet.ip.forwarding=1 command, and you probably should inspect the > > /etc/rc.conf file one more time. > > > > Once you connect the computer to the two networks, the IPv4 routing > > should work. If not, come back. > > > > > Regards > > > Hrisikesh > > > > > > On Wed, May 22, 2013 at 12:02 PM, Trond Endrestøl < > > > Trond.Endrestol@fagskolen.gjovik.no> wrote: > > > > > > > On Wed, 22 May 2013 11:10+0530, hrkesh sahu wrote: > > > > > > > > > Hi All, > > > > > IPv4 Routing - > > > > > ------------------------ > > > > > I disabled the DHCP from rc.conf for both the interface. but still I > > am > > > > not > > > > > able to route trafic from one interface to another. > > > > > > > > > > rc.conf > > > > > --------------- > > > > > hostname="idc-freebsd" > > > > > keymap="hy.armscii-8.kbd" > > > > > #ifconfig_re0="DHCP" > > > > > #ifconfig_rl0="DHCP" > > > > > dumpdev="NO" > > > > > > > > > ifconfig_rl0="inet 192.168.100.101 netmask 255.255.255.0 > > > > > ifconfig_re0="inet 192.168.200.101 netmask 255.255.255.0 > > > > > > > > Are the two lines above copied straight from your rc.conf file? > > > > If so, both lines are missing a " at the end. Please check to see if > > > > this is needed. > > > > > > > > Next, the outputs of the ifconfig command and the netstat -r command > > > > should reveal something interesting. Would you please post the > > > > results from these two commands? > > > > > > > > > ipv6_activate_all_interfaces="YES" > > > > > gateway_enable="YES" > > > > > default_router="192.168.200.1" > > > > > > > > > > I am using FreeBSD - 9.1 Release version > > > > > > > > > > I need to communicate between two different subnets. > > > > > > > > > > Am i missing anything to enable freebsd as router? > > > > > Do i need to add a route entry? > > > > > > > > > > If possible could you please share rc.conf file with IPv4 routing? > > > > > > > > > > Regards > > > > > Hrisikesh > > > > > > > > > > On Thu, May 9, 2013 at 2:04 PM, Trond Endrestøl < > > > > > Trond.Endrestol@fagskolen.gjovik.no> wrote: > > > > > > > > > > > On Thu, 9 May 2013 12:18+0530, hrkesh sahu wrote: > > > > > > > > > > > > > > HI All, > > > > > > > > > > > > > > > I have a FreeBSD 9.1 Release installed with TWO NIC cards. I was > > > > trying > > > > > > to > > > > > > > make this FreeBSD machine as a router . > > > > > > > This is my rc.conf > > > > > > > -------------------------------- > > > > > > > ifconfig_rl0 = "inet 192.168.100.101 netmask 255.255.255.0" > > > > > > > ifconfig_re0="inet 192.168.200.101 netmask 255.255.255.0" > > > > > > > > > > > > > > gateway_enable = "YES" > > > > > > > ifconfig_rl0 = "DHCP" > > > > > > > ifconfig_re0 = "DHCP" > > > > > > > > > > > > > > defaultrouter = "192.168.100.1" > > > > > > > ipv6_activate_all_interfaces = "YES" > > > > > > > sshd_enable = "YES" > > > > > > > synchronous_dhclient="YES" > > > > > > > > > > > > > > Please help me to establish a IPv4 router. > > > > > > > Both the interfaces are connected to to different laptops with a > > > > static > > > > > > IP > > > > > > > address. > > > > > > > > > > > > You should place a # in front of the two lines: > > > > > > > > > > > > > ifconfig_rl0 = "DHCP" > > > > > > > ifconfig_re0 = "DHCP" > > > > > > > > > > > > Next, you probably shouldn't place spaces before and after the > > equal > > > > > > signs. > > > > > > > > > > > > > Laptop 1 = 192.168.100.102 ( connected to interface rl0) > > gateway - > > > > > > > 192.168.100.1 > > > > > > > > > > > > > > Laptop 2 = 192.168.200.102 ( connected to interface re0) > > > > > > > ping from Laptop1 -> rl0 is successful > > > > > > > but ping from Laptop1 -> re0 is not successful. > > > > > > > > > > > > > > After this I want to know also How to make this as IPv6 router? > > > > > > > > > > > > See > > > > > > > > > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html > > > > > > . > > > > > > > > > > > > You probably should create a ULA prefix or two, and assign these to > > > > > > your router interfaces. http://www.sixxs.net/tools/grh/ula/ might > > help > > > > > > you. > > > > > > > > > > > > Something along these lines might help you achieve what you want: > > > > > > > > > > > > ifconfig_rl0_ipv6="inet6 fd8f:d6d0:e6e7:100::1 prefixlen 64" > > > > > > ifconfig_re0_ipv6="inet6 fd44:13de:a366:200::1 prefixlen 64" > > > > > > ipv6_gateway_enable="YES" > > > > > > > > > > > > Finally you probably should configure and enable Router > > Advertisement > > > > > > and Host Auto Configuration as explained in section 32.11.6 of > > > > > > > > > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html > > > > > > . -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ --2055831798-43629252-1369229048=:72982-- From owner-freebsd-questions@FreeBSD.ORG Wed May 22 13:52:46 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 133FD23B for ; Wed, 22 May 2013 13:52:46 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-pb0-x235.google.com (mail-pb0-x235.google.com [IPv6:2607:f8b0:400e:c01::235]) by mx1.freebsd.org (Postfix) with ESMTP id EA183276 for ; Wed, 22 May 2013 13:52:45 +0000 (UTC) Received: by mail-pb0-f53.google.com with SMTP id un4so1717514pbc.12 for ; Wed, 22 May 2013 06:52:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=/m1FwlL4YTz6Th2t07pTTetjIlZK4eOHfJPUuCOJZAw=; b=CJdiaDBQ6V3LepQGiWqTU3gFM2IV+jLWL9bRjwkcz3RZ3c3qv7w/cYwD32QBwBBhUS 0DpqyMR5GGTUs6kSC2Dvj9RvixWbCAv1K9fW2Aj2fd28FMI+k3khcH/bD+0VAb25NBrX A+L2uZmenzVJJnzMt3WCi1zbKYMEx/ONZGC9SZvzw9zcxo6n1h4+QeAcLrtoEomhTPqz AK1yDqdLxdOtNEvsbSg5CEtzVixpspv6loE0I8HQbMbSHsCJvekunMXr8wLq0dxfMPMd NXn24XqK+S3DA+nIFWPnJDi0BTOWCXJ2uwozwJnetZewr+JK2JsE8UqYGr0hd6OrlIT0 KJqw== MIME-Version: 1.0 X-Received: by 10.68.224.104 with SMTP id rb8mr7822807pbc.206.1369230765422; Wed, 22 May 2013 06:52:45 -0700 (PDT) Received: by 10.66.8.1 with HTTP; Wed, 22 May 2013 06:52:45 -0700 (PDT) Date: Wed, 22 May 2013 09:52:45 -0400 Message-ID: Subject: MySQL hangs server completely From: Alejandro Imass To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQmo99lYXFgXEeLQa4toiIdBgJbpEPR8gjxqbDpR2BrEb82DAZUZgo+Lxg8K9R6JqZEd+USr 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, 22 May 2013 13:52:46 -0000 Hi, We've been having this problem with a customer for a while and it seems that some funky query makes MySQL use 100% of CPU. Nevertheless, even though you can see in top that it's only 1 CPU in 100% (out of 8) the server eventually becomes useless and stops responding completely. So my question is, how does a user process hang the whole server? What system resources could MySQL be draining to make the server stop responding completely? The MySQL database is running inside a Jail and perhaps that could help limit the damage it can cause. Has anyone else run into this problem? Thanks, -- Alejandro Imass From owner-freebsd-questions@FreeBSD.ORG Wed May 22 14:04:07 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 012FB5C1 for ; Wed, 22 May 2013 14:04:06 +0000 (UTC) (envelope-from hrisikeshsahu@gmail.com) Received: from mail-vb0-x234.google.com (mail-vb0-x234.google.com [IPv6:2607:f8b0:400c:c02::234]) by mx1.freebsd.org (Postfix) with ESMTP id A8F02338 for ; Wed, 22 May 2013 14:04:06 +0000 (UTC) Received: by mail-vb0-f52.google.com with SMTP id p12so401266vbe.25 for ; Wed, 22 May 2013 07:04:06 -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=SiQwh2U7d/HwLTSycytipnCjmof1atQPBHDYScyKMDY=; b=OgR2tgh9bmLGfR0IOcnOWE/lTpxM4SEoI3iMba1EU1uKq/jR6Xd7K3wJEI6yUY2XxY NC0BwMh8jMm4fbLh/DFHE3p5gFwn2QvFWeSXkCGdazNga5Dl3UwxGpjvRSJlCUlTyS07 g9ggYKxqeHT9AfSCvT4aYDemyeHLhOShPA7sKDKMw4bncHs2iLyKtCyKDCY/nGEmIX4K G7PA36LYExA3D6E52hl0c0pdkw15K6oxTWtWhCUDrK9ZKAZdBVf1HTggjKzkHPptfzh8 RUytNewD/8BcooMSOpxKtBN00P9voEniave7wktwnjFiLB1DgKsQ+kyV9YrDxf3ebqwX Nq1w== MIME-Version: 1.0 X-Received: by 10.52.171.135 with SMTP id au7mr2389180vdc.126.1369231445942; Wed, 22 May 2013 07:04:05 -0700 (PDT) Received: by 10.52.17.105 with HTTP; Wed, 22 May 2013 07:04:05 -0700 (PDT) In-Reply-To: References: Date: Wed, 22 May 2013 19:34:05 +0530 Message-ID: Subject: Re: Fresh installation 9.1 From: hrkesh sahu To: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 May 2013 14:04:07 -0000 Hi Trond, Thanks a lot for a clear reply. Could you please tell me Laptop1 ipv6 configuration details? as laptop auto configuration will generate the LL address for a auto ipv6 configuration. For Interface rl0 ipv6 address ifconfig_rl0_ipv6=3D"inet6 fd8f:d6d0:e6e7:100::101 prefixlen 64" , what will be laptop ipv6 address? Regards On Wed, May 22, 2013 at 6:54 PM, Trond Endrest=F8l < Trond.Endrestol@fagskolen.gjovik.no> wrote: > On Wed, 22 May 2013 18:21+0530, hrkesh sahu wrote: > > > Hi Trond , > > Thanks a lot. > > Now i am able to ping to other network with IPv4 address. > > > > For IPv6 I added these lines in rc.conf - > > first I included - > > ipv6_gateway_enable=3D"YES" > > > > ++> Laptop1( Ipv6 address fe80::224:7eff:fee0:6b51) is connected to > > interface rl0 ( ipv6 address - fe80::21f:b5ff:fe48:9f73) > > While doing ping6 from "fe80::224:7eff:fee0:6b51" to > > "fe80::21f:b5ff:fe48:9f73" - it is working. Neighbor advertisement from > > "fe80::21f:b5ff:fe48:9f73" is happening. > > while doing from ping6 from "fe80::224:7eff:fee0:6b51" to other interfa= ce > > "fe80::21f:d0ff:fe40:8bbd" , then there is no Neighbor advertisement. > > > > After this I included these two lines to rc.conf - > > > > rtadvd_enable=3D"YES" > > rtadvd_interfaces=3D"rl0" > > > > I have not created any file like /etc/rtadvd.conf . Do i need to create > > this configuration file? > > if yes, what should be the input to rtadvd.conf for link local address= ? > > > > please find Ipv6 interface details. > > > > > > Ifconfig > > -------------------- > > re0: flags=3D8843 > Running,Simplex,Multicast> Metric 0 mtu 1500 > > options=3D8209b > VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE> > > ether 00:1f:d0:40:8b:bd > > inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen 64 scopeid 0x5 > > inet 192.168.200.101 netmask 0xffffff00 broadcast 192.168.200.2= 55 > > nd6 options=3D21 > LINKLOCAL> > > media:Enthernet autoselect (none) > > status:active > > > > rl0: flags=3D8843 > Running,Simplex,Multicast> Metric 0 mtu 1500 > > options=3D2008 > > ether 00:10:b5:48:9f:73 > > inet6 fe80::21f:b5ff:fe48:9f73%rl0 prefixlen 64 scopeid 0xa > > inet 192.168.100.101 netmask 0xffffff00 broadcast 192.168.100.2= 55 > > nd6 options=3D21 > > media:Enthernet autoselect (none) > > status: active > > Congratz on achieving active carrier wave on your NICs. > > Right now your system is running with link-local IPv6 addresses. You > may view LL addresses as VLAN local. Packets to such addresses will > never ever be forwarded by a router. > > Instead set up either official IPv6 addresses/subnets or create your > own Unique Local Addresses (ULA) as I wrote previously about. > > Augment your /etc/rc.conf file with, say: > > ifconfig_rl0_ipv6=3D"inet6 fd8f:d6d0:e6e7:100::101 prefixlen 64" > > You may assign the IPv6 address manually to avoid restarting the > networking subsystem or the whole machine: > > ifconfig rl0 inet6 fd8f:d6d0:e6e7:100::101 prefixlen 64 > > Next, create /etc/rtadvd.conf with the following contents: > > rl0:\ > :addr=3D"fd8f:d6d0:e6e7:100::":prefixlen#64: > > If you want IPv6 routing on the re0 interface, you need, say this, in > /etc/rc.conf: > > ifconfig_re0_ipv6=3D"inet6 fd44:13de:a366:200::1 prefixlen 64" > > Assign the IPv6 address manually using: > > ifconfig re0 inet6 fd44:13de:a366:200::1 prefixlen 64 > > And add this to /etc/rtadvd.conf: > > re0:\ > :addr=3D"fd44:13de:a366:200::":prefixlen#64: > > You'll need to restart rtadvd by issuing /etc/rc.d/rtadvd restart. > > Happy hacking. > > > Regards > > Hrisikesh > > > > On Wed, May 22, 2013 at 1:03 PM, Trond Endrest=F8l < > > Trond.Endrestol@fagskolen.gjovik.no> wrote: > > > > > On Wed, 22 May 2013 12:38+0530, hrkesh sahu wrote: > > > > > > > Hi , > > > > Thanks a lot for this quick reply. > > > > Sorry i missed the " in the end while typing. It's a typo. > > > > I provided the ouput of " nestat -r " and "ifconfig". > > > > > > > > > netstat -r > > > > -------------- > > > > routing tables - > > > > > > > > internet : > > > > ----------- > > > > destination Gateway > > > > Flags Refs > > > > Use Netif Expire > > > > default 192.168.200.1 > > > > UGS 0 > > > > 0 re0 > > > > localhost link#12 > > > > UH 0 > > > > 148 lo0 > > > > 192.168.100.0 link#10 > > > > U 0 > > > > 0 rl0 > > > > 192.168.100.101 link#10 UHS > > > > 0 > > > > 0 lo0 > > > > 192.168.200.0 link#5 > > > > U 0 > > > > 0 re0 > > > > 192.168.200.101 link#5 UHS > > > > 0 > > > > 0 lo0 > > > > > > > > Internet6: > > > > ------------------- > > > > Ipv6 details > > > > > > > > > Ifconfig > > > > -------------------- > > > > re0: flags=3D8843 Metric 0 = mtu > 1500 > > > > > > > > options=3D8209b > > > > ether 00:1f:d0:40:8b:bd > > > > inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen 64 scopeid 0x5 > > > > inet 192.168.200.101 netmask 0xffffff00 broadcast > 192.168.200.255 > > > > nd6 options=3D21 > > > > media:Enthernet autoselect (none) > > > > status: no carrier > > > > > > > > rl0: flags=3D8843 Metric 0 = mtu > 1500 > > > > options=3D2008 > > > > ether 00:10:b5:48:9f:73 > > > > inet6 fe80::21f:b5ff:fe48:9f73%rl0 prefixlen 64 scopeid 0xa > > > > inet 192.168.100.101 netmask 0xffffff00 broadcast > 192.168.100.255 > > > > nd6 options=3D21 > > > > media:Enthernet autoselect (none) > > > > status: no carrier > > > > > > > > there is a plip0 and lo0. > > > > > > Neither NIC is connected to any equipment, e.g. switch, hub, or > > > computer (status: no carrier). Make sure you can use a straight > > > network cable, else you'll need to get a couple of cross wired networ= k > > > cables and use those instead. > > > > > > Next, confirm the sysctl net.inet.ip.forwarding is set to 1 by > > > running the sysctl net.inet.ip.forwarding command. > > > > > > If not, you can set the sysctl to 1 by running the sysctl > > > net.inet.ip.forwarding=3D1 command, and you probably should inspect t= he > > > /etc/rc.conf file one more time. > > > > > > Once you connect the computer to the two networks, the IPv4 routing > > > should work. If not, come back. > > > > > > > Regards > > > > Hrisikesh > > > > > > > > On Wed, May 22, 2013 at 12:02 PM, Trond Endrest=F8l < > > > > Trond.Endrestol@fagskolen.gjovik.no> wrote: > > > > > > > > > On Wed, 22 May 2013 11:10+0530, hrkesh sahu wrote: > > > > > > > > > > > Hi All, > > > > > > IPv4 Routing - > > > > > > ------------------------ > > > > > > I disabled the DHCP from rc.conf for both the interface. but > still I > > > am > > > > > not > > > > > > able to route trafic from one interface to another. > > > > > > > > > > > > rc.conf > > > > > > --------------- > > > > > > hostname=3D"idc-freebsd" > > > > > > keymap=3D"hy.armscii-8.kbd" > > > > > > #ifconfig_re0=3D"DHCP" > > > > > > #ifconfig_rl0=3D"DHCP" > > > > > > dumpdev=3D"NO" > > > > > > > > > > > ifconfig_rl0=3D"inet 192.168.100.101 netmask 255.255.255.0 > > > > > > ifconfig_re0=3D"inet 192.168.200.101 netmask 255.255.255.0 > > > > > > > > > > Are the two lines above copied straight from your rc.conf file? > > > > > If so, both lines are missing a " at the end. Please check to see > if > > > > > this is needed. > > > > > > > > > > Next, the outputs of the ifconfig command and the netstat -r > command > > > > > should reveal something interesting. Would you please post the > > > > > results from these two commands? > > > > > > > > > > > ipv6_activate_all_interfaces=3D"YES" > > > > > > gateway_enable=3D"YES" > > > > > > default_router=3D"192.168.200.1" > > > > > > > > > > > > I am using FreeBSD - 9.1 Release version > > > > > > > > > > > > I need to communicate between two different subnets. > > > > > > > > > > > > Am i missing anything to enable freebsd as router? > > > > > > Do i need to add a route entry? > > > > > > > > > > > > If possible could you please share rc.conf file with IPv4 > routing? > > > > > > > > > > > > Regards > > > > > > Hrisikesh > > > > > > > > > > > > On Thu, May 9, 2013 at 2:04 PM, Trond Endrest=F8l < > > > > > > Trond.Endrestol@fagskolen.gjovik.no> wrote: > > > > > > > > > > > > > On Thu, 9 May 2013 12:18+0530, hrkesh sahu wrote: > > > > > > > > > > > > > > > > HI All, > > > > > > > > > > > > > > > > > I have a FreeBSD 9.1 Release installed with TWO NIC cards. = I > was > > > > > trying > > > > > > > to > > > > > > > > make this FreeBSD machine as a router . > > > > > > > > This is my rc.conf > > > > > > > > -------------------------------- > > > > > > > > ifconfig_rl0 =3D "inet 192.168.100.101 netmask 255.255.255.= 0" > > > > > > > > ifconfig_re0=3D"inet 192.168.200.101 netmask 255.255.255.0" > > > > > > > > > > > > > > > > gateway_enable =3D "YES" > > > > > > > > ifconfig_rl0 =3D "DHCP" > > > > > > > > ifconfig_re0 =3D "DHCP" > > > > > > > > > > > > > > > > defaultrouter =3D "192.168.100.1" > > > > > > > > ipv6_activate_all_interfaces =3D "YES" > > > > > > > > sshd_enable =3D "YES" > > > > > > > > synchronous_dhclient=3D"YES" > > > > > > > > > > > > > > > > Please help me to establish a IPv4 router. > > > > > > > > Both the interfaces are connected to to different laptops > with a > > > > > static > > > > > > > IP > > > > > > > > address. > > > > > > > > > > > > > > You should place a # in front of the two lines: > > > > > > > > > > > > > > > ifconfig_rl0 =3D "DHCP" > > > > > > > > ifconfig_re0 =3D "DHCP" > > > > > > > > > > > > > > Next, you probably shouldn't place spaces before and after th= e > > > equal > > > > > > > signs. > > > > > > > > > > > > > > > Laptop 1 =3D 192.168.100.102 ( connected to interface rl0) > > > gateway - > > > > > > > > 192.168.100.1 > > > > > > > > > > > > > > > > Laptop 2 =3D 192.168.200.102 ( connected to interface re0) > > > > > > > > ping from Laptop1 -> rl0 is successful > > > > > > > > but ping from Laptop1 -> re0 is not successful. > > > > > > > > > > > > > > > > After this I want to know also How to make this as IPv6 > router? > > > > > > > > > > > > > > See > > > > > > > > > > > > > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.ht= ml > > > > > > > . > > > > > > > > > > > > > > You probably should create a ULA prefix or two, and assign > these to > > > > > > > your router interfaces. http://www.sixxs.net/tools/grh/ula/mi= ght > > > help > > > > > > > you. > > > > > > > > > > > > > > Something along these lines might help you achieve what you > want: > > > > > > > > > > > > > > ifconfig_rl0_ipv6=3D"inet6 fd8f:d6d0:e6e7:100::1 prefixlen 64= " > > > > > > > ifconfig_re0_ipv6=3D"inet6 fd44:13de:a366:200::1 prefixlen 64= " > > > > > > > ipv6_gateway_enable=3D"YES" > > > > > > > > > > > > > > Finally you probably should configure and enable Router > > > Advertisement > > > > > > > and Host Auto Configuration as explained in section 32.11.6 o= f > > > > > > > > > > > > > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.ht= ml > > > > > > > . > > -- > +-------------------------------+------------------------------------+ > | Vennlig hilsen, | Best regards, | > | Trond Endrest=F8l, | Trond Endrest=F8l, = | > | IT-ansvarlig, | System administrator, | > | Fagskolen Innlandet, | Gj=F8vik Technical College, Norway, | > | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | > | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | > +-------------------------------+------------------------------------+ > From owner-freebsd-questions@FreeBSD.ORG Wed May 22 14:23:49 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E7339E0B for ; Wed, 22 May 2013 14:23:49 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) by mx1.freebsd.org (Postfix) with ESMTP id 1EFE275E for ; Wed, 22 May 2013 14:23:48 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.7/8.14.7) with ESMTP id r4MENi6M056118 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 22 May 2013 16:23:44 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.7/8.14.7/Submit) with ESMTP id r4MENiRP056115; Wed, 22 May 2013 16:23:44 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Wed, 22 May 2013 16:23:44 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: hrkesh sahu Subject: Re: Fresh installation 9.1 In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="2055831798-57114762-1369232624=:72982" X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.fig.ol.no Cc: FreeBSD questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 May 2013 14:23:50 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --2055831798-57114762-1369232624=:72982 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT On Wed, 22 May 2013 19:34+0530, hrkesh sahu wrote: > Hi Trond, > Thanks a lot for a clear reply. > Could you please tell me Laptop1 ipv6 configuration details? > as laptop auto configuration will generate the LL address for a auto ipv6 > configuration. > For Interface rl0 ipv6 address > ifconfig_rl0_ipv6="inet6 fd8f:d6d0:e6e7:100::101 prefixlen 64" , > > what will be laptop ipv6 address? It depends solely on the operating system and whether IPv6 privacy is in effect. Normally, the client will perform stateless automatic address configuration (SLAAC). It goes pretty much like this: The router announces the 64 bit prefix, usually every 200 seconds, but the client may request a new announcement at any time. The client generates a 64 bit interface identifier based on its 48 bit MAC address. The client then concatenates the supplied prefix with the generated interface identifier. The client then performs duplicate address detection (DAD), and if everythings checks out, the client got its IPv6 address. Given this prefix fd8f:d6d0:e6e7:100::/64, and this MAC address 50:e5:49:41:4d:70. The client would then generated this interface id: 52e5:49ff:fe41:4d70. The Universal/Local bit of the MAC address is inverted, and FF:FE is placed at center. (It really ought to be FF:FF, but way back in time someone misread the IEEE standards regarding conversion from 48 bit MAC addresses to EUI64 format. This oversight doesn't really matter.) The same client would then aqcuire this IPv6 address: fd8f:d6d0:e6e7:100:52e5:49ff:fe41:4d70, and perform DAD. The client gets its IPv6 default route/gateway from the router announcement. Of course, you may configure the IPv6 address and gateway manually on the client, say fd8f:d6d0:e6e7:100::1337/64 (client's address) and fd8f:d6d0:e6e7:100::101 (gateway's address). > On Wed, May 22, 2013 at 6:54 PM, Trond Endrestøl < > Trond.Endrestol@fagskolen.gjovik.no> wrote: > > > On Wed, 22 May 2013 18:21+0530, hrkesh sahu wrote: > > > > > Hi Trond , > > > Thanks a lot. > > > Now i am able to ping to other network with IPv4 address. > > > > > > For IPv6 I added these lines in rc.conf - > > > first I included - > > > ipv6_gateway_enable="YES" > > > > > > ++> Laptop1( Ipv6 address fe80::224:7eff:fee0:6b51) is connected to > > > interface rl0 ( ipv6 address - fe80::21f:b5ff:fe48:9f73) > > > While doing ping6 from "fe80::224:7eff:fee0:6b51" to > > > "fe80::21f:b5ff:fe48:9f73" - it is working. Neighbor advertisement from > > > "fe80::21f:b5ff:fe48:9f73" is happening. > > > while doing from ping6 from "fe80::224:7eff:fee0:6b51" to other interface > > > "fe80::21f:d0ff:fe40:8bbd" , then there is no Neighbor advertisement. > > > > > > After this I included these two lines to rc.conf - > > > > > > rtadvd_enable="YES" > > > rtadvd_interfaces="rl0" > > > > > > I have not created any file like /etc/rtadvd.conf . Do i need to create > > > this configuration file? > > > if yes, what should be the input to rtadvd.conf for link local address? > > > > > > please find Ipv6 interface details. > > > > > > > > > Ifconfig > > > -------------------- > > > re0: flags=8843 > > Running,Simplex,Multicast> Metric 0 mtu 1500 > > > options=8209b > > VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE> > > > ether 00:1f:d0:40:8b:bd > > > inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen 64 scopeid 0x5 > > > inet 192.168.200.101 netmask 0xffffff00 broadcast 192.168.200.255 > > > nd6 options=21 > > LINKLOCAL> > > > media:Enthernet autoselect (none) > > > status:active > > > > > > rl0: flags=8843 > > Running,Simplex,Multicast> Metric 0 mtu 1500 > > > options=2008 > > > ether 00:10:b5:48:9f:73 > > > inet6 fe80::21f:b5ff:fe48:9f73%rl0 prefixlen 64 scopeid 0xa > > > inet 192.168.100.101 netmask 0xffffff00 broadcast 192.168.100.255 > > > nd6 options=21 > > > media:Enthernet autoselect (none) > > > status: active > > > > Congratz on achieving active carrier wave on your NICs. > > > > Right now your system is running with link-local IPv6 addresses. You > > may view LL addresses as VLAN local. Packets to such addresses will > > never ever be forwarded by a router. > > > > Instead set up either official IPv6 addresses/subnets or create your > > own Unique Local Addresses (ULA) as I wrote previously about. > > > > Augment your /etc/rc.conf file with, say: > > > > ifconfig_rl0_ipv6="inet6 fd8f:d6d0:e6e7:100::101 prefixlen 64" > > > > You may assign the IPv6 address manually to avoid restarting the > > networking subsystem or the whole machine: > > > > ifconfig rl0 inet6 fd8f:d6d0:e6e7:100::101 prefixlen 64 > > > > Next, create /etc/rtadvd.conf with the following contents: > > > > rl0:\ > > :addr="fd8f:d6d0:e6e7:100::":prefixlen#64: > > > > If you want IPv6 routing on the re0 interface, you need, say this, in > > /etc/rc.conf: > > > > ifconfig_re0_ipv6="inet6 fd44:13de:a366:200::1 prefixlen 64" > > > > Assign the IPv6 address manually using: > > > > ifconfig re0 inet6 fd44:13de:a366:200::1 prefixlen 64 > > > > And add this to /etc/rtadvd.conf: > > > > re0:\ > > :addr="fd44:13de:a366:200::":prefixlen#64: > > > > You'll need to restart rtadvd by issuing /etc/rc.d/rtadvd restart. > > > > Happy hacking. > > > > > Regards > > > Hrisikesh > > > > > > On Wed, May 22, 2013 at 1:03 PM, Trond Endrestøl < > > > Trond.Endrestol@fagskolen.gjovik.no> wrote: > > > > > > > On Wed, 22 May 2013 12:38+0530, hrkesh sahu wrote: > > > > > > > > > Hi , > > > > > Thanks a lot for this quick reply. > > > > > Sorry i missed the " in the end while typing. It's a typo. > > > > > I provided the ouput of " nestat -r " and "ifconfig". > > > > > > > > > > > netstat -r > > > > > -------------- > > > > > routing tables - > > > > > > > > > > internet : > > > > > ----------- > > > > > destination Gateway > > > > > Flags Refs > > > > > Use Netif Expire > > > > > default 192.168.200.1 > > > > > UGS 0 > > > > > 0 re0 > > > > > localhost link#12 > > > > > UH 0 > > > > > 148 lo0 > > > > > 192.168.100.0 link#10 > > > > > U 0 > > > > > 0 rl0 > > > > > 192.168.100.101 link#10 UHS > > > > > 0 > > > > > 0 lo0 > > > > > 192.168.200.0 link#5 > > > > > U 0 > > > > > 0 re0 > > > > > 192.168.200.101 link#5 UHS > > > > > 0 > > > > > 0 lo0 > > > > > > > > > > Internet6: > > > > > ------------------- > > > > > Ipv6 details > > > > > > > > > > > Ifconfig > > > > > -------------------- > > > > > re0: flags=8843 Metric 0 mtu > > 1500 > > > > > > > > > > > options=8209b > > > > > ether 00:1f:d0:40:8b:bd > > > > > inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen 64 scopeid 0x5 > > > > > inet 192.168.200.101 netmask 0xffffff00 broadcast > > 192.168.200.255 > > > > > nd6 options=21 > > > > > media:Enthernet autoselect (none) > > > > > status: no carrier > > > > > > > > > > rl0: flags=8843 Metric 0 mtu > > 1500 > > > > > options=2008 > > > > > ether 00:10:b5:48:9f:73 > > > > > inet6 fe80::21f:b5ff:fe48:9f73%rl0 prefixlen 64 scopeid 0xa > > > > > inet 192.168.100.101 netmask 0xffffff00 broadcast > > 192.168.100.255 > > > > > nd6 options=21 > > > > > media:Enthernet autoselect (none) > > > > > status: no carrier > > > > > > > > > > there is a plip0 and lo0. > > > > > > > > Neither NIC is connected to any equipment, e.g. switch, hub, or > > > > computer (status: no carrier). Make sure you can use a straight > > > > network cable, else you'll need to get a couple of cross wired network > > > > cables and use those instead. > > > > > > > > Next, confirm the sysctl net.inet.ip.forwarding is set to 1 by > > > > running the sysctl net.inet.ip.forwarding command. > > > > > > > > If not, you can set the sysctl to 1 by running the sysctl > > > > net.inet.ip.forwarding=1 command, and you probably should inspect the > > > > /etc/rc.conf file one more time. > > > > > > > > Once you connect the computer to the two networks, the IPv4 routing > > > > should work. If not, come back. > > > > > > > > > Regards > > > > > Hrisikesh > > > > > > > > > > On Wed, May 22, 2013 at 12:02 PM, Trond Endrestøl < > > > > > Trond.Endrestol@fagskolen.gjovik.no> wrote: > > > > > > > > > > > On Wed, 22 May 2013 11:10+0530, hrkesh sahu wrote: > > > > > > > > > > > > > Hi All, > > > > > > > IPv4 Routing - > > > > > > > ------------------------ > > > > > > > I disabled the DHCP from rc.conf for both the interface. but > > still I > > > > am > > > > > > not > > > > > > > able to route trafic from one interface to another. > > > > > > > > > > > > > > rc.conf > > > > > > > --------------- > > > > > > > hostname="idc-freebsd" > > > > > > > keymap="hy.armscii-8.kbd" > > > > > > > #ifconfig_re0="DHCP" > > > > > > > #ifconfig_rl0="DHCP" > > > > > > > dumpdev="NO" > > > > > > > > > > > > > ifconfig_rl0="inet 192.168.100.101 netmask 255.255.255.0 > > > > > > > ifconfig_re0="inet 192.168.200.101 netmask 255.255.255.0 > > > > > > > > > > > > Are the two lines above copied straight from your rc.conf file? > > > > > > If so, both lines are missing a " at the end. Please check to see > > if > > > > > > this is needed. > > > > > > > > > > > > Next, the outputs of the ifconfig command and the netstat -r > > command > > > > > > should reveal something interesting. Would you please post the > > > > > > results from these two commands? > > > > > > > > > > > > > ipv6_activate_all_interfaces="YES" > > > > > > > gateway_enable="YES" > > > > > > > default_router="192.168.200.1" > > > > > > > > > > > > > > I am using FreeBSD - 9.1 Release version > > > > > > > > > > > > > > I need to communicate between two different subnets. > > > > > > > > > > > > > > Am i missing anything to enable freebsd as router? > > > > > > > Do i need to add a route entry? > > > > > > > > > > > > > > If possible could you please share rc.conf file with IPv4 > > routing? > > > > > > > > > > > > > > Regards > > > > > > > Hrisikesh > > > > > > > > > > > > > > On Thu, May 9, 2013 at 2:04 PM, Trond Endrestøl < > > > > > > > Trond.Endrestol@fagskolen.gjovik.no> wrote: > > > > > > > > > > > > > > > On Thu, 9 May 2013 12:18+0530, hrkesh sahu wrote: > > > > > > > > > > > > > > > > > > HI All, > > > > > > > > > > > > > > > > > > > I have a FreeBSD 9.1 Release installed with TWO NIC cards. I > > was > > > > > > trying > > > > > > > > to > > > > > > > > > make this FreeBSD machine as a router . > > > > > > > > > This is my rc.conf > > > > > > > > > -------------------------------- > > > > > > > > > ifconfig_rl0 = "inet 192.168.100.101 netmask 255.255.255.0" > > > > > > > > > ifconfig_re0="inet 192.168.200.101 netmask 255.255.255.0" > > > > > > > > > > > > > > > > > > gateway_enable = "YES" > > > > > > > > > ifconfig_rl0 = "DHCP" > > > > > > > > > ifconfig_re0 = "DHCP" > > > > > > > > > > > > > > > > > > defaultrouter = "192.168.100.1" > > > > > > > > > ipv6_activate_all_interfaces = "YES" > > > > > > > > > sshd_enable = "YES" > > > > > > > > > synchronous_dhclient="YES" > > > > > > > > > > > > > > > > > > Please help me to establish a IPv4 router. > > > > > > > > > Both the interfaces are connected to to different laptops > > with a > > > > > > static > > > > > > > > IP > > > > > > > > > address. > > > > > > > > > > > > > > > > You should place a # in front of the two lines: > > > > > > > > > > > > > > > > > ifconfig_rl0 = "DHCP" > > > > > > > > > ifconfig_re0 = "DHCP" > > > > > > > > > > > > > > > > Next, you probably shouldn't place spaces before and after the > > > > equal > > > > > > > > signs. > > > > > > > > > > > > > > > > > Laptop 1 = 192.168.100.102 ( connected to interface rl0) > > > > gateway - > > > > > > > > > 192.168.100.1 > > > > > > > > > > > > > > > > > > Laptop 2 = 192.168.200.102 ( connected to interface re0) > > > > > > > > > ping from Laptop1 -> rl0 is successful > > > > > > > > > but ping from Laptop1 -> re0 is not successful. > > > > > > > > > > > > > > > > > > After this I want to know also How to make this as IPv6 > > router? > > > > > > > > > > > > > > > > See > > > > > > > > > > > > > > > > > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html > > > > > > > > . > > > > > > > > > > > > > > > > You probably should create a ULA prefix or two, and assign > > these to > > > > > > > > your router interfaces. http://www.sixxs.net/tools/grh/ula/might > > > > help > > > > > > > > you. > > > > > > > > > > > > > > > > Something along these lines might help you achieve what you > > want: > > > > > > > > > > > > > > > > ifconfig_rl0_ipv6="inet6 fd8f:d6d0:e6e7:100::1 prefixlen 64" > > > > > > > > ifconfig_re0_ipv6="inet6 fd44:13de:a366:200::1 prefixlen 64" > > > > > > > > ipv6_gateway_enable="YES" > > > > > > > > > > > > > > > > Finally you probably should configure and enable Router > > > > Advertisement > > > > > > > > and Host Auto Configuration as explained in section 32.11.6 of > > > > > > > > > > > > > > > > > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html > > > > > > > > . > > > > -- > > +-------------------------------+------------------------------------+ > > | Vennlig hilsen, | Best regards, | > > | Trond Endrestøl, | Trond Endrestøl, | > > | IT-ansvarlig, | System administrator, | > > | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | > > | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | > > | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | > > +-------------------------------+------------------------------------+ > > > _______________________________________________ > 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" > -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ --2055831798-57114762-1369232624=:72982-- From owner-freebsd-questions@FreeBSD.ORG Wed May 22 18:11:30 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 7D6A8E13 for ; Wed, 22 May 2013 18:11:30 +0000 (UTC) (envelope-from aimass@yabarana.com) Received: from mail-wg0-x229.google.com (mail-wg0-x229.google.com [IPv6:2a00:1450:400c:c00::229]) by mx1.freebsd.org (Postfix) with ESMTP id 19169B5F for ; Wed, 22 May 2013 18:11:29 +0000 (UTC) Received: by mail-wg0-f41.google.com with SMTP id c11so2858443wgh.2 for ; Wed, 22 May 2013 11:11:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=d6QUCtEESe11gR0aKAuVqjMM0ACIVDMuaAcJblqx8gw=; b=gg6PTJLUSsmxfIAUF2CYo33xNjdv4LvaWxZO3elARE26/XkZCCMJRl3qQrEhvWU/lc 3b++BN1IZRE8WlMSQCUO5qFVuoXo2zV2Jc9iIu7Qzpe+T+Co6flITbepeYa2VrVf5Hlh mwcyHt4DG9m1C39UxfL6W1i02WZo7DzqB9U28iZAtN3sX7LTmOyKR7k0CUbeWcazkSgU ++pjnZkLWoSAwI3sr2nUtjTKB4hRgUhQHiya4xw7F0ytsyPVA2qtLPAP+MAM3Bl6o90d O+zBePQ263vPE0QEZTwo1AFo6az/PRbnHVIM0AC3DaHRmZJcV70PU26ZkAM6JaM872jB EsQQ== MIME-Version: 1.0 X-Received: by 10.180.185.244 with SMTP id ff20mr36285475wic.0.1369246289126; Wed, 22 May 2013 11:11:29 -0700 (PDT) Received: by 10.216.113.202 with HTTP; Wed, 22 May 2013 11:11:29 -0700 (PDT) In-Reply-To: References: Date: Wed, 22 May 2013 14:11:29 -0400 Message-ID: Subject: Re: MySQL hangs server completely From: Alejandro Imass To: Michael Ross Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQmw0QVJSrVLyocZFqVT2kgu3M5XULy0KF0NSv87ZuDHtmplGv7dzfFcAYUIywilGMgAUBXq Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 May 2013 18:11:30 -0000 On Wed, May 22, 2013 at 2:04 PM, Michael Ross wrote: > On Wed, 22 May 2013 15:52:45 +0200, Alejandro Imass > wrote: > >> Hi, >> >> We've been having this problem with a customer for a while and it >> seems that some funky query makes MySQL use 100% of CPU. Nevertheless, >> even though you can see in top that it's only 1 CPU in 100% (out of 8) >> the server eventually becomes useless and stops responding completely. >> >> So my question is, how does a user process hang the whole server? What >> system resources could MySQL be draining to make the server stop >> responding completely? >> > > In laymans terms - can't do better - MySQL racing itself to obtain a ( table > | memory | file ) lock? > > I know I can death-stall the MySQL server at a customer's site if I give it > a big enough query ( like, DROPping a table, recreating it and pushing > backup data inside ) while cron's hourly backup-dump is running on the > database. Just the MySQL server, the machine itself hasn't stalled yet - but > I'm sitting at the console while doing this, so I don't know what would > eventually happen if I'd let it sit for a while. > Right on the money. It doesn't immediately hang the server but in time it drains it to the point the shell stops responding and no more ssh access and even snmp stops responding! It doesn't happen immediately, but only after a while that MySQL has one of the CPUs at 100%. What I don't understand is how it manages to crash the whole server. Thanks, -- Alejandro Imass > > Regards, > > Michael From owner-freebsd-questions@FreeBSD.ORG Wed May 22 18:26:53 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B96533A7 for ; Wed, 22 May 2013 18:26:53 +0000 (UTC) (envelope-from edflecko@gmail.com) Received: from mail-qe0-f53.google.com (mail-qe0-f53.google.com [209.85.128.53]) by mx1.freebsd.org (Postfix) with ESMTP id 82733CE1 for ; Wed, 22 May 2013 18:26:53 +0000 (UTC) Received: by mail-qe0-f53.google.com with SMTP id s14so1337512qeb.26 for ; Wed, 22 May 2013 11:26: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=8O0e9vrX6LtSg6srnOzrfj0X3wm+k4+TnOrkabQa7p0=; b=PYG2MdNYDc2cOdXQuUmYGUcud6K+SYQYmKCd8tdRlnMs3IGExkcbg9YoJaGsKfbYVX Mz9SLMgCZwtplnUV/+wl04By73HJfzL3okdH4ekTW42fxdSyLj2hnuR2YkXXFFMWxcAN LKj67zoZpPn8HlpCjITyx3oBIL6hzRb2+7ubFj7Ckh0tkTjQuBmjvYZV4TchwF3cl/4s B3ClI0MrQDgTgsSZEso8Y3MVxFZCAzF46eKZw0H3IF7qzc/+EKuUsteqLzNiNemrMz6f USoUhJHD/meaPLfU1vtf2dL7CeEV5NMM1xx/rlSjMAzDxpsx7q31csX3xWXa7kKueRV2 mYOQ== MIME-Version: 1.0 X-Received: by 10.229.196.200 with SMTP id eh8mr2991651qcb.96.1369247207289; Wed, 22 May 2013 11:26:47 -0700 (PDT) Received: by 10.49.35.139 with HTTP; Wed, 22 May 2013 11:26:47 -0700 (PDT) Date: Wed, 22 May 2013 11:26:47 -0700 Message-ID: Subject: Keeping my system up to date with CTM or subversion? From: Ed Flecko To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 May 2013 18:26:53 -0000 I'm confused about an effective way to keep my system patched and up-to-date, and I'm hoping someone can clarify what seems like a lot of options. I'll be running a production server (so security and stability are most important) with a custom kernel and I want it to have all of the latest security patches applied. I'll install from DVD and I'll chose the option to install both the ports and the source. After this, it sure seems like the best way, in terms of speed to download any updated files, is to use CTM as a cron job, but I think the FBSD handbook recommends subversion? Also, I think I read that CTM won't update documentation? Is that right? I also see some people say they use portsnap, portaudit and portupgrade. For example, I came across this command: portsnap fetch && /usr/sbin/portsnap update && /usr/local/sbin/portaudit -F && /usr/local/sbin/portupgrade =96aR however these utilities are used more for keeping your ports collection up-to-date (if you install software from ports), and not so much for keeping your system patched from a security perspective - isn't that right? Hopefully, someone can clarify my confusion. Thank you! Ed From owner-freebsd-questions@FreeBSD.ORG Wed May 22 18:29:17 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A93EB4AD for ; Wed, 22 May 2013 18:29:17 +0000 (UTC) (envelope-from gmx@ross.cx) Received: from www81.your-server.de (www81.your-server.de [213.133.104.81]) by mx1.freebsd.org (Postfix) with ESMTP id 6DCD1D18 for ; Wed, 22 May 2013 18:29:17 +0000 (UTC) Received: from [178.3.49.140] (helo=michael-think) by www81.your-server.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.74) (envelope-from ) id 1UfDOZ-0006Ik-EL; Wed, 22 May 2013 20:04:15 +0200 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: "FreeBSD Questions" , "Alejandro Imass" Subject: Re: MySQL hangs server completely References: Date: Wed, 22 May 2013 20:04:07 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Michael Ross" Message-ID: In-Reply-To: User-Agent: Opera Mail/12.15 (Win32) X-Authenticated-Sender: gmx@ross.cx X-Virus-Scanned: Clear (ClamAV 0.97.6/17261/Wed May 22 18:40:37 2013) 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, 22 May 2013 18:29:17 -0000 On Wed, 22 May 2013 15:52:45 +0200, Alejandro Imass wrote: > Hi, > > We've been having this problem with a customer for a while and it > seems that some funky query makes MySQL use 100% of CPU. Nevertheless, > even though you can see in top that it's only 1 CPU in 100% (out of 8) > the server eventually becomes useless and stops responding completely. > > So my question is, how does a user process hang the whole server? What > system resources could MySQL be draining to make the server stop > responding completely? > In laymans terms - can't do better - MySQL racing itself to obtain a ( table | memory | file ) lock? I know I can death-stall the MySQL server at a customer's site if I give it a big enough query ( like, DROPping a table, recreating it and pushing backup data inside ) while cron's hourly backup-dump is running on the database. Just the MySQL server, the machine itself hasn't stalled yet - but I'm sitting at the console while doing this, so I don't know what would eventually happen if I'd let it sit for a while. Regards, Michael From owner-freebsd-questions@FreeBSD.ORG Wed May 22 20:01:00 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id F0D7F835 for ; Wed, 22 May 2013 20:01:00 +0000 (UTC) (envelope-from axelbsd@ymail.com) Received: from nm4-vm6.bullet.mail.gq1.yahoo.com (nm4-vm6.bullet.mail.gq1.yahoo.com [98.136.218.165]) by mx1.freebsd.org (Postfix) with SMTP id B551C839 for ; Wed, 22 May 2013 20:01:00 +0000 (UTC) Received: from [98.137.12.55] by nm4.bullet.mail.gq1.yahoo.com with NNFMP; 22 May 2013 20:00:59 -0000 Received: from [98.136.185.46] by tm15.bullet.mail.gq1.yahoo.com with NNFMP; 22 May 2013 20:00:59 -0000 Received: from [127.0.0.1] by smtp107.mail.gq1.yahoo.com with NNFMP; 22 May 2013 20:00:59 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1369252859; bh=6U8yxv8U3ad9d/jOPyPmI/1bAuDv55eUGTpdjBG3E2E=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:X-Rocket-Received:Received:X-Google-DKIM-Signature:X-Received:MIME-Version:Received:In-Reply-To:References:From:Date:Message-ID:Subject:To:Cc:Content-Type; b=5Cp6+FtC3RrzsTJRnhcY5bz2UuUGDUFwv/0ViG9f27hkN0Fnd6dYr/wqv50+zlIRQzJ2WKin92TWiluNpWdOu8QcVduqUz8rHeEDUoFdrDdX40Phn35LTo42HoTuuGLrOf/VGkLvhmhbw96UqSr3Qh8Y9ZgBBvCVCP6Y0FkPMrE= X-Yahoo-Newman-Id: 644427.77610.bm@smtp107.mail.gq1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: juH_NHUVM1lYIQiiSBjg3KU13.7BBAKxFPuhTnJQAEqwo2N U4ZLg5lU_ZdZdCScJfd8eK2DBw0S4jmihNNJFyT_tGqcDTpHk8pupCHYb7Ji .73QwCFcoTvHeTaXB3OuDyLV8q9NlAObA_PyY2tpkktNUnil7w.3uEMFVqUK Fnget0C_4SzsODuARTbj_C6jhCPfEfzm7f8n4pA.MNaNEpSlQ86_RTYE1VxV U0FfRWqhd9lAkmS1tTmyPj6RHe45kPs5zR_22eC.o7F1_UZxQ2rmlLZRkmub AnsbB1q34CkMd73l3VUomh95gXD4nVQ6ceR.v6NYSKvwI4fu.6_HVIdvwFed pNKOiMT5AiWwQUPqxIz0KNv.Hu3Pe6KLPTlPA7wiVSCrewYdJKHbqlas0.Mr 2q0d7Bw8gxRVozhnFE7JHGF3giqe7j0uaVY8_0pkB1UKBCJOIxHnsTFUUpHf eMrywCdCgm72KKHVV5ZXDzuxNmhWmCg.RzwONYdue.Jyu7NvqgDuvDQCS7ns 2VMDcbo.sZ1L.HLebmDcWTRqamaQE5oudrQMJAlQTxA-- X-Yahoo-SMTP: S65s63SswBDjU54Gjqw2GSWlZmfgiEU_X3tN1_9u X-Rocket-Received: from mail-vc0-f182.google.com (axelbsd@209.85.220.182 with ) by smtp107.mail.gq1.yahoo.com with SMTP; 22 May 2013 20:00:59 +0000 UTC Received: by mail-vc0-f182.google.com with SMTP id gf12so1603110vcb.13 for ; Wed, 22 May 2013 13:00:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=6U8yxv8U3ad9d/jOPyPmI/1bAuDv55eUGTpdjBG3E2E=; b=dgKHcjYLAIcQVG3Zp5pB21hIn0dbR+ysQ74PvXU/w/iZpvZIqY2UYSp6hxpkQKgVhb 7rPy569sacJhURFGThkQLtbg/aSLATSdZ4L5zMdwyYTJS+57jKzwPtL5MkEWAyiafoQB JiS3GAmmNYjyphlps8vvJ4oo6y3v5kHsXvuWjriGNmp2hUqcHzkuqn2pp1vxtEpkkfoI P/kriB5fDoKcEquZBne0plAgrHAis4QlXV9iVeZjQ8MaE9PiZ5vTk0V1ZQ4fiwSSWSdq pagDgz/L0KQk53hqiwUM19pma+aPQtoxS/9W1UCiA38XGbBATVOCTs8UXsxIAtMkvmHq SkxA== X-Received: by 10.52.90.202 with SMTP id by10mr2922949vdb.26.1369252858043; Wed, 22 May 2013 13:00:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.58.146.6 with HTTP; Wed, 22 May 2013 13:00:37 -0700 (PDT) In-Reply-To: References: From: Alexandre Date: Wed, 22 May 2013 22:00:37 +0200 Message-ID: Subject: Re: Keeping my system up to date with CTM or subversion? To: Ed Flecko Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions 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: Wed, 22 May 2013 20:01:01 -0000 On Wed, May 22, 2013 at 8:26 PM, Ed Flecko wrote: > I'm confused about an effective way to keep my system patched and > up-to-date, and I'm hoping someone can clarify what seems like a lot of > options. > > I'll be running a production server (so security and stability are most > important) with a custom kernel and I want it to have all of the latest > security patches applied. I'll install from DVD and I'll chose the option > to install both the ports and the source. > > After this, it sure seems like the best way, in terms of speed to downloa= d > any updated files, is to use CTM as a cron job, but I think the FBSD > handbook recommends subversion? Also, I think I read that CTM won't updat= e > documentation? Is that right? > > I also see some people say they use portsnap, portaudit and portupgrade. > For example, I came across this command: > > portsnap fetch && /usr/sbin/portsnap update && /usr/local/sbin/portaudit = -F > && /usr/local/sbin/portupgrade =E2=80=93aR > > however these utilities are used more for keeping your ports collection > up-to-date (if you install software from ports), and not so much for > keeping your system patched from a security perspective - isn't that righ= t? > > Hopefully, someone can clarify my confusion. > > Thank you! > > Ed > Hi Ed, To update my ports tree, I use "portsnap" tool. To install ports (or upgrade them) I use "portmaster". More information here: http://www.freebsd.org/doc/en/books/handbook/ports-using.html To update my sources tree, I use "subversion" tool. Then I rebuild world. More information here: http://www.freebsd.org/doc/en/books/handbook/svn.htm= l & http://www.freebsd.org/doc/en/books/handbook/makeworld.html I use subversion to update my sources tree because I am running 9-STABLE. If you are running 9.x-RELEASE (or 8.x-RELEASE) you can use "freebsd-update" to sync sources and install binary patchs. As you are using custom kernel, you will have to recompile it. More information here: http://www.freebsd.org/doc/en/books/handbook/updating-upgrading-freebsdupda= te.html I hope this help you. Kind regards, Alexandre From owner-freebsd-questions@FreeBSD.ORG Wed May 22 20:17:20 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 650BCF87 for ; Wed, 22 May 2013 20:17:20 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-ie0-x22d.google.com (mail-ie0-x22d.google.com [IPv6:2607:f8b0:4001:c03::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 393E7A96 for ; Wed, 22 May 2013 20:17:20 +0000 (UTC) Received: by mail-ie0-f173.google.com with SMTP id k5so6301757iea.18 for ; Wed, 22 May 2013 13:17:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=2F0n9TXkINsxeEQVSsJ8M5gv5n+TH3YbeUtOURWPLgg=; b=zuAgKRkN30ikkiLFZKxJrFincYM6oU4xn6uFF0zMjPUGiyJXasZ5K4BGRovr0bgEXq CCZAID5mAbduTEXSo7QU0dwHsqqEmr10/UgPzKOLKsK2xk/0aRMsjACECH9yc1GBmGg8 FrJXS7GuVMRCZtHON3anX4K6gZ3jWtSiWOh8q3yjcFJa4cvL7Wl0S5t495352S8Ec2X1 hqwguhGRtVxf5w1djosiM934popFfE50PViRLU5Beipc/P2tU9efCcD19c8qYbX8LBOo 6voTfwGiH3drHy1trx9mjyWJr2ips6t+eML3UrEvqc3iRCMnqU70imBZwo1jPUrIJJ/9 4D0Q== X-Received: by 10.50.114.161 with SMTP id jh1mr3376797igb.112.1369253839943; Wed, 22 May 2013 13:17:19 -0700 (PDT) Received: from [192.168.1.34] (c-98-212-197-211.hsd1.il.comcast.net. [98.212.197.211]) by mx.google.com with ESMTPSA id ji5sm16629859igb.0.2013.05.22.13.17.18 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 22 May 2013 13:17:19 -0700 (PDT) Message-ID: <519D27B4.1060805@gmail.com> Date: Wed, 22 May 2013 15:16:52 -0500 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: David Demelier Subject: Re: Unkillable processes References: <519935D0.5080202@gmail.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; 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: Wed, 22 May 2013 20:17:20 -0000 On 5/22/2013 1:47 AM, David Demelier wrote: > 2013/5/19 Joshua Isom : >> >> A process can be unkillable if it's holding a lock, like reading from disk. >> Eventually, the lock will release and it should die. You can use limits to >> change how much CPU and memory a process can use. My guess is what happened >> is it started using a lot of memory, but you ran out and have a lot of swap. >> It was trying to run while using your hard drive instead of ram. With >> limits, you should be able to prevent it from using swap which could help, >> and cap the amount of ram and cpu. > > Hello, thank you for that precise explanation, I will add limits into > the new rctl.conf, however I don't know how many amount of ram I > should allow, in fact I have absolutely no idea how much of ram an > usual program eats, is 50Mo enough for user applications ? > > Regards, > > -- > Demelier David > A "usual program" on FreeBSD could be anything. Right now my cron's using about 1.5 megs, while my ZFS ARC is about 20 gigabytes. Firefox can use a gigabyte somewhat easily. What I'd recommend is using limits to disable swap for it, and temporarily set the maximum memory to around 2/3's your currently free memory. If it's behaving properly that should be safe. While it's running properly, get an idea of how much it wants and set the ram to 1.5 times that number. If it's misbehaving, your system should still run properly and maybe you can diagnose the problem. From owner-freebsd-questions@FreeBSD.ORG Wed May 22 20:23:40 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9B0FF6DC for ; Wed, 22 May 2013 20:23:40 +0000 (UTC) (envelope-from edflecko@gmail.com) Received: from mail-qc0-x22a.google.com (mail-qc0-x22a.google.com [IPv6:2607:f8b0:400d:c01::22a]) by mx1.freebsd.org (Postfix) with ESMTP id 6179FC1A for ; Wed, 22 May 2013 20:23:40 +0000 (UTC) Received: by mail-qc0-f170.google.com with SMTP id s11so1346937qcw.15 for ; Wed, 22 May 2013 13:23:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=I5D+Z/dLV6UL2NbkgibcT/iLbU5FwbS09JDt8eST+Ko=; b=VGqnEeA+BACSVuXhqDyXOQZoJ/ZqSahRmg4AEpDdOGaygO61bVSi6c2yVbH8LcKuNB SdpIELZQeALg6PnbkQ3Ei89gxQmGqgdVtK8TTXdki+GzxY0xeZ4qGmfMQmo7YYp3yzDL x1SPZpSx3YhL3bkMgqNqIqKgsE5EFOdU1skvMCBVQzuBrHwhq5focOVggMw7obEQeJJs 8NGMBuDpBtuReQH93uITLPjJ4oaG4W8lnTDmIpmfFa9P2t2fD+JB+wrDx9rfuy1lYuGM moiWBEYLU3yxhIFxt3Nj0gANe/zIgc8PYsmjHTMqyklpFnG+PYc9nAaJ+In+nVUsp+cU QZCg== MIME-Version: 1.0 X-Received: by 10.49.116.206 with SMTP id jy14mr9717480qeb.32.1369254219911; Wed, 22 May 2013 13:23:39 -0700 (PDT) Received: by 10.49.35.139 with HTTP; Wed, 22 May 2013 13:23:39 -0700 (PDT) In-Reply-To: References: Date: Wed, 22 May 2013 13:23:39 -0700 Message-ID: Subject: Re: Keeping my system up to date with CTM or subversion? From: Ed Flecko To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 May 2013 20:23:40 -0000 Alexandre, Yes, that helps - thank you. So once you have a system up and running, how do you monitor if and when you need to upgrade your ports tree? By the way, your ports tree is different than installed software packages, right? In other words, the only reason people even bother to upgrade their ports tree is so that IF you install a package from source - the source is current? Is that correct? When security vulnerabilities are discovered and patches released by FBSD, the patch will tell you what steps you need to take to apply the patch and stay up to date, won't it? Ed On Wed, May 22, 2013 at 1:00 PM, Alexandre wrote: > On Wed, May 22, 2013 at 8:26 PM, Ed Flecko wrote: > >> I'm confused about an effective way to keep my system patched and >> up-to-date, and I'm hoping someone can clarify what seems like a lot of >> options. >> >> I'll be running a production server (so security and stability are most >> important) with a custom kernel and I want it to have all of the latest >> security patches applied. I'll install from DVD and I'll chose the optio= n >> to install both the ports and the source. >> >> After this, it sure seems like the best way, in terms of speed to downlo= ad >> any updated files, is to use CTM as a cron job, but I think the FBSD >> handbook recommends subversion? Also, I think I read that CTM won't upda= te >> documentation? Is that right? >> >> I also see some people say they use portsnap, portaudit and portupgrade. >> For example, I came across this command: >> >> portsnap fetch && /usr/sbin/portsnap update && /usr/local/sbin/portaudit >> -F >> && /usr/local/sbin/portupgrade =96aR >> >> however these utilities are used more for keeping your ports collection >> up-to-date (if you install software from ports), and not so much for >> keeping your system patched from a security perspective - isn't that >> right? >> >> Hopefully, someone can clarify my confusion. >> >> Thank you! >> >> Ed >> > > Hi Ed, > > To update my ports tree, I use "portsnap" tool. To install ports (or > upgrade them) I use "portmaster". More information here: > http://www.freebsd.org/doc/en/books/handbook/ports-using.html > To update my sources tree, I use "subversion" tool. Then I rebuild world. > More information here: > http://www.freebsd.org/doc/en/books/handbook/svn.html & > http://www.freebsd.org/doc/en/books/handbook/makeworld.html > I use subversion to update my sources tree because I am running 9-STABLE. > If you are running 9.x-RELEASE (or 8.x-RELEASE) you can use > "freebsd-update" to sync sources and install binary patchs. As you are > using custom kernel, you will have to recompile it. More information here= : > http://www.freebsd.org/doc/en/books/handbook/updating-upgrading-freebsdup= date.html > > I hope this help you. > > Kind regards, > Alexandre > > > From owner-freebsd-questions@FreeBSD.ORG Thu May 23 01:10:13 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 66FFA2F9 for ; Thu, 23 May 2013 01:10:13 +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 17FF0692 for ; Thu, 23 May 2013 01:10:12 +0000 (UTC) Received: from r56.edvax.de (port-92-195-231-35.dynamic.qsc.de [92.195.231.35]) by mx01.qsc.de (Postfix) with ESMTP id 24C263CD09; Thu, 23 May 2013 03:10:04 +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 r4N1AEPp002180; Thu, 23 May 2013 03:10:14 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 23 May 2013 03:10:14 +0200 From: Polytropon To: Ed Flecko Subject: Re: Keeping my system up to date with CTM or subversion? Message-Id: <20130523031014.dc466e20.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: Thu, 23 May 2013 01:10:13 -0000 On Wed, 22 May 2013 13:23:39 -0700, Ed Flecko wrote: > So once you have a system up and running, how do you monitor if and when > you need to upgrade your ports tree? This highly depends on your "updating policy". There are three mainstream opinions: a) always update, regularly (e. g. once a week) b) only update if security requires it (e. g. when portaudit alerts) c) update as soon as an additional functionality is desired Of course, "combined opinions" are also valid. :-) For updating the ports tree, portsnap is the eaiest tool. However, if you follow opinion a) and update _very_ regularly (e. g. daily), you could use SVN to obtain the (smaller) deltas to your local tree. This also helps because you can directly access the tree and don't have to wait until a snapshot is made available. For "higher update frequencies", this is often the better approach. There is another valid opinion: Install once, make sure everything works, never touch a running system. I'm a big fan of this attitude, at least on my home systems. ;-) > By the way, your ports tree is different than installed software packages, > right? That is possible when you update your ports tree (by whatever method) _after_ you have installed something. A typical conclusion is that you might need to rebuild stuff as soon as you install something with that (newer) tree. Example: Tree is at version 12345, you install foo-1.0 which depends on bar-1.5. Two weeks later, you update your ports tree and get version 23456. You don't want to touch foo and bar, but you now need to install baz which requires bar-1.6 (which has now arrived in the tree). So now you need to update bar from 1.5 to 1.6, and _maybe_ also foo to a newer version (whatever that might be). > In other words, the only reason people even bother to upgrade their > ports tree is so that IF you install a package from source - the source is > current? Is that correct? Maybe the wording is a bit strange, but yes, updating the ports tree means to have the lastest and _consistent_ versions of all the programs in the tree (so their "interconnections" will work properly). This is also helpful when you install from different sources, e. g. some stuff from source, some stuff as binary packages from Latest/. > When security vulnerabilities are discovered and patches released by FBSD, > the patch will tell you what steps you need to take to apply the patch and > stay up to date, won't it? The OS patches are announced that way. You should always read the UPDATING files in /usr/src (for the OS) and /usr/ports (for installed applications) to make sure you're not missing a simple (but important) step during upgrades. Patches for the OS are of course handled independently from those applying to applications from the ports collection. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu May 23 01:36:19 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id F1A865FD for ; Thu, 23 May 2013 01:36:19 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) by mx1.freebsd.org (Postfix) with ESMTP id B60C37CF for ; Thu, 23 May 2013 01:36:18 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UfKRv-00041W-M1 for freebsd-questions@freebsd.org; Thu, 23 May 2013 03:36:11 +0200 Received: from cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com ([86.21.186.149]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 May 2013 03:36:11 +0200 Received: from walterhurry by cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 23 May 2013 03:36:11 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Walter Hurry Subject: Re: Keeping my system up to date with CTM or subversion? Date: Thu, 23 May 2013 01:35:56 +0000 (UTC) Lines: 19 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: cpc3-walt15-2-0-cust148.13-2.cable.virginmedia.com User-Agent: Pan/0.139 (Sexual Chocolate; GIT bf56508 git://git.gnome.org/pan2) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 01:36:20 -0000 On Wed, 22 May 2013 13:23:39 -0700, Ed Flecko wrote: > Alexandre, > Yes, that helps - thank you. > > So once you have a system up and running, how do you monitor if and when > you need to upgrade your ports tree? > > By the way, your ports tree is different than installed software > packages, right? In other words, the only reason people even bother to > upgrade their ports tree is so that IF you install a package from source > - the source is current? Is that correct? > > When security vulnerabilities are discovered and patches released by > FBSD, the patch will tell you what steps you need to take to apply the > patch and stay up to date, won't it? > Why are you asking these questions about a *production* server? Run for a while with a test server until you have ironed out any issues. From owner-freebsd-questions@FreeBSD.ORG Thu May 23 05:27:53 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 0E7641C9 for ; Thu, 23 May 2013 05:27:53 +0000 (UTC) (envelope-from sam.gh1986@gmail.com) Received: from mail-la0-x231.google.com (mail-la0-x231.google.com [IPv6:2a00:1450:4010:c03::231]) by mx1.freebsd.org (Postfix) with ESMTP id 87892214 for ; Thu, 23 May 2013 05:27:52 +0000 (UTC) Received: by mail-la0-f49.google.com with SMTP id fp13so2798219lab.36 for ; Wed, 22 May 2013 22:27:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=JO9l/6+nLYqUi0ueuUpsxLCAW1rbz0EZVTOGkYTVc4M=; b=MHnp0X82bIr5qc9bAPQThQ2RYh4PgutyZgOeEOT88ekY3aXgGvltB7DP0gKTS18y9B FJsbWA6PKIK86YCTij15Xk7Kp886X9XpJVjWyVshwdXlmGf5KDjbOVPrWz/O87VCjXwJ AeNIrcGbzpL0LHpk1pEAtxnrXy1yDWp3HtacGV2XxnamFUlhjwIZuFLDsRhh0cG9NGIb IPsi+HYiI3e1hybKbRKwSeJF13La/yyhR05eMIVN3Vtbsqcw/F0xE+b/cdD9g/qfDb65 xNBTL9X4Ns9ZoDrGRKpQ0XT0lqgcojN795igDa9mf/rhisMAP2OR5oL24j+5FqBw3O60 xkiQ== MIME-Version: 1.0 X-Received: by 10.112.184.226 with SMTP id ex2mr5626526lbc.33.1369286870565; Wed, 22 May 2013 22:27:50 -0700 (PDT) Received: by 10.112.2.70 with HTTP; Wed, 22 May 2013 22:27:50 -0700 (PDT) In-Reply-To: References: <519B40D8.2090809@ulb.ac.be> <519B4F11.9030309@ulb.ac.be> <519B87BC.1010301@qeng-ho.org> <519B9042.5050704@qeng-ho.org> Date: Thu, 23 May 2013 09:57:50 +0430 Message-ID: Subject: Re: setup journaling for root partition From: s m To: Michael Sierchio Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 05:27:53 -0000 thanks Michael, but in all documentation about journaling, tunefs is used as below: "tunefs -J enable ad3s1X.journal". ad3s1X.journal is created by gjournal command: "gjournal label ad3s1a ad3s1g" that assign ad3s1g as journal provider for ad3s1a and create ad3s1a.journal which contains ad3s1a as data provider and ad3s1g as journal provider. my problem is, i can not run gjournal command for root partition in fixit mode nor single user mode. you mean, i should just use tunefs command on ad3s1X (root partition)? if yes, then where journal provider for root partition is located? in root partition? On Wed, May 22, 2013 at 10:23 AM, Michael Sierchio wrote: > > > On Tue, May 21, 2013 at 10:14 PM, s m wrote: > >> thanks guys for your attentions. >> >> i want to setup journaling in FreeBSD 8.2. i compare soft-update and >> journaling and choose journaling (it is more suitable for my goals). >> >> i want to enable journaling for all my partitions. i can do it for all >> partitions except root in single user mode. i can not do it for root >> because i can not unmount root in single user mode. >> >> > No, but you don't need to. In single user mode, root is mounted > read-only. You can run tunefs on the root fs device. > > - M > From owner-freebsd-questions@FreeBSD.ORG Thu May 23 05:42:26 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B35557B3 for ; Thu, 23 May 2013 05:42:26 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-oa0-f52.google.com (mail-oa0-f52.google.com [209.85.219.52]) by mx1.freebsd.org (Postfix) with ESMTP id 7BE2C2D0 for ; Thu, 23 May 2013 05:42:26 +0000 (UTC) Received: by mail-oa0-f52.google.com with SMTP id h1so3767537oag.25 for ; Wed, 22 May 2013 22:42:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=INpwQ5lzrYxnxouzp9sAOJ1YhRWogLX1Xhzf7DqdmtA=; b=pnRfG4uyX+j6y5O8T/ICxIart93X5VD016OuM+2t2LPVY3+VjVeNcZM8UQeRXGbRDF H2GfB21CSE9Wq150o7fiO1X5KKLW0HIs1Yex3TW96DbdaMVNdGblhrpOO0rC1QWZ4H0A j3Yu7AnV+Afl5RWzXPpDy+hAch3HrqE/VEW3HnpInYWYo9o9CLWca/XOrBZTZdt97++p kBU6G92Q28tjTpL3fiE+a2XlFcR63jUzgqx6iYEKbVEdPdXMyO+PgYqF9X0Yop39AaoJ hpfNYFc4WthytiPqPUCVHKSIdzzS+yKdbOKnzzquae6wLTNTJ0LQM87teKVcVmw0+U9i jZoA== MIME-Version: 1.0 X-Received: by 10.60.79.231 with SMTP id m7mr7420408oex.105.1369287739755; Wed, 22 May 2013 22:42:19 -0700 (PDT) Received: by 10.60.137.130 with HTTP; Wed, 22 May 2013 22:42:19 -0700 (PDT) In-Reply-To: References: <519B40D8.2090809@ulb.ac.be> <519B4F11.9030309@ulb.ac.be> <519B87BC.1010301@qeng-ho.org> <519B9042.5050704@qeng-ho.org> Date: Wed, 22 May 2013 22:42:19 -0700 Message-ID: Subject: Re: setup journaling for root partition From: Michael Sierchio To: s m X-Gm-Message-State: ALoCoQnPGEu76Rk0fZfVu2jvnRuW0Qw9KPpktfV4FUdgcEBD+U9rvM3d4PKXx9otsHgAti7s3uin Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 05:42:26 -0000 On Wed, May 22, 2013 at 10:27 PM, s m wrote: > thanks Michael, but in all documentation about journaling, tunefs is used > as below: "tunefs -J enable ad3s1X.journal". ad3s1X.journal is created by > gjournal command: "gjournal label ad3s1a ad3s1g" that assign ad3s1g as > journal provider for ad3s1a and create ad3s1a.journal which contains ad3s1a > as data provider and ad3s1g as journal provider. > > my problem is, i can not run gjournal command for root partition in fixit > mode nor single user mode. you mean, i should just use tunefs command on > ad3s1X (root partition)? if yes, then where journal provider for root > partition is located? in root partition? > > Ah, sorry - lack of careful reading on my part. Can you boot from installation media and use the fixit mode? This still won't work if the last sector of the partition is in use by the filesystem.... You'll need a spare partition of some size to be the journal provider, as in the example. The very best approach is to create a gjournal and then newfs. How is your disk organized? One big root partition with everything on it? - M From owner-freebsd-questions@FreeBSD.ORG Thu May 23 05:53:49 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9CEE8CEE for ; Thu, 23 May 2013 05:53:49 +0000 (UTC) (envelope-from sam.gh1986@gmail.com) Received: from mail-la0-x230.google.com (mail-la0-x230.google.com [IPv6:2a00:1450:4010:c03::230]) by mx1.freebsd.org (Postfix) with ESMTP id 20A84356 for ; Thu, 23 May 2013 05:53:48 +0000 (UTC) Received: by mail-la0-f48.google.com with SMTP id fs12so2767652lab.7 for ; Wed, 22 May 2013 22:53:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=spl38qe38Uc+gpGEllXU2yIuOc0tpXTTIdVQzZcBhLE=; b=MSUd6Z9upoMu3+y7Bnk0eoU+XoPZ+ZPyD0cO0IGtWtOgitKT8YyzZLDGWS26ca5w/4 ieMZTB8UxeW+6xDwgTFgVKuGLd+zPAzPumfaFeG5QNgCntqbIh2NPfnaf/RHwIAn9GiL x1AMNEgkQDB3HP46zpWZ0G3MCq96Ks0qUiDapRfaqWVqxHDigQxMd3H78N6+tNjD4IK8 17ay4r65zOz0Pxx1g2MyLjJ+uF5URcfQ2k5ERm3FaAXT53/m9fkQGTSRxa+iky4NEbF5 a/X2S7v7mdcU3oHdpodTqh0sh9QJWTW7e1nc0KNV+K4KxVozd520LL+vqSKAZuxmRCg/ Shkg== MIME-Version: 1.0 X-Received: by 10.112.63.7 with SMTP id c7mr5567048lbs.5.1369288427992; Wed, 22 May 2013 22:53:47 -0700 (PDT) Received: by 10.112.2.70 with HTTP; Wed, 22 May 2013 22:53:47 -0700 (PDT) In-Reply-To: References: <519B40D8.2090809@ulb.ac.be> <519B4F11.9030309@ulb.ac.be> <519B87BC.1010301@qeng-ho.org> <519B9042.5050704@qeng-ho.org> Date: Thu, 23 May 2013 10:23:47 +0430 Message-ID: Subject: Re: setup journaling for root partition From: s m To: Michael Sierchio Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 05:53:49 -0000 thanks Michael for your quick reply:) yes, i can boot from usb freebsd flash and use fixit mode. i have root, var, tmp, usr and swap on my system. i create an extra swap partition to use it as journal provider for root partition. in fixit mode, first i run two below command in order to abel load gjournal: ln -s /dist/lib /lib ls -s /dist/boot/kernel /boot/modules then "gjournal load" and after that: "gjournal label -f ad3s1a ad3s1g" (ad3s1a is root partition and ad3s1g is swap partition for journal provider) but this error is shown: "gjournal cannot clear metadata on ad3s1a: operation not permitted" what is wrong here??? i really don't know how to fix it:(((( On Thu, May 23, 2013 at 10:12 AM, Michael Sierchio wrote: > > On Wed, May 22, 2013 at 10:27 PM, s m wrote: > >> thanks Michael, but in all documentation about journaling, tunefs is used >> as below: "tunefs -J enable ad3s1X.journal". ad3s1X.journal is created by >> gjournal command: "gjournal label ad3s1a ad3s1g" that assign ad3s1g as >> journal provider for ad3s1a and create ad3s1a.journal which contains ad3s1a >> as data provider and ad3s1g as journal provider. >> >> my problem is, i can not run gjournal command for root partition in fixit >> mode nor single user mode. you mean, i should just use tunefs command on >> ad3s1X (root partition)? if yes, then where journal provider for root >> partition is located? in root partition? >> >> > Ah, sorry - lack of careful reading on my part. Can you boot from > installation media and use the fixit mode? This still won't work if the > last sector of the partition is in use by the filesystem.... You'll need a > spare partition of some size to be the journal provider, as in the example. > > The very best approach is to create a gjournal and then newfs. How is > your disk organized? One big root partition with everything on it? > > - M > From owner-freebsd-questions@FreeBSD.ORG Thu May 23 06:11:49 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 52FCAA9E for ; Thu, 23 May 2013 06:11:49 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-ob0-x235.google.com (mail-ob0-x235.google.com [IPv6:2607:f8b0:4003:c01::235]) by mx1.freebsd.org (Postfix) with ESMTP id 19CA165D for ; Thu, 23 May 2013 06:11:49 +0000 (UTC) Received: by mail-ob0-f181.google.com with SMTP id dn14so3401519obc.40 for ; Wed, 22 May 2013 23:11:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=TFZJIN8mQ7d8PEh9UgF6WyJ4IYv66cS4Cxni3nUe5ZU=; b=nHB59iSx8WjI+cnO1a3tYTzEOwYZsg3MPC7hE/K2OailoEto52lB2yo1mo1w/k9w0u Od3EMTilTHlwI2sSVn8FXmE5nBq8eHPEmF3Yb6FLH/sqPBXT4cbCwQ+RqtoNH0hItn37 qtmqpd/S5bwmb0JwiuDzf7xJBmNJWFj+s2wEOrQ1y1A14ZI/39vE+4XVA4l+/ulosSG/ J3drCfQRwYicO3L/mRaR6mscuw/4t4d86r1EBt43sqlYpWOQ8KBdICXGqcZLByKmur/Q vnkFP1FzYqf/oCOX1sT6Xr0denJZzcPPf0NsIeiKz5G7GV/FdzyHY9AQN2edFujPsJkr ChHA== MIME-Version: 1.0 X-Received: by 10.60.116.138 with SMTP id jw10mr7124275oeb.64.1369289508657; Wed, 22 May 2013 23:11:48 -0700 (PDT) Received: by 10.60.137.130 with HTTP; Wed, 22 May 2013 23:11:48 -0700 (PDT) In-Reply-To: References: <519B40D8.2090809@ulb.ac.be> <519B4F11.9030309@ulb.ac.be> <519B87BC.1010301@qeng-ho.org> <519B9042.5050704@qeng-ho.org> Date: Wed, 22 May 2013 23:11:48 -0700 Message-ID: Subject: Re: setup journaling for root partition From: Michael Sierchio To: s m X-Gm-Message-State: ALoCoQnHZ3pRtDWBeA4FAtCLnHaHRUmEhSNDaopdmhChEbotBpb7INP/4I6UdohwlfmhW4ILflSK Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 06:11:49 -0000 On Wed, May 22, 2013 at 10:53 PM, s m wrote: > thanks Michael for your quick reply:) > yes, i can boot from usb freebsd flash and use fixit mode. > i have root, var, tmp, usr and swap on my system. i create an extra swap > partition to use it as journal provider for root partition. > > in fixit mode, first i run two below command in order to abel load > gjournal: > > ln -s /dist/lib /lib > ls -s /dist/boot/kernel /boot/modules > > then > "gjournal load" > > and after that: "gjournal label -f ad3s1a ad3s1g" (ad3s1a is root > partition and ad3s1g is swap partition for journal provider) > > but this error is shown: > "gjournal cannot clear metadata on ad3s1a: operation not permitted" > what is wrong here??? i really don't know how to fix it:(((( > Try using -v to get more verbose output. I am at a loss here, too. Perhaps you can try gjournal load dd if=/dev/zero of=/dev/ad3s1g bs=1m gjournal clear -v ad3s1a gjournal label -vf ad3s1a ad3s1g and see what it says, if anything. From owner-freebsd-questions@FreeBSD.ORG Thu May 23 06:36:52 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id C3AB537C for ; Thu, 23 May 2013 06:36:52 +0000 (UTC) (envelope-from sam.gh1986@gmail.com) Received: from mail-la0-x229.google.com (mail-la0-x229.google.com [IPv6:2a00:1450:4010:c03::229]) by mx1.freebsd.org (Postfix) with ESMTP id 45C9B80E for ; Thu, 23 May 2013 06:36:52 +0000 (UTC) Received: by mail-la0-f41.google.com with SMTP id ee20so2853214lab.28 for ; Wed, 22 May 2013 23:36:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=19QSjTKgjpBFh4UaS2E2BF0Lv1JHJUJIiEDa4SBHmbs=; b=Tzf8AJcXsahLozf1BL9ZdvAkGWOLjnegVCJbD/vyTW31BmPzHLtQeWvNI4+dHYQc0A r+Iyg7V9h77XQ/AhLscxjMttqEd/GafnHRaNjm+bWvJdLzGACxcg4LQDXlMWCPxokTsD rgd7rygchh00D2+kQGhmZM9B24Mkfduftp0G2HWsniRVbTvKAWFGLbZjah9BiJihycZ+ hGwP6pvvjeXNQZ6sZ6IwOZa5486TMUpwkMadjuxlGjX3zY4QMm6aKUE8Cj0QuI1Eu5ur pjCpD97+Phr/s26XRiw/W4Ui434KoQQgHnlZBuRcjdMXj8pu6QElIycbkCEXsL9SPAPO Y09g== MIME-Version: 1.0 X-Received: by 10.152.26.225 with SMTP id o1mr5670880lag.43.1369291011241; Wed, 22 May 2013 23:36:51 -0700 (PDT) Received: by 10.112.2.70 with HTTP; Wed, 22 May 2013 23:36:51 -0700 (PDT) In-Reply-To: References: <519B40D8.2090809@ulb.ac.be> <519B4F11.9030309@ulb.ac.be> <519B87BC.1010301@qeng-ho.org> <519B9042.5050704@qeng-ho.org> Date: Thu, 23 May 2013 11:06:51 +0430 Message-ID: Subject: Re: setup journaling for root partition From: s m To: Michael Sierchio Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 06:36:52 -0000 thanks, i do as you said, but after loading gjournal, dd says "operation not permitted". gjournal clear says "operation not permitted" too and therefore "gjournal label" is not done and say previous error (gjournal cannot clear metadata on ad3s1a: operation not permitted). and -v return no extra log. i don't know why i can not do any thing in fixit mode:( is this a true procedure? i mean maybe i should do any thing else because freebsd handbook set journaling for user partition in single user mode not in fixit mode. i test it and it works well, but for root partition i can not do the same because root partition can not be unmount in single user mode. any hints or comments are really appreciated. thanks in advance On Thu, May 23, 2013 at 10:41 AM, Michael Sierchio wrote: > > On Wed, May 22, 2013 at 10:53 PM, s m wrote: > >> thanks Michael for your quick reply:) >> yes, i can boot from usb freebsd flash and use fixit mode. >> i have root, var, tmp, usr and swap on my system. i create an extra swap >> partition to use it as journal provider for root partition. >> >> in fixit mode, first i run two below command in order to abel load >> gjournal: >> >> ln -s /dist/lib /lib >> ls -s /dist/boot/kernel /boot/modules >> >> then >> "gjournal load" >> >> and after that: "gjournal label -f ad3s1a ad3s1g" (ad3s1a is root >> partition and ad3s1g is swap partition for journal provider) >> >> but this error is shown: >> "gjournal cannot clear metadata on ad3s1a: operation not permitted" >> what is wrong here??? i really don't know how to fix it:(((( >> > > Try using -v to get more verbose output. I am at a loss here, too. > Perhaps you can try > > gjournal load > dd if=/dev/zero of=/dev/ad3s1g bs=1m > gjournal clear -v ad3s1a > gjournal label -vf ad3s1a ad3s1g > > and see what it says, if anything. > > From owner-freebsd-questions@FreeBSD.ORG Thu May 23 08:53:44 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 40598693 for ; Thu, 23 May 2013 08:53:44 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from smtp-int-m.obspm.fr (smtp-int-m.obspm.fr [145.238.187.15]) by mx1.freebsd.org (Postfix) with ESMTP id CEFBEDFB for ; Thu, 23 May 2013 08:53:43 +0000 (UTC) Received: from pcjas.obspm.fr (pcjas.obspm.fr [145.238.184.233]) by smtp-int-m.obspm.fr (8.14.3/8.14.3/SIO Observatoire de Paris - 07/2009) with ESMTP id r4N8rX3o022519 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 23 May 2013 10:53:34 +0200 Date: Thu, 23 May 2013 10:53:33 +0200 From: Albert Shih To: Paul Kraus Subject: Re: ZFS install on a partition Message-ID: <20130523085333.GC1426@pcjas.obspm.fr> References: <5FB78660-EDA4-40DB-8A0D-B0DE23A0FB6C@kraus-haus.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <5FB78660-EDA4-40DB-8A0D-B0DE23A0FB6C@kraus-haus.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Miltered: at smtp-int-m.obspm.fr with ID 519DD90D.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 519DD90D.000/145.238.184.233/pcjas.obspm.fr/pcjas.obspm.fr/ Cc: Liste FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 08:53:44 -0000 Le 17/05/2013 ? 20:03:30-0400, Paul Kraus a écrit > > ZFS is stable, it is NOT as tuned as UFS just due to age. UFS in all of it's various incarnations has been tuned far more than any filesystem has any right to be. I spent many years managing Solaris system and I was truly amazed at how tuned the Solaris version of UFS was. > > I have been running a number of 9.0 and 9.1 servers in production, all running ZFS for both OS and data, with no FS related issues. Have you ever try to update a ZFS Pool on 9.0 to 9.1 ? I've a server with a big zpool in 9.0 I'm wonder if it's good idea to upgrade to 9.1. If I lost the data I'm close to dead person. If I thinking to upgrade to 9.1 it's because I got small issue about NFSD, LACP. Regards. JAS -- Albert SHIH DIO bâtiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex France Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71 xmpp: jas@obspm.fr Heure local/Local time: jeu 23 mai 2013 10:51:49 CEST From owner-freebsd-questions@FreeBSD.ORG Thu May 23 08:56:44 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1ABC9792 for ; Thu, 23 May 2013 08:56:44 +0000 (UTC) (envelope-from hrisikeshsahu@gmail.com) Received: from mail-vb0-x232.google.com (mail-vb0-x232.google.com [IPv6:2607:f8b0:400c:c02::232]) by mx1.freebsd.org (Postfix) with ESMTP id C1EC4E23 for ; Thu, 23 May 2013 08:56:43 +0000 (UTC) Received: by mail-vb0-f50.google.com with SMTP id w16so1947190vbb.23 for ; Thu, 23 May 2013 01:56:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=1uqDNjzqdlip/cmHXTyak9xdtV/Az+F0Dkvrt+Z7FNk=; b=qTiEID58mS14vYxsvzpkIkJoNEVpweP0IcQXU7LY7SKJAMAZ+YgI+KvrdFUqAV/MAS d0O4NsRlPQO7KiiguHULbK0hs9qXZxSDxJwvUzvMS0EzbNHFQZ7WaGBqv41K5D+ADfSw PgNdYT4Fp+0HSA+KMvhBw90ihYyWN2cl90iIeF/NShBsXs1iwSP8Uxbn0ZsI+Koi1J92 +KVGFs1oxYdeSCcLXJFb1eO0XRplTLkGvz92epyFZfXLmdrDq123qr+XF4xD54SrgL29 vtsPe5aGYXjg9k0iKYwJelLx5VF7wP+eet8Y4roMsYzkP2ClOZSqkyHQmbY+eFQiBwcB nXbA== MIME-Version: 1.0 X-Received: by 10.52.95.227 with SMTP id dn3mr3877562vdb.111.1369299403184; Thu, 23 May 2013 01:56:43 -0700 (PDT) Received: by 10.52.17.105 with HTTP; Thu, 23 May 2013 01:56:43 -0700 (PDT) In-Reply-To: References: Date: Thu, 23 May 2013 14:26:43 +0530 Message-ID: Subject: Re: Fresh installation 9.1 From: hrkesh sahu To: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 08:56:44 -0000 Hi Trond, Thanks a lot for your help and Ipv6 routing is working with FreeBSD OS. we want to go for Ipv6 certification for our IPv6 stack. And Ipv6 stack we want to use FreeBSD as one vendor router. Now It will be easy for IPv6 interoperability test with freeBSD. for Ipv6 interoperability test We need another router device and I am planning use Ubuntu as IPv6 router. Please let me your personal view and if you can help me on this, it will be grateful. > How to enable gateway for IPv6 in Ubuntu? > Router may require to do send Neighbor advertisement for Host Neighbor solicitation . I installed radvd in ubuntu. > could you please share radvd.conf of ubuntu? regards On Wed, May 22, 2013 at 7:53 PM, Trond Endrest=F8l < Trond.Endrestol@fagskolen.gjovik.no> wrote: > On Wed, 22 May 2013 19:34+0530, hrkesh sahu wrote: > > > Hi Trond, > > Thanks a lot for a clear reply. > > Could you please tell me Laptop1 ipv6 configuration details? > > as laptop auto configuration will generate the LL address for a auto ip= v6 > > configuration. > > For Interface rl0 ipv6 address > > ifconfig_rl0_ipv6=3D"inet6 fd8f:d6d0:e6e7:100::101 prefixlen 64" , > > > > what will be laptop ipv6 address? > > It depends solely on the operating system and whether IPv6 privacy is > in effect. > > Normally, the client will perform stateless automatic address > configuration (SLAAC). It goes pretty much like this: > > The router announces the 64 bit prefix, usually every 200 seconds, but > the client may request a new announcement at any time. The client > generates a 64 bit interface identifier based on its 48 bit MAC > address. The client then concatenates the supplied prefix with the > generated interface identifier. The client then performs duplicate > address detection (DAD), and if everythings checks out, the client got > its IPv6 address. > > Given this prefix fd8f:d6d0:e6e7:100::/64, and this MAC address > 50:e5:49:41:4d:70. > > The client would then generated this interface id: > 52e5:49ff:fe41:4d70. > > The Universal/Local bit of the MAC address is inverted, and FF:FE is > placed at center. (It really ought to be FF:FF, but way back in time > someone misread the IEEE standards regarding conversion from 48 bit > MAC addresses to EUI64 format. This oversight doesn't really matter.) > > The same client would then aqcuire this IPv6 address: > fd8f:d6d0:e6e7:100:52e5:49ff:fe41:4d70, and perform DAD. > > The client gets its IPv6 default route/gateway from the router > announcement. > > Of course, you may configure the IPv6 address and gateway manually on > the client, say fd8f:d6d0:e6e7:100::1337/64 (client's address) and > fd8f:d6d0:e6e7:100::101 (gateway's address). > > > On Wed, May 22, 2013 at 6:54 PM, Trond Endrest=F8l < > > Trond.Endrestol@fagskolen.gjovik.no> wrote: > > > > > On Wed, 22 May 2013 18:21+0530, hrkesh sahu wrote: > > > > > > > Hi Trond , > > > > Thanks a lot. > > > > Now i am able to ping to other network with IPv4 address. > > > > > > > > For IPv6 I added these lines in rc.conf - > > > > first I included - > > > > ipv6_gateway_enable=3D"YES" > > > > > > > > ++> Laptop1( Ipv6 address fe80::224:7eff:fee0:6b51) is connected to > > > > interface rl0 ( ipv6 address - fe80::21f:b5ff:fe48:9f73) > > > > While doing ping6 from "fe80::224:7eff:fee0:6b51" to > > > > "fe80::21f:b5ff:fe48:9f73" - it is working. Neighbor advertisement > from > > > > "fe80::21f:b5ff:fe48:9f73" is happening. > > > > while doing from ping6 from "fe80::224:7eff:fee0:6b51" to other > interface > > > > "fe80::21f:d0ff:fe40:8bbd" , then there is no Neighbor advertisemen= t. > > > > > > > > After this I included these two lines to rc.conf - > > > > > > > > rtadvd_enable=3D"YES" > > > > rtadvd_interfaces=3D"rl0" > > > > > > > > I have not created any file like /etc/rtadvd.conf . Do i need to > create > > > > this configuration file? > > > > if yes, what should be the input to rtadvd.conf for link local > address? > > > > > > > > please find Ipv6 interface details. > > > > > > > > > > > > Ifconfig > > > > -------------------- > > > > re0: flags=3D8843 > > > Running,Simplex,Multicast> Metric 0 mtu 1500 > > > > options=3D8209b > > > VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE> > > > > ether 00:1f:d0:40:8b:bd > > > > inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen 64 scopeid 0x5 > > > > inet 192.168.200.101 netmask 0xffffff00 broadcast > 192.168.200.255 > > > > nd6 options=3D21 > > > LINKLOCAL> > > > > media:Enthernet autoselect (none) > > > > status:active > > > > > > > > rl0: flags=3D8843 > > > Running,Simplex,Multicast> Metric 0 mtu 1500 > > > > options=3D2008 > > > > ether 00:10:b5:48:9f:73 > > > > inet6 fe80::21f:b5ff:fe48:9f73%rl0 prefixlen 64 scopeid 0xa > > > > inet 192.168.100.101 netmask 0xffffff00 broadcast > 192.168.100.255 > > > > nd6 options=3D21 > > > > media:Enthernet autoselect (none) > > > > status: active > > > > > > Congratz on achieving active carrier wave on your NICs. > > > > > > Right now your system is running with link-local IPv6 addresses. You > > > may view LL addresses as VLAN local. Packets to such addresses will > > > never ever be forwarded by a router. > > > > > > Instead set up either official IPv6 addresses/subnets or create your > > > own Unique Local Addresses (ULA) as I wrote previously about. > > > > > > Augment your /etc/rc.conf file with, say: > > > > > > ifconfig_rl0_ipv6=3D"inet6 fd8f:d6d0:e6e7:100::101 prefixlen 64" > > > > > > You may assign the IPv6 address manually to avoid restarting the > > > networking subsystem or the whole machine: > > > > > > ifconfig rl0 inet6 fd8f:d6d0:e6e7:100::101 prefixlen 64 > > > > > > Next, create /etc/rtadvd.conf with the following contents: > > > > > > rl0:\ > > > :addr=3D"fd8f:d6d0:e6e7:100::":prefixlen#64: > > > > > > If you want IPv6 routing on the re0 interface, you need, say this, in > > > /etc/rc.conf: > > > > > > ifconfig_re0_ipv6=3D"inet6 fd44:13de:a366:200::1 prefixlen 64" > > > > > > Assign the IPv6 address manually using: > > > > > > ifconfig re0 inet6 fd44:13de:a366:200::1 prefixlen 64 > > > > > > And add this to /etc/rtadvd.conf: > > > > > > re0:\ > > > :addr=3D"fd44:13de:a366:200::":prefixlen#64: > > > > > > You'll need to restart rtadvd by issuing /etc/rc.d/rtadvd restart. > > > > > > Happy hacking. > > > > > > > Regards > > > > Hrisikesh > > > > > > > > On Wed, May 22, 2013 at 1:03 PM, Trond Endrest=F8l < > > > > Trond.Endrestol@fagskolen.gjovik.no> wrote: > > > > > > > > > On Wed, 22 May 2013 12:38+0530, hrkesh sahu wrote: > > > > > > > > > > > Hi , > > > > > > Thanks a lot for this quick reply. > > > > > > Sorry i missed the " in the end while typing. It's a typo. > > > > > > I provided the ouput of " nestat -r " and "ifconfig". > > > > > > > > > > > > > netstat -r > > > > > > -------------- > > > > > > routing tables - > > > > > > > > > > > > internet : > > > > > > ----------- > > > > > > destination Gateway > > > > > > Flags Refs > > > > > > Use Netif Expire > > > > > > default 192.168.200.1 > > > > > > UGS 0 > > > > > > 0 re0 > > > > > > localhost link#12 > > > > > > UH 0 > > > > > > 148 lo0 > > > > > > 192.168.100.0 link#10 > > > > > > U 0 > > > > > > 0 rl0 > > > > > > 192.168.100.101 link#10 UHS > > > > > > 0 > > > > > > 0 lo0 > > > > > > 192.168.200.0 link#5 > > > > > > U 0 > > > > > > 0 re0 > > > > > > 192.168.200.101 link#5 UHS > > > > > > 0 > > > > > > 0 lo0 > > > > > > > > > > > > Internet6: > > > > > > ------------------- > > > > > > Ipv6 details > > > > > > > > > > > > > Ifconfig > > > > > > -------------------- > > > > > > re0: flags=3D8843 Metri= c 0 > mtu > > > 1500 > > > > > > > > > > > > > > > options=3D8209b > > > > > > ether 00:1f:d0:40:8b:bd > > > > > > inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen 64 scopeid 0x5 > > > > > > inet 192.168.200.101 netmask 0xffffff00 broadcast > > > 192.168.200.255 > > > > > > nd6 options=3D21 > > > > > > media:Enthernet autoselect (none) > > > > > > status: no carrier > > > > > > > > > > > > rl0: flags=3D8843 Metri= c 0 > mtu > > > 1500 > > > > > > options=3D2008 > > > > > > ether 00:10:b5:48:9f:73 > > > > > > inet6 fe80::21f:b5ff:fe48:9f73%rl0 prefixlen 64 scopeid 0xa > > > > > > inet 192.168.100.101 netmask 0xffffff00 broadcast > > > 192.168.100.255 > > > > > > nd6 options=3D21 > > > > > > media:Enthernet autoselect (none) > > > > > > status: no carrier > > > > > > > > > > > > there is a plip0 and lo0. > > > > > > > > > > Neither NIC is connected to any equipment, e.g. switch, hub, or > > > > > computer (status: no carrier). Make sure you can use a straight > > > > > network cable, else you'll need to get a couple of cross wired > network > > > > > cables and use those instead. > > > > > > > > > > Next, confirm the sysctl net.inet.ip.forwarding is set to 1 by > > > > > running the sysctl net.inet.ip.forwarding command. > > > > > > > > > > If not, you can set the sysctl to 1 by running the sysctl > > > > > net.inet.ip.forwarding=3D1 command, and you probably should inspe= ct > the > > > > > /etc/rc.conf file one more time. > > > > > > > > > > Once you connect the computer to the two networks, the IPv4 routi= ng > > > > > should work. If not, come back. > > > > > > > > > > > Regards > > > > > > Hrisikesh > > > > > > > > > > > > On Wed, May 22, 2013 at 12:02 PM, Trond Endrest=F8l < > > > > > > Trond.Endrestol@fagskolen.gjovik.no> wrote: > > > > > > > > > > > > > On Wed, 22 May 2013 11:10+0530, hrkesh sahu wrote: > > > > > > > > > > > > > > > Hi All, > > > > > > > > IPv4 Routing - > > > > > > > > ------------------------ > > > > > > > > I disabled the DHCP from rc.conf for both the interface. bu= t > > > still I > > > > > am > > > > > > > not > > > > > > > > able to route trafic from one interface to another. > > > > > > > > > > > > > > > > rc.conf > > > > > > > > --------------- > > > > > > > > hostname=3D"idc-freebsd" > > > > > > > > keymap=3D"hy.armscii-8.kbd" > > > > > > > > #ifconfig_re0=3D"DHCP" > > > > > > > > #ifconfig_rl0=3D"DHCP" > > > > > > > > dumpdev=3D"NO" > > > > > > > > > > > > > > > ifconfig_rl0=3D"inet 192.168.100.101 netmask 255.255.255.0 > > > > > > > > ifconfig_re0=3D"inet 192.168.200.101 netmask 255.255.255.0 > > > > > > > > > > > > > > Are the two lines above copied straight from your rc.conf fil= e? > > > > > > > If so, both lines are missing a " at the end. Please check to > see > > > if > > > > > > > this is needed. > > > > > > > > > > > > > > Next, the outputs of the ifconfig command and the netstat -r > > > command > > > > > > > should reveal something interesting. Would you please post th= e > > > > > > > results from these two commands? > > > > > > > > > > > > > > > ipv6_activate_all_interfaces=3D"YES" > > > > > > > > gateway_enable=3D"YES" > > > > > > > > default_router=3D"192.168.200.1" > > > > > > > > > > > > > > > > I am using FreeBSD - 9.1 Release version > > > > > > > > > > > > > > > > I need to communicate between two different subnets. > > > > > > > > > > > > > > > > Am i missing anything to enable freebsd as router? > > > > > > > > Do i need to add a route entry? > > > > > > > > > > > > > > > > If possible could you please share rc.conf file with IPv4 > > > routing? > > > > > > > > > > > > > > > > Regards > > > > > > > > Hrisikesh > > > > > > > > > > > > > > > > On Thu, May 9, 2013 at 2:04 PM, Trond Endrest=F8l < > > > > > > > > Trond.Endrestol@fagskolen.gjovik.no> wrote: > > > > > > > > > > > > > > > > > On Thu, 9 May 2013 12:18+0530, hrkesh sahu wrote: > > > > > > > > > > > > > > > > > > > > HI All, > > > > > > > > > > > > > > > > > > > > > I have a FreeBSD 9.1 Release installed with TWO NIC > cards. I > > > was > > > > > > > trying > > > > > > > > > to > > > > > > > > > > make this FreeBSD machine as a router . > > > > > > > > > > This is my rc.conf > > > > > > > > > > -------------------------------- > > > > > > > > > > ifconfig_rl0 =3D "inet 192.168.100.101 netmask > 255.255.255.0" > > > > > > > > > > ifconfig_re0=3D"inet 192.168.200.101 netmask 255.255.25= 5.0" > > > > > > > > > > > > > > > > > > > > gateway_enable =3D "YES" > > > > > > > > > > ifconfig_rl0 =3D "DHCP" > > > > > > > > > > ifconfig_re0 =3D "DHCP" > > > > > > > > > > > > > > > > > > > > defaultrouter =3D "192.168.100.1" > > > > > > > > > > ipv6_activate_all_interfaces =3D "YES" > > > > > > > > > > sshd_enable =3D "YES" > > > > > > > > > > synchronous_dhclient=3D"YES" > > > > > > > > > > > > > > > > > > > > Please help me to establish a IPv4 router. > > > > > > > > > > Both the interfaces are connected to to different lapto= ps > > > with a > > > > > > > static > > > > > > > > > IP > > > > > > > > > > address. > > > > > > > > > > > > > > > > > > You should place a # in front of the two lines: > > > > > > > > > > > > > > > > > > > ifconfig_rl0 =3D "DHCP" > > > > > > > > > > ifconfig_re0 =3D "DHCP" > > > > > > > > > > > > > > > > > > Next, you probably shouldn't place spaces before and afte= r > the > > > > > equal > > > > > > > > > signs. > > > > > > > > > > > > > > > > > > > Laptop 1 =3D 192.168.100.102 ( connected to interface = rl0) > > > > > gateway - > > > > > > > > > > 192.168.100.1 > > > > > > > > > > > > > > > > > > > > Laptop 2 =3D 192.168.200.102 ( connected to interface r= e0) > > > > > > > > > > ping from Laptop1 -> rl0 is successful > > > > > > > > > > but ping from Laptop1 -> re0 is not successful. > > > > > > > > > > > > > > > > > > > > After this I want to know also How to make this as IPv6 > > > router? > > > > > > > > > > > > > > > > > > See > > > > > > > > > > > > > > > > > > > > > > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.ht= ml > > > > > > > > > . > > > > > > > > > > > > > > > > > > You probably should create a ULA prefix or two, and assig= n > > > these to > > > > > > > > > your router interfaces. > http://www.sixxs.net/tools/grh/ula/might > > > > > help > > > > > > > > > you. > > > > > > > > > > > > > > > > > > Something along these lines might help you achieve what y= ou > > > want: > > > > > > > > > > > > > > > > > > ifconfig_rl0_ipv6=3D"inet6 fd8f:d6d0:e6e7:100::1 prefixle= n > 64" > > > > > > > > > ifconfig_re0_ipv6=3D"inet6 fd44:13de:a366:200::1 prefixle= n > 64" > > > > > > > > > ipv6_gateway_enable=3D"YES" > > > > > > > > > > > > > > > > > > Finally you probably should configure and enable Router > > > > > Advertisement > > > > > > > > > and Host Auto Configuration as explained in section > 32.11.6 of > > > > > > > > > > > > > > > > > > > > > > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.ht= ml > > > > > > > > > . > > > > > > -- > > > +-------------------------------+------------------------------------= + > > > | Vennlig hilsen, | Best regards, = | > > > | Trond Endrest=F8l, | Trond Endrest=F8l, = | > > > | IT-ansvarlig, | System administrator, = | > > > | Fagskolen Innlandet, | Gj=F8vik Technical College, Norway,= | > > > | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, = | > > > | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. = | > > > +-------------------------------+------------------------------------= + > > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > > > > -- > +-------------------------------+------------------------------------+ > | Vennlig hilsen, | Best regards, | > | Trond Endrest=F8l, | Trond Endrest=F8l, = | > | IT-ansvarlig, | System administrator, | > | Fagskolen Innlandet, | Gj=F8vik Technical College, Norway, | > | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | > | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | > +-------------------------------+------------------------------------+ > From owner-freebsd-questions@FreeBSD.ORG Thu May 23 09:00:24 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 4000287D for ; Thu, 23 May 2013 09:00:24 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from smtp-int-m.obspm.fr (smtp-int-m.obspm.fr [145.238.187.15]) by mx1.freebsd.org (Postfix) with ESMTP id B305DE52 for ; Thu, 23 May 2013 09:00:23 +0000 (UTC) Received: from pcjas.obspm.fr (pcjas.obspm.fr [145.238.184.233]) by smtp-int-m.obspm.fr (8.14.3/8.14.3/SIO Observatoire de Paris - 07/2009) with ESMTP id r4N90LfO029449 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 23 May 2013 11:00:22 +0200 Date: Thu, 23 May 2013 11:00:21 +0200 From: Albert Shih To: Paul Kraus Subject: Re: ZFS install on a partition Message-ID: <20130523090021.GD1426@pcjas.obspm.fr> References: <372082cab2064846809615a8073e022c@DB3PR07MB059.eurprd07.prod.outlook.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Miltered: at smtp-int-m.obspm.fr with ID 519DDAA5.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 519DDAA5.000/145.238.184.233/pcjas.obspm.fr/pcjas.obspm.fr/ Cc: Ivailo Tanusheff , Liste FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 09:00:24 -0000 Le 18/05/2013 ? 09:02:15-0400, Paul Kraus a écrit > On May 18, 2013, at 3:21 AM, Ivailo Tanusheff > wrote: > > > If you use HBA/JBOD then you will rely on the software RAID of the > > ZFS system. Yes, this RAID is good, but unless you use SSD disks to > > boost performance and a lot of RAM the hardware raid should be more > > reliable and mush faster. > > Why will the hardware raid be more reliable ? While hardware raid is > susceptible to uncorrectable errors from the physical drives > (hardware raid controllers rely on the drives to report bad reads and > writes), and the uncorrectable error rate for modern drives is such > that with high capacity drives (1TB and over) you are almost certain > to run into a couple over the operational life of the drive. 10^-14 > for cheap drives and 10^-15 for better drives, very occasionally I > see a drive rated for 10^-16. Run the math and see how many TB worth > of data you have to write and read (remember these failures are > generally read failures with NO indication that a failure occurred, > bad data is just returned to the system). > > In terms of performance HW raid is faster, generally due to the cache > RAM built into the HW raid controller. ZFS makes good use of system, Before I'm installing my server under 9.0 + ZFS I do some benchmarks with ionice to compare FreeBSD 9.0+ ZFS + 12 disk SATA 7200 rpm vs CentOS + H700 + 12 disk SAS 15krpm (Both are same Dell poweredge). And the ZFS+12 disk sata goes much faster than CentOS+H700+ext4 almost everywhere. Only for small file AND small record size the ZFS is slower than CentOS. The server don't have SSD. He got 48Go of ram. Regards. JAS -- Albert SHIH DIO bâtiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex France Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71 xmpp: jas@obspm.fr Heure local/Local time: jeu 23 mai 2013 10:53:50 CEST From owner-freebsd-questions@FreeBSD.ORG Thu May 23 09:19:18 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A7ADEE01 for ; Thu, 23 May 2013 09:19: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 0F10EF49 for ; Thu, 23 May 2013 09:19:17 +0000 (UTC) Received: from curlew.milibyte.co.uk ([84.92.153.232]) by avasout07 with smtp id fMG61l006516WCc01MG7Yf; Thu, 23 May 2013 10:16:07 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=NbzfiQz4 c=1 sm=1 tr=0 a=lfSX4pPLp9EkufIcToJk/A==:117 a=lfSX4pPLp9EkufIcToJk/A==:17 a=D7rCoLxHAAAA:8 a=0Bzu9jTXAAAA:8 a=C0bYmfjgzKQA:10 a=qxUa5vrNVbkA:10 a=ZTb9aqGL9YkA:10 a=N659UExz7-8A:10 a=EUxqAfsm26oA:10 a=6I5d2MoRAAAA:8 a=NpTZt2-voOyusMPp3F8A:9 a=pILNOxqGKmIA:10 Received: from curlew.lan ([192.168.1.13]) by curlew.milibyte.co.uk with esmtp (Exim 4.80.1) (envelope-from ) id 1UfRcx-000PqR-JO; Thu, 23 May 2013 10:16:06 +0100 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Thu, 23 May 2013 10:16:01 +0100 User-Agent: KMail/1.13.7 (FreeBSD/9.1-RELEASE-p3; KDE/4.10.1; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Message-Id: <201305231016.01617.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: 192.168.1.13 X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk Subject: Re: Keeping my system up to date with CTM or subversion? Content-Type: Text/Plain; charset="windows-1252" Content-Transfer-Encoding: 7bit X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); Unknown failure Cc: Ed Flecko 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, 23 May 2013 09:19:18 -0000 On Wednesday 22 May 2013 21:23:39 Ed Flecko wrote: > When security vulnerabilities are discovered and patches released by FBSD, > the patch will tell you what steps you need to take to apply the patch and > stay up to date, won't it? Yes, if you subscribe to the FreeBSD Security Notifications mailing list you'll get email notifications when security parches are available. These give details of the background and impact of the vulnerability along with instructions of how to obtain and apply the patches. -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Thu May 23 09:21:42 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D6944132 for ; Thu, 23 May 2013 09:21:42 +0000 (UTC) (envelope-from saeedeh.motlagh@gmail.com) Received: from mail-la0-x236.google.com (mail-la0-x236.google.com [IPv6:2a00:1450:4010:c03::236]) by mx1.freebsd.org (Postfix) with ESMTP id 635FCF81 for ; Thu, 23 May 2013 09:21:42 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id eg20so2932825lab.41 for ; Thu, 23 May 2013 02:21:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=mOpctsX7PvVvXzuDikUtUJnY32e6adqglMS+dO2dWpQ=; b=PZj4Tgh/ktk37uWYocDaamOGskZGYkrxxjRzfYWs3LlwEasdV2i9efRMQDLfuJxWW6 LvgFtLTfBeJ5/oQQy5Bv9scc9c2DTKqHf9MBL6R4Rve77lYiG/9v/GzCS+LskUebnJvc z4YZw90+WHULMIFDuYt78UkqlR289kAq/M6vtF4bWjO9cD+a4LVpLd5MRAdZQz+o0c4/ j/XN6xaKpOHI6sqDHxIfEMYTGqdtD6LatPYpSO4hu2BeKUG7H+WjroqByxMUqTqoHoG/ clggBKiuybGPfkqf5cs9BqpXHqKYKEZNjhYW/m/eRUD+HGmkl9hspUChee0lh/gjvftE YxAQ== X-Received: by 10.112.136.132 with SMTP id qa4mr6128908lbb.34.1369300901340; Thu, 23 May 2013 02:21:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.13.226 with HTTP; Thu, 23 May 2013 02:21:01 -0700 (PDT) From: saeedeh motlagh Date: Thu, 23 May 2013 13:51:01 +0430 Message-ID: Subject: file corruption solution (soft-update or ZFS) To: freebsd-questions 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: Thu, 23 May 2013 09:21:42 -0000 hello every body i have a question about fixing file corruption in freebsd. now i have freebsd8.2 and some times file corruption happened on it. this issue has a heavy cost for me and i want to avoid it or fixit it completely. so my question is: is it better to upgrade my freebsd to 9.1 and use soft update or migrate from UFS to ZFS? i heard so much about soft update -that is added in freebsd9.1- which can fix file corruption in acceptable way with low cost but i don't know how much is reliable and efficient. in the other hand, i think migration from UFS to ZFS can be another solution. as i read ZFS is is created to solve all the problems related integrity file system. is it reliable enough in comparison soft-update? now, i want to know which solution is better and why? thanks in advance s.motlagh From owner-freebsd-questions@FreeBSD.ORG Thu May 23 10:16:01 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 42DE697 for ; Thu, 23 May 2013 10:16:01 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) by mx1.freebsd.org (Postfix) with ESMTP id 693CF249 for ; Thu, 23 May 2013 10:16:00 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.7/8.14.7) with ESMTP id r4NAFtfQ067126 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 23 May 2013 12:15:55 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.7/8.14.7/Submit) with ESMTP id r4NAFtJi067123; Thu, 23 May 2013 12:15:55 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Thu, 23 May 2013 12:15:55 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: hrkesh sahu Subject: Re: Fresh installation 9.1 In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="2055831798-1437153719-1369304155=:72982" X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.fig.ol.no Cc: FreeBSD questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 10:16:01 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --2055831798-1437153719-1369304155=:72982 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT On Thu, 23 May 2013 14:26+0530, hrkesh sahu wrote: > Hi Trond, > Thanks a lot for your help and Ipv6 routing is working with FreeBSD OS. > we want to go for Ipv6 certification for our IPv6 stack. > And Ipv6 stack we want to use FreeBSD as one vendor router. > > Now It will be easy for IPv6 interoperability test with freeBSD. > > for Ipv6 interoperability test We need another router device and I am > planning use Ubuntu as IPv6 router. > > Please let me your personal view and if you can help me on this, it will be > grateful. > > How to enable gateway for IPv6 in Ubuntu? Router may require to do > send Neighbor advertisement for Host Neighbor solicitation . I > installed radvd in ubuntu. could you please share radvd.conf of > ubuntu? Hmm. I'm not at all familiar with Ubuntu or any other Linux distro for that matter. I admit, I did try out Debian/amd64 7.0.0 a couple of weeks ago, but I have far more experience with FreeBSD than anything else in the *nix world. Truth to be told, I regard most Linux distros as inferior compared to the *BSDs, due to the Linux distros forcing you to install a whole lot of bloat. It probably boils down to what level you are on, be it Joe Public or someone with more experience when it comes to computers and operating systems. Maybe I'm just misinformed and there exists a Linux distro or two letting the user/administrator chose what to install rather well. > On Wed, May 22, 2013 at 7:53 PM, Trond Endrestøl < > Trond.Endrestol@fagskolen.gjovik.no> wrote: > > > On Wed, 22 May 2013 19:34+0530, hrkesh sahu wrote: > > > > > Hi Trond, > > > Thanks a lot for a clear reply. > > > Could you please tell me Laptop1 ipv6 configuration details? > > > as laptop auto configuration will generate the LL address for a auto ipv6 > > > configuration. > > > For Interface rl0 ipv6 address > > > ifconfig_rl0_ipv6="inet6 fd8f:d6d0:e6e7:100::101 prefixlen 64" , > > > > > > what will be laptop ipv6 address? > > > > It depends solely on the operating system and whether IPv6 privacy is > > in effect. > > > > Normally, the client will perform stateless automatic address > > configuration (SLAAC). It goes pretty much like this: > > > > The router announces the 64 bit prefix, usually every 200 seconds, but > > the client may request a new announcement at any time. The client > > generates a 64 bit interface identifier based on its 48 bit MAC > > address. The client then concatenates the supplied prefix with the > > generated interface identifier. The client then performs duplicate > > address detection (DAD), and if everythings checks out, the client got > > its IPv6 address. > > > > Given this prefix fd8f:d6d0:e6e7:100::/64, and this MAC address > > 50:e5:49:41:4d:70. > > > > The client would then generated this interface id: > > 52e5:49ff:fe41:4d70. > > > > The Universal/Local bit of the MAC address is inverted, and FF:FE is > > placed at center. (It really ought to be FF:FF, but way back in time > > someone misread the IEEE standards regarding conversion from 48 bit > > MAC addresses to EUI64 format. This oversight doesn't really matter.) > > > > The same client would then aqcuire this IPv6 address: > > fd8f:d6d0:e6e7:100:52e5:49ff:fe41:4d70, and perform DAD. > > > > The client gets its IPv6 default route/gateway from the router > > announcement. > > > > Of course, you may configure the IPv6 address and gateway manually on > > the client, say fd8f:d6d0:e6e7:100::1337/64 (client's address) and > > fd8f:d6d0:e6e7:100::101 (gateway's address). > > > > > On Wed, May 22, 2013 at 6:54 PM, Trond Endrestøl < > > > Trond.Endrestol@fagskolen.gjovik.no> wrote: > > > > > > > On Wed, 22 May 2013 18:21+0530, hrkesh sahu wrote: > > > > > > > > > Hi Trond , > > > > > Thanks a lot. > > > > > Now i am able to ping to other network with IPv4 address. > > > > > > > > > > For IPv6 I added these lines in rc.conf - > > > > > first I included - > > > > > ipv6_gateway_enable="YES" > > > > > > > > > > ++> Laptop1( Ipv6 address fe80::224:7eff:fee0:6b51) is connected to > > > > > interface rl0 ( ipv6 address - fe80::21f:b5ff:fe48:9f73) > > > > > While doing ping6 from "fe80::224:7eff:fee0:6b51" to > > > > > "fe80::21f:b5ff:fe48:9f73" - it is working. Neighbor advertisement > > from > > > > > "fe80::21f:b5ff:fe48:9f73" is happening. > > > > > while doing from ping6 from "fe80::224:7eff:fee0:6b51" to other > > interface > > > > > "fe80::21f:d0ff:fe40:8bbd" , then there is no Neighbor advertisement. > > > > > > > > > > After this I included these two lines to rc.conf - > > > > > > > > > > rtadvd_enable="YES" > > > > > rtadvd_interfaces="rl0" > > > > > > > > > > I have not created any file like /etc/rtadvd.conf . Do i need to > > create > > > > > this configuration file? > > > > > if yes, what should be the input to rtadvd.conf for link local > > address? > > > > > > > > > > please find Ipv6 interface details. > > > > > > > > > > > > > > > Ifconfig > > > > > -------------------- > > > > > re0: flags=8843 > > > > Running,Simplex,Multicast> Metric 0 mtu 1500 > > > > > options=8209b > > > > VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE> > > > > > ether 00:1f:d0:40:8b:bd > > > > > inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen 64 scopeid 0x5 > > > > > inet 192.168.200.101 netmask 0xffffff00 broadcast > > 192.168.200.255 > > > > > nd6 options=21 > > > > LINKLOCAL> > > > > > media:Enthernet autoselect (none) > > > > > status:active > > > > > > > > > > rl0: flags=8843 > > > > Running,Simplex,Multicast> Metric 0 mtu 1500 > > > > > options=2008 > > > > > ether 00:10:b5:48:9f:73 > > > > > inet6 fe80::21f:b5ff:fe48:9f73%rl0 prefixlen 64 scopeid 0xa > > > > > inet 192.168.100.101 netmask 0xffffff00 broadcast > > 192.168.100.255 > > > > > nd6 options=21 > > > > > media:Enthernet autoselect (none) > > > > > status: active > > > > > > > > Congratz on achieving active carrier wave on your NICs. > > > > > > > > Right now your system is running with link-local IPv6 addresses. You > > > > may view LL addresses as VLAN local. Packets to such addresses will > > > > never ever be forwarded by a router. > > > > > > > > Instead set up either official IPv6 addresses/subnets or create your > > > > own Unique Local Addresses (ULA) as I wrote previously about. > > > > > > > > Augment your /etc/rc.conf file with, say: > > > > > > > > ifconfig_rl0_ipv6="inet6 fd8f:d6d0:e6e7:100::101 prefixlen 64" > > > > > > > > You may assign the IPv6 address manually to avoid restarting the > > > > networking subsystem or the whole machine: > > > > > > > > ifconfig rl0 inet6 fd8f:d6d0:e6e7:100::101 prefixlen 64 > > > > > > > > Next, create /etc/rtadvd.conf with the following contents: > > > > > > > > rl0:\ > > > > :addr="fd8f:d6d0:e6e7:100::":prefixlen#64: > > > > > > > > If you want IPv6 routing on the re0 interface, you need, say this, in > > > > /etc/rc.conf: > > > > > > > > ifconfig_re0_ipv6="inet6 fd44:13de:a366:200::1 prefixlen 64" > > > > > > > > Assign the IPv6 address manually using: > > > > > > > > ifconfig re0 inet6 fd44:13de:a366:200::1 prefixlen 64 > > > > > > > > And add this to /etc/rtadvd.conf: > > > > > > > > re0:\ > > > > :addr="fd44:13de:a366:200::":prefixlen#64: > > > > > > > > You'll need to restart rtadvd by issuing /etc/rc.d/rtadvd restart. > > > > > > > > Happy hacking. > > > > > > > > > Regards > > > > > Hrisikesh > > > > > > > > > > On Wed, May 22, 2013 at 1:03 PM, Trond Endrestøl < > > > > > Trond.Endrestol@fagskolen.gjovik.no> wrote: > > > > > > > > > > > On Wed, 22 May 2013 12:38+0530, hrkesh sahu wrote: > > > > > > > > > > > > > Hi , > > > > > > > Thanks a lot for this quick reply. > > > > > > > Sorry i missed the " in the end while typing. It's a typo. > > > > > > > I provided the ouput of " nestat -r " and "ifconfig". > > > > > > > > > > > > > > > netstat -r > > > > > > > -------------- > > > > > > > routing tables - > > > > > > > > > > > > > > internet : > > > > > > > ----------- > > > > > > > destination Gateway > > > > > > > Flags Refs > > > > > > > Use Netif Expire > > > > > > > default 192.168.200.1 > > > > > > > UGS 0 > > > > > > > 0 re0 > > > > > > > localhost link#12 > > > > > > > UH 0 > > > > > > > 148 lo0 > > > > > > > 192.168.100.0 link#10 > > > > > > > U 0 > > > > > > > 0 rl0 > > > > > > > 192.168.100.101 link#10 UHS > > > > > > > 0 > > > > > > > 0 lo0 > > > > > > > 192.168.200.0 link#5 > > > > > > > U 0 > > > > > > > 0 re0 > > > > > > > 192.168.200.101 link#5 UHS > > > > > > > 0 > > > > > > > 0 lo0 > > > > > > > > > > > > > > Internet6: > > > > > > > ------------------- > > > > > > > Ipv6 details > > > > > > > > > > > > > > > Ifconfig > > > > > > > -------------------- > > > > > > > re0: flags=8843 Metric 0 > > mtu > > > > 1500 > > > > > > > > > > > > > > > > > > > options=8209b > > > > > > > ether 00:1f:d0:40:8b:bd > > > > > > > inet6 fe80::21f:d0ff:fe40:8bbd%re0 prefixlen 64 scopeid 0x5 > > > > > > > inet 192.168.200.101 netmask 0xffffff00 broadcast > > > > 192.168.200.255 > > > > > > > nd6 options=21 > > > > > > > media:Enthernet autoselect (none) > > > > > > > status: no carrier > > > > > > > > > > > > > > rl0: flags=8843 Metric 0 > > mtu > > > > 1500 > > > > > > > options=2008 > > > > > > > ether 00:10:b5:48:9f:73 > > > > > > > inet6 fe80::21f:b5ff:fe48:9f73%rl0 prefixlen 64 scopeid 0xa > > > > > > > inet 192.168.100.101 netmask 0xffffff00 broadcast > > > > 192.168.100.255 > > > > > > > nd6 options=21 > > > > > > > media:Enthernet autoselect (none) > > > > > > > status: no carrier > > > > > > > > > > > > > > there is a plip0 and lo0. > > > > > > > > > > > > Neither NIC is connected to any equipment, e.g. switch, hub, or > > > > > > computer (status: no carrier). Make sure you can use a straight > > > > > > network cable, else you'll need to get a couple of cross wired > > network > > > > > > cables and use those instead. > > > > > > > > > > > > Next, confirm the sysctl net.inet.ip.forwarding is set to 1 by > > > > > > running the sysctl net.inet.ip.forwarding command. > > > > > > > > > > > > If not, you can set the sysctl to 1 by running the sysctl > > > > > > net.inet.ip.forwarding=1 command, and you probably should inspect > > the > > > > > > /etc/rc.conf file one more time. > > > > > > > > > > > > Once you connect the computer to the two networks, the IPv4 routing > > > > > > should work. If not, come back. > > > > > > > > > > > > > Regards > > > > > > > Hrisikesh > > > > > > > > > > > > > > On Wed, May 22, 2013 at 12:02 PM, Trond Endrestøl < > > > > > > > Trond.Endrestol@fagskolen.gjovik.no> wrote: > > > > > > > > > > > > > > > On Wed, 22 May 2013 11:10+0530, hrkesh sahu wrote: > > > > > > > > > > > > > > > > > Hi All, > > > > > > > > > IPv4 Routing - > > > > > > > > > ------------------------ > > > > > > > > > I disabled the DHCP from rc.conf for both the interface. but > > > > still I > > > > > > am > > > > > > > > not > > > > > > > > > able to route trafic from one interface to another. > > > > > > > > > > > > > > > > > > rc.conf > > > > > > > > > --------------- > > > > > > > > > hostname="idc-freebsd" > > > > > > > > > keymap="hy.armscii-8.kbd" > > > > > > > > > #ifconfig_re0="DHCP" > > > > > > > > > #ifconfig_rl0="DHCP" > > > > > > > > > dumpdev="NO" > > > > > > > > > > > > > > > > > ifconfig_rl0="inet 192.168.100.101 netmask 255.255.255.0 > > > > > > > > > ifconfig_re0="inet 192.168.200.101 netmask 255.255.255.0 > > > > > > > > > > > > > > > > Are the two lines above copied straight from your rc.conf file? > > > > > > > > If so, both lines are missing a " at the end. Please check to > > see > > > > if > > > > > > > > this is needed. > > > > > > > > > > > > > > > > Next, the outputs of the ifconfig command and the netstat -r > > > > command > > > > > > > > should reveal something interesting. Would you please post the > > > > > > > > results from these two commands? > > > > > > > > > > > > > > > > > ipv6_activate_all_interfaces="YES" > > > > > > > > > gateway_enable="YES" > > > > > > > > > default_router="192.168.200.1" > > > > > > > > > > > > > > > > > > I am using FreeBSD - 9.1 Release version > > > > > > > > > > > > > > > > > > I need to communicate between two different subnets. > > > > > > > > > > > > > > > > > > Am i missing anything to enable freebsd as router? > > > > > > > > > Do i need to add a route entry? > > > > > > > > > > > > > > > > > > If possible could you please share rc.conf file with IPv4 > > > > routing? > > > > > > > > > > > > > > > > > > Regards > > > > > > > > > Hrisikesh > > > > > > > > > > > > > > > > > > On Thu, May 9, 2013 at 2:04 PM, Trond Endrestøl < > > > > > > > > > Trond.Endrestol@fagskolen.gjovik.no> wrote: > > > > > > > > > > > > > > > > > > > On Thu, 9 May 2013 12:18+0530, hrkesh sahu wrote: > > > > > > > > > > > > > > > > > > > > > > HI All, > > > > > > > > > > > > > > > > > > > > > > > I have a FreeBSD 9.1 Release installed with TWO NIC > > cards. I > > > > was > > > > > > > > trying > > > > > > > > > > to > > > > > > > > > > > make this FreeBSD machine as a router . > > > > > > > > > > > This is my rc.conf > > > > > > > > > > > -------------------------------- > > > > > > > > > > > ifconfig_rl0 = "inet 192.168.100.101 netmask > > 255.255.255.0" > > > > > > > > > > > ifconfig_re0="inet 192.168.200.101 netmask 255.255.255.0" > > > > > > > > > > > > > > > > > > > > > > gateway_enable = "YES" > > > > > > > > > > > ifconfig_rl0 = "DHCP" > > > > > > > > > > > ifconfig_re0 = "DHCP" > > > > > > > > > > > > > > > > > > > > > > defaultrouter = "192.168.100.1" > > > > > > > > > > > ipv6_activate_all_interfaces = "YES" > > > > > > > > > > > sshd_enable = "YES" > > > > > > > > > > > synchronous_dhclient="YES" > > > > > > > > > > > > > > > > > > > > > > Please help me to establish a IPv4 router. > > > > > > > > > > > Both the interfaces are connected to to different laptops > > > > with a > > > > > > > > static > > > > > > > > > > IP > > > > > > > > > > > address. > > > > > > > > > > > > > > > > > > > > You should place a # in front of the two lines: > > > > > > > > > > > > > > > > > > > > > ifconfig_rl0 = "DHCP" > > > > > > > > > > > ifconfig_re0 = "DHCP" > > > > > > > > > > > > > > > > > > > > Next, you probably shouldn't place spaces before and after > > the > > > > > > equal > > > > > > > > > > signs. > > > > > > > > > > > > > > > > > > > > > Laptop 1 = 192.168.100.102 ( connected to interface rl0) > > > > > > gateway - > > > > > > > > > > > 192.168.100.1 > > > > > > > > > > > > > > > > > > > > > > Laptop 2 = 192.168.200.102 ( connected to interface re0) > > > > > > > > > > > ping from Laptop1 -> rl0 is successful > > > > > > > > > > > but ping from Laptop1 -> re0 is not successful. > > > > > > > > > > > > > > > > > > > > > > After this I want to know also How to make this as IPv6 > > > > router? > > > > > > > > > > > > > > > > > > > > See > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html > > > > > > > > > > . > > > > > > > > > > > > > > > > > > > > You probably should create a ULA prefix or two, and assign > > > > these to > > > > > > > > > > your router interfaces. > > http://www.sixxs.net/tools/grh/ula/might > > > > > > help > > > > > > > > > > you. > > > > > > > > > > > > > > > > > > > > Something along these lines might help you achieve what you > > > > want: > > > > > > > > > > > > > > > > > > > > ifconfig_rl0_ipv6="inet6 fd8f:d6d0:e6e7:100::1 prefixlen > > 64" > > > > > > > > > > ifconfig_re0_ipv6="inet6 fd44:13de:a366:200::1 prefixlen > > 64" > > > > > > > > > > ipv6_gateway_enable="YES" > > > > > > > > > > > > > > > > > > > > Finally you probably should configure and enable Router > > > > > > Advertisement > > > > > > > > > > and Host Auto Configuration as explained in section > > 32.11.6 of > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-ipv6.html > > > > > > > > > > . -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ --2055831798-1437153719-1369304155=:72982-- From owner-freebsd-questions@FreeBSD.ORG Thu May 23 10:40:45 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id E1B2D7EC for ; Thu, 23 May 2013 10:40:45 +0000 (UTC) (envelope-from t.hantzsche@hzdr.de) Received: from mxout.hzdr.de (mxout.hzdr.de [149.220.4.85]) by mx1.freebsd.org (Postfix) with ESMTP id 732A2396 for ; Thu, 23 May 2013 10:40:45 +0000 (UTC) Received: from fz-rossendorf.de (cg.hzdr.de [149.220.4.66]) by mxout.hzdr.de (Postfix) with ESMTP id EE4AABC87 for ; Thu, 23 May 2013 12:13:13 +0200 (CEST) Received: from phoebe.fz-rossendorf.de ([149.220.39.107] verified) by cg2.fz-rossendorf.de (CommuniGate Pro SMTP 5.4.9) with ESMTPS id 7789600 for freebsd-questions@freebsd.org; Thu, 23 May 2013 12:13:13 +0200 Date: Thu, 23 May 2013 12:13:13 +0200 (CEST) From: Torsten Hantzsche To: freebsd-questions Subject: Re: setup journaling for root partition In-Reply-To: Message-ID: References: <519B4F11.9030309@ulb.ac.be> <519B87BC.1010301@qeng-ho.org> <519B9042.5050704@qeng-ho.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 10:40:45 -0000 On Thu, 23 May 2013, s m wrote: > thanks, > > i do as you said, but after loading gjournal, dd says "operation not > permitted". > gjournal clear says "operation not permitted" too and therefore "gjournal > label" is not done and say previous error (gjournal cannot clear metadata > on ad3s1a: operation not permitted). and -v return no extra log. > > i don't know why i can not do any thing in fixit mode:( > > is this a true procedure? i mean maybe i should do any thing else because > freebsd handbook set journaling for user partition in single user mode not > in fixit mode. i test it and it works well, but for root partition i can > not do the same because root partition can not be unmount in single user > mode. > > any hints or comments are really appreciated. > thanks in advance > Hi, i remember having similar error messages with glabel some years ago. The solution was found in "man 4 geom" in section DIAGNOSTICS: I had to set "kern.geom.debugflags=0x10" to enable the "foot shooting" mode. Maybe this could help you too? Torsten From owner-freebsd-questions@FreeBSD.ORG Thu May 23 11:02:42 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 5B73BD47 for ; Thu, 23 May 2013 11:02:42 +0000 (UTC) (envelope-from ludovit.koren@gmail.com) Received: from mail-ea0-x22a.google.com (mail-ea0-x22a.google.com [IPv6:2a00:1450:4013:c01::22a]) by mx1.freebsd.org (Postfix) with ESMTP id E99146B1 for ; Thu, 23 May 2013 11:02:41 +0000 (UTC) Received: by mail-ea0-f170.google.com with SMTP id f15so1831397eak.29 for ; Thu, 23 May 2013 04:02:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:message-id:to:subject:from:x-mailer:mime-version:content-type :content-transfer-encoding; bh=hvtym7kJ4RweXg9CiX1JzPOImbYvltIlVMcPVBy71vw=; b=LwCW0JFVN2sapXD8pM4gfFIPI5YSx0D0Ewd3XAnHG0WQG0V7iLOsfJogZ3icTY3io0 olhHTvlSg8bKWTzJ4R3I3Y9cIEXNnt8rKuCWhDxLhAuKvfVuOJzLWWmrcGEIBzfJ1oFg JugNxkBUFwa9N2u+epCzRxmhPdmj6rXjPw9xmjyWxugWwVVnN3vnMu8JUHbJeEWvauzN jZ1RB+kBl3TxMZlQuDuSKgjadoW0hAi20DSyFb1YIxdbkMdjPUkUhgjoI5zDB7Kyi3qQ rvGq4dOKlrVw5be7SJXa+G/AgMcolChvvVbCq85UJfi3gjDyRr+VGQNVN/mHo64xpPi8 TgpA== X-Received: by 10.15.93.193 with SMTP id w41mr30448944eez.22.1369306961072; Thu, 23 May 2013 04:02:41 -0700 (PDT) Received: from jedi.localdomain (dial-109-230-45-217.orange.sk. [109.230.45.217]) by mx.google.com with ESMTPSA id s43sm15881786eem.13.2013.05.23.04.02.38 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 04:02:40 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by jedi.localdomain (Postfix) with ESMTP id 71D9E11402; Thu, 23 May 2013 13:02:37 +0200 (CEST) Date: Thu, 23 May 2013 13:02:37 +0200 (CEST) Message-Id: <20130523.130237.1305564732336599906.koren@tempest.sk> To: freebsd-questions@freebsd.org Subject: HP 2570p installation From: Ludovit Koren X-Mailer: Mew version 6.5 on Emacs 23.4 / Mule 6.0 (HANACHIRUSATO) 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, 23 May 2013 11:02:42 -0000 Hi, I bought HP Elitebook 2570p(B6Q08EA). I checked everything, if it is compatible, before I bought it. Unfortunately, I cannot install 9.1 RELEASE, nor 10.0 CURRENT. I get the following: BTX loader 1.00 BTX version is 1.02 Consoles: internal video/keyboard BIOS drive C: is disk0 BIOS drive D: is disk1 BIOS 631kB/523264kB available memory FreeBSD/x86 bootstrap loader, Revision 1.1 (root@snap.freebsd.org, Mon May 13 00:38:05 UTC 2013) | and the system beeps and freezes. I added hint.acpi.0.disabled="1" to the file /boot/loader.conf with no effect. Please, could you point me how to find out what causes the problem - even the way of debugging? Thank you very much. regards, lk From owner-freebsd-questions@FreeBSD.ORG Thu May 23 11:04:56 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3C41BF1B for ; Thu, 23 May 2013 11:04:56 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ea0-x22c.google.com (mail-ea0-x22c.google.com [IPv6:2a00:1450:4013:c01::22c]) by mx1.freebsd.org (Postfix) with ESMTP id C13BF75C for ; Thu, 23 May 2013 11:04:55 +0000 (UTC) Received: by mail-ea0-f172.google.com with SMTP id d10so1832780eaj.31 for ; Thu, 23 May 2013 04:04:54 -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=ra3EKNn7pI+cMlrY0X6nbysWcNmheo7HYky7DZvHn6g=; b=g+JUUbEJRtVs969W/0NJ0V6GDm8Jr33cQGIGgu/DayiKUSQfj/suJK45DbvR85c2u3 Ak6n7XqZ0ISTkEKZ61fDOVqDPA+v8furQIjJ92jUyYiOtqrMQIaMsTAn6gHdCoHutVj8 x7OADsM/d38UDAmgtmyPIg0tqgA3hiVLi9mN74AGNuoriSdB0PIKrtbBE473OCyY6iQV 9DPjBEVXjqC5BqPu0WOZURkY6mK2+44S/bbRwzKzoV2km00nTRwlFKa/GZj6aZUTUFUy 0AnVz+rqYvLOSnbkIsUdjjP7A13Tex17tucfkUw0GkUk1IiH3Pxz82wiV5HClqG6hB58 ZkbQ== X-Received: by 10.15.108.6 with SMTP id cc6mr30034828eeb.28.1369307094812; Thu, 23 May 2013 04:04:54 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPSA id s43sm15892688eem.13.2013.05.23.04.04.52 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Thu, 23 May 2013 04:04:53 -0700 (PDT) Date: Thu, 23 May 2013 12:04:44 +0100 From: RW To: freebsd-questions@freebsd.org Subject: Re: setup journaling for root partition Message-ID: <20130523120444.3c3ab196@gumby.homeunix.com> In-Reply-To: References: <519B40D8.2090809@ulb.ac.be> <519B4F11.9030309@ulb.ac.be> <519B87BC.1010301@qeng-ho.org> <519B9042.5050704@qeng-ho.org> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.17; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 11:04:56 -0000 On Thu, 23 May 2013 09:57:50 +0430 s m wrote: > my problem is, i can not run gjournal command for root partition in > fixit mode nor single user mode. Just to check, you did boot into single user mode rather than shut-down into single user mode? From owner-freebsd-questions@FreeBSD.ORG Thu May 23 11:39:54 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8D34D96D for ; Thu, 23 May 2013 11:39:54 +0000 (UTC) (envelope-from erichsfreebsdlist@alogt.com) Received: from alogt.com (alogt.com [69.36.191.58]) by mx1.freebsd.org (Postfix) with ESMTP id 5DBBE910 for ; Thu, 23 May 2013 11:39:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=alogt.com; s=default; h=Content-Transfer-Encoding:Content-Type:Mime-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=HaQpHAtFTvtbZwv8LrqYO6aFys+mRZwTN1XIXxKHV80=; b=RkY37E1IXUpeZEGMCnrFBp/IG56ZnMtyI9V6p8QjcE58/YsJt87SB7ygAZjZUTl1wk+FjOYimhu34fdU36GH6IDzC6EyGMPq1BJlCHkeSdPEr5nSDu/VLGfKoIOeQkTsvrBOm75ipEDjNooiB3PVfATrEg8jFVdPOD+iZED6Lf8=; Received: from [122.129.203.50] (port=32457 helo=X220.ovitrap.com) by sl-508-2.slc.westdc.net with esmtpsa (SSLv3:DHE-RSA-AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1UfTs4-003k2l-50; Thu, 23 May 2013 05:39:48 -0600 Date: Thu, 23 May 2013 18:39:44 +0700 From: Erich Dollansky To: Ludovit Koren Subject: Re: HP 2570p installation Message-ID: <20130523183944.3456d581@X220.ovitrap.com> In-Reply-To: <20130523.130237.1305564732336599906.koren@tempest.sk> References: <20130523.130237.1305564732336599906.koren@tempest.sk> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.6; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - sl-508-2.slc.westdc.net X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - alogt.com X-Get-Message-Sender-Via: sl-508-2.slc.westdc.net: authenticated_id: erichsfreebsdlist@alogt.com X-Source: X-Source-Args: X-Source-Dir: Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 11:39:54 -0000 Hi, it might be a good idea to tell us from where you booted. The internal disk, an USB stick, a USB drive ... And of course, what was on that media. Erich On Thu, 23 May 2013 13:02:37 +0200 (CEST) Ludovit Koren wrote: > > Hi, > > I bought HP Elitebook 2570p(B6Q08EA). I checked everything, if it is > compatible, before I bought it. Unfortunately, I cannot install 9.1 > RELEASE, nor 10.0 CURRENT. I get the following: > > BTX loader 1.00 BTX version is 1.02 > Consoles: internal video/keyboard > BIOS drive C: is disk0 > BIOS drive D: is disk1 > BIOS 631kB/523264kB available memory > > FreeBSD/x86 bootstrap loader, Revision 1.1 > (root@snap.freebsd.org, Mon May 13 00:38:05 UTC 2013) > | > > > and the system beeps and freezes. I added hint.acpi.0.disabled="1" to > the file /boot/loader.conf with no effect. Please, could you point me > how to find out what causes the problem - even the way of debugging? > > Thank you very much. > > regards, > > lk > _______________________________________________ > 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 Thu May 23 11:44:15 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 358B7C0F for ; Thu, 23 May 2013 11:44:15 +0000 (UTC) (envelope-from sam.gh1986@gmail.com) Received: from mail-lb0-f179.google.com (mail-lb0-f179.google.com [209.85.217.179]) by mx1.freebsd.org (Postfix) with ESMTP id AD48B958 for ; Thu, 23 May 2013 11:44:14 +0000 (UTC) Received: by mail-lb0-f179.google.com with SMTP id r11so3272727lbv.10 for ; Thu, 23 May 2013 04:44:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=PrMTFQyUrllvfnMmpgO4brsZkw49Pu58poFFMBl5LR0=; b=GFCgBF+I8YCAQHaugeB/FKqHZMEX0tDubkl0x0Nl7vKa2W329EObsdkXB0nXqTz92K 0Xg2YhbB5kyxO4uxg64OcmgLxwFRDXyPLUDVvzpwiQNITUCTuA5kUdhjbw5J9CI/SYFg Y8THj/tcxQ05dGUJ+3PRnDFDOftChStlMG9p5tPdQTLkWv/skiN5hZFY/JjUOZnT0Umz 9jnBKhF0qj4LrglRTgTS1Ha2thpU0dVoX1yvkn+bcDMhoQUXIGNiAjpm/sS9YzL/mFJh p+0tDsTLxmvjtoQlIAkw7r1aPG/0pzm8tgqgJWLIfykU6WiQa91rSbTSLZxtPDtlidRg XtIw== MIME-Version: 1.0 X-Received: by 10.112.21.234 with SMTP id y10mr6337940lbe.53.1369309447688; Thu, 23 May 2013 04:44:07 -0700 (PDT) Received: by 10.112.2.70 with HTTP; Thu, 23 May 2013 04:44:07 -0700 (PDT) In-Reply-To: <20130523120444.3c3ab196@gumby.homeunix.com> References: <519B40D8.2090809@ulb.ac.be> <519B4F11.9030309@ulb.ac.be> <519B87BC.1010301@qeng-ho.org> <519B9042.5050704@qeng-ho.org> <20130523120444.3c3ab196@gumby.homeunix.com> Date: Thu, 23 May 2013 16:14:07 +0430 Message-ID: Subject: Re: setup journaling for root partition From: s m To: RW Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 11:44:15 -0000 thanks Torsten but it can't help me:(( and RW, yes i can boot to single user mode, but i can't do anything there!!! i mean when i run command "gjournal label -f ad3s1a ad3s1g" some errors returned and all my partition disappear!!!!!! what do you do if you want to set a journal partition for your root partition? can you tell me step by step to compare it with my steps? i really don't know how to set a journal partition for my root:(( i think it is so simple but it make me busy more than a week:( On Thu, May 23, 2013 at 3:34 PM, RW wrote: > On Thu, 23 May 2013 09:57:50 +0430 > s m wrote: > > > > my problem is, i can not run gjournal command for root partition in > > fixit mode nor single user mode. > > Just to check, you did boot into single user mode rather than shut-down > into single user mode? > _______________________________________________ > 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 Thu May 23 11:52:52 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D3D2AF03 for ; Thu, 23 May 2013 11:52:52 +0000 (UTC) (envelope-from jack.mclauren@yahoo.com) Received: from nm7.bullet.mail.bf1.yahoo.com (nm7.bullet.mail.bf1.yahoo.com [98.139.212.166]) by mx1.freebsd.org (Postfix) with SMTP id 11ACF9D4 for ; Thu, 23 May 2013 11:52:50 +0000 (UTC) Received: from [98.139.212.148] by nm7.bullet.mail.bf1.yahoo.com with NNFMP; 23 May 2013 11:52:43 -0000 Received: from [98.139.212.243] by tm5.bullet.mail.bf1.yahoo.com with NNFMP; 23 May 2013 11:52:43 -0000 Received: from [127.0.0.1] by omp1052.mail.bf1.yahoo.com with NNFMP; 23 May 2013 11:52:43 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 842970.58064.bm@omp1052.mail.bf1.yahoo.com Received: (qmail 72497 invoked by uid 60001); 23 May 2013 11:52:43 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1369309963; bh=L9+KOKhc2n11TLBfsczosTws13H2dB9PQ5M0AVTFKF8=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=pnJi/5sU1kkhKmMTM6iE7JEbleFe28WxlyRp7LpCKA6fIqh1WIB5Bb17ttuqK+h2m2l+ANQeZk2GTQB4JhpnLsI+NSVpHxK9jGP/CwXH5XcXOlAeX+Mh0wWj/OkkNj12H72Sb1xSsTBhCMMrJOG4VJJ0ojPry8rmlfhxprFddwA= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:Message-ID:Date:From:Reply-To:Subject:To:MIME-Version:Content-Type; b=5avKuoWjEv+8e03Hi1fvyCgCSVDMJ7rQ0GMagF0sKw+vA6xtByNdzz43bsBIoL50uREipjbrY9sa/P5JZTthxsZRbnrCYkS9U8AqwcH0pq2BLenfciGLQZhnvTDs9RNxU4ZFmYvOFcuoeR0yi2ut6EqEd3zVL4eHmBG4FRjJeII=; X-YMail-OSG: bv3P3kkVM1kKtXw9jrXS2o1_RM9Dq0HMkg66KUidAiO8RU0 2SIxedgXoVT9JKgsr3G7a_OASO1zXXtIfxC.31hTOtKWGWMxk.X9asz8fNS9 IF4acAYlAKwcMLtADuXpdYAwcgTRD70KL_VY7n9lG037NjlxXw6LnFi9L4a3 vWDa0bBSjm5LS0OkeiXNyF.yo6YjqSbXNTtYAEPQrgIJSW6QKre6HTvU16Z1 ZHzVZF5WCRG7LtZPzTEmOlNH874UOkhsUZycIzgbQjX01I4rLOz53TkutwGF ugKvGzQ0mUum5G7wwHtYRi1SqwCpe8LN571ZX9r2.k7saG_Fa_oDKb96u2E. H.JJBZdkekpAi2n9BQvwqvpEwJNtCfGWZ_Apvh6Mw3axhNOic2LTaumf.phE wGUDlAR23CWq.3q5u_9giFtXiAOnWvlHnvhAbQVWoM4XRvINHIITFvMZDHkU .Zsoy_USqfr4- Received: from [89.165.120.140] by web160101.mail.bf1.yahoo.com via HTTP; Thu, 23 May 2013 04:52:43 PDT X-Rocket-MIMEInfo: 002.001, SGkKSSdtIHRyeWluZyB0byBtYWtlIG15IG93biByZWxlYXNlIC4uLgoKIyBjZCAvdXNyL3NyYwojIG1ha2UgYnVpbGRrZXJuZWwgS0VSTkNPTkY9TVlLRVJOCiMgbWFrZSAtajQgYnVpbGR3b3JsZAojIGNkIHJlbGVhc2UvCiMgbWFrZSByZWxlYXNlIE5PRE9DPVlFUyBOT1BPUlRTPVlFUyBOT1NSQz1ZRVMKCmFuZCB0aGF0J3MgdGhlIGVycm9yIHdoaWxlIG1ha2luZyByZWxlYXNlOgoKCmZpbmQgLy91c3Ivb2JqL3Vzci9zcmMvcmVsZWFzZS9kaXN0L2RvYyAtZW1wdHkgLWRlbGV0ZQpmaW5kOiAtZGVsZXRlOiABMAEBAQE- X-Mailer: YahooMailWebService/0.8.144.546 Message-ID: <1369309963.43730.YahooMailNeo@web160101.mail.bf1.yahoo.com> Date: Thu, 23 May 2013 04:52:43 -0700 (PDT) From: Jack Mc Lauren Subject: make release fails To: FreeBSD Global Users Mailing List MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Jack Mc Lauren List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 11:52:52 -0000 Hi=0AI'm trying to make my own release ...=0A=0A# cd /usr/src=0A# make buil= dkernel KERNCONF=3DMYKERN=0A# make -j4 buildworld=0A# cd release/=0A# make = release NODOC=3DYES NOPORTS=3DYES NOSRC=3DYES=0A=0Aand that's the error whi= le making release:=0A=0A=0Afind //usr/obj/usr/src/release/dist/doc -empty -= delete=0Afind: -delete: //usr/obj/usr/src/release/dist/doc: relative path p= otentially not=0A=A0safe=0A*** [distributeworld] Error code 1=0A=0AStop in = /usr/src.=0A*** [distributeworld] Error code 1=0A=0AStop in /usr/src.=0A***= [base.txz] Error code 1=0A=0AStop in /usr/src/release.=0A*** [release] Err= or code 1=0A=0AStop in /usr/src/release=0A=0AThese are contents of /etc/src= .conf file :=0A=0AWITHOUT_BLUETOOTH=3D"YES"=0AWITHOUT_EXAMPLES=3D"YES"=0AWI= THOUT_FLOPPY=3D"YES"=0AWITHOUT_GAMES=3D"YES"=0AWITHOUT_MAN=3D"YES"=0AWITHOU= T_MAN_UTILS=3D"YES"=0AWITHOUT_SHAREDOCS=3D"YES"=0AWITHOUT_WIRELESS=3D"YES"= =0AWITHOUT_WIRELESS_SUPPORT=3D"YES"=0AWITHOUT_AT=3D"YES"=0AWITHOUT_CALENDAR= =3D"YES"=0AWITHOUT_INFO=3D"YES"=0AWITHOUT_LOCALES=3D"YES"=0AWITHOUT_ZFS=3D"= YES"=0AWITHOUT_BSD_CPIO=3D"YES"=0AWITHOUT_CTM=3D"YES"=0AWITHOUT_DICT=3D"YES= "=0AWITHOUT_GDB=3D"YES"=0AWITHOUT_GNU=3D"YES"=0AWITHOUT_GROFF=3D"YES"=0AWIT= HOUT_HTML=3D"YES"=0AWITHOU_INFO=3D"YES"=0AWITHOUT_LPR=3D"YES"=0AWITHOUT_MAI= L=3D"YES"=0AWITHOUT_PORTSNAP=3D"YES"=0AWITHOUT_QUOTAS=3D"YES"=0AWITHOUT_RCS= =3D"YES"=0AWITHOUT_SYSINSTALL=3D"YES"=0AWITHOUT_BIND=3D"YES"=0AWITHOUT_BIND= _XML=3D"YES"=0AWITHOUT_BIND_IDN=3D"YES"=0AWITHOUT_BIND_SIGCHASE=3D"YES"=0AW= ITHOUT_BIND_LARGE_FILE=3D"YES"=0AWITHOUT_FREEBSD_UPDATE=3D"YES"=0AWITHOUT_R= ESCUE=3D"YES"=0A=0AWhat's wrong with this?=0AThanks in advance From owner-freebsd-questions@FreeBSD.ORG Thu May 23 11:53:56 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id B1D70FBD for ; Thu, 23 May 2013 11:53:56 +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 549EB9EE for ; Thu, 23 May 2013 11:53:56 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r4NBrm4j099211; Thu, 23 May 2013 05:53:48 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r4NBrmfp099208; Thu, 23 May 2013 05:53:48 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 23 May 2013 05:53:48 -0600 (MDT) From: Warren Block To: Torsten Hantzsche Subject: Re: setup journaling for root partition In-Reply-To: Message-ID: References: <519B4F11.9030309@ulb.ac.be> <519B87BC.1010301@qeng-ho.org> <519B9042.5050704@qeng-ho.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Thu, 23 May 2013 05:53:48 -0600 (MDT) 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, 23 May 2013 11:53:56 -0000 On Thu, 23 May 2013, Torsten Hantzsche wrote: > On Thu, 23 May 2013, s m wrote: > > >> thanks, >> >> i do as you said, but after loading gjournal, dd says "operation not >> permitted". >> gjournal clear says "operation not permitted" too and therefore "gjournal >> label" is not done and say previous error (gjournal cannot clear metadata >> on ad3s1a: operation not permitted). and -v return no extra log. >> >> i don't know why i can not do any thing in fixit mode:( >> >> is this a true procedure? i mean maybe i should do any thing else because >> freebsd handbook set journaling for user partition in single user mode not >> in fixit mode. i test it and it works well, but for root partition i can >> not do the same because root partition can not be unmount in single user >> mode. >> >> any hints or comments are really appreciated. >> thanks in advance >> > > Hi, > > i remember having similar error messages with glabel some years ago. > The solution was found in "man 4 geom" in section DIAGNOSTICS: > > I had to set "kern.geom.debugflags=0x10" to enable the "foot shooting" mode. > > Maybe this could help you too? For certain values of "help". :) If geom won't let you write to part of a disk, it's because it thinks that part of the disk is already in use, usually by a mounted filesystem. Overwriting part of a filesystem is not guaranteed to lose data. But why take the chance? Better to boot from mfsBSD (http://mfsbsd.vx.sk/). Possibly better yet to use SUJ, which can be enabled with tunefs with the root partition mounted read-only in single user mode. SUJ has its own problems, though. From owner-freebsd-questions@FreeBSD.ORG Thu May 23 11:58:46 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 335EA209 for ; Thu, 23 May 2013 11:58:46 +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 ECF2BA49 for ; Thu, 23 May 2013 11:58:45 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r4NBwj9t099251; Thu, 23 May 2013 05:58:45 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r4NBwjmE099248; Thu, 23 May 2013 05:58:45 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 23 May 2013 05:58:45 -0600 (MDT) From: Warren Block To: saeedeh motlagh Subject: Re: file corruption solution (soft-update or ZFS) In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Thu, 23 May 2013 05:58:45 -0600 (MDT) 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, 23 May 2013 11:58:46 -0000 On Thu, 23 May 2013, saeedeh motlagh wrote: > hello every body > > i have a question about fixing file corruption in freebsd. > > now i have freebsd8.2 and some times file corruption happened on it. this > issue has a heavy cost for me and i want to avoid it or fixit it > completely. so my question is: > > is it better to upgrade my freebsd to 9.1 and use soft update or migrate > from UFS to ZFS? That's a judgement call, which means "it depends". > i heard so much about soft update -that is added in freebsd9.1- which can > fix file corruption in acceptable way with low cost but i don't know how > much is reliable and efficient. Several things: Soft updates have been around for quite a while. Soft updates journaling is the new addition. Neither of these address file corruption. Their purpose is to make sure the filesystem does not get corrupted, but individual files could still contain bad data. > in the other hand, i think migration from UFS to ZFS can be another > solution. as i read ZFS is is created to solve all the problems related > integrity file system. is it reliable enough in comparison soft-update? > > now, i want to know which solution is better and why? Again, it depends. Does the target system have enough RAM for ZFS? If the file corruption is due to a hardware problem or an application writing bad data, no filesystem can prevent that. From owner-freebsd-questions@FreeBSD.ORG Thu May 23 12:14:54 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8BD807CE for ; Thu, 23 May 2013 12:14:54 +0000 (UTC) (envelope-from saeedeh.motlagh@gmail.com) Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com [209.85.217.181]) by mx1.freebsd.org (Postfix) with ESMTP id 15F0CB56 for ; Thu, 23 May 2013 12:14:53 +0000 (UTC) Received: by mail-lb0-f181.google.com with SMTP id w20so3314910lbh.12 for ; Thu, 23 May 2013 05:14:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=avNfljPWfvkP0dKi3guyo8BkvdznKDRKhct9tVtk6WU=; b=uMKkAAcoa3KEI7eRXttHtCQelzBFTPYafHWV0yYaK3IuGtioVmb2c815WX1VoP1NL6 SIbeNS9WnILSbHesxGcqKcHn8O874z8ar+miQdIqXwn6BT+gXD0Hq5QY9VoahfxzYo9i 1Z3zsOqgWuIsSaqRL5TrSkObaKTbI6qoTZW1LEPUrSwwIet8db3cEZuq+Myiqq14hnCV I86vofU1EKOCZNLjXXzLLfemlw2f5TSI5JqGGSkFGUvLHUb8JD1RMHtQvpMnHZB7+iYE jfcz24u49hDfDMaOAkMYL9y1X3jMZzu1VsXk2dW1oYkxILUSy5FFHn4Y6AESHDEqUhsF 79cA== X-Received: by 10.112.19.9 with SMTP id a9mr6298342lbe.80.1369311286627; Thu, 23 May 2013 05:14:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.112.149.33 with HTTP; Thu, 23 May 2013 05:14:06 -0700 (PDT) In-Reply-To: References: From: saeedeh motlagh Date: Thu, 23 May 2013 16:44:06 +0430 Message-ID: Subject: Re: file corruption solution (soft-update or ZFS) To: Warren Block Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 12:14:54 -0000 thanks for your reply. you know i have a sensitive server and unfortunately it is located some where that power outage happens much. so i want guarantee my data and avoid data lost and file corruption in my server. i do not have any problem in RAM and hardware. i don't know which approach is more suitable for my server. using soft-update or ZFS. please help me to select the best one. thank you so much On Thu, May 23, 2013 at 4:28 PM, Warren Block wrote: > On Thu, 23 May 2013, saeedeh motlagh wrote: > > hello every body >> >> i have a question about fixing file corruption in freebsd. >> >> now i have freebsd8.2 and some times file corruption happened on it. this >> issue has a heavy cost for me and i want to avoid it or fixit it >> completely. so my question is: >> >> is it better to upgrade my freebsd to 9.1 and use soft update or migrate >> from UFS to ZFS? >> > > That's a judgement call, which means "it depends". > > > i heard so much about soft update -that is added in freebsd9.1- which can >> fix file corruption in acceptable way with low cost but i don't know how >> much is reliable and efficient. >> > > Several things: > > Soft updates have been around for quite a while. > Soft updates journaling is the new addition. > Neither of these address file corruption. Their purpose is to make sure > the filesystem does not get corrupted, but individual files could still > contain bad data. > > > in the other hand, i think migration from UFS to ZFS can be another >> solution. as i read ZFS is is created to solve all the problems related >> integrity file system. is it reliable enough in comparison soft-update? >> >> now, i want to know which solution is better and why? >> > > Again, it depends. Does the target system have enough RAM for ZFS? If > the file corruption is due to a hardware problem or an application writing > bad data, no filesystem can prevent that. > -- *Sa.M* From owner-freebsd-questions@FreeBSD.ORG Thu May 23 12:18:33 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id D49F5BCA for ; Thu, 23 May 2013 12:18:33 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) by mx1.freebsd.org (Postfix) with ESMTP id 619A2BFF for ; Thu, 23 May 2013 12:18:33 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.7/8.14.7) with ESMTP id r4NCIUp4068022 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 23 May 2013 14:18:30 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.7/8.14.7/Submit) with ESMTP id r4NCIU0J068019; Thu, 23 May 2013 14:18:30 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Thu, 23 May 2013 14:18:30 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: saeedeh motlagh Subject: Re: file corruption solution (soft-update or ZFS) In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="2055831798-1052084753-1369311510=:72982" X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.fig.ol.no Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 12:18:33 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --2055831798-1052084753-1369311510=:72982 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT On Thu, 23 May 2013 16:44+0430, saeedeh motlagh wrote: > thanks for your reply. > > you know i have a sensitive server and unfortunately it is located some > where that power outage happens much. so i want guarantee my data and avoid > data lost and file corruption in my server. Maybe you should also invest in a decent UPS. > i do not have any problem in RAM and hardware. > > i don't know which approach is more suitable for my server. using > soft-update or ZFS. please help me to select the best one. > > thank you so much > > On Thu, May 23, 2013 at 4:28 PM, Warren Block wrote: > > > On Thu, 23 May 2013, saeedeh motlagh wrote: > > > > hello every body > >> > >> i have a question about fixing file corruption in freebsd. > >> > >> now i have freebsd8.2 and some times file corruption happened on it. this > >> issue has a heavy cost for me and i want to avoid it or fixit it > >> completely. so my question is: > >> > >> is it better to upgrade my freebsd to 9.1 and use soft update or migrate > >> from UFS to ZFS? > > > > That's a judgement call, which means "it depends". > > > >> i heard so much about soft update -that is added in freebsd9.1- which can > >> fix file corruption in acceptable way with low cost but i don't know how > >> much is reliable and efficient. > > > > Several things: > > > > Soft updates have been around for quite a while. > > Soft updates journaling is the new addition. > > Neither of these address file corruption. Their purpose is to make sure > > the filesystem does not get corrupted, but individual files could still > > contain bad data. > > > > in the other hand, i think migration from UFS to ZFS can be another > >> solution. as i read ZFS is is created to solve all the problems related > >> integrity file system. is it reliable enough in comparison soft-update? > >> > >> now, i want to know which solution is better and why? > > > > Again, it depends. Does the target system have enough RAM for ZFS? If > > the file corruption is due to a hardware problem or an application writing > > bad data, no filesystem can prevent that. -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ --2055831798-1052084753-1369311510=:72982-- From owner-freebsd-questions@FreeBSD.ORG Thu May 23 12:33:01 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id ABAD94A6 for ; Thu, 23 May 2013 12:33:01 +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 6FFEAD60 for ; Thu, 23 May 2013 12:33:01 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.7/8.14.7) with ESMTP id r4NCX00r099598; Thu, 23 May 2013 06:33:00 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.7/8.14.7/Submit) with ESMTP id r4NCX0ka099595; Thu, 23 May 2013 06:33:00 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 23 May 2013 06:33:00 -0600 (MDT) From: Warren Block To: saeedeh motlagh Subject: Re: file corruption solution (soft-update or ZFS) In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (wonkity.com [127.0.0.1]); Thu, 23 May 2013 06:33:00 -0600 (MDT) 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, 23 May 2013 12:33:01 -0000 On Thu, 23 May 2013, saeedeh motlagh wrote: > you know i have a sensitive server and unfortunately it is located some where that power outage happens much. so i want guarantee my data and avoid data lost and file corruption in my > server. > > i do not have any problem in RAM and hardware. The lack of a UPS can be considered a hardware problem. > i don't know which approach is more suitable for my server. using soft-update or ZFS. please help me to select the best one. Please don't top-post, as it makes responding to your message more difficult. One thing mentioned earlier is that ZFS wants lots of memory. 4G-8G minimum, some might say as much as the server will hold. But resilient filesystems still can't prevent data corruption. Fix the power problem with a UPS. From owner-freebsd-questions@FreeBSD.ORG Thu May 23 13:13:45 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 518454AF for ; Thu, 23 May 2013 13:13:45 +0000 (UTC) (envelope-from paul@kraus-haus.org) Received: from mail-vb0-x229.google.com (mail-vb0-x229.google.com [IPv6:2607:f8b0:400c:c02::229]) by mx1.freebsd.org (Postfix) with ESMTP id 126F5FFD for ; Thu, 23 May 2013 13:13:42 +0000 (UTC) Received: by mail-vb0-f41.google.com with SMTP id p14so2122865vbm.14 for ; Thu, 23 May 2013 06:13:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=4FmOb+x2CEnjt1Q1Erg3eZCLizyxGEgqIJZwKbQi9NU=; b=TU0DpWwtuKiS6i/zq7H4GNqsXBICOjsZwwqZ5DKwmraidy4Cwx5406GDJRNOC1TXxk QUCMhcSd7b/mTNaA36OO5w3hkwLyPOwwQGfzOJKdCg/sG/mIMhdRjRhI/rvh4vFQsDzr kHSD3adZTMPRAAImex6xYFCXZXup85wH+qCJgwXEFwH708pt8OagIvCrlKC2lVk3rrHu Nq5n6Z2KpyekFCVGAW4sh9/TgW0MK7jUjsJiwltgpUCIK11SDCob/+Su9kmQiNT6/8qa Za2eRYVHp3o4DEtmc07nB+Z5EPbi0q92KYUyNwSzuDmqqWNIT0H1wgaEQFX8Pm9Kjx7z lUBg== X-Received: by 10.52.171.135 with SMTP id au7mr4372411vdc.126.1369314821364; Thu, 23 May 2013 06:13:41 -0700 (PDT) Received: from [192.168.2.66] ([96.236.21.119]) by mx.google.com with ESMTPSA id r18sm4562159vdu.10.2013.05.23.06.13.40 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 06:13:40 -0700 (PDT) Subject: Re: ZFS install on a partition Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset=iso-8859-1 From: Paul Kraus In-Reply-To: <20130523085333.GC1426@pcjas.obspm.fr> Date: Thu, 23 May 2013 09:13:39 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <5FB78660-EDA4-40DB-8A0D-B0DE23A0FB6C@kraus-haus.org> <20130523085333.GC1426@pcjas.obspm.fr> To: Albert Shih X-Mailer: Apple Mail (2.1503) X-Gm-Message-State: ALoCoQnVskEuD4ECNWh3LuSGPSpESHGwf1VlxNQ/cUsLkM8SoHubQPPs6BeNc+9QqYffiqrEzIGI Cc: Liste FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 13:13:45 -0000 On May 23, 2013, at 4:53 AM, Albert Shih wrote: > Have you ever try to update a ZFS Pool on 9.0 to 9.1 ?=20 I recently upgraded my home server from 9.0 to 9.1, actually, I did = exported my data zpool (raidZ2), did a clean installation of 9.1, then = imported my data zpool. Everything went perfectly. zpool upgrade did NOT = indicate that there was a newer version of zpool so I did not even have = to upgrade the on-disk zpool format (currently 28). > I've a server with a big zpool in 9.0 I'm wonder if it's good idea to > upgrade to 9.1. If I lost the data I'm close to dead person. If I = thinking > to upgrade to 9.1 it's because I got small issue about NFSD, LACP. My data zpool is not that big, only five 1TB drives in a raidZ2 for a = net capacity of about 3TB, plus one 1TB hot spare. My suggestion is to do the following (which is how I did the "upgrade"): 1) on a different physical system install 9.1, get the OS configured how = you want it 2) on the production server, export the data zpool 3) shutdown the production server 4) remove the OS drives from the production server and replace with the = drives you just installed 9.1 on 5) booth the production server with the 9.1 OS drives, make sure = everything is working the way you want 6) import the data zpool If the import fails, you can always put the 9.0 drives back in and get = back up and running fairly quickly. My system has the OS on a mirror zpool of two drives for just the OS. -- Paul Kraus Deputy Technical Director, LoneStarCon 3 Sound Coordinator, Schenectady Light Opera Company From owner-freebsd-questions@FreeBSD.ORG Thu May 23 13:42:07 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 7BF3BC1C; Thu, 23 May 2013 13:42:07 +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 68FA71D7; Thu, 23 May 2013 13:42:07 +0000 (UTC) Received: from [10.0.10.1] ([173.88.196.224]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 23 May 2013 06:42:03 -0700 Message-ID: <519E1CAA.2020909@a1poweruser.com> Date: Thu, 23 May 2013 09:42:02 -0400 From: Joe User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Devin Teske Subject: Re: netgraph network setup for jail(8) vnet jails. References: <5197A06A.9080401@a1poweruser.com> <13CA24D6AB415D428143D44749F57D7201F5076A@ltcfiswmsgmb26> <5198221D.5040601@a1poweruser.com> <13CA24D6AB415D428143D44749F57D7201F50BEC@ltcfiswmsgmb26> In-Reply-To: <13CA24D6AB415D428143D44749F57D7201F50BEC@ltcfiswmsgmb26> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 23 May 2013 13:42:03.0677 (UTC) FILETIME=[4F0854D0:01CE57BB] X-Sender: fbsd8@a1poweruser.com X-Authenticated-Sender: fbsd8@a1poweruser.com X-EchoSenderHash: [fbsd8]-[a1poweruser*com] Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 13:42:07 -0000 Teske, Devin wrote: > snip............... > > I rendered your output by saving it in a file ("joe.dot") and then running: > > dot -Tsvg -o joe.svg < joe.dot > > I then uploaded "joe.svg" to my website: > > http://druidbsd.sf.net/download/joe.svg > > Compare your output to any of the following: > > http://druidbsd.sf.net/download/warden0.jbsd.svg > http://druidbsd.sourceforge.net/download/folsom.svg > > It looks like everything is connected properly. > > A couple thoughts off the top of my head: > > a. Did you enable promiscuous mode on rl0 via ngctl? (in your script perhaps?) > > b. Have you tried giving ngeth0 a new MAC address? (I do this through ngctl too, but I imagine ifconfig from within the jail could achieve the same thing) > -- > Devin > > Yes I enabled promiscuous mode and setautosrc 0 on rl0 via ngctl. I can find no documentation on why this is done. Can you point me to some? Yes I gave the jail a unique MAC address. I tried to generate my own network map, but having problem. ngctl dot > file.dot works. dot -Tsvg -o file.svg < file.dot gives me "command dot not found". Tried ngctl dot -Tsvg -o file.svg < file.dot and -T is illegal option. What am I doing wrong? Thanks for your help Joe From owner-freebsd-questions@FreeBSD.ORG Thu May 23 14:13:53 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 50B715A3 for ; Thu, 23 May 2013 14:13:53 +0000 (UTC) (envelope-from ludovit.koren@gmail.com) Received: from mail-ea0-x22a.google.com (mail-ea0-x22a.google.com [IPv6:2a00:1450:4013:c01::22a]) by mx1.freebsd.org (Postfix) with ESMTP id DD09F5E9 for ; Thu, 23 May 2013 14:13:52 +0000 (UTC) Received: by mail-ea0-f170.google.com with SMTP id f15so1964921eak.29 for ; Thu, 23 May 2013 07:13:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:message-id:to:subject:from:cc:x-mailer:mime-version :content-type:content-transfer-encoding; bh=hMCWlQOTz0YkoQbWcJEeaNxdzGUnQoHxFrgAUkPjNA4=; b=oK2UXTP42htPsyZ9vQz0A+PXBaX6IBJBmw6QouoSoqw0WhC/aj5kRyMhryEK/kNeqD SLaYp/gtJD4ajf9rOV9Th1bV1jrcJpxNGUgMpiJY9QwP5Q+m68D6djUOmcWiTU+jywJm vqPpU0UneWgofcQKGvICVcs6xSxIbLir9grCHncNrlb8PCqUFeEVz1/6QX2b1V+641JI YXSSe3ucXpIfioyftps46zJ2VaUE08SnTu1nNYDeh6DBhElUaZLzznCKB3NzF797Koyg i6yh8eiAqcZw8c/V+4FRy5cna2nncWifyuE06d1dpoEAwuwECv0B1WvjKZgtBlq9XVK5 WjRQ== X-Received: by 10.15.111.75 with SMTP id ci51mr32106679eeb.7.1369318432058; Thu, 23 May 2013 07:13:52 -0700 (PDT) Received: from jedi.localdomain (dial-109-230-45-217.orange.sk. [109.230.45.217]) by mx.google.com with ESMTPSA id a5sm17122595ees.6.2013.05.23.07.13.50 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 07:13:50 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by jedi.localdomain (Postfix) with ESMTP id 9980111424; Thu, 23 May 2013 16:13:48 +0200 (CEST) Date: Thu, 23 May 2013 16:13:48 +0200 (CEST) Message-Id: <20130523.161348.1568838938019975646.koren@tempest.sk> To: Erich Dollansky Subject: Re: HP 2570p installation From: Ludovit Koren X-Mailer: xcite1.57> Mew version 6.5 on Emacs 23.4 / Mule 6.0 (HANACHIRUSATO) 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 List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 14:13:53 -0000 >>>>> On Thu, 23 May 2013 18:39:44 +0700 >>>>> erichsfreebsdlist@alogt.com(Erich Dollansky) said: > > Hi, > > it might be a good idea to tell us from where you booted. The internal > disk, an USB stick, a USB drive ... > I am sorry. It was USB memory stick. > And of course, what was on that media. > As I wrote FreeBSD-9.1-RELEASE-amd64-memstick.img and FreeBSD-10.0-CURRENT-amd64-20130512-r250582-memstick, respectively lk > Erich > > On Thu, 23 May 2013 13:02:37 +0200 (CEST) > Ludovit Koren wrote: > > > > > Hi, > > > > I bought HP Elitebook 2570p(B6Q08EA). I checked everything, if it is > > compatible, before I bought it. Unfortunately, I cannot install 9.1 > > RELEASE, nor 10.0 CURRENT. I get the following: > > > > BTX loader 1.00 BTX version is 1.02 > > Consoles: internal video/keyboard > > BIOS drive C: is disk0 > > BIOS drive D: is disk1 > > BIOS 631kB/523264kB available memory > > > > FreeBSD/x86 bootstrap loader, Revision 1.1 > > (root@snap.freebsd.org, Mon May 13 00:38:05 UTC 2013) > > | > > > > > > and the system beeps and freezes. I added hint.acpi.0.disabled="1" to > > the file /boot/loader.conf with no effect. Please, could you point me > > how to find out what causes the problem - even the way of debugging? > > > > Thank you very much. > > > > regards, > > > > lk > > _______________________________________________ > > 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 Thu May 23 15:09:28 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 45E81520 for ; Thu, 23 May 2013 15:09:28 +0000 (UTC) (envelope-from kudzu@tenebras.com) Received: from mail-ob0-x22f.google.com (mail-ob0-x22f.google.com [IPv6:2607:f8b0:4003:c01::22f]) by mx1.freebsd.org (Postfix) with ESMTP id 135B99AC for ; Thu, 23 May 2013 15:09:28 +0000 (UTC) Received: by mail-ob0-f175.google.com with SMTP id xn12so800938obc.34 for ; Thu, 23 May 2013 08:09:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:x-gm-message-state; bh=ApCDppRObjCQUWpuXZyBAHenau6nSJBNLrJSy0GAazw=; b=IahjGpdBGGPlySeswDbcC4m70adlvjAIDp9B5xf9kaQ5HLGT4sDGj45fubsnVr/urN t6gXHiCCiy2Zf/cwTsayu6Il6Qm0voohgSllXD90rYa0W26qEsQ7TJ3SnWjh5VzaBxdu W5Mo6oUeuQw//ju5VF5Qj+d8rwyezDjJTiR9lJWRkSEhT7pCUb2WnOKe+UmmlivUP5bN f8teWOrTFIp3MppcvlaIa8vnvcKoGeL9Od2LXV1OIG9vpXT0FivIZHR1fNKkyaCuInuf kQF3H8yq3RtvujZgxPCDc8kr8hQqXxLyATiKLIE+6Bul85cdWIhHLZiuREsaV6sb2ucq 12rw== MIME-Version: 1.0 X-Received: by 10.182.98.135 with SMTP id ei7mr8491672obb.102.1369321767434; Thu, 23 May 2013 08:09:27 -0700 (PDT) Received: by 10.60.137.130 with HTTP; Thu, 23 May 2013 08:09:27 -0700 (PDT) In-Reply-To: References: Date: Thu, 23 May 2013 08:09:27 -0700 Message-ID: Subject: Re: file corruption solution (soft-update or ZFS) From: Michael Sierchio To: Warren Block X-Gm-Message-State: ALoCoQkWSL1NlGZ/1/L9J9y5D9qsOXyEGk8eXOYFMB5DbZzWhCs93VvVxcK4xPck8D6yz6PaL6nf Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: saeedeh motlagh , freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 15:09:28 -0000 On Thu, May 23, 2013 at 5:33 AM, Warren Block wrote: > .. > One thing mentioned earlier is that ZFS wants lots of memory. 4G-8G > minimum, some might say as much as the server will hold. > > Not necessarily so - deduplication places great demands on memory, but that can be satisfied with dedicated cache devices (on SSD for performance and safety reasons). Without dedup, the requirements are more modest. Softupdates guarantee metadata consistency, but do nothing to address data integrity. ZFS has copy-on-write semantics (which solve a problem that even hardware RAID can't), and end-to-end checksums to detect/prevent data corruption (large drives will have uncorrectable bit errors over their lifetime). - M From owner-freebsd-questions@FreeBSD.ORG Thu May 23 17:02:56 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 633DEB8F for ; Thu, 23 May 2013 17:02:56 +0000 (UTC) (envelope-from freebsd@growveg.net) Received: from smtp1.servage.net (smtp1.servage.net [IPv6:2a01:3b0:1:fb:1::2001]) by mx1.freebsd.org (Postfix) with ESMTP id DEF41104 for ; Thu, 23 May 2013 17:02:55 +0000 (UTC) Received: from potato.growveg.org (growveg-1-pt.tunnel.tserv11.ams1.ipv6.he.net [IPv6:2001:470:1f14:3d2::2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp1.servage.net (Postfix) with ESMTPSA id BF78A324FC for ; Thu, 23 May 2013 17:03:30 +0000 (UTC) Message-ID: <519E4BB9.6050200@growveg.net> Date: Thu, 23 May 2013 18:02:49 +0100 From: John User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130514 Thunderbird/17.0.5 MIME-Version: 1.0 To: FreeBSD Questions Subject: Thunderbird 17.0.6 build failure FreeBSD 9.1-p3 amd64 X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 17:02:56 -0000 Hello list, Portaudit said thunderbird had a vulnerability so I went to upgrade it with portupgrade but it coredumps and it does this a good while into the compilation process. Can anyone advise please how to overcome this? Here is my system and output: system - FreeBSD 9.1-RELEASE-p3 #0 r250634: Tue May 14 16:13:46 BST 2013 ports - r318881 # clang -v FreeBSD clang version 3.1 (branches/release_31 156863) 20120523 Target: x86_64-unknown-freebsd9.0 Thread model: posix # cat /etc/make.conf CC=clang CXX=clang++ CPP=clang-cpp DIALOG="/usr/ports/Tools/scripts/dialogwrapper.sh" # added by use.perl 2013-03-11 18:36:08 PERL_VERSION=5.14.2 # portupgrade thunderbird ---> Upgrading 'thunderbird-17.0.5' to 'thunderbird-17.0.6' (mail/thunderbird) ---> Building '/usr/ports/mail/thunderbird' ===> Cleaning for thunderbird-17.0.6 ===> Found saved configuration for thunderbird-17.0.6 ===> Fetching all distfiles required by thunderbird-17.0.6 for building ===> Extracting for thunderbird-17.0.6 => SHA256 Checksum OK for thunderbird-17.0.6esr.source.tar.bz2. => SHA256 Checksum OK for enigmail-1.5.1.tar.gz. ===> thunderbird-17.0.6 depends on file: /usr/local/bin/perl5.14.2 - found [...] nsAutoSyncManager.cpp:27:1: warning: delete called on 'nsDefaultAutoSyncMsgStrategy' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] NS_IMPL_ISUPPORTS1(nsDefaultAutoSyncMsgStrategy, nsIAutoSyncMsgStrategy) ^ ../../../mozilla/dist/include/nsISupportsImpl.h:1201:3: note: expanded from macro 'NS_IMPL_ISUPPORTS1' NS_IMPL_RELEASE(_class) \ ^ ../../../mozilla/dist/include/nsISupportsImpl.h:495:40: note: expanded from macro 'NS_IMPL_RELEASE' NS_IMPL_RELEASE_WITH_DESTROY(_class, delete (this)) ^ ../../../mozilla/dist/include/nsISupportsImpl.h:475:5: note: expanded from macro 'NS_IMPL_RELEASE_WITH_DESTROY' _destroy; \ ^ nsAutoSyncManager.cpp:114:1: warning: delete called on 'nsDefaultAutoSyncFolderStrategy' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] NS_IMPL_ISUPPORTS1(nsDefaultAutoSyncFolderStrategy, nsIAutoSyncFolderStrategy) ^ ../../../mozilla/dist/include/nsISupportsImpl.h:1201:3: note: expanded from macro 'NS_IMPL_ISUPPORTS1' NS_IMPL_RELEASE(_class) \ ^ ../../../mozilla/dist/include/nsISupportsImpl.h:495:40: note: expanded from macro 'NS_IMPL_RELEASE' NS_IMPL_RELEASE_WITH_DESTROY(_class, delete (this)) ^ ../../../mozilla/dist/include/nsISupportsImpl.h:475:5: note: expanded from macro 'NS_IMPL_RELEASE_WITH_DESTROY' _destroy; \ ^ nsSyncRunnableHelpers.cpp:12:1: warning: delete called on 'StreamListenerProxy' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] NS_IMPL_THREADSAFE_ISUPPORTS1(StreamListenerProxy, nsIStreamListener) ^ ../../../mozilla/dist/include/nsISupportsImpl.h:1386:3: note: expanded from macro 'NS_IMPL_THREADSAFE_ISUPPORTS1' NS_IMPL_THREADSAFE_RELEASE(_class) \ ^ ../../../mozilla/dist/include/nsISupportsImpl.h:1363:5: note: expanded from macro 'NS_IMPL_THREADSAFE_RELEASE' delete (this); \ ^ nsSyncRunnableHelpers.cpp:13:1: warning: delete called on 'ImapMailFolderSinkProxy' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] NS_IMPL_THREADSAFE_ISUPPORTS1(ImapMailFolderSinkProxy, nsIImapMailFolderSink) ^ ../../../mozilla/dist/include/nsISupportsImpl.h:1386:3: note: expanded from macro 'NS_IMPL_THREADSAFE_ISUPPORTS1' NS_IMPL_THREADSAFE_RELEASE(_class) \ ^ ../../../mozilla/dist/include/nsISupportsImpl.h:1363:5: note: expanded from macro 'NS_IMPL_THREADSAFE_RELEASE' delete (this); \ ^ nsSyncRunnableHelpers.cpp:14:1: warning: delete called on 'ImapServerSinkProxy' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] NS_IMPL_THREADSAFE_ISUPPORTS1(ImapServerSinkProxy, nsIImapServerSink) ^ ../../../mozilla/dist/include/nsISupportsImpl.h:1386:3: note: expanded from macro 'NS_IMPL_THREADSAFE_ISUPPORTS1' NS_IMPL_THREADSAFE_RELEASE(_class) \ ^ ../../../mozilla/dist/include/nsISupportsImpl.h:1363:5: note: expanded from macro 'NS_IMPL_THREADSAFE_RELEASE' delete (this); \ ^ nsSyncRunnableHelpers.cpp:15:1: warning: delete called on 'ImapMessageSinkProxy' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] NS_IMPL_THREADSAFE_ISUPPORTS1(ImapMessageSinkProxy, ^ ../../../mozilla/dist/include/nsISupportsImpl.h:1386:3: note: expanded from macro 'NS_IMPL_THREADSAFE_ISUPPORTS1' NS_IMPL_THREADSAFE_RELEASE(_class) \ ^ ../../../mozilla/dist/include/nsISupportsImpl.h:1363:5: note: expanded from macro 'NS_IMPL_THREADSAFE_RELEASE' delete (this); \ ^ nsSyncRunnableHelpers.cpp:17:1: warning: delete called on 'ImapProtocolSinkProxy' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] NS_IMPL_THREADSAFE_ISUPPORTS1(ImapProtocolSinkProxy, ^ ../../../mozilla/dist/include/nsISupportsImpl.h:1386:3: note: expanded from macro 'NS_IMPL_THREADSAFE_ISUPPORTS1' NS_IMPL_THREADSAFE_RELEASE(_class) \ ^ ../../../mozilla/dist/include/nsISupportsImpl.h:1363:5: note: expanded from macro 'NS_IMPL_THREADSAFE_RELEASE' delete (this); \ ^ nsAutoSyncManager.cpp:1413:1: warning: delete called on 'nsAutoSyncManager' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] NS_IMPL_ISUPPORTS3(nsAutoSyncManager, nsIObserver, nsIUrlListener, nsIAutoSyncManager) ^ ../../../mozilla/dist/include/nsISupportsImpl.h:1211:3: note: expanded from macro 'NS_IMPL_ISUPPORTS3' NS_IMPL_RELEASE(_class) \ ^ ../../../mozilla/dist/include/nsISupportsImpl.h:495:40: note: expanded from macro 'NS_IMPL_RELEASE' NS_IMPL_RELEASE_WITH_DESTROY(_class, delete (this)) ^ ../../../mozilla/dist/include/nsISupportsImpl.h:475:5: note: expanded from macro 'NS_IMPL_RELEASE_WITH_DESTROY' _destroy; \ ^ 3 warnings generated. 5 warnings generated. rm -f libmsgimap_s.a /usr/local/bin/python2.7 ../../../mozilla/config/pythonpath.py -I../../../mozilla/config ../../../mozilla/config/expandlibs_gen.py --depend .deps/libmsgimap_s.a.pp -o libmsgimap_s.a.desc nsImapUtils.o nsIMAPBodyShell.o nsIMAPGenericParser.o nsIMAPHostSessionList.o nsIMAPNamespace.o nsImapIncomingServer.o nsImapMailFolder.o nsImapProtocol.o nsImapSearchResults.o nsImapServerResponseParser.o nsImapService.o nsImapUrl.o nsImapFlagAndUidState.o nsImapUndoTxn.o nsImapStringBundle.o nsImapOfflineSync.o nsAutoSyncState.o nsAutoSyncManager.o nsSyncRunnableHelpers.o gmake[6]: Leaving directory `/usr/ports/mail/thunderbird/work/comm-esr17/mailnews/imap/src' gmake[5]: Leaving directory `/usr/ports/mail/thunderbird/work/comm-esr17/mailnews/imap' gmake[4]: Leaving directory `/usr/ports/mail/thunderbird/work/comm-esr17/mailnews' gmake[3]: *** [libs_tier_platform] Error 2 gmake[3]: Leaving directory `/usr/ports/mail/thunderbird/work/comm-esr17/mozilla' gmake[2]: *** [tier_platform] Error 2 gmake[2]: Leaving directory `/usr/ports/mail/thunderbird/work/comm-esr17/mozilla' gmake[1]: *** [default] Error 2 gmake[1]: Leaving directory `/usr/ports/mail/thunderbird/work/comm-esr17/mozilla' gmake: *** [default] Error 2 *** [do-build] Error code 1 Stop in /usr/ports/mail/thunderbird. *** [build] Error code 1 Stop in /usr/ports/mail/thunderbird. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20130523-67949-3bp8cw-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=thunderbird-17.0.5 UPGRADE_PORT_VER=17.0.5 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! mail/thunderbird (thunderbird-17.0.5) (coredump) # many thanks, -- John From owner-freebsd-questions@FreeBSD.ORG Thu May 23 17:45:02 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 70BA67DC for ; Thu, 23 May 2013 17:45:02 +0000 (UTC) (envelope-from j.ballantine@gmail.com) Received: from mail-pd0-f182.google.com (mail-pd0-f182.google.com [209.85.192.182]) by mx1.freebsd.org (Postfix) with ESMTP id 529CA324 for ; Thu, 23 May 2013 17:45:01 +0000 (UTC) Received: by mail-pd0-f182.google.com with SMTP id g10so3153081pdj.27 for ; Thu, 23 May 2013 10:45:01 -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=iG4phHJrywT26OtCIDGNG99DMkDm9CzKc0TKTsgTaXc=; b=zXCRmVXMa47nKNLIW6SDbbqa1NswgR/47vLkGwHY7AZ/3gDhjLX9p7xrs/8QNDtDBN yiJjY+sZUHrrzyEgD805PXqCABjn/71bOzWTL8FvhVCSYC6x/AfM81kJiM67QUe3M+dD ZgSWaEFOlh9w2MYIIBtBMKPrUmPSvGRgmbTckwdznHBeU0aTosVY2VF6Ny51H8Gr9q0X KiH93EgRttan0QUQjfytTfXKVJo913VW4MvaVrw0p/uwN91M13QdzYJ1Oz3vEzSAfTnY 180ouM59up2pQzF/96Nkky1O2gXsGeTTJKTNKTkx0erjQTaAFawDo3JSuzTdNevzzU7R Zgcw== MIME-Version: 1.0 X-Received: by 10.68.56.132 with SMTP id a4mr14129542pbq.135.1369331101522; Thu, 23 May 2013 10:45:01 -0700 (PDT) Received: by 10.70.54.234 with HTTP; Thu, 23 May 2013 10:45:01 -0700 (PDT) Date: Thu, 23 May 2013 13:45:01 -0400 Message-ID: Subject: mariadb-scripts conflict with mariadb-server From: Jim Ballantine 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: Thu, 23 May 2013 17:45:02 -0000 When trying to do a clean/new install of mariadb, I first install mariadb-server (which installs cleanly), and try to install mariadb-scripts which fails with: # make install ===> Installing for mariadb-scripts-5.3.12 ===> mariadb-scripts-5.3.12 depends on file: /usr/local/bin/perl5.16.2 - found ===> mariadb-scripts-5.3.12 depends on shared library: mysqlclient.16 - found ===> Generating temporary packing list ===> Checking if databases/mariadb-scripts already installed Making install in scripts make install-am test -z "/usr/local/bin" || /bin/mkdir -p "/usr/local/bin" install -o root -g wheel -m 555 msql2mysql mysql_fix_extensions mysql_setpermission mysql_secure_installation mysql_zap mysqlaccess mysql_convert_table_format mysql_find_rows mysqlhotcopy mytop mysqldumpslow mysqld_multi '/usr/local/bin' Making install in man test -z "/usr/local/man/man1" || /bin/mkdir -p "/usr/local/man/man1" install -o root -g wheel -m 444 msql2mysql.1 mysql_convert_table_format.1 mysql_find_rows.1 mysql_fix_extensions.1 mysql_secure_installation.1 mysql_setpermission.1 mysql_zap.1 mysqlaccess.1 mysqldumpslow.1 mysqlhotcopy.1 mysqld_multi.1 '/usr/local/man/man1' make install-data-hook rm -f /usr/local/man/man1/make_win_* make abi_headers="" do_abi_check set -ex; for file in ; do cc -E -nostdinc -dI -DMYSQL_ABI_CHECK -I./include -I./include/mysql -I./sql -I./include -I./include/mysql -I./sql $file 2>/dev/null | /usr/bin/sed -e '/^# /d' -e '/^[ ]*$/d' -e '/^#pragma GCC set_debug_pwd/d' -e '/^#ident/d' > ./abi_check.out; /usr/bin/diff -w $file.pp ./abi_check.out; /bin/rm ./abi_check.out; done ===> Compressing manual pages for mariadb-scripts-5.3.12 ===> Registering installation for mariadb-scripts-5.3.12 Installing mariadb-scripts-5.3.12...pkg: mariadb-scripts-5.3.12 conflicts with mariadb-server-5.3.12 (installs files into the same place). Problematic file: /usr/local/bin/mysql_convert_table_format *** [fake-pkg] Error code 70 Stop in /usr/ports/databases/mariadb-scripts. From owner-freebsd-questions@FreeBSD.ORG Thu May 23 20:04:18 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 749571D5 for ; Thu, 23 May 2013 20:04:18 +0000 (UTC) (envelope-from Albert.Shih@obspm.fr) Received: from smtp-int-m.obspm.fr (smtp-int-m.obspm.fr [145.238.187.15]) by mx1.freebsd.org (Postfix) with ESMTP id 12E42E0C for ; Thu, 23 May 2013 20:04:17 +0000 (UTC) Received: from pcjas.obspm.fr (pcjas.obspm.fr [145.238.184.233]) by smtp-int-m.obspm.fr (8.14.3/8.14.3/SIO Observatoire de Paris - 07/2009) with ESMTP id r4NK4DLZ002273 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 23 May 2013 22:04:14 +0200 Date: Thu, 23 May 2013 22:04:13 +0200 From: Albert Shih To: freebsd-questions@freebsd.org Subject: Strange behavior of NFS/ZFS on 9.0 Message-ID: <20130523200413.GD3616@pcjas.obspm.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit User-Agent: Mutt/1.5.21 (2010-09-15) X-Miltered: at smtp-int-m.obspm.fr with ID 519E763D.000 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 519E763D.000/145.238.184.233/pcjas.obspm.fr/pcjas.obspm.fr/ X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 May 2013 20:04:18 -0000 Hi all, I've a server under FreeBSD 9.0 with a large ZFS pool (~ 150To) This server is use mainly for backup and NFS server, he also have 4 Gb/s interface bound with LACP. If the nfs client is close to the server (physical distance) everything is fine. When the client is far away (NFS over tcp of course) from the client side everything work (it's slow but it's working), the strange thing is when the client do some « heavy » acces to the server through NFS, we cannot ping the server during 10-30 sec and the ping come back, and some time later ( ~10-15 min) again we cannot ping the server. When I quote « heavy » it's because the traffic is ~ 40 Mbit/s. I'm sure of the relation between client acces through NFS and lost ping. Anyone have a idea. Regards. -- Albert SHIH DIO bâtiment 15 Observatoire de Paris 5 Place Jules Janssen 92195 Meudon Cedex France Téléphone : +33 1 45 07 76 26/+33 6 86 69 95 71 xmpp: jas@obspm.fr Heure local/Local time: jeu 23 mai 2013 21:58:21 CEST From owner-freebsd-questions@FreeBSD.ORG Thu May 23 22:12:08 2013 Return-Path: Delivered-To: freebsd-questions@Freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 33D3DBB9 for ; Thu, 23 May 2013 22:12:08 +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 1A8A739A for ; Thu, 23 May 2013 22:12:07 +0000 (UTC) Received: from [10.0.10.1] ([173.88.196.224]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 23 May 2013 15:12:08 -0700 Message-ID: <519E9437.6010100@a1poweruser.com> Date: Thu, 23 May 2013 18:12:07 -0400 From: Joe User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: freebsd-questions@Freebsd.org Subject: netgraph network for jail(8) vnet jail unable to reach internet Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-OriginalArrivalTime: 23 May 2013 22:12:08.0774 (UTC) FILETIME=[91178660:01CE5802] 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: Thu, 23 May 2013 22:12:08 -0000 Hello list. Trying to get my script to work that creates a netgraph network for a jail(8) vnet jail. Every thing seems to work, but from inside of the started vnet jail I can not ping the public internet. The host can ping the public internet so the problem has to be in the netgraph script. The problem must be staring me in the face but I can just not see it. A fresh pair of eyes may see things I am missing. I'm running 9.1-RELEASE with vimage compiled into the kernel. Non-vnet jails work fine and bridge/epair networked vnet jails work fine. The host has a single ethernet interface (rl0) facing the public internet. Dhcp is used to get the hosts ip address and dns server info. The vnet.ng script is designed to create a single ng bridge to rl0 and connect vnet jails to it as the jails are started. The following is a walk through of a test cycle showing what I can see from the host. At the end is a listing of the vnet.ng script. Thanks for your help # From the host lets see if there is a netgraph network before we start? # Nope, no netgraph network running # /root >ngctl ls -l There are 2 total nodes: Name: rl0 Type: ether ID: 00000001 Num hooks: 0 Name: ngctl2850 Type: socket ID: 00000037 Num hooks: 0 # Here is the jail(8) jail.conf definition statements # /root >cat /usr/local/etc/vnet/vdir9 vdir9 { host.hostname = "vdir9"; path = "/usr/jails/vdir9"; mount.fstab = "/usr/local/etc/fstab/vdir9"; exec.start = "/bin/sh /etc/rc"; exec.stop = "/bin/sh /etc/rc.shutdown"; exec.consolelog = "/var/log/vdir9.console.log"; devfs_ruleset = "4"; allow.mount.devfs; vnet; } # Lets start the vnet jail # /root >jail -f /usr/local/etc/qjail.vnet/vdir9 -c vdir9: created # Yes it’s really running. # /root >jls JID IP Address Hostname Path 4 - vdir9 /usr/jails/vdir9 # Lets start the netgraph network for the running vnet jail # /root >vnet.ng start vdir9 rl0 Netgraph vnet jail network established successfully! # Lets check the host for the vnet jail netgraph network # Yep it’s there and looks complete to me. # /root >ngctl ls -l There are 4 total nodes: Name: rl0 Type: ether ID: 00000001 Num hooks: 2 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- upper bridge0 bridge 0000003d link1 lower bridge0 bridge 0000003d link0 Name: bridge0 Type: bridge ID: 0000003d Num hooks: 3 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- link2 vdir9 eiface 00000041 ether link1 rl0 ether 00000001 upper link0 rl0 ether 00000001 lower Name: vdir9 Type: eiface ID: 00000041 Num hooks: 1 Local hook Peer name Peer type Peer ID Peer hook ---------- --------- --------- ------- --------- ether bridge0 bridge 0000003d link2 Name: ngctl3126 Type: socket ID: 00000046 Num hooks: 0 # Lets log into the running jail # /root >jexec vdir9 tcsh # Lets ping freebsd.org ip address. No public internet connection # even though host can do same ping and get good reply. vdir9 / >ping -c4 8.8.178.135 PING 8.8.178.135 (8.8.178.135): 56 data bytes --- 8.8.178.135 ping statistics --- 4 packets transmitted, 0 packets received, 100.0% packet loss vdir9 / >exit exit # Now stop the vnet jails netgraph network # /root >vnet.ng stop vdir9 rl0 Netgraph vnet jail network shutdown successfully! # and yes the netgraph network is shutdown # /root >ngctl ls -l There are 2 total nodes: Name: rl0 Type: ether ID: 00000001 Num hooks: 0 Name: ngctl3167 Type: socket ID: 0000004b Num hooks: 0 # Here is the vnet.ng script # It starts and stops the vnet jail’s netgraph network #!/bin/sh function=$1 jailname=$2 nicname=$3 jid=`jls -j ${jailname} jid` # Load netgraph kernel modules if not done already. for module in ng_socket netgraph ng_bridge ng_eiface ng_ether; do if ! kldstat -v | grep -qw ${module}; then kldload ${module} || exit 1 fi done # mac manufacturer prefix. Modify if need be. #mac_prefix="00:1d:92" mac_prefix="07:22:49" start() { sysctl net.inet.ip.forwarding=1 > /dev/null 2> /dev/null jid=`jls -j ${jailname} jid` if [ "${jid}" -gt "100" ]; then echo " " echo "WARNING: The JID value is greater then 100." echo "This may indicate many cycles of starting/stopping vnet jails" echo "which results in lost memory pages. To recover the lost memory," echo "shutdown the host and reboot. This will zero out the JID" echo "counter and make all the memory available again." echo " " fi # The jid is used in the jails ip address which has max value of 255, # so draw the line at 250 running vnet jails and then force reboot. # if [ "${jid}" -gt "250" ]; then echo " " echo "ERROR: No more vnet jail ip addresses can be created." echo "You MUST shutdown the host and reboot before vnet jails are" echo "startable again." echo " " exit 2 fi # Check real ethernet interface exists. # if ! ngctl info ${nicname}: >/dev/null 2>&1; then echo "Error: interface ${nicname} does not exist." exit 1 fi ifconfig ${nicname} up || exit 1 # Check if this ethernet interface has a bridge already created on it. # If not then create bridge to the ethernet interface. # bridge_name=`ngctl show ${nicname}: | grep -m 1 bridge | awk '{print $2}'` if [ -z "${bridge_name}" ]; then # This means no bridge created yet on this ethernet interface. # Set NIC interfaces to promiscuous mode and don't overwrite src addr. ngctl msg ${nicname}: setpromisc 1 || exit 1 ngctl msg ${nicname}: setautosrc 0 || exit 1 bridge_name="bridge0" # Create new ng_bridge node and attach it to the ethernet interface, # connecting ng_ether:lower hook to bridge:link0 # ngctl mkpeer ${nicname}: bridge lower link0 || exit 1 # Assigning ${bridge_name} as bridge name. ngctl name ${nicname}:lower ${bridge_name} || exit 1 # Connect ng_ether:upper hook to bridge:link1 # after bridge name is set. # ngctl connect ${nicname}: ${bridge_name}: upper link1 || exit 1 fi # Create and link vnet jail to bridge. # ngctl mkpeer eiface ether ether || exit 1 org_eiface=`ngctl l | grep ngeth | tail -n 1 | awk '{print $2}'` # Renaming vnet jail ng node interface name to jailname. ngctl name ${org_eiface}: ${jailname} || exit 1 eiface="${jailname}" ifconfig ${org_eiface} name ${eiface} # Finding next link number for this bridge. used_linknum=`ngctl show bridge0: | grep link | cut -c 7-7` highest_linknum=0 for used_num in ${used_linknum}; do if [ "${used_num}" -gt "${highest_linknum}" ]; then highest_linknum="${used_num}" fi done linknum=`expr ${highest_linknum} + 1` # Connect vnet jail virtual interface to bridge interface. # ngctl connect ${eiface}: ${bridge_name}: ether link${linknum} || exit 1 # Move host virtual interface to vnet virtual node. # Moved interface can be seen in the output of ifconfig command issued # from within the started vnet jail or by issuing # 'jexec jailname ifconfig' from the host system. # ifconfig ${eiface} vnet ${jailname} || exit 1 # Make lo0 interface localhost. jexec ${jailname} ifconfig lo0 localhost || exit 1 # Set the MAC address of the new interface using a sensible # algorithm to prevent conflicts on the network. First three # octets can be changed by user. Last three octets are # generated randomly. # M4=`od -An -N2 -i /dev/random | sed -e 's/ //g' | \ awk '{ print $1 % 256 }'` M5=`od -An -N2 -i /dev/random | sed -e 's/ //g' | \ awk '{ print $1 % 256 }'` M6=`od -An -N2 -i /dev/random | sed -e 's/ //g' | \ awk '{ print $1 % 256 }'` mac=`printf ${mac_prefix}:%02x:%02x:%02x ${M4} ${M5} ${M6}` # Setting mac address of ${eiface} to ${mac} jexec ${jailname} ifconfig ${eiface} link $mac || exit 1 # Set IP address inside of vnet jail ng virtual interface. jexec ${jailname} ifconfig ${eiface} inet 10.${jid}.0.2 || exit 1 # Assign default route ip address to ng virtual interface # inside of the vnet jail. # jexec ${jailname} route add default 10.${jid}.0.1 || exit 1 echo "Netgraph vnet jail network established successfully!" } stop() { ngctl shutdown ${jailname}: >/dev/null 2>&1 # Get the bridge name for this NIC. # bridge_name=`ngctl show ${nicname}: | grep -m 1 bridge | awk '{print $2}'` # If there are only 2 links (link0 & link1) on the bridge name, # this means all the vnet jails have been shutdown so shutdown the bridge. # linknum=`ngctl show ${bridge_name}: | grep link | wc -l | sed -e "s/ //g"` [ ${linknum} -eq 2 ] && ngctl shutdown ${bridge_name}: >/dev/null 2>&1 echo "Netgraph vnet jail network shutdown successfully!" } # Main entry point. # [ "${function}" = "start" ] && start && exit 0 [ "${function}" = "stop" ] && stop && exit 0 From owner-freebsd-questions@FreeBSD.ORG Thu May 23 23:09:27 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id E579CB8F for ; Thu, 23 May 2013 23:09:27 +0000 (UTC) (envelope-from jrisom@gmail.com) Received: from mail-ie0-x232.google.com (mail-ie0-x232.google.com [IPv6:2607:f8b0:4001:c03::232]) by mx1.freebsd.org (Postfix) with ESMTP id B8F30803 for ; Thu, 23 May 2013 23:09:27 +0000 (UTC) Received: by mail-ie0-f178.google.com with SMTP id f4so2968244iea.37 for ; Thu, 23 May 2013 16:09:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=i8Nq8D7AFODGAgQ8DKtkESICBc4GiDeqr6iyfacB+T0=; b=0OT3LTxT1rlSJtwKZ+6CjEYH00CTAViJGs0aKw8NpF7wv3lJet5RvJgQ5wBosSF2JN wCLGL/iJQ9pmGvqtcdpRrAouKZptbQnOn0NUKEYcoxx4e6yi8MYKbfZDWtxtmKnqiai5 Mrxmk1Z/KVnYCiF5Uuxjri08hZ8UAqGx/QNhxNfkLG56x8NkNczzSkygm7Pr+opYseIQ 2nFSvtdPn5A9fYk+TMCjr5HquIV49f8+2wd3TIhE26/WxMtUCaFTEMLV9yRloEzsRKZs E/Xj0ZZH26NJrNtHYHiT91BMrCKry5vhmpXPyn8o+YZuMOY8EIBrBSZKc0Lc0eh9++We TiCw== X-Received: by 10.50.80.9 with SMTP id n9mr12144800igx.54.1369350567504; Thu, 23 May 2013 16:09:27 -0700 (PDT) Received: from [192.168.1.34] (c-98-212-197-211.hsd1.il.comcast.net. [98.212.197.211]) by mx.google.com with ESMTPSA id d7sm13995789igx.5.2013.05.23.16.09.26 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 23 May 2013 16:09:26 -0700 (PDT) Message-ID: <519EA18B.8080306@gmail.com> Date: Thu, 23 May 2013 18:08:59 -0500 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: file corruption solution (soft-update or ZFS) References: In-Reply-To: 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, 23 May 2013 23:09:28 -0000 On 5/23/2013 7:14 AM, saeedeh motlagh wrote: > thanks for your reply. > > you know i have a sensitive server and unfortunately it is located some > where that power outage happens much. so i want guarantee my data and avoid > data lost and file corruption in my server. Get a good reliable UPS. Test it regularly, the batteries do fail. Test to make sure that it will work, unplug it and let the computer drain the battery to time it. Consider that the battery will degrade over time. One thing google does is put a 12V battery inside the chassis to help with the power backup, you might look into it. > i do not have any problem in RAM and hardware. > > i don't know which approach is more suitable for my server. using > soft-update or ZFS. please help me to select the best one. If power failure is an issue, you have no guarantee of data loss protection unless you use networked storage to a safe place. UFS soft updates protects against file system corruption in case of power loss, no guarantees of individual file consistency. ZFS guarantees no silent failures, it doesn't guarantee protection, only that you'll know about it. There is no filesystem that can guarantee you won't lose data in a power failure. Hard drives are known to lie about what's been physically synced to disk out of cache in order to improve speed. If the power goes out at the wrong time, you can lose data. ZFS can find a corrupted file and tell you, everything else won't. If you have a back up of that file, you can restore it. > thank you so much > > > > On Thu, May 23, 2013 at 4:28 PM, Warren Block wrote: > >> On Thu, 23 May 2013, saeedeh motlagh wrote: >> >> hello every body >>> >>> i have a question about fixing file corruption in freebsd. >>> >>> now i have freebsd8.2 and some times file corruption happened on it. this >>> issue has a heavy cost for me and i want to avoid it or fixit it >>> completely. so my question is: >>> >>> is it better to upgrade my freebsd to 9.1 and use soft update or migrate >>> from UFS to ZFS? >>> >> >> That's a judgement call, which means "it depends". >> >> >> i heard so much about soft update -that is added in freebsd9.1- which can >>> fix file corruption in acceptable way with low cost but i don't know how >>> much is reliable and efficient. >>> >> >> Several things: >> >> Soft updates have been around for quite a while. >> Soft updates journaling is the new addition. >> Neither of these address file corruption. Their purpose is to make sure >> the filesystem does not get corrupted, but individual files could still >> contain bad data. >> >> >> in the other hand, i think migration from UFS to ZFS can be another >>> solution. as i read ZFS is is created to solve all the problems related >>> integrity file system. is it reliable enough in comparison soft-update? >>> >>> now, i want to know which solution is better and why? >>> >> >> Again, it depends. Does the target system have enough RAM for ZFS? If >> the file corruption is due to a hardware problem or an application writing >> bad data, no filesystem can prevent that. >> > > > From owner-freebsd-questions@FreeBSD.ORG Fri May 24 02:57:40 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B6917F26 for ; Fri, 24 May 2013 02:57:40 +0000 (UTC) (envelope-from realrichardsharpe@gmail.com) Received: from mail-pd0-f181.google.com (mail-pd0-f181.google.com [209.85.192.181]) by mx1.freebsd.org (Postfix) with ESMTP id 98233DD for ; Fri, 24 May 2013 02:57:40 +0000 (UTC) Received: by mail-pd0-f181.google.com with SMTP id bv13so1763220pdb.26 for ; Thu, 23 May 2013 19:57:40 -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 :content-transfer-encoding; bh=eL2tJL23KcDdeds/X8ahtuxvzqYRqC7jub+okl/AAAs=; b=VM6+4IIMwo4Zk4EUdvhr00zV2y7kWWbOHhjKmCyBG7kDgpbWmWg3fMNxGB9BBLVKpb MMYNbkYpfzV5kfWSI7eRddU3AurVs3Xf50FYUn9fMXAbyQKad0W7C3xqLMp9cD/QKkD8 fbLc31kGOaGVtut2nUEEEY1zi2cMgqj1ImecPwk6K/CR9ybiWISlHWxvyf6PDI8Ohq76 gpZAsPakkMxniDxd7TEw9d9zEV936mBdM/qLgFIv8r82SUsMotqKCMMeoP5Zem+XLAP8 DssYt0dmI/9OUrK1G/WaDPzF3LFCIVTR9cAyBleQeRG33xaV//7CDtba8/b0p0fzaxsw RGpg== MIME-Version: 1.0 X-Received: by 10.66.155.102 with SMTP id vv6mr16191137pab.64.1369364260083; Thu, 23 May 2013 19:57:40 -0700 (PDT) Received: by 10.70.89.11 with HTTP; Thu, 23 May 2013 19:57:39 -0700 (PDT) Date: Thu, 23 May 2013 19:57:39 -0700 Message-ID: Subject: dtrace of a Samba nbench run shows From: Richard Sharpe To: FreeBSD Questions Mailing List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 May 2013 02:57:40 -0000 Hi folks, I have been using dtrace, and particularly procsystime, to measure Samba system call usage stuff. This is what I get: cs-cc1# ./procsystime -n smbd Tracing... Hit Ctrl-C to end... ^C Elapsed Times for processes smbd, SYSCALL TIME (ns) sysarch 1492 thr_self 2636 __getcwd 5695 getsockname 5778 accept 6952 sendto 8019 getpeername 8273 setsockopt 9394 pipe 13567 kenv 15151 umask 16400 sigaction 23504 msync 24068 mprotect 26960 getpid 29888 socket 38078 dup2 42323 chdir 49643 getgroups 74299 wait4 108578 connect 148649 sigprocmask 150443 __sysctl 215389 getegid 243731 mmap 257379 setregid 260529 setgroups 270894 thr_new 376349 munmap 428773 fork 511601 sigreturn 668402 chown 703765 getuid 821748 chmod 1175632 kill 1230340 write 1281535 geteuid 1918738 rmdir 2376245 mkdir 2516070 fsync 3346330 setreuid 5205649 gettimeofday 9212264 lseek 9336442 pathconf 18606662 statfs 29714064 access 30073540 fstatfs 31360178 lstat 33902417 extattr_get_fd 38793210 fchmod 147266506 rename 156300564 fstat 234898224 utimes 237551881 getdirentries 253926535 extattr_set_link 371269699 pread 671050763 unlink 768327954 pwrite 825201124 fstatat 866823356 clock_gettime 1257134991 writev 1984839112 read 2922189298 close 6180434183 fcntl 7849631277 stat 7872399963 extattr_get_file 7887564205 ioctl 9034605338 open 23145865857 select 274329462364 poll 753606057912 _umtx_op 1097794513187 So, what is _umtx_op? I guess I have to move to kqueue as well. --=20 Regards, Richard Sharpe (=E4=BD=95=E4=BB=A5=E8=A7=A3=E6=86=82=EF=BC=9F=E5=94=AF=E6=9C=89=E6=9D=9C= =E5=BA=B7=E3=80=82--=E6=9B=B9=E6=93=8D) From owner-freebsd-questions@FreeBSD.ORG Fri May 24 05:14:32 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 0E25B9EF for ; Fri, 24 May 2013 05:14:32 +0000 (UTC) (envelope-from trond@fagskolen.gjovik.no) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) by mx1.freebsd.org (Postfix) with ESMTP id 90AA1A4B for ; Fri, 24 May 2013 05:14:31 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.7/8.14.7) with ESMTP id r4O5EONN078500 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 24 May 2013 07:14:24 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.7/8.14.7/Submit) with ESMTP id r4O5ENsr078497; Fri, 24 May 2013 07:14:24 +0200 (CEST) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Fri, 24 May 2013 07:14:23 +0200 (CEST) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: Joe Subject: Re: netgraph network setup for jail(8) vnet jails. In-Reply-To: <519E1CAA.2020909@a1poweruser.com> Message-ID: References: <5197A06A.9080401@a1poweruser.com> <13CA24D6AB415D428143D44749F57D7201F5076A@ltcfiswmsgmb26> <5198221D.5040601@a1poweruser.com> <13CA24D6AB415D428143D44749F57D7201F50BEC@ltcfiswmsgmb26> <519E1CAA.2020909@a1poweruser.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="2055831798-621644773-1369372464=:72982" X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mail.fig.ol.no Cc: FreeBSD questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 May 2013 05:14:32 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --2055831798-621644773-1369372464=:72982 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT On Thu, 23 May 2013 09:42-0400, Joe wrote: > Teske, Devin wrote: > > snip............... > > I rendered your output by saving it in a file ("joe.dot") and then running: > > > > dot -Tsvg -o joe.svg < joe.dot > > > > I then uploaded "joe.svg" to my website: > > > > http://druidbsd.sf.net/download/joe.svg > > > > Compare your output to any of the following: > > > > http://druidbsd.sf.net/download/warden0.jbsd.svg > > http://druidbsd.sourceforge.net/download/folsom.svg > > > > It looks like everything is connected properly. > > > > A couple thoughts off the top of my head: > > > > a. Did you enable promiscuous mode on rl0 via ngctl? (in your script > > perhaps?) > > > > b. Have you tried giving ngeth0 a new MAC address? (I do this through ngctl > > too, but I imagine ifconfig from within the jail could achieve the same > > thing) > > -- > > Devin > > Yes I enabled promiscuous mode and setautosrc 0 on rl0 via ngctl. > I can find no documentation on why this is done. Can you point me to some? > > Yes I gave the jail a unique MAC address. > > I tried to generate my own network map, but having problem. > > ngctl dot > file.dot works. > dot -Tsvg -o file.svg < file.dot > gives me "command dot not found". Please install graphics/graphviz, either from ports or from packages. > Tried ngctl dot -Tsvg -o file.svg < file.dot > and -T is illegal option. > What am I doing wrong? > > Thanks for your help > Joe -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ --2055831798-621644773-1369372464=:72982-- From owner-freebsd-questions@FreeBSD.ORG Fri May 24 11:34:21 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 092EF68B for ; Fri, 24 May 2013 11:34:21 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-gg0-x234.google.com (mail-gg0-x234.google.com [IPv6:2607:f8b0:4002:c02::234]) by mx1.freebsd.org (Postfix) with ESMTP id B41B081D for ; Fri, 24 May 2013 11:34:20 +0000 (UTC) Received: by mail-gg0-f180.google.com with SMTP id q4so1373053ggn.39 for ; Fri, 24 May 2013 04:34:20 -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=xLWPkgv904s/Hx5q6ylU1BQ3K8VZVw0p57lrDj8Hzrs=; b=aCf4DCcXcMdA4UxzLxK6r8xrQoKclQuwnECQWkpdznXxDeU0N4+S2gRVl9p1LnZE4w toUHbi0KOJrTAKFunywITf80OXak8n2eIhDz6LMvyiiMM/JMsemoM8peDgQBzYpD8SA2 sdqs1KPTJuegYLngwmyLTAj1z9ymkwqhaOR+E= 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=xLWPkgv904s/Hx5q6ylU1BQ3K8VZVw0p57lrDj8Hzrs=; b=astu0rp0oK7RdlbDO1r3eR66OZAGdduVGrfhS4mwsv0ZKs/4jnkbIdCES/KDN/Yvtw zxf8dZQKQbWUvuJnILUxTw/LXhhtDd+cs0kv7PsO8UM0S8PyrIBy85Jzl0xj3AKZTBLj 3rGoNlPajxwrU/lKhyZS9oMtMYrVwPHMsgGcx2GH93YyDVOhqh5K6OyZ8xEJOpPUgzu9 rr0mo/GTMIWmXBTfirGtIHqWtU04hfZnI+OoRcgHcIkmHsEqPATXKzSN1mfrB374TP2Y LKOurhLrtj1/ijN8NPOFjrF2yMhYmqR4xq1XFmfW7Q5wVmZzMyu9nUedXO7i+kAwQjVT 9bzw== X-Received: by 10.236.22.230 with SMTP id t66mr9714189yht.70.1369395260159; Fri, 24 May 2013 04:34:20 -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 ESMTPSA id s20sm22975439yhh.17.2013.05.24.04.34.19 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 24 May 2013 04:34:19 -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@seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3bH58B3k5Vz2CG6L for ; Fri, 24 May 2013 07:34:18 -0400 (EDT) Date: Fri, 24 May 2013 07:34:17 -0400 From: Jerry To: FreeBSD Subject: Re: linux_base-c6 && Skype 4.2 Message-ID: <20130524073417.365aa4d0@scorpio> In-Reply-To: <20130523180934.GA1010@tiny.Sisis.de> References: <20130523180934.GA1010@tiny.Sisis.de> Organization: seibercom.net X-Mailer: Claws Mail 3.9.1 (GTK+ 2.24.17; 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: ALoCoQlZAOJp22Vy/zUi/prB9Nx8D2XIV0J2tmHlXZxn3ZZD38Pfv1t9eLzMJ/4a8u3T30lBVnfi 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: Fri, 24 May 2013 11:34:21 -0000 On Thu, 23 May 2013 20:09:35 +0200 Matthias Apitz articulated: > M$ has Linux Skype 4.2 for some Linux distributions, for example for > F16; would it be possible to run one of these distributions on top of > linux_base-c6? Is there any work in progress I could support? > I have enough systems at home running some 10-CURRENT and could use > one of them for additional tests/work According to the web site, these are the minimum requirements for a Linux version of Skype 4.2.0.11 Skype for Linux 1 GHz processor or faster. 256 MB RAM. 100 MB free disk space on your hard drive. Video card driver with Xv support. Either a built-in or external microphone is required for voice calls. An internet connection – broadband is best (GPRS is not supported for voice calls). Qt 4.7 • D-Bus 1.0.0 libasound2 1.0.18 PulseAudio 1.0 (optional) BlueZ 4.0.0 (optional) I saw a post, I think it was SlashDot, that the FreeBSD kernel was not robust enough to handle Skype. You might want to talk to the developers. You can always download a clean distribution of Skype from the web site and experiment with it. -- 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 Fri May 24 13:28:30 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id BA60F3D9 for ; Fri, 24 May 2013 13:28:30 +0000 (UTC) (envelope-from kraduk@gmail.com) Received: from mail-la0-x229.google.com (mail-la0-x229.google.com [IPv6:2a00:1450:4010:c03::229]) by mx1.freebsd.org (Postfix) with ESMTP id 44E71E1D for ; Fri, 24 May 2013 13:28:30 +0000 (UTC) Received: by mail-la0-f41.google.com with SMTP id ee20so4472450lab.28 for ; Fri, 24 May 2013 06:28:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=xFBd6TKslDW/Nj/saZOpxNPi03O0mNr/2LThA1SS7v8=; b=XSQm2Il19h2JD2chCa5/c9cdNetcAqxqgWAZ/UbCenCeRWH5ACKdRpy+2bwQ6z27x0 zV+sD81Iea7aBAYA/47PWOvJVXVr1WY78Y5KDILyPprW1Owt57q0Ort3/IPXkoyLxmu7 Dnlt/sczOEShWQFORzDq152cuCeKUZwzt8NJ7WRhICHn/V+Ym6/TB/d5JLLkHiM3HwyE dWazys2/CGAGdJmD3K9il6F8H0ZbLH5yv5hI11WRx+dzA48482izIlTyBeJLYeTIoP+f XQbV/wLu/0R/KE3ARPUd0uV6IHfvhz05Vr0yELt4iU5zxB9l947O4rbMfGIg18cqIk3A 0QXg== MIME-Version: 1.0 X-Received: by 10.112.22.97 with SMTP id c1mr8700151lbf.52.1369402108550; Fri, 24 May 2013 06:28:28 -0700 (PDT) Received: by 10.114.161.113 with HTTP; Fri, 24 May 2013 06:28:28 -0700 (PDT) In-Reply-To: <20130521213719.GA37505@slackbox.erewhon.net> References: <519BA42D.8010809@fuckaround.org> <20130521213719.GA37505@slackbox.erewhon.net> Date: Fri, 24 May 2013 14:28:28 +0100 Message-ID: Subject: Re: filesystem advice From: krad To: Roland Smith Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: Pol Hallen , 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, 24 May 2013 13:28:30 -0000 There isnt really a thing as better, just different. WHich is best for you depends on your requirements and resources. A zfs based solution would work on that system as its just serving a few clients, and on the assumption that they arent to demanding it should run fine. Bunging in more memory if you can will just make things better though, just dont expect anything to amazing out of the machine. If the data is important then all the data integrity features of zfs will be handy. However if you need more speed ufs will be faster on that system, at the expense of the advanced features of zfs. Its really down to you to decide whats more important. On 21 May 2013 22:37, Roland Smith wrote: > On Tue, May 21, 2013 at 06:43:25PM +0200, Pol Hallen wrote: > > Hi all and sorry for this (newbie) question. > > > > I study FreeBSD (I come from linux) and I'm not sure which filesystem > use. > > > > My situation: install a fileserver (samba) for 3 clients and put it as > > gateway/server on internet (ssh, and samba to internal lan). > > > > I installed FreeBSD with raid 1 following this howto: > > > > > http://www.ateamsystems.com/blog/Installing-FreeBSD-9-gmirror-GPT-partitions-raid-1 > > > > everything ok! > > > > I see that use ufs filesystem, now: > > > > I'd like have less maintenance possible direclty to machine because this > > server is far to me 50Km. > > > > So I can use ssh for default (and extra) maintenance. > > > > Which filesystem is "better"? After total crash of system (i.e.) or > > black-out, ufs can repair it by itself? Or better use ufs+journal? or > zfs? > > By default, FreeBSD 9.x uses journaled soft-updates now. This will cut down > the filesystem check time significantly. A filesystem check will require > manual intervention when some kinds of errors are found. > > ZFS likes to have a lot of memory, and preferably a 64-bit machine. See the > tuning guide: https://wiki.freebsd.org/ZFSTuningGuide > > > Motherboard is atom dual core with 2Gb of ram and 2 disks with 2Gb each. > > > Roland > -- > R.F.Smith http://rsmith.home.xs4all.nl/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) > From owner-freebsd-questions@FreeBSD.ORG Fri May 24 17:01:29 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 21D46B8F for ; Fri, 24 May 2013 17:01:29 +0000 (UTC) (envelope-from steve@sohara.org) Received: from uk1rly2283.eechost.net (relay01a.mail.uk1.eechost.net [217.69.40.75]) by mx1.freebsd.org (Postfix) with ESMTP id E031CF3C for ; Fri, 24 May 2013 17:01:28 +0000 (UTC) Received: from [31.186.37.179] (helo=smtp.marelmo.com) by uk1rly2283.eechost.net with esmtpa (Exim 4.72) (envelope-from ) id 1Ufv3r-0003ll-Fk for freebsd-questions@freebsd.org; Fri, 24 May 2013 17:41:47 +0100 Received: from [192.168.63.1] (helo=steve.marelmo.com) by smtp.marelmo.com with smtp (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1Ufv48-0008JP-Ra for freebsd-questions@freebsd.org; Fri, 24 May 2013 16:42:04 +0000 Date: Fri, 24 May 2013 17:42:04 +0100 From: Steve O'Hara-Smith To: freebsd-questions@freebsd.org Subject: Re: ZFS install on a partition Message-Id: <20130524174204.7b5206d55751b1ecb4def2f9@sohara.org> In-Reply-To: <20130523090021.GD1426@pcjas.obspm.fr> References: <372082cab2064846809615a8073e022c@DB3PR07MB059.eurprd07.prod.outlook.com> <20130523090021.GD1426@pcjas.obspm.fr> X-Mailer: Sylpheed 3.3.0 (GTK+ 2.24.17; amd64-portbld-freebsd9.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Auth-Info: 15567@permanet.ie (plain) 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, 24 May 2013 17:01:29 -0000 On Thu, 23 May 2013 11:00:21 +0200 Albert Shih wrote: > Before I'm installing my server under 9.0 + ZFS I do some benchmarks with > ionice to compare > > FreeBSD 9.0+ ZFS + 12 disk SATA 7200 rpm vs CentOS + H700 + 12 disk > SAS 15krpm > > (Both are same Dell poweredge). > > And the ZFS+12 disk sata goes much faster than CentOS+H700+ext4 almost > everywhere. Only for small file AND small record size the ZFS is slower > than CentOS. Hmm I wonder if that's mostly down to the SAS drives seeking faster or between ZFS and ext4. The only real way to tell would be to give both boxes the same kind of drives. -- Steve O'Hara-Smith From owner-freebsd-questions@FreeBSD.ORG Fri May 24 17:26:02 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B87A695C for ; Fri, 24 May 2013 17:26:02 +0000 (UTC) (envelope-from ulrich@pukruppa.de) Received: from pukruppa.de (pd95cabe3.dip0.t-ipconnect.de [217.92.171.227]) by mx1.freebsd.org (Postfix) with ESMTP id 4D68E238 for ; Fri, 24 May 2013 17:26:01 +0000 (UTC) Received: from pukruppa.de (localhost [127.0.0.1]) by pukruppa.de (8.14.7/8.14.7) with ESMTP id r4OHKPst010012 for ; Fri, 24 May 2013 19:20:26 +0200 (CEST) (envelope-from ulrich@pukruppa.de) Message-ID: <519FA159.7070403@pukruppa.de> Date: Fri, 24 May 2013 19:20:25 +0200 From: Peter Ulrich Kruppa User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130522 Thunderbird/17.0.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: x11/kdelibs4 build fails Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 May 2013 17:26:02 -0000 Hi, for some time now x11/kdelibs4 build fails with this: ----------------------------------------------- [...] [ 42%] Building CXX object kdoctools/CMakeFiles/meinproc4.dir/xslt_kde.o Linking CXX executable ../bin/meinproc4 [ 42%] Built target meinproc4 Scanning dependencies of target meinproc4_simple [ 42%] Building CXX object kdoctools/CMakeFiles/meinproc4_simple.dir/meinproc4_simple_automoc.o [ 42%] Building CXX object kdoctools/CMakeFiles/meinproc4_simple.dir/meinproc_simple.o [ 42%] Building CXX object kdoctools/CMakeFiles/meinproc4_simple.dir/meinproc_common.o [ 43%] Building CXX object kdoctools/CMakeFiles/meinproc4_simple.dir/xslt.o Linking CXX executable ../bin/meinproc4_simple [ 43%] Built target meinproc4_simple [ 43%] Generating resourcewatcherconnectioninterface.cpp, resourcewatcherconnectioninterface.h [ 43%] Generating resourcewatchermanagerinterface.cpp, resourcewatchermanagerinterface.h [ 43%] Generating nie.h, nie.cpp Could not find parser plugin for encoding trig *** [nepomuk/nie.h] Error code 1 1 error *** [nepomuk/CMakeFiles/nepomuk.dir/all] Error code 2 1 error *** [all] Error code 2 1 error *** [do-build] Error code 1 Stop in /usr/ports/x11/kdelibs4. *** [build] Error code 1 Stop in /usr/ports/x11/kdelibs4. ---------------------------------------------- Any ideas? I'am running FreeBSD 9.1-STABLE Wed May 22 01:20:24 CEST 2013 amd64 Thanks for your answers Peter From owner-freebsd-questions@FreeBSD.ORG Fri May 24 23:28:19 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 966A859B for ; Fri, 24 May 2013 23:28:19 +0000 (UTC) (envelope-from egunther@warwick.net) Received: from frontend1.warwick.net (mail.warwick.net [204.255.24.102]) by mx1.freebsd.org (Postfix) with SMTP id 48D1996B for ; Fri, 24 May 2013 23:28:18 +0000 (UTC) Received: (qmail 2085 invoked from network); 24 May 2013 23:20:57 -0000 Received: from localhost (HELO mail.warwick.net) (egunther@warwick.net@127.0.0.1) by frontend1.warwick.net with SMTP (96b98f18-c4c8-11e2-b1fe-001e0b616b8e); Fri, 24 May 2013 19:20:57 -0400 Received: from 70.44.113.171.res-cmts.sefg.ptd.net ([70.44.113.171]) (SquirrelMail authenticated user egunther@warwick.net) by mail.warwick.net with HTTP; Fri, 24 May 2013 19:20:57 -0400 (EDT) Message-ID: <01a02245f3e380a78d420629ade881d9.squirrel@mail.warwick.net> In-Reply-To: References: Date: Fri, 24 May 2013 19:20:57 -0400 (EDT) Subject: Re: 9.1 - new install questions From: egunther@warwick.net To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.15 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-MagicMail-UUID: 96b98f18-c4c8-11e2-b1fe-001e0b616b8e X-MagicMail-Authenticated: egunther@warwick.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: Fri, 24 May 2013 23:28:19 -0000 Hi, I don't often comment here and don't really have much to add in this case but; What have you tried to discover the answers to your questions? I just noticed that this post seemed to have been missed. some leads might be: http://www.freebsd.org/releases/9.1R/relnotes.html http://tools.ietf.org/html/rfc4862 - have a good day, 'a5 > I just installed 9.1 on a clean disk. The dmesg is at the end of this > message. > > > > For the network configuration, I selected DHCP for IPv4 and SLAAC for > IPv6. When I boot the PC, it appears that dhclient tries to load > twice. Why does it try to load the second time? > >>From the console log: > > May 18 17:53:15 a31p kernel: Starting dhclient. > May 18 17:53:15 a31p kernel: DHCPREQUEST on fxp0 to 255.255.255.255 > port 67 > May 18 17:53:15 a31p kernel: DHCPREQUEST on fxp0 to 255.255.255.255 > port 67 > May 18 17:53:15 a31p kernel: DHCPACK from 10.20.1.1 > May 18 17:53:15 a31p kernel: bound to 10.20.2.14 -- renewal in 360000 > seconds. > May 18 17:53:15 a31p kernel: dhclient already running? (pid=1233). > > > > > > > Also during the boot process, but earlier, is this message: > > (aprobe0:ata1:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 00 00 40 00 00 00 > 00 00 00 > (aprobe0:ata1:0:1:0): CAM status: Command timeout > (aprobe0:ata1:0:1:0): Error 5, Retry was blocked > run_interrupt_driven_hooks: still waiting after 60 seconds for > xpt_config > (aprobe0:ata1:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 00 00 40 00 00 00 > 00 00 00 > (aprobe0:ata1:0:1:0): CAM status: Command timeout > (aprobe0:ata1:0:1:0): Error 5, Retry was blocked > > > > What is that trying to tell me? The disk appears to work fine, i.e., > 9.1 loads up and runs OK. The above adds significantly to the boot > time. If it is just informational, is there a way to bypass it? > > > Thanks. > > > > > > dmesg: > > Copyright (c) 1992-2012 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, > 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 9.1-RELEASE #0 r243826: Tue Dec 4 06:55:39 UTC 2012 > root@obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > CPU: Intel(R) Pentium(R) 4 Mobile CPU 1.70GHz (1698.61-MHz 686-class > CPU) > Origin = "GenuineIntel" Id = 0xf24 Family = f Model = 2 Stepping > = 4 > Features=0x3febf9ff A,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM> > real memory = 1073741824 (1024 MB) > avail memory = 1031213056 (983 MB) > kbd1 at kbdmux0 > ctl: CAM Target Layer loaded > acpi0: on motherboard > acpi_ec0: port 0x62,0x66 on acpi0 > acpi0: Power Button (fixed) > acpi0: reservation of 0, a0000 (3) failed > acpi0: reservation of 100000, 3ff00000 (3) failed > cpu0: on acpi0 > attimer0: port 0x40-0x43 irq 0 on acpi0 > Timecounter "i8254" frequency 1193182 Hz quality 0 > Event timer "i8254" frequency 1193182 Hz quality 100 > atrtc0: port 0x70-0x71 irq 8 on acpi0 > Event timer "RTC" frequency 32768 Hz quality 0 > Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 > acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 > acpi_lid0: on acpi0 > acpi_button0: on acpi0 > pcib0: port 0xcf8-0xcff on acpi0 > pci0: on pcib0 > agp0: on hostb0 > pcib1: at device 1.0 on pci0 > pci1: on pcib1 > vgapci0: port 0x3000-0x30ff mem > 0xe8000000-0xefffffff,0xd0100000-0xd010ffff irq 11 at device 0.0 on > pci1 > uhci0: port > 0x1800-0x181f irq 11 at device 29.0 on pci0 > usbus0 on uhci0 > uhci1: port > 0x1820-0x183f irq 11 at device 29.1 on pci0 > usbus1 on uhci1 > uhci2: port > 0x1840-0x185f irq 11 at device 29.2 on pci0 > usbus2 on uhci2 > pcib2: at device 30.0 on pci0 > pci2: on pcib2 > cbb0: mem 0x50000000-0x50000fff irq 11 at > device 0.0 on pci2 > cardbus0: on cbb0 > pccard0: <16-bit PCCard bus> on cbb0 > cbb1: mem 0x50100000-0x50100fff irq 11 at > device 0.1 on pci2 > cardbus1: on cbb1 > pccard1: <16-bit PCCard bus> on cbb1 > fwohci0: mem 0xd0201000-0xd02017ff irq 11 at device 0.2 > on pci2 > fwohci0: OHCI version 1.0 (ROM=0) > fwohci0: No. of Isochronous channels is 4. > fwohci0: EUI64 00:06:1b:00:10:00:6d:38 > fwohci0: Phy 1394a available S400, 2 ports. > fwohci0: Link S400, max_rec 2048 bytes. > firewire0: on fwohci0 > fwe0: on firewire0 > if_fwe0: Fake Ethernet address: 02:06:1b:00:6d:38 > fwe0: Ethernet address: 02:06:1b:00:6d:38 > fwip0: on firewire0 > fwip0: Firewire address: 00:06:1b:00:10:00:6d:38 @ 0xfffe00000000, > S400, maxrec 2048 > dcons_crom0: on firewire0 > dcons_crom0: bus_addr 0x14a0000 > fwohci0: Initiate bus reset > fwohci0: fwohci_intr_core: BUS reset > fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1, > CYCLEMASTER mode > fxp0: port 0x8000-0x803f > mem 0xd0200000-0xd0200fff irq 11 at device 8.0 on pci2 > miibus0: on fxp0 > inphy0: PHY 1 on miibus0 > inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, > auto-flow > fxp0: Ethernet address: 00:0e:9b:2c:c7:f6 > isab0: at device 31.0 on pci0 > isa0: on isab0 > atapci0: port > 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1860-0x186f at device 31.1 on > pci0 > ata0: at channel 0 on atapci0 > ata1: at channel 1 on atapci0 > pci0: at device 31.3 (no driver attached) > pcm0: port 0x1c00-0x1cff,0x18c0-0x18ff irq 11 at > device 31.5 on pci0 > pcm0: > pci0: at device 31.6 (no driver attached) > acpi_tz0: on acpi0 > atkbdc0: port 0x60,0x64 irq 1 on acpi0 > atkbd0: irq 1 on atkbdc0 > kbd0 at atkbd0 > atkbd0: [GIANT-LOCKED] > psm0: irq 12 on atkbdc0 > psm0: [GIANT-LOCKED] > psm0: model Generic PS/2 mouse, device ID 0 > uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 > ppc0: port 0x3bc-0x3be,0x7bc-0x7be irq 7 drq 0 on acpi0 > ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode > ppbus0: on ppc0 > plip0: on ppbus0 > ppi0: on ppbus0 > battery0: on acpi0 > acpi_acad0: on acpi0 > pmtimer0 on isa0 > orm0: at iomem > 0xc0000-0xcffff,0xdc000-0xdffff,0xe0000-0xeffff pnpid ORM0000 on isa0 > sc0: at flags 0x100 on isa0 > sc0: VGA <16 virtual consoles, flags=0x300> > vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on > isa0 > acpi_perf0: on cpu0 > p4tcc0: on cpu0 > firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me) > firewire0: bus manager 0 > Timecounters tick every 1.000 msec > usbus0: 12Mbps Full Speed USB v1.0 > usbus1: 12Mbps Full Speed USB v1.0 > usbus2: 12Mbps Full Speed USB v1.0 > ugen0.1: at usbus0 > uhub0: on > usbus0 > ugen1.1: at usbus1 > uhub1: on > usbus1 > ugen2.1: at usbus2 > uhub2: on > usbus2 > uhub0: 2 ports with 2 removable, self powered > uhub1: 2 ports with 2 removable, self powered > uhub2: 2 ports with 2 removable, self powered > (aprobe0:ata1:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 00 00 40 00 00 00 > 00 00 00 > (aprobe0:ata1:0:1:0): CAM status: Command timeout > (aprobe0:ata1:0:1:0): Error 5, Retry was blocked > run_interrupt_driven_hooks: still waiting after 60 seconds for > xpt_config > (aprobe0:ata1:0:1:0): ATAPI_IDENTIFY. ACB: a1 00 00 00 00 40 00 00 00 > 00 00 00 > (aprobe0:ata1:0:1:0): CAM status: Command timeout > (aprobe0:ata1:0:1:0): Error 5, Retry was blocked > ada0 at ata0 bus 0 scbus0 target 0 lun 0 > ada0: ATA-6 device > ada0: 100.000MB/s transfers (UDMA5, PIO 8192bytes) > ada0: 76319MB (156301488 512 byte sectors: 16H 63S/T 16383C) > ada0: Previously was known as ad0 > cd0 at ata1 bus 0 scbus1 target 0 lun 0 > cd0: Removable CD-ROM SCSI-0 device > cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes) > cd0: cd present [1232519 x 2048 byte records] > Trying to mount root from ufs:/dev/ada0p2 [rw]... > fxp0: link state changed to UP > > > -fini- > > > From owner-freebsd-questions@FreeBSD.ORG Sat May 25 05:51:37 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D608233F for ; Sat, 25 May 2013 05:51:37 +0000 (UTC) (envelope-from sam.gh1986@gmail.com) Received: from mail-la0-x236.google.com (mail-la0-x236.google.com [IPv6:2a00:1450:4010:c03::236]) by mx1.freebsd.org (Postfix) with ESMTP id 5A294F6F for ; Sat, 25 May 2013 05:51:37 +0000 (UTC) Received: by mail-la0-f54.google.com with SMTP id eg20so5173331lab.13 for ; Fri, 24 May 2013 22:51: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=q6V10EWUyhtX/r4JuLymWQLM536j7/cAY+9lu9IRrHI=; b=KFiSntPO5k2o3rI3qS/Li+5z0Bz44a1BoryN342uRwFrgoUCIrSS0YFfx+Y0E6TrNh RAt3owRV0UbJdT38aGB1FceCkTW5zjRdSZFtebfJVKkBLPDf+Cdv3rPrzeREEpsSng88 srN0Om0rcl0bwLzRVupkiXpPyEOA9I6J3moreuEf/7m0HgIiCSJrVN0ype31j0oqqpvc XzDwWuQ7cQXi260CY4is7ncJ8sYPzJBCpUgQDFbQise1xH7ZZSWJGx2s3O/Mw6QZWcLS mT2DOVmaaMxc0QKvt/FkbbUtl7+8681mMjqqLVfYiCmDdYxSji3poBLpJ2sGRVI9RwR8 /FHQ== MIME-Version: 1.0 X-Received: by 10.112.21.234 with SMTP id y10mr10374786lbe.53.1369461096157; Fri, 24 May 2013 22:51:36 -0700 (PDT) Received: by 10.112.2.70 with HTTP; Fri, 24 May 2013 22:51:36 -0700 (PDT) In-Reply-To: References: <519B4F11.9030309@ulb.ac.be> <519B87BC.1010301@qeng-ho.org> <519B9042.5050704@qeng-ho.org> Date: Sat, 25 May 2013 10:21:36 +0430 Message-ID: Subject: Re: setup journaling for root partition From: s m To: Warren Block Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions , Torsten Hantzsche 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, 25 May 2013 05:51:37 -0000 thanks Warren, you're right but i want to set journaling in fixit mode!!!! in fixit mode none of my partitions are mounted (mount command show no partition) but geom returns error yet. is there any way to tell geom that my partitions are unmounted? On 5/23/13, Warren Block wrote: > On Thu, 23 May 2013, Torsten Hantzsche wrote: > >> On Thu, 23 May 2013, s m wrote: >> >> >>> thanks, >>> >>> i do as you said, but after loading gjournal, dd says "operation not >>> permitted". >>> gjournal clear says "operation not permitted" too and therefore >>> "gjournal >>> label" is not done and say previous error (gjournal cannot clear >>> metadata >>> on ad3s1a: operation not permitted). and -v return no extra log. >>> >>> i don't know why i can not do any thing in fixit mode:( >>> >>> is this a true procedure? i mean maybe i should do any thing else >>> because >>> freebsd handbook set journaling for user partition in single user mode >>> not >>> in fixit mode. i test it and it works well, but for root partition i can >>> not do the same because root partition can not be unmount in single user >>> mode. >>> >>> any hints or comments are really appreciated. >>> thanks in advance >>> >> >> Hi, >> >> i remember having similar error messages with glabel some years ago. >> The solution was found in "man 4 geom" in section DIAGNOSTICS: >> >> I had to set "kern.geom.debugflags=0x10" to enable the "foot shooting" >> mode. >> >> Maybe this could help you too? > > For certain values of "help". :) > > If geom won't let you write to part of a disk, it's because it thinks > that part of the disk is already in use, usually by a mounted > filesystem. Overwriting part of a filesystem is not guaranteed to lose > data. But why take the chance? > > Better to boot from mfsBSD (http://mfsbsd.vx.sk/). Possibly better yet > to use SUJ, which can be enabled with tunefs with the root partition > mounted read-only in single user mode. SUJ has its own problems, > though. > _______________________________________________ > 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 May 25 10:11:56 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 3E11365C; Sat, 25 May 2013 10:11:56 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id 1D5AE9DB; Sat, 25 May 2013 10:11:55 +0000 (UTC) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id C7C563ACEA; Sat, 25 May 2013 03:11:48 -0700 (PDT) From: "Ronald F. Guilmette" To: freebsd-questions@freebsd.org, freebsd-usb@freebsd.org, freebsd-wireless@freebsd.org Subject: RALINK RT3572 supported in 9.1-RELEASE ? Date: Sat, 25 May 2013 03:11:48 -0700 Message-ID: <18665.1369476708@server1.tristatelogic.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: Sat, 25 May 2013 10:11:56 -0000 I have a Trendnet TEW-684UB wireless dual-band USB adapter. Googling around for awhile leads me to believe that this probably contains an Ralink RT3572 chipset. Further googling also leads me to believe that a version of the run(4) driver which should support this chipset was comitted some considerable time ago. Can anyone confirm either or both of these two impressions? Does the TEW-684UB contain an Ralink RT3572? Is support for that chipset present in 9.1-RELEASE? If the answer to both of the above is "yes", then where might I find a "HOW TO" sort of doc which might help me to get this running? I've already added the following lines to /boot/loader.conf and rebooted: if_run_load="YES" runfw_load="YES" but apparently to no avail. After adding the above two lines to loader.conf and rebooting, shouldn't the device thenceforth appear in the output of "ifconfig -a" ? (Mine does not.) From owner-freebsd-questions@FreeBSD.ORG Sat May 25 10:54:20 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id D7B83D10 for ; Sat, 25 May 2013 10:54:20 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-gh0-f178.google.com (mail-gh0-f178.google.com [209.85.160.178]) by mx1.freebsd.org (Postfix) with ESMTP id 8E978AF6 for ; Sat, 25 May 2013 10:54:20 +0000 (UTC) Received: by mail-gh0-f178.google.com with SMTP id g15so1692016ghb.9 for ; Sat, 25 May 2013 03:54:14 -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=ycTIrXEft2vIffACl9I2zd5fN+IjS+V/9XGF4nO8Trc=; b=EIKWzRfsf7Bj97IWMTV/5K2roVhfVb0Mol6n71CfHNEfkDLRJNG1lBO7iRQqRuYWrP vzu95Zd2aw0Bn7lRhZGw3bd2QmL7O81qkNzFJZP5ZYNDUUfHBMIjbL/1Yz6V11FjiKzS qHGtFU/FKed+3vyciWQdpm8TcaLqLcS8nqnSE= 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=ycTIrXEft2vIffACl9I2zd5fN+IjS+V/9XGF4nO8Trc=; b=l+moJWtGir+y6hIN62RaUkAIg5iNTigMafJq8awL8DUiQccePhikdJhCwCe5bm6eoT fOajtjES9hITo1Nc2gxcxMEzvC9+XAiqv15u+YjFpyxWidHruZ8uBaPxSjPmLsrUo/Ns nVZRSRsLwyA7B8xZSjmpu6Pl2ACEEc9oNQDaq4VeGFDPQcby7sFF8AAJtV5+KfOwkDyX suDhYqUmnEplseYGZxoLuyXqU22LVtbR5ZEXXZP2TpTQegLFgPlKM3u+0mP9g3fDJx+0 idv0v9RQSd77K1rh02W3aDW9Yrz5uWyLgTi6C31CWKP47LDtPB98O5HAL6KxBrHJZfoq FCrA== X-Received: by 10.236.147.75 with SMTP id s51mr11865368yhj.33.1369479254795; Sat, 25 May 2013 03:54:14 -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 ESMTPSA id v34sm28864245yhn.26.2013.05.25.03.54.13 for (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 25 May 2013 03:54:14 -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@seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3bHhCT1Nxwz2CG6L for ; Sat, 25 May 2013 06:54:13 -0400 (EDT) Date: Sat, 25 May 2013 06:54:12 -0400 From: Jerry To: FreeBSD Subject: Re: RALINK RT3572 supported in 9.1-RELEASE ? Message-ID: <20130525065412.2c0e2f73@scorpio> In-Reply-To: <18665.1369476708@server1.tristatelogic.com> References: <18665.1369476708@server1.tristatelogic.com> Organization: seibercom.net X-Mailer: Claws Mail 3.9.1 (GTK+ 2.24.17; 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: ALoCoQkbhCevYm0yx6sVvxu7PPaeCiMtNkM2sFA2zmD59osl+ywi0R8tl6Zs9PWGcMjuOeKIwNJx 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: Sat, 25 May 2013 10:54:20 -0000 On Sat, 25 May 2013 03:11:48 -0700 Ronald F. Guilmette articulated: > > I have a Trendnet TEW-684UB wireless dual-band USB adapter. Googling > around for awhile leads me to believe that this probably contains an > Ralink RT3572 chipset. > > Further googling also leads me to believe that a version of the > run(4) driver which should support this chipset was comitted some > considerable time ago. > > Can anyone confirm either or both of these two impressions? Does > the TEW-684UB contain an Ralink RT3572? Is support for that chipset > present in 9.1-RELEASE? > > If the answer to both of the above is "yes", then where might I find > a "HOW TO" sort of doc which might help me to get this running? I've > already added the following lines to /boot/loader.conf and rebooted: > > if_run_load="YES" > runfw_load="YES" > > but apparently to no avail. > > After adding the above two lines to loader.conf and rebooting, > shouldn't the device thenceforth appear in the output of "ifconfig > -a" ? (Mine does not.) Seriously, it took me three seconds to go to the TRENDnet page and discover that it uses the RT3573 chip set. I will leave discovering if the run(4) driver supports it as a lesson for the student. -- 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 Sat May 25 15:45:00 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 539A379 for ; Sat, 25 May 2013 15:45:00 +0000 (UTC) (envelope-from paul@kraus-haus.org) Received: from mail-qc0-x22d.google.com (mail-qc0-x22d.google.com [IPv6:2607:f8b0:400d:c01::22d]) by mx1.freebsd.org (Postfix) with ESMTP id 145FC7AE for ; Sat, 25 May 2013 15:44:59 +0000 (UTC) Received: by mail-qc0-f173.google.com with SMTP id c11so2898958qcv.18 for ; Sat, 25 May 2013 08:44:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=yI4y6lIDBnmDrOJxTk/XKPhCtUqhC60Pb26QNZIRAaM=; b=IF5F+cgVmIzsNsJMZbZi9Xf5wjXGY7uwZQXYGqfxEkXA2Rx6NZHhd0ecPSuVl/5Ea0 wCHk4O96/HmRG/oXX5yBEvOeqhoOp3Ks9eRw5FOaG2HYwn2OioJ4pGGZXuigXIjJPyp+ ZuCURn7KKURlfomvAiU9KNBFcfUNXyFEXqZDNH/oHF5qdFF/e9YmmgzG6WYYQe5j9lbR 9GoRC84lZp0kVFrlrITYq/VUAknJVQqozf8M6/2M9ODJCnfz6O6w7nKSt2rggn1n56E1 s+9YKVn9Sorl2C+dfqZnYZ7UVsQW/4WLFKuWhC+LmCQvtL8+U2MRtYAiJ0logzOgY6VN eWaQ== X-Received: by 10.49.39.68 with SMTP id n4mr23518505qek.44.1369496699390; Sat, 25 May 2013 08:44:59 -0700 (PDT) Received: from [172.30.5.204] (ip66-104-8-126.z8-104-66.customer.algx.net. [66.104.8.126]) by mx.google.com with ESMTPSA id do6sm19190875qab.12.2013.05.25.08.44.57 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 25 May 2013 08:44:58 -0700 (PDT) Subject: Re: file corruption solution (soft-update or ZFS) Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset=us-ascii From: Paul Kraus In-Reply-To: Date: Sat, 25 May 2013 11:44:59 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <9F319856-E79D-49F5-A0C9-3650DDC0C740@kraus-haus.org> References: To: Michael Sierchio X-Mailer: Apple Mail (2.1503) X-Gm-Message-State: ALoCoQk0BZLiWE904dgsNmD6Fyxc/FqKyzNnNqTN6w3utrFrcu9P1dLFBBrI8Z6H8BcVTNwnmVvC Cc: saeedeh motlagh , freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 May 2013 15:45:00 -0000 On May 23, 2013, at 11:09 AM, Michael Sierchio = wrote: > On Thu, May 23, 2013 at 5:33 AM, Warren Block = wrote: >=20 >> .. >=20 >> One thing mentioned earlier is that ZFS wants lots of memory. 4G-8G >> minimum, some might say as much as the server will hold. >>=20 >>=20 > Not necessarily so - deduplication places great demands on memory, but = that > can be satisfied with dedicated cache devices (on SSD for performance = and > safety reasons). Without dedup, the requirements are more modest. The rule of thumb for DeDupe is 1GB physical RAM for every 1TB of = capacity. The issue is that the DeDupe metadata table must live in the = ARC for good performance. The discussion I have seen on the ZFS lists = indicates that L2ARC is not really adequate for this, so adding cache = devices (SSD's) don't really help. On the other hand, you can use ZFS without DeDupe with as little as 2GB = of total system RAM (depending on what else the system is doing). In my = experience, the amount of RAM depends on the amount of I/O not the = amount of storage. I find between 1GB and 3GB space for the ARC is = adequate. -- Paul Kraus Deputy Technical Director, LoneStarCon 3 Sound Coordinator, Schenectady Light Opera Company From owner-freebsd-questions@FreeBSD.ORG Sat May 25 18:13:14 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A0993796; Sat, 25 May 2013 18:13:14 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-wi0-x235.google.com (mail-wi0-x235.google.com [IPv6:2a00:1450:400c:c05::235]) by mx1.freebsd.org (Postfix) with ESMTP id E3EA1DE0; Sat, 25 May 2013 18:13:13 +0000 (UTC) Received: by mail-wi0-f181.google.com with SMTP id hi5so544178wib.8 for ; Sat, 25 May 2013 11:13:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=vbL3l5OVVbafkLDFs0mGD5sSgvFWtpC3Y2v76cEDGfc=; b=yXEPtPihhEuUm2OJZCKnXNM5I8ZeJeyDE0J11FORwwi6ykwMc3jVuOhaZCrxpgnBqg sKyeFBRXVJojHcB9fiYEIA/Ywkr05DycmwKNdttjL1HJXexM0+tegNER3xGVWkhQHeWC YX4u1JiM+gRHOm7Gixe//jIwXAVbQa/eIsz17zwmVE0MTdvtaUUtvBbbgrt2T2nUjmIG GHzWUnXpP2oSNwN9ZeNGxo9lrcSe2Bp9jqItzz4+3Wqy03Ve85qFA6Xch3vFV5ENctDU z0wPI19GtoL76Me9jg0wW7IoBHQtG0qYBBcENfZ0cW6a0Bqfl2ycU1efDZkCcZ64wXRZ iCTg== MIME-Version: 1.0 X-Received: by 10.180.212.3 with SMTP id ng3mr3008460wic.22.1369505593021; Sat, 25 May 2013 11:13:13 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.216.191.138 with HTTP; Sat, 25 May 2013 11:13:12 -0700 (PDT) In-Reply-To: <18665.1369476708@server1.tristatelogic.com> References: <18665.1369476708@server1.tristatelogic.com> Date: Sat, 25 May 2013 11:13:12 -0700 X-Google-Sender-Auth: qnJ-BpOK-dcZcn-15FCMy5iAGjg Message-ID: Subject: Re: RALINK RT3572 supported in 9.1-RELEASE ? From: Adrian Chadd To: "Ronald F. Guilmette" Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-wireless@freebsd.org, freebsd-questions@freebsd.org, freebsd-usb@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, 25 May 2013 18:13:14 -0000 I vaguely recall it made it into -HEAD. I don't think it was ever backported. adrian On 25 May 2013 03:11, Ronald F. Guilmette wrote: > > I have a Trendnet TEW-684UB wireless dual-band USB adapter. Googling > around for awhile leads me to believe that this probably contains an > Ralink RT3572 chipset. > > Further googling also leads me to believe that a version of the > run(4) driver which should support this chipset was comitted some > considerable time ago. > > Can anyone confirm either or both of these two impressions? Does > the TEW-684UB contain an Ralink RT3572? Is support for that chipset > present in 9.1-RELEASE? > > If the answer to both of the above is "yes", then where might I find > a "HOW TO" sort of doc which might help me to get this running? I've > already added the following lines to /boot/loader.conf and rebooted: > > if_run_load="YES" > runfw_load="YES" > > but apparently to no avail. > > After adding the above two lines to loader.conf and rebooting, shouldn't > the device thenceforth appear in the output of "ifconfig -a" ? (Mine does > not.) > _______________________________________________ > freebsd-wireless@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-wireless > To unsubscribe, send any mail to "freebsd-wireless-unsubscribe@freebsd.org"