From owner-freebsd-questions@FreeBSD.ORG Sun Jul 4 01:48:47 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45C08106566B for ; Sun, 4 Jul 2010 01:48:47 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id F10188FC08 for ; Sun, 4 Jul 2010 01:48:46 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o641micx094973; Sat, 3 Jul 2010 19:48:44 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o641mibM094970; Sat, 3 Jul 2010 19:48:44 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sat, 3 Jul 2010 19:48:44 -0600 (MDT) From: Warren Block To: Carl Chave In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-902635197-514721803-1278203247=:94356" Content-ID: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.5 (wonkity.com [127.0.0.1]); Sat, 03 Jul 2010 19:48:44 -0600 (MDT) Cc: questions@freebsd.org Subject: Re: pxe LiveCD setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2010 01:48: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. ---902635197-514721803-1278203247=:94356 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-15; FORMAT=flowed Content-Transfer-Encoding: 8BIT Content-ID: On Sat, 3 Jul 2010, Carl Chave wrote: > On Sat, Jul 3, 2010 at 3:07 PM, Warren Block wrote: >> Is there a quick way to set up a PXE boot menu for booting into a number of >> ISO images?  There's net/pxe, but it looks like only part of the solution. >> >> Ideally, there'd just be a minimal setup with a directory of ISO files and a >> built-in loader that lets the user choose which ISO to boot. >> _______________________________________________ > > I've had a lot of luck with grub4dos. At work I use it to present a > menu to the PXE client. I've had most success booting .iso files by > having grub4dos memory map them, so having a fair amount of ram is > helpful. I've used it to boot damn small linux, puppy linux, Dell > diagnostic cd .iso, dban iso, spinrite .iso etc. After a very cursory setup, it works! I took notes and will write it up in a bit. The only complaint I have so far is the speed of download via tftp. A 236M ISO took two minutes to load, or about 2M per second. A full CD takes a long, long time. Is that typical, or maybe just the poor Ethernet on this Aspire One D250? ---902635197-514721803-1278203247=:94356-- From owner-freebsd-questions@FreeBSD.ORG Sun Jul 4 04:00:47 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C10291065670 for ; Sun, 4 Jul 2010 04:00:47 +0000 (UTC) (envelope-from carl@chave.us) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 881F38FC08 for ; Sun, 4 Jul 2010 04:00:47 +0000 (UTC) Received: by gwb1 with SMTP id 1so1757228gwb.13 for ; Sat, 03 Jul 2010 21:00:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.90.80.5 with SMTP id d5mr1474282agb.17.1278216039918; Sat, 03 Jul 2010 21:00:39 -0700 (PDT) Received: by 10.90.101.1 with HTTP; Sat, 3 Jul 2010 21:00:39 -0700 (PDT) In-Reply-To: References: Date: Sun, 4 Jul 2010 00:00:39 -0400 Message-ID: From: Carl Chave To: Warren Block Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: questions@freebsd.org Subject: Re: pxe LiveCD setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2010 04:00:47 -0000 > After a very cursory setup, it works! =A0I took notes and will write it u= p in > a bit. > > The only complaint I have so far is the speed of download via tftp. =A0A = 236M > ISO took two minutes to load, or about 2M per second. =A0A full CD takes = a > long, long time. =A0Is that typical, or maybe just the poor Ethernet on t= his > Aspire One D250? I haven't timed them so I can't say for sure. The biggest file I currently use is a windows PE .iso and it does take a bit to transfer. I'll breakout the stopwatch next week and see. My DHCP/tftp server is a Sunfire V240 with Solaris 10. I was having a horrible time with the default tftp server and switched to tftpd-hpa which helped a lot, especially with being able to remap \ to /. Floppy images work well also. I've got a Freedos boot disk floppy image with 3com's universal PXE ethernet driver for dumping and restoring ghost images. Works out of the box with every PXE client I've tried, no need to have custom boot disks with different nic drivers. One of the tweaks I did with the grldr file was to hex edit a section so it goes straight to the menu instead of cycling though the mac address variations. Then I added the company logo to the background of the menu... and ... nobody sees it but me! From owner-freebsd-questions@FreeBSD.ORG Sun Jul 4 05:28:41 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FE9C106566B for ; Sun, 4 Jul 2010 05:28:41 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id E7D7E8FC1F for ; Sun, 4 Jul 2010 05:28:40 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o645Rrge071067 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 4 Jul 2010 06:27:55 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C301BD9.30405@infracaninophile.co.uk> Date: Sun, 04 Jul 2010 06:27:53 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: Chris Maness References: <4C2CA73E.9010700@infracaninophile.co.uk> <4C2F9503.5020801@infracaninophile.co.uk> In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=1.6 required=5.0 tests=BAYES_50,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.1 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: BIND Refusing to Resolve for External Hosts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2010 05:28:41 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 03/07/2010 22:29:46, Chris Maness wrote: > Ahhh, I see I need to add: > > allow-query { any; }; > > to my authoritative zones. > > Thanks it all works now. Great. > p.s. So was this a change in the default behavior of BIND over the > years? Because I don't think my named.conf has been changed, and this > used to work for any hosts. The built-in access control rules have evolved over time, certainly. However, this hasn't changed since BIND 9.6 was released, and possibly longer than that. RELENG_8 and above have contained BIND 9.6.x from the point where the branch was created, but RELENG_7 contains BIND 9.4.x -- so if you've done an upgrade from 7.x to 8.x recently it might explain your experiences. The pre-canned configuration that comes with FreeBSD is suitable for use as a localhost-only recursive resolver: if you want to serve a whole network of machines or add authoritative data then you will need to modify it or craft your own named.conf, an important part of which is setting up ACLs to control what you will serve to who. This is a very useful reference: http://www.cymru.com/Documents/secure-bind-template.html Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwwG9kACgkQ8Mjk52CukIyPdwCeKKNIRAl3xfGRlyRovx4tMu/f flcAn1aoYlhHv1VO4hCrLFKCyBGG8N/R =3N80 -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Sun Jul 4 05:33:24 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8254106564A for ; Sun, 4 Jul 2010 05:33:24 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id 8ED418FC15 for ; Sun, 4 Jul 2010 05:33:24 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id o645XMYu074619 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 4 Jul 2010 00:33:22 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.4) with ESMTP id o645XMRb013917 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 4 Jul 2010 00:33:22 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.3/Submit) id o645XL13013916; Sun, 4 Jul 2010 00:33:21 -0500 (CDT) (envelope-from dan) Date: Sun, 4 Jul 2010 00:33:21 -0500 From: Dan Nelson To: Marco Beishuizen Message-ID: <20100704053321.GG50409@dan.emsphone.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 8.1-PRERELEASE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.96 at email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Sun, 04 Jul 2010 00:33:22 -0500 (CDT) X-Scanned-By: MIMEDefang 2.45 Cc: freebsd-questions@freebsd.org Subject: Re: fetchmail certificate verification messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2010 05:33:24 -0000 In the last episode (Jul 03), Marco Beishuizen said: > I'm seeing in my logfiles a lot of messages like these from fetchmail: > > Jul 3 22:02:54 yokozuna fetchmail[1437]: Server certificate verification > error: self signed certificate in certificate chain > Jul 3 22:02:54 yokozuna fetchmail[1437]: This means that the root signing > certificate (issued for /C=SE/O=AddTrust AB/OU=AddTrust External TTP > Network/CN=AddTrust External CA Root) is not in the trusted CA certificate > locations, or that c_rehash needs to be run on the certificate directory. > For details, please see the documentation of sslcertpath and > sslcertfile in the manual page. > > Does anyone know what these messages mean and if they are harmless or not? Probably harmless, unless someone has forged a certificate chain using a fake "AddTrust External CA Root" cert at the top. Installing the security/ca_root_nss port (make sure you enable the ETCSYMLINK option) will probably silence it. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Sun Jul 4 13:02:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A8A4106566B for ; Sun, 4 Jul 2010 13:02:39 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from smtp-vbr18.xs4all.nl (smtp-vbr18.xs4all.nl [194.109.24.38]) by mx1.freebsd.org (Postfix) with ESMTP id 1394F8FC14 for ; Sun, 4 Jul 2010 13:02:38 +0000 (UTC) Received: from yokozuna.lan (213-84-73-82.adsl.xs4all.nl [80.101.78.208]) by smtp-vbr18.xs4all.nl (8.13.8/8.13.8) with ESMTP id o64D2Y4G040216 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 4 Jul 2010 15:02:34 +0200 (CEST) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan (yokozuna.lan [IPv6:::1]) by yokozuna.lan (8.14.4/8.14.4) with ESMTP id o64D2Xq5009943; Sun, 4 Jul 2010 15:02:33 +0200 (CEST) (envelope-from mbeis@xs4all.nl) Date: Sun, 4 Jul 2010 15:02:33 +0200 (CEST) From: Marco Beishuizen Sender: marco@yokozuna.lan To: Dan Nelson In-Reply-To: <20100704053321.GG50409@dan.emsphone.com> Message-ID: References: <20100704053321.GG50409@dan.emsphone.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: fetchmail certificate verification messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marco Beishuizen List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2010 13:02:39 -0000 On Sun, 4 Jul 2010, Dan Nelson wrote: > Probably harmless, unless someone has forged a certificate chain using a > fake "AddTrust External CA Root" cert at the top. Installing the > security/ca_root_nss port (make sure you enable the ETCSYMLINK option) will > probably silence it. I installed ca_root_nss again (was already installed but without the ETCSYMLINK option), but these messages still appear in the logs. But when it's harmless I'll just leave it this way. Thanks, Marco -- Basic Definitions of Science: If it's green or wiggles, it's biology. If it stinks, it's chemistry. If it doesn't work, it's physics. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 4 15:01:59 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DCA6B1065880 for ; Sun, 4 Jul 2010 15:01:59 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.52]) by mx1.freebsd.org (Postfix) with ESMTP id B47FE8FC18 for ; Sun, 4 Jul 2010 15:01:59 +0000 (UTC) Received: (qmail 26458 invoked from network); 4 Jul 2010 15:01:59 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 4 Jul 2010 15:01:58 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id 9DD335081F; Sun, 4 Jul 2010 11:01:51 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id D841E1CD59; Sun, 4 Jul 2010 11:01:50 -0400 (EDT) From: Lowell Gilbert To: Warren Block References: Date: Sun, 04 Jul 2010 11:01:50 -0400 In-Reply-To: (Warren Block's message of "Sat, 3 Jul 2010 19:48:44 -0600 (MDT)") Message-ID: <44vd8ve1ep.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Carl Chave , questions@freebsd.org Subject: Re: pxe LiveCD setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2010 15:01:59 -0000 Warren Block writes: > The only complaint I have so far is the speed of download via tftp. A > 236M ISO took two minutes to load, or about 2M per second. A full CD > takes a long, long time. Is that typical, or maybe just the poor > Ethernet on this Aspire One D250? The stock tftpd on FreeBSD doesn't support variant block sizes (or much of anything else past RFC 1350). You'll see better performance if you go with something newer. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 4 15:25:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 441C5106566B for ; Sun, 4 Jul 2010 15:25:54 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.42]) by mx1.freebsd.org (Postfix) with ESMTP id 1ABB18FC15 for ; Sun, 4 Jul 2010 15:25:53 +0000 (UTC) Received: (qmail 17854 invoked from network); 4 Jul 2010 15:25:53 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 4 Jul 2010 15:25:53 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id 616F75081F; Sun, 4 Jul 2010 11:25:47 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id C72481CD9D; Sun, 4 Jul 2010 11:25:46 -0400 (EDT) From: Lowell Gilbert To: Samuel =?iso-8859-1?Q?Mart=EDn?= Moro References: Date: Sun, 04 Jul 2010 11:25:45 -0400 In-Reply-To: ("Samuel =?iso-8859-1?Q?Mart=EDn?= Moro"'s message of "Fri, 2 Jul 2010 16:05:31 +0200") Message-ID: <44r5jje0au.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Running a script after a device's been plugged X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2010 15:25:54 -0000 Samuel Mart=EDn Moro writes: > 3) Last but not least, how to link a device once it's plugged in, and unl= ink > it once it's unplugged? > We're still providing 5.4 and 6.2 releases based versions. And I do not l= ike > hal. > So I thought I could use /etc/devd.conf, with attach/detach directives, a= nd > their actions calling a script that would create/delete the links. > Is there a cleaner way to do it? Would it be still usable in 8.x? (9.x?) That's exactly what devd is for. Go ahead and use it. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 4 15:32:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 917F2106564A for ; Sun, 4 Jul 2010 15:32:34 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.52]) by mx1.freebsd.org (Postfix) with ESMTP id 695E28FC1D for ; Sun, 4 Jul 2010 15:32:34 +0000 (UTC) Received: (qmail 25727 invoked from network); 4 Jul 2010 15:32:33 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 4 Jul 2010 15:32:33 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id 10D575081F; Sun, 4 Jul 2010 11:32:26 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id 74CFC1CD94; Sun, 4 Jul 2010 11:32:26 -0400 (EDT) From: Lowell Gilbert To: Tim Daneliuk References: <4C2E724D.7070904@tundraware.com> Date: Sun, 04 Jul 2010 11:32:26 -0400 In-Reply-To: <4C2E724D.7070904@tundraware.com> (Tim Daneliuk's message of "Fri, 02 Jul 2010 18:12:13 -0500") Message-ID: <44mxu7dzzp.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Mailing List Subject: Re: Getting kernel trap 12 During Boot Of 8.1-PRERELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Mailing List List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2010 15:32:34 -0000 Tim Daneliuk writes: > I've seen this twice now - once last Sunday, and once again today > when I tried to do a build/installworld/kernel with daily sources > from the master tree: > > http://www.mediafire.com/imageview.php?quickkey=qmhizdtnhyo&thumb=4 That asked me to jump through too many hoops over multiple domains, so I didn't actually see it. I'll assume it's just more information on the error in your subject line. > The system boots fine single-user, so I don't suspect the base > kernel functionality. Maybe. What you should do is install the kernel *before* the userland. If you already did that, then make sure youtry with a GENERIC kernel. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 4 15:38:01 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF5E3106566C for ; Sun, 4 Jul 2010 15:38:01 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id 73B438FC13 for ; Sun, 4 Jul 2010 15:38:01 +0000 (UTC) Received: from [192.168.0.2] (viper.tundraware.com [192.168.0.2]) (authenticated bits=0) by ozzie.tundraware.com (8.14.4/8.14.4) with ESMTP id o64FbsZW056845 (version=TLSv1/SSLv3 cipher=DHE-DSS-CAMELLIA256-SHA bits=256 verify=NO) for ; Sun, 4 Jul 2010 10:37:54 -0500 (CDT) (envelope-from tundra@tundraware.com) Message-ID: <4C30AAD2.4020909@tundraware.com> Date: Sun, 04 Jul 2010 10:37:54 -0500 From: Tim Daneliuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: FreeBSD Mailing List References: <4C2E724D.7070904@tundraware.com> <44mxu7dzzp.fsf@lowell-desk.lan> In-Reply-To: <44mxu7dzzp.fsf@lowell-desk.lan> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.5 (ozzie.tundraware.com [75.145.138.73]); Sun, 04 Jul 2010 10:37:54 -0500 (CDT) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: o64FbsZW056845 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No Subject: Re: Getting kernel trap 12 During Boot Of 8.1-PRERELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2010 15:38:01 -0000 On 7/4/2010 10:32 AM, Lowell Gilbert wrote: > Tim Daneliuk writes: > >> I've seen this twice now - once last Sunday, and once again today >> when I tried to do a build/installworld/kernel with daily sources >> from the master tree: >> >> http://www.mediafire.com/imageview.php?quickkey=qmhizdtnhyo&thumb=4 > > That asked me to jump through too many hoops over multiple domains, so I > didn't actually see it. I'll assume it's just more information on the > error in your subject line. I'm not sure what you mean. It should take you to a screenshot of the problem. What does "too many hoops" mean in this context? > >> The system boots fine single-user, so I don't suspect the base >> kernel functionality. > > Maybe. > > What you should do is install the kernel *before* the userland. If you > already did that, then make sure youtry with a GENERIC kernel. I did exactly that, though I did not try the GENERIC kernel. My conf looks like this: include GENERIC ident MACHINENAME options IPFIREWALL options IPDIVERT options VESA # System console options options SC_DISABLE_REBOOT # disable reboot key sequence options SC_HISTORY_SIZE=200 # number of history buffer lines options SC_PIXEL_MODE # add support for the raster text mode # The following options will change the default colors of syscons. options SC_NORM_ATTR="(FG_GREEN|BG_BLACK)" options SC_NORM_REV_ATTR="(FG_YELLOW|BG_GREEN)" options SC_KERNEL_CONS_ATTR="(FG_RED|BG_BLACK)" options SC_KERNEL_CONS_REV_ATTR="(FG_BLACK|BG_RED)" ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From owner-freebsd-questions@FreeBSD.ORG Sun Jul 4 15:39:52 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 076AD1065670 for ; Sun, 4 Jul 2010 15:39:52 +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 BC9468FC18 for ; Sun, 4 Jul 2010 15:39:50 +0000 (UTC) Received: from r55.edvax.de (port-92-195-117-232.dynamic.qsc.de [92.195.117.232]) by mx02.qsc.de (Postfix) with ESMTP id C61611E2F2; Sun, 4 Jul 2010 17:39:48 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o64FdlHn001489; Sun, 4 Jul 2010 17:39:47 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 4 Jul 2010 17:39:47 +0200 From: Polytropon To: Jozsi Avadkan Message-Id: <20100704173947.59aa4a2d.freebsd@edvax.de> In-Reply-To: <1278177054.5667.6.camel@localhost> References: <1278148049.4480.9.camel@localhost> <1278177054.5667.6.camel@localhost> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing list Subject: Re: text to html X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2010 15:39:52 -0000 On Sat, 03 Jul 2010 19:10:54 +0200, Jozsi Avadkan wrote: > my own solution: http://pastebin.com/raw.php?i=kqQXCpD5 Allow me a short comment: Your first line #!/bin/bash will make it non-portable, and usually non-runnable on FreeBSD. I know that bash is the default shell for scripting in Linux, and it is located in /bin. But FreeBSD is not Linux. Here, bash is an additional port, and /usr/local/bin would be the path where the bash executable is placed (unless you use specific port options). Of course, if you want to run this script on Linux only - no problem. I'm not seeing any bash-specific (outside sh capabilites) stuff here, so why not use the default #!/bin/sh shebang here? There would be nothing wrong with conforming to the standard... -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Jul 4 15:47:36 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6423106564A for ; Sun, 4 Jul 2010 15:47:36 +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 A09F48FC17 for ; Sun, 4 Jul 2010 15:47:36 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o64FlXMP025681; Sun, 4 Jul 2010 09:47:33 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o64FlXd9025678; Sun, 4 Jul 2010 09:47:33 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 4 Jul 2010 09:47:33 -0600 (MDT) From: Warren Block To: Lowell Gilbert In-Reply-To: <44vd8ve1ep.fsf@lowell-desk.lan> Message-ID: References: <44vd8ve1ep.fsf@lowell-desk.lan> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.5 (wonkity.com [127.0.0.1]); Sun, 04 Jul 2010 09:47:33 -0600 (MDT) Cc: Carl Chave , questions@freebsd.org Subject: Re: pxe LiveCD setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2010 15:47:37 -0000 On Sun, 4 Jul 2010, Lowell Gilbert wrote: > The stock tftpd on FreeBSD doesn't support variant block sizes (or much > of anything else past RFC 1350). You'll see better performance if you > go with something newer. Spent some time experimenting. tftp-hpa is faster, but setting the maximum block size was required to prevent errors. Unexpectedly, 1024 was fastest in my setup. The problems can be on the other end, too: System Rescue's tftp client is not great--three minutes for 211M. Clonezilla is much better, at 15 seconds for 101M. Linux systems with netboot can boot off http (using wget) and it's much better. Twice as fast for the Clonezilla load, but System Rescue went from three minutes to only 18 seconds. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 4 16:00:21 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E281C106566C for ; Sun, 4 Jul 2010 16:00:21 +0000 (UTC) (envelope-from freebsd.user@seibercom.net) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 926E58FC23 for ; Sun, 4 Jul 2010 16:00:21 +0000 (UTC) Received: by vws6 with SMTP id 6so5203103vws.13 for ; Sun, 04 Jul 2010 09:00:15 -0700 (PDT) Received: by 10.220.122.24 with SMTP id j24mr840512vcr.154.1278259215408; Sun, 04 Jul 2010 09:00:15 -0700 (PDT) Received: from scorpio.seibercom.net (c-67-189-160-65.hsd1.ny.comcast.net [67.189.160.65]) by mx.google.com with ESMTPS id k10sm3534473vcj.19.2010.07.04.09.00.13 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 04 Jul 2010 09:00:14 -0700 (PDT) Received: from scorpio (zeus [192.168.1.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: FreeBSD.user@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id B6015E54863; Sun, 4 Jul 2010 12:00:12 -0400 (EDT) Date: Sun, 4 Jul 2010 12:00:11 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20100704120011.4ce3dc1a@scorpio> Organization: seibercom.net X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd8.0) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAG1BMVEX3/uPVnZf2/v9ejGkqHB74++H///+cHCT3m6cgqYvfAAACbElEQVQ4jWXTQW/bIBQAYJLJuRMn8TVCss9zTdrrXJ6bHe1Ej/bossF9EpJ3nbapf3sP8JxOQ4qV8OU9HvjBROWcYNlKHtxlQ1/huBaOBiMwQtgHhbokMLIT76Acps5hvy61+6WsjkCZzNEW0+fcQ7Nl5uoPCegjjjhN5/MEABd89k9hXkQoX6cwPIDKCt8tYG5wpmdrxAyuolTPqpiVoEpVCWvl6e00RAD4JBJQnO4lvv0O4Cnd3WUGevYNFohxFYAy7jCCtW39LaQK8BgDAgiHVinVJlCiFKlcqgEHfwb1EuG+DwFGMO3oCIuJIEYoa8KJECBB+UBldgm0MQmEGz7GQr8XYRPKzYNO1zZ8mgdAu4BG5Ke/4KFboM8458UScViAAvYD93OAsu+Bc3zxCU7ZAjT74+dQv9K7oO0d1wuscop48Pc50O5bcVwgGzh/mXzaizJuAWERh8k3eaxKmxu4kV1p2XOEg3i3c8M+EKR93P0D1KATpC55vMHaGqFf5f/AwhlrhHgg8DTezopt6I3o3Qx4q4q6YaPxK8RxcClXeFGhTTS++QR6TS/oBs7l4WhzuNMubZG6hIBkF4qqZVdWczIqSrjKVF/i4o26IP2oElBGFy5CXKSnf6UWDTC6zKSqoAvzsakjjBvdzLKnmxdhY8eRsX7VSCUBdgD1hVJpx6y2OOS1DNDILYmqdWUJ+oHvd0rRvAqX5kpxQMR6yxHzPV6VlPFyWE7LKc36keNQI64gLP8Ybgtmg+zYuBl4fuI8VqW2RqDGE8Uzu7GxGa803whDdxx3bSZbRhfQUSxvmnpLZWpRFqHz7v8AvsBe0S1zv9UAAAAASUVORK5CYII= Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: ilya@space.rootshell.ru Subject: linux-nvu freezes upon startup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2010 16:00:22 -0000 FreeBSD 8.1-PRERELEASE / amd64 Using KDE (latest port version) I have removed and reinstalled linux-nvu twice; however, it will not run. It hangs with its start up screen after clicking on any available option. Using 'gdb' I got this info: warning: no shared library support for this OS / ABI /usr/local/lib/linux-nvu/nvu-bin: error while loading shared libraries: libmozjs.so: cannot open shared object file: No such file or directory I did locate the library: $ locate libmozjs.so /usr/local/lib/firefox3/libmozjs.so /usr/local/lib/firefox3/sdk/lib/libmozjs.so /usr/local/lib/linux-nvu/libmozjs.so Has anyone else experienced a similar problem or have a solution? -- Jerry ✌ FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ Last yeer I kudn't spel Engineer. Now I are won. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 4 16:03:07 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E133D1065670 for ; Sun, 4 Jul 2010 16:03:07 +0000 (UTC) (envelope-from renaud.luca@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 73A938FC13 for ; Sun, 4 Jul 2010 16:03:06 +0000 (UTC) Received: by ewy26 with SMTP id 26so1620805ewy.13 for ; Sun, 04 Jul 2010 09:02:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=d9OE0jt25grqkASZOFCsl35QXsGHySEadWXd8tro9+A=; b=uO3PAoYDNWQynS8xEt0WxVJsFedxmBcp8lLX4IFeNDHU4IN0VHT3DKrY/QmC3+1r09 6jWgCwE29ooxqXoogo0w+xnKoPk6F7w9/N1gpVca9zKW7JehD2MubgvmPxiY4aqhnAov FV8J9yj9sU6ANWjelRNMiOs3lwvThNQuzARsc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=UGVvplK6TCRWlAAUvpEjGEqzEx+usfJ0cVL9X8icwuA55n3oGwpkR8cG9R95jhfTzw qSmY0DJkwhEkTMMZbBoT6xiHCRPx9g3kzTjn7a5riO2c+kCx/9v4O45h0++bfYnA/8hZ BSe0iMYCo2Rl7zO0w+ttqgBuT+x/d4uPyF1To= MIME-Version: 1.0 Received: by 10.213.32.141 with SMTP id c13mr1262267ebd.22.1278259379117; Sun, 04 Jul 2010 09:02:59 -0700 (PDT) Received: by 10.213.23.4 with HTTP; Sun, 4 Jul 2010 09:02:59 -0700 (PDT) Date: Sun, 4 Jul 2010 17:02:59 +0100 Message-ID: From: Luca Renaud To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Get access to csh (default freebsd shell) for root to solve login problem. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2010 16:03:08 -0000 The root shell is now bash,but I was unaware that bash was not self-contained(it depends at least of libintl.so.8), and doing some upgrades with ports I erased libintl.so.8,now I cannot access the root account because bash is not operational and I need root access to install again libintl.so.8,or any other way to solve the problem. So,how can I get access to csh for root without having access to a root shell(the previously defined bash does not work,and I need root access to change the shell for the root acount). Thanks. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 4 16:14:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 097971065672 for ; Sun, 4 Jul 2010 16:14:34 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.49]) by mx1.freebsd.org (Postfix) with ESMTP id D55CC8FC0A for ; Sun, 4 Jul 2010 16:14:33 +0000 (UTC) Received: (qmail 29677 invoked from network); 4 Jul 2010 16:14:32 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 4 Jul 2010 16:14:31 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id DA3875081F; Sun, 4 Jul 2010 12:14:23 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id 280401CD82; Sun, 4 Jul 2010 12:14:23 -0400 (EDT) From: Lowell Gilbert To: Luca Renaud References: Date: Sun, 04 Jul 2010 12:14:23 -0400 In-Reply-To: (Luca Renaud's message of "Sun, 4 Jul 2010 17:02:59 +0100") Message-ID: <447hlbi5r4.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: Get access to csh (default freebsd shell) for root to solve login problem. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2010 16:14:34 -0000 Luca Renaud writes: > The root shell is now bash,but I was unaware that bash was not > self-contained(it depends at least of libintl.so.8), > and doing some upgrades with ports I erased libintl.so.8,now I cannot access > the root account because bash is > not operational and I need root access to install again libintl.so.8,or any > other way to solve the problem. > So,how can I get access to csh for root without having access to a root > shell(the previously defined bash does > not work,and I need root access to change the shell for the root acount). This will work: just change the root shell instead of password. http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#FORGOT-ROOT-PW From owner-freebsd-questions@FreeBSD.ORG Sun Jul 4 16:18:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 083B31065677 for ; Sun, 4 Jul 2010 16:18:32 +0000 (UTC) (envelope-from fwd@gothschlampen.com) Received: from vs.gothschlampen.com (vs.gothschlampen.com [85.93.11.85]) by mx1.freebsd.org (Postfix) with ESMTP id C29CA8FC1E for ; Sun, 4 Jul 2010 16:18:31 +0000 (UTC) Received: by vs.gothschlampen.com (Postfix, from userid 667) id E2B0C1D270F; Sun, 4 Jul 2010 18:18:06 +0200 (CEST) Date: Sun, 4 Jul 2010 18:18:06 +0200 From: Thomas Keusch To: Luca Renaud Message-ID: <20100704161806.GA10779@gothschlampen.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: Get access to csh (default freebsd shell) for root to solve login problem. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2010 16:18:32 -0000 On Sun, Jul 04, 2010 at 05:02:59PM +0100, Luca Renaud wrote: Hi, > The root shell is now bash,but I was unaware that bash was not > self-contained(it depends at least of libintl.so.8), > and doing some upgrades with ports I erased libintl.so.8,now I cannot access > the root account because bash is > not operational and I need root access to install again libintl.so.8,or any > other way to solve the problem. > So,how can I get access to csh for root without having access to a root > shell(the previously defined bash does > not work,and I need root access to change the shell for the root acount). if you haven't activated the 'toor' account (another UID 0 account besides root), you'll have to boot from fixit media (or another live cd / system) and go from there. Regards Thomas From owner-freebsd-questions@FreeBSD.ORG Sun Jul 4 17:06:03 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5BBA106566C for ; Sun, 4 Jul 2010 17:06:03 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.42]) by mx1.freebsd.org (Postfix) with ESMTP id AAFF78FC16 for ; Sun, 4 Jul 2010 17:06:02 +0000 (UTC) Received: (qmail 24576 invoked from network); 4 Jul 2010 17:06:02 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 4 Jul 2010 17:06:01 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.6]) by be-well.ilk.org (Postfix) with ESMTP id 3A1025081F; Sun, 4 Jul 2010 13:05:56 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id A26501CD85; Sun, 4 Jul 2010 13:05:55 -0400 (EDT) From: Lowell Gilbert To: Tim Daneliuk References: <4C2E724D.7070904@tundraware.com> <44mxu7dzzp.fsf@lowell-desk.lan> <4C30AAD2.4020909@tundraware.com> Date: Sun, 04 Jul 2010 13:05:55 -0400 In-Reply-To: <4C30AAD2.4020909@tundraware.com> (Tim Daneliuk's message of "Sun, 04 Jul 2010 10:37:54 -0500") Message-ID: <4439vzi3d8.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Mailing List Subject: Re: Getting kernel trap 12 During Boot Of 8.1-PRERELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Mailing List List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2010 17:06:04 -0000 Tim Daneliuk writes: > On 7/4/2010 10:32 AM, Lowell Gilbert wrote: >> Tim Daneliuk writes: >> >>> I've seen this twice now - once last Sunday, and once again today >>> when I tried to do a build/installworld/kernel with daily sources >>> from the master tree: >>> >>> http://www.mediafire.com/imageview.php?quickkey=qmhizdtnhyo&thumb=4 >> >> That asked me to jump through too many hoops over multiple domains, so I >> didn't actually see it. I'll assume it's just more information on the >> error in your subject line. > > I'm not sure what you mean. It should take you to a screenshot of > the problem. What does "too many hoops" mean in this context? I had clicked through a couple of "click here to download picture" screens (each trying to push a pop-up) before I decided it looked too much like malware. >>> The system boots fine single-user, so I don't suspect the base >>> kernel functionality. >> >> Maybe. >> >> What you should do is install the kernel *before* the userland. If you >> already did that, then make sure youtry with a GENERIC kernel. > > I did exactly that, though I did not try the GENERIC kernel. My conf > looks like this: > > > include GENERIC > > ident MACHINENAME > > options IPFIREWALL > options IPDIVERT > > options VESA > > # System console options > > options SC_DISABLE_REBOOT # disable reboot key sequence > options SC_HISTORY_SIZE=200 # number of history buffer lines > options SC_PIXEL_MODE # add support for the raster text mode > > # The following options will change the default colors of syscons. > > options SC_NORM_ATTR="(FG_GREEN|BG_BLACK)" > options SC_NORM_REV_ATTR="(FG_YELLOW|BG_GREEN)" > options SC_KERNEL_CONS_ATTR="(FG_RED|BG_BLACK)" > options SC_KERNEL_CONS_REV_ATTR="(FG_BLACK|BG_RED)" None of those look interesting (by which I mean "dangerous"), but it's still worth trying a GENERIC kernel. Also, minimize the software started at bootup in order to reduce the number of variables. If it's still crashing at that point, go to the Handbook (or maybe it's the Developers' Handbook?) for instructions on diagnosing crashes. If not, then re-enable the userland stuff gradually to find the culprit. It also may be useful to look at the -STABLE mailing list, as at least one crash problem has been solved recently. Good luck. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 4 20:19:17 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9740C1065673 for ; Sun, 4 Jul 2010 20:19:17 +0000 (UTC) (envelope-from carl@chave.us) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5CE038FC13 for ; Sun, 4 Jul 2010 20:19:17 +0000 (UTC) Received: by gxk24 with SMTP id 24so153072gxk.13 for ; Sun, 04 Jul 2010 13:19:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.90.120.12 with SMTP id s12mr1989069agc.192.1278274750065; Sun, 04 Jul 2010 13:19:10 -0700 (PDT) Received: by 10.90.82.3 with HTTP; Sun, 4 Jul 2010 13:19:10 -0700 (PDT) In-Reply-To: References: <44vd8ve1ep.fsf@lowell-desk.lan> Date: Sun, 4 Jul 2010 16:19:10 -0400 Message-ID: From: Carl Chave To: Warren Block Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: questions@freebsd.org, Lowell Gilbert Subject: Re: pxe LiveCD setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2010 20:19:17 -0000 > Linux systems with netboot can boot off http (using wget) and it's much > better. =A0Twice as fast for the Clonezilla load, but System Rescue went = from > three minutes to only 18 seconds. > Etherboot/gPXE is interesting also. It will boot from http. One of my grub4dos menu entries is a gPXE floppy image with the generic UNDI driver though I haven't really used it much. http://www.etherboot.org/wiki/start From owner-freebsd-questions@FreeBSD.ORG Sun Jul 4 21:43:15 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E24F1065670 for ; Sun, 4 Jul 2010 21:43:15 +0000 (UTC) (envelope-from bsd@todoo.biz) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) by mx1.freebsd.org (Postfix) with ESMTP id 2ED038FC15 for ; Sun, 4 Jul 2010 21:43:14 +0000 (UTC) Received: from newmail.rmm.fr (localhost [127.0.0.1]) by newmail.rmm.fr (Postfix) with ESMTP id A21EB28A6D for ; Sun, 4 Jul 2010 23:43:13 +0200 (CEST) X-Virus-Scanned: amavisd-new 2.6.4 (20090625) at rmm.fr Received: from newmail.rmm.fr ([127.0.0.1]) by newmail.rmm.fr (newmail.rmm.fr [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id FXdDV3y-JVaG for ; Sun, 4 Jul 2010 23:43:13 +0200 (CEST) Received: from newmail.rmm.fr (newmail.rmm.fr [87.98.206.99]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: hidden) by newmail.rmm.fr (Postfix) with ESMTPSA id 469E728A35 for ; Sun, 4 Jul 2010 23:43:13 +0200 (CEST) From: bsd Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Date: Sun, 4 Jul 2010 23:43:13 +0200 Message-Id: To: Liste FreeBSD Mime-Version: 1.0 (Apple Message framework v1081) X-Mailer: Apple Mail (2.1081) Subject: Global backup solution for FBSD & Ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2010 21:43:15 -0000 Hello,=20 I am trying to build a global backup solution for couple of strategic = servers (7) based on two operating systems :=20 - FreeBSD (6 - 7 // soon 7 - 8) - Ubuntu 8.04 LTS These servers are hosting some strategic components mainly related to = DNS infrastructure and databases.=20 For the moment I am backing up these server using network based backup = solution:=20 - A "duplicity" based solution which backs up key directories in my = infrastructure on a remote FTP server provided by my hosting company.=20 - A "dump" of some key components which I am doing on regular basis for = FreeBSD servers.=20 - Duplicity is also used for the Ubuntu servers.=20 - Databases are replicated "live" on a remote server using "slony" for = the most strategic ones (Postgres DB) and using mysql dump export for = MySQL. =95 I am not a 100% sure these solutions will allow me to restart = rapidly from a crash, specially for Ubuntu servers.=20 =95 I would like to know which solution(s) you have deployed at what = cost for what results ?=20 I am actually considering couple of different solutions=20 - SAIT solution and backula.=20 - Disk based solution (maybe also with backula).=20 =85=20 I have couple of servers that will reach their end of life that could be = recycled as backup solution at a very convenient price=85=20 Thanks for you help.=20 =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF= =AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF=AF From owner-freebsd-questions@FreeBSD.ORG Sun Jul 4 22:18:43 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6EF91065675 for ; Sun, 4 Jul 2010 22:18:43 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id 5C99E8FC1F for ; Sun, 4 Jul 2010 22:18:42 +0000 (UTC) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) (authenticated bits=0) by ozzie.tundraware.com (8.14.4/8.14.4) with ESMTP id o64MIUhD073437 (version=TLSv1/SSLv3 cipher=DHE-DSS-CAMELLIA256-SHA bits=256 verify=NO) for ; Sun, 4 Jul 2010 17:18:34 -0500 (CDT) (envelope-from tundra@tundraware.com) Message-ID: <4C3108B6.8070606@tundraware.com> Date: Sun, 04 Jul 2010 17:18:30 -0500 From: Tim Daneliuk User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.10) Gecko/20100626 Thunderbird/3.0.5 MIME-Version: 1.0 To: Liste FreeBSD References: In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.5 (ozzie.tundraware.com [75.145.138.73]); Sun, 04 Jul 2010 17:18:34 -0500 (CDT) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: o64MIUhD073437 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No Subject: Re: Global backup solution for FBSD & Ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2010 22:18:43 -0000 On 07/04/10 16:43, bsd wrote: > Hello, > > I am trying to build a global backup solution for couple of strategic servers (7) based on two operating systems : > > - FreeBSD (6 - 7 // soon 7 - 8) > - Ubuntu 8.04 LTS > > These servers are hosting some strategic components mainly related to DNS infrastructure and databases. > > > For the moment I am backing up these server using network based backup solution: > > - A "duplicity" based solution which backs up key directories in my infrastructure on a remote FTP server provided by my hosting company. > - A "dump" of some key components which I am doing on regular basis for FreeBSD servers. > - Duplicity is also used for the Ubuntu servers. > - Databases are replicated "live" on a remote server using "slony" for the most strategic ones (Postgres DB) and using mysql dump export for MySQL. > > > • I am not a 100% sure these solutions will allow me to restart rapidly from a crash, specially for Ubuntu servers. > • I would like to know which solution(s) you have deployed at what cost for what results ? > > I am actually considering couple of different solutions > > - SAIT solution and backula. > - Disk based solution (maybe also with backula). > … > > > I have couple of servers that will reach their end of life that could be recycled as backup solution at a very convenient price… > > I wrote a simple shell-based solution for this problem some time ago. It (and FreeBSD instructions) can be found: http://www.tundraware.com/Software/tbku/ I am able to recover a production server (DNS, dhcp, http, sendmail, etc...) in under 30 minutes using this technique. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 4 22:36:43 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30406106566B for ; Sun, 4 Jul 2010 22:36:43 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id DE26F8FC12 for ; Sun, 4 Jul 2010 22:36:42 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OVXnk-0001YN-78 for freebsd-questions@freebsd.org; Mon, 05 Jul 2010 00:36:40 +0200 Received: from mar92-9-82-237-75-54.fbx.proxad.net ([82.237.75.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Jul 2010 00:36:40 +0200 Received: from gilles.ganault by mar92-9-82-237-75-54.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Jul 2010 00:36:40 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Gilles Date: Mon, 05 Jul 2010 00:36:30 +0200 Lines: 6 Message-ID: References: <84ir26h1punkutik1dmlbhd77d2npsqupe@4ax.com> <4C2DEC8B.2020100@a1poweruser.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: mar92-9-82-237-75-54.fbx.proxad.net X-Newsreader: Forte Agent 3.1/32.783 Subject: Re: /var/log/messages empty since June 26 :-/ X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jul 2010 22:36:43 -0000 On Fri, 02 Jul 2010 21:41:31 +0800, Fbsd8 wrote: >Based on the dates of the messages logs looks like not much is being >logged for a whole year at a time. So what you are seeing is normal. Thanks for the tip. I'll see how it goes in the next few days. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 5 01:30:26 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9937106564A for ; Mon, 5 Jul 2010 01:30:26 +0000 (UTC) (envelope-from subhro.kar@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 84F8B8FC0C for ; Mon, 5 Jul 2010 01:30:26 +0000 (UTC) Received: by pwj9 with SMTP id 9so1441529pwj.13 for ; Sun, 04 Jul 2010 18:30:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:message-id:references:to :x-mailer; bh=ZBPZ56o8Fl8/5SR8n0hSXbBvPn591egCELKFbhoTMTg=; b=Aisffxx6Ycd2UmjzBbUodRo1yZwr6g3MaAx6nt6XlYrrjMyUkuT2hZdivVAWv/zN8l 0gmIAZFi/xVXDC/40k2Ayt0Ii3B1JETurRuWB2NydSiE/Id4Buo2a2sVw5U/dXohaTh4 Gf6BOY/LZOs1yeKC9fOubsqhsxreVLYhqYcEo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer; b=iFOxZyaEPv6Q/Zo21/8+41iDefwCqnq2beHHk+nJQ79RwEl+0HFLjt2ps8mECKlo1o 3VUAoQkL85PSfpGx36JVlE/gBI6Q+bWEp5cbnBhCx+NRvJCPPmSxXVvO+YSxmY5uwM1w vfMrZwsCvnQQ4fjimgMCTqQIw4DkbeB30f0p0= Received: by 10.142.207.5 with SMTP id e5mr528830wfg.141.1278291809602; Sun, 04 Jul 2010 18:03:29 -0700 (PDT) Received: from [192.168.137.109] ([115.117.38.69]) by mx.google.com with ESMTPS id f20sm3851457rvb.8.2010.07.04.18.03.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 04 Jul 2010 18:03:28 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: multipart/signed; boundary=Apple-Mail-1--663108131; protocol="application/pkcs7-signature"; micalg=sha1 From: Subhro Kar In-Reply-To: <20100704161806.GA10779@gothschlampen.com> Date: Mon, 5 Jul 2010 06:33:22 +0530 Message-Id: <32828DBC-024F-4B50-ACBA-54FDEC298393@gmail.com> References: <20100704161806.GA10779@gothschlampen.com> To: Thomas Keusch , Luca Renaud X-Mailer: Apple Mail (2.1081) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Get access to csh (default freebsd shell) for root to solve login problem. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2010 01:30:26 -0000 --Apple-Mail-1--663108131 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 04-Jul-2010, at 9:48 PM, Thomas Keusch wrote: > On Sun, Jul 04, 2010 at 05:02:59PM +0100, Luca Renaud wrote: >=20 > Hi, >=20 >> The root shell is now bash,but I was unaware that bash was not >> self-contained(it depends at least of libintl.so.8), >> and doing some upgrades with ports I erased libintl.so.8,now I cannot = access >> the root account because bash is >> not operational and I need root access to install again = libintl.so.8,or any >> other way to solve the problem. >> So,how can I get access to csh for root without having access to a = root >> shell(the previously defined bash does >> not work,and I need root access to change the shell for the root = acount). >=20 > if you haven't activated the 'toor' account (another UID 0 account = besides > root), you'll have to boot from fixit media (or another live cd / = system) and > go from there. I think that would be an overkill. =46rom the su(1) manpage,=20 -m Leave the environment unmodified. The invoked shell is = your login shell, and no directory changes are made. As a = security precaution, if the target user's shell is a non-standard = shell (as defined by getusershell(3)) and the caller's real uid = is non- zero, su will fail. So, you could use su -m to switch to root and remain in the same shell = as your user calling su. Once there, AFAIK, you could use vipw(8) or = chsh(1) to change the root shell back to csh. Thanks Subhro -- Subhro Kar Blog: http://80386.org Twitter: http://twitter.com/subhrokar FaceBook: http://www.facebook.com/subhrokar= --Apple-Mail-1--663108131-- From owner-freebsd-questions@FreeBSD.ORG Mon Jul 5 01:38:18 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 46D0E106566B for ; Mon, 5 Jul 2010 01:38:18 +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 F38038FC0A for ; Mon, 5 Jul 2010 01:38:17 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o651c92U002948; Sun, 4 Jul 2010 19:38:09 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o651c6Y4002945; Sun, 4 Jul 2010 19:38:09 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 4 Jul 2010 19:38:06 -0600 (MDT) From: Warren Block To: Carl Chave In-Reply-To: Message-ID: References: <44vd8ve1ep.fsf@lowell-desk.lan> 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.2.5 (wonkity.com [127.0.0.1]); Sun, 04 Jul 2010 19:38:09 -0600 (MDT) Cc: questions@freebsd.org, Lowell Gilbert Subject: Re: pxe LiveCD setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2010 01:38:18 -0000 On Sun, 4 Jul 2010, Carl Chave wrote: > Etherboot/gPXE is interesting also. It will boot from http. One of > my grub4dos menu entries is a gPXE floppy image with the generic UNDI > driver though I haven't really used it much. > > http://www.etherboot.org/wiki/start I tried it last night, although it and apparently most other things hate the alc0 interface. Eventually it seemed like an NFS server would be useful, and pxeboot will start a FreeBSD livefs. But only directly, entering FreeBSD's pxeboot as the filename in DHCP. With grub4dos title FreeBSD pxe keep chainloader --raw (pd)/images/freebsd/boot/pxeboot it loads pxeboot, but then: netboot: couldn't probe pxenet0 pxe_open: netif_open() failed ... can't load 'kernel' OK So it loads pxeboot, but then pxeboot can't use the pxenet0 device. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 5 04:03:57 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FC52106566B for ; Mon, 5 Jul 2010 04:03:57 +0000 (UTC) (envelope-from carl@chave.us) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6418E8FC16 for ; Mon, 5 Jul 2010 04:03:57 +0000 (UTC) Received: by gxk24 with SMTP id 24so241972gxk.13 for ; Sun, 04 Jul 2010 21:03:44 -0700 (PDT) MIME-Version: 1.0 Received: by 10.90.52.17 with SMTP id z17mr2701228agz.206.1278302623831; Sun, 04 Jul 2010 21:03:43 -0700 (PDT) Received: by 10.90.82.3 with HTTP; Sun, 4 Jul 2010 21:03:43 -0700 (PDT) In-Reply-To: References: <44vd8ve1ep.fsf@lowell-desk.lan> Date: Mon, 5 Jul 2010 00:03:43 -0400 Message-ID: From: Carl Chave To: Warren Block Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: questions@freebsd.org, Lowell Gilbert Subject: Re: pxe LiveCD setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2010 04:03:57 -0000 > With grub4dos > =A0title FreeBSD > =A0pxe keep > =A0chainloader --raw (pd)/images/freebsd/boot/pxeboot > > it loads pxeboot, but then: > > netboot: couldn't probe pxenet0 > pxe_open: netif_open() failed > ... > can't load 'kernel' > OK > > So it loads pxeboot, but then pxeboot can't use the pxenet0 device. > Your goal in the pxeboot/nfs/livefs was to avoid having to transfer the large livefs iso? I won't be much help solving your problem above, just curious where you're going with your setup. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 5 04:36:26 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA77F106564A for ; Mon, 5 Jul 2010 04:36:26 +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 91B3E8FC12 for ; Mon, 5 Jul 2010 04:36:26 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o654aH6i003942; Sun, 4 Jul 2010 22:36:17 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o654aHNg003939; Sun, 4 Jul 2010 22:36:17 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sun, 4 Jul 2010 22:36:17 -0600 (MDT) From: Warren Block To: Carl Chave In-Reply-To: Message-ID: References: <44vd8ve1ep.fsf@lowell-desk.lan> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.5 (wonkity.com [127.0.0.1]); Sun, 04 Jul 2010 22:36:18 -0600 (MDT) Cc: questions@freebsd.org, Lowell Gilbert Subject: Re: pxe LiveCD setup X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2010 04:36:26 -0000 On Mon, 5 Jul 2010, Carl Chave wrote: >> >> So it loads pxeboot, but then pxeboot can't use the pxenet0 device. > > Your goal in the pxeboot/nfs/livefs was to avoid having to transfer > the large livefs iso? I won't be much help solving your problem > above, just curious where you're going with your setup. Well, yes, the transfer and also I have more than a few systems with limited memory. gpxelinux.0 works fine with FreeBSD's pxeboot, I discovered. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 5 06:05:41 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 21987106566B for ; Mon, 5 Jul 2010 06:05:41 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id 7464C8FC0A for ; Mon, 5 Jul 2010 06:05:39 +0000 (UTC) X-Spam-Status: No X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.2, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_50 0.80) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: o6565Ow6010178 Received: from kobe.laptop (178.128.137.140.dsl.dyn.forthnet.gr [178.128.137.140]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-9.1) with ESMTP id o6565Ow6010178 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 5 Jul 2010 09:05:30 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.4/8.14.4) with ESMTP id o6565IRY004288 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 5 Jul 2010 09:05:18 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.4/8.14.4/Submit) id o6565ISm004285; Mon, 5 Jul 2010 09:05:18 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Marco Beishuizen References: Date: Mon, 05 Jul 2010 09:05:17 +0300 In-Reply-To: (Marco Beishuizen's message of "Sat, 3 Jul 2010 23:36:58 +0200 (CEST)") Message-ID: <87sk3yv4yq.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: fetchmail certificate verification messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2010 06:05:41 -0000 On Sat, 3 Jul 2010 23:36:58 +0200 (CEST), Marco Beishuizen wrote: > Hi, > > I'm seeing in my logfiles a lot of messages like these from fetchmail: > > Jul 3 22:02:54 yokozuna fetchmail[1437]: Server certificate > verification error: self signed certificate in certificate chain > Jul 3 22:02:54 yokozuna fetchmail[1437]: This means that the root > signing certificate (issued for /C=SE/O=AddTrust AB/OU=AddTrust External > TTP Network/CN=AddTrust External CA Root) is not in the trusted CA > certificate locations, or that c_rehash needs to be run on the > certificate directory. For details, please see the documentation of > sslcertpath and sslcertfile in the manual page. > > Does anyone know what these messages mean and if they are harmless or > not? This means that the certificate of CN="AddTrust External CA Root" is signed by itself. It's a common thing when the administrator of the respective SSL-enabled host has not bought a certificate from one of the global CA authorities, but has signed the certificate with itself to avoid the costs & process associated with maintaining a "normal" certificate. If you know that the respective domain is indeed set up this way, the warning is harmless. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 5 10:48:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D2631106566B for ; Mon, 5 Jul 2010 10:48:32 +0000 (UTC) (envelope-from axelbsd@ymail.com) Received: from n20.bullet.mail.ukl.yahoo.com (n20.bullet.mail.ukl.yahoo.com [87.248.110.137]) by mx1.freebsd.org (Postfix) with SMTP id 406B48FC2D for ; Mon, 5 Jul 2010 10:48:31 +0000 (UTC) Received: from [217.146.182.179] by n20.bullet.mail.ukl.yahoo.com with NNFMP; 05 Jul 2010 10:48:31 -0000 Received: from [87.248.110.111] by t5.bullet.ukl.yahoo.com with NNFMP; 05 Jul 2010 10:48:31 -0000 Received: from [127.0.0.1] by omp216.mail.ukl.yahoo.com with NNFMP; 05 Jul 2010 10:48:31 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 247883.21789.bm@omp216.mail.ukl.yahoo.com Received: (qmail 95203 invoked by uid 60001); 5 Jul 2010 10:48:31 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ymail.com; s=s1024; t=1278326911; bh=iCCR+G/7CZP4L4z4/QBWnQw3CFD+BQUDteOp+LYepkM=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=osGSBzpH3Ddi/UkC02Cq6080HtEyWiV1ey0q2KmcAFLB3OOT9vMsDlMA8lSasjNnkYQEoF43l78ihyGHKXCfzdojF2q4IUR8GRD2xjXSsx9Rj6wTHV+GhDQYOCMJcewrxYipfePPzT0SxZwk6iHuQrqH21q8Ioc3jmEJFtECU5U= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=ymail.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=NQxncFBP8jfsu7hk034UODbOJOpggeNsecEe+KQoZrbKA22XGGcBWSMNVOo089GDAsxpQN6hI6YVplYx98t1gsWi1ZjfrUUMb619p9LelL5Q5wFH4PEq756YwG57EpwtFN/scPgmuhCaxgTYn6tv4ycRjK6p6x8pIaisOHuqde0=; Message-ID: <45735.94334.qm@web24818.mail.ird.yahoo.com> X-YMail-OSG: JCLjTOsVM1mdnZhkbyvUePhlxfQBIx2DBQjkzZy_jZk4GCL bpLbKE6JxVdjGWyM6lDxgWhOhBYZM2mKG0mp9U09lDODGTPc5LUb6ee1TZeg b8Iw2F4vIdfj7KiAi.B9wDz69TzcVN6wv5JqgTYNZfgzNQSuye.ErYrDiA4v spg1UrVXNrPHhJPHpEylekSIbDqVlDYsWPO4tHSD2HOpkNaAD.kTLGj7BJQ- - Received: from [193.57.110.171] by web24818.mail.ird.yahoo.com via HTTP; Mon, 05 Jul 2010 10:48:30 GMT X-Mailer: YahooMailClassic/11.1.4 YahooMailWebService/0.8.104.274457 Date: Mon, 5 Jul 2010 10:48:30 +0000 (GMT) From: "Alexandre L." To: Doug Barton In-Reply-To: <4C2E8B0D.5030106@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@FreeBSD.org Subject: Re: Problem using Portmaster to upgrade installed ports via packages only X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2010 10:48:32 -0000 First, Thanks Doug for responding to my mails. =0A=0A> > I don't know (or u= nderstand) if I have to set a value=0A> to=0A> > PM_SU_VERBOSE=0A> =0A> Tha= t depends on your goal. Why are you setting this?=0AI thought that PM_SU_VE= RBOSE will explain the errors about my sudo problem. I can use portmaster w= ith sudo only with the command : =0A#sudo portmaster <-options>=0Abut not w= ith .portmasterrc, or /etc/portmaster.rc=0A=0A> > I have tried to set PM_SU= _VERBOSE=3D/usr/local/bin/sudo=0A> > without success If you can help me her= e, I have read=0A> the manpage=0A> > hundred times, but haven't found where= I am wrong.=0A> =0A> Please copy and paste the parts of the man page that = are=0A> confusing. That=0A> will help me improve it.=0A=0AI think I have mi= sunderstood the using of PM_SU_VERBOSE. I thought that PM_SU_VERBOSE was th= e verbose mode of PM_SU_CMD. As you describe in your mail, the using of thi= s option is not applied for my case. =0A=0A> Meanwhile, you might also cons= ider simply running=0A> portmaster as root.=0A> There is nothing preferable= about running it with sudo, it=0A> is a feature=0A> that I added because u= sers so often requested it.=0AI have apply your advice, and I haven't got p= roblem. Now I can install ports from packages (if available) or from source= s.=0A =0AReally, thanks again Doug for your help, and advices.=0A=0AAlexand= re.=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Mon Jul 5 10:59:16 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 973521065670 for ; Mon, 5 Jul 2010 10:59:16 +0000 (UTC) (envelope-from smithi@nimnet.asn.au) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) by mx1.freebsd.org (Postfix) with ESMTP id 134A68FC12 for ; Mon, 5 Jul 2010 10:59:15 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id o65AwUKR059939; Mon, 5 Jul 2010 20:58:32 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Mon, 5 Jul 2010 20:58:30 +1000 (EST) From: Ian Smith To: Chris Maness In-Reply-To: <20100704120016.B051C10656DF@hub.freebsd.org> Message-ID: <20100705201412.I54166@sola.nimnet.asn.au> References: <20100704120016.B051C10656DF@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: BIND Refusing to Resolve for External Hosts X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2010 10:59:16 -0000 In freebsd-questions Digest, Vol 317, Issue 13, Message: 14 On Sat, 3 Jul 2010 14:20:01 -0700 Chris Maness wrote: > Ok, it is working for the local net now, but it is no longer working > as an authoritative server for my zones. > > Here is the current config: > > // $FreeBSD: src/etc/namedb/named.conf,v 1.26.2.2.2.1 2008/11/25 > 02:59:29 kensmith Exp $ > // > // Refer to the named.conf(5) and named(8) man pages, and the documentation > // in /usr/share/doc/bind9 for more details. Indeed, the ARM be deep and wide, but pretty well essential reading .. [..] > // Set up an ACL called our-nets. Replace this with the real IP numbers. > > acl our-nets { 192.168.1.0/24; 76.238.148.145/24; 127.0.0.1; }; > > options { > // Relative to the chroot directory, if any > directory "/etc/namedb"; > pid-file "/var/run/named/pid"; > dump-file "/var/dump/named_dump.db"; > statistics-file "/var/stats/named.stats"; > allow-transfer { > 76.238.148.146; }; > allow-query { our-nets; }; > allow-recursion { our-nets; }; > }; What Matthew said, of course .. just to add that: Anything set in options is global, so here 'allow-query { our-nets; };' is why you later found the need, in Message: 15 :) [..] > Ahhh, I see I need to add: > > allow-query { any; }; > > to my authoritative zones. > > Thanks it all works now. > > Chris Maness > > > p.s. So was this a change in the default behavior of BIND over the > years? Because I don't think my named.conf has been changed, and this > used to work for any hosts. I gather you didn't have that acl limiting queries to our-net before .. and yes bind is always on the move, keeping ahead of the moving badguys. cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Mon Jul 5 09:03:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8B46D1065675 for ; Mon, 5 Jul 2010 09:03:39 +0000 (UTC) (envelope-from canevet@embl.fr) Received: from emblmta1.embl.fr (emblmta1.embl.fr [193.49.43.176]) by mx1.freebsd.org (Postfix) with ESMTP id 2973D8FC19 for ; Mon, 5 Jul 2010 09:03:38 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.53,538,1272837600"; d="scan'208";a="7677474" Received: from unknown (HELO [172.26.15.11]) ([172.26.15.11]) by emblmta1.embl.fr with ESMTP/TLS/DHE-RSA-CAMELLIA256-SHA; 05 Jul 2010 10:33:38 +0200 Message-ID: <4C3198D6.1030502@embl.fr> Date: Mon, 05 Jul 2010 10:33:26 +0200 From: =?ISO-8859-1?Q?Micka=EBl_Can=E9vet?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.10) Gecko/20100620 Iceowl/1.0b1 Icedove/3.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Mon, 05 Jul 2010 11:53:25 +0000 Subject: Fully redundant NAS with HAST + ucarp + ZFS + NFS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2010 09:03:39 -0000 Hi, I just installed 2 servers with FreeBSD 8.1rc2 and configured block level replication with HAST and fail-over with ucarp. It works like a charm, replication is pretty fast (35MB/s on my one disk system) and fail-over works great. Now I would like to export some ZFS volumes over NFS (for the moment, but CIFS and iSCSI probably later). When I mount a client over the VIP, fail-over works well for directory listing, but as soon as I try to do copy a file and switch node, the copy freeze. I suppose it's because I have to share some kind of temporary directory also over my two server. On Linux, I would probably share /var/lib/nfs also, but on FreeBSD I'm a little bit lost. Is it possible to solve my problem by sharing information over my two NFS servers ? Will I have the same problem (or another one) with CIFS and/or iSCSI export ? Thank you in advance for your answers, and a big bravo for all the developers that bring that kind of stuffs to us. Mickaël From owner-freebsd-questions@FreeBSD.ORG Mon Jul 5 11:54:57 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8FEB2106567D for ; Mon, 5 Jul 2010 11:54:57 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 4FB8D8FC1C for ; Mon, 5 Jul 2010 11:54:57 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1OVkGF-0000Eq-Sy for freebsd-questions@freebsd.org; Mon, 05 Jul 2010 12:54:56 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1OVkGF-00074g-P0 for freebsd-questions@freebsd.org; Mon, 05 Jul 2010 12:54:55 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4) with ESMTP id o65BstkY095084 for ; Mon, 5 Jul 2010 12:54:55 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4/Submit) id o65BstCx095083 for freebsd-questions@freebsd.org; Mon, 5 Jul 2010 12:54:55 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Mon, 5 Jul 2010 12:54:55 +0100 From: Anton Shterenlikht To: freebsd-questions@freebsd.org Message-ID: <20100705115455.GA95036@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Subject: wireless on HP compaq 6715s - Broadcom BCM5906m - not supported? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2010 11:54:57 -0000 I've HP Compaq 6715s laptop. Looking at "pciconf -lv" output, the wireless (and ethernet) device is: bge0@pci0:16:0:0: class=0x020000 card=0x30c2103c chip=0x171314e4 rev=0x02 hdr=0x00 vendor = 'Broadcom Corporation' device = 'Broadcom NetLink (TM) Fast Ethernet (BCM5906m)' class = network subclass = ethernet I tried to search on the net, including FBSD hardware release notes, and it seems this device is not supported. Can anybody comment on/confirm this please? Any experience using this chip with NDIS? many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Mon Jul 5 14:10:09 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 295601065673 for ; Mon, 5 Jul 2010 14:10:09 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from werkwelt.de (post.werkwelt.de [91.194.85.74]) by mx1.freebsd.org (Postfix) with ESMTP id BC9188FC0A for ; Mon, 5 Jul 2010 14:10:08 +0000 (UTC) Received: from [87.79.34.228] (account kuku@kukulies.org HELO [172.27.4.215]) by werkwelt.de (CommuniGate Pro SMTP 5.0.13) with ESMTPSA id 6976413; Mon, 05 Jul 2010 16:09:41 +0200 Message-ID: <4C31E793.3040000@kukulies.org> Date: Mon, 05 Jul 2010 16:09:23 +0200 From: Christoph Kukulies User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: Polytropon , "freebsd-questions@freebsd.org" References: <4B434D52.3030301@kukulies.org> <20100106023007.b3a19517.freebsd@edvax.de> In-Reply-To: <20100106023007.b3a19517.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: copying a disk with ignoring errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2010 14:10:09 -0000 Am 06.01.2010 02:30, schrieb Polytropon: > On Tue, 05 Jan 2010 15:31:46 +0100, Christoph Kukulies wrote: > >> It copies a disk sector by sector to a file (kind of dd), but ignores >> errors, it just skips sectors it couldn't read (after a couple >> of retries). The result was, that one had a - albeit - worm-eaten - >> image of the disk allowing to access the filesystem >> and getting to the important files with a little luck these not being >> amongst the corrupted data. >> >> Anyone knowing what this little tool was named? Something like diskcopy, >> devcopy, I forgot. >> > > From my "list" of recovery-related tools: > dd_rescue > ddrescue > fetch -rR > recoverdisk > > I'm quite sure it was one of them. > > Allow me to followup on this a bit vintaged thread but it's an all over again happening issue. Some student lost some important data due to disk failure. I tried PHKs' recoverdisk with recoverdisk -b 1024000 /dev/ad2 ad2.dmp and it went off quite promising just few dma read timeouts and when I was at 7% of recovery it suddenly says: ad2: FAILURE - device detached. 1558528000 1024000 failed (device not configured) # Hmm. How can I avoid that the device gets detached? -- Christoph From owner-freebsd-questions@FreeBSD.ORG Mon Jul 5 15:18:37 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 816CB1065673 for ; Mon, 5 Jul 2010 15:18:37 +0000 (UTC) (envelope-from Vikash.Badal@is.co.za) Received: from phobytor.is.co.za (phobytor.is.co.za [196.4.160.171]) by mx1.freebsd.org (Postfix) with ESMTP id CFA298FC21 for ; Mon, 5 Jul 2010 15:18:36 +0000 (UTC) Received: from phobytor.is.co.za (localhost [127.0.0.1]) by phobytor.is.co.za (Postfix) with ESMTP id C725A3BBF15 for ; Mon, 5 Jul 2010 17:18:33 +0200 (SAST) Received: from rs-aplha.mfw.is.co.za (rs-alpha.mfw.is.co.za [196.26.2.112]) by phobytor.is.co.za (Postfix) with ESMTP id 71C663BBF00 for ; Mon, 5 Jul 2010 17:18:33 +0200 (SAST) Received: from root by rs-aplha.mfw.is.co.za with local (Exim 4.71) (envelope-from ) id 1OVnR9-000NwY-Pm for freebsd-questions@freebsd.org; Mon, 05 Jul 2010 17:18:23 +0200 Received: from exim by rs-aplha.mfw.is.co.za with split (Exim 4.71) (envelope-from ) id 1OVnQz-000Nvi-SI for freebsd-questions@freebsd.org; Mon, 05 Jul 2010 17:18:13 +0200 Received: from [196.26.2.110] (helo=ZABRYSVISMFW3) by rs-aplha.mfw.is.co.za with esmtp (Exim 4.71) (envelope-from ) id 1OVnQz-000Nvf-PN for freebsd-questions@freebsd.org; Mon, 05 Jul 2010 17:18:13 +0200 Received: from zabrysvisexhub2.af.didata.local (Not Verified[10.1.8.39]) by ZABRYSVISMFW3 with MailMarshal (v6,7,2,8378) id ; Mon, 05 Jul 2010 17:17:32 +0200 Received: from ZABRYSVISEXMBX1.af.didata.local ([fe80::914a:a14c:13c1:d279]) by zabrysvisexhub2.af.didata.local ([fe80::486:fd5b:97f4:6b92%10]) with mapi; Mon, 5 Jul 2010 17:18:38 +0200 From: Vikash Badal To: "freebsd-questions@freebsd.org" Date: Mon, 5 Jul 2010 17:18:18 +0200 Thread-Topic: syslog strangeness on freebsd 8.0 and 8.1-RC Thread-Index: AcscVUwUgFjM35LBSLueGudXz3ZdTg== Message-ID: <9B425C841283E0418B1825D40CBCFA613D9E4C75CE@ZABRYSVISEXMBX1.af.didata.local> Accept-Language: en-US, en-ZA Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US, en-ZA Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Recipient-Count: 1 X-Virus-Scanned: ClamAV using ClamSMTP Subject: syslog strangeness on freebsd 8.0 and 8.1-RC X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2010 15:18:37 -0000 Can someone please assist me with some strangeness on FreeBSD 8.0 and 8.1= -RC2 using a threaded test code code, I see the that freebsd 8.x seems to be u= sing more memory when using the syslog() call from a c program: Results: 7.2 without syslog =20 PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMA= ND 26872 vikashb 1001 8 0 128M 14236K RUN 0:00 0.00% a.out with syslog =20 PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMA= ND 26881 vikashb 1001 44 0 128M 26236K RUN 0:00 0.00% a.out 8.0-RELEASE-p3 without syslog =20 PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMA= ND 61529 vikashb 1001 44 0 129M 14840K RUN 0:01 0.00% a.out with syslog =20 PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMA= ND 61507 vikashb 1001 44 0 257M 42708K RUN 0:30 0.00% a.out 8.1-RC2 without syslog =20 PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMA= ND 33062 vikashb 1001 44 0 129M 14804K RUN 0:00 0.00% a.out with syslog =20 PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMA= ND 33056 vikashb 1001 44 0 257M 42708K RUN 0:03 0.00% a.out I have not been able to find any reasonable information via google. Why does syslog result in more memory being consumed on 8.x as opposed to= =207.2 ? #include #include #include #include #include #include #include #include #include char *ProgramName =3D "WTF"; int loop =3D 0; int LogToSTDOUT =3D 1; void LogMessage(int debug, const char *fmt,...) { =20 extern int LogToSTDOUT; =20 char message[8192]; =20 memset(message, 0, sizeof(message)); =20 va_list args; =20 va_start(args, fmt); =20 vsnprintf(message, sizeof(message), fmt, args); =20 va_end(args); =20 if ( LogToSTDOUT ) =20 { =20 printf("%s\n", message); =20 } =20 syslog(LOG_NOTICE, "%s", message); } unsigned long int getTimeNow() { =20 struct timeval tv; =20 if ( gettimeofday(&tv, NULL) =3D=3D -1 ) =20 { =20 LogMessage(0, "ERROR(%d) %s\n", errno, strerror(errno)); =20 tv.tv_sec =3D 0; =20 } =20 return tv.tv_sec; } void HandleSignal(int sig) { =20 loop =3D 0; =20 LogMessage(0, "loop =3D %d\n", loop); =20 signal(sig, SIG_IGN); =20 usleep(1000); } void *worker(int n) { =20 while ( loop ) =20 { =20 LogMessage(0, "worker #%d logging", n); =20 usleep(1000); =20 } =20 pthread_exit(0); } int main(int argc, char* argv[]) { =20 pthread_t* tpool; =20 int workers =3D 1000, i, rc; =20 openlog(ProgramName, LOG_PID, LOG_MAIL); =20 unsigned long int duration =3D 120, StartTime, TimeNow; =20 signal(SIGINT, HandleSignal); =20 signal(SIGTERM, HandleSignal); =20 signal(SIGHUP, HandleSignal); =20 signal(SIGQUIT, HandleSignal); =20 StartTime =3D getTimeNow(); =20 tpool =3D (pthread_t*)malloc(workers * sizeof(pthread_t)); =20 if ( tpool =3D=3D NULL ) =20 { =20 LogMessage(0, "malloc failed \n"); =20 closelog(); =20 exit(-1); =20 } =20 memset(tpool, 0, sizeof(pthread_t) * workers); =20 loop =3D 1; =20 for ( i =3D 0; i < workers; i++ ) =20 { =20 rc =3D pthread_create(&tpool[i], NULL, (void *(*)(void*))&worker,= =20(void*)i); =20 if ( rc !=3D 0 ) =20 { =20 LogMessage(0, "pthread_create #%d failed\n", i ); =20 pthread_cancel(tpool[i]); =20 } =20 else =20 { =20 pthread_detach(tpool[i]); =20 } =20 } =20 LogMessage(0, "loop =3D %d\n", loop); =20 while ( loop ) =20 { =20 TimeNow =3D getTimeNow(); =20 if ( ( TimeNow - StartTime ) > duration ) =20 { =20 loop =3D 0; =20 } =20 usleep(1000); =20 } =20 for ( i =3D 0; i < workers; i++ ) =20 { =20 pthread_cancel(tpool[i]); =20 } =20 for ( i =3D 0; i < workers; i++ ) =20 { =20 pthread_join(tpool[i], NULL); =20 } =20 free(tpool); =20 closelog(); =20 exit(0); } Please note: This email and its content are subject to the disclaimer as = displayed at the following link http://www.is.co.za/legal/E-mail+Confiden= tiality+Notice+and+Disclaimer.htm. Should you not have Web access, send a= =20mail to disclaimers@is.co.za and a copy will be emailed to you. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 5 16:16:30 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 06BA81065675 for ; Mon, 5 Jul 2010 16:16:30 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id B9C0B8FC25 for ; Mon, 5 Jul 2010 16:16:29 +0000 (UTC) Received: by qyk30 with SMTP id 30so2043339qyk.13 for ; Mon, 05 Jul 2010 09:16:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=d/75hTAhO2koOH2KZqBapVcq8hiD45JAE4I5iZnrtTc=; b=SRn2p/arRdD+kkMCGWc2mho/xX2k4GmEuCnBFgowpZFSKWeXiBLZlayyPd+Ux3a3mv 4Hx5KRvdisXCX4Uz7v3tggXeBdhiJJNVPSFIVN8X1gSdrHBOoeBcm62cwlvqLlXIO0Ow wFiM3EN3QWbUBOdpxFs6b1hoFwJk3/86pG/QM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=YvIEXuk4W0XYG6xRNPMNIOlkpdSQjxJQiPoGiV9z6jRpzbykBNmM8WWtywNwgJXuYd 0twHyLOnen2mOVHlGx/K5dsmIBp6Rd14oXj6DtCfQRq1UPAX/lqyv4KTkX/A0Skbraot shIWLuqT/2bHMckTGhWOgic4FwHzi14PeZDEk= MIME-Version: 1.0 Received: by 10.224.106.34 with SMTP id v34mr1585688qao.325.1278346579928; Mon, 05 Jul 2010 09:16:19 -0700 (PDT) Received: by 10.224.67.132 with HTTP; Mon, 5 Jul 2010 09:16:19 -0700 (PDT) Date: Mon, 5 Jul 2010 10:16:19 -0600 Message-ID: From: Modulok To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: VLANs is this right? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2010 16:16:30 -0000 Hopefully this doesn't get too garbled by various mail clients: Internet | FreeBSD router | (tagged frames) | switch | | vlan1 vlan2 | | hostA hostB Criteria: - HostA must never directly talk to HostB. - Both hostA and hostB have an Internet connection. What I have to work with: proCurve switch which supports VLANs. 2x Intel NICs in FreeBSD which support VLANs. I've never messed with VLANs before. This is all new to me. As I understand so far, this should be a simple matter of creating the vlans on the switch, assigning ports to their respective vlan in 'untagged' mode, and then assigning the port BSD connects to, as a 'tagged' member of both VLAN's? Then I'd create an IP alias on the internal FreeBSD NIC, so that it can talk to both networks over the same wire? Is this right? I'd do more experimentation but I can't have down time until later tonight so I thought I'd ask in the mean time. Thanks! -Modulok- From owner-freebsd-questions@FreeBSD.ORG Mon Jul 5 16:57:50 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87013106564A for ; Mon, 5 Jul 2010 16:57:50 +0000 (UTC) (envelope-from dkelly@Grumpy.DynDNS.org) Received: from amavis-smtp.knology.net (amavis-smtp.knology.net [75.76.199.6]) by mx1.freebsd.org (Postfix) with ESMTP id 5FE4B8FC0C for ; Mon, 5 Jul 2010 16:57:50 +0000 (UTC) Received: from localhost (amavis-smtp [127.0.0.1]) by amavis-smtp.knology.net (Postfix) with ESMTP id A9CDB88688; Mon, 5 Jul 2010 12:57:48 -0400 (EDT) Received: from smtp12.knology.net ([75.76.199.9]) by localhost (amavis-smtp.knology.net [75.76.199.6]) (amavisd-new, port 10024) with LMTP id aa4qnPBtNET8; Mon, 5 Jul 2010 12:57:48 -0400 (EDT) Received: from Grumpy.DynDNS.org (unknown [24.42.224.110]) by smtp12.knology.net (Postfix) with ESMTP id 9E9145200014; Mon, 5 Jul 2010 12:57:42 -0400 (EDT) Received: by Grumpy.DynDNS.org (Postfix, from userid 928) id 898B32841F; Mon, 5 Jul 2010 11:57:46 -0500 (CDT) Date: Mon, 5 Jul 2010 11:57:46 -0500 From: David Kelly To: Modulok Message-ID: <20100705165746.GB10990@Grumpy.DynDNS.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: VLANs is this right? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2010 16:57:50 -0000 On Mon, Jul 05, 2010 at 10:16:19AM -0600, Modulok wrote: > > Criteria: > - HostA must never directly talk to HostB. > - Both hostA and hostB have an Internet connection. > > What I have to work with: > proCurve switch which supports VLANs. > 2x Intel NICs in FreeBSD which support VLANs. Am thinking you are approaching it the wrong way. Not familiar with the specifics of a ProCurve switch but that's a high end unit, not a Netgear. I would expect you could configure the switch to disallow the MAC addresses from talking to each other of hostA and hostB. Furthermore, it would be even easier to disallow hostB from within hostA's firewall. And do the same at hostB. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 5 17:24:42 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9F45C106564A for ; Mon, 5 Jul 2010 17:24:42 +0000 (UTC) (envelope-from peter@boosten.org) Received: from smtpq1.gn.mail.iss.as9143.net (smtpq1.gn.mail.iss.as9143.net [212.54.34.164]) by mx1.freebsd.org (Postfix) with ESMTP id 324EA8FC14 for ; Mon, 5 Jul 2010 17:24:41 +0000 (UTC) Received: from [212.54.34.136] (helo=smtp5.gn.mail.iss.as9143.net) by smtpq1.gn.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1OVpPD-0000wU-TD; Mon, 05 Jul 2010 19:24:31 +0200 Received: from [84.25.59.18] (helo=ra.egypt.nl) by smtp5.gn.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1OVpPC-0006If-PV; Mon, 05 Jul 2010 19:24:30 +0200 Received: from mbp.egypt.nl (mbp.egypt.nl [192.168.13.33]) by ra.egypt.nl (Postfix) with ESMTP id 9B2C83983E; Mon, 5 Jul 2010 19:24:27 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Peter Boosten In-Reply-To: Date: Mon, 5 Jul 2010 19:24:27 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <6E934F3B-D7D7-4D5A-B9E3-D0BDABDEC211@boosten.org> References: To: Modulok X-Mailer: Apple Mail (2.1081) X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1OVpPC-0006If-PV X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: spam, SpamAssassin (niet cached, score=5.807, vereist 5, BAYES_99 3.50, EMPTY_MESSAGE 2.31, SPF_PASS -0.00) X-ZiggoSMTP-MailScanner-SpamScore: sssss X-ZiggoSMTP-MailScanner-From: peter@boosten.org X-Spam-Flag: YES Cc: freebsd-questions@freebsd.org Subject: {Spam?} Re: VLANs is this right? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2010 17:24:42 -0000 On 5 jul 2010, at 18:16, Modulok wrote: > Hopefully this doesn't get too garbled by various mail clients: >=20 > Internet > | > FreeBSD router > | > (tagged frames) > | > switch > | | > vlan1 vlan2 > | | > hostA hostB >=20 > Criteria: > - HostA must never directly talk to HostB. > - Both hostA and hostB have an Internet connection. >=20 > What I have to work with: > proCurve switch which supports VLANs. > 2x Intel NICs in FreeBSD which support VLANs. >=20 > I've never messed with VLANs before. This is all new to me. As I > understand so far, this should be a simple matter of creating the > vlans on the switch, assigning ports to their respective vlan in > 'untagged' mode, and then assigning the port BSD connects to, as a > 'tagged' member of both VLAN's? Then I'd create an IP alias on the > internal FreeBSD NIC, so that it can talk to both networks over the > same wire? Is this right? >=20 Not entirely: the trunk (between switch and FreeBSD) will have the two = different vlan tag id's, and you cannot differentiate between the two by = doing 'normal' IP aliasing (yet done with ifconfig). The physical = interface won't get an IP address at all, but the two virtual vlan = interfaces will. You can/must keep the two networks apart with a firewall (pf for = instance). Peter --=20 Peter Boosten http://www.boosten.org From owner-freebsd-questions@FreeBSD.ORG Mon Jul 5 17:30:15 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11AD9106564A for ; Mon, 5 Jul 2010 17:30:15 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id BADBC8FC1A for ; Mon, 5 Jul 2010 17:30:14 +0000 (UTC) Received: by vws6 with SMTP id 6so6444605vws.13 for ; Mon, 05 Jul 2010 10:30:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=mp22NPTBmEzKmq5WAkzVUT5Rf7179NCaLbDwc8qkyF4=; b=GWf5vinxydK+UINamVumMpuGWjyYctiJ0AO1Q6EEIy9YQYFODNH5Kj8BXxcl5Nzm27 xVXqsoSwnCvnlpQMaha7h5BS+Owfg8eP7whfJUKNl3kpuA45aWWKpKneEhUpktgUEDC0 ONhMxeYHdED4N27QtcjntJeuGPSeK79fyxHOU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=b2dZ2L5oa7YVF4AmDn0Lt6FPwYfHafD3h0+wmG+ikkwkvmZ9thq9b0i6KGmh4zvb6R Ho+AsryK0yNsT/c1to0KCuTHR6lTlSaRgTzN+meJPe1g3S3D1LVDhlhG5iVKagmMz/H1 SRfDrTTtaQkB7E4nNB0Lmtbkto5j92WKGZWss= MIME-Version: 1.0 Received: by 10.224.64.209 with SMTP id f17mr1677714qai.138.1278351010036; Mon, 05 Jul 2010 10:30:10 -0700 (PDT) Received: by 10.224.67.132 with HTTP; Mon, 5 Jul 2010 10:30:09 -0700 (PDT) In-Reply-To: <20100705165746.GB10990@Grumpy.DynDNS.org> References: <20100705165746.GB10990@Grumpy.DynDNS.org> Date: Mon, 5 Jul 2010 11:30:09 -0600 Message-ID: From: Modulok To: David Kelly Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: VLANs is this right? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2010 17:30:15 -0000 It was a simplified diagram of what I thought I needed. ( Which may or may not be what I actually need! ) Basically, I want a port on the switch that I can plug un-trusted devices into. Systems wich are known to be just crawling with malicious software. I need to provide them with an Internet connection, but otherwise want them separated from everybody else. Think DMZ isolation, but they're not providing any 'external' services. I was wondering if this could be done with tagging and address aliases, instead of buying a third network card for the BSD machine. If that makes any sense. On 7/5/10, David Kelly wrote: > On Mon, Jul 05, 2010 at 10:16:19AM -0600, Modulok wrote: >> >> Criteria: >> - HostA must never directly talk to HostB. >> - Both hostA and hostB have an Internet connection. >> >> What I have to work with: >> proCurve switch which supports VLANs. >> 2x Intel NICs in FreeBSD which support VLANs. > > Am thinking you are approaching it the wrong way. > > Not familiar with the specifics of a ProCurve switch but that's a high > end unit, not a Netgear. I would expect you could configure the switch > to disallow the MAC addresses from talking to each other of hostA and > hostB. > > Furthermore, it would be even easier to disallow hostB from within > hostA's firewall. And do the same at hostB. > > -- > David Kelly N4HHE, dkelly@HiWAAY.net > ======================================================================== > Whom computers would destroy, they must first drive mad. > From owner-freebsd-questions@FreeBSD.ORG Mon Jul 5 17:33:31 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09B1B1065673 for ; Mon, 5 Jul 2010 17:33:31 +0000 (UTC) (envelope-from peter@boosten.org) Received: from smtpq4.gn.mail.iss.as9143.net (smtpq4.gn.mail.iss.as9143.net [212.54.34.167]) by mx1.freebsd.org (Postfix) with ESMTP id B43258FC21 for ; Mon, 5 Jul 2010 17:33:30 +0000 (UTC) Received: from [212.54.34.148] (helo=smtp16.gn.mail.iss.as9143.net) by smtpq4.gn.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1OVpXo-0001R1-HI; Mon, 05 Jul 2010 19:33:24 +0200 Received: from [84.25.59.18] (helo=ra.egypt.nl) by smtp16.gn.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1OVpXm-00041U-Fp; Mon, 05 Jul 2010 19:33:22 +0200 Received: from mbp.egypt.nl (mbp.egypt.nl [192.168.13.33]) by ra.egypt.nl (Postfix) with ESMTP id 23C3C3983E; Mon, 5 Jul 2010 19:33:17 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Peter Boosten In-Reply-To: Date: Mon, 5 Jul 2010 19:33:16 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <60F62E69-FAF0-4A71-A673-17051D1280E2@boosten.org> References: <20100705165746.GB10990@Grumpy.DynDNS.org> To: Modulok X-Mailer: Apple Mail (2.1081) X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1OVpXm-00041U-Fp X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: geen spam, SpamAssassin (niet cached, score=4.307, vereist 5, BAYES_80 2.00, EMPTY_MESSAGE 2.31, SPF_PASS -0.00) X-ZiggoSMTP-MailScanner-SpamScore: ssss X-ZiggoSMTP-MailScanner-From: peter@boosten.org X-Spam-Status: No Cc: David Kelly , freebsd-questions@freebsd.org Subject: Re: VLANs is this right? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2010 17:33:31 -0000 On 5 jul 2010, at 19:30, Modulok wrote: > It was a simplified diagram of what I thought I needed. ( Which may or > may not be what I actually need! ) >=20 > Basically, I want a port on the switch that I can plug un-trusted > devices into. Systems wich are known to be just crawling with > malicious software. I need to provide them with an Internet > connection, but otherwise want them separated from everybody else. > Think DMZ isolation, but they're not providing any 'external' > services. I was wondering if this could be done with tagging and > address aliases, instead of buying a third network card for the BSD > machine. >=20 > If that makes any sense. Please don't top-post. Your way indeed is the way to go. I have a similar setup, where I don't = my 19-year olds' PC roam my network. I've created two different VLANs = on my switch (Nortel), and a trunk to my M0n0wall (=3DFreeBSD) firewall = which separates the two. Peter --=20 Peter Boosten http://www.boosten.org From owner-freebsd-questions@FreeBSD.ORG Mon Jul 5 17:55:48 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A9272106566C for ; Mon, 5 Jul 2010 17:55:48 +0000 (UTC) (envelope-from bahamasfranks@gmail.com) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8207B8FC15 for ; Mon, 5 Jul 2010 17:55:48 +0000 (UTC) Received: by pxi4 with SMTP id 4so586537pxi.13 for ; Mon, 05 Jul 2010 10:55:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=TweHAW2ym8KLFwZWc2/aYVjSpz9Be3bpp4uCo09/0Xs=; b=YV6ELfmYX5DcufhN2EkPYqJ0G5V5RewrwgLoubaZni3+4qAH8ki+CFoA9NInUTXkZ1 rgZUsHJf2jRoRr0E+BaNJ4eNdWpLffIt/8sx3iteLZWBmP+0X8ZdL5UymnNIwmWI1jSm C7RK4I5OIg7BXO0aDN3V+n40yJkdw6KXUWFjY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=YhEnIPjh1ctNIjCLVmEXaSMd7HNs8UbV2a5WZnzflnbI9Ytd0bPwzC1zJ0YDvIJFRD jJra/qs4ArLa55+E8lrv74MioRi4CMs4EK0QyNU0Y54/vIOFWbu1iZVAsKNXZ2Icg5nU /Q9Y12rrpWU/ONpjXpyOBBGYPatdwA/s77o00= MIME-Version: 1.0 Received: by 10.114.160.2 with SMTP id i2mr3048835wae.163.1278352536281; Mon, 05 Jul 2010 10:55:36 -0700 (PDT) Received: by 10.231.157.144 with HTTP; Mon, 5 Jul 2010 10:55:36 -0700 (PDT) Date: Mon, 5 Jul 2010 10:55:36 -0700 Message-ID: From: Steve Franks To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 Subject: syncer hemorrhages numbers on shutdown then panics X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2010 17:55:48 -0000 I just did a 'new huge disk' procedure (aka dump 0aLf - | restore - for each label). I have a script for automating it, and it usually seems to work, but not today! Silent failures/corruptions do not make me comfortable, especially coming from my backup tools (yes, no errors seen in log). System seems to work, but it won't shutdown! syncher spits out random numbers for 10 minutes or more then panics. Should I start over? Why didn't dump/restore unambiguously copy my working disk to my new one? I didn't see any expicit errors... Also, X won't start, complaining about inability to write something for the keymap into /tmp; probably part of the same problem. Stranger still, an rsync -n from one disk to the other seems to agree that the two match! Thanks, Steve From owner-freebsd-questions@FreeBSD.ORG Mon Jul 5 18:15:33 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EC6CB106567A for ; Mon, 5 Jul 2010 18:15:33 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id A74028FC16 for ; Mon, 5 Jul 2010 18:15:33 +0000 (UTC) Received: by gyd8 with SMTP id 8so1629521gyd.13 for ; Mon, 05 Jul 2010 11:15:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=EbH5kLgVr7oYNG1mzMLCh7Csbuowrqy8OD+M32idnOE=; b=TpC9vaNrkW6y6IXB4mpoZnjgwgp4yoSvr02QqhUBK/CwDwJH+3TlpPt4czchUSIPOp Xde9rpQWxc5QSTyrBkwntkX/6MyiIy4qmXp765DKRsr66evbX7we8ZvukcK5GP+6djaw P7MBGfrI4qd8L1DwKnOP5wubgk8CF7erk5/Yg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=voTGHXqJs6NIor91QeTLB2qIcCrFuUg1NL8AVLVvyy5dmSbt6vVM1IWwbcqnImZYhT TyL6RAwd3Njt3uG6bvvYrzI2eBb3y40hN9U+gXGH/5ccohzyyTcXvz3dJIl3EzU3nDfH V97gBw5abhUZho/f1KI50OYG7ldt8T5jOZ3Pg= Received: by 10.90.30.4 with SMTP id d4mr3533682agd.23.1278353726260; Mon, 05 Jul 2010 11:15:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.150.147.8 with HTTP; Mon, 5 Jul 2010 11:15:06 -0700 (PDT) In-Reply-To: <20100705115455.GA95036@mech-cluster241.men.bris.ac.uk> References: <20100705115455.GA95036@mech-cluster241.men.bris.ac.uk> From: Paul B Mahol Date: Mon, 5 Jul 2010 18:15:06 +0000 Message-ID: To: Anton Shterenlikht Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: wireless on HP compaq 6715s - Broadcom BCM5906m - not supported? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2010 18:15:34 -0000 On Mon, Jul 5, 2010 at 11:54 AM, Anton Shterenlikht w= rote: > I've HP Compaq 6715s laptop. > Looking at "pciconf -lv" output, the > wireless (and ethernet) device is: > > > bge0@pci0:16:0:0: =A0 =A0 =A0 class=3D0x020000 card=3D0x30c2103c chip=3D0= x171314e4 rev=3D0x02 hdr=3D0x00 > =A0 =A0vendor =A0 =A0 =3D 'Broadcom Corporation' > =A0 =A0device =A0 =A0 =3D 'Broadcom NetLink (TM) Fast Ethernet (BCM5906m)= ' > =A0 =A0class =A0 =A0 =A0=3D network > =A0 =A0subclass =A0 =3D ethernet I see only ethernet, which is supported fine. > > I tried to search on the net, including FBSD hardware release notes, > and it seems this device is not supported. For wireless check bwi(4) and bwn(4) manual pages. > Can anybody comment on/confirm this please? > > Any experience using this chip with NDIS? Works fine on i386, with few known problems with known workarounds. amd64 is usually broken. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 5 18:36:23 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5FAD1065670 for ; Mon, 5 Jul 2010 18:36:23 +0000 (UTC) (envelope-from nvidican@m2.vidican.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 826E98FC13 for ; Mon, 5 Jul 2010 18:36:23 +0000 (UTC) Received: by iwn35 with SMTP id 35so4144759iwn.13 for ; Mon, 05 Jul 2010 11:36:22 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.203.15 with SMTP id fg15mr3141547ibb.187.1278354982551; Mon, 05 Jul 2010 11:36:22 -0700 (PDT) Sender: nvidican@m2.vidican.com Received: by 10.231.182.200 with HTTP; Mon, 5 Jul 2010 11:36:22 -0700 (PDT) X-Originating-IP: [69.165.170.15] In-Reply-To: References: <20100705165746.GB10990@Grumpy.DynDNS.org> Date: Mon, 5 Jul 2010 14:36:22 -0400 X-Google-Sender-Auth: XbtoZIVWXaY_NRoi2agHqv0hTdY Message-ID: From: Nathan Vidican To: Modulok Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: David Kelly , freebsd-questions@freebsd.org Subject: Re: VLANs is this right? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2010 18:36:23 -0000 On Mon, Jul 5, 2010 at 1:30 PM, Modulok wrote: > It was a simplified diagram of what I thought I needed. ( Which may or > may not be what I actually need! ) > > Basically, I want a port on the switch that I can plug un-trusted > devices into. Systems wich are known to be just crawling with > malicious software. I need to provide them with an Internet > connection, but otherwise want them separated from everybody else. > Think DMZ isolation, but they're not providing any 'external' > services. I was wondering if this could be done with tagging and > address aliases, instead of buying a third network card for the BSD > machine. > > If that makes any sense. > > > On 7/5/10, David Kelly wrote: > > On Mon, Jul 05, 2010 at 10:16:19AM -0600, Modulok wrote: > >> > >> Criteria: > >> - HostA must never directly talk to HostB. > >> - Both hostA and hostB have an Internet connection. > >> > >> What I have to work with: > >> proCurve switch which supports VLANs. > >> 2x Intel NICs in FreeBSD which support VLANs. > > > > Am thinking you are approaching it the wrong way. > > > > Not familiar with the specifics of a ProCurve switch but that's a high > > end unit, not a Netgear. I would expect you could configure the switch > > to disallow the MAC addresses from talking to each other of hostA and > > hostB. > > > > Furthermore, it would be even easier to disallow hostB from within > > hostA's firewall. And do the same at hostB. > > > > -- > > David Kelly N4HHE, dkelly@HiWAAY.net > > ======================================================================== > > Whom computers would destroy, they must first drive mad. > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > I have almost the exact same setup as you're looking for currently running on a FreeBSD box acting as a server/router for multiple VLANS as follows: Internet ---------- FreeBSD (Sun Sparc SunFire v120 w/ Intel PCI 100BaseSX fibre card) ---------- Cisco Catalyst 2948G - configured with: - 4 distinct VLANS, each with their own subnet - 802.1q (dot1q) trunks between switches carrying specified VLANS - 802.1q trunk between switch and FreeBSD box ----------- Each subnet (VLAN) has it's own gateway which is the IP of the FreeBSD machine. They key is that the switch must connect to the FreeBSD machine using TRUNK not access mode. I am not that familiar with the HP procurve series but I'd imagine it's not that dissimilar from others I've worked with. The key on the FreeBSD machine is to use cloned interfaces for each seperate VLAN and assign that cloned vlan interface to 'transmit via ' the real interface. You will need the 'vlan' pseudo device compiled into your kernel. The pertinent parts of my rc.conf are as follows for an example: # rc.conf excerpt: hostname="gw.xx.xx.com" gateway_enable="YES" cloned_interfaces="vlan190 vlan100 vlan200 vlan300" ifconfig_em0="up" ifconfig_vlan190="inet 69.16.x.x/26 vlan 190 vlandev em0" ifconfig_vlan100="inet 10.10.1.1/26 vlan 100 vlandev em0" ifconfig_vlan200="inet 10.10.2.254/24 vlan 200 vlandev em0" ifconfig_vlan300="inet 10.10.3.254/24 vlan 300 vlandev em0" ifconfig_vlan400="inet 10.10.4.254/24 vlan 400 vlandev em0" ifconfig_vlan700="inet 10.10.7.254/25 vlan 700 vlandev em0" # end of rc.conf excerpt I then add a host (for example) as '10.10.1.11/26 on vlan 100' via a different port on the switch; the ONLY way for that particular host to talk to another beyond that vlan is to go through the freebsd box (which also acts as a firewall, NAT, etc). Hope this helps, but what you're trying to do is definetly possible. Not all NIC card drivers support vlan tagging/trunks though, check documentation as need be. In general all the intel and most of the broadcom cards do and that's all I've really had any experience with. I've worked with Cisco, Netgear, and linksys units on the switch side for the vlan/trunk/access ports. -- Nathan Vidican nathan@vidican.com Happy FreeBSD user since 2.0 :) From owner-freebsd-questions@FreeBSD.ORG Mon Jul 5 19:01:24 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28DB71065742 for ; Mon, 5 Jul 2010 19:01:24 +0000 (UTC) (envelope-from dkelly@hiwaay.net) Received: from bee.hiwaay.net (bee.hiwaay.net [216.180.54.11]) by mx1.freebsd.org (Postfix) with ESMTP id BEB3E8FC1B for ; Mon, 5 Jul 2010 19:01:23 +0000 (UTC) Received: from [10.0.0.9] (dynamic-24-42-224-110.knology.net [24.42.224.110] (may be forged)) (authenticated bits=0) by bee.hiwaay.net (8.13.8/8.13.8) with ESMTP id o65In0ST1210298 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Mon, 5 Jul 2010 13:49:01 -0500 (CDT) References: <20100705165746.GB10990@Grumpy.DynDNS.org> In-Reply-To: Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii Message-Id: <5AD978F8-557E-4D51-9B85-BC56AA061D70@hiwaay.net> Content-Transfer-Encoding: quoted-printable From: David Kelly Date: Mon, 5 Jul 2010 13:49:20 -0500 To: Modulok X-Mailer: Apple Mail (2.1081) Cc: questions@freebsd.org Subject: Re: VLANs is this right? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2010 19:01:24 -0000 On Jul 5, 2010, at 12:30 PM, Modulok wrote: > It was a simplified diagram of what I thought I needed. ( Which may or > may not be what I actually need! ) >=20 > Basically, I want a port on the switch that I can plug un-trusted > devices into. Seconding Peter's request that you not top-post. We read and write this = language left to right, top to bottom, and nothing about email changes = that. You say "un-trusted devices" but would have to trust the device to = configure a VLAN interface. Or back to the ProCurve, it would need to be = configured to tunnel everything on a the untrusted port into a VLAN. = And/Or configure so that the untrusted port is switched only to the = FreeBSD router port. Would be easiest to slip another NIC in the FreeBSD router for this = purpose. Then no VLAN, everything is handled in your firewall. -- David Kelly N4HHE, dkelly@HiWAAY.net =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Whom computers would destroy, they must first drive mad. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 5 19:08:25 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2C37106564A for ; Mon, 5 Jul 2010 19:08:25 +0000 (UTC) (envelope-from steve@ipv6canada.com) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id 45F9E8FC08 for ; Mon, 5 Jul 2010 19:08:25 +0000 (UTC) Received: (qmail 67660 invoked by uid 89); 5 Jul 2010 19:09:48 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 5 Jul 2010 19:09:48 -0000 Message-ID: <4C322DAF.7010200@ipv6canada.com> Date: Mon, 05 Jul 2010 15:08:31 -0400 From: Steve Bertrand User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1 MIME-Version: 1.0 To: Nathan Vidican References: <20100705165746.GB10990@Grumpy.DynDNS.org> In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: David Kelly , freebsd-questions@freebsd.org, Modulok Subject: Re: VLANs is this right? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2010 19:08:25 -0000 On 2010.07.05 14:36, Nathan Vidican wrote: > On Mon, Jul 5, 2010 at 1:30 PM, Modulok wrote: > >> It was a simplified diagram of what I thought I needed. ( Which may or >> may not be what I actually need! ) >> >> Basically, I want a port on the switch that I can plug un-trusted >> devices into. Systems wich are known to be just crawling with >> malicious software. I need to provide them with an Internet >> connection, but otherwise want them separated from everybody else. >> Think DMZ isolation, but they're not providing any 'external' >> services. I was wondering if this could be done with tagging and >> address aliases, instead of buying a third network card for the BSD >> machine. >> >> If that makes any sense. > They key is that the switch must connect to the FreeBSD machine using TRUNK > not access mode. I am not that familiar with the HP procurve series but I'd > imagine it's not that dissimilar from others I've worked with: Unlike Cisco where you apply the tagging within interface config, HP requires you to apply tagging to an interface within the vlan config instead: vlan 10 untagged 29-44 tagged 47 ip address 208.70.104.2 255.255.255.248 exit vlan 11 untagged 1-6 tagged 47 ip address 208.70.107.2 255.255.255.248 exit 'tagged 47' is equivalent to Cisco's `trunk'. It `trunks' vlan 10 and 11 out via gi 47. The FBSD related config snips previously posted are what is needed on that end of things. Steve From owner-freebsd-questions@FreeBSD.ORG Mon Jul 5 19:16:01 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 316A1106564A for ; Mon, 5 Jul 2010 19:16: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 E07768FC13 for ; Mon, 5 Jul 2010 19:16:00 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o65JG0YP007506; Mon, 5 Jul 2010 13:16:00 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o65JFxQb007503; Mon, 5 Jul 2010 13:16:00 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Mon, 5 Jul 2010 13:15:59 -0600 (MDT) From: Warren Block To: Steve Franks 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.2.5 (wonkity.com [127.0.0.1]); Mon, 05 Jul 2010 13:16:00 -0600 (MDT) Cc: FreeBSD Mailing List Subject: Re: syncer hemorrhages numbers on shutdown then panics X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2010 19:16:01 -0000 On Mon, 5 Jul 2010, Steve Franks wrote: > I just did a 'new huge disk' procedure (aka dump 0aLf - | restore - > for each label). I have a script for automating it, and it usually > seems to work, but not today! Silent failures/corruptions do not make > me comfortable, especially coming from my backup tools (yes, no errors > seen in log). > > System seems to work, but it won't shutdown! syncher spits out random > numbers for 10 minutes or more then panics. Should I start over? Why > didn't dump/restore unambiguously copy my working disk to my new one? > I didn't see any expicit errors... > > Also, X won't start, complaining about inability to write something > for the keymap into /tmp; probably part of the same problem. Maybe missing permissions on /tmp? In my case, when I don't bother to copy /tmp, create a new /tmp on the target, then forget to set permissions on it. Wouldn't think that would affect sync, but when you image a system odd things are possible. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 5 19:39:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6E38106564A for ; Mon, 5 Jul 2010 19:39:55 +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 A5C5C8FC15 for ; Mon, 5 Jul 2010 19:39:55 +0000 (UTC) Received: from r55.edvax.de (port-92-195-117-232.dynamic.qsc.de [92.195.117.232]) by mx02.qsc.de (Postfix) with ESMTP id E7EBE1DBE1; Mon, 5 Jul 2010 21:39:53 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o65JdrRc001481; Mon, 5 Jul 2010 21:39:53 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 5 Jul 2010 21:39:53 +0200 From: Polytropon To: Christoph Kukulies Message-Id: <20100705213953.b56c3e01.freebsd@edvax.de> In-Reply-To: <4C31E793.3040000@kukulies.org> References: <4B434D52.3030301@kukulies.org> <20100106023007.b3a19517.freebsd@edvax.de> <4C31E793.3040000@kukulies.org> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: copying a disk with ignoring errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2010 19:39:56 -0000 On Mon, 05 Jul 2010 16:09:23 +0200, Christoph Kukulies wrote: > Some student lost some important data due to disk failure. He will restore it easily from backup. :-) > I tried PHKs' recoverdisk with recoverdisk -b 1024000 /dev/ad2 ad2.dmp > > and it went off quite promising just few dma read timeouts and when I > was at 7% of recovery > it suddenly says: > ad2: FAILURE - device detached. > 1558528000 1024000 failed (device not configured) > # Not good. Can you obtain an 1:1 copy of the disk using ddrescue? And it's often easier to operate partition-wise, if there are functionally separated partitions on the disk; let's assume the /home directory was mounted from slice 1 partition f, then try: # ddrescue -d -r 3 -n /dev/ad2s1f home.ddr logfile If you are lucky to get a copy of this partition, you can try to apply analytic and repairing tools to that partition copy. > Hmm. How can I avoid that the device gets detached? I do not think you can do anything against it. A device detachment means a MASSIVE failure. It *can* be a problem of the controller, but mostly it is a problem of the disk itself. There can be a way to get around it - by replacing the disk's PCB with an identical one. But it's not for sure that this will work, e. g. if the disk's drive components have massive defects. A device detachment at least doesn't look like an "easy" I/O problem within the drive's components (the platters, heads, the motors). The error must be that massive that the disk itself says goodbye to the system and disappears so that no control commands will reach it. You can try "atacontrol reinit" to force the disk back on-line, but it may refuse to do so. See "man atacontrol" for other options. You can also use the "smartctl" program (from port "smartmontools") to check the drive's error memory to see what has caused the detachment; maybe there's some information there. It's like /dev/cpu: device disappeared. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Jul 5 22:58:55 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B57161065687 for ; Mon, 5 Jul 2010 22:58:55 +0000 (UTC) (envelope-from steve@ipv6canada.com) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id 1760C8FC0C for ; Mon, 5 Jul 2010 22:58:54 +0000 (UTC) Received: (qmail 74197 invoked by uid 89); 5 Jul 2010 23:00:21 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 5 Jul 2010 23:00:20 -0000 Message-ID: <4C3263B7.9020705@ipv6canada.com> Date: Mon, 05 Jul 2010 18:59:03 -0400 From: Steve Bertrand User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1 MIME-Version: 1.0 To: David Kelly References: <20100705165746.GB10990@Grumpy.DynDNS.org> In-Reply-To: <20100705165746.GB10990@Grumpy.DynDNS.org> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@FreeBSD.org Subject: Re: VLANs is this right? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2010 22:58:55 -0000 On 2010.07.05 12:57, David Kelly wrote: > On Mon, Jul 05, 2010 at 10:16:19AM -0600, Modulok wrote: >> >> Criteria: >> - HostA must never directly talk to HostB. >> - Both hostA and hostB have an Internet connection. >> >> What I have to work with: >> proCurve switch which supports VLANs. >> 2x Intel NICs in FreeBSD which support VLANs. > > Am thinking you are approaching it the wrong way. I wasn't going to, but I'd like to respond to your post. In no way am I attempting to knock the fact that you tried to help, I'd just like to clarify a few things... My personal belief is that the OP is approaching this in the best possible way. > Not familiar with the specifics of a ProCurve switch but that's a high > end unit, not a Netgear. I would expect you could configure the switch > to disallow the MAC addresses from talking to each other of hostA and > hostB. I would expect a residential-grade NetGear be configured in such a way, not a higher-end switch. > Furthermore, it would be even easier to disallow hostB from within > hostA's firewall. And do the same at hostB. Easier if you have 2-10 machines, that are not laptops, and never get replaced. Your expectations are not scalable, nor do they provide a network-wide solution. If the OPs network grows to 200 vlans with 15k hosts, maintaining such a setup is no where near feasible. This is why the 'higher-end' gear allows such functions. By putting users (ie. client systems, or even business functional units) into vlans, security policies can be enacted in one fell swoop (one ACL, aka firewall rule) within the device they access the other portions of the network. Generally, MAC filtering is used to place a specific nic into its proper vlan, or to deny it access to the network in general (based on an allowed-only list). Personally, I've never seen it used to filter host-host traffic before. Also, using vlans also limits the size of broadcast domains. Not too long ago, I consulted for a company that had ~4k machines within one IP subnet. They questioned why they should replace their unmanaged switches with managed ones in the course of my work, so I generated an example. It is *trivial* in FBSD to trunk vlans, and firewall them off from one another (notes: I use Quagga to assign v4 addresses to my sub-ints, so the syntax may be off. However, FBSD 7.2 accepts this as valid. Also, I do it a bit differently in production (one line), but I don't have access to the boxes I do it on, and I forget the exact syntax): # ipfw add 100 deny all from any to any recv em5.10 xmit em5.11 # ipfw add 110 deny all from any to any recv em5.11 xmit em5.10 fwiw, depending on the switch, it may even be able to do some of this L3 functionality inherently. Steve From owner-freebsd-questions@FreeBSD.ORG Mon Jul 5 23:54:30 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96DCE1065672 for ; Mon, 5 Jul 2010 23:54: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 7FF468FC20 for ; Mon, 5 Jul 2010 23:54:30 +0000 (UTC) Received: from [10.0.10.3] ([202.69.173.216]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 5 Jul 2010 16:37:30 -0700 Message-ID: <4C326CB5.9050905@a1poweruser.com> Date: Tue, 06 Jul 2010 07:37:25 +0800 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 05 Jul 2010 23:37:31.0156 (UTC) FILETIME=[094A3D40:01CB1C9B] X-Sender: fbsd8@a1poweruser.com Cc: Subject: best open source site for Bourne .sh development project? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2010 23:54:30 -0000 I developing a jailed environment application in Bourne script. Looking for recommends for a open source web site to join and add my code to so others may participate. The site needs to be able to host the code to be used as the download location for a freebsd port, and not be terminated when the project becomes dormant. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 5 23:59:18 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C292106567A for ; Mon, 5 Jul 2010 23:59:18 +0000 (UTC) (envelope-from cyberleo@cyberleo.net) Received: from paka.cyberleo.net (paka.cyberleo.net [66.219.31.21]) by mx1.freebsd.org (Postfix) with ESMTP id 063238FC21 for ; Mon, 5 Jul 2010 23:59:17 +0000 (UTC) Received: from [172.16.44.4] (h-74-2-96-2.chcgilgm.static.covad.net [74.2.96.2]) by paka.cyberleo.net (Postfix) with ESMTPSA id A171029602; Mon, 5 Jul 2010 19:59:16 -0400 (EDT) Message-ID: <4C3271D2.7070107@cyberleo.net> Date: Mon, 05 Jul 2010 18:59:14 -0500 From: CyberLeo Kitsana User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100508 Thunderbird/3.0.4 MIME-Version: 1.0 To: Fbsd8 References: <4C326CB5.9050905@a1poweruser.com> In-Reply-To: <4C326CB5.9050905@a1poweruser.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Cc: "questions@freebsd.org" Subject: Re: best open source site for Bourne .sh development project? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2010 23:59:18 -0000 On 07/05/2010 06:37 PM, Fbsd8 wrote: > I developing a jailed environment application in Bourne script. Looking > for recommends for a open source web site to join and add my code to so > others may participate. The site needs to be able to host the code to be > used as the download location for a freebsd port, and not be terminated > when the project becomes dormant. SourceForge.net? -- Fuzzy love, -CyberLeo Technical Administrator CyberLeo.Net Webhosting http://www.CyberLeo.Net Furry Peace! - http://wwww.fur.com/peace/ From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 00:15:49 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3313106566B for ; Tue, 6 Jul 2010 00:15:49 +0000 (UTC) (envelope-from steve@ipv6canada.com) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id 32B368FC17 for ; Tue, 6 Jul 2010 00:15:49 +0000 (UTC) Received: (qmail 76518 invoked by uid 89); 6 Jul 2010 00:17:13 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 6 Jul 2010 00:17:13 -0000 Message-ID: <4C3275BB.3070308@ipv6canada.com> Date: Mon, 05 Jul 2010 20:15:55 -0400 From: Steve Bertrand User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1 MIME-Version: 1.0 To: Fbsd8 References: <4C326CB5.9050905@a1poweruser.com> In-Reply-To: <4C326CB5.9050905@a1poweruser.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: "questions@freebsd.org" Subject: Re: best open source site for Bourne .sh development project? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 00:15:49 -0000 On 2010.07.05 19:37, Fbsd8 wrote: > I developing a jailed environment application in Bourne script. Looking > for recommends for a open source web site to join and add my code to so > others may participate. The site needs to be able to host the code to be > used as the download location for a freebsd port, and not be terminated > when the project becomes dormant. If you know that the project may become dormant, ensure that the README says so. You may be best going over to github: http://github.org Please don't introduce anything into the ports system for which you have obsolete as a pre-conceived notion, and/or you have no intention in supporting long-term. Steve From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 00:19:04 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D4B7106566B for ; Tue, 6 Jul 2010 00:19:04 +0000 (UTC) (envelope-from henry.olyer@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 24F458FC0A for ; Tue, 6 Jul 2010 00:19:03 +0000 (UTC) Received: by vws6 with SMTP id 6so6905982vws.13 for ; Mon, 05 Jul 2010 17:19:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=d5KttzHriAyXXHN1rtJg10xKbSsngoLdcF1FlT+a98s=; b=vl2/jY5xyVSpQBlZ+x1FAHDcYBzfAPS1CVZEe3wHj8xQi1oIl9q/c5kvk/ZXlRdkdl aTIBFbg5GbM/dAGYNJ89DaOd/CMQKrYMO3qVbdPGKpaNLN7IQxK/3Ev8xda39lWF0JQA mtCWm9WG9PylanskDD53u6l97aC3AyyzBKGDs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=aqSFt6QE8HFXilCx4qqU8r6BvK3tt3tzB2Rnc0PwmRrajdJHm1G04k6WSG1obf7/y8 jYr4p/x2MrG7pNkQH2Gt19h2rVt/qyqmTA2MsbTNFOxZ5imDNt/rj9fGnygVwytjjIe3 nByIg+T2JhHBbDbrej5HpUY3vpGhiDdldjkjQ= MIME-Version: 1.0 Received: by 10.229.97.69 with SMTP id k5mr1996736qcn.61.1278375543122; Mon, 05 Jul 2010 17:19:03 -0700 (PDT) Received: by 10.229.89.17 with HTTP; Mon, 5 Jul 2010 17:19:03 -0700 (PDT) Date: Mon, 5 Jul 2010 20:19:03 -0400 Message-ID: From: Henry Olyer To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: dealing with a possible security breach and am just trying to be careful... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 00:19:04 -0000 Hi all, So how do I delete a running load module? Is this even possible? Please copy your replies to me: henry.olyer@gmail.com From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 00:24:39 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC95E1065673 for ; Tue, 6 Jul 2010 00:24:39 +0000 (UTC) (envelope-from steve@ipv6canada.com) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id 4BE0D8FC1C for ; Tue, 6 Jul 2010 00:24:39 +0000 (UTC) Received: (qmail 76804 invoked by uid 89); 6 Jul 2010 00:26:06 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 6 Jul 2010 00:26:06 -0000 Message-ID: <4C3277D0.2080403@ipv6canada.com> Date: Mon, 05 Jul 2010 20:24:48 -0400 From: Steve Bertrand User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1 MIME-Version: 1.0 To: Henry Olyer References: In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: questions@freebsd.org Subject: Re: dealing with a possible security breach and am just trying to be careful... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 00:24:39 -0000 On 2010.07.05 20:19, Henry Olyer wrote: > Hi all, > > So how do I delete a running load module? What type of module... a kernel module?: load: pearl# kldload smbfs unload: pearl# kldunload smbfs Steve From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 00:38:05 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 08E33106564A for ; Tue, 6 Jul 2010 00:38:05 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from cpoproxy3-pub.bluehost.com (cpoproxy3-pub.bluehost.com [67.222.54.6]) by mx1.freebsd.org (Postfix) with SMTP id CA5298FC08 for ; Tue, 6 Jul 2010 00:38:04 +0000 (UTC) Received: (qmail 12894 invoked by uid 0); 6 Jul 2010 00:38:04 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy3.bluehost.com with SMTP; 6 Jul 2010 00:38:04 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=apotheon.com; h=Date:From:To:Subject:Message-ID:Mail-Followup-To:References:Mime-Version:Content-Type:Content-Disposition:In-Reply-To:User-Agent:X-Identified-User; b=jx34n2oKvKWuGe4iDwIvINCinSIAn8YNDLO3OAk7gxTSZAQXqJKVwWYmyNnr9Nj0cQMixqp0WhHz0eBxXHjumR0ZL9wyLaI9ThfsE1I2nCUL1Fsyh1j7XyL5azGkHfUd; Received: from c-24-8-180-234.hsd1.co.comcast.net ([24.8.180.234] helo=kukaburra.hydra) by box543.bluehost.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OVwAk-0006BF-QD for questions@freebsd.org; Mon, 05 Jul 2010 18:38:04 -0600 Received: by kukaburra.hydra (sSMTP sendmail emulation); Mon, 05 Jul 2010 18:37:03 -0600 Date: Mon, 5 Jul 2010 18:37:03 -0600 From: Chad Perrin To: "questions@freebsd.org" Message-ID: <20100706003703.GA2804@guilt.hydra> Mail-Followup-To: "questions@freebsd.org" References: <4C326CB5.9050905@a1poweruser.com> <4C3275BB.3070308@ipv6canada.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3V7upXqbjpZ4EhLz" Content-Disposition: inline In-Reply-To: <4C3275BB.3070308@ipv6canada.com> User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Cc: Subject: Re: best open source site for Bourne .sh development project? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 00:38:05 -0000 --3V7upXqbjpZ4EhLz Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 05, 2010 at 08:15:55PM -0400, Steve Bertrand wrote: > On 2010.07.05 19:37, Fbsd8 wrote: > > I developing a jailed environment application in Bourne script. Looking > > for recommends for a open source web site to join and add my code to so > > others may participate. The site needs to be able to host the code to be > > used as the download location for a freebsd port, and not be terminated > > when the project becomes dormant. >=20 > If you know that the project may become dormant, ensure that the README > says so. >=20 > You may be best going over to github: http://github.org =2E . . or bitbucket: http://bitbucket.org/ (depending on your DVCS preferences) --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --3V7upXqbjpZ4EhLz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkwyeq8ACgkQ9mn/Pj01uKVqMACfbnwzd671oBnYq5kYmtdllCha GmoAoKCbIa/HUF7svZT8z7g2n/svuRFY =JKC2 -----END PGP SIGNATURE----- --3V7upXqbjpZ4EhLz-- From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 02:31:15 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3152A106566B for ; Tue, 6 Jul 2010 02:31:15 +0000 (UTC) (envelope-from fbsd8@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 1D8A48FC0A for ; Tue, 6 Jul 2010 02:31:14 +0000 (UTC) Received: from [10.0.10.3] ([202.69.173.216]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 5 Jul 2010 19:31:14 -0700 Message-ID: <4C32956C.2060005@a1poweruser.com> Date: Tue, 06 Jul 2010 10:31:08 +0800 From: Fbsd8 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Steve Bertrand References: <4C326CB5.9050905@a1poweruser.com> <4C3275BB.3070308@ipv6canada.com> In-Reply-To: <4C3275BB.3070308@ipv6canada.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 06 Jul 2010 02:31:15.0275 (UTC) FILETIME=[4E8C91B0:01CB1CB3] X-Sender: fbsd8@a1poweruser.com Cc: "questions@freebsd.org" Subject: Re: best open source site for Bourne .sh development project? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 02:31:15 -0000 Steve Bertrand wrote: > On 2010.07.05 19:37, Fbsd8 wrote: >> I developing a jailed environment application in Bourne script. Looking >> for recommends for a open source web site to join and add my code to so >> others may participate. The site needs to be able to host the code to be >> used as the download location for a freebsd port, and not be terminated >> when the project becomes dormant. > > If you know that the project may become dormant, ensure that the README > says so. > > You may be best going over to github: http://github.org > > Please don't introduce anything into the ports system for which you have > obsolete as a pre-conceived notion, and/or you have no intention in > supporting long-term. > Do not confuse dormant with obsolete. IE: dormant as in stable. No current work being done on the project. From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 02:43:48 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99E0C106566B for ; Tue, 6 Jul 2010 02:43:48 +0000 (UTC) (envelope-from caleb.stein@me.com) Received: from asmtpout024.mac.com (asmtpout024.mac.com [17.148.16.99]) by mx1.freebsd.org (Postfix) with ESMTP id 8411C8FC16 for ; Tue, 6 Jul 2010 02:43:48 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes Received: from win7x64.mshome.net ([76.121.184.98]) by asmtp024.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPA id <0L54003647KFEO20@asmtp024.mac.com> for freebsd-questions@freebsd.org; Mon, 05 Jul 2010 19:43:28 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1004200000 definitions=main-1007050152 X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5,1.2.40,4.0.166 definitions=2010-07-05_06:2010-02-06, 2010-07-05, 2010-07-05 signatures=0 To: "freebsd-questions@freebsd.org" Date: Mon, 05 Jul 2010 19:43:24 -0700 From: Caleb Stein Message-id: User-Agent: Opera Mail/10.60 (Win32) Subject: Is it safe to modify a port's makefile X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 02:43:48 -0000 I asked this question a while ago, and I received a few confusing answers. Here is my question again: The Wine port will only build on i386. I have amd64. I want to install Wine. Is it safe to modify Makefile to allow it to build on amd64? Please, just answer yes or no. From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 02:51:16 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 164F6106566C for ; Tue, 6 Jul 2010 02:51:16 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (ip-58-28-152-174.static-xdsl.xnet.co.nz [58.28.152.174]) by mx1.freebsd.org (Postfix) with ESMTP id BF5588FC16 for ; Tue, 6 Jul 2010 02:51:15 +0000 (UTC) Received: by chen.org.nz (Postfix, from userid 1000) id A6C0BE0443; Tue, 6 Jul 2010 14:51:11 +1200 (NZST) Date: Tue, 6 Jul 2010 14:51:11 +1200 From: Jonathan Chen To: Caleb Stein Message-ID: <20100706025111.GA78875@osiris.chen.org.nz> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: "freebsd-questions@freebsd.org" Subject: Re: Is it safe to modify a port's makefile X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 02:51:16 -0000 On Mon, Jul 05, 2010 at 07:43:24PM -0700, Caleb Stein wrote: > I asked this question a while ago, and I received a few confusing > answers. Here is my question again: The Wine port will only build on > i386. I have amd64. I want to install Wine. Is it safe to modify > Makefile to allow it to build on amd64? > Please, just answer yes or no. Yes you can try, but it won't work. You'll hit a point where it will complain about an illegal assembler instruction. What will work is detailed at: http://wiki.freebsd.org/Wine#head-6963d527c173e57b1567e881305b544d33435b6d -- Jonathan Chen ----------------------------------------------------------------------- "I love deadlines. I like the whooshing sound they make as they fly by" - Douglas Adams From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 02:55:15 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB609106564A for ; Tue, 6 Jul 2010 02:55:15 +0000 (UTC) (envelope-from caleb.stein@me.com) Received: from asmtpout024.mac.com (asmtpout024.mac.com [17.148.16.99]) by mx1.freebsd.org (Postfix) with ESMTP id C249B8FC15 for ; Tue, 6 Jul 2010 02:55:15 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes Received: from win7x64.mshome.net ([76.121.184.98]) by asmtp024.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPA id <0L54003EF83CRI20@asmtp024.mac.com> for freebsd-questions@freebsd.org; Mon, 05 Jul 2010 19:54:49 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1004200000 definitions=main-1007050154 X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5,1.2.40,4.0.166 definitions=2010-07-05_06:2010-02-06, 2010-07-05, 2010-07-05 signatures=0 To: Jonathan Chen References: <20100706025111.GA78875@osiris.chen.org.nz> Date: Mon, 05 Jul 2010 19:54:45 -0700 From: Caleb Stein Message-id: In-reply-to: <20100706025111.GA78875@osiris.chen.org.nz> User-Agent: Opera Mail/10.60 (Win32) Cc: "freebsd-questions@freebsd.org" Subject: Re: Is it safe to modify a port's makefile X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 02:55:15 -0000 Thank you, just the kind of answer I was looking for. Now is the opportunity for a more detailed answer. After reading that page, it seemed like those instructions would either install i386 over amd64, or make your amd64 think it's i386. Now, I may be wrong, but I sure don't want my amd64 turning into or thinking it's an i386. On Mon, 05 Jul 2010 19:51:11 -0700, Jonathan Chen wrote: > On Mon, Jul 05, 2010 at 07:43:24PM -0700, Caleb Stein wrote: >> I asked this question a while ago, and I received a few confusing >> answers. Here is my question again: The Wine port will only build on >> i386. I have amd64. I want to install Wine. Is it safe to modify >> Makefile to allow it to build on amd64? >> Please, just answer yes or no. > > Yes you can try, but it won't work. You'll hit a point where it will > complain about an illegal assembler instruction. > > What will work is detailed at: > http://wiki.freebsd.org/Wine#head-6963d527c173e57b1567e881305b544d33435b6d From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 03:12:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA942106566B for ; Tue, 6 Jul 2010 03:12:49 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from chen.org.nz (ip-58-28-152-174.static-xdsl.xnet.co.nz [58.28.152.174]) by mx1.freebsd.org (Postfix) with ESMTP id 8C6388FC18 for ; Tue, 6 Jul 2010 03:12:49 +0000 (UTC) Received: by chen.org.nz (Postfix, from userid 1000) id D94C7E0443; Tue, 6 Jul 2010 15:12:47 +1200 (NZST) Date: Tue, 6 Jul 2010 15:12:47 +1200 From: Jonathan Chen To: Caleb Stein Message-ID: <20100706031247.GA79155@osiris.chen.org.nz> References: <20100706025111.GA78875@osiris.chen.org.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: "freebsd-questions@freebsd.org" Subject: Re: Is it safe to modify a port's makefile X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 03:12:49 -0000 On Mon, Jul 05, 2010 at 07:54:45PM -0700, Caleb Stein wrote: > Thank you, just the kind of answer I was looking for. Now is the > opportunity for a more detailed answer. After reading that page, it > seemed like those instructions would either install i386 over amd64, or > make your amd64 think it's i386. Now, I may be wrong, but I sure don't > want my amd64 turning into or thinking it's an i386. The instructions are for building wine/i386 on a amd64 environment. You will end up with i386 binaries, but the base will be under /compat/i386. Provided your kernel has COMPAT_FREEBSD32, it will be able to run wine/i386 in /compat/i386/usr/local/bin. All your amd64 binaries will still be there from / downwards. Cheers. -- Jonathan Chen ---------------------------------------------------------------------- "Nyuck, nyuck, nyuck" - Curly From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 03:13:57 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C1D9106566C for ; Tue, 6 Jul 2010 03:13:57 +0000 (UTC) (envelope-from caleb.stein@me.com) Received: from asmtpout023.mac.com (asmtpout023.mac.com [17.148.16.98]) by mx1.freebsd.org (Postfix) with ESMTP id 347478FC12 for ; Tue, 6 Jul 2010 03:13:56 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes Received: from win7x64.mshome.net ([76.121.184.98]) by asmtp023.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPA id <0L540085M8Z8GG00@asmtp023.mac.com> for freebsd-questions@freebsd.org; Mon, 05 Jul 2010 20:13:56 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1004200000 definitions=main-1007050154 X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5,1.2.40,4.0.166 definitions=2010-07-05_06:2010-02-06, 2010-07-05, 2010-07-05 signatures=0 To: Jonathan Chen References: <20100706025111.GA78875@osiris.chen.org.nz> <20100706031247.GA79155@osiris.chen.org.nz> Date: Mon, 05 Jul 2010 20:13:53 -0700 From: Caleb Stein Message-id: In-reply-to: <20100706031247.GA79155@osiris.chen.org.nz> User-Agent: Opera Mail/10.60 (Win32) Cc: "freebsd-questions@freebsd.org" Subject: Re: Is it safe to modify a port's makefile X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 03:13:57 -0000 Ok, thanks for the information. Actually after reading more of the page, I just found the unmaintained Wine for amd64 FreeBSD. On Mon, 05 Jul 2010 20:12:47 -0700, Jonathan Chen wrote: > On Mon, Jul 05, 2010 at 07:54:45PM -0700, Caleb Stein wrote: >> Thank you, just the kind of answer I was looking for. Now is the >> opportunity for a more detailed answer. After reading that page, it >> seemed like those instructions would either install i386 over amd64, or >> make your amd64 think it's i386. Now, I may be wrong, but I sure don't >> want my amd64 turning into or thinking it's an i386. > > The instructions are for building wine/i386 on a amd64 environment. > You will end up with i386 binaries, but the base will be under > /compat/i386. Provided your kernel has COMPAT_FREEBSD32, it will be > able to run wine/i386 in /compat/i386/usr/local/bin. > > All your amd64 binaries will still be there from / downwards. > > Cheers. From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 04:35:11 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B5E68106564A for ; Tue, 6 Jul 2010 04:35:11 +0000 (UTC) (envelope-from dkelly@hiwaay.net) Received: from bee.hiwaay.net (bee.hiwaay.net [216.180.54.11]) by mx1.freebsd.org (Postfix) with ESMTP id 5F97D8FC13 for ; Tue, 6 Jul 2010 04:35:11 +0000 (UTC) Received: from [10.0.0.7] (dynamic-24-42-224-110.knology.net [24.42.224.110] (may be forged)) (authenticated bits=0) by bee.hiwaay.net (8.13.8/8.13.8) with ESMTP id o664Z9Hh1503299 (version=TLSv1/SSLv3 cipher=RC4-SHA bits=128 verify=NO); Mon, 5 Jul 2010 23:35:10 -0500 (CDT) Message-Id: <0726A68C-724F-435B-A2C5-2BDA9BEAE6E0@hiwaay.net> From: David Kelly To: Steve Bertrand In-Reply-To: <4C3263B7.9020705@ipv6canada.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Mon, 5 Jul 2010 23:35:09 -0500 References: <20100705165746.GB10990@Grumpy.DynDNS.org> <4C3263B7.9020705@ipv6canada.com> X-Mailer: Apple Mail (2.936) Cc: freebsd-questions@FreeBSD.org Subject: Re: VLANs is this right? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 04:35:11 -0000 On Jul 5, 2010, at 5:59 PM, Steve Bertrand wrote: > On 2010.07.05 12:57, David Kelly wrote: >> On Mon, Jul 05, 2010 at 10:16:19AM -0600, Modulok wrote: >>> >>> Criteria: >>> - HostA must never directly talk to HostB. >>> - Both hostA and hostB have an Internet connection. >>> >>> What I have to work with: >>> proCurve switch which supports VLANs. >>> 2x Intel NICs in FreeBSD which support VLANs. >> >> Am thinking you are approaching it the wrong way. > > I wasn't going to, but I'd like to respond to your post. In no way > am I > attempting to knock the fact that you tried to help, I'd just like to > clarify a few things... > > My personal belief is that the OP is approaching this in the best > possible way. > >> Not familiar with the specifics of a ProCurve switch but that's a >> high >> end unit, not a Netgear. I would expect you could configure the >> switch >> to disallow the MAC addresses from talking to each other of hostA and >> hostB. > > I would expect a residential-grade NetGear be configured in such a > way, > not a higher-end switch. Generally a residential SOHO Netgear switch is unmanaged and not configurable. Sometimes this grade of gear gets confused when one moves a host from one port to another that it must be power cycled to clear the error from its MAC tables. >> Furthermore, it would be even easier to disallow hostB from within >> hostA's firewall. And do the same at hostB. > > Easier if you have 2-10 machines, that are not laptops, and never get > replaced. > > Your expectations are not scalable, nor do they provide a network-wide > solution. If the OPs network grows to 200 vlans with 15k hosts, > maintaining such a setup is no where near feasible. This is why the > 'higher-end' gear allows such functions. I didn't hear "scalable" in the specification, only hostA, hostB, one ProCurve, and one FreeBSD gateway/router connected to the internet. > By putting users (ie. client systems, or even business functional > units) > into vlans, security policies can be enacted in one fell swoop (one > ACL, > aka firewall rule) within the device they access the other portions of > the network. As long as the switch (which you have control over) encapsulates a specific port to a VLAN then you are correct in that VLAN is the best way. But if one must configure the untrusted host to only speak VLAN then one doesn't have the desired security. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 05:37:41 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FB4B1065673 for ; Tue, 6 Jul 2010 05:37:41 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id BD3318FC0A for ; Tue, 6 Jul 2010 05:37:40 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id o665bdlT075569 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 6 Jul 2010 00:37:39 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.4) with ESMTP id o665bdQt052637 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 6 Jul 2010 00:37:39 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.3/Submit) id o665bckB052633; Tue, 6 Jul 2010 00:37:38 -0500 (CDT) (envelope-from dan) Date: Tue, 6 Jul 2010 00:37:38 -0500 From: Dan Nelson To: Giorgos Keramidas Message-ID: <20100706053738.GH50409@dan.emsphone.com> References: <87sk3yv4yq.fsf@kobe.laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87sk3yv4yq.fsf@kobe.laptop> X-OS: FreeBSD 8.1-PRERELEASE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.96 at email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Tue, 06 Jul 2010 00:37:39 -0500 (CDT) X-Scanned-By: MIMEDefang 2.45 Cc: Marco Beishuizen , freebsd-questions@freebsd.org Subject: Re: fetchmail certificate verification messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 05:37:41 -0000 In the last episode (Jul 05), Giorgos Keramidas said: > On Sat, 3 Jul 2010 23:36:58 +0200 (CEST), Marco Beishuizen wrote: > > I'm seeing in my logfiles a lot of messages like these from fetchmail: > > > > Jul 3 22:02:54 yokozuna fetchmail[1437]: Server certificate > > verification error: self signed certificate in certificate chain > > Jul 3 22:02:54 yokozuna fetchmail[1437]: This means that the root > > signing certificate (issued for /C=SE/O=AddTrust AB/OU=AddTrust External > > TTP Network/CN=AddTrust External CA Root) is not in the trusted CA > > certificate locations, or that c_rehash needs to be run on the > > certificate directory. For details, please see the documentation of > > sslcertpath and sslcertfile in the manual page. > > > > Does anyone know what these messages mean and if they are harmless or > > not? > > This means that the certificate of CN="AddTrust External CA Root" is > signed by itself. It's a common thing when the administrator of the > respective SSL-enabled host has not bought a certificate from one of the > global CA authorities, but has signed the certificate with itself to avoid > the costs & process associated with maintaining a "normal" certificate. CA Roots are also self-signed, btw :) Addtrust is a valid CA Root, and is the root for some certificates signed by Network Solutions and Comodo (and probably others). Marco, the fetchmail manpage mentions a --sslcertfile option; try adding "--sslcertfile /etc/ssl/cert.pem" to force fetchmail to use the ca_root_nss file you installed previously. IMHO openssl should automatically consult that file, but apparently it doesn't. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 08:37:46 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E137106566B for ; Tue, 6 Jul 2010 08:37:46 +0000 (UTC) (envelope-from son_jaya@yahoo.com) Received: from web111411.mail.gq1.yahoo.com (web111411.mail.gq1.yahoo.com [67.195.15.192]) by mx1.freebsd.org (Postfix) with SMTP id 4368C8FC17 for ; Tue, 6 Jul 2010 08:37:46 +0000 (UTC) Received: (qmail 7765 invoked by uid 60001); 6 Jul 2010 08:11:04 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1278403864; bh=EEp8bNmbtqs6grxz5FIk0zSeF+rHFB0fSlcTbFq/9mY=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=iDYbsBHjKZR8xu0os0lVjWcE/lqC8NzIPjTvtFxlXG8O0u1DZ5PHbLe6hBF3r6zFkZjp8DzxOt4eW4buDwThGfXkt63pPaw7zQVRV2UD9vBgXUYyRWjqo8PZr6DtcOPw7cnMFYBRphh79mEcNEGFcHwZb0rbASCftzQqPIX38T0= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=fioe68UEB3iFEqz5byu+YQlu/lbwqcY4SgnBd/ZrBtOmB7ueCcdA1eh7ykuXtAwXEo0cXWOOcQ/R02jwK1csQNIiW7/o64xcQODc1Nlhe7qQNQymjfAaAGcKLTut2MS+O1rNL54S6SR+S6bblKDhMPJKKREoUJ9c0D+wqkJtf0k=; Message-ID: <555453.7555.qm@web111411.mail.gq1.yahoo.com> X-YMail-OSG: vL7TsmAVM1kQ7ylNKZoA8KjYJ.d4s5DcPsrp1k7h2YLhcoL .sSeadBNfDGS.3Oh.Sc2Qgp5NblOEH8oCXnYcyXkqvVDbiYwwcXzQ3fTp21f sCrTvTXXR5Fxv14Z_dIMKmdBAniJsemG5XbMdExaojPuKc6YhXIvJSmGBOKH 26Z5pzqQlYTwB6rXeZ2JpFhxGXROiC9bdMeeoRU__dyDKAx80C5Ti9bhiNyC Mbdr1AtDu4LOa8gkWmdNcUk38atdno7BQ5g3Z9KRPOGD0.4mf9s6aUekFvXD CPFaITR0uBakZhDrqxTTPYWh9EEmms1nzUupwD8zlCIyKMNCS5Wsa5Jw0d8U MvlDLCPTtOLMiUHQ88pjzVjicPxhoisGqv38m7Qm1lom1UCcQL6pdIw-- Received: from [192.168.48.17] by web111411.mail.gq1.yahoo.com via HTTP; Tue, 06 Jul 2010 01:11:04 PDT X-Mailer: YahooMailClassic/11.2.4 YahooMailWebService/0.8.104.274457 Date: Tue, 6 Jul 2010 01:11:04 -0700 (PDT) From: sonjaya To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: tuning FB 7.2 stable for lighhttpd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 08:37:46 -0000 dear all I need triks to tune up FreeBSD 7.2 stable for lighhttpd+php and mysql, i feel so slow, my enggine is IBM Xseries 3250M2 + 4 g + 250 G My Regard's SONJAYA http://www.sharenupload.com From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 08:52:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC875106564A for ; Tue, 6 Jul 2010 08:52:01 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 985ED8FC1D for ; Tue, 6 Jul 2010 08:52:01 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1OW3sl-0004UF-V2; Tue, 06 Jul 2010 09:52:00 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1OW3sl-0005TT-Nb; Tue, 06 Jul 2010 09:51:59 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4) with ESMTP id o668pxcX009925; Tue, 6 Jul 2010 09:51:59 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4/Submit) id o668pxm0009924; Tue, 6 Jul 2010 09:51:59 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Tue, 6 Jul 2010 09:51:59 +0100 From: Anton Shterenlikht To: Narciso =?iso-8859-1?Q?Mart=EDnez?= Malnero , freebsd-questions@freebsd.org Message-ID: <20100706085159.GA9910@mech-cluster241.men.bris.ac.uk> References: <20100705152157.GA95950@mech-cluster241.men.bris.ac.uk> <003601cb1c9d$914b5e70$b3e21b50$@com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <003601cb1c9d$914b5e70$b3e21b50$@com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: 'Anton Shterenlikht' Subject: Re: NetBoot Install Sparc64 Problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 08:52:02 -0000 On Tue, Jul 06, 2010 at 01:55:36AM +0200, Narciso Martínez Malnero wrote: > Hello. > > I've got to boot from net (using only tftp without nfs, the server spent > about 15/20 minutes trying nfs mount before). > > Now I get any errors in the boot with the kernel: > Release 8.0: jumping to kernel entry at 0xc0088000 > Release 6.0: nothing to autoload yet. > jumping to kernel entry at 0xc0068000 > Release 5.0: no errors > > Do you know that errors and could be possible update from 5.0 to 8.0 (for > example) when I have installed it yet? sorry, I don't know > > Thanks a lot. > > Sorry if I've answer you directly. I don't usually write to the list, How > should I answer to belong the same post? (my English is not very well). just subscribe to the freebsd-questions mailing list. anton > > Thanks again. > > > -----Mensaje original----- > De: Anton Shterenlikht [mailto:mexas@bristol.ac.uk] > Enviado el: lunes, 05 de julio de 2010 17:22 > Para: Narciso Martinez > CC: freebsd-sparc64@freebsd.org > Asunto: Re: NetBoot Install Sparc64 Problems > > On Mon, Jul 05, 2010 at 04:31:32PM +0200, Narciso Martinez wrote: > > Hello. > > > > I'm trying to net install in Sparc64 (Sun Enterprise 250 without cd-rom). > > > > I've read a lot of post in this list and other guides in Internet but > > I have some ideas not very clear. > > > > I have a Ubuntu server with BOOTP, RARP and TFTP to install in Sparc64 > server. > > not sure about Ubuntu, but from another FreeBSD box: > > http://seis.bris.ac.uk/~mexas/freebsd/sparc64/firmware-update > > These are the guidelines I followed to update firmware > via ntpboot. I think the same should be used for normal > boot/install. As far as I understand you only need rarpd and tftpd. > > -- > Anton Shterenlikht > Room 2.6, Queen's Building > Mech Eng Dept > Bristol University > University Walk, Bristol BS8 1TR, UK > Tel: +44 (0)117 331 5944 > Fax: +44 (0)117 929 4423 > -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 09:37:42 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B26F106566B for ; Tue, 6 Jul 2010 09:37:42 +0000 (UTC) (envelope-from mike.barnardq@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 94D7B8FC0A for ; Tue, 6 Jul 2010 09:37:41 +0000 (UTC) Received: by fxm13 with SMTP id 13so4895893fxm.13 for ; Tue, 06 Jul 2010 02:37:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=UxY27Q0pcaIYaiW/YR+UhVagvQButibpEedg4pyLwlo=; b=vDRg+b3/myM+oi5zmj+5y7GWzzdRkwP4gb+HuAzBj7Ej85W07ucUi0FNSu0OwLmxVh ubBV7kXJPn+o5TdFU261m3B/OeOLBlfRLIQq1q/w6Fv26Jop5zhL1F6JuC52jOIK6Dyw /IqrD2uxdJj9RgYcSORFyTYUTTDK7JvDZwfhU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=rDfpcQm6bxb9Q2Y7+t4BUwZA+43yjMYwNe80170Q73ARuMBx5jbAv+EORJFsyXcevS cJF1BYRB8W/lFMnlfSTFlZin2S3bmWhJNGZWvIv47LC9+F8vj+yNa7zS/sXcE2BE3V56 9cMagwETGsTV3i/BD6KY2nhmCkt+xMxD2OVsM= MIME-Version: 1.0 Received: by 10.223.126.204 with SMTP id d12mr3781996fas.72.1278408628846; Tue, 06 Jul 2010 02:30:28 -0700 (PDT) Received: by 10.223.117.206 with HTTP; Tue, 6 Jul 2010 02:30:28 -0700 (PDT) Date: Tue, 6 Jul 2010 12:30:28 +0300 Message-ID: From: Mike Barnard To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: /usr/local empty after upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 09:37:42 -0000 Hi All, I have never encountered anything like this before and I am little puzzled. After upgrading my FreeBSD 8.0 RELEASE, I ended up with FreeBSD 8.1-PRERELEASE and an empty /usr/local directory. It wiped out my /usr/local directory! I did nothing out of the usual on this upgrade. Any one experienced the same thing? How do I safely get /usr/local populated again? -- Mike Of course, you might discount this possibility, but remember that one in a million chances happen 99% of the time. ------------------------------------------------------------ From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 09:47:38 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBFA4106564A for ; Tue, 6 Jul 2010 09:47:38 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 70B1F8FC08 for ; Tue, 6 Jul 2010 09:47:38 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1OW4kM-0000GE-NR; Tue, 06 Jul 2010 10:47:37 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1OW4kM-0004D4-GW; Tue, 06 Jul 2010 10:47:22 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4) with ESMTP id o669lM5X010143; Tue, 6 Jul 2010 10:47:22 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4/Submit) id o669lMEL010142; Tue, 6 Jul 2010 10:47:22 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Tue, 6 Jul 2010 10:47:22 +0100 From: Anton Shterenlikht To: Paul B Mahol Message-ID: <20100706094722.GB10056@mech-cluster241.men.bris.ac.uk> References: <20100705115455.GA95036@mech-cluster241.men.bris.ac.uk> 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.20 (2009-06-14) Cc: Anton Shterenlikht , freebsd-questions@freebsd.org Subject: Re: wireless on HP compaq 6715s - Broadcom BCM5906m - not supported? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 09:47:38 -0000 On Mon, Jul 05, 2010 at 06:15:06PM +0000, Paul B Mahol wrote: > On Mon, Jul 5, 2010 at 11:54 AM, Anton Shterenlikht wrote: > > I've HP Compaq 6715s laptop. > > Looking at "pciconf -lv" output, the > > wireless (and ethernet) device is: > > > > > > bge0@pci0:16:0:0:       class=0x020000 card=0x30c2103c chip=0x171314e4 rev=0x02 hdr=0x00 > >    vendor     = 'Broadcom Corporation' > >    device     = 'Broadcom NetLink (TM) Fast Ethernet (BCM5906m)' > >    class      = network > >    subclass   = ethernet > > I see only ethernet, which is supported fine. Paul, thank you for your help. HP manuals describe it as "integrated wireless LAN" device. well.. this also puzzled me. The thing is, this laptop has a wireless button. When the laptop was running MS Windows XP, the button could be used to enable/disable wireless. There is a small LED on the button which lights up when wireless is enabled. After I installed FreeBSD 9.0-current, the button is always off. I tried to press it during boot, while in BIOS, and after boot - it is always off, at least the LED is always off. So I'm thinking perhaps wireless is off on a very low level, and hence is not picked up by kernel? I was hoping to hear from somebody who uses a similar laptop.. Here's the full pciconf -lv output: # pciconf -lv hostb0@pci0:0:0:0: class=0x060000 card=0x30c2103c chip=0x79101002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'RS690 Host Bridge' class = bridge subclass = HOST-PCI pcib1@pci0:0:1:0: class=0x060400 card=0x30c2103c chip=0x79121002 rev=0x00 hdr=0x01 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'RS690 PCI to PCI Bridge (Internal gfx)' class = bridge subclass = PCI-PCI pcib2@pci0:0:4:0: class=0x060400 card=0x30c2103c chip=0x79141002 rev=0x00 hdr=0x01 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' class = bridge subclass = PCI-PCI pcib3@pci0:0:5:0: class=0x060400 card=0x30c2103c chip=0x79151002 rev=0x00 hdr=0x01 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' class = bridge subclass = PCI-PCI pcib4@pci0:0:6:0: class=0x060400 card=0x30c2103c chip=0x79161002 rev=0x00 hdr=0x01 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'RS690 PCI to PCI Bridge (PCI Express Port 2)' class = bridge subclass = PCI-PCI atapci0@pci0:0:18:0: class=0x01018f card=0x43801002 chip=0x43801002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'IXP SB600 Serial ATA Controller' class = mass storage subclass = ATA ohci0@pci0:0:19:0: class=0x0c0310 card=0x30c2103c chip=0x43871002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'IXP SB600 USB Controller (OHCI0)' class = serial bus subclass = USB ohci1@pci0:0:19:1: class=0x0c0310 card=0x30c2103c chip=0x43881002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'IXP SB600 USB Controller (OHCI1)' class = serial bus subclass = USB ohci2@pci0:0:19:2: class=0x0c0310 card=0x30c2103c chip=0x43891002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'IXP SB600 USB Controller (OHCI2)' class = serial bus subclass = USB ohci3@pci0:0:19:3: class=0x0c0310 card=0x30c2103c chip=0x438a1002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'IXP SB600 USB Controller (OHCI3)' class = serial bus subclass = USB ohci4@pci0:0:19:4: class=0x0c0310 card=0x30c2103c chip=0x438b1002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'IXP SB600 USB Controller (OHCI4)' class = serial bus subclass = USB ehci0@pci0:0:19:5: class=0x0c0320 card=0x30c2103c chip=0x43861002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'IXP SB600 USB Controller (EHCI)' class = serial bus subclass = USB none0@pci0:0:20:0: class=0x0c0500 card=0x30c2103c chip=0x43851002 rev=0x14 hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'ATI SMBus (ATI RD600/RS600)' class = serial bus subclass = SMBus atapci1@pci0:0:20:1: class=0x010182 card=0x30c2103c chip=0x438c1002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'ATI RD600/RS600 IDE Controller (RD600/RS600)' class = mass storage subclass = ATA none1@pci0:0:20:2: class=0x040300 card=0x30c2103c chip=0x43831002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'IXP SB600 High Definition Audio Controller' class = multimedia subclass = HDA isab0@pci0:0:20:3: class=0x060100 card=0x30c2103c chip=0x438d1002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'IXP SB600 PCI to LPC Bridge' class = bridge subclass = PCI-ISA pcib5@pci0:0:20:4: class=0x060401 card=0x00000000 chip=0x43841002 rev=0x00 hdr=0x01 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'IXP SB600 PCI to PCI Bridge' class = bridge subclass = PCI-PCI hostb1@pci0:0:24:0: class=0x060000 card=0x00000000 chip=0x11001022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'Athlon64/Opteron/Sempron (K8 Family) HyperTransport Technology Configuration' class = bridge subclass = HOST-PCI hostb2@pci0:0:24:1: class=0x060000 card=0x00000000 chip=0x11011022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'Athlon64/Opteron/Sempron (K8 Family) Address Map' class = bridge subclass = HOST-PCI hostb3@pci0:0:24:2: class=0x060000 card=0x00000000 chip=0x11021022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'Athlon64/Opteron/Sempron (K8 Family) DRAM Controller' class = bridge subclass = HOST-PCI hostb4@pci0:0:24:3: class=0x060000 card=0x00000000 chip=0x11031022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'Athlon64/Opteron/Sempron (K8 Family) Miscellaneous Control' class = bridge subclass = HOST-PCI vgapci0@pci0:1:5:0: class=0x030000 card=0x30c2103c chip=0x791f1002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc. / Advanced Micro Devices, Inc.' device = 'ATI Mobility Radeon x1100 (RS690M)' class = display subclass = VGA bge0@pci0:16:0:0: class=0x020000 card=0x30c2103c chip=0x171314e4 rev=0x02 hdr=0x00 vendor = 'Broadcom Corporation' device = 'Broadcom NetLink (TM) Fast Ethernet (BCM5906m)' class = network subclass = ethernet cbb0@pci0:2:4:0: class=0x060700 card=0x30c2103c chip=0x04761180 rev=0xb6 hdr=0x02 vendor = 'Ricoh Co Ltd' device = 'Ricoh R/RL/5C476(II) (unknown)' class = bridge subclass = PCI-CardBus and dmesg: # dmesg Copyright (c) 1992-2010 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.0-CURRENT #0 r209229: Wed Jun 16 15:04:58 BST 2010 mexas@mech-aslap239.men.bris.ac.uk:/usr/obj/usr/src/sys/BUZI amd64 WARNING: WITNESS option enabled, expect reduced performance. Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Turion(tm) 64 X2 Mobile Technology TL-60 (1995.01-MHz K8-class CPU) Origin = "AuthenticAMD" Id = 0x60f82 Family = f Model = 68 Stepping = 2 Features=0x178bfbff Features2=0x2001 AMD Features=0xea500800 AMD Features2=0x11f real memory = 3221225472 (3072 MB) avail memory = 2964361216 (2827 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs FreeBSD/SMP: 1 package(s) x 2 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ACPI Error: 32/64X address mismatch in Pm2ControlBlock: 0x 8800/0x 0 8100, using 32 (20100428/tbfadt-526) ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) unknown: I/O range not supported acpi0: reservation of 0, 8000000 (3) failed acpi0: reservation of 100000, fff00000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0 cpu0: on acpi0 cpu1: on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 vgapci0: port 0x4000-0x40ff mem 0xc0000000-0xc7ffffff,0xd0200000-0xd020ffff,0xd0300000-0xd03fffff irq 19 at device 5.0 on pci1 pcib2: at device 4.0 on pci0 pci16: on pcib2 bge0: mem 0xd0000000-0xd000ffff irq 16 at device 0.0 on pci16 miibus0: on bge0 brgphy0: PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto bge0: Ethernet address: 00:1a:4b:89:4b:4e bge0: [ITHREAD] pcib3: at device 5.0 on pci0 pci32: on pcib3 pcib4: at device 6.0 on pci0 pci48: on pcib4 atapci0: port 0x9000-0x9007,0x9008-0x900b,0x9010-0x9017,0x5018-0x501b,0x5020-0x502f mem 0xd0409000-0xd04093ff irq 16 at device 18.0 on pci0 atapci0: [ITHREAD] atapci0: AHCI v1.10 controller with 4 3Gbps ports, PM not supported ata2: on atapci0 ata2: [ITHREAD] ohci0: mem 0xd0401000-0xd0401fff irq 23 at device 19.0 on pci0 ohci0: [ITHREAD] usbus0: on ohci0 ohci1: mem 0xd0402000-0xd0402fff irq 17 at device 19.1 on pci0 ohci1: [ITHREAD] usbus1: on ohci1 ohci2: mem 0xd0403000-0xd0403fff irq 17 at device 19.2 on pci0 ohci2: [ITHREAD] usbus2: on ohci2 ohci3: mem 0xd0404000-0xd0404fff irq 17 at device 19.3 on pci0 ohci3: [ITHREAD] usbus3: on ohci3 ohci4: mem 0xd0405000-0xd0405fff irq 17 at device 19.4 on pci0 ohci4: [ITHREAD] usbus4: on ohci4 ehci0: mem 0xd0406000-0xd04060ff irq 23 at device 19.5 on pci0 ehci0: [ITHREAD] ehci0: AMD SB600/700 quirk applied usbus5: EHCI version 1.0 usbus5: on ehci0 pci0: at device 20.0 (no driver attached) atapci1: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x5040-0x504f irq 16 at device 20.1 on pci0 ata0: on atapci1 ata0: [ITHREAD] pci0: at device 20.2 (no driver attached) isab0: at device 20.3 on pci0 isa0: on isab0 pcib5: at device 20.4 on pci0 pci2: on pcib5 cbb0: mem 0xd0100000-0xd0100fff irq 20 at device 4.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [FILTER] battery0: on acpi0 battery1: on acpi0 acpi_acad0: on acpi0 acpi_button0: on acpi0 acpi_lid0: on acpi0 acpi_tz0: on acpi0 atrtc0: port 0x70-0x71,0x72-0x73 irq 8 on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model IntelliMouse, device ID 3 orm0: at iomem 0xd0000-0xd0fff 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_throttle0: on cpu0 powernow0: on cpu0 acpi_throttle1: on cpu1 acpi_throttle1: failed to attach P_CNT device_attach: acpi_throttle1 attach returned 6 powernow1: on cpu1 > > > > > I tried to search on the net, including FBSD hardware release notes, > > and it seems this device is not supported. > > For wireless check bwi(4) and bwn(4) manual pages. no, these drivers don't detect the chip. And they probably shouldn't given that the man pages talk about BCM43xx series, while my chip seems to be BCM5906m. > > > Can anybody comment on/confirm this please? > > > > Any experience using this chip with NDIS? > > Works fine on i386, with few known problems with known workarounds. > amd64 is usually broken. ok, I see, not very likely then. many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 10:44:24 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94796106566C for ; Tue, 6 Jul 2010 10:44:24 +0000 (UTC) (envelope-from kuku@kukulies.org) Received: from werkwelt.de (post.werkwelt.de [91.194.85.74]) by mx1.freebsd.org (Postfix) with ESMTP id 09E378FC08 for ; Tue, 6 Jul 2010 10:44:23 +0000 (UTC) Received: from [134.61.4.247] (account kuku@kukulies.org [134.61.4.247] verified) by werkwelt.de (CommuniGate Pro SMTP 5.0.13) with ESMTPSA id 6977105 for freebsd-questions@freebsd.org; Tue, 06 Jul 2010 12:43:49 +0200 Message-ID: <4C3308D2.6000704@kukulies.org> Date: Tue, 06 Jul 2010 12:43:30 +0200 From: Christoph Kukulies User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4B434D52.3030301@kukulies.org> <20100106023007.b3a19517.freebsd@edvax.de> <4C31E793.3040000@kukulies.org> <20100705213953.b56c3e01.freebsd@edvax.de> In-Reply-To: <20100705213953.b56c3e01.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: copying a disk with ignoring errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 10:44:24 -0000 Am 05.07.2010 21:39, schrieb Polytropon: > On Mon, 05 Jul 2010 16:09:23 +0200, Christoph Kukulies wrote: > > >> I tried PHKs' recoverdisk with recoverdisk -b 1024000 /dev/ad2 ad2.dmp >> >> and it went off quite promising just few dma read timeouts and when I >> was at 7% of recovery >> it suddenly says: >> ad2: FAILURE - device detached. >> 1558528000 1024000 failed (device not configured) >> # >> > Not good. Can you obtain an 1:1 copy of the disk using ddrescue? > And it's often easier to operate partition-wise, if there are > functionally separated partitions on the disk; let's assume > the /home directory was mounted from slice 1 partition f, then > try: > > # ddrescue -d -r 3 -n /dev/ad2s1f home.ddr logfile > > If you are lucky to get a copy of this partition, you can try > to apply analytic and repairing tools to that partition copy. > > > > >> Hmm. How can I avoid that the device gets detached? >> > I do not think you can do anything against it. A device detachment > means a MASSIVE failure. It *can* be a problem of the controller, > but mostly it is a problem of the disk itself. There can be a way > to get around it - by replacing the disk's PCB with an identical > one. But it's not for sure that this will work, e. g. if the disk's > drive components have massive defects. > > A device detachment at least doesn't look like an "easy" I/O problem > within the drive's components (the platters, heads, the motors). > > The error must be that massive that the disk itself says goodbye > to the system and disappears so that no control commands will reach > it. > > You can try "atacontrol reinit" to force the disk back on-line, > but it may refuse to do so. See "man atacontrol" for other options. > You can also use the "smartctl" program (from port "smartmontools") > to check the drive's error memory to see what has caused the detachment; > maybe there's some information there. > > It's like /dev/cpu: device disappeared. :-) > Thanks for the detailed alternatives and explanations. I managed in a second attempt by using the option recoverdisk -b 102400 -r workfile -w workfile /dev/ad2 ad2.dmp (maybe I was using a different large number for the -b option, maybe I even tried it once with -b 0). Anyway the second time it held until I was down to a few thousand block being unrecoverable. In the end I was able to recover the data. Thanks. Christoph From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 11:40:13 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 37C4D106566C for ; Tue, 6 Jul 2010 11:40:13 +0000 (UTC) (envelope-from bernt@bah.homeip.net) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) by mx1.freebsd.org (Postfix) with ESMTP id 99D1B8FC3A for ; Tue, 6 Jul 2010 11:40:11 +0000 (UTC) Received: from kw.homeip.net (c80-217-70-227.bredband.comhem.se [80.217.70.227]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id o66Be6O6048401; Tue, 6 Jul 2010 13:40:08 +0200 (CEST) (envelope-from bernt@bah.homeip.net) Message-ID: <4C331614.8040908@bah.homeip.net> Date: Tue, 06 Jul 2010 13:40:04 +0200 From: Bernt Hansson User-Agent: slrn/1.0.8 (FreeBSD) MIME-Version: 1.0 To: Caleb Stein References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: Is it safe to modify a port's makefile X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 11:40:13 -0000 Caleb Stein said the following on 2010-07-06 04:43: > Here is my question again: The Wine port will only build on > i386. I have amd64. I want to install Wine. Is it safe to modify > Makefile to allow it to build on amd64? You won't be able to build it, but it's safe. From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 11:44:15 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7EB8A106566B for ; Tue, 6 Jul 2010 11:44:15 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 0820B8FC12 for ; Tue, 6 Jul 2010 11:44:14 +0000 (UTC) Received: by bwz12 with SMTP id 12so4133359bwz.13 for ; Tue, 06 Jul 2010 04:44:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:received :reply-to:in-reply-to:references:date:message-id:subject:from:to:cc :content-type; bh=BCwGZn7POIUTp/C8ztQ1MALwknSOHFR7rq8yphKTEo4=; b=sslwhvCUorfVIJmCb7GanFlHqZpH031yeeejSuf7y1gNj1TQ/Eb/RM7DUX08jeAPqX yIhH/uSqJbRmY6FIpXTxyviRI4J/+CrPROC/I2ybUrkmKfkQgfA/URbSs5w+fwnMdRV2 1mNJxM1yZAJsdoQ1dE2ZbC1bBKtbFniCf4L/E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; b=hy3dvkiSMC0a6xW9px/+vlFfCNEaVVBZohbTUWRKUP7TKKPb4kHvX3Ro4yN50quwjf a1QPWEYn+JQ0wFdtQVwn9v68jRAMWev2Nzgzfp+VVmVWyHaBcmJ4QWRAzYVQexsPzZIy Gxw1ZAaTenbBR6MqPguyC/K8sK49Qn6tvJfXY= MIME-Version: 1.0 Received: by 10.204.115.132 with SMTP id i4mr3478273bkq.129.1278416646909; Tue, 06 Jul 2010 04:44:06 -0700 (PDT) Received: by 10.204.115.68 with HTTP; Tue, 6 Jul 2010 04:44:06 -0700 (PDT) Received: by 10.204.115.68 with HTTP; Tue, 6 Jul 2010 04:44:06 -0700 (PDT) In-Reply-To: References: Date: Tue, 6 Jul 2010 12:44:06 +0100 Message-ID: From: Chris Rees To: Mike Barnard Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: /usr/local empty after upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: utisoft@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 11:44:15 -0000 You sure you didn't have /usr on a different partition and forget to tell sysinstall? -------- Sorry for top-posting, Android won't let me quote. There's a bug report on it! On 6 Jul 2010 10:38, "Mike Barnard" wrote: Hi All, I have never encountered anything like this before and I am little puzzled. After upgrading my FreeBSD 8.0 RELEASE, I ended up with FreeBSD 8.1-PRERELEASE and an empty /usr/local directory. It wiped out my /usr/local directory! I did nothing out of the usual on this upgrade. Any one experienced the same thing? How do I safely get /usr/local populated again? -- Mike Of course, you might discount this possibility, but remember that one in a million chances happen 99% of the time. ------------------------------------------------------------ _______________________________________________ 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 Jul 6 12:42:07 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 41A2A106566B for ; Tue, 6 Jul 2010 12:42:07 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id EDE978FC12 for ; Tue, 6 Jul 2010 12:42:06 +0000 (UTC) Received: by gwb1 with SMTP id 1so2647028gwb.13 for ; Tue, 06 Jul 2010 05:41:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=6kRa8RZm+AAegZSrYewn0vy3hG2Z9ndBGd7Z56OSPoM=; b=JYqbTH3JJNoYsq46tbY+y770rM8XUTgXX58zmdGBwk4BaAszjJf3uqvQ2fGINfQcaM +e3DhVE2Hgtncs9wk9vn13rBo/SWG5yiiPncqidKHRTmgph75Hq1WTr8Bri6Ulu/wlKD unH4Lh1f+geQwQO8/f1ygcwbqOzTbp2MCvTiw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=lC4PbCKNpldds0IeoHQqC8cP/ZPhiUIfSPxZ4pt5gsfaG56Lr3D5ogC85rk8wCIH85 HigrQ8Q7Bj90oxTnO8G05Vgj9k580QQYvEHxycGphSg1NnXbTOTx72LqoL6BnnCRreOE hwcI+HHLuENZuBFs9ia+4n2nhG0aCYcRLi5Wk= MIME-Version: 1.0 Received: by 10.239.182.9 with SMTP id o9mr325248hbg.57.1278405775439; Tue, 06 Jul 2010 01:42:55 -0700 (PDT) Received: by 10.239.161.199 with HTTP; Tue, 6 Jul 2010 01:42:55 -0700 (PDT) In-Reply-To: <4C3108B6.8070606@tundraware.com> References: <4C3108B6.8070606@tundraware.com> Date: Tue, 6 Jul 2010 09:42:55 +0100 Message-ID: From: krad To: Tim Daneliuk Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Liste FreeBSD Subject: Re: Global backup solution for FBSD & Ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 12:42:07 -0000 On 4 July 2010 23:18, Tim Daneliuk wrote: > On 07/04/10 16:43, bsd wrote: > >> Hello, >> >> I am trying to build a global backup solution for couple of strategic >> servers (7) based on two operating systems : >> >> - FreeBSD (6 - 7 // soon 7 - 8) >> - Ubuntu 8.04 LTS >> >> These servers are hosting some strategic components mainly related to DN= S >> infrastructure and databases. >> >> >> For the moment I am backing up these server using network based backup >> solution: >> >> - A "duplicity" based solution which backs up key directories in my >> infrastructure on a remote FTP server provided by my hosting company. >> - A "dump" of some key components which I am doing on regular basis for >> FreeBSD servers. >> - Duplicity is also used for the Ubuntu servers. >> - Databases are replicated "live" on a remote server using "slony" for t= he >> most strategic ones (Postgres DB) and using mysql dump export for MySQL. >> >> >> =95 I am not a 100% sure these solutions will allow me to restart rapidl= y >> from a crash, specially for Ubuntu servers. >> =95 I would like to know which solution(s) you have deployed at what cos= t >> for what results ? >> >> I am actually considering couple of different solutions >> >> - SAIT solution and backula. >> - Disk based solution (maybe also with backula). >> =85 >> >> >> I have couple of servers that will reach their end of life that could be >> recycled as backup solution at a very convenient price=85 >> >> >> > > I wrote a simple shell-based solution for this problem some time ago. It > (and FreeBSD > instructions) can be found: > > http://www.tundraware.com/Software/tbku/ > > > I am able to recover a production server (DNS, dhcp, http, sendmail, > etc...) in under > 30 minutes using this technique. > > _______________________________________________ > 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" > we use an rsync based solution at work. All the files are basically rsyncd onto a big opensolaris filer backed with zfs. We then snapshot each hosts file system after the completed backup. It then gives us an incremental forever backup so is generally quite fast to do. Restores are also fairly fast depending on the size of the data set. For a full restore I boot into the new box on a liveusb os, partition/slice, newfs, mount and push the rsync back. All fairly easy and quick. With regard to database backups, we run all our mysql and oracle dbs on zfs= . This allows us to put a global write lock on the db and flush everything to disk. We then snapshot the db zfs fs and remove the write lock. Alternatively if its a mysql slave, we just stop the slave, flush and snap. This means we can take hot backups of all our dbs with minimal impact. From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 12:56:11 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DAE54106564A for ; Tue, 6 Jul 2010 12:56:11 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 9FB8E8FC13 for ; Tue, 6 Jul 2010 12:56:11 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id o66CpDqA055023; Tue, 6 Jul 2010 08:51:13 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id o66CpDIx055022; Tue, 6 Jul 2010 08:51:13 -0400 (EDT) (envelope-from jerrymc) Date: Tue, 6 Jul 2010 08:51:13 -0400 From: Jerry McAllister To: Luca Renaud Message-ID: <20100706125113.GD54854@gizmo.acns.msu.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: Get access to csh (default freebsd shell) for root to solve login problem. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 12:56:11 -0000 On Sun, Jul 04, 2010 at 05:02:59PM +0100, Luca Renaud wrote: > The root shell is now bash,but I was unaware that bash was not > self-contained(it depends at least of libintl.so.8), > and doing some upgrades with ports I erased libintl.so.8,now I cannot access > the root account because bash is > not operational and I need root access to install again libintl.so.8,or any > other way to solve the problem. > So,how can I get access to csh for root without having access to a root > shell(the previously defined bash does > not work,and I need root access to change the shell for the root acount). Just type /bin/csh on the command line or put /bin/csh in /etc/passwd in the shell field or put #!/bin/csh as the first line in a script. ////jerry > > > Thanks. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 14:29:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5AF9C106566B for ; Tue, 6 Jul 2010 14:29:32 +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 EAA468FC1A for ; Tue, 6 Jul 2010 14:29:31 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o66ETOfL030951; Tue, 6 Jul 2010 08:29:24 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o66ETOlD030948; Tue, 6 Jul 2010 08:29:24 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 6 Jul 2010 08:29:24 -0600 (MDT) From: Warren Block To: Anton Shterenlikht In-Reply-To: <20100706094722.GB10056@mech-cluster241.men.bris.ac.uk> Message-ID: References: <20100705115455.GA95036@mech-cluster241.men.bris.ac.uk> <20100706094722.GB10056@mech-cluster241.men.bris.ac.uk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-902635197-1151890922-1278424849=:30781" Content-ID: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.5 (wonkity.com [127.0.0.1]); Tue, 06 Jul 2010 08:29:24 -0600 (MDT) Cc: Paul B Mahol , freebsd-questions@freebsd.org Subject: Re: wireless on HP compaq 6715s - Broadcom BCM5906m - not supported? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 14:29: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. ---902635197-1151890922-1278424849=:30781 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8BIT Content-ID: On Tue, 6 Jul 2010, Anton Shterenlikht wrote: > On Mon, Jul 05, 2010 at 06:15:06PM +0000, Paul B Mahol wrote: >> On Mon, Jul 5, 2010 at 11:54 AM, Anton Shterenlikht wrote: >>> I've HP Compaq 6715s laptop. >>> Looking at "pciconf -lv" output, the >>> wireless (and ethernet) device is: >>> >>> >>> bge0@pci0:16:0:0:       class=0x020000 card=0x30c2103c chip=0x171314e4 rev=0x02 hdr=0x00 >>>    vendor     = 'Broadcom Corporation' >>>    device     = 'Broadcom NetLink (TM) Fast Ethernet (BCM5906m)' >>>    class      = network >>>    subclass   = ethernet >> >> I see only ethernet, which is supported fine. > > Paul, thank you for your help. > > HP manuals describe it as "integrated wireless LAN" device. > > well.. this also puzzled me. The thing is, this laptop has > a wireless button. When the laptop was running MS Windows XP, > the button could be used to enable/disable wireless. There > is a small LED on the button which lights up when wireless > is enabled. After I installed FreeBSD 9.0-current, the button > is always off. I tried to press it during boot, while in BIOS, > and after boot - it is always off, at least the LED is always > off. > > So I'm thinking perhaps wireless is off on a very low level, > and hence is not picked up by kernel? Disabled in the BIOS. Or maybe the button is an actual switch and physically disconnects the device. Without the LED working, it would be hard to tell if it's doing anything. The BCM 5906 is a wired Ethernet, attached as device bge0. The pciconf shows no other network device at all. ---902635197-1151890922-1278424849=:30781-- From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 14:38:13 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B3A22106566B for ; Tue, 6 Jul 2010 14:38:13 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id 906868FC08 for ; Tue, 6 Jul 2010 14:38:13 +0000 (UTC) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1OW9Hj-0004he-Cv; Tue, 06 Jul 2010 10:38:12 -0400 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id 4D17F4230A8F; Tue, 6 Jul 2010 10:38:07 -0400 (EDT) Message-ID: <4C333FC8.20802@FreeBSD.org> Date: Tue, 06 Jul 2010 10:38:00 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Mike Barnard References: In-Reply-To: X-Enigmail-Version: 0.96.0 OpenPGP: id=1C940290 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: 0.1 (/) Cc: FreeBSD Questions Subject: Re: /usr/local empty after upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 14:38:13 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mike Barnard wrote: > Hi All, > > I have never encountered anything like this before and I am little puzzled. > After upgrading my FreeBSD 8.0 RELEASE, I ended up with FreeBSD > 8.1-PRERELEASE and an empty /usr/local directory. It wiped out my /usr/local > directory! I did nothing out of the usual on this upgrade. Any one > experienced the same thing? How do I safely get /usr/local populated again? > > > Hi Mike, It's possible that your disk device names changed during the upgrade and /etc/fstab can no longer mount the previous device on /usr/local. Do you see any error messages during the boot process? Please reply to the list with the output from the following commands: ls -l /dev/da* # Assuming SCSI disks ls -l /dev/ad* # Assuming ATA disks cat /etc/fstab That information may help figure out what happened to the devices during the upgrade. Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFMMz/I0sRouByUApARAtS0AJ9Ny8rx0AcIen2o5fiJAQTn04ugKQCglxei L7dLVcqJbKqB/B9pc3v1fWM= =AGrW -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 15:11:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DEC1106564A for ; Tue, 6 Jul 2010 15:11:14 +0000 (UTC) (envelope-from dak.col@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4ACFF8FC1A for ; Tue, 6 Jul 2010 15:11:14 +0000 (UTC) Received: by gyd8 with SMTP id 8so2178841gyd.13 for ; Tue, 06 Jul 2010 08:11:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=Qi23EuipK8xbG8TvZf91U9k5QF7Y///bo/siVk3oh0k=; b=eF23mTHwk8Rm9hjM4mbpJwu57mRvgGfvnBQ4fXFvy4UJb2OuXx2EzRn+VnU18SIeHC 42NSYWy/qInQAFqXkrbWGsYKgDlVEivEG6kXRXWtir/rnf43lnGgW835GKy/rMRCAyW1 aEFKCPMmoITJKcPaPqmyEqHqQ29SwTvX/jJBs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=EdlmtIbCRKpuQWADsJxRSAKJtW3K1rvVHBKfd8L1SKVIUngKx7GU6l6HaxALl5VImA dsoBvnojF123xqdiIMClUOqoEg7iu0r2dnJnweIxVlGT/I1FK50vAZEDkeGYtekIkGRp R410yVrNjNxZqNq7U2VwvUQgGVE651c4Yyurg= MIME-Version: 1.0 Received: by 10.90.118.19 with SMTP id q19mr4501017agc.88.1278429066137; Tue, 06 Jul 2010 08:11:06 -0700 (PDT) Received: by 10.90.28.10 with HTTP; Tue, 6 Jul 2010 08:11:05 -0700 (PDT) Date: Tue, 6 Jul 2010 10:11:05 -0500 Message-ID: From: Diego Arias To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Freebsd 8 Release /usr Die After host VMWARE Crash X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 15:11:14 -0000 Hi: I have a VM Running FreeBSD 8 as a small router/proxy/fetchmail/openvpn. The host system is a VMWARE ESX 4 Update 2 running on 2 HP DL460G1 Blade Systems. Unfortunately the Blade Enclosure (a C7000 From HP) start having malfunction so i have to power it off with blades still on. After the power loss the VMWARE came up but FreeBSD ask por FSCK on single user mode, so i run it fsck -y on all partitions. After FSCK freebsd wont came up with error of getty not found. i restart it in single use mode and mount /usr but no luck, all the data was gone and only got a lost+found directory with crazy files on it. I have restored the machine from a backup with minimum data loss only the fetchmail stuff but i want that some help me to know what happen if there is a bug or is there any way to recover the data. the other machines (Mostly Windows 2003/2008/2008R2) came up without problems. All the data is stored on an EMC Clarion SAN. Partitions: %cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/ad0s1b none swap sw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1e /tmp ufs rw 2 2 /dev/ad0s1f /usr ufs rw 2 2 /dev/ad0s1d /var ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 Thanks, i will provide anything info you need. Diego Arias -- mmm, interesante..... From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 15:15:13 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 903FF106564A for ; Tue, 6 Jul 2010 15:15:13 +0000 (UTC) (envelope-from mike.barnardq@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1EC828FC08 for ; Tue, 6 Jul 2010 15:15:12 +0000 (UTC) Received: by fxm13 with SMTP id 13so5294901fxm.13 for ; Tue, 06 Jul 2010 08:15:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=/hxV3kVnh8BLBpteCpZXrBfVrKuB7PjcHuziVnyM9xg=; b=Y3Q774r2g/3K8uBGzb8/d71+T9qUNF6GNeZGrHdTgImGAW7jUklBT8T36IDp3BfJtP x7sFT2Nep1g/2Zits8hAVCSrQvCRpT6arvqulERO2wVk2WYvcpKSqUASSnaEzojEgk4v NSvjNBQvkCJ9M92JLaC+n4qTWgJfhyXrgrNzI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=b1utgwFnPYP2e5vs01tWwNwZkgPgtmXhbGbQi/veiJ4a+kSrIktg6nw7fFJSIOLaoK BpsDz/ZxodN2+A0og/5+qdzzn9yG03sok7w3e08EFAuvQudkyeUJOTty63ivFvhsX6nx lSjrYY/kzyASQbH6b931pZIUlUiVJC0I3KSzM= MIME-Version: 1.0 Received: by 10.86.84.2 with SMTP id h2mr3722232fgb.18.1278425534126; Tue, 06 Jul 2010 07:12:14 -0700 (PDT) Received: by 10.223.117.206 with HTTP; Tue, 6 Jul 2010 07:12:14 -0700 (PDT) In-Reply-To: References: Date: Tue, 6 Jul 2010 17:12:14 +0300 Message-ID: From: Mike Barnard To: utisoft@gmail.com Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: /usr/local empty after upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 15:15:13 -0000 On Tue, Jul 6, 2010 at 2:44 PM, Chris Rees wrote: > You sure you didn't have /usr on a different partition and forget to tell > sysinstall? > > 100% sure... I have tried to rebuild world but I still end up with an empty /usr/local.. Prior to upgrading from 8.0-RELEASE, the directory has the usual files and directories, but after the upgrade, its empty. Good thing is that I had not installed any ports. I'd like to avoid a reinstall, which is why I was wondering if there is a way I can get this directory back with its files and directories. > -------- > > Sorry for top-posting, Android won't let me quote. There's a bug report on > it! > > On 6 Jul 2010 10:38, "Mike Barnard" wrote: > > Hi All, > > I have never encountered anything like this before and I am little puzzled. > After upgrading my FreeBSD 8.0 RELEASE, I ended up with FreeBSD > 8.1-PRERELEASE and an empty /usr/local directory. It wiped out my > /usr/local > directory! I did nothing out of the usual on this upgrade. Any one > experienced the same thing? How do I safely get /usr/local populated again? > > > > -- > Mike > > Of course, you might discount this possibility, but remember that one in > a million chances happen 99% of the time. > ------------------------------------------------------------ > _______________________________________________ > 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" > > -- Mike Of course, you might discount this possibility, but remember that one in a million chances happen 99% of the time. ------------------------------------------------------------ From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 15:26:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18D74106566B for ; Tue, 6 Jul 2010 15:26:18 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.49]) by mx1.freebsd.org (Postfix) with ESMTP id E47CA8FC1F for ; Tue, 6 Jul 2010 15:26:17 +0000 (UTC) Received: (qmail 12754 invoked from network); 6 Jul 2010 15:26:17 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 6 Jul 2010 15:26:17 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 34E3B5084D; Tue, 6 Jul 2010 11:26:15 -0400 (EDT) From: Lowell Gilbert To: Mike Barnard References: Date: Tue, 06 Jul 2010 11:26:15 -0400 In-Reply-To: (Mike Barnard's message of "Tue, 6 Jul 2010 17:12:14 +0300") Message-ID: <44wrt88wdk.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Questions Subject: Re: /usr/local empty after upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 15:26:18 -0000 Mike Barnard writes: > 100% sure... I have tried to rebuild world but I still end up with an empty > /usr/local.. Prior to upgrading from 8.0-RELEASE, the directory has the > usual files and directories, but after the upgrade, its empty. Good thing is > that I had not installed any ports. > > I'd like to avoid a reinstall, which is why I was wondering if there is a > way I can get this directory back with its files and directories. mtree -p /usr/local < /etc/mtree/BSD.local.dist (I thought buildworld did that for you, but apparently it doesn't. Probably because you can't put it somewhere else if you like.) From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 17:07:32 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B0C6106564A for ; Tue, 6 Jul 2010 17:07:32 +0000 (UTC) (envelope-from gpeel@thenetnow.com) Received: from constellation.thenetnow.com (constellation.thenetnow.com [207.112.4.14]) by mx1.freebsd.org (Postfix) with ESMTP id 234C58FC08 for ; Tue, 6 Jul 2010 17:07:31 +0000 (UTC) Received: from host-207-112-18-196.static.dsl.primus.ca ([207.112.18.196] helo=GRANTLAPTOP) by constellation.thenetnow.com with esmtpa (Exim 4.63 (FreeBSD)) (envelope-from ) id 1OWBc9-000IwW-F3 for freebsd-questions@freebsd.org; Tue, 06 Jul 2010 13:07:21 -0400 Message-ID: <93AA3A9E353B402C89F4D9DEC8EC1C3A@GRANTLAPTOP> From: "Grant Peel" To: Date: Tue, 6 Jul 2010 13:07:30 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Windows Mail 6.0.6002.18197 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18197 Subject: FreBSD 8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 17:07:32 -0000 Hi again all, I have just installed FreeBSD 8 on my NFS server. The older machines (FreeBSD 6.x) are able to connect to the NFS exports fine. I have also installed FreeBSD 8 to two more machines, 1 is a Dell 1850, and the other an R200. Both of these machines had FreeBSD 6.x on them and were able to connect to the share with no problem. The error I am getting is: RPCPROG_NFS: RPC: Program not registered I have pretty much memorized the handbook with regards to NFS at this point: On the server, (from the Handbook), all the following are in rc.conf: rpcbind_enable="YES" nfs_server_enable="YES" mountd_flags="-r" On the Clietn(s), the following line is present: nfs_client_enable="YES" I have tried: nfs_reserved_port_only="YES" and nfs_reserved_port_only="NO" which does not appear to make a difference. also, start nfsiod -n 4 on the client, does not seem to start (not showing in the process list anyways, and no console output whn I try to start it. FYI, I can ping, ssh etc etc etc through the same IPS as the nfs server/client use (192.168.0.x). If it makes any difference the Server is uing fxp ethernet, and one client is using em and the other bge. I know there's something simple I am missing, but damned if I can find it. I had the same issue trying to connect using the live filesystem a few weeks back, so it seems to be something with freebsd 8. (Configuration?). Any help appreciated, -Grant From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 19:18:00 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CDBA106564A for ; Tue, 6 Jul 2010 19:18:00 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id C2A798FC16 for ; Tue, 6 Jul 2010 19:17:59 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o66JHs2S022620 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 6 Jul 2010 20:17:55 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C338162.5070805@infracaninophile.co.uk> Date: Tue, 06 Jul 2010 20:17:54 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: sonjaya References: <555453.7555.qm@web111411.mail.gq1.yahoo.com> In-Reply-To: <555453.7555.qm@web111411.mail.gq1.yahoo.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=1.6 required=5.0 tests=BAYES_50,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.1 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: tuning FB 7.2 stable for lighhttpd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 19:18:00 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06/07/2010 09:11:04, sonjaya wrote: > I need triks to tune up FreeBSD 7.2 stable for lighhttpd+php and > mysql, i feel so slow, my enggine is IBM Xseries 3250M2 + 4 g + 250 G Start by reading tuning(7). Be aware that tuning your applications -- particularly mysql -- will almost certainly pay greater dividends than fiddling with the OS, although both are worthwhile. mysqltuner.pl is a pretty good source of hints for improving mysql performance, although it certainly isn't the last word on the subject. Think about your architecture -- strategic use of caching (eg. memcached) can make a big difference, as can use of a PHP accelerator like eAccelerator (which is really just a cache for the byte-compiled PHP code generated from your pages). Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkwzgWIACgkQ8Mjk52CukIworQCfXihrvg0WarLGw4R3jH9eyN8W cKwAn0W1JPblWNOwkgC+mmsz2Huh7+hA =FXyp -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 19:36:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4176106566C for ; Tue, 6 Jul 2010 19:36:14 +0000 (UTC) (envelope-from mike.barnardq@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 325538FC18 for ; Tue, 6 Jul 2010 19:36:13 +0000 (UTC) Received: by fxm13 with SMTP id 13so5560827fxm.13 for ; Tue, 06 Jul 2010 12:36:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=jy3ngloHzrTiQpcgWCDFfGfR5uTL8lY1IWsikNN3ZTE=; b=njDF4KOMFv997SIyDgN45GHYFQbMVeXq3qPcEnZE1DEDkHjvGpoeqCRYd8Ce6X2iP+ 8r+ykJ1KbOYGhIiS3RDG7cSoZhrRzka6E8XqxUnwpq0O90sXcw5YZ5FOiJSfMfbcqF+e ZeX9/4eg/v0jdbBQfObh0h+eKEUYxrF8FXUFg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=qt1hwbUQxZ82hoIWB5tz0J7PiPabAbV2S1AdNE4P3W/eLh7oTjT/huaqOBhN6ft8jX 3H0bl/l6XWeyVWwtw/Y7UcIYBneLPhMZmyLLALLPACcO57i0uDLxoCZf6P0XRlFdgWYE v70pvquYKKQLUn8IFYMhDoSqvHzaJTeyeI4GU= MIME-Version: 1.0 Received: by 10.223.106.205 with SMTP id y13mr4862629fao.61.1278444966775; Tue, 06 Jul 2010 12:36:06 -0700 (PDT) Received: by 10.223.117.206 with HTTP; Tue, 6 Jul 2010 12:36:06 -0700 (PDT) In-Reply-To: <4C333FC8.20802@FreeBSD.org> References: <4C333FC8.20802@FreeBSD.org> Date: Tue, 6 Jul 2010 22:36:06 +0300 Message-ID: From: Mike Barnard To: glarkin@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: /usr/local empty after upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 19:36:14 -0000 Hi Greg, Please see your request below > Hi Mike, > > It's possible that your disk device names changed during the upgrade and > /etc/fstab can no longer mount the previous device on /usr/local. Do > you see any error messages during the boot process? > > no, I do not see any error during the boot process. > Please reply to the list with the output from the following commands: > > ls -l /dev/da* # Assuming SCSI disks > crw-r----- 1 root operator 0, 94 Jul 6 16:50 /dev/da0 crw-r----- 1 root operator 0, 96 Jul 6 16:50 /dev/da0s1 crw-r----- 1 root operator 0, 97 Jul 6 19:50 /dev/da0s1a crw-r----- 1 root operator 0, 98 Jul 6 16:50 /dev/da0s1b crw-r----- 1 root operator 0, 99 Jul 6 19:50 /dev/da0s1d crw-r----- 1 root operator 0, 100 Jul 6 19:50 /dev/da0s1e crw-r----- 1 root operator 0, 101 Jul 6 16:50 /dev/da0s1f crw-r----- 1 root operator 0, 106 Jul 6 19:50 /dev/da0s1f.journal crw-r----- 1 root operator 0, 102 Jul 6 16:50 /dev/da0s1g crw-r----- 1 root operator 0, 107 Jul 6 19:50 /dev/da0s1g.journal > cat /etc/fstab > # Device Mountpoint FStype Options Dump Pass# /dev/da0s1b none swap sw 0 0 /dev/da0s1a / ufs rw 1 1 /dev/da0s1g.journal /resource ufs rw,async 2 2 /dev/da0s1e /tmp ufs rw 2 2 /dev/da0s1f.journal /usr ufs rw,async 2 2 /dev/da0s1d /var ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 > > That information may help figure out what happened to the devices during > the upgrade. > > unless I got the journaling wrong, the fstab and devices should work fine. Regards, -- Mike Of course, you might discount this possibility, but remember that one in a million chances happen 99% of the time. ------------------------------------------------------------ From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 19:39:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BBA6D1065672 for ; Tue, 6 Jul 2010 19:39:18 +0000 (UTC) (envelope-from mike.barnardq@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 489518FC14 for ; Tue, 6 Jul 2010 19:39:17 +0000 (UTC) Received: by fxm13 with SMTP id 13so5562824fxm.13 for ; Tue, 06 Jul 2010 12:39:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=BaUU54AmfnYbHwxiUbgZEj7Pt5ykDkRBvVhbqsHSCLE=; b=ebZbY7t/d6BcTvavdQyrlb+WHCQIPdJjPLGdSWXerdsA4BOVijBYjyHxGRb9fGQYIn o3fIaEd6H1gP5B9GOpf3B/88KSGhBYPKaII/Bpl4d1TNcO1rZZ+0fD1XJbBJF2SePrS1 siKOJFvS3DduD6UU/kVL5knUvkGAuz9J0Zm6g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=lwl9cq7+0FQefcA2dndtH6XvQxkm9lOkhzlSPH3Zz8u4/Kdoqi8qGaMzz/UcAT5OW5 mLkhfMwgWXUk6mivVpJdXIKxSPeEa6TczgszU5nMbslrhm5yLIYvfsuYSSWboRkPHzZO 4YT4wxJ1aN59Aa2+DZeR2IthsnXUfQFze4+hM= MIME-Version: 1.0 Received: by 10.86.52.2 with SMTP id z2mr4235729fgz.72.1278445151925; Tue, 06 Jul 2010 12:39:11 -0700 (PDT) Received: by 10.223.117.206 with HTTP; Tue, 6 Jul 2010 12:39:11 -0700 (PDT) In-Reply-To: <44wrt88wdk.fsf@be-well.ilk.org> References: <44wrt88wdk.fsf@be-well.ilk.org> Date: Tue, 6 Jul 2010 22:39:11 +0300 Message-ID: From: Mike Barnard To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: /usr/local empty after upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 19:39:18 -0000 On Tue, Jul 6, 2010 at 6:26 PM, Lowell Gilbert < freebsd-questions-local@be-well.ilk.org> wrote: > > Mike Barnard writes: > > > 100% sure... I have tried to rebuild world but I still end up with an > empty > > /usr/local.. Prior to upgrading from 8.0-RELEASE, the directory has the > > usual files and directories, but after the upgrade, its empty. Good thing > is > > that I had not installed any ports. > > > > I'd like to avoid a reinstall, which is why I was wondering if there is a > > way I can get this directory back with its files and directories. > > mtree -p /usr/local < /etc/mtree/BSD.local.dist > > This is the command I have been looking for. I have dealt with a messed up /var but not a vanished local directory > (I thought buildworld did that for you, but apparently it doesn't. > Probably because you can't put it somewhere else if you like.) > I thought so too. Either the journals are not done right or.... -- Mike Of course, you might discount this possibility, but remember that one in a million chances happen 99% of the time. ------------------------------------------------------------ From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 19:45:05 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B498E106566C for ; Tue, 6 Jul 2010 19:45:05 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail3.sea5.speakeasy.net (mail3.sea5.speakeasy.net [69.17.117.42]) by mx1.freebsd.org (Postfix) with ESMTP id 8C8C68FC13 for ; Tue, 6 Jul 2010 19:45:05 +0000 (UTC) Received: (qmail 27793 invoked from network); 6 Jul 2010 19:45:04 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail3.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 6 Jul 2010 19:45:04 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id C30375084D; Tue, 6 Jul 2010 15:45:01 -0400 (EDT) From: Lowell Gilbert To: Mike Barnard References: <44wrt88wdk.fsf@be-well.ilk.org> Date: Tue, 06 Jul 2010 15:45:01 -0400 In-Reply-To: (Mike Barnard's message of "Tue, 6 Jul 2010 22:39:11 +0300") Message-ID: <44sk3w8kea.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Questions Subject: Re: /usr/local empty after upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 19:45:05 -0000 Mike Barnard writes: > On Tue, Jul 6, 2010 at 6:26 PM, Lowell Gilbert < > freebsd-questions-local@be-well.ilk.org> wrote: >> (I thought buildworld did that for you, but apparently it doesn't. >> Probably because you can't put it somewhere else if you like.) >> > > I thought so too. Either the journals are not done right or.... I meant to write "can" instead of "can't" in that last sentence. Sorry for the confusion... From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 19:58:16 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1C66106566B for ; Tue, 6 Jul 2010 19:58:16 +0000 (UTC) (envelope-from mike.barnardq@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7DAC98FC12 for ; Tue, 6 Jul 2010 19:58:16 +0000 (UTC) Received: by mail-fx0-f54.google.com with SMTP id 13so5574544fxm.13 for ; Tue, 06 Jul 2010 12:58:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=kzoRpOji81+seoHNXtWWrh4/pP6RGKgocL4bxrlti7w=; b=dsI88Jox9PC/emgflctvg9mczURUST9FqprrvZlAhpVeRFykZWGfzsGtPyJmb+PLpy bjdaYdlNjewqTucetxcj6oANpTt+1WgdptdJRMxlu+AIxDm2zR9gZH9pP5hB39XNCa77 X3FYBPPVjAy4h7RoiYMghfJLUd+JRS4lyaNcI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=gvaQMFd7V3SGydZV4qm1GOhzE1xAKXnV1WD78hrsuCuq6ifGpZacci0JWctxKEaZlf I+JS34AFSaJt2z28pbVK0pW8lNsZRBHzi4nmXJ21zOCsuv23VMHik8KvmcKpWY18Kkp7 qycyBc0zkEc45DEn6LdqYQx8OJ+tRc0flDZYk= MIME-Version: 1.0 Received: by 10.223.105.197 with SMTP id u5mr4882418fao.100.1278446296130; Tue, 06 Jul 2010 12:58:16 -0700 (PDT) Received: by 10.223.117.206 with HTTP; Tue, 6 Jul 2010 12:58:16 -0700 (PDT) In-Reply-To: References: <44wrt88wdk.fsf@be-well.ilk.org> Date: Tue, 6 Jul 2010 22:58:16 +0300 Message-ID: From: Mike Barnard To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: /usr/local empty after upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 19:58:17 -0000 > mtree -p /usr/local < /etc/mtree/BSD.local.dist >> >> > This is the command I have been looking for.... > hmmm... this give me no joy... mtree complains about the paths all missing, but does not create them. I can create files and directories in /usr/local manually. ## Creating a file in /usr/local $touch test $ls /usr/local/ test $df -h Filesystem Size Used Avail Capacity Mounted on /dev/da0s1a 1.9G 480M 1.3G 26% / devfs 1.0K 1.0K 0B 100% /dev /dev/da0s1g.journal 67G 4.0K 62G 0% /resource /dev/da0s1e 496M 12K 456M 0% /tmp /dev/da0s1f.journal 52G 2.9G 45G 6% /usr /dev/da0s1d 4.8G 99M 4.4G 2% /var ## Creating a directory in /usr/local $mkdir test-dir $ls /usr/local test test-dir ## editing the "test" file... $md5 -s "/usr/local" > test $cat test MD5 ("/usr/local") = ecb11dda71a57ccdbf63675d24260fe6 -- Mike Of course, you might discount this possibility, but remember that one in a million chances happen 99% of the time. ------------------------------------------------------------ From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 20:06:57 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F2E5106566B for ; Tue, 6 Jul 2010 20:06:57 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail4.sea5.speakeasy.net (mail4.sea5.speakeasy.net [69.17.117.48]) by mx1.freebsd.org (Postfix) with ESMTP id 464298FC19 for ; Tue, 6 Jul 2010 20:06:57 +0000 (UTC) Received: (qmail 2197 invoked from network); 6 Jul 2010 20:06:56 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail4.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 6 Jul 2010 20:06:56 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id BCF505084D; Tue, 6 Jul 2010 16:06:55 -0400 (EDT) From: Lowell Gilbert To: Mike Barnard References: <44wrt88wdk.fsf@be-well.ilk.org> Date: Tue, 06 Jul 2010 16:06:55 -0400 In-Reply-To: (Mike Barnard's message of "Tue, 6 Jul 2010 22:58:16 +0300") Message-ID: <44k4p88jds.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Questions Subject: Re: /usr/local empty after upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 20:06:57 -0000 Mike Barnard writes: >> mtree -p /usr/local < /etc/mtree/BSD.local.dist >>> >>> >> This is the command I have been looking for.... >> > > hmmm... this give me no joy... mtree complains about the paths all missing, > but does not create them. I can create files and directories in /usr/local > manually. Looking at the manual for mtree(8), it looks like I missed the "-U" option. From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 20:09:03 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11BAD106566B for ; Tue, 6 Jul 2010 20:09:03 +0000 (UTC) (envelope-from mike.barnardq@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 95B768FC15 for ; Tue, 6 Jul 2010 20:09:02 +0000 (UTC) Received: by fxm13 with SMTP id 13so5581265fxm.13 for ; Tue, 06 Jul 2010 13:08:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=7ek4JXmrtUaQj2Fo4klg+hA4pJzayOpeVJ2ji/dMY9U=; b=F/nySW/YM2IVFvI2utg63r6TXMCZET2aeuN7tGKUSArZ4wP1gLjbeH4jtMFb7pf6jW Q+IoOWcft0s2mxs88yPAUiJK4TZuh2PZoVD4Vwl3unhdQbA4BVmPfnUfN5gAIoYYJodc E8/eRYjeFFSF9A1xEeZHcpmZycQkTrZDRnG9A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=i7O3bD8D1pJPSz8Nad8yRrsWQUm/YH1sIR6iv5F1Qt5uFf4XTd8wYk4Ybslv/d8dOl 4+TSsymWDeV3mHwstJVjhD3Ez7Q3ikUQWYIrGkShKK/tVKBjUgWc3pPmNUR7C7qqZV1H EiI7ST0AsSKxblYkJL7aJdvQyA4tQZmMWFol0= MIME-Version: 1.0 Received: by 10.223.105.197 with SMTP id u5mr4893981fao.100.1278446939534; Tue, 06 Jul 2010 13:08:59 -0700 (PDT) Received: by 10.223.117.206 with HTTP; Tue, 6 Jul 2010 13:08:59 -0700 (PDT) In-Reply-To: References: <44wrt88wdk.fsf@be-well.ilk.org> Date: Tue, 6 Jul 2010 23:08:59 +0300 Message-ID: From: Mike Barnard To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: /usr/local empty after upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 20:09:03 -0000 On Tue, Jul 6, 2010 at 10:58 PM, Mike Barnard wrote: > > mtree -p /usr/local < /etc/mtree/BSD.local.dist >>> >>> >> This is the command I have been looking for.... >> > > hmmm... this give me no joy... mtree complains about the paths all missing, > but does not create them. I can create files and directories in /usr/local > manually. > > sorry... RTFM -eU flags sorted me out... but I only get the directories an no files created.... now may be rebuilding world will work :-/ -- Mike Of course, you might discount this possibility, but remember that one in a million chances happen 99% of the time. ------------------------------------------------------------ From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 20:10:15 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5A8F1065674 for ; Tue, 6 Jul 2010 20:10:15 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 7E1C18FC12 for ; Tue, 6 Jul 2010 20:10:15 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o66KAEOs059983 for ; Tue, 6 Jul 2010 13:10:14 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Tue, 6 Jul 2010 13:10:13 -0700 (PDT) Date: Tue, 6 Jul 2010 13:10:13 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20100706201011.GA94757@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 23 years of service to the Unix community. Cc: Subject: enclosed: bwerror. i'm lost. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 20:10:15 -0000 people, at the bottom is the last several lines of an upgrade that has been failing for some time. i'm running 7.3, #1 on an older i386 and did a cvsup to update 7_3. further, i completely removed old stuff in /usr/obj before going over to /usr/src and typing ``# make buildworld'' this happened once several weeks ago, again last night, and again today. time to see if anyone else has seen this. tia, gary : ....... [[end of build]] as -o zfsboot.o zfsboot.s cc -Os -g -fno-guess-branch-probability -fomit-frame-pointer -fno-unit-at-a-time -mno-align-long-strings -mrtd -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -DBOOT2 -DFLAGS=0x80 -DSIOPRT=0x3f8 -DSIOFMT=0x3 -DSIOSPD=9600 -I/usr/src/sys/boot/i386/zfsboot/../../zfs -I/usr/src/sys/boot/i386/zfsboot/../../../cddl/boot/zfs -I/usr/src/sys/boot/i386/zfsboot/../btx/lib -I. -I/usr/src/sys/boot/i386/zfsboot/../boot2 -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings -Winline --param max-inline-insns-single=100 -ffreestanding -mpreferred-stack-boundary=2 -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -c /usr/src/sys/boot/i386/zfsboot/../boot2/sio.S ld -static -N --gc-sections -nostdlib -Ttext 0x2000 -o zfsboot.out /usr/obj/usr/src/sys/boot/i386/zfsboot/../btx/lib/crt0.o zfsboot.o sio.o /usr/obj/usr/src/tmp/usr/lib/libstand.a objcopy -S -O binary zfsboot.out zfsboot.bin btxld -v -E 0x2000 -f bin -b /usr/obj/usr/src/sys/boot/i386/zfsboot/../btx/btx/btx -l zfsboot.ldr -o zfsboot.ld -P 1 zfsboot.bin btxld: zfsboot.ldr: Invalid argument *** Error code 2 Stop in /usr/src/sys/boot/i386/zfsboot. *** Error code 1 Stop in /usr/src/sys/boot/i386. *** Error code 1 Stop in /usr/src/sys/boot. *** Error code 1 Stop in /usr/src/sys. *** Error code 1 -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org 99 44/100% Guaranteed Novel From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 20:21:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 88A57106566B for ; Tue, 6 Jul 2010 20:21:54 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.39]) by mx1.freebsd.org (Postfix) with ESMTP id 5FD598FC0C for ; Tue, 6 Jul 2010 20:21:54 +0000 (UTC) Received: (qmail 12134 invoked from network); 6 Jul 2010 20:21:53 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 6 Jul 2010 20:21:53 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id 7255F5084D; Tue, 6 Jul 2010 16:21:51 -0400 (EDT) From: Lowell Gilbert To: Mike Barnard References: <44wrt88wdk.fsf@be-well.ilk.org> Date: Tue, 06 Jul 2010 16:21:51 -0400 In-Reply-To: (Mike Barnard's message of "Tue, 6 Jul 2010 23:08:59 +0300") Message-ID: <44fwzw8iow.fsf@be-well.ilk.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Questions Subject: Re: /usr/local empty after upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 20:21:54 -0000 Mike Barnard writes: > sorry... RTFM -eU flags sorted me out... but I only get the directories an > no files created.... now may be rebuilding world will work :-/ There are no files described in the mtree file. I can't think of any that should be there before you install ports... From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 20:35:45 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 168DA106566B for ; Tue, 6 Jul 2010 20:35:45 +0000 (UTC) (envelope-from mike.barnardq@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 946B78FC13 for ; Tue, 6 Jul 2010 20:35:44 +0000 (UTC) Received: by fxm13 with SMTP id 13so5594674fxm.13 for ; Tue, 06 Jul 2010 13:35:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=zoRUDudvCkL87glat9QgjBHI27kOUOUT5Cr/50JhnrI=; b=u96OYKP5f3gcbKZ6s0hSOL2LnVQX7J3O1XM7S8RJMHQlEs3VBlPrFOq7usbwh0PS4H j7VpShfE7cvvDOmkjjKfTCcU9PbLqFhJYznKElKpzl9/DHgDLQMHAseYg+NRctE86YM+ Z2DHhp3plGpDCfuHvYLlRDGTDQiCz4zYnYwdU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=sYSsWDkSruK5Tgknpzra5rP1rEnaf5JyPppTtfetf66xl8fCpbRIH2u7OoqMcajiV1 QnrQwG6gHm+lt5LPiSsDt5KzqrkbrHOPCz7CPxKnJWx7dD8+9M9a6I1VjXYFrB+kYYVr /Qjt5ujdVQwI7mACapsnNr4JouwCqS8raDqoE= MIME-Version: 1.0 Received: by 10.223.116.197 with SMTP id n5mr4930062faq.3.1278448539787; Tue, 06 Jul 2010 13:35:39 -0700 (PDT) Received: by 10.223.117.206 with HTTP; Tue, 6 Jul 2010 13:35:39 -0700 (PDT) In-Reply-To: <44fwzw8iow.fsf@be-well.ilk.org> References: <44wrt88wdk.fsf@be-well.ilk.org> <44fwzw8iow.fsf@be-well.ilk.org> Date: Tue, 6 Jul 2010 23:35:39 +0300 Message-ID: From: Mike Barnard To: Lowell Gilbert Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: /usr/local empty after upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 20:35:45 -0000 On Tue, Jul 6, 2010 at 11:21 PM, Lowell Gilbert < freebsd-questions-local@be-well.ilk.org> wrote: > Mike Barnard writes: > > > sorry... RTFM -eU flags sorted me out... but I only get the directories > an > > no files created.... now may be rebuilding world will work :-/ > > There are no files described in the mtree file. I can't think of any > that should be there before you install ports... > just perl that is missing, which I believe a reinstall will correct. Thanks for getting my memory back on track. -- Mike Of course, you might discount this possibility, but remember that one in a million chances happen 99% of the time. ------------------------------------------------------------ From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 20:58:25 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E15711065673 for ; Tue, 6 Jul 2010 20:58:24 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id BE2318FC12 for ; Tue, 6 Jul 2010 20:58:24 +0000 (UTC) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1OWFDe-0006sY-EL; Tue, 06 Jul 2010 16:58:23 -0400 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id 64ECF4233367; Tue, 6 Jul 2010 16:58:18 -0400 (EDT) Message-ID: <4C3398E5.2090504@FreeBSD.org> Date: Tue, 06 Jul 2010 16:58:13 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: Mike Barnard References: <4C333FC8.20802@FreeBSD.org> In-Reply-To: X-Enigmail-Version: 0.96.0 OpenPGP: id=1C940290 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -0.3 (/) Cc: FreeBSD Questions Subject: Re: /usr/local empty after upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 20:58:25 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Mike Barnard wrote: > Hi Greg, > > Please see your request below > >> Hi Mike, >> >> It's possible that your disk device names changed during the upgrade and >> /etc/fstab can no longer mount the previous device on /usr/local. Do >> you see any error messages during the boot process? >> >> > no, I do not see any error during the boot process. > > >> Please reply to the list with the output from the following commands: >> >> ls -l /dev/da* # Assuming SCSI disks >> > crw-r----- 1 root operator 0, 94 Jul 6 16:50 /dev/da0 > crw-r----- 1 root operator 0, 96 Jul 6 16:50 /dev/da0s1 > crw-r----- 1 root operator 0, 97 Jul 6 19:50 /dev/da0s1a > crw-r----- 1 root operator 0, 98 Jul 6 16:50 /dev/da0s1b > crw-r----- 1 root operator 0, 99 Jul 6 19:50 /dev/da0s1d > crw-r----- 1 root operator 0, 100 Jul 6 19:50 /dev/da0s1e > crw-r----- 1 root operator 0, 101 Jul 6 16:50 /dev/da0s1f > crw-r----- 1 root operator 0, 106 Jul 6 19:50 /dev/da0s1f.journal > crw-r----- 1 root operator 0, 102 Jul 6 16:50 /dev/da0s1g > crw-r----- 1 root operator 0, 107 Jul 6 19:50 /dev/da0s1g.journal > > >> cat /etc/fstab >> > # Device Mountpoint FStype Options Dump > Pass# > /dev/da0s1b none swap sw 0 0 > /dev/da0s1a / ufs rw 1 1 > /dev/da0s1g.journal /resource ufs rw,async 2 > 2 > /dev/da0s1e /tmp ufs rw 2 2 > /dev/da0s1f.journal /usr ufs rw,async 2 2 > /dev/da0s1d /var ufs rw 2 2 > /dev/acd0 /cdrom cd9660 ro,noauto 0 0 > > >> That information may help figure out what happened to the devices during >> the upgrade. >> >> > unless I got the journaling wrong, the fstab and devices should work fine. > > > Regards, > Hi Mike, What did you have in your /usr/local directory prior to the upgrade? Had you installed any ports? What is the output of the following command: pkg_info If it doesn't print anything, then you haven't installed any ports yet, and an empty /usr/local directory is normal. If you manually placed some files in there, that's a different story, and perhaps booting to single-user and running fsck on /usr would help. At first, I thought you might have /usr/local on its own partition and a device rename might have caused a mount failure. Were there any other problems with the files/directories in /usr, or was it just /usr/local that was emptied? Regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFMM5jk0sRouByUApARAvDSAKDMb03N2331UUhhbv3yGjv3fHSEBwCgkiF4 jpH3M13BqqyzsSehE88Hn+0= =Zk4T -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 22:04:33 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5230D106564A for ; Tue, 6 Jul 2010 22:04:33 +0000 (UTC) (envelope-from admin@cpcnw.co.uk) Received: from relay.ptn-ipout02.plus.net (relay.ptn-ipout02.plus.net [212.159.7.36]) by mx1.freebsd.org (Postfix) with ESMTP id DE81C8FC14 for ; Tue, 6 Jul 2010 22:04:32 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhcFAABFM0xUXebj/2dsb2JhbACId4tpiyNxwHQNhRgE Received: from outmx01.plus.net ([84.93.230.227]) by relay.ptn-ipout02.plus.net with ESMTP; 06 Jul 2010 23:04:30 +0100 Received: from custompc.plus.com ([212.159.115.167] helo=main) by outmx01.plus.net with smtp (Exim) id 1OWGFi-0001Fe-Kq for freebsd-questions@freebsd.org; Tue, 06 Jul 2010 23:04:30 +0100 Message-ID: <32956318D56C4ECEAE8EBDB86728D3E9@main> From: "Graham Bentley" To: "FreeBSD Questions" Date: Tue, 6 Jul 2010 23:03:50 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5931 Subject: Booting FreeBSD from Compact Flash X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 22:04:33 -0000 OK I confess that this is associated with FreeNAS however it seems rather quiet over there on the support forums and I know there are some knowledgeable BSD people on this list who may be willing to help on this ... Compact Flash: Kingston 4GB 45x Elite Pro [CF/4GB-S] Target Mainboard: VIA EPIA-V10000 * I D/L'ed FreeNAS-i386-embedded-0.7.2.5252.img * I checksumed it with md5sum for WindowsXPP - it matched * I used physdiskwrite v0.5.2 to write the image to CF on my desktop PC * I hoooked up the CF to the target mainboard and booted the kernel Now this is where things go awry .... I end up at this prompt ; mountroot> I can see the Kinston is ID as ad0 a few lines above at ata0-master. If I enter ? I get a list of boot devices as follows ; ad0c ad0a ad0 If I enter; mountroot> ufs:/dev/ad0a I get a 'panic: no init' message and a reboot ; no other choice of boot device gives any such result. CF boots perfectly hooked up to my desktop PC. On Via Mainboard I have tried switching off all IDE 'modes' to zero etc but still no joy. I tried using the verbose boot option and notice that following the CF card being ID'ed I get the following ; ad0 VIA check1 failed ad0 Adaptec check1 failed ad0 LSI (v3) check1 failed ad0 LSI (v2) check1 failed ado FreeBSD check1 failed Would I be right in thinking that its chipset support for this baord is whats preventing access to the root of the OS/FS? And if it is, is it possible to add module support somehow? Thanks in advance of any help :) From owner-freebsd-questions@FreeBSD.ORG Tue Jul 6 23:49:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93782106566C for ; Tue, 6 Jul 2010 23:49:34 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp3.comclark.com (avmxsmtp3.comclark.com [202.69.191.117]) by mx1.freebsd.org (Postfix) with ESMTP id 2E3A38FC14 for ; Tue, 6 Jul 2010 23:49:33 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AksRAMtdM0zKRa3YOWdsb2JhbAAHoAcBAQEBNYhBuDCFJASDdIZ8 X-IronPort-AV: E=Sophos;i="4.53,549,1272816000"; d="scan'208";a="8749976" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.216]) by avmxsmtp2.comclark.com with ESMTP; 07 Jul 2010 07:49:31 +0800 Message-ID: <4C33C108.9010801@comclark.com> Date: Wed, 07 Jul 2010 07:49:28 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Graham Bentley References: <32956318D56C4ECEAE8EBDB86728D3E9@main> In-Reply-To: <32956318D56C4ECEAE8EBDB86728D3E9@main> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: Booting FreeBSD from Compact Flash X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jul 2010 23:49:34 -0000 Graham Bentley wrote: > OK I confess that this is associated with FreeNAS however > it seems rather quiet over there on the support forums and I > know there are some knowledgeable BSD people on this > list who may be willing to help on this ... > > Compact Flash: Kingston 4GB 45x Elite Pro [CF/4GB-S] > Target Mainboard: VIA EPIA-V10000 > * I D/L'ed FreeNAS-i386-embedded-0.7.2.5252.img > * I checksumed it with md5sum for WindowsXPP - it matched > * I used physdiskwrite v0.5.2 to write the image to CF on my desktop PC > * I hoooked up the CF to the target mainboard and booted the kernel > Now this is where things go awry .... I end up at this prompt ; > > mountroot> > > I can see the Kinston is ID as ad0 a few lines above at ata0-master. > If I enter ? I get a list of boot devices as follows ; ad0c ad0a ad0 > If I enter; mountroot> ufs:/dev/ad0a I get a 'panic: no init' message > and a reboot ; no other choice of boot device gives any such result. > CF boots perfectly hooked up to my desktop PC. On Via Mainboard > I have tried switching off all IDE 'modes' to zero etc but still no joy. > I tried using the verbose boot option and notice that following the CF > card being ID'ed I get the following ; > > ad0 VIA check1 failed > ad0 Adaptec check1 failed > ad0 LSI (v3) check1 failed > ad0 LSI (v2) check1 failed > ado FreeBSD check1 failed > > Would I be right in thinking that its chipset support for this baord is > whats > preventing access to the root of the OS/FS? > > And if it is, is it possible to add module support somehow? > > Thanks in advance of any help :) > Maybe this will be helpful http://forums.freebsd.org/showthread.php?t=11715 From owner-freebsd-questions@FreeBSD.ORG Wed Jul 7 00:02:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FBED106564A for ; Wed, 7 Jul 2010 00:02:55 +0000 (UTC) (envelope-from btillman99@yahoo.com) Received: from web36505.mail.mud.yahoo.com (web36505.mail.mud.yahoo.com [209.191.85.5]) by mx1.freebsd.org (Postfix) with SMTP id EF2B78FC16 for ; Wed, 7 Jul 2010 00:02:54 +0000 (UTC) Received: (qmail 93331 invoked by uid 60001); 7 Jul 2010 00:02:54 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1278460974; bh=+v002wpUJvHNoRZJUw/A5pOC5s/w2P8oEPmCjVPDfYo=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=YExzswpV36Oo2AsNmPGhB1AlUuMZxOy7WNSk5g1Z4N2nwVA8YB2dd3UPRjFBMDfM53Y3+hu0EcEFtcc0PRPFFJ1MOBPbTBQ0fDg1gKzIKBNebM16evTKSv75XoSAQJKC590Bk8JmNSD8gewJGzaPkqGXSTEAiX8NN2nG3jZVrRY= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=wvN+RLniA4e6AVfdxTRXYNnAy46uUozWl90WUm6O464mCh588S6D++vQ2NwLeszqPGsluvMlAN9saus1a6kbTDPS8yub7xhJ4sfHSaaJL3fNMZPaTQtAFenF2g5ywEJV8kyPe8efsag1gRQxNTr8rhom8qr7jSRlWOvYp5ojArM=; Message-ID: <556061.93189.qm@web36505.mail.mud.yahoo.com> X-YMail-OSG: 2CuDAnMVM1mUhbzCJYeOVu1RzBbpwWEa8jwmYNi2GSHOJhF NLVl5wlW_UOI7r3a6V2pgzRt7JBQgE.jGUAn1e3VEskE1grkYdRGSBZ6QJeB w23kaSsYNoO1B252vVnkTaldpyl19gfOO8Tzm7UxCTDKiwOzvtNpfvrF1Dx8 FUJ6PLROacejzSDASHEUyGw3fl0jPjB2_opdUkNI_RwG0a_Aaqb10AykT1IO z9a_KbLHJGNF_LemFTUY9iSlCVkw6aBp3b81k7YuOaybaoadinM.GmOaK27N hQNGm9T8- Received: from [98.242.233.74] by web36505.mail.mud.yahoo.com via HTTP; Tue, 06 Jul 2010 17:02:54 PDT X-Mailer: YahooMailClassic/11.1.4 YahooMailWebService/0.8.104.274457 Date: Tue, 6 Jul 2010 17:02:54 -0700 (PDT) From: Bill Tillman To: freebsd-questions@freebsd.org 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.5 Subject: Re: /boot is full after running "make installkernel" on X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 00:02:55 -0000 Thanks guys. :-) Doesn't that seem odd that the "default" partition size for root (512M) isn't quite big enough? Should I make the partition size slightly larger (on future installs) to eliminate this problem? Ed ------------------------------ =A0 I had the same problem and since my drives are large I just started making = all my new builds with / set for 1G. As I understand it this is not actuall= y the solution the "in the know" folks recommend. I was advised to just del= ete kernel.old. Of course this will work but what about when you might need= kernel.old to get you out of a jamb or just want to keep it for nostalgia. =A0 I think I'm finally at the point where I will stop doing make buildworlds u= nless absolutely needed. I've been keen on doing this regularly but I reall= y should adopt the policy of if it ain't broken don't fix it.=0A=0A=0A = From owner-freebsd-questions@FreeBSD.ORG Wed Jul 7 01:29:33 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7829B106564A for ; Wed, 7 Jul 2010 01:29:33 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 1992C8FC0A for ; Wed, 7 Jul 2010 01:29:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id 695853A3844 for ; Wed, 7 Jul 2010 08:29:24 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= content-transfer-encoding:content-type:content-type:mime-version :references:subject:subject:in-reply-to:from:from:message-id :date:date:received:received:received; s=selector1; t= 1278466164; x=1280280564; bh=dX7ikUcFVDIUI+VqgmQ7eMgdr0200V+hkQh 6KEiVJMA=; b=o8axGjpmCshWm5X3rQOmv3ELxz6Il6/bgdNFDznPMQyG+cncXCL CLERo9IX6A9kMcuRF16eHi4ldsL2f03pq9/1SH4yu307W6zxpXrDkw5BAEWe4fxF pZI7MauN2sSvccLrxBV+Xiy8z6sDydlkxBFYxdFgxgJVce70v01gCNVc= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by localhost (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id vJv8ErIVhr9p for ; Wed, 7 Jul 2010 08:29:24 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id 21AF43A3842 for ; Wed, 7 Jul 2010 08:29:24 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.3/8.14.3/Submit) id o671THDK067603; Wed, 7 Jul 2010 08:29:17 +0700 (ICT) (envelope-from on) Date: Wed, 7 Jul 2010 08:29:17 +0700 (ICT) Message-Id: <201007070129.o671THDK067603@banyan.cs.ait.ac.th> From: Olivier Nicole To: freebsd-questions@freebsd.org In-reply-to: (message from krad on Tue, 6 Jul 2010 09:42:55 +0100) References: <4C3108B6.8070606@tundraware.com> MIME-version: 1.0 Content-type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Subject: Re: Global backup solution for FBSD & Ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 01:29:33 -0000 Hi, >> I am trying to build a global backup solution for couple of strategic >> servers (7) based on two operating systems : >> >> - FreeBSD (6 - 7 // soon 7 - 8) >> - Ubuntu 8.04 LTS I am running amanda as a centralized backup solution for FreeBSD, Linuxes and Windows. Amanda server is a dedicated machine with 7.5 TB disks (about 2300 USD assembly machine, gives me over 4 weeks or daily incremental backup, but the duration really depends on your usage). The more sensitive services I also backup using the protocol own duplication (master-slave database, DNS replication, etc.) With MySQL server replication, you can have the slave server running your actual database and ready to go in case the primary crashes. If the availability of the service is really critical, you must consider an high-availability solution, not only a backup. With that I have all the needed information to restore a faulty service. >> - SAIT solution and backula. I used to use tapes, I have changed for disks, it is much much faster and easier. And cheaper! In a 3U enclosure you can have 16 disks, for 32TB of storage. >> • I am not a 100% sure these solutions will allow me to restart rapidly >> from a crash, specially for Ubuntu servers. Depends on how you define rapidly... Backup and high availability have different/complementary roles: the first one assures that no data are lost, the second assures that the service will always be available. You know your needs :) Best regards, Olivier From owner-freebsd-questions@FreeBSD.ORG Wed Jul 7 02:10:33 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E9C1810656C1 for ; Wed, 7 Jul 2010 02:10:33 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 76B4C8FC20 for ; Wed, 7 Jul 2010 02:10:33 +0000 (UTC) Received: by wwi18 with SMTP id 18so681616wwi.31 for ; Tue, 06 Jul 2010 19:10:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=2UTO+1bCv7UWa9oLZIhzDNwo3qNdbjIcAuConrHslCM=; b=Pv44XZ/X8N6zyzHFKDfNkwqYSNI3ceRCTXXwuoW6V0ltIDdNEfPzVVJZbL76kbKeNt E94dtk1//y7E8F3rCXDydb8DfWwzCfr0SD7scXxwzYrrcM5rA3ez50S9Yh5ejpLAyHM0 q+ACcyUMkds0Y/DaTADjC9Vo/ISmgxfjwWCoo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=boWbpCzo/k0C1e7HHcjemD/MpH1/EAwAPdHPiToEFtk6adS4L40hIEwhI8A5INVtl4 Oz7J+XPN4UB0hk0jNaeKJX5ZrHKQjAXdJmcmzV3LLn+TXrCCIBo1f5cy5pP77zXjWU36 Ey5LznFWQ4q5x0rWt5NqwaQKn1OXhq8ETAm7w= Received: by 10.227.142.136 with SMTP id q8mr4271471wbu.95.1278468626225; Tue, 06 Jul 2010 19:10:26 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id e31sm39026102wbe.11.2010.07.06.19.10.19 (version=SSLv3 cipher=RC4-MD5); Tue, 06 Jul 2010 19:10:24 -0700 (PDT) Date: Wed, 7 Jul 2010 03:10:02 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20100707031002.2fb9421b@gumby.homeunix.com> In-Reply-To: <4C2E059D.7050106@qeng-ho.org> References: <20100701212112.GA28138@gizmo.acns.msu.edu> <4C2D9659.3060208@infracaninophile.co.uk> <20100702131315.00007c89@unknown> <4C2DF1DA.2020503@qeng-ho.org> <20100702153814.00000aa2@unknown> <4C2E059D.7050106@qeng-ho.org> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: /boot is full after running "make installkernel" on FreeBSD 8.0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 02:10:34 -0000 On Fri, 02 Jul 2010 16:28:29 +0100 Arthur Chance wrote: > I suspect whoever you were talking to probably has more of a clue > than I do. As a quick data point, I just ran "portsnap fetch update" > while another process did a "df /var; sleep 1" loop and /var > increased by about 30MB at its peak. That was a week after the last > port update. I've no idea how much space a "portsnap fetch extract" > would take and would rather not do one right now. The temporary space is likely used by the "fetch" stage for downloaded patch files. I don't think "update" or "extract" use much storage on /var. From owner-freebsd-questions@FreeBSD.ORG Wed Jul 7 02:39:53 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 580B7106566C for ; Wed, 7 Jul 2010 02:39:53 +0000 (UTC) (envelope-from gpeel@thenetnow.com) Received: from constellation.thenetnow.com (constellation.thenetnow.com [207.112.4.14]) by mx1.freebsd.org (Postfix) with ESMTP id 2E9ED8FC0C for ; Wed, 7 Jul 2010 02:39:52 +0000 (UTC) Received: from hpeel.ody.ca ([216.240.12.2] helo=GRANTPC) by constellation.thenetnow.com with esmtpa (Exim 4.63 (FreeBSD)) (envelope-from ) id 1OWKY8-0005Fh-88 for freebsd-questions@freebsd.org; Tue, 06 Jul 2010 22:39:48 -0400 Message-ID: <0785F6B9894A48FBAEDE8EF1EDD75DCE@GRANTPC> From: "Grant Peel" To: References: <93AA3A9E353B402C89F4D9DEC8EC1C3A@GRANTLAPTOP> Date: Tue, 6 Jul 2010 22:39:43 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5843 X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Subject: Re: FreBSD 8 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 02:39:53 -0000 ----- Original Message ----- From: "Grant Peel" To: Sent: Tuesday, July 06, 2010 1:07 PM Subject: FreBSD 8 > Hi again all, > > I have just installed FreeBSD 8 on my NFS server. > > The older machines (FreeBSD 6.x) are able to connect to the NFS exports > fine. > > I have also installed FreeBSD 8 to two more machines, 1 is a Dell 1850, > and the other an R200. Both of these machines had FreeBSD 6.x on them and > were able to connect to the share with no problem. > > The error I am getting is: RPCPROG_NFS: RPC: Program not registered > > I have pretty much memorized the handbook with regards to NFS at this > point: > > On the server, (from the Handbook), all the following are in rc.conf: > > rpcbind_enable="YES" > nfs_server_enable="YES" > mountd_flags="-r" > > On the Clietn(s), the following line is present: > > nfs_client_enable="YES" > > I have tried: > > nfs_reserved_port_only="YES" > and > nfs_reserved_port_only="NO" > > which does not appear to make a difference. > > also, > > start nfsiod -n 4 on the client, does not seem to start (not showing in > the process list anyways, and no console output whn I try to start it. > > FYI, I can ping, ssh etc etc etc through the same IPS as the nfs > server/client use (192.168.0.x). > > If it makes any difference the Server is uing fxp ethernet, and one client > is using em and the other bge. > > I know there's something simple I am missing, but damned if I can find it. > I had the same issue trying to connect using the live filesystem a few > weeks back, so it seems to be something with freebsd 8. (Configuration?). > > Any help appreciated, > > -Grant > > > _______________________________________________ > 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" > > All, This is now fixed, FWIW, the problem seems to be that the FreeBSD 8 NFS server is only usig UDP when setup as described in the handbook. The FreeBSD 8 clients were looking for tcp. Hence the error: "[tcp] RPCPROG_NFS: RPC: Program not registered" Once I added: nfs_server_flags="-t -u -h 192.168.0.4 -n 15" to the nfs server rc.conf, and rebooted it, the clients connected first try. If I am still missing something, feel free to comment. -Grant From owner-freebsd-questions@FreeBSD.ORG Wed Jul 7 04:37:51 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 453A0106566B for ; Wed, 7 Jul 2010 04:37:51 +0000 (UTC) (envelope-from axel@ucs.com) Received: from exchange.ranch.com (cowboy.ranch.com [68.98.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2182F8FC14 for ; Wed, 7 Jul 2010 04:37:51 +0000 (UTC) Received: from exchange.ranch.com ([::1]) by exchange.ranch.com ([::1]) with mapi; Tue, 6 Jul 2010 21:21:53 -0700 From: Axel Barnabas To: "freebsd-questions@freebsd.org" Date: Tue, 6 Jul 2010 21:21:52 -0700 Thread-Topic: Ettercap segmentation fault.... Thread-Index: AQHLHYpRymvfgBsDE0G7hdGhYExXog== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Ettercap segmentation fault.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 04:37:51 -0000 Hello, I have compiles ettercap from ports without incident. However, when I attem= pt to run ettercap in any way, after a short while the program crashes and = I am presented with an error message which is as follows:=20 =20 Ooops ! This shouldn't happen... Segmentation Fault... Please recompile in debug mode, reproduce the bug and send a bugreport I have deinstalled and recompiled to program twice, yielding no results.=20 Some additional information which may be useful- #pkg_info | grep ettercap ettercap-gtk2-0.7.3_10,1 A network sniffer/interceptor/injector/logger for = switched=20 #uname -a FreeBSD 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 = root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 If anyone wishes me to recompile in debug mode, you will have to tell me ho= w; I am not familiar with the process.=20 Axel= From owner-freebsd-questions@FreeBSD.ORG Wed Jul 7 05:05:50 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DCC4106564A for ; Wed, 7 Jul 2010 05:05:50 +0000 (UTC) (envelope-from bounce3-59984-10709-29662823-fen7c@b2.acast.ca) Received: from acast.ca (peer1.acast.ca [64.34.141.99]) by mx1.freebsd.org (Postfix) with SMTP id 441388FC17 for ; Wed, 7 Jul 2010 05:05:49 +0000 (UTC) Received: (qmail 2156 invoked by uid 1007); 7 Jul 2010 04:27:25 -0000 Date: 7 Jul 2010 04:27:25 -0000 Message-ID: <20100707042725.2155.qmail@acast.ca> To: "freebsd-questions" From: "Sensor Experts" 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.5 Subject: Quickly and accurately measure surface contact pressures X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 05:05:50 -0000 MEASURE PRESSURE BETWEEN CONTACTING SURFACES Pressurex pressure indicating sensor film can reveal pressure distribution = and magnitude between any two contacting or impacting surfaces. This thin p= lastic sensor film is placed at the actual contact surfaces and instantaneo= usly and permanently captures the pressure profile by changing color. Simil= ar in concept to Litmus paper, the color Pressurex turns is also directly p= roportional to the amount of force applied and can be quantified. Pressurex can be used in many applications including in a bolted joint inte= rface, composite layup, heat sealing and lamination presses; it can act as = a force sensing resistor, and it can measure surface pressure distribution = whether it is used as an impact force sensor, seat pressure sensor, as a st= rain gauge or even as nip impression paper. BOLTED JOINT LAMINATION PRESS HEAT SEAL COMPOSITE LAYUP Color Indicates Precise PSI Value http://www.sensorexpert.com/ If you would like to receive a sample of Pressurex, simply click on only on= e of the buttons below to indicate the pressure range most suitable to your= application and we'll gladly send one out to you. Please be sure to includ= e complete contact info and a full mailing address. Send me a sample of -----> Micro 2 - 20 PSI (0.14 - 1.4 kg/cm=B2) by sending an e-mail to samples@sensorexpert.com with a subject of "Send me= a sample of Micro pxiesdb710" Send me a sample of -----> Ultra Low 28 - 85 PSI (2 - 6 kg/cm=B2) by sending an e-mail to samples@sensorexpert.com with a subject of "Send me= a sample of Ultra Low pxiesdb710" Send me a sample of -----> Super Low 70 - 350 PSI (5 - 25 kg/cm=B2) by sending an e-mail to samples@sensorexpert.com with a subject of "Send me= a sample of Super Low pxiesdb710" Send me a sample of -----> Low 350 - 1,400 PSI (25 - 100 kg/cm=B2) by sending an e-mail to samples@sensorexpert.com with a subject of "Send me= a sample of Low pxiesdb710" Send me a sample of -----> Medium 1,400 - 7,100 PSI (100 - 500 kg/cm=B2) by sending an e-mail to samples@sensorexpert.com with a subject of "Send me= a sample of Medium pxiesdb710" Send me a sample of -----> High 7,100 - 18,500 PSI (500 - 1,300 kg/cm=B2) by sending an e-mail to samples@sensorexpert.com with a subject of "Send me= a sample of High pxiesdb710" Send me a sample of -----> Super High 18,500 - 43,200 PSI (1,300 - 3,000 kg= /cm=B2) by sending an e-mail to samples@sensorexpert.com with a subject of "Send me= a sample of Super High pxiesdb710" Visit http://www.sensorexpert.com/ for product brochure Sensor Expert (USA) =95 Tel: (973) 884-1755 =95 Fax: (973) 884-1699= =95 samples@sensorexpert.com =95 www.sensorexpert.com To unsubscribe from this emailing send an e-mail to bebner@sensorexpert.com= with a subject of "Unsubscribe pxiesdb710". From owner-freebsd-questions@FreeBSD.ORG Wed Jul 7 06:27:22 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64A6B106566B for ; Wed, 7 Jul 2010 06:27:22 +0000 (UTC) (envelope-from gull@gull.us) Received: from mail2.sea5.speakeasy.net (mail2.sea5.speakeasy.net [69.17.117.41]) by mx1.freebsd.org (Postfix) with ESMTP id 3C0AD8FC08 for ; Wed, 7 Jul 2010 06:27:22 +0000 (UTC) Received: (qmail 9147 invoked from network); 7 Jul 2010 06:27:20 -0000 Received: from dsl081-163-112.sea1.dsl.speakeasy.net (HELO ringbill.gull.us) ([64.81.163.112]) (envelope-sender ) by mail2.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 7 Jul 2010 06:27:20 -0000 Received: from localhost ([127.0.0.1] helo=www.gull.us) by ringbill.gull.us with esmtp (Exim 4.71 (FreeBSD)) (envelope-from ) id 1OWO6J-0007dW-39; Tue, 06 Jul 2010 23:27:19 -0700 Received: from crow ([192.168.10.14]) (SquirrelMail authenticated user gull) by www.gull.us with HTTP; Tue, 6 Jul 2010 23:27:19 -0700 Message-ID: In-Reply-To: <80AD3593-1170-4346-A4EE-4274085D6570@gull.us> References: <80AD3593-1170-4346-A4EE-4274085D6570@gull.us> Date: Tue, 6 Jul 2010 23:27:19 -0700 From: "David Brodbeck" To: "David Brodbeck" User-Agent: SquirrelMail/1.4.20 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-questions@freebsd.org Subject: Re: Samba gives "invalid PT_PHDR" after upgrading from 7.2-RELEASE to 7.3-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 06:27:22 -0000 On Sat, July 3, 2010 2:49 pm, David Brodbeck wrote: > Today I upgraded my system from FreeBSD 7.2-RELEASE to FreeBSD 7.3- > RELEASE using freebsd-update. Samba no longer runs. I get the > following error messages: > > Starting nmbd. > /libexec/ld-elf.so.1: /usr/local/sbin/nmbd: invalid PT_PHDR > Starting smbd. > /libexec/ld-elf.so.1: /usr/local/sbin/smbd: invalid PT_PHDR > > My upgrade sequence was to run 'freebsd-update upgrade -r 7.3-RELEASE' > and 'freebsd-update install', followed by a reboot, then 'freebsd- > update install' again, followed by a second reboot. > > I tried rebuilding the Samba port, thinking maybe it was an ABI > change, but it still doesn't work. Can someone point me in the right > direction? Today I tried using "portupgrade -R -f samba34" to rebuild samba and all of its dependencies, but I'm still getting the same error. I'm a little surprised that a minor version upgrade broke this so thoroughly. I went back over the release notes to see if I missed any obvious caveats about upgrading, but if I did, I'm not seeing it. From owner-freebsd-questions@FreeBSD.ORG Wed Jul 7 06:43:33 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D1B3106566C; Wed, 7 Jul 2010 06:43:33 +0000 (UTC) (envelope-from mike.barnardq@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id C397A8FC16; Wed, 7 Jul 2010 06:43:32 +0000 (UTC) Received: by fxm13 with SMTP id 13so5754282fxm.13 for ; Tue, 06 Jul 2010 23:43:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=rdct3/8NUTAFjS2BwNr7TJImqPZtjVcfnnvXSRJvdFQ=; b=FndjIhLlj7TySyGmI+OmIlt+mDaBtN0P8UDiPXuACeYg/FOo7+WQnCVRXJxknpTZCP AFpPMOl0rSBN6BDLpZdSKx2CyQdUtFrxihdk4MpRQRQ7EynxzFKXO+zD5NGKyViULiGt Lo94cTHLWnCnTA0QKDZ9lz2WxzG1hI71BXD8Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=G5hVc0a0e+qsGQa2Xut+uZlg8huNkSftwBi8wQRGAQ1Ml0zDfkY1V3PPWmmy6Cp1io dVmp90fUXZDAV4KuJ1jC+xc0ALTO85+zjPKaGekfWewrB/Op1517XV0Wa+OTcPLDCX5y uJfoUPcCAbIJzm+tFSjBGjT1YW/xKkSxYAODI= MIME-Version: 1.0 Received: by 10.86.51.19 with SMTP id y19mr4546409fgy.65.1278485004987; Tue, 06 Jul 2010 23:43:24 -0700 (PDT) Received: by 10.223.117.206 with HTTP; Tue, 6 Jul 2010 23:43:24 -0700 (PDT) In-Reply-To: <4C3398E5.2090504@FreeBSD.org> References: <4C333FC8.20802@FreeBSD.org> <4C3398E5.2090504@FreeBSD.org> Date: Wed, 7 Jul 2010 09:43:24 +0300 Message-ID: From: Mike Barnard To: glarkin@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: /usr/local empty after upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 06:43:33 -0000 On Tue, Jul 6, 2010 at 11:58 PM, Greg Larkin wrote: > Hi Mike, > > What did you have in your /usr/local directory prior to the upgrade? > Had you installed any ports? What is the output of the following command: > > pkg_info > > it was only perl installed. That I can always rectified quickly... -- Mike Of course, you might discount this possibility, but remember that one in a million chances happen 99% of the time. ------------------------------------------------------------ From owner-freebsd-questions@FreeBSD.ORG Wed Jul 7 07:33:23 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 421E1106566C for ; Wed, 7 Jul 2010 07:33:23 +0000 (UTC) (envelope-from geoclue-bounces+freebsd-questions=freebsd.org@lists.freedesktop.org) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mx1.freebsd.org (Postfix) with ESMTP id 2B0C48FC15 for ; Wed, 7 Jul 2010 07:33:23 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 96CB39E861 for ; Wed, 7 Jul 2010 00:15:46 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: geoclue-bounces@lists.freedesktop.org To: freebsd-questions@freebsd.org Message-ID: Date: Wed, 07 Jul 2010 00:15:45 -0700 Precedence: bulk X-BeenThere: geoclue@lists.freedesktop.org X-Mailman-Version: 2.1.11 X-List-Administrivia: yes Sender: geoclue-bounces+freebsd-questions=freebsd.org@lists.freedesktop.org Errors-To: geoclue-bounces+freebsd-questions=freebsd.org@lists.freedesktop.org Subject: Your message to GeoClue awaits moderator approval X-BeenThere: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 07:33:23 -0000 Your mail to 'GeoClue' with the subject Returned mail: see transcript for details Is being held until the list moderator can review it for approval. The reason it is being held: Post by non-member to a members-only list Either the message will get posted to the list, or you will receive notification of the moderator's decision. If you would like to cancel this posting, please visit the following URL: http://lists.freedesktop.org/mailman/confirm/geoclue/ad972a6b345841f10b9ac24ff9cd606ea632eb4e From owner-freebsd-questions@FreeBSD.ORG Wed Jul 7 07:38:21 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A68BE106566C for ; Wed, 7 Jul 2010 07:38:21 +0000 (UTC) (envelope-from f.bonnet@esiee.fr) Received: from mx1.esiee.fr (mx1.esiee.fr [147.215.1.35]) by mx1.freebsd.org (Postfix) with ESMTP id 6B7AE8FC19 for ; Wed, 7 Jul 2010 07:38:21 +0000 (UTC) Received: from mail.esiee.fr (mail.esiee.fr [147.215.1.3]) by mx1.esiee.fr (Postfix) with ESMTP id 93A61136EC3 for ; Wed, 7 Jul 2010 09:38:20 +0200 (CEST) Received: from mail.esiee.fr (localhost [127.0.0.1]) by VAMS.dummy (Postfix) with SMTP id CFBCB105441E for ; Wed, 7 Jul 2010 09:38:17 +0200 (CEST) Received: from [147.215.1.21] (lisa.esiee.fr [147.215.1.21]) by mail.esiee.fr (Postfix) with ESMTP id C4CEF1054419 for ; Wed, 7 Jul 2010 09:38:17 +0200 (CEST) Message-ID: <4C342EEC.7040404@esiee.fr> Date: Wed, 07 Jul 2010 09:38:20 +0200 From: Frank Bonnet User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Get server's internal temperature from ACPI ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 07:38:21 -0000 Hello Is there an utility to get the internal temperature from a HP Proliant server with ACPI ??? Thank you From owner-freebsd-questions@FreeBSD.ORG Wed Jul 7 08:46:56 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BFE0106566C for ; Wed, 7 Jul 2010 08:46:56 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id B02068FC12 for ; Wed, 7 Jul 2010 08:46:55 +0000 (UTC) Received: by fxm13 with SMTP id 13so5807675fxm.13 for ; Wed, 07 Jul 2010 01:46:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=tGLlSrjmt2sbLWVrHP9o9I7BuM78e8p4t4U2QHGFIyM=; b=Vb+3PEdBfOlCZOlzP5UzIFCwIcvia1BcXQaqQztKDJUcpN9ZGaiEQdokwzNi4iy42r r9EMdqYNGV41D9PxCs5XMamtSPKRx5m6MMVTvlju0Y0O9LMGlm7a075yd5gMvK3IqiBu e7E14x2W4IlgbvzqW6eG2xgBdQygwPyBo4m8I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=AIzXzeRzF3j1/5TG/TTmllEpRVsKzyWZgJNZaHZR1dCZF/lCsp1yjeIUXwv6Z4fYEE i4C+edXFefqZhVt1avcr/QdO5IMgbwk5zqWnzfXw/QB/bGF7pYDA8oUE5ujRLIm1ExS5 zN0ZZoF/THnmweEL7wrRInkzkB5hgomnoOhYQ= MIME-Version: 1.0 Received: by 10.239.162.200 with SMTP id m8mr659632hbd.112.1278492407202; Wed, 07 Jul 2010 01:46:47 -0700 (PDT) Received: by 10.239.161.199 with HTTP; Wed, 7 Jul 2010 01:46:47 -0700 (PDT) In-Reply-To: <201007070129.o671THDK067603@banyan.cs.ait.ac.th> References: <4C3108B6.8070606@tundraware.com> <201007070129.o671THDK067603@banyan.cs.ait.ac.th> Date: Wed, 7 Jul 2010 09:46:47 +0100 Message-ID: From: krad To: Olivier Nicole Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: Global backup solution for FBSD & Ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 08:46:56 -0000 > I used to use tapes, I have changed for disks, it is much much faster > and easier. And cheaper! In a 3U enclosure you can have 16 disks, for > 32TB of storage. > A sun x4500 can get 48 drives in 4u. Its intel based so should run freebsd ok if you want to. Not sure what the max drive size is but you should be looking at about ~30-70 TB depending on drive size and array configuration From owner-freebsd-questions@FreeBSD.ORG Wed Jul 7 09:21:16 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5EED5106566C for ; Wed, 7 Jul 2010 09:21:16 +0000 (UTC) (envelope-from mcoyles@horbury.wakefield.sch.uk) Received: from smtp3.yhgfl.net (smtp3.yhgfl.net [89.207.208.206]) by mx1.freebsd.org (Postfix) with ESMTP id 1728D8FC13 for ; Wed, 7 Jul 2010 09:21:15 +0000 (UTC) Received: from smtp3.yhgfl.net (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id 79E93205366D_C34470AB; Wed, 7 Jul 2010 09:21:14 +0000 (GMT) Received: from smtp3-wak.yhgfl.net (eca.yhgfl.net [89.207.208.91]) by smtp3.yhgfl.net (Sophos Email Appliance) with ESMTP id 4151F2053669_C344708F; Wed, 7 Jul 2010 09:21:12 +0000 (GMT) Received: from horbury.wakefield.sch.uk ([10.126.96.3]) by smtp3-wak.yhgfl.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id o679L0Bj014240; Wed, 7 Jul 2010 10:21:01 +0100 Received: from ITTEAM02 [172.16.96.253] by horbury.wakefield.sch.uk with ESMTP (SMTPD32-7.07) id A6F61FE00BC; Wed, 07 Jul 2010 10:20:54 +0100 From: "mcoyles" To: "'David Brodbeck'" References: <80AD3593-1170-4346-A4EE-4274085D6570@gull.us> In-Reply-To: Date: Wed, 7 Jul 2010 10:20:54 +0100 Message-ID: <001501cb1db5$b3db2240$1b9166c0$@wakefield.sch.uk> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AcsdnYpy7uuYtcNNTMyI78UuMsl9AgAGAXnw Content-Language: en-gb X-YHGfL-MailScanner-Information: Please contact the YHGfL Foundation for more information X-YHGfL-MailScanner-ID: o679L0Bj014240 X-YHGfL-MailScanner: Found to be clean X-YHGfL-MailScanner-MCPCheck: MCP-Clean, MCP-Checker (score=0, required 0.5) X-YHGfL-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.9, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90) X-YHGfL-MailScanner-From: mcoyles@horbury.wakefield.sch.uk X-Spam-Status: No Cc: freebsd-questions@freebsd.org Subject: RE: Samba gives "invalid PT_PHDR" after upgrading from 7.2-RELEASE to 7.3-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mcoyles@horbury.wakefield.sch.uk List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 09:21:16 -0000 > Today I tried using "portupgrade -R -f samba34" to rebuild samba and all > of its dependencies, but I'm still getting the same error. I'm a little > surprised that a minor version upgrade broke this so thoroughly. I went > back over the release notes to see if I missed any obvious caveats about > upgrading, but if I did, I'm not seeing it. David - have a look here... http://lists.freebsd.org/pipermail/freebsd-current/2010-April/016405.html Cheers! Marci From owner-freebsd-questions@FreeBSD.ORG Wed Jul 7 10:13:27 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45D631065670 for ; Wed, 7 Jul 2010 10:13:27 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [204.109.60.94]) by mx1.freebsd.org (Postfix) with ESMTP id 0A6448FC0C for ; Wed, 7 Jul 2010 10:13:26 +0000 (UTC) Received: from unknown (client-82-31-2-50.midd.adsl.virginmedia.com [82.31.2.50]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 4D04B5D42; Wed, 7 Jul 2010 10:13:19 +0000 (UTC) Date: Wed, 7 Jul 2010 11:13:21 +0100 From: Bruce Cran To: Bill Tillman Message-ID: <20100707111321.000056e9@unknown> In-Reply-To: <556061.93189.qm@web36505.mail.mud.yahoo.com> References: <556061.93189.qm@web36505.mail.mud.yahoo.com> X-Mailer: Claws Mail 3.7.4cvs1 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: /boot is full after running "make installkernel" on X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 10:13:27 -0000 On Tue, 6 Jul 2010 17:02:54 -0700 (PDT) Bill Tillman wrote: > Doesn't that seem odd that the "default" partition size for root > (512M) isn't quite big enough? It's not that odd: nobody has bothered to update the default partition sizes in sysinstall for a good few years, I suspect because most people use a custom layout and haven't noticed that the defaults are bad. I'm going to checkin a fix in a couple of days. > Should I make the partition size slightly larger (on future installs) > to eliminate this problem? Yes, you should do. I don't usually use the default partitioning because for years I've been creating a 1GB /, 4GB /var and 1GB /tmp and the defaults sysinstall chooses are no good. > As I understand it this is > not actually the solution the "in the know" folks recommend. I was > advised to just delete kernel.old. I'd consider that bad advice: the defaults sysinstall chooses are currently just wrong, and you should indeed be setting / to at least 1GB so you don't run out of space. The 'solution' of deleting kernel.old or not installing symbols is just a workaround and is certainly less than ideal. -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Wed Jul 7 10:35:56 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87659106564A for ; Wed, 7 Jul 2010 10:35:56 +0000 (UTC) (envelope-from pobox@verysmall.org) Received: from thing.verysmall.org (thing.verysmall.org [89.234.8.80]) by mx1.freebsd.org (Postfix) with ESMTP id 527C28FC0A for ; Wed, 7 Jul 2010 10:35:56 +0000 (UTC) Received: from [192.168.1.175] (mail.westlicht.com [217.116.183.50]) by thing.verysmall.org (Postfix) with ESMTPA id 7E2F21701A for ; Wed, 7 Jul 2010 11:35:18 +0100 (BST) From: Iv Ray Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Wed, 7 Jul 2010 12:35:54 +0200 Message-Id: <6AC0293D-2262-4E5C-9616-516B49664FBF@verysmall.org> To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v1081) X-Mailer: Apple Mail (2.1081) Subject: what to do when FreeBSD cannot do something? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 10:35:56 -0000 Hello everyone, I have been using FreeBSD since 4.x for web related applications (php, = Apache, PostgreSQL, Postfix, Cyrus IMAP, etc.), and while I am not an = expert, I feel quite comfortable. Lately I find myself in situations where I have I have to take care of = legacy Oracle (10g on Windows) and Interbase (6 on Linux) databases and = sometimes legacy OS which need to be run for some time in a virtual = machine, and I have difficulties to accomplish this with FreeBSD - no = Oracle port, no Interbase port and only VirtualBox support, which is a = bit unclear to me. What is the recommended parallel way for a person, who feels comfortable = with FreeBSD, when FreeBSD cannot do the job? - i. e. is it a good idea = to go towards Solaris, instead of Linux? Or rather go towards some sort = of Linux? Thank you, Iv= From owner-freebsd-questions@FreeBSD.ORG Wed Jul 7 11:12:12 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A52FC106564A for ; Wed, 7 Jul 2010 11:12:12 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 4BD028FC08 for ; Wed, 7 Jul 2010 11:12:12 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id AE53E3A3842; Wed, 7 Jul 2010 18:12:00 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= references:subject:subject:in-reply-to:from:from:message-id:date :date:received:received:received; s=selector1; t=1278501120; x= 1280315520; bh=hZS9kDY+vJESdPd8yOWyhwG7big/heU9uUDPzOGEQX4=; b=O u/nvgLZU+HvecrA1M7sCu6t9dvY0yRtaBSXq0D0ACNYrkYcCxKeA5fgFm7k8JxsS Oi//vF2Jp0fypRTZWItWLCzjOCgaXg/EEggaUbwFp24JlNoNoP7s/sxmky2rB5M2 L9gThtCNC0T349qw/PxbY0DNB5zeu8yrN0/SkZsDVw= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by localhost (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id YR5mQP2bdntL; Wed, 7 Jul 2010 18:12:00 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id 3D5323A3832; Wed, 7 Jul 2010 18:12:00 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.3/8.14.3/Submit) id o67BBnr5093119; Wed, 7 Jul 2010 18:11:49 +0700 (ICT) (envelope-from on) Date: Wed, 7 Jul 2010 18:11:49 +0700 (ICT) Message-Id: <201007071111.o67BBnr5093119@banyan.cs.ait.ac.th> From: Olivier Nicole To: pobox@verysmall.org In-reply-to: <6AC0293D-2262-4E5C-9616-516B49664FBF@verysmall.org> (message from Iv Ray on Wed, 7 Jul 2010 12:35:54 +0200) References: <6AC0293D-2262-4E5C-9616-516B49664FBF@verysmall.org> Cc: freebsd-questions@freebsd.org Subject: Re: what to do when FreeBSD cannot do something? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 11:12:12 -0000 Hi, > What is the recommended parallel way for a person, who feels > comfortable with FreeBSD, when FreeBSD cannot do the job? - i. e. is > it a good idea to go towards Solaris, instead of Linux? Or rather go > towards some sort of Linux? I see 2 questions in one. What virtulization system to use? Personnally I use ESXi from vmware What OS to use instead of FreeBSD? It depends on what is recommended for your application, what resources you have available around you, etc. For a similar problem I choosed Ubuntu because Ubuntu was well supported by the application and some colleagues had a decent knwoledge of ubuntu. Best regards, olivier From owner-freebsd-questions@FreeBSD.ORG Wed Jul 7 11:18:31 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E1164106566B for ; Wed, 7 Jul 2010 11:18:31 +0000 (UTC) (envelope-from freebsd.user@seibercom.net) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 89E8F8FC19 for ; Wed, 7 Jul 2010 11:18:31 +0000 (UTC) Received: by vws6 with SMTP id 6so9450404vws.13 for ; Wed, 07 Jul 2010 04:18:22 -0700 (PDT) Received: by 10.220.129.13 with SMTP id m13mr3323726vcs.272.1278501501910; Wed, 07 Jul 2010 04:18:21 -0700 (PDT) Received: from scorpio.seibercom.net (c-67-189-160-65.hsd1.ny.comcast.net [67.189.160.65]) by mx.google.com with ESMTPS id h17sm7398486vcr.27.2010.07.07.04.18.20 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 07 Jul 2010 04:18:21 -0700 (PDT) Received: from scorpio (zeus [192.168.1.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: FreeBSD.user@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3486CE54869 for ; Wed, 7 Jul 2010 07:18:19 -0400 (EDT) Date: Wed, 7 Jul 2010 07:18:18 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20100707071818.11dbc4ea@scorpio> In-Reply-To: <20100707111321.000056e9@unknown> References: <556061.93189.qm@web36505.mail.mud.yahoo.com> <20100707111321.000056e9@unknown> Organization: seibercom.net X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd8.1) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAG1BMVEX3/uPVnZf2/v9ejGkqHB74++H///+cHCT3m6cgqYvfAAACbElEQVQ4jWXTQW/bIBQAYJLJuRMn8TVCss9zTdrrXJ6bHe1Ej/bossF9EpJ3nbapf3sP8JxOQ4qV8OU9HvjBROWcYNlKHtxlQ1/huBaOBiMwQtgHhbokMLIT76Acps5hvy61+6WsjkCZzNEW0+fcQ7Nl5uoPCegjjjhN5/MEABd89k9hXkQoX6cwPIDKCt8tYG5wpmdrxAyuolTPqpiVoEpVCWvl6e00RAD4JBJQnO4lvv0O4Cnd3WUGevYNFohxFYAy7jCCtW39LaQK8BgDAgiHVinVJlCiFKlcqgEHfwb1EuG+DwFGMO3oCIuJIEYoa8KJECBB+UBldgm0MQmEGz7GQr8XYRPKzYNO1zZ8mgdAu4BG5Ke/4KFboM8458UScViAAvYD93OAsu+Bc3zxCU7ZAjT74+dQv9K7oO0d1wuscop48Pc50O5bcVwgGzh/mXzaizJuAWERh8k3eaxKmxu4kV1p2XOEg3i3c8M+EKR93P0D1KATpC55vMHaGqFf5f/AwhlrhHgg8DTezopt6I3o3Qx4q4q6YaPxK8RxcClXeFGhTTS++QR6TS/oBs7l4WhzuNMubZG6hIBkF4qqZVdWczIqSrjKVF/i4o26IP2oElBGFy5CXKSnf6UWDTC6zKSqoAvzsakjjBvdzLKnmxdhY8eRsX7VSCUBdgD1hVJpx6y2OOS1DNDILYmqdWUJ+oHvd0rRvAqX5kpxQMR6yxHzPV6VlPFyWE7LKc36keNQI64gLP8Ybgtmg+zYuBl4fuI8VqW2RqDGE8Uzu7GxGa803whDdxx3bSZbRhfQUSxvmnpLZWpRFqHz7v8AvsBe0S1zv9UAAAAASUVORK5CYII= Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: /boot is full after running "make installkernel" on X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 11:18:32 -0000 On Wed, 7 Jul 2010 11:13:21 +0100 Bruce Cran articulated: > I'd consider that bad advice: the defaults sysinstall chooses are > currently just wrong, and you should indeed be setting / to at least > 1GB so you don't run out of space. The 'solution' of deleting > kernel.old or not installing symbols is just a workaround and is > certainly less than ideal. I also ran out of space. I decided that a minimum of 2GB was the safest choice. It would be nice if the authors changed the default settings in the soon to be released 8.1 version so as to nullify this phenomena. -- Jerry ✌ FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ The less a statesman amounts to, the more he loves the flag. Kin Hubbard From owner-freebsd-questions@FreeBSD.ORG Wed Jul 7 12:19:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BA92106564A for ; Wed, 7 Jul 2010 12:19:49 +0000 (UTC) (envelope-from carla@weshipit.com.br) Received: from ns1.weshipit.com (ns1.weshipit.com [174.143.170.131]) by mx1.freebsd.org (Postfix) with ESMTP id 1D1C48FC13 for ; Wed, 7 Jul 2010 12:19:48 +0000 (UTC) Received: from apache by ns1.weshipit.com with local (Exim 4.69) (envelope-from ) id 1OWTbP-0000ae-8t for freebsd-questions@freebsd.org; Wed, 07 Jul 2010 12:19:47 +0000 To: freebsd-questions@freebsd.org X-PHP-Script: www.weshipit.com/customer-care/cron_sendengine.php for 174.143.171.200 Date: Wed, 7 Jul 2010 12:19:47 +0000 X-Sender: carla@weshipit.com.br Errors-To: carla@weshipit.com.br From: Carla Message-ID: <966c540441cc23db1d89cecd41e3cc14@www.weshipit.com> X-Priority: 3 X-Mailer: Weshipit.com X-Mailer-MsgId: ZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmc= X-Mailer-CSID: NjBfNDY= Content-Transfer-Encoding: 8bit MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Selecionamos os 5 Melhores Celulares X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Carla List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 12:19:49 -0000 Seleção de Celulares da WeShipIt! [1]E2 - Celular c/ 2 Chips [2]E3 - Celular c/ TV [3]L88 - Celular c/ Wifi [4]W99+ Celular c/ Windows [5]X10 - Celular c/ GPS Apenas R$70,00 Apenas R$87,00 Apenas R$122,00 Apenas R$239,00 Apenas R$271,00 Equipe WeShipIt, E-mail: [6]vendas@weshipit.com.br MSN: vendas@weshipit.com.br [7]www.weshipit.com.br --- References 1. http://www.weshipit.com.br/celulares-da-china/e2-dual-sim-quadband-black-red-br.html 2. http://www.weshipit.com.br/celulares-da-china/e3-tv-dual-sim-quadband.html 3. http://www.weshipit.com.br/celulares-da-china/celular-l88-iphone-c-wifi-2-chips-quadriband.html 4. http://www.weshipit.com.br/celulares-da-china/w99-win-mobile-wifi-quadband-br.html 5. http://www.weshipit.com.br/celulares-da-china/celular-gps-x10-c-tv-wifi-gps-flash-2-chips-quadriband.html 6. mailto:vendas@weshipit.com.br 7. http://www.weshipit.com.br/ From owner-freebsd-questions@FreeBSD.ORG Wed Jul 7 12:47:23 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E12E1065672 for ; Wed, 7 Jul 2010 12:47:23 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [204.109.60.94]) by mx1.freebsd.org (Postfix) with ESMTP id 5120A8FC29 for ; Wed, 7 Jul 2010 12:47:23 +0000 (UTC) Received: from unknown (client-82-31-2-50.midd.adsl.virginmedia.com [82.31.2.50]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id E8C4A5D42; Wed, 7 Jul 2010 12:47:15 +0000 (UTC) Date: Wed, 7 Jul 2010 13:47:18 +0100 From: Bruce Cran To: freebsd-questions@freebsd.org Message-ID: <20100707134718.00003d46@unknown> In-Reply-To: <20100707071818.11dbc4ea@scorpio> References: <556061.93189.qm@web36505.mail.mud.yahoo.com> <20100707111321.000056e9@unknown> <20100707071818.11dbc4ea@scorpio> X-Mailer: Claws Mail 3.7.4cvs1 (GTK+ 2.16.0; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd.user@seibercom.net Subject: Re: /boot is full after running "make installkernel" on X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 12:47:23 -0000 On Wed, 7 Jul 2010 07:18:18 -0400 Jerry wrote: > I also ran out of space. I decided that a minimum of 2GB was the > safest choice. It would be nice if the authors changed the default > settings in the soon to be released 8.1 version so as to nullify this > phenomena. I've just committed the fix to head/-current, but considering 8.1-RC2 has been released I'm not even going to ask for permission to get it in for 8.1-RELEASE - it's just too late. -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Wed Jul 7 13:06:12 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D7C231065672 for ; Wed, 7 Jul 2010 13:06:12 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9E9758FC25 for ; Wed, 7 Jul 2010 13:06:12 +0000 (UTC) Received: by iwn35 with SMTP id 35so6626815iwn.13 for ; Wed, 07 Jul 2010 06:06:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=wOk8hIuqwvl3/KNBnATbhTyw+JbXzgdCmy8zQ/MNUE8=; b=pj2MQhT+KCJh0/RWV7d2dCet+CyXYtmAFbzGd9tBbHUKmcRVN5sGNb5H+qBAix7HWB Y4jdJC0FpQSS0bYtds6tV0yVeuUoGUGT3b668a6rUg8ee8jB2cngLpu8KwE3UWMv+XTe DmYi3zE44DpAPzDkO4qwZGynihj+xEMZzUUPM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=v0qLxlNao0dZ3Hn3WpWwhtH9dMU8QfAIPgYMlGu8GFN/8q9NT4s68yzIKUDppSBQgk UB0uUlIaSkHoEQu1DW/E35yxiOMIZo3LUtWcbiT9VEtYSrYL4hzIkovM2vXSoqUAWd6l iKxb0bxD4XKAgXJO8H8HcgVbYFBRgOh4Kjo84= MIME-Version: 1.0 Received: by 10.231.80.213 with SMTP id u21mr5773048ibk.173.1278507971810; Wed, 07 Jul 2010 06:06:11 -0700 (PDT) Received: by 10.231.188.228 with HTTP; Wed, 7 Jul 2010 06:06:11 -0700 (PDT) In-Reply-To: <20100707134718.00003d46@unknown> References: <556061.93189.qm@web36505.mail.mud.yahoo.com> <20100707111321.000056e9@unknown> <20100707071818.11dbc4ea@scorpio> <20100707134718.00003d46@unknown> Date: Wed, 7 Jul 2010 08:06:11 -0500 Message-ID: From: Brandon Gooch To: Bruce Cran Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org, freebsd.user@seibercom.net Subject: Re: /boot is full after running "make installkernel" on X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 13:06:12 -0000 On Wed, Jul 7, 2010 at 7:47 AM, Bruce Cran wrote: > On Wed, 7 Jul 2010 07:18:18 -0400 > Jerry wrote: > >> I also ran out of space. I decided that a minimum of 2GB was the >> safest choice. It would be nice if the authors changed the default >> settings in the soon to be released 8.1 version so as to nullify this >> phenomena. > > I've just committed the fix to head/-current, but considering 8.1-RC2 > has been released I'm not even going to ask for permission to get it in > for 8.1-RELEASE - it's just too late. > > -- > Bruce Cran Thanks Bruce. This is a welcome update despite not making it in to the 8.1-RELEASE. -Brandon From owner-freebsd-questions@FreeBSD.ORG Wed Jul 7 13:22:28 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 095D5106566C for ; Wed, 7 Jul 2010 13:22:28 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id C38128FC0A for ; Wed, 7 Jul 2010 13:22:27 +0000 (UTC) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id o67DHLVf064768; Wed, 7 Jul 2010 09:17:21 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id o67DHBi4064767; Wed, 7 Jul 2010 09:17:11 -0400 (EDT) (envelope-from jerrymc) Date: Wed, 7 Jul 2010 09:17:11 -0400 From: Jerry McAllister To: Bill Tillman Message-ID: <20100707131711.GB64676@gizmo.acns.msu.edu> References: <556061.93189.qm@web36505.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <556061.93189.qm@web36505.mail.mud.yahoo.com> User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: /boot is full after running "make installkernel" on X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 13:22:28 -0000 On Tue, Jul 06, 2010 at 05:02:54PM -0700, Bill Tillman wrote: > > Thanks guys. > > :-) > > Doesn't that seem odd that the "default" partition size for root > (512M) isn't quite big enough? Things change slowly. I think only a short while ago the default was 256 MB or even 128 MB. > > Should I make the partition size slightly larger (on future installs) > to eliminate this problem? Of course, make it whatever size you need and can afford. ////jerry > > Ed > > > ------------------------------ >   > I had the same problem and since my drives are large I just started making all my new builds with / set for 1G. As I understand it this is not actually the solution the "in the know" folks recommend. I was advised to just delete kernel.old. Of course this will work but what about when you might need kernel.old to get you out of a jamb or just want to keep it for nostalgia. >   > I think I'm finally at the point where I will stop doing make buildworlds unless absolutely needed. I've been keen on doing this regularly but I really should adopt the policy of if it ain't broken don't fix it. > > > > _______________________________________________ > 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 Jul 7 13:49:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78CBF1065673 for ; Wed, 7 Jul 2010 13:49:54 +0000 (UTC) (envelope-from roberthuff@rcn.com) Received: from smtp02.lnh.mail.rcn.net (smtp02.lnh.mail.rcn.net [207.172.157.102]) by mx1.freebsd.org (Postfix) with ESMTP id 3DB668FC0A for ; Wed, 7 Jul 2010 13:49:53 +0000 (UTC) Received: from mr08.lnh.mail.rcn.net ([207.172.157.28]) by smtp02.lnh.mail.rcn.net with ESMTP; 07 Jul 2010 09:49:53 -0400 Received: from mx04.lnh.mail.rcn.net (mx04.lnh.mail.rcn.net [207.172.157.54]) by mr08.lnh.mail.rcn.net (MOS 3.10.8-GA) with ESMTP id LTR22901; Wed, 7 Jul 2010 09:49:53 -0400 (EDT) Received: from 209-6-91-204.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com (HELO jerusalem.litteratus.org.litteratus.org) ([209.6.91.204]) by smtp04.lnh.mail.rcn.net with ESMTP; 07 Jul 2010 09:49:50 -0400 From: Robert Huff MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19508.34304.643709.54536@jerusalem.litteratus.org> Date: Wed, 7 Jul 2010 09:49:52 -0400 To: freebsd-questions@freebsd.org In-Reply-To: <20100707131711.GB64676@gizmo.acns.msu.edu> References: <556061.93189.qm@web36505.mail.mud.yahoo.com> <20100707131711.GB64676@gizmo.acns.msu.edu> X-Mailer: VM 7.17 under 21.5 (beta28) "fuki" XEmacs Lucid X-Junkmail-Whitelist: YES (by domain whitelist at mr08.lnh.mail.rcn.net) Subject: Re: /boot is full after running "make installkernel" on X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 13:49:54 -0000 Jerry McAllister writes: > Things change slowly. > I think only a short while ago the default was 256 MB or even 128 > MB. I haven't checked the logs, but I think it would have been more than a "short" while. Consider: huff@>> du -s /boot/kernel 225008 /boot/kernel huff@>> du -s /lib 24704 /lib (This is on -CURRENT amd64, though I don't think i386 would be that much smaller.) Never mind the contents of /etc, /temp, possibly /root, and anything else that gets defaulted under /; 256 mbytes just don't get it. Robert Huff From owner-freebsd-questions@FreeBSD.ORG Wed Jul 7 15:00:51 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A7301065670 for ; Wed, 7 Jul 2010 15:00:51 +0000 (UTC) (envelope-from pobox@verysmall.org) Received: from thing.verysmall.org (thing.verysmall.org [89.234.8.80]) by mx1.freebsd.org (Postfix) with ESMTP id E77C98FC08 for ; Wed, 7 Jul 2010 15:00:50 +0000 (UTC) Received: from [192.168.1.175] (mail.westlicht.com [217.116.183.50]) by thing.verysmall.org (Postfix) with ESMTPA id EC9A81701A; Wed, 7 Jul 2010 16:00:12 +0100 (BST) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Iv Ray In-Reply-To: <201007071111.o67BBnr5093119@banyan.cs.ait.ac.th> Date: Wed, 7 Jul 2010 17:00:48 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <8F676AEB-5188-4F41-A971-C68293AD54F3@verysmall.org> References: <6AC0293D-2262-4E5C-9616-516B49664FBF@verysmall.org> <201007071111.o67BBnr5093119@banyan.cs.ait.ac.th> To: Olivier Nicole X-Mailer: Apple Mail (2.1081) Cc: freebsd-questions@freebsd.org Subject: Re: what to do when FreeBSD cannot do something? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 15:00:51 -0000 > What virtulization system to use? Personnally I use ESXi from vmware This was a great tip, thank you. I wasn't aware that ESXi is a bare = metal and free. > What OS to use instead of FreeBSD? It depends on what is recommended > for your application, what resources you have available around you, > etc. For a similar problem I choosed Ubuntu because Ubuntu was well > supported by the application and some colleagues had a decent > knwoledge of ubuntu. I am not fanatic about FreeBSD, but I feel very comfortable with it and = I resist change. However your ESXi tip would allow me to run ESXi on = bare metal and virtualize simple installations of the "unpleasant" = legacy OSes without making my fingers too dirty. Thank you very much, Iv= From owner-freebsd-questions@FreeBSD.ORG Wed Jul 7 15:07:54 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC1581065673 for ; Wed, 7 Jul 2010 15:07:54 +0000 (UTC) (envelope-from parecer2@hotmail.com) Received: from snt0-omc4-s40.snt0.hotmail.com (snt0-omc4-s40.snt0.hotmail.com [65.54.51.91]) by mx1.freebsd.org (Postfix) with ESMTP id B3B398FC13 for ; Wed, 7 Jul 2010 15:07:54 +0000 (UTC) Received: from SNT106-DS23 ([65.55.90.200]) by snt0-omc4-s40.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 7 Jul 2010 07:55:53 -0700 X-Originating-IP: [112.205.173.202] X-Originating-Email: [parecer2@hotmail.com] Message-ID: From: Oliver Decker To: Date: Wed, 07 Jul 2010 15:55:50 +0100 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8064.206 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8064.206 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: binary X-OriginalArrivalTime: 07 Jul 2010 14:55:53.0977 (UTC) FILETIME=[7F8B3690:01CB1DE4] Cc: Subject: Job offer. Position ID 1278514547 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 15:07:54 -0000 Our company Diamond Sky, which is dynamically developing with every passing year, is proud to offer you the convenience of great\perfect perspectives on the prospective position of a service-manager. We are acting as concierge services in 7 highly-developed countries of the world. Our managers provide assistance in different spheres of business and leisure such as: - booking of air tickets - hotel bookings - car renting - search, hire and design of conference halls - search, purchase and delivery of presents As a result of our managers` assistance our clients are exempt from spending their personal and business time. Due to the fact that the services we supply are in great demand all over the world, we expand the stuff and we invite you to become a participant in the contest for the position of the Service MANAGER and to become an employee of our company. MAJOR DUTIES AND RESPONSIBILITIES of the service-manager include: -work with clients -processing of orders of our clients -processing and updating of our database of services Position Requirements: - efficiency in processing of orders - responsibility in carrying out your duties - good communication skills We are constantly looking for bright individuals, at all levels, to join our winning team, across all our concierge services divisions. At Diamond Sky, we distinguish ourselves as a high performance organization with hard-working people who provide quality service to our customers. We believe that one of the most important functions of management is to provide employees with the advantage to develop their talents to the full. The benefits are job satisfaction for our employees enabling them to make a positive contribution to the success of the company. If this position seems to be interesting to you, you fit the requirements and would like to become a part of our company send your resume and your contact phone number to vivan-lopes@diamond-sky.net and we will contact you. From owner-freebsd-questions@FreeBSD.ORG Wed Jul 7 16:38:29 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0E6331065673 for ; Wed, 7 Jul 2010 16:38:29 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh2.interactivevillages.com (wh2.interactivevillages.com [75.125.250.34]) by mx1.freebsd.org (Postfix) with ESMTP id CB0ED8FC0A for ; Wed, 7 Jul 2010 16:38:28 +0000 (UTC) Received: from 174-21-99-21.tukw.qwest.net ([174.21.99.21] helo=_HOSTNAME_) by wh2.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1OWXTX-0003rq-Hb for freebsd-questions@freebsd.org; Wed, 07 Jul 2010 09:27:56 -0700 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Wed, 07 Jul 2010 09:38:23 -0700 Date: Wed, 7 Jul 2010 09:38:23 -0700 From: Chip Camden To: freebsd-questions@freebsd.org Message-ID: <20100707163823.GC6881@libertas.local.camdensoftware.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <4C342EEC.7040404@esiee.fr> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="iFRdW5/EC4oqxDHL" Content-Disposition: inline In-Reply-To: <4C342EEC.7040404@esiee.fr> User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh2.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com Subject: Re: Get server's internal temperature from ACPI ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 16:38:29 -0000 --iFRdW5/EC4oqxDHL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Frank Bonnet on Wednesday, 07 July 2010: > Hello >=20 > Is there an utility to get the internal temperature from a HP Proliant=20 > server with ACPI ??? >=20 > Thank you >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o= rg" sysctl -n hw.acpi.thermal.tz0.temperature I'm not sure if the Proliant has an Intel Core, but if it does then you can get per-cpu temperature info: kld coretemp for i in 0 1 2 3; sysctl -n dev.cpu.$i.temperature --=20 Sterling (Chip) Camden | sterling@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com | http://chipsquips= .com --iFRdW5/EC4oqxDHL Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (FreeBSD) iQEcBAEBAgAGBQJMNK1/AAoJEIpckszW26+RO98H+QEu1Xb7Ms3N8gRW3nIXaVqT 4jKFye1DZZKMrAqDgHKOd3NyJUaDZeWbsroA26kC0/flNKlv/d4vdi9BQED6Z/qv ZlsxazRka+gp86aYtIf9wmVAt5PlSg0MEH7s6skhV+pYL8o/WmYu7y8M/poUZX/W V5DDUkcdEnaU6nkIyfkkBdGtKf1lSbdsDiVsOzWiZz1HSM/hJnt5JqGSV2cP1HPV AiVe8KHUjFz99amhaPXQnhFYmTPPn0n/ONt2EMKSuvnLHAUJl14Nu1lYhSUoJdGb Z6kmqlzLwfYOQtvci9dh/I7Cs0OV96EDjYJfQeY0jX27TAku/RKsYbieLN57CsI= =R1Ot -----END PGP SIGNATURE----- --iFRdW5/EC4oqxDHL-- From owner-freebsd-questions@FreeBSD.ORG Wed Jul 7 17:12:15 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B02C1065673 for ; Wed, 7 Jul 2010 17:12:15 +0000 (UTC) (envelope-from gull@gull.us) Received: from mail6.sea5.speakeasy.net (mail6.sea5.speakeasy.net [69.17.117.50]) by mx1.freebsd.org (Postfix) with ESMTP id 4ECA98FC1B for ; Wed, 7 Jul 2010 17:12:14 +0000 (UTC) Received: (qmail 26288 invoked from network); 7 Jul 2010 17:12:14 -0000 Received: from dsl081-163-112.sea1.dsl.speakeasy.net (HELO ringbill.gull.us) ([64.81.163.112]) (envelope-sender ) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 7 Jul 2010 17:12:14 -0000 Received: from localhost ([127.0.0.1] helo=www.gull.us) by ringbill.gull.us with esmtp (Exim 4.71 (FreeBSD)) (envelope-from ) id 1OWYAN-0008hA-8m; Wed, 07 Jul 2010 10:12:12 -0700 Received: from d-69-91-159-247.dhcp4.washington.edu ([69.91.159.247]) (SquirrelMail authenticated user gull) by www.gull.us with HTTP; Wed, 7 Jul 2010 10:12:12 -0700 Message-ID: <6341639666e4d0c65cd1b29a89e64beb.squirrel@www.gull.us> In-Reply-To: <001501cb1db5$b3db2240$1b9166c0$@wakefield.sch.uk> References: <80AD3593-1170-4346-A4EE-4274085D6570@gull.us> <001501cb1db5$b3db2240$1b9166c0$@wakefield.sch.uk> Date: Wed, 7 Jul 2010 10:12:12 -0700 From: "David Brodbeck" To: mcoyles@horbury.wakefield.sch.uk User-Agent: SquirrelMail/1.4.20 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: 'David Brodbeck' , freebsd-questions@freebsd.org Subject: RE: Samba gives "invalid PT_PHDR" after upgrading from 7.2-RELEASE to 7.3-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 17:12:15 -0000 On Wed, July 7, 2010 2:20 am, mcoyles wrote: >> Today I tried using "portupgrade -R -f samba34" to rebuild samba and all >> of its dependencies, but I'm still getting the same error. I'm a little >> surprised that a minor version upgrade broke this so thoroughly. I went >> back over the release notes to see if I missed any obvious caveats about >> upgrading, but if I did, I'm not seeing it. > > David - have a look here... > http://lists.freebsd.org/pipermail/freebsd-current/2010-April/016405.html OK, I see. It looks like rtld is part of world, not a port, so then the question becomes, why didn't freebsd-update update it for me? Is there a way I can force a binary upgrade, or do I need to download the source and rebuild things that way? From owner-freebsd-questions@FreeBSD.ORG Wed Jul 7 18:47:03 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0963B1065672 for ; Wed, 7 Jul 2010 18:47:03 +0000 (UTC) (envelope-from eingorn777@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 91E518FC14 for ; Wed, 7 Jul 2010 18:47:02 +0000 (UTC) Received: by fxm13 with SMTP id 13so6330639fxm.13 for ; Wed, 07 Jul 2010 11:46:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=gvGbF8IKUsQODsxdGoYZpirB/fxqr/YUz4Wzs6bq570=; b=vaLjQ+idHh1HC9DSbj/JMOsiKUngx8TV7XFOkhtzg+Lx4TAfQdEPripe4BZdyo50v5 bY8hL2YJYW728rFb9VuJnOy+MvQAkBsLUR6y7L6d5ZbxWshZ8o99t+PWS7EmdcwMVM2o 8BCynEsvNQT94XytLRRanBFqkD2L6Asa41bQ0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=O0Gnq27xtSnL+tJG6nqlUHAZ1R7JfASrNKatgutnEWjrm8pIH9pGTsRmXnHLswvJFV EXCg1Oy1uefkrSLS6OXW6XthvEHUrnVOavF8xJyl+aNvVB7t5NwayMVsnaDvxRfLp2pl KRjXfOQawlaBn0BkI3jh5ZWN9L85R/pJowdWY= MIME-Version: 1.0 Received: by 10.103.169.12 with SMTP id w12mr1779601muo.65.1278526607860; Wed, 07 Jul 2010 11:16:47 -0700 (PDT) Received: by 10.231.35.133 with HTTP; Wed, 7 Jul 2010 11:16:47 -0700 (PDT) Date: Wed, 7 Jul 2010 18:16:47 +0000 Message-ID: From: Dmitry Lunts To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: debugfs&FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 18:47:03 -0000 Hello,All! There is debugfs program dealing with ext2/ext3/ext4 filesystems. Is there some tool in FreeBSD with functionality analogous to debugfs which can operate on UFS2? Could anyone give me a hint? The thing is that recently I found out (thru smartctl) several bad blocks on UFS2 partition. The problem is how to discover which file(s) they belong to. TIA --=20 =D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC, =D0=94=D0=BC= =D0=B8=D1=82=D1=80=D0=B8=D0=B9 Best regards, Dmitry From owner-freebsd-questions@FreeBSD.ORG Wed Jul 7 19:24:01 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A34D11065678 for ; Wed, 7 Jul 2010 19:24:01 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 35F6D8FC17 for ; Wed, 7 Jul 2010 19:24:00 +0000 (UTC) Received: by wyb34 with SMTP id 34so4892944wyb.13 for ; Wed, 07 Jul 2010 12:23:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=6KQD1OsFjHArk7f/M8br4OCiL5M15zKBdZnR9KXVuc8=; b=FSL0gfWrm3oSRNLYzDwY/HTlPNHI92FLA/F6OkDXcl0vYfT+Xkg23kYrfopBikb3Kz u2sC1QvSaX0bF3RQ9Kr3UiHbJaYPhscnK2ODvbIRdg+ro1/2Gp5EhyjK/oXNpWgKgpZL dmFnZnvaNiGTXtZyiktXIQmymigo43hVBK6GM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=dbFrheJwwgS5VknYyFyL78QGLLW75X9F+NPqnriIApEBa3RSu90Fp0LfrOjzzS80vG 1Fc4rx6HRoEKkqNNLv+sMqP36M2WeLaU8Sv08YLhu5T6PxjRj7IGH/VrYpEb3YtjOKkb 9l03OPbi7z0XsPS2bTdPXd6ANRV//m1BnBDpA= Received: by 10.227.152.80 with SMTP id f16mr5380280wbw.205.1278530635960; Wed, 07 Jul 2010 12:23:55 -0700 (PDT) Received: from localhost (server51262.uk2net.com [83.170.92.9]) by mx.google.com with ESMTPS id i25sm45009260wbi.10.2010.07.07.12.23.54 (version=SSLv3 cipher=RC4-MD5); Wed, 07 Jul 2010 12:23:55 -0700 (PDT) From: Anonymous To: Dmitry Lunts References: Date: Wed, 07 Jul 2010 23:23:50 +0400 In-Reply-To: (Dmitry Lunts's message of "Wed, 7 Jul 2010 18:16:47 +0000") Message-ID: <86fwzv3xkp.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: debugfs&FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 19:24:01 -0000 Dmitry Lunts writes: > Hello,All! > There is debugfs program dealing with ext2/ext3/ext4 filesystems. > Is there some tool in FreeBSD with functionality analogous to debugfs > which can operate on UFS2? Not sure but fsdb(8) may help. > Could anyone give me a hint? > The thing is that recently I found out (thru smartctl) > several bad blocks on UFS2 partition. > The problem is how to discover which file(s) they belong to. > TIA From owner-freebsd-questions@FreeBSD.ORG Wed Jul 7 20:30:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9E00A106564A for ; Wed, 7 Jul 2010 20:30:49 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from smtp-vbr2.xs4all.nl (smtp-vbr2.xs4all.nl [194.109.24.22]) by mx1.freebsd.org (Postfix) with ESMTP id 35E668FC14 for ; Wed, 7 Jul 2010 20:30:48 +0000 (UTC) Received: from yokozuna.lan (213-84-73-82.adsl.xs4all.nl [80.101.78.208]) by smtp-vbr2.xs4all.nl (8.13.8/8.13.8) with ESMTP id o67KUg0t004591 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 7 Jul 2010 22:30:42 +0200 (CEST) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan (yokozuna.lan [IPv6:::1]) by yokozuna.lan (8.14.4/8.14.4) with ESMTP id o67KUfZH006671; Wed, 7 Jul 2010 22:30:41 +0200 (CEST) (envelope-from mbeis@xs4all.nl) Date: Wed, 7 Jul 2010 22:30:41 +0200 (CEST) From: Marco Beishuizen Sender: marco@yokozuna.lan To: Dan Nelson In-Reply-To: <20100706053738.GH50409@dan.emsphone.com> Message-ID: References: <87sk3yv4yq.fsf@kobe.laptop> <20100706053738.GH50409@dan.emsphone.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by XS4ALL Virus Scanner Cc: Giorgos Keramidas , freebsd-questions@freebsd.org Subject: Re: fetchmail certificate verification messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Marco Beishuizen List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 20:30:49 -0000 On Tue, 6 Jul 2010, Dan Nelson wrote: > CA Roots are also self-signed, btw :) Addtrust is a valid CA Root, and is > the root for some certificates signed by Network Solutions and Comodo (and > probably others). Marco, the fetchmail manpage mentions a --sslcertfile > option; try adding "--sslcertfile /etc/ssl/cert.pem" to force fetchmail to > use the ca_root_nss file you installed previously. IMHO openssl should > automatically consult that file, but apparently it doesn't. Where do I add the "--sslcertfile" option? I do have a /etc/ssl/cert.pem file and fetchmail is started at boot-time (in rc.conf). The starting script of fetchmail in /usr/local/etc/rc.d/ isn't something to be changed I think. Or do I add the option in the .fetchmailrc file? Marco -- A lady is one who never shows her underwear unintentionally. -- Lillian Day From owner-freebsd-questions@FreeBSD.ORG Wed Jul 7 20:55:58 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFFFD1065674 for ; Wed, 7 Jul 2010 20:55:58 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id 7B5938FC1B for ; Wed, 7 Jul 2010 20:55:58 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id o67Ktqww055753 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 7 Jul 2010 15:55:53 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.4) with ESMTP id o67KtqQZ045593 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 7 Jul 2010 15:55:52 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.3/Submit) id o67KtqIX045591; Wed, 7 Jul 2010 15:55:52 -0500 (CDT) (envelope-from dan) Date: Wed, 7 Jul 2010 15:55:52 -0500 From: Dan Nelson To: Marco Beishuizen Message-ID: <20100707205551.GB57389@dan.emsphone.com> References: <87sk3yv4yq.fsf@kobe.laptop> <20100706053738.GH50409@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 8.1-PRERELEASE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.96 at email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Wed, 07 Jul 2010 15:55:53 -0500 (CDT) X-Scanned-By: MIMEDefang 2.45 Cc: Giorgos Keramidas , freebsd-questions@freebsd.org Subject: Re: fetchmail certificate verification messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 20:55:58 -0000 In the last episode (Jul 07), Marco Beishuizen said: > On Tue, 6 Jul 2010, Dan Nelson wrote: > > > CA Roots are also self-signed, btw :) Addtrust is a valid CA Root, and is > > the root for some certificates signed by Network Solutions and Comodo (and > > probably others). Marco, the fetchmail manpage mentions a --sslcertfile > > option; try adding "--sslcertfile /etc/ssl/cert.pem" to force fetchmail to > > use the ca_root_nss file you installed previously. IMHO openssl should > > automatically consult that file, but apparently it doesn't. > > Where do I add the "--sslcertfile" option? I do have a /etc/ssl/cert.pem > file and fetchmail is started at boot-time (in rc.conf). The starting > script of fetchmail in /usr/local/etc/rc.d/ isn't something to be changed > I think. Or do I add the option in the .fetchmailrc file? It's a commandline option, and from reading the manpage, apparently can be added to a fetchmailrc: Almost all options have a corresponding keyword which can be used to declare them in a .fetchmailrc file. [...] --sslcertfile (Keyword: sslcertfile, since v6.3.17) Sets the file fetchmail uses to look up local certificates. If you wanted to add it to the commandline, you could put this in your /etc/rc.conf: fetchmail_flags="--sslcertfile" -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Wed Jul 7 21:26:37 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4CD9106566C for ; Wed, 7 Jul 2010 21:26:37 +0000 (UTC) (envelope-from lists@rhavenn.net) Received: from smtp134.dfw.emailsrvr.com (smtp134.dfw.emailsrvr.com [67.192.241.134]) by mx1.freebsd.org (Postfix) with ESMTP id AD2888FC14 for ; Wed, 7 Jul 2010 21:26:37 +0000 (UTC) Received: from relay23.relay.dfw.mlsrvr.com (localhost [127.0.0.1]) by relay23.relay.dfw.mlsrvr.com (SMTP Server) with ESMTP id 10E9D1568507 for ; Wed, 7 Jul 2010 17:26:37 -0400 (EDT) Received: by relay23.relay.dfw.mlsrvr.com (Authenticated sender: rhavenn-AT-rhavenn.net) with ESMTPSA id DE2C915683D7 for ; Wed, 7 Jul 2010 17:26:36 -0400 (EDT) Received: from alucard.rhavenn.local (alucard [127.0.0.1]) by alucard.rhavenn.local (Postfix) with ESMTP id 846133F2E for ; Wed, 7 Jul 2010 13:24:53 -0800 (AKDT) Received: (from rhavenn@localhost) by alucard.rhavenn.local (8.14.3/8.14.3/Submit) id o67LOrWF004181 for freebsd-questions@freebsd.org; Wed, 7 Jul 2010 13:24:53 -0800 (AKDT) (envelope-from lists@rhavenn.net) X-Authentication-Warning: alucard.rhavenn.local: rhavenn set sender to lists@rhavenn.net using -f Date: Wed, 7 Jul 2010 13:24:53 -0800 From: Henrik Hudson To: freebsd-questions@freebsd.org Message-ID: <20100707212453.GA4161@alucard.int.rhavenn.net> References: <6AC0293D-2262-4E5C-9616-516B49664FBF@verysmall.org> <201007071111.o67BBnr5093119@banyan.cs.ait.ac.th> <8F676AEB-5188-4F41-A971-C68293AD54F3@verysmall.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8F676AEB-5188-4F41-A971-C68293AD54F3@verysmall.org> User-Agent: Mutt/1.5.20 (2009-06-14) Subject: Re: what to do when FreeBSD cannot do something? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 21:26:37 -0000 On Wed, 07 Jul 2010, Iv Ray wrote: > > What virtulization system to use? Personnally I use ESXi from vmware > > This was a great tip, thank you. I wasn't aware that ESXi is a bare metal and free. > > > What OS to use instead of FreeBSD? It depends on what is recommended > > for your application, what resources you have available around you, > > etc. For a similar problem I choosed Ubuntu because Ubuntu was well > > supported by the application and some colleagues had a decent > > knwoledge of ubuntu. > > I am not fanatic about FreeBSD, but I feel very comfortable with it and I resist change. However your ESXi tip would allow me to run ESXi on bare metal and virtualize simple installations of the "unpleasant" legacy OSes without making my fingers too dirty. > > Thank you very much, One caveat is that ESX / ESXi are very picky about their hardware and pretty much won't run on anything but server class devices (mobo, NICs and CPU are the big ones). VMware still has their VMware Server (software) solution, but it's slowly being phased out. Also, it's against the EULA to use ESXi for commercial / reseller purposes and ESX isn't cheap. henrik -- Henrik Hudson lists@rhavenn.net ----------------------------------------- "God, root, what is difference?" Pitr; UF From owner-freebsd-questions@FreeBSD.ORG Wed Jul 7 22:56:09 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76551106564A for ; Wed, 7 Jul 2010 22:56:09 +0000 (UTC) (envelope-from matheuswcon@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2921B8FC0C for ; Wed, 7 Jul 2010 22:56:08 +0000 (UTC) Received: by gwj19 with SMTP id 19so128251gwj.13 for ; Wed, 07 Jul 2010 15:56:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type:content-transfer-encoding; bh=8lvaXm2rRShhLS8UIxbqWRbxHpcKwxbendFk2n58Wns=; b=utPrmwWOGws+24T2ZFj/baBu9sJRNYGhtYVeqiHT53a/4752RJxZV52ObnSvks6mUE KVRiuTPRvxMNfEhsA3Invrbfi5EDlYEdxu6mxBZvHq17GXLNsWqqeIF703XRZ254wMw0 fJnECtic8N16TEHK59W3UulPXIzs4izTsoi7I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=GnH9QH4DkSejlxom0Okg7uDXLPsVzwj4ebyd94PiLPxl2rlFAPG7o8qsT6OHbChzJY nBZRU+xGEREnzz9+1AiehqulNmAyouwjVW32NCRIsV+mFej/mUig4FwiA0ezsbzv9YHo apo4Gq+c3NtrWSV2AdBGC1WAAjHVfSYzJO3e8= MIME-Version: 1.0 Received: by 10.90.68.16 with SMTP id q16mr6708951aga.0.1278541717399; Wed, 07 Jul 2010 15:28:37 -0700 (PDT) Received: by 10.90.120.10 with HTTP; Wed, 7 Jul 2010 15:28:37 -0700 (PDT) Date: Wed, 7 Jul 2010 19:28:37 -0300 Message-ID: From: =?ISO-8859-1?Q?Matheus_Weber_da_Concei=E7=E3o?= To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: VPN IPsec Help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jul 2010 22:56:09 -0000 Hello guys; I'm using a FreeBSD 7.0 in my firewall/gateway, and I have to connect via VPN to a Cisco box. The scene here is: * Peer A (Cisco): 200.xxx.xxx.xxx IPs that Peer B need to access: - 192.168.10.24 - 192.168.201.196 - 10.115.90.236 * Peer B (FreeBSD 7.0): 187.yyy.yyy.yyy (me) How can I configure this scene without using gif0 interface? I have no idea how to route the network traffic from my IP (187.yyy.yyy.yyy) to the 3 -Peer A- non-routing IPs. I started /usr/local/etc/rc.d/racoon and /etc/rc,d/ipsec. When I try do access SSH in 192.168.10.24, racoon writes a lot of things in the log file (as far as I can see there is no error), but the SSH give me a timeout error. After that, I look in the " setkey -D" command, and I get that: =3D=3D=3D=3D=3D=3D=3D=3D setkey -D =3D=3D=3D=3D=3D=3D=3D=3D 187.yyy.yyy.yyy 200.xxx.xxx.xxx esp mode=3Dtunnel spi=3D3246074620(0xc17b2afc) reqid=3D16385(0x0000= 4001) E: 3des-cbc 466cb043 de788f18 88545f35 d89be53e 4a0e85e9 3d026286 A: hmac-sha1 832a11aa ea68bc5a ec6f919b 23e28d91 7ecd7c6b seq=3D0x00000007 replay=3D4 flags=3D0x00000000 state=3Dmature created: Jul 7 19:17:35 2010 current: Jul 7 19:25:45 2010 diff: 490(s) hard: 28800(s) soft: 28800(s) last: Jul 7 19:18:09 2010 hard: 0(s) soft: 0(s) current: 728(bytes) hard: 0(bytes) soft: 0(bytes) allocated: 7 hard: 0 soft: 0 sadb_seq=3D1 pid=3D21919 refcnt=3D2 200.xxx.xxx.xxx 187.yyy.yyy.yyy esp mode=3Dtunnel spi=3D220854578(0x0d29f932) reqid=3D16386(0x00004= 002) E: 3des-cbc b1cd13a6 d0696e70 778fe5b3 4bfde61c 6cb81d8f 2a8e9f62 A: hmac-sha1 4ad86b36 ff7d5c14 6cb744e5 85d97017 2b0f196c seq=3D0x00000000 replay=3D4 flags=3D0x00000000 state=3Dmature created: Jul 7 19:17:35 2010 current: Jul 7 19:25:45 2010 diff: 490(s) hard: 28800(s) soft: 28800(s) last: hard: 0(s) soft: 0(s) current: 0(bytes) hard: 0(bytes) soft: 0(bytes) allocated: 0 hard: 0 soft: 0 sadb_seq=3D0 pid=3D21919 refcnt=3D1 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D means that my ipsec tunnel is up, right? Any idea? Configuration files: =3D=3D=3D=3D Here is my /etc/ipsec.conf =3D=3D=3D=3D flush; spdflush; spdadd 0.0.0.0/0 10.115.90.0/24 any -P out ipsec esp/tunnel/187.yyy.yyy.yyy-200.xxx.xxx.xxx/require; spdadd 10.115.90.0/24 0.0.0.0/0 any -P in ipsec esp/tunnel/200.xxx.xxx.xxx-187.yyy.yyy.yyy/require; spdadd 0.0.0.0/0 192.168.10.0/24 any -P out ipsec esp/tunnel/187.yyy.yyy.yyy-200.xxx.xxx.xxx/require; spdadd 192.168.10.0/24 0.0.0.0/24 any -P in ipsec esp/tunnel/200.xxx.xxx.xxx-187.yyy.yyy.yyy/require; spdadd 0.0.0.0/0 192.168.201.0/24 any -P out ipsec esp/tunnel/187.yyy.yyy.yyy-200.xxx.xxx.xxx/require; spdadd 192.168.201.0/24 0.0.0.0/0 any -P in ipsec esp/tunnel/200.xxx.xxx.xxx-187.yyy.yyy.yyy/require; =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D Here is my /usr/local/etc/racoon/racoon.conf =3D=3D=3D=3D path pre_shared_key "/usr/local/etc/racoon/psk.txt"; log debug2; remote anonymous { exchange_mode main; my_identifier address 187.4.201.197; peers_identifier address 200.186.89.186; lifetime time 28800 sec; # sec,min,hour generate_policy off; # phase 1 proposal (for ISAKMP SA) proposal { encryption_algorithm 3des; hash_algorithm sha1; authentication_method pre_shared_key; dh_group 2; } } # phase 2 proposal (for IPsec SA). # actual phase 2 proposal will obey the following items: # - kernel IPsec policy configuration (like "esp/transport//use) # - permutation of the crypto/hash/compression algorithms presented below sainfo address anonymous { lifetime time 28800 sec; encryption_algorithm 3des; authentication_algorithm hmac_sha1; compression_algorithm deflate; } =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D Matheus Weber da Concei=E7=E3o From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 01:04:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8D941106566B for ; Thu, 8 Jul 2010 01:04:34 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 350A78FC0A for ; Thu, 8 Jul 2010 01:04:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id 88D7A3A38B6; Thu, 8 Jul 2010 08:04:26 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= references:subject:subject:in-reply-to:from:from:message-id:date :date:received:received:received; s=selector1; t=1278551066; x= 1280365466; bh=fgd28WAW4wzCt10dnUWuyGoagrtNvxMAMG2n29/XGJw=; b=Y 6GOYua/F4+S9XkVYQSv2KfZZXPBEJITKa8a/RGJp6EdtUa0NY8mIzNFECj/aXNL7 gPundDrHiJQYgourIErb+X+1ZrtAIAzlLQ1MzlAmd/YR4FSJuFlkADZSBHUPjOfE 22G/m7sR7RQqToKC+NJQTUxQAPfiK0E/vkcjYU+wEY= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by localhost (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id AtNIqijVLd-q; Thu, 8 Jul 2010 08:04:26 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id 35FF13A38B5; Thu, 8 Jul 2010 08:04:26 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.3/8.14.3/Submit) id o6814IM8001316; Thu, 8 Jul 2010 08:04:18 +0700 (ICT) (envelope-from on) Date: Thu, 8 Jul 2010 08:04:18 +0700 (ICT) Message-Id: <201007080104.o6814IM8001316@banyan.cs.ait.ac.th> From: Olivier Nicole To: pobox@verysmall.org In-reply-to: <8F676AEB-5188-4F41-A971-C68293AD54F3@verysmall.org> (message from Iv Ray on Wed, 7 Jul 2010 17:00:48 +0200) References: <6AC0293D-2262-4E5C-9616-516B49664FBF@verysmall.org> <201007071111.o67BBnr5093119@banyan.cs.ait.ac.th> <8F676AEB-5188-4F41-A971-C68293AD54F3@verysmall.org> Cc: freebsd-questions@freebsd.org Subject: Re: what to do when FreeBSD cannot do something? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 01:04:34 -0000 > > What virtulization system to use? Personnally I use ESXi from vmware > > This was a great tip, thank you. I wasn't aware that ESXi is a bare metal and free. That's the idea: bare metal and free, proxmox has something based on... I don't remember. I opted for vmware becuase it seems to be more wide spread. > > What OS to use instead of FreeBSD? It depends on what is recommended > > for your application, what resources you have available around you, > > etc. For a similar problem I choosed Ubuntu because Ubuntu was well > > supported by the application and some colleagues had a decent > > knwoledge of ubuntu. > > I am not fanatic about FreeBSD, but I feel very comfortable with it and I resist change. However your ESXi tip would allow me to run ESXi on bare metal and virtualize simple installations of the "unpleasant" legacy OSes without making my fingers too dirty. You will have to make your fingers dirty, because once you are installing any OS on a virtual machine, it is as dirty as installing on a bare hardware: you need to learn how to install, tune and secure that new OS... Good luck, olivier From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 03:11:47 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A01F106564A for ; Thu, 8 Jul 2010 03:11:47 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id C1D128FC17 for ; Thu, 8 Jul 2010 03:11:46 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o683Bjsn041173 for ; Wed, 7 Jul 2010 21:11:45 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o683BjdT041170 for ; Wed, 7 Jul 2010 21:11:45 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Wed, 7 Jul 2010 21:11:45 -0600 (MDT) From: Warren Block To: questions@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.5 (wonkity.com [127.0.0.1]); Wed, 07 Jul 2010 21:11:45 -0600 (MDT) Cc: Subject: livefs hard links X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 03:11:47 -0000 The FreeBSD livefs ISO filesystem hides hard links, so they can't be accurately copied. Is relinking nearly everything in /rescue enough, or are there other former hard links waiting to pop up? From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 04:10:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4D043106564A for ; Thu, 8 Jul 2010 04:10:14 +0000 (UTC) (envelope-from lists@stringsutils.com) Received: from madmax.bizintegrators.com (madmax.bizintegrators.com [64.94.184.54]) by mx1.freebsd.org (Postfix) with ESMTP id ED3148FC15 for ; Thu, 8 Jul 2010 04:10:13 +0000 (UTC) Received: from shelca (p65-147.acedsl.com [66.114.65.147]) (authenticated bits=0) by madmax.bizintegrators.com (8.13.4/8.13.4) with ESMTP id o684ABYe022779 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 8 Jul 2010 00:10:12 -0400 (EDT) References: Message-ID: X-Mailer: http://www.courier-mta.org/cone/ From: Francisco Reyes To: bsd Date: Thu, 08 Jul 2010 00:10:11 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Loftmail-Check: No X-Scanned-By: MIMEDefang 2.57 on 64.94.184.88 Cc: Liste FreeBSD Subject: Re: Global backup solution for FBSD & Ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 04:10:14 -0000 bsd writes: > I am trying to build a global backup solution for couple of strategic servers (7) based on two operating systems : Depending on how much data you are trying to backup and whether an internet backup solution would work, you may want to take a look at tarsnap: http://www.tarsnap.com/ Works on both FreeBSD and Linux. It has deduplication capabilities within a server. You can do several backups as "full" and the service will only store what has changed. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 06:49:45 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2E9641065674 for ; Thu, 8 Jul 2010 06:49:45 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id B34D18FC23 for ; Thu, 8 Jul 2010 06:49:44 +0000 (UTC) Received: by ewy26 with SMTP id 26so125772ewy.13 for ; Wed, 07 Jul 2010 23:49:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=VzRn6iKNIRow8Iws89BzfJqGNl9fP3lpAOxHQfXCz64=; b=NJkZwErd9GPrpZn2KWezoKlTGwGircWoEguc9qRAa8mB8pADoI3mqLjySUCObmvaMR 7CuAYTH7C/a3QyAFA50vikWoHJIzJ7flsELU3ngWEfiWgOZ6DiyTZeACYl32VXhIusY0 u03k0MqZ6JOhQbhQPfp3870ftLxLvn1LL+sKg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=YBu0orFiFtfkhSwVzNM8ixHO0bTY8EJvmxh/IN8nsnCBI8B0I3WHA+yCDzm3Y8njMh K3BnTVLEcftRT72VpuX+h6SBjazanqq8WbcCMdtDXvvrA7lhvRYAUmKFYvq5A+TDARUw LRmyiuKG38BRH2DTdOMeAiVWxbwKcAPQA6/D4= Received: by 10.213.28.199 with SMTP id n7mr6445826ebc.96.1278571775060; Wed, 07 Jul 2010 23:49:35 -0700 (PDT) Received: from localhost ([85.17.254.135]) by mx.google.com with ESMTPS id v59sm68482809eeh.16.2010.07.07.23.49.31 (version=SSLv3 cipher=RC4-MD5); Wed, 07 Jul 2010 23:49:34 -0700 (PDT) From: Anonymous To: Warren Block References: Date: Thu, 08 Jul 2010 10:47:10 +0400 In-Reply-To: (Warren Block's message of "Wed, 7 Jul 2010 21:11:45 -0600 (MDT)") Message-ID: <86y6dmo4gh.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: livefs hard links X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 06:49:45 -0000 Warren Block writes: > The FreeBSD livefs ISO filesystem hides hard links, so they can't be > accurately copied. Use `tar cf - | tar xf -' to copy them. > > Is relinking nearly everything in /rescue enough, or are there other > former hard links waiting to pop up? There are some hardlinks in /bin, /sbin, /usr/bin, /usr/sbin dirs. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 07:12:31 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6EE55106566C for ; Thu, 8 Jul 2010 07:12:31 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 5125B8FC18 for ; Thu, 8 Jul 2010 07:12:31 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id o687CUX4037590 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 8 Jul 2010 00:12:30 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id o687CUi1037589; Thu, 8 Jul 2010 00:12:30 -0700 (PDT) Received: from fbsd61 by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA27706; Thu, 8 Jul 10 00:10:59 PDT Date: Thu, 08 Jul 2010 00:06:46 -0700 From: perryh@pluto.rain.com To: swell.k@gmail.com, eingorn777@gmail.com Message-Id: <4c357906.aGmjWURYjiG+sY/w%perryh@pluto.rain.com> References: <86fwzv3xkp.fsf@gmail.com> In-Reply-To: <86fwzv3xkp.fsf@gmail.com> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: debugfs&FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 07:12:31 -0000 Anonymous wrote: > Dmitry Lunts writes: > > > Hello,All! > > There is debugfs program dealing with ext2/ext3/ext4 filesystems. > > Is there some tool in FreeBSD with functionality analogous to debugfs > > which can operate on UFS2? > > Not sure but fsdb(8) may help. Before the development of fsck, its job was split between two utilities -- icheck and dcheck -- which in addition to their principal use for fixing corrupted filesystems also provided the ability to do exactly this sort of thing. I have no idea how much the filesystem data structures may have changed since, but if you can track down their sources and get them to compile they might still be useful. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 08:21:55 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C7A2106564A for ; Thu, 8 Jul 2010 08:21:55 +0000 (UTC) (envelope-from f.bonnet@esiee.fr) Received: from mx1.esiee.fr (mx1.esiee.fr [147.215.1.35]) by mx1.freebsd.org (Postfix) with ESMTP id E8FD08FC0A for ; Thu, 8 Jul 2010 08:21:54 +0000 (UTC) Received: from mail.esiee.fr (mail.esiee.fr [147.215.1.3]) by mx1.esiee.fr (Postfix) with ESMTP id AF0DC136F3D for ; Thu, 8 Jul 2010 10:21:53 +0200 (CEST) Received: from mail.esiee.fr (localhost [127.0.0.1]) by VAMS.dummy (Postfix) with SMTP id BB82D1054419 for ; Thu, 8 Jul 2010 10:21:50 +0200 (CEST) Received: from [147.215.1.21] (lisa.esiee.fr [147.215.1.21]) by mail.esiee.fr (Postfix) with ESMTP id B0F1A1054418 for ; Thu, 8 Jul 2010 10:21:50 +0200 (CEST) Message-ID: <4C358AA1.40208@esiee.fr> Date: Thu, 08 Jul 2010 10:21:53 +0200 From: Frank Bonnet User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Openldap clustering ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 08:21:55 -0000 Hello Could anybody recommend a rock solid software to build an OpenLDAP cluster with FreeBSD 8.0 ? Thanks From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 09:18:16 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9AFCE1065672 for ; Thu, 8 Jul 2010 09:18:16 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 5BBD08FC08 for ; Thu, 8 Jul 2010 09:18:16 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1OWnFG-0005ZV-SD for freebsd-questions@freebsd.org; Thu, 08 Jul 2010 10:18:15 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1OWnFG-0005WO-N6 for freebsd-questions@freebsd.org; Thu, 08 Jul 2010 10:18:14 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4) with ESMTP id o689IEug033772 for ; Thu, 8 Jul 2010 10:18:14 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4/Submit) id o689IEKi033771 for freebsd-questions@freebsd.org; Thu, 8 Jul 2010 10:18:14 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Thu, 8 Jul 2010 10:18:14 +0100 From: Anton Shterenlikht To: freebsd-questions@freebsd.org Message-ID: <20100708091814.GA33718@mech-cluster241.men.bris.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Subject: please recommend wireless card for amd64 laptop (mini pci (pci-e) or pcmcia) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 09:18:16 -0000 I'd like to set up wireless on amd64 laptop. Can somebody recommend a mini pci (pci-e) or pcimcia device, that is proven to work? many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 09:24:16 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 94E73106567D for ; Thu, 8 Jul 2010 09:24:16 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp3.comclark.com (avmxsmtp3.comclark.com [202.69.191.117]) by mx1.freebsd.org (Postfix) with ESMTP id 33FB78FC1C for ; Thu, 8 Jul 2010 09:24:15 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AsAXAA42NUzKRa3YOWdsb2JhbAAHh2iYPwEBAQE0ASe/TYUlBIN3hwA X-IronPort-AV: E=Sophos;i="4.53,557,1272816000"; d="scan'208";a="9642982" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.216]) by avmxsmtp2.comclark.com with ESMTP; 08 Jul 2010 17:24:14 +0800 Message-ID: <4C35993A.1010109@comclark.com> Date: Thu, 08 Jul 2010 17:24:10 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: jls jail command X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 09:24:16 -0000 what is jls command syntax to list all jails a path location? jls -n shows path=/usr/jails/ thats my primary jail system. I have secondary jail system at /usr/jails.sys2/ I tried jls -j /usr/jails.sys2/ and jls -j /usr/jails.sys2/jailname and got core dump. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 09:37:56 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4AFBC106566B for ; Thu, 8 Jul 2010 09:37:56 +0000 (UTC) (envelope-from kraduk@googlemail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id CFC1A8FC22 for ; Thu, 8 Jul 2010 09:37:55 +0000 (UTC) Received: by fxm13 with SMTP id 13so294582fxm.13 for ; Thu, 08 Jul 2010 02:37:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=mj8za+DhtlfXGwnjYCZF3/oAS323Rm86QBBTKjNTSNI=; b=VV/k/9UkvMAMzRoe1OnuGuHg6FhEEecSTBgjD65Cry1eVmT4u0/aCy5e3JlsZM5bOM LCxC6HWxQtK2tXldwideWEUHr20FOJExx3gZSumPyOce+iOjk5lskNOvy2AGlccZ5nNU nEvdzGsYyd1AeQ0ZPTVvHMIDdTFnLYvPkk1fk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=GWzSrnRCNjM+QVw8kBb3lvt+ONHdknRRoja9te5P6u8A6BzAfM7vaqnjng2H+fzr3f Nqer3Zw55u9Q449BMvVbiuHHlGT5peOzEpv75Wl7/JQWI0eTaD25yXIUVLB5+w6SPgh1 64UVSUsOaH9pFLf/QomwKM3TSqCWgiZ7q7GxM= MIME-Version: 1.0 Received: by 10.239.162.200 with SMTP id m8mr807985hbd.112.1278581867711; Thu, 08 Jul 2010 02:37:47 -0700 (PDT) Received: by 10.239.161.199 with HTTP; Thu, 8 Jul 2010 02:37:47 -0700 (PDT) In-Reply-To: References: Date: Thu, 8 Jul 2010 10:37:47 +0100 Message-ID: From: krad To: Francisco Reyes Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Liste FreeBSD Subject: Re: Global backup solution for FBSD & Ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 09:37:56 -0000 On 8 July 2010 05:10, Francisco Reyes wrote: > bsd writes: > > I am trying to build a global backup solution for couple of strategic >> servers (7) based on two operating systems : >> > > Depending on how much data you are trying to backup and whether an internet > backup solution would work, you may want to take a look at tarsnap: > http://www.tarsnap.com/ > > Works on both FreeBSD and Linux. It has deduplication capabilities within a > server. You can do several backups as "full" and the service will only store > what has changed. > > _______________________________________________ > 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" > In my experience dedup requires a fairly large amount of juice so if your backups are large I hope you machines are big on ram From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 09:54:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2C2151065673 for ; Thu, 8 Jul 2010 09:54:54 +0000 (UTC) (envelope-from mail25@bzerk.org) Received: from ei.bzerk.org (tunnel490.ipv6.xs4all.nl [IPv6:2001:888:10:1ea::2]) by mx1.freebsd.org (Postfix) with ESMTP id A1B018FC15 for ; Thu, 8 Jul 2010 09:54:53 +0000 (UTC) Received: from ei.bzerk.org (BOFH@localhost [127.0.0.1]) by ei.bzerk.org (8.14.3/8.14.3) with ESMTP id o689sl9e084690; Thu, 8 Jul 2010 11:54:47 +0200 (CEST) (envelope-from mail25@bzerk.org) Received: (from bulk@localhost) by ei.bzerk.org (8.14.3/8.14.3/Submit) id o689slwJ084689; Thu, 8 Jul 2010 11:54:47 +0200 (CEST) (envelope-from mail25@bzerk.org) Date: Thu, 8 Jul 2010 11:54:47 +0200 From: Ruben de Groot To: Frank Bonnet Message-ID: <20100708095447.GA84657@ei.bzerk.org> Mail-Followup-To: Ruben de Groot , Frank Bonnet , "freebsd-questions@freebsd.org" References: <4C358AA1.40208@esiee.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4C358AA1.40208@esiee.fr> User-Agent: Mutt/1.4.2.3i X-Spam-Status: No, score=-4.4 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on ei.bzerk.org X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0.1 (ei.bzerk.org [127.0.0.1]); Thu, 08 Jul 2010 11:54:50 +0200 (CEST) Cc: "freebsd-questions@freebsd.org" Subject: Re: Openldap clustering ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 09:54:54 -0000 On Thu, Jul 08, 2010 at 10:21:53AM +0200, Frank Bonnet typed: > Hello > > Could anybody recommend a rock solid software to build > an OpenLDAP cluster with FreeBSD 8.0 ? Master-master replication is well documented on the openldap website. For failover, you can use carp(4) or an external loadbalancer. Ruben From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 10:09:25 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 712DF106564A for ; Thu, 8 Jul 2010 10:09:25 +0000 (UTC) (envelope-from f.bonnet@esiee.fr) Received: from mx1.esiee.fr (mx1.esiee.fr [147.215.1.35]) by mx1.freebsd.org (Postfix) with ESMTP id 346718FC1C for ; Thu, 8 Jul 2010 10:09:24 +0000 (UTC) Received: from mail.esiee.fr (mail.esiee.fr [147.215.1.3]) by mx1.esiee.fr (Postfix) with ESMTP id 59A82137064 for ; Thu, 8 Jul 2010 12:09:24 +0200 (CEST) Received: from mail.esiee.fr (localhost [127.0.0.1]) by VAMS.dummy (Postfix) with SMTP id 6088D105441E for ; Thu, 8 Jul 2010 12:09:21 +0200 (CEST) Received: from [147.215.1.21] (lisa.esiee.fr [147.215.1.21]) by mail.esiee.fr (Postfix) with ESMTP id 535C4105441D for ; Thu, 8 Jul 2010 12:09:18 +0200 (CEST) Message-ID: <4C35A3D1.1060607@esiee.fr> Date: Thu, 08 Jul 2010 12:09:21 +0200 From: Frank Bonnet User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4C358AA1.40208@esiee.fr> <20100708095447.GA84657@ei.bzerk.org> In-Reply-To: <20100708095447.GA84657@ei.bzerk.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Openldap clustering ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 10:09:25 -0000 Ok, thank you for the info ! On 07/08/2010 11:54 AM, Ruben de Groot wrote: > On Thu, Jul 08, 2010 at 10:21:53AM +0200, Frank Bonnet typed: >> Hello >> >> Could anybody recommend a rock solid software to build >> an OpenLDAP cluster with FreeBSD 8.0 ? > > Master-master replication is well documented on the openldap website. For failover, > you can use carp(4) or an external loadbalancer. > > Ruben > > _______________________________________________ > 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 Jul 8 10:12:50 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC9111065674 for ; Thu, 8 Jul 2010 10:12:50 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 6827E8FC0A for ; Thu, 8 Jul 2010 10:12:50 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OWo63-0005XY-GG for freebsd-questions@freebsd.org; Thu, 08 Jul 2010 12:12:47 +0200 Received: from mar92-9-82-237-75-54.fbx.proxad.net ([82.237.75.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 Jul 2010 12:12:47 +0200 Received: from gilles.ganault by mar92-9-82-237-75-54.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 08 Jul 2010 12:12:47 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Gilles Date: Thu, 08 Jul 2010 12:12:27 +0200 Lines: 13 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: mar92-9-82-237-75-54.fbx.proxad.net X-Newsreader: Forte Agent 3.1/32.783 Subject: [6.3] Get e-mail when CTRL-ALT-DEL is used? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 10:12:50 -0000 Hello This is on a remote 6.3 host: I'd like to get an e-mail if a user hits the CTRL-ALT-DEL to reboot the server. Googling told me that the use of the three-key combo can be enabled/disabled when compiling a new kernel, but not how to manage this feature when it's enabled in a running kernel. Is there a configuration file somewhere that would let me add e-mail support for this action? Thank you. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 10:52:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64D191065670 for ; Thu, 8 Jul 2010 10:52:54 +0000 (UTC) (envelope-from ait@rocc.ru) Received: from mail.rocc.ru (mail.rocc.ru [194.84.181.131]) by mx1.freebsd.org (Postfix) with ESMTP id CCED58FC1D for ; Thu, 8 Jul 2010 10:52:53 +0000 (UTC) Received: from freebsd.wsru.t2ru ([10.77.44.133]) by mail.rocc.ru (peer1) with ESMTP id o68ATx7c044341; Thu, 8 Jul 2010 14:29:59 +0400 (MSD) (envelope-from ait@rocc.ru) Message-ID: <4C35A8A7.1020103@rocc.ru> Date: Thu, 08 Jul 2010 14:29:59 +0400 From: ait User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.10) Gecko/20100708 Thunderbird/3.0.5 MIME-Version: 1.0 To: Gilles References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: [6.3] Get e-mail when CTRL-ALT-DEL is used? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 10:52:54 -0000 On 07/08/2010 14:12, Gilles wrote: > Hello > > This is on a remote 6.3 host: I'd like to get an e-mail if a user hits > the CTRL-ALT-DEL to reboot the server. > > Googling told me that the use of the three-key combo can be > enabled/disabled when compiling a new kernel, but not how to manage > this feature when it's enabled in a running kernel. > > Is there a configuration file somewhere that would let me add e-mail > support for this action? > > 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.org" > Maybe you can use the /etc/rc.shutdown script, there's a line at the end of it: ... # Insert other shutdown procedures here ... Best wishes, Dmitry. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 10:57:51 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A2481065670 for ; Thu, 8 Jul 2010 10:57:51 +0000 (UTC) (envelope-from freebsd@optimis.net) Received: from mail.optimis.net (mail.optimis.net [69.104.191.124]) by mx1.freebsd.org (Postfix) with ESMTP id 2998C8FC1A for ; Thu, 8 Jul 2010 10:57:50 +0000 (UTC) Received: from marvin.optimis.net (marvin.optimis.net [192.168.1.3]) by mail.optimis.net (8.14.3/8.14.3) with ESMTP id o68AvnPe088313 for ; Thu, 8 Jul 2010 03:57:50 -0700 (PDT) (envelope-from freebsd@optimis.net) Received: from marvin.optimis.net (localhost [127.0.0.1]) by marvin.optimis.net (8.14.3/8.14.3) with ESMTP id o68Avo95036859; Thu, 8 Jul 2010 03:57:50 -0700 (PDT) (envelope-from freebsd@optimis.net) Received: (from george@localhost) by marvin.optimis.net (8.14.3/8.14.3/Submit) id o68AvoRq036858; Thu, 8 Jul 2010 03:57:50 -0700 (PDT) (envelope-from freebsd@optimis.net) Date: Thu, 8 Jul 2010 03:57:49 -0700 From: George Davidovich To: freebsd-questions@freebsd.org Message-ID: <20100708105749.GA34771@marvin.optimis.net> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 (2009-01-05) Subject: Re: [6.3] Get e-mail when CTRL-ALT-DEL is used? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 10:57:51 -0000 On Thu, Jul 08, 2010 at 12:12:27PM +0200, Gilles wrote: > This is on a remote 6.3 host: I'd like to get an e-mail if a user hits > the CTRL-ALT-DEL to reboot the server. > > Googling told me that the use of the three-key combo can be > enabled/disabled when compiling a new kernel, but not how to manage > this feature when it's enabled in a running kernel. > > Is there a configuration file somewhere that would let me add e-mail > support for this action? Assuming you want to know whether the server was rebooted (as opposed to whether a user invoked a given key combination), adding something along the lines of the following to root's crontab(5) should suffice: @reboot echo "`hostname` rebooted" \ | mail -s "`hostname` rebooted" gilles@example.org -- George From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 11:04:11 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2C2A1065670 for ; Thu, 8 Jul 2010 11:04:11 +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 2EA388FC14 for ; Thu, 8 Jul 2010 11:04:10 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApIBANdANUykD30E/2dsb2JhbAAHgxbLa5FShDNyBA Received: from bebif01.ulb.ac.be (HELO [10.0.0.194]) ([164.15.125.4]) by smtp.ulb.ac.be with ESMTP; 08 Jul 2010 12:34:29 +0200 Message-ID: <4C35A9B5.9000204@ulb.ac.be> Date: Thu, 08 Jul 2010 12:34:29 +0200 From: Julien Cigar Organization: Belgian Biodiversity Platform User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.10) Gecko/20100621 Thunderbird/3.0.5 MIME-Version: 1.0 To: freebsd-questions Content-Type: multipart/mixed; boundary="------------070507070800010407010707" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: sort: write error with portsnap X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 11:04:11 -0000 This is a multi-part message in MIME format. --------------070507070800010407010707 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello, Am I the only one to have sort: write errors since a few days with portsnap ? : jcigar@bebif ports % sudo portsnap fetch update Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found. Fetching snapshot tag from portsnap2.FreeBSD.org... done. Fetching snapshot metadata... done. Updating from Thu Jul 8 08:48:04 CEST 2010 to Thu Jul 8 10:08:38 CEST 2010. Fetching 1 metadata patches. done. Applying metadata patches... done. Fetching 0 metadata files... done. Fetching 1 patches. done. Applying patches... done. Fetching 0 new ports or files... done. sort: write failed: standard output: Broken pipe sort: write error Removing old files and directories... done. Extracting new files: (...) Building new INDEX files... done. Julien -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --------------070507070800010407010707-- From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 11:14:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3B0C71065670 for ; Thu, 8 Jul 2010 11:14:18 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id C26A58FC16 for ; Thu, 8 Jul 2010 11:14:17 +0000 (UTC) Received: by wyb34 with SMTP id 34so532088wyb.13 for ; Thu, 08 Jul 2010 04:14:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=KdvTcDgXsKFMNUl7CcTH3Vyb14hmz9Lk2Zxg2lLUTX0=; b=s3m5uTJzWvOsGF86grEbE1R5hZesXS8Ajxy63RRSieFQDpHcYIqKXQE5whtQWevs6R Q4LkdBmNBO/a0b331TMde/yGLYkCfu/flB8SXYjigPT9t/FRBzCnwP1SP3Gq4KYYkwPo BO8KVi1KCtt+Y7x6Tr4+Nb62lPtnvqASSRnjU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=ZDWKnqt4QXEVNHck8m0RStY8no07tEFfq8NDfI0lh4dJq6TyRCCQYe1drc2ff7sMtH HwTSGcykO6CKctPMzxZ/xJmouzZhg4yxhkyUQR6zcbyskmCaSwGlKzGXT6vLP4Cdg7+s gth05BKLOvikI2aIOhO/p3wBneHDxctNa0GEk= Received: by 10.227.157.77 with SMTP id a13mr6490144wbx.110.1278587649813; Thu, 08 Jul 2010 04:14:09 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id y70sm1069970weq.30.2010.07.08.04.14.07 (version=SSLv3 cipher=RC4-MD5); Thu, 08 Jul 2010 04:14:08 -0700 (PDT) Date: Thu, 8 Jul 2010 12:14:06 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20100708121406.54b2591f@gumby.homeunix.com> In-Reply-To: References: X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [6.3] Get e-mail when CTRL-ALT-DEL is used? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 11:14:18 -0000 On Thu, 08 Jul 2010 12:12:27 +0200 Gilles wrote: > Hello > > This is on a remote 6.3 host: I'd like to get an e-mail if a user hits > the CTRL-ALT-DEL to reboot the server. > > Googling told me that the use of the three-key combo can be > enabled/disabled when compiling a new kernel, but not how to manage > this feature when it's enabled in a running kernel. > If you put hw.syscons.kbd_reboot=0 in /etc/sysctl.conf, reboot by CTRL-ALT-DEL is disabled. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 12:34:11 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DC152106566C for ; Thu, 8 Jul 2010 12:34:11 +0000 (UTC) (envelope-from onemda@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 73FC98FC08 for ; Thu, 8 Jul 2010 12:34:11 +0000 (UTC) Received: by wwi18 with SMTP id 18so2062879wwi.31 for ; Thu, 08 Jul 2010 05:33:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=fo8G2Et3uqKUqSoWT/Hdk0QEP1jyUXnajdW83WQ1HW0=; b=XE57+ol6lWFicf3PEKP+eH2GWIF1lXeBG6PV/JmSqfXSGEEHHEQ/wTx6gi6VSBPGw0 5Ueu9UcAzLxdFuesLa/XtnhFBInuTbPiFx7LNOA2ZswsYl1fk5mv/1D3YECJLMZPlNZP qZ2HHcqQGGWd55GnmmkKud0kKxNaiezlbJZI4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=WIPl/ybxnQqQm12gCNwB9uRefRyoZ9F5s3OXG9VomjvYQIJ8rsEP4KL0sbIqrZBSY8 2ocof6wvZX0Fd7JaH8CdB/sAEVQm3rs9VfGxnNXa6IpYCgOwXIz5dv6mefP1jKUnq0+B 6CEbVAjqDNzaeEmg1S4N+5decwggwPmBtMas8= Received: by 10.216.68.142 with SMTP id l14mr2531085wed.67.1278592438261; Thu, 08 Jul 2010 05:33:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.44.195 with HTTP; Thu, 8 Jul 2010 05:33:37 -0700 (PDT) In-Reply-To: <20100708091814.GA33718@mech-cluster241.men.bris.ac.uk> References: <20100708091814.GA33718@mech-cluster241.men.bris.ac.uk> From: Paul B Mahol Date: Thu, 8 Jul 2010 12:33:37 +0000 Message-ID: To: Anton Shterenlikht Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: please recommend wireless card for amd64 laptop (mini pci (pci-e) or pcmcia) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 12:34:11 -0000 On Thu, Jul 8, 2010 at 9:18 AM, Anton Shterenlikht wrote: > I'd like to set up wireless on amd64 laptop. > Can somebody recommend a mini pci (pci-e) or > pcimcia device, that is proven to work? Look into ath(4) manual page. Just dont buy newest stuff from atheros because there is no 100% support for it. > > many thanks > anton > > > -- > Anton Shterenlikht > Room 2.6, Queen's Building > Mech Eng Dept > Bristol University > University Walk, Bristol BS8 1TR, UK > Tel: +44 (0)117 331 5944 > Fax: +44 (0)117 929 4423 > _______________________________________________ > 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 Jul 8 13:17:35 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53734106566B for ; Thu, 8 Jul 2010 13:17:35 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 503AC8FC12 for ; Thu, 8 Jul 2010 13:17:30 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirj.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1OWqym-0003ap-VG; Thu, 08 Jul 2010 14:17:29 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1OWqym-0004LV-NH; Thu, 08 Jul 2010 14:17:28 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4) with ESMTP id o68DHSgt034895; Thu, 8 Jul 2010 14:17:28 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4/Submit) id o68DHSBr034894; Thu, 8 Jul 2010 14:17:28 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Thu, 8 Jul 2010 14:17:28 +0100 From: Anton Shterenlikht To: herbs Message-ID: <20100708131728.GA34829@mech-cluster241.men.bris.ac.uk> References: <20100708091814.GA33718@mech-cluster241.men.bris.ac.uk> <20100708125852.GA15241@greencat.langhans.com.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100708125852.GA15241@greencat.langhans.com.pl> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org Subject: Re: please recommend wireless card for amd64 laptop (mini pci (pci-e) or pcmcia) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 13:17:35 -0000 On Thu, Jul 08, 2010 at 02:58:52PM +0200, herbs wrote: > > The best way to be sure about the compatibility is to take your laptop > to the computer store and plug in the card of your choice. Some > combinations just make trouble, thats why I recommend it. well.. that's why I'm asking. My laptop is HP Compaq 6715s. For example, I can see lots of iwn(4) pci-e cards on sale, but all I've seen say in big letters "not for HP ... laptops". So I was hoping to hear from somebody who is using wireless on an amd64 laptop, perhaps even on 6715s, which, it seems, is quite popular, of a model that is proven to work ok, either pci-e or pcmcia. many thanks anton > > #dmesg > - will show you what device the card is (i.e. ath0 for the Atheros > chipset) > > #ifconfig ath0 list scan > - should list a couple of access points > > If that works and if your laptop shows no errors while it boots you will > be fine with the certain card. > > Cheers > herbs > > On Thu, Jul 08, 2010 at 10:18:14AM +0100, Anton Shterenlikht wrote: > > I'd like to set up wireless on amd64 laptop. > > Can somebody recommend a mini pci (pci-e) or > > pcimcia device, that is proven to work? > > > > many thanks > > anton > > > > > > -- > > Anton Shterenlikht > > Room 2.6, Queen's Building > > Mech Eng Dept > > Bristol University > > University Walk, Bristol BS8 1TR, UK > > Tel: +44 (0)117 331 5944 > > Fax: +44 (0)117 929 4423 > > _______________________________________________ > > 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" > > > > -- > ******* Herbert Langhans, Warschau > ******* Sprachtraining Langhans > ******* http://www.langhans.com.pl > ******* herbert at langhans.com.pl > ******* NIP 526-229-61-51 > ******* Regon 014911759 > ******* Tel. 603 341 441 -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 13:19:46 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E60DE1065673 for ; Thu, 8 Jul 2010 13:19: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 A312B8FC16 for ; Thu, 8 Jul 2010 13:19:46 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o68DJjLD043745; Thu, 8 Jul 2010 07:19:45 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o68DJjn1043742; Thu, 8 Jul 2010 07:19:45 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 8 Jul 2010 07:19:45 -0600 (MDT) From: Warren Block To: Anonymous In-Reply-To: <86y6dmo4gh.fsf@gmail.com> Message-ID: References: <86y6dmo4gh.fsf@gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.5 (wonkity.com [127.0.0.1]); Thu, 08 Jul 2010 07:19:45 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: livefs hard links X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 13:19:47 -0000 On Thu, 8 Jul 2010, Anonymous wrote: > Warren Block writes: > >> The FreeBSD livefs ISO filesystem hides hard links, so they can't be >> accurately copied. > > Use `tar cf - | tar xf -' to copy them. That was my first thought, too. Well, second thought, after 'rsync -aH'. But the mounted ISO filesystem doesn't show hard links as hard links: # ls -li /mnt/rescue 416796 -r-xr-xr-x 414 root wheel 4367520 Jun 9 14:49 [ 399564 -r-xr-xr-x 414 root wheel 4367520 Jun 9 14:49 atacontrol 399690 -r-xr-xr-x 414 root wheel 4367520 Jun 9 14:49 atmconfig 399816 -r-xr-xr-x 414 root wheel 4367520 Jun 9 14:49 badsect ... And rsync or tar never see a hard link to copy. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 13:22:24 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 346E61065673 for ; Thu, 8 Jul 2010 13:22:24 +0000 (UTC) (envelope-from steve@ipv6canada.com) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id A6FB18FC24 for ; Thu, 8 Jul 2010 13:22:23 +0000 (UTC) Received: (qmail 28716 invoked by uid 89); 8 Jul 2010 13:24:06 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 8 Jul 2010 13:24:06 -0000 Message-ID: <4C35D11D.4000304@ipv6canada.com> Date: Thu, 08 Jul 2010 09:22:37 -0400 From: Steve Bertrand User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Matheus_Weber_da_Concei=E7=E3o?= References: In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: VPN IPsec Help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 13:22:24 -0000 On 2010.07.07 18:28, Matheus Weber da Conceição wrote: > Hello guys; > > I'm using a FreeBSD 7.0 in my firewall/gateway, and I have to connect > via VPN to a Cisco box. > > The scene here is: > > * Peer A (Cisco): 200.xxx.xxx.xxx > IPs that Peer B need to access: > - 192.168.10.24 > - 192.168.201.196 > - 10.115.90.236 > > * Peer B (FreeBSD 7.0): 187.yyy.yyy.yyy (me) > > > How can I configure this scene without using gif0 interface? It has been a long time since I've done IPSec on FBSD, but I'm willing to bet that this has to do with routing, possibly amongst other things. On peer 'B' (FBSD box), what internal IP range are you trying to access the A network from...the same ones (ie. are you trying to bridge the networks)? Do you have access to the Cisco gear? If so, on FreeBSD, post the output of: % netstat -rn ...and the output to the following on the Cisco: % sh ip route stat Steve From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 13:32:15 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4528B106564A for ; Thu, 8 Jul 2010 13:32:15 +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 F2E288FC24 for ; Thu, 8 Jul 2010 13:32:14 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o68DVgUu043782; Thu, 8 Jul 2010 07:31:42 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o68DVgHf043779; Thu, 8 Jul 2010 07:31:42 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 8 Jul 2010 07:31:42 -0600 (MDT) From: Warren Block To: Anton Shterenlikht In-Reply-To: <20100708131728.GA34829@mech-cluster241.men.bris.ac.uk> Message-ID: References: <20100708091814.GA33718@mech-cluster241.men.bris.ac.uk> <20100708125852.GA15241@greencat.langhans.com.pl> <20100708131728.GA34829@mech-cluster241.men.bris.ac.uk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.5 (wonkity.com [127.0.0.1]); Thu, 08 Jul 2010 07:31:42 -0600 (MDT) Cc: herbs , freebsd-questions@freebsd.org Subject: Re: please recommend wireless card for amd64 laptop (mini pci (pci-e) or pcmcia) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 13:32:15 -0000 On Thu, 8 Jul 2010, Anton Shterenlikht wrote: > On Thu, Jul 08, 2010 at 02:58:52PM +0200, herbs wrote: >> >> The best way to be sure about the compatibility is to take your laptop >> to the computer store and plug in the card of your choice. Some >> combinations just make trouble, thats why I recommend it. > > well.. that's why I'm asking. > > My laptop is HP Compaq 6715s. > > For example, I can see lots of iwn(4) pci-e cards on sale, > but all I've seen say in big letters > "not for HP ... laptops". HP and IBM have BIOS checks that limit which cards can be used. > So I was hoping to hear from somebody who is > using wireless on an amd64 laptop, perhaps even > on 6715s, which, it seems, is quite popular, of > a model that is proven to work ok, either pci-e or > pcmcia. AFAIK, bwn(4)/bwi(4) should work on amd64. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 14:00:28 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 007A51065674 for ; Thu, 8 Jul 2010 14:00:28 +0000 (UTC) (envelope-from matheuswcon@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id AFF528FC20 for ; Thu, 8 Jul 2010 14:00:27 +0000 (UTC) Received: by yxn22 with SMTP id 22so2090yxn.13 for ; Thu, 08 Jul 2010 07:00:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=1aTL46C1PioCWzVBU5hjoDZ5upQ4lWbaVA7He8S082E=; b=XJLL8Xw+dGZsxfvkVVRmx1SyGrdP2Fw5sOVll/IJ2YLNQb3QMnzSkb1A1o5Ex8z2gX EMajJwNOu3nRPK+hbyRwie/X5LsSyzIdg6WYtkupAC5pM345k3Vh5yRIDKi8WHAt406l XbiGgrTPcV50xKSjAiX7t4cdzCKEgyPWHbMTA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=ZiDct1rIA+W+lyJkQGFQp7XqHg+ll0N48uX1FmXqroq2Beyb1rk6h6Im9L+U7mmu43 Ouk/afWYFmdTDhGIeSDXFyWuh1WdROFgr6EIZQ5txZ788rGBjNqzocUHk6LuZFXtikvy Axa4JCb3Q2kGrdAkGu6jFy3D1310cN+fuayy8= MIME-Version: 1.0 Received: by 10.90.68.16 with SMTP id q16mr7679789aga.0.1278597612089; Thu, 08 Jul 2010 07:00:12 -0700 (PDT) Received: by 10.90.120.10 with HTTP; Thu, 8 Jul 2010 07:00:11 -0700 (PDT) In-Reply-To: <4C35D11D.4000304@ipv6canada.com> References: <4C35D11D.4000304@ipv6canada.com> Date: Thu, 8 Jul 2010 11:00:11 -0300 Message-ID: From: =?ISO-8859-1?Q?Matheus_Weber_da_Concei=E7=E3o?= To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: VPN IPsec Help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 14:00:28 -0000 > It has been a long time since I've done IPSec on FBSD, but I'm willing > to bet that this has to do with routing, possibly amongst other things. > On peer 'B' (FBSD box), what internal IP range are you trying to access > the A network from...the same ones (ie. are you trying to bridge the > networks)? > The -peer A- doesn't need to access any -peer B- networks. > Do you have access to the Cisco gear? No. > If so, on FreeBSD, post the output of: > > % netstat -rn Notes: tun0 is my ppp pseudo-device tun5 is my openvpn tunel (192.168.5.0/24) =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 201.zzz.zzz.zzz UGS 0 16087385 tun0 127.0.0.1 127.0.0.1 UH 0 357142 lo0 187.yyy.yyy.yyy 127.0.0.1 UH 0 120 lo0 192.168.1.0 ff:ff:ff:ff:ff:ff UHLWb 1 1 vr1 =3D> 192.168.1.0/24 link#3 UC 0 0 vr1 192.168.1.1 00:19:5b:71:9b:ed UHLW 1 237725 lo0 192.168.1.8 00:21:97:7e:0c:2a UHLW 1 27981 vr1 975 192.168.1.9 00:27:0e:10:8d:52 UHLW 1 33571 vr1 956 192.168.1.11 00:16:3e:2a:38:2b UHLW 1 255820 vr1 1192 192.168.1.21 00:19:d1:7c:a2:90 UHLW 1 24792 vr1 1165 192.168.1.22 00:1c:c0:ac:8e:16 UHLW 1 2306 vr1 1179 192.168.1.28 00:1a:92:e2:ab:fa UHLW 1 22897 vr1 269 192.168.1.30 00:11:d8:91:36:ff UHLW 1 36286 vr1 543 192.168.1.31 00:e0:4c:51:b7:e0 UHLW 1 4784 vr1 1167 192.168.1.40 00:1c:c0:54:c1:de UHLW 1 136462 vr1 1159 192.168.1.43 00:16:76:17:68:9c UHLW 1 8 vr1 838 192.168.1.44 00:1a:92:d7:4c:ce UHLW 1 1746 vr1 715 192.168.1.48 00:1c:c0:a6:10:66 UHLW 1 26086 vr1 681 192.168.1.53 00:16:76:86:cd:ba UHLW 1 10230 vr1 1167 192.168.1.56 00:1c:c0:98:cd:9c UHLW 1 14848 vr1 911 192.168.1.62 00:16:76:45:04:03 UHLW 1 42472 vr1 966 192.168.1.69 00:16:3e:46:6b:3a UHLW 1 14 vr1 964 192.168.1.71 00:1c:c0:48:4c:7f UHLW 1 105652 vr1 1134 192.168.1.72 00:1c:c0:4e:da:d0 UHLW 1 77087 vr1 287 192.168.1.76 00:1e:8c:95:ae:98 UHLW 1 8366 vr1 940 192.168.1.77 00:1c:c0:7b:0d:74 UHLW 1 37699 vr1 281 192.168.1.78 00:1a:92:d7:48:2c UHLW 1 45100 vr1 567 192.168.1.79 00:1a:92:8a:b2:b2 UHLW 1 4275 vr1 766 192.168.1.84 00:24:1d:f1:89:1f UHLW 1 21246 vr1 960 192.168.1.87 00:19:d1:ff:0e:6e UHLW 1 474 vr1 1149 192.168.1.93 00:1c:c0:48:4c:58 UHLW 1 37041 vr1 1191 192.168.1.94 00:21:27:d1:ac:f3 UHLW 1 25 vr1 879 192.168.1.95 00:1c:c0:54:c2:e6 UHLW 1 20753 vr1 969 192.168.1.100 00:1a:92:cb:c9:26 UHLW 1 256433 vr1 1192 192.168.1.103 00:13:02:02:69:00 UHLW 1 52018 vr1 1199 192.168.1.108 00:1c:c0:7b:0d:c4 UHLW 1 708959 vr1 973 192.168.1.112 00:1e:65:68:0c:32 UHLW 1 2133 vr1 1186 192.168.1.115 00:1c:c0:9e:23:74 UHLW 1 583 vr1 367 192.168.1.120 00:18:8b:e1:96:c7 UHLW 1 310668 vr1 68 192.168.1.122 00:27:0e:15:9b:bc UHLW 1 71300 vr1 1169 192.168.1.123 6c:f0:49:f7:fa:87 UHLW 1 5818 vr1 1113 192.168.1.124 00:1c:c0:7b:0d:85 UHLW 1 2473 vr1 633 192.168.1.126 00:1c:c0:a6:10:5a UHLW 1 10526 vr1 954 192.168.1.131 00:1f:d0:fd:dd:66 UHLW 1 184009 vr1 943 192.168.1.141 00:1b:fc:2b:99:fe UHLW 1 435409 vr1 485 192.168.1.144 00:27:0e:10:5a:21 UHLW 1 866092 vr1 957 192.168.1.146 00:1c:c0:9e:23:93 UHLW 1 764742 vr1 1168 192.168.1.149 00:16:3e:73:6b:e3 UHLW 1 26347 vr1 1139 192.168.1.150 00:1c:c0:48:4c:44 UHLW 1 45845 vr1 966 192.168.1.158 00:01:6c:ff:88:c4 UHLW 1 10017 vr1 1033 192.168.1.168 00:19:d1:a1:da:8d UHLW 1 22734 vr1 1120 192.168.1.170 00:1c:c0:5b:36:4d UHLW 1 475881 vr1 1186 192.168.1.172 00:24:1d:fb:35:ed UHLW 1 431062 vr1 1182 192.168.1.173 00:1c:c0:54:bb:a8 UHLW 1 6 vr1 1058 192.168.1.174 6c:f0:49:f8:b6:bf UHLW 1 297497 vr1 1181 192.168.1.175 6c:f0:49:f7:f9:97 UHLW 1 1809 vr1 1132 192.168.1.177 00:1c:c0:71:8c:c1 UHLW 1 22740 vr1 1050 192.168.1.178 00:1e:8c:95:ad:cd UHLW 1 136704 vr1 288 192.168.1.187 00:1c:c0:76:48:5e UHLW 1 5091 vr1 1148 192.168.1.189 00:1d:60:03:a9:c3 UHLW 1 1 vr1 723 192.168.1.197 00:1b:fc:1b:7a:c0 UHLW 1 50767 vr1 1171 192.168.1.200 00:19:d1:21:2d:07 UHLW 1 2850 vr1 1128 192.168.1.220 00:1c:c0:48:4d:13 UHLW 1 23607 vr1 958 192.168.1.223 00:1c:c0:a4:70:c4 UHLW 1 84310 vr1 826 192.168.1.251 00:1c:c0:54:c3:ac UHLW 1 387597 vr1 826 192.168.1.252 00:08:54:12:36:11 UHLW 1 905 vr1 845 192.168.1.253 00:1c:c0:21:e7:fc UHLW 1 14 vr1 826 192.168.1.255 ff:ff:ff:ff:ff:ff UHLWb 1 1 vr1 192.168.5.0/24 192.168.5.2 UGS 0 0 tun5 192.168.5.1 127.0.0.1 UH 0 0 lo0 192.168.5.2 192.168.5.1 UH 1 7 tun5 192.168.254.0/24 link#2 UC 0 0 vr0 192.168.254.11 127.0.0.1 UH 0 0 lo0 192.168.254.255 ff:ff:ff:ff:ff:ff UHLWb 1 1 vr0 201.zzz.zzz.zzz 187.yyy.yyy.yyy UH 0 0 tun0 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL = lo0 fe80::%lo0/64 fe80::1%lo0 U = lo0 fe80::1%lo0 link#5 UHL = lo0 ff01:5::/32 fe80::1%lo0 UC = lo0 ff01:6::/32 link#6 UGC = tun0 ff02::%lo0/32 fe80::1%lo0 UC = lo0 ff02::%tun0/32 fe80::21c:c0ff:fe54:bba9%tun0 UGC = tun0 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Thanks; --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D Matheus Weber da Concei=E7=E3o From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 14:31:11 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C102106566C for ; Thu, 8 Jul 2010 14:31:11 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1AE9D8FC15 for ; Thu, 8 Jul 2010 14:31:10 +0000 (UTC) Received: by vws6 with SMTP id 6so1434034vws.13 for ; Thu, 08 Jul 2010 07:31:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=5vCVQvyUa6lo4TovldFqCu/Ol69JFnJ4qHKWa9PONx0=; b=UM0XyfDo8MixIaUBjJmSvZSBui8gBt9kXerSQX1UxlcMMkjxSMtF64g+JVCol/xDUe OEwHqLeVO8Rtbx386GzGF/qGvDuDJ8oFFN2woR2O5/nKzz0JswIoJxt4nZicf9c7fQYP VK+/Mi15ip5Hepnidy6jcjc1yw/y/Y0wS/RtE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=eK1Bhw2WGkagL/lhYuR5kFQSQKh6AN3ZRh3gumGqOb1isIeIZjLbyvJ8e3BUkrOD9t LaaRtnTcsthr7/SweBFPzVzQPji66Z6lcoJl05hkPXZViXLsdtMZr4PHHp0MvBZxWWwG 9/vOGGe8vFMYjVuoNTzOJoyNLDF1r/WpgZ/HI= Received: by 10.220.62.206 with SMTP id y14mr4393858vch.111.1278599465135; Thu, 08 Jul 2010 07:31:05 -0700 (PDT) Received: from localhost (anonymizer3.torservers.net [173.244.197.211]) by mx.google.com with ESMTPS id e20sm9051445vcm.16.2010.07.08.07.31.02 (version=SSLv3 cipher=RC4-MD5); Thu, 08 Jul 2010 07:31:03 -0700 (PDT) From: Anonymous To: Warren Block References: <86y6dmo4gh.fsf@gmail.com> Date: Thu, 08 Jul 2010 18:30:53 +0400 In-Reply-To: (Warren Block's message of "Thu, 8 Jul 2010 07:19:45 -0600 (MDT)") Message-ID: <86wrt6m4f6.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: livefs hard links X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 14:31:11 -0000 Warren Block writes: > On Thu, 8 Jul 2010, Anonymous wrote: > >> Warren Block writes: >> >>> The FreeBSD livefs ISO filesystem hides hard links, so they can't be >>> accurately copied. >> >> Use `tar cf - | tar xf -' to copy them. > > That was my first thought, too. Well, second thought, after 'rsync > -aH'. > > But the mounted ISO filesystem doesn't show hard links as hard links: > > # ls -li /mnt/rescue > 416796 -r-xr-xr-x 414 root wheel 4367520 Jun 9 14:49 [ > 399564 -r-xr-xr-x 414 root wheel 4367520 Jun 9 14:49 atacontrol > 399690 -r-xr-xr-x 414 root wheel 4367520 Jun 9 14:49 atmconfig > 399816 -r-xr-xr-x 414 root wheel 4367520 Jun 9 14:49 badsect > ... 414 is the number of hardlinks. You can as well try to use iso9660 reader in libarchive, e.g. $ bsdtar xvf /dev/cd0 --include rescue/\* $ bsdtar xvf /path/to/blah.iso --include rescue/\* > > And rsync or tar never see a hard link to copy. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 14:42:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6576F1065673 for ; Thu, 8 Jul 2010 14:42:18 +0000 (UTC) (envelope-from gpeel@thenetnow.com) Received: from constellation.thenetnow.com (constellation.thenetnow.com [207.112.4.14]) by mx1.freebsd.org (Postfix) with ESMTP id 324618FC12 for ; Thu, 8 Jul 2010 14:42:17 +0000 (UTC) Received: from hpeel.ody.ca ([216.240.12.2] helo=GRANTPC) by constellation.thenetnow.com with esmtpa (Exim 4.63 (FreeBSD)) (envelope-from ) id 1OWsIg-000Hve-LD for freebsd-questions@freebsd.org; Thu, 08 Jul 2010 10:42:07 -0400 Message-ID: <88CA609907F642CEBD78A538B4B823EA@GRANTPC> From: "Grant Peel" To: Date: Thu, 8 Jul 2010 10:41:55 -0400 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5843 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Ports PHP 4.4.9 - GD Extension X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 14:42:18 -0000 Hi all, I am attempting to insall the GD PHP extension on FreeBSD 8 and am = getting this at build time. (I need to have a php4 and mysql 4 server = for compatability reasons). It appears that the PNG version the port is trying to build has a = security issue. How can I work arround this (I really need the GD = extension). Any help would be appreciated. ds9# pwd /usr/ports/lang/php4-extensions ds9# make =3D=3D=3D> Vulnerability check disabled, database not found =3D=3D=3D> License check disabled, port has not defined LICENSE =3D=3D=3D> Found saved configuration for php4-extensions-1.0 =3D=3D=3D> Extracting for php4-extensions-1.0 =3D=3D=3D> Patching for php4-extensions-1.0 =3D=3D=3D> php4-extensions-1.0 depends on file: = /usr/local/include/php/main/php.h - found =3D=3D=3D> php4-extensions-1.0 depends on file: = /usr/local/lib/php/20020429/gd.so - not found =3D=3D=3D> Verifying install for /usr/local/lib/php/20020429/gd.so in = /usr/ports/graphics/php4-gd =3D=3D=3D> Vulnerability check disabled, database not found =3D=3D=3D> License check disabled, port has not defined LICENSE =3D=3D=3D> Found saved configuration for php4-gd-4.4.9_4 =3D=3D=3D> Extracting for php4-gd-4.4.9_4 =3D> MD5 Checksum OK for php-4.4.9.tar.bz2. =3D> SHA256 Checksum OK for php-4.4.9.tar.bz2. =3D=3D=3D> Patching for php4-gd-4.4.9_4 =3D=3D=3D> Applying FreeBSD patches for php4-gd-4.4.9_4 =3D=3D=3D> php4-gd-4.4.9_4 depends on file: /usr/local/bin/phpize - = found =3D=3D=3D> php4-gd-4.4.9_4 depends on file: = /usr/local/libdata/pkgconfig/xpm.pc - found =3D=3D=3D> php4-gd-4.4.9_4 depends on file: = /usr/local/bin/autoconf-2.62 - found =3D=3D=3D> php4-gd-4.4.9_4 depends on shared library: freetype.9 - = found =3D=3D=3D> php4-gd-4.4.9_4 depends on shared library: png.6 - not = found =3D=3D=3D> Verifying install for png.6 in /usr/ports/graphics/png =3D=3D=3D> png-1.4.1_1 is forbidden: vulnerable to remote buffer = overflow. *** Error code 1 Stop in /usr/ports/graphics/png. *** Error code 1 Stop in /usr/ports/graphics/php4-gd. *** Error code 1 Stop in /usr/ports/graphics/php4-gd. *** Error code 1 Stop in /usr/ports/lang/php4-extensions. *** Error code 1 Stop in /usr/ports/lang/php4-extensions. ds9# -Grant From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 14:46:36 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2D93C1065670 for ; Thu, 8 Jul 2010 14:46:36 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id E6BC48FC0A for ; Thu, 8 Jul 2010 14:46:35 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id o68EkXmQ075688 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 8 Jul 2010 09:46:34 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.4) with ESMTP id o68EkXrL070482 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 8 Jul 2010 09:46:33 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.3/Submit) id o68EkXRJ070481; Thu, 8 Jul 2010 09:46:33 -0500 (CDT) (envelope-from dan) Date: Thu, 8 Jul 2010 09:46:33 -0500 From: Dan Nelson To: Warren Block Message-ID: <20100708144633.GA87422@dan.emsphone.com> References: <86y6dmo4gh.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 8.1-PRERELEASE User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: clamav-milter 0.96 at email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Thu, 08 Jul 2010 09:46:34 -0500 (CDT) X-Scanned-By: MIMEDefang 2.45 Cc: Anonymous , freebsd-questions@freebsd.org Subject: Re: livefs hard links X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 14:46:36 -0000 In the last episode (Jul 08), Warren Block said: > On Thu, 8 Jul 2010, Anonymous wrote: > > Warren Block writes: > >> The FreeBSD livefs ISO filesystem hides hard links, so they can't be > >> accurately copied. > > > > Use `tar cf - | tar xf -' to copy them. > > That was my first thought, too. Well, second thought, after 'rsync -aH'. > > But the mounted ISO filesystem doesn't show hard links as hard links: > > # ls -li /mnt/rescue > 416796 -r-xr-xr-x 414 root wheel 4367520 Jun 9 14:49 [ > 399564 -r-xr-xr-x 414 root wheel 4367520 Jun 9 14:49 atacontrol > 399690 -r-xr-xr-x 414 root wheel 4367520 Jun 9 14:49 atmconfig > 399816 -r-xr-xr-x 414 root wheel 4367520 Jun 9 14:49 badsect > ... It looks like they're halfway hard links :) The link count is 414 for all those files so you know they are hardlinks, but because the inode number is different, there's no way to match up which links correspond to the same file. Each of those files might be unique, just hardlinked to the same names in 413 other identical subdirectories. Unlikely, but possible :) That's probably why tar and rsync can't recreate the links on the destination. I don't think the ISO filesytem format even has the concept of inode numbers, but according to http://lists.freebsd.org/pipermail/freebsd-fs/2006-October/002338.html , mkisofs from the cdrtools port should create hardlinked files with the same starting LBA number, and assuming FreeBSD's cd9660 driver uses that value for its inode number, everything should work. Either the ISOs aren't built with mkisofs, or the driver doesn't use the LBA number for the inode number. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 14:47:03 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EBC521065670 for ; Thu, 8 Jul 2010 14:47:03 +0000 (UTC) (envelope-from dan@slightlystrange.org) Received: from catflap.slightlystrange.org (cpc2-cmbg1-0-0-cust385.cmbg.cable.ntl.com [82.21.105.130]) by mx1.freebsd.org (Postfix) with ESMTP id A673B8FC0A for ; Thu, 8 Jul 2010 14:47:03 +0000 (UTC) Received: from dan by catflap.slightlystrange.org with local (Exim 4.72 (FreeBSD)) (envelope-from ) id 1OWsNS-000Ofi-7w for freebsd-questions@freebsd.org; Thu, 08 Jul 2010 15:47:02 +0100 Date: Thu, 8 Jul 2010 15:47:02 +0100 From: Daniel Bye To: freebsd-questions@freebsd.org Message-ID: <20100708144702.GA45996@catflap.slightlystrange.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <88CA609907F642CEBD78A538B4B823EA@GRANTPC> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IS0zKkzwUGydFO0o" Content-Disposition: inline In-Reply-To: <88CA609907F642CEBD78A538B4B823EA@GRANTPC> User-Agent: Mutt/1.4.2.3i X-PGP-Fingerprint: D349 B109 0EB8 2554 4D75 B79A 8B17 F97C 1622 166A X-Operating-System: FreeBSD 8.1-PRERELEASE amd64 Sender: Daniel Bye Subject: Re: Ports PHP 4.4.9 - GD Extension X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Daniel Bye List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 14:47:04 -0000 --IS0zKkzwUGydFO0o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 08, 2010 at 10:41:55AM -0400, Grant Peel wrote: > Hi all, >=20 > I am attempting to insall the GD PHP extension on FreeBSD 8 and am gettin= g this at build time. (I need to have a php4 and mysql 4 server for compata= bility reasons). >=20 > It appears that the PNG version the port is trying to build has a securit= y issue. How can I work arround this (I really need the GD extension). >=20 > Any help would be appreciated. >=20 > ds9# pwd > /usr/ports/lang/php4-extensions >=20 > =3D=3D=3D> png-1.4.1_1 is forbidden: vulnerable to remote buffer overflo= w. png is currently at version 1.4.3 in ports. Try updating your ports tree and give it another go. Dan --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --IS0zKkzwUGydFO0o Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (FreeBSD) iEYEARECAAYFAkw15OYACgkQixf5fBYiFmpHEwCdGjhy//h1qgDkJ7Ov98tL0BAa lFUAoIcnEs4UQLDF2xzyaqI1AiFI1d9+ =eTsW -----END PGP SIGNATURE----- --IS0zKkzwUGydFO0o-- From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 14:51:38 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 941A3106564A for ; Thu, 8 Jul 2010 14:51:38 +0000 (UTC) (envelope-from steve@ipv6canada.com) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id 29DA88FC1A for ; Thu, 8 Jul 2010 14:51:38 +0000 (UTC) Received: (qmail 32682 invoked by uid 89); 8 Jul 2010 14:53:20 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 8 Jul 2010 14:53:20 -0000 Message-ID: <4C35E607.2090902@ipv6canada.com> Date: Thu, 08 Jul 2010 10:51:51 -0400 From: Steve Bertrand User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Matheus_Weber_da_Concei=E7=E3o?= References: <4C35D11D.4000304@ipv6canada.com> In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: VPN IPsec Help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 14:51:38 -0000 On 2010.07.08 10:00, Matheus Weber da Conceição wrote: >> It has been a long time since I've done IPSec on FBSD, but I'm willing >> to bet that this has to do with routing, possibly amongst other things. >> On peer 'B' (FBSD box), what internal IP range are you trying to access >> the A network from...the same ones (ie. are you trying to bridge the >> networks)? >> > The -peer A- doesn't need to access any -peer B- networks. > >> Do you have access to the Cisco gear? > No. > >> If so, on FreeBSD, post the output of: >> >> % netstat -rn > > Notes: > tun0 is my ppp pseudo-device > tun5 is my openvpn tunel (192.168.5.0/24) > ============ > # netstat -rn > Routing tables [ big snip ] IIRC, you don't need a gre tunnel through IPSec, as you are simply routing between two dissimilar networks. Don't quote me on this though, as I said earlier, it has been a very long time. On the FreeBSD box, assuming that you *only* want to access the three specific IPs you stated, do this: % route add 192.168.10.24/32 200.x.x.x % route add 192.168.201.196/32 200.x.x.x % route add 10.115.90.236/32 200.x.x.x On the Cisco side: % ip route 192.168.5.0 255.255.255.0 187.x.x.x.x If that works, on the FBSD side of things, add the following to /etc/rc.conf to make them persistent across reboots: static_routes="host1 host2 host3" route_host1="192.168.10.24/32 200.x.x.x" route_host2="192.168.201.196/32 200.x.x.x" route_host3="10.115.90.236/32 200.x.x.x" Steve From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 14:54:01 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B529E106564A for ; Thu, 8 Jul 2010 14:54:01 +0000 (UTC) (envelope-from steve@ipv6canada.com) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id EEA948FC1A for ; Thu, 8 Jul 2010 14:54:00 +0000 (UTC) Received: (qmail 32799 invoked by uid 89); 8 Jul 2010 14:55:45 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 8 Jul 2010 14:55:45 -0000 Message-ID: <4C35E697.7050006@ipv6canada.com> Date: Thu, 08 Jul 2010 10:54:15 -0400 From: Steve Bertrand User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Matheus_Weber_da_Concei=E7=E3o?= References: <4C35D11D.4000304@ipv6canada.com> <4C35E607.2090902@ipv6canada.com> In-Reply-To: <4C35E607.2090902@ipv6canada.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: VPN IPsec Help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 14:54:01 -0000 On 2010.07.08 10:51, Steve Bertrand wrote: > On 2010.07.08 10:00, Matheus Weber da Conceição wrote: >>> It has been a long time since I've done IPSec on FBSD, but I'm willing >>> to bet that this has to do with routing, possibly amongst other things. >>> On peer 'B' (FBSD box), what internal IP range are you trying to access >>> the A network from...the same ones (ie. are you trying to bridge the >>> networks)? >>> >> The -peer A- doesn't need to access any -peer B- networks. >> >>> Do you have access to the Cisco gear? >> No. >> >>> If so, on FreeBSD, post the output of: >>> >>> % netstat -rn >> >> Notes: >> tun0 is my ppp pseudo-device >> tun5 is my openvpn tunel (192.168.5.0/24) >> ============ >> # netstat -rn >> Routing tables > > [ big snip ] > > IIRC, you don't need a gre tunnel through IPSec, as you are simply > routing between two dissimilar networks. Don't quote me on this though, > as I said earlier, it has been a very long time. > > On the FreeBSD box, assuming that you *only* want to access the three > specific IPs you stated, do this: > > % route add 192.168.10.24/32 200.x.x.x > % route add 192.168.201.196/32 200.x.x.x > % route add 10.115.90.236/32 200.x.x.x > > On the Cisco side: D'oh! I wasn't paying enough attention! > % ip route 192.168.5.0 255.255.255.0 187.x.x.x.x This.........^^^^^^^^^^^ should read 192.168.1.0 (by the looks of things). Steve From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 14:59:47 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24A391065780 for ; Thu, 8 Jul 2010 14:59:47 +0000 (UTC) (envelope-from steve@ipv6canada.com) Received: from smtp.ibctech.ca (v6.ibctech.ca [IPv6:2607:f118::b6]) by mx1.freebsd.org (Postfix) with SMTP id 944708FC08 for ; Thu, 8 Jul 2010 14:59:46 +0000 (UTC) Received: (qmail 33043 invoked by uid 89); 8 Jul 2010 15:01:31 -0000 Received: from unknown (HELO ?IPv6:2607:f118::5?) (steve@ibctech.ca@2607:f118::5) by 2607:f118::b6 with ESMTPA; 8 Jul 2010 15:01:31 -0000 Message-ID: <4C35E7F1.9040707@ipv6canada.com> Date: Thu, 08 Jul 2010 11:00:01 -0400 From: Steve Bertrand User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.7) Gecko/20100111 Lightning/1.0b1 Thunderbird/3.0.1 MIME-Version: 1.0 To: =?ISO-8859-1?Q?Matheus_Weber_da_Concei=E7=E3o?= References: <4C35D11D.4000304@ipv6canada.com> <4C35E607.2090902@ipv6canada.com> <4C35E697.7050006@ipv6canada.com> In-Reply-To: <4C35E697.7050006@ipv6canada.com> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: VPN IPsec Help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 14:59:47 -0000 On 2010.07.08 10:54, Steve Bertrand wrote: > On 2010.07.08 10:51, Steve Bertrand wrote: >> On 2010.07.08 10:00, Matheus Weber da Conceição wrote: >>>> It has been a long time since I've done IPSec on FBSD, but I'm willing >>>> to bet that this has to do with routing, possibly amongst other things. >>>> On peer 'B' (FBSD box), what internal IP range are you trying to access >>>> the A network from...the same ones (ie. are you trying to bridge the >>>> networks)? >>>> >>> The -peer A- doesn't need to access any -peer B- networks. >>> >>>> Do you have access to the Cisco gear? >>> No. >>> >>>> If so, on FreeBSD, post the output of: >>>> >>>> % netstat -rn >>> >>> Notes: >>> tun0 is my ppp pseudo-device >>> tun5 is my openvpn tunel (192.168.5.0/24) >>> ============ >>> # netstat -rn >>> Routing tables >> >> [ big snip ] >> >> IIRC, you don't need a gre tunnel through IPSec, ...and, I meant to say gif interface, not gre tunnel. Steve From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 15:06:01 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2A056106564A for ; Thu, 8 Jul 2010 15:06:01 +0000 (UTC) (envelope-from glen.j.barber@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id EE0668FC0A for ; Thu, 8 Jul 2010 15:05:59 +0000 (UTC) Received: by pvh1 with SMTP id 1so400785pvh.13 for ; Thu, 08 Jul 2010 08:05:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=L7Gey6M9OeEhQO3XzyAJ+DBIk7NFs0h5WfgIgVOQQ0Q=; b=E2NTqCfr2uYd01jiN3GR18IeZS4A1AJE8PyVU3anSs4JwCcpzCGKgXNKOtHtra32MA xpc/lb9/+6aA/z0o9xROqlvYxx9g52TbR3vB3GL+aHZXHV2/0P10no6Y7ItzJ0q6yHP7 eiu5E+RLlu0l2cYINDqgp8a686MSwaXlxRcJo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=LOr9OhM12VT0QKWUavPQ+aL1EXxhm1Y6p74qCW+LA7biy7Gm5aL+530fC/ura8pSDF xlHoniVyjIIkamcLVs3Cro5qq2ylC3HRvgNHNFm4/9Ml7RQFqSd7XJrfpOmZNByt6LnF KdVahlj7jUeVlIAiQGamPUw7M/yB+4q48LCl8= Received: by 10.142.147.7 with SMTP id u7mr10014424wfd.50.1278601553337; Thu, 08 Jul 2010 08:05:53 -0700 (PDT) Received: from schism.local (173-161-130-225-Philadelphia.hfc.comcastbusiness.net [173.161.130.225]) by mx.google.com with ESMTPS id m9sm9085642vcz.41.2010.07.08.08.05.48 (version=SSLv3 cipher=RC4-MD5); Thu, 08 Jul 2010 08:05:49 -0700 (PDT) Message-ID: <4C35E94A.4040909@gmail.com> Date: Thu, 08 Jul 2010 11:05:46 -0400 From: Glen Barber User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4C342EEC.7040404@esiee.fr> <20100707163823.GC6881@libertas.local.camdensoftware.com> In-Reply-To: <20100707163823.GC6881@libertas.local.camdensoftware.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Get server's internal temperature from ACPI ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 15:06:01 -0000 On 7/7/10 12:38 PM, Chip Camden wrote: > Quoth Frank Bonnet on Wednesday, 07 July 2010: >> Hello >> >> Is there an utility to get the internal temperature from a HP Proliant >> server with ACPI ??? >> > > sysctl -n hw.acpi.thermal.tz0.temperature > > I'm not sure if the Proliant has an Intel Core, but if it does then you > can get per-cpu temperature info: > > kld coretemp kldload, of course. :-) > for i in 0 1 2 3; sysctl -n dev.cpu.$i.temperature > amdtemp(4) exists for K8, K10, and K11 AMD chips as well. Regards, -- Glen Barber From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 15:37:04 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47BA5106564A for ; Thu, 8 Jul 2010 15:37:04 +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 0397F8FC0A for ; Thu, 8 Jul 2010 15:37:03 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.3/8.14.3) with ESMTP id o68Fb3M3044249; Thu, 8 Jul 2010 09:37:03 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.3/8.14.3/Submit) with ESMTP id o68Fb330044246; Thu, 8 Jul 2010 09:37:03 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 8 Jul 2010 09:37:03 -0600 (MDT) From: Warren Block To: Anonymous In-Reply-To: <86wrt6m4f6.fsf@gmail.com> Message-ID: References: <86y6dmo4gh.fsf@gmail.com> <86wrt6m4f6.fsf@gmail.com> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.5 (wonkity.com [127.0.0.1]); Thu, 08 Jul 2010 09:37:03 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: livefs hard links X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 15:37:04 -0000 On Thu, 8 Jul 2010, Anonymous wrote: >> But the mounted ISO filesystem doesn't show hard links as hard links: >> >> # ls -li /mnt/rescue >> 416796 -r-xr-xr-x 414 root wheel 4367520 Jun 9 14:49 [ >> 399564 -r-xr-xr-x 414 root wheel 4367520 Jun 9 14:49 atacontrol >> 399690 -r-xr-xr-x 414 root wheel 4367520 Jun 9 14:49 atmconfig >> 399816 -r-xr-xr-x 414 root wheel 4367520 Jun 9 14:49 badsect >> ... > > 414 is the number of hardlinks. Yes, but I was (poorly) pointing out the differing inode numbers. > You can as well try to use iso9660 reader in libarchive, e.g. > > $ bsdtar xvf /dev/cd0 --include rescue/\* > $ bsdtar xvf /path/to/blah.iso --include rescue/\* Much better! bsdtar recreates the hard links. It has a problem with only one directory on the ISO: # bsdtar xpf /tmp/FreeBSD-8.1-PRERELEASE-201006-i386-livefs.iso -C /tmp/freebsd/ bsdtar: Ignoring out-of-order file @340a6980 (usr/include/c++/4.2/ext/pb_ds/detail/basic_tree_policy) 4876288 < 5138432 bsdtar: Ignoring out-of-order file @340a6980 (usr/include/c++/4.2/ext/pb_ds/detail/basic_tree_policy) 4876288 < 5138432 bsdtar: Ignoring out-of-order file @340a6980 (usr/include/c++/4.2/ext/pb_ds/detail/basic_tree_policy) 4876288 < 5138432 bsdtar: Ignoring out-of-order file @340a6a80 (usr/include/c++/4.2/ext/pb_ds/detail/bin_search_tree_) 4878336 < 5138432 bsdtar: Ignoring out-of-order file @340a6b00 (usr/include/c++/4.2/ext/pb_ds/detail/binary_heap_) 4880384 < 5138432 bsdtar: Ignoring out-of-order file @340a6b80 (usr/include/c++/4.2/ext/pb_ds/detail/binomial_heap_) 4882432 < 5138432 ... Hard to tell if that's the ISO or a bug in libarchive. Thanks! From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 15:51:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1D7391065672 for ; Thu, 8 Jul 2010 15:51:18 +0000 (UTC) (envelope-from jozsi.avadkan@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9FC3C8FC18 for ; Thu, 8 Jul 2010 15:51:17 +0000 (UTC) Received: by fxm13 with SMTP id 13so547299fxm.13 for ; Thu, 08 Jul 2010 08:51:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=4tJvfMO7VjSITDC9PynvqXfZnGy+/srC0wq/8qW3M/Q=; b=OA8+lISjRr+emh523J97O7NR9c+IOz+c5nSFWhEU4ynXr1wXj+FEAqezku14+WCE4f TBnOvLPGTeImeSgHq/0a8Tf4qBowHhNZjV+ENSnCJG6zq+JEABMtQixqk3E87E+JS5ne +hDhNA+ktmsmWYMPbBQRsIoyl9jjBMzel23lc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=x6O3SUeC3RA5jnWx8x4ADiryxeqOZOnhZ6M/6X8lyhldl2/CmrhQo5ty23JXs5JB4/ gLU7BNvWadWH3lLlGEshiaRIwHMbWz6SOUUvTLlKmG28VyBL2fnlSxzjx6xQ5slxi/tk aQSCAqZpFZtyaX22u0RpGOJI1UgeOE7DXltRk= Received: by 10.223.103.134 with SMTP id k6mr7263552fao.49.1278604267211; Thu, 08 Jul 2010 08:51:07 -0700 (PDT) Received: from [192.168.32.64] (mail.ahol.co.hu [80.64.64.126]) by mx.google.com with ESMTPS id c3sm17226156fay.38.2010.07.08.08.51.06 (version=SSLv3 cipher=RC4-MD5); Thu, 08 Jul 2010 08:51:06 -0700 (PDT) From: Jozsi Avadkan To: FreeBSD Mailing list Content-Type: text/plain Date: Thu, 08 Jul 2010 17:50:52 +0200 Message-Id: <1278604252.12047.13.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit Subject: slow down dd - how? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 15:51:18 -0000 How can I slow down dd? I don't want to slow down the pc, when generating a big file [~40 GByte]. Does ionice work properly? Thank you for any help! :\ From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 16:44:40 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4890B1065672 for ; Thu, 8 Jul 2010 16:44:40 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr5.xs4all.nl (smtp-vbr5.xs4all.nl [194.109.24.25]) by mx1.freebsd.org (Postfix) with ESMTP id D3E178FC08 for ; Thu, 8 Jul 2010 16:44:39 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr5.xs4all.nl (8.13.8/8.13.8) with ESMTP id o68GicJo000802; Thu, 8 Jul 2010 18:44:38 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 10834BABC; Thu, 8 Jul 2010 18:44:38 +0200 (CEST) Date: Thu, 8 Jul 2010 18:44:38 +0200 From: Roland Smith To: Jozsi Avadkan Message-ID: <20100708164437.GA21881@slackbox.erewhon.net> References: <1278604252.12047.13.camel@localhost> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="AqsLC8rIMeq19msA" Content-Disposition: inline In-Reply-To: <1278604252.12047.13.camel@localhost> 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.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD Mailing list Subject: Re: slow down dd - how? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 16:44:40 -0000 --AqsLC8rIMeq19msA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 08, 2010 at 05:50:52PM +0200, Jozsi Avadkan wrote: > How can I slow down dd? Play with the block size parameter (bs). Smaller block sizes means more reads. The default is 512 bytes, which is very small. =20 > I don't want to slow down the pc, when generating a big file [~40 > GByte]. >=20 > Does ionice work properly? I think ionice only works on Linux. Why not use nice(1)? Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --AqsLC8rIMeq19msA Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (FreeBSD) iEYEARECAAYFAkw2AHUACgkQEnfvsMMhpyVj4ACfQSN8mTpig2V+x/9S9yGb2zWK /K8An2ruZV6BaAONg2PFEczzm4w3Uqmq =LaIz -----END PGP SIGNATURE----- --AqsLC8rIMeq19msA-- From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 17:01:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 445CF1065673 for ; Thu, 8 Jul 2010 17:01:08 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id 220218FC1D for ; Thu, 8 Jul 2010 17:01:07 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1OWuTD-0006nR-Hc for freebsd-questions@freebsd.org; Thu, 08 Jul 2010 10:01:07 -0700 Message-ID: <29109444.post@talk.nabble.com> Date: Thu, 8 Jul 2010 10:01:07 -0700 (PDT) From: Jakub Lach To: freebsd-questions@freebsd.org In-Reply-To: <4C35A9B5.9000204@ulb.ac.be> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jakub_lach@mailplus.pl References: <4C35A9B5.9000204@ulb.ac.be> Subject: Re: sort: write error with portsnap X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 17:01:08 -0000 Julien Cigar-2 wrote: > > Am I the only one to have sort: write errors since a few days with > portsnap ? : > Same here. FreeBSD 8.1-PRERELEASE #0 r209773 - Jakub Lach -- View this message in context: http://old.nabble.com/sort%3A-write-error-with-portsnap-tp29105763p29109444.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 17:05:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4236B1065675 for ; Thu, 8 Jul 2010 17:05:08 +0000 (UTC) (envelope-from dkelly@Grumpy.DynDNS.org) Received: from amavis-smtp.knology.net (amavis-smtp.knology.net [75.76.199.6]) by mx1.freebsd.org (Postfix) with ESMTP id 1A96D8FC15 for ; Thu, 8 Jul 2010 17:05:07 +0000 (UTC) Received: from localhost (amavis-smtp [127.0.0.1]) by amavis-smtp.knology.net (Postfix) with ESMTP id 187DA890F0; Thu, 8 Jul 2010 13:05:06 -0400 (EDT) Received: from smtp12.knology.net ([75.76.199.9]) by localhost (amavis-smtp.knology.net [75.76.199.6]) (amavisd-new, port 10024) with LMTP id rSMUOZR6esMY; Thu, 8 Jul 2010 13:05:04 -0400 (EDT) Received: from Grumpy.DynDNS.org (unknown [24.42.224.110]) by smtp12.knology.net (Postfix) with ESMTP id 160B55200050; Thu, 8 Jul 2010 13:04:53 -0400 (EDT) Received: by Grumpy.DynDNS.org (Postfix, from userid 928) id 676A02841F; Thu, 8 Jul 2010 12:04:58 -0500 (CDT) Date: Thu, 8 Jul 2010 12:04:58 -0500 From: David Kelly To: Roland Smith Message-ID: <20100708170458.GA34226@Grumpy.DynDNS.org> References: <1278604252.12047.13.camel@localhost> <20100708164437.GA21881@slackbox.erewhon.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100708164437.GA21881@slackbox.erewhon.net> User-Agent: Mutt/1.4.2.3i Cc: Jozsi Avadkan , FreeBSD Mailing list Subject: Re: slow down dd - how? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 17:05:08 -0000 On Thu, Jul 08, 2010 at 06:44:38PM +0200, Roland Smith wrote: > On Thu, Jul 08, 2010 at 05:50:52PM +0200, Jozsi Avadkan wrote: > > How can I slow down dd? > > Play with the block size parameter (bs). Smaller block sizes means more > reads. The default is 512 bytes, which is very small. > > > I don't want to slow down the pc, when generating a big file [~40 > > GByte]. I don't think Jozsi wants to burn more CPU cycles, just slow the process. Perhaps to attract less attention? Or interfere less with other processes. Nice(1) is a good start but rtprio(1) is probably where he should look. Also consider that writing a program of your own to serve as a slow pipe shouldn't be very hard. Think it would be a good exercise as an introduction to Unix programming. Simply copy stdin to stdout with a usleep(3) between. Pipe dd through your slowpipe program. Someone else has probably written a slow pipe. I haven't looked. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 17:28:11 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 690FB1065673 for ; Thu, 8 Jul 2010 17:28:11 +0000 (UTC) (envelope-from glarkin@FreeBSD.org) Received: from mail1.sourcehosting.net (113901-app1.sourcehosting.net [72.32.213.11]) by mx1.freebsd.org (Postfix) with ESMTP id 451FF8FC14 for ; Thu, 8 Jul 2010 17:28:10 +0000 (UTC) Received: from 68-189-245-235.dhcp.oxfr.ma.charter.com ([68.189.245.235] helo=cube.entropy.prv) by mail1.sourcehosting.net with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1OWutI-000Peu-5k; Thu, 08 Jul 2010 13:28:09 -0400 Received: from [127.0.0.1] (fireball.entropy.prv [192.168.1.12]) by cube.entropy.prv (Postfix) with ESMTP id 6A57C4245218; Thu, 8 Jul 2010 13:28:04 -0400 (EDT) Message-ID: <4C360AA0.1060709@FreeBSD.org> Date: Thu, 08 Jul 2010 13:28:00 -0400 From: Greg Larkin Organization: The FreeBSD Project User-Agent: Thunderbird 2.0.0.24 (Windows/20100228) MIME-Version: 1.0 To: David Kelly References: <1278604252.12047.13.camel@localhost> <20100708164437.GA21881@slackbox.erewhon.net> <20100708170458.GA34226@Grumpy.DynDNS.org> In-Reply-To: <20100708170458.GA34226@Grumpy.DynDNS.org> X-Enigmail-Version: 0.96.0 OpenPGP: id=1C940290 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -0.3 (/) Cc: Roland Smith , Jozsi Avadkan , FreeBSD Mailing list Subject: Re: slow down dd - how? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: glarkin@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 17:28:11 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David Kelly wrote: > On Thu, Jul 08, 2010 at 06:44:38PM +0200, Roland Smith wrote: >> On Thu, Jul 08, 2010 at 05:50:52PM +0200, Jozsi Avadkan wrote: >>> How can I slow down dd? >> Play with the block size parameter (bs). Smaller block sizes means more >> reads. The default is 512 bytes, which is very small. >> >>> I don't want to slow down the pc, when generating a big file [~40 >>> GByte]. > > I don't think Jozsi wants to burn more CPU cycles, just slow the > process. Perhaps to attract less attention? Or interfere less with other > processes. > > Nice(1) is a good start but rtprio(1) is probably where he should look. > > Also consider that writing a program of your own to serve as a slow pipe > shouldn't be very hard. Think it would be a good exercise as an > introduction to Unix programming. Simply copy stdin to stdout with a > usleep(3) between. Pipe dd through your slowpipe program. > > Someone else has probably written a slow pipe. I haven't looked. > Indeed someone has, and I ported it a few months back: http://www.freshports.org/sysutils/pmt. Check the "throttle" subcommand. I also use idprio(1) (http://www.freebsd.org/cgi/man.cgi?query=idprio&sourceid=opensearch) to schedule processes that I don't want interfering with the rest of the system. Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. http://twitter.com/sourcehosting/ - Follow me, follow you -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iD8DBQFMNgqg0sRouByUApARAmsbAJ9ayMlkCUhJpJr0HsPxMmHQ1ToYzgCgrJGX uIeciRHWwaNYrchL4TjYnkA= =NKtY -----END PGP SIGNATURE----- From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 18:23:10 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B48621065670 for ; Thu, 8 Jul 2010 18:23:10 +0000 (UTC) (envelope-from kline@thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 751B78FC21 for ; Thu, 8 Jul 2010 18:23:10 +0000 (UTC) Received: from thought.org (tao.thought.org [10.47.0.250]) (authenticated bits=0) by ethic.thought.org (8.14.3/8.14.3) with ESMTP id o68IN8p9087996 for ; Thu, 8 Jul 2010 11:23:09 -0700 (PDT) (envelope-from kline@thought.org) Received: by thought.org (nbSMTP-1.00) for uid 1002 kline@thought.org; Thu, 8 Jul 2010 11:23:08 -0700 (PDT) Date: Thu, 8 Jul 2010 11:23:08 -0700 From: Gary Kline To: FreeBSD Mailing List Message-ID: <20100708182305.GA78236@thought.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. Cc: Subject: troubles with my optical drive on old thinkpad.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 18:23:10 -0000 guys, i only have a couple more black cd-r discs left; have wasted many since i WAS ABLE to install PC-BSD. the optical [dvd/cd] drive =does= read my ancient 5.3 CD set, but it reads nothing i burn. i have tried burning 8.0 bootonly.iso on the laptop (via k3b), and tried the same from my twin optical drives here on my desktop. can anybody suggest what i'm doing wrong? -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.83a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org 99 44/100% Guaranteed Novel From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 19:53:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96A70106566B for ; Thu, 8 Jul 2010 19:53:34 +0000 (UTC) (envelope-from matheuswcon@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4E3568FC13 for ; Thu, 8 Jul 2010 19:53:34 +0000 (UTC) Received: by gxk24 with SMTP id 24so863808gxk.13 for ; Thu, 08 Jul 2010 12:53:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=OTY2wVMIl9adE0vqb7XIsSLJ9gcZ7w7NeDwEB6t+6l0=; b=RdZu9HqiuyTE3LbJMU8vRzpUWlFyJFRs9FZIXuY9aVV8/bk7cPZzU93jU8vU2yzdDC wtAd2dbRMPbUbddyqfG6cyEU802TGLbvqHLQYv/OPRPao2D8qIMOigsBcsBB3Yd3JD17 bbIpvTKYFF23+fnAW1J783iD2J49BV8tA8ajA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=vzhVbsPinYZ7rCgpYoUe5245N5pkKSldnQiMnaYKIdkCFHnHaN4wrtN38PdhCX3p7T 5oEP+oCVB2+cIhwEtOlNoeYrKWUYGmnjUMbur1iP9vVBcweaHOJHt7TXuMBsi3oIJNcc NJx6DJRjlTmV54LcXdDuBp4utUjW73PbXRPm0= MIME-Version: 1.0 Received: by 10.90.36.1 with SMTP id j1mr3823083agj.74.1278618809326; Thu, 08 Jul 2010 12:53:29 -0700 (PDT) Received: by 10.90.120.10 with HTTP; Thu, 8 Jul 2010 12:53:29 -0700 (PDT) In-Reply-To: <4C35E607.2090902@ipv6canada.com> References: <4C35D11D.4000304@ipv6canada.com> <4C35E607.2090902@ipv6canada.com> Date: Thu, 8 Jul 2010 16:53:29 -0300 Message-ID: From: =?ISO-8859-1?Q?Matheus_Weber_da_Concei=E7=E3o?= To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: VPN IPsec Help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 19:53:34 -0000 > % route add 192.168.10.24/32 200.x.x.x > % route add 192.168.201.196/32 200.x.x.x > % route add 10.115.90.236/32 200.x.x.x add net 192.168.10.24: gateway 200.x.x.x: Network is unreachable --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D Matheus Weber da Concei=E7=E3o From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 20:06:18 2010 Return-Path: Delivered-To: questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4083A106566C for ; Thu, 8 Jul 2010 20:06:18 +0000 (UTC) (envelope-from jamie@FreeBSD.org) Received: from gritton.org (gritton.org [208.92.232.93]) by mx1.freebsd.org (Postfix) with ESMTP id E5D4D8FC26 for ; Thu, 8 Jul 2010 20:06:17 +0000 (UTC) Received: from guppy.corp.verio.net (fw.oremut02.us.wh.verio.net [198.65.168.24]) (authenticated bits=0) by gritton.org (8.14.3/8.14.3) with ESMTP id o68JTSB2044475 for ; Thu, 8 Jul 2010 13:29:28 -0600 (MDT) (envelope-from jamie@FreeBSD.org) Message-ID: <4C36267C.8070401@FreeBSD.org> Date: Thu, 08 Jul 2010 13:26:52 -0600 From: Jamie Gritton User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.5) Gecko/20100103 Thunderbird/3.0 MIME-Version: 1.0 To: "questions@freebsd.org" References: <4C35993A.1010109@comclark.com> In-Reply-To: <4C35993A.1010109@comclark.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: jls jail command X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 20:06:18 -0000 On 07/08/10 03:24, Aiza wrote: > what is jls command syntax to list all jails a path location? > > jls -n shows path=/usr/jails/ thats my primary jail system. > > I have secondary jail system at /usr/jails.sys2/ "jls -n" will show all jails, with one line per jail. If you're just looking for the jail in a particular path, you could pipe it to "grep path='/usr/jails '" or something along those lines. > I tried jls -j /usr/jails.sys2/ and jls -j /usr/jails.sys2/jailname > and got core dump. The -j option expects either a jid or a jail name (which defaults to the jid unless explicitly specified). The core dump has been fixed in the upcoming 8.1 release - in 8.0 you can only specify jails by jid. - Jamie From owner-freebsd-questions@FreeBSD.ORG Thu Jul 8 21:51:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 74DE51065672 for ; Thu, 8 Jul 2010 21:51:54 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (gate6.infracaninophile.co.uk [IPv6:2001:8b0:151:1::1]) by mx1.freebsd.org (Postfix) with ESMTP id E92478FC12 for ; Thu, 8 Jul 2010 21:51:53 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id o68LpcS5084226 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 8 Jul 2010 22:51:46 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <4C364863.4080700@infracaninophile.co.uk> Date: Thu, 08 Jul 2010 22:51:31 +0100 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: Frank Bonnet References: <4C358AA1.40208@esiee.fr> In-Reply-To: <4C358AA1.40208@esiee.fr> X-Enigmail-Version: 1.0.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC8C35EA3D675D4823CA7E27A" X-Virus-Scanned: clamav-milter 0.96.1 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=1.6 required=5.0 tests=BAYES_50,DKIM_ADSP_ALL, SPF_FAIL autolearn=no version=3.3.1 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: "freebsd-questions@freebsd.org" Subject: Re: Openldap clustering ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 21:51:54 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC8C35EA3D675D4823CA7E27A Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 08/07/2010 09:21:53, Frank Bonnet wrote: > Could anybody recommend a rock solid software to build > an OpenLDAP cluster with FreeBSD 8.0 ? Well, you're off to a good start with FreeBSD and OpenLDAP. In fact, you don't really need much more than that. As mentioned else-thread, you can set up master-master replication between a couple of OpenLDAP instances quite readily: unlike say, M-M replication in MySQL, this is pretty robust[*] and you can write to the directory on either server. You can also expand to a ring topology with three or more servers, plus many other possibilities, and site-to-site replication also works pretty well over long distances, but that's probably getting beyond the scope of what you want. The really handy thing about LDAP is that you can do quite a reasonable High-Availability setup with no extra software or hardware -- it's a lot like DNS in that respect. Simply specify a series of LDAP servers in the ldap.conf (or pam-ldap.conf or nss-ldap.conf) on each client, and the client will try each in turn until it reaches one it can bind to successfully. This does introduce a little extra latency here and there, but nothing particularly drastic. There is also a method of distributing traffic using SRV records that can be managed centrally in the DNS but AFAIK, {nss,pam}-ldap.conf don't understand it -- other clients do and will work just fine. You can use CARP or relayd or HW load balancers or other technologies to make the H-A almost seamless, but frequently the extra complication just doesn't provide enough extra performance to justify the effort or the expense. Test early, and test often while working up your cluster. Cheers, Matthew [*] Partly this is due to the intrinsic nature of LDAP directories, where there tend to be far fewer uniqueness constraints, and partly its because LDAP servers generally service far more reads than writes -- more so than typical RDBMS usage. Mostly however, it's because LDAP replicates the modified data, rather than replaying a stream of update queries on the replication targets. --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enigC8C35EA3D675D4823CA7E27A Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkw2SGoACgkQ8Mjk52CukIxz6wCfY0VV2f8Y2NxVReuaCVt5fAD9 NAgAn0/HckaRodMuIqQbuVhDFCM7BpNM =vgVl -----END PGP SIGNATURE----- --------------enigC8C35EA3D675D4823CA7E27A-- From owner-freebsd-questions@FreeBSD.ORG Fri Jul 9 00:32:44 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 62244106564A for ; Fri, 9 Jul 2010 00:32:44 +0000 (UTC) (envelope-from fwd@gothschlampen.com) Received: from vs.gothschlampen.com (vs.gothschlampen.com [85.93.11.85]) by mx1.freebsd.org (Postfix) with ESMTP id 298A98FC0C for ; Fri, 9 Jul 2010 00:32:43 +0000 (UTC) Received: by vs.gothschlampen.com (Postfix, from userid 667) id 8D6961D2725; Fri, 9 Jul 2010 02:32:18 +0200 (CEST) Date: Fri, 9 Jul 2010 02:32:18 +0200 From: Thomas To: Jozsi Avadkan Message-ID: <20100709003218.GA10163@gothschlampen.com> References: <1278604252.12047.13.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1278604252.12047.13.camel@localhost> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: FreeBSD Mailing list Subject: Re: slow down dd - how? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2010 00:32:44 -0000 On Thu, Jul 08, 2010 at 05:50:52PM +0200, Jozsi Avadkan wrote: Hi, > How can I slow down dd? > > I don't want to slow down the pc, when generating a big file [~40 > GByte]. > > Does ionice work properly? > > Thank you for any help! :\ you could use some creative shellscripting (probably in addition to idprio): dd if=/dev/zero bs=1024k | ( dd bs=1024k count=10; sleep 3 ) | dd bs=1024k of=/dev/somewhere This pauses for 3 seconds for every 10MB written. Try some variations of bs, count and sleep, until you find an acceptable compromise between speed and imposed load. Regards Thomas From owner-freebsd-questions@FreeBSD.ORG Fri Jul 9 06:44:35 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11AED106566C for ; Fri, 9 Jul 2010 06:44:35 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (ns2.r-bonomi.com [204.87.227.129]) by mx1.freebsd.org (Postfix) with ESMTP id C19B68FC13 for ; Fri, 9 Jul 2010 06:44:34 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.3/rdb1) id o696i0QK028217 for freebsd-questions@freebsd.org; Fri, 9 Jul 2010 01:44:00 -0500 (CDT) Date: Fri, 9 Jul 2010 01:44:00 -0500 (CDT) From: Robert Bonomi Message-ID: <201007090644.o696i0QK028217@mail.r-bonomi.com> To: freebsd-questions@freebsd.org Subject: Re: slow down dd - how? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2010 06:44:35 -0000 > Date: Fri, 9 Jul 2010 02:32:18 +0200 > From: Thomas > Cc: FreeBSD Mailing list > Subject: Re: slow down dd - how? > > On Thu, Jul 08, 2010 at 05:50:52PM +0200, Jozsi Avadkan wrote: > > Hi, > > > How can I slow down dd? > > > > you could use some creative shellscripting (probably in addition to idprio): > > dd if=/dev/zero bs=1024k | ( dd bs=1024k count=10; sleep 3 ) | dd bs=1024k of=/dev/somewhere > > This pauses for 3 seconds for every 10MB written. ... I must be missing something. Doesn't that "dd ... ; sleep" in the sub-shell need to be in a _loop_ of some sort? I would expect the dd in the sub-shell to _exit_ after the first 10mb, whereupon the subshell would exit after the 3 second sleep, whereupon 'somebody" is going to holler about a 'broken pipe'. From owner-freebsd-questions@FreeBSD.ORG Fri Jul 9 12:12:27 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9EFCD1065670 for ; Fri, 9 Jul 2010 12:12:27 +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 3D7DC8FC1D for ; Fri, 9 Jul 2010 12:12:26 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgECALKuNkykD30E/2dsb2JhbAAHgxaQZLoskTmENXIE Received: from bebif01.ulb.ac.be (HELO [10.0.0.194]) ([164.15.125.4]) by smtp.ulb.ac.be with ESMTP; 09 Jul 2010 14:12:25 +0200 Message-ID: <4C371229.6050202@ulb.ac.be> Date: Fri, 09 Jul 2010 14:12:25 +0200 From: Julien Cigar Organization: Belgian Biodiversity Platform User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.10) Gecko/20100621 Thunderbird/3.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4C35A9B5.9000204@ulb.ac.be> <29109444.post@talk.nabble.com> In-Reply-To: <29109444.post@talk.nabble.com> Content-Type: multipart/mixed; boundary="------------050009080009090103040906" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: sort: write error with portsnap X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2010 12:12:27 -0000 This is a multi-part message in MIME format. --------------050009080009090103040906 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 07/08/2010 19:01, Jakub Lach wrote: > > > Julien Cigar-2 wrote: >> >> Am I the only one to have sort: write errors since a few days with >> portsnap ? : >> > > Same here. > > FreeBSD 8.1-PRERELEASE #0 r209773 > > - Jakub Lach good to know I'm not the only one ... I thought my disks/RAID was silently dying (no kernel logs) ... -- No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. --------------050009080009090103040906-- From owner-freebsd-questions@FreeBSD.ORG Fri Jul 9 13:18:04 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D0471106566B for ; Fri, 9 Jul 2010 13:18:04 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from smtp-gw29.mailanyone.net (smtp-gw29.mailanyone.net [208.70.128.55]) by mx1.freebsd.org (Postfix) with ESMTP id B06118FC26 for ; Fri, 9 Jul 2010 13:18:03 +0000 (UTC) Received: from mailanyone.net by smtp-gw29.mailanyone.net with esmtpa (MailAnyone extSMTP jalmberg@identry.com) id 1OXDSr-00040X-Py for freebsd-questions@freebsd.org; Fri, 09 Jul 2010 08:18:02 -0500 Message-ID: <4C372189.2060606@identry.com> Date: Fri, 09 Jul 2010 09:18:01 -0400 From: John Almberg User-Agent: Postbox 1.1.5 (Macintosh/20100613) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: shrinking swap space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2010 13:18:04 -0000 Since my server locked me out last week because it was out of swap space, I've been monitoring the swap space every 4 hours. It started off with 3% used and little by little it has crept up to 17% this morning. I've been reading up on the subject in my two FreeBSD books (Absolute and Complete) but neither give me a hint on how to find the program(s) that are slowly eating up my swap space. Is there a utility that shows which programs are using swap space? Or that can help debug this problem? Thanks: JOhn From owner-freebsd-questions@FreeBSD.ORG Fri Jul 9 13:31:58 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13974106566B for ; Fri, 9 Jul 2010 13:31:58 +0000 (UTC) (envelope-from dkelly@Grumpy.DynDNS.org) Received: from amavis-smtp.knology.net (amavis-smtp.knology.net [75.76.199.6]) by mx1.freebsd.org (Postfix) with ESMTP id E0BA88FC1A for ; Fri, 9 Jul 2010 13:31:56 +0000 (UTC) Received: from localhost (amavis-smtp [127.0.0.1]) by amavis-smtp.knology.net (Postfix) with ESMTP id 43ACB89257; Fri, 9 Jul 2010 09:31:55 -0400 (EDT) Received: from smtp12.knology.net ([75.76.199.9]) by localhost (amavis-smtp.knology.net [75.76.199.6]) (amavisd-new, port 10024) with LMTP id 72jCcKLiD+b4; Fri, 9 Jul 2010 09:31:54 -0400 (EDT) Received: from Grumpy.DynDNS.org (unknown [24.42.224.110]) by smtp12.knology.net (Postfix) with ESMTP id 38706520001F; Fri, 9 Jul 2010 09:31:48 -0400 (EDT) Received: by Grumpy.DynDNS.org (Postfix, from userid 928) id A493A2841F; Fri, 9 Jul 2010 08:31:52 -0500 (CDT) Date: Fri, 9 Jul 2010 08:31:52 -0500 From: David Kelly To: Robert Bonomi Message-ID: <20100709133152.GA40320@Grumpy.DynDNS.org> References: <201007090644.o696i0QK028217@mail.r-bonomi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201007090644.o696i0QK028217@mail.r-bonomi.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: slow down dd - how? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2010 13:31:58 -0000 On Fri, Jul 09, 2010 at 01:44:00AM -0500, Robert Bonomi wrote: > > > > > How can I slow down dd? > > > > you could use some creative shellscripting (probably in addition to idprio): > > > > dd if=/dev/zero bs=1024k | ( dd bs=1024k count=10; sleep 3 ) | dd bs=1024k of=/dev/somewhere > > > > This pauses for 3 seconds for every 10MB written. ... > > I must be missing something. You are not missing anything. > Doesn't that "dd ... ; sleep" in the sub-shell need to be in a _loop_ > of some sort? Yes. dd if=/dev/zero bs=1024k | ( dd bs=1024k count=10; sleep 3 ) | dd bs=1024k of=/dev/null 0+10 records in 0+10 records out 655360 bytes transferred in 0.001183 secs (554077619 bytes/sec) 0+10 records in 0+10 records out 655360 bytes transferred in 3.003105 secs (218227 bytes/sec) > I would expect the dd in the sub-shell to _exit_ after the first 10mb, > whereupon the subshell would exit after the 3 second sleep, whereupon > 'somebody" is going to holler about a 'broken pipe'. Am not sure why the actual example blocksize was 64k but the results are the same for FreeBSD and MacOS X. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From owner-freebsd-questions@FreeBSD.ORG Fri Jul 9 14:14:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82841106566C for ; Fri, 9 Jul 2010 14:14:14 +0000 (UTC) (envelope-from matheuswcon@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3BBAB8FC18 for ; Fri, 9 Jul 2010 14:14:14 +0000 (UTC) Received: by gxk24 with SMTP id 24so1487743gxk.13 for ; Fri, 09 Jul 2010 07:14:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=189o4Cubf6ilvXDoqTZuSRWAfyRr0HucedOR8cPS4JI=; b=FnRnuqGG2AT7fkbcNzN/hvnEuQytaZq+t2nDzQ0lKSWcsinfoHqVSWBgt+8CpXdG1j p2SaJj7Ckn0bbFvfBMPzIw14N8GVeXBN99h6vR7NchvlaoAPBN4GgjN9SB5kwsXPyCiy P8/tUiXAoWeAGuiYHeznwjPvk6tmcfT9qJ1Ck= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=rxv8uFwW/rsO8pa1vh0W159qHq/M7QbEOo1LTiE5i/Unx3arbw2/yxqkW41fNNQ8Je Icte1MoB5vzA5nAJfoaY6+FgcHYNFL/hZ/0pGBJH0d3YizaAiigsnddT/AGpU2q08ZHg auNgrgfMZrXhzoQxcPi9H9KOzdP5c4gejO5So= MIME-Version: 1.0 Received: by 10.90.27.18 with SMTP id a18mr8457039aga.203.1278684845752; Fri, 09 Jul 2010 07:14:05 -0700 (PDT) Received: by 10.90.120.10 with HTTP; Fri, 9 Jul 2010 07:14:05 -0700 (PDT) In-Reply-To: References: <4C35D11D.4000304@ipv6canada.com> <4C35E607.2090902@ipv6canada.com> Date: Fri, 9 Jul 2010 11:14:05 -0300 Message-ID: From: =?ISO-8859-1?Q?Matheus_Weber_da_Concei=E7=E3o?= To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: VPN IPsec Help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2010 14:14:14 -0000 >> % route add 192.168.10.24/32 200.x.x.x >> % route add 192.168.201.196/32 200.x.x.x >> % route add 10.115.90.236/32 200.x.x.x > add net 192.168.10.24: gateway 200.x.x.x: Network is unreachable > -- The kernel will not create routes automatically? --=20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D Matheus Weber da Concei=E7=E3o From owner-freebsd-questions@FreeBSD.ORG Fri Jul 9 14:50:27 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4C8811065678 for ; Fri, 9 Jul 2010 14:50:27 +0000 (UTC) (envelope-from edflecko@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 186068FC16 for ; Fri, 9 Jul 2010 14:50:26 +0000 (UTC) Received: by iwn35 with SMTP id 35so2789777iwn.13 for ; Fri, 09 Jul 2010 07:50:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=RGd05eP5n0j97AjnT3dhNL1JybsMlOqleXhbXy2WhLU=; b=r1h5hLiOcNCWsaXKxlAQA7FxKye3Z5cCDHJyZ9iQE1llMhLqP2aQEOfXzZOCeWHMu9 uYtL9ND98IRefQR+RXtEX577hqRimUv2b6ZMJWflofXbpF3UUhaA98rj1hh4CvY+5/qf JVH719yP3Gp4NHQUHRxiWx0IsnwP0/wAkANvo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=j7AmA0lBdE87he8sk7x9RrPwohK7et6S1XoraUQ5j3xN0lVVS9ytPxXSHnPawg9dGO oTx424j+iA+oFPJMH/5eQrdSvIS43XjoLXkd67YgtEMphqSlBv9IYTb5nphgzlg1OOv8 7dDpqT1DcsgU10fJ+We5rEt8JMA60COcQxgkw= MIME-Version: 1.0 Received: by 10.231.150.15 with SMTP id w15mr9687675ibv.115.1278687026220; Fri, 09 Jul 2010 07:50:26 -0700 (PDT) Received: by 10.231.210.201 with HTTP; Fri, 9 Jul 2010 07:50:26 -0700 (PDT) Date: Fri, 9 Jul 2010 07:50:26 -0700 Message-ID: From: Ed Flecko To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: ezjail -vs- "Do it yourself" jail? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2010 14:50:27 -0000 I'm trying to set up a FreeBSD 8.0 server to run Apache that will be facing the nasty and unforgiving WWW. I have several good books on Apache that describe how to set up the jail, when I came across several websites that reference the "ezjail" package. Are there some caveats or downsides to using the ezjail route for setting up my server with Apache? It sure sounds like an easier way to go and less "goof-proof", but as we all know, easier is not always better! Thank you, Ed From owner-freebsd-questions@FreeBSD.ORG Fri Jul 9 15:06:46 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7A71D106566B for ; Fri, 9 Jul 2010 15:06:46 +0000 (UTC) (envelope-from lists@stringsutils.com) Received: from madmax.bizintegrators.com (madmax.bizintegrators.com [64.94.184.54]) by mx1.freebsd.org (Postfix) with ESMTP id 23C428FC14 for ; Fri, 9 Jul 2010 15:06:45 +0000 (UTC) Received: from shelca (p65-147.acedsl.com [66.114.65.147]) (authenticated bits=0) by madmax.bizintegrators.com (8.13.4/8.13.4) with ESMTP id o69F6h7o023196 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 9 Jul 2010 11:06:44 -0400 (EDT) References: Message-ID: X-Mailer: http://www.courier-mta.org/cone/ From: Francisco Reyes To: krad Date: Fri, 09 Jul 2010 11:06:44 -0400 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="US-ASCII" Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Loftmail-Check: No X-Scanned-By: MIMEDefang 2.57 on 64.94.184.88 Cc: Liste FreeBSD Subject: Re: Global backup solution for FBSD & Ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2010 15:06:46 -0000 krad writes: > In my experience dedup requires a fairly large amount of juice so if your > backups are large I hope you machines are big on ram The way tarsnap does it is not that intensive. I have used in an old 900Mhz machine with less than 640MB of RAM and it worked well. I think the program computes some sort of hash for blocks of data and then the server checks to see if it already has that block. From owner-freebsd-questions@FreeBSD.ORG Fri Jul 9 15:09:44 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA340106564A for ; Fri, 9 Jul 2010 15:09:44 +0000 (UTC) (envelope-from jdixon@omniti.com) Received: from edge.omniti.com (smtp.omniti.com [8.8.38.6]) by mx1.freebsd.org (Postfix) with ESMTP id 9F43C8FC15 for ; Fri, 9 Jul 2010 15:09:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; d=omniti.com; s=s1024; c=relaxed/relaxed; q=dns/txt; i=@omniti.com; t=1278688179; h=From:Subject:Date:To; bh=4JESy4pcnlNxRWe0D3mXe8goYSw6mgxQuRTfP0+6sWM=; b=rUN7wGbByBE4GbPNIWoH4RkFIq+JrZxl2AgWXt3bdkkJvp9MefaDPVytLdSBGq4Z pvXu6dqvGZluyXHeMV7y5tBb3FUWDx+1kL2GXuFhUh6juNCXwFB930jHgZ2jFZEg 2iqDXd9Nz/tgzWIwUOJ+Dhrl66cjSqranVPMuVGDRPw=; Authentication-Results: edge smtp.user=jdixon@omniti.com; auth=pass (LOGIN) Received: from [68.55.0.29] ([68.55.0.29:64410] helo=omniti.com) by edge (envelope-from ) (ecelerity 2.2.2.35 r(26636M)) with ESMTPSA (cipher=AES256-SHA) id 2E/2C-17327-2BB373C4; Fri, 09 Jul 2010 11:09:39 -0400 Date: Fri, 9 Jul 2010 11:09:30 -0400 From: Jason Dixon To: freebsd-questions@freebsd.org Message-ID: <20100709150930.GL4133@omniti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) Subject: Last day to submit your Surge 2010 CFP! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2010 15:09:44 -0000 Today is your last chance to submit a CFP abstract for the 2010 Surge Scalability Conference. The event is taking place on Sept 30 and Oct 1, 2010 in Baltimore, MD. Surge focuses on case studies that address production failures and the re-engineering efforts that led to victory in Web Applications or Internet Architectures. You can find more information, including suggested topics and our current list of speakers, online: http://omniti.com/surge/2010 The final lineup should be available on the conference website next week. If you have questions about the CFP, attending Surge, or having your business sponsor/exhibit at Surge 2010, please contact us at surge@omniti.com. Thanks! -- Jason Dixon OmniTI Computer Consulting, Inc. jdixon@omniti.com 443.325.1357 x.241 From owner-freebsd-questions@FreeBSD.ORG Fri Jul 9 15:13:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7755E106566B for ; Fri, 9 Jul 2010 15:13:49 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 301278FC13 for ; Fri, 9 Jul 2010 15:13:48 +0000 (UTC) Received: by gxk24 with SMTP id 24so1560292gxk.13 for ; Fri, 09 Jul 2010 08:13:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=fu7SBhNQJ6FbyK9ZctxF7gm6a0+n3eOLdDMDLVGyQvQ=; b=g4dpkAOaLIa9s1BeIt+T7VJFDLIxCTDBvwGoGsSDBQZWdidNGfQL/qf39T6igeK7gL 0iXrTTp5rXOwWre076K08FHhpA0US5UGXv+iMP4D2yamBsIj7gUo8ySJNXyg/iQY/gbt pQqTNuhouoaTsKCnNcwtEqKwVKf1ZavysjdWw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=ianVXJNqqgU9Mr35+dB3ARKwcG50odG/KIRQSU+PUWq5nHiZpS+f2Ol6FXYYeEFfZi vee+CEp70OdeW80gqNjZubyLnlt/B51zFyDG/Ey84xs0gHusp1LWaJkTcgZOyV1+3n4A BM97k3RKDOkbnnPmWFs8WnoIhfkNxxrJ4ReFE= MIME-Version: 1.0 Received: by 10.229.230.132 with SMTP id jm4mr6119559qcb.29.1278688420484; Fri, 09 Jul 2010 08:13:40 -0700 (PDT) Received: by 10.229.86.12 with HTTP; Fri, 9 Jul 2010 08:13:40 -0700 (PDT) In-Reply-To: References: Date: Fri, 9 Jul 2010 10:13:40 -0500 Message-ID: From: Adam Vande More To: Ed Flecko Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: ezjail -vs- "Do it yourself" jail? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2010 15:13:49 -0000 On Fri, Jul 9, 2010 at 9:50 AM, Ed Flecko wrote: > I'm trying to set up a FreeBSD 8.0 server to run Apache that will be > facing the nasty and unforgiving WWW. > > I have several good books on Apache that describe how to set up the > jail, when I came across several websites that reference the "ezjail" > package. > > Are there some caveats or downsides to using the ezjail route for > setting up my server with Apache? It sure sounds like an easier way to > go and less "goof-proof", but as we all know, easier is not always > better! > It depends on how you're using it. If all you intend on having is a single jail with apache running in it, then it may be easier to use it standard method. Remember that ezjail is just a wrapper around FreeBSD jails, a management utility if you will. You can have both ezjail jails and traditional jails running concurrently. You can experiment with both to find out which method you like. I find ezjail more convenient in situation where there are multiples jails running on a system. I imagine if you have found a use for one jail, it won't be long until you find need for another. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Fri Jul 9 16:44:41 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BAF221065678 for ; Fri, 9 Jul 2010 16:44:41 +0000 (UTC) (envelope-from peter@boosten.org) Received: from smtpq1.gn.mail.iss.as9143.net (smtpq1.gn.mail.iss.as9143.net [212.54.34.164]) by mx1.freebsd.org (Postfix) with ESMTP id 4BE398FC17 for ; Fri, 9 Jul 2010 16:44:41 +0000 (UTC) Received: from [212.54.34.135] (helo=smtp4.gn.mail.iss.as9143.net) by smtpq1.gn.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1OXGgj-0007CY-Rg for freebsd-questions@freebsd.org; Fri, 09 Jul 2010 18:44:33 +0200 Received: from [84.25.59.18] (helo=ra.egypt.nl) by smtp4.gn.mail.iss.as9143.net with esmtp (Exim 4.69) (envelope-from ) id 1OXGgj-0003Sr-0L for freebsd-questions@freebsd.org; Fri, 09 Jul 2010 18:44:33 +0200 Received: from [127.0.0.1] (xp.egypt.nl [192.168.13.35]) by ra.egypt.nl (Postfix) with ESMTP id 5575039914 for ; Fri, 9 Jul 2010 18:44:17 +0200 (CEST) Message-ID: <4C3751E0.4080003@boosten.org> Date: Fri, 09 Jul 2010 18:44:16 +0200 From: Peter Boosten User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-ZiggoSMTP-MailScanner-Information: Please contact the ISP for more information X-ZiggoSMTP-MailScanner-ID: 1OXGgj-0003Sr-0L X-ZiggoSMTP-MailScanner: Found to be clean X-ZiggoSMTP-MailScanner-SpamCheck: geen spam, SpamAssassin (niet cached, score=0.577, vereist 5, BAYES_50 0.00, CM_META_TB_NOARR 0.50, SPF_PASS -0.00, TW_ZJ 0.08) X-ZiggoSMTP-MailScanner-From: peter@boosten.org X-Spam-Status: No Subject: Re: ezjail -vs- "Do it yourself" jail? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2010 16:44:41 -0000 On 9-7-2010 17:13, Adam Vande More wrote: > On Fri, Jul 9, 2010 at 9:50 AM, Ed Flecko wrote: > >> I'm trying to set up a FreeBSD 8.0 server to run Apache that will be >> facing the nasty and unforgiving WWW. >> >> I have several good books on Apache that describe how to set up the >> jail, when I came across several websites that reference the "ezjail" >> package. >> >> Are there some caveats or downsides to using the ezjail route for >> setting up my server with Apache? It sure sounds like an easier way to >> go and less "goof-proof", but as we all know, easier is not always >> better! >> > > It depends on how you're using it. If all you intend on having is a single > jail with apache running in it, then it may be easier to use it standard > method. Remember that ezjail is just a wrapper around FreeBSD jails, a > management utility if you will. You can have both ezjail jails and > traditional jails running concurrently. You can experiment with both to > find out which method you like. I find ezjail more convenient in situation > where there are multiples jails running on a system. I imagine if you have > found a use for one jail, it won't be long until you find need for another. > One of the main advantages of ezjail is that it out of the box saves disk space for more than one jail, because of the shared nullfs mounts. That can be done by hand as well (the handbook shows how), but ezjail already invented the wheel. Peter -- http://www.boosten.org From owner-freebsd-questions@FreeBSD.ORG Fri Jul 9 18:09:53 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 162F61065670 for ; Fri, 9 Jul 2010 18:09:53 +0000 (UTC) (envelope-from fwd@gothschlampen.com) Received: from vs.gothschlampen.com (vs.gothschlampen.com [85.93.11.85]) by mx1.freebsd.org (Postfix) with ESMTP id D16FA8FC16 for ; Fri, 9 Jul 2010 18:09:52 +0000 (UTC) Received: by vs.gothschlampen.com (Postfix, from userid 667) id 0F50D1D258E; Fri, 9 Jul 2010 20:09:27 +0200 (CEST) Date: Fri, 9 Jul 2010 20:09:27 +0200 From: Thomas To: Robert Bonomi Message-ID: <20100709180927.GA20367@gothschlampen.com> References: <201007090644.o696i0QK028217@mail.r-bonomi.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201007090644.o696i0QK028217@mail.r-bonomi.com> User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-questions@freebsd.org Subject: Re: slow down dd - how? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2010 18:09:53 -0000 On Fri, Jul 09, 2010 at 01:44:00AM -0500, Robert Bonomi wrote: Hi, > > > How can I slow down dd? > > > > you could use some creative shellscripting (probably in addition to idprio): > > > > dd if=/dev/zero bs=1024k | ( dd bs=1024k count=10; sleep 3 ) | dd bs=1024k of=/dev/somewhere > > > > This pauses for 3 seconds for every 10MB written. ... > > I must be missing something. > > Doesn't that "dd ... ; sleep" in the sub-shell need to be in a _loop_ of some > sort? You're absolutely right. I probably should get more sleep. Of course it needs to be in a loop, something like "( while dd bs=1024k count=10; do sleep 3; done )" should do the trick. Sorry for the confusion. Regards Thomas From owner-freebsd-questions@FreeBSD.ORG Fri Jul 9 19:20:48 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93F74106564A for ; Fri, 9 Jul 2010 19:20:48 +0000 (UTC) (envelope-from pobox@verysmall.org) Received: from thing.verysmall.org (thing.verysmall.org [89.234.8.80]) by mx1.freebsd.org (Postfix) with ESMTP id 5B0168FC1C for ; Fri, 9 Jul 2010 19:20:48 +0000 (UTC) Received: from [10.0.1.2] (p54A7E503.dip.t-dialin.net [84.167.229.3]) by thing.verysmall.org (Postfix) with ESMTPA id A7B091705F; Fri, 9 Jul 2010 20:20:08 +0100 (BST) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Iv Ray In-Reply-To: <20100707212453.GA4161@alucard.int.rhavenn.net> Date: Fri, 9 Jul 2010 21:20:45 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: <28A5B2AD-ABC5-4F93-AFC5-7C0CBCDD69B6@verysmall.org> References: <6AC0293D-2262-4E5C-9616-516B49664FBF@verysmall.org> <201007071111.o67BBnr5093119@banyan.cs.ait.ac.th> <8F676AEB-5188-4F41-A971-C68293AD54F3@verysmall.org> <20100707212453.GA4161@alucard.int.rhavenn.net> To: Henrik Hudson X-Mailer: Apple Mail (2.1081) Cc: freebsd-questions@freebsd.org Subject: Re: what to do when FreeBSD cannot do something? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2010 19:20:48 -0000 On 07.07.2010, at 23:24, Henrik Hudson wrote: > One caveat is that ESX / ESXi are very picky about their hardware > and pretty much won't run on anything but server class devices > (mobo, NICs and CPU are the big ones). Yes, I'm aware of that. We have entry level, but ESXi compatible, HP and = IBM servers. > VMware still has their VMware > Server (software) solution, but it's slowly being phased out. Also, > it's against the EULA to use ESXi for commercial / reseller > purposes and ESX isn't cheap. Oh, wasn't aware about the ESXi EULA... will check, thank you. Iv= From owner-freebsd-questions@FreeBSD.ORG Fri Jul 9 19:24:18 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3690106564A for ; Fri, 9 Jul 2010 19:24:18 +0000 (UTC) (envelope-from pobox@verysmall.org) Received: from thing.verysmall.org (thing.verysmall.org [89.234.8.80]) by mx1.freebsd.org (Postfix) with ESMTP id 89F348FC13 for ; Fri, 9 Jul 2010 19:24:18 +0000 (UTC) Received: from [10.0.1.2] (p54A7E503.dip.t-dialin.net [84.167.229.3]) by thing.verysmall.org (Postfix) with ESMTPA id 2254A1705F; Fri, 9 Jul 2010 20:23:38 +0100 (BST) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Iv Ray In-Reply-To: <201007080104.o6814IM8001316@banyan.cs.ait.ac.th> Date: Fri, 9 Jul 2010 21:24:15 +0200 Content-Transfer-Encoding: quoted-printable Message-Id: References: <6AC0293D-2262-4E5C-9616-516B49664FBF@verysmall.org> <201007071111.o67BBnr5093119@banyan.cs.ait.ac.th> <8F676AEB-5188-4F41-A971-C68293AD54F3@verysmall.org> <201007080104.o6814IM8001316@banyan.cs.ait.ac.th> To: Olivier Nicole X-Mailer: Apple Mail (2.1081) Cc: freebsd-questions@freebsd.org Subject: Re: what to do when FreeBSD cannot do something? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2010 19:24:18 -0000 On 08.07.2010, at 03:04, Olivier Nicole wrote: > That's the idea: bare metal and free, proxmox has something based > on... I don't remember. I opted for vmware becuase it seems to be more > wide spread. Yes, that's what I think, too. > You will have to make your fingers dirty, because once you are > installing any OS on a virtual machine, it is as dirty as installing > on a bare hardware: you need to learn how to install, tune and secure > that new OS... >=20 > Good luck, Right. It's rather the comfort that I can have the right for every case (i. e. = Oracle, Interbase) without asking for budget for a physical machine and = having to take care of one more physical machine. Thank you for your thoughts, Iv= From owner-freebsd-questions@FreeBSD.ORG Fri Jul 9 20:17:26 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 625461065670 for ; Fri, 9 Jul 2010 20:17:26 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr14.xs4all.nl (smtp-vbr14.xs4all.nl [194.109.24.34]) by mx1.freebsd.org (Postfix) with ESMTP id EEB628FC17 for ; Fri, 9 Jul 2010 20:17:25 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr14.xs4all.nl (8.13.8/8.13.8) with ESMTP id o69KHOS2006091; Fri, 9 Jul 2010 22:17:24 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id 2B8B1BABC; Fri, 9 Jul 2010 22:17:24 +0200 (CEST) Date: Fri, 9 Jul 2010 22:17:24 +0200 From: Roland Smith To: Ed Flecko Message-ID: <20100709201724.GA72642@slackbox.erewhon.net> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="G4iJoqBmSsgzjUCe" Content-Disposition: inline In-Reply-To: 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.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org Subject: Re: ezjail -vs- "Do it yourself" jail? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2010 20:17:26 -0000 --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 09, 2010 at 07:50:26AM -0700, Ed Flecko wrote: > I'm trying to set up a FreeBSD 8.0 server to run Apache that will be > facing the nasty and unforgiving WWW. >=20 > I have several good books on Apache that describe how to set up the > jail, when I came across several websites that reference the "ezjail" > package. >=20 > Are there some caveats or downsides to using the ezjail route for > setting up my server with Apache? It sure sounds like an easier way to > go and less "goof-proof", but as we all know, easier is not always > better! It depends on how many jails you want to create. If you want to set up mult= iple jails, ezjail can save you disk space and management effort. If you are only setting up a single jail, I don't think ezjail will save much. I've documented the process I used for setting up a virtual server ma= nually on one of my webpages; http://www.xs4all.nl/~rsmith/unix/misc.xhtml#creatingav= irtualserveronfreebsdwithajail8 Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --G4iJoqBmSsgzjUCe Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (FreeBSD) iEYEARECAAYFAkw3g9QACgkQEnfvsMMhpyWQSQCZAUJRPWJfr18ZW/RwjXOhiq87 fEIAn2FA0UEGVa3Owc2tiDtRaQrys4Vb =FZTk -----END PGP SIGNATURE----- --G4iJoqBmSsgzjUCe-- From owner-freebsd-questions@FreeBSD.ORG Fri Jul 9 20:24:25 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE2CF1065670 for ; Fri, 9 Jul 2010 20:24:24 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (ns2.r-bonomi.com [204.87.227.129]) by mx1.freebsd.org (Postfix) with ESMTP id 99D618FC18 for ; Fri, 9 Jul 2010 20:24:24 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.3/rdb1) id o69KNblU004495; Fri, 9 Jul 2010 15:23:37 -0500 (CDT) Date: Fri, 9 Jul 2010 15:23:37 -0500 (CDT) From: Robert Bonomi Message-ID: <201007092023.o69KNblU004495@mail.r-bonomi.com> To: freebsd-questions@freebsd.org, jalmberg@identry.com Cc: Subject: Re: shrinking swap space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2010 20:24:25 -0000 > From owner-freebsd-questions@freebsd.org Fri Jul 9 08:18:56 2010 > Date: Fri, 09 Jul 2010 09:18:01 -0400 > From: John Almberg > To: freebsd-questions@freebsd.org > Subject: shrinking swap space > > Since my server locked me out last week because it was out of swap > space, I've been monitoring the swap space every 4 hours. It started off > with 3% used and little by little it has crept up to 17% this morning. > > I've been reading up on the subject in my two FreeBSD books (Absolute > and Complete) but neither give me a hint on how to find the program(s) > that are slowly eating up my swap space. > > Is there a utility that shows which programs are using swap space? Or > that can help debug this problem? 'ps' is your friend. it will show you the 'total' memory used by each process, *AND* the 'working set' size. The working set is the part of that process's address-space that is currently mapped into RAM. The -difference- betwen the total size, and the working set size is the swap usage. From owner-freebsd-questions@FreeBSD.ORG Fri Jul 9 20:32:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BEB4106564A for ; Fri, 9 Jul 2010 20:32:39 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout026.mac.com (asmtpout026.mac.com [17.148.16.101]) by mx1.freebsd.org (Postfix) with ESMTP id 4240B8FC1B for ; Fri, 9 Jul 2010 20:32:38 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from cswiger1.apple.com ([17.209.4.71]) by asmtp026.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0L5B00ECT51VIV90@asmtp026.mac.com> for freebsd-questions@freebsd.org; Fri, 09 Jul 2010 13:32:20 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1004200000 definitions=main-1007090114 X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5,1.2.40,4.0.166 definitions=2010-07-09_02:2010-02-06, 2010-07-09, 2010-07-09 signatures=0 From: Chuck Swiger In-reply-to: <4C372189.2060606@identry.com> Date: Fri, 09 Jul 2010 13:32:19 -0700 Message-id: References: <4C372189.2060606@identry.com> To: John Almberg X-Mailer: Apple Mail (2.1081) Cc: freebsd-questions@freebsd.org Subject: Re: shrinking swap space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2010 20:32:39 -0000 Hi-- On Jul 9, 2010, at 6:18 AM, John Almberg wrote: > Is there a utility that shows which programs are using swap space? Or that can help debug this problem? Try: "top -o size" Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Fri Jul 9 20:58:15 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0B3351065670 for ; Fri, 9 Jul 2010 20:58:15 +0000 (UTC) (envelope-from mlmichael70@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8A8588FC0A for ; Fri, 9 Jul 2010 20:58:14 +0000 (UTC) Received: by bwz12 with SMTP id 12so1667755bwz.13 for ; Fri, 09 Jul 2010 13:58:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=19OdV63U/exYZPUtmL6egYXiFr7E3Jk65A6O7sDY/yk=; b=I27CPJDqG07ZgUdqPpZhxStnKI8jAi8OZakFLJASYcfhtKOHoVkZPBXIm2FvQQUhEF SyLRFjJ5L9JntWMecnCt1PIiTzOgqKfDItQ7CPtDoChJAFVeb5c25zXQyls3gcSIEaaj 6fOq++FjcCwQSXwObh3snx55yWBpi4hB6/yuE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=Fmi2i4GRVGvkncj2v4KABxqmUJRKS240EwwoY6Nh3Ze/DCIkeom63Pa8Nj9eT4NLDn XW8UErm0V0YRQ0KCJEPytUg5y23aWLs/JmLo7rfEe44LFp9JQWEaDDBMeFP12ya9PohD kpHK56iS3JLyWvLzmpgXp1eeCJfUNA4k8cYAw= Received: by 10.204.25.145 with SMTP id z17mr7962528bkb.104.1278709081886; Fri, 09 Jul 2010 13:58:01 -0700 (PDT) Received: from prime.local (94-193-57-116.zone7.bethere.co.uk [94.193.57.116]) by mx.google.com with ESMTPS id bq20sm5350132bkb.4.2010.07.09.13.58.01 (version=SSLv3 cipher=RC4-MD5); Fri, 09 Jul 2010 13:58:01 -0700 (PDT) Message-ID: <4C378D58.5010404@gmail.com> Date: Fri, 09 Jul 2010 21:58:00 +0100 From: Michael User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.10) Gecko/20100628 Thunderbird/3.0.5 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: ipfw nat and jails on loopback - is it possible? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2010 20:58:15 -0000 Hello. Does anybody has a working configuration with ipfw nated jails on loopback interface? It simply doesn't work on my system. I can not get any connections to outside world from within a jail. FreeBSD 8.0-p3 amd64 laptop connected to internet via wlan0 (ath0) with 192.168.1.111 address. Jail with IP 127.127.127.1 aliased on lo0. Host system configuration: /etc/rc.conf ifconfig_wlan0="WPA DHCP" ifconfig_lo0_alias0="inet 127.127.127.1 netmask 255.255.255.255" gateway_enable="YES" firewall_enable="YES" firewall_script="/etc/ipfw.rules" firewall_nat_enable="YES" firewall_nat_interface="wlan0" /etc/resolve.conf nameserver 208.67.222.222 nameserver 208.67.220.220 /etc/ipfw.conf ipfw -q -f flush ipfw add 00001 allow all from 127.0.0.1 to 127.0.0.1 via lo0 ipfw add 00002 nat 100 ip from 127.127.127.1 to any via wlan0 keep-state ipfw nat 100 config ip 192.168.1.111 ipfw add 00003 allow all from any to any Jailed system configuration: /etc/rc.conf network_interfaces="" /etc/resolve.conf nameserver 208.67.222.222 nameserver 208.67.220.220 Now I'm doing ssh into a jailed system (127.127.127.1). Then on jail system I'm trying to do for example: host freebsd.org ;; connection timed out; no servers could be reached And on host system: ipfw -d show 00001 0 0 allow ip from 127.0.0.1 to 127.0.0.1 via lo0 00002 4 228 nat 100 ip from 127.127.127.1 to any via wlan0 keep-state 00003 182 24627 allow ip from any to any 65535 0 0 deny ip from any to any ## Dynamic rules (2): 00002 1 57 (1s) STATE udp 127.127.127.1 58340 <-> 208.67.222.222 53 00002 1 57 (2s) STATE udp 127.127.127.1 39870 <-> 208.67.220.220 53 So no packets got blocked but still it doesn't work properly. I'm trying to get it working for couple weeks now and I'm afraid I just run out of ideas so any help would be very appreciated. Michael From owner-freebsd-questions@FreeBSD.ORG Fri Jul 9 21:21:26 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B55981065760 for ; Fri, 9 Jul 2010 21:21:26 +0000 (UTC) (envelope-from eingorn777@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7D6CC8FC14 for ; Fri, 9 Jul 2010 21:21:26 +0000 (UTC) Received: by iwn35 with SMTP id 35so3269413iwn.13 for ; Fri, 09 Jul 2010 14:21:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=5chc9fuuAPfejt/gsIoV9BDp1aW7zpG2HfcluHNNdt8=; b=CaGH6Dd9Rgg7zbQBRg2q6OUdQHwzVJQAdGpg5ORCxMlxtJhLKhImRbluw7MtRPPOXY rp333GNk6dnVytsoGNLw5NCuELXK8nxxzytIz9/gVcYWn3YNumkEOEzwHhpQyCV1bZ+e tlWNBkAq70BT4DVEOnZmvC2lP0URbry512ALQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=nOYhDF7EbXopK3rMe7bmp8wwrEc/Lt+mQVnHHipGVYW5naJU6h/BdBV6FIyHvhmd92 QyRQnbZQn89fI1u2u+ynMObUf4hRAVFLJ7wpIuI/w5s3B7SpHYFLYya6KGyAmnXkO+sN bPn5P5xCrVr0UySH6kFzDScaU8/kCxM4Mbj+Q= MIME-Version: 1.0 Received: by 10.231.193.135 with SMTP id du7mr10001938ibb.176.1278710484612; Fri, 09 Jul 2010 14:21:24 -0700 (PDT) Received: by 10.231.35.133 with HTTP; Fri, 9 Jul 2010 14:21:24 -0700 (PDT) Date: Fri, 9 Jul 2010 21:21:24 +0000 Message-ID: From: Dmitry Lunts To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: RE:debugfs&FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2010 21:21:26 -0000 Thanks for your responses! fsdb really works. The event sequence was as follows: $sudo smartctl -t long /dev/ad6 $sudo smartctl -l selftest /dev/ad6 Num Test_Description Status Remaining ... LBA_of_first_error # 1 Extended offline Completed: read failure 90% 7376 ... 4007967 $sudo bsdlabel ad6s1 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 1048576 0 4.2BSD 2048 16384 8 b: 1048576 1048576 swap c: 100663227 0 unused 0 0 # "raw" part, don'= t edit d: 2097152 2097152 4.2BSD 2048 16384 28552 e: 655360 4194304 4.2BSD 2048 16384 40968 f: 37748736 4849664 4.2BSD 2048 16384 28552 g: 58064827 42598400 4.2BSD 2048 16384 28552 >From the above output one can conclude that bad sector (LBA_of_first_error=3D4007967) lies in the partition ad6s1d, which in my case is mounted to /var (from fstab) Further: $fsdb -r /dev/ad6s1d Bad sector offset within /var is LBA_of_first_error-62-offset_of_partition_d=3D 4007967-63-2097152=3D1910752 so, next step: fsdb (inum: 2)> findblk 1910752 1910752: data block of inode 117934 fsdb (inum: 117934)> inode 117934 current inode: regular file I=3D117934 MODE=3D100644 SIZE=3D53609 BTIME=3DJul 1 20:10:54 2010 [0 nsec] MTIME=3DJul 1 20:10:54 2010 [0 nsec] CTIME=3DJul 1 20:10:54 2010 [0 nsec] ATIME=3DJul 10 00:33:55 2010 [0 nsec] OWNER=3Droot GRP=3Dwheel LINKCNT=3D1 FLAGS=3D0 BLKCNT=3D6c GEN=3D8c5ac7e fsdb (inum: 117934)>blocks Blocks for inode 117934: Direct blocks: 477680, 477688, 477696, 477848 (3 frags) First fragment FSBlock (477688) when multiplied by 4 gives me exactly 1910752. i.e. LBA_of_first_error (4 is fsbtodb param from the output of ffsinfo -l 1 /dev/ad6s1d) Next I search for defect file: $ sudo find /var -inum 117934 /var/db/pkg/kdeutils-3.5.10_5/+CONTENTS And what's more: when I try to upgrade some port or simply issue the command $sudo pkgdb -uF I get this error: Input/Output error - /var/db/pkg/kdeutils-3.5.10_5/+CONTENTS wich corresponds exactly with what was previousely discovered by means of "smartctl", "fsdb" and "find". Just one more question (maybe a bit stupid): if I try to remap bad sector(s= ) in /var/db/pkg with, for instance, dd if=3D/dev/zero of=3D/dev/ad6 bs=3D512 count=3D1 seek=3D1910752 can I cosequently safely restore pkgdb with pkgdb -uF? TIA =D0=A1 =D1=83=D0=B2=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8=D0=B5=D0=BC, =D0=94=D0=BC= =D0=B8=D1=82=D1=80=D0=B8=D0=B9 Best regards, Dmitry email: eingorn777@gmail.com From owner-freebsd-questions@FreeBSD.ORG Fri Jul 9 21:55:35 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A433F106566B for ; Fri, 9 Jul 2010 21:55:35 +0000 (UTC) (envelope-from merlyn@stonehenge.com) Received: from red.stonehenge.com (red.stonehenge.com [208.79.95.2]) by mx1.freebsd.org (Postfix) with ESMTP id 912CA8FC08 for ; Fri, 9 Jul 2010 21:55:35 +0000 (UTC) Received: by red.stonehenge.com (Postfix, from userid 1001) id 3A13E31905; Fri, 9 Jul 2010 14:55:35 -0700 (PDT) From: merlyn@stonehenge.com (Randal L. Schwartz) To: Michael References: <4C378D58.5010404@gmail.com> x-mayan-date: Long count = 12.19.17.9.4; tzolkin = 5 Kan; haab = 17 Tzec Date: Fri, 09 Jul 2010 14:55:35 -0700 In-Reply-To: <4C378D58.5010404@gmail.com> (Michael's message of "Fri, 09 Jul 2010 21:58:00 +0100") Message-ID: <864og89v6w.fsf@red.stonehenge.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org Subject: Re: ipfw nat and jails on loopback - is it possible? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2010 21:55:35 -0000 >>>>> "Michael" == Michael writes: Michael> Does anybody has a working configuration with ipfw nated jails Michael> on loopback interface? I noticed in my pf.conf that I had "set skip on lo". I changed that to "set skip on lo0" (still advisable), and then created an "lo1" using ipv4_addrs_lo1=127.1.0.1/24 in my /etc/rc.conf, and I can now route in and out just fine. I don't know if ipfw has a similar "don't apply rules to lo0" option, but if that's the case, create an lo1 instead. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc. See http://methodsandmessages.vox.com/ for Smalltalk and Seaside discussion From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 01:13:41 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA13A1065670 for ; Sat, 10 Jul 2010 01:13:41 +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 72C348FC13 for ; Sat, 10 Jul 2010 01:13:41 +0000 (UTC) Received: from r55.edvax.de (port-92-195-117-232.dynamic.qsc.de [92.195.117.232]) by mx01.qsc.de (Postfix) with ESMTP id 5A1693D47F; Sat, 10 Jul 2010 03:13:18 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o6A1DGvv002511; Sat, 10 Jul 2010 03:13:17 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 10 Jul 2010 03:13:16 +0200 From: Polytropon To: Gary Kline Message-Id: <20100710031316.e324bbed.freebsd@edvax.de> In-Reply-To: <20100708182305.GA78236@thought.org> References: <20100708182305.GA78236@thought.org> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Mailing List Subject: Re: troubles with my optical drive on old thinkpad.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2010 01:13:41 -0000 On Thu, 8 Jul 2010 11:23:08 -0700, Gary Kline wrote: > > guys, > > i only have a couple more black cd-r discs left; have wasted many since > i WAS ABLE to install PC-BSD. the optical [dvd/cd] drive =does= read > my ancient 5.3 CD set, but it reads nothing i burn. i have tried > burning 8.0 bootonly.iso on the laptop (via k3b), and tried the same > from my twin optical drives here on my desktop. > > can anybody suggest what i'm doing wrong? First of all, let's check the basics. You have CDs that can be burned without errors, but can't be read afterwards, in multiple drives. This indicates that the writing process is okay, but maybe the content of the writing process is wrong. So let's first check that. Use the command % cdcontrol -f /dev/acd0 info If /dev/acd0 is your default drive (which can be set using the environment variable CDROM), you don't need the -f parameter. to get a TOC listing of the CD in the drive. This doesn't involve any mounting, just reading. It should give something like this: % cdcontrol info Starting track = 1, ending track = 1, TOC size = 18 bytes track start duration block length type ------------------------------------------------- 1 0:02.00 57:57.56 0 260831 data 170 57:59.56 - 260831 - - This example is taken from a FreeBSD 7.0 CD #1. It shows one data track. This is correct, as the CD has been created from an ISO. But a defective ISO, or just a plain file, would result in a similar output, so let's next verify what's on the CD - fs-type-wise. % file - < /dev/acd0 /dev/stdin: ISO 9660 CD-ROM filesystem data 'FreeBSD_Install ' (bootable) Okay, an ISO is on it. Good. The final step is to try to mount it. I'll give the full set of options here, you usually don't have to do that because of an entry in /etc/fstab (which you don't have when using HAL's automounting). % sudo mount -t cd9660 -o ro /dev/acd0 /media/cdrom/ % df -h /media/cdrom/ Filesystem Size Used Avail Capacity Mounted on /dev/acd0 509M 509M 0B 100% /media/cdrom Excellent. Now we could also "ls -R /media/cdrom" to see a listing of all the files, but that's not needed, as the CD is obviously working. % sudo mount /media/cdrom % cdcontrol eject If you can verify your CDs with THOSE steps, they are okay, as they are valid data CDs. You should be able to reproduce that with ANY drive. If you can't (e. g. no file, no mount), check the process of how you've initially created them. Just for testing, have a blank CD handy, and do this (obviously stupid) exercise: 1. As you're going to use cdrecord, make sure ATAPICAM is in your kernel, or the module atapicam.ko is loaded. # kldstat -v | grep atapicam 45 ata/atapicam In this example, I have ATAPICAM in the kernel. Otherwise, use # kldload atapicam.ko to dynamically load it. 2. Make sure to have sufficient permissions for cd and xpt devices. If in doubt, test as root (which I'll do in this example, so no further checking). 3. Prepare a valid ISO: # cd /usr # mkisofs -r -J -o /tmp/foo.iso src/ This will create a file system with the contents of /usr/src. You can choose any other directory for testing, but I think /usr/src is good as it doesn't containt too much stuff, so it should be quite quick. Make sure you have approx. 500 MB on /tmp. If not, use any other directory with sufficient space; I usually use my 10 GB /scratch partition for such things. 4. Find out the SCSI ID for your CD recorder. # camcontrol devlist at scbus2 target 0 lun 0 (cd0,pass0) In this example, it is 2,0,0; the corresponding files are /dev/cd0 and /dev/pass0 (which you need +w permission for). If there's no such output, go back to square 1. :-) 5. Insert the blank media, let the drive settle, and record the ISO: # cdrecord dev=2,0,0 speed=16 -v -eject -tao -data The ISO should now be recorded to the CD. The recording speed is defined to be 16x. Most drives know the best speed by theirselves, but it's not always compatible with the media. Some say they are 48x, but aren't. So 16x is a good speed - not too fast, not to slow. Make sure to see the options for cdrecord: The CD has to be created as "track at once" (-tao), and it will also be closed, so you can't append any new data. But for this test, it's not needed. It's also defined to be a data CD (not a music CD). This test is just a "basic minimum variables" test. As much as possible is predefined, so there's fewer room for mistakes. That's why I'm not giving pictural instructions for GUI programs - there's so much one can't check, and also so much one can do wrong by accident. So I rely on a kind of highly controlled environment... :-) Please try this and post the results - especially if anything strange comes up. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 02:53:22 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 031CA106566B for ; Sat, 10 Jul 2010 02:53:22 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp3.comclark.com (avmxsmtp3.comclark.com [202.69.191.117]) by mx1.freebsd.org (Postfix) with ESMTP id 954E28FC0A for ; Sat, 10 Jul 2010 02:53:21 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqUZALJ9N0zKRa3YOWdsb2JhbAAHh2iYZgEBAQE0ASe+NIUnBIN3hws X-IronPort-AV: E=Sophos;i="4.55,177,1278259200"; d="scan'208";a="9793633" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.216]) by avmxsmtp3.comclark.com with ESMTP; 10 Jul 2010 10:53:17 +0800 Message-ID: <4C37E09D.7000806@comclark.com> Date: Sat, 10 Jul 2010 10:53:17 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: "questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: how to setenv using Bourne .sh X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2010 02:53:22 -0000 Trying the set the pkg_add environment variable PKGDIR using this setenv PKGDIR="/usr/packages" and get this error message setenv: Syntax Error. man setenv is useless. The question is how do I set a environment variable using the default freebsd shell? From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 02:57:39 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 56468106564A for ; Sat, 10 Jul 2010 02:57:39 +0000 (UTC) (envelope-from depocatcher@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 188588FC19 for ; Sat, 10 Jul 2010 02:57:38 +0000 (UTC) Received: by iwn35 with SMTP id 35so3559913iwn.13 for ; Fri, 09 Jul 2010 19:57:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:subject:content-type; bh=Whm04ibiOkBykiAHWjW3kE3BJRvPm7rzq2nkGP/mso8=; b=sitD15nbJjwI2fAWS49J/MVt+gnqJSaUKp2SaHD/k58v+Y6WYQ8xbpD3pe8zHHDXu0 Z5OuAeFUNl0HIBVa68bWJ3DcrTt1gwqTtvksRqkdUmPhIviM4TbYbWJJzckx0XW3bjZD AfssR+OYFGxCk6+1AvQKG1ffHRXr4NJqh3GO0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :content-type; b=CN+3gVJeauwH0u/70pQRTU/7yCJTpVorXUATdJmgFtSrscOoVLj9EdLpEs+23yFtP8 GB3wbZGvpp8b8egukF2kUD096c+nemt+uuHv7Z0+Je8eBw9IpaXpamc6ftCZAGiOfl1w eMwFV0o4CFcg/hd8AY7Vc/TYZ0Hxh3SZl+BgI= Received: by 10.231.183.200 with SMTP id ch8mr9072907ibb.124.1278728760046; Fri, 09 Jul 2010 19:26:00 -0700 (PDT) Received: from [192.168.17.10] (c-98-240-166-249.hsd1.mn.comcast.net [98.240.166.249]) by mx.google.com with ESMTPS id 34sm7019201ibi.0.2010.07.09.19.25.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 09 Jul 2010 19:25:58 -0700 (PDT) Message-ID: <4C37DA39.4000706@gmail.com> Date: Fri, 09 Jul 2010 21:26:01 -0500 From: Depo Catcher User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: Freebsd questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Disk very slow in FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: depocatcher@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2010 02:57:39 -0000 I've tried everything here: http://forums.freebsd.org/showthread.php?t=15747 and here: http://forums.freebsd.org/showthread.php?t=15722 Also followed this: http://forums.freebsd.org/showpost.p...8&postcount=38 I have a 2TB WD drives that I would like to use as one big data partition. I'm using UFS2. No raid, nothing fancy. I'm on FreeBSD 6.4 Release. Under windows I can easily read/write about at ~75MB/s without doing nothing but formatting it. My friend has the same drives in Linux, he says he can get ~50MB/s on his very low end system (crap cpu and only 256mb of ram). Under FreeBSD, my write is at best ~6MB/s and read is about ~9MB/s. The CPU, amount of ram, etc are all better than both the above boxes so don't think it's bound by anything externally like that. From what I read, the partitions aren't aligned correctly? What's going on here? For start to finish, how should I partition and format these so they don't suck? diskinfo: Code: [root@fire2 ~/drive]# diskinfo -v /dev/da3 /dev/da3 512 # sectorsize 2000396746752 # mediasize in bytes (1.8T) 3907024896 # mediasize in sectors 243201 # Cylinders according to firmware. 255 # Heads according to firmware. 63 # Sectors according to firmware. dataconfig.cfg: Code: #http://forums.freebsd.org/showpost.php?p=76148&postcount=38 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 3906961408 1 4.2BSD 4096 32768 bsdlabel/newfs: Code: bsdlabel -R /dev/da3 datadrive.cfg newfs -S 4096 -b 32768 -f 4096 -O 2 -U -m 8 -o space -L u2 /dev/da3 fstab: Code: /dev/da3 /u3 ufs rw 2 2 From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 03:03:40 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 26A2C106564A for ; Sat, 10 Jul 2010 03:03:40 +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 DD7778FC14 for ; Sat, 10 Jul 2010 03:03:39 +0000 (UTC) Received: from r55.edvax.de (port-92-195-117-232.dynamic.qsc.de [92.195.117.232]) by mx02.qsc.de (Postfix) with ESMTP id 3DD721E562; Sat, 10 Jul 2010 05:03:38 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o6A33bse003026; Sat, 10 Jul 2010 05:03:37 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 10 Jul 2010 05:03:37 +0200 From: Polytropon To: Aiza Message-Id: <20100710050337.418d26c3.freebsd@edvax.de> In-Reply-To: <4C37E09D.7000806@comclark.com> References: <4C37E09D.7000806@comclark.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "questions@freebsd.org" Subject: Re: how to setenv using Bourne .sh X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2010 03:03:40 -0000 On Sat, 10 Jul 2010 10:53:17 +0800, Aiza wrote: > Trying the set the pkg_add environment variable PKGDIR using this > > > setenv PKGDIR="/usr/packages" and get this error message > setenv: Syntax Error. Of course. The sh shell doesn't have setenv. > man setenv is useless. The manual entry of setenv can be found in "man csh". :-) > The question is how do I set a environment variable using the default > freebsd shell? You mean: FreeBSD's default scripting shell. :-) $ PKGDIR="/usr/packages" $ export PKGDIR or $ export PKGDIR="/usr/packages" Refer to "man sh" for details. The setenv command is a built-in for the C Shell. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 05:18:10 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 716E7106564A for ; Sat, 10 Jul 2010 05:18:10 +0000 (UTC) (envelope-from modulok@gmail.com) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id 2DA358FC13 for ; Sat, 10 Jul 2010 05:18:09 +0000 (UTC) Received: by qyk30 with SMTP id 30so765017qyk.13 for ; Fri, 09 Jul 2010 22:17:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=7u1NVeVGRjMYdcPGdMpOFkUBVwGjpF7FxtZ4DxbC5U4=; b=OJOTmobOg3dd/4WExygkFH65MtN4PkIWKJY/uPMqaev43Qoa/AX44XKcUxJ1m30jwV y0swQ0hheJUTl7vXmqxWjK7UIqZ5JQzpBKpTc01VjvmWOfRT5Zaq8p/NPs22ijBc5qR8 t96Vp9MizrIPzrVYr1h7D2PrKxO/Acm/av0Ew= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=RaqIYqm073VPy8CVkXvraspGbXM6c0kBhoy9GWN688St69vhRFi5LlHUFS0tOw+A2A eoMGomZanM5sxM9PG31z81xOIz8Yis9v7Wox3KcfVEBW0nwrorl0Gc2XcWzvrrq8Te/x LEf7wVd5ixQG1dU4AEBmB3K5WvkiEziNU1gjU= MIME-Version: 1.0 Received: by 10.224.2.147 with SMTP id 19mr6192437qaj.58.1278739075702; Fri, 09 Jul 2010 22:17:55 -0700 (PDT) Received: by 10.224.67.132 with HTTP; Fri, 9 Jul 2010 22:17:55 -0700 (PDT) Date: Fri, 9 Jul 2010 23:17:55 -0600 Message-ID: From: Modulok To: "questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Reconstruct meaningful data from tcpdumps? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2010 05:18:10 -0000 Is there a way to reconstruct network traffic from a tcpdump file? Or something similar? As in: analyze the dump file and attempt to re-construct files transfered though http, ftp, known messenger protocols, instant message conversations, http requests, web pages, and so forth? There's a bunch of tools on Windows that say they do this to some extent or another, but they require a client-side installation, cost a lot of money, or are crawling with malicious code. I can read tcpdump files, (to an extent) but viewing a hex dump of a jpeg is futile. If that makes any sense. Thanks guys! From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 06:00:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CCFA8106566B for ; Sat, 10 Jul 2010 06:00:08 +0000 (UTC) (envelope-from bill@celestial.com) Received: from dorsai-02.celestial.com (dorsai-02.celestial.com [192.136.111.19]) by mx1.freebsd.org (Postfix) with ESMTP id 48DF38FC14 for ; Sat, 10 Jul 2010 06:00:08 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by dorsai-02.celestial.com (Postfix) with ESMTP id 2F832205A59D; Fri, 9 Jul 2010 23:00:07 -0700 (PDT) X-Virus-Scanned: amavisd-new at celestial.com Received: from dorsai-02.celestial.com ([127.0.0.1]) by localhost (dorsai-02.celestial.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id QJz+e8txrCJe; Fri, 9 Jul 2010 23:00:06 -0700 (PDT) Received: from ayn.mi.celestial.com (hayek.celestial.com [192.136.111.12]) by dorsai-02.celestial.com (Postfix) with ESMTP id B362E205A596; Fri, 9 Jul 2010 23:00:06 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by ayn.mi.celestial.com (Postfix) with ESMTP id 84B8A68E7749F; Fri, 9 Jul 2010 23:00:06 -0700 (PDT) X-Virus-Scanned: amavisd-new at mi.celestial.com Received: from ayn.mi.celestial.com ([127.0.0.1]) by localhost (ayn.mi.celestial.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id gCGuIMbKjx8l; Fri, 9 Jul 2010 23:00:06 -0700 (PDT) Received: by ayn.mi.celestial.com (Postfix, from userid 203) id 6299168950930; Fri, 9 Jul 2010 23:00:06 -0700 (PDT) Date: Fri, 9 Jul 2010 23:00:06 -0700 From: Bill Campbell To: freebsd-questions@freebsd.org, "questions@freebsd.org" Message-ID: <20100710060006.GA11325@ayn.mi.celestial.com> Mail-Followup-To: freebsd-questions@freebsd.org, "questions@freebsd.org" References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 OpenPKG/% (2009-01-05) Cc: Subject: Re: Reconstruct meaningful data from tcpdumps? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@celestial.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2010 06:00:08 -0000 On Fri, Jul 09, 2010, Modulok wrote: >Is there a way to reconstruct network traffic from a tcpdump file? Or >something similar? As in: analyze the dump file and attempt to >re-construct files transfered though http, ftp, known messenger >protocols, instant message conversations, http requests, web pages, >and so forth? I like the tcpflow program for things like this. Its command syntax is very similar to tcpdump, but I find it much more useful as it creates a file for each side of a tcp conversation containing the traffic. This can be very handy when debugging things like IMAP connections. I have also used it to capture web pages that I couldn't save in a browser to see what was actually being sent. Bill -- INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 Guns are no more responsible for killing people than the spoon is responsible for making Rosie O'Donnell fat. From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 06:29:53 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9C764106564A for ; Sat, 10 Jul 2010 06:29:53 +0000 (UTC) (envelope-from bill@celestial.com) Received: from dorsai-02.celestial.com (dorsai-02.celestial.com [192.136.111.19]) by mx1.freebsd.org (Postfix) with ESMTP id 60F888FC13 for ; Sat, 10 Jul 2010 06:29:53 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by dorsai-02.celestial.com (Postfix) with ESMTP id 2F832205A59D; Fri, 9 Jul 2010 23:00:07 -0700 (PDT) X-Virus-Scanned: amavisd-new at celestial.com Received: from dorsai-02.celestial.com ([127.0.0.1]) by localhost (dorsai-02.celestial.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id QJz+e8txrCJe; Fri, 9 Jul 2010 23:00:06 -0700 (PDT) Received: from ayn.mi.celestial.com (hayek.celestial.com [192.136.111.12]) by dorsai-02.celestial.com (Postfix) with ESMTP id B362E205A596; Fri, 9 Jul 2010 23:00:06 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by ayn.mi.celestial.com (Postfix) with ESMTP id 84B8A68E7749F; Fri, 9 Jul 2010 23:00:06 -0700 (PDT) X-Virus-Scanned: amavisd-new at mi.celestial.com Received: from ayn.mi.celestial.com ([127.0.0.1]) by localhost (ayn.mi.celestial.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id gCGuIMbKjx8l; Fri, 9 Jul 2010 23:00:06 -0700 (PDT) Received: by ayn.mi.celestial.com (Postfix, from userid 203) id 6299168950930; Fri, 9 Jul 2010 23:00:06 -0700 (PDT) Date: Fri, 9 Jul 2010 23:00:06 -0700 From: Bill Campbell To: freebsd-questions@freebsd.org, "questions@freebsd.org" Message-ID: <20100710060006.GA11325@ayn.mi.celestial.com> Mail-Followup-To: freebsd-questions@freebsd.org, "questions@freebsd.org" References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.19 OpenPKG/% (2009-01-05) Cc: Subject: Re: Reconstruct meaningful data from tcpdumps? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@celestial.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2010 06:29:53 -0000 On Fri, Jul 09, 2010, Modulok wrote: >Is there a way to reconstruct network traffic from a tcpdump file? Or >something similar? As in: analyze the dump file and attempt to >re-construct files transfered though http, ftp, known messenger >protocols, instant message conversations, http requests, web pages, >and so forth? I like the tcpflow program for things like this. Its command syntax is very similar to tcpdump, but I find it much more useful as it creates a file for each side of a tcp conversation containing the traffic. This can be very handy when debugging things like IMAP connections. I have also used it to capture web pages that I couldn't save in a browser to see what was actually being sent. Bill -- INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 Guns are no more responsible for killing people than the spoon is responsible for making Rosie O'Donnell fat. From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 07:33:47 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6BF9A1065672 for ; Sat, 10 Jul 2010 07:33:47 +0000 (UTC) (envelope-from batrick@batbytes.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 436628FC15 for ; Sat, 10 Jul 2010 07:33:47 +0000 (UTC) Received: by iwn35 with SMTP id 35so3730431iwn.13 for ; Sat, 10 Jul 2010 00:33:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.149.140 with SMTP id t12mr8410598ibv.100.1278745831582; Sat, 10 Jul 2010 00:10:31 -0700 (PDT) Received: by 10.231.172.20 with HTTP; Sat, 10 Jul 2010 00:10:31 -0700 (PDT) Date: Sat, 10 Jul 2010 03:10:31 -0400 Message-ID: From: Patrick Donnelly To: questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: Subject: Writes to Hard Disk Going Beyond Capacity X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2010 07:33:47 -0000 Hi List, I have a strange problem in a C program I wrote. I open a hard disk character file (/dev/ad1) and attempt to write over the entire disk. I expect the last write that would go beyond the hard disk length (capacity) to return with an error but instead the write succeeds. This happens for hundreds of gigabytes beyond the file (hard drive) length. What could be wrong? (This program works fine on Linux. The last write that would go beyond the end of the hard drive returns with -1.) Thanks for any help, -- - Patrick Donnelly From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 07:37:24 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CA701065670 for ; Sat, 10 Jul 2010 07:37:24 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 17D698FC13 for ; Sat, 10 Jul 2010 07:37:23 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1OXUck-0001Ud-QL>; Sat, 10 Jul 2010 09:37:22 +0200 Received: from p5b2f58a3.dip.t-dialin.net ([91.47.88.163] helo=munin.geoinf.fu-berlin.de) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1OXUck-0003Fd-Mj>; Sat, 10 Jul 2010 09:37:22 +0200 Message-ID: <4C382326.4090109@mail.zedat.fu-berlin.de> Date: Sat, 10 Jul 2010 09:37:10 +0200 From: "Hartmann, O." User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.10) Gecko/20100628 Thunderbird/3.0.5 MIME-Version: 1.0 To: Sander Janssen References: <4C37C2D7.3000504@xs4all.nl> In-Reply-To: <4C37C2D7.3000504@xs4all.nl> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 91.47.88.163 Cc: ohartman@zedat.fu-berlin.de, freebsd-questions@FreeBSD.org Subject: Re: Freebsd Firefox problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2010 07:37:24 -0000 On 07/10/10 02:46, Sander Janssen wrote: > Hello, > > I am currently having the same problems you were having with firefox > 3.6 on FreeBSD in February (I found the threads on the Freebsd-Ports > mailing list). The thread doesn't seem to come up with an answer and I > am wondering if you managed to solve the problem? > > I am talking about firefox crashing when you use a context menu. I > have tried a portupgrade -Rf firefox to try to recompile every depency > but nothing has any effect. In my case thunderbird works correctly. > > Any information would be useful. > > Thanks in advance, > Sander Hello. I have still this obscure problems. When "gettext" was updated and we have had to update any dependend port, within this procedure Firefox 3.6 worked correctly as expected. But after the update was performed, everything remained as it was before. I did several times portmaster -f (which is the same as -R with portupgrade) to build every necessary port, but with no effect. I also performed the one-day-taking gettext update and, additionaly, I recompiled every port (nearly 1000 on my systems). No effect. When delegating the client firefox to another X terminal, say to my workstation at home (login with ssh -Y for X11 portforwarding), no problems occur, so I guess the problem is riggered by X11 on the local machine and especially with the ATI radeonhd driver (which does not work correctly on many boxes and with low end Radeon HD 46XX or 47XX cards). I have no idea. I use Opera for now on the machine in question. Regards, Oliver From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 08:01:54 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 69F131065674 for ; Sat, 10 Jul 2010 08:01:54 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.freebsd.org (Postfix) with ESMTP id D432B8FC19 for ; Sat, 10 Jul 2010 08:01:53 +0000 (UTC) X-Spam-Status: No X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-0.2, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_50 0.80) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: o6A81atj001740 Received: from kobe.laptop (77.49.123.102.dsl.dyn.forthnet.gr [77.49.123.102]) (authenticated bits=128) by igloo.linux.gr (8.14.3/8.14.3/Debian-9.1) with ESMTP id o6A81atj001740 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 10 Jul 2010 11:01:42 +0300 Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.4/8.14.4) with ESMTP id o6A81Usj042237 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 10 Jul 2010 11:01:31 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost) by kobe.laptop (8.14.4/8.14.4/Submit) id o6A81Tp5042135; Sat, 10 Jul 2010 11:01:29 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) From: Giorgos Keramidas To: Patrick Donnelly References: Date: Sat, 10 Jul 2010 11:01:29 +0300 In-Reply-To: (Patrick Donnelly's message of "Sat, 10 Jul 2010 03:10:31 -0400") Message-ID: <87iq4nsr3a.fsf@kobe.laptop> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: questions@freebsd.org Subject: Re: Writes to Hard Disk Going Beyond Capacity X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2010 08:01:54 -0000 On Sat, 10 Jul 2010 03:10:31 -0400, Patrick Donnelly wrote: > Hi List, > > I have a strange problem in a C program I wrote. I open a hard > disk character file (/dev/ad1) and attempt to write over the > entire disk. I expect the last write that would go beyond the > hard disk length (capacity) to return with an error but instead > the write succeeds. This happens for hundreds of gigabytes > beyond the file (hard drive) length. What could be wrong? (This > program works fine on Linux. The last write that would go > beyond the end of the hard drive returns with -1.) > > Thanks for any help, Can we see the exact source code of the program? What you describe might work if the file has holes inside it. From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 09:56:44 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 330DB106566B for ; Sat, 10 Jul 2010 09:56:44 +0000 (UTC) (envelope-from ndhertbsd@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id A68CC8FC1E for ; Sat, 10 Jul 2010 09:56:43 +0000 (UTC) Received: by bwz12 with SMTP id 12so1921919bwz.13 for ; Sat, 10 Jul 2010 02:56:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=c4pl9JxGpSgDavodIsM+6QrRhJ8SrQQj1bj9IEkzvzc=; b=iGgzagdWUV1vLSSWmxdFp8zH05FIzMlqbRyOexAO0gFALtYi+L0FzL5gTAFoAnio4w HFJu9KqIGUhQlrWJfjdKMYOVUDQUELOATsA51OacERg54kTAu7L8EaOmyGGKVzqPlHyb NhNE5lNfiqtEul7eEW1H9U54R9zn6chqfNpd8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=U+q5AJA5YTT6qko0ESUiCW+sU5t1PPnsWdXywWm1wY1VaSohhYPY5ktlWnaZ+/1aQB bgl/jhzt93XMsj8tq2jVarDHMmGjCrawA1rfLQq4b1PQEYCft3PqJ0kipjVc/Lzswlup vvkQ4m0ZqBfNoJJ16xN2ZULI8NhIW+TXhbeE4= MIME-Version: 1.0 Received: by 10.204.79.221 with SMTP id q29mr8525085bkk.49.1278755791595; Sat, 10 Jul 2010 02:56:31 -0700 (PDT) Received: by 10.204.46.99 with HTTP; Sat, 10 Jul 2010 02:56:31 -0700 (PDT) Date: Sat, 10 Jul 2010 11:56:31 +0200 Message-ID: From: n dhert To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Fatal trap 12: page fault while in kernel mode X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2010 09:56:44 -0000 On a recently, from FreeBSD7.2 to 8.0, upgraded system, I got a spontaneous reboot during last night. A crash dump was made. files in /var/crash contain: # cat info.0 Dump header from device /dev/da0s1b Architecture: amd64 Architecture Version: 2 Dump Length: 2046042112B (1951 MB) Blocksize: 512 Dumptime: Sat Jul 10 00:22:39 2010 Hostname: radix.cmi.ua.ac.be Magic: FreeBSD Kernel Dump Version String: FreeBSD 8.0-RELEASE-p2 #0: Thu Feb 25 09:59:40 CET 2010 root@radix.cmi.ua.ac.be:/usr/obj/usr/src/sys/GENERICQ Panic String: page fault Dump Parity: 1570614093 Bounds: 0 Dump Status: good File core.txt.0 is 3276 lines, so this for now I dont' post. If there are parts relevant, I will post them when asked. On the other hand, I followed FreeBSD Manual Ch 18.13 "How can I make the most of the data I see when my kernel panics?" and gathered the output of kgdb (see below) (my custom kernel "GENERICQ" is exactly the same os the GENERIC kernel except that disk quota is enabled, no other changes) What's the cause and how to get this solved? Is it a known bug in FreeBSD 8.0 ???? radix# kgdb /usr/obj/usr/src/sys/GENERICQ/kernel.debug /var/crash/vmcore.0 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd"... Unread portion of the kernel message buffer: Fatal trap 12: page fault while in kernel mode cpuid = 3; apic id = 03 fault virtual address = 0x80 fault code = supervisor read data, page not present instruction pointer = 0x20:0xffffffff805a6761 stack pointer = 0x28:0xffffff80000a0a60 frame pointer = 0x28:0xffffff80000a0aa0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 12 (swi6: task queue) trap number = 12 panic: page fault cpuid = 3 Uptime: 38d14h25m5s Physical memory: 8178 MB Dumping 1951 MB:panic: bufwrite: buffer is not busy??? cpuid = 3 1936 1920 1904 1888 1872 1856 1840 1824 1808 1792 1776 1760 1744 1728 1712 1696 1680 1664 1648 1632 1616 1600 1584 1568 1552 1536 1520 1504 1488 1472 1456 1440 1424 1408 1392 1376 1360 1344 1328 1312 1296 1280 1264 1248 1232 1216 1200 1184 1168 1152 1136 1120 1104 1088 1072 1056 1040 1024 1008 992 976 960 944 928 912 896 880 864 848 832 816 800 784 768 752 736 720 704 688 672 656 640 624 608 592 576 560 544 528 512 496 480 464 448 432 416 400 384 368 352 336 320 304 288 272 256 240 224 208 192 176 160 144 128 112 96 80 64 48 32 16 Reading symbols from /boot/kernel/star_saver.ko...Reading symbols from /boot/ker nel/star_saver.ko.symbols...done. done. Loaded symbols for /boot/kernel/star_saver.ko #0 doadump () at pcpu.h:223 pcpu.h: No such file or directory. in pcpu.h (kgdb) (kgdb) backtrace #0 doadump () at pcpu.h:223 #1 0xffffffff8057f8c9 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:416 #2 0xffffffff8057fcfc in panic (fmt=0xffffffff80926acc "%s") at /usr/src/sys/kern/kern_shutdown.c:579 #3 0xffffffff80861758 in trap_fatal (frame=0xffffff00019eaab0, eva=Variable "ev a" is not available. ) at /usr/src/sys/amd64/amd64/trap.c:852 #4 0xffffffff80861b24 in trap_pfault (frame=0xffffff80000a09b0, usermode=0) at /usr/src/sys/amd64/amd64/trap.c:768 #5 0xffffffff80862414 in trap (frame=0xffffff80000a09b0) at /usr/src/sys/amd64/amd64/trap.c:494 #6 0xffffffff80848703 in calltrap () at /usr/src/sys/amd64/amd64/exception.S:224 #7 0xffffffff805a6761 in device_get_softc (dev=0x0) at /usr/src/sys/kern/subr_bus.c:2294 #8 0xffffffff80269a37 in ata_generic_command (request=0xffffff01224df618) at /usr/src/sys/dev/ata/ata-lowlevel.c:659 #9 0xffffffff80268510 in ata_begin_transaction (request=0xffffff01224df618) at /usr/src/sys/dev/ata/ata-lowlevel.c:103 #10 0xffffffff8026a57c in ata_start (dev=0xffffff0001aac500) at /usr/src/sys/dev/ata/ata-queue.c:212 #11 0xffffffff8026a807 in ata_queue_request (request=0xffffff01224df618) at /usr/src/sys/dev/ata/ata-queue.c:95 #12 0xffffffff805baab3 in taskqueue_run (queue=0xffffff00019c1d80) at /usr/src/sys/kern/subr_taskqueue.c:239 #13 0xffffffff805598cd in intr_event_execute_handlers (p=Variable "p" is not ava ilable. ) at /usr/src/sys/kern/kern_intr.c:1165 #14 0xffffffff8055ae2e in ithread_loop (arg=0xffffff000187c460) at /usr/src/sys/kern/kern_intr.c:1178 #15 0xffffffff80557898 in fork_exit ( callout=0xffffffff8055ada0 , arg=0xffffff000187c460, frame=0xffffff80000a0c80) at /usr/src/sys/kern/kern_fork.c:843 #16 0xffffffff80848bde in fork_trampoline () at /usr/src/sys/amd64/amd64/exception.S:561 #17 0x0000000000000000 in ?? () #18 0x0000000000000000 in ?? () #19 0x0000000000000001 in ?? () #20 0x0000000000000000 in ?? () #17 0x0000000000000000 in ?? () #18 0x0000000000000000 in ?? () #19 0x0000000000000001 in ?? () #20 0x0000000000000000 in ?? () #21 0x0000000000000000 in ?? () #22 0x0000000000000000 in ?? () #23 0x0000000000000000 in ?? () #24 0x0000000000000000 in ?? () #25 0x0000000000000000 in ?? () #26 0x0000000000000000 in ?? () #27 0x0000000000000000 in ?? () #28 0x0000000000000000 in ?? () #29 0x0000000000000000 in ?? () #30 0x0000000000000000 in ?? () #31 0x0000000000000000 in ?? () #32 0x0000000000000000 in ?? () #33 0x0000000000000000 in ?? () #34 0x0000000000000000 in ?? () #35 0x0000000000000000 in ?? () #36 0x0000000000000000 in ?? () #37 0x0000000000000000 in ?? () #38 0x0000000000000000 in ?? () #39 0x0000000000000000 in ?? () #40 0x0000000000000000 in ?? () #41 0x0000000000e40000 in ?? () #42 0x0000000000000000 in ?? () #43 0xffffff00019eaab0 in ?? () #44 0xffffffff80bf1dc0 in affinity () #45 0xffffff00019eaab0 in ?? () #46 0xffffff80000a0620 in ?? () #47 0xffffff80000a05d8 in ?? () ---Type to continue, or q to quit--- #48 0xffffff0001881720 in ?? () #49 0xffffffff805a2bd8 in sched_switch (td=0xffffffff8055ada0, newtd=0xffffff000187c460, flags=Variable "flags" is not available. ) at /usr/src/sys/kern/sched_ule.c:1858 Previous frame inner to this frame (corrupt stack?) (kgdb) (kgdb) q radix# From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 10:53:49 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 409701065673 for ; Sat, 10 Jul 2010 10:53:49 +0000 (UTC) (envelope-from batrick@batbytes.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 15CAE8FC16 for ; Sat, 10 Jul 2010 10:53:48 +0000 (UTC) Received: by iwn35 with SMTP id 35so3837849iwn.13 for ; Sat, 10 Jul 2010 03:53:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.146.136 with SMTP id h8mr11131320ibv.0.1278759228306; Sat, 10 Jul 2010 03:53:48 -0700 (PDT) Received: by 10.231.172.20 with HTTP; Sat, 10 Jul 2010 03:53:48 -0700 (PDT) In-Reply-To: <87iq4nsr3a.fsf@kobe.laptop> References: <87iq4nsr3a.fsf@kobe.laptop> Date: Sat, 10 Jul 2010 06:53:48 -0400 Message-ID: From: Patrick Donnelly To: questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: Writes to Hard Disk Going Beyond Capacity X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2010 10:53:49 -0000 On Sat, Jul 10, 2010 at 4:01 AM, Giorgos Keramidas wrote: > On Sat, 10 Jul 2010 03:10:31 -0400, Patrick Donnelly wrote: >> Hi List, >> >> I have a strange problem in a C program I wrote. I open a hard >> disk character file (/dev/ad1) and attempt to write over the >> entire disk. I expect the last write that would go beyond the >> hard disk length (capacity) to return with an error but instead >> the write succeeds. =C2=A0This happens for hundreds of gigabytes >> beyond the file (hard drive) length. What could be wrong? (This >> program works fine on Linux. The last write that would go >> beyond the end of the hard drive returns with -1.) >> >> Thanks for any help, > > Can we see the exact source code of the program? =C2=A0What you > describe might work if the file has holes inside it. http://www.batbytes.com/destroy Specifically, after filling the hard drive it will begin to rapidly "write" where the throughput of the writes is about 10 GB/s (obviously not going to the hard drive). --=20 - Patrick Donnelly From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 11:16:54 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 014B2106567A for ; Sat, 10 Jul 2010 11:16:54 +0000 (UTC) (envelope-from fwd@gothschlampen.com) Received: from vs.gothschlampen.com (vs.gothschlampen.com [85.93.11.85]) by mx1.freebsd.org (Postfix) with ESMTP id BC3778FC15 for ; Sat, 10 Jul 2010 11:16:53 +0000 (UTC) Received: by vs.gothschlampen.com (Postfix, from userid 667) id 927EB1D24A5; Sat, 10 Jul 2010 13:16:27 +0200 (CEST) Date: Sat, 10 Jul 2010 13:16:27 +0200 From: Thomas To: Modulok Message-ID: <20100710111627.GA24650@gothschlampen.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) Cc: "questions@freebsd.org" Subject: Re: Reconstruct meaningful data from tcpdumps? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2010 11:16:54 -0000 On Fri, Jul 09, 2010 at 11:17:55PM -0600, Modulok wrote: Hi, > Is there a way to reconstruct network traffic from a tcpdump file? Or > something similar? As in: analyze the dump file and attempt to > re-construct files transfered though http, ftp, known messenger > protocols, instant message conversations, http requests, web pages, > and so forth? > > There's a bunch of tools on Windows that say they do this to some > extent or another, but they require a client-side installation, cost a > lot of money, or are crawling with malicious code. I can read tcpdump > files, (to an extent) but viewing a hex dump of a jpeg is futile. Try http://chaosreader.sourceforge.net/ Most probably there is a port of it. Regards Thomas From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 11:18:31 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E67A21065675 for ; Sat, 10 Jul 2010 11:18:30 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 7201C8FC14 for ; Sat, 10 Jul 2010 11:18:30 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OXY4i-0007g9-VX for freebsd-questions@freebsd.org; Sat, 10 Jul 2010 13:18:28 +0200 Received: from 193.33.173.33 ([193.33.173.33]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 10 Jul 2010 13:18:28 +0200 Received: from c.kworr by 193.33.173.33 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 10 Jul 2010 13:18:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Volodymyr Kostyrko Date: Sat, 10 Jul 2010 14:18:20 +0300 Lines: 105 Message-ID: References: <4C37DA39.4000706@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 193.33.173.33 User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; uk-UA; rv:1.9.1.10) Gecko/20100627 Thunderbird/3.0.5 In-Reply-To: <4C37DA39.4000706@gmail.com> Subject: Re: Disk very slow in FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2010 11:18:31 -0000 10.07.2010 05:26, Depo Catcher wrote: > > I've tried everything here: > http://forums.freebsd.org/showthread.php?t=15747 > and here: http://forums.freebsd.org/showthread.php?t=15722 > Also followed this: > http://forums.freebsd.org/showpost.p...8&postcount=38 > > > I have a 2TB WD drives that I would like to use as one big data partition. > I'm using UFS2. No raid, nothing fancy. I'm on FreeBSD 6.4 Release. Have you tried last release version? > Under windows I can easily read/write about at ~75MB/s without doing > nothing but formatting it. > My friend has the same drives in Linux, he says he can get ~50MB/s on > his very low end system (crap cpu and only 256mb of ram). > > Under FreeBSD, my write is at best ~6MB/s and read is about ~9MB/s. The > CPU, amount of ram, etc are all better than both the above boxes so > don't think it's bound by anything externally like that. From what I > read, the partitions aren't aligned correctly? > > What's going on here? For start to finish, how should I partition and > format these so they don't suck? > > > > diskinfo: > Code: > > [root@fire2 ~/drive]# diskinfo -v /dev/da3 > /dev/da3 > 512 # sectorsize > 2000396746752 # mediasize in bytes (1.8T) > 3907024896 # mediasize in sectors > 243201 # Cylinders according to firmware. > 255 # Heads according to firmware. > 63 # Sectors according to firmware. > > dataconfig.cfg: > Code: > > #http://forums.freebsd.org/showpost.php?p=76148&postcount=38 > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 3906961408 1 4.2BSD 4096 32768 > > bsdlabel/newfs: > Code: > > bsdlabel -R /dev/da3 datadrive.cfg > newfs -S 4096 -b 32768 -f 4096 -O 2 -U -m 8 -o space -L u2 /dev/da3 > > fstab: > Code: > > /dev/da3 /u3 ufs rw 2 2 Can you post detail about your controller? Can you post cache and error recovery mode pages for your disks? Dmesg sample? hint: # camcontrol devlist at scbus0 target 0 lun 0 (da0,pass0) at scbus0 target 1 lun 0 (da1,pass1) at scbus0 target 2 lun 0 (da2,pass2) at scbus0 target 3 lun 0 (da3,pass3) at scbus0 target 4 lun 0 (da4,pass4) at scbus0 target 5 lun 0 (da5,pass5) Now take scbus:target:lun and issue: # camcontrol modepage 0:0:0 -l 0x01 Read-Write Error Recovery Page 0x03 Format Device Page 0x04 Rigid Disk Drive Geometry Page 0x08 Caching Page 0x0a Control Mode Page 0x1c 0x00 Vendor-Specific 0x00 Vendor-Specific The caching page is number 8: # camcontrol modepage 0:0:0 -m 8 IC: 0 ABPF: 0 CAP: 0 DISC: 0 SIZE: 0 WCE: 0 MF: 0 RCD: 0 Demand Retention Priority: 0 Write Retention Priority: 0 Disable Pre-fetch Transfer Length: 0 Minimum Pre-fetch: 0 Maximum Pre-fetch: 0 Maximum Pre-fetch Ceiling: 0 -- Sphinx of black quartz judge my vow. From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 11:41:43 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 430E31065672 for ; Sat, 10 Jul 2010 11:41:43 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp3.comclark.com (avmxsmtp3.comclark.com [202.69.191.117]) by mx1.freebsd.org (Postfix) with ESMTP id D21E88FC1A for ; Sat, 10 Jul 2010 11:41:42 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmATALP4N0zKRa3YOWdsb2JhbAAHh2iYZwEBAQE0Ab1GhScEg3mHDQ X-IronPort-AV: E=Sophos;i="4.55,179,1278259200"; d="scan'208";a="9830289" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.216]) by avmxsmtp2.comclark.com with ESMTP; 10 Jul 2010 19:41:40 +0800 Message-ID: <4C385C74.3050401@comclark.com> Date: Sat, 10 Jul 2010 19:41:40 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Polytropon References: <4C37E09D.7000806@comclark.com> <20100710050337.418d26c3.freebsd@edvax.de> In-Reply-To: <20100710050337.418d26c3.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "questions@freebsd.org" Subject: Re: how to setenv using Bourne .sh X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2010 11:41:43 -0000 Polytropon wrote: > On Sat, 10 Jul 2010 10:53:17 +0800, Aiza wrote: >> Trying the set the pkg_add environment variable PKGDIR using this >> >> >> setenv PKGDIR="/usr/packages" and get this error message >> setenv: Syntax Error. > > Of course. The sh shell doesn't have setenv. > > > >> man setenv is useless. > > The manual entry of setenv can be found in "man csh". :-) > > > >> The question is how do I set a environment variable using the default >> freebsd shell? > > You mean: FreeBSD's default scripting shell. :-) > > $ PKGDIR="/usr/packages" > $ export PKGDIR > > or > > $ export PKGDIR="/usr/packages" > > Refer to "man sh" for details. The setenv command is a built-in for > the C Shell. > > > When I put export on the console command line I get this message export: Command not found. But I was able to get setenv and unsetenv to work this way setenv PKGDIR "/usr/packages/" unsetenv PKGDIR and just setenv shows me everything already set. From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 11:43:19 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CAE24106564A for ; Sat, 10 Jul 2010 11:43:19 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 624678FC21 for ; Sat, 10 Jul 2010 11:43:19 +0000 (UTC) Received: by wyb34 with SMTP id 34so2732040wyb.13 for ; Sat, 10 Jul 2010 04:43:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:received:reply-to:date :message-id:subject:from:to:cc:content-type; bh=HtHopUZI3bZY6rbH7I67wV6szf4IQmC0ybzTSQwWHGw=; b=MaRqxGuA5AaMja148FRQZyJnE1bqWP9zoh3BJReMU1LjQKuAap+HGgNMl/v1Yu6SYz csIh5rlC2nsBDqdyh5pBaH3aGTmQ+U0TFor9t6t1g9dduJw00MoQRiV0zHsWJlqoh7JQ FiXWc6AtV10BAXlsrCKJVnJ7cKYntPxMR4+Q8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:cc :content-type; b=Gt8jncGs/3l8yITGbx8u4lIOBNqCAaUSi0wjUJPVX/Q7W9sCmc8KVeBSblH3smrR0A pxIxmcQr/z1Z6BpsXJCi4ffnCPx2sIJBmqjKVHDSPUOq72TpCwBOf/d7yZGUx3kJ6gTE UqgnmJTsysNt1TRN328fSh84KtNrE8wFNdf+M= MIME-Version: 1.0 Received: by 10.216.68.142 with SMTP id l14mr942658wed.67.1278762193800; Sat, 10 Jul 2010 04:43:13 -0700 (PDT) Received: by 10.216.171.10 with HTTP; Sat, 10 Jul 2010 04:43:13 -0700 (PDT) Date: Sat, 10 Jul 2010 11:43:13 +0000 Message-ID: From: "b. f." To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Aiza , Polytropon Subject: Re: how to setenv using Bourne .sh X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2010 11:43:19 -0000 Polytropon wrote: On Sat, 10 Jul 2010 10:53:17 +0800, Aiza wrote: >> Trying the set the pkg_add environment variable PKGDIR using this >> >> >> setenv PKGDIR="/usr/packages" and get this error message >> setenv: Syntax Error. > >Of course. The sh shell doesn't have setenv. It looks like he is actually using csh, because in the Bourne shell issuing that command usually yields "setenv: not found". His problem is that, unlike "export", setenv doesn't take an "=" between the variable and the value to be assigned to it. See csh(1). >> man setenv is useless. > >The manual entry of setenv can be found in "man csh". :-) When you are directed to builtin(1), it usually means that you should refer to the manpage(s) of the shell that you are using for the information that you need. >> The question is how do I set a environment variable using the default >> freebsd shell? > >You mean: FreeBSD's default scripting shell. :-) He could mean the default interactive shell, which could be something other than sh(1), despite the title of his message. As an alternative to "export" or "setenv", he could instead use env(1) in some instances. b. From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 12:36:54 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1893E106564A for ; Sat, 10 Jul 2010 12:36:54 +0000 (UTC) (envelope-from freebsd.user@seibercom.net) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id BB3D98FC17 for ; Sat, 10 Jul 2010 12:36:53 +0000 (UTC) Received: by qyk30 with SMTP id 30so913821qyk.13 for ; Sat, 10 Jul 2010 05:36:42 -0700 (PDT) Received: by 10.224.43.197 with SMTP id x5mr6377954qae.204.1278765402501; Sat, 10 Jul 2010 05:36:42 -0700 (PDT) Received: from scorpio.seibercom.net (c-67-189-160-65.hsd1.ny.comcast.net [67.189.160.65]) by mx.google.com with ESMTPS id q30sm9117448qcq.12.2010.07.10.05.36.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 10 Jul 2010 05:36:41 -0700 (PDT) Received: from scorpio (zeus [192.168.1.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: FreeBSD.user@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id CBEE4E54809 for ; Sat, 10 Jul 2010 08:36:39 -0400 (EDT) Date: Sat, 10 Jul 2010 08:36:39 -0400 From: Jerry To: freebsd-questions@freebsd.org Message-ID: <20100710083639.35b154d3@scorpio> In-Reply-To: References: Organization: seibercom.net X-Mailer: Claws Mail 3.7.6 (GTK+ 2.20.1; amd64-portbld-freebsd8.1) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAG1BMVEX3/uPVnZf2/v9ejGkqHB74++H///+cHCT3m6cgqYvfAAACbElEQVQ4jWXTQW/bIBQAYJLJuRMn8TVCss9zTdrrXJ6bHe1Ej/bossF9EpJ3nbapf3sP8JxOQ4qV8OU9HvjBROWcYNlKHtxlQ1/huBaOBiMwQtgHhbokMLIT76Acps5hvy61+6WsjkCZzNEW0+fcQ7Nl5uoPCegjjjhN5/MEABd89k9hXkQoX6cwPIDKCt8tYG5wpmdrxAyuolTPqpiVoEpVCWvl6e00RAD4JBJQnO4lvv0O4Cnd3WUGevYNFohxFYAy7jCCtW39LaQK8BgDAgiHVinVJlCiFKlcqgEHfwb1EuG+DwFGMO3oCIuJIEYoa8KJECBB+UBldgm0MQmEGz7GQr8XYRPKzYNO1zZ8mgdAu4BG5Ke/4KFboM8458UScViAAvYD93OAsu+Bc3zxCU7ZAjT74+dQv9K7oO0d1wuscop48Pc50O5bcVwgGzh/mXzaizJuAWERh8k3eaxKmxu4kV1p2XOEg3i3c8M+EKR93P0D1KATpC55vMHaGqFf5f/AwhlrhHgg8DTezopt6I3o3Qx4q4q6YaPxK8RxcClXeFGhTTS++QR6TS/oBs7l4WhzuNMubZG6hIBkF4qqZVdWczIqSrjKVF/i4o26IP2oElBGFy5CXKSnf6UWDTC6zKSqoAvzsakjjBvdzLKnmxdhY8eRsX7VSCUBdgD1hVJpx6y2OOS1DNDILYmqdWUJ+oHvd0rRvAqX5kpxQMR6yxHzPV6VlPFyWE7LKc36keNQI64gLP8Ybgtmg+zYuBl4fuI8VqW2RqDGE8Uzu7GxGa803whDdxx3bSZbRhfQUSxvmnpLZWpRFqHz7v8AvsBe0S1zv9UAAAAASUVORK5CYII= Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: how to setenv using Bourne .sh X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2010 12:36:54 -0000 On Sat, 10 Jul 2010 11:43:13 +0000 b. f. articulated: > Polytropon wrote: > On Sat, 10 Jul 2010 10:53:17 +0800, Aiza wrote: > >> Trying the set the pkg_add environment variable PKGDIR using this > >> > >> > >> setenv PKGDIR="/usr/packages" and get this error message > >> setenv: Syntax Error. > > > >Of course. The sh shell doesn't have setenv. > > It looks like he is actually using csh, because in the Bourne shell > issuing that command usually yields "setenv: not found". His problem > is that, unlike "export", setenv doesn't take an "=" between the > variable and the value to be assigned to it. See csh(1). > > >> man setenv is useless. > > > >The manual entry of setenv can be found in "man csh". :-) > > When you are directed to builtin(1), it usually means that you should > refer to the manpage(s) of the shell that you are using for the > information that you need. > > >> The question is how do I set a environment variable using the default > >> freebsd shell? > > > >You mean: FreeBSD's default scripting shell. :-) > > He could mean the default interactive shell, which could be something > other than sh(1), despite the title of his message. As an alternative > to "export" or "setenv", he could instead use env(1) in some > instances. Perhaps, just posting the output of: "env | grep -i SHELL" might prove useful. -- Jerry ✌ FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ Man will never fly. Space travel is merely a dream. All aspirin is alike. From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 15:31:41 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BA1F9106564A for ; Sat, 10 Jul 2010 15:31:41 +0000 (UTC) (envelope-from christopher.maness@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 827BB8FC15 for ; Sat, 10 Jul 2010 15:31:41 +0000 (UTC) Received: by iwn35 with SMTP id 35so4023780iwn.13 for ; Sat, 10 Jul 2010 08:31:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=BrUO1gatf82LiB0yiv+SGMFcp5hFTZiXuMEotlOadco=; b=NbmgraApKeiJxEtD1gudJxf0aDWi/WIJgT+5dQn05r7vnLYzZ4eSB0gqtf50s1crGq JQTcYdZfd/P84j/Jsxjvmbb1/lpne6UheBJ1aujgQXsBZOn7ftWjx2M35iUHFwaR5NgY giWfof25Kc3wB6It7IhtecO1cptktoDym0paE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=EUZknmjzd8eIvHTuYI3eQlmkwvZBFoAAZqP74CjDumkyQpkKaruK9e480szkkizKyq OP/xbziMybmUi402cWt5pOJuKZSJdsAH8/Ji+wnB1YtUdCCrE8Xb9kXVmq6D7XtD+oqp cfhYx1mOErAgGMFGylHknqRPtsrvsQKtjIkl4= MIME-Version: 1.0 Received: by 10.231.185.142 with SMTP id co14mr11903601ibb.97.1278775899691; Sat, 10 Jul 2010 08:31:39 -0700 (PDT) Sender: christopher.maness@gmail.com Received: by 10.231.166.79 with HTTP; Sat, 10 Jul 2010 08:31:39 -0700 (PDT) Date: Sat, 10 Jul 2010 08:31:39 -0700 X-Google-Sender-Auth: queQi1LWlriXVpSQyNDZiC7FR3I Message-ID: From: Chris Maness To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Squirrel Mail Time Zone Errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2010 15:31:41 -0000 Is anyone getting these errors when logging in to Squirrel Mail? Warning: strtotime() [function.strtotime]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in /usr/local/www/squirrelmail/functions/date.php on line 428 Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in /usr/local/www/squirrelmail/functions/date.php on line 95 Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in /usr/local/www/squirrelmail/functions/date.php on line 347 Warning: date() [function.date]: It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in /usr/local/www/squirrelmail/functions/date.php on line 289 These things go on forever in the in box. Thanks, Chris Maness From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 15:44:45 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 17EEA106566C for ; Sat, 10 Jul 2010 15:44:45 +0000 (UTC) (envelope-from amitabhkant@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id C6CB68FC0A for ; Sat, 10 Jul 2010 15:44:44 +0000 (UTC) Received: by gwb15 with SMTP id 15so2038723gwb.13 for ; Sat, 10 Jul 2010 08:44:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=UF6VqBycs9nihTE8839r7MOQA6JLpgc0t9TCRR+689g=; b=qJOd6pQPsVuzKni3KkBz8mikIdMmW/LROZNGUdTxeVDvNAbeV/mKF2fqB7LbBYm3jA slOeaLGO1KKU0ky4ncLb+xbBLzC6d6999qSWYxIW3tnr/dh52jH/ojSWvG+/bcKxddzl fcm8oVxMzd3C0mPliD9Gh6n/3OxcRzHsQyjBE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=DZFrGRm6sGxTZ+VT5Vx5JMwr1GxpLAhElKa4ee9sPoa8rVQ/D7iKc/pWkZ5ADI3QZL igNbKnH7RaP6DCkimDMNEKcf3IYvDM4/rumbPADZdxesEYClfYKI6ktLVzCzLDvfPKva KocRgXli+Cp3wmsS1oLcNtjG/7UqJ1MylJYKw= Received: by 10.229.245.213 with SMTP id lv21mr6965832qcb.130.1278776674144; Sat, 10 Jul 2010 08:44:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.82.77 with HTTP; Sat, 10 Jul 2010 08:44:14 -0700 (PDT) In-Reply-To: References: From: Amitabh Kant Date: Sat, 10 Jul 2010 21:14:14 +0530 Message-ID: To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Squirrel Mail Time Zone Errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2010 15:44:45 -0000 On Sat, Jul 10, 2010 at 9:01 PM, Chris Maness wrote: > Is anyone getting these errors when logging in to Squirrel Mail? > > Warning: strtotime() [function.strtotime]: It is not safe to rely on > the system's timezone settings. You are *required* to use the > date.timezone setting or the date_default_timezone_set() function. In > case you used any of those methods and you are still getting this > warning, you most likely misspelled the timezone identifier. We > selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in > /usr/local/www/squirrelmail/functions/date.php on line 428 > > Warning: date() [function.date]: It is not safe to rely on the > system's timezone settings. You are *required* to use the > date.timezone setting or the date_default_timezone_set() function. In > case you used any of those methods and you are still getting this > warning, you most likely misspelled the timezone identifier. We > selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in > /usr/local/www/squirrelmail/functions/date.php on line 95 > > Warning: date() [function.date]: It is not safe to rely on the > system's timezone settings. You are *required* to use the > date.timezone setting or the date_default_timezone_set() function. In > case you used any of those methods and you are still getting this > warning, you most likely misspelled the timezone identifier. We > selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in > /usr/local/www/squirrelmail/functions/date.php on line 347 > > Warning: date() [function.date]: It is not safe to rely on the > system's timezone settings. You are *required* to use the > date.timezone setting or the date_default_timezone_set() function. In > case you used any of those methods and you are still getting this > warning, you most likely misspelled the timezone identifier. We > selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in > /usr/local/www/squirrelmail/functions/date.php on line 289 > > These things go on forever in the in box. > > Thanks, > Chris Maness > Have you recently upgraded to php 5.3 recently? You might need to set the time zone either in php.ini file or set the same on the script page at the top using "date_default_timezone_set(' America/Los_Angeles');" Amitabh Kant From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 16:03:32 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE1CA106566B for ; Sat, 10 Jul 2010 16:03:32 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 6EC758FC08 for ; Sat, 10 Jul 2010 16:03:31 +0000 (UTC) Received: by wwe15 with SMTP id 15so636284wwe.31 for ; Sat, 10 Jul 2010 09:03:23 -0700 (PDT) MIME-Version: 1.0 Received: by 10.227.155.20 with SMTP id q20mr10242758wbw.74.1278777802859; Sat, 10 Jul 2010 09:03:22 -0700 (PDT) Received: by 10.216.65.3 with HTTP; Sat, 10 Jul 2010 09:03:22 -0700 (PDT) X-Originating-IP: [93.203.29.70] In-Reply-To: References: <87iq4nsr3a.fsf@kobe.laptop> Date: Sat, 10 Jul 2010 18:03:22 +0200 Message-ID: From: "C. P. Ghost" To: Patrick Donnelly Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: questions@freebsd.org Subject: Re: Writes to Hard Disk Going Beyond Capacity X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2010 16:03:33 -0000 On Sat, Jul 10, 2010 at 12:53 PM, Patrick Donnelly w= rote: > On Sat, Jul 10, 2010 at 4:01 AM, Giorgos Keramidas > wrote: >> On Sat, 10 Jul 2010 03:10:31 -0400, Patrick Donnelly wrote: >>> Hi List, >>> >>> I have a strange problem in a C program I wrote. I open a hard >>> disk character file (/dev/ad1) and attempt to write over the >>> entire disk. I expect the last write that would go beyond the >>> hard disk length (capacity) to return with an error but instead >>> the write succeeds. =A0This happens for hundreds of gigabytes >>> beyond the file (hard drive) length. What could be wrong? (This >>> program works fine on Linux. The last write that would go >>> beyond the end of the hard drive returns with -1.) >>> >>> Thanks for any help, >> >> Can we see the exact source code of the program? =A0What you >> describe might work if the file has holes inside it. > > http://www.batbytes.com/destroy > > Specifically, after filling the hard drive it will begin to rapidly > "write" where the throughput of the writes is about 10 GB/s (obviously > not going to the hard drive). Are you aware of short writes? static int write_buf (int fd, const char *buf, size_t s) { ssize_t r =3D write(fd, buf, s); if (r =3D=3D -1) fprintf(stderr, "write error: %s\n", strerror(errno)); return r >=3D 0; } What if write(2) returns less than s, but not -1? > -- > - Patrick Donnelly -cpghost. --=20 Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 16:10:30 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5CDBE106564A for ; Sat, 10 Jul 2010 16:10:30 +0000 (UTC) (envelope-from christopher.maness@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 202DD8FC18 for ; Sat, 10 Jul 2010 16:10:29 +0000 (UTC) Received: by iwn35 with SMTP id 35so4052563iwn.13 for ; Sat, 10 Jul 2010 09:10:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=mvgEVCFx97HSkAhILR1n1D3gn8d/xu/fv1i/DwW/xDU=; b=mHuFKX0e6AgOUfc0XeN8lKHHq3Hh28saBcsjR9k80nU16Q2/3ByFtx29FKYmRsv4PZ iljEbDeqyvH6uI7K4HKO97O+9PiH7fr7betQ4zyExHbAJH+kvYVhFhmETa5EmlOsWLK7 9EiCtv7/Qj+WBsEXSWa6pdExidffJyVCuPonE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=n9trO9+xsYzIMbQNzHbyxlxl7MkLNbhRelQCbXO7edrZBAosIWMGdzqCSXUbdB1rOa wNE6IyTLePrDwWeIEUeiX07UjHyhEGGr1TroWnf64T0e9m+mkIYhx/hWX2lW79hUcclm AWP5Ie5+LUAUIfgMvL8ehhk54C3enbyMKomm0= MIME-Version: 1.0 Received: by 10.231.31.7 with SMTP id w7mr11287860ibc.83.1278778229347; Sat, 10 Jul 2010 09:10:29 -0700 (PDT) Sender: christopher.maness@gmail.com Received: by 10.231.166.79 with HTTP; Sat, 10 Jul 2010 09:10:29 -0700 (PDT) In-Reply-To: References: Date: Sat, 10 Jul 2010 09:10:29 -0700 X-Google-Sender-Auth: NmR68QXuNueHssMzu__zG5n1iYM Message-ID: From: Chris Maness To: Amitabh Kant Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: Squirrel Mail Time Zone Errors X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2010 16:10:30 -0000 On Sat, Jul 10, 2010 at 8:43 AM, Amitabh Kant wrote= : > On Sat, Jul 10, 2010 at 9:01 PM, Chris Maness wro= te: >> >> Is anyone getting these errors when logging in to Squirrel Mail? >> >> Warning: strtotime() [function.strtotime]: It is not safe to rely on >> the system's timezone settings. You are *required* to use the >> date.timezone setting or the date_default_timezone_set() function. In >> case you used any of those methods and you are still getting this >> warning, you most likely misspelled the timezone identifier. We >> selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in >> /usr/local/www/squirrelmail/functions/date.php =A0on line 428 >> >> Warning: date() [function.date]: It is not safe to rely on the >> system's timezone settings. You are *required* to use the >> date.timezone setting or the date_default_timezone_set() function. In >> case you used any of those methods and you are still getting this >> warning, you most likely misspelled the timezone identifier. We >> selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in >> /usr/local/www/squirrelmail/functions/date.php on line 95 >> >> Warning: date() [function.date]: It is not safe to rely on the >> system's timezone settings. You are *required* to use the >> date.timezone setting or the date_default_timezone_set() function. In >> case you used any of those methods and you are still getting this >> warning, you most likely misspelled the timezone identifier. We >> selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in >> /usr/local/www/squirrelmail/functions/date.php on line 347 >> >> Warning: date() [function.date]: It is not safe to rely on the >> system's timezone settings. You are *required* to use the >> date.timezone setting or the date_default_timezone_set() function. In >> case you used any of those methods and you are still getting this >> warning, you most likely misspelled the timezone identifier. We >> selected 'America/Los_Angeles' for 'PDT/-7.0/DST' instead in >> /usr/local/www/squirrelmail/functions/date.php on line 289 >> >> These things go on forever in the in box. >> >> Thanks, >> Chris Maness >> > > Have you recently upgraded to php 5.3 recently? You might need to set the > time zone either in php.ini file or set the same on the script page at th= e > top using "date_default_timezone_set('America/Los_Angeles');" > > Amitabh Kant > Instant fix. Thank You. Chris Maness From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 16:38:02 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B1396106564A for ; Sat, 10 Jul 2010 16:38:02 +0000 (UTC) (envelope-from rloefgren@forethought.net) Received: from mzpi4.forethought.net (mzpi4.forethought.net [216.241.36.13]) by mx1.freebsd.org (Postfix) with ESMTP id 924988FC12 for ; Sat, 10 Jul 2010 16:38:01 +0000 (UTC) Received: from 216-241-45-95.static.forethought.net ([216.241.45.95] helo=auden.jmla.com) by mz2.forethought.net with esmtpa (Exim 4.69) (envelope-from ) id 1OXd3w-0001u1-TZ for freebsd-questions@freebsd.org; Sat, 10 Jul 2010 10:38:01 -0600 Message-ID: <4C38A1E8.6030407@forethought.net> Date: Sat, 10 Jul 2010 10:38:00 -0600 From: Reed Loefgren User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.8) Gecko/20100321 Thunderbird/3.0.3 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4C37DA39.4000706@gmail.com> In-Reply-To: <4C37DA39.4000706@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Disk very slow in FreeBSD X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2010 16:38:02 -0000 On 07/09/10 20:26, Depo Catcher wrote: > > I've tried everything here: > http://forums.freebsd.org/showthread.php?t=15747 > and here: http://forums.freebsd.org/showthread.php?t=15722 > Also followed this: > http://forums.freebsd.org/showpost.p...8&postcount=38 > > > I have a 2TB WD drives that I would like to use as one big data > partition. > I'm using UFS2. No raid, nothing fancy. I'm on FreeBSD 6.4 Release. > > Under windows I can easily read/write about at ~75MB/s without doing > nothing but formatting it. > My friend has the same drives in Linux, he says he can get ~50MB/s on > his very low end system (crap cpu and only 256mb of ram). > > Under FreeBSD, my write is at best ~6MB/s and read is about ~9MB/s. > The CPU, amount of ram, etc are all better than both the above boxes > so don't think it's bound by anything externally like that. From what > I read, the partitions aren't aligned correctly? > > What's going on here? For start to finish, how should I partition and > format these so they don't suck? > > > > diskinfo: > Code: > > [root@fire2 ~/drive]# diskinfo -v /dev/da3 > /dev/da3 > 512 # sectorsize > 2000396746752 # mediasize in bytes (1.8T) > 3907024896 # mediasize in sectors > 243201 # Cylinders according to firmware. > 255 # Heads according to firmware. > 63 # Sectors according to firmware. > > dataconfig.cfg: > Code: > > #http://forums.freebsd.org/showpost.php?p=76148&postcount=38 > 8 partitions: > # size offset fstype [fsize bsize bps/cpg] > a: 3906961408 1 4.2BSD 4096 32768 > > bsdlabel/newfs: > Code: > > bsdlabel -R /dev/da3 datadrive.cfg > newfs -S 4096 -b 32768 -f 4096 -O 2 -U -m 8 -o space -L u2 /dev/da3 > > fstab: > Code: > > /dev/da3 /u3 ufs rw 2 2 > > > _______________________________________________ > 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" > Do: sysctl -a | grep vfs.read_max and post the result. Or just set it to something bigger than (8?) and see what speeds you get. On my box: vfs.read_max: 32 FreeBSD is set up pretty conservatively out of the box. The learning curve is fun. hth From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 16:53:49 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A80C51065674 for ; Sat, 10 Jul 2010 16:53:49 +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 67E768FC18 for ; Sat, 10 Jul 2010 16:53:49 +0000 (UTC) Received: from r55.edvax.de (port-92-195-117-232.dynamic.qsc.de [92.195.117.232]) by mx02.qsc.de (Postfix) with ESMTP id 4F5701E600; Sat, 10 Jul 2010 18:53:47 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o6AGrjmI001448; Sat, 10 Jul 2010 18:53:46 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 10 Jul 2010 18:53:45 +0200 From: Polytropon To: bf1783@gmail.com Message-Id: <20100710185345.4d3b69bf.freebsd@edvax.de> In-Reply-To: References: Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Aiza , Polytropon , "b. f." , freebsd-questions@freebsd.org Subject: Re: how to setenv using Bourne .sh X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2010 16:53:49 -0000 On Sat, 10 Jul 2010 11:43:13 +0000, "b. f." wrote: > Polytropon wrote: > On Sat, 10 Jul 2010 10:53:17 +0800, Aiza wrote: > >> Trying the set the pkg_add environment variable PKGDIR using this > >> > >> > >> setenv PKGDIR="/usr/packages" and get this error message > >> setenv: Syntax Error. > > > >Of course. The sh shell doesn't have setenv. > > It looks like he is actually using csh, because in the Bourne shell > issuing that command usually yields "setenv: not found". His problem > is that, unlike "export", setenv doesn't take an "=" between the > variable and the value to be assigned to it. See csh(1). Yes, you're right of course, I didn't notice that. The correct syntax for the setenv command in the C shell is setenv VAR "value" > When you are directed to builtin(1), it usually means that you should > refer to the manpage(s) of the shell that you are using for the > information that you need. That's why I suggested looking at csh's manpage. :-( -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 18:38:20 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 25CB8106566B for ; Sat, 10 Jul 2010 18:38:20 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id B9CC98FC18 for ; Sat, 10 Jul 2010 18:38:19 +0000 (UTC) Received: by wyb34 with SMTP id 34so2944979wyb.13 for ; Sat, 10 Jul 2010 11:38:13 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.4.199 with SMTP id 49mr1112201wej.26.1278787092910; Sat, 10 Jul 2010 11:38:12 -0700 (PDT) Received: by 10.216.65.3 with HTTP; Sat, 10 Jul 2010 11:38:12 -0700 (PDT) X-Originating-IP: [93.203.29.70] In-Reply-To: References: <87iq4nsr3a.fsf@kobe.laptop> Date: Sat, 10 Jul 2010 20:38:12 +0200 Message-ID: From: "C. P. Ghost" To: Patrick Donnelly Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Cc: questions@freebsd.org Subject: Re: Writes to Hard Disk Going Beyond Capacity X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2010 18:38:20 -0000 On Sat, Jul 10, 2010 at 6:03 PM, C. P. Ghost wrote: > On Sat, Jul 10, 2010 at 12:53 PM, Patrick Donnelly = wrote: >> On Sat, Jul 10, 2010 at 4:01 AM, Giorgos Keramidas >> wrote: >>> On Sat, 10 Jul 2010 03:10:31 -0400, Patrick Donnelly wrote: >>>> Hi List, >>>> >>>> I have a strange problem in a C program I wrote. I open a hard >>>> disk character file (/dev/ad1) and attempt to write over the >>>> entire disk. I expect the last write that would go beyond the >>>> hard disk length (capacity) to return with an error but instead >>>> the write succeeds. =A0This happens for hundreds of gigabytes >>>> beyond the file (hard drive) length. What could be wrong? (This >>>> program works fine on Linux. The last write that would go >>>> beyond the end of the hard drive returns with -1.) >>>> >>>> Thanks for any help, >>> >>> Can we see the exact source code of the program? =A0What you >>> describe might work if the file has holes inside it. >> >> http://www.batbytes.com/destroy >> >> Specifically, after filling the hard drive it will begin to rapidly >> "write" where the throughput of the writes is about 10 GB/s (obviously >> not going to the hard drive). > > Are you aware of short writes? > > static int write_buf (int fd, const char *buf, size_t s) > { > =A0ssize_t r =3D write(fd, buf, s); > =A0if (r =3D=3D -1) > =A0 =A0fprintf(stderr, "write error: %s\n", strerror(errno)); > =A0return r >=3D 0; > } > > What if write(2) returns less than s, but not -1? Or, to be more precise, is it possible that write(2) returns 0 for some reason, perhaps because the device isn't ready and can't accept more data, so it says that it wrote 0 bytes, but that you are free to try again? On Solaris, the write(2) man page says: If a write() requests that more bytes be written than there is room for=97for example, if the write would exceed the process file size limit (see getrlimit(2) and ulimit(2)), the system file size limit, or the free space on the device=97only as many bytes as there is room for will be written. For example, suppose there is space for 20 bytes more in a file before reaching a limit. A write() of 512-bytes returns 20. The next write() of a non-zero number of bytes gives a failure return (except as noted for pipes and FIFO below). http://docs.sun.com/app/docs/doc/816-5167/write-2?l=3Den&n=3D1&a=3Dview Have you tried your program on [Open]Solaris too? What happens there? Perhaps our write(2) isn't entirely IEEE Std 1003.1 compliant? Because write(2) there says: If a write() requests that more bytes be written than there is room for (for example, [XSI] [Option Start] the process' file size limit or [Option End] the physical end of a medium), only as many bytes as there is room for shall be written. For example, suppose there is space for 20 bytes more in a file before reaching a limit. A write of 512 bytes will return 20. The next write of a non-zero number of bytes would give a failure return (except as noted below). (...) http://www.opengroup.org/onlinepubs/000095399/functions/write.html Hmmm... any C/POSIX standards lawyers/specialists here? -cpghost. --=20 Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 20:18:19 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDE8C106564A for ; Sat, 10 Jul 2010 20:18:19 +0000 (UTC) (envelope-from John@nameconnect.com) Received: from mail32.mailforbusiness.com (mail32.mailforbusiness.com [64.106.209.59]) by mx1.freebsd.org (Postfix) with ESMTP id B5C8A8FC20 for ; Sat, 10 Jul 2010 20:18:19 +0000 (UTC) Received: from mail32.mailforbusiness.com (localhost [127.0.0.1]) by mail32.mailforbusiness.com (Postfix) with ESMTP id 2BB04D12EC for ; Sat, 10 Jul 2010 15:59:56 -0400 (EDT) Received: from wsip-70-183-4-62.dc.dc.cox.net (wsip-70-183-4-62.dc.dc.cox.net [70.183.4.62]) (Authenticated sender: admin@sobriety.org) by mail32.mailforbusiness.com (Postfix) with ESMTPA id 359C0D121F for ; Sat, 10 Jul 2010 15:59:28 -0400 (EDT) From: "John Daly" To: "questions" MIME-Version: 1.0 Organization: Name Connect Date: Sat, 10 Jul 2010 15:59:28 -0400 Message-Id: <20100710195928.359C0D121F@mail32.mailforbusiness.com> Content-Type: text/plain ; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Was on your site - We do SEO X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2010 20:18:19 -0000 Hello,=20 I was just using your site and thought I would shoot you an email, we = are in the Search Engine Optimization business. Have you ever consider= ed using someone for on site, off site optimization and link building?= Could give you a few pointers, if not I understand. Have you considered using SEO or letting someone update your blogs bef= ore? Thanks, John Daly From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 21:03:02 2010 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18E581065670 for ; Sat, 10 Jul 2010 21:03:02 +0000 (UTC) (envelope-from s.janssen@xs4all.nl) Received: from smtp-vbr6.xs4all.nl (smtp-vbr6.xs4all.nl [194.109.24.26]) by mx1.freebsd.org (Postfix) with ESMTP id 8F6FC8FC14 for ; Sat, 10 Jul 2010 21:03:01 +0000 (UTC) Received: from sander.nl (cc1269722-a.ensch1.ov.home.nl [82.75.144.239]) (authenticated bits=0) by smtp-vbr6.xs4all.nl (8.13.8/8.13.8) with ESMTP id o6AKnhL5033846 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 10 Jul 2010 22:49:44 +0200 (CEST) (envelope-from s.janssen@xs4all.nl) Message-ID: <4C38DCCC.80408@xs4all.nl> Date: Sat, 10 Jul 2010 22:49:16 +0200 From: Sander Janssen User-Agent: Thunderbird 2.0.0.24 (X11/20100702) MIME-Version: 1.0 To: "Hartmann, O." References: <4C37C2D7.3000504@xs4all.nl> <4C382326.4090109@mail.zedat.fu-berlin.de> In-Reply-To: <4C382326.4090109@mail.zedat.fu-berlin.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by XS4ALL Virus Scanner Cc: ohartman@zedat.fu-berlin.de, freebsd-questions@FreeBSD.org Subject: Re: Freebsd Firefox problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2010 21:03:02 -0000 Hartmann, O. wrote: > On 07/10/10 02:46, Sander Janssen wrote: >> Hello, >> >> I am currently having the same problems you were having with firefox >> 3.6 on FreeBSD in February (I found the threads on the Freebsd-Ports >> mailing list). The thread doesn't seem to come up with an answer and I >> am wondering if you managed to solve the problem? >> >> I am talking about firefox crashing when you use a context menu. I >> have tried a portupgrade -Rf firefox to try to recompile every depency >> but nothing has any effect. In my case thunderbird works correctly. >> >> Any information would be useful. >> >> Thanks in advance, >> Sander > > Hello. > I have still this obscure problems. When "gettext" was updated and we > have had to update any dependend port, within this procedure Firefox 3.6 > worked correctly as expected. But after the update was performed, > everything remained as it was before. I did several times portmaster -f > (which is the same as -R with portupgrade) to build every necessary > port, but with no effect. I also performed the one-day-taking gettext > update and, additionaly, I recompiled every port (nearly 1000 on my > systems). No effect. > When delegating the client firefox to another X terminal, say to my > workstation at home (login with ssh -Y for X11 portforwarding), no > problems occur, so I guess the problem is riggered by X11 on the local > machine and especially with the ATI radeonhd driver (which does not work > correctly on many boxes and with low end Radeon HD 46XX or 47XX cards). > I have no idea. I use Opera for now on the machine in question. > > Regards, > Oliver > Well, I am running a nvidia 7600gs with the proprietary nvidia driver so that doesn't seem to be the problem. I can use the linux-firefox port and that one runs correctly but it crashes when opening flash content (which the normal firefox does fine even though it crashes when I open a context box or open a bookmark). Thanks anyway, Sander From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 21:28:57 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A51F9106564A for ; Sat, 10 Jul 2010 21:28:57 +0000 (UTC) (envelope-from batrick@batbytes.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3F8158FC16 for ; Sat, 10 Jul 2010 21:28:56 +0000 (UTC) Received: by iwn35 with SMTP id 35so4262938iwn.13 for ; Sat, 10 Jul 2010 14:28:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.231.80.213 with SMTP id u21mr10987126ibk.173.1278797336390; Sat, 10 Jul 2010 14:28:56 -0700 (PDT) Received: by 10.231.172.20 with HTTP; Sat, 10 Jul 2010 14:28:56 -0700 (PDT) In-Reply-To: References: <87iq4nsr3a.fsf@kobe.laptop> Date: Sat, 10 Jul 2010 17:28:56 -0400 Message-ID: From: Patrick Donnelly To: "C. P. Ghost" , questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: Writes to Hard Disk Going Beyond Capacity X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2010 21:28:57 -0000 On Sat, Jul 10, 2010 at 2:38 PM, C. P. Ghost wrote: >> Are you aware of short writes? >> >> static int write_buf (int fd, const char *buf, size_t s) >> { >> =C2=A0ssize_t r =3D write(fd, buf, s); >> =C2=A0if (r =3D=3D -1) >> =C2=A0 =C2=A0fprintf(stderr, "write error: %s\n", strerror(errno)); >> =C2=A0return r >=3D 0; >> } >> >> What if write(2) returns less than s, but not -1? > > Or, to be more precise, is it possible that write(2) returns 0 for > some reason, perhaps because the device isn't ready and can't > accept more data, so it says that it wrote 0 bytes, but that you > are free to try again? > > On Solaris, the write(2) man page says: > > =C2=A0If a write() requests that more bytes be written than there is room > =C2=A0for=E2=80=94for example, if the write would exceed the process file= size > =C2=A0limit (see getrlimit(2) and ulimit(2)), the system file size limit, > =C2=A0or the free space on the device=E2=80=94only as many bytes as there= is room > =C2=A0for will be written. For example, suppose there is space for 20 > =C2=A0bytes more in a file before reaching a limit. A write() of 512-byte= s > =C2=A0returns 20. The next write() of a non-zero number of bytes gives a > =C2=A0failure return (except as noted for pipes and FIFO below). > > http://docs.sun.com/app/docs/doc/816-5167/write-2?l=3Den&n=3D1&a=3Dview > > Have you tried your program on [Open]Solaris too? What happens there? > Perhaps our write(2) isn't entirely IEEE Std 1003.1 compliant? Because > write(2) there says: > > =C2=A0If a write() requests that more bytes be written than there is room > =C2=A0for (for example, [XSI] [Option Start] the process' file size limit > =C2=A0or [Option End] the physical end of a medium), only as many bytes a= s > =C2=A0there is room for shall be written. For example, suppose there is > =C2=A0space for 20 bytes more in a file before reaching a limit. A write > =C2=A0of 512 bytes will return 20. The next write of a non-zero number of > =C2=A0bytes would give a failure return (except as noted below). (...) > > http://www.opengroup.org/onlinepubs/000095399/functions/write.html > > Hmmm... any C/POSIX standards lawyers/specialists here? write returning 0 appears to be the problem. That is indeed strange and I would guess it may be a bug? --=20 - Patrick Donnelly From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 21:48:48 2010 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF482106564A for ; Sat, 10 Jul 2010 21:48:48 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 7D3D28FC17 for ; Sat, 10 Jul 2010 21:48:48 +0000 (UTC) Received: by wwe15 with SMTP id 15so782156wwe.31 for ; Sat, 10 Jul 2010 14:48:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.216.68.142 with SMTP id l14mr1714586wed.67.1278798510432; Sat, 10 Jul 2010 14:48:30 -0700 (PDT) Received: by 10.216.65.3 with HTTP; Sat, 10 Jul 2010 14:48:30 -0700 (PDT) X-Originating-IP: [93.203.29.70] In-Reply-To: References: <87iq4nsr3a.fsf@kobe.laptop> Date: Sat, 10 Jul 2010 23:48:30 +0200 Message-ID: From: "C. P. Ghost" To: Patrick Donnelly Content-Type: text/plain; charset=ISO-8859-1 Cc: questions@freebsd.org Subject: Re: Writes to Hard Disk Going Beyond Capacity X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2010 21:48:49 -0000 On Sat, Jul 10, 2010 at 11:28 PM, Patrick Donnelly wrote: > On Sat, Jul 10, 2010 at 2:38 PM, C. P. Ghost wrote: >> >> Or, to be more precise, is it possible that write(2) returns 0 for >> some reason, perhaps because the device isn't ready and can't >> accept more data, so it says that it wrote 0 bytes, but that you >> are free to try again? > > write returning 0 appears to be the problem. That is indeed strange > and I would guess it may be a bug? I don't know if it is a bug at all, and if the standard isn't precise enough and allows this. Granted, write(2) returning 0 for file descriptors that weren't opened with O_NONBLOCK looks pretty weird, and somehow it doesn't "feel" right. Perhaps it happens because you're not writing to a file system (that would catch this?) but to the raw device itself, and the raw device behaves like a tape, a pipe, or a socket in this case? Strange indeed. > - Patrick Donnelly -cpghost. -- Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 22:44:07 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A2AB106566B for ; Sat, 10 Jul 2010 22:44:07 +0000 (UTC) (envelope-from jalmberg@identry.com) Received: from smtp-gw30.mailanyone.net (smtp-gw30.mailanyone.net [208.70.128.56]) by mx1.freebsd.org (Postfix) with ESMTP id 684FF8FC13 for ; Sat, 10 Jul 2010 22:44:07 +0000 (UTC) Received: from mailanyone.net by smtp-gw30.mailanyone.net with esmtpa (MailAnyone extSMTP jalmberg@identry.com) id 1OXimD-0007Yl-5P for freebsd-questions@freebsd.org; Sat, 10 Jul 2010 17:44:05 -0500 Message-ID: <4C38F7B4.8040506@identry.com> Date: Sat, 10 Jul 2010 18:44:04 -0400 From: John Almberg User-Agent: Postbox 1.1.5 (Macintosh/20100613) MIME-Version: 1.0 CC: freebsd-questions@freebsd.org References: <4C372189.2060606@identry.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: shrinking swap space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2010 22:44:07 -0000 Robert & Chuck, Thanks for your answers... they sound like good clues. I'll need to read up some more to understand the answers :-) Thanks! -- John From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 22:50:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 04FD9106566C for ; Sat, 10 Jul 2010 22:50:08 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id B4BDE8FC18 for ; Sat, 10 Jul 2010 22:50:07 +0000 (UTC) Received: from [192.168.0.2] (viper.tundraware.com [192.168.0.2]) (authenticated bits=0) by ozzie.tundraware.com (8.14.4/8.14.4) with ESMTP id o6AMnxCo011855 (version=TLSv1/SSLv3 cipher=DHE-DSS-CAMELLIA256-SHA bits=256 verify=NO) for ; Sat, 10 Jul 2010 17:49:59 -0500 (CDT) (envelope-from tundra@tundraware.com) Message-ID: <4C38F917.7090208@tundraware.com> Date: Sat, 10 Jul 2010 17:49:59 -0500 From: Tim Daneliuk User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: FreeBSD Mailing List References: In-Reply-To: X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.5 (ozzie.tundraware.com [75.145.138.73]); Sat, 10 Jul 2010 17:49:59 -0500 (CDT) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: o6AMnxCo011855 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No Subject: Re: Global backup solution for FBSD & Ubuntu X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2010 22:50:08 -0000 On 7/4/2010 4:43 PM, bsd wrote: > Hello, > > I am trying to build a global backup solution for couple of strategic servers (7) based on two operating systems : > > - FreeBSD (6 - 7 // soon 7 - 8) > - Ubuntu 8.04 LTS > > These servers are hosting some strategic components mainly related to DNS infrastructure and databases. > > > For the moment I am backing up these server using network based backup solution: > > - A "duplicity" based solution which backs up key directories in my infrastructure on a remote FTP server provided by my hosting company. > - A "dump" of some key components which I am doing on regular basis for FreeBSD servers. > - Duplicity is also used for the Ubuntu servers. > - Databases are replicated "live" on a remote server using "slony" for the most strategic ones (Postgres DB) and using mysql dump export for MySQL. > > > • I am not a 100% sure these solutions will allow me to restart rapidly from a crash, specially for Ubuntu servers. > • I would like to know which solution(s) you have deployed at what cost for what results ? > > I am actually considering couple of different solutions > > - SAIT solution and backula. > - Disk based solution (maybe also with backula). > … > > > I have couple of servers that will reach their end of life that could be recycled as backup solution at a very convenient price… > > > Thanks for you help. > > ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ > Gregober ---> PGP ID --> 0x1BA3C2FD > bsd @at@ todoo.biz Followup FYI: http://www.mondorescue.org/ -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/ From owner-freebsd-questions@FreeBSD.ORG Sat Jul 10 23:08:48 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8EA4A106564A for ; Sat, 10 Jul 2010 23:08:48 +0000 (UTC) (envelope-from aiza21@comclark.com) Received: from avmxsmtp3.comclark.com (avmxsmtp3.comclark.com [202.69.191.117]) by mx1.freebsd.org (Postfix) with ESMTP id 285858FC12 for ; Sat, 10 Jul 2010 23:08:47 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlMWAGqaOEzKRa3YOWdsb2JhbAAHh2iYaAEBAQE0Ab1ThScEg3mHDQ X-IronPort-AV: E=Sophos;i="4.55,181,1278259200"; d="scan'208";a="9854968" Received: from unknown (HELO [10.0.10.3]) ([202.69.173.216]) by avmxsmtp2.comclark.com with ESMTP; 11 Jul 2010 07:08:46 +0800 Message-ID: <4C38FD7D.1090901@comclark.com> Date: Sun, 11 Jul 2010 07:08:45 +0800 From: Aiza User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Polytropon References: <20100710185345.4d3b69bf.freebsd@edvax.de> In-Reply-To: <20100710185345.4d3b69bf.freebsd@edvax.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: bf1783@gmail.com, "b. f." , freebsd-questions@freebsd.org Subject: Re: how to setenv using Bourne .sh X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jul 2010 23:08:48 -0000 Polytropon wrote: > On Sat, 10 Jul 2010 11:43:13 +0000, "b. f." wrote: >> Polytropon wrote: >> On Sat, 10 Jul 2010 10:53:17 +0800, Aiza wrote: >>>> Trying the set the pkg_add environment variable PKGDIR using this >>>> >>>> >>>> setenv PKGDIR="/usr/packages" and get this error message >>>> setenv: Syntax Error. >>> Of course. The sh shell doesn't have setenv. >> It looks like he is actually using csh, because in the Bourne shell >> issuing that command usually yields "setenv: not found". His problem >> is that, unlike "export", setenv doesn't take an "=" between the >> variable and the value to be assigned to it. See csh(1). > > Yes, you're right of course, I didn't notice that. The correct > syntax for the setenv command in the C shell is > > setenv VAR "value" > > > >> When you are directed to builtin(1), it usually means that you should >> refer to the manpage(s) of the shell that you are using for the >> information that you need. > > That's why I suggested looking at csh's manpage. :-( > I am using root and have a pristine install on freebsd 8.0 so what ever the default shell for root is, is what I am using.