From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 01:40:20 2011 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 2DE471065673 for ; Sun, 6 Feb 2011 01:40:20 +0000 (UTC) (envelope-from e.schuele@computer.org) Received: from smtpauth23.prod.mesa1.secureserver.net (smtpauth23.prod.mesa1.secureserver.net [64.202.165.47]) by mx1.freebsd.org (Postfix) with SMTP id 064BA8FC12 for ; Sun, 6 Feb 2011 01:40:19 +0000 (UTC) Received: (qmail 12464 invoked from network); 6 Feb 2011 01:13:39 -0000 Received: from unknown (71.164.218.188) by smtpauth23.prod.mesa1.secureserver.net (64.202.165.47) with ESMTP; 06 Feb 2011 01:13:39 -0000 Message-ID: <4D4DF58D.2040506@computer.org> Date: Sat, 05 Feb 2011 19:12:45 -0600 From: Eric Schuele User-Agent: Thunderbird 2.0.0.23 (X11/20090904) MIME-Version: 1.0 To: FreeBSD Questions X-Enigmail-Version: 0.95.2 OpenPGP: url=http://www.ravenlock.us/keys/pub_schuele.pgp Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigE85CFC7CA2DF81F4A08A1F06" Subject: 8.2 prerelease, virtualbox, and windows guests that freeze... 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, 06 Feb 2011 01:40:20 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigE85CFC7CA2DF81F4A08A1F06 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable All, I have a laptop running 8.2-prerelease GENERIC. I have virtualbox ose 3.2.12 from ports (and kmod as well). I've only installed windows guests in vbox. I've installed windows 2008 server 64, windows vista 64bit, and windows 7 32bit. I have the vbox hdd images on an NTFS filesystem mounted using fuse. My box is a dual boot machine between FreeBSD and Windows. My desire is to be able to utilize the same virtual machine in vbox on both my Windows and FreeBSD installations. I can successfully utilize the virtuals in vbox (same version) in Windows. However when I utilize any of the virtual machines in FreeBSD, they run for several minutes and eventually "freeze". Freeze may not necessarily be the correct term. All windows processes on the virtual machine begin to die. First one process, then another, then all. Hard to explain, which may not help my cause here. But, most important fact... in Windows they work fine... under FreeBSD they run for a while and then cease to run. When the VM is good and dead, it is always dead with the little vbox virtual hard disk LED lit up (no idea if that is important). Previously, they would run for a *very* short time. seconds? minutes? and then die (sometimes I couldn't login). I disabled sound support and now they run for 10-15 minutes. Had one run for an hour or two the other day, but can't reproduce that. Usually 10-15 minutes max. Network works fine inside the virtual. I'm new to VirtualBox on FreeBSD. I've used it a bit on Windows with good results. I did try a windows guest on a non fuse filesystem just to rule that out, but had same issue. What else could I provide that might allow someone to point me in the right direction here? Thanks. -- Regards, Eric --------------enigE85CFC7CA2DF81F4A08A1F06 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAk1N9Y0ACgkQngSDRM3IXUp0hQCgqiX3E7UFPSU3q9aZqnFZaY9M 09kAoIyTfd6YnK8AzpsN3RTwEjIItylL =yHOe -----END PGP SIGNATURE----- --------------enigE85CFC7CA2DF81F4A08A1F06-- From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 07:23:47 2011 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 2556A106564A for ; Sun, 6 Feb 2011 07:23:47 +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 916708FC0C for ; Sun, 6 Feb 2011 07:23:46 +0000 (UTC) X-Spam-Status: No X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.9, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: p167NI4n028369 Received: from gkeramidas-glaptop.linux.gr (h-64-105-143-250.snvacaid.static.covad.net [64.105.143.250]) (authenticated bits=0) by igloo.linux.gr (8.14.3/8.14.3/Debian-9.4) with ESMTP id p167NI4n028369 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sun, 6 Feb 2011 09:23:26 +0200 From: Giorgos Keramidas To: Fred Boatwright References: <4D4DC23E.5C7F0654@blakemfg.com> Date: Sat, 05 Feb 2011 23:23:12 -0800 In-Reply-To: <4D4DC23E.5C7F0654@blakemfg.com> (Fred Boatwright's message of "Sat, 05 Feb 2011 14:33:50 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-questions@freebsd.org Subject: Re: nedit 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, 06 Feb 2011 07:23:47 -0000 On Sat, 05 Feb 2011 14:33:50 -0700, Fred Boatwright wrote: > Hello, > > After updating all ports on 8.1-RELEASE, nedit has a problem. The right > mouse button works ok in the toolbar but if it is pressed in the text > area, for example to copy a block of text, the cursor changes shape and > the X session becomes completely locked up. I have to stop X and > restart it. I have tried to deinstall nedit and rebuild it but this > didn't help. It is nedit-5.5 with Motif 2.2.3. > > Also, when nedit is started the following warnings are given: > > Cannot convert string > "-*-helvetica-medium-r-normal-*-*-120-*-*-*-iso8859-1" to type FontStruct > Cannot convert string "-*-helvetica-bold-r-normal-*-*-120-*-*-*-iso8859-1" to type FontStruct > Cannot convert string "-*-helvetica-medium-o-normal-*-*-120-*-*-*-iso8859-1" to type FontStruct > Cannot convert string "-*-courier-medium-r-normal-*-*-120-*-*-*-iso8859-1" to type FontStruct > Cannot convert string "-*-courier-bold-r-normal-*-*-120-*-*-*-iso8859-1" to type FontStruct > Cannot convert string "-*-courier-medium-o-normal-*-*-120-*-*-*-iso8859-1" to type FontStruct > > These warnings have been happening for some time but nedit otherwise has > been working ok until the port update. xpdf gives similar warnings but > seems to work ok. > > What can I do to resolve at least the lockup problem? Can you run nedit under truss or ktrace? It may be stuck in a loop because of a bug. You should be able to run it under truss, for example, by opening a new terminal window and typing: truss -o nedit.log nedit Then when nedit gets stuck, wait a bit to let truss collect some tracing information, and kill nedit. Attach the output of truss in a message to the list. Someone may find useful information about nedit's blocking in the final bits of the trace file. From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 07:53:14 2011 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 DB894106564A for ; Sun, 6 Feb 2011 07:53:14 +0000 (UTC) (envelope-from bf1783@googlemail.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 A6AF88FC15 for ; Sun, 6 Feb 2011 07:53:14 +0000 (UTC) Received: by iwn39 with SMTP id 39so3619590iwn.13 for ; Sat, 05 Feb 2011 23:53:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:date:message-id:subject :from:to:cc:content-type; bh=DBKT0cCXCfE2TqZZ1bFJCGwoUUDPGNnLXWW1HBo/suc=; b=lrmcNsFNMD2qJoZ5UU3D2siUo4byxC255wC/CZYjQpZdnAnmvJnnN0fqMlpbOrl+jM HH2jSJqI6m0KKJ9/0zfewZ6dhkeUSdZi+Obldf1vixol6oUCO9zvZSM0XRKaC7yjpS5V pOd2DHqt2FOEH/qnGk6MCh4ooIR+5SOA6aQDU= 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=B+BlZR3LYPn45ZjruOSRYuC6KE8wDs46/TFfRmgFyNuCYLF8JRRnZbg9aO3KUmBV4T FBERIsGqaP7Ihffjkuoj+pcVo5MegGYCDQZPiO1zHKRie8CrVQjNyL9aSYLkGRNqGnor dSbgXS2fg1+jn3TOmGP9IJgrSaSwSvTydUKyU= MIME-Version: 1.0 Received: by 10.42.180.133 with SMTP id bu5mr2884471icb.125.1296978794045; Sat, 05 Feb 2011 23:53:14 -0800 (PST) Received: by 10.42.7.144 with HTTP; Sat, 5 Feb 2011 23:53:14 -0800 (PST) Date: Sun, 6 Feb 2011 02:53:14 -0500 Message-ID: From: "b. f." To: Fred Boatwright Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@FreeBSD.org Subject: Re: nedit problem 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: Sun, 06 Feb 2011 07:53:14 -0000 Fred Boatwright wrote: > After updating all ports on 8.1-RELEASE, nedit has a problem. The right > mouse button works ok in the toolbar but if it is pressed in the text > area, for example to copy a block of text, the cursor changes shape and > the X session becomes completely locked up. I have to stop X and > restart it. I have tried to deinstall nedit and rebuild it but this > didn't help. It is nedit-5.5 with Motif 2.2.3. This is a known problem with many Motif-based applications, arising from a bug in recent versions of Xorg. It has been corrected upstream, and it is likely that this problem will be fixed when the ports freeze ends shortly after the release of FreeBSD 7.4 and 8.2, if not before. If you can't wait, you can try using the patches from: http://www.freebsd.org/cgi/query-pr.cgi?pr=154510 b. From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 10:14:37 2011 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 2FEA1106566B for ; Sun, 6 Feb 2011 10:14:37 +0000 (UTC) (envelope-from kellyremo@zoho.com) Received: from sender1.zohomail.com (sender1.zohomail.com [72.5.230.95]) by mx1.freebsd.org (Postfix) with ESMTP id 17A1A8FC1E for ; Sun, 6 Feb 2011 10:14:36 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:message-id:subject:mime-version:content-type:user-agent; b=BgHJC2HDeumQQxVaXOaeqPQ3uZMKAAl3qINufnLQH1k/XjAL4Ya5LD3uDjBrkAe5xdjA/axegPF/ 6pqCH+44bqZRUgonKWQDbC6ATItRCGdLxyaIYZtQayvjp3xuYqpD Received: from 172.29.249.242 (172.29.249.242 [172.29.249.242]) by mx.zohomail.com with SMTP id 1296987276606861.5116064244743; Sun, 6 Feb 2011 02:14:36 -0800 (PST) Date: Sun, 06 Feb 2011 02:14:36 -0800 From: kellyremo To: "FreeBSD" Message-ID: <12dfa77447c.7163284093726025667.-8541699583891767164@zoho.com> MIME-Version: 1.0 X-Priority: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail Status: RO Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: "https is faster on amd64?" 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, 06 Feb 2011 10:14:37 -0000 http://devcentral.f5.com/weblogs/macvittie/archive/2011/01/31/dispelling-the-new-ssl-myth.aspx according to the "SSL Performance" table it says that the transactions per second is 2-3 times better using 64bit kernels opposite to 32bit kernels? is this true, or i am just misunderstanding something Thank you! From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 12:20:44 2011 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 E65B1106566C for ; Sun, 6 Feb 2011 12:20:43 +0000 (UTC) (envelope-from kellyremo@zoho.com) Received: from sender1.zohomail.com (sender1.zohomail.com [72.5.230.95]) by mx1.freebsd.org (Postfix) with ESMTP id CE61A8FC14 for ; Sun, 6 Feb 2011 12:20:43 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:message-id:subject:mime-version:content-type:user-agent; b=qNz4iqjhGH9Hn8raQlfktiWbAiBFXS3Ths9qiCGgV3RtTmnGURoNyNI4+eRnfdeKAfpD+0V78mGI taYTTLB/A9nCSNeK1Ub3/3NfwLa8y4pi9WVVtJzbj7lQTlCkV+hc Received: from 172.29.243.251 (172.29.243.251 [172.29.243.251]) by mx.zohomail.com with SMTP id 1296994843225801.967395548556; Sun, 6 Feb 2011 04:20:43 -0800 (PST) Date: Sun, 06 Feb 2011 04:20:42 -0800 From: kellyremo To: "FreeBSD" Message-ID: <12dfaeab98c.2320661712861783787.-8492260798816855817@zoho.com> MIME-Version: 1.0 X-Priority: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail Status: RO Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: OpenSSH could be faster...then why don't they path it?? 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, 06 Feb 2011 12:20:44 -0000 https://www.psc.edu/networking/projects/hpn-ssh/hpn-v-ssh-tput.jpg "SCP and the underlying SSH2 protocol implementation in OpenSSH is network performance limited by statically defined internal flow control buffers. These buffers often end up acting as a bottleneck for network throughput of SCP, especially on long and high bandwith network links. Modifying the ssh code to allow the buffers to be defined at run time eliminates this bottleneck. We have created a patch that will remove the bottlenecks in OpenSSH and is fully interoperable with other servers and clients. In addition HPN clients will be able to download faster from non HPN servers, and HPN servers will be able to receive uploads faster from non HPN clients. However, the host receiving the data must have a properly tuned TCP/IP stack." My question is: So Why Does the original OpenSSH has "limited statically defined internal flow control buffers"?? It could be way faster, even 10x!! With the HPN-SCP path it could be the descendant of FTP! Why aren't there any ""OpenSCP packages""? ('normal SCP+HPN-SCP path+no local user needed for SCP'ing+chroot by default') Any opinions? Thank you! From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 13:33:33 2011 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 6BDC61065670 for ; Sun, 6 Feb 2011 13:33:33 +0000 (UTC) (envelope-from kellyremo@zoho.com) Received: from sender1.zohomail.com (sender1.zohomail.com [72.5.230.95]) by mx1.freebsd.org (Postfix) with ESMTP id 53F2F8FC12 for ; Sun, 6 Feb 2011 13:33:33 +0000 (UTC) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=zapps768; d=zoho.com; h=date:from:to:message-id:subject:mime-version:content-type:user-agent; b=ghfyXAd9Zq5dDvkPVGOmtvw2c3tTNI6UiEgWQEsTk0iBLoNykVXWIVwhYZ4Dxi6oA7G2otZK3WVx 4l8GRlGnfDAFwcazSlWiEh3LiB8iepjidY5WWLjFJlk3Py8+WLZN Received: from 172.29.243.251 (172.29.243.251 [172.29.243.251]) by mx.zohomail.com with SMTP id 1296999212802914.146108165081; Sun, 6 Feb 2011 05:33:32 -0800 (PST) Date: Sun, 06 Feb 2011 05:33:32 -0800 From: kellyremo To: "FreeBSD" Message-ID: <12dfb2d663e.8735497800158401667.-7202521450009428314@zoho.com> MIME-Version: 1.0 X-Priority: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail Status: RO Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: if the file changes send email about diff 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, 06 Feb 2011 13:33:33 -0000 I have 2 script. Script "A", Script "B". Script "A" is regulary watching the "dhcpacks" [dhcp release is configured to 2mins] in the logs, for the past 2 minutes. it writes the MAC addresses to a file [/dev/shm/dhcpacks-in-last-2min.txt] every 2 minutes. Ok, this is working, active clients are in this file. Super! Script "B": http://pastebin.com/raw.php?i=wvhwhPWu I'm trying to create a script, that watches the changes in "/dev/shm/dhcpacks-in-last-2min.txt" file [in every 1 sec]. Ok. But: my "watcher" script [the pastebined] is not working fine...sometime it works, sometime it send that someone "XY logged out", but it's not true! nothing happened, and the problem is not in the Script "A". Can someone help me point out, what am i missing? How can i watch a file [in every sec], that contains only MAC addresses, and if someone doesn't get dhcpack in 2 minutes, the file "/dev/shm/dhcpacks-in-last-2min.txt" changes, and that clients MAC address will be gone from it, and i need to know, who was it [pastebined my script..but somethings wrong with it]. Thank you for any help..i've been pathing my script for days now.. :\ From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 13:42:29 2011 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 CD097106564A for ; Sun, 6 Feb 2011 13:42:29 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 99E5E8FC1D for ; Sun, 6 Feb 2011 13:42:29 +0000 (UTC) Received: from overdrive.ws.pitbpa0.priv.collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id 4D0B1F7419; Sun, 6 Feb 2011 08:42:28 -0500 (EST) Date: Sun, 6 Feb 2011 08:42:27 -0500 From: Bill Moran To: kellyremo Message-Id: <20110206084227.639b10af.wmoran@potentialtech.com> In-Reply-To: <12dfaeab98c.2320661712861783787.-8492260798816855817@zoho.com> References: <12dfaeab98c.2320661712861783787.-8492260798816855817@zoho.com> Organization: Bill Moran X-Mailer: Sylpheed 3.0.3 (GTK+ 2.20.1; amd64-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: FreeBSD Subject: Re: OpenSSH could be faster...then why don't they path it?? 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, 06 Feb 2011 13:42:29 -0000 In response to kellyremo : > https://www.psc.edu/networking/projects/hpn-ssh/hpn-v-ssh-tput.jpg > > "SCP and the underlying SSH2 protocol implementation in OpenSSH is network performance limited by statically defined internal flow control buffers. These buffers often end up acting as a bottleneck for network throughput of SCP, especially on long and high bandwith network links. Modifying the ssh code to allow the buffers to be defined at run time eliminates this bottleneck. We have created a patch that will remove the bottlenecks in OpenSSH and is fully interoperable with other servers and clients. In addition HPN clients will be able to download faster from non HPN servers, and HPN servers will be able to receive uploads faster from non HPN clients. However, the host receiving the data must have a properly tuned TCP/IP stack." > > My question is: So Why Does the original OpenSSH has "limited statically defined internal flow control buffers"?? It could be way faster, even 10x!! Because it's unstable?: "If you are experiencing disconnects due to a failure in buffer_append_space please let us know. We're currently tracking some problems with this and we're trying to gather more information to help resolve it." Also, I'm having trouble understanding how people like that get grants to do work like that. On the one hand, they obviously know enough about cryptography to make improvements. On the other hand, they can't seem to get a grip on the fact that the code will need to have a license before anyone can grab it and incorporate it. I can't find anywhere on that page where it tells me what terms I am allowed to use those patches under. Also, it would be nice if those folks kept track of dates. Like, how long have those patches be available? There's not a single date on any of those pages or the files involved. The reason I point this out is because OpenSSL is _extremely_ sensitive software. I don't want to see any large changes to it released until they've been in testing for months, if not years. For all we know, these speed improvements are riddled with dozens of security flaws. Also, any reason why you're asking these questions of FreeBSD and not of the OpenSSL project? -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 15:49:08 2011 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 DB6DD106566C for ; Sun, 6 Feb 2011 15:49:08 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 9B26C8FC14 for ; Sun, 6 Feb 2011 15:49:08 +0000 (UTC) Received: by gyf3 with SMTP id 3so1532623gyf.13 for ; Sun, 06 Feb 2011 07:49:07 -0800 (PST) Received: by 10.90.102.15 with SMTP id z15mr18076982agb.190.1297005818843; Sun, 06 Feb 2011 07:23:38 -0800 (PST) Received: from papi.localnet ([187.113.126.230]) by mx.google.com with ESMTPS id n63sm2068143yha.20.2011.02.06.07.23.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 06 Feb 2011 07:23:38 -0800 (PST) From: Mario Lobo To: freebsd-questions@freebsd.org Date: Sun, 6 Feb 2011 12:23:09 -0300 User-Agent: KMail/1.13.5 (FreeBSD/8.2-PRERELEASE; KDE/4.5.2; amd64; ; ) References: <4D4DF58D.2040506@computer.org> In-Reply-To: <4D4DF58D.2040506@computer.org> X-KMail-Markup: true MIME-Version: 1.0 Message-Id: <201102061223.09545.lobo@bsd.com.br> Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Eric Schuele Subject: Re: 8.2 prerelease, virtualbox, and windows guests that freeze... 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, 06 Feb 2011 15:49:08 -0000 On Saturday 05 February 2011 22:12:45 Eric Schuele wrote: > All, > > I have a laptop running 8.2-prerelease GENERIC. I have virtualbox ose > 3.2.12 from ports (and kmod as well). > > I've only installed windows guests in vbox. I've installed windows 2008 > server 64, windows vista 64bit, and windows 7 32bit. I have the vbox > hdd images on an NTFS filesystem mounted using fuse. > > My box is a dual boot machine between FreeBSD and Windows. My desire is > to be able to utilize the same virtual machine in vbox on both my > Windows and FreeBSD installations. > > I can successfully utilize the virtuals in vbox (same version) in > Windows. However when I utilize any of the virtual machines in FreeBSD, > they run for several minutes and eventually "freeze". Freeze may not > necessarily be the correct term. All windows processes on the virtual > machine begin to die. First one process, then another, then all. Hard > to explain, which may not help my cause here. But, most important > fact... in Windows they work fine... under FreeBSD they run for a while > and then cease to run. When the VM is good and dead, it is always dead > with the little vbox virtual hard disk LED lit up (no idea if that is > important). > > Previously, they would run for a *very* short time. seconds? minutes? > and then die (sometimes I couldn't login). I disabled sound support and > now they run for 10-15 minutes. Had one run for an hour or two the > other day, but can't reproduce that. Usually 10-15 minutes max. > > Network works fine inside the virtual. > > I'm new to VirtualBox on FreeBSD. I've used it a bit on Windows with > good results. > > I did try a windows guest on a non fuse filesystem just to rule that > out, but had same issue. > > What else could I provide that might allow someone to point me in the > right direction here? > > Thanks. > > -- > Regards, > Eric Eric; My advice to you is that you change the file system on drive that holds the VMs files from NTFS to EXT2. NTFS file systems on FreeBSD or even Linux are OK only for doing small r/w stuff. I use the ntfs-3g which is really good but don't trust NTFS for heavy usage under those OSs. Sometimes it's not even trustable under windows itself. EXT on the other hand, is very stable in FreeBSD and has very good drivers for any version of 32/64 windows (Ext2IFS_1_11a) so you can access you vdi files. hope this helps. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] (99% winblows FREE) From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 15:51:19 2011 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 237BF1065673 for ; Sun, 6 Feb 2011 15:51:19 +0000 (UTC) (envelope-from demelier.david@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 AB0CB8FC0C for ; Sun, 6 Feb 2011 15:51:18 +0000 (UTC) Received: by wyf19 with SMTP id 19so3935392wyf.13 for ; Sun, 06 Feb 2011 07:51:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=KVYWoyoYThHFEX5v+mGMDaZIbt/unElXL19zbe86ThY=; b=kkaSS6KHR8Oc3++taZj1g4IlG1OX4tiA5JHFxQFUMAD8KRyl5wnghuFFY6/FQAFLf5 wiRxAClV1gesvIEcgH7ohmb3gA9U/uMAcJcC9/MEVlKdVJpWfCRhTvJMVD0q3LI2P2Pb xzEAsHLyiTralK9k0gJESncN+7fEeQzRE2R1M= 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=mL3Aovh+vrnotkgbVFlsBokczcY2Q9ZQtcAAarmUK7JRKByw0fScENwglnxDRswUm9 SEqKOhJFiQtQjY8+5FoHFox3PXCvT/GTQpJ5og/654U8+1+zStOwNvdbX8jVVRu9ge00 qDcSI9kTCCapYG7yiFlZFDqDailZ21T/JRuZQ= Received: by 10.227.138.15 with SMTP id y15mr14557519wbt.186.1297007477577; Sun, 06 Feb 2011 07:51:17 -0800 (PST) Received: from Melon.malikania.fr (65.21.102-84.rev.gaoland.net [84.102.21.65]) by mx.google.com with ESMTPS id y29sm2488593wbd.10.2011.02.06.07.51.16 (version=SSLv3 cipher=RC4-MD5); Sun, 06 Feb 2011 07:51:16 -0800 (PST) Message-ID: <4D4EC363.70202@gmail.com> Date: Sun, 06 Feb 2011 16:50:59 +0100 From: David Demelier User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20110125 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Set tty resolution using hint.sc.0.flags with VESA 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, 06 Feb 2011 15:51:19 -0000 Hello, I don't like much to use allscreens_flags to set my tty resolution because it's done at the end of /etc/rc process. I know we can edit the hint.sc.0.flags in /boot/device.hints to set the resolution at the earliest stage. I want to use the 1366x768 mode : # vidcontrol -i mode [... snip ...] 496 (0x1f0) 0x0000001f G 1366x768x32 D 8x16 0xa0000 64k 64k 0xc0000000 4128k To use this mode I should write hint.sc.0.flags="0x1f00180" where 80 means VESA mode following the sc(4) manpage. It seems that my resolution is like 1024x768 when I bootup and not the one I want. However when I use vidcontrol MODE_496 after boot it works pretty well. Is there something wrong on my line ? Cheers, -- David Demelier From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 16:03:58 2011 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 906B21065672 for ; Sun, 6 Feb 2011 16:03:58 +0000 (UTC) (envelope-from fred@blakemfg.com) Received: from mail.getnet.net (mail.getnet.net [216.19.223.10]) by mx1.freebsd.org (Postfix) with SMTP id 33D198FC15 for ; Sun, 6 Feb 2011 16:03:57 +0000 (UTC) Received: (qmail 11863 invoked from network); 6 Feb 2011 16:03:57 -0000 Received: from unknown (HELO localhost) (127.0.0.1) by localhost with SMTP; 6 Feb 2011 16:03:57 -0000 X-Virus-Scanned: amavisd-new at getnet.net Received: from mail.getnet.net ([127.0.0.1]) by localhost (mail.getnet.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aIEP-P353bvd for ; Sun, 6 Feb 2011 09:03:56 -0700 (MST) Received: (qmail 11857 invoked from network); 6 Feb 2011 16:03:56 -0000 Received: from unknown (HELO ragnok.blakemfg.com) (fredb@216.19.219.132) by mail.getnet.net with ESMTPA; 6 Feb 2011 16:03:56 -0000 Message-ID: <4D4EC568.70306@blakemfg.com> Date: Sun, 06 Feb 2011 08:59:36 -0700 From: Fred User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.12) Gecko/20110131 Thunderbird/3.1.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: nedit 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, 06 Feb 2011 16:03:58 -0000 On 02/06/11 00:53, b. f. wrote: > Fred Boatwright wrote: > >> After updating all ports on 8.1-RELEASE, nedit has a problem. The right >> mouse button works ok in the toolbar but if it is pressed in the text >> area, for example to copy a block of text, the cursor changes shape and >> the X session becomes completely locked up. I have to stop X and >> restart it. I have tried to deinstall nedit and rebuild it but this >> didn't help. It is nedit-5.5 with Motif 2.2.3. > This is a known problem with many Motif-based applications, arising > from a bug in recent versions of Xorg. It has been corrected > upstream, and it is likely that this problem will be fixed when the > ports freeze ends shortly after the release of FreeBSD 7.4 and 8.2, if > not before. If you can't wait, you can try using the patches from: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=154510 > > b. > _______________________________________________ > 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 will just use another editor for a while. Thanks for the help. Best regards, Fred From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 16:37:22 2011 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 D17D8106566C for ; Sun, 6 Feb 2011 16:37:22 +0000 (UTC) (envelope-from e.schuele@computer.org) Received: from p3plsmtpa01-03.prod.phx3.secureserver.net (p3plsmtpa01-03.prod.phx3.secureserver.net [72.167.82.83]) by mx1.freebsd.org (Postfix) with SMTP id A90708FC0A for ; Sun, 6 Feb 2011 16:37:20 +0000 (UTC) Received: (qmail 14690 invoked from network); 6 Feb 2011 16:10:39 -0000 Received: from unknown (71.164.218.188) by p3plsmtpa01-03.prod.phx3.secureserver.net (72.167.82.83) with ESMTP; 06 Feb 2011 16:10:39 -0000 Message-ID: <4D4EC7CB.7010200@computer.org> Date: Sun, 06 Feb 2011 10:09:47 -0600 From: Eric Schuele User-Agent: Thunderbird 2.0.0.23 (X11/20090904) MIME-Version: 1.0 To: Mario Lobo References: <4D4DF58D.2040506@computer.org> <201102061223.09545.lobo@bsd.com.br> In-Reply-To: <201102061223.09545.lobo@bsd.com.br> X-Enigmail-Version: 0.95.2 OpenPGP: url=http://www.ravenlock.us/keys/pub_schuele.pgp Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigEFBB3C90591F7BC4A4D13B49" Cc: freebsd-questions@freebsd.org Subject: Re: 8.2 prerelease, virtualbox, and windows guests that freeze... 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, 06 Feb 2011 16:37:22 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigEFBB3C90591F7BC4A4D13B49 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable On 02/06/2011 09:23, Mario Lobo wrote: > On Saturday 05 February 2011 22:12:45 Eric Schuele wrote: >=20 >> All, >=20 >> >=20 >> I have a laptop running 8.2-prerelease GENERIC. I have virtualbox ose >=20 >> 3.2.12 from ports (and kmod as well). >=20 >> >=20 >> I've only installed windows guests in vbox. I've installed windows 200= 8 >=20 >> server 64, windows vista 64bit, and windows 7 32bit. I have the vbox >=20 >> hdd images on an NTFS filesystem mounted using fuse. >=20 >=20 > Eric; >=20 > My advice to you is that you change the file system on drive that holds= > the VMs files from NTFS to EXT2. Thanks for the suggestion, however, I've already tried this (sorta). =46rom my original post... > >> I did try a windows guest on a non fuse filesystem just to rule that >> out, but had same issue. > I suppose it may have been a little less than clear. By "non fuse filesystem" I actually meant UFS. The problem still persisted. >=20 > NTFS file systems on FreeBSD or even Linux are OK only for doing small > r/w stuff. I use the ntfs-3g which is really good but don't trust NTFS > for heavy usage under those OSs. Sometimes it's not even trustable unde= r > windows itself. I realize NTFS on fBSD has been shaky in the past, but had heard it had come a long way these days. It does seem to work well for all my purposes, except these VMs. Had hoped NTFS was not the issue. >=20 > EXT on the other hand, is very stable in FreeBSD and has very good > drivers for any version of 32/64 windows (Ext2IFS_1_11a) so you can > access you vdi files. I've not tried the EXT IFS for windows yet, nor had I heard much regarding their success or failure. If your willing to go out on a limb and say "very good drivers for any version of 32/64 windows"... I'll give it a try, and post my results. :) Thanks. >=20 > hope this helps. >=20 > --=20 >=20 > Mario Lobo >=20 > http://www.mallavoodoo.com.br >=20 > FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] (99% winblows FREE) >=20 --=20 Regards, Eric --------------enigEFBB3C90591F7BC4A4D13B49 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAk1Ox8sACgkQngSDRM3IXUq/gACgh/g4QrwWbunCWpPKBOabYav0 5iIAoK6obknsOt+fcc2g1vCKY9XvoCKg =3GrC -----END PGP SIGNATURE----- --------------enigEFBB3C90591F7BC4A4D13B49-- From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 16:52:14 2011 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 9489B1065670 for ; Sun, 6 Feb 2011 16:52:14 +0000 (UTC) (envelope-from fluffy@fluffy.khv.ru) Received: from forward11.mail.yandex.net (forward11.mail.yandex.net [95.108.130.93]) by mx1.freebsd.org (Postfix) with ESMTP id 4A0B28FC0C for ; Sun, 6 Feb 2011 16:52:14 +0000 (UTC) Received: from web140.yandex.ru (web140.yandex.ru [95.108.130.8]) by forward11.mail.yandex.net (Yandex) with ESMTP id 8138023F8417; Sun, 6 Feb 2011 19:52:12 +0300 (MSK) Received: from localhost (localhost.localdomain [127.0.0.1]) by web140.yandex.ru (Yandex) with ESMTP id 6E17F14F800F; Sun, 6 Feb 2011 19:52:12 +0300 (MSK) Received: from [46.38.1.85] ([46.38.1.85]) by mail.yandex.ru with HTTP; Sun, 06 Feb 2011 19:52:12 +0300 From: Dima Panov To: David Demelier In-Reply-To: <4D4EC363.70202@gmail.com> References: <4D4EC363.70202@gmail.com> MIME-Version: 1.0 Message-Id: <187091297011132@web140.yandex.ru> Date: Mon, 07 Feb 2011 02:52:12 +1000 X-Mailer: Yamail [ http://yandex.ru ] 5.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=koi8-r Cc: freebsd-questions@freebsd.org Subject: Re: Set tty resolution using hint.sc.0.flags with VESA 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, 06 Feb 2011 16:52:14 -0000 Hello! [fluffy@Beastie] ~$ cat /boot/device.hints|grep sc.0 hint.sc.0.at="isa" hint.sc.0.flags="0x180" hint.sc.0.vesa_mode=0x1f0 07.02.2011, 01:50, "David Demelier" : > Hello, > > I don't like much to use allscreens_flags to set my tty resolution > because it's done at the end of /etc/rc process. I know we can edit the > hint.sc.0.flags in /boot/device.hints to set the resolution at the > earliest stage. > > I want to use the 1366x768 mode : > > # vidcontrol -i mode > [... snip ...] > 496 (0x1f0) 0x0000001f G 1366x768x32 D šš8x16 š0xa0000 64k 64k > 0xc0000000 4128k > > To use this mode I should write hint.sc.0.flags="0x1f00180" where 80 > means VESA mode following the sc(4) manpage. > > It seems that my resolution is like 1024x768 when I bootup and not the > one I want. However when I use vidcontrol MODE_496 after boot it works > pretty well. > > Is there something wrong on my line ? > > Cheers, > > -- > David Demelier > _______________________________________________ > 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" -- Dima Panov (fluffy@FreeBSD.org) KDE@FreeBSD team Facebook: http://www.facebook.com/?id=100000181104157 From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 17:05:03 2011 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 27BFE106566C for ; Sun, 6 Feb 2011 17:05:03 +0000 (UTC) (envelope-from robert@webtent.org) Received: from mail.webtent.org (mail.webtent.org [72.64.244.50]) by mx1.freebsd.org (Postfix) with ESMTP id C7EDB8FC0C for ; Sun, 6 Feb 2011 17:05:02 +0000 (UTC) Received: by mail.webtent.org (Postfix, from userid 27458) id D2885E104F; Sun, 6 Feb 2011 12:05:01 -0500 (EST) Received: from [192.168.1.75] (unknown [192.168.1.75]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: robert@mail.webtent.org) by mail.webtent.org (Postfix) with ESMTPSA id 993A3E0CD5 for ; Sun, 6 Feb 2011 12:05:01 -0500 (EST) Message-ID: <4D4ED4BB.5090704@webtent.org> Date: Sun, 06 Feb 2011 12:04:59 -0500 From: Robert Fitzpatrick Organization: WebTent Networking, Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 ThunderBrowse/3.3.4 MIME-Version: 1.0 To: FreeBSD Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-WebTent-Disclaimer: robert@webtent.org X-Copyrighted-Material: Please visit http://www.webtent.org/privacy.html X-WebTent-ESMTP: Please visit http://www.webtent.com/email for more information Subject: kern.crit 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, 06 Feb 2011 17:05:03 -0000 I have a server I installed 8.1-RELEASE on and believe I screwed up when rebuilding the kernel to support QUOTA because now that I am troubleshooting these weird messages in the log, I find I am actually running 9.0-CURRENT. I had a ports file as below when I pulled the source to rebuild the kernel... *default host=cvsup9.us.FreeBSD.org *default base=/usr *default prefix=/usr *default release=cvs tag=. *default release=cvs delete use-rel-suffix compress src-all Using the tag above caused my issue? Now I see some troubling messages in my logs... > Feb 6 11:25:23 backup kernel: lock order reversal: > Feb 6 11:25:23 backup kernel: 1st 0xffffff8014bbbe58 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:2659 > Feb 6 11:25:23 backup kernel: 2nd 0xffffff002b9d6400 dirhash (dirhash) @ /usr/src/sys/ufs/ufs/ufs_dirhash.c:283 > Feb 6 11:25:23 backup kernel: KDB: stack backtrace: > Feb 6 11:25:23 backup kernel: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a > Feb 6 11:25:23 backup kernel: _witness_debugger() at _witness_debugger+0x2e > Feb 6 11:25:23 backup kernel: witness_checkorder() at witness_checkorder+0x807 > Feb 6 11:25:23 backup kernel: _sx_xlock() at _sx_xlock+0x55 > Feb 6 11:25:23 backup kernel: ufsdirhash_acquire() at ufsdirhash_acquire+0x33 > Feb 6 11:25:23 backup kernel: ufsdirhash_add() at ufsdirhash_add+0x19 > Feb 6 11:25:23 backup kernel: ufs_direnter() at ufs_direnter+0x662 > Feb 6 11:25:23 backup kernel: ufs_makeinode() at ufs_makeinode+0x291 > Feb 6 11:25:23 backup kernel: VOP_CREATE_APV() at VOP_CREATE_APV+0x8d > Feb 6 11:25:23 backup kernel: vn_open_cred() at vn_open_cred+0x46a > Feb 6 11:25:23 backup kernel: kern_openat() at kern_openat+0x181 > Feb 6 11:25:23 backup kernel: syscallenter() at syscallenter+0x1aa > Feb 6 11:25:23 backup kernel: syscall() at syscall+0x4c > Feb 6 11:25:23 backup kernel: Xfast_syscall() at Xfast_syscall+0xe2 > Feb 6 11:25:23 backup kernel: --- syscall (5, FreeBSD ELF64, open), rip = 0x80078118c, rsp = 0x7fffffffad48, rbp = 0x7fffffffb73f --- I also find this message with dmesg... > ad8: 152627MB at ata4-master UDMA100 SATA > ad9: 953869MB at ata4-slave UDMA100 SATA > GEOM: ad8s1: geometry does not match label (255h,63s != 16h,63s). > ad10: 152627MB at ata5-master UDMA100 SATA > ad11: 953869MB at ata5-slave UDMA100 SATA > GEOM: ad9s1: geometry does not match label (255h,63s != 16h,63s). > uhub0: 2 ports with 2 removable, self powered > uhub1: 2 ports with 2 removable, self powered > uhub2: 2 ports with 2 removable, self powered > uhub3: 2 ports with 2 removable, self powered > GEOM: ufsid/4c7aa872e9a44575: geometry does not match label (255h,63s != 16h,63s). > GEOM: ad10s1: geometry does not match label (255h,63s != 16h,63s). > GEOM: ad11s1: geometry does not match label (255h,63s != 16h,63s). > uhub4: 8 ports with 8 removable, self powered > ar0: 152627MB status: READY > ar0: disk0 READY (master) using ad8 at ata4-master > ar0: disk1 READY (mirror) using ad10 at ata5-master > ar1: 953869MB status: READY > ar1: disk0 READY (master) using ad11 at ata5-slave > ar1: disk1 READY (mirror) using ad9 at ata4-slave > SMP: AP CPU #1 Launched! > WARNING: WITNESS option enabled, expect reduced performance. > ugen1.2: at usbus1 > ukbd0: on usbus1 > kbd2 at ukbd0 > ums0: on usbus1 > ums0: 5 buttons and [XYZ] coordinates ID=1 > Trying to mount root from ufs:/dev/ar0s1a > lock order reversal: > 1st 0xffffff0002cdd818 ufs (ufs) @ /usr/src/sys/kern/vfs_lookup.c:501 > 2nd 0xffffff801497ff78 bufwait (bufwait) @ /usr/src/sys/ufs/ffs/ffs_softdep.c:11309 > 3rd 0xffffff0002d4fbd8 ufs (ufs) @ /usr/src/sys/kern/vfs_subr.c:2111 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2a > _witness_debugger() at _witness_debugger+0x2e > witness_checkorder() at witness_checkorder+0x807 > __lockmgr_args() at __lockmgr_args+0xd42 > ffs_lock() at ffs_lock+0x8c > VOP_LOCK1_APV() at VOP_LOCK1_APV+0x9b > _vn_lock() at _vn_lock+0x47 > vget() at vget+0x7b > vfs_hash_get() at vfs_hash_get+0xd5 > ffs_vgetf() at ffs_vgetf+0x48 > softdep_sync_metadata() at softdep_sync_metadata+0x5e3 > ffs_syncvnode() at ffs_syncvnode+0x213 > ffs_truncate() at ffs_truncate+0x557 > ufs_direnter() at ufs_direnter+0x47b > ufs_makeinode() at ufs_makeinode+0x291 > VOP_CREATE_APV() at VOP_CREATE_APV+0x8d > vn_open_cred() at vn_open_cred+0x46a > kern_openat() at kern_openat+0x181 > syscallenter() at syscallenter+0x1aa > syscall() at syscall+0x4c > Xfast_syscall() at Xfast_syscall+0xe2 > --- syscall (5, FreeBSD ELF64, open), rip = 0x80072f18c, rsp = 0x7fffffffead8, rbp = 0 --- > lock order reversal: > 1st 0xffffff8014bbbe58 bufwait (bufwait) @ /usr/src/sys/kern/vfs_bio.c:2659 > 2nd 0xffffff002b9d6400 dirhash (dirhash) @ /usr/src/sys/ufs/ufs/ufs_dirhash.c:283 > KDB: stack backtrace: > db_trace_self_wrapper() at db_trace_self_wrapper+0x2a > _witness_debugger() at _witness_debugger+0x2e > witness_checkorder() at witness_checkorder+0x807 > _sx_xlock() at _sx_xlock+0x55 > ufsdirhash_acquire() at ufsdirhash_acquire+0x33 > ufsdirhash_add() at ufsdirhash_add+0x19 > ufs_direnter() at ufs_direnter+0x662 > ufs_makeinode() at ufs_makeinode+0x291 > VOP_CREATE_APV() at VOP_CREATE_APV+0x8d > vn_open_cred() at vn_open_cred+0x46a > kern_openat() at kern_openat+0x181 > syscallenter() at syscallenter+0x1aa > syscall() at syscall+0x4c > Xfast_syscall() at Xfast_syscall+0xe2 > --- syscall (5, FreeBSD ELF64, open), rip = 0x80078118c, rsp = 0x7fffffffad48, rbp = 0x7fffffffb73f --- Just looking for advice on what to do about all this, can someone help? Thanks, Robert -- Robert From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 17:48:39 2011 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 AE97F106564A for ; Sun, 6 Feb 2011 17:48:39 +0000 (UTC) (envelope-from prvs=0018ec05ec=kalts@estcard.ee) Received: from smtp.estcard.ee (smtp.estcard.ee [194.204.11.100]) by mx1.freebsd.org (Postfix) with ESMTP id 633218FC08 for ; Sun, 6 Feb 2011 17:48:39 +0000 (UTC) Received: from fserv.internal ([192.168.10.3]) by smtp.estcard.ee with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.73) (envelope-from ) id 1Pm8Ht-0002uI-K2; Sun, 06 Feb 2011 19:20:37 +0200 Received: from myhakas.internal ([192.168.21.128]) by fserv.internal with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1Pm8Ht-0005UT-IB; Sun, 06 Feb 2011 19:20:37 +0200 Received: from kalts by myhakas.internal with local (Exim 4.69) (envelope-from ) id 1Pm8Ht-0008Ag-EW; Sun, 06 Feb 2011 19:20:37 +0200 Date: Sun, 6 Feb 2011 19:20:37 +0200 From: Vallo Kallaste To: Robert Fitzpatrick Message-ID: <20110206172037.GA31301@hape.internal> References: <4D4ED4BB.5090704@webtent.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D4ED4BB.5090704@webtent.org> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: FreeBSD Subject: Re: kern.crit messages X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: kalts@estpak.ee List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Feb 2011 17:48:39 -0000 On Sun, Feb 06, 2011 at 12:04:59PM -0500, Robert Fitzpatrick wrote: > I have a server I installed 8.1-RELEASE on and believe I screwed up when > rebuilding the kernel to support QUOTA because now that I am > troubleshooting these weird messages in the log, I find I am actually > running 9.0-CURRENT. I had a ports file as below when I pulled the > source to rebuild the kernel... > > *default host=cvsup9.us.FreeBSD.org > *default base=/usr > *default prefix=/usr > *default release=cvs tag=. > *default release=cvs delete use-rel-suffix compress > src-all > > Using the tag above caused my issue? Now I see some troubling messages > in my logs... > > Just looking for advice on what to do about all this, can someone help? > By using the line: *default release=cvs tag=. for src-all collection you definitely grabbed -current sources. I'm not sure if downgrading by "make world" is supported but you could try. Backup first, try later.. -- Vallo From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 17:50:57 2011 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 119D61065670 for ; Sun, 6 Feb 2011 17:50:57 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from oproxy3-pub.bluehost.com (oproxy3-pub.bluehost.com [69.89.21.8]) by mx1.freebsd.org (Postfix) with SMTP id D4CC88FC16 for ; Sun, 6 Feb 2011 17:50:56 +0000 (UTC) Received: (qmail 18722 invoked by uid 0); 6 Feb 2011 17:50:56 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by oproxy3.bluehost.com with SMTP; 6 Feb 2011 17:50:56 -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=YqkFLHfC8ajHXvSFj9n/yEnICKrFcMj4A6qk3inAHGhiNBuq2HdCSa1JNfusjAcLA/OotlWYhGk06usgm11TiIdSQt8DC9mvAozfqK4IqLZnR2HBIEZ7UKBRS41DZLQi; 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 1Pm8lD-0007Hk-1o for freebsd-questions@freebsd.org; Sun, 06 Feb 2011 10:50:56 -0700 Received: by kukaburra.hydra (sSMTP sendmail emulation); Sun, 06 Feb 2011 10:40:57 -0700 Date: Sun, 6 Feb 2011 10:40:57 -0700 From: Chad Perrin To: FreeBSD Message-ID: <20110206174057.GA22368@guilt.hydra> Mail-Followup-To: FreeBSD References: <12dfaeab98c.2320661712861783787.-8492260798816855817@zoho.com> <20110206084227.639b10af.wmoran@potentialtech.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="PNTmBPCT7hxwcZjr" Content-Disposition: inline In-Reply-To: <20110206084227.639b10af.wmoran@potentialtech.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} Subject: Re: OpenSSH could be faster...then why don't they path it?? 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, 06 Feb 2011 17:50:57 -0000 --PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 06, 2011 at 08:42:27AM -0500, Bill Moran wrote: >=20 > Also, I'm having trouble understanding how people like that get grants > to do work like that. On the one hand, they obviously know enough about > cryptography to make improvements. On the other hand, they can't seem > to get a grip on the fact that the code will need to have a license > before anyone can grab it and incorporate it. I can't find anywhere on > that page where it tells me what terms I am allowed to use those patches > under. A lack of concern for specific licensing seems to be a big problem in the open source world -- particularly the copyleft world. Many people seem to think that if they say "open source" it means "GPL", and they don't have to tell anyone they're releasing it under the terms of the GPL. The license ends up buried under some second-order subdirectory in a tarball that isn't the supposedly preferred means of getting the software in question. Occasionally, the same kind of lack of concern is employed with distributing something under some other open source license, and occasionally an announcement that something is open source comes with the author's assumption that no license is needed at all. It drives me up the wall. >=20 > Also, it would be nice if those folks kept track of dates. Like, how long > have those patches be available? There's not a single date on any of > those pages or the files involved. The reason I point this out is because > OpenSSL is _extremely_ sensitive software. I don't want to see any > large changes to it released until they've been in testing for months, > if not years. For all we know, these speed improvements are riddled with > dozens of security flaws. I agree that dates are important, too. These days, there is little or no execuse for offering open source software to the world without storing it in a publicly accessible version control system's repository, which will automatically track commit dates for everything anyway. >=20 > Also, any reason why you're asking these questions of FreeBSD and not of > the OpenSSL project? I think we're discussing OpenSSH rather than OpenSSL. Am I mistaken? They are not the same project. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --PNTmBPCT7hxwcZjr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk1O3SkACgkQ9mn/Pj01uKXUqQCg6ngqieVelRNjBZeeJ4gMTenY Zf0An16Z/oJs4xF6sBq2112Ya5EcpuTL =xAYQ -----END PGP SIGNATURE----- --PNTmBPCT7hxwcZjr-- From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 17:56:44 2011 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 379F8106566C for ; Sun, 6 Feb 2011 17:56:44 +0000 (UTC) (envelope-from demelier.david@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 BA1D88FC15 for ; Sun, 6 Feb 2011 17:56:43 +0000 (UTC) Received: by wwf26 with SMTP id 26so3946216wwf.31 for ; Sun, 06 Feb 2011 09:56:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=33bOsTJy7cUaZ3nQblvyUxXdx3GXncucBh4xJNDsfCk=; b=cmBdOKEfLJlAqijZBGz28AZp3mqeDniplce0vhuRXC6e/VS3/2TPu156O72zc42ITj c6iceqA5MfHiu4waask50licng4AwUo6/7trD/0Yn7Hbak9JYhz6n3h6tPwViFOcnrjv KmxHSSyWZW4wusYiYK+2wP1e/T0IMhlxQcLHg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=YEzVd2HGm3i4ZOgz7zkoJEBJQI8U8yqmK2ErE/mMOO7IHbYiNjwy4gABZx+7HFCN7+ m6Nwp+VRQzjlOwj6OIDsEnVInazi8cJuGtxq0Qw8pQtJA7UDQqa/Kn9ciNeKE5W7/e1J U/DRddWvLtkSjK5l3erSn1WT3TmN3PtD5ELP8= Received: by 10.227.138.82 with SMTP id z18mr424763wbt.106.1297015002650; Sun, 06 Feb 2011 09:56:42 -0800 (PST) Received: from Abricot.malikania.fr (65.21.102-84.rev.gaoland.net [84.102.21.65]) by mx.google.com with ESMTPS id y29sm2579683wbd.4.2011.02.06.09.56.41 (version=SSLv3 cipher=RC4-MD5); Sun, 06 Feb 2011 09:56:41 -0800 (PST) Message-ID: <4D4EE0F6.3000404@gmail.com> Date: Sun, 06 Feb 2011 18:57:10 +0100 From: David Demelier User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.13) Gecko/20110126 Thunderbird/3.1.7 MIME-Version: 1.0 To: Dima Panov References: <4D4EC363.70202@gmail.com> <187091297011132@web140.yandex.ru> In-Reply-To: <187091297011132@web140.yandex.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Set tty resolution using hint.sc.0.flags with VESA 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, 06 Feb 2011 17:56:44 -0000 On 06/02/2011 17:52, Dima Panov wrote: > Hello! > > [fluffy@Beastie] ~$ cat /boot/device.hints|grep sc.0 > hint.sc.0.at="isa" > hint.sc.0.flags="0x180" > hint.sc.0.vesa_mode=0x1f0 > > absolutely great! But where did you find these vesa_mode setting? It's not documented anywhere. Cheers, -- David Demelier From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 17:56:53 2011 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 3F3A310656C4 for ; Sun, 6 Feb 2011 17:56:53 +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 C3C638FC0A for ; Sun, 6 Feb 2011 17:56:52 +0000 (UTC) Received: by mail-ww0-f50.google.com with SMTP id 26so3946216wwf.31 for ; Sun, 06 Feb 2011 09:56:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:date:from:to:subject:message-id:in-reply-to :references:x-mailer:mime-version:content-type :content-transfer-encoding; bh=J3hO31grA16saKugobphOLKxegxWCNbdHh5i/DyBVpU=; b=pVpvdlIOTW1E7krhyAyxE70X1p6aZT4wLEsXM/TQNh1Nx0+jEkaF/b2hC1p3fXmv/S wIB3ScJSLBfF6GM0rKVzKQ2OowUHTLIM4Cd9VJkntzieuzXg76Dj/y0tnh+958PybnhZ xh6j/M/L+dJDyGmtqgagh6XbJT1sskdOTrjNE= 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=mq1xLdA4jue/Acifv9wQlxORoe27EwEedXqgcaGvtA4dAYqzXwopQidkVx0GGTaYSk lYGdiTT2csWo/HFcxbPJ8SnpQXsKkcF3x4wl18O5CYUd/z+pUKUu0Gq9vhxjywztSp/G ZiPs9gcRDsq7Zfizc/cx7FuPSQVxGenYjjMAg= Received: by 10.216.167.65 with SMTP id h43mr1484070wel.17.1297015011668; Sun, 06 Feb 2011 09:56:51 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk [87.194.105.247]) by mx.google.com with ESMTPS id n1sm1685837weq.31.2011.02.06.09.56.49 (version=SSLv3 cipher=RC4-MD5); Sun, 06 Feb 2011 09:56:50 -0800 (PST) Date: Sun, 6 Feb 2011 17:56:47 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20110206175647.11ac80d2@gumby.homeunix.com> In-Reply-To: <4D4ED4BB.5090704@webtent.org> References: <4D4ED4BB.5090704@webtent.org> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i386-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: kern.crit 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, 06 Feb 2011 17:56:53 -0000 On Sun, 06 Feb 2011 12:04:59 -0500 Robert Fitzpatrick wrote: > I have a server I installed 8.1-RELEASE on and believe I screwed up > when rebuilding the kernel to support QUOTA because now that I am > troubleshooting these weird messages in the log, I find I am actually > running 9.0-CURRENT. I had a ports file as below when I pulled the > source to rebuild the kernel... > > *default host=cvsup9.us.FreeBSD.org > *default base=/usr > *default prefix=/usr > *default release=cvs tag=. > *default release=cvs delete use-rel-suffix compress > src-all > > Using the tag above caused my issue? Yes, with ports tag=. just means the latest version, with the base system it means the latest CURRENT, you should have used RELENG_8_1_0_RELEASE or RELENG_8_1 > Now I see some troubling messages > in my logs... I believe CURRENT has a lot of additional debug on by default, and presumably you now have a mismatched kernel and userland, so it's not surprizing. > Just looking for advice on what to do about all this, can someone > help? If you have only built the kernel and only built it once you should have the old 8.1 version as a backup. From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 18:10:27 2011 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 25C75106566B for ; Sun, 6 Feb 2011 18:10:27 +0000 (UTC) (envelope-from robert@webtent.org) Received: from mail.webtent.org (mail.webtent.org [72.64.244.50]) by mx1.freebsd.org (Postfix) with ESMTP id E47D58FC0C for ; Sun, 6 Feb 2011 18:10:26 +0000 (UTC) Received: by mail.webtent.org (Postfix, from userid 27458) id 22B96E1056; Sun, 6 Feb 2011 13:10:26 -0500 (EST) Received: from [192.168.1.75] (unknown [192.168.1.75]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: robert@mail.webtent.org) by mail.webtent.org (Postfix) with ESMTPSA id DC9D2E0B20 for ; Sun, 6 Feb 2011 13:10:25 -0500 (EST) Message-ID: <4D4EE410.7010608@webtent.org> Date: Sun, 06 Feb 2011 13:10:24 -0500 From: Robert Fitzpatrick Organization: WebTent Networking, Inc. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 ThunderBrowse/3.3.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4D4ED4BB.5090704@webtent.org> <20110206172037.GA31301@hape.internal> In-Reply-To: <20110206172037.GA31301@hape.internal> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-WebTent-Disclaimer: robert@webtent.org X-Copyrighted-Material: Please visit http://www.webtent.org/privacy.html X-WebTent-ESMTP: Please visit http://www.webtent.com/email for more information Subject: Re: kern.crit 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, 06 Feb 2011 18:10:27 -0000 On 2/6/2011 12:20 PM, Vallo Kallaste wrote: > By using the line: > *default release=cvs tag=. > for src-all collection you definitely grabbed -current sources. I'm > not sure if downgrading by "make world" is supported but you could > try. Backup first, try later.. Thanks. Can someone confirm these steps as the best way to attempt to get back to a 8.1 kernel I originally installed... 1. update my tag line to 8_1 2. update my source tree 3. run 'make world' I have backup already. I ask because in the handbook it says 'Do not use make world'... http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html I was going to just rebuild the kernel with the proper source tree. -- Robert From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 18:22:09 2011 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 A7C8B106564A for ; Sun, 6 Feb 2011 18:22:09 +0000 (UTC) (envelope-from bf1783@googlemail.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 6568E8FC0A for ; Sun, 6 Feb 2011 18:22:09 +0000 (UTC) Received: by gyf3 with SMTP id 3so1558232gyf.13 for ; Sun, 06 Feb 2011 10:22:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:date:message-id:subject :from:to:cc:content-type; bh=ZWsTgp+8pBF5aI1nerBDANQk1rSSCgI6uYvCe/o6McY=; b=IIXsib1NFdRCQxCuP18AnS/vKP9j7TzgdS+CFKp0tdR4zb59R+xxTO3QOOgIjFvTmn a0trxqNECkwhzEQYVtl3QYUKRAy20er7Xx8Q9E4BKjJzDGCi8dGwjwjfX0EH4cQi8oa5 vwuJmx4hi3T6MCvTWQLnw7J/qk54Hae0KWR1I= 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=adsHObXzX76Ox0+BqSPHUv1NXeMyivNcfPGjSiLTyxwNinn4Sxq64VKDPLLFw1ELRp s2Q1RabN4NNBDpR9aDDMaBuysGx6ZGcsjcPmZHftJ9sl1C0coyoYYTOKNBUWcmeWSJVS xSZc6UPoGCA7GgUsw8mgANlAAoUmAOJAyMADI= MIME-Version: 1.0 Received: by 10.236.108.167 with SMTP id q27mr28927754yhg.36.1297016528619; Sun, 06 Feb 2011 10:22:08 -0800 (PST) Received: by 10.236.105.197 with HTTP; Sun, 6 Feb 2011 10:22:08 -0800 (PST) Date: Sun, 6 Feb 2011 13:22:08 -0500 Message-ID: From: "b. f." To: David Demelier Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@FreeBSD.org Subject: Re: Set tty resolution using hint.sc.0.flags with VESA 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: Sun, 06 Feb 2011 18:22:09 -0000 David Demelier wrote: >> hint.sc.0.vesa_mode=0x1f0 ... >absolutely great! But where did you find these vesa_mode setting? It's >not documented anywhere. Look again: syscons(4), in the Synopsis and the "Driver Flags" section. b. From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 20:00:06 2011 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 2D0AE106564A for ; Sun, 6 Feb 2011 20:00:06 +0000 (UTC) (envelope-from fred@blakemfg.com) Received: from mail.getnet.net (mail.getnet.net [216.19.223.10]) by mx1.freebsd.org (Postfix) with SMTP id DDFA58FC15 for ; Sun, 6 Feb 2011 20:00:05 +0000 (UTC) Received: (qmail 22302 invoked from network); 6 Feb 2011 20:00:04 -0000 Received: from unknown (HELO localhost) (127.0.0.1) by localhost with SMTP; 6 Feb 2011 20:00:04 -0000 X-Virus-Scanned: amavisd-new at getnet.net Received: from mail.getnet.net ([127.0.0.1]) by localhost (mail.getnet.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qhZKkYTBhmZS for ; Sun, 6 Feb 2011 13:00:03 -0700 (MST) Received: (qmail 22298 invoked from network); 6 Feb 2011 20:00:03 -0000 Received: from unknown (HELO ragnok.blakemfg.com) (fredb@216.19.219.132) by mail.getnet.net with ESMTPA; 6 Feb 2011 20:00:03 -0000 Message-ID: <4D4EFCBF.6090506@blakemfg.com> Date: Sun, 06 Feb 2011 12:55:43 -0700 From: Fred User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.12) Gecko/20110131 Thunderbird/3.1.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: nedit 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, 06 Feb 2011 20:00:06 -0000 On 02/06/11 00:53, b. f. wrote: > Fred Boatwright wrote: > >> After updating all ports on 8.1-RELEASE, nedit has a problem. The right >> mouse button works ok in the toolbar but if it is pressed in the text >> area, for example to copy a block of text, the cursor changes shape and >> the X session becomes completely locked up. I have to stop X and >> restart it. I have tried to deinstall nedit and rebuild it but this >> didn't help. It is nedit-5.5 with Motif 2.2.3. > This is a known problem with many Motif-based applications, arising > from a bug in recent versions of Xorg. It has been corrected > upstream, and it is likely that this problem will be fixed when the > ports freeze ends shortly after the release of FreeBSD 7.4 and 8.2, if > not before. If you can't wait, you can try using the patches from: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=154510 > > b. > _______________________________________________ > 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 tried several editors that are horrible. Axe installed from packages dumps core. There were a lot of warnings that later versions of libraries were installed than axe was expecting. Does the maintainer need to know this? Can you tell me how to install the Xorg patch to make nedit work? I have not worked with getting source code or compiling from source. I can do the edit on another computer. Best regards, Fred From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 20:12:36 2011 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 147A91065673 for ; Sun, 6 Feb 2011 20:12:36 +0000 (UTC) (envelope-from amvandemore@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 9A6CC8FC08 for ; Sun, 6 Feb 2011 20:12:35 +0000 (UTC) Received: by fxm16 with SMTP id 16so4361372fxm.13 for ; Sun, 06 Feb 2011 12:12:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=UzdcvQefTEOr51SnLJ6MAQiNPWyg9unKaqjQaw1lcbs=; b=VC4AfLeRCyx3rOXkDamMLmdtjq1FJp98Tw+TLeMVTG8XU+HxeqjfsrcWIlMvgXxSiu mnbF2iBMZnxoY7gBfRVIpmOfiQtFmWToRdyXuFtnM/Y+/GQtS++nTvYuC7+b45ApaWNg u8o9fnjyPC2mg/1sI33wB0MOPs79YY5pgCwgg= 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=Xpxqste4Q5AlrMzmOLfbFXCN8oYhN6m59kvob8G6EilEcH2D2+2C5aE6wRqZY8dcxr XuLT69XBDJofBglVoZAKfZQe6E6eUWft0Iwb5wCmq4rRCAaeLDFMA4c3vKd1eVBJFBWo 5m6zFBi2ah6fAirMX7+j2JvOvYkvt/WagaGz0= MIME-Version: 1.0 Received: by 10.223.86.135 with SMTP id s7mr13948859fal.70.1297016462892; Sun, 06 Feb 2011 10:21:02 -0800 (PST) Received: by 10.223.114.4 with HTTP; Sun, 6 Feb 2011 10:21:02 -0800 (PST) In-Reply-To: <4D4EE410.7010608@webtent.org> References: <4D4ED4BB.5090704@webtent.org> <20110206172037.GA31301@hape.internal> <4D4EE410.7010608@webtent.org> Date: Sun, 6 Feb 2011 12:21:02 -0600 Message-ID: From: Adam Vande More To: Robert Fitzpatrick Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: kern.crit 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, 06 Feb 2011 20:12:36 -0000 On Sun, Feb 6, 2011 at 12:10 PM, Robert Fitzpatrick wrote: > Thanks. Can someone confirm these steps as the best way to attempt to > get back to a 8.1 kernel I originally installed... > > 1. update my tag line to 8_1 > 2. update my source tree > For step 3, you can something like "make buildkernel && make installkernel" but you may not have to do that if the /boot/kernel.old is a match your currect userland as mentioned previously. simply move it /boot/kernel after you have tested it. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 20:16:17 2011 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 F25FF106564A for ; Sun, 6 Feb 2011 20:16:17 +0000 (UTC) (envelope-from amvandemore@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 843948FC19 for ; Sun, 6 Feb 2011 20:16:17 +0000 (UTC) Received: by fxm16 with SMTP id 16so4363425fxm.13 for ; Sun, 06 Feb 2011 12:16:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=I4tC8abMoE9vHAxy7p/iEzENuPlNdscDk6LKKz5QtBg=; b=KTAq+hRUcPmRQq2bhMYqDk00DBlkEeIO0HbUDz1TuUquFoy4nReBZ41KPF7uDaXhhL 1PEfgfNzzojHNmplGn1FaLWjt7Hxy/bNT0vn7U9SLOMZaQTayWgeablDccFfJCYa+cnR OUfibyNO4vhZrHutvNKRkPl2xJLHavoHCgM0M= 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=BJEpUFMk+NMyRIqVlrg+ujZvMe0npa0pGJRy53587lUP77NWqOvKp25ZbyNFgZS4Ro UmtkUZ4XcaPHJ+TY5uKOVJP2Z/RLrIpkIOLtIozMHRDPxkTfaqwYIIvpwE2rvlCiq1lB NPGYY0Oo7lwrnYh/KtIVFFemt4V4fvvHoALjo= MIME-Version: 1.0 Received: by 10.223.106.129 with SMTP id x1mr13905208fao.13.1297013754348; Sun, 06 Feb 2011 09:35:54 -0800 (PST) Received: by 10.223.114.4 with HTTP; Sun, 6 Feb 2011 09:35:54 -0800 (PST) In-Reply-To: <4D4DF58D.2040506@computer.org> References: <4D4DF58D.2040506@computer.org> Date: Sun, 6 Feb 2011 11:35:54 -0600 Message-ID: From: Adam Vande More To: Eric Schuele Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: 8.2 prerelease, virtualbox, and windows guests that freeze... 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, 06 Feb 2011 20:16:18 -0000 On Sat, Feb 5, 2011 at 7:12 PM, Eric Schuele wrote: > What else could I provide that might allow someone to point me in the > right direction here? > You can try recompiling virtualbox with debug options and see if it spits out any pertinent messages. I have no problems with Windows guests on VDI, ZVOL, raw file, or raw partitions. Vbox also logs data per VM, you can check that. Another possibility is that you have mismatched versions of guest additions. If that were the problem, it would show up in the Vbox logs. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 20:48:46 2011 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 802D51065670 for ; Sun, 6 Feb 2011 20:48:46 +0000 (UTC) (envelope-from crtb@cape.com) Received: from pop.cape.com (pop.cape.com [209.213.66.10]) by mx1.freebsd.org (Postfix) with ESMTP id 571828FC12 for ; Sun, 6 Feb 2011 20:48:46 +0000 (UTC) Received: from webmail.cape.com (pop.cape.com [127.0.0.1]) by pop.cape.com (Postfix) with ESMTP id 6514D1890040; Sun, 6 Feb 2011 15:48:45 -0500 (EST) Received: from 209.213.65.25 (SquirrelMail authenticated user crtb) by webmail.cape.com with HTTP; Sun, 6 Feb 2011 15:48:45 -0500 (EST) Message-ID: <62305.209.213.65.25.1297025325.squirrel@webmail.cape.com> In-Reply-To: References: Date: Sun, 6 Feb 2011 15:48:45 -0500 (EST) From: "Chuck Bacon" To: questions@freebsd.org User-Agent: SquirrelMail/1.4.13 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: Chuck Bacon Subject: Re: Why does my 8.2-RC3 dvd1 boot DOS? 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, 06 Feb 2011 20:48:46 -0000 SERIOUS APOLOGIES! I've found out my dvd is marginal, or possibly the drive. What seemed like a bad dvd apparently resulted in a scan (by the BIOS?) until it found a boot loader it understood, "PC-DOS" it said, which was one of several I discovered in grepping the ISO file. I should have done freebsd-update ! Chuck Bacon - crtb@cape.com > I downloaded it yesterday. Here's the facts: > > 1. md5 matches CHECKSUM.MD5 > > 2. When I boot off the BIOS, it takes a half minute or so, and > then: voila! PC-DOS boots, and for all the world look as > though it will boot a larger system; except it doesn't have > a clue. > > Here's the hypothesis: The FreeBSD-8.3-RC3 boot loader doesn't > satisfy my BIOS, and the BIOS looks through the dvd until it finds > one of the DOS boot loaders provided by some fdisk variant. > Any ideas why? > > If nothing else, I'll download disc1. Praps that'll work! > > Many thanks, > Chuck Bacon -- crtb@cape.com > ABHOR SECRECY -- DEFEND PRIVACY From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 20:49:06 2011 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 250501065673 for ; Sun, 6 Feb 2011 20:49:06 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id EA35D8FC23 for ; Sun, 6 Feb 2011 20:49:05 +0000 (UTC) Received: by iwn39 with SMTP id 39so3999655iwn.13 for ; Sun, 06 Feb 2011 12:49:05 -0800 (PST) Received: by 10.42.165.132 with SMTP id k4mr15986260icy.163.1297025345324; Sun, 06 Feb 2011 12:49:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.42.241.138 with HTTP; Sun, 6 Feb 2011 12:48:45 -0800 (PST) In-Reply-To: <4D4EC7CB.7010200@computer.org> References: <4D4DF58D.2040506@computer.org> <201102061223.09545.lobo@bsd.com.br> <4D4EC7CB.7010200@computer.org> From: Chris Brennan Date: Sun, 6 Feb 2011 15:48:45 -0500 Message-ID: To: Eric Schuele Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Mario Lobo , freebsd-questions@freebsd.org Subject: Re: 8.2 prerelease, virtualbox, and windows guests that freeze... 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, 06 Feb 2011 20:49:06 -0000 On Sun, Feb 6, 2011 at 11:09 AM, Eric Schuele wrote: > > I realize NTFS on fBSD has been shaky in the past, but had heard it had > come a long way these days. It does seem to work well for all my > purposes, except these VMs. Had hoped NTFS was not the issue. ntfs/ntfs-3g is foolhardy at best in linux *and* fbsd ... it's trashed so many drives.partitions on me it's not even funny anymore... and I never did much w/ them except small stuff anyway. If you need to access the volumes in *nix/windows then why not FAT32 then? I use a FAT32 drive for my music so I can access it in any OS reliably and the drive is now 6+ years old. From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 21:38:09 2011 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 EE00C106566B for ; Sun, 6 Feb 2011 21:38:08 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-yi0-f54.google.com (mail-yi0-f54.google.com [209.85.218.54]) by mx1.freebsd.org (Postfix) with ESMTP id 74BCC8FC17 for ; Sun, 6 Feb 2011 21:38:08 +0000 (UTC) Received: by yie19 with SMTP id 19so1599419yie.13 for ; Sun, 06 Feb 2011 13:38:07 -0800 (PST) Received: by 10.90.83.5 with SMTP id g5mr5292210agb.59.1297028286913; Sun, 06 Feb 2011 13:38:06 -0800 (PST) Received: from papi.localnet ([187.113.166.194]) by mx.google.com with ESMTPS id 7sm391962yhl.45.2011.02.06.13.38.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 06 Feb 2011 13:38:06 -0800 (PST) From: Mario Lobo To: Eric Schuele Date: Sun, 6 Feb 2011 18:37:37 -0300 User-Agent: KMail/1.13.5 (FreeBSD/8.2-PRERELEASE; KDE/4.5.2; amd64; ; ) References: <4D4DF58D.2040506@computer.org> <201102061223.09545.lobo@bsd.com.br> <4D4EC7CB.7010200@computer.org> In-Reply-To: <4D4EC7CB.7010200@computer.org> X-KMail-Markup: true MIME-Version: 1.0 Message-Id: <201102061837.37675.lobo@bsd.com.br> Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: 8.2 prerelease, virtualbox, and windows guests that freeze... 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, 06 Feb 2011 21:38:09 -0000 On Sunday 06 February 2011 13:09:47 Eric Schuele wrote: > > Thanks for the suggestion, however, I've already tried this (sorta). > From my original post... > > >> I did try a windows guest on a non fuse filesystem just to rule that > >> out, but had same issue. > > I suppose it may have been a little less than clear. By "non fuse > filesystem" I actually meant UFS. The problem still persisted. > > > NTFS file systems on FreeBSD or even Linux are OK only for doing small > > r/w stuff. I use the ntfs-3g which is really good but don't trust NTFS > > for heavy usage under those OSs. Sometimes it's not even trustable under > > windows itself. > My bad!. Sorry!. But it seems that you're right. Looks like the issue is not the FS then. If you're building from the ports, try the svn version from: https://svn.bluelife.at/index.cgi/blueports It's already version 4.0.2 there. > I realize NTFS on fBSD has been shaky in the past, but had heard it had > come a long way these days. It does seem to work well for all my > purposes, except these VMs. Had hoped NTFS was not the issue. > > I've not tried the EXT IFS for windows yet, nor had I heard much > regarding their success or failure. If your willing to go out on a limb > and say "very good drivers for any version of 32/64 windows"... I'll > give it a try, and post my results. :) > Forgive me if it sounded "on a limb". Didn't mean to look like that. The only reason I mentioned it is because it's exactly the way I've been using. I have triple boot system. BSD AMD64, XP32 and Win7 64 and the IFS driver works flawlessly on both windows, and all 3 Vboxes accessing the same VDIs. Because of that, I believe I may have got carried away by saying "any win version". regards, -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] (99% winblows FREE) From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 22:02:50 2011 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 E941A106566B for ; Sun, 6 Feb 2011 22:02:50 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from asmtp3.iomartmail.com (asmtp3.iomartmail.com [62.128.201.159]) by mx1.freebsd.org (Postfix) with ESMTP id 73DD78FC0A for ; Sun, 6 Feb 2011 22:02:50 +0000 (UTC) Received: from asmtp3.iomartmail.com (localhost.localdomain [127.0.0.1]) by asmtp3.iomartmail.com (8.13.8/8.13.8) with ESMTP id p16M2kvo007300; Sun, 6 Feb 2011 22:02:46 GMT Received: from orange.esperance-linux.co.uk (80-45-152-196.static.dsl.as9105.com [80.45.152.196]) (authenticated bits=0) by asmtp3.iomartmail.com (8.13.8/8.13.8) with ESMTP id p16M2jNo007295; Sun, 6 Feb 2011 22:02:45 GMT Received: by orange.esperance-linux.co.uk (Postfix, from userid 1001) id 49DF233C3D; Sun, 6 Feb 2011 22:02:45 +0000 (GMT) Date: Sun, 6 Feb 2011 22:02:45 +0000 From: Frank Shute To: Chuck Bacon Message-ID: <20110206220245.GA33266@orange.esperance-linux.co.uk> References: <62305.209.213.65.25.1297025325.squirrel@webmail.cape.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6c2NcOVqGQ03X4Wi" Content-Disposition: inline In-Reply-To: <62305.209.213.65.25.1297025325.squirrel@webmail.cape.com> User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 8.2-RC2 amd64 X-Organisation: 'shute.org.uk' Cc: questions@freebsd.org Subject: Re: Why does my 8.2-RC3 dvd1 boot DOS? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Feb 2011 22:02:51 -0000 --6c2NcOVqGQ03X4Wi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 06, 2011 at 03:48:45PM -0500, Chuck Bacon wrote: > > SERIOUS APOLOGIES! I've found out my dvd is marginal, or > possibly the drive. What seemed like a bad dvd apparently > resulted in a scan (by the BIOS?) until it found a boot loader > it understood, "PC-DOS" it said, which was one of several I > discovered in grepping the ISO file. I should have > done freebsd-update ! > Chuck Bacon - crtb@cape.com Chuck, where on the DVD is the copy of PC-DOS? >=20 > > I downloaded it yesterday. Here's the facts: > > > > 1. md5 matches CHECKSUM.MD5 > > > > 2. When I boot off the BIOS, it takes a half minute or so, and > > then: voila! PC-DOS boots, and for all the world look as > > though it will boot a larger system; except it doesn't have > > a clue. > > > > Here's the hypothesis: The FreeBSD-8.3-RC3 boot loader doesn't > > satisfy my BIOS, and the BIOS looks through the dvd until it finds > > one of the DOS boot loaders provided by some fdisk variant. > > Any ideas why? > > > > If nothing else, I'll download disc1. Praps that'll work! > > > > Many thanks, > > Chuck Bacon -- crtb@cape.com > > ABHOR SECRECY -- DEFEND PRIVACY Regards, --=20 Frank Contact info: http://www.shute.org.uk/misc/contact.html --6c2NcOVqGQ03X4Wi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAk1PGoMACgkQHduKvUAgeK6UZgCgn3EzkVz6/bU66+7AnNGnMtmq A1MAn0HNS5Mp5H8ag4KBapqvuWtvX+1m =C4S4 -----END PGP SIGNATURE----- --6c2NcOVqGQ03X4Wi-- From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 22:26:00 2011 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 6D6AD106566C for ; Sun, 6 Feb 2011 22:26:00 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2B1A18FC0A for ; Sun, 6 Feb 2011 22:25:59 +0000 (UTC) Received: by gyf3 with SMTP id 3so1598365gyf.13 for ; Sun, 06 Feb 2011 14:25:59 -0800 (PST) Received: by 10.91.62.6 with SMTP id p6mr605917agk.124.1297031158168; Sun, 06 Feb 2011 14:25:58 -0800 (PST) Received: from papi.localnet ([187.113.166.194]) by mx.google.com with ESMTPS id c34sm4576012anc.10.2011.02.06.14.25.55 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 06 Feb 2011 14:25:57 -0800 (PST) From: Mario Lobo To: Chris Brennan Date: Sun, 6 Feb 2011 19:25:27 -0300 User-Agent: KMail/1.13.5 (FreeBSD/8.2-PRERELEASE; KDE/4.5.2; amd64; ; ) References: <4D4DF58D.2040506@computer.org> <4D4EC7CB.7010200@computer.org> In-Reply-To: X-KMail-Markup: true MIME-Version: 1.0 Message-Id: <201102061925.28021.lobo@bsd.com.br> Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org, Eric Schuele Subject: Re: 8.2 prerelease, virtualbox, and windows guests that freeze... 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, 06 Feb 2011 22:26:00 -0000 On Sunday 06 February 2011 17:48:45 Chris Brennan wrote: > On Sun, Feb 6, 2011 at 11:09 AM, Eric Schuele wrote: > > I realize NTFS on fBSD has been shaky in the past, but had heard it had > > come a long way these days. It does seem to work well for all my > > purposes, except these VMs. Had hoped NTFS was not the issue. > > ntfs/ntfs-3g is foolhardy at best in linux *and* fbsd ... it's trashed so > many drives.partitions on me it's not even funny anymore... and I never did > much w/ them except small stuff anyway. If you need to access the volumes > in *nix/windows then why not FAT32 then? I use a FAT32 drive for my music > so I can access it in any OS reliably and the drive is now 6+ years old. FAT32 max file size is 4Gig. -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] (99% winblows FREE) From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 22:39:42 2011 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 797D21065695 for ; Sun, 6 Feb 2011 22:39:42 +0000 (UTC) (envelope-from j65nko@gmail.com) Received: from mail-yi0-f54.google.com (mail-yi0-f54.google.com [209.85.218.54]) by mx1.freebsd.org (Postfix) with ESMTP id 333608FC3B for ; Sun, 6 Feb 2011 22:39:41 +0000 (UTC) Received: by yie19 with SMTP id 19so1609650yie.13 for ; Sun, 06 Feb 2011 14:39:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=YDO0+L3PgYZF4873Cdr0ReTyRRCOqY/4hgigntEiBcg=; b=MduE9vfz9HdxGmxZHqBmbrmiuarRbkxHNCSm6rovQj3NknjBdWU9o9FA2BZpU1bAac 3IPIl6gL1igqnl2GxtJeo5i4IWMRFw1GlMsr1WOWQ26qriJG5acU2ir8ll02BL40+FK0 7CG6g9Au7mIZbETzPjjn2WPl5bS4RPHB0Uk94= 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:content-transfer-encoding; b=UirNlRw1wAWfrARRUbJiCTVs0vvYeyQX6g6Lnb2AAyhm/tmBB145QEVepVjIpozMJr tNf2HC2h+mbgXbvXiggawfPmbVTJ4nC8aXwsidDSwgRE8YcqegrR6R+0U2GHMkNZQcwP 2FdwKbeZ2GemnL+NwfhFQhpsdOKkoSu+1VfAM= MIME-Version: 1.0 Received: by 10.90.63.14 with SMTP id l14mr11754672aga.185.1297030570323; Sun, 06 Feb 2011 14:16:10 -0800 (PST) Received: by 10.90.120.4 with HTTP; Sun, 6 Feb 2011 14:16:10 -0800 (PST) In-Reply-To: <12dfb2d663e.8735497800158401667.-7202521450009428314@zoho.com> References: <12dfb2d663e.8735497800158401667.-7202521450009428314@zoho.com> Date: Sun, 6 Feb 2011 23:16:10 +0100 Message-ID: From: J65nko To: kellyremo Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Subject: Re: if the file changes send email about diff 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, 06 Feb 2011 22:39:42 -0000 On Sun, Feb 6, 2011 at 2:33 PM, kellyremo wrote: > > I have 2 script. Script "A", Script "B". > > Script "A" is regulary watching the "dhcpacks" [dhcp release is configure= d to 2mins] in the logs, for the past 2 minutes. it writes the MAC addresse= s to a file [/dev/shm/dhcpacks-in-last-2min.txt] every 2 minutes. Ok, this = is working, active clients are in this file. Super! > > Script "B": http://pastebin.com/raw.php?i=3DwvhwhPWu > I'm trying to create a script, that watches the changes in "/dev/shm/dhcp= acks-in-last-2min.txt" file [in every 1 sec]. Ok. But: my "watcher" script = [the pastebined] is not working fine...sometime it works, sometime it send = that someone "XY logged out", but it's not true! nothing happened, and the = problem is not in the Script "A". > > Can someone help me point out, what am i missing? How can i watch a file = [in every sec], that contains only MAC addresses, and if someone doesn't ge= t dhcpack in 2 minutes, the file "/dev/shm/dhcpacks-in-last-2min.txt" chang= es, and that clients MAC address will be gone from it, and i need to know, = who was it [pastebined my script..but somethings wrong with it]. You are attempting to re-invent the wheel called "revision control system" ;) Your FreeBSD box has a simple revision control system called 'rcs'. It will do the most things you are trying to emulate in your shell script. Read the rcsintro(1) man page how to get started. From owner-freebsd-questions@FreeBSD.ORG Sun Feb 6 22:46:12 2011 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 ECBD11065695 for ; Sun, 6 Feb 2011 22:46:12 +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 A97938FC16 for ; Sun, 6 Feb 2011 22:46:12 +0000 (UTC) Received: from r55.edvax.de (port-92-195-143-131.dynamic.qsc.de [92.195.143.131]) by mx01.qsc.de (Postfix) with ESMTP id 16EFB3C520; Sun, 6 Feb 2011 23:46:10 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p16Mk9Io001596; Sun, 6 Feb 2011 23:46:09 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sun, 6 Feb 2011 23:46:08 +0100 From: Polytropon To: Adam Vande More Message-Id: <20110206234608.0151cd9d.freebsd@edvax.de> In-Reply-To: References: <4D4ED4BB.5090704@webtent.org> <20110206172037.GA31301@hape.internal> <4D4EE410.7010608@webtent.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, Robert Fitzpatrick Subject: Re: kern.crit messages 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, 06 Feb 2011 22:46:13 -0000 On Sun, 6 Feb 2011 12:21:02 -0600, Adam Vande More wrote: > On Sun, Feb 6, 2011 at 12:10 PM, Robert Fitzpatrick wrote: > > > Thanks. Can someone confirm these steps as the best way to attempt to > > get back to a 8.1 kernel I originally installed... > > > > 1. update my tag line to 8_1 > > 2. update my source tree > > > > For step 3, you can something like "make buildkernel && make installkernel" > but you may not have to do that if the /boot/kernel.old is a match your > currect userland as mentioned previously. simply move it /boot/kernel after > you have tested it. Refer to the comment section of /usr/src/Makefile for an explaination of the correct procedure of the updating process: 1. `cd /usr/src' (or to the directory containing your source tree). 2. `make buildworld' 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). [steps 3. & 4. can be combined by using the "kernel" target] 5. `reboot' (in single user mode: boot -s from the loader prompt). 6. `mergemaster -p' 7. `make installworld' 8. `make delete-old' 9. `mergemaster' (you may wish to use -U or -ai). 10. `reboot' 11. `make delete-old-libs' (in case no 3rd party program uses them anymore) You'll also see what the different make targets are representing (e. g. make world = "buildworld + installworld, no kernel"). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 02:36:06 2011 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 9F591106566B for ; Mon, 7 Feb 2011 02:36:06 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 5A6878FC12 for ; Mon, 7 Feb 2011 02:36:05 +0000 (UTC) Received: by ywp6 with SMTP id 6so1648034ywp.13 for ; Sun, 06 Feb 2011 18:36:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:date:message-id:subject :from:to:cc:content-type; bh=JBw9e0fqVq38Uw1Qvh8YtinUFjjcHyui+hVz6ZgPd6c=; b=l06gaVQDCsdSuw6fQIJgQpbTtxeNiBdiYYoh8zIdkHan5A4FpvajpIp55rAIVuurcN BkyjdqKrZiMdQ5/lZdQEil0bW0iXDwYThYH/9AY4G/DU+VIqNmnIlSxjL2i57Fc5MVDo EqV/SXRwnQNn9FixlRmKI4JbB5cMGfIjzwQ9Y= 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=B+Q5oU/8Pvil7PDj+fTd6VoJtli1ugNO90o0gwIjaFgTIlPvo2j5naN2dvvK9O6Kh0 /mKJNFdOsAovKpjnDN03Z27305U1tMFjBSRdcC3ZqULIwJ5hURSaqufep4fawq1oxHEG EG0XtBqsllH+YTY70IUz4QipikDI5ynmbKWlI= MIME-Version: 1.0 Received: by 10.236.109.52 with SMTP id r40mr28552599yhg.52.1297046164690; Sun, 06 Feb 2011 18:36:04 -0800 (PST) Received: by 10.236.110.52 with HTTP; Sun, 6 Feb 2011 18:36:04 -0800 (PST) Date: Sun, 6 Feb 2011 21:36:04 -0500 Message-ID: From: "b. f." To: Fred Content-Type: multipart/mixed; boundary=002354867bdce75bdb049ba81772 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@FreeBSD.org Subject: Re: nedit problem 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: Mon, 07 Feb 2011 02:36:06 -0000 --002354867bdce75bdb049ba81772 Content-Type: text/plain; charset=ISO-8859-1 Fred Boatwright wrote: > On 02/06/11 00:53, b. f. wrote: > > Fred Boatwright wrote: > > > >> After updating all ports on 8.1-RELEASE, nedit has a problem. The right > >> mouse button works ok in the toolbar but if it is pressed in the text > >> area, for example to copy a block of text, the cursor changes shape and > >> the X session becomes completely locked up. I have to stop X and > >> restart it. I have tried to deinstall nedit and rebuild it but this > >> didn't help. It is nedit-5.5 with Motif 2.2.3. > > This is a known problem with many Motif-based applications, arising > > from a bug in recent versions of Xorg. It has been corrected > > upstream, and it is likely that this problem will be fixed when the > > ports freeze ends shortly after the release of FreeBSD 7.4 and 8.2, if > > not before. If you can't wait, you can try using the patches from: > > > > http://www.freebsd.org/cgi/query-pr.cgi?pr=154510 > > > I have tried several editors that are horrible. Axe installed from > packages dumps core. There were a lot of warnings that later versions > of libraries were installed than axe was expecting. Does the maintainer > need to know this? Sadly, there is no maintainer for that port. But yes, you should file a Problem Report (PR), so that people will know that there may be a problem: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/problem-reports/index.html > Can you tell me how to install the Xorg patch to make nedit work? I > have not worked with getting source code or compiling from source. I > can do the edit on another computer. Get an up-to-date ports tree. (If you don't know what that means, read the relevant portions of the FreeBSD Handbook.) Place the attached patch (or a trimmed version of the patch from the PR that I cited earlier) in ports/x11-servers/xorg-server/files under a name like 'patch-dix__events.c', that begins with 'patch-', and doesn't overwrite any of the existing patches. In the ports/x11-servers/xorg-server directory, run 'make deinstall clean install && make clean', or use your favorite third-party port updating tool to force an update of that port. (If you want to create a backup package of your patched version of xorg-server, and you are not using a port updating tool with this feature, then either 'make package' in that directory before running the final 'make clean', or use 'pkg_create -b "xorg-server-*"'.) I'm assuming that you are already using the latest version of x11-servers/xorg-server; if instead you are using an earlier version, and packages that depend on it, you will probably need to update them as well. b. --002354867bdce75bdb049ba81772-- From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 03:03:37 2011 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 66DFB106566B for ; Mon, 7 Feb 2011 03:03:37 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 35A8D8FC15 for ; Mon, 7 Feb 2011 03:03:36 +0000 (UTC) Received: by iyb26 with SMTP id 26so4181788iyb.13 for ; Sun, 06 Feb 2011 19:03:36 -0800 (PST) MIME-Version: 1.0 Received: by 10.42.175.6 with SMTP id ay6mr3766356icb.498.1297047816213; Sun, 06 Feb 2011 19:03:36 -0800 (PST) Received: by 10.42.241.138 with HTTP; Sun, 6 Feb 2011 19:03:36 -0800 (PST) Received: by 10.42.241.138 with HTTP; Sun, 6 Feb 2011 19:03:36 -0800 (PST) In-Reply-To: <201102061925.28021.lobo@bsd.com.br> References: <4D4DF58D.2040506@computer.org> <4D4EC7CB.7010200@computer.org> <201102061925.28021.lobo@bsd.com.br> Date: Sun, 6 Feb 2011 22:03:36 -0500 Message-ID: From: Chris Brennan To: Mario Lobo Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org, Eric Schuele Subject: Re: 8.2 prerelease, virtualbox, and windows guests that freeze... 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, 07 Feb 2011 03:03:37 -0000 Net, I've formatted drives as fat32 that were well over 4gb. In fact I have an external 120gb we datavault that's fat32 -- Sent from my Droid On Feb 6, 2011 5:25 PM, "Mario Lobo" wrote: > On Sunday 06 February 2011 17:48:45 Chris Brennan wrote: >> On Sun, Feb 6, 2011 at 11:09 AM, Eric Schuele wrote: >> > I realize NTFS on fBSD has been shaky in the past, but had heard it had >> > come a long way these days. It does seem to work well for all my >> > purposes, except these VMs. Had hoped NTFS was not the issue. >> >> ntfs/ntfs-3g is foolhardy at best in linux *and* fbsd ... it's trashed so >> many drives.partitions on me it's not even funny anymore... and I never did >> much w/ them except small stuff anyway. If you need to access the volumes >> in *nix/windows then why not FAT32 then? I use a FAT32 drive for my music >> so I can access it in any OS reliably and the drive is now 6+ years old. > > FAT32 max file size is 4Gig. > > > -- > Mario Lobo > http://www.mallavoodoo.com.br > FreeBSD since 2.2.8 [not Pro-Audio.... YET!!] (99% winblows FREE) From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 03:18:50 2011 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 3C101106564A for ; Mon, 7 Feb 2011 03:18:49 +0000 (UTC) (envelope-from e.schuele@computer.org) Received: from smtpauth23.prod.mesa1.secureserver.net (smtpauth23.prod.mesa1.secureserver.net [64.202.165.47]) by mx1.freebsd.org (Postfix) with SMTP id 1265D8FC14 for ; Mon, 7 Feb 2011 03:18:48 +0000 (UTC) Received: (qmail 11633 invoked from network); 7 Feb 2011 03:18:45 -0000 Received: from unknown (71.164.218.188) by smtpauth23.prod.mesa1.secureserver.net (64.202.165.47) with ESMTP; 07 Feb 2011 03:18:40 -0000 Message-ID: <4D4F644F.1040006@computer.org> Date: Sun, 06 Feb 2011 21:17:35 -0600 From: Eric Schuele User-Agent: Thunderbird 2.0.0.23 (X11/20090904) MIME-Version: 1.0 To: Adam Vande More References: <4D4DF58D.2040506@computer.org> In-Reply-To: X-Enigmail-Version: 0.95.2 OpenPGP: url=http://www.ravenlock.us/keys/pub_schuele.pgp Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigDF4A37DC4BE4379CB0F443B4" Cc: FreeBSD Questions Subject: Re: 8.2 prerelease, virtualbox, and windows guests that freeze... 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, 07 Feb 2011 03:18:50 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigDF4A37DC4BE4379CB0F443B4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 02/06/2011 11:35, Adam Vande More wrote: > On Sat, Feb 5, 2011 at 7:12 PM, Eric Schuele w= rote: >=20 >> What else could I provide that might allow someone to point me in the >> right direction here? >> >=20 > You can try recompiling virtualbox with debug options and see if it spi= ts > out any pertinent messages. I have no problems with Windows guests on = VDI, > ZVOL, raw file, or raw partitions. Vbox also logs data per VM, you can= > check that. Logs might be nice. Where would I find these. Or are they only present with debug builds (which I am building now) >=20 > Another possibility is that you have mismatched versions of guest > additions. If that were the problem, it would show up in the Vbox logs= =2E I thought of that... even though vbox does not complain of a mismatch, I went ahead and removed them from a machine and added them back in from my FreeBSD host. No improvement unfortunately. >=20 >=20 --=20 Regards, Eric --------------enigDF4A37DC4BE4379CB0F443B4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAk1PZE8ACgkQngSDRM3IXUqpKgCgs+m3JfbZMz0Bqa48MVXHbhGh W/gAoJq2ElO5gGKbTecuLFJFwB279yND =9cRy -----END PGP SIGNATURE----- --------------enigDF4A37DC4BE4379CB0F443B4-- From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 03:24:19 2011 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 AE794106564A for ; Mon, 7 Feb 2011 03:24:19 +0000 (UTC) (envelope-from e.schuele@computer.org) Received: from smtpauth17.prod.mesa1.secureserver.net (smtpauth17.prod.mesa1.secureserver.net [64.202.165.29]) by mx1.freebsd.org (Postfix) with SMTP id 84D508FC13 for ; Mon, 7 Feb 2011 03:24:19 +0000 (UTC) Received: (qmail 21499 invoked from network); 7 Feb 2011 03:04:13 -0000 Received: from unknown (71.164.218.188) by smtpauth17.prod.mesa1.secureserver.net (64.202.165.29) with ESMTP; 07 Feb 2011 03:04:13 -0000 Message-ID: <4D4F65A2.1040802@computer.org> Date: Sun, 06 Feb 2011 21:23:14 -0600 From: Eric Schuele User-Agent: Thunderbird 2.0.0.23 (X11/20090904) MIME-Version: 1.0 To: Adam Vande More References: <4D4DF58D.2040506@computer.org> <4D4F644F.1040006@computer.org> In-Reply-To: <4D4F644F.1040006@computer.org> X-Enigmail-Version: 0.95.2 OpenPGP: url=http://www.ravenlock.us/keys/pub_schuele.pgp Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig14B882080D09964DF6528977" Cc: FreeBSD Questions Subject: Re: 8.2 prerelease, virtualbox, and windows guests that freeze... 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, 07 Feb 2011 03:24:19 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig14B882080D09964DF6528977 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 02/06/2011 21:17, Eric Schuele wrote: > On 02/06/2011 11:35, Adam Vande More wrote: >> On Sat, Feb 5, 2011 at 7:12 PM, Eric Schuele = wrote: >> >>> What else could I provide that might allow someone to point me in the= >>> right direction here? >>> >> You can try recompiling virtualbox with debug options and see if it sp= its >> out any pertinent messages. I have no problems with Windows guests on= VDI, >> ZVOL, raw file, or raw partitions. Vbox also logs data per VM, you ca= n >> check that. >=20 > Logs might be nice. Where would I find these. Or are they only presen= t > with debug builds (which I am building now) Ok... found the logs. :) Looks as if each machine has 4 log files, and that the set of files is from the last run. Anything in there I could post to help diagnose? >=20 >> Another possibility is that you have mismatched versions of guest >> additions. If that were the problem, it would show up in the Vbox log= s. >=20 > I thought of that... even though vbox does not complain of a mismatch, = I > went ahead and removed them from a machine and added them back in from > my FreeBSD host. No improvement unfortunately. >=20 >> >=20 >=20 --=20 Regards, Eric --------------enig14B882080D09964DF6528977 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAk1PZaIACgkQngSDRM3IXUqzRQCgrscdRRjThD7ZDZF9xXIU0V7x cnIAnRZS3PyJCQplTV2GW9Zin7Lxv4t0 =4k+7 -----END PGP SIGNATURE----- --------------enig14B882080D09964DF6528977-- From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 03:31:05 2011 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 E527C106566C for ; Mon, 7 Feb 2011 03:31:05 +0000 (UTC) (envelope-from bahman.linux@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 9EABD8FC14 for ; Mon, 7 Feb 2011 03:31:05 +0000 (UTC) Received: by vws9 with SMTP id 9so2640817vws.13 for ; Sun, 06 Feb 2011 19:31:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=xfc4S83MDJ4BJv+IlpvRVLZVcJuadEFuAuRfeQQjG/o=; b=BS2UJIv3ggR3FEHMPAAdm04QiFP7Wl+F+lwZbc1BWSNUss9HxClIST55nl9VzFv7l/ TC2KqLaSWC/7caDFQiynt2ZHXJ7DJAZp5ynRLDfzauXy8M85XchIsLwMLbbzRHM+Ltuf uAJtkXU6EO8XNfXFjOyHv1jyRRl1q12EuRZlI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=oJt04VrYvqFqroHJBN5yIUVZ3ipCPoOKmOPg88s+bqhghO0EdetiCRhb3tiHLfaogF LQ+0XBs/GwSwh4ciufdTa/UU2nhWlz3MywH9qpdVLTLdRIzRU8Y3TxpotGuDDMVzfLED zvnj9vNQu8LNjb1C4eDn6Di/pODdBhRcRCujo= MIME-Version: 1.0 Received: by 10.220.112.18 with SMTP id u18mr3989630vcp.261.1297049464775; Sun, 06 Feb 2011 19:31:04 -0800 (PST) Received: by 10.220.175.197 with HTTP; Sun, 6 Feb 2011 19:31:04 -0800 (PST) Date: Mon, 7 Feb 2011 07:01:04 +0330 Message-ID: From: Bahman Kahinpour To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Subject: Debian GNU/kFreeBSD 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, 07 Feb 2011 03:31:06 -0000 Hello, I have heard that Debian project has replaced the Linux kernel in their distribution with FreeBSD kernel and have released Debian GNU/kFreeBSD. Since this version, they will release Debian GNU/kFreeBSD as a "stable" port. What is this all about? What will be consequences for FreeBSD? Will a lot of FreeBSD users move to that distribution? Good Luck Bahman Kahinpour From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 03:44:03 2011 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 47A64106566C for ; Mon, 7 Feb 2011 03:44:03 +0000 (UTC) (envelope-from rfarmer@predatorlabs.net) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id CD4D58FC15 for ; Mon, 7 Feb 2011 03:44:02 +0000 (UTC) Received: by wyf19 with SMTP id 19so4300010wyf.13 for ; Sun, 06 Feb 2011 19:44:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=predatorlabs.net; s=google; h=domainkey-signature:mime-version:x-originating-ip:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=6n2z+y5wh0LEWg0LUF+M1pLniu2ixNuW1MpsbYPEzvo=; b=cH/1FLGKCR1aUA0Jxeblj5WF02csf5hjGlF54uPJ9z8k0LfgP+kRJwWtE9E7wlyWNe hgsrU1vzqiRBlt+9zb2G2cp5aaw5mXz/jDSEikbm8Iz1d9fPZUPCextAXrLFJM3unxaG cGT8b5371ggPWr0Yczf6ZxBoMeRqAsRBZsdQ8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=predatorlabs.net; s=google; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; b=BBJcnZrh/RSE7JVvvei/qq17SpRlnHozKPINoy3cBqEeUvtsr/yXXQqU0rZQjTsZc+ XAU2PpEHadhiPfzVsSUy1ZxXZVCI/93kv8NCSJFt5WxiJhDfEZgW1/fOJyrNOEzD3e4b DaTZx+LL+nxg87/bZ6zQSIee4NSvCdy2R8XeA= MIME-Version: 1.0 Received: by 10.216.173.7 with SMTP id u7mr1859270wel.50.1297050241635; Sun, 06 Feb 2011 19:44:01 -0800 (PST) Received: by 10.216.242.130 with HTTP; Sun, 6 Feb 2011 19:44:01 -0800 (PST) X-Originating-IP: [128.95.133.204] In-Reply-To: References: <4D4DF58D.2040506@computer.org> <4D4EC7CB.7010200@computer.org> <201102061925.28021.lobo@bsd.com.br> Date: Sun, 6 Feb 2011 19:44:01 -0800 Message-ID: From: Rob Farmer To: Chris Brennan Content-Type: text/plain; charset=ISO-8859-1 Cc: Mario Lobo , freebsd-questions@freebsd.org, Eric Schuele Subject: Re: 8.2 prerelease, virtualbox, and windows guests that freeze... 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, 07 Feb 2011 03:44:03 -0000 On Sun, Feb 6, 2011 at 7:03 PM, Chris Brennan wrote: > Net, I've formatted drives as fat32 that were well over 4gb. In fact I have > an external 120gb we datavault that's fat32 > Max per file, not the whole partition. Virtual machines generally store the whole disk as a single file, though Vmware has an option to split it up for these situations. -- Rob Farmer From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 04:02:11 2011 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 6A0DA1065674 for ; Mon, 7 Feb 2011 04:02:11 +0000 (UTC) (envelope-from amvandemore@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 EF9E98FC0A for ; Mon, 7 Feb 2011 04:02:10 +0000 (UTC) Received: by fxm16 with SMTP id 16so4595196fxm.13 for ; Sun, 06 Feb 2011 20:02:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=fAYXqAxPaklIBPlc9NJ6mqiTG/vP+kDPB5sbbCAK7KM=; b=RrRtvrBdcnQh8YvURvsKAr6Y+3D1t4uEOGSkxFElXivtdnNcHZegV/9NDWOOoeJdRW 04V5YEh2ejFodT1oNKb/PsfMewXxZBaPJgkJoD7jhbcDAaViefb4Wps7EN2yd6606yka LPZwxK42zHuNtSVmGZjHUVpokpdt0Ag68EO/I= 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=Rhvl7qiaKdG7I84BsLNoGzb+o5fMzy74gSFw/C1h88Xn1k+KmcCJ7LMmF9tXhm8aCI 8D2px2BAq8K9Fw/1iTbqU1yywf7dABmYa+3yST02cEUdKsifNIwqIk7Sfl6uzyertlp/ A+8639gwKQ3o9xYme4CV4WstPUAcZFVOfGWEY= MIME-Version: 1.0 Received: by 10.223.116.1 with SMTP id k1mr3946953faq.51.1297051329844; Sun, 06 Feb 2011 20:02:09 -0800 (PST) Received: by 10.223.114.4 with HTTP; Sun, 6 Feb 2011 20:02:09 -0800 (PST) In-Reply-To: <4D4F65A2.1040802@computer.org> References: <4D4DF58D.2040506@computer.org> <4D4F644F.1040006@computer.org> <4D4F65A2.1040802@computer.org> Date: Sun, 6 Feb 2011 22:02:09 -0600 Message-ID: From: Adam Vande More To: Eric Schuele Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: 8.2 prerelease, virtualbox, and windows guests that freeze... 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, 07 Feb 2011 04:02:11 -0000 On Sun, Feb 6, 2011 at 9:23 PM, Eric Schuele wrote: > Ok... found the logs. :) > Looks as if each machine has 4 log files, and that the set of files is > from the last run. Anything in there I could post to help diagnose? > Let's see what's in the most recent log of an affected VM. If you have any funky options like page fusion enabled disable them. What the output of gstat(8) and top(1) look like when you reach this degraded state? -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 04:38:08 2011 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 AA441106566C for ; Mon, 7 Feb 2011 04:38:08 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id 704988FC0A for ; Mon, 7 Feb 2011 04:38:08 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.4/8.14.4) with ESMTP id p174c4a8015670 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 6 Feb 2011 22:38:05 -0600 (CST) (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 p174c4tP030749 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 6 Feb 2011 22:38:04 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.4/Submit) id p174c4WP030748; Sun, 6 Feb 2011 22:38:04 -0600 (CST) (envelope-from dan) Date: Sun, 6 Feb 2011 22:38:04 -0600 From: Dan Nelson To: Bahman Kahinpour Message-ID: <20110207043803.GA66849@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.2-PRERELEASE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.96.4 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (email2.allantgroup.com [199.67.51.78]); Sun, 06 Feb 2011 22:38:05 -0600 (CST) X-Scanned-By: MIMEDefang 2.68 on 199.67.51.78 Cc: freebsd-questions@freebsd.org Subject: Re: Debian GNU/kFreeBSD 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, 07 Feb 2011 04:38:08 -0000 In the last episode (Feb 07), Bahman Kahinpour said: > I have heard that Debian project has replaced the Linux kernel in > their distribution with FreeBSD kernel and have released Debian > GNU/kFreeBSD. Since this version, they will release Debian > GNU/kFreeBSD as a "stable" port. > What is this all about? What will be consequences for FreeBSD? Will a > lot of FreeBSD users move to that distribution? I expect Debian users will try GNU/kFreeBSD and like it so much they wtill switch to full FreeBSD. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 05:41:08 2011 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 7B4F6106566B for ; Mon, 7 Feb 2011 05:41:08 +0000 (UTC) (envelope-from bf1783@googlemail.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 398118FC0C for ; Mon, 7 Feb 2011 05:41:07 +0000 (UTC) Received: by yxh35 with SMTP id 35so1671605yxh.13 for ; Sun, 06 Feb 2011 21:41:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:date:message-id:subject :from:to:cc:content-type; bh=yFPCP8Pn5MK+U6W5mF7s/9/J+64Q0pQlBkYQqE4NWOw=; b=kNJkbyLgE9nWpfwdKX4RwbMrdbnR2KlO5kLLkunSKrBl9yiQdtcHmQhhwX6PF9FMty 1uDnAPvlRjPaaJEZUMvGx+SulVPhPcFTL/uCk7e32JSoq7m2fKaj0YfG3RreUl7idFYx I/bkL/mps4HfFpxK24MhLpZ4CsE9xNbQiNFgI= 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=oenF1HUPgsOem4MOaXmwfUEPS8lvou0RNQF7ShWaBSOVtT/Us1hoAMOA7fzPwMMNuT iKym5fIX9hnaQUdnnPvTlcahqmDk4yhkCQ5jP6aPoBg0cBmVpKMbsxoODyfV54u5gPK2 eRHmRSCSHYbWBXCYpGWah7Kv0Grc9iciVyAtc= MIME-Version: 1.0 Received: by 10.236.102.129 with SMTP id d1mr29986410yhg.50.1297057265746; Sun, 06 Feb 2011 21:41:05 -0800 (PST) Received: by 10.236.110.52 with HTTP; Sun, 6 Feb 2011 21:41:05 -0800 (PST) Date: Mon, 7 Feb 2011 00:41:05 -0500 Message-ID: From: "b. f." To: Bahman Kahinpour Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@FreeBSD.org Subject: Re: Debian GNU/kFreeBSD 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: Mon, 07 Feb 2011 05:41:08 -0000 > I have heard that Debian project has replaced the Linux kernel in > their distribution with FreeBSD kernel and have released Debian > GNU/kFreeBSD. Since this version, they will release Debian > GNU/kFreeBSD as a "stable" port. > What is this all about? As you can see from their webpages, they replaced the Linux kernel with a patched FreeBSD 8.1 kernel, but kept most of the rest of the Debian base system and packaging system. It's for users who prefer a FreeBSD kernel, but want a Debian userland and packages, and don't have a problem with the different licenses. Gentoo has a similar project: http://www.gentoo.org/proj/en/gentoo-alt/bsd/fbsd/ There are also some NetBSD-base derivatives. >What will be consequences for FreeBSD? Will a > lot of FreeBSD users move to that distribution? Well, only time will tell, but I doubt that either will completely replace the other in the near future. There has already been some interaction between the two projects -- I remember a few recent changes made in FreeBSD because of feedback from Debian users and developers. b. From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 11:53:49 2011 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 CDFC4106564A for ; Mon, 7 Feb 2011 11:53:49 +0000 (UTC) (envelope-from e.schuele@computer.org) Received: from p3plsmtpa01-06.prod.phx3.secureserver.net (p3plsmtpa01-06.prod.phx3.secureserver.net [72.167.82.86]) by mx1.freebsd.org (Postfix) with SMTP id 895D78FC1D for ; Mon, 7 Feb 2011 11:53:49 +0000 (UTC) Received: (qmail 2243 invoked from network); 7 Feb 2011 11:53:48 -0000 Received: from unknown (71.164.218.188) by p3plsmtpa01-06.prod.phx3.secureserver.net (72.167.82.86) with ESMTP; 07 Feb 2011 11:53:48 -0000 Message-ID: <4D4FDD0D.9000602@computer.org> Date: Mon, 07 Feb 2011 05:52:45 -0600 From: Eric Schuele User-Agent: Thunderbird 2.0.0.23 (X11/20090904) MIME-Version: 1.0 CC: freebsd-questions@freebsd.org References: <4D4DF58D.2040506@computer.org> <4D4EC7CB.7010200@computer.org> <201102061925.28021.lobo@bsd.com.br> In-Reply-To: X-Enigmail-Version: 0.95.2 OpenPGP: url=http://www.ravenlock.us/keys/pub_schuele.pgp Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig80CB2A0A19C6DFCF3FF227C2" Subject: Re: 8.2 prerelease, virtualbox, and windows guests that freeze... 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, 07 Feb 2011 11:53:49 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig80CB2A0A19C6DFCF3FF227C2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 02/06/2011 21:44, Rob Farmer wrote: > On Sun, Feb 6, 2011 at 7:03 PM, Chris Brennan wr= ote: >> Net, I've formatted drives as fat32 that were well over 4gb. In fact I= have >> an external 120gb we datavault that's fat32 >> >=20 > Max per file, not the whole partition. Virtual machines generally > store the whole disk as a single file, though Vmware has an option to > split it up for these situations. >=20 Correct. not an option here. --=20 Regards, Eric --------------enig80CB2A0A19C6DFCF3FF227C2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAk1P3Q0ACgkQngSDRM3IXUrWZgCg5ftVukK3ZW4rNjdSH2JKo66i Q5EAoKSCp5Yb7FKNeN+pHEVZcoTMPDgM =FaF5 -----END PGP SIGNATURE----- --------------enig80CB2A0A19C6DFCF3FF227C2-- From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 11:59:43 2011 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 8D6F1106566B for ; Mon, 7 Feb 2011 11:59:43 +0000 (UTC) (envelope-from e.schuele@computer.org) Received: from p3plsmtpa01-02.prod.phx3.secureserver.net (p3plsmtpa01-02.prod.phx3.secureserver.net [72.167.82.82]) by mx1.freebsd.org (Postfix) with SMTP id 62A6A8FC19 for ; Mon, 7 Feb 2011 11:59:43 +0000 (UTC) Received: (qmail 26355 invoked from network); 7 Feb 2011 11:59:42 -0000 Received: from unknown (71.164.218.188) by p3plsmtpa01-02.prod.phx3.secureserver.net (72.167.82.82) with ESMTP; 07 Feb 2011 11:59:42 -0000 Message-ID: <4D4FDE6E.9050301@computer.org> Date: Mon, 07 Feb 2011 05:58:38 -0600 From: Eric Schuele User-Agent: Thunderbird 2.0.0.23 (X11/20090904) MIME-Version: 1.0 To: Adam Vande More References: <4D4DF58D.2040506@computer.org> <4D4F644F.1040006@computer.org> <4D4F65A2.1040802@computer.org> In-Reply-To: X-Enigmail-Version: 0.95.2 OpenPGP: url=http://www.ravenlock.us/keys/pub_schuele.pgp Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8E2C84C0F03BFB8173C8FB67" Cc: FreeBSD Questions Subject: Re: 8.2 prerelease, virtualbox, and windows guests that freeze... 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, 07 Feb 2011 11:59:43 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8E2C84C0F03BFB8173C8FB67 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 02/06/2011 22:02, Adam Vande More wrote: > On Sun, Feb 6, 2011 at 9:23 PM, Eric Schuele w= rote: >=20 >> Ok... found the logs. :) >> Looks as if each machine has 4 log files, and that the set of files is= >> from the last run. Anything in there I could post to help diagnose? >> >=20 > Let's see what's in the most recent log of an affected VM. If you have= any > funky options like page fusion enabled disable them. After looking in the logs I found an error. :) "AIOMgr: Error happened " This led me to an open issues in VirtualBox's bug tracker. The proposed work around is to either *enable* th "Use Host I/O cache" on your virtualized SATA disks, or just use virtualized IDE disks. I am testing this now. Will let you know how it turns out. >=20 > What the output of gstat(8) and top(1) look like when you reach this > degraded state? >=20 >=20 --=20 Regards, Eric --------------enig8E2C84C0F03BFB8173C8FB67 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAk1P3m4ACgkQngSDRM3IXUrqHACcCE3O9rHMTe3WMd54WrmY3fff O3AAoOMNwWJaDyQmUlcFNMFn9X4zcB9H =HKA2 -----END PGP SIGNATURE----- --------------enig8E2C84C0F03BFB8173C8FB67-- From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 17:03:25 2011 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 9BF441065670 for ; Mon, 7 Feb 2011 17:03:25 +0000 (UTC) (envelope-from mbak@inbox.lv) Received: from thor.iszerviz.hu (thor.iszerviz.hu [62.77.131.9]) by mx1.freebsd.org (Postfix) with ESMTP id 62A098FC14 for ; Mon, 7 Feb 2011 17:03:25 +0000 (UTC) Received: from [10.2.2.50] (m0n0.serverbank.hu [62.77.131.200]) by thor.iszerviz.hu (Postfix) with ESMTPSA id 1C8AA4FEF4 for ; Mon, 7 Feb 2011 17:44:42 +0100 (CET) Message-ID: <4D50217A.6030700@inbox.lv> Date: Mon, 07 Feb 2011 17:44:42 +0100 From: Mikael Bak User-Agent: Thunderbird 2.0.0.24 (X11/20101027) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Follow a port of a specific major verion 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, 07 Feb 2011 17:03:25 -0000 Hi list, I searched for this in the handbook, but without any hits. Google gave me nada too. I have a machine running FreeBSD 7.3 and Postfix 2.7.2 installed from ports. Unfortunately when I installed Postfix I did this: cd /usr/ports/mail/postfix make install clean Now when Postfix 2.8.0 is released the above path in the ports tree points to a Postfix version I do not yet want to install. I would like to follow Postfix 2.7.x for a while. So my question is: How can I make the ports system act as if I had installed Postfix like this?: cd /usr/ports/mail/postfix27 make install clean Is there a way to tell the ports database to "follow" and older version of Postfix without rebuild the entire port again? TIA, Mikael From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 17:46:14 2011 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 0BE50106564A for ; Mon, 7 Feb 2011 17:46:14 +0000 (UTC) (envelope-from jhs@berklix.com) Received: from tower.berklix.org (tower.berklix.org [83.236.223.114]) by mx1.freebsd.org (Postfix) with ESMTP id F22978FC13 for ; Mon, 7 Feb 2011 17:46:12 +0000 (UTC) Received: from park.js.berklix.net (p5B22F18A.dip.t-dialin.net [91.34.241.138]) (authenticated bits=0) by tower.berklix.org (8.14.2/8.14.2) with ESMTP id p17Hk560038197 for ; Mon, 7 Feb 2011 17:46:09 GMT (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (fire.js.berklix.net [192.168.91.41]) by park.js.berklix.net (8.13.8/8.13.8) with ESMTP id p17Hjw90093420 for ; Mon, 7 Feb 2011 18:45:58 +0100 (CET) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.3/8.14.3) with ESMTP id p17Hjrlk080515 for ; Mon, 7 Feb 2011 18:45:58 +0100 (CET) (envelope-from jhs@fire.js.berklix.net) Message-Id: <201102071745.p17Hjrlk080515@fire.js.berklix.net> To: freebsd-questions@freebsd.org From: "Julian H. Stacey" Organization: http://www.berklix.com BSD Unix Linux Consultancy, Munich Germany User-agent: EXMH on FreeBSD http://www.berklix.com/free/ X-URL: http://www.berklix.com In-reply-to: Your message "Mon, 07 Feb 2011 00:41:05 EST." Date: Mon, 07 Feb 2011 18:45:53 +0100 Sender: jhs@berklix.com Subject: Re: Debian GNU/kFreeBSD 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, 07 Feb 2011 17:46:14 -0000 > From: "b. f." "b. f." wrote: > > I have heard that Debian project has replaced the Linux kernel in > > their distribution with FreeBSD kernel and have released Debian > > GNU/kFreeBSD. > > Since this version, they will release Debian > > GNU/kFreeBSD as a "stable" port. > > What is this all about? http://lists.debian.org/debian-announce/2011/msg00001.html > As you can see from their webpages, they replaced the Linux kernel > with a patched FreeBSD 8.1 kernel, but kept most of the rest of the > Debian base system and packaging system. It's for users who prefer a > FreeBSD kernel, but want a Debian userland and packages, and don't > have a problem with the different licenses. Gentoo has a similar > project: > > http://www.gentoo.org/proj/en/gentoo-alt/bsd/fbsd/ > > There are also some NetBSD-base derivatives. > > >What will be consequences for FreeBSD? Will a > > lot of FreeBSD users move to that distribution? > > Well, only time will tell, but I doubt that either will completely > replace the other in the near future. There has already been some > interaction between the two projects -- I remember a few recent > changes made in FreeBSD because of feedback from Debian users and > developers. > > b. > _______________________________________________ > 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" Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Mail plain text; Not quoted-printable, Not HTML, Not base 64. Reply below text sections not at top, to avoid breaking cumulative context. From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 18:02:47 2011 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 375B1106564A for ; Mon, 7 Feb 2011 18:02:47 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from ifdnrg29.ifdnrg.com (outbound.ifdnrg.com [193.200.98.138]) by mx1.freebsd.org (Postfix) with ESMTP id CCE5C8FC14 for ; Mon, 7 Feb 2011 18:02:46 +0000 (UTC) Received: from [192.168.1.85] (93-97-172-73.zone5.bethere.co.uk [93.97.172.73]) (authenticated bits=0) by ifdnrg29.ifdnrg.com (8.14.4/8.14.4) with ESMTP id p17I2gwT051709; Mon, 7 Feb 2011 18:02:43 GMT (envelope-from paul@ifdnrg.com) Message-ID: <4D5033C1.1010604@ifdnrg.com> Date: Mon, 07 Feb 2011 18:02:41 +0000 From: Paul Macdonald User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Mikael Bak References: <4D50217A.6030700@inbox.lv> In-Reply-To: <4D50217A.6030700@inbox.lv> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Follow a port of a specific major verion 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, 07 Feb 2011 18:02:47 -0000 On 07/02/2011 16:44, Mikael Bak wrote: > So my question is: How can I make the ports system act as if I had > installed Postfix like this?: > > cd /usr/ports/mail/postfix27 > make install clean > > Is there a way to tell the ports database to "follow" and older version > of Postfix without rebuild the entire port again? > I'm pretty sure you can't do this, *unless* there's someone actually tracking a seperate port on that version. ( i didn't check but it doesn't sound like it from your post). To stop ports tree updates from clobbering your v27, you'd need to exclude this from your cvssup or whatever you use to update your tree. portdowngrade will get you back to an arbitrary older version if your tree already has the newer version. Paul. > TIA, > Mikael > _______________________________________________ > 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" -- ------------------------- Paul Macdonald IFDNRG Ltd Web and video hosting ------------------------- t: 0131 5548070 m: 07534206249 e: paul@ifdnrg.com w: http://www.ifdnrg.com ------------------------- IFDNRG 40 Maritime Street Edinburgh EH6 6SA ------------------------- From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 18:22:44 2011 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 63F291065670 for ; Mon, 7 Feb 2011 18:22:44 +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 3FACC8FC18 for ; Mon, 7 Feb 2011 18:22:44 +0000 (UTC) Received: (qmail 29660 invoked from network); 7 Feb 2011 18:22:43 -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 ; 7 Feb 2011 18:22:43 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id E9EDB50829; Mon, 7 Feb 2011 13:22:40 -0500 (EST) From: Lowell Gilbert To: Mikael Bak References: <4D50217A.6030700@inbox.lv> Date: Mon, 07 Feb 2011 13:22:40 -0500 In-Reply-To: <4D50217A.6030700@inbox.lv> (Mikael Bak's message of "Mon, 07 Feb 2011 17:44:42 +0100") Message-ID: <44aai7vh5b.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@freebsd.org Subject: Re: Follow a port of a specific major verion 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: Mon, 07 Feb 2011 18:22:44 -0000 Mikael Bak writes: > Hi list, > > I searched for this in the handbook, but without any hits. Google gave > me nada too. > > I have a machine running FreeBSD 7.3 and Postfix 2.7.2 installed from > ports. Unfortunately when I installed Postfix I did this: > > cd /usr/ports/mail/postfix > make install clean > > Now when Postfix 2.8.0 is released the above path in the ports tree > points to a Postfix version I do not yet want to install. I would like > to follow Postfix 2.7.x for a while. > > So my question is: How can I make the ports system act as if I had > installed Postfix like this?: > > cd /usr/ports/mail/postfix27 > make install clean > > Is there a way to tell the ports database to "follow" and older version > of Postfix without rebuild the entire port again? You can edit the package database by hand, but it will probably take a lot less of your time to build the whole port again. [More of the computer's time, but that's generally a much cheaper resource.] From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 18:36:23 2011 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 A27A3106566C for ; Mon, 7 Feb 2011 18:36:23 +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 5E0198FC0C for ; Mon, 7 Feb 2011 18:36:23 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for freebsd-questions@freebsd.org with esmtp (envelope-from ) id <1PmVwk-0000uQ-0N>; Mon, 07 Feb 2011 19:36:22 +0100 Received: from e178017134.adsl.alicedsl.de ([85.178.17.134] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) for freebsd-questions@freebsd.org with esmtpsa (envelope-from ) id <1PmVwj-0003Gz-Ts>; Mon, 07 Feb 2011 19:36:21 +0100 Message-ID: <4D503BA5.3040201@mail.zedat.fu-berlin.de> Date: Mon, 07 Feb 2011 19:36:21 +0100 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20110129 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.17.134 Subject: top: where to find process state descriptions (i.e. STATE usem)? 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, 07 Feb 2011 18:36:23 -0000 Hello. Try to find docs about the process states shown in top, but I can't find any hint for explanations what the abbrev. do mean. I have a problem with a scientific program using OpenMP showing STATE 'usem' in top. Problem: the small program is much slower on a dual or four core CPU using OpenMP than using only a single core (single thread never show state 'usem' in top). Any help? Thanks in advance, and regards, Oliver From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 18:40:17 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id CBD0F1065674; Mon, 7 Feb 2011 18:40:17 +0000 (UTC) Date: Mon, 7 Feb 2011 18:40:17 +0000 From: Alexander Best To: "O. Hartmann" Message-ID: <20110207184017.GA34640@freebsd.org> References: <4D503BA5.3040201@mail.zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D503BA5.3040201@mail.zedat.fu-berlin.de> Cc: freebsd-questions@freebsd.org Subject: Re: top: where to find process state descriptions (i.e. STATE usem)? 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, 07 Feb 2011 18:40:17 -0000 On Mon Feb 7 11, O. Hartmann wrote: > Hello. > Try to find docs about the process states shown in top, but I can't find > any hint for explanations what the abbrev. do mean. > > I have a problem with a scientific program using OpenMP showing STATE > 'usem' in top. Problem: the small program is much slower on a dual or > four core CPU using OpenMP than using only a single core (single thread > never show state 'usem' in top). i don't think the states are documented anywhere, except maybe in the source code itself. you might find this video helpful though [1]. cheers. alex [1] http://www.youtube.com/watch?v=Mfb5_uG7BCA > > Any help? > > Thanks in advance, and regards, > Oliver -- a13x From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 18:56:03 2011 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 2E669106566C for ; Mon, 7 Feb 2011 18:56:03 +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 090B78FC13 for ; Mon, 7 Feb 2011 18:56:02 +0000 (UTC) Received: (qmail 24779 invoked from network); 7 Feb 2011 18:56:02 -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 ; 7 Feb 2011 18:56:02 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id E72115082A; Mon, 7 Feb 2011 13:56:00 -0500 (EST) From: Lowell Gilbert To: "O. Hartmann" References: <4D503BA5.3040201@mail.zedat.fu-berlin.de> Date: Mon, 07 Feb 2011 13:56:00 -0500 In-Reply-To: <4D503BA5.3040201@mail.zedat.fu-berlin.de> (O. Hartmann's message of "Mon, 07 Feb 2011 19:36:21 +0100") Message-ID: <4462svvflr.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@freebsd.org Subject: Re: top: where to find process state descriptions (i.e. STATE usem)? 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: Mon, 07 Feb 2011 18:56:03 -0000 "O. Hartmann" writes: > Try to find docs about the process states shown in top, but I can't > find any hint for explanations what the abbrev. do mean. ps(1) > I have a problem with a scientific program using OpenMP showing STATE > usem' in top. Problem: the small program is much slower on a dual or > four core CPU using OpenMP than using only a single core (single > thread never show state 'usem' in top). Sorry, I've never run into that, and can't find it in the source... From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 19:05:23 2011 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 89E6A1065670 for ; Mon, 7 Feb 2011 19:05:23 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id 50CD18FC13 for ; Mon, 7 Feb 2011 19:05:23 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.4/8.14.4) with ESMTP id p17J5LW7002787 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 7 Feb 2011 13:05:21 -0600 (CST) (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 p17J5Lo4078954 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 7 Feb 2011 13:05:21 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.4/Submit) id p17J5Luu078953; Mon, 7 Feb 2011 13:05:21 -0600 (CST) (envelope-from dan) Date: Mon, 7 Feb 2011 13:05:21 -0600 From: Dan Nelson To: "O. Hartmann" Message-ID: <20110207190521.GB66849@dan.emsphone.com> References: <4D503BA5.3040201@mail.zedat.fu-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D503BA5.3040201@mail.zedat.fu-berlin.de> X-OS: FreeBSD 8.2-PRERELEASE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.96.4 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (email2.allantgroup.com [199.67.51.78]); Mon, 07 Feb 2011 13:05:21 -0600 (CST) X-Scanned-By: MIMEDefang 2.68 on 199.67.51.78 Cc: freebsd-questions@freebsd.org Subject: Re: top: where to find process state descriptions (i.e. STATE usem)? 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, 07 Feb 2011 19:05:23 -0000 In the last episode (Feb 07), O. Hartmann said: > Try to find docs about the process states shown in top, but I can't find > any hint for explanations what the abbrev. do mean. > > I have a problem with a scientific program using OpenMP showing STATE > 'usem' in top. Problem: the small program is much slower on a dual or > four core CPU using OpenMP than using only a single core (single thread > never show state 'usem' in top). STATEs that aren't in caps are either wait channels or mutexes, and their initialization is scattered all over the kernel. There isn't one comprehensive index. "usem" sounds like maybe a semaphore operation? A quick grep of the kernel doesn't show any strings starting with "usem", though. Maybe if you run "procstat -k " on one of those processes you can narrow down what part of the kernel it's waiting in. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 19:12:49 2011 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 E6DEF106567A for ; Mon, 7 Feb 2011 19:12:49 +0000 (UTC) (envelope-from gull@gull.us) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8636F8FC0C for ; Mon, 7 Feb 2011 19:12:49 +0000 (UTC) Received: by ewy24 with SMTP id 24so2501924ewy.13 for ; Mon, 07 Feb 2011 11:12:48 -0800 (PST) MIME-Version: 1.0 Received: by 10.14.119.132 with SMTP id n4mr2595001eeh.42.1297105965800; Mon, 07 Feb 2011 11:12:45 -0800 (PST) Received: by 10.14.119.1 with HTTP; Mon, 7 Feb 2011 11:12:45 -0800 (PST) X-Originating-IP: [128.95.17.60] In-Reply-To: <20110206084227.639b10af.wmoran@potentialtech.com> References: <12dfaeab98c.2320661712861783787.-8492260798816855817@zoho.com> <20110206084227.639b10af.wmoran@potentialtech.com> Date: Mon, 7 Feb 2011 11:12:45 -0800 Message-ID: From: David Brodbeck To: FreeBSD Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: OpenSSH could be faster...then why don't they path it?? 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, 07 Feb 2011 19:12:50 -0000 On Sun, Feb 6, 2011 at 5:42 AM, Bill Moran wrote= : > Also, I'm having trouble understanding how people like that get grants > to do work like that. =A0On the one hand, they obviously know enough abou= t > cryptography to make improvements. =A0On the other hand, they can't seem > to get a grip on the fact that the code will need to have a license > before anyone can grab it and incorporate it. =A0I can't find anywhere on > that page where it tells me what terms I am allowed to use those patches > under. This seems to be a big problem with academia in general. I almost never see a piece of code associated with a research paper that has a coherent license attached to it. Often there's no license at all. I don't know if this is ignorance or if there are bureaucratic hurdles at work here. It's possible it's the latter, since universities often want to profit off of licensing the research that's done on their sites. From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 19:24:52 2011 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 681FF106564A for ; Mon, 7 Feb 2011 19:24:52 +0000 (UTC) (envelope-from freebsd.user@seibercom.net) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1895C8FC13 for ; Mon, 7 Feb 2011 19:24:51 +0000 (UTC) Received: by yxh35 with SMTP id 35so1958927yxh.13 for ; Mon, 07 Feb 2011 11:24:51 -0800 (PST) Received: by 10.151.41.17 with SMTP id t17mr15122649ybj.147.1297106691192; Mon, 07 Feb 2011 11:24:51 -0800 (PST) Received: from scorpio.seibercom.net (cpe-071-070-216-068.nc.res.rr.com [71.70.216.68]) by mx.google.com with ESMTPS id j8sm3133340yha.1.2011.02.07.11.24.49 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 07 Feb 2011 11:24:50 -0800 (PST) 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 B7641E54859 for ; Mon, 7 Feb 2011 14:24:48 -0500 (EST) Date: Mon, 7 Feb 2011 14:24:48 -0500 From: Jerry To: FreeBSD Message-ID: <20110207142448.51007694@scorpio> In-Reply-To: References: <12dfaeab98c.2320661712861783787.-8492260798816855817@zoho.com> <20110206084227.639b10af.wmoran@potentialtech.com> Organization: seibercom.net X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; amd64-portbld-freebsd8.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEUeH4oAAI3//v8LDHmw s8gyNZ/b3ej7+vn+/v////+PjIc8Plaj/TnQAAACNElEQVQ4jaXUvW/aQBQAcFtKGZLFT+YY 3D1SR9SKoRMncE3IggU4kicGi1JYOgQwyYrgnLlSzhsoNkTuVJEp+ef6ztiAoV3aJ+QPfufn s987S/5fQvoXYPjztmfc514Ks+5JfGUCfrzt4+VabF+jwEV4DGEXN8N4p16sPLxHX07/V3qX yfF5D2H6K4V8j9NkyAphvkjBembD5PDFk3zeTzP1jcksyaV9w+d4ELmUoOp8N2p8uQVyhTAT uawnKNH2mie5lJp48mscUcbJUvg0mR6APwAoye9AMyWozY4gAh0vcxa5FJ4TKCuODESWtfkB 8AEQSupUXNIYH8FSC2w8X3eMBNbbVJpJ7MgECO5yJ9DUEWCYkzNAlsRsgwLQ1GkWqELbkDOh 1bUzoHagYkNh9MXlK/MQoA42gTxz2bhPM2DJedm8MZx6cNfJgEZJ5cmwPp5FZ/Ye8O2qTrFV dgOrHkZRBoheJiGrRquwAhnQ6GeTePPerWVmQelAQ5lwNqtvQd2lcooAV74/zR1BIRS19fy5 ru+B/8ReW9pYKMPjt609zDaitHHTGOO+Zu7gHvsKE7XbeE1QVuJXomIFuZgUJdXQdhpqEELc /e8RLjfi+cQ01yMdWot8UcCVxEWHEkcUrsDGuhaIEoM9kfgAR6jxHcmEV7tNURAl8KTHN9iF McKGFHGO62O62UMpbmlVuogQ7ndL8zXCiLeBy3xpfrqaXS/+AHDG4o8AvhuPeezD/3xL/hy/ Adjlg2odglF2AAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: OpenSSH could be faster...then why don't they path it?? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Feb 2011 19:24:52 -0000 On Mon, 7 Feb 2011 11:12:45 -0800 David Brodbeck articulated: > On Sun, Feb 6, 2011 at 5:42 AM, Bill Moran > wrote: > > Also, I'm having trouble understanding how people like that get > > grants to do work like that.  On the one hand, they obviously know > > enough about cryptography to make improvements.  On the other hand, > > they can't seem to get a grip on the fact that the code will need > > to have a license before anyone can grab it and incorporate it.  I > > can't find anywhere on that page where it tells me what terms I am > > allowed to use those patches under. > > This seems to be a big problem with academia in general. I almost > never see a piece of code associated with a research paper that has a > coherent license attached to it. Often there's no license at all. I > don't know if this is ignorance or if there are bureaucratic hurdles > at work here. It's possible it's the latter, since universities often > want to profit off of licensing the research that's done on their > sites. A university or any business for that matter certainly has the right to profit from any research or other work done on a given project if such research or work were done using the university's or business's resources. -- Jerry ✌ FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ If you think things can't get worse it's probably only because you lack sufficient imagination. From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 19:46:24 2011 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 2F76F106566C for ; Mon, 7 Feb 2011 19:46:24 +0000 (UTC) (envelope-from gull@gull.us) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id C51AE8FC12 for ; Mon, 7 Feb 2011 19:46:23 +0000 (UTC) Received: by ewy24 with SMTP id 24so2531655ewy.13 for ; Mon, 07 Feb 2011 11:46:22 -0800 (PST) MIME-Version: 1.0 Received: by 10.14.119.132 with SMTP id n4mr2640067eeh.42.1297107908395; Mon, 07 Feb 2011 11:45:08 -0800 (PST) Received: by 10.14.119.1 with HTTP; Mon, 7 Feb 2011 11:45:07 -0800 (PST) X-Originating-IP: [128.95.17.60] In-Reply-To: References: Date: Mon, 7 Feb 2011 11:45:07 -0800 Message-ID: From: David Brodbeck To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: Debian GNU/kFreeBSD 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, 07 Feb 2011 19:46:24 -0000 On Sun, Feb 6, 2011 at 7:31 PM, Bahman Kahinpour wrote: > I have heard that Debian project has replaced the Linux kernel in > their distribution with FreeBSD kernel and have released Debian > GNU/kFreeBSD. Since this version, they will release Debian > GNU/kFreeBSD as a "stable" port. > What is this all about? What will be consequences for FreeBSD? Will a > lot of FreeBSD users move to that distribution? Nah, no more than Nexenta (Solaris kernel + Debian userland) has caused OpenSolaris/OpenIndiana users to migrate away from that distribution. People who like a particular kernel tend to like OS's userland utilities, as well, out of habit if nothing else; the niche for these hybrid distributions is actually pretty small. They're nice if you're comfortable with the Debian userland and packaging utilities but need some feature of another OS's kernel, though. From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 20:56:06 2011 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 616EB1065675 for ; Mon, 7 Feb 2011 20:56:06 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from x.it.okstate.edu (x.it.okstate.edu [139.78.2.13]) by mx1.freebsd.org (Postfix) with ESMTP id 16ED18FC14 for ; Mon, 7 Feb 2011 20:56:05 +0000 (UTC) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by x.it.okstate.edu (8.14.4/8.14.3) with ESMTP id p17Ku5Da097335 for ; Mon, 7 Feb 2011 14:56:05 -0600 (CST) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <201102072056.p17Ku5Da097335@x.it.okstate.edu> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <97333.1297112165.1@dc.cis.okstate.edu> Date: Mon, 07 Feb 2011 14:56:05 -0600 From: Martin McCormick Subject: Using Multiple -prune directives in a find 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: Mon, 07 Feb 2011 20:56:06 -0000 Can one use the -prune directive multiple times in a find command to specify a list of directories not to descend? It would be like find . -name "*" -prune dir1 -prune dir2 -print or whatever you wanted find to do, but that does not work or I wouldn't be asking. Find appears to get confused and thinks dir1 is a command. Thanks for your help. From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 21:30:30 2011 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 82F2F106564A for ; Mon, 7 Feb 2011 21:30:30 +0000 (UTC) (envelope-from cmyk777@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 12E258FC1A for ; Mon, 7 Feb 2011 21:30:29 +0000 (UTC) Received: by bwz12 with SMTP id 12so5304878bwz.13 for ; Mon, 07 Feb 2011 13:30:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type; bh=2xIthvKBqX8uRDZw6tuvrBd91hmMxdyzThKd5fZ2d+A=; b=nRCpxgYgUjLukZDcTkjl0QyAgdtaVK582LZaMYqel0/EU96ZXDGE0h/NM4DB3YAtmX 68t++t46FiAQ5tnMPS57/55c/ncBM46jB2GFwqiiM4v58ENKYDhDBwCVogQKmaqDKGhf Y46fFXkAN3RJiVw+3nnQagAQ7uBYYt2Vy8zns= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=CNdPkvXyJ4LjoX5oOWKaBfQXyPgionlFSIQEJZC/leXRMMI0KJf//QIJH/mAcfZOQ5 4AW0ZPUo9v32OIWHWIO+LoND0DBrn43QQ9supGiumf0hbOSfsyqxu8rTEfUTaL2Mldg3 LRku3PaxjqP7zo46jKzY1BRXSBqwouOSQEyII= Received: by 10.204.77.196 with SMTP id h4mr16291704bkk.89.1297112521622; Mon, 07 Feb 2011 13:02:01 -0800 (PST) MIME-Version: 1.0 Received: by 10.204.231.132 with HTTP; Mon, 7 Feb 2011 13:01:41 -0800 (PST) From: Igor Prokopenkov Date: Mon, 7 Feb 2011 23:01:41 +0200 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: How to count number of connections from nginx workers to php-cgi unix socket? 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, 07 Feb 2011 21:30:30 -0000 I need to count number of connections to php's cgi unix socket (created with spawn-fci). When nginx initiates a connection to cgi socket one of spawned php processes accepts this connection, processes input and outputs data. But number of processes is limited and i want to be able to monitor amount of free processes. I tried all available tools (netstat, sockstat even lsof) but it seems there is no way to determine how many active connections from nginx to unix socket. Please advise. -- Best regards, Igor Prokopenkov Zend Certificied Engineer http://zend.com/zce.php?c=ZEND010909 http://linkedin.com/in/igorprokopenkov From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 21:38:46 2011 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 709FD106566C for ; Mon, 7 Feb 2011 21:38:46 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout027.mac.com (asmtpout027.mac.com [17.148.16.102]) by mx1.freebsd.org (Postfix) with ESMTP id 56A3F8FC13 for ; Mon, 7 Feb 2011 21:38:46 +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 asmtp027.mac.com (Oracle Communications Messaging Exchange Server 7u4-18.01 64bit (built Jul 15 2010)) with ESMTPSA id <0LG90057BO4LD340@asmtp027.mac.com> for freebsd-questions@freebsd.org; Mon, 07 Feb 2011 13:38:46 -0800 (PST) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2011-02-07_06:2011-02-07, 2011-02-07, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1012030000 definitions=main-1102070113 From: Chuck Swiger X-Priority: Medium In-reply-to: <12dfa77447c.7163284093726025667.-8541699583891767164@zoho.com> Date: Mon, 07 Feb 2011 13:38:45 -0800 Message-id: References: <12dfa77447c.7163284093726025667.-8541699583891767164@zoho.com> To: kellyremo X-Mailer: Apple Mail (2.1082) Cc: FreeBSD Subject: Re: "https is faster on amd64?" 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, 07 Feb 2011 21:38:46 -0000 On Feb 6, 2011, at 2:14 AM, kellyremo wrote: > http://devcentral.f5.com/weblogs/macvittie/archive/2011/01/31/dispelling-the-new-ssl-myth.aspx > > according to the "SSL Performance" table it says that the transactions per second is 2-3 times better using 64bit kernels opposite to 32bit kernels? > > is this true, or i am just misunderstanding something Sort of, although you're partially misunderstanding something. SSL cryptography, like most highly math-intensive workloads, can be performed more efficiently in 64-bit architectures than in 32-bit architectures. However, SSL is almost always done in userland processes and not in the kernel. You don't have to run a 64-bit kernel to run 64-bit userland apps (on some systems, anyway), much as 64-bit kernels support running 32-bit processes as well as running 64-bit userland processes. Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 23:21:32 2011 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 CC1C3106564A for ; Mon, 7 Feb 2011 23:21:32 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.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 690278FC08 for ; Mon, 7 Feb 2011 23:21:32 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuEFAN8NUE3Unw4S/2dsb2JhbACXCo4cc7k9hVoE Received: from outmx06.plus.net ([212.159.14.18]) by relay.ptn-ipout02.plus.net with ESMTP; 07 Feb 2011 23:21:22 +0000 Received: from helix.plus.com ([84.92.153.232] helo=curlew.milibyte.co.uk) by outmx06.plus.net with esmtp (Exim) id 1PmaOY-00082r-D7; Mon, 07 Feb 2011 23:21:22 +0000 Received: by curlew.milibyte.co.uk with local (Exim 4.72) (envelope-from ) id 1PmaOX-0001jY-2X; Mon, 07 Feb 2011 23:21:21 +0000 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Mon, 7 Feb 2011 23:21:20 +0000 User-Agent: KMail/1.9.10 References: <201102072056.p17Ku5Da097335@x.it.okstate.edu> In-Reply-To: <201102072056.p17Ku5Da097335@x.it.okstate.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201102072321.21035.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false Cc: Martin McCormick Subject: Re: Using Multiple -prune directives in a find 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: Mon, 07 Feb 2011 23:21:32 -0000 On Monday 07 February 2011, Martin McCormick wrote: > Can one use the -prune directive multiple times in a > find command to specify a list of directories not to descend? > > It would be like > > find . -name "*" -prune dir1 -prune dir2 -print > > or whatever you wanted find to do, but that does not work or I > wouldn't be asking. Find appears to get confused and thinks dir1 > is a command. find . -type d -name dir1 -prune -o -name dir2 -prune -o -name \* ... should list all files except those in dir1 or dir2 -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 23:51:48 2011 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 5FB0C106564A for ; Mon, 7 Feb 2011 23:51:48 +0000 (UTC) (envelope-from kline@thought.org) Received: from thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 327E28FC0A for ; Mon, 7 Feb 2011 23:51:47 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 54DC4E804BE; Mon, 7 Feb 2011 15:51:46 -0800 (PST) Date: Mon, 7 Feb 2011 15:51:46 -0800 From: Gary Kline To: Bahman Kahinpour Message-ID: <20110207235146.GA9689@thought.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: With 24 years of service to the Unix community. User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-questions@freebsd.org Subject: Re: Debian GNU/kFreeBSD 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, 07 Feb 2011 23:51:48 -0000 On Mon, Feb 07, 2011 at 07:01:04AM +0330, Bahman Kahinpour wrote: > Hello, > I have heard that Debian project has replaced the Linux kernel in > their distribution with FreeBSD kernel and have released Debian > GNU/kFreeBSD. Since this version, they will release Debian > GNU/kFreeBSD as a "stable" port. > What is this all about? What will be consequences for FreeBSD? Will a > lot of FreeBSD users move to that distribution? > Good Luck > Bahman Kahinpour Yes! Dreams do come true .... or maybe just partly. Years ago, like late 1990's or very early 2000's, there was an effort to use the strengths of both operating systems: the unsurpassed stability of BSD along with the goodies you find in Linux. I mostly did cheerleading but when things stalled I got busy porting the FBSD libc. I was about 17% done w hen I stopped this Debian FreeBSD. You can google around and find stuff about the project. { Begin slight diversion:: IIRC, the main point of contention involved the differences between the GNU CopyLeft and the freerer BSD Copyright. For [at least one] of my projects, muuz, I even invented my own copyright. And then there are many, many other means of sharing stuff. My electronic novel, altho copyright by the Lib of Congress does not have any Digital *Wrongs* Management. ---That's my tiny contribution. So you can buy one copy of JOURNEY/DAWN for $9.47 and share it around the way I share my boughten books and music CD's and DVD's. End slight diversion; } I haven't heard anything about somebody picking up the idea on integrating Debian Linux and FreeBSD, so unless Zeus stabbed hisself in the back while about to hurl a lightening bolt, don't worry. > _______________________________________________ > 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" -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 7.98a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 00:06:52 2011 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 D30271065795 for ; Tue, 8 Feb 2011 00:06:52 +0000 (UTC) (envelope-from mailing@alokat.org) Received: from smtp.alokat.org (smtp.alokat.org [46.4.186.11]) by mx1.freebsd.org (Postfix) with ESMTP id 91D948FC1B for ; Tue, 8 Feb 2011 00:06:52 +0000 (UTC) Received: from smtp.alokat.org (localhost.localdomain [127.0.0.1]) by smtp.alokat.org (Postfix) with ESMTP id 2B74211250097 for ; Tue, 8 Feb 2011 01:06:51 +0100 (CET) Received: from [192.168.24.23] (188-192-38-254-dynip.superkabel.de [188.192.38.254]) by smtp.alokat.org (Postfix) with ESMTPSA id 1049A11250096 for ; Tue, 8 Feb 2011 01:06:51 +0100 (CET) Message-ID: <4D508917.3000202@alokat.org> Date: Tue, 08 Feb 2011 01:06:47 +0100 From: Alokat User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101226 Icedove/3.0.11 MIME-Version: 1.0 To: freebsd-questions@freebsd.org X-AV-Checked: ClamAV using ClamSMTP Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: shutdown computer after the halt 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: Tue, 08 Feb 2011 00:06:52 -0000 Hi, if I use the *halt* command I just see "the system is halted press any key to reboot" How can I fix this? * Halt* should cut off my laptop. Regards, alokat From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 00:10:48 2011 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 58A571065696 for ; Tue, 8 Feb 2011 00:10:48 +0000 (UTC) (envelope-from mailing@alokat.org) Received: from smtp.alokat.org (smtp.alokat.org [46.4.186.11]) by mx1.freebsd.org (Postfix) with ESMTP id 1C6538FC1F for ; Tue, 8 Feb 2011 00:10:47 +0000 (UTC) Received: from smtp.alokat.org (localhost.localdomain [127.0.0.1]) by smtp.alokat.org (Postfix) with ESMTP id 424D711250097 for ; Tue, 8 Feb 2011 01:10:47 +0100 (CET) Received: from [192.168.24.23] (188-192-38-254-dynip.superkabel.de [188.192.38.254]) by smtp.alokat.org (Postfix) with ESMTPSA id 276D211250096 for ; Tue, 8 Feb 2011 01:10:47 +0100 (CET) Message-ID: <4D508A03.2020401@alokat.org> Date: Tue, 08 Feb 2011 01:10:43 +0100 From: Alokat User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101226 Icedove/3.0.11 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AV-Checked: ClamAV using ClamSMTP Subject: some problems with vim 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, 08 Feb 2011 00:10:48 -0000 Hi, I have some problems by using vim. arrow up prints a B arrow down prints a C ... How can I fix this? Regards, alokat From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 00:15:17 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 519A8106567A; Tue, 8 Feb 2011 00:15:17 +0000 (UTC) Date: Tue, 8 Feb 2011 00:15:17 +0000 From: Alexander Best To: Alokat Message-ID: <20110208001517.GA72767@freebsd.org> References: <4D508917.3000202@alokat.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4D508917.3000202@alokat.org> Cc: freebsd-questions@freebsd.org Subject: Re: shutdown computer after the halt 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: Tue, 08 Feb 2011 00:15:17 -0000 On Tue Feb 8 11, Alokat wrote: > Hi, > > if I use the *halt* command I just see "the system is halted press any > key to reboot" > How can I fix this? > * > Halt* should cut off my laptop. try 'shutdown -p now' > > Regards, > alokat -- a13x From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 00:22:12 2011 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 793CD106566C for ; Tue, 8 Feb 2011 00:22:12 +0000 (UTC) (envelope-from dteske@vicor.com) Received: from postoffice.vicor.com (postoffice.vicor.com [69.26.56.53]) by mx1.freebsd.org (Postfix) with ESMTP id 5EF268FC0C for ; Tue, 8 Feb 2011 00:22:12 +0000 (UTC) Received: from [192.82.228.121] (port=50780) by postoffice.vicor.com with esmtpsa (SSLv3:AES256-SHA:256) (Exim 4.71) (envelope-from ) id 1PmbLN-0004WY-SB; Mon, 07 Feb 2011 16:22:11 -0800 From: Devin Teske To: Alokat In-Reply-To: <4D508917.3000202@alokat.org> References: <4D508917.3000202@alokat.org> Organization: VICOR, Inc. Date: Mon, 07 Feb 2011 16:22:10 -0800 Message-ID: <1297124530.2564.5.camel@dt.vicor.com> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 X-Scan-Signature: a6125d8dcff2d8a03039cda37295d2ff X-Scan-Host: postoffice.vicor.com Content-Type: text/plain; charset="cp1252" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: shutdown computer after the halt 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: Tue, 08 Feb 2011 00:22:12 -0000 On Tue, 2011-02-08 at 01:06 +0100, Alokat wrote: > Hi, > > if I use the *halt* command I just see "the system is halted press any > key to reboot" > How can I fix this? halt -p NOTE: May require ACPI support loaded into the kernel. -- Devin > * > Halt* should cut off my laptop. > > Regards, > alokat > _______________________________________________ > 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 Feb 8 00:25:41 2011 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 E06D8106566B for ; Tue, 8 Feb 2011 00:25:41 +0000 (UTC) (envelope-from dteske@vicor.com) Received: from postoffice.vicor.com (postoffice.vicor.com [69.26.56.53]) by mx1.freebsd.org (Postfix) with ESMTP id C99968FC15 for ; Tue, 8 Feb 2011 00:25:41 +0000 (UTC) Received: from [192.82.228.121] (port=50801) by postoffice.vicor.com with esmtpsa (SSLv3:AES256-SHA:256) (Exim 4.71) (envelope-from ) id 1PmbOm-0004Y6-1z; Mon, 07 Feb 2011 16:25:41 -0800 From: Devin Teske To: Alokat In-Reply-To: <4D508A03.2020401@alokat.org> References: <4D508A03.2020401@alokat.org> Organization: VICOR, Inc. Date: Mon, 07 Feb 2011 16:25:40 -0800 Message-ID: <1297124740.2564.6.camel@dt.vicor.com> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 X-Scan-Signature: 08c45bf8e3928faec3d57d321ab3d095 X-Scan-Host: postoffice.vicor.com Content-Type: text/plain; charset="cp1252" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: some problems with vim 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, 08 Feb 2011 00:25:42 -0000 On Tue, 2011-02-08 at 01:10 +0100, Alokat wrote: > Hi, > > I have some problems by using vim. > > arrow up prints a B > arrow down prints a C > ... > > How can I fix this? Try adding to ~/.vimrc set t_ku=^[[1;2B set t_kd=^[[1;2C You didn't mention what left/right do. But here's a guess: set t_kr=^[[1;2A set t_kl=^[[1;2D NOTE: You'll have to re-launch vim after creating ~/.vimrc Alternatively, this may be an artifact of an incorrectly-set TERM variable... try (if you're using csh or tcsh): setenv TERM vt100 (or if you're using sh or bash): export TERM=vt100 NOTE: you'll have to re-launch vim after changing TERM -- Devin > > Regards, > alokat > > _______________________________________________ > 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 Feb 8 00:26:22 2011 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 0E46B1065675 for ; Tue, 8 Feb 2011 00:26:22 +0000 (UTC) (envelope-from lists@eitanadler.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id CA2228FC1B for ; Tue, 8 Feb 2011 00:26:21 +0000 (UTC) Received: by iyb26 with SMTP id 26so5245567iyb.13 for ; Mon, 07 Feb 2011 16:26:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=2u0Q54CnAJtwLeB5Hw7FPpCG8F0x+LkLjIg1SuDYDTg=; b=gVxsUYndFELI6HBrOKK/ZG98CCzQqKDzE6p1QQL42CEWP0hDEucaIh4z25o5QCVaxx /2DIOyjql12ae1k+TCe+rzQZFjrj09iSXYMCk1OMYzLU66m6mVDEXvJoC2bo4ofo27yM f/p0TLxiyT1k7+kRxtFAzbK5KFkThw6jg5fiQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=pX1D1ysvICtgG/J3dlpT1YglIHPdHq7qQxVhFYHBb7w0Bpb4Qw8/t7mqiPKvutOJok SpIVX7HGuAlB3qf4ycf+tuK2yciBo9yjgOy7J5uhJVBFqaZCTgaNAvWn7RK5F3ReJRp4 9w8rX5az1vOlgNnXOdb44TUFfp25ZN7ieQKds= Received: by 10.42.179.3 with SMTP id bo3mr377627icb.385.1297124780988; Mon, 07 Feb 2011 16:26:20 -0800 (PST) MIME-Version: 1.0 Received: by 10.231.183.134 with HTTP; Mon, 7 Feb 2011 16:26:00 -0800 (PST) In-Reply-To: <1297124530.2564.5.camel@dt.vicor.com> References: <4D508917.3000202@alokat.org> <1297124530.2564.5.camel@dt.vicor.com> From: Eitan Adler Date: Mon, 7 Feb 2011 19:26:00 -0500 Message-ID: To: Devin Teske Content-Type: text/plain; charset=UTF-8 Cc: Alokat , freebsd-questions@freebsd.org Subject: Re: shutdown computer after the halt 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: Tue, 08 Feb 2011 00:26:22 -0000 >> if I use the *halt* command I just see "the system is halted press any >> key to reboot" >> How can I fix this? shutdown -p now don't use halt directly -- Eitan Adler From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 00:48:03 2011 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 C1EE31065670 for ; Tue, 8 Feb 2011 00:48:03 +0000 (UTC) (envelope-from dteske@vicor.com) Received: from postoffice.vicor.com (postoffice.vicor.com [69.26.56.53]) by mx1.freebsd.org (Postfix) with ESMTP id AA61F8FC18 for ; Tue, 8 Feb 2011 00:48:03 +0000 (UTC) Received: from [192.82.228.121] (port=50890) by postoffice.vicor.com with esmtpsa (SSLv3:AES256-SHA:256) (Exim 4.71) (envelope-from ) id 1PmbkP-0004gC-BT; Mon, 07 Feb 2011 16:48:03 -0800 From: Devin Teske To: Alokat In-Reply-To: <1297124740.2564.6.camel@dt.vicor.com> References: <4D508A03.2020401@alokat.org> <1297124740.2564.6.camel@dt.vicor.com> Organization: VICOR, Inc. Date: Mon, 07 Feb 2011 16:48:02 -0800 Message-ID: <1297126082.2564.7.camel@dt.vicor.com> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 X-Scan-Signature: 1bbfa7f3c4a0998f607da70c36bf0330 X-Scan-Host: postoffice.vicor.com Content-Type: text/plain; charset="cp1252" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: some problems with vim 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, 08 Feb 2011 00:48:03 -0000 On Mon, 2011-02-07 at 16:25 -0800, Devin Teske wrote: > On Tue, 2011-02-08 at 01:10 +0100, Alokat wrote: > > > Hi, > > > > I have some problems by using vim. > > > > arrow up prints a B > > arrow down prints a C > > ... > > > > How can I fix this? > > > Try adding to ~/.vimrc > > set t_ku=^[[1;2B > set t_kd=^[[1;2C > Minor note (hit send after forgetting the pit-fall many fall into): ^[ above is a single character produced by the two keystrokes: Control+V followed by Control+[ NOTE: Or, you can use... Control+V followed by Escape -- Devin > You didn't mention what left/right do. But here's a guess: > > set t_kr=^[[1;2A > set t_kl=^[[1;2D > > NOTE: You'll have to re-launch vim after creating ~/.vimrc > > Alternatively, this may be an artifact of an incorrectly-set TERM > variable... > > try (if you're using csh or tcsh): > > setenv TERM vt100 > > (or if you're using sh or bash): > > export TERM=vt100 > > NOTE: you'll have to re-launch vim after changing TERM > -- > Devin > > > > > > > Regards, > > alokat > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 01:13:09 2011 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 32080106566C for ; Tue, 8 Feb 2011 01:13:09 +0000 (UTC) (envelope-from dteske@vicor.com) Received: from postoffice.vicor.com (postoffice.vicor.com [69.26.56.53]) by mx1.freebsd.org (Postfix) with ESMTP id 17E6C8FC12 for ; Tue, 8 Feb 2011 01:13:08 +0000 (UTC) Received: from [192.82.228.121] (port=50984) by postoffice.vicor.com with esmtpsa (SSLv3:AES256-SHA:256) (Exim 4.71) (envelope-from ) id 1Pmc8g-0004ny-Ni; Mon, 07 Feb 2011 17:13:08 -0800 From: Devin Teske To: Eitan Adler In-Reply-To: References: <4D508917.3000202@alokat.org> <1297124530.2564.5.camel@dt.vicor.com> Organization: VICOR, Inc. Date: Mon, 07 Feb 2011 17:13:07 -0800 Message-ID: <1297127587.2564.8.camel@dt.vicor.com> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 X-Scan-Signature: 070ad4a06cbcf57376ca67789415d671 X-Scan-Host: postoffice.vicor.com Content-Type: text/plain; charset="cp1252" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Alokat , freebsd-questions@freebsd.org Subject: Re: shutdown computer after the halt 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: Tue, 08 Feb 2011 01:13:09 -0000 On Mon, 2011-02-07 at 19:26 -0500, Eitan Adler wrote: > >> if I use the *halt* command I just see "the system is halted press any > >> key to reboot" > >> How can I fix this? > > shutdown -p now > don't use halt directly > There's no technical reason to avoid using halt directly other than the fact that shutdown sends a message to connected users while halt does not. -- Devin P.S. I welcome the rebuttle as a learning experience if the above is not 100% accurate and true (but be-warned... I went around the office polling _really_ old UNIX hands before making the above statement). From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 01:38:54 2011 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 968B11065693 for ; Tue, 8 Feb 2011 01:38:54 +0000 (UTC) (envelope-from dteske@vicor.com) Received: from postoffice.vicor.com (postoffice.vicor.com [69.26.56.53]) by mx1.freebsd.org (Postfix) with ESMTP id 7BA5C8FC16 for ; Tue, 8 Feb 2011 01:38:54 +0000 (UTC) Received: from [192.82.228.121] (port=51070) by postoffice.vicor.com with esmtpsa (SSLv3:AES256-SHA:256) (Exim 4.71) (envelope-from ) id 1PmcXZ-0004vE-Nl; Mon, 07 Feb 2011 17:38:53 -0800 From: Devin Teske To: Adam Vande More In-Reply-To: References: <4D508917.3000202@alokat.org> <1297124530.2564.5.camel@dt.vicor.com> <1297127587.2564.8.camel@dt.vicor.com> Organization: VICOR, Inc. Date: Mon, 07 Feb 2011 17:38:50 -0800 Message-ID: <1297129130.2564.10.camel@dt.vicor.com> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 X-Scan-Signature: addf82e302fb7b54175bfd27340b229c X-Scan-Host: postoffice.vicor.com Content-Type: text/plain; charset="cp1252" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Eitan Adler , Alokat , freebsd-questions@freebsd.org Subject: Re: shutdown computer after the halt 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: Tue, 08 Feb 2011 01:38:54 -0000 On Mon, 2011-02-07 at 19:26 -0600, Adam Vande More wrote: > On Mon, Feb 7, 2011 at 7:13 PM, Devin Teske wrote: > > There's no technical reason to avoid using halt directly other > than the > fact that shutdown sends a message to connected users while > halt does > not. > -- > Devin > > P.S. I welcome the rebuttle as a learning experience if the > above is not > 100% accurate and true (but be-warned... I went around the > office > polling _really_ old UNIX hands before making the above > statement). > > > I used to believe that until I was shown I was wrong. The easiest way > to see you're wrong is to drop to ttyv0 then do one of each like a > reboot then a shutdown -r now. In the latter case, you'll > notice /etc/rc.d/ and /usr/local/etc/rc.d/ stop scripts being > processed but not so in the former. In both types of shutdowns, > everything *should* exit cleanly but processes are terminated with > different signals and certain types of applications really need the > full rc stop script to end cleanly like HAST and CARP for example. > > shutdown -r/p is a really good habit to form. > > FWIW, someone also stated reboot on Linux behaves like shutdown -r now > so that I sure contributes to the confusion. Thank you very much for the explanation! Yes, I (we) had completely forgotten about the shutdown scripts. Of course, many of us still remember the days when it standard fare to "sync; sync; halt". -- Devin > > > > -- > Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 01:46:41 2011 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 7DC601065675 for ; Tue, 8 Feb 2011 01:46:41 +0000 (UTC) (envelope-from Dave.Robison@fisglobal.com) Received: from mailoutltc.fnis.com (mailoutltc.fnis.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 442788FC16 for ; Tue, 8 Feb 2011 01:46:40 +0000 (UTC) Received: from SBHFISLREXT03 ([10.132.254.62]) by SCSFISLTC01 (8.14.3/8.14.3) with ESMTP id p181kCY5012841 for ; Mon, 7 Feb 2011 19:46:12 -0600 Received: from sbhfisltcgw02.FNFIS.COM (Not Verified[10.132.248.122]) by SBHFISLREXT03 with MailMarshal (v6, 5, 4, 7535) id ; Mon, 07 Feb 2011 19:46:14 -0600 Received: from SBHFISLTCGW07.FNFIS.COM ([10.132.248.135]) by sbhfisltcgw02.FNFIS.COM with Microsoft SMTPSVC(6.0.3790.4675); Mon, 7 Feb 2011 19:46:12 -0600 Received: from lefty.vicor.com ([10.132.254.135]) by SBHFISLTCGW07.FNFIS.COM over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Mon, 7 Feb 2011 19:46:11 -0600 Message-ID: <4D50A063.6090406@fisglobal.com> Date: Mon, 07 Feb 2011 17:46:11 -0800 From: "Robison, Dave" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.13) Gecko/20101222 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4D508917.3000202@alokat.org> <1297124530.2564.5.camel@dt.vicor.com> <1297127587.2564.8.camel@dt.vicor.com> <1297129130.2564.10.camel@dt.vicor.com> In-Reply-To: <1297129130.2564.10.camel@dt.vicor.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 08 Feb 2011 01:46:11.0772 (UTC) FILETIME=[F6C67FC0:01CBC731] Subject: Re: shutdown computer after the halt command X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: david.robison@fisglobal.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Feb 2011 01:46:41 -0000 Allow me to split hairs here. I was taught "sync;sync;sync;halt". One for the father, one for the son, one for the holy spirit. This, of course, in the days when I/O was slow enough that sync didn't have time to finish before the halt, so doing it three times ensured your file system shut down cleanly. Dave On 02/07/11 17:38, Devin Teske wrote: > On Mon, 2011-02-07 at 19:26 -0600, Adam Vande More wrote: >> On Mon, Feb 7, 2011 at 7:13 PM, Devin Teske wrote: >> >> There's no technical reason to avoid using halt directly other >> than the >> fact that shutdown sends a message to connected users while >> halt does >> not. >> -- >> Devin >> >> P.S. I welcome the rebuttle as a learning experience if the >> above is not >> 100% accurate and true (but be-warned... I went around the >> office >> polling _really_ old UNIX hands before making the above >> statement). >> >> >> I used to believe that until I was shown I was wrong. The easiest way >> to see you're wrong is to drop to ttyv0 then do one of each like a >> reboot then a shutdown -r now. In the latter case, you'll >> notice /etc/rc.d/ and /usr/local/etc/rc.d/ stop scripts being >> processed but not so in the former. In both types of shutdowns, >> everything *should* exit cleanly but processes are terminated with >> different signals and certain types of applications really need the >> full rc stop script to end cleanly like HAST and CARP for example. >> >> shutdown -r/p is a really good habit to form. >> >> FWIW, someone also stated reboot on Linux behaves like shutdown -r now >> so that I sure contributes to the confusion. > > Thank you very much for the explanation! > > Yes, I (we) had completely forgotten about the shutdown scripts. > > Of course, many of us still remember the days when it standard fare to > "sync; sync; halt". > -- > Devin > > > >> >> >> -- >> Adam Vande More > > _______________________________________________ > 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" > -- Dave Robison Sales Solution Architect II FIS Banking Solutions 510/621-2089 (w) 530/518-5194 (c) 510/621-2020 (f) daver@vicor.com david.robison@fisglobal.com _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you. _____________ From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 01:46:54 2011 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 94462106566B for ; Tue, 8 Feb 2011 01:46:54 +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 536678FC1F for ; Tue, 8 Feb 2011 01:46:54 +0000 (UTC) Received: from r55.edvax.de (port-92-195-143-131.dynamic.qsc.de [92.195.143.131]) by mx02.qsc.de (Postfix) with ESMTP id 548DA24B7A; Tue, 8 Feb 2011 02:46:52 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p181kpBD001507; Tue, 8 Feb 2011 02:46:51 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Tue, 8 Feb 2011 02:46:51 +0100 From: Polytropon To: Devin Teske Message-Id: <20110208024651.1346bf84.freebsd@edvax.de> In-Reply-To: <1297129130.2564.10.camel@dt.vicor.com> References: <4D508917.3000202@alokat.org> <1297124530.2564.5.camel@dt.vicor.com> <1297127587.2564.8.camel@dt.vicor.com> <1297129130.2564.10.camel@dt.vicor.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: freebsd-questions@freebsd.org Subject: Re: shutdown computer after the halt command 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: Tue, 08 Feb 2011 01:46:54 -0000 On Mon, 07 Feb 2011 17:38:50 -0800, Devin Teske wrote: > Of course, many of us still remember the days when it standard fare to > "sync; sync; halt". Erm... what about "sync; sync; init 0"? :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 01:50:34 2011 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 06EE4106564A for ; Tue, 8 Feb 2011 01:50:34 +0000 (UTC) (envelope-from amvandemore@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 8B0628FC08 for ; Tue, 8 Feb 2011 01:50:33 +0000 (UTC) Received: by fxm16 with SMTP id 16so5799387fxm.13 for ; Mon, 07 Feb 2011 17:50:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=Rke6N2VBWw9grw0+L5tjMOBOqfdgj95yU7cBfnDZs48=; b=QFpB7keYOQwN2vTIzq2xR7X3YJiq1TbNpRQFhR8tdqheRcFsddAUIq9UkwTXX4Week /f8Jp9xtoMgitonYYFmAjvIWiI6+Nbs9SkdpWEPXT3ikERi6NvQ0WpLRDXRpua3Ei3Ju 3sOcSKbgEgUE/z6M//t5v3+hrc+HhyaYyQtqI= 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=F1RIPFKbK4pr2gOfNawQIdOeGdEXYGRTiYabi690mpRVn+NumMy/I8KI1PgHFqwGml ks+qY4XBY2GRJD1l/nxzYwmmdB8pqbgaXSYGiEuXBeYv1g10x1TAVKnila9f1TbVfpB3 tpkjm1ch7ZaPN3VqSVLyOQ7OeV0CUKwdV3ds4= MIME-Version: 1.0 Received: by 10.223.116.1 with SMTP id k1mr5395123faq.51.1297128377419; Mon, 07 Feb 2011 17:26:17 -0800 (PST) Received: by 10.223.114.4 with HTTP; Mon, 7 Feb 2011 17:26:17 -0800 (PST) In-Reply-To: <1297127587.2564.8.camel@dt.vicor.com> References: <4D508917.3000202@alokat.org> <1297124530.2564.5.camel@dt.vicor.com> <1297127587.2564.8.camel@dt.vicor.com> Date: Mon, 7 Feb 2011 19:26:17 -0600 Message-ID: From: Adam Vande More To: Devin Teske Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Eitan Adler , Alokat , freebsd-questions@freebsd.org Subject: Re: shutdown computer after the halt 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: Tue, 08 Feb 2011 01:50:34 -0000 On Mon, Feb 7, 2011 at 7:13 PM, Devin Teske wrote: > There's no technical reason to avoid using halt directly other than the > fact that shutdown sends a message to connected users while halt does > not. > -- > Devin > > P.S. I welcome the rebuttle as a learning experience if the above is not > 100% accurate and true (but be-warned... I went around the office > polling _really_ old UNIX hands before making the above statement). > I used to believe that until I was shown I was wrong. The easiest way to see you're wrong is to drop to ttyv0 then do one of each like a reboot then a shutdown -r now. In the latter case, you'll notice /etc/rc.d/ and /usr/local/etc/rc.d/ stop scripts being processed but not so in the former. In both types of shutdowns, everything *should* exit cleanly but processes are terminated with different signals and certain types of applications really need the full rc stop script to end cleanly like HAST and CARP for example. shutdown -r/p is a really good habit to form. FWIW, someone also stated reboot on Linux behaves like shutdown -r now so that I sure contributes to the confusion. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 02:38:25 2011 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 B634D106566B for ; Tue, 8 Feb 2011 02:38:25 +0000 (UTC) (envelope-from coco@executive-computing.de) Received: from mail.moehre.org (mail.moehre.org [195.96.35.7]) by mx1.freebsd.org (Postfix) with ESMTP id 76CF08FC15 for ; Tue, 8 Feb 2011 02:38:25 +0000 (UTC) Received: from mail.moehre.org (unknown [195.96.35.7]) by mail.moehre.org (Postfix) with ESMTP id 645FA8B143B for ; Tue, 8 Feb 2011 03:22:39 +0100 (CET) X-Spam-Flag: NO X-Spam-Score: -100.962 X-Spam-Level: X-Spam-Status: No, score=-100.962 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1, AWL=0.038, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mail.moehre.org ([195.96.35.7]) by mail.moehre.org (mail.moehre.org [195.96.35.7]) (amavisd-new, port 10024) with ESMTP id zGKQQ1Zemsrg for ; Tue, 8 Feb 2011 03:22:37 +0100 (CET) Received: from [192.168.100.35] (p54B0DF5B.dip.t-dialin.net [84.176.223.91]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: coco@executive-computing.de) by mail.moehre.org (Postfix) with ESMTPSA id 728348B141B for ; Tue, 8 Feb 2011 03:22:37 +0100 (CET) Message-ID: <4D50A840.8010803@executive-computing.de> Date: Tue, 08 Feb 2011 03:19:44 +0100 From: Marco Steinbach User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: Terminal Server/BREAK_TO_DEBUGGER 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, 08 Feb 2011 02:38:25 -0000 Hi there, I'm trying to break a FreeBSD/i386 machine into the debugger via serial console connected to an older Avocent CPS 1600 serial terminal server. I'm using cu on another FreeBSD/i386 machine to connect to one of the other serial ports of the Avocent. The CPS offers a "port break" command for creating a break condition on an attached serial port, but that doesn't trigger anything on the receiving FreeBSD machine. Using a direct serial connection (just 2x3, GND) between the machines works, though. I realize this being quite a long shot -- Someone ever used such a box successfuly for the purpose ? MfG CoCo From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 03:13:08 2011 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 79EB4106564A for ; Tue, 8 Feb 2011 03:13:08 +0000 (UTC) (envelope-from e.schuele@computer.org) Received: from smtpauth04.prod.mesa1.secureserver.net (smtpauth04.prod.mesa1.secureserver.net [64.202.165.95]) by mx1.freebsd.org (Postfix) with SMTP id 4FC078FC14 for ; Tue, 8 Feb 2011 03:13:08 +0000 (UTC) Received: (qmail 21211 invoked from network); 8 Feb 2011 03:13:07 -0000 Received: from unknown (71.164.218.188) by smtpauth04.prod.mesa1.secureserver.net (64.202.165.95) with ESMTP; 08 Feb 2011 03:13:07 -0000 Message-ID: <4D50B485.1040007@computer.org> Date: Mon, 07 Feb 2011 21:12:05 -0600 From: Eric Schuele User-Agent: Thunderbird 2.0.0.23 (X11/20090904) MIME-Version: 1.0 To: Adam Vande More References: <4D4DF58D.2040506@computer.org> <4D4F644F.1040006@computer.org> <4D4F65A2.1040802@computer.org> <4D4FDE6E.9050301@computer.org> In-Reply-To: <4D4FDE6E.9050301@computer.org> X-Enigmail-Version: 0.95.2 OpenPGP: url=http://www.ravenlock.us/keys/pub_schuele.pgp Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC2BF84D3522D5654A9A0D23E" Cc: FreeBSD Questions Subject: Re: 8.2 prerelease, virtualbox, and windows guests that freeze... [Solved] 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, 08 Feb 2011 03:13:08 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC2BF84D3522D5654A9A0D23E Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 02/07/2011 05:58, Eric Schuele wrote: > On 02/06/2011 22:02, Adam Vande More wrote: >> On Sun, Feb 6, 2011 at 9:23 PM, Eric Schuele = wrote: >> >>> Ok... found the logs. :) >>> Looks as if each machine has 4 log files, and that the set of files i= s >>> from the last run. Anything in there I could post to help diagnose? >>> >> Let's see what's in the most recent log of an affected VM. If you hav= e any >> funky options like page fusion enabled disable them. >=20 > After looking in the logs I found an error. :) > "AIOMgr: Error happened " >=20 > This led me to an open issues in VirtualBox's bug tracker. The propose= d > work around is to either *enable* th "Use Host I/O cache" on your > virtualized SATA disks, or just use virtualized IDE disks. I am testin= g > this now. >=20 > Will let you know how it turns out. Thanks guys! I've had my VMs running longer this evening than before. I'm gonna call this one fixed. For the archives, here is the VirtualBox bug report I was referring to that mentions the host I/O cache. http://www.virtualbox.org/ticket/7363 Thanks. >=20 >> What the output of gstat(8) and top(1) look like when you reach this >> degraded state? >> >> >=20 >=20 --=20 Regards, Eric --------------enigC2BF84D3522D5654A9A0D23E Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.13 (FreeBSD) iEYEARECAAYFAk1QtIUACgkQngSDRM3IXUpCaACeNRCYCinHTjR/mE+58nuR3GAj G58AnRChNACtCBz+9f7iwP66+Iyov3jQ =f5PX -----END PGP SIGNATURE----- --------------enigC2BF84D3522D5654A9A0D23E-- From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 03:21:33 2011 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 F1771106566B for ; Tue, 8 Feb 2011 03:21:33 +0000 (UTC) (envelope-from prvs=0013eb39ed=johnl@iecc.com) Received: from gal.iecc.com (gal.iecc.com [64.57.183.53]) by mx1.freebsd.org (Postfix) with ESMTP id 513428FC0C for ; Tue, 8 Feb 2011 03:21:32 +0000 (UTC) Received: (qmail 47073 invoked from network); 8 Feb 2011 02:54:51 -0000 Received: from mail1.iecc.com (64.57.183.56) by mail1.iecc.com with QMQP; 8 Feb 2011 02:54:51 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:subject:in-reply-to:cc:mime-version:content-type:content-transfer-encoding:vbr-info; s=5e5b.4d50b07b.k1102; i=johnl@user.iecc.com; bh=H6plITNe+tvtbj76fc4wlGkQzhcWh1wfCexQ8d867bQ=; b=lnKImPQn935eqPj1LFc981hHLKnyw01/ky3MGMUr2ar1CSvXgrLWoYZvSZLr6c2aINxHhNfOsuI6LGOQdpfJ4+l4I2eT/SJNF/APnx6usY7lAo4nvVcQVgxw4MQImk3ufaihh2D6Uuu/NLqYivslm2+8lpaIxEysb4DTZBMRnFk= VBR-Info: md=iecc.com; mc=all; mv=dwl.spamhaus.org Date: 8 Feb 2011 02:54:51 -0000 Message-ID: <20110208025451.24154.qmail@joyce.lan> From: John Levine To: freebsd-questions@freebsd.org In-Reply-To: Organization: X-Headerized: yes Mime-Version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: 7bit Cc: amvandemore@gmail.com Subject: Re: shutdown computer after the halt 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: Tue, 08 Feb 2011 03:21:34 -0000 >I used to believe that until I was shown I was wrong. The easiest way to >see you're wrong is to drop to ttyv0 then do one of each like a reboot then >a shutdown -r now. In the latter case, you'll notice /etc/rc.d/ and >/usr/local/etc/rc.d/ stop scripts being processed but not so in the former. Uh, no. shutdown or halt signals init, and init runs /etc/rc.shutdown which runs all the shutdown scripts. The only extra work that shutdown does is to blat lots of warnings onto the ttys. Read the man pages for shutdown, halt, and init if you believe otherwise. Regards, John Levine, johnl@iecc.com, Primary Perpetrator of "The Internet for Dummies", Please consider the environment before reading this e-mail. http://jl.ly From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 03:24:34 2011 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 71804106566B for ; Tue, 8 Feb 2011 03:24:34 +0000 (UTC) (envelope-from amvandemore@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 04C138FC17 for ; Tue, 8 Feb 2011 03:24:33 +0000 (UTC) Received: by fxm16 with SMTP id 16so5877263fxm.13 for ; Mon, 07 Feb 2011 19:24:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=w7a3UNwp+tSqCjMU9UpsvdJJOrTbloFRxMup58Z0Wzk=; b=UwNsqX+A8hCb4nD4e4u7viO8ny5QhdLBRoRsg3Tt9Jr4wniGeKL6PGZ6YYbGdircqc VNwnEpsgER49KeDbrevzcW9txi3pXyauejyF/NU8esT14FvF2Hheiey4v841/QnL5Cb8 6FqSWbMnOuwLReLpCnI2EWtA3QvbvHeZNWvcw= 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=wXF2TeBJ+ZaU06emc6obtCMBUXAyWoBvCr66TtCCUv/2N/2zvfbF+pI+A0pc2Q5NpL v+aZenKVkWF4HIgiBRmgK8IndGH0PbVRUDF1gNFoMiQhjh4diKtgSEeHy2Qn4Ag2H1O5 p2S9T13lAxEHVe53lH0kNwvOLW1RoYcQ18HfY= MIME-Version: 1.0 Received: by 10.223.106.129 with SMTP id x1mr893004fao.13.1297135471011; Mon, 07 Feb 2011 19:24:31 -0800 (PST) Received: by 10.223.114.4 with HTTP; Mon, 7 Feb 2011 19:24:30 -0800 (PST) In-Reply-To: <20110208025451.24154.qmail@joyce.lan> References: <20110208025451.24154.qmail@joyce.lan> Date: Mon, 7 Feb 2011 21:24:30 -0600 Message-ID: From: Adam Vande More To: John Levine Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: shutdown computer after the halt 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: Tue, 08 Feb 2011 03:24:34 -0000 On Mon, Feb 7, 2011 at 8:54 PM, John Levine wrote: > >I used to believe that until I was shown I was wrong. The easiest way to > >see you're wrong is to drop to ttyv0 then do one of each like a reboot > then > >a shutdown -r now. In the latter case, you'll notice /etc/rc.d/ and > >/usr/local/etc/rc.d/ stop scripts being processed but not so in the > former. > > Uh, no. shutdown or halt signals init, and init runs /etc/rc.shutdown > which runs all the shutdown scripts. The only extra work that > shutdown does is to blat lots of warnings onto the ttys. > > Read the man pages for shutdown, halt, and init if you believe otherwise. > Yes please do so as that's not what it says at all although I think could certainly be a worded better. It's quite easy to see you're wrong, just follow the steps I outlined above. If you are correct, reboot(8) should print things like: Stopping sshd. to the console. It doesn't and shutdown(8) does so the proof is right there. The reboot man page only hints at it though unfortunately which caused my initial confusion(in addition to the permissions mismatch between the two). Normally, the shutdown(8) utility is used when the system needs to be halted or restarted, giving users advance warning of their impending doom and cleanly terminating specific programs. You can also reference init.c if you still think you're correct. In addition, please read carefully through this thread and then examine your arguments vs what is reality and then we can all be on the same page. http://lists.freebsd.org/pipermail/freebsd-stable/2010-December/060519.html -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 03:31:24 2011 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 91076106566C for ; Tue, 8 Feb 2011 03:31:24 +0000 (UTC) (envelope-from prvs=0013eb39ed=johnl@iecc.com) Received: from gal.iecc.com (gal.iecc.com [64.57.183.53]) by mx1.freebsd.org (Postfix) with ESMTP id 3EDFD8FC19 for ; Tue, 8 Feb 2011 03:31:23 +0000 (UTC) Received: (qmail 53620 invoked from network); 8 Feb 2011 03:31:20 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:references:mime-version:content-type:vbr-info:user-agent:cleverness; s=d173.4d50b908.k1102; i=johnl@submit.iecc.com; bh=FGsWiIl5PNqJbkTwRXWl2xgmyxFH4ck3sizDiaynSEA=; b=UmX+9f0IkVyLZIv6swub/hyJIFD5qqmdCTsqjINoAj2aBBaPpUMJvlCZwH5kCHBeIXDB0ooTORTyjQN2x2C7WePMGGcj/YcDeRFSZ1qYvHGUZhQOURn1mrDSz8wdgqDB66+z2QtiTVMCPJ6pO1dZuFYRld8fnTW190xr/Dr327I= VBR-Info: md=iecc.com; mc=all; mv=dwl.spamhaus.org Received: (ofmipd johnl@64.57.183.62) with (DHE-RSA-AES256-SHA encrypted) SMTP; 8 Feb 2011 03:30:58 -0000 Date: 7 Feb 2011 22:31:19 -0500 Message-ID: From: "John R. Levine" To: "Adam Vande More" In-Reply-To: References: <20110208025451.24154.qmail@joyce.lan> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Cleverness: None detected MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: shutdown computer after the halt 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: Tue, 08 Feb 2011 03:31:24 -0000 > It's quite easy to see you're wrong, just follow the steps I outlined > above. If you are correct, reboot(8) should print things like: > > Stopping sshd. > > to the console. Sigh. I shut down my FreeBSD 8.1 laptop all the time with halt -p, and I can assure you it prints all those messages. > You can also reference init.c if you still think you're correct. No thanks, I've already read the man page for init, including this paragraph: When shutting down the machine, init will try to run the /etc/rc.shutdown script. This script can be used to cleanly terminate specific programs such as innd (the InterNetNews server). If this script does not termi- nate within 120 seconds, init will terminate it. The timeout can be con- figured via the sysctl(8) variable kern.init_shutdown_timeout. If you're unfamiliar with rc.shutdown, it also has a man page. Perhaps your copy of FreeBSD was installed incorrectly, or it's been so long since you tried halt or reboot that you forgot what happened. Regards, John Levine, johnl@iecc.com, Primary Perpetrator of "The Internet for Dummies", Please consider the environment before reading this e-mail. http://jl.ly From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 04:19:50 2011 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 3763F106566C for ; Tue, 8 Feb 2011 04:19:50 +0000 (UTC) (envelope-from amvandemore@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 BE8208FC0A for ; Tue, 8 Feb 2011 04:19:49 +0000 (UTC) Received: by fxm16 with SMTP id 16so5913079fxm.13 for ; Mon, 07 Feb 2011 20:19:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=TUQMYIwa/KAoGgHFLigitsjMuLX5C1ErMj+Lgq8zVIE=; b=OAQzdNlMFfvPat65S7GhGFygQaug9McoTjBIKocIhfcdxyVkfRTf/ZuPbaxRdhAdJ/ 9fdDzXjfdq7mmOHnhRdCSbJFO5uYw/BYfYdWgwUdIbTTsao88xxBMTTYOV3p7XGhYe+0 we2rwkmzH2BLhf6XhOpaWTRT7wTCQKSla+0Bk= 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=giFMBHf20Z7wUoaT2dnxRB9ddpI5VHZ3zjWXop6dQHBW0Ee+rs49AcYpTTejv5WWYu 6avfE86ag13b1Qk/wJUkd3O+Edu1zcxyXY4IsOBQPltUKfK8QWBllNvia3x8ErOEzQcE tRljDVAZX0j1/x+4qPVJY/z2PQxX2hDEJEq7g= MIME-Version: 1.0 Received: by 10.223.86.135 with SMTP id s7mr15926041fal.70.1297138788630; Mon, 07 Feb 2011 20:19:48 -0800 (PST) Received: by 10.223.114.4 with HTTP; Mon, 7 Feb 2011 20:19:48 -0800 (PST) In-Reply-To: References: <20110208025451.24154.qmail@joyce.lan> Date: Mon, 7 Feb 2011 22:19:48 -0600 Message-ID: From: Adam Vande More To: "John R. Levine" Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: shutdown computer after the halt 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: Tue, 08 Feb 2011 04:19:50 -0000 On Mon, Feb 7, 2011 at 9:31 PM, John R. Levine wrote: > It's quite easy to see you're wrong, just follow the steps I outlined >> above. If you are correct, reboot(8) should print things like: >> >> Stopping sshd. >> >> to the console. >> > > Sigh. I shut down my FreeBSD 8.1 laptop all the time with halt -p, and I > can assure you it prints all those messages. Are you hitting the bottle hard tonight? It does no such thing. You can also reference init.c if you still think you're correct. > No thanks, I've already read the man page for init, including this > paragraph: > > When shutting down the machine, init will try to run the > /etc/rc.shutdown > script. This script can be used to cleanly terminate specific programs > such as innd (the InterNetNews server). If this script does not termi- > nate within 120 seconds, init will terminate it. The timeout can be > con- > figured via the sysctl(8) variable kern.init_shutdown_timeout. > Exactly, reboot(8) doesn't call init, shutdown(8) does. See reboot.c, shutdown.c -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 04:22:19 2011 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 E936C106566B for ; Tue, 8 Feb 2011 04:22:19 +0000 (UTC) (envelope-from rfarmer@predatorlabs.net) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 7998A8FC14 for ; Tue, 8 Feb 2011 04:22:19 +0000 (UTC) Received: by wwf26 with SMTP id 26so5406429wwf.31 for ; Mon, 07 Feb 2011 20:22:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=predatorlabs.net; s=google; h=domainkey-signature:mime-version:x-originating-ip:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=uXQ9ijr1FzXhVgjPPZjd7TJ3u5eaDYydYNlm7wQ7db8=; b=P3JDqC54Mw4aGUXJXYKc/UV8qaavA054cviWyVOfjtNouW/amji8HfM4KhK9ngMUxw L+0mzuzErVQ17Rr5p/cMNDNrjvtaSln6wnaoYdKh+a8fzwCdkvQ21JnzukRgCLxreRwA G3bVhJL9q5OFZZRfdUHNM/gX4Nrk+AkgFH3EI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=predatorlabs.net; s=google; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=XbV6lkCbkhT4LUBqv6BtWcAKf6V7F5ywtx23OV8WfL9WYIYO35TdzxjFYUtAY9mOGF S8ZHDH9c3lkhdT9PfQP46la+GqYqV1SsuvSJtIwZt/8HafvGQ11Idn4g5y+LxsBu4sNG Lpa6Ph/HRzA8VynQNg9OlprVmpissDLSm/v5M= MIME-Version: 1.0 Received: by 10.216.179.207 with SMTP id h57mr15225784wem.20.1297138937669; Mon, 07 Feb 2011 20:22:17 -0800 (PST) Received: by 10.216.242.130 with HTTP; Mon, 7 Feb 2011 20:22:17 -0800 (PST) X-Originating-IP: [128.95.133.83] In-Reply-To: References: <20110208025451.24154.qmail@joyce.lan> Date: Mon, 7 Feb 2011 20:22:17 -0800 Message-ID: From: Rob Farmer To: "John R. Levine" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Adam Vande More , freebsd-questions@freebsd.org Subject: Re: shutdown computer after the halt 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: Tue, 08 Feb 2011 04:22:20 -0000 On Mon, Feb 7, 2011 at 7:31 PM, John R. Levine wrote: >> It's quite easy to see you're wrong, just follow the steps I outlined >> above. =A0If you are correct, reboot(8) should print things like: >> >> Stopping sshd. >> >> to the console. > > Sigh. =A0I shut down my FreeBSD 8.1 laptop all the time with halt -p, and= I > can assure you it prints all those messages. > Well, that's not what everyone else sees. >> You can also reference init.c if you still think you're correct. > > No thanks, I've already read the man page for init, including this > paragraph: > That man page hasn't been more than minorly tweaked in over 10 years, according to cvsweb. > Perhaps your copy of FreeBSD was installed incorrectly, or it's been > so long since you tried halt or reboot that you forgot what happened. > Just did - it kills all process and moves to the syncing disks stage. Nothing rc related is touched. --=20 Rob Farmer From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 06:11:04 2011 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 262A5106566C for ; Tue, 8 Feb 2011 06:11:04 +0000 (UTC) (envelope-from prvs=0013eb39ed=johnl@iecc.com) Received: from gal.iecc.com (gal.iecc.com [64.57.183.53]) by mx1.freebsd.org (Postfix) with ESMTP id AA35C8FC14 for ; Tue, 8 Feb 2011 06:11:03 +0000 (UTC) Received: (qmail 83074 invoked from network); 8 Feb 2011 06:11:02 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple; d=iecc.com; h=date:message-id:from:to:cc:subject:in-reply-to:references:mime-version:content-type:vbr-info:user-agent:cleverness; s=14481.4d50de76.k1102; i=johnl@submit.iecc.com; bh=jbMz1oTttbGYqf5z3Cge1UM3NxJFCs9iuYgdD+GWhUc=; b=QrlIIeJDPO5R9JvVNY8sOxlCOwttBP5k2yvFujDtNG176SXe6gY1SRFkeP3FnmEnfbCjjdgUwK13tSQI4x5uJ5CrlsXGCdm0UeiNH1Y4pauJoQ7ZhsOOJBzCnCW+HMEFw19xHijZ6+d6ga5X5ZV6zjqukl+SoAwfmbemW2jU/qw= VBR-Info: md=iecc.com; mc=all; mv=dwl.spamhaus.org Received: (ofmipd johnl@64.57.183.62) with (DHE-RSA-AES256-SHA encrypted) SMTP; 8 Feb 2011 06:10:40 -0000 Date: 8 Feb 2011 01:11:02 -0500 Message-ID: From: "John R. Levine" To: "Rob Farmer" In-Reply-To: References: <20110208025451.24154.qmail@joyce.lan> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) Cleverness: None detected MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Adam Vande More , freebsd-questions@freebsd.org Subject: Re: shutdown computer after the halt 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: Tue, 08 Feb 2011 06:11:04 -0000 Hmmn, I looked at the code and by golly you're right, halt/reboot doesn't poke init. Nonetheless, I really do see a lot of "foo stopping" messages when I use halt, presumably because the SIGTERM that halt/reboot sends has the same effect (if not the same ordering) as the ones that the various rc.d scripts send. Looks like "init 0" would be tidier than halt -p, and in the finest Unix tradition, is one less character to type. Regards, John Levine, johnl@iecc.com, Primary Perpetrator of "The Internet for Dummies", Please consider the environment before reading this e-mail. http://jl.ly From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 07:55:57 2011 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 A6E0F106566B for ; Tue, 8 Feb 2011 07:55:57 +0000 (UTC) (envelope-from demelier.david@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 36A218FC16 for ; Tue, 8 Feb 2011 07:55:56 +0000 (UTC) Received: by wyf19 with SMTP id 19so5613384wyf.13 for ; Mon, 07 Feb 2011 23:55:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=/NnmENBQz+9KNz4SIH4RwoESeRyRIZszEBAxVNKrdJA=; b=AUqonl1q+C/QbFUgDAIyuFckogtRXCR7rl7zVTXPdmMFtOiOe4PFoN08eh4Nrrb1kq rl6iFRlhyQKVLKBuev0weMk80DBK6w7b3zhLd4HBgpuN5hFT4pfIYC5NKKUoiRrmFqdX EAaItLnlZf9G3iyseS3YVhX03xhAcYOcBzCW4= 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=ATaGguZ94liUzjKV5vXGRtTjderJYGWN1PV/4btKb7jz4i7qtyofujfMbzKtXb2SaJ 9MW7Uq+vFtC8RnG/RHZljUvZlKyNL5j1vMM2gwFV3SVQ0UagEM+lk03RgI0z5p+lRWVS SG8jOE2PhFgX0ZvOhtCn4LyBghTaav7OLvrsw= Received: by 10.227.145.143 with SMTP id d15mr17178280wbv.91.1297151756174; Mon, 07 Feb 2011 23:55:56 -0800 (PST) Received: from Melon.malikania.fr (wifi-osiris-sec-181-149.u-strasbg.fr [130.79.181.149]) by mx.google.com with ESMTPS id y29sm4151584wbd.22.2011.02.07.23.55.54 (version=SSLv3 cipher=RC4-MD5); Mon, 07 Feb 2011 23:55:55 -0800 (PST) Message-ID: <4D50F6F8.6070100@gmail.com> Date: Tue, 08 Feb 2011 08:55:36 +0100 From: David Demelier User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20110125 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: VESA and SDL in tty terminal 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, 08 Feb 2011 07:55:57 -0000 Hello, The SDL's pkg-message says we can use video driver in tty terminal. To do this you have to load the vesa kernel module or enable it in your kernel, and set environment variable "SDL_VIDEODRIVER=vgl". I tried it with mplayer : $ SDL_VIDEODRIVER=vgl; export SDL_VIDEODRIVER $ mplayer -vo sdl And that's what happened : AVI file format detected. [aviheader] Video stream found, -vid 0 [aviheader] Audio stream found, -aid 1 [aviheader] Audio stream found, -aid 2 VIDEO: [XVID] 656x368 12bpp 25.000 fps 854.5 kbps (104.3 kbyte/s) Clip info: Software: VirtualDubMod 1.5.4.1 (build 2178/release) [VO_SDL] Using driver: vgl. vo: couldn't open the X11 display ()! Opening video filter: [scale] ========================================================================== Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4) ========================================================================== ========================================================================== Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000) Selected audio codec: [ffac3] afm: ffmpeg (FFmpeg AC-3) ========================================================================== AO: [oss] 48000Hz 2ch s16le (2 bytes per sample) Starting playback... Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. [swscaler @ 0xc6d2e0]using unscaled yuv420p -> yuv420p special converter VO: [sdl] 656x368 => 656x368 Planar YV12 [VO_SDL] Set_fullmode: SDL_SetVideoMode failed: Unable to switch to requested mode. [VO_SDL] Failed to set video mode: Unable to switch to requested mode. FATAL: Cannot initialize video driver. Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. VO: [sdl] 656x368 => 656x368 Planar YV12 [message repeated a lot of time] Do you have any idea? I of course compiled my kernel with the following options : options VESA options X86BIOS options SC_PIXEL_MODE and my terminal is set to the mode 496 (0x1f0) 0x0000001f G 1366x768x32 D 8x16 0xa0000 64k 64k 0xc0000000 4128k Cheers, -- David Demelier From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 10:33:56 2011 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 6C419106564A for ; Tue, 8 Feb 2011 10:33:56 +0000 (UTC) (envelope-from mbak@inbox.lv) Received: from thor.iszerviz.hu (thor.iszerviz.hu [62.77.131.9]) by mx1.freebsd.org (Postfix) with ESMTP id 2ED088FC3D for ; Tue, 8 Feb 2011 10:33:55 +0000 (UTC) Received: from [10.2.2.50] (m0n0.serverbank.hu [62.77.131.200]) by thor.iszerviz.hu (Postfix) with ESMTPSA id D051F4FEB3; Tue, 8 Feb 2011 11:33:54 +0100 (CET) Message-ID: <4D511C0D.2000100@inbox.lv> Date: Tue, 08 Feb 2011 11:33:49 +0100 From: Mikael Bak User-Agent: Thunderbird 2.0.0.24 (X11/20101027) MIME-Version: 1.0 To: Paul Macdonald References: <4D50217A.6030700@inbox.lv> <4D5033C1.1010604@ifdnrg.com> In-Reply-To: <4D5033C1.1010604@ifdnrg.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Follow a port of a specific major verion 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, 08 Feb 2011 10:33:56 -0000 Hi Paul, Paul Macdonald wrote: > On 07/02/2011 16:44, Mikael Bak wrote: >> So my question is: How can I make the ports system act as if I had >> installed Postfix like this?: >> >> cd /usr/ports/mail/postfix27 >> make install clean >> >> Is there a way to tell the ports database to "follow" and older version >> of Postfix without rebuild the entire port again? >> > > I'm pretty sure you can't do this, *unless* there's someone actually > tracking a seperate port on that version. ( i didn't check but it > doesn't sound like it from your post). > > To stop ports tree updates from clobbering your v27, you'd need to > exclude this from your cvssup or whatever you use to update your tree. > > portdowngrade will get you back to an arbitrary older version if your > tree already has the newer version. > I realize I perhaps should have told you how I keep my ports tree up-to-date. I have this in my /etc/crontab # Update Portsnap INDEX 0 3 * * * root portsnap -I cron update && pkg_version -vIl '<' This sends me an email if a port has been updated. If I want to upgrade my ports I do: # portsnap fetch update # portmaster -aD && portmaster --clean-distfiles-all This is why I *need* to tell my ports database to use/track an earlier version of Postfix (in this case /usr/ports/mail/postfix27). After reading the description of portdowngrade I don't think that's the tool I want. Correct me if I'm wrong. > Paul. > TIA, Mikael From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 10:39:07 2011 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 11C071065672 for ; Tue, 8 Feb 2011 10:39:07 +0000 (UTC) (envelope-from mbak@inbox.lv) Received: from thor.iszerviz.hu (thor.iszerviz.hu [62.77.131.9]) by mx1.freebsd.org (Postfix) with ESMTP id C88B28FC1C for ; Tue, 8 Feb 2011 10:39:06 +0000 (UTC) Received: from [10.2.2.50] (m0n0.serverbank.hu [62.77.131.200]) by thor.iszerviz.hu (Postfix) with ESMTPSA id DCF244FEB3 for ; Tue, 8 Feb 2011 11:39:05 +0100 (CET) Message-ID: <4D511D49.4010704@inbox.lv> Date: Tue, 08 Feb 2011 11:39:05 +0100 From: Mikael Bak User-Agent: Thunderbird 2.0.0.24 (X11/20101027) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4D50217A.6030700@inbox.lv> <44aai7vh5b.fsf@be-well.ilk.org> In-Reply-To: <44aai7vh5b.fsf@be-well.ilk.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Follow a port of a specific major verion 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, 08 Feb 2011 10:39:07 -0000 Hi Lowell, Lowell Gilbert wrote: > Mikael Bak writes: > >> Hi list, >> >> I searched for this in the handbook, but without any hits. Google gave >> me nada too. >> >> I have a machine running FreeBSD 7.3 and Postfix 2.7.2 installed from >> ports. Unfortunately when I installed Postfix I did this: >> >> cd /usr/ports/mail/postfix >> make install clean >> >> Now when Postfix 2.8.0 is released the above path in the ports tree >> points to a Postfix version I do not yet want to install. I would like >> to follow Postfix 2.7.x for a while. >> >> So my question is: How can I make the ports system act as if I had >> installed Postfix like this?: >> >> cd /usr/ports/mail/postfix27 >> make install clean >> >> Is there a way to tell the ports database to "follow" and older version >> of Postfix without rebuild the entire port again? > > You can edit the package database by hand, but it will probably take a > lot less of your time to build the whole port again. [More of the > computer's time, but that's generally a much cheaper resource.] > Thanks for the info. I was not aware I could just install the same software over the other without first removing it. Shouldn't I do that? I would not want to end up with a broken software or a broken ports database. If I would set my mind on editing the ports database by hand, where should I look for it? TIA, Mikael From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 10:48:13 2011 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 6C26B106566C for ; Tue, 8 Feb 2011 10:48:13 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from ifdnrg29.ifdnrg.com (outbound.ifdnrg.com [193.200.98.138]) by mx1.freebsd.org (Postfix) with ESMTP id 0D2798FC17 for ; Tue, 8 Feb 2011 10:48:12 +0000 (UTC) Received: from [192.168.1.85] (93-97-172-73.zone5.bethere.co.uk [93.97.172.73]) (authenticated bits=0) by ifdnrg29.ifdnrg.com (8.14.4/8.14.4) with ESMTP id p18Am9tF078635; Tue, 8 Feb 2011 10:48:10 GMT (envelope-from paul@ifdnrg.com) Message-ID: <4D511F67.1000909@ifdnrg.com> Date: Tue, 08 Feb 2011 10:48:07 +0000 From: Paul Macdonald User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Mikael Bak References: <4D50217A.6030700@inbox.lv> <4D5033C1.1010604@ifdnrg.com> <4D511C0D.2000100@inbox.lv> In-Reply-To: <4D511C0D.2000100@inbox.lv> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Follow a port of a specific major verion 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, 08 Feb 2011 10:48:13 -0000 On 08/02/2011 10:33, Mikael Bak wrote: > Hi Paul, > > Paul Macdonald wrote: >> On 07/02/2011 16:44, Mikael Bak wrote: >>> So my question is: How can I make the ports system act as if I had >>> installed Postfix like this?: >>> >>> cd /usr/ports/mail/postfix27 >>> make install clean >>> >>> Is there a way to tell the ports database to "follow" and older version >>> of Postfix without rebuild the entire port again? >>> >> I'm pretty sure you can't do this, *unless* there's someone actually >> tracking a seperate port on that version. ( i didn't check but it >> doesn't sound like it from your post). >> Aplogies, i'd misread your question, and there is a seperate branch in /usr/ports/mail/postfix27, I'm not sure how you'd fool the ports mgt tools in the way you want, would it not be easier just to deinstall the port and do a make install in postfix27? (others may know a 'better' way) Paul. ------------------------- Paul Macdonald IFDNRG Ltd Web and video hosting ------------------------- t: 0131 5548070 m: 07534206249 e: paul@ifdnrg.com w: http://www.ifdnrg.com ------------------------- IFDNRG 40 Maritime Street Edinburgh EH6 6SA ------------------------- From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 11:02:00 2011 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 09DE21065670 for ; Tue, 8 Feb 2011 11:02:00 +0000 (UTC) (envelope-from jmc-freebsd2@milibyte.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 90E518FC08 for ; Tue, 8 Feb 2011 11:01:59 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvcFAO6xUE1UXebj/2dsb2JhbACXDo4dc7t/hVoE Received: from outmx01.plus.net ([84.93.230.227]) by relay.ptn-ipout02.plus.net with ESMTP; 08 Feb 2011 11:01:58 +0000 Received: from helix.plus.com ([84.92.153.232] helo=curlew.milibyte.co.uk) by outmx01.plus.net with esmtp (Exim) id 1PmlKX-0007eD-Lm for freebsd-questions@freebsd.org; Tue, 08 Feb 2011 11:01:57 +0000 Received: by curlew.milibyte.co.uk with local (Exim 4.72) (envelope-from ) id 1PmlKW-0000y2-BU for freebsd-questions@freebsd.org; Tue, 08 Feb 2011 11:01:56 +0000 From: Mike Clarke To: freebsd-questions@freebsd.org Date: Tue, 8 Feb 2011 11:01:56 +0000 User-Agent: KMail/1.9.10 References: <4D50217A.6030700@inbox.lv> <44aai7vh5b.fsf@be-well.ilk.org> <4D511D49.4010704@inbox.lv> In-Reply-To: <4D511D49.4010704@inbox.lv> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <201102081101.56290.jmc-freebsd2@milibyte.co.uk> X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-SA-Exim-Scanned: No (on curlew.milibyte.co.uk); SAEximRunCond expanded to false Subject: Re: Follow a port of a specific major verion 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, 08 Feb 2011 11:02:00 -0000 On Tuesday 08 February 2011, Mikael Bak wrote: > I was not aware I could just install the same software over the other > without first removing it. Shouldn't I do that? I would not want to > end up with a broken software or a broken ports database. If in doubt you could create a backup package first with "pkg_create -b pkg-name". That would give you a fair chance of rolling back to the previous version if things went pear-shaped. -- Mike Clarke From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 11:16:55 2011 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 7979A106564A for ; Tue, 8 Feb 2011 11:16:55 +0000 (UTC) (envelope-from mbak@inbox.lv) Received: from thor.iszerviz.hu (thor.iszerviz.hu [62.77.131.9]) by mx1.freebsd.org (Postfix) with ESMTP id 38D658FC19 for ; Tue, 8 Feb 2011 11:16:55 +0000 (UTC) Received: from [10.2.2.50] (m0n0.serverbank.hu [62.77.131.200]) by thor.iszerviz.hu (Postfix) with ESMTPSA id 3A6374FEB3; Tue, 8 Feb 2011 12:16:54 +0100 (CET) Message-ID: <4D512621.1000109@inbox.lv> Date: Tue, 08 Feb 2011 12:16:49 +0100 From: Mikael Bak User-Agent: Thunderbird 2.0.0.24 (X11/20101027) MIME-Version: 1.0 To: Paul Macdonald References: <4D50217A.6030700@inbox.lv> <4D5033C1.1010604@ifdnrg.com> <4D511C0D.2000100@inbox.lv> <4D511F67.1000909@ifdnrg.com> In-Reply-To: <4D511F67.1000909@ifdnrg.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Follow a port of a specific major verion 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, 08 Feb 2011 11:16:55 -0000 Paul Macdonald wrote: > On 08/02/2011 10:33, Mikael Bak wrote: >> Hi Paul, >> >> Paul Macdonald wrote: >>> On 07/02/2011 16:44, Mikael Bak wrote: >>>> So my question is: How can I make the ports system act as if I had >>>> installed Postfix like this?: >>>> >>>> cd /usr/ports/mail/postfix27 >>>> make install clean >>>> >>>> Is there a way to tell the ports database to "follow" and older version >>>> of Postfix without rebuild the entire port again? >>>> >>> I'm pretty sure you can't do this, *unless* there's someone actually >>> tracking a seperate port on that version. ( i didn't check but it >>> doesn't sound like it from your post). >>> > Aplogies, i'd misread your question, and there is a seperate branch in > /usr/ports/mail/postfix27, > > I'm not sure how you'd fool the ports mgt tools in the way you want, > would it not be easier just to deinstall the port and do a make install > in postfix27? > (others may know a 'better' way) > Hi Paul, Yep, it seem like that's the way to go. I was just absolutely sure that there is some better/faster/easier way than just remove the port and reinstall it. This *should* be a quite common case. It's is not always possible to install the newest versions of a software. Thanks all for the suggestions! Mikael From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 11:23:14 2011 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 500E8106566B for ; Tue, 8 Feb 2011 11:23:14 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (unknown [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 80C4E8FC13 for ; Tue, 8 Feb 2011 11:23:12 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 1DD10E76CD; Tue, 8 Feb 2011 11:23:08 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=mail; bh=ElB+EetIaR6A Jcb5/J9dnzR07is=; b=fo/McQcwWWgaPgxtDSl4CHWjyIAUTo3RW7OOztYOv5cJ RBeir5+iJ8lZChgRSogmwoTTWGk/Hgy4ByY4xxpAz7MEdQkSxEh+33FWZFwprYNp eGQVJTtfzRghNvaofg19sNVdaHOyurhSPZAI5s0XEdOmKQdrMMopUfa/PZ4hZvI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=date:from:to :cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=mail; b=t/oyYC 9P1tMmXNt/XkXMslo/BsP7UYRjaOyRoEpXgIYy/xEmpfnTiprDdMWzxAtjT0Nk13 q0v+Tvz2Lmjzkjy+abcpVAzvf22R+UlwqiJoMvm8vhcPubbvImEeAh+RcVJyCWMR nLYN//E/UWS1j1Bk5M03JqvSJpKhRQtSF5k6E= Received: from unknown (client-86-23-50-224.brhm.adsl.virginmedia.com [86.23.50.224]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id CA4CAE76AD; Tue, 8 Feb 2011 11:23:07 +0000 (GMT) Date: Tue, 8 Feb 2011 11:23:04 +0000 From: Bruce Cran To: Gary Kline Message-ID: <20110208112304.00000d51@unknown> In-Reply-To: <20110207235146.GA9689@thought.org> References: <20110207235146.GA9689@thought.org> X-Mailer: Claws Mail 3.7.8cvs9 (GTK+ 2.16.6; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, Bahman Kahinpour Subject: Re: Debian GNU/kFreeBSD 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, 08 Feb 2011 11:23:14 -0000 On Mon, 7 Feb 2011 15:51:46 -0800 Gary Kline wrote: > I haven't heard anything about somebody picking up the idea on > integrating Debian Linux and FreeBSD, so unless Zeus stabbed > hisself in the back while about to hurl a lightening bolt, > don't worry. http://www.debian.org/ports/kfreebsd-gnu/ -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 11:59:17 2011 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 177E7106566C for ; Tue, 8 Feb 2011 11:59:17 +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 E43EC8FC0A for ; Tue, 8 Feb 2011 11:59:16 +0000 (UTC) Received: (qmail 20796 invoked from network); 8 Feb 2011 11:59:16 -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 ; 8 Feb 2011 11:59:16 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.8]) by be-well.ilk.org (Postfix) with ESMTP id 537E550828; Tue, 8 Feb 2011 06:59:09 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id EED9C3981F; Tue, 8 Feb 2011 06:59:08 -0500 (EST) From: Lowell Gilbert To: Mikael Bak References: <4D50217A.6030700@inbox.lv> <44aai7vh5b.fsf@be-well.ilk.org> <4D511D49.4010704@inbox.lv> Date: Tue, 08 Feb 2011 06:59:08 -0500 In-Reply-To: <4D511D49.4010704@inbox.lv> (Mikael Bak's message of "Tue, 08 Feb 2011 11:39:05 +0100") Message-ID: <44tyge7n5f.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: Follow a port of a specific major verion 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: Tue, 08 Feb 2011 11:59:17 -0000 Mikael Bak writes: > I was not aware I could just install the same software over the other > without first removing it. Shouldn't I do that? I would not want to end > up with a broken software or a broken ports database. No, you want to remove the old port before installing the new one. But you can *build* the new port before removing the old one. > If I would set my mind on editing the ports database by hand, where > should I look for it? /var/db/pkg (but as I said earlier, it's not worthwhile) From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 12:17:43 2011 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 E34AD106564A for ; Tue, 8 Feb 2011 12:17:43 +0000 (UTC) (envelope-from mbak@inbox.lv) Received: from thor.iszerviz.hu (thor.iszerviz.hu [62.77.131.9]) by mx1.freebsd.org (Postfix) with ESMTP id A23188FC15 for ; Tue, 8 Feb 2011 12:17:43 +0000 (UTC) Received: from [10.2.2.50] (m0n0.serverbank.hu [62.77.131.200]) by thor.iszerviz.hu (Postfix) with ESMTPSA id 9B5FB4FEA4 for ; Tue, 8 Feb 2011 13:17:42 +0100 (CET) Message-ID: <4D513466.8020201@inbox.lv> Date: Tue, 08 Feb 2011 13:17:42 +0100 From: Mikael Bak User-Agent: Thunderbird 2.0.0.24 (X11/20101027) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4D50217A.6030700@inbox.lv> <44aai7vh5b.fsf@be-well.ilk.org> <4D511D49.4010704@inbox.lv> <44tyge7n5f.fsf@lowell-desk.lan> In-Reply-To: <44tyge7n5f.fsf@lowell-desk.lan> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: Follow a port of a specific major verion 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, 08 Feb 2011 12:17:44 -0000 Lowell Gilbert wrote: > Mikael Bak writes: > >> I was not aware I could just install the same software over the other >> without first removing it. Shouldn't I do that? I would not want to end >> up with a broken software or a broken ports database. > > No, you want to remove the old port before installing the new one. But > you can *build* the new port before removing the old one. > Thanks for the clarification! That will obviously minimize the downtime. Much appreciated! >> If I would set my mind on editing the ports database by hand, where >> should I look for it? > > /var/db/pkg (but as I said earlier, it's not worthwhile) > Ok. I will probably remove the port and reinstall it, as suggested by you and by others. Thanks to everyone who answered. Problem solved. Thread closed. Mikael From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 12:36:54 2011 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 560BB106564A for ; Tue, 8 Feb 2011 12:36:54 +0000 (UTC) (envelope-from coco@executive-computing.de) Received: from mail.moehre.org (mail.moehre.org [195.96.35.7]) by mx1.freebsd.org (Postfix) with ESMTP id 10AC58FC1A for ; Tue, 8 Feb 2011 12:36:53 +0000 (UTC) Received: from mail.moehre.org (unknown [195.96.35.7]) by mail.moehre.org (Postfix) with ESMTP id 4B5718B141E for ; Tue, 8 Feb 2011 13:36:53 +0100 (CET) X-Spam-Flag: NO X-Spam-Score: -100.962 X-Spam-Level: X-Spam-Status: No, score=-100.962 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1, AWL=0.038, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mail.moehre.org ([195.96.35.7]) by mail.moehre.org (mail.moehre.org [195.96.35.7]) (amavisd-new, port 10024) with ESMTP id DgfmvdS1UiJz for ; Tue, 8 Feb 2011 13:36:51 +0100 (CET) Received: from [192.168.100.30] (p54B0DFAF.dip.t-dialin.net [84.176.223.175]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: coco@executive-computing.de) by mail.moehre.org (Postfix) with ESMTPSA id 4A40F8B141B for ; Tue, 8 Feb 2011 13:36:51 +0100 (CET) Message-ID: <4D51389E.6040803@executive-computing.de> Date: Tue, 08 Feb 2011 13:35:42 +0100 From: Marco Steinbach User-Agent: Thunderbird 2.0.0.12 (Windows/20080213) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4D50217A.6030700@inbox.lv> <44aai7vh5b.fsf@be-well.ilk.org> <4D511D49.4010704@inbox.lv> <44tyge7n5f.fsf@lowell-desk.lan> In-Reply-To: <44tyge7n5f.fsf@lowell-desk.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Follow a port of a specific major verion 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, 08 Feb 2011 12:36:54 -0000 Lowell Gilbert wrote on 08.02.2011 12:59: > Mikael Bak writes: > >> I was not aware I could just install the same software over the other >> without first removing it. Shouldn't I do that? I would not want to end >> up with a broken software or a broken ports database. > > No, you want to remove the old port before installing the new one. But > you can *build* the new port before removing the old one. The OP should keep an eye on dependencies, though. A good foot-shooter is updating one port, and then, during updating a different port having to install a newer version of a port they both depend on. Which might require a rebuild of the original port, resulting in having, at best, double-downtime of a service. Incidentially, I ran into this just right now, so I felt compelled to state what might seem obious :) [...] MfG CoCo PS: I seem to remember devel/pcre being a good candidate for that with postfix and some other ports. From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 13:40:00 2011 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 69A18106566B for ; Tue, 8 Feb 2011 13:40:00 +0000 (UTC) (envelope-from martin@dc.cis.okstate.edu) Received: from x.it.okstate.edu (x.it.okstate.edu [139.78.2.13]) by mx1.freebsd.org (Postfix) with ESMTP id 1E2858FC1D for ; Tue, 8 Feb 2011 13:39:59 +0000 (UTC) Received: from dc.cis.okstate.edu (localhost.cis.okstate.edu [127.0.0.1]) by x.it.okstate.edu (8.14.4/8.14.3) with ESMTP id p18DdxlF002279 for ; Tue, 8 Feb 2011 07:39:59 -0600 (CST) (envelope-from martin@dc.cis.okstate.edu) Message-Id: <201102081339.p18DdxlF002279@x.it.okstate.edu> To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2277.1297172399.1@dc.cis.okstate.edu> Date: Tue, 08 Feb 2011 07:39:59 -0600 From: Martin McCormick Subject: Re: Using Multiple -prune directives in a find 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: Tue, 08 Feb 2011 13:40:00 -0000 Mike Clarke writes: > find . -type d -name dir1 -prune -o -name dir2 -prune -o -name \* > > ... should list all files except those in dir1 or dir2 It certainly does. Thank you. I was off on enough wrong syntax tracks that it probably would have taken a very long time to figure it out. I found tons of find examples but very little use of -prune in those examples. Martin McCormick From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 14:20:42 2011 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 2355A106566B for ; Tue, 8 Feb 2011 14:20:42 +0000 (UTC) (envelope-from fred@blakemfg.com) Received: from mail.getnet.net (mail.getnet.net [216.19.223.10]) by mx1.freebsd.org (Postfix) with SMTP id D6AF58FC14 for ; Tue, 8 Feb 2011 14:20:41 +0000 (UTC) Received: (qmail 18031 invoked from network); 8 Feb 2011 14:20:41 -0000 Received: from unknown (HELO localhost) (127.0.0.1) by localhost with SMTP; 8 Feb 2011 14:20:41 -0000 X-Virus-Scanned: amavisd-new at getnet.net Received: from mail.getnet.net ([127.0.0.1]) by localhost (mail.getnet.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EUa+IpwFS9py for ; Tue, 8 Feb 2011 07:20:40 -0700 (MST) Received: (qmail 18008 invoked from network); 8 Feb 2011 14:20:39 -0000 Received: from unknown (HELO ragnok.blakemfg.com) (fredb@216.19.219.132) by mail.getnet.net with ESMTPA; 8 Feb 2011 14:20:39 -0000 Message-ID: <4D515033.7020601@blakemfg.com> Date: Tue, 08 Feb 2011 07:16:19 -0700 From: Fred User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.12) Gecko/20110131 Thunderbird/3.1.6 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: nedit 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, 08 Feb 2011 14:20:42 -0000 On 02/06/11 19:36, b. f. wrote: > Fred Boatwright wrote: >> On 02/06/11 00:53, b. f. wrote: >>> Fred Boatwright wrote: >>> >>>> After updating all ports on 8.1-RELEASE, nedit has a problem. The right >>>> mouse button works ok in the toolbar but if it is pressed in the text >>>> area, for example to copy a block of text, the cursor changes shape and >>>> the X session becomes completely locked up. I have to stop X and >>>> restart it. I have tried to deinstall nedit and rebuild it but this >>>> didn't help. It is nedit-5.5 with Motif 2.2.3. >>> This is a known problem with many Motif-based applications, arising >>> from a bug in recent versions of Xorg. It has been corrected >>> upstream, and it is likely that this problem will be fixed when the >>> ports freeze ends shortly after the release of FreeBSD 7.4 and 8.2, if >>> not before. If you can't wait, you can try using the patches from: >>> >>> http://www.freebsd.org/cgi/query-pr.cgi?pr=154510 >>> >> I have tried several editors that are horrible. Axe installed from >> packages dumps core. There were a lot of warnings that later versions >> of libraries were installed than axe was expecting. Does the maintainer >> need to know this? > Sadly, there is no maintainer for that port. But yes, you should file > a Problem Report (PR), so that people will know that there may be a > problem: > > http://www.freebsd.org/doc/en_US.ISO8859-1/articles/problem-reports/index.html > >> Can you tell me how to install the Xorg patch to make nedit work? I >> have not worked with getting source code or compiling from source. I >> can do the edit on another computer. > Get an up-to-date ports tree. (If you don't know what that means, > read the relevant portions of the FreeBSD Handbook.) > > Place the attached patch (or a trimmed version of the patch from the > PR that I cited earlier) in ports/x11-servers/xorg-server/files under > a name like 'patch-dix__events.c', that begins with 'patch-', and > doesn't overwrite any of the existing patches. > > In the ports/x11-servers/xorg-server directory, run 'make deinstall > clean install&& make clean', or use your favorite third-party port > updating tool to force an update of that port. > > (If you want to create a backup package of your patched version of > xorg-server, and you are not using a port updating tool with this > feature, then either 'make package' in that directory before running > the final 'make clean', or use 'pkg_create -b "xorg-server-*"'.) > > I'm assuming that you are already using the latest version of > x11-servers/xorg-server; if instead you are using an earlier version, > and packages that depend on it, you will probably need to update them > as well. > > b. The xorg patch installed ok. I was expecting it to be much more difficult! Nedit now works very well. Thanks for the help! Best regards, Fred From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 14:23:49 2011 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 E3F0A106564A for ; Tue, 8 Feb 2011 14:23:49 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id A1F898FC0C for ; Tue, 8 Feb 2011 14:23:49 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.186]) by mail.unitedinsong.com.au (Postfix) with ESMTP id 73F455C44 for ; Wed, 9 Feb 2011 00:30:56 +1000 (EST) Message-ID: <4D515148.3000009@herveybayaustralia.com.au> Date: Wed, 09 Feb 2011 00:20:56 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.16) Gecko/20110204 Thunderbird/3.0.11 ThunderBrowse/3.3.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: pf, binat, rdr, and one ip 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, 08 Feb 2011 14:23:50 -0000 A very quick question. PF firewall. One static public IP. About 6 servers on the internal network (dmz). One server binat in the pf.conf, the rest redirected. Possible? Or would it die in the hole? TIA From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 14:35:48 2011 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 7EAD6106564A for ; Tue, 8 Feb 2011 14:35:48 +0000 (UTC) (envelope-from lobo@bsd.com.br) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 63A108FC08 for ; Tue, 8 Feb 2011 14:35:48 +0000 (UTC) Received: by pxi1 with SMTP id 1so1321411pxi.13 for ; Tue, 08 Feb 2011 06:35:47 -0800 (PST) MIME-Version: 1.0 Received: by 10.142.207.7 with SMTP id e7mr2301366wfg.259.1297175746890; Tue, 08 Feb 2011 06:35:46 -0800 (PST) Received: by 10.142.169.16 with HTTP; Tue, 8 Feb 2011 06:35:46 -0800 (PST) Date: Tue, 8 Feb 2011 11:35:46 -0300 Message-ID: From: Mario Lobo To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Accessing a GPT drive 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, 08 Feb 2011 14:35:48 -0000 Hi; Os: FreeBSD amd64 w/ options GEOM_PART_GPT I added a drive to my system which I installed win7 64. The drive is 500G. I gave 100G to win7. Then I created an ext2 partition with the unallocated space with a gparted cd. fdisk shows the MBR of the drive with the win7 system and data partitions and the ext2 partition created. I need to access both the NTFS win7 and ext2 partitions from freeBSD. FBSD "sees" the drive (ada2) but does not "see" the partitions. I need to access the ext2 partition from both FBSD and win7. I have another ext2 on the other drive that both OSs see fine but that drive has MBR scheme. Win7 only installs in a GPT partition. What I really need if for FBSD to access that drive. I've googled for a couple days but didn't find any clues that could help me. Anybody has any hints on how I could make this work? Thanks, -- Mario Lobo http://www.mallavoodoo.com.br FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winfoes FREE) From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 15:18:51 2011 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 017AA106564A for ; Tue, 8 Feb 2011 15:18:51 +0000 (UTC) (envelope-from dan@slightlystrange.org) Received: from catflap.slightlystrange.org (cpc2-cmbg14-2-0-cust883.5-4.cable.virginmedia.com [86.26.3.116]) by mx1.freebsd.org (Postfix) with ESMTP id B30438FC1B for ; Tue, 8 Feb 2011 15:18:50 +0000 (UTC) Received: from dan by catflap.slightlystrange.org with local (Exim 4.73 (FreeBSD)) (envelope-from ) id 1PmpL7-000F8t-Mx for freebsd-questions@freebsd.org; Tue, 08 Feb 2011 15:18:49 +0000 Date: Tue, 8 Feb 2011 15:18:49 +0000 From: Daniel Bye To: freebsd-questions@freebsd.org Message-ID: <20110208151849.GC3267@catflap.slightlystrange.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <4D515148.3000009@herveybayaustralia.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="hwvH6HDNit2nSK4j" Content-Disposition: inline In-Reply-To: <4D515148.3000009@herveybayaustralia.com.au> 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.2-PRERELEASE amd64 Sender: Daniel Bye Subject: Re: pf, binat, rdr, and one ip 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: Tue, 08 Feb 2011 15:18:51 -0000 --hwvH6HDNit2nSK4j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 09, 2011 at 12:20:56AM +1000, Da Rock wrote: > A very quick question. >=20 > PF firewall. One static public IP. About 6 servers on the internal=20 > network (dmz). One server binat in the pf.conf, the rest redirected. >=20 > Possible? Or would it die in the hole? I guess you're concerned about performance and resource usage? If so, this may be helpful.=20 http://www.openbsd.org/faq/pf/perf.html Dan --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --hwvH6HDNit2nSK4j Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAk1RXtkACgkQixf5fBYiFmooCACgpa1Bii2DLlP6cML5rGS4Xl/a GlMAoLgVk0QBV/pZFKzPesfa+dyxL85+ =7UWV -----END PGP SIGNATURE----- --hwvH6HDNit2nSK4j-- From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 16:02:31 2011 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 168C91065673 for ; Tue, 8 Feb 2011 16:02:31 +0000 (UTC) (envelope-from prvs=013b53469=pschmehl_lists@tx.rr.com) Received: from ip-002.utdallas.edu (ip-002.utdallas.edu [129.110.20.108]) by mx1.freebsd.org (Postfix) with ESMTP id E083F8FC1C for ; Tue, 8 Feb 2011 16:02:30 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AloJAIPwUE2BbgogS2dsb2JhbAClOwEBIAIgvAuFWgSEew X-IronPort-AV: E=Sophos;i="4.60,442,1291615200"; d="scan'208";a="50230625" Received: from zxtm01.utdallas.edu (HELO [129.110.200.11]) ([129.110.10.32]) by ip-002.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 08 Feb 2011 09:33:38 -0600 Date: Tue, 08 Feb 2011 09:33:37 -0600 From: Paul Schmehl To: FreeBSD Questions List Message-ID: X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: FreeBSD 8.1 as a Virtualbox Guest OS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Feb 2011 16:02:31 -0000 I'm trying to setup a FreeBSD VM in Virtualbox. The host OS is Mac OS X 10.6.6. I'm already running Windows 7 64 bit with no problems. When you setup a new VM, you get a first time startup scenario that asks you to point to a file (iso usually) that contains the setup program for the OS. Then, when you boot the machine, setup begins. That's not working for me. I've tried both the disc iso and the dvd iso without success. I haven't tried it, but I assume that if I burned the iso and popped it in a box that I would get the setup menu and be able to install the OS. Is there some kind of trick required to get this working inside VB? -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 16:24:49 2011 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 3BFA9106564A for ; Tue, 8 Feb 2011 16:24:49 +0000 (UTC) (envelope-from amvandemore@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 BF72B8FC0A for ; Tue, 8 Feb 2011 16:24:48 +0000 (UTC) Received: by fxm16 with SMTP id 16so6557817fxm.13 for ; Tue, 08 Feb 2011 08:24:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=yKVEQtO/lmnCH1owFj9RyZbQWBC8SJz+pk5C/Ji/rrE=; b=YbuhJkd7ZdVXxJANykYi8efrvOA7UVvUTBgs6zhMv4F9tDBX7T9U3oTZMl0X0gpHhR tovBPYMMu/dXTyNIu9D8FY/IjnFoqGO8IsuoRMvPLIbT1yVe5hPm7iBrWZ8MMb9ujaZ/ w0zwE+tuXm8DCZgo3AsqWGVSTs02zJrRl3xkk= 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=ZgP4QFpzjLteeUsYwtq35gC1sBqurq1/Q6Hpedxi6Q5tfxjCeLYRqgS8hnkNn6VQGd 8pHRxCuJ1FjMyHrv55tCxaOXZH7SNUwsmOHB056rswOJaLwBr2Rz5jPZWFNyRhtEUH59 6miME7lcS70ktZHALIwMb6zFNF1Ol219iHAi8= MIME-Version: 1.0 Received: by 10.223.85.204 with SMTP id p12mr1848552fal.146.1297182287564; Tue, 08 Feb 2011 08:24:47 -0800 (PST) Received: by 10.223.114.4 with HTTP; Tue, 8 Feb 2011 08:24:47 -0800 (PST) In-Reply-To: References: Date: Tue, 8 Feb 2011 10:24:47 -0600 Message-ID: From: Adam Vande More To: Paul Schmehl Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions List Subject: Re: FreeBSD 8.1 as a Virtualbox Guest OS 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, 08 Feb 2011 16:24:49 -0000 On Tue, Feb 8, 2011 at 9:33 AM, Paul Schmehl wrote: > I'm trying to setup a FreeBSD VM in Virtualbox. The host OS is Mac OS X > 10.6.6. I'm already running Windows 7 64 bit with no problems. When you > setup a new VM, you get a first time startup scenario that asks you to point > to a file (iso usually) that contains the setup program for the OS. Then, > when you boot the machine, setup begins. > > That's not working for me. I've tried both the disc iso and the dvd iso > without success. I haven't tried it, but I assume that if I burned the iso > and popped it in a box that I would get the setup menu and be able to > install the OS. > > Is there some kind of trick required to get this working inside VB? > What's the difference between a disk iso and a dvd iso? From the VM's settings page, chose storage. Make sure the virtual DVD drive has the correct iso. Start the VM. If you can't find the iso in the drop down list it means you have to add it to the storage manager. You could also put the disc in the drive and and tell the VM to use the drive. It's not anymore complicated than that really. If that doesn't work, I'd start looking at the disc and see if works. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 17:26:31 2011 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 90911106564A for ; Tue, 8 Feb 2011 17:26:31 +0000 (UTC) (envelope-from hyogeollee@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 61D038FC14 for ; Tue, 8 Feb 2011 17:26:31 +0000 (UTC) Received: by pwi10 with SMTP id 10so1390681pwi.13 for ; Tue, 08 Feb 2011 09:26:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:content-type:subject:date:message-id:cc:to :mime-version:x-mailer; bh=e0mnUJ7aDRgZWJvMUgnOJaePIgIIrcLrcFAnselFXuM=; b=EMM61mYZ9+XD50F3joTfdDTqGvsU/QwTG3s5QKAeHh4u5ERCxwsv6b+LI/JbxM/Pcu HORCFDDm1b8by9ocyIMiBBtocUxNWN/mxn3cprisva/t2eQJx1JDusvZg7H6pON3ZeEV qEO1yrDOxX9CwaNqlNxXAlYQlXAtwy//KA8VI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:subject:date:message-id:cc:to:mime-version :x-mailer; b=NJiG5kuPaHVLiSS0bWgVJGeHUi4I1XRed79RClxXlKSya15BlRXNZl11YFmeVcywYa abFh/++6AealWg8J6fz4wEcppo4rmRMYhb1lHDRvkv04lXfUF0UnFS64CGhJrlyCxh9s +vVe18EASW5DlV3WsVZFHz79Ny5F8EBDWiF2Q= Received: by 10.142.222.15 with SMTP id u15mr17247348wfg.291.1297184511977; Tue, 08 Feb 2011 09:01:51 -0800 (PST) Received: from [172.30.0.3] ([58.124.64.148]) by mx.google.com with ESMTPS id y42sm7826181wfd.22.2011.02.08.09.01.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 08 Feb 2011 09:01:50 -0800 (PST) From: Hyogeol Lee Date: Wed, 9 Feb 2011 02:01:46 +0900 Message-Id: To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v1082) X-Mailer: Apple Mail (2.1082) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: pschmehl_lists@tx.rr.com Subject: FreeBSD 8.1 as a Virtualbox Guest OS 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, 08 Feb 2011 17:26:31 -0000 > I'm trying to setup a FreeBSD VM in Virtualbox. The host OS is Mac OS = X=20 > 10.6.6. I'm already running Windows 7 64 bit with no problems. When = you=20 > setup a new VM, you get a first time startup scenario that asks you to=20= > point to a file (iso usually) that contains the setup program for the = OS.=20 > Then, when you boot the machine, setup begins. >=20 > That's not working for me. I've tried both the disc iso and the dvd = iso=20 > without success. I haven't tried it, but I assume that if I burned = the iso=20 > and popped it in a box that I would get the setup menu and be able to=20= > install the OS. >=20 > Is there some kind of trick required to get this working inside VB? Did you try 8.1-i386 ? I have failed to install 8.1-i386 under OSX VB. But 8.1-amd64 works fine = for me. Regards, Hyogeol Lee From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 17:40:22 2011 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 1DC53106566C for ; Tue, 8 Feb 2011 17:40:22 +0000 (UTC) (envelope-from mailing@alokat.org) Received: from smtp.alokat.org (smtp.alokat.org [46.4.186.11]) by mx1.freebsd.org (Postfix) with ESMTP id D25458FC14 for ; Tue, 8 Feb 2011 17:40:21 +0000 (UTC) Received: from smtp.alokat.org (localhost.localdomain [127.0.0.1]) by smtp.alokat.org (Postfix) with ESMTP id E5C7411250097 for ; Tue, 8 Feb 2011 18:40:20 +0100 (CET) Received: from [192.168.24.23] (188-192-38-254-dynip.superkabel.de [188.192.38.254]) by smtp.alokat.org (Postfix) with ESMTPSA id C419211250096 for ; Tue, 8 Feb 2011 18:40:20 +0100 (CET) Message-ID: <4D518001.6030405@alokat.org> Date: Tue, 08 Feb 2011 18:40:17 +0100 From: Alokat User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101226 Icedove/3.0.11 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4D508917.3000202@alokat.org> <1297124530.2564.5.camel@dt.vicor.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-AV-Checked: ClamAV using ClamSMTP Subject: Re: shutdown computer after the halt 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: Tue, 08 Feb 2011 17:40:22 -0000 On 02/08/2011 01:26 AM, Eitan Adler wrote: >>> if I use the *halt* command I just see "the system is halted press any >>> key to reboot" >>> How can I fix this? >>> > shutdown -p now > don't use halt directly > > Thanks works as expected ... Regards, alokat From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 18:00:35 2011 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 EB5571065673 for ; Tue, 8 Feb 2011 18:00:35 +0000 (UTC) (envelope-from prvs=013b53469=pschmehl_lists@tx.rr.com) Received: from ip-001.utdallas.edu (ip-001.utdallas.edu [129.110.20.107]) by mx1.freebsd.org (Postfix) with ESMTP id BE67A8FC19 for ; Tue, 8 Feb 2011 18:00:34 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApQKAOcTUU2BbgogSmdsb2JhbAClPgEBGgYCILxWhVoEhHuNJA X-IronPort-AV: E=Sophos;i="4.60,442,1291615200"; d="tiff'149?scan'149,208,149";a="53551096" Received: from zxtm01.utdallas.edu (HELO [129.110.200.11]) ([129.110.10.32]) by ip-001.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 08 Feb 2011 12:00:24 -0600 Date: Tue, 08 Feb 2011 12:00:23 -0600 From: Paul Schmehl To: Hyogeol Lee , freebsd-questions@freebsd.org Message-ID: In-Reply-To: References: X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="==========8379C5345CB76145CA0B==========" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: FreeBSD 8.1 as a Virtualbox Guest OS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Feb 2011 18:00:36 -0000 --==========8379C5345CB76145CA0B========== Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline --On February 9, 2011 2:01:46 AM +0900 Hyogeol Lee wrote: > > > I'm trying to setup a FreeBSD VM in Virtualbox. The host OS is Mac OS X > 10.6.6. I'm already running Windows 7 64 bit with no problems. When you > setup a new VM, you get a first time startup scenario that asks you to > point to a file (iso usually) that contains the setup program for the OS. > Then, when you boot the machine, setup begins. > > That's not working for me. I've tried both the disc iso and the dvd iso > without success. I haven't tried it, but I assume that if I burned the > iso > and popped it in a box that I would get the setup menu and be able to > install the OS. > > Is there some kind of trick required to get this working inside VB? > > > > > Did you try 8.1-i386 ? > > > I have failed to install 8.1-i386 under OSX VB. But 8.1-amd64 works fine > for me. > I tried amd since it's a 64 bit machine. I've attached a screenshot of the vm. It's hung at this point and will not go any further. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell --==========8379C5345CB76145CA0B==========-- From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 18:08:23 2011 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 7F051106564A for ; Tue, 8 Feb 2011 18:08:23 +0000 (UTC) (envelope-from prvs=013b53469=pschmehl_lists@tx.rr.com) Received: from ip-002.utdallas.edu (ip-002.utdallas.edu [129.110.20.108]) by mx1.freebsd.org (Postfix) with ESMTP id 4C66F8FC14 for ; Tue, 8 Feb 2011 18:08:22 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApQKAOQUUU2BbgogSmdsb2JhbAClPgEBGgYCILxihVoEhHuNJA X-IronPort-AV: E=Sophos;i="4.60,442,1291615200"; d="scan'208";a="50241855" Received: from zxtm01.utdallas.edu (HELO [129.110.200.11]) ([129.110.10.32]) by ip-002.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 08 Feb 2011 12:08:21 -0600 Date: Tue, 08 Feb 2011 12:08:18 -0600 From: Paul Schmehl To: Adam Vande More Message-ID: <4931EE20DDBCC766297B3578@utd71538.local> In-Reply-To: References: X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: FreeBSD Questions List Subject: Re: FreeBSD 8.1 as a Virtualbox Guest OS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Feb 2011 18:08:23 -0000 --On February 8, 2011 10:24:47 AM -0600 Adam Vande More wrote: > On Tue, Feb 8, 2011 at 9:33 AM, Paul Schmehl > wrote: > >> I'm trying to setup a FreeBSD VM in Virtualbox. The host OS is Mac OS X >> 10.6.6. I'm already running Windows 7 64 bit with no problems. When you >> setup a new VM, you get a first time startup scenario that asks you to >> point to a file (iso usually) that contains the setup program for the >> OS. Then, when you boot the machine, setup begins. >> >> That's not working for me. I've tried both the disc iso and the dvd iso >> without success. I haven't tried it, but I assume that if I burned the >> iso and popped it in a box that I would get the setup menu and be able to >> install the OS. >> >> Is there some kind of trick required to get this working inside VB? >> > > What's the difference between a disk iso and a dvd iso? My assumption is that the former is in CD format and the latter is in DVD format. I wouldn't think a vm would care either way. It should be able to read both. > From the VM's > settings page, chose storage. Make sure the virtual DVD drive has the > correct iso. Start the VM. If you can't find the iso in the drop down > list it means you have to add it to the storage manager. You could also > put the disc in the drive and and tell the VM to use the drive. > The iso was listed as secondary IDE, so I made it primary. No difference. I then tried booting with ACPI disabled due to the errors I was seeing, but that made no difference either. The system is booting, but when it gets to md0: Preloaded image 4194304 bytes at 0xffffffff80e6aa98 it stops and goes no further. > It's not anymore complicated than that really. If that doesn't work, I'd > start looking at the disc and see if works. I'm not using a disc. I'm using an iso file. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 18:14:20 2011 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 C77431065675 for ; Tue, 8 Feb 2011 18:14:20 +0000 (UTC) (envelope-from geo.liaskos@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 826448FC14 for ; Tue, 8 Feb 2011 18:14:20 +0000 (UTC) Received: by gwj21 with SMTP id 21so2472991gwj.13 for ; Tue, 08 Feb 2011 10:14:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=0HF7v5ogtOyWPr9gyQ3xTMRTQ7KFf51uNnN/hU+II4M=; b=kVbyTRXLrkqLDFvXC2Tgp4+p4xqk+G/I3x4cPm+gEjm3NQa2js4k/2eIvV4Cboa1hP 750Gg/4ALdSCee6lQXQ44f858mPQdmjtOeRtOKr3Jhv1eNK2/NwX33S/9y9kyKZMooDg GOrOmE56+f9zOtBjUXjt2o57AXKJX3UJnmuvo= 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=DZnBNGowmNreNKnmXE0FjAL3UgRQnqnWJ//8o/hl+/qkK+T9Uuzkeq3F3mYl/AJFpH XH5oD2OSaAashAIEGzKPOhDDJtp1SbDT08XrZmKKUjyOk03YZfSw/2Bt6wGP9ITzFYMf 7cMYPb6Q3Mi7/VmgP36kQp2tXt75KtGCiGLis= MIME-Version: 1.0 Received: by 10.100.251.19 with SMTP id y19mr5107110anh.182.1297188859600; Tue, 08 Feb 2011 10:14:19 -0800 (PST) Received: by 10.101.133.9 with HTTP; Tue, 8 Feb 2011 10:14:19 -0800 (PST) In-Reply-To: <4931EE20DDBCC766297B3578@utd71538.local> References: <4931EE20DDBCC766297B3578@utd71538.local> Date: Tue, 8 Feb 2011 20:14:19 +0200 Message-ID: From: George Liaskos To: Paul Schmehl Content-Type: text/plain; charset=UTF-8 Cc: Adam Vande More , FreeBSD Questions List Subject: Re: FreeBSD 8.1 as a Virtualbox Guest OS 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, 08 Feb 2011 18:14:20 -0000 The system is booting, but when it gets to > md0: Preloaded image 4194304 bytes at 0xffffffff80e6aa98 it > stops and goes no further. Try enabling IO APIC under System > Motherboard. From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 18:16:51 2011 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 3506B1065670 for ; Tue, 8 Feb 2011 18:16:51 +0000 (UTC) (envelope-from prvs=013b53469=pschmehl_lists@tx.rr.com) Received: from ip-002.utdallas.edu (ip-002.utdallas.edu [129.110.20.108]) by mx1.freebsd.org (Postfix) with ESMTP id 028118FC16 for ; Tue, 8 Feb 2011 18:16:50 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqoNAC8XUU2BbgogSmdsb2JhbACXFo4oAQEaBgIgvHeFWgSEew X-IronPort-AV: E=Sophos;i="4.60,442,1291615200"; d="scan'208";a="50242401" Received: from zxtm01.utdallas.edu (HELO [129.110.200.11]) ([129.110.10.32]) by ip-002.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 08 Feb 2011 12:16:49 -0600 Date: Tue, 08 Feb 2011 12:16:48 -0600 From: Paul Schmehl To: freebsd-questions@freebsd.org Message-ID: <47FF410C9BAB1D6B9AEF935E@utd71538.local> In-Reply-To: References: X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: Re: FreeBSD 8.1 as a Virtualbox Guest OS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Feb 2011 18:16:51 -0000 --On February 8, 2011 12:00:23 PM -0600 Paul Schmehl wrote: > > I've attached a screenshot of the vm. It's hung at this point and will > not go any further. Screenshot may be found here: -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 20:27:23 2011 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 ABA55106564A for ; Tue, 8 Feb 2011 20:27:23 +0000 (UTC) (envelope-from mailing@alokat.org) Received: from smtp.alokat.org (smtp.alokat.org [46.4.186.11]) by mx1.freebsd.org (Postfix) with ESMTP id 3E1768FC0A for ; Tue, 8 Feb 2011 20:27:22 +0000 (UTC) Received: from smtp.alokat.org (localhost.localdomain [127.0.0.1]) by smtp.alokat.org (Postfix) with ESMTP id AF1C311250097 for ; Tue, 8 Feb 2011 21:27:21 +0100 (CET) Received: from [192.168.24.23] (188-192-38-254-dynip.superkabel.de [188.192.38.254]) by smtp.alokat.org (Postfix) with ESMTPSA id C0F1111250096 for ; Tue, 8 Feb 2011 21:27:20 +0100 (CET) Message-ID: <4D51A725.3090906@alokat.org> Date: Tue, 08 Feb 2011 21:27:17 +0100 From: Alokat User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101226 Icedove/3.0.11 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4D508A03.2020401@alokat.org> <1297124740.2564.6.camel@dt.vicor.com> <1297126082.2564.7.camel@dt.vicor.com> In-Reply-To: <1297126082.2564.7.camel@dt.vicor.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-AV-Checked: ClamAV using ClamSMTP Subject: Re: some problems with vim 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, 08 Feb 2011 20:27:23 -0000 On 02/08/2011 01:48 AM, Devin Teske wrote: > On Mon, 2011-02-07 at 16:25 -0800, Devin Teske wrote: > > >> On Tue, 2011-02-08 at 01:10 +0100, Alokat wrote: >> >> >>> Hi, >>> >>> I have some problems by using vim. >>> >>> arrow up prints a B >>> arrow down prints a C >>> ... >>> >>> How can I fix this? >>> >> >> Try adding to ~/.vimrc >> >> set t_ku=^[[1;2B >> set t_kd=^[[1;2C >> >> > > Minor note (hit send after forgetting the pit-fall many fall into): > > ^[ above is a single character produced by the two keystrokes: > > Control+V followed by Control+[ > > NOTE: Or, you can use... Control+V followed by Escape > -- > Devin > > > > >> You didn't mention what left/right do. But here's a guess: >> >> set t_kr=^[[1;2A >> set t_kl=^[[1;2D >> >> NOTE: You'll have to re-launch vim after creating ~/.vimrc >> >> Alternatively, this may be an artifact of an incorrectly-set TERM >> variable... >> >> try (if you're using csh or tcsh): >> >> setenv TERM vt100 >> >> (or if you're using sh or bash): >> >> export TERM=vt100 >> >> NOTE: you'll have to re-launch vim after changing TERM >> -- >> Devin >> >> >> >> >>> Regards, >>> alokat >>> >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >>> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Thanks to all. The set t_kr=^[[1;2A set t_kl=^[[1;2D solution had fixed my problem. Regards, alokat From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 20:41:41 2011 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 16AB71065695 for ; Tue, 8 Feb 2011 20:41:41 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3fd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 4A8748FC12 for ; Tue, 8 Feb 2011 20:41: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 p18KfTOo024291 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Tue, 8 Feb 2011 20:41:35 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk p18KfTOo024291 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1297197695; bh=s0jKCrTZQ8avr5DeS8wxhlGJJW8+AxrJE4ktISIJc+4=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4D51AA6A.60701@infracaninophile.co.uk>|Date:=20Tue ,=2008=20Feb=202011=2020:41:14=20+0000|From:=20Matthew=20Seaman=20 |User-Agent:=20Mozilla/5.0=20(Mac intosh=3B=20U=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20en-US=3B=20rv: 1.9.2.13)=20Gecko/20101207=20Thunderbird/3.1.7|MIME-Version:=201.0 |To:=20Paul=20Schmehl=20|CC:=20FreeBSD=2 0Questions=20List=20|Subject:=20Re: =20FreeBSD=208.1=20as=20a=20Virtualbox=20Guest=20OS|References:=20 |In-Reply-To:=20|X-Enigmail-Version:=201.1.1|OpenP GP:=20id=3D60AE908C|Content-Type:=20multipart/signed=3B=20micalg=3 Dpgp-sha1=3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D= 0A=20boundary=3D"------------enig320A80287BB8F9C1F0F82081"; b=ycrd16g0vlIk0d+G2OF7PD+ggpaKSPVVB6egrs2mHwlOINvih+J14iub4nkETrQ/N vtX5aMgswLMyGBPGIyUFATELp+9utA2NAgWhVH7IqvZiJVY9LYjbFrmQ5tul16w0Zq nrd4ECuwpMVnym3DEJo5zMzyucguphzulcpQO3c0= Message-ID: <4D51AA6A.60701@infracaninophile.co.uk> Date: Tue, 08 Feb 2011 20:41:14 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Paul Schmehl References: In-Reply-To: X-Enigmail-Version: 1.1.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig320A80287BB8F9C1F0F82081" X-Virus-Scanned: clamav-milter 0.96.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: FreeBSD Questions List Subject: Re: FreeBSD 8.1 as a Virtualbox Guest OS 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, 08 Feb 2011 20:41:41 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig320A80287BB8F9C1F0F82081 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 08/02/2011 15:33, Paul Schmehl wrote: > I'm trying to setup a FreeBSD VM in Virtualbox. The host OS is Mac OS = X > 10.6.6. I'm already running Windows 7 64 bit with no problems. When > you setup a new VM, you get a first time startup scenario that asks you= > to point to a file (iso usually) that contains the setup program for th= e > OS. Then, when you boot the machine, setup begins. Works for me on much the same kit. As I recall, you need to play with the CPU etc. settings a bit to find some combination that will boot. Let's see... OS Type FreeBSD (64 bit) As much RAM as you want One CPU Enable PAE/NX VT-x/AMD-V Enabled Nested Paging Enabled Enable IO APIC Hardware clock in UTC time Enable absolute pointing device IDE Controller --> CD/DVD SATA Controller --> HardDrive.vdi Most of these aren't mandatory other than (I think) IO APIC, but I can't remember for sure. I went the whole hog and installed this VM with ZFS as the root filesystem, which works well enough, but isn't really particularly clever as the VM only has 1GB RAM. It's great for testing the v28 ZFS patches though. > That's not working for me. I've tried both the disc iso and the dvd is= o > without success. I haven't tried it, but I assume that if I burned the= > iso and popped it in a box that I would get the setup menu and be able > to install the OS. You can just save the .iso to your Mac's hard drive -- I created a directory ~/Library/System-Images -- then use the VirtualBox media manager to "mount" the .iso into your VM. I'd use the DVD .iso simply because it has more stuff in it. Since you're not constrained by the capacity of a physical drive, there's no reason to use anything smaller. Cheers, Matthew --=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 --------------enig320A80287BB8F9C1F0F82081 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1RqngACgkQ8Mjk52CukIwpNwCaAmgeH1XFQtytdiOaANMohXUw CFcAn1ZWf9dpDnCaT+XQLlYBnnZg4L8j =Md1S -----END PGP SIGNATURE----- --------------enig320A80287BB8F9C1F0F82081-- From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 21:56:31 2011 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 861B7106564A for ; Tue, 8 Feb 2011 21:56:31 +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 422D98FC16 for ; Tue, 8 Feb 2011 21:56:31 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for freebsd-questions@freebsd.org with esmtp (envelope-from ) id <1PmvXy-0001rA-8v>; Tue, 08 Feb 2011 22:56:30 +0100 Received: from e178018210.adsl.alicedsl.de ([85.178.18.210] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) for freebsd-questions@freebsd.org with esmtpsa (envelope-from ) id <1PmvXy-0001bu-6L>; Tue, 08 Feb 2011 22:56:30 +0100 Message-ID: <4D51BC0E.9000708@mail.zedat.fu-berlin.de> Date: Tue, 08 Feb 2011 22:56:30 +0100 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20110129 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.18.210 Subject: port reinstall does not update /var/db/pkg (libreoffice) 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, 08 Feb 2011 21:56:31 -0000 Libreoffice undergoes a lot of chenges these days, so updating the port from siurce takes more than four hours on my boxes. On one of the, running FreeBSD 9.0-CUR/amd64, portmaster fails to update to libreoffice-3.3.0_3, process quits with random strange errors. Doing the job from ports/editors/libreoffice via 'make reinstall' works fine, but this does not update /var/db/pkg/libreoffice-3.3.0_3 properly, so that everytime I perform "portmaster -av", libreoffice shows up again, claiming being libreoffice-3.3.0_1, wanting to be updated to libreoffice-3.3.0_3 (not realising that it is already libreoffice-3.3.0_2, because I updated sunday the last time and after the today's update it is de facto libreoffice-3.3.0_3, but /var/db/pkg/libreoffice-3.3.0_1 clains still to be libreoffice-3.3.0_1). How to fix this? From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 22:27:17 2011 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 1791A106564A for ; Tue, 8 Feb 2011 22:27:17 +0000 (UTC) (envelope-from bf1783@googlemail.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 CBAE48FC0C for ; Tue, 8 Feb 2011 22:27:16 +0000 (UTC) Received: by yxh35 with SMTP id 35so2602005yxh.13 for ; Tue, 08 Feb 2011 14:27:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:reply-to:date:message-id:subject :from:to:cc:content-type; bh=G+13ncOzIE7fw8chF4W3UC86u1O7BoERvvKrcIEmgDk=; b=MWezdehLNbs8w41EUw9COuX4Ku1qn3JwTvVM6LtBUoef71zF0JTnBqtn1Crr18U7Ac z8K4mEHzCzU5wxBdg4biAzX/4eCJ0YUoIuT8Mmg1f0zjSiy5j4EEwel6MtAMoupwpNaK pjqV3Eqqrtu1pc0n6uFYltRe3+WW8YazIYR/k= 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=w5G2zKlSdOHLeGlCmOm1TmMiyF4GlHLWAFfMrplnUzJ5J+NVmahnHiE8bF2pMG+nR1 4r2Fed8bZR+VTRImj8MTVKlowcJokWV72TvalUt9Q1imBr9DbOixj215ilVZg4mCKkNC 1cNSJbR4xBwCWFBL+BjImY6PTfzQIhL6+feTk= MIME-Version: 1.0 Received: by 10.236.103.41 with SMTP id e29mr3048555yhg.11.1297204035841; Tue, 08 Feb 2011 14:27:15 -0800 (PST) Received: by 10.236.110.52 with HTTP; Tue, 8 Feb 2011 14:27:15 -0800 (PST) Date: Tue, 8 Feb 2011 17:27:15 -0500 Message-ID: From: "b. f." To: Mario Lobo Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@FreeBSD.org Subject: Re: Accessing a GPT drive 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: Tue, 08 Feb 2011 22:27:17 -0000 > Os: FreeBSD amd64 w/ options GEOM_PART_GPT What version of FreeBSD? > I added a drive to my system which I installed win7 64. The drive is 500G. > I gave 100G to win7. Then I created an ext2 partition with the unallocated > space with a gparted cd. > fdisk shows the MBR of the drive with the win7 system and data partitions > and the ext2 partition created. This is a bit confusing. You didn't tell us exactly what you did with gparted (by the way, you should be able to do this with gpart(8) in recent versions of FreeBSD), what version of fdisk you used, or what MBR you are referring to here (maybe a protective MBR?), since you claim that Win7 only installs in a GPT scheme. Are you sure about that? Did you try to layout a disk first, and then install Win7 into an existing partition? I don't have a copy of Win7 to check this, but I've seen other accounts that didn't mention this problem, e.g., http://bastian.rieck.ru/howtos/windows_boot_manager/ http://forums.freebsd.org/showthread.php?t=14222 But maybe you have an EFI-based system? > I need to access both the NTFS win7 and ext2 partitions from freeBSD. FBSD > "sees" the drive (ada2) but does not "see" the partitions. I need to access > the ext2 partition > from both FBSD and win7. I have another ext2 on the other drive that both > OSs see fine but that drive > has MBR scheme. Win7 only installs in a GPT partition. How exactly did you determine that FreeBSD doesn't "see" the partitions? By using "gpart show"? In the past, I've found: http://www.rodsbooks.com/gdisk/ a useful source of information about using GPT with FreeBSD and Win*, although some of the OS-specific material is dated. b. From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 23:11:46 2011 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 1DC3A106566C for ; Tue, 8 Feb 2011 23:11:46 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id C96A28FC12 for ; Tue, 8 Feb 2011 23:11:45 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.186]) by mail.unitedinsong.com.au (Postfix) with ESMTP id 6AEF55C44 for ; Wed, 9 Feb 2011 09:18:52 +1000 (EST) Message-ID: <4D51CD05.8040003@herveybayaustralia.com.au> Date: Wed, 09 Feb 2011 09:08:53 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.16) Gecko/20110204 Thunderbird/3.0.11 ThunderBrowse/3.3.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4D515148.3000009@herveybayaustralia.com.au> <20110208151849.GC3267@catflap.slightlystrange.org> In-Reply-To: <20110208151849.GC3267@catflap.slightlystrange.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: pf, binat, rdr, and one ip 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, 08 Feb 2011 23:11:46 -0000 On 02/09/11 01:18, Daniel Bye wrote: > On Wed, Feb 09, 2011 at 12:20:56AM +1000, Da Rock wrote: > >> A very quick question. >> >> PF firewall. One static public IP. About 6 servers on the internal >> network (dmz). One server binat in the pf.conf, the rest redirected. >> >> Possible? Or would it die in the hole? >> > I guess you're concerned about performance and resource usage? If so, this > may be helpful. > > http://www.openbsd.org/faq/pf/perf.html > > Dan > Useful info to have, thanks. But no, I'm interested in if the binatting will interfere with the rdr's (or vice versa). Cheers From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 23:29:49 2011 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 4B300106566B for ; Tue, 8 Feb 2011 23:29:49 +0000 (UTC) (envelope-from prvs=013b53469=pschmehl_lists@tx.rr.com) Received: from ip-001.utdallas.edu (ip-001.utdallas.edu [129.110.20.107]) by mx1.freebsd.org (Postfix) with ESMTP id 0D8D88FC08 for ; Tue, 8 Feb 2011 23:29:48 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApQKAEBhUU2BbgogSmdsb2JhbAClTQEBGgYCIL07hVoEhHuNJA X-IronPort-AV: E=Sophos;i="4.60,444,1291615200"; d="scan'208";a="53574832" Received: from zxtm01.utdallas.edu (HELO [129.110.200.11]) ([129.110.10.32]) by ip-001.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 08 Feb 2011 17:29:37 -0600 Date: Tue, 08 Feb 2011 17:29:36 -0600 From: Paul Schmehl To: George Liaskos , Paul Schmehl Message-ID: <364CBF42407D5F05973AABEC@utd71538.local> In-Reply-To: References: <4931EE20DDBCC766297B3578@utd71538.local> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Adam Vande More , FreeBSD Questions List Subject: Re: FreeBSD 8.1 as a Virtualbox Guest OS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Feb 2011 23:29:49 -0000 --On February 8, 2011 8:14:19 PM +0200 George Liaskos wrote: > The system is booting, but when it gets to >> md0: Preloaded image 4194304 bytes at 0xffffffff80e6aa98 >> it stops and goes no further. > > Try enabling IO APIC under System > Motherboard. That solved the problem. Thank you very much! -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell From owner-freebsd-questions@FreeBSD.ORG Tue Feb 8 23:37:16 2011 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 4D2761065670 for ; Tue, 8 Feb 2011 23:37:16 +0000 (UTC) (envelope-from prvs=013b53469=pschmehl_lists@tx.rr.com) Received: from ip-002.utdallas.edu (ip-002.utdallas.edu [129.110.20.108]) by mx1.freebsd.org (Postfix) with ESMTP id 1CA318FC1D for ; Tue, 8 Feb 2011 23:37:15 +0000 (UTC) X-Group: None X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjwKADxiUU2BbgogSmdsb2JhbAClTQEBIAIgvTSFWgSEew X-IronPort-AV: E=Sophos;i="4.60,444,1291615200"; d="scan'208";a="50264560" Received: from zxtm01.utdallas.edu (HELO [129.110.200.11]) ([129.110.10.32]) by ip-002.utdallas.edu with ESMTP/TLS/DHE-RSA-AES256-SHA; 08 Feb 2011 17:37:13 -0600 Date: Tue, 08 Feb 2011 17:37:13 -0600 From: Paul Schmehl To: Matthew Seaman Message-ID: <5A3BAEFEABE81B9BF58FD509@utd71538.local> In-Reply-To: <4D51AA6A.60701@infracaninophile.co.uk> References: <4D51AA6A.60701@infracaninophile.co.uk> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: FreeBSD Questions List Subject: Re: FreeBSD 8.1 as a Virtualbox Guest OS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Feb 2011 23:37:16 -0000 --On February 8, 2011 8:41:14 PM +0000 Matthew Seaman wrote: > On 08/02/2011 15:33, Paul Schmehl wrote: >> I'm trying to setup a FreeBSD VM in Virtualbox. The host OS is Mac OS X >> 10.6.6. I'm already running Windows 7 64 bit with no problems. When >> you setup a new VM, you get a first time startup scenario that asks you >> to point to a file (iso usually) that contains the setup program for the >> OS. Then, when you boot the machine, setup begins. > > Works for me on much the same kit. As I recall, you need to play with > the CPU etc. settings a bit to find some combination that will boot. > Let's see... > > OS Type FreeBSD (64 bit) > As much RAM as you want > One CPU > Enable PAE/NX > VT-x/AMD-V Enabled > Nested Paging Enabled > Enable IO APIC ^^^^^^^^^^^^^^^^^^^^^^^ That was the critical piece. Once I did that the old familiar setup routine came up. I'm installing now. Thanks for everyone's help. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* "It is as useless to argue with those who have renounced the use of reason as to administer medication to the dead." Thomas Jefferson "There are some ideas so wrong that only a very intelligent person could believe in them." George Orwell From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 00:48:59 2011 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 BF5F1106564A for ; Wed, 9 Feb 2011 00:48:59 +0000 (UTC) (envelope-from kline@ethic.thought.org) Received: from ethic.thought.org (plato.thought.org [209.180.213.209]) by mx1.freebsd.org (Postfix) with ESMTP id 59A178FC1D for ; Wed, 9 Feb 2011 00:48:58 +0000 (UTC) Received: from ethic.thought.org (localhost [127.0.0.1]) by ethic.thought.org (8.14.4/8.14.3) with ESMTP id p190movS048692; Tue, 8 Feb 2011 16:48:50 -0800 (PST) (envelope-from kline@ethic.thought.org) Received: (from kline@localhost) by ethic.thought.org (8.14.4/8.14.3/Submit) id p190moQv048691; Tue, 8 Feb 2011 16:48:50 -0800 (PST) (envelope-from kline) Date: Tue, 8 Feb 2011 16:48:50 -0800 From: Gary Kline To: Bruce Cran Message-ID: <20110209004850.GA48543@thought.org> References: <20110207235146.GA9689@thought.org> <20110208112304.00000d51@unknown> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110208112304.00000d51@unknown> 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. X-Spam-Status: No, score=-2.9 required=3.9 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on ethic.thought.org Cc: freebsd-questions@freebsd.org, Bahman Kahinpour Subject: Re: Debian GNU/kFreeBSD 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, 09 Feb 2011 00:48:59 -0000 On Tue, Feb 08, 2011 at 11:23:04AM +0000, Bruce Cran wrote: > On Mon, 7 Feb 2011 15:51:46 -0800 > Gary Kline wrote: > > > I haven't heard anything about somebody picking up the idea on > > integrating Debian Linux and FreeBSD, so unless Zeus stabbed > > hisself in the back while about to hurl a lightening bolt, > > don't worry. > > http://www.debian.org/ports/kfreebsd-gnu/ > > -- > Bruce Cran WEll, now that my telco modem/router is working--the old one died after three years of wierdness--I checked out the URL. I am in your debt, Sire. I'm glad that some folks have picked up the idea after all this time. Keeping the ports tree current here on my server is a huge time sink and why I run Ubuntu as a desktop. --Ubuntu is << flawless; the festival and ktts* stuff fails. On my EEE-900A pure Debian just- works. ---Still. in a few more years I may switch back to Deb/FBSD, :_) Yum//kk; i just chewed down 17 pain pills, and whilst i'm still rambling, a question that I have had for years:: what amination utility is it that makes video apps work on linuc but FBSD doesn't have? (I was just able to watch Frontline. It was plug'n'play on my Desktop, but nogo on my server.) gary PS: to the others onlist who wrote off:: emails be comin' roundthe mountain. -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix The 7.98a release of Jottings: http://jottings.thought.org/index.php http://journey.thought.org ethic CommUNIXcations: http://pagetwo.thought.org/FWIW.php From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 04:00:16 2011 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 A7930106564A; Wed, 9 Feb 2011 04:00:16 +0000 (UTC) (envelope-from mac.wang@sinosol-projects-asia.com) Received: from smtpcom.263xmail.com (smtpcom.263xmail.com [211.150.64.23]) by mx1.freebsd.org (Postfix) with ESMTP id E3EB58FC18; Wed, 9 Feb 2011 04:00:15 +0000 (UTC) Received: from smtpcom.263xmail.com (localhost.localdomain [127.0.0.1]) by smtpcom.263xmail.com (Postfix) with ESMTP id 026CE700B2; Wed, 9 Feb 2011 11:33:18 +0800 (CST) X-ABS-CHECKED: 1 X-KSVirus-check: 0 Received: from [127.0.0.1] (localhost.localdomain [127.0.0.1]) by smtpcom.263xmail.com (Postfix) with ESMTP id C7794480; Wed, 9 Feb 2011 11:33:12 +0800 (CST) X-SENDER-IP: 211.101.135.22 X-LOGIN-NAME: mac.wang@sinosol-projects-asia.com X-ATTACHMENT-NUM: 0 X-SENDER: mac.wang@sinosol-projects-asia.com Received: from [127.0.0.1] (unknown [211.101.135.22]) by smtpcom.263xmail.com (Postfix) whith ESMTP id 6241R4I570; Wed, 09 Feb 2011 11:32:44 +0800 (CST) Message-ID: <4D520AE5.9010004@sinosol-projects-asia.com> Date: Wed, 09 Feb 2011 11:32:53 +0800 From: "Mac WANG ( Sinosol Asia Ltd.)" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-ports-bugs@freebsd.org, freebsd-questions@FreeBSD.org X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Error when MAKE the port IPSEC-TOOLS 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, 09 Feb 2011 04:00:16 -0000 Hi guys, There always have error when I MAKE ipsec-tools-0.7.3. How can I do that ? Please help me. FreeBSD 6.3-RELEASE i386 and individuation kernel. make all-am cc -DHAVE_CONFIG_H -I. -I../.. -I./../libipsec -I./../../src/racoon/missing -I/usr/local/include -D_GNU_SOURCE -DSYSCONFDIR=\"/usr/local/etc/racoon\" -DADMINPORTDIR=\"/var/db/racoon\" -pipe -g -DLDAP_DEPRECATED -Wall -Werror -Wno-unused -DEAYDEBUG -o crypto_openssl_test.o -c ./crypto_openssl.c In file included from ./crypto_openssl.c:89: ./../../src/racoon/missing/crypto/sha2/sha2.h:107: error: conflicting types for 'SHA256_CTX' /usr/local/include/openssl/sha.h:135: error: previous declaration of 'SHA256_CTX' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:112: error: conflicting types for 'SHA512_CTX' /usr/local/include/openssl/sha.h:181: error: previous declaration of 'SHA512_CTX' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:123: error: conflicting types for 'SHA256_Init' /usr/local/include/openssl/sha.h:142: error: previous declaration of 'SHA256_Init' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:123: error: conflicting types for 'SHA256_Init' /usr/local/include/openssl/sha.h:142: error: previous declaration of 'SHA256_Init' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:124: error: conflicting types for 'SHA256_Update' /usr/local/include/openssl/sha.h:143: error: previous declaration of 'SHA256_Update' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:124: error: conflicting types for 'SHA256_Update' /usr/local/include/openssl/sha.h:143: error: previous declaration of 'SHA256_Update' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:125: error: conflicting types for 'SHA256_Final' /usr/local/include/openssl/sha.h:144: error: previous declaration of 'SHA256_Final' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:125: error: conflicting types for 'SHA256_Final' /usr/local/include/openssl/sha.h:144: error: previous declaration of 'SHA256_Final' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:131: error: conflicting types for 'SHA384_Init' /usr/local/include/openssl/sha.h:185: error: previous declaration of 'SHA384_Init' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:131: error: conflicting types for 'SHA384_Init' /usr/local/include/openssl/sha.h:185: error: previous declaration of 'SHA384_Init' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:132: error: conflicting types for 'SHA384_Update' /usr/local/include/openssl/sha.h:186: error: previous declaration of 'SHA384_Update' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:132: error: conflicting types for 'SHA384_Update' /usr/local/include/openssl/sha.h:186: error: previous declaration of 'SHA384_Update' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:133: error: conflicting types for 'SHA384_Final' /usr/local/include/openssl/sha.h:187: error: previous declaration of 'SHA384_Final' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:133: error: conflicting types for 'SHA384_Final' /usr/local/include/openssl/sha.h:187: error: previous declaration of 'SHA384_Final' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:139: error: conflicting types for 'SHA512_Init' /usr/local/include/openssl/sha.h:189: error: previous declaration of 'SHA512_Init' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:139: error: conflicting types for 'SHA512_Init' /usr/local/include/openssl/sha.h:189: error: previous declaration of 'SHA512_Init' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:140: error: conflicting types for 'SHA512_Update' /usr/local/include/openssl/sha.h:190: error: previous declaration of 'SHA512_Update' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:140: error: conflicting types for 'SHA512_Update' /usr/local/include/openssl/sha.h:190: error: previous declaration of 'SHA512_Update' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:141: error: conflicting types for 'SHA512_Final' /usr/local/include/openssl/sha.h:191: error: previous declaration of 'SHA512_Final' was here ./../../src/racoon/missing/crypto/sha2/sha2.h:141: error: conflicting types for 'SHA512_Final' /usr/local/include/openssl/sha.h:191: error: previous declaration of 'SHA512_Final' was here *** Error code 1 Stop in /usr/ports/security/ipsec-tools/work/ipsec-tools-0.7.3/src/racoon. *** Error code 1 Stop in /usr/ports/security/ipsec-tools/work/ipsec-tools-0.7.3/src/racoon. *** Error code 1 Stop in /usr/ports/security/ipsec-tools/work/ipsec-tools-0.7.3/src. *** Error code 1 Stop in /usr/ports/security/ipsec-tools/work/ipsec-tools-0.7.3. *** Error code 1 Stop in /usr/ports/security/ipsec-tools/work/ipsec-tools-0.7.3. *** Error code 1 Stop in /usr/ports/security/ipsec-tools. *** Error code 1 Stop in /usr/ports/security/ipsec-tools. From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 09:04:03 2011 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 271BB106566B for ; Wed, 9 Feb 2011 09:04:03 +0000 (UTC) (envelope-from bsemene@cyanide-studio.com) Received: from mail.cyanide-studio.com (mail.cyanide-studio.com [62.73.7.64]) by mx1.freebsd.org (Postfix) with ESMTP id B6B198FC16 for ; Wed, 9 Feb 2011 09:04:02 +0000 (UTC) Received: from localhost (unknown [10.1.8.14]) by mail.cyanide-studio.com (Postfix) with ESMTP id 0B4F717BF447 for ; Wed, 9 Feb 2011 09:47:39 +0100 (CET) Received: from mail.cyanide-studio.com ([10.1.8.3]) by localhost (mailguard.cyanide-studio.com [10.1.8.14]) (amavisd-maia, port 10024) with ESMTP id 63173-09 for ; Wed, 9 Feb 2011 09:47:38 +0100 (CET) Received: from [10.1.8.96] (unknown [10.1.8.96]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: bsemene@cyanide-studio.com) by mail.cyanide-studio.com (Postfix) with ESMTP id D782E17BF442 for ; Wed, 9 Feb 2011 09:47:38 +0100 (CET) Message-ID: <4D5254AB.5030408@cyanide-studio.com> Date: Wed, 09 Feb 2011 09:47:39 +0100 From: Bastien Semene User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.2.13) Gecko/20101207 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: Subject: Partial DNS tree 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, 09 Feb 2011 09:04:03 -0000 Hi everyone, This is not the preferred mailing list to ask this question, but I think people here can easily answer. I've seen in the past that DNS servers can resolve some FQDNs while forwarding (or caching) other resolutions of the same DN. But I can't remember the word qualifying this technology, and had hard time finding this on google. Can someone please point me to the correct direction ? The goal of this is to have some FQDN (i.e. : svn.domain.com) resolved on a local network, and others (i.e. www.domain.com) resolved on the Internet. I think this is the best solution for a subsidiary to have local resources while also can hit remote resources. And it should be easy to maintain. Thank you ! -- Bastien Semene Administrateur Réseau& Système Cyanide Studio - FRANCE From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 09:11:52 2011 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 646F81065670 for ; Wed, 9 Feb 2011 09:11:52 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id 0699D8FC16 for ; Wed, 9 Feb 2011 09:11:51 +0000 (UTC) Received: from localhost ([127.0.0.1]) by mail.ose.nl for freebsd-questions@freebsd.org; Wed, 9 Feb 2011 10:11:49 +0100 Message-ID: <4D525A55.60003@ose.nl> Date: Wed, 09 Feb 2011 10:11:49 +0100 From: Bas Smeelen User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4D5254AB.5030408@cyanide-studio.com> In-Reply-To: <4D5254AB.5030408@cyanide-studio.com> Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Re: Partial DNS tree 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, 09 Feb 2011 09:11:52 -0000 On 02/09/2011 09=3A47 AM=2C Bastien Semene wrote=3A =3E =3E I=27ve seen in the past that DNS servers can resolve some FQDNs while= =3E forwarding =28or caching=29 other resolutions of the same DN=2E =3E But I can=27t remember the word qualifying this technology=2C and had h= ard =3E time finding this on google=2E Can someone please point me to the corre= ct =3E direction =3F =3E =3E The goal of this is to have some FQDN =28i=2Ee=2E =3A svn=2Edomain=2Eco= m=29 resolved on =3E a local network=2C and others =28i=2Ee=2E www=2Edomain=2Ecom=29 resolve= d on the Internet=2E =3E I think this is the best solution for a subsidiary to have local resour= ces =3E while also can hit remote resources=2E And it should be easy to maintai= n=2E =3E You can use dnsmasq for this=2E It=27s in /usr/ports/dns/dnsmasq DISCLAIMER=3A This e-mail is for the intended recipient=28s=29 only=2E Acce= ss=2C disclosure=2C copying=2C distribution or reliance on any of it by anyone else is prohibited=2E If yo= u have received it by mistake please let us know by reply and then delete it from your system= =2E From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 09:41:30 2011 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 828D1106566B for ; Wed, 9 Feb 2011 09:41:30 +0000 (UTC) (envelope-from cebdan@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 1B4AC8FC08 for ; Wed, 9 Feb 2011 09:41:29 +0000 (UTC) Received: by fxm16 with SMTP id 16so7436334fxm.13 for ; Wed, 09 Feb 2011 01:41:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=tVw6O6rJZtoE9ddbV51U8bJaw0kyoQelIq2YkCuZbJw=; b=lbpDZzoP/J/E75C15bG+meiDNGJQ8MTnp/UtRwiMTOlYVwaDu4lWx0pROh8bxYC4rS dphIBkXwS6dt/xo1nQW0esBkFR6DaR76TRwGsdQb/dOBLPNLObe1/VShQCxVBYtr0jEw DqefdcWVqRvUZxYA1cPf1gUJfeTaVQF9DpDVI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=wbWMNwIHRuoigdC39fXWea/8FvV0ZlIhO2V1NfjhMPwhlfh5qVIaAeCKDqZEAT3ktX nPHMyjXC+/1bmDSPW2c5mS3sJv7P7N2CaXcfvXsBkyIGuioig4K6ppBpDG5Wok2ttICW Rl0CNNxLP4C3MDs/xYJxJf/1B/hQmBUiU47b4= MIME-Version: 1.0 Received: by 10.223.53.68 with SMTP id l4mr2523503fag.44.1297243097921; Wed, 09 Feb 2011 01:18:17 -0800 (PST) Received: by 10.223.164.156 with HTTP; Wed, 9 Feb 2011 01:18:17 -0800 (PST) Date: Wed, 9 Feb 2011 10:18:17 +0100 Message-ID: From: daniel cebd To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Opera cpu 100% 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, 09 Feb 2011 09:41:30 -0000 FreeBSD new-host.home 8.2-RC3 FreeBSD 8.2-RC3 #0: Sun Jan 30 06:52:51 UTC 2011 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Bug ? OPERA 11.00 et OPERA 11.01 hang up sur telerama.fr. 100%cpu actif. From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 11:16:47 2011 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 E8FA5106564A for ; Wed, 9 Feb 2011 11:16:47 +0000 (UTC) (envelope-from dan@slightlystrange.org) Received: from catflap.slightlystrange.org (cpc2-cmbg14-2-0-cust883.5-4.cable.virginmedia.com [86.26.3.116]) by mx1.freebsd.org (Postfix) with ESMTP id A22CA8FC08 for ; Wed, 9 Feb 2011 11:16:47 +0000 (UTC) Received: from dan by catflap.slightlystrange.org with local (Exim 4.73 (FreeBSD)) (envelope-from ) id 1Pn82Q-000KHm-HS for freebsd-questions@freebsd.org; Wed, 09 Feb 2011 11:16:46 +0000 Date: Wed, 9 Feb 2011 11:16:46 +0000 From: Daniel Bye To: freebsd-questions@freebsd.org Message-ID: <20110209111646.GD3267@catflap.slightlystrange.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <4D515148.3000009@herveybayaustralia.com.au> <20110208151849.GC3267@catflap.slightlystrange.org> <4D51CD05.8040003@herveybayaustralia.com.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="FoLtEtfbNGMjfgrs" Content-Disposition: inline In-Reply-To: <4D51CD05.8040003@herveybayaustralia.com.au> 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.2-PRERELEASE amd64 Sender: Daniel Bye Subject: Re: pf, binat, rdr, and one ip 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: Wed, 09 Feb 2011 11:16:48 -0000 --FoLtEtfbNGMjfgrs Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 09, 2011 at 09:08:53AM +1000, Da Rock wrote: > On 02/09/11 01:18, Daniel Bye wrote: > >On Wed, Feb 09, 2011 at 12:20:56AM +1000, Da Rock wrote: > > =20 > >>A very quick question. > >> > >>PF firewall. One static public IP. About 6 servers on the internal > >>network (dmz). One server binat in the pf.conf, the rest redirected. > >> > >>Possible? Or would it die in the hole? > >> =20 > >I guess you're concerned about performance and resource usage? If so, th= is > >may be helpful. > > > >http://www.openbsd.org/faq/pf/perf.html > > > >Dan > > =20 > Useful info to have, thanks. But no, I'm interested in if the binatting= =20 > will interfere with the rdr's (or vice versa). Ah, I see. I don't know, is the straight answer - I've never needed to use both together. A bit of idle googling seems to suggest it's possible, but I don't have time right now to dig any deeper. Dan --=20 Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --FoLtEtfbNGMjfgrs Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAk1Sd54ACgkQixf5fBYiFmoK/QCg3wL1RNAah56r6mJtnqwAUYwn mScAoLvWCQ0aM1s5zhWIMn0xmlckg8Rt =f3aL -----END PGP SIGNATURE----- --FoLtEtfbNGMjfgrs-- From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 11:36:51 2011 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 A6766106564A for ; Wed, 9 Feb 2011 11:36:51 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 5A6F38FC19 for ; Wed, 9 Feb 2011 11:36:51 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.186]) by mail.unitedinsong.com.au (Postfix) with ESMTP id A328D5C44 for ; Wed, 9 Feb 2011 21:43:58 +1000 (EST) Message-ID: <4D527BAC.3080805@herveybayaustralia.com.au> Date: Wed, 09 Feb 2011 21:34:04 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.16) Gecko/20110204 Thunderbird/3.0.11 ThunderBrowse/3.3.4 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4D515148.3000009@herveybayaustralia.com.au> <20110208151849.GC3267@catflap.slightlystrange.org> <4D51CD05.8040003@herveybayaustralia.com.au> <20110209111646.GD3267@catflap.slightlystrange.org> In-Reply-To: <20110209111646.GD3267@catflap.slightlystrange.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: pf, binat, rdr, and one ip 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, 09 Feb 2011 11:36:51 -0000 On 02/09/11 21:16, Daniel Bye wrote: > On Wed, Feb 09, 2011 at 09:08:53AM +1000, Da Rock wrote: > >> On 02/09/11 01:18, Daniel Bye wrote: >> >>> On Wed, Feb 09, 2011 at 12:20:56AM +1000, Da Rock wrote: >>> >>> >>>> A very quick question. >>>> >>>> PF firewall. One static public IP. About 6 servers on the internal >>>> network (dmz). One server binat in the pf.conf, the rest redirected. >>>> >>>> Possible? Or would it die in the hole? >>>> >>>> >>> I guess you're concerned about performance and resource usage? If so, this >>> may be helpful. >>> >>> http://www.openbsd.org/faq/pf/perf.html >>> >>> Dan >>> >>> >> Useful info to have, thanks. But no, I'm interested in if the binatting >> will interfere with the rdr's (or vice versa). >> > Ah, I see. I don't know, is the straight answer - I've never needed to use > both together. A bit of idle googling seems to suggest it's possible, but > I don't have time right now to dig any deeper. > Thats exactly what I got too. Nothing definitive to go on. Apparently not a very common arrangement. It *seems* to be working, but there are some weird quirks I can't quite account for. Hence the question to the guys who'd know... :) From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 12:05:51 2011 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 8770A106566B for ; Wed, 9 Feb 2011 12:05:51 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 45C8A8FC08 for ; Wed, 9 Feb 2011 12:05:51 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) for freebsd-questions@FreeBSD.ORG with esmtp (envelope-from ) id <1Pn8nu-0000lm-A5>; Wed, 09 Feb 2011 13:05:50 +0100 Received: from telesto.geoinf.fu-berlin.de ([130.133.86.198]) by inpost2.zedat.fu-berlin.de (Exim 4.69) for freebsd-questions@FreeBSD.ORG with esmtpsa (envelope-from ) id <1Pn8nu-0003VU-81>; Wed, 09 Feb 2011 13:05:50 +0100 Message-ID: <4D528321.6060100@zedat.fu-berlin.de> Date: Wed, 09 Feb 2011 13:05:53 +0100 From: "O. Hartmann" Organization: Freie =?ISO-8859-1?Q?Universit=E4t_Berlin?= User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20101210 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 130.133.86.198 Cc: Subject: LibreOffice 3.3.0: incapable of opening M$ Office Excel sheets which could be opened by OO 3.2.1 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, 09 Feb 2011 12:05:51 -0000 I got a serious problem: LibeOffice 3.3.0 rejects opening Microsoft Office Excel created spreadsheets with an 'internal import error'. Is there anything to be aware of or is this a real bug? Regards, Oliver From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 13:04:28 2011 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 66001106566C for ; Wed, 9 Feb 2011 13:04:28 +0000 (UTC) (envelope-from max@mxcrypt.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 045B38FC0A for ; Wed, 9 Feb 2011 13:04:27 +0000 (UTC) Received: by ewy24 with SMTP id 24so47836ewy.13 for ; Wed, 09 Feb 2011 05:04:27 -0800 (PST) Received: by 10.213.13.16 with SMTP id z16mr1720357ebz.45.1297255152381; Wed, 09 Feb 2011 04:39:12 -0800 (PST) MIME-Version: 1.0 Received: by 10.213.13.80 with HTTP; Wed, 9 Feb 2011 04:38:42 -0800 (PST) In-Reply-To: <4D527BAC.3080805@herveybayaustralia.com.au> References: <4D515148.3000009@herveybayaustralia.com.au> <20110208151849.GC3267@catflap.slightlystrange.org> <4D51CD05.8040003@herveybayaustralia.com.au> <20110209111646.GD3267@catflap.slightlystrange.org> <4D527BAC.3080805@herveybayaustralia.com.au> From: Maxim Khitrov Date: Wed, 9 Feb 2011 07:38:42 -0500 Message-ID: To: Da Rock Content-Type: text/plain; charset=UTF-8 Cc: freebsd-questions@freebsd.org Subject: Re: pf, binat, rdr, and one ip 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, 09 Feb 2011 13:04:28 -0000 On Wed, Feb 9, 2011 at 6:34 AM, Da Rock wrote: > On 02/09/11 21:16, Daniel Bye wrote: >> >> On Wed, Feb 09, 2011 at 09:08:53AM +1000, Da Rock wrote: >> >>> >>> On 02/09/11 01:18, Daniel Bye wrote: >>> >>>> >>>> On Wed, Feb 09, 2011 at 12:20:56AM +1000, Da Rock wrote: >>>> >>>> >>>>> >>>>> A very quick question. >>>>> >>>>> PF firewall. One static public IP. About 6 servers on the internal >>>>> network (dmz). One server binat in the pf.conf, the rest redirected. >>>>> >>>>> Possible? Or would it die in the hole? >>>>> >>>>> >>>> >>>> I guess you're concerned about performance and resource usage? If so, >>>> this >>>> may be helpful. >>>> >>>> http://www.openbsd.org/faq/pf/perf.html >>>> >>>> Dan >>>> >>>> >>> >>> Useful info to have, thanks. But no, I'm interested in if the binatting >>> will interfere with the rdr's (or vice versa). >>> >> >> Ah, I see. I don't know, is the straight answer - I've never needed to use >> both together. A bit of idle googling seems to suggest it's possible, but >> I don't have time right now to dig any deeper. >> > > Thats exactly what I got too. Nothing definitive to go on. Apparently not a > very common arrangement. It *seems* to be working, but there are some weird > quirks I can't quite account for. Hence the question to the guys who'd > know... :) According to pf.conf(5): Evaluation order of the translation rules is dependent on the type of the translation rules and of the direction of a packet. binat rules are always evaluated first. Then either the rdr rules are evaluated on an inbound packet or the nat rules on an outbound packet. Rules of the same type are evaluated in the same order in which they appear in the ruleset. The first matching rule decides what action is taken. The way I interpret this is that when an outside client tries to establish a connection to one of your servers, the rdr rules will never be evaluated, since the only public IP is translated with binat. Outgoing connections shouldn't have a problem, since binat will only match one local IP address and the others can be translated with nat rules. - Max From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 13:24:32 2011 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 9A91D106566B for ; Wed, 9 Feb 2011 13:24:32 +0000 (UTC) (envelope-from hskuhra@fastmail.fm) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id 6CCF68FC15 for ; Wed, 9 Feb 2011 13:24:32 +0000 (UTC) Received: from compute1.internal (compute1.nyi.mail.srv.osa [10.202.2.41]) by gateway1.messagingengine.com (Postfix) with ESMTP id CA74921A66 for ; Wed, 9 Feb 2011 08:24:31 -0500 (EST) Received: from web1.messagingengine.com ([10.202.2.211]) by compute1.internal (MEProxy); Wed, 09 Feb 2011 08:24:31 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:from:to:mime-version:content-transfer-encoding:content-type:in-reply-to:references:subject:date; s=smtpout; bh=I5ELP42mPcDPtBXDoo9P7M+Zs8M=; b=VZf7RnWTQ7pjiMSTi9J4jMMqkFTqfbNmHLFGo1jmaoC95rFbntkEEshphsxZfKIu0gCP6bW1HSMNN9qM1doLde1jW6IO8g5P3K66XNQYpiG4SHMprvwpWI9QxpoHYBzyQCubFcXbqjca2HmVu/T92XQ6Mv3m4ttFhEN6bfHyaqI= Received: by web1.messagingengine.com (Postfix, from userid 99) id 946F05819F4; Wed, 9 Feb 2011 08:24:31 -0500 (EST) Message-Id: <1297257871.5138.1419764145@webmail.messagingengine.com> X-Sasl-Enc: SyhScqC1KpCYKrkNapstjrc2qW0eujj6Zoz4W8jH9OHf 1297257871 From: "Herbert J. Skuhra" To: freebsd-questions@FreeBSD.ORG MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" X-Mailer: MessagingEngine.com Webmail Interface In-Reply-To: <4D528321.6060100@zedat.fu-berlin.de> References: <4D528321.6060100@zedat.fu-berlin.de> Date: Wed, 09 Feb 2011 14:24:31 +0100 Cc: Subject: Re: LibreOffice 3.3.0: incapable of opening M$ Office Excel sheets which could be opened by OO 3.2.1 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, 09 Feb 2011 13:24:32 -0000 On Wed, 09 Feb 2011 13:05 +0100, "O. Hartmann" wrote: > I got a serious problem: LibeOffice 3.3.0 rejects opening Microsoft > Office Excel created spreadsheets with an 'internal import error'. Is > there anything to be aware of or is this a real bug? The libreoffice port was updated today. One change: - Fix input/output error on MS Office files -Herbert From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 15:38:19 2011 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 C02A01065672 for ; Wed, 9 Feb 2011 15:38:19 +0000 (UTC) (envelope-from a.spinella@rfc1925.net) Received: from joy.rfc1925.net (host10-102-static.12-87-b.business.telecomitalia.it [87.12.102.10]) by mx1.freebsd.org (Postfix) with ESMTP id 125AF8FC17 for ; Wed, 9 Feb 2011 15:38:18 +0000 (UTC) Received: from joy.rfc1925.net (localhost [127.0.0.1]) by joy.rfc1925.net (Postfix) with ESMTP id 8C622125572 for ; Wed, 9 Feb 2011 16:21:37 +0100 (CET) X-Virus-Scanned: amavisd-new at rfc1925.net Received: from joy.rfc1925.net ([127.0.0.1]) by joy.rfc1925.net (joy.rfc1925.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id bgcBxxiKBgMq for ; Wed, 9 Feb 2011 16:21:28 +0100 (CET) Received: from LSD25.communicationvalley.it (unknown [194.246.127.212]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: a.spinella@rfc1925.net) by joy.rfc1925.net (Postfix) with ESMTPSA id A5605125579 for ; Wed, 9 Feb 2011 16:21:27 +0100 (CET) Message-ID: <4D52B0F6.9000006@rfc1925.net> Date: Wed, 09 Feb 2011 16:21:26 +0100 From: "$witch" User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.13) Gecko/20101214 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: ZFS over RAID6 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, 09 Feb 2011 15:38:19 -0000 hi, having made a considerable amount of pre-research am now asking your mind about my goal. enviroment : a FreeBSD (ranging from 6.x to 8.1) web-farm (a couple of links and a dozen of devices/servers) goal : share (in R/W) some dirs between various hosts via NFS; such dirs must be in something that is error-proof. considerations : at lower level feel RAID6 meet my requirements (i love something that can face a double hw fault) while at upper level ZFS looks very nice so am looking for such a combination. status : as now had found some ADPTEC, ARECA and 3WARE adapters that look reasonable but controller is not all; i need also 8 (+ 2 spare) HDs and a case where to keep them. so had extended research to 8HD cases with RAID6 capabilities. again a few manufacturer seem to have suitable boxes as **MGBurly8VRe ( http://www.burlystorage.com/ccp0-prodshow/MGBurly8VRe.html ) and ARC-5040 ( http://www.areca.com.tw/products/esatafirewire800iscsiaoeusb.htm ) questions : a) do you feel that combination NFS over ZFS over RAID6 a good choice or just a complicated exercise leading nowhere? b) do you feel suitable the listed hw ? [ one | both | none ] c) do you know something "better" that lead to an overall expense not bigger than 2.5 K euro? (had seen some ADAPTEC over 4K euro that seem nice but expensive for a test) thank you Alessandro From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 16:50:45 2011 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 08692106566C; Wed, 9 Feb 2011 16:50:45 +0000 (UTC) (envelope-from bahman.linux@gmail.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 958958FC1D; Wed, 9 Feb 2011 16:50:44 +0000 (UTC) Received: by vxa40 with SMTP id 40so170251vxa.13 for ; Wed, 09 Feb 2011 08:50:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=RGmZqMF8aXEdwzpAhmNCLVqJshIRVG9cAUEStgmJBpA=; b=t2sNw00uxjYz5A/Cda+87LDnnrOKRXMit/1mgySPzjzESYOPomEfviTEujoWadnF3I 5aK/lKiNZUJdrC+hGQVnqSj+nv0ylUM3X8HdgcrN43Z5X28qajCifAuta/Bgzujs1Dv+ cojgZw/vE4RPiZ5Xl/eTDsbXezYiUe2aKBuaI= 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=BPnW39yBYkgne71SuaYgFGFESUw9Sq9RNX4ySvw6gVdRxvU2+XBf1aD53B7GTrVbHp YNi7WTTIiRdijmbNY2yXbVEAo81IH/y9hyz5NSQfyu+2cGk5u832KPpSrXxZG7BlDvRe +hJFkmgbUllHbBUtlTDENPKrFQKIxhhMSQVXc= MIME-Version: 1.0 Received: by 10.220.90.146 with SMTP id i18mr5083374vcm.226.1297270243519; Wed, 09 Feb 2011 08:50:43 -0800 (PST) Received: by 10.220.175.197 with HTTP; Wed, 9 Feb 2011 08:50:43 -0800 (PST) In-Reply-To: References: Date: Wed, 9 Feb 2011 20:20:43 +0330 Message-ID: From: Bahman Kahinpour To: Robert Millan Content-Type: text/plain; charset=UTF-8 Cc: freebsd-questions@freebsd.org, www@freebsd.org Subject: Re: Debian GNU/kFreeBSD 6.0 "Squeeze" has been released 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, 09 Feb 2011 16:50:45 -0000 I was planning to download Debian GNU/kFreeBSD 6.0 today in order to test it to see if it's ready for deployment on server platforms that I noticed something. The download links are: http://cdimage.debian.org/debian-cd/6.0.0/kfreebsd-amd64/iso-dvd/ http://cdimage.debian.org/debian-cd/6.0.0/kfreebsd-i386/iso-dvd/ And according to the CHECKSUMS available in that directory there should be 7 DVD-ROMs for each architecture (amd64, i386): debian-6.0.0-kfreebsd--DVD-.iso where =amd64/i386 and N=1...7 but only the first DVD-ROM is available for each architecture. Where are other DVD-ROMs? http://cdimage.debian.org/debian-cd/6.0.0/kfreebsd-amd64/iso-dvd/debian-6.0.0-kfreebsd-amd64-DVD-1.iso http://cdimage.debian.org/debian-cd/6.0.0/kfreebsd-i386/iso-dvd/debian-6.0.0-kfreebsd-i386-DVD-1.iso On 2/9/11, Robert Millan wrote: > >From the Debian "Squeeze" release announcement > (http://www.debian.org/News/2011/20110205a): > > Debian 6.0 "Squeeze" introduces technical previews of two new ports to > the kernel of the FreeBSD project using the known Debian/GNU userland: > Debian GNU/kFreeBSD for the 32-bit PC (kfreebsd-i386) and the 64-bit > PC (kfreebsd-amd64). These ports are the first ones ever to be > included in a Debian release which are not based on the Linux kernel. > The support of common server software is strong and combines the > existing features of Linux-based Debian versions with the unique > features known from the BSD world. > > -- > Robert Millan > _______________________________________________ > freebsd-www@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-www > To unsubscribe, send any mail to "freebsd-www-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 17:00:08 2011 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 14EC0106566B; Wed, 9 Feb 2011 17:00:08 +0000 (UTC) (envelope-from bzeeb-lists@lists.zabbadoz.net) Received: from mail.cksoft.de (mail.cksoft.de [IPv6:2001:4068:10::3]) by mx1.freebsd.org (Postfix) with ESMTP id B4E968FC16; Wed, 9 Feb 2011 17:00:07 +0000 (UTC) Received: from localhost (amavis.fra.cksoft.de [192.168.74.71]) by mail.cksoft.de (Postfix) with ESMTP id AE7CF41C798; Wed, 9 Feb 2011 18:00:06 +0100 (CET) X-Virus-Scanned: amavisd-new at cksoft.de Received: from mail.cksoft.de ([192.168.74.103]) by localhost (amavis.fra.cksoft.de [192.168.74.71]) (amavisd-new, port 10024) with ESMTP id WoZ0GUDb2qrm; Wed, 9 Feb 2011 18:00:06 +0100 (CET) Received: by mail.cksoft.de (Postfix, from userid 66) id 227C041C7B0; Wed, 9 Feb 2011 18:00:06 +0100 (CET) Received: from maildrop.int.zabbadoz.net (maildrop.int.zabbadoz.net [10.111.66.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.int.zabbadoz.net (Postfix) with ESMTP id 0DADF4448F3; Wed, 9 Feb 2011 16:57:09 +0000 (UTC) Date: Wed, 9 Feb 2011 16:57:09 +0000 (UTC) From: "Bjoern A. Zeeb" X-X-Sender: bz@maildrop.int.zabbadoz.net To: Bahman Kahinpour In-Reply-To: Message-ID: <20110209165620.I80258@maildrop.int.zabbadoz.net> References: X-OpenPGP-Key: 0x14003F198FEFA3E77207EE8D2B58B8F83CCF1842 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: Robert Millan , freebsd-questions@freebsd.org, www@freebsd.org Subject: Re: Debian GNU/kFreeBSD 6.0 "Squeeze" has been released 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, 09 Feb 2011 17:00:08 -0000 On Wed, 9 Feb 2011, Bahman Kahinpour wrote: Hi, > I was planning to download Debian GNU/kFreeBSD 6.0 today in order to > test it to see if it's ready for deployment on server platforms that I > noticed something. The download links are: > > http://cdimage.debian.org/debian-cd/6.0.0/kfreebsd-amd64/iso-dvd/ > http://cdimage.debian.org/debian-cd/6.0.0/kfreebsd-i386/iso-dvd/ > > And according to the CHECKSUMS available in that directory there > should be 7 DVD-ROMs for each architecture (amd64, i386): > debian-6.0.0-kfreebsd--DVD-.iso where =amd64/i386 and > N=1...7 but only the first DVD-ROM is available for each architecture. > Where are other DVD-ROMs? > > http://cdimage.debian.org/debian-cd/6.0.0/kfreebsd-amd64/iso-dvd/debian-6.0.0-kfreebsd-amd64-DVD-1.iso > http://cdimage.debian.org/debian-cd/6.0.0/kfreebsd-i386/iso-dvd/debian-6.0.0-kfreebsd-i386-DVD-1.iso now that question is better asked on debian-bsd@lists.debian.org as it's a Debian release not a FreeBSD one. /bz -- Bjoern A. Zeeb You have to have visions! Stop bit received. Insert coin for new address family. From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 17:14:48 2011 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 5235E106564A for ; Wed, 9 Feb 2011 17:14:48 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3fd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id A800E8FC1B for ; Wed, 9 Feb 2011 17:14:47 +0000 (UTC) Received: from russet.local (reflex.squiz.co.uk [83.217.109.164]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.4/8.14.4) with ESMTP id p19HEbkY046018 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 9 Feb 2011 17:14:43 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk p19HEbkY046018 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1297271684; bh=+1pLKSggsl2SlmgwMjNcCNbquPw/7oanWynHIX0RxwU=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4D52CB7C.3040004@infracaninophile.co.uk>|Date:=20W ed,=2009=20Feb=202011=2017:14:36=20+0000|From:=20Matthew=20Seaman= 20|User-Agent:=20Mozilla/5.0=20(M acintosh=3B=20U=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20en-US=3B=20r v:1.9.2.13)=20Gecko/20101207=20Thunderbird/3.1.7|MIME-Version:=201 .0|To:=20"$witch"=20|CC:=20freebsd-questio ns@freebsd.org|Subject:=20Re:=20ZFS=20over=20RAID6|References:=20< 4D52B0F6.9000006@rfc1925.net>|In-Reply-To:=20<4D52B0F6.9000006@rfc 1925.net>|X-Enigmail-Version:=201.1.1|Content-Type:=20multipart/si gned=3B=20micalg=3Dpgp-sha1=3B=0D=0A=20protocol=3D"application/pgp -signature"=3B=0D=0A=20boundary=3D"------------enig33696F060C05D08 667A1D00F"; b=YIgBxbZ05I4BWztuHS9LINlctMR+SGtNZUw6M2ejzj3FDYxU1fqlNAmOKh8upOeEE dBcH3l4KqToPTZTR7vmJLBwitQov4PYVTMKGFm6woaV5D3nzWIj/lfeO+QpOD8AO3d LmDc2oOPYk2zZj7D1hD7F4xOXGT0p/luY0lJ7ohU= X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host reflex.squiz.co.uk [83.217.109.164] claimed to be russet.local Message-ID: <4D52CB7C.3040004@infracaninophile.co.uk> Date: Wed, 09 Feb 2011 17:14:36 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: "$witch" References: <4D52B0F6.9000006@rfc1925.net> In-Reply-To: <4D52B0F6.9000006@rfc1925.net> X-Enigmail-Version: 1.1.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig33696F060C05D08667A1D00F" X-Virus-Scanned: clamav-milter 0.96.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: ZFS over RAID6 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, 09 Feb 2011 17:14:48 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig33696F060C05D08667A1D00F Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 09/02/2011 15:21, $witch wrote: > considerations : >=20 > at lower level feel RAID6 meet my requirements (i love something that > can face a double hw fault) With ZFS that's called RAIDZ2 -- it's similar to RAID6 and it has the same two-failure resilience characteristic. > while at upper level ZFS looks very nice so am looking for such a > combination. >=20 >=20 > status : >=20 > as now had found some ADPTEC, ARECA and 3WARE adapters that look > reasonable but controller is not all; > i need also 8 (+ 2 spare) HDs and a case where to keep them. >=20 > so had extended research to 8HD cases with RAID6 capabilities. Mixing ZFS and standard H/W Raid is not a good idea -- ZFS expects to run on a collection of hard drives, not a composite disk array. Instead of paying for a RAID controller, put the money towards extra RAM and/or SSD cards to use for the ARC and the ZIL used by ZFS. If you want ZFS but you're stuck with built-in RAID, then it's best to configure the RAID as a JBOD and use ZFS over that. Hot spares and ZFS is a current development topic on FreeBSD: automatic replacement of a failed drive doesn't work properly. However, it should be relatively easy for an admin to type commands to achieve the same effe= ct. Cheers, Matthew --=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 --------------enig33696F060C05D08667A1D00F 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/ iEYEARECAAYFAk1Sy3wACgkQ8Mjk52CukIzfxgCdFo3UmWMOgbcHuHuE57ose0G8 CDoAnR1o6foflarY9Qz7au/Z7/dHos1E =xuai -----END PGP SIGNATURE----- --------------enig33696F060C05D08667A1D00F-- From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 18:02:49 2011 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 BE225106566B for ; Wed, 9 Feb 2011 18:02:49 +0000 (UTC) (envelope-from rmh.aybabtu@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id 81D608FC14 for ; Wed, 9 Feb 2011 18:02:49 +0000 (UTC) Received: by iyb26 with SMTP id 26so407101iyb.13 for ; Wed, 09 Feb 2011 10:02:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=KmyjBNJ3y9blg43EnBuRNC4RwUcjL/ulHv5GpSDZX7w=; b=EsSYL7j9lw6fglpn3cX4zoRMck3IetJh1Hg9kLTCDnpanrdV82GpbxOqKZRjwMa3Is CQeAnfrsnPvRt8U4PMdjkjPBEU8RL1kNYv05PeC5lqNkd2EOClYgTCHy4AVBK2mOveCU u0eo834Q4O7l2i7JEnHJtfFGmdN4BOrMpLu+c= 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; b=rewHQRnDyRlcDEsHZUV4tBVlwuLNXI3M0Z43RdAlEocORw5jQtSkXcZ1nOb7E0Pehw /mG/hxy25Fvnwtu0+H3+cI2uL9fpQezOXB8sDFZIlFecsUqs5CJXnj1sJT37ZVN+Rcvt sE7vaZen+j1cVYrVcv3S8GJ/mIXgBDYIOwTUI= MIME-Version: 1.0 Received: by 10.231.36.7 with SMTP id r7mr21125686ibd.136.1297273212938; Wed, 09 Feb 2011 09:40:12 -0800 (PST) Sender: rmh.aybabtu@gmail.com Received: by 10.231.166.193 with HTTP; Wed, 9 Feb 2011 09:40:12 -0800 (PST) In-Reply-To: References: Date: Wed, 9 Feb 2011 18:40:12 +0100 X-Google-Sender-Auth: 2B8JzWaZi3--zD4tBS8j38OUAGk Message-ID: From: Robert Millan To: Bahman Kahinpour Content-Type: text/plain; charset=UTF-8 Cc: freebsd-questions@freebsd.org, debian-bsd@lists.debian.org, www@freebsd.org Subject: Re: Debian GNU/kFreeBSD 6.0 "Squeeze" has been released 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, 09 Feb 2011 18:02:49 -0000 [ Adding debian-bsd@lists.debian.org to CC. If you reply, please follow-up there since this is off-topic in FreeBSD mailing lists ] 2011/2/9 Bahman Kahinpour : > http://cdimage.debian.org/debian-cd/6.0.0/kfreebsd-amd64/iso-dvd/ > http://cdimage.debian.org/debian-cd/6.0.0/kfreebsd-i386/iso-dvd/ > > And according to the CHECKSUMS available in that directory there > should be 7 DVD-ROMs for each architecture (amd64, i386): > debian-6.0.0-kfreebsd--DVD-.iso where =amd64/i386 and > N=1...7 but only the first DVD-ROM is available for each architecture. > Where are other DVD-ROMs? These images currently install by downloading packages via internet. The CD/DVD is not actually used (except for booting) because of a bug in the installer. The fix for this bug will be included in 6.0r1, but for now it doesn't matter which ISO you download, they all do a network install. -- Robert Millan From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 18:54:33 2011 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 DCBE61065672 for ; Wed, 9 Feb 2011 18:54:32 +0000 (UTC) (envelope-from alfredoj69@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 93E268FC13 for ; Wed, 9 Feb 2011 18:54:32 +0000 (UTC) Received: by gwj21 with SMTP id 21so226728gwj.13 for ; Wed, 09 Feb 2011 10:54:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=OdEl2i7zdSKkBeZ/fMiWPF7U6jKIWyOL/DtrNaB9o5g=; b=FllpgG8TPs0/+cOlc2wUkq3N2yZBlnYKVO6IIJ6YisKOXOYC15YuNyZjuy3lCGB3C3 zfH/KpVk7HPhaAbb/UXfMXuBinTlmv4l6fVIMZC1R27yuYkLlmAGQyXGJvCRZz/LC6Hb LMbt8i5sf9j3cDTwecJnyuYZf7102b9Bj904g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=TXlOiBaIE/orUw+1/QlCV6wKQbtiZaNhxPXmoal6ja2tkqkkDHCqA0o2MtzGezETS/ 9Nv/UPXZMet9Qxa03ga292Z8opZSZNh/qaBCbsgdbD2YpEhllHaAFG09Mg3/vOXl6udq MY5G5+J8dOkfUfwSo/87R14YStoSZ6wN8/FaA= Received: by 10.150.195.19 with SMTP id s19mr2041565ybf.437.1297276350489; Wed, 09 Feb 2011 10:32:30 -0800 (PST) Received: from gmail.com (CPEd85d4ca26f43-CM000a73660589.cpe.net.cable.rogers.com [99.233.132.69]) by mx.google.com with ESMTPS id v8sm345799ybe.1.2011.02.09.10.32.28 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 09 Feb 2011 10:32:29 -0800 (PST) Date: Wed, 9 Feb 2011 13:31:45 -0500 From: Alfredo Perez To: freebsd-questions@freebsd.org Message-ID: <20110209183143.GA9444@gmail.com> References: <4D51AA6A.60701@infracaninophile.co.uk> <5A3BAEFEABE81B9BF58FD509@utd71538.local> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5A3BAEFEABE81B9BF58FD509@utd71538.local> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: FreeBSD 8.1 as a Virtualbox Guest OS 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, 09 Feb 2011 18:54:33 -0000 Sorry for my question But if I am reading correclty, you can run Freebsd as host, install virtuabox and then run Mac OS X as guest? Thanks The Sauce On Tue, Feb 08, 2011 at 05:37:13PM -0600, Paul Schmehl wrote: > --On February 8, 2011 8:41:14 PM +0000 Matthew Seaman > wrote: > > > On 08/02/2011 15:33, Paul Schmehl wrote: > >> I'm trying to setup a FreeBSD VM in Virtualbox. The host OS is Mac OS X > >> 10.6.6. I'm already running Windows 7 64 bit with no problems. When > >> you setup a new VM, you get a first time startup scenario that asks you > >> to point to a file (iso usually) that contains the setup program for the > >> OS. Then, when you boot the machine, setup begins. > > > > Works for me on much the same kit. As I recall, you need to play with > > the CPU etc. settings a bit to find some combination that will boot. > > Let's see... > > > > OS Type FreeBSD (64 bit) > > As much RAM as you want > > One CPU > > Enable PAE/NX > > VT-x/AMD-V Enabled > > Nested Paging Enabled > > Enable IO APIC > ^^^^^^^^^^^^^^^^^^^^^^^ > > That was the critical piece. Once I did that the old familiar setup > routine came up. I'm installing now. Thanks for everyone's help. > > -- > Paul Schmehl, Senior Infosec Analyst > As if it wasn't already obvious, my opinions > are my own and not those of my employer. > ******************************************* > "It is as useless to argue with those who have > renounced the use of reason as to administer > medication to the dead." Thomas Jefferson > "There are some ideas so wrong that only a very > intelligent person could believe in them." George Orwell > > _______________________________________________ > 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 Feb 9 19:22:23 2011 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 01DC11065670 for ; Wed, 9 Feb 2011 19:22:23 +0000 (UTC) (envelope-from gull@gull.us) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 958778FC13 for ; Wed, 9 Feb 2011 19:22:22 +0000 (UTC) Received: by ewy24 with SMTP id 24so377850ewy.13 for ; Wed, 09 Feb 2011 11:22:21 -0800 (PST) MIME-Version: 1.0 Received: by 10.14.29.68 with SMTP id h44mr1679941eea.7.1297279341310; Wed, 09 Feb 2011 11:22:21 -0800 (PST) Received: by 10.14.119.1 with HTTP; Wed, 9 Feb 2011 11:22:17 -0800 (PST) X-Originating-IP: [69.91.158.226] In-Reply-To: <4D5254AB.5030408@cyanide-studio.com> References: <4D5254AB.5030408@cyanide-studio.com> Date: Wed, 9 Feb 2011 11:22:17 -0800 Message-ID: From: David Brodbeck To: Bastien Semene Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Partial DNS tree 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, 09 Feb 2011 19:22:23 -0000 On Wed, Feb 9, 2011 at 12:47 AM, Bastien Semene wrote: > Hi everyone, > > This is not the preferred mailing list to ask this question, but I think > people here can easily answer. > > I've seen in the past that DNS servers can resolve some FQDNs while > forwarding (or caching) other resolutions of the same DN. > But I can't remember the word qualifying this technology, and had hard time > finding this on google. Can someone please point me to the correct direction > ? I think the term you're looking for is "split-horizon DNS". I second the recommendation to use dnsmasq for this. It's extremely easy to set up. But if you really want to do this with a "proper" DNS server, such as bind, googling on the above term will probably help. From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 19:45:14 2011 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 41B79106564A for ; Wed, 9 Feb 2011 19:45:14 +0000 (UTC) (envelope-from click@sgate.org) Received: from mail-qy0-f175.google.com (mail-qy0-f175.google.com [209.85.216.175]) by mx1.freebsd.org (Postfix) with ESMTP id CEF168FC14 for ; Wed, 9 Feb 2011 19:45:13 +0000 (UTC) Received: by qyk8 with SMTP id 8so1521915qyk.13 for ; Wed, 09 Feb 2011 11:45:13 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.43.195 with SMTP id x3mr15182601qce.291.1297278959185; Wed, 09 Feb 2011 11:15:59 -0800 (PST) Sender: click@sgate.org Received: by 10.229.227.84 with HTTP; Wed, 9 Feb 2011 11:15:59 -0800 (PST) Date: Wed, 9 Feb 2011 21:15:59 +0200 X-Google-Sender-Auth: 1NHlHEajbT0lzDKXkAjlleui0pU Message-ID: From: Daniel Zhelev To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Bad hard driver 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, 09 Feb 2011 19:45:14 -0000 Hello all, Today I`ve received the following messages: The following warning/error was logged by the smartd daemon: Device: /dev/ad7, 1 Currently unreadable (pending) sectors For details see host's SYSLOG (default: /var/log/messages). And: The following warning/error was logged by the smartd daemon: Device: /dev/ad7, 3 Offline uncorrectable sectors For details see host's SYSLOG (default: /var/log/messages). The syslog shows some activity on the disk: Feb 8 09:23:43 wolfdale smartd[1198]: Device: /dev/ad7, 1 Currently unreadable (pending) sectors Feb 8 09:53:43 wolfdale smartd[1198]: Device: /dev/ad7, 2 Currently unreadable (pending) sectors (changed +1) Feb 8 10:23:43 wolfdale smartd[1198]: Device: /dev/ad7, 2 Currently unreadable (pending) sectors Feb 8 10:53:43 wolfdale smartd[1198]: Device: /dev/ad7, 2 Currently unreadable (pending) sectors Feb 8 11:23:43 wolfdale smartd[1198]: Device: /dev/ad7, 3 Currently unreadable (pending) sectors (changed +1) Feb 8 11:53:43 wolfdale smartd[1198]: Device: /dev/ad7, 3 Currently unreadable (pending) sectors Feb 8 12:23:43 wolfdale smartd[1198]: Device: /dev/ad7, 3 Currently unreadable (pending) sectors Feb 8 12:23:43 wolfdale smartd[1198]: Device: /dev/ad7, 3 Offline uncorrectable sectors Feb 8 12:53:43 wolfdale smartd[1198]: Device: /dev/ad7, 3 Currently unreadable (pending) sectors Feb 8 12:53:43 wolfdale smartd[1198]: Device: /dev/ad7, 3 Offline uncorrectable sectors Feb 8 13:23:43 wolfdale smartd[1198]: Device: /dev/ad7, 3 Currently unreadable (pending) sectors Feb 8 13:23:43 wolfdale smartd[1198]: Device: /dev/ad7, 3 Offline uncorrectable sectors Feb 8 13:53:44 wolfdale smartd[1198]: Device: /dev/ad7, 3 Currently unreadable (pending) sectors Feb 8 13:53:44 wolfdale smartd[1198]: Device: /dev/ad7, 3 Offline uncorrectable sectors Feb 8 14:23:43 wolfdale smartd[1198]: Device: /dev/ad7, 3 Currently unreadable (pending) sectors Feb 8 14:23:43 wolfdale smartd[1198]: Device: /dev/ad7, 3 Offline uncorrectable sectors Feb 8 14:53:43 wolfdale smartd[1198]: Device: /dev/ad7, 3 Currently unreadable (pending) sectors Feb 8 14:53:43 wolfdale smartd[1198]: Device: /dev/ad7, 3 Offline uncorrectable sectors Feb 8 15:23:43 wolfdale smartd[1198]: Device: /dev/ad7, 3 Currently unreadable (pending) sectors Feb 8 15:23:43 wolfdale smartd[1198]: Device: /dev/ad7, 3 Offline uncorrectable sectors Feb 8 15:38:08 wolfdale monit[1190]: monit: Socket 5 close failed -- Connection reset by peer Feb 8 15:53:44 wolfdale smartd[1198]: Device: /dev/ad7, 3 Currently unreadable (pending) sectors Feb 8 15:53:44 wolfdale smartd[1198]: Device: /dev/ad7, 3 Offline uncorrectable sectors Feb 8 16:23:43 wolfdale smartd[1198]: Device: /dev/ad7, 3 Currently unreadable (pending) sectors Feb 8 16:23:43 wolfdale smartd[1198]: Device: /dev/ad7, 3 Offline uncorrectable sectors Feb 8 16:30:13 wolfdale monit[1190]: monit: Socket 5 close failed -- Connection reset by peer Feb 8 16:53:43 wolfdale smartd[1198]: Device: /dev/ad7, 3 Currently unreadable (pending) sectors Feb 8 16:53:43 wolfdale smartd[1198]: Device: /dev/ad7, 3 Offline uncorrectable sectors Feb 8 17:23:43 wolfdale smartd[1198]: Device: /dev/ad7, 3 Currently unreadable (pending) sectors Feb 8 17:23:43 wolfdale smartd[1198]: Device: /dev/ad7, 3 Offline uncorrectable sectors Feb 8 17:53:44 wolfdale smartd[1198]: Device: /dev/ad7, 3 Currently unreadable (pending) sectors Feb 8 17:53:44 wolfdale smartd[1198]: Device: /dev/ad7, 3 Offline uncorrectable sectors Feb 8 18:23:43 wolfdale smartd[1198]: Device: /dev/ad7, 3 Currently unreadable (pending) sectors Feb 8 18:23:43 wolfdale smartd[1198]: Device: /dev/ad7, 3 Offline uncorrectable sectors Feb 8 18:53:43 wolfdale smartd[1198]: Device: /dev/ad7, 3 Currently unreadable (pending) sectors Feb 8 18:53:43 wolfdale smartd[1198]: Device: /dev/ad7, 3 Offline uncorrectable sectors So far not so good, I`ve decided to run offline selftest on the disk: the result # 1 Extended offline Completed without error 00% 5232 - This is the output from smartctl === START OF INFORMATION SECTION === Device Model: WDC WD1002FAEX-00Z3A0 Serial Number: WD-WCATR0672307 Firmware Version: 05.01D05 User Capacity: 1,000,204,886,016 bytes Device is: Not in smartctl database [for details use: -P showall] ATA Version is: 8 ATA Standard is: Exact ATA specification draft version not indicated Local Time is: Wed Feb 9 21:11:36 2011 EET SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x82) Offline data collection activity was completed without error. Auto Offline Data Collection: Enabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: (16200) seconds. Offline data collection capabilities: (0x7b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. Conveyance Self-test supported. Selective Self-test supported. SMART capabilities: (0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time: ( 2) minutes. Extended self-test routine recommended polling time: ( 187) minutes. Conveyance self-test routine recommended polling time: ( 5) minutes. SCT capabilities: (0x3037) SCT Status supported. SCT Feature Control supported. SCT Data Table supported. SMART Attributes Data Structure revision number: 16 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always - 0 3 Spin_Up_Time 0x0027 175 174 021 Pre-fail Always - 4233 4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 38 5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0 7 Seek_Error_Rate 0x002e 100 253 000 Old_age Always - 0 9 Power_On_Hours 0x0032 093 093 000 Old_age Always - 5236 10 Spin_Retry_Count 0x0032 100 253 000 Old_age Always - 0 11 Calibration_Retry_Count 0x0032 100 253 000 Old_age Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 34 192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 31 193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 6 194 Temperature_Celsius 0x0022 103 095 000 Old_age Always - 44 196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0 197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 3 198 Offline_Uncorrectable 0x0030 200 200 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0 200 Multi_Zone_Error_Rate 0x0008 200 189 000 Old_age Offline - 3 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offline Completed without error 00% 5232 - # 2 Extended offline Aborted by host 90% 5229 - # 3 Extended offline Aborted by host 90% 5229 - # 4 Short offline Completed without error 00% 5218 - # 5 Short offline Completed without error 00% 5195 - # 6 Short offline Completed without error 00% 5171 - # 7 Short offline Completed without error 00% 5148 - # 8 Extended offline Completed without error 00% 5128 - # 9 Short offline Completed without error 00% 5125 - #10 Short offline Completed without error 00% 5102 - #11 Short offline Completed without error 00% 5078 - #12 Short offline Completed without error 00% 5055 - #13 Short offline Completed without error 00% 5031 - #14 Short offline Completed without error 00% 5008 - #15 Short offline Completed without error 00% 4984 - #16 Extended offline Completed without error 00% 4964 - #17 Short offline Completed without error 00% 4960 - #18 Short offline Completed without error 00% 4937 - #19 Short offline Completed without error 00% 4889 - #20 Short offline Completed without error 00% 4865 - #21 Short offline Completed without error 00% 4841 - SMART Selective self-test log data structure revision number 1 SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS 1 0 0 Not_testing 2 0 0 Not_testing 3 0 0 Not_testing 4 0 0 Not_testing 5 0 0 Not_testing Selective self-test flags (0x0): After scanning selected spans, do NOT read-scan remainder of disk. If Selective self-test is pending on power-up, resume after 0 minute delay. I know about the how to - http://smartmontools.sourceforge.net/badblockhowto.html But how can I get the LBA? And is there some diagnostic tool for WD in ports? From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 19:55:37 2011 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 8AD6A106564A for ; Wed, 9 Feb 2011 19:55:37 +0000 (UTC) (envelope-from peter@vfemail.net) Received: from vfemail.net (dotsevenfive.vfemail.net [69.11.239.75]) by mx1.freebsd.org (Postfix) with ESMTP id EDD458FC12 for ; Wed, 9 Feb 2011 19:55:36 +0000 (UTC) Received: (qmail 41732 invoked by uid 89); 9 Feb 2011 19:55:28 -0000 Received: from localhost (HELO freequeue.vfemail.net) (127.0.0.1) by localhost with SMTP; 9 Feb 2011 19:55:25 -0000 Received: (qmail 41537 invoked by uid 89); 9 Feb 2011 19:55:06 -0000 Received: from unknown (HELO www-51-2.vfemail.net) (vfemail@172.16.100.51) by FreeQueue with SMTP; 9 Feb 2011 19:55:06 -0000 Received: (qmail 53344 invoked by uid 89); 9 Feb 2011 19:55:15 -0000 Received: by simscan 1.4.0 ppid: 53214, pid: 53341, t: 0.2409s scanners:none Received: from unknown (HELO Bacchus.vfemail.net) (cGV0ZXJAdmZlbWFpbC5uZXQ=@67.101.12.44) by 172.16.100.51 with ESMTPA; 9 Feb 2011 19:55:15 -0000 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Wed, 09 Feb 2011 14:54:17 -0500 To: freebsd-questions@freebsd.org From: peter@vfemail.net In-Reply-To: <20110205194334.33D6D106566C@hub.freebsd.org> References: <20110205194334.33D6D106566C@hub.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-Id: <20110209195537.8AD6A106564A@hub.freebsd.org> Subject: Re: Trying to Make an Alias Execute a Perl Script 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, 09 Feb 2011 19:55:37 -0000 At 02:42 PM 2/5/2011, peter@vfemail.net wrote: > * * * >I've tried this entry in my /etc/mail/aliases file, but it returns an empty e-mail messages: > > extract: "| perl -wne 'while(/[\S\.]+@[\S\.]+\w+/g){print "$&\n"}' | mail user" > >[and this one]: > > extract: "| cat > datafile | perl -wne 'while(/[\S\.]+@[\S\.]+\w+/g){print "$&\n"}' < datafile | mail user" > >but [they] return an empty e-mail message rather than a list of e-mail addresses. > >What am I overlooking? A kind soul helped me figure out how to make this work. This e-mail alias: extract: "| cat > /home/peter/datafile | /home/peter/extract.pl < /home/peter/datafile | mail -s \"Results\" user combined with this Perl script: #!/usr/bin/perl while () { while(/[\S\.]+@[\S\.]+\w+/g){print "$&\n"}; }; delivers the desired list of e-mail addresses. ------------------------------------------------- This message sent via VFEmail.net http://www.vfemail.net $14.95 Lifetime accounts! 15GB disk! No bandwidth quotas! From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 19:59:21 2011 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 5AA14106564A for ; Wed, 9 Feb 2011 19:59:21 +0000 (UTC) (envelope-from peter@vfemail.net) Received: from vfemail.net (dotsevenfive.vfemail.net [69.11.239.75]) by mx1.freebsd.org (Postfix) with ESMTP id EEBE88FC12 for ; Wed, 9 Feb 2011 19:59:20 +0000 (UTC) Received: (qmail 42831 invoked by uid 89); 9 Feb 2011 19:59:11 -0000 Received: from localhost (HELO freequeue.vfemail.net) (127.0.0.1) by localhost with SMTP; 9 Feb 2011 19:59:11 -0000 Received: (qmail 42740 invoked by uid 89); 9 Feb 2011 19:58:54 -0000 Received: from unknown (HELO www-51-2.vfemail.net) (vfemail@172.16.100.51) by FreeQueue with SMTP; 9 Feb 2011 19:58:54 -0000 Received: (qmail 56348 invoked by uid 89); 9 Feb 2011 19:59:04 -0000 Received: by simscan 1.4.0 ppid: 56329, pid: 56333, t: 0.2162s scanners:none Received: from unknown (HELO Bacchus.vfemail.net) (cGV0ZXJAdmZlbWFpbC5uZXQ=@67.101.12.44) by 172.16.100.51 with ESMTPA; 9 Feb 2011 19:59:04 -0000 X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Wed, 09 Feb 2011 14:58:47 -0500 To: extractemailpeter@bankrupt.com From: peter@vfemail.net Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Message-Id: <20110209195921.5AA14106564A@hub.freebsd.org> Cc: freebsd-questions@freebsd.org Subject: Re: Partial DNS tree 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, 09 Feb 2011 19:59:21 -0000 On Wed, Feb 9, 2011 at 12:47 AM, Bastien Semene wrote: > Hi everyone, > > This is not the preferred mailing list to ask this question, but I think > people here can easily answer. > > I've seen in the past that DNS servers can resolve some FQDNs while > forwarding (or caching) other resolutions of the same DN. > But I can't remember the word qualifying this technology, and had hard time > finding this on google. Can someone please point me to the correct direction > ? I think the term you're looking for is "split-horizon DNS". I second the recommendation to use dnsmasq for this. It's extremely easy to set up. But if you really want to do this with a "proper" DNS server, such as bind, googling on the above term will probably help. _______________________________________________ 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" ------------------------------------------------- This message sent via VFEmail.net http://www.vfemail.net $14.95 Lifetime accounts! 15GB disk! No bandwidth quotas! From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 20:11:40 2011 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 8976E106566B for ; Wed, 9 Feb 2011 20:11:40 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3fd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id E576F8FC1A for ; Wed, 9 Feb 2011 20:11:39 +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 p19KBZAX048369 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 9 Feb 2011 20:11:35 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk p19KBZAX048369 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1297282295; bh=F/dY+4DmOKYps+1vcbxOhZdlgXiYrpvymjwLksfoGzQ=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4D52F4EE.2090001@infracaninophile.co.uk>|Date:=20W ed,=2009=20Feb=202011=2020:11:26=20+0000|From:=20Matthew=20Seaman= 20|User-Agent:=20Mozilla/5.0=20(M acintosh=3B=20U=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20en-US=3B=20r v:1.9.2.13)=20Gecko/20101207=20Thunderbird/3.1.7|MIME-Version:=201 .0|To:=20freebsd-questions@freebsd.org|Subject:=20Re:=20FreeBSD=20 8.1=20as=20a=20Virtualbox=20Guest=20OS|References:=20=09<4D51AA6A.60701@infracaninophile.co .uk>=09<5A3BAEFEABE81B9BF58FD509@utd71538.local>=20<20110209183143 .GA9444@gmail.com>|In-Reply-To:=20<20110209183143.GA9444@gmail.com >|X-Enigmail-Version:=201.1.1|OpenPGP:=20id=3D60AE908C|Content-Typ e:=20multipart/signed=3B=20micalg=3Dpgp-sha1=3B=0D=0A=20protocol=3 D"application/pgp-signature"=3B=0D=0A=20boundary=3D"------------en igC390BF27ADD8F7BE44171710"; b=Ypec/ZuxJ0KgmYnkjtKEd+omPTQOz6szxV+8+dqzzfocdzdIj8xAhfBRHVG5lwgK7 9MpGIbr/KELoq1L9+HmgvxWvpeXeRjkLYvbhY0MwRvgrUMSUqKQANh/irt9jFDobMQ HLMtPW8xg/CXpI7Y7vQF87mElK5jaiiIu3rtdlxI= Message-ID: <4D52F4EE.2090001@infracaninophile.co.uk> Date: Wed, 09 Feb 2011 20:11:26 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4D51AA6A.60701@infracaninophile.co.uk> <5A3BAEFEABE81B9BF58FD509@utd71538.local> <20110209183143.GA9444@gmail.com> In-Reply-To: <20110209183143.GA9444@gmail.com> X-Enigmail-Version: 1.1.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC390BF27ADD8F7BE44171710" X-Virus-Scanned: clamav-milter 0.96.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_40,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Subject: Re: FreeBSD 8.1 as a Virtualbox Guest OS 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, 09 Feb 2011 20:11:40 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC390BF27ADD8F7BE44171710 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 09/02/2011 18:31, Alfredo Perez wrote: > But if I am reading correclty, you can run Freebsd as host, > install virtuabox and then run Mac OS X as guest? "Can" in an engineering sense -- yes, it's possible. "Can" in a legal sense -- probably not. You get a 'right to use' MacOS X with the hardware you buy. Even if you run MacOS X in a VM on your original Mac hardware (which you've re-installed with some other OS), you'ld be on rather dodgy ground, as the only way to make that work is to use an illegally hacked version of MacOS X. Cheers, Matthew --=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 --------------enigC390BF27ADD8F7BE44171710 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1S9PcACgkQ8Mjk52CukIzKWQCeMJzeyf5/uHufgeYamKz0Cn8b 9uIAniPapZdS7vk8/fJZuZ1kP7OrKmE/ =YSLO -----END PGP SIGNATURE----- --------------enigC390BF27ADD8F7BE44171710-- From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 20:12:55 2011 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 CE61D106566B for ; Wed, 9 Feb 2011 20:12:55 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout028.mac.com (asmtpout028.mac.com [17.148.16.103]) by mx1.freebsd.org (Postfix) with ESMTP id B61BB8FC26 for ; Wed, 9 Feb 2011 20:12:55 +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 asmtp028.mac.com (Oracle Communications Messaging Exchange Server 7u4-20.01 64bit (built Nov 21 2010)) with ESMTPSA id <0LGD00GQS9GQDG20@asmtp028.mac.com> for freebsd-questions@freebsd.org; Wed, 09 Feb 2011 12:12:27 -0800 (PST) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2011-02-09_07:2011-02-09, 2011-02-09, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1012030000 definitions=main-1102090131 From: Chuck Swiger In-reply-to: Date: Wed, 09 Feb 2011 12:12:26 -0800 Message-id: References: To: Daniel Zhelev X-Mailer: Apple Mail (2.1082) Cc: freebsd-questions@freebsd.org Subject: Re: Bad hard driver 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, 09 Feb 2011 20:12:56 -0000 On Feb 9, 2011, at 11:15 AM, Daniel Zhelev wrote: > The following warning/error was logged by the smartd daemon: > > Device: /dev/ad7, 3 Offline uncorrectable sectors It means that the drive has detected errors in three sectors, and is attempting to recover them without data loss to spare sectors, so far without success. It could also indicate that the drive has exhausted the spare sectors, in which case all future errors will cause additional data loss. >From the "SMART Self-test log", it seems like you are running short self-tests every 24 hours, and periodically running extended tests on some interval as well. The smartctl FAQ recommends doing so at weekly intervals; doing it daily is putting significant testing load onto the drive. > I know about the how to - > http://smartmontools.sourceforge.net/badblockhowto.html > > But how can I get the LBA? > And is there some diagnostic tool for WD in ports? Doing a "dd if=/dev/ad7 of=/dev/null bs=64k" will read-scan the entire drive, and ought to produce a warning in the logs indicating the LBA of the bad sectors. As for diagnostic tools, WD makes utilities for DOS and Windows, not FreeBSD. See: http://support.wdc.com/product/download.asp?groupid=613&lang=en ...for something which you can run off of a boot floppy, USB pendrive, etc. Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 20:16:47 2011 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 11D291065670 for ; Wed, 9 Feb 2011 20:16:47 +0000 (UTC) (envelope-from pschmehl_lists@tx.rr.com) Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.123]) by mx1.freebsd.org (Postfix) with ESMTP id C7CEC8FC12 for ; Wed, 9 Feb 2011 20:16:46 +0000 (UTC) Received: from cdptpa-omtalb.mail.rr.com ([10.127.143.52]) by cdptpa-qmta04.mail.rr.com with ESMTP id <20110209192132017.CMNC2021@cdptpa-qmta04.mail.rr.com> for ; Wed, 9 Feb 2011 19:21:32 +0000 X-Authority-Analysis: v=1.1 cv=tLsyj04/L/SH/N6p42ldY6jXDYWe4pX5hAm6uRA1LKo= c=1 sm=0 a=vBxhVCamHEUA:10 a=kj9zAlcOel0A:10 a=+L5dYfeubEW4PLvjDgtIXQ==:17 a=pGLkceISAAAA:8 a=tC9jyREGAabDcMw2_M4A:9 a=K5zy0Upj_qe1G7N3jYziEQmsUSsA:4 a=CjuIK1q_8ugA:10 a=MSl-tDqOz04A:10 a=+L5dYfeubEW4PLvjDgtIXQ==:117 X-Cloudmark-Score: 0 X-Originating-IP: 76.184.157.127 Received: from [76.184.157.127] ([76.184.157.127:49158] helo=[10.0.0.2]) by cdptpa-oedge02.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id FD/CC-05134-CF8E25D4; Wed, 09 Feb 2011 19:20:29 +0000 Date: Wed, 09 Feb 2011 13:20:27 -0600 From: Paul Schmehl To: Alfredo Perez , freebsd-questions@freebsd.org Message-ID: In-Reply-To: <20110209183143.GA9444@gmail.com> References: <4D51AA6A.60701@infracaninophile.co.uk> <5A3BAEFEABE81B9BF58FD509@utd71538.local> <20110209183143.GA9444@gmail.com> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Re: FreeBSD 8.1 as a Virtualbox Guest OS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Paul Schmehl List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Feb 2011 20:16:47 -0000 --On February 9, 2011 1:31:45 PM -0500 Alfredo Perez wrote: > Sorry for my question > > But if I am reading correclty, you can run Freebsd as host, > install virtuabox and then run Mac OS X as guest? > No. Mac OS X is the host. FreeBSD is a guest virtual machine. Paul Schmehl, If it isn't already obvious, my opinions are my own and not those of my employer. ****************************************** "When intelligence argues with stupidity and bias, intelligence is bound to lose; intelligence has limits, but stupidity and bias have none." From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 20:26:25 2011 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 C621A1065674 for ; Wed, 9 Feb 2011 20:26:25 +0000 (UTC) (envelope-from judmarc@fastmail.fm) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.freebsd.org (Postfix) with ESMTP id 96AE08FC20 for ; Wed, 9 Feb 2011 20:26:25 +0000 (UTC) Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.messagingengine.com (Postfix) with ESMTP id 1F3892131B; Wed, 9 Feb 2011 15:09:58 -0500 (EST) Received: from frontend1.messagingengine.com ([10.202.2.160]) by compute3.internal (MEProxy); Wed, 09 Feb 2011 15:09:58 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=content-type:to:subject:references:date:mime-version:content-transfer-encoding:from:message-id:in-reply-to; s=smtpout; bh=HIh5vPad93Kb+k71opUlbbN0AHw=; b=uRjyKznNxGODi8zcjQWRwkCe+njQIIjP7tDs+4b6FM4ylAQicDmwMi7Dq+dDQsn0nB71X/SH7272Fxlpzt007/GHHvq1e4b8zm4/mhFiWbzFCuHBjCpvJNYjfI5C23jXugz3SLWi3/rw7VoDR0LOvQHXSMzRKXOFwcETnPhlD5c= X-Sasl-enc: TGWFPYezc1nSxNXV0TspYjATNzxAZNhIWNSj7CLS3e7B 1297282197 Received: from jud.dyndns.org (24.115.236.228.res-cmts.sm.ptd.net [24.115.236.228]) by mail.messagingengine.com (Postfix) with ESMTPSA id D735E402EA7; Wed, 9 Feb 2011 15:09:57 -0500 (EST) Content-Type: text/plain; charset=us-ascii; format=flowed; delsp=yes To: questions@freebsd.org, "daniel cebd" References: Date: Wed, 09 Feb 2011 15:09:56 -0500 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Jud Message-ID: In-Reply-To: User-Agent: Opera Mail/11.00 (FreeBSD) Cc: Subject: Re: Opera cpu 100% 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, 09 Feb 2011 20:26:25 -0000 On Wed, 09 Feb 2011 04:18:17 -0500, daniel cebd wrote: > FreeBSD new-host.home 8.2-RC3 FreeBSD 8.2-RC3 #0: Sun Jan 30 06:52:51 UTC > 2011 > root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > > Bug ? > > OPERA 11.00 et OPERA 11.01 hang up sur telerama.fr. > 100%cpu actif. Works here with Opera 11 and opera-linuxplugins from the ports. CPU for Opera stayed below 6%, for operapluginwrapper below 3%. Do you have problems with other pages using Flash? Jud -- Using Opera's revolutionary email client: http://www.opera.com/mail/ From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 20:43:56 2011 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 E705F1065674 for ; Wed, 9 Feb 2011 20:43:55 +0000 (UTC) (envelope-from freebsd.user@seibercom.net) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 9977D8FC18 for ; Wed, 9 Feb 2011 20:43:55 +0000 (UTC) Received: by gwj21 with SMTP id 21so273158gwj.13 for ; Wed, 09 Feb 2011 12:43:54 -0800 (PST) Received: by 10.100.141.16 with SMTP id o16mr11382753and.71.1297284233641; Wed, 09 Feb 2011 12:43:53 -0800 (PST) Received: from scorpio.seibercom.net (cpe-071-070-216-068.nc.res.rr.com [71.70.216.68]) by mx.google.com with ESMTPS id w6sm804748anf.26.2011.02.09.12.43.50 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 09 Feb 2011 12:43:51 -0800 (PST) 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 52806E54824 for ; Wed, 9 Feb 2011 15:43:49 -0500 (EST) Date: Wed, 9 Feb 2011 15:43:48 -0500 From: Jerry To: FreeBSD Message-ID: <20110209154348.457c4f7b@scorpio> In-Reply-To: References: Organization: seibercom.net X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; amd64-portbld-freebsd8.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAJFBMVEUeH4oAAI3//v8LDHmw s8gyNZ/b3ej7+vn+/v////+PjIc8Plaj/TnQAAACNElEQVQ4jaXUvW/aQBQAcFtKGZLFT+YY 3D1SR9SKoRMncE3IggU4kicGi1JYOgQwyYrgnLlSzhsoNkTuVJEp+ef6ztiAoV3aJ+QPfufn s987S/5fQvoXYPjztmfc514Ks+5JfGUCfrzt4+VabF+jwEV4DGEXN8N4p16sPLxHX07/V3qX yfF5D2H6K4V8j9NkyAphvkjBembD5PDFk3zeTzP1jcksyaV9w+d4ELmUoOp8N2p8uQVyhTAT uawnKNH2mie5lJp48mscUcbJUvg0mR6APwAoye9AMyWozY4gAh0vcxa5FJ4TKCuODESWtfkB 8AEQSupUXNIYH8FSC2w8X3eMBNbbVJpJ7MgECO5yJ9DUEWCYkzNAlsRsgwLQ1GkWqELbkDOh 1bUzoHagYkNh9MXlK/MQoA42gTxz2bhPM2DJedm8MZx6cNfJgEZJ5cmwPp5FZ/Ye8O2qTrFV dgOrHkZRBoheJiGrRquwAhnQ6GeTePPerWVmQelAQ5lwNqtvQd2lcooAV74/zR1BIRS19fy5 ru+B/8ReW9pYKMPjt609zDaitHHTGOO+Zu7gHvsKE7XbeE1QVuJXomIFuZgUJdXQdhpqEELc /e8RLjfi+cQ01yMdWot8UcCVxEWHEkcUrsDGuhaIEoM9kfgAR6jxHcmEV7tNURAl8KTHN9iF McKGFHGO62O62UMpbmlVuogQ7ndL8zXCiLeBy3xpfrqaXS/+AHDG4o8AvhuPeezD/3xL/hy/ Adjlg2odglF2AAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: Bad hard driver X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Feb 2011 20:43:56 -0000 On Wed, 09 Feb 2011 12:12:26 -0800 Chuck Swiger articulated: > On Feb 9, 2011, at 11:15 AM, Daniel Zhelev wrote: > > The following warning/error was logged by the smartd daemon: > > > > Device: /dev/ad7, 3 Offline uncorrectable sectors > > It means that the drive has detected errors in three sectors, and is > attempting to recover them without data loss to spare sectors, so far > without success. It could also indicate that the drive has exhausted > the spare sectors, in which case all future errors will cause > additional data loss. > > >From the "SMART Self-test log", it seems like you are running short > >self-tests every 24 hours, and periodically running extended tests > >on some interval as well. The smartctl FAQ recommends doing so at > >weekly intervals; doing it daily is putting significant testing load > >onto the drive. > > > I know about the how to - > > http://smartmontools.sourceforge.net/badblockhowto.html > > > > But how can I get the LBA? > > And is there some diagnostic tool for WD in ports? > > Doing a "dd if=/dev/ad7 of=/dev/null bs=64k" will read-scan the > entire drive, and ought to produce a warning in the logs indicating > the LBA of the bad sectors. As for diagnostic tools, WD makes > utilities for DOS and Windows, not FreeBSD. See: > > http://support.wdc.com/product/download.asp?groupid=613&lang=en > > ...for something which you can run off of a boot floppy, USB > pendrive, etc. Spinrite is the best tool I have used for finding bad sectors on an HD. It isn't free, really good software rarely is; however, it creates it own boot CD or floppy disk so it is OS independent. Plus, it works on virtually any HD. Running it at its highest setting can even correct some common HD problems. -- Jerry ✌ FreeBSD.user@seibercom.net Disclaimer: off-list followups get on-list replies or get ignored. Please do not ignore the Reply-To header. __________________________________________________________________ Be incomprehensible. If they can't understand, they can't disagree. From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 20:44:00 2011 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 7855D1065672 for ; Wed, 9 Feb 2011 20:44:00 +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 F2E968FC15 for ; Wed, 9 Feb 2011 20:43:59 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PnGtK-0008DH-El for freebsd-questions@freebsd.org; Wed, 09 Feb 2011 21:43:58 +0100 Received: from pool-173-79-85-36.washdc.fios.verizon.net ([173.79.85.36]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Feb 2011 21:43:58 +0100 Received: from nightrecon by pool-173-79-85-36.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Feb 2011 21:43:58 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Wed, 09 Feb 2011 15:44:45 -0500 Lines: 63 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-85-36.washdc.fios.verizon.net Subject: Re: Bad hard driver 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, 09 Feb 2011 20:44:00 -0000 Chuck Swiger wrote: > On Feb 9, 2011, at 11:15 AM, Daniel Zhelev wrote: >> The following warning/error was logged by the smartd daemon: >> >> Device: /dev/ad7, 3 Offline uncorrectable sectors > > It means that the drive has detected errors in three sectors, and is > attempting to recover them without data loss to spare sectors, so far > without success. It could also indicate that the drive has exhausted the > spare sectors, in which case all future errors will cause additional data > loss. As long as the remap region is not full the next write attempt to these sectors will clear this. It can be done by dd'ing zero to the entire drive, or formatting the entire drive as a shotgun approach. This entails a complete backup and restore cycle though. A little extreme, as this particular error is actually rather benign and eventually self-correcting as long as there is space in the remap area. Early in a drive's life this may be tolerable until the remap fills. Even if the remap area has space available, and these errors get cleared by the next write to the defective sectors I would still watch for more of these. If you get these errors cleared only to start to see more new ones it indicates media failure spreading across the platters. At such a point in a drive's life it only makes sense to replace it, as at some point the remap region fills and you will have lost data. >>From the "SMART Self-test log", it seems like you are running short >>self-tests every 24 hours, and periodically running extended tests on some >>interval as well. The smartctl FAQ recommends doing so at weekly >>intervals; doing it daily is putting significant testing load onto the >>drive. > >> I know about the how to - >> http://smartmontools.sourceforge.net/badblockhowto.html >> >> But how can I get the LBA? >> And is there some diagnostic tool for WD in ports? > > Doing a "dd if=/dev/ad7 of=/dev/null bs=64k" will read-scan the entire > drive, and ought to produce a warning in the logs indicating the LBA of > the bad sectors. As for diagnostic tools, WD makes utilities for DOS and > Windows, not FreeBSD. See: > > http://support.wdc.com/product/download.asp?groupid=613&lang=en > > ...for something which you can run off of a boot floppy, USB pendrive, > etc. The quick test will tell you about bad sectors and then direct you to run the full surface scan which destroys data. But it will "fix" the drive. Back to the dump/restore cycle. I run this on any used drive about to recycled back into use. It almost always finds something and "fixes" it. Excellent idea on how to find the LBA. If the exact sector addresses can be located a dd write to the specific sector(s) will clear the error condition, and should (in theory) be doable without losing data. I would still recommend an entire dump backup be done prior to trying anything. -Mike From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 22:08:13 2011 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 BA812106564A for ; Wed, 9 Feb 2011 22:08:13 +0000 (UTC) (envelope-from toomas.aas@raad.tartu.ee) Received: from kuller.raad.tartu.ee (kuller.raad.tartu.ee [213.184.43.8]) by mx1.freebsd.org (Postfix) with ESMTP id 702548FC12 for ; Wed, 9 Feb 2011 22:08:13 +0000 (UTC) Received: from kuller.raad.tartu.ee (localhost [127.0.0.1]) by kuller.raad.tartu.ee (Postfix) with ESMTP id 1DFE33982C for ; Thu, 10 Feb 2011 00:08:12 +0200 (EET) X-Virus-Scanned: amavisd-new at post.raad.tartu.ee Received: from kuller.raad.tartu.ee ([127.0.0.1]) by kuller.raad.tartu.ee (kuller.raad.tartu.ee [127.0.0.1]) (amavisd-new, port 10024) with LMTP id sgMRxELmcdo2 for ; Thu, 10 Feb 2011 00:08:11 +0200 (EET) Received: by kuller.raad.tartu.ee (Postfix, from userid 80) id E032D39828; Thu, 10 Feb 2011 00:08:10 +0200 (EET) Received: from 213-35-169-23-dsl.trt.estpak.ee (213-35-169-23-dsl.trt.estpak.ee [213.35.169.23]) by webmail.raad.tartu.ee (Horde Framework) with HTTP; Thu, 10 Feb 2011 00:08:10 +0200 Message-ID: <20110210000810.13805wi52we1h5wk@webmail.raad.tartu.ee> Date: Thu, 10 Feb 2011 00:08:10 +0200 From: Toomas Aas To: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.7) X-Originating-IP: 213.35.169.23 Cc: Subject: Can RAID driver be loaded from loader.conf? 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, 09 Feb 2011 22:08:13 -0000 Hello! I'm preparing for a migration from single SATA disk attached to onboard SATA controller to 3ware 9750-4i RAID system. In preparation, while the system is still running on single disk, I downloaded the latest tws.ko driver from LSI website and added it to loader.conf: tws_load="YES" Further plan is to install the controller and new disks into the system alongside with the existing disk, create partitions on new disk and copy over all the contents using dump and tar. After that remove the existing single disk. Is it safe to assume that the system will boot from RAID if RAID controller driver is loaded from loader.conf, or is it absolutely required to have the RAID driver statically built into the kernel? -- Toomas Aas From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 22:56:28 2011 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 E67461065673 for ; Wed, 9 Feb 2011 22:56:28 +0000 (UTC) (envelope-from gibblertron@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 B319B8FC08 for ; Wed, 9 Feb 2011 22:56:28 +0000 (UTC) Received: by iwn39 with SMTP id 39so662536iwn.13 for ; Wed, 09 Feb 2011 14:56:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=98sFXewTE/fc0YMNZ0hyoLQM/HVRX6DTj75jdsSIRlY=; b=sPfQp7tTmaR1ljInsgIP7fWIE0s4gTDNVAwtxU0l/dqU0Kkj7mtkZx1azvHhNgRKOo Y83VuIoaGiPM0s5kAYaxpjYj7EdLe9PLLa54SrqXcINOt8LsbAGUFYuo17AROQxau4ae tZiNXWfgPXB+YqtjsSEMTaFPmEkqml/I/t8P0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=pgydzy5CDPmXV5mcGUDMub36QaZT0e5rSDofJSq7ZZxKUg+p/WURB+hHKlC/MyHrbO T3RVsjbGG8H8UFHVARmsA5zkhXGfxNDCO+V7u3z3ERj3XHXZE/wFE6uOcwNoec7COpxf 2J2m5waRGz85tC3IcUsgEenQKyF5rb1pMEwZs= MIME-Version: 1.0 Received: by 10.231.36.68 with SMTP id s4mr21288991ibd.178.1297292188071; Wed, 09 Feb 2011 14:56:28 -0800 (PST) Received: by 10.231.14.197 with HTTP; Wed, 9 Feb 2011 14:56:28 -0800 (PST) Date: Wed, 9 Feb 2011 14:56:28 -0800 Message-ID: From: patrick To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Subject: Run your own portsnap mirror? 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, 09 Feb 2011 22:56:29 -0000 Is there any official way to run a private portsnap mirror? ie. Have one, external server fetch from the official portsnap sources, and then internal servers pulling from the private mirror? From owner-freebsd-questions@FreeBSD.ORG Wed Feb 9 23:04:37 2011 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 59A43106566B for ; Wed, 9 Feb 2011 23:04:37 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id 0456D8FC13 for ; Wed, 9 Feb 2011 23:04:36 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.4/8.14.4) with ESMTP id p19Man0a003776 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 9 Feb 2011 16:36:50 -0600 (CST) (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 p19ManME066514 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 9 Feb 2011 16:36:49 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.4/Submit) id p19Mamfl066513; Wed, 9 Feb 2011 16:36:48 -0600 (CST) (envelope-from dan) Date: Wed, 9 Feb 2011 16:36:48 -0600 From: Dan Nelson To: Toomas Aas Message-ID: <20110209223648.GE66849@dan.emsphone.com> References: <20110210000810.13805wi52we1h5wk@webmail.raad.tartu.ee> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110210000810.13805wi52we1h5wk@webmail.raad.tartu.ee> X-OS: FreeBSD 8.2-PRERELEASE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.96.4 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (email2.allantgroup.com [199.67.51.78]); Wed, 09 Feb 2011 16:36:50 -0600 (CST) X-Scanned-By: MIMEDefang 2.68 on 199.67.51.78 Cc: questions@freebsd.org Subject: Re: Can RAID driver be loaded from loader.conf? 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, 09 Feb 2011 23:04:37 -0000 In the last episode (Feb 10), Toomas Aas said: > I'm preparing for a migration from single SATA disk attached to onboard > SATA controller to 3ware 9750-4i RAID system. In preparation, while the > system is still running on single disk, I downloaded the latest tws.ko > driver from LSI website and added it to loader.conf: tws_load="YES" > > Further plan is to install the controller and new disks into the system > alongside with the existing disk, create partitions on new disk and copy > over all the contents using dump and tar. After that remove the existing > single disk. > > Is it safe to assume that the system will boot from RAID if RAID > controller driver is loaded from loader.conf, or is it absolutely required > to have the RAID driver statically built into the kernel? You should be able to load raid drivers as modules just fine. /boot/loader uses BIOS calls to read both the kernel and any modules listed in loader.conf, so if it can load the kernel, it should be able to load the modules too. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Thu Feb 10 00:42:49 2011 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 3E2821065672 for ; Thu, 10 Feb 2011 00:42:49 +0000 (UTC) (envelope-from freebsd-questions@herveybayaustralia.com.au) Received: from mail.unitedinsong.com.au (mail.unitedinsong.com.au [150.101.178.33]) by mx1.freebsd.org (Postfix) with ESMTP id 962D58FC12 for ; Thu, 10 Feb 2011 00:42:48 +0000 (UTC) Received: from laptop1.herveybayaustralia.com.au (laptop1.herveybayaustralia.com.au [192.168.0.186]) by mail.unitedinsong.com.au (Postfix) with ESMTP id 42CE85C44; Thu, 10 Feb 2011 10:49:55 +1000 (EST) Message-ID: <4D5333E4.7070800@herveybayaustralia.com.au> Date: Thu, 10 Feb 2011 10:40:04 +1000 From: Da Rock User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.16) Gecko/20110204 Thunderbird/3.0.11 ThunderBrowse/3.3.4 MIME-Version: 1.0 To: Maxim Khitrov References: <4D515148.3000009@herveybayaustralia.com.au> <20110208151849.GC3267@catflap.slightlystrange.org> <4D51CD05.8040003@herveybayaustralia.com.au> <20110209111646.GD3267@catflap.slightlystrange.org> <4D527BAC.3080805@herveybayaustralia.com.au> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: pf, binat, rdr, and one ip 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, 10 Feb 2011 00:42:49 -0000 On 02/09/11 22:38, Maxim Khitrov wrote: > On Wed, Feb 9, 2011 at 6:34 AM, Da Rock > wrote: > >> On 02/09/11 21:16, Daniel Bye wrote: >> >>> On Wed, Feb 09, 2011 at 09:08:53AM +1000, Da Rock wrote: >>> >>> >>>> On 02/09/11 01:18, Daniel Bye wrote: >>>> >>>> >>>>> On Wed, Feb 09, 2011 at 12:20:56AM +1000, Da Rock wrote: >>>>> >>>>> >>>>> >>>>>> A very quick question. >>>>>> >>>>>> PF firewall. One static public IP. About 6 servers on the internal >>>>>> network (dmz). One server binat in the pf.conf, the rest redirected. >>>>>> >>>>>> Possible? Or would it die in the hole? >>>>>> >>>>>> >>>>>> >>>>> I guess you're concerned about performance and resource usage? If so, >>>>> this >>>>> may be helpful. >>>>> >>>>> http://www.openbsd.org/faq/pf/perf.html >>>>> >>>>> Dan >>>>> >>>>> >>>>> >>>> Useful info to have, thanks. But no, I'm interested in if the binatting >>>> will interfere with the rdr's (or vice versa). >>>> >>>> >>> Ah, I see. I don't know, is the straight answer - I've never needed to use >>> both together. A bit of idle googling seems to suggest it's possible, but >>> I don't have time right now to dig any deeper. >>> >>> >> Thats exactly what I got too. Nothing definitive to go on. Apparently not a >> very common arrangement. It *seems* to be working, but there are some weird >> quirks I can't quite account for. Hence the question to the guys who'd >> know... :) >> > According to pf.conf(5): > > Evaluation order of the translation rules is dependent on the type of the > translation rules and of the direction of a packet. binat rules are > always evaluated first. Then either the rdr rules are evaluated on an > inbound packet or the nat rules on an outbound packet. Rules of the same > type are evaluated in the same order in which they appear in the ruleset. > The first matching rule decides what action is taken. > > The way I interpret this is that when an outside client tries to > establish a connection to one of your servers, the rdr rules will > never be evaluated, since the only public IP is translated with binat. > Outgoing connections shouldn't have a problem, since binat will only > match one local IP address and the others can be translated with nat > rules. > Allow me to prefix my comments with the fact that that is not what appears to be happening. I read that as well, but my reading between the lines was that it is the _rules_ that are evaluated. So if I have a block all policy and then open up what I need, then only the _ports_ specified for that binat machine are passed- the rest continue for further evaluation: the rdr rules are then assessed and the packets are passed accordingly. What I see works mostly; I have a binat machine for voip (asterisk), and the rest of the jumble gets passed to the rdr's or get blocked. However, where I come unstuck (and this is why I recreated my firewall rules) is I still can't get outgoing calls to my voip provider. It still eludes me... So I'm not sure if I'm 100% right or not. Hence my dilemma... I did get outgoing calls to work somewhere when my firewall rules were still not quite working, but I couldn't ring in! I have used an ata and tried to figure out what I'm missing, but I still haven't got it figured yet. But I digress. At the time when I started this thread I was having some odd issues with my rdr servers, but now they appear to be working as they should (after some blood sweat and tears), fingers crossed. So what I will do now is finish this problem and get the voip working (which may or may not be a firewall problem), and then see whether it all works as beautifully as it should; then I will report back on this thread and let people know the outcome. From owner-freebsd-questions@FreeBSD.ORG Thu Feb 10 00:54:43 2011 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 2E25D106564A for ; Thu, 10 Feb 2011 00:54:43 +0000 (UTC) (envelope-from max@mxcrypt.com) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id DA5FE8FC17 for ; Thu, 10 Feb 2011 00:54:42 +0000 (UTC) Received: by vxa40 with SMTP id 40so402466vxa.13 for ; Wed, 09 Feb 2011 16:54:42 -0800 (PST) Received: by 10.220.81.5 with SMTP id v5mr5654171vck.74.1297299280189; Wed, 09 Feb 2011 16:54:40 -0800 (PST) MIME-Version: 1.0 Received: by 10.220.77.85 with HTTP; Wed, 9 Feb 2011 16:54:09 -0800 (PST) In-Reply-To: <4D5333E4.7070800@herveybayaustralia.com.au> References: <4D515148.3000009@herveybayaustralia.com.au> <20110208151849.GC3267@catflap.slightlystrange.org> <4D51CD05.8040003@herveybayaustralia.com.au> <20110209111646.GD3267@catflap.slightlystrange.org> <4D527BAC.3080805@herveybayaustralia.com.au> <4D5333E4.7070800@herveybayaustralia.com.au> From: Maxim Khitrov Date: Wed, 9 Feb 2011 19:54:09 -0500 Message-ID: To: Da Rock Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: pf, binat, rdr, and one ip 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, 10 Feb 2011 00:54:43 -0000 On Wed, Feb 9, 2011 at 7:40 PM, Da Rock wrote: > On 02/09/11 22:38, Maxim Khitrov wrote: >> >> On Wed, Feb 9, 2011 at 6:34 AM, Da Rock >> =C2=A0wrote: >> >>> >>> On 02/09/11 21:16, Daniel Bye wrote: >>> >>>> >>>> On Wed, Feb 09, 2011 at 09:08:53AM +1000, Da Rock wrote: >>>> >>>> >>>>> >>>>> On 02/09/11 01:18, Daniel Bye wrote: >>>>> >>>>> >>>>>> >>>>>> On Wed, Feb 09, 2011 at 12:20:56AM +1000, Da Rock wrote: >>>>>> >>>>>> >>>>>> >>>>>>> >>>>>>> A very quick question. >>>>>>> >>>>>>> PF firewall. One static public IP. About 6 servers on the internal >>>>>>> network (dmz). One server binat in the pf.conf, the rest redirected= . >>>>>>> >>>>>>> Possible? Or would it die in the hole? >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> I guess you're concerned about performance and resource usage? If so= , >>>>>> this >>>>>> may be helpful. >>>>>> >>>>>> http://www.openbsd.org/faq/pf/perf.html >>>>>> >>>>>> Dan >>>>>> >>>>>> >>>>>> >>>>> >>>>> Useful info to have, thanks. But no, I'm interested in if the binatti= ng >>>>> will interfere with the rdr's (or vice versa). >>>>> >>>>> >>>> >>>> Ah, I see. I don't know, is the straight answer - I've never needed to >>>> use >>>> both together. A bit of idle googling seems to suggest it's possible, >>>> but >>>> I don't have time right now to dig any deeper. >>>> >>>> >>> >>> Thats exactly what I got too. Nothing definitive to go on. Apparently n= ot >>> a >>> very common arrangement. It *seems* to be working, but there are some >>> weird >>> quirks I can't quite account for. Hence the question to the guys who'd >>> know... :) >>> >> >> According to pf.conf(5): >> >> =C2=A0 =C2=A0 =C2=A0Evaluation order of the translation rules is depende= nt on the type of >> the >> =C2=A0 =C2=A0 =C2=A0translation rules and of the direction of a packet. = =C2=A0binat rules are >> =C2=A0 =C2=A0 =C2=A0always evaluated first. =C2=A0Then either the rdr ru= les are evaluated on >> an >> =C2=A0 =C2=A0 =C2=A0inbound packet or the nat rules on an outbound packe= t. =C2=A0Rules of the >> same >> =C2=A0 =C2=A0 =C2=A0type are evaluated in the same order in which they a= ppear in the >> ruleset. >> =C2=A0 =C2=A0 =C2=A0The first matching rule decides what action is taken= . >> >> The way I interpret this is that when an outside client tries to >> establish a connection to one of your servers, the rdr rules will >> never be evaluated, since the only public IP is translated with binat. >> Outgoing connections shouldn't have a problem, since binat will only >> match one local IP address and the others can be translated with nat >> rules. >> > > Allow me to prefix my comments with the fact that that is not what appear= s > to be happening. > > I read that as well, but my reading between the lines was that it is the > _rules_ that are evaluated. So if I have a block all policy and then open= up > what I need, then only the _ports_ specified for that binat machine are > passed- the rest continue for further evaluation: the rdr rules are then > assessed and the packets are passed accordingly. > > What I see works mostly; I have a binat machine for voip (asterisk), and = the > rest of the jumble gets passed to the rdr's or get blocked. However, wher= e I > come unstuck (and this is why I recreated my firewall rules) is I still > can't get outgoing calls to my voip provider. It still eludes me... So I'= m > not sure if I'm 100% right or not. > > Hence my dilemma... I did get outgoing calls to work somewhere when my > firewall rules were still not quite working, but I couldn't ring in! I ha= ve > used an ata and tried to figure out what I'm missing, but I still haven't > got it figured yet. > > But I digress. At the time when I started this thread I was having some o= dd > issues with my rdr servers, but now they appear to be working as they sho= uld > (after some blood sweat and tears), fingers crossed. So what I will do no= w > is finish this problem and get the voip working (which may or may not be = a > firewall problem), and then see whether it all works as beautifully as it > should; then I will report back on this thread and let people know the > outcome. > Are you using binat specifically for voip or is there some other reason? I used to run a voip appliance behind m0n0wall (FreeBSD 6) using regular nat and port forwarding without any problems. I'm not familiar with asterisk, but I assume there is a way to restrict the port range that is used for incoming and outgoing connections. Binat shouldn't be needed for this if that's your only reason for going that route. - Max From owner-freebsd-questions@FreeBSD.ORG Thu Feb 10 01:39:10 2011 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 33236106564A for ; Thu, 10 Feb 2011 01:39:10 +0000 (UTC) (envelope-from service@stumbleupon.com) Received: from smtp2.stumbleupon.com (smtp2.stumbleupon.com [38.104.134.114]) by mx1.freebsd.org (Postfix) with ESMTP id 130C68FC14 for ; Thu, 10 Feb 2011 01:39:09 +0000 (UTC) Received: from localhost.localdomain (face-be [10.10.20.42]) by smtp2.stumbleupon.com (Postfix) with ESMTP id 7E74B278EBC9 for ; Wed, 9 Feb 2011 17:14:32 -0800 (PST) DomainKey-Signature: a=rsa-sha1; s=mail; d=stumbleupon.com; c=simple; q=dns; b=lTJDLLfaQuTv/J2oLLjRxElNubwJZNjdDZILyqk56+DEXmrIdt4W0wQ4idlPMuQa+ tGx5voKUbMaFmAc5WM/LuLsphe7nvPNF0hObgPgW1i81Kmjxuo772CAa6L5YorcBu4A zMTkl6U360hHOE0JxIrTcNBVdLE3asc1xO2ZK3g= DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=stumbleupon.com; s=mail; t=1297300472; bh=ZVWZyKXZTFu2NIuCdRg1mYE/bvFhQjtn8zZnsAIiS3 g=; h=Date:To:From:Reply-to:Subject:Message-ID:Sender:MIME-Version: Content-Type; b=eqGZeKht9aYlMzTG5A9s/bEf2B7+XKkMNht7tSFhedphycSpVX PxsWpJJ3foXfnY+Jxbq7nwsVbmsKPPs79XjaoDi8b4Q9Yl9ANrdvdEOxzFCXp5TIKf/ ngeik28436NINXtVweWeouNzARoa4GyIf4m2qbI19NBb6ekdWL296E= Date: Wed, 9 Feb 2011 17:14:32 -0800 To: questions@freebsd.org From: StumbleUpon Message-ID: <51e6c895643e2c5b4765e019c63e1a01@localhost.localdomain> X-Priority: 3 X-Mailer: PHPMailer 5.1 (phpmailer.sourceforge.net) Sender: service@stumbleupon.com MIME-Version: 1.0 Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Reminder - aurinete wants you on StumbleUpon X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: StumbleUpon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Feb 2011 01:39:10 -0000 [StumbleUpon] (http://www.stumbleupon.com/to/e/850183175:055A6B5UKJQ47KT8/pending_invites-3/pf1/http%253A%252F%252Fwww.stumbleupon.com%252Fstumbler%252Faurinete%252F) aurinete recently invited you to join StumbleUpon. Come discover great photos, videos, web pages, and more, recommended just for you. After you join, you'll be able to easily discover your friends' favorite sites and share your finds with each other. Join Now > (http://www.stumbleupon.com/to/e/850183175:055A6B5UKJQ47KT8/pending_invites-3/home/http%253A%252F%252Fwww.stumbleupon.com%252F%253Fpre%253Dpi) And see what you're missing! StumbleUpon is a discovery engine that finds the best of the web, recommended just for you. Learn more (http://www.stumbleupon.com/to/e/850183175:055A6B5UKJQ47KT8/pending_invites-3/hf/http%253A%252F%252Fwww.stumbleupon.com%252F) If you do not wish to receive emails sent by StumbleUpon, please click here (http://www.stumbleupon.com/to/e/850183175:055A6B5UKJQ47KT8/pending_invites-3/oo/__eNrLKCkpsNLXLy8v1ysuKc1NykktLcjP00vOz9XPyy_JTMtMTizJzM8r1ivIKLBPzU3MzEnOT0m1NTA1dTRzMg319go0MfcOsVArqSxItfXMK8ssSQVcMBeQHe4%252C) (c) StumbleUpon 2001 - 2011 From owner-freebsd-questions@FreeBSD.ORG Thu Feb 10 02:21:34 2011 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 2BAED1065672 for ; Thu, 10 Feb 2011 02:21:34 +0000 (UTC) (envelope-from jcw@speakeasy.net) Received: from mail6.sea5.speakeasy.net (mail6.sea5.speakeasy.net [69.17.117.50]) by mx1.freebsd.org (Postfix) with ESMTP id 0B5848FC12 for ; Thu, 10 Feb 2011 02:21:33 +0000 (UTC) Received: (qmail 3272 invoked from network); 10 Feb 2011 01:54:51 -0000 Received: from g1.stradamotorsports.com (HELO w16.stradamotorsports.com) (jcw@[64.81.163.42]) (envelope-sender ) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 10 Feb 2011 01:54:51 -0000 Message-ID: <4D53456A.90905@speakeasy.net> Date: Wed, 09 Feb 2011 17:54:50 -0800 From: "Jason C. Wells" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.10) Gecko/20100808 Lightning/1.0b1 Thunderbird/3.0.5 MIME-Version: 1.0 To: freebsd general questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Heimdal on 8.1 ASN.1 Encoding 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, 10 Feb 2011 02:21:34 -0000 Some time ago I gave 8.0 a try as a Heimdal KDC. I tried again today with 8.1. With new principals and new keytabs I get this error: Kerberos V5 refuses authentication because Read req failed: ASN.1 encoding ended unexpectedly Any ideas what this might be? My kdc.conf and krb5.conf are minimal with no tinkering with keytypes. Thanks, Jason C. Wells From owner-freebsd-questions@FreeBSD.ORG Thu Feb 10 05:23:11 2011 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 47EDB1065670; Thu, 10 Feb 2011 05:23:11 +0000 (UTC) (envelope-from bahman.linux@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 E254C8FC12; Thu, 10 Feb 2011 05:23:10 +0000 (UTC) Received: by vws9 with SMTP id 9so612818vws.13 for ; Wed, 09 Feb 2011 21:23:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=9Foy4ImjInzQmxLb7QBpbPzLu2+7xiXwbudpjVGns/s=; b=EjlsQqJmhMqB+3pGV7X1XargvlSGMrPcvjag+Obu2O86i4KilYaWZL/e77/wDdHlk7 p4ZgkZtwtzMZ2AVDNvAhc2FWXjFvn7qNv6tpE1y5Gr9q/YlkDkaeXlXaoLj9y4lCUHpe zJBs/XNfvJ/VEWGUAuVIDukdD01mr5L/cm36Q= 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=RSJineCKDtIAj/aH9+TwKT5dqbf2RuwazHGLgGWxxt+oeYxLSly/Z4vKe0BPHHd7+K AGirETuIx620FyU8oc7r91yrq5AM0/K47QiffzxES0XWvsv1sZvRkQOSWMW0J5By3Exc cX7IZRZRgsheDp0ztwLp3W+qm26vQ26UcIzG0= MIME-Version: 1.0 Received: by 10.220.112.18 with SMTP id u18mr5283962vcp.261.1297315389250; Wed, 09 Feb 2011 21:23:09 -0800 (PST) Received: by 10.220.175.197 with HTTP; Wed, 9 Feb 2011 21:23:09 -0800 (PST) In-Reply-To: References: Date: Thu, 10 Feb 2011 08:53:09 +0330 Message-ID: From: Bahman Kahinpour To: Robert Millan Content-Type: text/plain; charset=UTF-8 Cc: freebsd-questions@freebsd.org, www@freebsd.org Subject: Re: Debian GNU/kFreeBSD 6.0 "Squeeze" has been released 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, 10 Feb 2011 05:23:11 -0000 I do not think it is due to a bug (I am not sure actually). Because when I check the download links, it is the case for some other architectures too. (with Linux kernel) Isn't it because of bandwidth limits or stuff like that? Maybe they will put the images on the site a month later or so. On 2/9/11, Robert Millan wrote: > [ Adding debian-bsd@lists.debian.org to CC. If you reply, please > follow-up there since this is off-topic in FreeBSD mailing lists ] > > 2011/2/9 Bahman Kahinpour : >> http://cdimage.debian.org/debian-cd/6.0.0/kfreebsd-amd64/iso-dvd/ >> http://cdimage.debian.org/debian-cd/6.0.0/kfreebsd-i386/iso-dvd/ >> >> And according to the CHECKSUMS available in that directory there >> should be 7 DVD-ROMs for each architecture (amd64, i386): >> debian-6.0.0-kfreebsd--DVD-.iso where =amd64/i386 and >> N=1...7 but only the first DVD-ROM is available for each architecture. >> Where are other DVD-ROMs? > > These images currently install by downloading packages via internet. The > CD/DVD is not actually used (except for booting) because of a bug in > the installer. > > The fix for this bug will be included in 6.0r1, but for now it doesn't > matter which ISO you download, they all do a network install. > > -- > Robert Millan > From owner-freebsd-questions@FreeBSD.ORG Thu Feb 10 07:12:41 2011 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 44CDD106564A for ; Thu, 10 Feb 2011 07:12:41 +0000 (UTC) (envelope-from b.smeelen@ose.nl) Received: from mail.ose.nl (mail.ose.nl [212.178.134.164]) by mx1.freebsd.org (Postfix) with ESMTP id DA1198FC14 for ; Thu, 10 Feb 2011 07:12:40 +0000 (UTC) Received: from localhost ([127.0.0.1]) by mail.ose.nl for freebsd-questions@freebsd.org; Thu, 10 Feb 2011 08:12:38 +0100 Message-ID: <4D538FE6.8030105@ose.nl> Date: Thu, 10 Feb 2011 08:12:38 +0100 From: Bas Smeelen User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4D5254AB.5030408@cyanide-studio.com> In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: quoted-printable Subject: Re: Partial DNS tree 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, 10 Feb 2011 07:12:41 -0000 On 02/09/2011 08=3A22 PM=2C David Brodbeck wrote=3A =3E I think the term you=27re looking for is =22split-horizon DNS=22=2E =3E =3E I second the recommendation to use dnsmasq for this=2E It=27s extremel= y =3E easy to set up=2E But if you really want to do this with a =22proper= =22 DNS =3E server=2C such as bind=2C googling on the above term will probably help= =2E I agree that this would be a much =22cleaner=22 approach=2C though it=27s h= arder to setup and maintain than dnsmasq=2E DISCLAIMER=3A This e-mail is for the intended recipient=28s=29 only=2E Acce= ss=2C disclosure=2C copying=2C distribution or reliance on any of it by anyone else is prohibited=2E If yo= u have received it by mistake please let us know by reply and then delete it from your system= =2E From owner-freebsd-questions@FreeBSD.ORG Thu Feb 10 07:51:59 2011 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 EB418106564A for ; Thu, 10 Feb 2011 07:51:59 +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 72EC18FC1B for ; Thu, 10 Feb 2011 07:51:59 +0000 (UTC) Received: from phobytor.is.co.za (localhost [127.0.0.1]) by phobytor.is.co.za (Postfix) with ESMTP id 0E2EA3BC153 for ; Thu, 10 Feb 2011 09:32:12 +0200 (SAST) Received: from ZABRYSVISMFW (zajnbisit.mfw.is.co.za [196.26.2.106]) by phobytor.is.co.za (Postfix) with ESMTP id D02BF3BC148 for ; Thu, 10 Feb 2011 09:32:11 +0200 (SAST) Received: from zabrysvisexhub3.af.didata.local (Not Verified[10.1.8.38]) by ZABRYSVISMFW with MailMarshal (v6, 7, 2, 8378) id ; Thu, 10 Feb 2011 09:35:51 +0200 Received: from ZABRYSVISEXMBX1.af.didata.local ([fe80::914a:a14c:13c1:d279]) by zabrysvisexhub3.af.didata.local ([fe80::9023:67c3:e2b7:a5ba%10]) with mapi; Thu, 10 Feb 2011 09:31:52 +0200 From: Vikash Badal To: "freebsd-questions@freebsd.org" Date: Thu, 10 Feb 2011 09:32:06 +0200 Thread-Topic: switching from gnu make to bsd make Thread-Index: AcvI9J5wGevgXJ91RcGKt01e3nR6Xg== Message-ID: <9B425C841283E0418B1825D40CBCFA615B422306F9@ZABRYSVISEXMBX1.af.didata.local> Accept-Language: en-US, en-ZA Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-cr-hashedpuzzle: Qx0= AZVG Ay5u BkcB C3Pj EHGO E7Wd FsIE F32k GElH Hffq H9XG IN17 IbBJ IwU/ I8Ag; 1; ZgByAGUAZQBiAHMAZAAtAHEAdQBlAHMAdABpAG8AbgBzAEAAZgByAGUAZQBiAHMAZAAuAG8AcgBnAA==; Sosha1_v1; 7; {B46D2192-FD88-40FC-9AC7-41D72B78AAE5}; dgBpAGsAYQBzAGgALgBiAGEAZABhAGwAQABpAHMALgBjAG8ALgB6AGEA; Thu, 10 Feb 2011 07:32:06 GMT; cwB3AGkAdABjAGgAaQBuAGcAIABmAHIAbwBtACAAZwBuAHUAIABtAGEAawBlACAAdABvACAAYgBzAGQAIABtAGEAawBlAA== x-cr-puzzleid: {B46D2192-FD88-40FC-9AC7-41D72B78AAE5} acceptlanguage: en-US, en-ZA Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Scanned: ClamAV using ClamSMTP Subject: switching from gnu make to bsd make 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, 10 Feb 2011 07:52:00 -0000 Can someone please advise me as to how I switch the following lines of gn= u make to bsd make $(OBJDIR)/%.o:${SRCDIR}/%.c =20 ${CC} -c ${CFLAGS} ${INCDIR} ${LIBDIR} $< -o $@ Thanks Vikash 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 Thu Feb 10 08:10:40 2011 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 30F4C106564A for ; Thu, 10 Feb 2011 08:10:40 +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 E57938FC0C for ; Thu, 10 Feb 2011 08:10:39 +0000 (UTC) Received: from r55.edvax.de (port-92-195-143-131.dynamic.qsc.de [92.195.143.131]) by mx01.qsc.de (Postfix) with ESMTP id E9A7C3CBF7; Thu, 10 Feb 2011 09:10:37 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p1A8AabY004114; Thu, 10 Feb 2011 09:10:36 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 10 Feb 2011 09:10:36 +0100 From: Polytropon To: Vikash Badal Message-Id: <20110210091036.d2f68289.freebsd@edvax.de> In-Reply-To: <9B425C841283E0418B1825D40CBCFA615B422306F9@ZABRYSVISEXMBX1.af.didata.local> References: <9B425C841283E0418B1825D40CBCFA615B422306F9@ZABRYSVISEXMBX1.af.didata.local> 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: switching from gnu make to bsd make 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: Thu, 10 Feb 2011 08:10:40 -0000 On Thu, 10 Feb 2011 09:32:06 +0200, Vikash Badal wrote: > Can someone please advise me as to how I switch the following lines of gnu make to bsd make > > > $(OBJDIR)/%.o:${SRCDIR}/%.c > ${CC} -c ${CFLAGS} ${INCDIR} ${LIBDIR} $< -o $@ It sems to work with BSD make, I've tried it. % make foo ... starts compiling foo.c ... The only thing I would change is the order of the last arguments, which should be "-o $@ $<" (input files last), and a space after ":" in the first line (for better reading). Anyway, it seems to be compatible. Of course, in my testing case OBJDIR and SRCDIR are empty, and I didn't define any of CC, CFLAGS, INCDIR or LIBDIR, so the defaults have been chosen. Do you encounter a specific problem? -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Thu Feb 10 09:30:09 2011 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 4FEA8106566C for ; Thu, 10 Feb 2011 09:30:09 +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 718208FC0C for ; Thu, 10 Feb 2011 09:30:08 +0000 (UTC) Received: from phobytor.is.co.za (localhost [127.0.0.1]) by phobytor.is.co.za (Postfix) with ESMTP id 6D0C93BBC3A; Thu, 10 Feb 2011 11:30:06 +0200 (SAST) Received: from ZABRYSVISMFW (zajnbisit.mfw.is.co.za [196.26.2.106]) by phobytor.is.co.za (Postfix) with ESMTP id 552ED3BBC14; Thu, 10 Feb 2011 11:30:06 +0200 (SAST) Received: from zabrysvisexhub3.af.didata.local (Not Verified[10.1.8.38]) by ZABRYSVISMFW with MailMarshal (v6, 7, 2, 8378) id ; Thu, 10 Feb 2011 11:33:46 +0200 Received: from ZABRYSVISEXMBX1.af.didata.local ([fe80::914a:a14c:13c1:d279]) by zabrysvisexhub3.af.didata.local ([fe80::9023:67c3:e2b7:a5ba%10]) with mapi; Thu, 10 Feb 2011 11:29:46 +0200 From: Vikash Badal To: Polytropon Date: Thu, 10 Feb 2011 11:30:02 +0200 Thread-Topic: switching from gnu make to bsd make Thread-Index: AcvI+fe/bqx11y+GT1yNdoiX9maZrQACtC3Q Message-ID: <9B425C841283E0418B1825D40CBCFA615B422307D7@ZABRYSVISEXMBX1.af.didata.local> References: <9B425C841283E0418B1825D40CBCFA615B422306F9@ZABRYSVISEXMBX1.af.didata.local> <20110210091036.d2f68289.freebsd@edvax.de> In-Reply-To: <20110210091036.d2f68289.freebsd@edvax.de> 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-Virus-Scanned: ClamAV using ClamSMTP Cc: "freebsd-questions@freebsd.org" Subject: RE: switching from gnu make to bsd make 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, 10 Feb 2011 09:30:09 -0000 > -----Original Message----- > From: Polytropon [mailto:freebsd@edvax.de] > Sent: 10 February 2011 10:11 AM > To: Vikash Badal > Cc: freebsd-questions@freebsd.org > Subject: Re: switching from gnu make to bsd make >=20 > Of course, in my testing case OBJDIR and SRCDIR are > empty, and I didn't define any of CC, CFLAGS, INCDIR or > LIBDIR, so the defaults have been chosen. >=20 > Do you encounter a specific problem? This is my problem: vix:$ make make: don't know how to make src/%.c. Stop this is my make file: -------------------------------------------------------------------------= --------- CC =3D cc LIBS =3D -lpthread -lmysqlclient_r CFLAGS =3D -Wall -g INCDIR =3D -Iinclude -I/usr/local/include -I/usr/local/include/mys= ql LIBDIR =3D -L/usr/local/lib -L/usr/local/lib/mysql OBJDIR =3D obj SRCDIR =3D src BINDIR =3D bin PREFIX =3D /usr/local/nntpd BINDIRFILES =3D ${BINDIR}/nntpd OBJS =3D ${OBJDIR}/log.o ${OBJDIR}/cleanup.o ${OBJDIR}/config.o = \ =20 ${OBJDIR}/leecherpool.o ${OBJDIR}/mytime.o ${OBJDIR}/nn= tp.o \ =20 ${OBJDIR}/upstream.o ${OBJDIR}/mysleep.o ${OBJDIR}/sqlp= ool.o \ =20 ${OBJDIR}/sql.o ${OBJDIR}/signalhandler.o ${OBJDIR}/dae= mon.o \ =20 ${OBJDIR}/list.o ${OBJDIR}/tcpserver.o ${OBJDIR}/tmpfil= es.o \ =20 ${OBJDIR}/listenpool.o ${OBJDIR}/workers.o \ =20 ${OBJDIR}/nntpd.o $(OBJDIR)/%.o:${SRCDIR}/%.c =20 ${CC} -c ${CFLAGS} ${INCDIR} ${LIBDIR} $< -o $@ all: ${OBJS} =20 ${CC} -o ${BINDIR}/nntpd ${LIBS} ${CFLAGS} ${INCDIR} ${LIBDIR} = \ =20 ${OBJDIR}/log.o ${OBJDIR}/cleanup.o ${OBJDIR}/config.o \ =20 ${OBJDIR}/leecherpool.o ${OBJDIR}/mytime.o ${OBJDIR}/nntp.o \ =20 ${OBJDIR}/upstream.o ${OBJDIR}/mysleep.o ${OBJDIR}/sqlpool.o \ =20 ${OBJDIR}/sql.o ${OBJDIR}/signalhandler.o ${OBJDIR}/daemon.o \ =20 ${OBJDIR}/list.o ${OBJDIR}/tcpserver.o ${OBJDIR}/tmpfiles.o \ =20 ${OBJDIR}/listenpool.o ${OBJDIR}/workers.o \ =20 ${OBJDIR}/nntpd.o -------------------------------------------------------------------------= --------- >=20 >=20 >=20 > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... 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 Thu Feb 10 09:59:38 2011 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 74A5F1065672 for ; Thu, 10 Feb 2011 09:59:38 +0000 (UTC) (envelope-from click@sgate.org) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 2ED278FC17 for ; Thu, 10 Feb 2011 09:59:37 +0000 (UTC) Received: by qwj9 with SMTP id 9so812240qwj.13 for ; Thu, 10 Feb 2011 01:59:37 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.97.134 with SMTP id l6mr8520202qcn.253.1297331977171; Thu, 10 Feb 2011 01:59:37 -0800 (PST) Sender: click@sgate.org Received: by 10.229.227.84 with HTTP; Thu, 10 Feb 2011 01:59:37 -0800 (PST) Date: Thu, 10 Feb 2011 11:59:37 +0200 X-Google-Sender-Auth: t3Gf_c32Hz6I4Du9Clnm3F9YmpQ Message-ID: From: Daniel Zhelev To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Bad hard driver [SOLVED] 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, 10 Feb 2011 09:59:38 -0000 On Wed, Feb 9, 2011 at 10:44 PM, Michael Powell wrote: > Chuck Swiger wrote: > > > On Feb 9, 2011, at 11:15 AM, Daniel Zhelev wrote: > >> The following warning/error was logged by the smartd daemon: > >> > >> Device: /dev/ad7, 3 Offline uncorrectable sectors > > > > It means that the drive has detected errors in three sectors, and is > > attempting to recover them without data loss to spare sectors, so far > > without success. It could also indicate that the drive has exhausted the > > spare sectors, in which case all future errors will cause additional data > > loss. > > As long as the remap region is not full the next write attempt to these > sectors will clear this. It can be done by dd'ing zero to the entire drive, > or formatting the entire drive as a shotgun approach. This entails a > complete backup and restore cycle though. A little extreme, as this > particular error is actually rather benign and eventually self-correcting > as > long as there is space in the remap area. > > Early in a drive's life this may be tolerable until the remap fills. Even > if > the remap area has space available, and these errors get cleared by the > next > write to the defective sectors I would still watch for more of these. If > you > get these errors cleared only to start to see more new ones it indicates > media failure spreading across the platters. At such a point in a drive's > life it only makes sense to replace it, as at some point the remap region > fills and you will have lost data. > > >>From the "SMART Self-test log", it seems like you are running short > >>self-tests every 24 hours, and periodically running extended tests on > some > >>interval as well. The smartctl FAQ recommends doing so at weekly > >>intervals; doing it daily is putting significant testing load onto the > >>drive. > > > >> I know about the how to - > >> http://smartmontools.sourceforge.net/badblockhowto.html > >> > >> But how can I get the LBA? > >> And is there some diagnostic tool for WD in ports? > > > > Doing a "dd if=/dev/ad7 of=/dev/null bs=64k" will read-scan the entire > > drive, and ought to produce a warning in the logs indicating the LBA of > > the bad sectors. As for diagnostic tools, WD makes utilities for DOS and > > Windows, not FreeBSD. See: > > > > http://support.wdc.com/product/download.asp?groupid=613&lang=en > > > > ...for something which you can run off of a boot floppy, USB pendrive, > > etc. > > The quick test will tell you about bad sectors and then direct you to run > the full surface scan which destroys data. But it will "fix" the drive. > Back > to the dump/restore cycle. I run this on any used drive about to recycled > back into use. It almost always finds something and "fixes" it. > > Excellent idea on how to find the LBA. If the exact sector addresses can be > located a dd write to the specific sector(s) will clear the error > condition, > and should (in theory) be doable without losing data. I would still > recommend an entire dump backup be done prior to trying anything. > > -Mike > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > Thanks all for the info, I`ve fix it with the shotgun methood dd if=/dev/zero of=/dev/ad7 bs=64k Since the drive is new ( >6 moths ) I won`t go trough the warranty procedure yet . The strange this is that the 5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0 Has not changed, so the sectors were good? Also I`ve noticed that these sectors were in the end of the disk - the disk is 932GB usable space after fs installation usable space is around 900GB the bad sectors were beyond the usable space. Also fsck didn`t detect any fs corruption. The last worrying thing is the 200 Multi_Zone_Error_Rate 0x0008 200 189 000 Old_age Offline - 3 Which according to the Internet is some mysterious value that none knows what it stands for, so is 3 of that mystery good? //offtopic Spinrite is very good tool hopefully I didn`t have to use it this time, but it is really useful. In mine situation the drive failure is not so critical(some temporary dumps on it), but if the hole machine is down(this is the only not mirrored disk) it would be much worse. From owner-freebsd-questions@FreeBSD.ORG Thu Feb 10 10:04:47 2011 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 246BA106564A for ; Thu, 10 Feb 2011 10:04:47 +0000 (UTC) (envelope-from j65nko@gmail.com) Received: from mail-yi0-f54.google.com (mail-yi0-f54.google.com [209.85.218.54]) by mx1.freebsd.org (Postfix) with ESMTP id D29908FC0C for ; Thu, 10 Feb 2011 10:04:46 +0000 (UTC) Received: by yie19 with SMTP id 19so515073yie.13 for ; Thu, 10 Feb 2011 02:04:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=f0UwR1pl5NIjIqNK7dEefdwI66yWEiccol1eNsY0TF8=; b=Eo7ivfzcb3iAGl5qVhGVtuB66GzWbOJLib7D9Wc9bSTygr0FaSsb8AO344jVh0fGHO AHxaRIBCT17z1lTpnLN0bZgxXwijAs7SZh8E7UfnkTrKDAn+qrdi99sF/zkgkZY9xLbY vV/BxOr9sM2EmKhvsqJAKdglcmfSB02GBZHR0= 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:content-transfer-encoding; b=fQ3R5kDl0gYvWD5FnRTyFxg/yeb/lk5SUHHVxaE1OLxLwm6CquJXqxFJ+DDsm2iDxJ jW9od3/XP+BVT7f0OHTxhYcvHSe5slgWZLoljadqX/2Xn0H7+VEvE/v+DK7nw5OK/kiU ni+TStloGpoMyDMD25uN+q3YhoHCtsM2Ys8Gw= MIME-Version: 1.0 Received: by 10.90.248.28 with SMTP id v28mr2380203agh.168.1297332285973; Thu, 10 Feb 2011 02:04:45 -0800 (PST) Received: by 10.90.222.4 with HTTP; Thu, 10 Feb 2011 02:04:45 -0800 (PST) In-Reply-To: <9B425C841283E0418B1825D40CBCFA615B422306F9@ZABRYSVISEXMBX1.af.didata.local> References: <9B425C841283E0418B1825D40CBCFA615B422306F9@ZABRYSVISEXMBX1.af.didata.local> Date: Thu, 10 Feb 2011 11:04:45 +0100 Message-ID: From: J65nko To: Vikash Badal Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-questions@freebsd.org" Subject: Re: switching from gnu make to bsd make 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, 10 Feb 2011 10:04:47 -0000 On Thu, Feb 10, 2011 at 8:32 AM, Vikash Badal wrote= : > Can someone please advise me as to how I switch the following lines of gn= u make to bsd make > > > $(OBJDIR)/%.o:${SRCDIR}/%.c > =A0 =A0 =A0 =A0${CC} -c ${CFLAGS} ${INCDIR} ${LIBDIR} $< -o $@ > I use BSD make for XML and XSLT transformations, so I cannot advise you about this particular issue, but there is a very nice tutorial about the BSD make at http://www.freebsd.org/doc/en_US.ISO8859-1/books/pmake/index.html Good luck From owner-freebsd-questions@FreeBSD.ORG Thu Feb 10 10:13:07 2011 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 DFE62106564A for ; Thu, 10 Feb 2011 10:13:07 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (unknown [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 11F818FC12 for ; Thu, 10 Feb 2011 10:13:07 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 4CD4AE813F; Thu, 10 Feb 2011 10:13:01 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=mail; bh=pSJs3RKjMOXp hfPd+bRSHC/bTRs=; b=Be0AoCg3NXuBUdrC5nZuiFitv5qqifsbM7wddQ/1vrOd i0dJs8mfdBQ3l7sCmm4YosBlhHC/ZPEnvT9oSJGWiPMne9w86jGckoaqdKNf+VUF ymyG4KL+Ke1XEh//zGU+554q2tHhnu8dbusbCGZsIubr6uH2wD5j3dbiPBWrs4o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=date:from:to :cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=mail; b=oiv9PD v/cOac1Lcvf3aOsQnq2RBnL985MMvllOf1+58RzJaW0+P3SWqwq8aJgZzofb3VKt 5dcCn2sRijPgqz/rBlgeQPDLHaDuCpPGS7VQeBYg0uVDLcFCuqyRpfEpL65goRGx DNX3aJ7QpVevJQHmyhvFAN39RdFR+r9FreyyI= Received: from unknown (client-86-23-69-78.brhm.adsl.virginmedia.com [86.23.69.78]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 135EDE76CD; Thu, 10 Feb 2011 10:13:01 +0000 (GMT) Date: Thu, 10 Feb 2011 10:12:48 +0000 From: Bruce Cran To: Daniel Zhelev Message-ID: <20110210101248.000031ec@unknown> In-Reply-To: References: X-Mailer: Claws Mail 3.7.8cvs9 (GTK+ 2.16.6; 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: Bad hard driver [SOLVED] 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, 10 Feb 2011 10:13:08 -0000 On Thu, 10 Feb 2011 11:59:37 +0200 Daniel Zhelev wrote: > The last worrying thing is the > > 200 Multi_Zone_Error_Rate 0x0008 200 189 000 Old_age > Offline > - 3 > > Which according to the Internet is some mysterious value that none > knows what it stands for, so is 3 of that mystery good? Look at the first 3 results from http://www.google.co.uk/search?q=Multi+Zone+Error+Rate -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Thu Feb 10 13:33:18 2011 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 1CF2D106566B for ; Thu, 10 Feb 2011 13:33:18 +0000 (UTC) (envelope-from nr1c0re@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 E93A68FC08 for ; Thu, 10 Feb 2011 13:33:17 +0000 (UTC) Received: by pwi10 with SMTP id 10so381287pwi.13 for ; Thu, 10 Feb 2011 05:33:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=Ac5i8mL0j7lxMyuwxOxnmphRZGZtAwQRgborrxIT0YI=; b=oiKqvffUGtpjndwP3VqcYThLSDs5ivJaIIv97wI6rfpKs1+VXgHikZbuthm9G3uoeT 2Lat8rAdycEp2sxHhAUQ9GSDXPH+wiHJ1wt6Ol0cXpYWOTHoU6TGZyO/gGO1cFEI6yvK N7gGvMbOaV8p7PVHtV8DU86BCnESKYCVevSNQ= 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=JwBLQUWF0zWH/BpA3vyqmj87Sk/DE4uqNJHO6ss5BErZBswlw9g3xdiDO3AygskNum nxWXUv0Hvyq3a22nZsCGdGXmjuOF0JJDGy/ncoIZKOScMdkwHyBdB+vjRt31fwZQMHJ8 zBKLXrw2NvkZZXs4PflkLVuWytJkBPJNDyVYY= MIME-Version: 1.0 Received: by 10.142.14.15 with SMTP id 15mr20233144wfn.356.1297344797285; Thu, 10 Feb 2011 05:33:17 -0800 (PST) Received: by 10.142.222.5 with HTTP; Thu, 10 Feb 2011 05:33:17 -0800 (PST) Date: Thu, 10 Feb 2011 16:33:17 +0300 Message-ID: From: c0re To: FreeBSD Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Portupgrade and "Updating the portsdb" 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, 10 Feb 2011 13:33:18 -0000 Hello all! I've got set of servers that uses NFS mounted /usr/ports. When I use "portupgrade samba" on 1st server it says [/usr/ports/INDEX-7.db: unexpected file type or format -- Invalid argument] [Updating the portsdb in /usr/ports ... - 22601 port entries found error] Remove and try again. [Updating the portsdb in /usr/ports ... - 22601 port entries found .........1000.........2000.........3000.........4000.........= 5000.........6000.........7000.........8000.........9000.........10000.....= ....11000.........12000.........13000.........14000.........15000.........1= 6000.........17000.........18000.........19000.........20000.........21000.= ........22000...... ..... done] Okay. It took 10-15 mins to rebuild. Then I say "portupgrade samba" on 2nd server it says again [/usr/ports/INDEX-7.db: unexpected file type or format -- Invalid argument] [Updating the portsdb in /usr/ports ... - 22601 port entries found error] Remove and try again. and rebuild portsdb. Why is it so? Ports are updated via "portsnap fetch update". /etc/portsnap.conf has INDEX INDEX-5 DESCRIBE.5 INDEX INDEX-6 DESCRIBE.6 INDEX INDEX-7 DESCRIBE.7 INDEX INDEX-8 DESCRIBE.8 So while portupgrade rebuilds portsdb it's not possible use portupgrade on 2nd server because later build process will fail on 1st or second server. What can I do with it? Why portupgrade always thinks that [/usr/ports/INDEX-7.db: unexpected file type or format -- Invalid argument]? Thanks!!! From owner-freebsd-questions@FreeBSD.ORG Thu Feb 10 14:37:38 2011 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 40196106566B for ; Thu, 10 Feb 2011 14:37:38 +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 E95C48FC17 for ; Thu, 10 Feb 2011 14:37:37 +0000 (UTC) Received: by vws9 with SMTP id 9so874366vws.13 for ; Thu, 10 Feb 2011 06:37:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=TcncJHl14lz4O7FcqTyA6Kja+7FgScFLkgqRrXjaV0A=; b=j0GoOA81c2pomZ24w+cU8RZkf2mrZKirbXTZKP2LGc17F/UzjQkN9rtO7r+aHYTJFf 3/vkuvLEn0R90dwlFpPz++e/dBK+lzZKRtVCLsbU8FGiF8qRYkFUooVkXmxviRXFAIOq 65aqMZkNZIyg+vvVTYgPy1xpNOPacr6DByZSk= 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=fSGesXb4gcFythPqVNFCdfKFgDrxyCzBqeleFsFdnG+TEdbupaYST/AmEJeEDY0Rhb W8EAVpdozDa74HSeQyN8b0kSDuknw8DUPN9ksEQYdlKtqjK8cqplmfwe7JC0wqHUVBJc Ym0hs3NfXvqeXX9LfvqeVIvK4O1KcZp0ZA3GE= Received: by 10.220.184.2 with SMTP id ci2mr5551146vcb.162.1297348656882; Thu, 10 Feb 2011 06:37:36 -0800 (PST) Received: from localhost ([109.123.119.163]) by mx.google.com with ESMTPS id u4sm39563vch.36.2011.02.10.06.37.34 (version=SSLv3 cipher=OTHER); Thu, 10 Feb 2011 06:37:35 -0800 (PST) From: Anonymous To: David Demelier References: <4D50F6F8.6070100@gmail.com> Date: Thu, 10 Feb 2011 17:37:21 +0300 In-Reply-To: <4D50F6F8.6070100@gmail.com> (David Demelier's message of "Tue, 08 Feb 2011 08:55:36 +0100") Message-ID: <86k4h8arby.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 Cc: freebsd-questions@freebsd.org Subject: Re: VESA and SDL in tty terminal 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, 10 Feb 2011 14:37:38 -0000 David Demelier writes: > Hello, > > The SDL's pkg-message says we can use video driver in tty terminal. > > To do this you have to load the vesa kernel module or enable it in your > kernel, and set environment variable "SDL_VIDEODRIVER=vgl". > > I tried it with mplayer : > > $ SDL_VIDEODRIVER=vgl; export SDL_VIDEODRIVER > $ mplayer -vo sdl [...] > [VO_SDL] Set_fullmode: SDL_SetVideoMode failed: Unable to switch to > requested mode. IIRC, vgl(3) mode setting unlike vidcontrol(8) doesn't work as regular user. Try running mplayer under root, e.g. $ sudo mplayer -msgmodule -msglevel vo=9 -vo sdl [...] DEMUX: VIDEO: [avc1] 1280x720 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s) VIDEOOUT: SDL: Opening Plugin VIDEOOUT: [VO_SDL] Using driver: vgl. VIDEOOUT: X11 opening display: VIDEOOUT: vo: couldn't open the X11 display ()! [...] CPLAYER: Starting playback... CPLAYER: Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. CPLAYER: VO: [sdl] 1280x720 => 1280x720 Planar YV12 VIDEOOUT: SDL: Using 0x32315659 (Planar YV12) image format VIDEOOUT: SDL: using hardware-surface VIDEOOUT: SDL: setting zoomed fullscreen with modeswitching VIDEOOUT: SDL Mode: 0: 1600 x 1200 VIDEOOUT: SDL Mode: 1: 1280 x 1024 VIDEOOUT: SDL Mode: 2: 1024 x 768 VIDEOOUT: SDL Mode: 3: 800 x 600 VIDEOOUT: SDL Mode: 4: 640 x 400 VIDEOOUT: SDL Mode: 5: 640 x 480 VIDEOOUT: SDL Mode: 6: 320 x 240 VIDEOOUT: SDL Mode: 7: 320 x 400 VIDEOOUT: SDL Mode: 8: 320 x 200 VIDEOOUT: SET SDL Mode: 1: 1280 x 1024 In case your keymap doesn't work under vo_sdl(vgl) try below workaround %% Index: multimedia/mplayer/files/patch-vgl-xlate_keys =================================================================== RCS file: multimedia/mplayer/files/patch-vgl-xlate_keys diff -N multimedia/mplayer/files/patch-vgl-xlate_keys --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ multimedia/mplayer/files/patch-vgl-xlate_keys 10 Feb 2011 14:34:43 -0000 @@ -0,0 +1,62 @@ + use character codes for vgl driver + +--- configure~ ++++ configure +@@ -4579,6 +4579,19 @@ EOF + fi + fi + if test "$_sdl" = yes ; then ++ cat > $TMPC << EOF ++#ifdef CONFIG_SDL_SDL_H ++#include ++#else ++#include ++#endif ++int main(void) { SDL_VIDEO_DRIVER_VGL; return 0; } ++EOF ++ if cc_check -DCONFIG_SDL_SDL_H $_inc_tmp -lvgl || cc_check $_inc_tmp -lvgl ; then ++ _ld_tmp="$_ld_tmp -lvgl" ++ fi ++fi ++if test "$_sdl" = yes ; then + def_sdl='#define CONFIG_SDL 1' + extra_cflags="$extra_cflags $_inc_tmp" + libs_mplayer="$libs_mplayer $_ld_tmp" +--- libvo/sdl_common.c~ ++++ libvo/sdl_common.c +@@ -27,6 +27,11 @@ + #include "input/mouse.h" + #include "video_out.h" + ++#ifdef SDL_VIDEO_DRIVER_VGL ++#include ++#include ++#endif ++ + static int old_w; + static int old_h; + static int mode_flags; +@@ -44,6 +49,9 @@ int vo_sdl_init(void) + SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, 100 /*SDL_DEFAULT_REPEAT_INTERVAL*/); + + // Easiest way to get uppercase characters ++#ifdef SDL_VIDEO_DRIVER_VGL ++ VGLKeyboardInit(VGL_XLATEKEYS); ++#endif + SDL_EnableUNICODE(1); + + // We don't want those in our event queue. +@@ -56,8 +64,12 @@ int vo_sdl_init(void) + + void vo_sdl_uninit(void) + { +- if (SDL_WasInit(SDL_INIT_VIDEO)) ++ if (SDL_WasInit(SDL_INIT_VIDEO)) { ++#ifdef SDL_VIDEO_DRIVER_VGL ++ VGLKeyboardInit(VGL_CODEKEYS); ++#endif + SDL_QuitSubSystem(SDL_INIT_VIDEO); ++ } + } + + void vo_sdl_fullscreen(void) %% From owner-freebsd-questions@FreeBSD.ORG Thu Feb 10 17:07:03 2011 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 786811065670 for ; Thu, 10 Feb 2011 17:07:03 +0000 (UTC) (envelope-from dan@slightlystrange.org) Received: from catflap.slightlystrange.org (cpc2-cmbg14-2-0-cust883.5-4.cable.virginmedia.com [86.26.3.116]) by mx1.freebsd.org (Postfix) with ESMTP id 35C7B8FC08 for ; Thu, 10 Feb 2011 17:07:02 +0000 (UTC) Received: from dan by catflap.slightlystrange.org with local (Exim 4.73 (FreeBSD)) (envelope-from ) id 1PnZyv-000GT9-RE for freebsd-questions@freebsd.org; Thu, 10 Feb 2011 17:07:01 +0000 Date: Thu, 10 Feb 2011 17:07:01 +0000 From: Daniel Bye To: FreeBSD Message-ID: <20110210170701.GA90703@catflap.slightlystrange.org> Mail-Followup-To: FreeBSD References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="IS0zKkzwUGydFO0o" Content-Disposition: inline In-Reply-To: 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.2-PRERELEASE amd64 Sender: Daniel Bye Subject: Re: Portupgrade and "Updating the portsdb" 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, 10 Feb 2011 17:07:03 -0000 --IS0zKkzwUGydFO0o Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 10, 2011 at 04:33:17PM +0300, c0re wrote: > Hello all! >=20 > I've got set of servers that uses NFS mounted /usr/ports. When I use > "portupgrade samba" on 1st server it says > [/usr/ports/INDEX-7.db: unexpected file type or format -- Invalid > argument] [Updating the portsdb in /usr/ports ... - > 22601 port entries found error] Remove and try again. > [Updating the portsdb in /usr/ports ... - 22601 port > entries found .........1000.........2000.........3000.........4000.......= ..5000.........6000.........7000.........8000.........9000.........10000...= ......11000.........12000.........13000.........14000.........15000........= .16000.........17000.........18000.........19000.........20000.........2100= 0.........22000...... > ..... done] >=20 > Okay. It took 10-15 mins to rebuild. >=20 > Then I say "portupgrade samba" on 2nd server it says again > [/usr/ports/INDEX-7.db: unexpected file type or format -- Invalid > argument] [Updating the portsdb in /usr/ports ... - > 22601 port entries found error] Remove and try again. > and rebuild portsdb. >=20 > Why is it so? >=20 > Ports are updated via "portsnap fetch update". >=20 > /etc/portsnap.conf has > INDEX INDEX-5 DESCRIBE.5 > INDEX INDEX-6 DESCRIBE.6 > INDEX INDEX-7 DESCRIBE.7 > INDEX INDEX-8 DESCRIBE.8 >=20 > So while portupgrade rebuilds portsdb it's not possible use > portupgrade on 2nd server because later build process will fail on 1st > or second server. >=20 > What can I do with it? Why portupgrade always thinks that > [/usr/ports/INDEX-7.db: unexpected file type or format -- Invalid > argument]? Are you using the same versions of ruby, portupgrade, ruby-bdb and bdb on both machines? 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.16 (FreeBSD) iEYEARECAAYFAk1UGzUACgkQixf5fBYiFmpUsQCgj8skVpzG1uf2gLc2dAB/1Vjr RCgAoIzd3PvMr6UpgtsECHEVhvOIMrsq =LPvU -----END PGP SIGNATURE----- --IS0zKkzwUGydFO0o-- From owner-freebsd-questions@FreeBSD.ORG Thu Feb 10 17:29:32 2011 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 3868B1065673 for ; Thu, 10 Feb 2011 17:29:32 +0000 (UTC) (envelope-from sathler90@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id C00B68FC08 for ; Thu, 10 Feb 2011 17:29:31 +0000 (UTC) Received: by eyf6 with SMTP id 6so916158eyf.13 for ; Thu, 10 Feb 2011 09:29:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=XlLFH6yuRTBhGDzDTn9msyLtlfCd8a+JY4WdF//x4tA=; b=Y/0fEJSXHYeJAh1LUxPgpaKl535TKRFIDBvHWGDrTbMYRNuvSo4rGQGBL88V+uexV9 cw9BLqB2FTGdb36aFX9YMLFiHGheKq/Aa788SnxA/Y6d5WFUOqHKZWnYKgKcLRIAVA8p uPNXGGRf74yAvOLQD0H8+uiK8vlGTBaFmAr3E= 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:content-transfer-encoding; b=bYyKnS9Y6ksT09dXKCk617K45BM4SOmjrZFgC5US3iYcX33E5JqAi+41a7R2t1sDaJ +pbGrxoRoH7NtsbXrYBqF9LjgvsBFqTUleMxU/X+f3QoWp1FjQ/9KRL9X82N06iVzC2H QFoQf8BhiaQflvMFdrLfLZAPSbYglTQiIguWE= MIME-Version: 1.0 Received: by 10.204.98.65 with SMTP id p1mr21249534bkn.198.1297357226598; Thu, 10 Feb 2011 09:00:26 -0800 (PST) Received: by 10.204.55.205 with HTTP; Thu, 10 Feb 2011 09:00:26 -0800 (PST) In-Reply-To: References: Date: Thu, 10 Feb 2011 15:00:26 -0200 Message-ID: From: Eduardo To: c0re Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Subject: Re: Portupgrade and "Updating the portsdb" 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, 10 Feb 2011 17:29:32 -0000 Try to move these files out of the way (all INDEX files and pkgdb.db) /usr/ports/INDEX-* /var/db/pkg/pkgdb.db and run (it will take a while) portsdb -Uu as another option you can remove the files above and reinstall ruby and ruby-bdb on those servers. Are you running on version 7 or 8 ? are you mounting the NFS rw ? On Thu, Feb 10, 2011 at 11:33 AM, c0re wrote: > Hello all! > > I've got set of servers that uses NFS mounted /usr/ports. When I use > "portupgrade samba" on 1st server it says > [/usr/ports/INDEX-7.db: unexpected file type or format -- Invalid > argument] [Updating the portsdb in /usr/ports ... - > 22601 port entries found =A0error] Remove and try again. > [Updating the portsdb in /usr/ports ... - 22601 port > entries found .........1000.........2000.........3000.........4000.......= ..5000.........6000.........7000.........8000.........9000.........10000...= ......11000.........12000.........13000.........14000.........15000........= .16000.........17000.........18000.........19000.........20000.........2100= 0.........22000...... > ..... done] > > Okay. It took 10-15 mins to rebuild. > > Then I say "portupgrade samba" on 2nd server it says again > [/usr/ports/INDEX-7.db: unexpected file type or format -- Invalid > argument] [Updating the portsdb in /usr/ports ... - > 22601 port entries found =A0error] Remove and try again. > and rebuild portsdb. > > Why is it so? > > Ports are updated via "portsnap fetch update". > > /etc/portsnap.conf has > INDEX INDEX-5 DESCRIBE.5 > INDEX INDEX-6 DESCRIBE.6 > INDEX INDEX-7 DESCRIBE.7 > INDEX INDEX-8 DESCRIBE.8 > > So while portupgrade rebuilds portsdb it's not possible use > portupgrade on 2nd server because later build process will fail on 1st > or second server. > > What can I do with it? Why portupgrade always thinks that > [/usr/ports/INDEX-7.db: unexpected file type or format -- Invalid > argument]? > > 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.o= rg" > From owner-freebsd-questions@FreeBSD.ORG Thu Feb 10 19:52:04 2011 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 E6F39106566C for ; Thu, 10 Feb 2011 19:52:04 +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 C61D68FC16 for ; Thu, 10 Feb 2011 19:52:04 +0000 (UTC) Received: (qmail 5315 invoked from network); 10 Feb 2011 19:52:03 -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 ; 10 Feb 2011 19:52:03 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id CB5AA5084F; Thu, 10 Feb 2011 14:52:01 -0500 (EST) From: Lowell Gilbert To: patrick References: Date: Thu, 10 Feb 2011 14:52:01 -0500 In-Reply-To: (patrick's message of "Wed, 9 Feb 2011 14:56:28 -0800") Message-ID: <447hd7y8f2.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@freebsd.org Subject: Re: Run your own portsnap mirror? 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, 10 Feb 2011 19:52:05 -0000 patrick writes: > Is there any official way to run a private portsnap mirror? ie. Have > one, external server fetch from the official portsnap sources, and > then internal servers pulling from the private mirror? It runs over pipelined HTTP, so all you need to do is set up a caching HTTP proxy, and have your internal servers use that. From owner-freebsd-questions@FreeBSD.ORG Thu Feb 10 20:06:37 2011 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 AE599106564A for ; Thu, 10 Feb 2011 20:06:37 +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 31EBB8FC13 for ; Thu, 10 Feb 2011 20:06:37 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pncmh-0007x7-K3 for freebsd-questions@freebsd.org; Thu, 10 Feb 2011 21:06:35 +0100 Received: from pool-173-79-85-36.washdc.fios.verizon.net ([173.79.85.36]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Feb 2011 21:06:35 +0100 Received: from nightrecon by pool-173-79-85-36.washdc.fios.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 10 Feb 2011 21:06:35 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Thu, 10 Feb 2011 15:07:31 -0500 Lines: 39 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-173-79-85-36.washdc.fios.verizon.net Subject: Re: Bad hard driver [SOLVED] 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, 10 Feb 2011 20:06:37 -0000 Daniel Zhelev wrote: [snip] > > The last worrying thing is the > > 200 Multi_Zone_Error_Rate 0x0008 200 189 000 Old_age Offline > - 3 > > Which according to the Internet is some mysterious value that none knows > what it stands for, so is 3 of that mystery good? > Each cylinder track has a width. A head seek is nominally supposed to exactly center the head over the central axis. There is some slight tolerance as to accidental offset, but the maximum concentration of gaussian magnetic domain orientation should be concentrated in the center of each cylinder track. Temperature changes between cold and 'steady state' operation cause very small changes in the size of mechanical moving parts. A little slop factor will happen when read/write happens while a drive is warming up from cold. As long as the number remains small and doesn't change often it's probably nothing to worry over. If it does change a lot constantly it may be an indicator of worn mechanical parts. Such a thing should correlate with a large value of power on hours. A drive near the end of it's life may get wobbly head syndrome. :-) The main consideration in both questions is a small number that maybe increments every once in a blue moon is nothing to become overly concerned with. Rather consider them a long term baseline and only become alarmed when they show a rather sudden and large deviation in rate of change from the baseline. Generally when this occurs the numbers will change in fairly dramatic fashion quickly and generally continue this change from that point on. It is this pattern you look for as a possible "pre failure" warning. -Mike [snip] From owner-freebsd-questions@FreeBSD.ORG Thu Feb 10 20:55:37 2011 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 BA011106566B for ; Thu, 10 Feb 2011 20:55:37 +0000 (UTC) (envelope-from rfarmer@predatorlabs.net) Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id 4DC1B8FC12 for ; Thu, 10 Feb 2011 20:55:36 +0000 (UTC) Received: by wwi17 with SMTP id 17so3477330wwi.1 for ; Thu, 10 Feb 2011 12:55:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=predatorlabs.net; s=google; h=domainkey-signature:mime-version:x-originating-ip:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=3ye0JdratpvYc+sjt0eIC2axOLqGY9LewcdlyGslUcg=; b=dhUFbV6nrDkpUaM3dGiZEfwYMssX5T1hFRK+iT4tnzotkGSjmOyja0fAcore44rDL0 IP1BhkIf//gQgMXLqO8Yb4rdEmDzsa28rHClg8gTbrlx4PxxwgOV9+G5dFaAGf7sXDSx OgnZp3w25I8kx6HsDYRA4dtdNqfZAYoECXqWo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=predatorlabs.net; s=google; h=mime-version:x-originating-ip:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; b=BAuUExvjOHeIt8XY9aOCx4In7SKPYxa84DrRZugtVWIl+ZxR7k+2gr+CDiLw1+1vNQ +zG6mmVRO+5BqHsqrtnbvD+sEoUzsxwuVN/Z8eNtu/9v/2xrzPrQHOlnuXwbZhVrPflo /O6Fm6iXCgiz+IaFh7p8xIbbnvSkEampgfgxc= MIME-Version: 1.0 Received: by 10.216.51.135 with SMTP id b7mr113730wec.29.1297371336096; Thu, 10 Feb 2011 12:55:36 -0800 (PST) Received: by 10.216.188.212 with HTTP; Thu, 10 Feb 2011 12:55:36 -0800 (PST) X-Originating-IP: [128.95.133.218] In-Reply-To: References: Date: Thu, 10 Feb 2011 12:55:36 -0800 Message-ID: From: Rob Farmer To: patrick Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Run your own portsnap mirror? 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, 10 Feb 2011 20:55:37 -0000 On Wed, Feb 9, 2011 at 2:56 PM, patrick wrote: > Is there any official way to run a private portsnap mirror? ie. Have > one, external server fetch from the official portsnap sources, and > then internal servers pulling from the private mirror? > _______________________________________________ > 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" > http://www.freebsd.org/cgi/cvsweb.cgi/projects/portsnap/ There is a note explaining why this might not be a good idea, though. -- Rob Farmer From owner-freebsd-questions@FreeBSD.ORG Thu Feb 10 22:13:44 2011 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 276C0106566C for ; Thu, 10 Feb 2011 22:13:44 +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 AEC3F8FC13 for ; Thu, 10 Feb 2011 22:13:43 +0000 (UTC) Received: by wyf19 with SMTP id 19so1853334wyf.13 for ; Thu, 10 Feb 2011 14:13:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:date:from:to:subject:message-id:in-reply-to :references:x-mailer:mime-version:content-type :content-transfer-encoding; bh=TbwiQEaoE4dWt4A1Tb2jo/FhOl8c5/rYMIu0QIdNuH8=; b=SynpNlamR4BAG7DhVfUki2v9768G/8SLeN3gKvpkdRkg8L1PoTQtqMGLf/DmmeRMej DJniZ47fE6CvB+dbDQx9ZjBzeZ+k3CH5NjR7oANJR/ZFB1Ax0842+xRRBBcQkRfPvR+x v5P98l4lquWiqMn8IQjUA35Ao2jTys+v0vGdE= 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=U8NdzznHflJrwzZxUEqxxrmM67CFR1PEjO0UHmSTssjztJj/bLNx3b2oBrHzd6TFBQ 6bXoJV11A4c4GHV+G4hHo4VkwGmNlxQdx+3kvRn6L8gyCPQ/yxVyvtnYlvmKHyb6JdCE s8r1DC8fq2FwuzOeyd/o/GFxU0lrXjhB0HB/E= Received: by 10.216.186.211 with SMTP id w61mr19031wem.51.1297376022416; Thu, 10 Feb 2011 14:13:42 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk [87.194.105.247]) by mx.google.com with ESMTPS id n78sm44537weq.3.2011.02.10.14.13.40 (version=SSLv3 cipher=OTHER); Thu, 10 Feb 2011 14:13:41 -0800 (PST) Date: Thu, 10 Feb 2011 22:13:38 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20110210221338.400f1f52@gumby.homeunix.com> In-Reply-To: <447hd7y8f2.fsf@be-well.ilk.org> References: <447hd7y8f2.fsf@be-well.ilk.org> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i386-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Run your own portsnap mirror? 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, 10 Feb 2011 22:13:44 -0000 On Thu, 10 Feb 2011 14:52:01 -0500 Lowell Gilbert wrote: > patrick writes: > > > Is there any official way to run a private portsnap mirror? ie. Have > > one, external server fetch from the official portsnap sources, and > > then internal servers pulling from the private mirror? > > It runs over pipelined HTTP, so all you need to do is set up a caching > HTTP proxy, and have your internal servers use that. If you are going to do that then you need to set HTTP_PROXY and/or http_proxy consistently. If either of these are set portsnap uses them to to seed it's choice of server rather than a pure random selection. From owner-freebsd-questions@FreeBSD.ORG Thu Feb 10 22:50:59 2011 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 21E3E106564A for ; Thu, 10 Feb 2011 22:50:59 +0000 (UTC) (envelope-from jhelfman@experts-exchange.com) Received: from mail.experts-exchange.com (mail.experts-exchange.com [72.29.183.251]) by mx1.freebsd.org (Postfix) with ESMTP id F0AA98FC15 for ; Thu, 10 Feb 2011 22:50:58 +0000 (UTC) Received: from mail.experts-exchange.com (localhost [127.0.0.1]) by mail.experts-exchange.com (Postfix) with ESMTP id B79826EC87E for ; Thu, 10 Feb 2011 14:50:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=e-e.com; h= user-agent:in-reply-to:content-disposition:content-type :content-type:mime-version:references:message-id:subject:subject :from:from:date:date:received:received:received; s=ee; t= 1297378258; x=1299192658; bh=P4IDWzO/PN5HdUVtoerobSBJUVW4tJeRKaz EjbdwFfk=; b=Rs8DFYqQoqHAAt2dlscuW/kNneFspxF41oi/YNkN0RkwoCB2wkB 3/KYwFyNyo640ktjw4ALQrSHdOadi9Yj72JSwHfVoMLUHPSoXC9VzfjOnqWuyXSs 9yK2pmDon1k7eBjHF2T0BMbZEcNzagFocsTiHxf0u+gpg0XTDJSJ6Hyg= X-Virus-Scanned: amavisd-new at experts-exchange.com Received: from mail.experts-exchange.com ([127.0.0.1]) by mail.experts-exchange.com (mail.experts-exchange.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q78lmvtXGYvA for ; Thu, 10 Feb 2011 14:50:58 -0800 (PST) Received: from experts-exchange.com (unknown [192.168.103.122]) by mail.experts-exchange.com (Postfix) with SMTP id 456B16EC85F for ; Thu, 10 Feb 2011 14:50:58 -0800 (PST) Received: (nullmailer pid 76159 invoked by uid 1001); Thu, 10 Feb 2011 22:47:39 -0000 Date: Thu, 10 Feb 2011 14:47:39 -0800 From: Jason Helfman Cc: freebsd-questions@freebsd.org Message-ID: <20110210224738.GE75122@eggman.experts-exchange.com> References: <447hd7y8f2.fsf@be-well.ilk.org> <20110210221338.400f1f52@gumby.homeunix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20110210221338.400f1f52@gumby.homeunix.com> X-Operating-System: FreeBSD 8.1-RELEASE X-Living-The-Dream: I love the SLO Life! User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: Run your own portsnap mirror? 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, 10 Feb 2011 22:50:59 -0000 On Thu, Feb 10, 2011 at 10:13:38PM +0000, RW thus spake: >On Thu, 10 Feb 2011 14:52:01 -0500 >Lowell Gilbert wrote: > >> patrick writes: >> >> > Is there any official way to run a private portsnap mirror? ie. Have >> > one, external server fetch from the official portsnap sources, and >> > then internal servers pulling from the private mirror? >> >> It runs over pipelined HTTP, so all you need to do is set up a caching >> HTTP proxy, and have your internal servers use that. > >If you are going to do that then you need to set HTTP_PROXY >and/or http_proxy consistently. If either of these are set portsnap uses >them to to seed it's choice of server rather than a pure random >selection. > >_______________________________________________ >freebsd-questions@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-questions >To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > I would be highly interested in running my own internal portsnap mirror based on an internal ports tree with local ports, as well. Has anyone done this? -- Jason Helfman System Administrator experts-exchange.com http://www.experts-exchange.com/M_4830110.html E4AD 7CF1 1396 27F6 79DD 4342 5E92 AD66 8C8C FBA5 From owner-freebsd-questions@FreeBSD.ORG Thu Feb 10 23:36:38 2011 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 4630C106566B for ; Thu, 10 Feb 2011 23:36:38 +0000 (UTC) (envelope-from universite@ukr.net) Received: from otrada.od.ua (universite-1-pt.tunnel.tserv24.sto1.ipv6.he.net [IPv6:2001:470:27:140::2]) by mx1.freebsd.org (Postfix) with ESMTP id ABF648FC12 for ; Thu, 10 Feb 2011 23:36:37 +0000 (UTC) Received: from [10.0.0.10] (phenom.otrada.od.ua [10.0.0.10]) (authenticated bits=0) by otrada.od.ua (8.14.4/8.14.4) with ESMTP id p1ANaWVb000161 for ; Fri, 11 Feb 2011 01:36:33 +0200 (EET) (envelope-from universite@ukr.net) X-Authentication-Warning: otrada.od.ua: Host phenom.otrada.od.ua [10.0.0.10] claimed to be [10.0.0.10] Message-ID: <4D547675.60506@ukr.net> Date: Fri, 11 Feb 2011 01:36:21 +0200 From: "Vladislav V. Prodan" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: FreeBSD Mailing List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED,AWL autolearn=failed version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mary-teresa.otrada.od.ua X-Virus-Scanned: clamav-milter 0.97 at mary-teresa.otrada.od.ua X-Virus-Status: Clean Subject: how to add a few hundred ip on one interface? 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, 10 Feb 2011 23:36:38 -0000 only a shell script at startup? or there are other standard tools? Is there a limit on the number of IP on one interface? ## make aliases IP for i in 134 135 136 137 138 139 140 141 142 143 144 145 146 147 do ifconfig re0 xxx.xxx.yyy.$i/23 alias done for j in 134 135 136 137 138 139 140 141 142 143 144 145 146 147 do ifconfig re0 xxx.xxx.xxx.$i/23 alias done -- Vladislav V. Prodan VVP24-UANIC +38[067]4584408 +38[099]4060508 vlad11@jabber.ru From owner-freebsd-questions@FreeBSD.ORG Thu Feb 10 23:52:36 2011 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 614AC106566B for ; Thu, 10 Feb 2011 23:52:36 +0000 (UTC) (envelope-from gibblertron@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 1E9358FC1E for ; Thu, 10 Feb 2011 23:52:35 +0000 (UTC) Received: by iwn39 with SMTP id 39so1869314iwn.13 for ; Thu, 10 Feb 2011 15:52:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=M2u1NQOcylPI/HlySbxvcJnUy2+QeGFZqnjK0NB8dPg=; b=NnfuFgzlbeydYXvAlrHH2Uns+jnFyRKxIgXmozCyI/5mA3oAz3pLYa4nCB7lXMr82V mwfnZBkA2EY3THZ9xBiHXohjXXSKxpjno32hhIAp2Roc92VpTNA/DPlNcSYFGdEyiOB0 /TfJp+/0t3f3QZlQfzbqV1wHkBP2KyrK4Y0xo= 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=a9oclztukmEcfhyUXgx3CqE3us6sTXp+B8C0gR05PexCiIL+NIqhv86GOFAXtbkG9S CrmxCyqxYUk7kHB0QUbYQRUiNRcXZ24hdQosRg//kR4f/BN6SzM7jIRsFNM/gQZz7Dgy 31XVBAwS8J3Y9nE5g9QwROMDpWhyD38Nev8BM= MIME-Version: 1.0 Received: by 10.231.36.68 with SMTP id s4mr23021007ibd.178.1297381955301; Thu, 10 Feb 2011 15:52:35 -0800 (PST) Received: by 10.231.14.197 with HTTP; Thu, 10 Feb 2011 15:52:35 -0800 (PST) In-Reply-To: <4D547675.60506@ukr.net> References: <4D547675.60506@ukr.net> Date: Thu, 10 Feb 2011 15:52:35 -0800 Message-ID: From: patrick To: "Vladislav V. Prodan" Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Questions Mailing List Subject: Re: how to add a few hundred ip on one interface? 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, 10 Feb 2011 23:52:36 -0000 The standard way is to configure this in your /etc/rc.conf[.local]: ifconfig_re0="inet xxx.xxx.yyy.134 netmask 0xffffffnn" ifconfig_re0_alias0="inet xxx.xxx.yyy.135 netmask 0xffffffff" ifconfig_re0_alias1="inet xxx.xxx.yyy.136 netmask 0xffffffff" ... etc. You could make a script to generate the correct configuration lines, and then include it in your rc.conf: /etc/rc.conf: . /path/to/ifconfig_entries.sh /path/to/ifconfig_entries.sh: ifconfig_re0="inet xxx.xxx.yyy.134 netmask 0xffffffnn" ifconfig_re0_alias0="inet xxx.xxx.yyy.135 netmask 0xffffffff" ifconfig_re0_alias1="inet xxx.xxx.yyy.136 netmask 0xffffffff" See http://www.freebsd.org/doc/en/books/faq/networking.html#ETHERNET-ALIASES for more info. Note that aliases should have a netmask of 0xffffffff (255.255.255.255). Patrick On Thu, Feb 10, 2011 at 3:36 PM, Vladislav V. Prodan wrote: > only a shell script at startup? or there are other standard tools? > Is there a limit on the number of IP on one interface? > > ## make aliases IP > for i in 134 135 136 137 138 139 140 141 142 143 144 145 146 147 > do > ifconfig re0 xxx.xxx.yyy.$i/23 alias > done > > for j in 134 135 136 137 138 139 140 141 142 143 144 145 146 147 > do > ifconfig re0 xxx.xxx.xxx.$i/23 alias > done > > > > -- > Vladislav V. Prodan > VVP24-UANIC > +38[067]4584408 > +38[099]4060508 > vlad11@jabber.ru > _______________________________________________ > 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 Feb 10 23:56:26 2011 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 27186106564A for ; Thu, 10 Feb 2011 23:56:26 +0000 (UTC) (envelope-from bonomi@mail.r-bonomi.com) Received: from mail.r-bonomi.com (craigslist.r-bonomi.com [204.87.227.120]) by mx1.freebsd.org (Postfix) with ESMTP id D493B8FC08 for ; Thu, 10 Feb 2011 23:56:25 +0000 (UTC) Received: (from bonomi@localhost) by mail.r-bonomi.com (8.14.4/rdb1) id p1ANxEcA044340; Thu, 10 Feb 2011 17:59:14 -0600 (CST) Date: Thu, 10 Feb 2011 17:59:14 -0600 (CST) From: Robert Bonomi Message-Id: <201102102359.p1ANxEcA044340@mail.r-bonomi.com> To: Vikash.Badal@is.co.za In-Reply-To: <9B425C841283E0418B1825D40CBCFA615B422306F9@ZABRYSVISEXMBX1.af.didata.local> Cc: freebsd-questions@freebsd.org Subject: Re: switching from gnu make to bsd make 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, 10 Feb 2011 23:56:26 -0000 > From: Vikash Badal > Date: Thu, 10 Feb 2011 11:30:02 +0200 > Subject: RE: switching from gnu make to bsd make > > > -----Original Message----- > > From: Polytropon [mailto:freebsd@edvax.de] Sent: 10 February 2011 10:11 > > AM To: Vikash Badal Cc: freebsd-questions@freebsd.org Subject: Re: > > switching from gnu make to bsd make > > > > Of course, in my testing case OBJDIR and SRCDIR are empty, and I didn't > > define any of CC, CFLAGS, INCDIR or LIBDIR, so the defaults have been > > chosen. > > > > Do you encounter a specific problem? > > This is my problem: > > vix:$ make make: don't know how to make src/%.c. Stop Just telling people "what happened" is *NOT* enough for intelligent diagnosis of the problem. You also have to tell people WHAT YOU DID that provoked the error you encountered. That said, dusting off my crystal ball -- which appears to be *working* today -- you simply typed "make" at the shell prompt. Try typing "make all" and see what happens then. > > > this is my make file: > > ------------------------------------------------------------------------------ > > CC = cc * LIBS = -lpthread -lmysqlclient_r > CFLAGS = -Wall -g > INCDIR = -Iinclude -I/usr/local/include -I/usr/local/include/mysql > LIBDIR = -L/usr/local/lib -L/usr/local/lib/mysql > OBJDIR = obj > SRCDIR = src > BINDIR = bin > PREFIX = /usr/local/nntpd > BINDIRFILES = ${BINDIR}/nntpd > OBJS = ${OBJDIR}/log.o ${OBJDIR}/cleanup.o ${OBJDIR}/config.o \ > ${OBJDIR}/leecherpool.o ${OBJDIR}/mytime.o > ${OBJDIR}/upstream.o ${OBJDIR}/mysleep.o > ${OBJDIR}/sql.o ${OBJDIR}/signalhandler.o > ${OBJDIR}/list.o ${OBJDIR}/tcpserver.o > ${OBJDIR}/listenpool.o ${OBJDIR}/workers.o \ > ${OBJDIR}/nntpd.o > > $(OBJDIR)/%.o:${SRCDIR}/%.c > ${CC} -c ${CFLAGS} ${INCDIR} ${LIBDIR} $< -o $@ > > all: ${OBJS} > ${CC} -o ${BINDIR}/nntpd ${LIBS} ${CFLAGS} ${INCDIR} ${LIBDIR} \ > ${OBJDIR}/log.o ${OBJDIR}/cleanup.o ${OBJDIR}/config.o \ > ${OBJDIR}/leecherpool.o ${OBJDIR}/mytime.o ${OBJDIR}/nntp.o \ > ${OBJDIR}/upstream.o ${OBJDIR}/mysleep.o ${OBJDIR}/sqlpool.o \ > ${OBJDIR}/sql.o ${OBJDIR}/signalhandler.o ${OBJDIR}/daemon.o \ > ${OBJDIR}/list.o ${OBJDIR}/tcpserver.o ${OBJDIR}/tmpfiles.o \ > ${OBJDIR}/listenpool.o ${OBJDIR}/workers.o \ > ${OBJDIR}/nntpd.o > > ------------------------------------------------------------------------------ From owner-freebsd-questions@FreeBSD.ORG Fri Feb 11 00:54:35 2011 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 1CEE3106564A for ; Fri, 11 Feb 2011 00:54:35 +0000 (UTC) (envelope-from universite@ukr.net) Received: from otrada.od.ua (universite-1-pt.tunnel.tserv24.sto1.ipv6.he.net [IPv6:2001:470:27:140::2]) by mx1.freebsd.org (Postfix) with ESMTP id 65F298FC18 for ; Fri, 11 Feb 2011 00:54:34 +0000 (UTC) Received: from [10.0.0.10] (phenom.otrada.od.ua [10.0.0.10]) (authenticated bits=0) by otrada.od.ua (8.14.4/8.14.4) with ESMTP id p1B0sUWw006081 for ; Fri, 11 Feb 2011 02:54:30 +0200 (EET) (envelope-from universite@ukr.net) X-Authentication-Warning: otrada.od.ua: Host phenom.otrada.od.ua [10.0.0.10] claimed to be [10.0.0.10] Message-ID: <4D5488BA.4080808@ukr.net> Date: Fri, 11 Feb 2011 02:54:18 +0200 From: "Vladislav V. Prodan" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4D547675.60506@ukr.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED,AWL autolearn=failed version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mary-teresa.otrada.od.ua X-Virus-Scanned: clamav-milter 0.97 at mary-teresa.otrada.od.ua X-Virus-Status: Clean Subject: Re: how to add a few hundred ip on one interface? 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, 11 Feb 2011 00:54:35 -0000 11.02.2011 1:52, patrick wrote: > See http://www.freebsd.org/doc/en/books/faq/networking.html#ETHERNET-ALIASES > for more info. Note that aliases should have a netmask of 0xffffffff > (255.255.255.255). Much difference in the appointment of netmask /23 or /32 are not seen. # ifconfig re0 re0: flags=8843 metric 0 mtu 1500 options=389b ether 90:e6:ba:25:1c:b5 inet XXX.XXX.XXX.12 netmask 0xfffffe00 broadcast XXX.XXX.XXY.255 inet6 fe80::92e6:baff:fe25:1cb5%re0 prefixlen 64 scopeid 0x1 inet XXX.XXX.XXX.18 netmask 0xfffffe00 broadcast XXX.XXX.XXY.255 inet 192.168.1.201 netmask 0xffffff00 broadcast 192.168.1.255 inet XXX.XXX.XXX.22 netmask 0xffffffff broadcast XXX.XXX.XXX.22 nd6 options=3 media: Ethernet autoselect (100baseTX ) status: active # netstat -rn | grep XXX.XXX.XXX default XXX.XXX.XXX.1 UGS 0 60026 re0 XXX.XXX.XXX.0/23 link#1 U 0 1605 re0 XXX.XXX.XXX.12 link#1 UHS 0 0 lo0 XXX.XXX.XXX.18 link#1 UHS 0 0 lo0 XXX.XXX.XXX.22 link#1 UHS 0 0 lo0 => XXX.XXX.XXX.22/32 link#1 U 0 0 re0 -- Vladislav V. Prodan VVP24-UANIC +38[067]4584408 +38[099]4060508 vlad11@jabber.ru From owner-freebsd-questions@FreeBSD.ORG Fri Feb 11 03:29:58 2011 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 9C830106566B for ; Fri, 11 Feb 2011 03:29:58 +0000 (UTC) (envelope-from robertames@hotmail.com) Received: from snt0-omc4-s3.snt0.hotmail.com (snt0-omc4-s3.snt0.hotmail.com [65.55.90.206]) by mx1.freebsd.org (Postfix) with ESMTP id 72BD58FC08 for ; Fri, 11 Feb 2011 03:29:58 +0000 (UTC) Received: from SNT131-W38 ([65.55.90.200]) by snt0-omc4-s3.snt0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 10 Feb 2011 19:17:57 -0800 Message-ID: X-Originating-IP: [76.182.254.250] From: Robert Ames To: Date: Thu, 10 Feb 2011 22:17:57 -0500 Importance: Normal MIME-Version: 1.0 X-OriginalArrivalTime: 11 Feb 2011 03:17:57.0359 (UTC) FILETIME=[4799A7F0:01CBC99A] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Recording from sound card 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, 11 Feb 2011 03:29:58 -0000 I'm having problems trying to record from a sound card under 8.1-RELEASE. The last time I tried this was many releases ago=2C possibly 4.x-RELEASE. Back then I would do something like "cat /dev/dsp > file" but now when I try it I just end up with a 0 byte file. I'm using a different sound card than before so maybe that has something to do with it. Or possibly I just don't know which device to use. Playing sounds using "cat file.wav > /dev/dsp0.0" works fine=2C but I can't get recording to work. Does anyone have any suggestions? Thanks. $ cat /dev/sndstat FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386) Installed devices: pcm0: (play/rec) default $ sysctl -a | egrep '(snd|pcm|sound)' hw.snd.vpc_reset: 0 hw.snd.vpc_0db: 45 hw.snd.vpc_autoreset: 1 hw.snd.latency_profile: 1 hw.snd.latency: 5 hw.snd.report_soft_matrix: 1 hw.snd.report_soft_formats: 1 hw.snd.compat_linux_mmap: 0 hw.snd.feeder_eq_exact_rate: 0 hw.snd.feeder_eq_presets: PEQ:16000=2C0.2500=2C62=2C0.2500:-9=2C9=2C1.0:441= 00=2C48000=2C88200=2C96000=2C176400=2C192000 hw.snd.feeder_rate_quality: 1 hw.snd.feeder_rate_round: 25 hw.snd.feeder_rate_max: 2016000 hw.snd.feeder_rate_min: 1 hw.snd.feeder_rate_polyphase_max: 183040 hw.snd.feeder_rate_presets: 100:8:0.85 100:36:0.92 100:164:0.97 hw.snd.vpc_mixer_bypass: 1 hw.snd.verbose: 0 hw.snd.maxautovchans: 16 hw.snd.default_unit: 0 hw.snd.version: 2009061500/i386 hw.snd.default_auto: 0 dev.pcm.0.%desc: Creative CT5880-C dev.pcm.0.%driver: pcm dev.pcm.0.%location: slot=3D9 function=3D0 dev.pcm.0.%pnpinfo: vendor=3D0x1274 device=3D0x5880 subvendor=3D0x1274 subd= evice=3D0x2003 class=3D0x040100 dev.pcm.0.%parent: pci0 dev.pcm.0.eapd: 1 dev.pcm.0.play.vchans: 1 dev.pcm.0.play.vchanmode: fixed dev.pcm.0.play.vchanrate: 48000 dev.pcm.0.play.vchanformat: s16le:2.0 dev.pcm.0.rec.vchans: 1 dev.pcm.0.rec.vchanmode: fixed dev.pcm.0.rec.vchanrate: 48000 dev.pcm.0.rec.vchanformat: s16le:2.0 dev.pcm.0.buffersize: 4096 dev.pcm.0.bitperfect: 0 dev.pcm.0.spdif_enabled: 0 dev.pcm.0.latency_timer: 32 dev.pcm.0.polling: 0 $ mixer Mixer vol is currently set to 75:75 Mixer pcm is currently set to 75:75 Mixer speaker is currently set to 75:75 Mixer line is currently set to 75:75 Mixer mic is currently set to 73:73 Mixer cd is currently set to 75:75 Mixer rec is currently set to 75:75 Mixer igain is currently set to 0:0 Mixer ogain is currently set to 50:50 Mixer line1 is currently set to 75:75 Mixer phin is currently set to 0:0 Mixer phout is currently set to 0:0 Mixer video is currently set to 75:75 Recording source: mic = From owner-freebsd-questions@FreeBSD.ORG Fri Feb 11 03:53:45 2011 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 D23251065693; Fri, 11 Feb 2011 03:53:45 +0000 (UTC) (envelope-from dteske@vicor.com) Received: from postoffice.vicor.com (postoffice.vicor.com [69.26.56.53]) by mx1.freebsd.org (Postfix) with ESMTP id B80858FC18; Fri, 11 Feb 2011 03:53:45 +0000 (UTC) Received: from [192.82.228.105] (port=59572) by postoffice.vicor.com with esmtpsa (SSLv3:AES256-SHA:256) (Exim 4.71) (envelope-from ) id 1Pnk4l-0005Sa-Nq; Thu, 10 Feb 2011 19:53:45 -0800 From: Devin Teske To: freebsd-questions@freebsd.org Content-Type: multipart/mixed; boundary="=-+A3QXkrxgonKAGyxTIQq" Organization: VICOR, Inc. Date: Thu, 10 Feb 2011 19:53:53 -0800 Message-ID: <1297396433.7232.9.camel@dt.vicor.com> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 X-Scan-Signature: 4266861497c25e0c814ad9f3c38b9441 X-Scan-Host: postoffice.vicor.com X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org Subject: [RELEASE] host-setup(1): a dialog(1)-based utility for configuring 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, 11 Feb 2011 03:53:45 -0000 --=-+A3QXkrxgonKAGyxTIQq Content-Type: text/plain; charset="cp1252" Content-Transfer-Encoding: 7bit Hi All, I'd like to announce the release of a new script. A script that I've developed for our field engineers that I'd like to share with the rest of the world. http://druidbsd.sourceforge.net/download/host-setup.txt host-setup(1) is a dialog(1)-based utility (written in sh(1)) designed to make configuring FreeBSD more efficient. We have this script configured to be run as root's initial login immediately after "first-boot". The field engineer uses our custom installer to install RELENG_8, and after the machine presents a login prompt, they login with the pre-configured root password. After which they are presented with this dialog (image attached: host-setup.pub.png). The dialogs should all be intuitive, and I hope that you like my work. I've worked very hard to make this utility smooth, robust, fault-tolerant and even enjoyable to use. Not only that, but it helps prevents mistakes that could arise in doing these steps by-hand (like forgetting to unmount active NFS-mounts before executing "route flush"). Please give it a try and let me know what you think. -- Devin P.S. This is not a trivial script. ``More nuclear reactor than bike shed'' ^_^ P.P.S. Should be backward compatible to RELENG_4. P.P.S. I know the screenshot says "host-setup.pub" -- that's only because our in-house-only version has more functionality than the one I'm releasing to the general public today (no functionality that anyone in the public audience would ever care about though). --=-+A3QXkrxgonKAGyxTIQq-- From owner-freebsd-questions@FreeBSD.ORG Fri Feb 11 06:07:55 2011 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 6A653106564A for ; Fri, 11 Feb 2011 06:07:55 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3fd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id C212E8FC0A for ; Fri, 11 Feb 2011 06:07:54 +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 p1B67o5j077906 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 11 Feb 2011 06:07:50 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk p1B67o5j077906 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1297404470; bh=kL4IXYAq/E0YFTOT8/WikyhZdP9lAAPNh3CyW7Av8yM=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4D54D22F.2060607@infracaninophile.co.uk>|Date:=20F ri,=2011=20Feb=202011=2006:07:43=20+0000|From:=20Matthew=20Seaman= 20|User-Agent:=20Mozilla/5.0=20(M acintosh=3B=20U=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20en-US=3B=20r v:1.9.2.13)=20Gecko/20101207=20Thunderbird/3.1.7|MIME-Version:=201 .0|To:=20freebsd-questions@freebsd.org|Subject:=20Re:=20how=20to=2 0add=20a=20few=20hundred=20ip=20on=20one=20interface?|References:= 20<4D547675.60506@ukr.net>=20|In-Reply-To:=20|X-Enigmail-Version:=201.1.1| OpenPGP:=20id=3D60AE908C|Content-Type:=20multipart/signed=3B=20mic alg=3Dpgp-sha1=3B=0D=0A=20protocol=3D"application/pgp-signature"=3 B=0D=0A=20boundary=3D"------------enig768D621D2C1E274B1397B9C4"; b=hp806A9rUHSsMNkYBaIN/wmIU62En+hfbhEPluQ7/7Md4oYjLYMVt9mk0QsUedrKD oBblIZcP3eRMuJ4VxnxQEy2SZHWfosGHi847TV3NHSFbs0w+VSVKAnNhpI3XWWnrXc nctoFTRXfZJdhAgSUk/GJWMNIcXuc0CiMdxsSjLk= Message-ID: <4D54D22F.2060607@infracaninophile.co.uk> Date: Fri, 11 Feb 2011 06:07:43 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4D547675.60506@ukr.net> In-Reply-To: X-Enigmail-Version: 1.1.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig768D621D2C1E274B1397B9C4" X-Virus-Scanned: clamav-milter 0.96.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.6 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Subject: Re: how to add a few hundred ip on one interface? 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, 11 Feb 2011 06:07:55 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig768D621D2C1E274B1397B9C4 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 10/02/2011 23:52, patrick wrote: > The standard way is to configure this in your /etc/rc.conf[.local]: >=20 > ifconfig_re0=3D"inet xxx.xxx.yyy.134 netmask 0xffffffnn" > ifconfig_re0_alias0=3D"inet xxx.xxx.yyy.135 netmask 0xffffffff" > ifconfig_re0_alias1=3D"inet xxx.xxx.yyy.136 netmask 0xffffffff" > ... etc. That used to be the case, but in fact no longer. Nowadays you can put this single line into /etc/rc.conf to configure a whole raft of IP addresses on an interface: ipv4_addrs_re0=3D"xxx.xxx.yyy.134-147/23" See rc.conf(5) for details. > See http://www.freebsd.org/doc/en/books/faq/networking.html#ETHERNET-AL= IASES > for more info. Note that aliases should have a netmask of 0xffffffff > (255.255.255.255). Also something that was once true, but is actually no longer required. Nowadays you can give alias IPs the natural netmask of the network they belong to. Which has the handy consequence that there's no real distinction between what was the first address, and what are aliases -- so you can easily renumber an interface on the fly, simply by adding a new address/netmask, then removing the old one. Cheers, Matthew --=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 --------------enig768D621D2C1E274B1397B9C4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1U0jUACgkQ8Mjk52CukIzXiACff+rDkH0RF+un4jjuJ02Mk5R9 mkQAn16b/9XUYLkIKlbaBdWtGBgf+ISI =Hgkc -----END PGP SIGNATURE----- --------------enig768D621D2C1E274B1397B9C4-- From owner-freebsd-questions@FreeBSD.ORG Fri Feb 11 08:20:47 2011 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 7E3E9106566B for ; Fri, 11 Feb 2011 08:20:47 +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 3FA6E8FC18 for ; Fri, 11 Feb 2011 08:20:47 +0000 (UTC) Received: from r55.edvax.de (port-92-195-143-131.dynamic.qsc.de [92.195.143.131]) by mx01.qsc.de (Postfix) with ESMTP id A04533C942; Fri, 11 Feb 2011 09:20:45 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p1B8KiAA001462; Fri, 11 Feb 2011 09:20:45 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Fri, 11 Feb 2011 09:20:44 +0100 From: Polytropon To: Robert Ames Message-Id: <20110211092044.7ff0efde.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: freebsd-questions@freebsd.org Subject: Re: Recording from sound card 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: Fri, 11 Feb 2011 08:20:47 -0000 On Thu, 10 Feb 2011 22:17:57 -0500, Robert Ames wrote: > > I'm having problems trying to record from a sound card under > 8.1-RELEASE. The last time I tried this was many releases ago, > possibly 4.x-RELEASE. Back then I would do something like "cat > /dev/dsp > file" but now when I try it I just end up with a 0 byte > file. I'm using a different sound card than before so maybe that > has something to do with it. Or possibly I just don't know which > device to use. Playing sounds using "cat file.wav > /dev/dsp0.0" > works fine, but I can't get recording to work. Does anyone have > any suggestions? Thanks. My suggestion would be to install the port "sox", it will provide a "rec" command that can be used to record WAV or any other supported audio file format, e. g. % rec foo.au or % rec bar.wav And sox provides other excellent command line tools for audio manipulation (sox, play, rec); see "man sox" for details. Note that "play " is easier than cat'ing the file to the dsp device directly (which may require specific access permissions). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Fri Feb 11 08:26:20 2011 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 CE1D1106566C for ; Fri, 11 Feb 2011 08:26:20 +0000 (UTC) (envelope-from Vikash.Badal@is.co.za) Received: from morpheus.is.co.za (morpheus.is.co.za [196.35.45.229]) by mx1.freebsd.org (Postfix) with ESMTP id 241B98FC16 for ; Fri, 11 Feb 2011 08:26:19 +0000 (UTC) Received: from morpheus.is.co.za (localhost.is.co.za [127.0.0.1]) by morpheus.is.co.za (Postfix) with ESMTP id CFC1EF22ED; Fri, 11 Feb 2011 10:26:17 +0200 (SAST) Received: from ZABRYSVISMFW3 (zajnbisit03.mfw.is.co.za [196.26.2.110]) by morpheus.is.co.za (Postfix) with ESMTP id A19FAF22E1; Fri, 11 Feb 2011 10:26:17 +0200 (SAST) Received: from zabrysvisexhub3.af.didata.local (Not Verified[10.1.8.38]) by ZABRYSVISMFW3 with MailMarshal (v6, 7, 2, 8378) id ; Fri, 11 Feb 2011 10:25:35 +0200 Received: from ZABRYSVISEXMBX1.af.didata.local ([fe80::914a:a14c:13c1:d279]) by zabrysvisexhub3.af.didata.local ([fe80::9023:67c3:e2b7:a5ba%10]) with mapi; Fri, 11 Feb 2011 10:25:57 +0200 From: Vikash Badal To: Robert Bonomi Date: Fri, 11 Feb 2011 10:26:13 +0200 Thread-Topic: switching from gnu make to bsd make Thread-Index: AcvJhHxACxxaGP8oQMKuQ4kRcBnPbQAQJIKQ Message-ID: <9B425C841283E0418B1825D40CBCFA615B42230B05@ZABRYSVISEXMBX1.af.didata.local> References: <9B425C841283E0418B1825D40CBCFA615B422306F9@ZABRYSVISEXMBX1.af.didata.local> <201102102359.p1ANxEcA044340@mail.r-bonomi.com> In-Reply-To: <201102102359.p1ANxEcA044340@mail.r-bonomi.com> 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-Virus-Scanned: ClamAV using ClamSMTP Cc: "freebsd-questions@freebsd.org" Subject: RE: switching from gnu make to bsd make 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, 11 Feb 2011 08:26:20 -0000 > -----Original Message----- > From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd- > questions@freebsd.org] On Behalf Of Robert Bonomi > Sent: 11 February 2011 01:59 AM > To: Vikash Badal > Cc: freebsd-questions@freebsd.org > Subject: Re: switching from gnu make to bsd make >=20 > Try typing "make all" and see what happens then. >=20 >=20 Make all produces the follow output: make all cc -o bin/nntpd -lpthread -lmysqlclient_r -Wall -g -Iinclude -I/usr/local= /include -I/usr/local/include/mysql -L/usr/local/lib -L/usr/local/lib/mys= ql obj/log.o obj/cleanup.o obj/config.o obj/leecherpool.o obj/mytime.o = obj/nntp.o obj/upstream.o obj/mysleep.o obj/sqlpool.o obj/sql.o obj/sig= nalhandler.o obj/daemon.o obj/list.o obj/tcpserver.o obj/tmpfiles.o obj= /listenpool.o obj/workers.o obj/nntpd.o cc: obj/log.o: No such file or directory cc: obj/cleanup.o: No such file or directory cc: obj/config.o: No such file or directory cc: obj/leecherpool.o: No such file or directory cc: obj/mytime.o: No such file or directory cc: obj/nntp.o: No such file or directory cc: obj/upstream.o: No such file or directory cc: obj/mysleep.o: No such file or directory cc: obj/sqlpool.o: No such file or directory cc: obj/sql.o: No such file or directory cc: obj/signalhandler.o: No such file or directory cc: obj/daemon.o: No such file or directory cc: obj/list.o: No such file or directory cc: obj/tcpserver.o: No such file or directory cc: obj/tmpfiles.o: No such file or directory cc: obj/listenpool.o: No such file or directory cc: obj/workers.o: No such file or directory cc: obj/nntpd.o: No such file or directory *** Error code 1 With gmake : $(OBJDIR)/%.o:${SRCDIR}/%.c =20 ${CC} -c ${CFLAGS} ${INCDIR} ${LIBDIR} $< -o $@ This creates all the .o files I need How do I do this with bsd make ? > > > > > > this is my make file: > > > > ---------------------------------------------------------------------= > --------- > > > > CC =3D cc > * LIBS =3D -lpthread -lmysqlclient_r > > CFLAGS =3D -Wall -g > > INCDIR =3D -Iinclude -I/usr/local/include - > I/usr/local/include/mysql > > LIBDIR =3D -L/usr/local/lib -L/usr/local/lib/mysql > > OBJDIR =3D obj > > SRCDIR =3D src > > BINDIR =3D bin > > PREFIX =3D /usr/local/nntpd > > BINDIRFILES =3D ${BINDIR}/nntpd > > OBJS =3D ${OBJDIR}/log.o ${OBJDIR}/cleanup.o > ${OBJDIR}/config.o \ > > ${OBJDIR}/leecherpool.o ${OBJDIR}/mytime.o > > ${OBJDIR}/upstream.o ${OBJDIR}/mysleep.o > > ${OBJDIR}/sql.o ${OBJDIR}/signalhandler.o > > ${OBJDIR}/list.o ${OBJDIR}/tcpserver.o > > ${OBJDIR}/listenpool.o ${OBJDIR}/workers.o \ > > ${OBJDIR}/nntpd.o > > > > $(OBJDIR)/%.o:${SRCDIR}/%.c > > ${CC} -c ${CFLAGS} ${INCDIR} ${LIBDIR} $< -o $@ > > > > all: ${OBJS} > > ${CC} -o ${BINDIR}/nntpd ${LIBS} ${CFLAGS} ${INCDIR} > ${LIBDIR} \ > > ${OBJDIR}/log.o ${OBJDIR}/cleanup.o ${OBJDIR}/config.o \ > > ${OBJDIR}/leecherpool.o ${OBJDIR}/mytime.o ${OBJDIR}/nntp.o \= > > ${OBJDIR}/upstream.o ${OBJDIR}/mysleep.o ${OBJDIR}/sqlpool.o > \ > > ${OBJDIR}/sql.o ${OBJDIR}/signalhandler.o ${OBJDIR}/daemon.o > \ > > ${OBJDIR}/list.o ${OBJDIR}/tcpserver.o ${OBJDIR}/tmpfiles.o \= > > ${OBJDIR}/listenpool.o ${OBJDIR}/workers.o \ > > ${OBJDIR}/nntpd.o > > > > ---------------------------------------------------------------------= > --------- >=20 >=20 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org" 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 Fri Feb 11 09:40:42 2011 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 305F0106566B for ; Fri, 11 Feb 2011 09:40:42 +0000 (UTC) (envelope-from paul@ifdnrg.com) Received: from ifdnrg29.ifdnrg.com (outbound.ifdnrg.com [193.200.98.138]) by mx1.freebsd.org (Postfix) with ESMTP id C3DFB8FC1C for ; Fri, 11 Feb 2011 09:40:41 +0000 (UTC) Received: from [192.168.1.85] (93-97-172-73.zone5.bethere.co.uk [93.97.172.73]) (authenticated bits=0) by ifdnrg29.ifdnrg.com (8.14.4/8.14.4) with ESMTP id p1B9ecOx075156 for ; Fri, 11 Feb 2011 09:40:39 GMT (envelope-from paul@ifdnrg.com) Message-ID: <4D550415.8060105@ifdnrg.com> Date: Fri, 11 Feb 2011 09:40:37 +0000 From: Paul Macdonald User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: FreeBSD and SSD drives 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, 11 Feb 2011 09:40:42 -0000 Hi, Is anyone using SSD drives on freeBSD server systems? I'm attracted by the performance increases i've seen on both my desktops and laptops (quite amazing and easy upgrade if you've not tried).. I see from here http://en.wikipedia.org/wiki/TRIM#Operating_system_and_SSD_support that full TRIM support only comes in 8.2, I'd be interested to here peoples opinions on best uses for SSD, general purpose applications such as databases , webservers etc will benefit obviously, but i'm also curious as to disk intensive applications such as mailq's, spamassassin etc? (I presume here the lack of TRIM may degrade performance rapidly?) thanks Paul. -- ------------------------- Paul Macdonald IFDNRG Ltd Web and video hosting ------------------------- t: 0131 5548070 m: 07534206249 e: paul@ifdnrg.com w: http://www.ifdnrg.com ------------------------- IFDNRG 40 Maritime Street Edinburgh EH6 6SA ------------------------- From owner-freebsd-questions@FreeBSD.ORG Fri Feb 11 11:54:57 2011 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 F11B7106566B for ; Fri, 11 Feb 2011 11:54:57 +0000 (UTC) (envelope-from peter@vereshagin.org) Received: from mx1.skyriver.ru (ns1.skyriver.ru [89.108.118.221]) by mx1.freebsd.org (Postfix) with ESMTP id AEF6F8FC13 for ; Fri, 11 Feb 2011 11:54:57 +0000 (UTC) Received: from localhost (tor-exit-router44-readme.formlessnetworking.net [199.48.147.44]) by mx1.skyriver.ru (Postfix) with ESMTPSA id C805E5AB8 for ; Fri, 11 Feb 2011 14:37:19 +0300 (MSK) Date: Fri, 11 Feb 2011 14:54:44 +0300 From: Peter Vereshagin To: freebsd-questions@freebsd.org Message-ID: <20110211115444.GA5575@external.screwed.box> References: <4D550415.8060105@ifdnrg.com> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <4D550415.8060105@ifdnrg.com> Organization: ' X-Face: 8T>{1owI$Byj]]a; ^G]kRf*dkq>E-3':F>4ODP[#X4s"dr?^b&2G@'3lukno]A1wvJ_L(~u 6>I2ra/<,j1%@C[LN=>p#_}RIV+#:KTszp-X$bQOj,K Subject: Re: FreeBSD and SSD drives 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, 11 Feb 2011 11:54:58 -0000 Nothing to do oh, freebsd-questions stay in bat! 2011/02/11 09:40:37 +0000 Paul Macdonald => To FreeBSD Mailing List : PM> I'd be interested to here peoples opinions on best uses for SSD, general PM> purpose applications such as databases , webservers etc will benefit PM> obviously, Sun.com before to bankrupt was spamming me about their nice idea on SSD appliance for their servers. It took me a some while though to know out accidentally that they apply solid-state memory devices for... FS journal. This looks wise and reasonable to me because: 1. SSD is known as less reliable storage. 2. SSD has less track-to-track seek average time. ( than usual HDD ) 73! Peter pgp: A0E26627 (4A42 6841 2871 5EA7 52AB 12F8 0CE1 4AAC A0E2 6627) -- http://vereshagin.org From owner-freebsd-questions@FreeBSD.ORG Fri Feb 11 12:56:02 2011 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 DEA6B106564A for ; Fri, 11 Feb 2011 12:56:02 +0000 (UTC) (envelope-from universite@ukr.net) Received: from otrada.od.ua (universite-1-pt.tunnel.tserv24.sto1.ipv6.he.net [IPv6:2001:470:27:140::2]) by mx1.freebsd.org (Postfix) with ESMTP id 4C42D8FC18 for ; Fri, 11 Feb 2011 12:56:02 +0000 (UTC) Received: from [10.0.0.10] (phenom.otrada.od.ua [10.0.0.10]) (authenticated bits=0) by otrada.od.ua (8.14.4/8.14.4) with ESMTP id p1BCtweI009819 for ; Fri, 11 Feb 2011 14:55:58 +0200 (EET) (envelope-from universite@ukr.net) X-Authentication-Warning: otrada.od.ua: Host phenom.otrada.od.ua [10.0.0.10] claimed to be [10.0.0.10] Message-ID: <4D5531D3.8040906@ukr.net> Date: Fri, 11 Feb 2011 14:55:47 +0200 From: "Vladislav V. Prodan" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4D547675.60506@ukr.net> <4D54D22F.2060607@infracaninophile.co.uk> In-Reply-To: <4D54D22F.2060607@infracaninophile.co.uk> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED,AWL autolearn=failed version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mary-teresa.otrada.od.ua X-Virus-Scanned: clamav-milter 0.97 at mary-teresa.otrada.od.ua X-Virus-Status: Clean Subject: Re: how to add a few hundred ip on one interface? 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, 11 Feb 2011 12:56:02 -0000 11.02.2011 8:07, Matthew Seaman пишет: > ipv4_addrs_re0="xxx.xxx.yyy.134-147/23" > > See rc.conf(5) for details. And this construction work? ipv4_addrs_ed0="192.0.2.129/27 192.0.2.1-2/28 192.0.2.4-5/28" -- Vladislav V. Prodan VVP24-UANIC +38[067]4584408 +38[099]4060508 vlad11@jabber.ru From owner-freebsd-questions@FreeBSD.ORG Fri Feb 11 13:53:09 2011 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 613421065672 for ; Fri, 11 Feb 2011 13:53:09 +0000 (UTC) (envelope-from guillermo.cotone@gmail.com) Received: from mail-yi0-f54.google.com (mail-yi0-f54.google.com [209.85.218.54]) by mx1.freebsd.org (Postfix) with ESMTP id 133148FC17 for ; Fri, 11 Feb 2011 13:53:08 +0000 (UTC) Received: by yie19 with SMTP id 19so1099940yie.13 for ; Fri, 11 Feb 2011 05:53:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:x-enigmail-version:content-type; bh=JNbTGYs0L3IQ8v/P543qj6DmJhI9TIXx2EU6njZ3BgE=; b=f2RzVTzBlVJgjSP4Gud+YbqjDbWY9tZv5ckf4esAZo5qVPrqiq2QB1ayGrOx/9XYLt q61o65g04/N0V1halovh1/TiWkxTfly/JUNo1c9G8Gt0BEfL03mrn5x7u1JU1y2Ye52H 7hCaV2nnFgnMWhhEec+y/HHdJ4egwxWoxtWpw= 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:x-enigmail-version:content-type; b=lJ2WYiI3qqG6IGJg8CkwVaEPVNe1WvcV5JjWLoBW4qRN1ngeNjYgsrXUDgVW1pLRoc FB8JH5UpffTH941xYHGRNMwKyoy3Ss4hBTAN0xwqCf1SrpBKx7pCOf4jx8gokOn2GrQ7 7LsdZ+q+4otdvGOteLCDoVyn3II6vhBJSNdgU= Received: by 10.100.189.17 with SMTP id m17mr223379anf.19.1297430758348; Fri, 11 Feb 2011 05:25:58 -0800 (PST) Received: from [192.168.0.101] ([186.61.30.156]) by mx.google.com with ESMTPS id c7sm969738ana.17.2011.02.11.05.25.56 (version=SSLv3 cipher=OTHER); Fri, 11 Feb 2011 05:25:57 -0800 (PST) Message-ID: <4D5538DF.2050309@gmail.com> Date: Fri, 11 Feb 2011 10:25:51 -0300 From: Guillermo Fernando Cotone User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101226 Icedove/3.0.11 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4D547675.60506@ukr.net> <4D54D22F.2060607@infracaninophile.co.uk> <4D5531D3.8040906@ukr.net> In-Reply-To: <4D5531D3.8040906@ukr.net> X-Enigmail-Version: 1.0.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8BEF837C32877A1862D0C631" Subject: Re: how to add a few hundred ip on one interface? 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, 11 Feb 2011 13:53:09 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8BEF837C32877A1862D0C631 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 02/11/2011 09:55 AM, Vladislav V. Prodan wrote: > And this construction work? > > ipv4_addrs_ed0=3D"192.0.2.129/27 192.0.2.1-2/28 192.0.2.4-5/28" > =20 It would work only if all the IPs were on the same subnet. If you want to use different subnets you need to implement vlans on that interface first. Regards, Guillermo --------------enig8BEF837C32877A1862D0C631 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEARECAAYFAk1VOOMACgkQ4Gn83XC1aZZ5KgCfcq7ALdFdHtBYGA/1FtP6io0K aOYAoJPAKr3/Gpn+WFpTtPhxmCaIhxoA =nBT5 -----END PGP SIGNATURE----- --------------enig8BEF837C32877A1862D0C631-- From owner-freebsd-questions@FreeBSD.ORG Fri Feb 11 14:32:16 2011 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 B9BD51065673 for ; Fri, 11 Feb 2011 14:32:16 +0000 (UTC) (envelope-from universite@ukr.net) Received: from otrada.od.ua (universite-1-pt.tunnel.tserv24.sto1.ipv6.he.net [IPv6:2001:470:27:140::2]) by mx1.freebsd.org (Postfix) with ESMTP id 269EF8FC13 for ; Fri, 11 Feb 2011 14:32:15 +0000 (UTC) Received: from [10.0.0.10] (phenom.otrada.od.ua [10.0.0.10]) (authenticated bits=0) by otrada.od.ua (8.14.4/8.14.4) with ESMTP id p1BEWA9n017641 for ; Fri, 11 Feb 2011 16:32:10 +0200 (EET) (envelope-from universite@ukr.net) X-Authentication-Warning: otrada.od.ua: Host phenom.otrada.od.ua [10.0.0.10] claimed to be [10.0.0.10] Message-ID: <4D55485F.5050301@ukr.net> Date: Fri, 11 Feb 2011 16:31:59 +0200 From: "Vladislav V. Prodan" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4D547675.60506@ukr.net> <4D54D22F.2060607@infracaninophile.co.uk> <4D5531D3.8040906@ukr.net> <4D5538DF.2050309@gmail.com> In-Reply-To: <4D5538DF.2050309@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.4 required=5.0 tests=ALL_TRUSTED,AWL autolearn=failed version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mary-teresa.otrada.od.ua X-Virus-Scanned: clamav-milter 0.97 at mary-teresa.otrada.od.ua X-Virus-Status: Clean Subject: Re: how to add a few hundred ip on one interface? 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, 11 Feb 2011 14:32:16 -0000 11.02.2011 15:25, Guillermo Fernando Cotone wrote: > On 02/11/2011 09:55 AM, Vladislav V. Prodan wrote: >> And this construction work? >> >> ipv4_addrs_ed0="192.0.2.129/27 192.0.2.1-2/28 192.0.2.4-5/28" >> > It would work only if all the IPs were on the same subnet. If you want > to use different subnets you need to implement vlans on that interface > first. > man rc.conf ... One can configure more than one IPv4 address with the ipv4_addrs_ variable. One or more IP addresses must be provided in Classless Inter-Domain Routing (CIDR) address notation, whose last byte can be a range like 192.0.2.5-23/24. In this case the address 192.0.2.5 will be configured with the netmask /24 and the addresses 192.0.2.6 to 192.0.2.23 with the non-conflicting netmask /32 as explained in the ifconfig(8) alias section. With the inter- face in question being ed0, an example could look like: ipv4_addrs_ed0="192.0.2.129/27 192.0.2.1-5/28" ... -- Vladislav V. Prodan VVP24-UANIC +38[067]4584408 +38[099]4060508 vlad11@jabber.ru From owner-freebsd-questions@FreeBSD.ORG Fri Feb 11 14:44:07 2011 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 85E70106576D for ; Fri, 11 Feb 2011 14:44:06 +0000 (UTC) (envelope-from nvidican@m2.vidican.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 6F5448FC1A for ; Fri, 11 Feb 2011 14:44:06 +0000 (UTC) Received: by wwf26 with SMTP id 26so2543176wwf.31 for ; Fri, 11 Feb 2011 06:44:05 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.17.202 with SMTP id j52mr528104wej.36.1297435445234; Fri, 11 Feb 2011 06:44:05 -0800 (PST) Sender: nvidican@m2.vidican.com Received: by 10.216.121.18 with HTTP; Fri, 11 Feb 2011 06:44:05 -0800 (PST) X-Originating-IP: [136.1.1.105] In-Reply-To: <4D5538DF.2050309@gmail.com> References: <4D547675.60506@ukr.net> <4D54D22F.2060607@infracaninophile.co.uk> <4D5531D3.8040906@ukr.net> <4D5538DF.2050309@gmail.com> Date: Fri, 11 Feb 2011 09:44:05 -0500 X-Google-Sender-Auth: Be0WXLylId_juAca-c8Ujfr6NQE Message-ID: From: Nathan Vidican To: Guillermo Fernando Cotone Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: how to add a few hundred ip on one interface? 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, 11 Feb 2011 14:44:07 -0000 On Fri, Feb 11, 2011 at 8:25 AM, Guillermo Fernando Cotone < guillermo.cotone@gmail.com> wrote: > On 02/11/2011 09:55 AM, Vladislav V. Prodan wrote: > > And this construction work? > > > > ipv4_addrs_ed0="192.0.2.129/27 192.0.2.1-2/28 192.0.2.4-5/28" > > > It would work only if all the IPs were on the same subnet. If you want > to use different subnets you need to implement vlans on that interface > first. > > Regards, > Guillermo > > Implementing vlans makes an assumption that the network in question already does too. Though I agree, that in practice multiple subnets should not be on the same ethernet segment, it is not technically impossible. The correct response was quoted from the rc.conf manpage per the other response already sent. VLAN implementation is a whole different setup. -- Nathan Vidican nathan@vidican.com From owner-freebsd-questions@FreeBSD.ORG Fri Feb 11 15:07:23 2011 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 E97661065675; Fri, 11 Feb 2011 15:07:23 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (unknown [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id 1A06F8FC1C; Fri, 11 Feb 2011 15:07:23 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id CC7F0E7831; Fri, 11 Feb 2011 15:07:10 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cran.org.uk; h=date:from :to:cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=mail; bh=1l9WxvGhwiPh wgMGPRWSjRc+4dM=; b=qSgoH954QvuKwdwPB45UVq0aO1jmyU2oHJH/5UL6fyt9 j+CEdFX7TJdR4sLpaM7BodIXbM929Uhd9KO9GV4gk9uZjvO5m/Yckbb8qLgTXGGC 1e09r+J6p0Q9cZHAIfenfygmALB2iGnTj0Uj39ZzmvHpz8CJGJU3MZzsaLdeKPM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=cran.org.uk; h=date:from:to :cc:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=mail; b=j/3HGf ElcWt20/1bw5lYdmC3YL7mne2JKWIjpk1DisVkmZCdhmNI4KNtENU1OmhigkDJDl 7UuTmMuo61sfHvHBfTusov/qFOHtxBANZouhPE94a1qxWLlV95YxtJjdtdRWhc3C lfHPt5YGc/4FaxloYoeVsPmaFNETkUgW3dd5o= Received: from unknown (client-86-23-69-78.brhm.adsl.virginmedia.com [86.23.69.78]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 7B59FE76F0; Fri, 11 Feb 2011 15:07:10 +0000 (GMT) Date: Fri, 11 Feb 2011 15:06:55 +0000 From: Bruce Cran To: Damien Fleuriot Message-ID: <20110211150655.0000576d@unknown> In-Reply-To: <5AF1B11E-19FF-4FF5-9058-BE8F0AB85E1B@my.gd> References: <1297396433.7232.9.camel@dt.vicor.com> <5AF1B11E-19FF-4FF5-9058-BE8F0AB85E1B@my.gd> X-Mailer: Claws Mail 3.7.8cvs9 (GTK+ 2.16.6; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-hackers@freebsd.org" , Devin Teske , "freebsd-questions@freebsd.org" Subject: Re: [RELEASE] host-setup(1): a dialog(1)-based utility for configuring 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, 11 Feb 2011 15:07:24 -0000 On Fri, 11 Feb 2011 08:56:42 +0100 Damien Fleuriot wrote: > The list strips non-text attachments so there isn't much to see at > the moment though... It wasn't supposed to be attached - try http://druidbsd.sourceforge.net/download/host-setup.txt :) -- Bruce Cran From owner-freebsd-questions@FreeBSD.ORG Fri Feb 11 15:30:43 2011 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 C5EF81065675 for ; Fri, 11 Feb 2011 15:30:43 +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 324748FC12 for ; Fri, 11 Feb 2011 15:30:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id p1BFUdCj002583; Sat, 12 Feb 2011 02:30:40 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sat, 12 Feb 2011 02:30:39 +1100 (EST) From: Ian Smith To: Devin Teske In-Reply-To: <20110211120031.9D37510656E5@hub.freebsd.org> Message-ID: <20110212015155.I96449@sola.nimnet.asn.au> References: <20110211120031.9D37510656E5@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-questions@freebsd.org Subject: Re: [RELEASE] host-setup(1): a dialog(1)-based utility for configuring 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, 11 Feb 2011 15:30:43 -0000 In freebsd-questions Digest, Vol 349, Issue 8, Message: 15 On Thu, 10 Feb 2011 19:53:53 -0800 Devin Teske wrote: > Hi All, > > I'd like to announce the release of a new script. A script that I've > developed for our field engineers that I'd like to share with the rest > of the world. > > http://druidbsd.sourceforge.net/download/host-setup.txt > > host-setup(1) is a dialog(1)-based utility (written in sh(1)) designed > to make configuring FreeBSD more efficient. Nice, if only as great bedtime reading so far; I've already learned some new techniques. I expect to steal lots of it wholesale (acknowledged :) cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Fri Feb 11 16:53:41 2011 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 43A0B1065673 for ; Fri, 11 Feb 2011 16:53:41 +0000 (UTC) (envelope-from cracauer@koef.zs64.net) Received: from koef.zs64.net (koef.zs64.net [IPv6:2001:470:1f0b:105e::1e6]) by mx1.freebsd.org (Postfix) with ESMTP id 06EA78FC12 for ; Fri, 11 Feb 2011 16:53:40 +0000 (UTC) Received: from koef.zs64.net (koef.zs64.net [IPv6:2001:470:1f0b:105e::1e6]) by koef.zs64.net (8.14.4/8.14.4) with ESMTP id p1BGrdkx099452 for ; Fri, 11 Feb 2011 17:53:39 +0100 (CET) (envelope-from cracauer@koef.zs64.net) Received: (from cracauer@localhost) by koef.zs64.net (8.14.4/8.14.4/Submit) id p1BGrdS8099451 for freebsd-questions@freebsd.org; Fri, 11 Feb 2011 11:53:39 -0500 (EST) (envelope-from cracauer) Date: Fri, 11 Feb 2011 11:53:39 -0500 From: Martin Cracauer To: freebsd-questions@freebsd.org Message-ID: <20110211165339.GA97436@cons.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: FreeBSD's tftp and tftpd-hpa 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, 11 Feb 2011 16:53:41 -0000 FreeBSD's current tftp client doesn't work with tftpd-hpa. FreeBSD 9.0-CURRENT (XEN) #0: Fri Jan 21 15:54:41 EST 2011 ~(fbpv)1% tftp 192.168.1.1 tftp> get pxeboot Got ERROR packet: Unsupported option(s) requested Error code 2048: Unsupported option(s) requested tftp> Anybody got a solution for this? Otherwise I'll hack it up. I'm forced to use tftpd-hpa because I have diskless Linux clients that are brought up with pxelinux.0 and that one needs the option to provide file size beforehand. But FreeBSD's tftp client wants other options and KABOOM. The bad thing about this is that I'm debugging probably unrelated problems with pxeboot and I have no way of knowing for sure whether my problems might be caused by more options clashes. It's not that tftpd-hpa log which options specifically were requested and denied. Or that FreeBSD's client says which options it requested before it blew up. Martin -- %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Martin Cracauer http://www.cons.org/cracauer/ Shameless advocate of FreeBSD. http://www.freebsd.org/ From owner-freebsd-questions@FreeBSD.ORG Fri Feb 11 17:01:57 2011 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 05A841065670; Fri, 11 Feb 2011 17:01:57 +0000 (UTC) (envelope-from dteske@vicor.com) Received: from postoffice.vicor.com (postoffice.vicor.com [69.26.56.53]) by mx1.freebsd.org (Postfix) with ESMTP id DDEF58FC0A; Fri, 11 Feb 2011 17:01:56 +0000 (UTC) Received: from [192.82.228.105] (port=60679) by postoffice.vicor.com with esmtpsa (SSLv3:AES256-SHA:256) (Exim 4.71) (envelope-from ) id 1PnwNW-00014I-6O; Fri, 11 Feb 2011 09:01:56 -0800 From: Devin Teske To: Damien Fleuriot In-Reply-To: <5AF1B11E-19FF-4FF5-9058-BE8F0AB85E1B@my.gd> References: <1297396433.7232.9.camel@dt.vicor.com> <5AF1B11E-19FF-4FF5-9058-BE8F0AB85E1B@my.gd> Organization: VICOR, Inc. Date: Fri, 11 Feb 2011 09:02:05 -0800 Message-ID: <1297443725.9144.1.camel@dt.vicor.com> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 X-Scan-Signature: b57c4500898f7f78298605e8a43c9cb5 X-Scan-Host: postoffice.vicor.com Content-Type: text/plain; charset="cp1252" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "freebsd-hackers@freebsd.org" , "freebsd-questions@freebsd.org" Subject: Re: [RELEASE] host-setup(1): a dialog(1)-based utility for configuring 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, 11 Feb 2011 17:01:57 -0000 On Fri, 2011-02-11 at 08:56 +0100, Damien Fleuriot wrote: > Hi Devin, > > > Thanks for sharing your work. > > The list strips non-text attachments so there isn't much to see at the moment though... Thanks Damien. Here's a link to the pic I posted online in-tandem with the post to the list(s). http://www.twitpic.com/3yhye7 -- Devin > > > --- > Fleuriot Damien > > On 11 Feb 2011, at 04:53, Devin Teske wrote: > > > Hi All, > > > > I'd like to announce the release of a new script. A script that I've > > developed for our field engineers that I'd like to share with the rest > > of the world. > > > > http://druidbsd.sourceforge.net/download/host-setup.txt > > > > host-setup(1) is a dialog(1)-based utility (written in sh(1)) designed > > to make configuring FreeBSD more efficient. > > > > We have this script configured to be run as root's initial login > > immediately after "first-boot". The field engineer uses our custom > > installer to install RELENG_8, and after the machine presents a login > > prompt, they login with the pre-configured root password. After which > > they are presented with this dialog (image attached: > > host-setup.pub.png). > > > > The dialogs should all be intuitive, and I hope that you like my work. > > I've worked very hard to make this utility smooth, robust, > > fault-tolerant and even enjoyable to use. Not only that, but it helps > > prevents mistakes that could arise in doing these steps by-hand (like > > forgetting to unmount active NFS-mounts before executing "route flush"). > > > > Please give it a try and let me know what you think. > > -- > > Devin > > > > P.S. This is not a trivial script. ``More nuclear reactor than bike > > shed'' ^_^ > > > > P.P.S. Should be backward compatible to RELENG_4. > > > > P.P.S. I know the screenshot says "host-setup.pub" -- that's only > > because our in-house-only version has more functionality than the one > > I'm releasing to the general public today (no functionality that anyone > > in the public audience would ever care about though). > > _______________________________________________ > > freebsd-hackers@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Fri Feb 11 17:11:56 2011 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 E1BDA1065670 for ; Fri, 11 Feb 2011 17:11:56 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-ew0-f54.google.com (mail-ew0-f54.google.com [209.85.215.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7D4578FC0A for ; Fri, 11 Feb 2011 17:11:56 +0000 (UTC) Received: by ewy24 with SMTP id 24so1492798ewy.13 for ; Fri, 11 Feb 2011 09:11:55 -0800 (PST) Received: by 10.223.79.74 with SMTP id o10mr197136fak.63.1297411561511; Fri, 11 Feb 2011 00:06:01 -0800 (PST) Received: from [10.202.163.74] ([92.90.20.56]) by mx.google.com with ESMTPS id z1sm188705fau.45.2011.02.11.00.05.57 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 11 Feb 2011 00:06:00 -0800 (PST) References: <1297396433.7232.9.camel@dt.vicor.com> From: Damien Fleuriot Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii In-Reply-To: <1297396433.7232.9.camel@dt.vicor.com> Message-Id: <5AF1B11E-19FF-4FF5-9058-BE8F0AB85E1B@my.gd> Date: Fri, 11 Feb 2011 08:56:42 +0100 To: Devin Teske Mime-Version: 1.0 (iPhone Mail 8A293) X-Mailer: iPhone Mail (8A293) Cc: "freebsd-hackers@freebsd.org" , "freebsd-questions@freebsd.org" Subject: Re: [RELEASE] host-setup(1): a dialog(1)-based utility for configuring 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, 11 Feb 2011 17:11:57 -0000 Hi Devin, Thanks for sharing your work. The list strips non-text attachments so there isn't much to see at the momen= t though... --- Fleuriot Damien On 11 Feb 2011, at 04:53, Devin Teske wrote: > Hi All, >=20 > I'd like to announce the release of a new script. A script that I've > developed for our field engineers that I'd like to share with the rest > of the world. >=20 > http://druidbsd.sourceforge.net/download/host-setup.txt >=20 > host-setup(1) is a dialog(1)-based utility (written in sh(1)) designed > to make configuring FreeBSD more efficient. >=20 > We have this script configured to be run as root's initial login > immediately after "first-boot". The field engineer uses our custom > installer to install RELENG_8, and after the machine presents a login > prompt, they login with the pre-configured root password. After which > they are presented with this dialog (image attached: > host-setup.pub.png). >=20 > The dialogs should all be intuitive, and I hope that you like my work. > I've worked very hard to make this utility smooth, robust, > fault-tolerant and even enjoyable to use. Not only that, but it helps > prevents mistakes that could arise in doing these steps by-hand (like > forgetting to unmount active NFS-mounts before executing "route flush"). >=20 > Please give it a try and let me know what you think. > -- > Devin >=20 > P.S. This is not a trivial script. ``More nuclear reactor than bike > shed'' ^_^ >=20 > P.P.S. Should be backward compatible to RELENG_4. >=20 > P.P.S. I know the screenshot says "host-setup.pub" -- that's only > because our in-house-only version has more functionality than the one > I'm releasing to the general public today (no functionality that anyone > in the public audience would ever care about though). > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"= From owner-freebsd-questions@FreeBSD.ORG Fri Feb 11 18:17:06 2011 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 BD4FB1065673 for ; Fri, 11 Feb 2011 18:17:06 +0000 (UTC) (envelope-from cjr@cruwe.de) Received: from cruwe.de (t1850.greatnet.de [83.133.124.96]) by mx1.freebsd.org (Postfix) with ESMTP id 112B78FC12 for ; Fri, 11 Feb 2011 18:17:05 +0000 (UTC) Received: (qmail 28140 invoked from network); 11 Feb 2011 18:17:03 -0000 Received: from p57bdeeb5.dip.t-dialin.net (HELO dijkstra) (smtpallow@87.189.238.181) by t1850.greatnet.de with ESMTPA; 11 Feb 2011 18:17:03 -0000 Date: Fri, 11 Feb 2011 22:16:48 +0100 From: "Christopher J. Ruwe" To: Message-ID: <20110211221648.03c65a04@dijkstra> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; amd64-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/ll/VBt3LHYJGmFY_WejDEPg"; protocol="application/pgp-signature" Subject: system clock running 2h early although ntpd enabled 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, 11 Feb 2011 18:17:06 -0000 --Sig_/ll/VBt3LHYJGmFY_WejDEPg Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Since some weeks my local clock runs two hours early. My /etc/localtime is a copy of /usr/share/zoneinfo/Europe/Berlin and I have set both ntpd_enable=3D"YES" and ntpd_sync_on_start=3D"YES". My ntp.conf consists of= =20 server ntp1.ptb.de prefer server ntp2.ptb.de restrict default ignore restrict 127.0.0.1 Surely, I must be missing something. Does anybody have an idea? Thanks and cheers, --=20 Christopher J. Ruwe TZ GMT + 1 --Sig_/ll/VBt3LHYJGmFY_WejDEPg Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iQIcBAEBAgAGBQJNVadGAAoJEJTIKW/o3iwU/iMP/0jwMiAU3AwIpXRfxfRzN4cg XiesN3IDfWZO3bnfSRB4dIBcQ/ZfVK+6v2xyrVd0xi78BGZyktS8cAVPutCpohPg yV/VHnOOvklOKHtStRTHyxP7L0r34pGLiL6C7cDvgycFm7un/Lw13Uv88MaUPyQG j9l9yU2NwZbfXqnQy4ao3+o50Fmf8owFMVV+gFQ1ClWP79YkZP7am9X2WZTzLMGu UqdSUVjD9IED3iow7wt8yz3tHYbukNYBEI5miRys7gPmCWw5tISjEdaiX6bbj92s r0+Co5rw+V3WaHge3/hFH+xPjeN1ltMBdgI/IM7jT/7+tvs+cuGWm/z/Wo9qbxsc 1J6xdRTbh0Ub0SM/rhUWPnoxJSk6wZqSpYFpqpi4mZsxKkk+tWPaUL/MdLgFM1Gs vFX3jNeCbtNi2M3XVybRARzXRS/y7NtdRJpLsBR59J7tdQin26g9l3AtfScPQnwU AHwUWlPZdXpVN40fJ7Rh8L9iJEfiUIhAOvNQdIlCoOb8/11yFF4clr4BTrB/Pztc 1O1/iQKUI2KkE/avJCFKENPV2a1GOmUBv54QBiXoRXGlt5bs6xo3D+A1spTvWEay 4nWYf2jR+F+9vPsM+17QilphhhzQJ2ow6uOZchZ3VJNa7DUAPuTTyfeBKVcGxngM l8LikbZ4kFnWVIkq8kIT =7agn -----END PGP SIGNATURE----- --Sig_/ll/VBt3LHYJGmFY_WejDEPg-- From owner-freebsd-questions@FreeBSD.ORG Fri Feb 11 18:47:49 2011 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 5D4C3106564A for ; Fri, 11 Feb 2011 18:47:49 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout022.mac.com (asmtpout022.mac.com [17.148.16.97]) by mx1.freebsd.org (Postfix) with ESMTP id 441C18FC19 for ; Fri, 11 Feb 2011 18:47:49 +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 asmtp022.mac.com (Oracle Communications Messaging Exchange Server 7u4-20.01 64bit (built Nov 21 2010)) with ESMTPSA id <0LGG00MSFUVHWM90@asmtp022.mac.com> for freebsd-questions@freebsd.org; Fri, 11 Feb 2011 10:47:42 -0800 (PST) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2011-02-11_06:2011-02-11, 2011-02-11, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1012030000 definitions=main-1102110092 From: Chuck Swiger In-reply-to: <20110211221648.03c65a04@dijkstra> Date: Fri, 11 Feb 2011 10:47:41 -0800 Message-id: <18EFD10D-D2E4-490C-B7EB-D61656C91FB8@mac.com> References: <20110211221648.03c65a04@dijkstra> To: "Christopher J. Ruwe" X-Mailer: Apple Mail (2.1082) X-Mailman-Approved-At: Fri, 11 Feb 2011 18:54:55 +0000 Cc: freebsd-questions@freebsd.org Subject: Re: system clock running 2h early although ntpd enabled 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, 11 Feb 2011 18:47:49 -0000 On Feb 11, 2011, at 1:16 PM, Christopher J. Ruwe wrote: > My ntp.conf consists of > > server ntp1.ptb.de prefer > server ntp2.ptb.de > restrict default ignore > restrict 127.0.0.1 > > Surely, I must be missing something. Does anybody have an idea? What does "ntpq -p -c rv" indicate? It wouldn't surprise me if you needed to remove the "restrict default ignore" line, or needed to add "restrict ntp1.ptb.de".... Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Fri Feb 11 19:07:51 2011 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 DACE61065670 for ; Fri, 11 Feb 2011 19:07:51 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from cpoproxy1-pub.bluehost.com (cpoproxy1-pub.bluehost.com [69.89.21.11]) by mx1.freebsd.org (Postfix) with SMTP id A42F98FC15 for ; Fri, 11 Feb 2011 19:07:51 +0000 (UTC) Received: (qmail 23263 invoked by uid 0); 11 Feb 2011 19:07:51 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy1.bluehost.com with SMTP; 11 Feb 2011 19:07:51 -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=CKu0f0UI7njYdJjuQeXcQT04hCDzUfy04rx3UGFPPEoXr4VZ98UVShyO7WrJbIxOiIULaZvgm7bKjyGpNVXjnFy2nPUWbs4aMeqbjZgBE5LQeSW1FbAKqLlnJYpSE2tE; 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 1PnyLN-0003dv-PK for freebsd-questions@freebsd.org; Fri, 11 Feb 2011 12:07:51 -0700 Received: by kukaburra.hydra (sSMTP sendmail emulation); Fri, 11 Feb 2011 11:57:38 -0700 Date: Fri, 11 Feb 2011 11:57:38 -0700 From: Chad Perrin To: FreeBSD Mailing List Message-ID: <20110211185738.GB45708@guilt.hydra> Mail-Followup-To: FreeBSD Mailing List References: <4D550415.8060105@ifdnrg.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="UHN/qo2QbUvPLonB" Content-Disposition: inline In-Reply-To: <4D550415.8060105@ifdnrg.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} Subject: Re: FreeBSD and SSD drives 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, 11 Feb 2011 19:07:51 -0000 --UHN/qo2QbUvPLonB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 11, 2011 at 09:40:37AM +0000, Paul Macdonald wrote: >=20 > I'd be interested to here peoples opinions on best uses for SSD, general= =20 > purpose applications such as databases , webservers etc will benefit=20 > obviously, >=20 > but i'm also curious as to disk intensive applications such as mailq's,= =20 > spamassassin etc? (I presume here the lack of TRIM may degrade=20 > performance rapidly?) Ignoring the TRIM issue for a moment . . . You're probably best off saving SSD storage for cases where you have lots of reads and little to no write activity, unless you enjoy buying new SSDs a lot. Actually, let's not ignore TRIM; the work-around for lack of TRIM support on some drives is a "garbage collection" routine that exacerbates the problem of having to replace your SSDs more often if you do a lot of writes. I guess I would only use SSDs on servers in the same cases where I would let myself be talked into using MySQL -- cases where you just treat it pretty much like a read-only data store, and do not have to (safely) add or change data stored there most of the time. --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --UHN/qo2QbUvPLonB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk1VhqIACgkQ9mn/Pj01uKXr9QCZAel1cliUkAHpuBOvHp0TmVv5 2pYAnRDsjgccKU0n22fvV49XJxnw7cvT =7mOg -----END PGP SIGNATURE----- --UHN/qo2QbUvPLonB-- From owner-freebsd-questions@FreeBSD.ORG Fri Feb 11 20:13:45 2011 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 5BE161065670 for ; Fri, 11 Feb 2011 20:13:45 +0000 (UTC) (envelope-from gull@gull.us) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id EFC5B8FC12 for ; Fri, 11 Feb 2011 20:13:44 +0000 (UTC) Received: by eyf6 with SMTP id 6so1592686eyf.13 for ; Fri, 11 Feb 2011 12:13:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.14.29.68 with SMTP id h44mr914430eea.7.1297455223650; Fri, 11 Feb 2011 12:13:43 -0800 (PST) Received: by 10.14.119.1 with HTTP; Fri, 11 Feb 2011 12:13:43 -0800 (PST) X-Originating-IP: [128.95.17.60] In-Reply-To: <20110211221648.03c65a04@dijkstra> References: <20110211221648.03c65a04@dijkstra> Date: Fri, 11 Feb 2011 12:13:43 -0800 Message-ID: From: David Brodbeck To: "Christopher J. Ruwe" Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: system clock running 2h early although ntpd enabled 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, 11 Feb 2011 20:13:45 -0000 On Fri, Feb 11, 2011 at 1:16 PM, Christopher J. Ruwe wrote: > Since some weeks my local clock runs two hours early. My /etc/localtime > is a copy of /usr/share/zoneinfo/Europe/Berlin and I have set both > ntpd_enable="YES" and ntpd_sync_on_start="YES". ntpd has a sanity check -- if the clock is out by more than 1000 seconds it will give up. So you may have to manually set the clock to something close to correct before ntpd will handle it. Or pass ntpd the "-g" flag to disable the initial sanity check, if you're sure you trust your clock servers not to do something silly. From owner-freebsd-questions@FreeBSD.ORG Fri Feb 11 20:36:26 2011 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 350B5106566B for ; Fri, 11 Feb 2011 20:36:26 +0000 (UTC) (envelope-from cjr@cruwe.de) Received: from cruwe.de (t1850.greatnet.de [83.133.124.96]) by mx1.freebsd.org (Postfix) with ESMTP id 999A98FC0C for ; Fri, 11 Feb 2011 20:36:25 +0000 (UTC) Received: (qmail 28451 invoked from network); 11 Feb 2011 20:36:23 -0000 Received: from p57bdeeb5.dip.t-dialin.net (HELO dijkstra) (smtpallow@87.189.238.181) by t1850.greatnet.de with ESMTPA; 11 Feb 2011 20:36:23 -0000 Date: Fri, 11 Feb 2011 21:20:09 +0100 From: "Christopher J. Ruwe" To: freebsd-questions@freebsd.org Message-ID: <20110211212009.75800f5f@dijkstra> In-Reply-To: References: <20110211221648.03c65a04@dijkstra> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; amd64-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/EqYue3yq6AgFyUe4zHC2h_X"; protocol="application/pgp-signature" Subject: Re: system clock running 2h early although ntpd enabled 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, 11 Feb 2011 20:36:26 -0000 --Sig_/EqYue3yq6AgFyUe4zHC2h_X Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 11 Feb 2011 12:13:43 -0800 David Brodbeck wrote: > On Fri, Feb 11, 2011 at 1:16 PM, Christopher J. Ruwe > wrote: > > Since some weeks my local clock runs two hours early. > > My /etc/localtime is a copy of /usr/share/zoneinfo/Europe/Berlin > > and I have set both ntpd_enable=3D"YES" and ntpd_sync_on_start=3D"YES". >=20 > ntpd has a sanity check -- if the clock is out by more than 1000 > seconds it will give up. So you may have to manually set the clock to > something close to correct before ntpd will handle it. Or pass ntpd > the "-g" flag to disable the initial sanity check, if you're sure you > trust your clock servers not to do something silly. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" Thanks to you both. My issue turned out to be a connection of the points you made.=20 Thanks again and cheers, --=20 Christopher J. Ruwe TZ GMT + 1 --Sig_/EqYue3yq6AgFyUe4zHC2h_X Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iQIcBAEBAgAGBQJNVZoCAAoJEJTIKW/o3iwUcXgP/2sW8zVvQs/Fd3KQH5ha9/ty dRjhujZ+8lg6mliKegryoOo9M1n1qfj4+i2qt5GPLBJ+h3yYqGFtWeuI55/LMDhX fgARm0zw3DMkBWYFGFDdKug7dWQrJDBkfqo4jHi9Dnx3L3uDtOCnpMjhx+Opl8Qb X57IYd1mfjNJlnYV0PtSCjSIyMpjgYX0W6MYYmbL8Ew5LPBS9GfOxqjaKrID83O7 mceab6Gl9k6ayu4PvOQYOwRwlF2GbLA1gcnDIRUZW8gaLI/Gee300iwngUak5Ds/ RxJ9OAXlIKe01Zops4U1qjvRzRRLuEMm2remVuRZsyS9VJ8B6DHO+mzKGj+is70S HpKu7GdKOlmJJj2YBOgBsSstcnC+32qKNx+f7Zx8UCdErRu/Wsxnjq5GaeW1k4Tr BNIRVzFQgYUW0JhMe+yRFMg2Qrh0aGDfUn+nX3kO4kYPhXze/ncYUC6iDxPzuUK7 sshDvOq5bfSqwRVQND6jC8IuXjXi1XdpU3JWvG4Y69Ar54dNOXzGQkzJE0yeUuof P4gkSwv9REZ/ZTDxnFsC7TREtxhQPnKHWaRYT+FflcecOZpNRRGob6YC83DKCboe YlQZZcgh1McffWxA9wM4UMplseKEBwbAwT7oYMoKYdNtBBcXW+G12JrNTRj2dPnD UK0Gew7Ujao+hIVYh8Kx =fF4V -----END PGP SIGNATURE----- --Sig_/EqYue3yq6AgFyUe4zHC2h_X-- From owner-freebsd-questions@FreeBSD.ORG Fri Feb 11 21:51:26 2011 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 A9D141065675 for ; Fri, 11 Feb 2011 21:51:26 +0000 (UTC) (envelope-from peter@vereshagin.org) Received: from mx1.skyriver.ru (ns1.skyriver.ru [89.108.118.221]) by mx1.freebsd.org (Postfix) with ESMTP id 690448FC15 for ; Fri, 11 Feb 2011 21:51:26 +0000 (UTC) Received: from localhost (gpftor2.privacyfoundation.de [87.118.101.175]) by mx1.skyriver.ru (Postfix) with ESMTPSA id 80B755AB8 for ; Sat, 12 Feb 2011 00:33:50 +0300 (MSK) Date: Sat, 12 Feb 2011 00:51:07 +0300 From: Peter Vereshagin To: freebsd-questions@freebsd.org Message-ID: <20110211215106.GF5575@external.screwed.box> References: <4D4B5E21.5060107@comcast.net> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <4D4B5E21.5060107@comcast.net> Organization: ' X-Face: 8T>{1owI$Byj]]a; ^G]kRf*dkq>E-3':F>4ODP[#X4s"dr?^b&2G@'3lukno]A1wvJ_L(~u 6>I2ra/<,j1%@C[LN=>p#_}RIV+#:KTszp-X$bQOj,K Subject: Re: Scanner recommendation 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, 11 Feb 2011 21:51:26 -0000 Nothing to do oh, freebsd-questions stay in bat! 2011/02/03 18:02:09 -0800 Rem P Roberti => To FreeBSD : RPR> Now that I understand how to get a scanner working, if there are any RPR> photographers out there who are using scanners with FreeBSD for RPR> negatives or slides I would love to hear a recommendation. I have an RPR> Epson V500, but it is unsupported, and the only scanner that I have that RPR> is supported is an old HP Scanjet 3970, which is a poor scanner for RPR> doing negatives or slides. epson perfection 3490 scans my 35mm negatives from xsane. 73! Peter pgp: A0E26627 (4A42 6841 2871 5EA7 52AB 12F8 0CE1 4AAC A0E2 6627) -- http://vereshagin.org From owner-freebsd-questions@FreeBSD.ORG Fri Feb 11 22:01:11 2011 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 6CBE7106566C for ; Fri, 11 Feb 2011 22:01:11 +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 F31698FC0C for ; Fri, 11 Feb 2011 22:01:10 +0000 (UTC) Received: by wyf19 with SMTP id 19so2968703wyf.13 for ; Fri, 11 Feb 2011 14:01:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:date:from:to:subject:message-id:in-reply-to :references:x-mailer:mime-version:content-type :content-transfer-encoding; bh=N4rr/d1bT37pgpecChstwc+TibjcV8FUNhvi/ucfbXw=; b=MbGbgndHpTqn5dTMhkMlAk5h6DbxSS+P7F8UGWTY6het9k71we5AaExwenYn7J247Q HXN9p4vde/1QKf5TVFRSJHk0zeTYU9HSDKvUUfQwfmAijXvkmqo7EBqOYLAwl/x38e+o RthOMCJy50jvph/CLMul/QVelZ5C6HCu6u1Os= 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=F7uEkutzzTJaV7ylQk5IQw7fIeycO/RbuCvVc/o7woh2DGaEXtdKezAFkcN+OaE5N7 9qhU3qvAl7CAmZozB5RAIMr4fJDDcuCeZaQSxjpGla2NKnw5xc/vApbm6vaJotu0hJmP vKul91coIjkBzLoUf8xI/VTYh2zBZ6CpvdImk= Received: by 10.216.19.133 with SMTP id n5mr1012184wen.83.1297461669903; Fri, 11 Feb 2011 14:01:09 -0800 (PST) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk [87.194.105.247]) by mx.google.com with ESMTPS id r6sm609689weq.20.2011.02.11.14.01.08 (version=SSLv3 cipher=OTHER); Fri, 11 Feb 2011 14:01:09 -0800 (PST) Date: Fri, 11 Feb 2011 22:01:06 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20110211220106.766288e5@gumby.homeunix.com> In-Reply-To: References: <20110211221648.03c65a04@dijkstra> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; i386-portbld-freebsd8.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: system clock running 2h early although ntpd enabled 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, 11 Feb 2011 22:01:11 -0000 On Fri, 11 Feb 2011 12:13:43 -0800 David Brodbeck wrote: > On Fri, Feb 11, 2011 at 1:16 PM, Christopher J. Ruwe > wrote: > > Since some weeks my local clock runs two hours early. > > My /etc/localtime is a copy of /usr/share/zoneinfo/Europe/Berlin > > and I have set both ntpd_enable="YES" and ntpd_sync_on_start="YES". > > ntpd has a sanity check -- if the clock is out by more than 1000 > seconds it will give up. So you may have to manually set the clock to > something close to correct before ntpd will handle it. Or pass ntpd > the "-g" flag to disable the initial sanity check, That's what ntpd_sync_on_start="YES" does. From owner-freebsd-questions@FreeBSD.ORG Fri Feb 11 23:22:58 2011 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 CF406106566C for ; Fri, 11 Feb 2011 23:22:58 +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 6351E8FC0C for ; Fri, 11 Feb 2011 23:22:58 +0000 (UTC) Received: by ewy24 with SMTP id 24so1651942ewy.13 for ; Fri, 11 Feb 2011 15:22:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:references:date:message-id :user-agent:mime-version:content-type; bh=Q4wpLPrXFP0FVfAY0rvi4l1rUtnCQZq2TOPHnp95Y0c=; b=n0YRhNmWd+g3M7yyjoJjJgbjBKNKCO7ZxAFlGgChh+Fl/kP8du/VMMOxkL+rjZW2Cv iwEN4GNW8PJhg69WJUNGwD0SK2LlXzuZIi/kvnZOYYkzvGvkbLwMU39BadkpmxZFAoHA GmUpmjNu0pVWw4GahEn1pjnTFbQ0uV+HDMLNw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:message-id:user-agent :mime-version:content-type; b=ZEFOUygWzJOrPi1iPw6JJ2Cccmpf2UwvyZ6yYjk84ehRy+YWCxnU/t3NKNHyNHrzkA rfS9B21H0fJtUmYVPdzIrt5IKo70rkm+Whqusghbblhsh+hDP2kdsiTnmINrAo0moPmw 1e4ARkQ3E9FoZ2X08VWKwK97IZSSLKBhAHrdY= Received: by 10.213.32.66 with SMTP id b2mr1088675ebd.34.1297466577100; Fri, 11 Feb 2011 15:22:57 -0800 (PST) Received: from localhost (zeller.torservers.net [74.120.12.135]) by mx.google.com with ESMTPS id t5sm1173573eeh.20.2011.02.11.15.22.52 (version=SSLv3 cipher=OTHER); Fri, 11 Feb 2011 15:22:55 -0800 (PST) From: Anonymous To: David Demelier References: <4D50F6F8.6070100@gmail.com> <86k4h8arby.fsf@gmail.com> <4D54E869.5050508@gmail.com> Date: Sat, 12 Feb 2011 02:22:46 +0300 Message-ID: <86hbca9mwp.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 Cc: freebsd-questions@freebsd.org Subject: Re: VESA and SDL in tty terminal 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, 11 Feb 2011 23:22:58 -0000 David Demelier writes: > On 10/02/2011 15:37, Anonymous wrote: >> David Demelier writes: >> >>> Hello, >>> >>> The SDL's pkg-message says we can use video driver in tty terminal. >>> >>> To do this you have to load the vesa kernel module or enable it in your >>> kernel, and set environment variable "SDL_VIDEODRIVER=vgl". >>> >>> I tried it with mplayer : >>> >>> $ SDL_VIDEODRIVER=vgl; export SDL_VIDEODRIVER >>> $ mplayer -vo sdl >> [...] >>> [VO_SDL] Set_fullmode: SDL_SetVideoMode failed: Unable to switch to >>> requested mode. >> >> IIRC, vgl(3) mode setting unlike vidcontrol(8) doesn't work as regular user. >> Try running mplayer under root [...] > Hi it works fine except after leaving mplayer or any SDL application > my tty seems broken. I can't switch to a tty anymore my screen stays > black and I must reboot/shutdown (no panic) I'd try changing ttyvN using chvt[1], e.g. $ sudo mplayer ...; sleep 2 && sudo chvt 1 And as mode-setting is somewhat buggy I'd suggest to start with the least problematic mode, i.e. mode# flags type size font window linear buffer 24 (0x018) 0x00000001 T 80x25 8x16 0xb8000 32k 32k 0x00000000 32k and scaling every video to the desired resolution using vf_scale [vo.sdl] #fs = false # implied #vm = false # implied # 1600x1200 (native) is broken, downscale vf-add = scale=1270:-2 vf-add = scale=-2:1020::::::1 [1] http://lists.debian.org/debian-bsd/2009/11/msg00006.html the one I use - http://pastebin.com/f7ycYyxe > Are you encountering the same issue? There is no way to use vgl as > regular user or we could open a PR for it? From owner-freebsd-questions@FreeBSD.ORG Sat Feb 12 00:14:25 2011 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 266511065672 for ; Sat, 12 Feb 2011 00:14:25 +0000 (UTC) (envelope-from demelier.david@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 AB5368FC1E for ; Sat, 12 Feb 2011 00:14:24 +0000 (UTC) Received: by fxm16 with SMTP id 16so3555123fxm.13 for ; Fri, 11 Feb 2011 16:14:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=0E6YjNpNWR7RLZwWKmlYhcDzp5OqzRT+lfXfSP2iaYU=; b=LUZjyT7n++cDhvyQPAwek85r4QOnXicnfEn+v4IhVml3QyvTff7Yg/P52/8N2YSNBz PWUF4qhctLPZzJjK6iw77x3YMMPSa0XIwMJmyN41gJHXm9LNO++RmCxsA1Jfevs44NiR 02wSVVMriiViYNHRppcsifKwYJLaYQl07FNBg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=PO2ne3SZAJohJ6Ic7gf6DNHHghFpB+Hm/ezp68ahCuIWQo+JTH1qsOV7c0kxyCgHDR ysZdLXgKO5xaVkKQ0bKusCLcgNVAYsnelQT2DxzTB7uyIu9Wg0sqDn/3CDWyQ5WRSb4T LMue9AE9Ia36kBhE47Q8ABoNI6s09//5nsPWw= Received: by 10.223.98.204 with SMTP id r12mr186040fan.102.1297410176905; Thu, 10 Feb 2011 23:42:56 -0800 (PST) Received: from Melon.malikania.fr (wifi-osiris-sec-182-223.u-strasbg.fr [130.79.182.223]) by mx.google.com with ESMTPS id 17sm180896far.43.2011.02.10.23.42.54 (version=SSLv3 cipher=OTHER); Thu, 10 Feb 2011 23:42:55 -0800 (PST) Message-ID: <4D54E869.5050508@gmail.com> Date: Fri, 11 Feb 2011 08:42:33 +0100 From: David Demelier User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20110125 Thunderbird/3.1.7 MIME-Version: 1.0 To: Anonymous References: <4D50F6F8.6070100@gmail.com> <86k4h8arby.fsf@gmail.com> In-Reply-To: <86k4h8arby.fsf@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: VESA and SDL in tty terminal 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, 12 Feb 2011 00:14:25 -0000 On 10/02/2011 15:37, Anonymous wrote: > David Demelier writes: > >> Hello, >> >> The SDL's pkg-message says we can use video driver in tty terminal. >> >> To do this you have to load the vesa kernel module or enable it in your >> kernel, and set environment variable "SDL_VIDEODRIVER=vgl". >> >> I tried it with mplayer : >> >> $ SDL_VIDEODRIVER=vgl; export SDL_VIDEODRIVER >> $ mplayer -vo sdl > [...] >> [VO_SDL] Set_fullmode: SDL_SetVideoMode failed: Unable to switch to >> requested mode. > > IIRC, vgl(3) mode setting unlike vidcontrol(8) doesn't work as regular user. > Try running mplayer under root, e.g. > > $ sudo mplayer -msgmodule -msglevel vo=9 -vo sdl > [...] > DEMUX: VIDEO: [avc1] 1280x720 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s) > VIDEOOUT: SDL: Opening Plugin > VIDEOOUT: [VO_SDL] Using driver: vgl. > VIDEOOUT: X11 opening display: > VIDEOOUT: vo: couldn't open the X11 display ()! > [...] > CPLAYER: Starting playback... > CPLAYER: Movie-Aspect is 1.78:1 - prescaling to correct movie aspect. > CPLAYER: VO: [sdl] 1280x720 => 1280x720 Planar YV12 > VIDEOOUT: SDL: Using 0x32315659 (Planar YV12) image format > VIDEOOUT: SDL: using hardware-surface > VIDEOOUT: SDL: setting zoomed fullscreen with modeswitching > VIDEOOUT: SDL Mode: 0: 1600 x 1200 > VIDEOOUT: SDL Mode: 1: 1280 x 1024 > VIDEOOUT: SDL Mode: 2: 1024 x 768 > VIDEOOUT: SDL Mode: 3: 800 x 600 > VIDEOOUT: SDL Mode: 4: 640 x 400 > VIDEOOUT: SDL Mode: 5: 640 x 480 > VIDEOOUT: SDL Mode: 6: 320 x 240 > VIDEOOUT: SDL Mode: 7: 320 x 400 > VIDEOOUT: SDL Mode: 8: 320 x 200 > VIDEOOUT: SET SDL Mode: 1: 1280 x 1024 > > In case your keymap doesn't work under vo_sdl(vgl) try below workaround > > %% > Index: multimedia/mplayer/files/patch-vgl-xlate_keys > =================================================================== > RCS file: multimedia/mplayer/files/patch-vgl-xlate_keys > diff -N multimedia/mplayer/files/patch-vgl-xlate_keys > --- /dev/null 1 Jan 1970 00:00:00 -0000 > +++ multimedia/mplayer/files/patch-vgl-xlate_keys 10 Feb 2011 14:34:43 -0000 > @@ -0,0 +1,62 @@ > + use character codes for vgl driver > + > +--- configure~ > ++++ configure > +@@ -4579,6 +4579,19 @@ EOF > + fi > + fi > + if test "$_sdl" = yes ; then > ++ cat> $TMPC<< EOF > ++#ifdef CONFIG_SDL_SDL_H > ++#include > ++#else > ++#include > ++#endif > ++int main(void) { SDL_VIDEO_DRIVER_VGL; return 0; } > ++EOF > ++ if cc_check -DCONFIG_SDL_SDL_H $_inc_tmp -lvgl || cc_check $_inc_tmp -lvgl ; then > ++ _ld_tmp="$_ld_tmp -lvgl" > ++ fi > ++fi > ++if test "$_sdl" = yes ; then > + def_sdl='#define CONFIG_SDL 1' > + extra_cflags="$extra_cflags $_inc_tmp" > + libs_mplayer="$libs_mplayer $_ld_tmp" > +--- libvo/sdl_common.c~ > ++++ libvo/sdl_common.c > +@@ -27,6 +27,11 @@ > + #include "input/mouse.h" > + #include "video_out.h" > + > ++#ifdef SDL_VIDEO_DRIVER_VGL > ++#include > ++#include > ++#endif > ++ > + static int old_w; > + static int old_h; > + static int mode_flags; > +@@ -44,6 +49,9 @@ int vo_sdl_init(void) > + SDL_EnableKeyRepeat(SDL_DEFAULT_REPEAT_DELAY, 100 /*SDL_DEFAULT_REPEAT_INTERVAL*/); > + > + // Easiest way to get uppercase characters > ++#ifdef SDL_VIDEO_DRIVER_VGL > ++ VGLKeyboardInit(VGL_XLATEKEYS); > ++#endif > + SDL_EnableUNICODE(1); > + > + // We don't want those in our event queue. > +@@ -56,8 +64,12 @@ int vo_sdl_init(void) > + > + void vo_sdl_uninit(void) > + { > +- if (SDL_WasInit(SDL_INIT_VIDEO)) > ++ if (SDL_WasInit(SDL_INIT_VIDEO)) { > ++#ifdef SDL_VIDEO_DRIVER_VGL > ++ VGLKeyboardInit(VGL_CODEKEYS); > ++#endif > + SDL_QuitSubSystem(SDL_INIT_VIDEO); > ++ } > + } > + > + void vo_sdl_fullscreen(void) > %% Hi it works fine except after leaving mplayer or any SDL application my tty seems broken. I can't switch to a tty anymore my screen stays black and I must reboot/shutdown (no panic) Are you encountering the same issue? There is no way to use vgl as regular user or we could open a PR for it? Cheers, -- David Demelier From owner-freebsd-questions@FreeBSD.ORG Sat Feb 12 00:21:29 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 61EB7106566B; Sat, 12 Feb 2011 00:21:29 +0000 (UTC) Date: Sat, 12 Feb 2011 00:21:29 +0000 From: Alexander Best To: freebsd-questions@freebsd.org Message-ID: <20110212002129.GA95360@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Subject: deciphering top(1) output 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, 12 Feb 2011 00:21:29 -0000 hi there, i'm trying to decipher the following top(1) output: otaku% top -PSHb -d2 last pid: 14206; load averages: 0.02, 0.04, 0.00 up 1+02:08:58 01:13:21 256 processes: 3 running, 238 sleeping, 15 waiting Mem: 1356M Active, 141M Inact, 342M Wired, 79M Cache, 212M Buf, 44M Free Swap: 18G Total, 692M Used, 17G Free, 3% Inuse PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND 10 root 155 ki31 0K 32K RUN 1 21.9H 100.00% {idle: cpu1} 10 root 155 ki31 0K 32K CPU0 0 21.6H 97.85% {idle: cpu0} 4451 arundel 21 0 913M 179M uwait 0 28:35 0.00% {chrome} 4446 arundel 20 0 836M 60040K uwait 0 26:26 0.00% {chrome} 4476 arundel 21 0 854M 100M uwait 0 24:52 0.00% {chrome} 4448 arundel 22 0 866M 109M uwait 0 23:57 0.00% {chrome} 4474 arundel 21 0 840M 70796K uwait 0 23:29 0.00% {chrome} 4475 arundel 20 0 827M 81872K uwait 0 22:37 0.00% {chrome} 4471 arundel 20 0 822M 61652K uwait 0 21:55 0.00% {chrome} 4442 arundel 21 0 824M 62872K uwait 0 21:46 0.00% {chrome} 4447 arundel 21 0 815M 61420K uwait 0 21:32 0.00% {chrome} 4450 arundel 21 0 809M 60240K uwait 0 21:21 0.00% {chrome} 2007 arundel 20 0 880M 12780K select 1 20:39 0.00% Xorg 4452 arundel 20 0 205M 30016K select 0 12:58 0.00% {initial thread} 4414 arundel 20 0 334M 96560K kqread 1 11:00 0.00% {chrome} 4414 arundel 20 0 334M 96560K select 1 9:40 0.00% {initial thread} 4472 arundel 20 0 1111M 530M futex 1 8:21 0.00% npviewer.bin 11 root -96 - 0K 240K WAIT 0 7:57 0.00% {irq16: vgapci0+} last pid: 14206; load averages: 0.02, 0.04, 0.00 up 1+02:09:00 01:13:23 256 processes: 4 running, 238 sleeping, 14 waiting CPU 0: 8.7% user, 0.0% nice, 4.3% system, 0.4% interrupt, 86.6% idle CPU 1: 7.1% user, 0.0% nice, 3.5% system, 0.0% interrupt, 89.4% idle Mem: 1358M Active, 141M Inact, 342M Wired, 79M Cache, 212M Buf, 42M Free Swap: 18G Total, 692M Used, 17G Free, 3% Inuse PID USERNAME PRI NICE SIZE RES STATE C TIME WCPU COMMAND 10 root 155 ki31 0K 32K RUN 1 21.9H 100.00% {idle: cpu1} 10 root 155 ki31 0K 32K CPU0 0 21.6H 98.00% {idle: cpu0} 4451 arundel 21 0 913M 179M uwait 0 28:35 0.00% {chrome} 4446 arundel 20 0 836M 60292K uwait 0 26:26 0.00% {chrome} 4476 arundel 21 0 854M 101M uwait 0 24:52 0.00% {chrome} 4448 arundel 21 0 866M 109M uwait 0 23:57 0.00% {chrome} 4474 arundel 20 0 840M 71492K uwait 1 23:29 0.00% {chrome} 4475 arundel 20 0 827M 81876K uwait 1 22:38 0.00% {chrome} 4471 arundel 21 0 822M 61652K uwait 0 21:55 0.00% {chrome} 4442 arundel 21 0 824M 62872K uwait 0 21:46 0.00% {chrome} 4447 arundel 21 0 815M 61420K uwait 1 21:32 0.00% {chrome} 4450 arundel 21 0 809M 60240K uwait 0 21:21 0.00% {chrome} 2007 arundel 20 0 880M 12780K select 1 20:39 0.00% Xorg 4452 arundel 20 0 205M 30016K select 0 12:58 0.00% {initial thread} 4414 arundel 20 0 334M 96560K kqread 0 11:00 0.00% {chrome} 4414 arundel 20 0 334M 96560K select 0 9:40 0.00% {initial thread} 4472 arundel 20 0 1111M 530M futex 1 8:21 0.00% npviewer.bin 11 root -96 - 0K 240K WAIT 0 7:57 0.00% {irq16: vgapci0+} does this mean that a) my system is 100% idle, since no processes except the idle process takes up up CPU time or b) that a or some processes take up 2% CPU time which aren't being shown or c) that each of my cpu core is only 86.6/89.4% idle? cheers. alex -- a13x From owner-freebsd-questions@FreeBSD.ORG Sat Feb 12 00:33:26 2011 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 BD634106566B for ; Sat, 12 Feb 2011 00:33:26 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout023.mac.com (asmtpout023.mac.com [17.148.16.98]) by mx1.freebsd.org (Postfix) with ESMTP id A69B18FC15 for ; Sat, 12 Feb 2011 00:33:26 +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 asmtp023.mac.com (Oracle Communications Messaging Exchange Server 7u4-20.01 64bit (built Nov 21 2010)) with ESMTPSA id <0LGH002MCAVK3K40@asmtp023.mac.com>; Fri, 11 Feb 2011 16:33:21 -0800 (PST) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2011-02-11_09:2011-02-11, 2011-02-11, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1012030000 definitions=main-1102110154 From: Chuck Swiger In-reply-to: <20110212002129.GA95360@freebsd.org> Date: Fri, 11 Feb 2011 16:33:20 -0800 Message-id: <2F104DA0-9420-4E7A-9023-A7C6AC5EC173@mac.com> References: <20110212002129.GA95360@freebsd.org> To: Alexander Best X-Mailer: Apple Mail (2.1082) Cc: freebsd-questions@freebsd.org Subject: Re: deciphering top(1) output 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, 12 Feb 2011 00:33:26 -0000 On Feb 11, 2011, at 4:21 PM, Alexander Best wrote: > a) my system is 100% idle, since no processes except the idle process takes up > up CPU time or > b) that a or some processes take up 2% CPU time which aren't being shown or > c) that each of my cpu core is only 86.6/89.4% idle? It means (c). Kernel activity, short-lived transient processes, and imperfections in sampling data are the other ~13 / 10 %.... Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Sat Feb 12 00:41:00 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 8E89C1065670; Sat, 12 Feb 2011 00:41:00 +0000 (UTC) Date: Sat, 12 Feb 2011 00:41:00 +0000 From: Alexander Best To: Chuck Swiger Message-ID: <20110212004100.GA98882@freebsd.org> References: <20110212002129.GA95360@freebsd.org> <2F104DA0-9420-4E7A-9023-A7C6AC5EC173@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2F104DA0-9420-4E7A-9023-A7C6AC5EC173@mac.com> Cc: freebsd-questions@freebsd.org Subject: Re: deciphering top(1) output 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, 12 Feb 2011 00:41:00 -0000 On Fri Feb 11 11, Chuck Swiger wrote: > On Feb 11, 2011, at 4:21 PM, Alexander Best wrote: > > a) my system is 100% idle, since no processes except the idle process takes up > > up CPU time or > > b) that a or some processes take up 2% CPU time which aren't being shown or > > c) that each of my cpu core is only 86.6/89.4% idle? > > It means (c). Kernel activity, short-lived transient processes, and imperfections in sampling data are the other ~13 / 10 %.... thanks. it seems in some cases these imperfections have quite an impact: last pid: 48135; load averages: 5.11, 5.38, 5.02 up 0+03:15:20 19:31:52 271 processes: 15 running, 242 sleeping, 14 waiting CPU 0: 76.4% user, 0.0% nice, 21.7% system, 2.0% interrupt, 0.0% idle CPU 1: 85.0% user, 0.0% nice, 12.6% system, 2.4% interrupt, 0.0% idle Mem: 1078M Active, 334M Inact, 403M Wired, 79M Cache, 212M Buf, 68M Free Swap: 18G Total, 438M Used, 18G Free, 2% Inuse PID UID THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 48131 0 1 77 0 92112K 67164K CPU1 1 0:02 17.77% cc1 48135 0 1 76 0 90992K 65712K RUN 0 0:01 15.87% cc1 2222 1001 1 26 0 1150M 57000K select 1 14:13 7.28% npviewer.bin 2210 1001 2 20 0 199M 45952K kqread 0 2:38 1.37% chrome 10 0 2 155 ki31 0K 32K RUN 0 89:55 1.27% idle 2249 1001 2 20 0 828M 82864K kqread 1 2:12 0.10% chrome 2247 1001 2 20 0 846M 84424K kqread 0 0:25 0.10% chrome 48133 0 1 20 0 13916K 2380K CPU0 1 0:00 0.10% top 2171 1001 23 20 0 327M 121M uwait 1 12:11 0.00% chrome 2151 1001 1 20 0 881M 15400K select 0 6:35 0.00% Xorg 2203 1001 2 20 0 889M 148M kqread 1 5:07 0.00% chrome 2235 1001 2 20 0 855M 116M kqread 0 4:51 0.00% chrome 2231 1001 2 20 0 847M 99464K kqread 0 4:47 0.00% chrome 2208 1001 2 20 0 853M 103M kqread 0 4:38 0.00% chrome cheers. alex > > Regards, > -- > -Chuck > -- a13x From owner-freebsd-questions@FreeBSD.ORG Sat Feb 12 00:44:52 2011 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 83A06106566C; Sat, 12 Feb 2011 00:44:52 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout027.mac.com (asmtpout027.mac.com [17.148.16.102]) by mx1.freebsd.org (Postfix) with ESMTP id 6ABDD8FC08; Sat, 12 Feb 2011 00:44:52 +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 asmtp027.mac.com (Oracle Communications Messaging Exchange Server 7u4-18.01 64bit (built Jul 15 2010)) with ESMTPSA id <0LGH0038FBEGUK40@asmtp027.mac.com>; Fri, 11 Feb 2011 16:44:41 -0800 (PST) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2011-02-11_09:2011-02-11, 2011-02-11, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=2 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1012030000 definitions=main-1102110155 From: Chuck Swiger In-reply-to: <20110212004100.GA98882@freebsd.org> Date: Fri, 11 Feb 2011 16:44:40 -0800 Message-id: <2325F972-050A-4CA2-9900-27000776E52A@mac.com> References: <20110212002129.GA95360@freebsd.org> <2F104DA0-9420-4E7A-9023-A7C6AC5EC173@mac.com> <20110212004100.GA98882@freebsd.org> To: Alexander Best X-Mailer: Apple Mail (2.1082) Cc: freebsd-questions@freebsd.org Subject: Re: deciphering top(1) output 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, 12 Feb 2011 00:44:52 -0000 On Feb 11, 2011, at 4:41 PM, Alexander Best wrote: >> It means (c). Kernel activity, short-lived transient processes, and imperfections in sampling data are the other ~13 / 10 %.... > > thanks. it seems in some cases these imperfections have quite an impact: > > last pid: 48135; load averages: 5.11, 5.38, 5.02 up 0+03:15:20 19:31:52 > 271 processes: 15 running, 242 sleeping, 14 waiting > CPU 0: 76.4% user, 0.0% nice, 21.7% system, 2.0% interrupt, 0.0% idle > CPU 1: 85.0% user, 0.0% nice, 12.6% system, 2.4% interrupt, 0.0% idle > Mem: 1078M Active, 334M Inact, 403M Wired, 79M Cache, 212M Buf, 68M Free > Swap: 18G Total, 438M Used, 18G Free, 2% Inuse > > PID UID THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND > 48131 0 1 77 0 92112K 67164K CPU1 1 0:02 17.77% cc1 > 48135 0 1 76 0 90992K 65712K RUN 0 0:01 15.87% cc1 Sure. Compiling software is a classic example where lots and lots of CPU intensive, short-lived processes are started. Pay attention to last pid field; if it is steadily growing, especially at a rapid rate, lots of processes are spawning.... Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Sat Feb 12 01:08:16 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id AC041106566B; Sat, 12 Feb 2011 01:08:16 +0000 (UTC) Date: Sat, 12 Feb 2011 01:08:16 +0000 From: Alexander Best To: Chuck Swiger Message-ID: <20110212010816.GA1450@freebsd.org> References: <20110212002129.GA95360@freebsd.org> <2F104DA0-9420-4E7A-9023-A7C6AC5EC173@mac.com> <20110212004100.GA98882@freebsd.org> <2325F972-050A-4CA2-9900-27000776E52A@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2325F972-050A-4CA2-9900-27000776E52A@mac.com> Cc: freebsd-questions@freebsd.org Subject: Re: deciphering top(1) output 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, 12 Feb 2011 01:08:16 -0000 On Fri Feb 11 11, Chuck Swiger wrote: > On Feb 11, 2011, at 4:41 PM, Alexander Best wrote: > >> It means (c). Kernel activity, short-lived transient processes, and imperfections in sampling data are the other ~13 / 10 %.... > > > > thanks. it seems in some cases these imperfections have quite an impact: > > > > last pid: 48135; load averages: 5.11, 5.38, 5.02 up 0+03:15:20 19:31:52 > > 271 processes: 15 running, 242 sleeping, 14 waiting > > CPU 0: 76.4% user, 0.0% nice, 21.7% system, 2.0% interrupt, 0.0% idle > > CPU 1: 85.0% user, 0.0% nice, 12.6% system, 2.4% interrupt, 0.0% idle > > Mem: 1078M Active, 334M Inact, 403M Wired, 79M Cache, 212M Buf, 68M Free > > Swap: 18G Total, 438M Used, 18G Free, 2% Inuse > > > > PID UID THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND > > 48131 0 1 77 0 92112K 67164K CPU1 1 0:02 17.77% cc1 > > 48135 0 1 76 0 90992K 65712K RUN 0 0:01 15.87% cc1 > > Sure. Compiling software is a classic example where lots and lots of CPU intensive, short-lived processes are started. Pay attention to last pid field; if it is steadily growing, especially at a rapid rate, lots of processes are spawning.... thanks for the hint. in this example however $pid didn't get incremented for over a minute: last pid: 14412; load averages: 0.09, 0.26, 0.29 253 processes: 3 running, 235 sleeping, 15 waiting CPU 0: 12.6% user, 0.0% nice, 7.9% system, 0.4% interrupt, 79.1% idle CPU 1: 13.8% user, 0.0% nice, 5.9% system, 0.0% interrupt, 80.3% idle Mem: 602M Active, 275M Inact, 407M Wired, 8688K Cache, 212M Buf, 669M Free Swap: 18G Total, 910M Used, 17G Free, 4% Inuse, 4K In PID USERNAME THR PRI NICE SIZE RES STATE C TIME WCPU COMMAND 10 root 2 155 ki31 0K 32K CPU0 0 44.7H 198.88% idle 4414 arundel 24 20 0 334M 93080K uwait 0 34:56 0.00% chrome 4451 arundel 2 20 0 905M 100M kqread 0 30:12 0.00% chrome 4446 arundel 2 20 0 836M 53152K kqread 1 28:41 0.00% chrome also i noticed that when a processes CPU activity goes up to let's say 10% and then down again to 0% this doesn't mean that the idle process will jump to 200% instantly, but it takes ~ 10 seconds for it to reclaim the CPU activity that was used by the other process beforehand. cheers. alex > > Regards, > -- > -Chuck -- a13x From owner-freebsd-questions@FreeBSD.ORG Sat Feb 12 01:12:16 2011 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 0983C106566B; Sat, 12 Feb 2011 01:12:16 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout027.mac.com (asmtpout027.mac.com [17.148.16.102]) by mx1.freebsd.org (Postfix) with ESMTP id E367C8FC0C; Sat, 12 Feb 2011 01:12:15 +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 asmtp027.mac.com (Oracle Communications Messaging Exchange Server 7u4-18.01 64bit (built Jul 15 2010)) with ESMTPSA id <0LGH0033LCNLG790@asmtp027.mac.com>; Fri, 11 Feb 2011 17:11:46 -0800 (PST) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2011-02-11_09:2011-02-11, 2011-02-11, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1012030000 definitions=main-1102110159 From: Chuck Swiger In-reply-to: <20110212010816.GA1450@freebsd.org> Date: Fri, 11 Feb 2011 17:11:45 -0800 Message-id: <8358B2AB-F262-4863-A5B0-FF1A08EA5BBE@mac.com> References: <20110212002129.GA95360@freebsd.org> <2F104DA0-9420-4E7A-9023-A7C6AC5EC173@mac.com> <20110212004100.GA98882@freebsd.org> <2325F972-050A-4CA2-9900-27000776E52A@mac.com> <20110212010816.GA1450@freebsd.org> To: Alexander Best X-Mailer: Apple Mail (2.1082) Cc: freebsd-questions@freebsd.org Subject: Re: deciphering top(1) output 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, 12 Feb 2011 01:12:16 -0000 On Feb 11, 2011, at 5:08 PM, Alexander Best wrote: > also i noticed that when a processes CPU activity goes up to let's say 10% and > then down again to 0% this doesn't mean that the idle process will jump to 200% > instantly, but it takes ~ 10 seconds for it to reclaim the CPU activity that > was used by the other process beforehand. WCPU stands for "weighted CPU", and is an average over time. Use -C flag if you want "raw" CPU instead.... Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Sat Feb 12 01:14:39 2011 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 31E54106566C for ; Sat, 12 Feb 2011 01:14:39 +0000 (UTC) (envelope-from amvandemore@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 B75958FC08 for ; Sat, 12 Feb 2011 01:14:38 +0000 (UTC) Received: by fxm16 with SMTP id 16so3597093fxm.13 for ; Fri, 11 Feb 2011 17:14:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=pOUF5rmc4yHCsnlSZ5o7pIIbRFdntlYBwlK4keCOLFw=; b=GhD97wDDO2dr8SBdPi7yNABqkobFmKFy9URWnj/g9hTiz4f8BS0f/DEnlJYKPLzxU5 GDHFapAGFTNHDDEhZnlVqW+mwXVY4LEHGsKJJ5QYN5hd8B2cUi3DFOVdfece/w1KGqm6 OcmqxIxVYCHTtNIkBP/61s8fhBgzMm+a76yy4= 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=vjycInmb9kg/c+VrsIHiLmGg90Ku1eV59smHtEobWVpuomkZVrAWYj5VQzP9Gw8mK8 6bCMnsCreb2IOIzA/MIL3fpbWkzw7b5bKQUIubg+gtrJsKGBNHTmws180hTCt8zdNr2W K3bOtttl8jKB5cIVEdEqC2BbwKikJHTOVjyG4= MIME-Version: 1.0 Received: by 10.223.71.197 with SMTP id i5mr963336faj.127.1297452787562; Fri, 11 Feb 2011 11:33:07 -0800 (PST) Received: by 10.223.114.4 with HTTP; Fri, 11 Feb 2011 11:33:07 -0800 (PST) In-Reply-To: <20110211185738.GB45708@guilt.hydra> References: <4D550415.8060105@ifdnrg.com> <20110211185738.GB45708@guilt.hydra> Date: Fri, 11 Feb 2011 13:33:07 -0600 Message-ID: From: Adam Vande More To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: FreeBSD and SSD drives 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, 12 Feb 2011 01:14:39 -0000 On Fri, Feb 11, 2011 at 12:57 PM, Chad Perrin wrote: > Ignoring the TRIM issue for a moment . . . > > You're probably best off saving SSD storage for cases where you have lots > of reads and little to no write activity, unless you enjoy buying new > SSDs a lot. Actually, let's not ignore TRIM; the work-around for lack of > TRIM support on some drives is a "garbage collection" routine that > exacerbates the problem of having to replace your SSDs more often if you > do a lot of writes. > > I guess I would only use SSDs on servers in the same cases where I would > let myself be talked into using MySQL -- cases where you just treat it > pretty much like a read-only data store, and do not have to (safely) add > or change data stored there most of the time. > Modern SSD's can do a *lot* of writes, wear-leveling and other tecniques allow SSD's to be implemented for nearly any workload. There's a great deal of literature and facts on this topic if someone was motivated enough to research it. Some legends are better off fading away. http://www.storagesearch.com/ssdmyths-endurance.html Same thing is sort of true with TRIM, on most modern drives lack of OS TRIM support isn't the performance hit it used to be although still desirable. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Sat Feb 12 02:00:04 2011 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 2C82C106566C for ; Sat, 12 Feb 2011 02:00:04 +0000 (UTC) (envelope-from illoai@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 A0C028FC12 for ; Sat, 12 Feb 2011 02:00:03 +0000 (UTC) Received: by fxm16 with SMTP id 16so3624531fxm.13 for ; Fri, 11 Feb 2011 18:00:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=oeiTXFoigaSt5Bf5B3voCWNoMo0aR3BFWU+vLJIg5t4=; b=m33yHQHDGElZ7wnkFbUs9Z0fpWdviLdlE/bltdwGmFapHFFBSbvJxnZuG2E2qmX54t mIn/AU3/nQSniGsKNHPdISCdhLXahqls06jpFvl5uWP6h6sSpCZpq5QUkL4P/4znbZ7R uKC9hPCpgD6Cl/ToKjOUG4VTDEXqYBGo4JMis= 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:content-transfer-encoding; b=hZZvKVhWJ/jdAPTuxQWdvTcf8EqKq26RIu9CCARmgG8GxD/FH1Xo72ktoB76HSzXYs kfhbL6aB19TAM/k6qts4+iL7kOy1s1pWMXiJsjP/ImRoL8wXSpjWrf4NT5xnjCJ92fmk XKce28bcBgyZYfLDHRf9Imdomuti2qGMFtQg4= MIME-Version: 1.0 Received: by 10.223.81.70 with SMTP id w6mr306045fak.62.1297373626325; Thu, 10 Feb 2011 13:33:46 -0800 (PST) Received: by 10.223.83.15 with HTTP; Thu, 10 Feb 2011 13:33:46 -0800 (PST) In-Reply-To: References: Date: Thu, 10 Feb 2011 16:33:46 -0500 Message-ID: From: "illoai@gmail.com" To: c0re Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Subject: Re: Portupgrade and "Updating the portsdb" 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, 12 Feb 2011 02:00:04 -0000 On 10 February 2011 08:33, c0re wrote: > Hello all! > > I've got set of servers that uses NFS mounted /usr/ports. When I use > "portupgrade samba" on 1st server it says > [/usr/ports/INDEX-7.db: unexpected file type or format -- Invalid > argument] [Updating the portsdb in /usr/ports ... - > 22601 port entries found =A0error] Remove and try again. > [Updating the portsdb in /usr/ports ... - 22601 port > entries found ..... > ..... done] > > Okay. It took 10-15 mins to rebuild. > > Then I say "portupgrade samba" on 2nd server it says again > [/usr/ports/INDEX-7.db: unexpected file type or format -- Invalid > argument] [Updating the portsdb in /usr/ports ... - > 22601 port entries found =A0error] Remove and try again. > and rebuild portsdb. > > Why is it so? > > Ports are updated via "portsnap fetch update". > > /etc/portsnap.conf has > INDEX INDEX-5 DESCRIBE.5 > INDEX INDEX-6 DESCRIBE.6 > INDEX INDEX-7 DESCRIBE.7 > INDEX INDEX-8 DESCRIBE.8 > > So while portupgrade rebuilds portsdb it's not possible use > portupgrade on 2nd server because later build process will fail on 1st > or second server. > > What can I do with it? Why portupgrade always thinks that > [/usr/ports/INDEX-7.db: unexpected file type or format -- Invalid > argument]? > The INDEX-n.db is a locally generated portupgrade thing. Edit your /usr/local/etc/pkgtools.conf for each machine to include a line such as: ENV['PORTS_INDEX'] ||=3D ENV['PORTSDIR'] + '/INDEX.local' Only instead of '/INDEX.local' use '/INDEX.your_hostname_here'. You might also look at changing the part ENV['PORTSDIR'] to something local (speed, etc), like adding a line up from that: ENV['LOCALINDICES'] ||=3D '/var/db' then ENV['PORTS_INDEX'] ||=3D ENV['LOCALINDICES'] + '/INDEX.thy_hostname_here' Also, if you have local space, settin' WRKDIRPREFIX=3D in /etc/make.conf will speed things up & allow multiple machines to build at the same time. HTH --=20 -- From owner-freebsd-questions@FreeBSD.ORG Sat Feb 12 03:30:05 2011 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 90EEB106564A for ; Sat, 12 Feb 2011 03:30:05 +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 F3A098FC08 for ; Sat, 12 Feb 2011 03:30:04 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id p1C3TuEG041406; Sat, 12 Feb 2011 14:29:57 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sat, 12 Feb 2011 14:29:56 +1100 (EST) From: Ian Smith To: Eitan Adler In-Reply-To: Message-ID: <20110212140035.H96449@sola.nimnet.asn.au> References: <20110211120031.9D37510656E5@hub.freebsd.org> <20110212015155.I96449@sola.nimnet.asn.au> <1297447687.9144.6.camel@dt.vicor.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: freebsd-hackers@freebsd.org, Devin Teske , freebsd-questions@freebsd.org Subject: Re: [RELEASE] host-setup(1): a dialog(1)-based utility for configuring 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, 12 Feb 2011 03:30:05 -0000 On Fri, 11 Feb 2011, Eitan Adler wrote: > Nice Script! > I intend to steal parts of it for my own use. It's great when you can plunder without robbing anyone :) > > P.S. Maybe I ought to expand it to IPv6 considering that the IPv4 > > address space has [reportedly] finally ran out (is that true?). > > > > All the available IPs were allocated to the RIRs. AFIK the RIRs have > not had to deny anyone for insufficiency yet - but it will happen > soon. Yes Devin, best not leave it till August! For those wanting a near-obsessively detailed analysis of IPv4 depletion stats and predictions over many years, hard to go past Geoff Huston's: http://www.potaroo.net - blog http://www.potaroo.net/ispcol/2010-10/when.html - explanatory column Oct '10 http://www.potaroo.net/tools/ipv4/index.html - the modelling as of today cheers, Ian (Sorry, missed the cc to hackers@, adding questions@ back in the loop) From owner-freebsd-questions@FreeBSD.ORG Sat Feb 12 08:07:15 2011 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 015BA1065693 for ; Sat, 12 Feb 2011 08:07:15 +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 6FA918FC12 for ; Sat, 12 Feb 2011 08:07:13 +0000 (UTC) X-Spam-Status: No X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.9, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: p1C86t4M001787 Received: from gkeramidas-glaptop.linux.gr (207.47.25.82.static.nextweb.net [207.47.25.82]) (authenticated bits=0) by igloo.linux.gr (8.14.3/8.14.3/Debian-9.4) with ESMTP id p1C86t4M001787 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 12 Feb 2011 10:07:02 +0200 From: Giorgos Keramidas To: Vikash.Badal@is.co.za References: <201102102359.p1ANxEcA044340@mail.r-bonomi.com> Date: Sat, 12 Feb 2011 00:06:54 -0800 In-Reply-To: <201102102359.p1ANxEcA044340@mail.r-bonomi.com> (Robert Bonomi's message of "Thu, 10 Feb 2011 17:59:14 -0600 (CST)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-questions@freebsd.org, Robert Bonomi Subject: Re: switching from gnu make to bsd make 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, 12 Feb 2011 08:07:15 -0000 On Thu, 10 Feb 2011 17:59:14 -0600 (CST), Robert Bonomi wrote: >> From: Vikash Badal >> Date: Thu, 10 Feb 2011 11:30:02 +0200 >> Subject: RE: switching from gnu make to bsd make >> >> > -----Original Message----- >> > From: Polytropon [mailto:freebsd@edvax.de] Sent: 10 February 2011 10:11 >> > AM To: Vikash Badal Cc: freebsd-questions@freebsd.org Subject: Re: >> > switching from gnu make to bsd make >> > >> > Of course, in my testing case OBJDIR and SRCDIR are empty, and I >> > didn't define any of CC, CFLAGS, INCDIR or LIBDIR, so the defaults >> > have been chosen. >> > >> > Do you encounter a specific problem? >> >> This is my problem: >> >> vix:$ make make: don't know how to make src/%.c. Stop > > Just telling people "what happened" is *NOT* enough for intelligent > diagnosis of the problem. You also have to tell people WHAT YOU DID > that provoked the error you encountered. > > That said, dusting off my crystal ball -- which appears to be *working* > today -- you simply typed "make" at the shell prompt. > > Try typing "make all" and see what happens then. Right. this should fix the immediate problem. The 'bug' seems to be that the Makefile lists the '$(OBJDIR)/%.o' target *first*. >> this is my make file: >> >> ------------------------------------------------------------------------------ >> >> CC = cc > * LIBS = -lpthread -lmysqlclient_r >> CFLAGS = -Wall -g >> INCDIR = -Iinclude -I/usr/local/include -I/usr/local/include/mysql >> LIBDIR = -L/usr/local/lib -L/usr/local/lib/mysql >> OBJDIR = obj >> SRCDIR = src >> BINDIR = bin >> PREFIX = /usr/local/nntpd >> BINDIRFILES = ${BINDIR}/nntpd >> OBJS = ${OBJDIR}/log.o ${OBJDIR}/cleanup.o ${OBJDIR}/config.o \ >> ${OBJDIR}/leecherpool.o ${OBJDIR}/mytime.o >> ${OBJDIR}/upstream.o ${OBJDIR}/mysleep.o >> ${OBJDIR}/sql.o ${OBJDIR}/signalhandler.o >> ${OBJDIR}/list.o ${OBJDIR}/tcpserver.o >> ${OBJDIR}/listenpool.o ${OBJDIR}/workers.o \ >> ${OBJDIR}/nntpd.o >> >> $(OBJDIR)/%.o:${SRCDIR}/%.c >> ${CC} -c ${CFLAGS} ${INCDIR} ${LIBDIR} $< -o $@ >> >> all: ${OBJS} >> ${CC} -o ${BINDIR}/nntpd ${LIBS} ${CFLAGS} ${INCDIR} ${LIBDIR} \ >> ${OBJDIR}/log.o ${OBJDIR}/cleanup.o ${OBJDIR}/config.o \ >> ${OBJDIR}/leecherpool.o ${OBJDIR}/mytime.o ${OBJDIR}/nntp.o \ >> ${OBJDIR}/upstream.o ${OBJDIR}/mysleep.o ${OBJDIR}/sqlpool.o \ >> ${OBJDIR}/sql.o ${OBJDIR}/signalhandler.o ${OBJDIR}/daemon.o \ >> ${OBJDIR}/list.o ${OBJDIR}/tcpserver.o ${OBJDIR}/tmpfiles.o \ >> ${OBJDIR}/listenpool.o ${OBJDIR}/workers.o \ >> ${OBJDIR}/nntpd.o Try swapping the order of the two targets above. BSD make(1) considers the first target the 'default', so when you just type 'make' it tries to build a target named '$(OBJDIR)/%.o', which fails. From owner-freebsd-questions@FreeBSD.ORG Sat Feb 12 08:37:11 2011 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 1E199106564A for ; Sat, 12 Feb 2011 08:37:11 +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 A74788FC17 for ; Sat, 12 Feb 2011 08:37:10 +0000 (UTC) X-Spam-Status: No X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-2.9, required 5, autolearn=not spam, ALL_TRUSTED -1.00, BAYES_00 -1.90) X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-ID: p1C8aroM003469 Received: from gkeramidas-glaptop.linux.gr (207.47.25.82.static.nextweb.net [207.47.25.82]) (authenticated bits=0) by igloo.linux.gr (8.14.3/8.14.3/Debian-9.4) with ESMTP id p1C8aroM003469 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 12 Feb 2011 10:37:00 +0200 From: Giorgos Keramidas To: Vikash Badal References: <9B425C841283E0418B1825D40CBCFA615B422306F9@ZABRYSVISEXMBX1.af.didata.local> <201102102359.p1ANxEcA044340@mail.r-bonomi.com> <9B425C841283E0418B1825D40CBCFA615B42230B05@ZABRYSVISEXMBX1.af.didata.local> Date: Sat, 12 Feb 2011 00:36:52 -0800 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Cc: freebsd-questions@freebsd.org, Robert Bonomi Subject: Re: switching from gnu make to bsd make 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, 12 Feb 2011 08:37:11 -0000 On Fri, 11 Feb 2011 10:26:13 +0200, Vikash Badal wrote: > Make all produces the follow output: > > make all > cc -o bin/nntpd -lpthread -lmysqlclient_r -Wall -g -Iinclude > -I/usr/local/include -I/usr/local/include/mysql -L/usr/local/lib > -L/usr/local/lib/mysql obj/log.o obj/cleanup.o obj/config.o > obj/leecherpool.o obj/mytime.o obj/nntp.o obj/upstream.o obj/mysleep.o > obj/sqlpool.o obj/sql.o obj/signalhandler.o obj/daemon.o obj/list.o > obj/tcpserver.o obj/tmpfiles.o obj/listenpool.o obj/workers.o > obj/nntpd.o > cc: obj/log.o: No such file or directory > cc: obj/cleanup.o: No such file or directory > cc: obj/config.o: No such file or directory > cc: obj/leecherpool.o: No such file or directory > cc: obj/mytime.o: No such file or directory > cc: obj/nntp.o: No such file or directory > cc: obj/upstream.o: No such file or directory > cc: obj/mysleep.o: No such file or directory > cc: obj/sqlpool.o: No such file or directory > cc: obj/sql.o: No such file or directory > cc: obj/signalhandler.o: No such file or directory > cc: obj/daemon.o: No such file or directory > cc: obj/list.o: No such file or directory > cc: obj/tcpserver.o: No such file or directory > cc: obj/tmpfiles.o: No such file or directory > cc: obj/listenpool.o: No such file or directory > cc: obj/workers.o: No such file or directory > cc: obj/nntpd.o: No such file or directory > *** Error code 1 > > With gmake : > $(OBJDIR)/%.o:${SRCDIR}/%.c > ${CC} -c ${CFLAGS} ${INCDIR} ${LIBDIR} $< -o $@ > > This creates all the .o files I need Does gmake also create the `obj/' directory automagically? I kind of doubt that, unless the gmake folks have started doing all sorts of magic behind-your-back stuff. You have no makefile rule to create `obj/' and no dependency of all the object files to the object directory. > How do I do this with bsd make ? The canonical way of writing a program that depends on object files that _may_ live in another object directory is to use the existing makefile macros from `/usr/share/mk/bsd.*.mk'. This means you will have to re-organize your Makefile a bit though. Instead of all the hand-crafted rules you are now trying to debug, which are nice but will take ages to 'get the job done', you should probably use a Makefile like this: PROG= nntpd SRCS= cleanup.c \ config.c \ leecherpool.c \ list.c \ listenpool.c \ log.c \ mysleep.c \ mytime.c \ nntpd.c \ signalhandler.c \ sql.c \ tcpserver.c \ upstream.c \ workers.c MYSQLPREFIX?= /usr/local MYSQLINCDIR?= ${MYSQLPREFIX}/include MYSQLLIBDIR?= ${MYSQLPREFIX}/lib CFLAGS+= -I${.CURDIR}/include \ -I/usr/local/include \ -I${MYSQLINCDIR} LDFLAGS+= -L/usr/local/lib \ -L${MYSQLLIBDIR} LDADD+= -lmysqlclient_r -lpthread .include By using the `bsd.prog.mk' rules, you can now type stuff like this: 1. # Build everything, putting object files in the current directory. make all 2. # Build and install everything, but use debugging CFLAGS and inhibit # the final 'strip' step of 'make install' by setting DEBUG_FLAGS. make CFLAGS='' DEBUG_FLAGS='-O0 -ggdb' all install 3. # Clean everything. make clean 4. # Build everything, but instead of installing in /usr/{bin,sbin} # install in a chroot under `/tmp/chroot', with the binaries # auto-mapped to `/tmp/chroot/usr/{bin,sbin}'. env DESTDIR='/tmp/chroot' make install 5. # Set up a special 'object tree' under /tmp/obj, to keep the sources # clean from generated files. mkdir /tmp/obj # Point the bsd.*.mk glue to the new object tree. export MAKEOBJDIRPREFIX=/tmp/obj # Create a 'mirror' of the source tree under `/tmp/obj', so that # e.g. the object code for `/home/keramida/src/foo' will be saved at # `/tmp/obj/home/keramida/tmp/foo'. make obj # Try to build `.depend' files with source/header -> object file # dependencies. make depend # Biuld everything, saving object code in /tmp/obj make all # Clean up /tmp/obj. Then clean up current directory too. make cleandir make cleandir The bsd.prog.mk rules will take care of creating the object directory paths; they will take care of generating the appropriate rules to build with the sources in one place and the object files in another directory; the macros will let you built multiple snapshots of the same source tree in different places, e.g. one for 'release' builds and one for 'debug' builds with different CFLAGS, etc. Another important point is that if you _do_ the legwork of converting the makefile rules from gmake to BSD make, you will have tons of examples of how to do things by looking at the makefiles of FreeBSD itself. All our makefiles use bsd.prog.mk, bsd.lib.mk, and the rest of the bsd.*.mk macros from `/usr/share/mk'. From owner-freebsd-questions@FreeBSD.ORG Sat Feb 12 11:07:53 2011 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 7C3DF106564A for ; Sat, 12 Feb 2011 11:07:53 +0000 (UTC) (envelope-from cjr@cruwe.de) Received: from cruwe.de (t1850.greatnet.de [83.133.124.96]) by mx1.freebsd.org (Postfix) with ESMTP id DE3728FC08 for ; Sat, 12 Feb 2011 11:07:52 +0000 (UTC) Received: (qmail 30645 invoked from network); 12 Feb 2011 11:07:50 -0000 Received: from p57bdeeb5.dip.t-dialin.net (HELO dijkstra) (smtpallow@87.189.238.181) by t1850.greatnet.de with ESMTPA; 12 Feb 2011 11:07:50 -0000 Date: Sat, 12 Feb 2011 12:07:41 +0100 From: "Christopher J. Ruwe" To: freebsd-questions@freebsd.org Message-ID: <20110212120741.64de120f@dijkstra> In-Reply-To: <20110211220106.766288e5@gumby.homeunix.com> References: <20110211221648.03c65a04@dijkstra> <20110211220106.766288e5@gumby.homeunix.com> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; amd64-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/A7BwYbwemAGFo71WW19E69o"; protocol="application/pgp-signature" Subject: Re: system clock running 2h early although ntpd enabled 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, 12 Feb 2011 11:07:53 -0000 --Sig_/A7BwYbwemAGFo71WW19E69o Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 11 Feb 2011 22:01:06 +0000 RW wrote: > On Fri, 11 Feb 2011 12:13:43 -0800 > David Brodbeck wrote: >=20 > > On Fri, Feb 11, 2011 at 1:16 PM, Christopher J. Ruwe > > wrote: > > > Since some weeks my local clock runs two hours early. > > > My /etc/localtime is a copy of /usr/share/zoneinfo/Europe/Berlin > > > and I have set both ntpd_enable=3D"YES" and > > > ntpd_sync_on_start=3D"YES". > >=20 > > ntpd has a sanity check -- if the clock is out by more than 1000 > > seconds it will give up. So you may have to manually set the clock > > to something close to correct before ntpd will handle it. Or pass > > ntpd the "-g" flag to disable the initial sanity check,=20 >=20 > That's what ntpd_sync_on_start=3D"YES" does. Which implies that you are booting. In my case, I normally suspend and resume, so that the ntpd_sync_on_start=3D"YES" does not really help. Thanks for the clarification anyway, I would not have known that part otherwise. Cheers, --=20 Christopher J. Ruwe TZ GMT + 1 --Sig_/A7BwYbwemAGFo71WW19E69o Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iQIcBAEBAgAGBQJNVmoDAAoJEJTIKW/o3iwUU14QAOE4Lk80AzgsaZjJhWt6nu5x Flf0VDaEFFd6SXTGQ4YODKoTSXVoFIZOEHvcKXMyiNw8SUUi7PAxstt03APJ1JYc hPeVdT6QSRV4900OjUZFrokDyNC69j+fKn3NfS0Ap+fKA/nZ49ijrridRe0V13s/ h1ridsSovZt86YGpAivNwjMPFvJu5ZDBF4JBr7CiTQ5RXPpo4gstdem6+vykH9Cf 827hhSfGylI1kKr35L41OzLkbjTX8MpuQLfIAtmgjH+WjSoax68C+RE98kTWuIhX Ngu3tJ/bq0TT17HFhLlPMP+vxmQu0jC/AIGgWIgXW7wkxWJikVterwjUG3+KsQHD Mn0wNcHPrqrJUL/bOBufkRbsaB5FaSa1IhsSgKDsdjZRfrKk48QEGBav/NHgZWjw iraQG8dK9Mz1FuB2wAzmeNwb4QvtE7vnvgl7h6bxLUgRhzCyZq57/z8LzY0QdMJB kMLUeNer3CopejNrLechFTHPijBrS3VS8EI9rBM0E/8edcN5fH/uc6O3nTHEv/PJ fn0ire6m6rlabjHlhVAyid1wv+zjmQx6fs54h71xsDbOPqKvNS0DJe4AZgkacN5b uTRLLJnxMDZ1wVSjpWTxtOuT3tFca0+oZuz0Rcruj8SIXd5ogvxbIrCOpbGO+NTO YC0IQG653yRNOEKZNZ5H =HXJk -----END PGP SIGNATURE----- --Sig_/A7BwYbwemAGFo71WW19E69o-- From owner-freebsd-questions@FreeBSD.ORG Sat Feb 12 11:43:49 2011 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 B2BDC1065673 for ; Sat, 12 Feb 2011 11:43:49 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3fd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id 142818FC1A for ; Sat, 12 Feb 2011 11:43:48 +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 p1CBgRNZ095291 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Sat, 12 Feb 2011 11:43:43 GMT (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk p1CBgRNZ095291 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1297511023; bh=MXckFuqx5QtuBQjo3sxKtC6NB+/cufE7//gdDXEz5Lk=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type:Cc:Content-Type:Date:From:In-Reply-To: Message-ID:Mime-Version:References:To; z=Message-ID:=20<4D56721B.3080204@infracaninophile.co.uk>|Date:=20S at,=2012=20Feb=202011=2011:42:19=20+0000|From:=20Matthew=20Seaman= 20|User-Agent:=20Mozilla/5.0=20(M acintosh=3B=20U=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20en-US=3B=20r v:1.9.2.13)=20Gecko/20101207=20Thunderbird/3.1.7|MIME-Version:=201 .0|To:=20freebsd-questions@freebsd.org|Subject:=20Re:=20system=20c lock=20running=202h=20early=20although=20ntpd=20enabled|References :=20<20110211221648.03c65a04@dijkstra>|In-Reply-To:=20<20110211221 648.03c65a04@dijkstra>|X-Enigmail-Version:=201.1.1|OpenPGP:=20id=3 D60AE908C|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha1= 3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A=20bound ary=3D"------------enig64B858C008A516B3982421FB"; b=mN22jFybpin0WLNBNC2I6CEwXG6NNwgb6dOr7X8eq70Xnd06/nJLjgtsTV0vgvYRB 4GjbFbzQ5xeq7ZklSaOFV7LpK4xDvDphmEJc3Q8HaVN+mdRKmXyMmiTQwek2jrF5Ax GnCpbTfNjweUdyYb5tISLPO27UAbI+5Y/EF91vEY= Message-ID: <4D56721B.3080204@infracaninophile.co.uk> Date: Sat, 12 Feb 2011 11:42:19 +0000 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20110211221648.03c65a04@dijkstra> In-Reply-To: <20110211221648.03c65a04@dijkstra> X-Enigmail-Version: 1.1.1 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig64B858C008A516B3982421FB" X-Virus-Scanned: clamav-milter 0.96.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on lucid-nonsense.infracaninophile.co.uk Subject: Re: system clock running 2h early although ntpd enabled 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, 12 Feb 2011 11:43:49 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig64B858C008A516B3982421FB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 11/02/2011 21:16, Christopher J. Ruwe wrote: > Since some weeks my local clock runs two hours early. My /etc/localtime= > is a copy of /usr/share/zoneinfo/Europe/Berlin and I have set both > ntpd_enable=3D"YES" and ntpd_sync_on_start=3D"YES". My ntp.conf consist= s of=20 >=20 > server ntp1.ptb.de prefer > server ntp2.ptb.de > restrict default ignore > restrict 127.0.0.1 >=20 > Surely, I must be missing something. Does anybody have an idea? >=20 Sounds like your CMOS clock is set to local wallclock time, but you haven't got the /etc/wall_cmos_clock file. Or vice-versa: your CMOS clock is set to UTC, but you've got the wall_cmos_clock file. See adjkerntz(8) for details. The CMOS clock is what drives the time/date display shown in the system BIOS, and it's separate from the clock used for the system time when the OS is running. On unix systems, the system clock always runs in UTC, and an appropriate offset will be calculated for your timezone whenever you want to display the time. ntpd will synch your system clock to UTC, except that on reboot the systems' initial concept of what time it is comes from the CMOS clock, possibly offset by a certain number of hours if it thinks the CMOS clock is using local wall-clock time. Now, if the kernel is mistakenly applying a timezone correction, it can put the system clock outside the sanity check offset that ntpd uses, so ntpd may never synch to the right time. As suggested elsethread, you can use the '-g' flag to ntpd to force it to always synch on startup even if the time is way out. Even so it helps your system stabilise a bit faster after reboot if your kernel can derive something more like the right system time from the CMOS clock. Personally, if the machine is dedicated to running FreeBSD (or FreeBSD and other unixoid OSes) I'd set the CMOS clock to UTC[*] and remove /etc/wall_cmos_clock. Otherwise (ie. if you need to boot into Windows) do it the other way: set the CMOS clock to local wall clock time and make sure /etc/wall_cmos_clock exists. Cheers, Matthew [*] Well, considering where I live, for half the year this is a null op in any case... --=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 --------------enig64B858C008A516B3982421FB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1WciMACgkQ8Mjk52CukIwtTgCfW78A0bG+WXmLWYUQe9nbZsRR O8EAninUltsI7VQyABj93ksNNPqYpOJp =ZrFm -----END PGP SIGNATURE----- --------------enig64B858C008A516B3982421FB-- From owner-freebsd-questions@FreeBSD.ORG Sat Feb 12 12:36:02 2011 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 687941065670 for ; Sat, 12 Feb 2011 12:36:02 +0000 (UTC) (envelope-from dave@g8kbv.demon.co.uk) Received: from anchor-post-2.mail.demon.net (anchor-post-2.mail.demon.net [195.173.77.133]) by mx1.freebsd.org (Postfix) with ESMTP id 2FF978FC08 for ; Sat, 12 Feb 2011 12:36:01 +0000 (UTC) Received: from dyn-62-56-80-49.dslaccess.co.uk ([62.56.80.49] helo=[192.168.33.1]) by anchor-post-2.mail.demon.net with esmtpa (AUTH g8kbv) (Exim 4.69) id 1PoEMo-00047o-jk for freebsd-questions@freebsd.org; Sat, 12 Feb 2011 12:14:22 +0000 From: "Dave" To: freebsd-questions@freebsd.org Date: Sat, 12 Feb 2011 12:14:21 -0000 MIME-Version: 1.0 Message-ID: <4D56799D.13036.2335C99A@dave.g8kbv.demon.co.uk> Priority: normal In-reply-to: References: <4D550415.8060105@ifdnrg.com>, <20110211185738.GB45708@guilt.hydra>, X-mailer: Pegasus Mail for Windows (4.52) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body Subject: Re: FreeBSD and SSD drives 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, 12 Feb 2011 12:36:02 -0000 On 11 Feb 2011 at 13:33, Adam Vande More wrote: > On Fri, Feb 11, 2011 at 12:57 PM, Chad Perrin > wrote: > > > Ignoring the TRIM issue for a moment . . . > > > > You're probably best off saving SSD storage for cases where you have > > lots of reads and little to no write activity, unless you enjoy > > buying new SSDs a lot. Actually, let's not ignore TRIM; the > > work-around for lack of TRIM support on some drives is a "garbage > > collection" routine that exacerbates the problem of having to > > replace your SSDs more often if you do a lot of writes. > > > > I guess I would only use SSDs on servers in the same cases where I > > would let myself be talked into using MySQL -- cases where you just > > treat it pretty much like a read-only data store, and do not have to > > (safely) add or change data stored there most of the time. > > > > Modern SSD's can do a *lot* of writes, wear-leveling and other > tecniques allow SSD's to be implemented for nearly any workload. > There's a great deal of literature and facts on this topic if someone > was motivated enough to research it. Some legends are better off > fading away. > > http://www.storagesearch.com/ssdmyths-endurance.html > > Same thing is sort of true with TRIM, on most modern drives lack of OS > TRIM support isn't the performance hit it used to be although still > desirable. > -- > Adam Vande More > Define "a *lot*". If you look up the spec's on the common (currently) available SSD systems, it's only in the 10's of 1000's writes. Pittiful compared to magnetic media. The way they work too, if you write one "sector" you actualy re-write a much larger block of memory. Wear leveling, not that common with SSD Hard Drives, but very common with USB (Flash) memory sticks, only goes so far. SSD's have a place, but not for things like swapfiles or working data that changes a lot.. Regards. Dave B. From owner-freebsd-questions@FreeBSD.ORG Sat Feb 12 13:11:52 2011 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 4C377106566C for ; Sat, 12 Feb 2011 13:11:52 +0000 (UTC) (envelope-from cjr@cruwe.de) Received: from cruwe.de (t1850.greatnet.de [83.133.124.96]) by mx1.freebsd.org (Postfix) with ESMTP id ACE008FC08 for ; Sat, 12 Feb 2011 13:11:51 +0000 (UTC) Received: (qmail 30900 invoked from network); 12 Feb 2011 13:11:49 -0000 Received: from p57bdeeb5.dip.t-dialin.net (HELO dijkstra) (smtpallow@87.189.238.181) by t1850.greatnet.de with ESMTPA; 12 Feb 2011 13:11:49 -0000 Date: Sat, 12 Feb 2011 14:11:41 +0100 From: "Christopher J. Ruwe" To: freebsd-questions@freebsd.org Message-ID: <20110212141141.53b77248@dijkstra> In-Reply-To: <4D56721B.3080204@infracaninophile.co.uk> References: <20110211221648.03c65a04@dijkstra> <4D56721B.3080204@infracaninophile.co.uk> X-Mailer: Claws Mail 3.7.8 (GTK+ 2.22.1; amd64-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/FbR=Mpx8LiauQuHTmNnUo24"; protocol="application/pgp-signature" Subject: Re: system clock running 2h early although ntpd enabled 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, 12 Feb 2011 13:11:52 -0000 --Sig_/FbR=Mpx8LiauQuHTmNnUo24 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Sat, 12 Feb 2011 11:42:19 +0000 Matthew Seaman wrote: > On 11/02/2011 21:16, Christopher J. Ruwe wrote: > > Since some weeks my local clock runs two hours early. > > My /etc/localtime is a copy of /usr/share/zoneinfo/Europe/Berlin > > and I have set both ntpd_enable=3D"YES" and ntpd_sync_on_start=3D"YES". > > My ntp.conf consists of=20 > >=20 > > server ntp1.ptb.de prefer > > server ntp2.ptb.de > > restrict default ignore > > restrict 127.0.0.1 > >=20 > > Surely, I must be missing something. Does anybody have an idea? > >=20 >=20 > Sounds like your CMOS clock is set to local wallclock time, but you > haven't got the /etc/wall_cmos_clock file. Or vice-versa: your CMOS > clock is set to UTC, but you've got the wall_cmos_clock file. See > adjkerntz(8) for details. The CMOS clock is what drives the time/date > display shown in the system BIOS, and it's separate from the clock > used for the system time when the OS is running. OK, thank you, that was indeed the case, i.e., the CMOS clock was set to local time. I do not know why, usually I set it to GMT, so I never did bother to check. Turned out I should have had this time. > [snip] >=20 > Personally, if the machine is dedicated to running FreeBSD (or FreeBSD > and other unixoid OSes) I'd set the CMOS clock to UTC[*] It is now. Thanks and cheers, --=20 Christopher J. Ruwe TZ GMT + 1 --Sig_/FbR=Mpx8LiauQuHTmNnUo24 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iQIcBAEBAgAGBQJNVocSAAoJEJTIKW/o3iwUSWgP/3jT3Sf9wXjXGKfLvEO+se2n /AN4ojxyDQXTYd5a65l21OcWOHwl/3nJHT+HBlbtZPtykEE2S49GICA4XuE+ovS4 6hZXy+9o/qi8qdNH4UHavUZGinIT6p62BTI1dMj4E+HYcmqdXU8UTarhfCT0N8Df K5vkVOZH2iwxeYWzeBy9UBHKw9kv4rNsTdByZNNaIRf2UkPXtVxXzqE9MSPp7RNV tOifV9FPliWDSYSZGvLpYiBXWfnCzy6g5eSQrkSsV2YQlqOLfdxj7l84DsesLEvK 6aK5mr0C+m3IsnY2XRvNRlePEjTKdEIBAM4M9YSrq0ejvN2W2nIWX/twS0iQiEHY oGcbcwyNmQ3RPr/Ar/3vztwDkA2SFi9MUjtO83E7LiYNmD1MPsA6UhYdjNc+93iU yy9EJN/kGaI5Uzm9uI9WyTzwt2/DNUZtQGnxKV3KdWyGJrmurQo4KAa6RVa7FrO8 n9vP2xMNgOCKGyCVMGtOw2aQUjFedltdu6QF7vcJtvwNIh9P7TWW+v81EsYodmVt Pz0580cVwlWA6UROSkEp+9vwBaUnTjtlnoYbctmfN/pELHoC9AGIgsCjINwUIBGm HB3FZz5cg6k41rMr0anTHQ7RW3yyXE/ZWG3v+5jyg1dwnl06uGptgEoa0AhT01Mq 2A41MGj/CF5n1uqasMSL =02mI -----END PGP SIGNATURE----- --Sig_/FbR=Mpx8LiauQuHTmNnUo24-- From owner-freebsd-questions@FreeBSD.ORG Sat Feb 12 15:50:51 2011 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 207E510657CD for ; Sat, 12 Feb 2011 15:50:51 +0000 (UTC) (envelope-from amvandemore@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 9D1C38FC2D for ; Sat, 12 Feb 2011 15:50:50 +0000 (UTC) Received: by fxm16 with SMTP id 16so4006702fxm.13 for ; Sat, 12 Feb 2011 07:50:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=C9FR3TIgyqq9myNL3jmSvaOmHMiR04nI0g83mq7qLoc=; b=YlMjlTPP5aMFBfNbNyfk3Fc79oav6Iiub+GO3cEjcMFUGpzRFS3hRyXtol2LvZr5Sp I/PaFzrZjOWAKF2pz7Rm4xOh7Yei5JlT4lbIqkQW9GFg4YdjYknQny7qOvkqwc5yULl+ TnN1maSz9Tm8HEqkED7A+wenPG3gKQXV3gmiw= 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=EwPyP88Augd/zPDQERiCRCn0c2nM+IgUeAU3isNWKzvAJi2XH1Jzow1inztlNGWDO8 7IhSdxRt04V+itglR+2lZ6WMsy/FLwHb6+mYz21BxXBFmgILW62K22XaWuM4KoGO3mtq nncgSxVUJtB3F4Gvja3RasuhkMGX5vDdiw+/8= MIME-Version: 1.0 Received: by 10.223.97.2 with SMTP id j2mr2039893fan.23.1297525849358; Sat, 12 Feb 2011 07:50:49 -0800 (PST) Received: by 10.223.94.67 with HTTP; Sat, 12 Feb 2011 07:50:49 -0800 (PST) In-Reply-To: <4D56799D.13036.2335C99A@dave.g8kbv.demon.co.uk> References: <4D550415.8060105@ifdnrg.com> <20110211185738.GB45708@guilt.hydra> <4D56799D.13036.2335C99A@dave.g8kbv.demon.co.uk> Date: Sat, 12 Feb 2011 09:50:49 -0600 Message-ID: From: Adam Vande More To: Dave Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD and SSD drives 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, 12 Feb 2011 15:50:51 -0000 On Sat, Feb 12, 2011 at 6:14 AM, Dave wrote: > Define "a *lot*". If you look up the spec's on the common (currently) > available SSD systems, it's only in the 10's of 1000's writes. Pittiful > compared to magnetic media. > Chances are on many setups, by the time you've written enough data to significantly wear out the drive your magnetic media would died of mechanical failure long before. Purchase what you need MLC/SLC. > The way they work too, if you write one "sector" you actualy re-write a > much larger block of memory. Depends on full setup, the write amplification effect on the X-25's is about 1.1x. Recent SSD's all are much more efficient compared to when these were large, legitimate concerns. > Wear leveling, not that common with SSD > Hard Drives, but very common with USB (Flash) memory sticks, > Completely wrong even the first gen modern SSD's had wear leveling built in. > SSD's have a place, but not for things like swapfiles or working data > that changes a lot.. > I guess ZIL's wouldn't be a good use for such devices either. Perhaps you can inform FS designers that they are doing it wrong. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Sat Feb 12 16:12:49 2011 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 03298106564A for ; Sat, 12 Feb 2011 16:12:49 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id A66818FC1C for ; Sat, 12 Feb 2011 16:12:48 +0000 (UTC) Received: by qwj9 with SMTP id 9so2170684qwj.13 for ; Sat, 12 Feb 2011 08:12:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=x4FBwoxjLEtO4BT67p/Fxwvdb5OkuCSkWeMQcx6ChcY=; b=je99IB2AylXo5eWPYAL2NIpuA74bXYHL8bS9ve3RQdvZkKhHQjtzhMwbpWUQeCqtsl pD07pPJ/cRqfKxFerKyK+0PxWFo36rcf6u4LcCYg+FuNq+3LWDImtofgDwJxqBoAFTVr pCdKwaxbhQUH4HIeu5Nqoq4Jj5HnGuOmzGFCI= 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=rNIAnMIJOGPH0fZgIM+h5v2fR29ZNphZEKWb+S0fCHlAxtNp4DdVgKTPXBkXqeiVJa K/sC877/KU8hfJpviSVSx2p4VR9N9PBMcbm6X/nD9GEMQbjgE3SUohe1uCgiRR1dXXeK TW2fXREhSnV7gzCYCHQ/3eZFn3kZaup6eyxxw= Received: by 10.229.237.6 with SMTP id km6mr1506820qcb.213.1297527158754; Sat, 12 Feb 2011 08:12:38 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.88.9 with HTTP; Sat, 12 Feb 2011 08:12:08 -0800 (PST) In-Reply-To: References: <4D550415.8060105@ifdnrg.com> <20110211185738.GB45708@guilt.hydra> <4D56799D.13036.2335C99A@dave.g8kbv.demon.co.uk> From: Odhiambo Washington Date: Sat, 12 Feb 2011 19:12:08 +0300 Message-ID: To: Adam Vande More Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Dave , freebsd-questions@freebsd.org Subject: Re: FreeBSD and SSD drives 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, 12 Feb 2011 16:12:49 -0000 On Sat, Feb 12, 2011 at 6:50 PM, Adam Vande More wrote: > On Sat, Feb 12, 2011 at 6:14 AM, Dave wrote: > > > Define "a *lot*". If you look up the spec's on the common (currently) > > available SSD systems, it's only in the 10's of 1000's writes. Pittiful > > compared to magnetic media. > > > > Chances are on many setups, by the time you've written enough data to > significantly wear out the drive your magnetic media would died of > mechanical failure long before. Purchase what you need MLC/SLC. > > > > The way they work too, if you write one "sector" you actualy re-write a > > much larger block of memory. > > > Depends on full setup, the write amplification effect on the X-25's is > about > 1.1x. Recent SSD's all are much more efficient compared to when these were > large, legitimate concerns. > > > > Wear leveling, not that common with SSD > > Hard Drives, but very common with USB (Flash) memory sticks, > > > > Completely wrong even the first gen modern SSD's had wear leveling built > in. > > > > SSD's have a place, but not for things like swapfiles or working data > > that changes a lot.. > > > > I guess ZIL's wouldn't be a good use for such devices either. Perhaps you > can inform FS designers that they are doing it wrong. > > While my tech mind cannot comprehend all these arguments, there are laptops which come with SSD as primary drives and are running Windows or even Apple's OS X. I fail to understand why manufacturers would let people install SSDs on machines when their life is so much in question. Can someone please enlighten me on the dangers faced by those who opt to get their laptops installed with SSDs? I personally have one, with a Toshiba 128GB SSD (THNS128GG4BAAA-NonFDE). I am running Windows 7 on it. Should I stop and buy a SATA disk?:) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! From owner-freebsd-questions@FreeBSD.ORG Sat Feb 12 16:54:23 2011 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 2C8B81065670 for ; Sat, 12 Feb 2011 16:54:23 +0000 (UTC) (envelope-from frank@esperance-linux.co.uk) Received: from asmtp5.iomartmail.com (asmtp5.iomartmail.com [62.128.201.176]) by mx1.freebsd.org (Postfix) with ESMTP id AB50D8FC13 for ; Sat, 12 Feb 2011 16:54:22 +0000 (UTC) Received: from asmtp5.iomartmail.com (localhost.localdomain [127.0.0.1]) by asmtp5.iomartmail.com (8.13.8/8.13.8) with ESMTP id p1CGsKqg023567; Sat, 12 Feb 2011 16:54:20 GMT Received: from orange.esperance-linux.co.uk (80-45-152-196.static.dsl.as9105.com [80.45.152.196]) (authenticated bits=0) by asmtp5.iomartmail.com (8.13.8/8.13.8) with ESMTP id p1CGsJrP023563; Sat, 12 Feb 2011 16:54:20 GMT Received: by orange.esperance-linux.co.uk (Postfix, from userid 1001) id A3CD533C3D; Sat, 12 Feb 2011 16:54:19 +0000 (GMT) Date: Sat, 12 Feb 2011 16:54:19 +0000 From: Frank Shute To: Odhiambo Washington Message-ID: <20110212165419.GA55168@orange.esperance-linux.co.uk> References: <4D550415.8060105@ifdnrg.com> <20110211185738.GB45708@guilt.hydra> <4D56799D.13036.2335C99A@dave.g8kbv.demon.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="fUYQa+Pmc3FrFX/N" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Face: *}~{PHnDTzvXPe'wl_-f%!@+r5; VLhb':*DsX%wEOPg\fDrXWQJf|2\,92"DdS%63t*BHDyQ|OWo@Gfjcd72eaN!4%NE{0]p)ihQ1MyFNtWL X-Operating-System: FreeBSD 8.2-RC2 amd64 X-Organisation: 'shute.org.uk' Cc: Adam Vande More , Dave , freebsd-questions@freebsd.org Subject: Re: FreeBSD and SSD drives X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Frank Shute List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Feb 2011 16:54:23 -0000 --fUYQa+Pmc3FrFX/N Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 12, 2011 at 07:12:08PM +0300, Odhiambo Washington wrote: > > On Sat, Feb 12, 2011 at 6:50 PM, Adam Vande More w= rote: >=20 > > On Sat, Feb 12, 2011 at 6:14 AM, Dave wrote: > > > > > Define "a *lot*". If you look up the spec's on the common (currentl= y) > > > available SSD systems, it's only in the 10's of 1000's writes. Pitti= ful > > > compared to magnetic media. > > > > > > > Chances are on many setups, by the time you've written enough data to > > significantly wear out the drive your magnetic media would died of > > mechanical failure long before. Purchase what you need MLC/SLC. > > > > > > > The way they work too, if you write one "sector" you actualy re-write= a > > > much larger block of memory. > > > > > > Depends on full setup, the write amplification effect on the X-25's is > > about > > 1.1x. Recent SSD's all are much more efficient compared to when these = were > > large, legitimate concerns. > > > > > > > Wear leveling, not that common with SSD > > > Hard Drives, but very common with USB (Flash) memory sticks, > > > > > > > Completely wrong even the first gen modern SSD's had wear leveling built > > in. > > > > > > > SSD's have a place, but not for things like swapfiles or working data > > > that changes a lot.. > > > > > > > I guess ZIL's wouldn't be a good use for such devices either. Perhaps = you > > can inform FS designers that they are doing it wrong. > > > > > While my tech mind cannot comprehend all these arguments, there are lapto= ps > which come with SSD as primary drives and are running Windows or even > Apple's OS X. > I fail to understand why manufacturers would let people install SSDs on > machines when their life is so much in question. >=20 > Can someone please enlighten me on the dangers faced by those who opt to = get > their laptops installed with SSDs? >=20 > I personally have one, with a Toshiba 128GB SSD (THNS128GG4BAAA-NonFDE). I > am running Windows 7 on it. >=20 > Should I stop and buy a SATA disk?:) >=20 No you shouldn't but you should run FreeBSD on it ;) There's a lot of FUD talked about SSDs. All I know is that I've been using one in my workstation for coming up to a year with no problems so far. Take it from a mechanical engineer that SSDs are much more robust than HDDs, which is one reason they (HDDs) are going the way of the dodo. I recommend that people should use SSDs for their workstations. Makes a big difference in performance and makes the computer much more pleasant to work on. Regards, --=20 Frank Contact info: http://www.shute.org.uk/misc/contact.html --fUYQa+Pmc3FrFX/N Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (FreeBSD) iEYEARECAAYFAk1WuzoACgkQHduKvUAgeK46yACfRMVALME50IaSj8M7ZfHNmPgQ WTMAn15GAfFoOofVS8GkDT4tuio5OdRX =/BZZ -----END PGP SIGNATURE----- --fUYQa+Pmc3FrFX/N-- From owner-freebsd-questions@FreeBSD.ORG Sat Feb 12 17:05:03 2011 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 DE3BA106564A for ; Sat, 12 Feb 2011 17:05:03 +0000 (UTC) (envelope-from odhiambo@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8B3948FC1C for ; Sat, 12 Feb 2011 17:05:03 +0000 (UTC) Received: by qyk36 with SMTP id 36so2491177qyk.13 for ; Sat, 12 Feb 2011 09:05:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=5z69t++pMB6dv46DgG1GWwJH8iOSm8v4CdW6y6U1n9k=; b=DlHiCdI8Y3IqVzRvVtGfGvkXTO03oxqcSwfB6+UCeK3CBnD/PjaHoVXia8IpWgQGg3 i6rBcMK9/2iYBDtco1kao/t8kmst8FsQDY0ET8BKDmqyXFiYWKSxLhD3H/Bz2LCTjwAo 9atNDA34s12Cq7ZjcP/rHdh4BATS36hVXBZq8= 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=UTuOs0mDTWG7eqhN/MhXDvUqqXeNOg4oUkOVFSOtKA/OxEH/FwXAj1eQm+jGHBmMqI QvkTF3zTxtW+qXAPGaUVO7WaoM5umHRxiKU3VcYTNqUfDEzDNUrp2zyQSM2mNgO1VJ5x +0nFcPXbulOkS9ZHTHMfxDSJJvl7FC1BTSE+o= Received: by 10.229.89.78 with SMTP id d14mr1523306qcm.251.1297530302565; Sat, 12 Feb 2011 09:05:02 -0800 (PST) MIME-Version: 1.0 Received: by 10.229.88.9 with HTTP; Sat, 12 Feb 2011 09:04:32 -0800 (PST) In-Reply-To: <20110212165419.GA55168@orange.esperance-linux.co.uk> References: <4D550415.8060105@ifdnrg.com> <20110211185738.GB45708@guilt.hydra> <4D56799D.13036.2335C99A@dave.g8kbv.demon.co.uk> <20110212165419.GA55168@orange.esperance-linux.co.uk> From: Odhiambo Washington Date: Sat, 12 Feb 2011 20:04:32 +0300 Message-ID: To: Frank Shute Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Adam Vande More , Dave , freebsd-questions@freebsd.org Subject: Re: FreeBSD and SSD drives 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, 12 Feb 2011 17:05:03 -0000 On Sat, Feb 12, 2011 at 7:54 PM, Frank Shute wrote: > On Sat, Feb 12, 2011 at 07:12:08PM +0300, Odhiambo Washington wrote: > > > > On Sat, Feb 12, 2011 at 6:50 PM, Adam Vande More >wrote: > > > > > On Sat, Feb 12, 2011 at 6:14 AM, Dave wrote: > > > > > > > Define "a *lot*". If you look up the spec's on the common > (currently) > > > > available SSD systems, it's only in the 10's of 1000's writes. > Pittiful > > > > compared to magnetic media. > > > > > > > > > > Chances are on many setups, by the time you've written enough data to > > > significantly wear out the drive your magnetic media would died of > > > mechanical failure long before. Purchase what you need MLC/SLC. > > > > > > > > > > The way they work too, if you write one "sector" you actualy re-write > a > > > > much larger block of memory. > > > > > > > > > Depends on full setup, the write amplification effect on the X-25's is > > > about > > > 1.1x. Recent SSD's all are much more efficient compared to when these > were > > > large, legitimate concerns. > > > > > > > > > > Wear leveling, not that common with SSD > > > > Hard Drives, but very common with USB (Flash) memory sticks, > > > > > > > > > > Completely wrong even the first gen modern SSD's had wear leveling > built > > > in. > > > > > > > > > > SSD's have a place, but not for things like swapfiles or working data > > > > that changes a lot.. > > > > > > > > > > I guess ZIL's wouldn't be a good use for such devices either. Perhaps > you > > > can inform FS designers that they are doing it wrong. > > > > > > > > While my tech mind cannot comprehend all these arguments, there are > laptops > > which come with SSD as primary drives and are running Windows or even > > Apple's OS X. > > I fail to understand why manufacturers would let people install SSDs on > > machines when their life is so much in question. > > > > Can someone please enlighten me on the dangers faced by those who opt to > get > > their laptops installed with SSDs? > > > > I personally have one, with a Toshiba 128GB SSD (THNS128GG4BAAA-NonFDE). > I > > am running Windows 7 on it. > > > > Should I stop and buy a SATA disk?:) > > > > No you shouldn't but you should run FreeBSD on it ;) > With all the debate about FreeBSD this, FreeBSD that as regards SSDs, I am not sure if I should so this:-) I'll continue to run my FreeBSD servers on SATA-N.. > > There's a lot of FUD talked about SSDs. > > All I know is that I've been using one in my workstation for coming up to a > year with no problems so far. > > Take it from a mechanical engineer that SSDs are much more robust than > HDDs, which is one reason they (HDDs) are going the way of the dodo. > > I recommend that people should use SSDs for their workstations. Makes a big > difference in performance and makes the computer much more pleasant to work > on. > > These people in the know always talk about the imminent failure of SSDs soon:-) -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Damn!! From owner-freebsd-questions@FreeBSD.ORG Sat Feb 12 18:53:01 2011 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 A7C3F106564A for ; Sat, 12 Feb 2011 18:53:01 +0000 (UTC) (envelope-from bounce@bounce.quepasa.com) Received: from sm-70-42-226-181.quepasa.com (sm-70-42-226-181.quepasa.com [70.42.226.181]) by mx1.freebsd.org (Postfix) with ESMTP id 748D28FC17 for ; Sat, 12 Feb 2011 18:53:01 +0000 (UTC) Received: from [127.0.0.1] ([10.42.226.58]) by sm-70-42-226-181.quepasa.com (StrongMail Enterprise 4.1.1(4.1.1-44201)); Sat, 12 Feb 2011 11:37:56 -0700 X-VirtualServer: Default, sm-70-42-226-181.quepasa.com, 70.42.226.181 X-MailingID: 00000::00000::00000::00000::43::2547734 X-SMHeaderMap: mid="X-MailingID" X-Mailer: StrongMail Enterprise 4.1.1(4.1.1-44201) X-Destination-ID: questions@freebsd.org X-SMFBL: cXVlc3Rpb25zQGZyZWVic2Qub3Jn DomainKey-Signature: a=rsa-sha1; c=nofws; s=sm; d=quepasa.com; q=dns; b=xqk4VhaU1vfA1o8QtlKsQIc+k1FHYZwHT5+k+LqDo/W2+ieoHgp79EFsjwZzWnulkPKFpCeQ/5sh2xYm7YM/Mz1eiwK+OjDaoMZo1yJZr24flkwPvYtm/MyMOt2Y6p3yhHlba4d6sV3uVSLOIZR84a7oHX/y3cQ9BozJO5W05EQ= DKIM-Signature: v=1; a=rsa-sha1; c=simple; d=quepasa.com; s=sm; i=@quepasa.com; h=Return-Path:Sender:Message-ID:Date:Subject: From:Reply-To:To:MIME-Version:Content-Type: Content-Transfer-Encoding:X-ClientID:X-QPEmailID:X-CampaignID: X-VirtualServerGroup:List-Unsubscribe:X-QPTemplateID: X-MailLocation; bh=SL1I0yKqra2t7ev32JDgeky6H3E=; b=jOIf5J7I7GN1x RGME7CD+6nBxPPsseRdXJ51ta8jq/udz5FVpvXFn0/SEdlJNqNFC3QtAbVgGrNaF ieHJgUyjcwN3M6gNIVEyVkBn7gB2scTTBOhhVEOL5oHcv9NKlNpF0T46Ghdns69m spwEgz8K11nBdiiK2kojwA4Q5Hxx40= Sender: info@quepasa.com Message-ID: <20110212183756.23507347381.43.18.0.0.me@CHA-ME-005> Date: Sat, 12 Feb 2011 11:37:56 -0700 From: marcondes alves To: questions@freebsd.org Content-Transfer-Encoding: 8bit X-ClientID: 0 X-QPEmailID: 23507347381 X-CampaignID: 0 X-VirtualServerGroup: Default X-QPTemplateID: 43 X-MailLocation: Strongmail MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: =?utf-8?q?Marcondes_mandou_uma_mensagem_particular_para_voc?= =?utf-8?b?w6o=?= X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: noreply@quepasa.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Feb 2011 18:53:01 -0000 [1]Quepasa.com [2]Clique aqui para cancelar a inscrição. Eu gostaria de ser seu amigo(a) no Quepasa.com. Você gostaria de [3]adicionar-me como amigo(a)? [4]SIM [5]NÃO Obrigado! marcondes alves Para evitar que continue recebendo notificações em seu email por parte dos seus amigos do Quepasa.com, [6]clique aqui. [7]Cancelar Inscrição I [8]Termos de Uso I [9]Política de Privacidade I [10]Suporte Quepasa Corporation 324 Datura Street, Suite 114, West Palm Beach, FL, 33401 Você está recebendo este e-mail porque seu amigo é um membro registrado do Quepasa. Adicione [11]info@quepasa.com em sua lista de contatos para continuar recebendo e-mails do Quepasa. References 1. http://www.quepasa.com/metric/email/click/00faf9eb49404c7f378829d787299017/23507347381/1430.html?url=http://www.quepasa.com/pt_BR/?mail=questions@freebsd.org 2. http://www.quepasa.com/metric/email/click/00faf9eb49404c7f378829d787299017/23507347381/1431.html?url=http%3A%2F%2Fwww.quepasa.com%2Fpt_BR%2Fuser%2FcancelQPAlerts.php%3Fsign%3D67c9b9541c6ead1209f1525aadc27e2c%26alert%3D43%26mail%3Dquestions%40freebsd.org%26id%3D-1 3. http://www.quepasa.com/metric/email/click/00faf9eb49404c7f378829d787299017/23507347381/1436.html?url=http://www.quepasa.com/qp/181876742.html&mail=questions@freebsd.org 4. http://www.quepasa.com/metric/email/click/00faf9eb49404c7f378829d787299017/23507347381/1439.html?url=http://www.quepasa.com/qp/181876742.html&mail=questions@freebsd.org 5. http://www.quepasa.com/metric/email/click/00faf9eb49404c7f378829d787299017/23507347381/1440.html?nofriend=true&url=http://www.quepasa.com/pt_BR/&mail=questions@freebsd.org 6. http://www.quepasa.com/metric/email/click/00faf9eb49404c7f378829d787299017/23507347381/1433.html?url=http%3A%2F%2Fwww.quepasa.com%2Fpt_BR%2Fuser%2FcancelQPAlerts.php%3Fsign%3D67c9b9541c6ead1209f1525aadc27e2c%26alert%3D43%26mail%3Dquestions%40freebsd.org%26id%3D-1 7. http://www.quepasa.com/metric/email/click/00faf9eb49404c7f378829d787299017/23507347381/1899.html?url=http%3A%2F%2Fwww.quepasa.com%2Fpt_BR%2Fuser%2FcancelQPAlerts.php%3Fsign%3D67c9b9541c6ead1209f1525aadc27e2c%26alert%3D43%26mail%3Dquestions%40freebsd.org%26id%3D-1 8. http://www.quepasa.com/metric/email/click/00faf9eb49404c7f378829d787299017/23507347381/1434.html?url=http%3A%2F%2Fwww.quepasa.com%2Ftos_pt_BR.html?mail=questions@freebsd.org 9. http://www.quepasa.com/metric/email/click/00faf9eb49404c7f378829d787299017/23507347381/1435.html?url=http%3A%2F%2Fwww.quepasa.com%2Fcommon%2Fprivacypolicy_pt_BR.html?mail=questions@freebsd.org 10. mailto:support@quepasacorp.com 11. mailto:info@quepasa.com From owner-freebsd-questions@FreeBSD.ORG Sat Feb 12 19:13:21 2011 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 485DA106564A for ; Sat, 12 Feb 2011 19:13:21 +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 06D168FC1D for ; Sat, 12 Feb 2011 19:13:20 +0000 (UTC) Received: from r55.edvax.de (port-92-195-143-131.dynamic.qsc.de [92.195.143.131]) by mx01.qsc.de (Postfix) with ESMTP id 7C1693CE73; Sat, 12 Feb 2011 20:13:19 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p1CJDIlR001523; Sat, 12 Feb 2011 20:13:18 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Sat, 12 Feb 2011 20:13:18 +0100 From: Polytropon To: Frank Shute Message-Id: <20110212201318.3760ccfc.freebsd@edvax.de> In-Reply-To: <20110212165419.GA55168@orange.esperance-linux.co.uk> References: <4D550415.8060105@ifdnrg.com> <20110211185738.GB45708@guilt.hydra> <4D56799D.13036.2335C99A@dave.g8kbv.demon.co.uk> <20110212165419.GA55168@orange.esperance-linux.co.uk> 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: FreeBSD and SSD drives 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, 12 Feb 2011 19:13:21 -0000 On Sat, 12 Feb 2011 16:54:19 +0000, Frank Shute wrote: > On Sat, Feb 12, 2011 at 07:12:08PM +0300, Odhiambo Washington wrote: > > Should I stop and buy a SATA disk?:) > > > > No you shouldn't but you should run FreeBSD on it ;) What else should one run?! ;-) > All I know is that I've been using one in my workstation for coming up > to a year with no problems so far. For noise issues, SSDs surely beat HDDs, but this will be compensated by all the fans in "modern" PCs for the power supply, the processor, the chip"set", the housing fan, the graphics card, the other graphics card... :-) > Take it from a mechanical engineer that SSDs are much more robust than > HDDs, which is one reason they (HDDs) are going the way of the dodo. At least in mobile devices (such as netbooks) they are welcome. Energy parameters seem to be okay, and the absence of moving parts is a big plus for this kind of devices where robustness is considered to be important. > I recommend that people should use SSDs for their workstations. No problem if a SSD fails after 2 years in use (just an arbitrary assumption), because of two reasons: (A) the computer itself will fail or at least considered outdated after that time, so it will get replaced, and (B) there are backups. Yes. There ARE backups. > Makes > a big difference in performance and makes the computer much more > pleasant to work on. Definitely, but consider my comment at the beginning. :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Feb 12 20:03:05 2011 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 40524106566C; Sat, 12 Feb 2011 20:03:05 +0000 (UTC) (envelope-from bahman.linux@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 E12388FC13; Sat, 12 Feb 2011 20:03:04 +0000 (UTC) Received: by vws9 with SMTP id 9so2283377vws.13 for ; Sat, 12 Feb 2011 12:03:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to:cc :content-type; bh=C/px3gyrV+s1LY7+POfLFp/KZlSD+Z/+aoOHycGjL+A=; b=xOptEB94uyL+85p0erT9Qt8omRc6ICcH+BC4/uFgHc820WG9GLpKfRvmsMi4oZKl5A BeAM9SaufwByvv3wexyfahfTxmDomSymgjIPgZXocpEHH6oUc2zpmBvvCxir++H1mPKY nad0cXHPx5cs1+Cdya8h1mDMpIwcbgw3ffmkg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:cc:content-type; b=h826IBlz3h+rIyOUuylEp34eWtmotQREUXw/qI6K0S7dCuN8MKPG+lHaPEmZkl4N1L rZ20EtpJwnYmcyU9Np49j+sE1p3GN2aVS9xQ0ZMFHe1GlDXvP9HBqX1LiBPzlN3NeovK RWtKKNpJkK0cd+nMtc7KEgz+tgw3VKAJ8jpZw= MIME-Version: 1.0 Received: by 10.220.90.146 with SMTP id i18mr2585265vcm.226.1297540982391; Sat, 12 Feb 2011 12:03:02 -0800 (PST) Received: by 10.220.175.197 with HTTP; Sat, 12 Feb 2011 12:03:02 -0800 (PST) Date: Sat, 12 Feb 2011 23:33:02 +0330 Message-ID: From: Bahman Kahinpour To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: freebsd-ports@freebsd.org Subject: Debian GNU/kFreeBSD 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, 12 Feb 2011 20:03:05 -0000 After a lot of searching over the Internet for finding the full 7 DVD set of Debian GNU/kFreeBSD system I found all of them in http://debian.nctu.edu.tw/debian-cd/6.0.0/kfreebsd-i386/iso-dvd/ http://debian.nctu.edu.tw/debian-cd/6.0.0/kfreebsd-amd64/iso-dvd/ And was able to try it a little bit. It is very interesting that you have a "real FreeBSD Kernel". It may be very interesting to use DEB/APT system on FreeBSD too as it is extremely easy-to-use and reliable. What's your idea? Is there really a way to use DEB packages on the original FreeBSD system? Does anyone think that having an optional APT system somewhere like in the Ports Collection or ... can be advantageous?