From owner-freebsd-questions@FreeBSD.ORG Sun Jul 3 00:09: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 73534106566C for ; Sun, 3 Jul 2011 00:09:18 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1D1388FC12 for ; Sun, 3 Jul 2011 00:09:17 +0000 (UTC) Received: by vws18 with SMTP id 18so4176389vws.13 for ; Sat, 02 Jul 2011 17:09:17 -0700 (PDT) Received: by 10.220.118.12 with SMTP id t12mr1019099vcq.167.1309651757163; Sat, 02 Jul 2011 17:09:17 -0700 (PDT) Received: from scorpio.seibercom.net (twdp-174-109-142-001.nc.res.rr.com [174.109.142.1]) by mx.google.com with ESMTPS id f1sm333820vcn.10.2011.07.02.17.09.15 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 02 Jul 2011 17:09:16 -0700 (PDT) Received: from scorpio (zeus [192.168.1.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3R6Bff54RLz2CG4p for ; Sat, 2 Jul 2011 20:09:14 -0400 (EDT) Date: Sat, 2 Jul 2011 20:09:14 -0400 From: Jerry To: FreeBSD Message-ID: <20110702200914.61bc681c@scorpio> In-Reply-To: <201107022251.p62Mpce9048774@mail.r-bonomi.com> References: <201107022251.p62Mpce9048774@mail.r-bonomi.com> Organization: seibercom.net X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.1; amd64-portbld-freebsd8.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: What is xz ? 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: Sun, 03 Jul 2011 00:09:18 -0000 On Sat, 2 Jul 2011 17:51:38 -0500 (CDT) Robert Bonomi articulated: > What I know is that I have a '7.2-RELEASE' i386 box, that's had > nothing done to it after the original 'sysinstall' (from CDs, no net > connectivity), as far as _adding_ anything. it does run a highly > customized kernel, but that is the only 'post-install' change made. > It is on that box. This was a near "full" install from the CDs, not > a minimal one. What is the output of: "which xz" -- Jerry ✌ jerry+fbsd@seibercom.net Disclaimer: off-list followups get on-list replies or ignored. Do not CC this poster. Please do not ignore the "Reply-To" header. http://www.catb.org/~esr/faqs/smart-questions.html From owner-freebsd-questions@FreeBSD.ORG Sun Jul 3 00:15: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 629FC1065676 for ; Sun, 3 Jul 2011 00:15:29 +0000 (UTC) (envelope-from kurt.buff@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 EE6818FC12 for ; Sun, 3 Jul 2011 00:15:28 +0000 (UTC) Received: by wwe6 with SMTP id 6so4062327wwe.31 for ; Sat, 02 Jul 2011 17:15:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=95fXacBNHqVfLJJUYq4sQ+BMwDg0ehCIe+SRT5/ViGk=; b=BPcmUwnZo57NYiJnD/7pWiq+W08dyPpCQN4RoZ8YcBBrXqszzc4wRZX2o2cEviMTI3 r0ebA6GOuqs1+ob+Yki44xrTzoaMbfIa7bHnlh+DbG5hi1Kx4ufcdGgc/coPo5ck3Hlp ZwCbOClQ79SDkGh3DlAjOdIu2iHMLiFGMEMyI= MIME-Version: 1.0 Received: by 10.216.82.146 with SMTP id o18mr4197817wee.7.1309652127787; Sat, 02 Jul 2011 17:15:27 -0700 (PDT) Received: by 10.216.91.69 with HTTP; Sat, 2 Jul 2011 17:15:27 -0700 (PDT) In-Reply-To: References: <4E08558A.7000101@my.gd> <20110628052446.89911e0a.freebsd@edvax.de> <4E09DC21.6070903@Haakh.de> Date: Sat, 2 Jul 2011 17:15:27 -0700 Message-ID: From: Kurt Buff To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: fubar'ed it good this time... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 Jul 2011 00:15:29 -0000 On Thu, Jun 30, 2011 at 17:31, Kurt Buff wrote: > On Tue, Jun 28, 2011 at 06:50, Dr. A. Haakh wrote: >> Polytropon schrieb: >>> >>> On Mon, 27 Jun 2011 06:40:27 -0700, Kurt Buff wrote: >>> >>>> >>>> Your advice sounds reasonable, but that site seems devoted to zfs >>>> bootables. >>>> >>>> I wonder if an 8.1 livefs iso will do the trick... >>>> >>> >>> Check if you can download FreeSBIE somewhere. It's a live system >>> using the 5.x and 6.x kernel which should be fine. Next to two >>> GUI modes (light, heavy) it also has a versatile "maintenance mode" >>> for such operations. I have already successfully used this system >>> for solving similar situations, for diagnostics, and for data >>> recovery preparation. >> >> The loader obviously knows how to deal with the filesystem because he lo= ads >> the failing new kernel. So the easiest solution would be to boot an olde= r >> kernel if available. I don't know how freebsd-update deals with older >> kernels, >> he should still be around. First guess is /boot/kernel.old/kernel. >> So get the loader-prompt, "unload kernel" and try "load >> /boot/kernel.old/kernel". >> >> Andreas > > OK - to continue, while I have a few free minutes. > > I have been able to load the old kernel by going to the loader prompt > from the boot menu, and doing > =C2=A0 =C2=A0 unload kernel > =C2=A0 =C2=A0 load /boot/kernel.old/kernel > > That barked about linproc in fstab, so I edited that out. > > Then, the next go-round: It complained about mismatches on > daemon_saver.ko - a version mismatch, so I've commented that out of > /etc/rc.conf. It also complained about linux.ko, so that's been > commented out in /etc/rc.conf as well. > > I'm now able to reboot cleanly with the old kernel. > > After doing 'freebsd-update install' for the second time, I still > can't get 8.2 to boot - same issue, only acd0 is recognized. However, > I'm logged in as root under the old kernel, though I haven't start > XFCE4, and don't have wireless running. > > This one is getting to be fun... > > Kurt So, I tried booting from the old kernel again, and then did a 'freebsd-update rollback', and that worked just fine. I thought I'd try again, but first did a 'freebsd-update fetch' and 'freebsd-update install' to get the latest 8.1 updates. That worked just fine, so I did a 'freebsd-update -r 8.2-RELEASE fetch' again, then a 'freebsd-update install', which went just fine, and after that rebooted as directed to attempt the second 'freebsd-update install'. That's when the same thing happened - i got dumped into the mountroot prompt again. And, again, rebooting and escaping to the loader prompt allows me to unload the kernel, load /boot/kernel.old/kernel then autoboot, and boot up. Same as before. Any thoughts? From owner-freebsd-questions@FreeBSD.ORG Sun Jul 3 01:16: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 5A5001065674 for ; Sun, 3 Jul 2011 01:16:00 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 35CD38FC18 for ; Sun, 3 Jul 2011 01:15:59 +0000 (UTC) Received: by pvg11 with SMTP id 11so5046490pvg.13 for ; Sat, 02 Jul 2011 18:15:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=JU6xYvRTghbRrbmDRRKf1z5VO7cCb1jxz3siqcVKHpU=; b=bOtoumuAfEA0o3YyiUrbUoxYtO/q5ayY3zi7Fwi8gTwNixb1jE1EnYesyxWDhrUy1D fTk+PEGN89EP7WFtsAnNXNi/hAG2vSf6C+gUqnSTl0lVauMU/JMjUwVpJaAt+EqwCZwr FZmfglZq3eavk4fG15jLoms4b5Y6Q6S7JfQLk= MIME-Version: 1.0 Received: by 10.68.63.36 with SMTP id d4mr5799988pbs.223.1309655759663; Sat, 02 Jul 2011 18:15:59 -0700 (PDT) Received: by 10.68.64.104 with HTTP; Sat, 2 Jul 2011 18:15:59 -0700 (PDT) In-Reply-To: <19983.43472.728768.889910@jerusalem.litteratus.org> References: <19983.43472.728768.889910@jerusalem.litteratus.org> Date: Sun, 3 Jul 2011 01:15:59 +0000 Message-ID: From: "b. f." To: Robert Huff Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org, Robert Bonomi Subject: Re: What is xz ? 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, 03 Jul 2011 01:16:00 -0000 On 7/2/11, Robert Huff wrote: > > b. f. writes: > >> > It is part of '7.2-RELEASE', Dunno about 7.1 >> >> Hmm. Are you sure? If this is true, the archivers/xz port needs >> to be patched to IGNORE those branches of 7 that have xz. > > Is that necessarily true? > For comparison: the default system compiler is gcc-4.2.1 (I > believe). There are several higher numbered versions in ports. You mean, if xz is actually in FreeBSD 7, which doesn't seem to be the case, is it absolutely necessary to disable builds of archivers/xz on 7? Or, for that matter, on 8 and 9? -- well, no, it isn't strictly necessary, but what's the point of not disabling the port when the same version of xz is in both the base system and the port, and rtld's default search pattern will favor the former over the latter? With the different versions of gcc, you are at least getting some functional differences. If naddy updates the port to 5.1.1 or 5.0.3, the case might be different. b. From owner-freebsd-questions@FreeBSD.ORG Sun Jul 3 03:56: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 814131065670 for ; Sun, 3 Jul 2011 03:56:34 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 241848FC0A for ; Sun, 3 Jul 2011 03:56:33 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id p633uX2g043649; Sat, 2 Jul 2011 21:56:33 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id p633uXSl043646; Sat, 2 Jul 2011 21:56:33 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Sat, 2 Jul 2011 21:56:33 -0600 (MDT) From: Warren Block To: Matthias Apitz In-Reply-To: <20110702090827.GA1032@tiny> Message-ID: References: <20110702090827.GA1032@tiny> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-902635197-1113367538-1309665393=:43601" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Sat, 02 Jul 2011 21:56:33 -0600 (MDT) Cc: freebsd-questions@freebsd.org, YOSHIDA Shigeru Subject: Re: Mouse problem on ThinkPad X61 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 Jul 2011 03:56:34 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---902635197-1113367538-1309665393=:43601 Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8BIT On Sat, 2 Jul 2011, Matthias Apitz wrote: > El día Saturday, July 02, 2011 a las 02:59:44PM +0900, YOSHIDA Shigeru escribió: > >> Hi, >> >> I installed FreeBSD 8.2-RELEASE on ThinkPad X61. >> >> When I start the X, the TrackPoint is not recognized. >> The mouse cursor don't move and the button clicks don't act. >> >> My settings on xorg.conf is as follows: >> >> Section "InputDevice" >> Identifier "Mouse0" >> Driver "mouse" >> Option "Protocol" "auto" >> Option "Device" "/dev/sysmouse" >> Option "ZAxisMapping" "4 5 6 7" >> EndSection >> >> and my setting on rc.conf is as follows: >> >> # -- sysinstall generated deltas -- # Mon Jun 13 04:23:12 2011 >> moused_type="auto" >> moused_enable="YES" >> hald_enable="YES" >> dbus_enable="YES" >> >> What did I missing some configuration? The T61 has both a touchpad and a trackpoint. Seems like on my T42, only one works. Possibly there are settings for psm(4) or the synaptics touchpad driver is needed. > Try adding: > > Option "AllowEmptyInput" "false" No, please stop recommending this. Here's the whole story: http://www.wonkity.com/~wblock/docs/html/aei.html > to the Section "ServerLayout"; I know that a lot of people will say, > DON'T do, but until now nobody could explain to me how this should work > without :-) AEI is the wrong option. If you want to stop xorg from using HAL to detect input devices, there are two good ways: 1. Set Option "AutoAddDevices" "Off" 2. Build xorg-server with the HAL option disabled. ---902635197-1113367538-1309665393=:43601-- From owner-freebsd-questions@FreeBSD.ORG Sun Jul 3 09:08: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 E0975106564A for ; Sun, 3 Jul 2011 09:08:43 +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 A1EB38FC08 for ; Sun, 3 Jul 2011 09:08:43 +0000 (UTC) Received: from r55.edvax.de (port-92-195-180-180.dynamic.qsc.de [92.195.180.180]) by mx01.qsc.de (Postfix) with ESMTP id 49E203CB5C; Sun, 3 Jul 2011 11:08:42 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p6398fg7001557; Sun, 3 Jul 2011 11:08:41 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 3 Jul 2011 11:08:41 +0200 From: Polytropon To: freebsd-questions@freebsd.org Message-Id: <20110703110841.9ce6c843.freebsd@edvax.de> In-Reply-To: References: <20110702090827.GA1032@tiny> 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: YOSHIDA Shigeru Subject: Re: Mouse problem on ThinkPad X61 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, 03 Jul 2011 09:08:44 -0000 On Sat, 2 Jul 2011 21:56:33 -0600 (MDT), Warren Block wrote: > The T61 has both a touchpad and a trackpoint. Seems like on my T42, > only one works. Possibly there are settings for psm(4) or the synaptics > touchpad driver is needed. If both pointing decies are handled independently, e. g. psm0 representing the Trackpoint, while the fingerslimepad is accessed per ums0 (not sure, just an assumption!), it would maybe help to explicitely tell this to moused. Something like this could work: moused_enable="YES" moused_port="/dev/psm0" moused_type="auto" If you also want to use the middle mouse button (a standard thing since the 70s, usually not working on "modern" glidepads), you could add (attention, try it, it's from my memory): moused_flags="-z 4" (But I'm not sure if you really need that, as I don't have it in my current config, but see below why.) And then add the following settings to xorg.conf: Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "Emulate3Buttons" "true" Option "EmulateWheel" "true" Option "EmulateWheelButton" "2" Option "ZAxisMapping" "4 5" EndSection This is the configuration I'm using for a standard 3-button mouse (no wheel), a Sun Type 6 USB, but it also works with 3-button mice attached per PS/2 connector. In this setting, clicking the middle mouse button will _be_ the middle mouse button, and holding it down while moving the mouse in Y direction will be the wheel functionality, much smoother and more precise than a regular mouse wheel. And if required, you can press the left _and_ the right button at the same time which also means the middle mouse button. It should work wonders with the superior TrackPoint. > No, please stop recommending this. Here's the whole story: > http://www.wonkity.com/~wblock/docs/html/aei.html Important source of wisdom. > AEI is the wrong option. If you want to stop xorg from using HAL to > detect input devices, there are two good ways: > > 1. Set Option "AutoAddDevices" "Off" > 2. Build xorg-server with the HAL option disabled. I would suggest the last option. Build X without HAL, run -configure, modify xorg.conf as needed, and everything works. Especially if you need a non-US keyboard layout... :-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sun Jul 3 12:12:01 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 2F674106564A for ; Sun, 3 Jul 2011 12:12:01 +0000 (UTC) (envelope-from bluethundr@jokefire.com) Received: from mail.jokefire.com (mail.jokefire.com [66.228.39.212]) by mx1.freebsd.org (Postfix) with ESMTP id 060368FC18 for ; Sun, 3 Jul 2011 12:12:00 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.jokefire.com (Postfix) with ESMTP id B0E254E4DA for ; Sun, 3 Jul 2011 11:56:35 +0000 (UTC) X-Virus-Scanned: amavisd-new at jokefire.com Received: from mail.jokefire.com ([127.0.0.1]) by localhost (mail.jokefire.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4BUz9Hy1qXnn for ; Sun, 3 Jul 2011 11:56:35 +0000 (UTC) Received: from mail.jokefire.com (mail.jokefire.com [66.228.39.212]) by mail.jokefire.com (Postfix) with ESMTP id 248984E4D9 for ; Sun, 3 Jul 2011 11:56:35 +0000 (UTC) Date: Sun, 03 Jul 2011 11:56:35 -0000 (UTC) From: Tim Dunphy To: FreeBSD Questions Message-ID: <80784e59-447e-4581-b8f6-a50a758ceebe@li289-212> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 X-Originating-IP: [71.187.203.194] X-Mailer: Zimbra 7.1.0_GA_3140 (ZimbraWebClient - FF3.0 (Linux)/7.1.0_GA_3140) Subject: backing up 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: Sun, 03 Jul 2011 12:12:01 -0000 hello list!! I am attempting to backup my freebsd box using amanda. I am enjoying great success backing up linux but the FreeBSD machine is one of my cornerstone network machines housing LDAP and DNS and it would be a a genuinely good idea to get this backed up. So fortunately I had no trouble at all installing the following: LBSD2# pkg_info | grep -e amanda -e mtx -e aespipe aespipe-v2.3.e_1 An AES encrypting or decrypting pipe amanda-client-3.2.1,1 The Advanced Maryland Automatic Network Disk Archiver (clie amanda-perl-wrapper-1.01 Perl wrapper to use with Amanda (with libthr.so.* linked) mtx-1.3.11 Control SCSI media changer devices I was able to export the amanda user's key to the bsd box and log in without a password. [amandabackup@VIRTCENT18:~] $ssh bsd2.summitnjhome.com Last login: Sat Jul 2 22:54:06 2011 from 192.168.1.40 Copyright (c) 1980, 1983, 1986, 1988, 1990, 1991, 1993, 1994 The Regents of the University of California. All rights reserved. ######################################################### # EXAMPLE.COM # # TITLE: LBSD2 BOX # # HOST: LBSD2 # # LOCATION: SUMMIT BASEMENT # ######################################################## But when I run amcheck I still get an EOF error even tho I can ssh in without a pass. WARNING: BSD2.summitnjhome.com: selfcheck request failed: EOF on read from BSD2.summitnjhome.com And if I try to run an amservice on the bsd client this is the response I get: [amandabackup@VIRTCENT18:~] $amservice bsd2.summitnjhome.com ssh noop < /dev/null Permission denied (publickey,keyboard-interactive). Request failed: EOF on read from bsd2.summitnjhome.com Now, under centos amanda runs as the 'amandabackup' user with the group 'disk'. Installing the package under freebsd adds no such user and I had to add them manually. And under centos the amanda home is /var/lib/amanda/. Under freebsd this directory is not created. Under bsd it looked like the /usr/local/share/amanda directory should function as it's home but I'm unsure of that. I tried chowning it to amandabackup:disk but that had no effect on the error. Could someone please provide a tip on how I can go about backing up the FreeBSD client? thanks in advance! tim From owner-freebsd-questions@FreeBSD.ORG Sun Jul 3 13:29: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 BC917106566C for ; Sun, 3 Jul 2011 13:29:48 +0000 (UTC) (envelope-from DStaal@usa.net) Received: from mail.magehandbook.com (173-8-4-45-WashingtonDC.hfc.comcastbusiness.net [173.8.4.45]) by mx1.freebsd.org (Postfix) with ESMTP id 924138FC08 for ; Sun, 3 Jul 2011 13:29:48 +0000 (UTC) Received: from [192.168.1.50] (Mac-Pro.magehandbook.com [192.168.1.50]) by mail.magehandbook.com (Postfix) with ESMTP id 72BEC119; Sun, 3 Jul 2011 09:29:47 -0400 (EDT) Date: Sun, 03 Jul 2011 09:29:47 -0400 From: Daniel Staal To: Warren Block , freebsd-questions@freebsd.org Message-ID: <49885E2B3C795E1530033548@mac-pro.magehandbook.com> In-Reply-To: References: <20110702090827.GA1032@tiny> 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: Mouse problem on ThinkPad X61 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: FreeBSD Questions List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jul 2011 13:29:48 -0000 --As of July 2, 2011 9:56:33 PM -0600, Warren Block is alleged to have said: > The T61 has both a touchpad and a trackpoint. Seems like on my T42, only > one works. Possibly there are settings for psm(4) or the synaptics > touchpad driver is needed. --As for the rest, it is mine. Check your BIOS settings as well: You can turn them off independently there, and the OS would never see it. Daniel T. Staal --------------------------------------------------------------- This email copyright the author. Unless otherwise noted, you are expressly allowed to retransmit, quote, or otherwise use the contents for non-commercial purposes. This copyright will expire 5 years after the author's death, or in 30 years, whichever is longer, unless such a period is in excess of local copyright law. --------------------------------------------------------------- From owner-freebsd-questions@FreeBSD.ORG Sun Jul 3 16:33: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 635A21065670 for ; Sun, 3 Jul 2011 16:33:47 +0000 (UTC) (envelope-from pancakeking79@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4178E8FC08 for ; Sun, 3 Jul 2011 16:33:46 +0000 (UTC) Received: by pvg11 with SMTP id 11so5456609pvg.13 for ; Sun, 03 Jul 2011 09:33:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=peCK83Q2FZmR94nTH2qwgOJfBrm79HV2/B8l0HaWcIQ=; b=DrfBFe7DlmpWn25NEGxi1I6iuiz/vMs7x5PX1AMC8g+sAFywEpdLJ71RllYg5wyPHR NnRUSaSvJsbqPM3qt5VsxeW7ukYp9t64r/liB5+XqV5NWrb8dWkg3wWrCjIXV6F9dHzX XZKpxbGVwU449/5UvaHt9btG+FnFTMWRijRsY= MIME-Version: 1.0 Received: by 10.142.250.42 with SMTP id x42mr2468253wfh.412.1309709015272; Sun, 03 Jul 2011 09:03:35 -0700 (PDT) Received: by 10.143.31.19 with HTTP; Sun, 3 Jul 2011 09:03:35 -0700 (PDT) Date: Sun, 3 Jul 2011 18:03:35 +0200 Message-ID: From: _ To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: WLAN issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 Jul 2011 16:33:47 -0000 Hi List, I can't get my WLAN (WPA) to work and I am somewhat at a loss, as to what else to try... The /etc/rc.conf portion looks like this: ifconfig_wi0="WPA DHCP" My /etc/wpa_supplicant.conf looks like this: network={ ssid="my_ssid" psk="my_psk" } The above should be fine in terms of how it is set up. Invoking ifconfig on the interface tells me that it is connected, however, there's still no internet connection. # ifconfig wi0 wi0: flags=8843 metric 0 mtu 1500 ether 00:02:2d:0f:4f:99 inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps) status: associated ssid WLAN-5C7E88 channel 11 (2462 Mhz 11b) bssid 88:25:2c:5c:7e:38 stationname "FreeBSD WaveLAN/IEEE node" authmode WPA1+WPA2/802.11i privacy MIXED deftxkey UNDEF bmiss 7 scanvalid 60 roaming MANUAL My OS is FreeBSD 7.0. Any support is greatly appreciated. Thanks From owner-freebsd-questions@FreeBSD.ORG Sun Jul 3 16:51: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 023801065673 for ; Sun, 3 Jul 2011 16:51:25 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id 8F09A8FC24 for ; Sun, 3 Jul 2011 16:51:24 +0000 (UTC) Received: from [93.104.88.190] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1QdPtD-0002Fi-08; Sun, 03 Jul 2011 18:51:23 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id p63GpLDl003841; Sun, 3 Jul 2011 18:51:21 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id p63GpKjL003840; Sun, 3 Jul 2011 18:51:20 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sun, 3 Jul 2011 18:51:20 +0200 From: Matthias Apitz To: _ Message-ID: <20110703165120.GA3806@tinyCurrent> References: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 8.0-CURRENT (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Originating-IP: 93.104.88.190 Cc: freebsd-questions@freebsd.org Subject: Re: WLAN issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jul 2011 16:51:25 -0000 El día Sunday, July 03, 2011 a las 06:03:35PM +0200, _ escribió: > Hi List, > > I can't get my WLAN (WPA) to work and I am somewhat at a loss, as to what > else to try... > > > The /etc/rc.conf portion looks like this: > > ifconfig_wi0="WPA DHCP" > > > My /etc/wpa_supplicant.conf looks like this: > > network={ > ssid="my_ssid" > psk="my_psk" > } > > The above should be fine in terms of how it is set up. > > > Invoking ifconfig on the interface tells me that it is connected, however, > there's still no internet connection. > > # ifconfig wi0 > wi0: flags=8843 metric 0 mtu 1500 > ether 00:02:2d:0f:4f:99 > inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 > media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps) > status: associated > ssid WLAN-5C7E88 channel 11 (2462 Mhz 11b) bssid 88:25:2c:5c:7e:38 > stationname "FreeBSD WaveLAN/IEEE node" > authmode WPA1+WPA2/802.11i privacy MIXED deftxkey UNDEF bmiss 7 > scanvalid 60 roaming MANUAL You are well associated to the AP, but don't have an IP addr; does the AP supports DHCP, i.e. is willing to give you an IP addr? maybe your MAC addr must be known by the AP; check with the Admin of the AP; also check with 'ps ax | fgrep dhc' if you run the DHCP client, if not force this by hand with: # dhclient wi0 HIH matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ From owner-freebsd-questions@FreeBSD.ORG Sun Jul 3 21:35: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 2FE25106564A for ; Sun, 3 Jul 2011 21:35:28 +0000 (UTC) (envelope-from pancakeking79@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id C5AAA8FC08 for ; Sun, 3 Jul 2011 21:35:28 +0000 (UTC) Received: by pvg11 with SMTP id 11so5605318pvg.13 for ; Sun, 03 Jul 2011 14:35:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=f3B6UvLg0P3Aprg52rJIROgPlsU0lnPfQvulyMIE7y4=; b=B5GJ7RXRH9+rONO5lEt2JofGBlbb5HO7taCVLe2Woy23ocgmq4akRvXigV5hPoTftA jHKis3QoXSyYN+1YswR6gCOZJ1Irt0V9gtbVjmGa7SL15qk9HkrWq5osVWTieuSq+/Fk 4cZg+vQJZQFh0tE6xd0eoS+o7ZxNexDo5AUVo= MIME-Version: 1.0 Received: by 10.142.56.13 with SMTP id e13mr2456841wfa.298.1309728928220; Sun, 03 Jul 2011 14:35:28 -0700 (PDT) Received: by 10.143.31.19 with HTTP; Sun, 3 Jul 2011 14:35:28 -0700 (PDT) In-Reply-To: <201107031721.p63HLo5g055315@mail.r-bonomi.com> References: <201107031721.p63HLo5g055315@mail.r-bonomi.com> Date: Sun, 3 Jul 2011 23:35:28 +0200 Message-ID: From: _ To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: WLAN issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 03 Jul 2011 21:35:29 -0000 The router supports DHCP perfectly fine and there is no MAC address filtering or blocking or anything of that sort. I know this for a fact since I administer it. There are several hosts connected to it. These are cable or WLAN connections based on Windows or Apple machines and there has never been an issue. I am aware that my NIC can't get the IP-Address. Why this is so puzzles me, for I have already tried all the other alternatives I know. These are: 1. /etc/rc.d/netif start. 2. wpa_supplicant -i wi0 -c /etc/wpa_supplicant.conf 3. dhclient wi0 and they don't work either. My kernel even crashed a few times when I ran the netif script. On Sun, Jul 3, 2011 at 7:21 PM, Robert Bonomi wrote: > > > Date: Sun, 3 Jul 2011 18:03:35 +0200 > > To: freebsd-questions@freebsd.org > > Subject: WLAN issue > > > > Hi List, > > > > I can't get my WLAN (WPA) to work and I am somewhat at a loss, as to what > > else to try... > > > > > > The /etc/rc.conf portion looks like this: > > > > ifconfig_wi0="WPA DHCP" > > > > > > My /etc/wpa_supplicant.conf looks like this: > > > > network={ > > ssid="my_ssid" > > psk="my_psk" > > } > > > > The above should be fine in terms of how it is set up. > > > > > > Invoking ifconfig on the interface tells me that it is connected, > however, > > there's still no internet connection. > > > > # ifconfig wi0 > > wi0: flags=8843 metric 0 mtu 1500 > > ether 00:02:2d:0f:4f:99 > > inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 > > media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps) > > status: associated > > ssid WLAN-5C7E88 channel 11 (2462 Mhz 11b) bssid 88:25:2c:5c:7e:38 > > stationname "FreeBSD WaveLAN/IEEE node" > > authmode WPA1+WPA2/802.11i privacy MIXED deftxkey UNDEF bmiss 7 > > scanvalid 60 roaming MANUAL > > > > > > My OS is FreeBSD 7.0. > > > > > > Any support is greatly appreciated. > > The 'problem' is obvious -- you don't have an IP address. > > _Why_ that is the case is not so obvious. > > _I_ have always run the DHCP client manually -- can't give you the > exeuctable > name off the top of my head, and don't have easy access to the machine to > look it up. There is undobtedly a 'better' way -- e.g., to run it > 'automagically' when the wifi connection goes 'associated' -- but I don't > know what it is. doing it manually has sufficied for my needs. > > > > > > From owner-freebsd-questions@FreeBSD.ORG Mon Jul 4 01:50: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 CBB0B106564A for ; Mon, 4 Jul 2011 01:50:58 +0000 (UTC) (envelope-from samjvaughan@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 9A6A88FC0C for ; Mon, 4 Jul 2011 01:50:58 +0000 (UTC) Received: by iwr19 with SMTP id 19so5527789iwr.13 for ; Sun, 03 Jul 2011 18:50:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; bh=A8BIMiWQ7pXM5/pL4WIBLcDR6MhvZVmko7mgeifi6tk=; b=opnFj9TMcTDRk/Pg1UfSmWYotHkk2kqVUu6IEkqybTPSxsfqu/sXMUnqFX3193sJME /Zlc9Mwo7vYsyZvzcJ/TAOpwWRRlyhIeMtEwLJBQnkSDcf1PZpoDyfaQ0Ps0kp9eVyYy RkYcb6DQ/IKwk3sLhkFpgxHIJuKowEWOZB6qg= Received: by 10.42.67.80 with SMTP id s16mr5693694ici.473.1309742423039; Sun, 03 Jul 2011 18:20:23 -0700 (PDT) Received: from [192.168.1.18] ([203.111.191.138]) by mx.google.com with ESMTPS id s2sm5842965icw.5.2011.07.03.18.20.19 (version=SSLv3 cipher=OTHER); Sun, 03 Jul 2011 18:20:20 -0700 (PDT) From: Sam Vaughan Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Mon, 4 Jul 2011 11:20:17 +1000 Message-Id: <41EDF508-557C-4582-9E2C-0179BA3FDB7E@gmail.com> To: freebsd-questions@freebsd.org Mime-Version: 1.0 (Apple Message framework v1084) X-Mailer: Apple Mail (2.1084) Subject: LSI MegaRAID 9260 on FreeBSD 8.2 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, 04 Jul 2011 01:50:58 -0000 Hi, I want to use an LSI MegaRAID 9260 on FreeBSD 8.2 amd64 using mfi and I = have two quick questions: LSI's MegaRaid SAS documentation [1] states that "Currently, the FreeBSD = driver is supported only on 32-bit FreeBSD". On the other hand the = FreeBSD 8.2 hardware compatibility page [2] states that the mfi driver = supports the MegaRaid 9260 in all three of the i386, ia64, amd64 ports. Is LSI's documentation simply out of date or is there some issue with = the mfi driver on amd64? Lastly, they describe the installation process including rebuilding the = kernel. Is the mfi driver not built in and active by default? Thanks, Sam [1] = http://www.lsi.com/downloads/Public/MegaRAID%20Common%20Files/80-00163-01_= Rev_E_SAS_driver_ug.pdf [2] http://www.FreeBSD.org/releases/8.2R/hardware.html From owner-freebsd-questions@FreeBSD.ORG Mon Jul 4 03:48: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 18C10106566C for ; Mon, 4 Jul 2011 03:48:34 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from nm8.bullet.mail.bf1.yahoo.com (nm8.bullet.mail.bf1.yahoo.com [98.139.212.167]) by mx1.freebsd.org (Postfix) with SMTP id 963A68FC13 for ; Mon, 4 Jul 2011 03:48:33 +0000 (UTC) Received: from [98.139.212.151] by nm8.bullet.mail.bf1.yahoo.com with NNFMP; 04 Jul 2011 03:48:32 -0000 Received: from [98.139.212.241] by tm8.bullet.mail.bf1.yahoo.com with NNFMP; 04 Jul 2011 03:48:32 -0000 Received: from [127.0.0.1] by omp1050.mail.bf1.yahoo.com with NNFMP; 04 Jul 2011 03:48:32 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 874765.5161.bm@omp1050.mail.bf1.yahoo.com Received: (qmail 65039 invoked by uid 60001); 4 Jul 2011 03:48:32 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1309751312; bh=ToKcqQxVAKL+9aN6CFuujabQvfaI+KXpMiMWbGHmkSQ=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=pU/30J9UwvR9+RqpS4Brn2w3wVe2s3jlqN0ro+bjfkejAzaIL7B3R3OWXKVbdbWtANGxcWKY9yzv4gLEiK+7zMm9vwtb1qqE9/4qNb82UY3pAfdQzGRzVEcFfNnoGFNf2MjK/2ESIV2E/UIIw24D799OOi0TqmtclZGaNO0C+Rg= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=i5yChjK5dkZp/SfZXsMB4Lp75BOTsf8Zm2i+7MQ5MesowqOiTm9sMz/DO+CkU//KX6b11igFhuJFtdH9pGcgApb6NYkxVup/LssR0r42Rg1W7zLAA/m7LinYkDYFXMQdNPviUUxcbt70MlsNJbyrDxqBcj1lphejjtPegY3LoF4=; X-YMail-OSG: lcqHxhEVM1m2oZspIHDrw3eAihohjnfEBsZ_bjza7jq5k08 B0PICjlSIlYnsGmFREPkXqA.DiICLza.yOB42XSA6JR7_pnGAsrJrlBapkif x4zJiLeNN4zCx5MoUV.DAMOhFxQlKKourUP7YnD0Wj9swdqWtjej7kIMpP1j D8oPyXPa2qunGqpI2LH2gZ7lfsAp3oWGBEXf5hl5bL07Z06k4rnk7TUo_oWW 5gc4hWaBUfNxbFV4eEtvWcofHzce4IG3.8SH.mhx_MTLNgQeGSUaCYUkziEC aacdlk_emJ_DT9VBZ8AjDx3EFNHZKpwv1eRQ2nbVEeGZUvmJOFbTOqrNh.V1 q_SXtSsDqUQHziMrik8t7H1lyLLHU0lgFa9IytlT0aKxbCZfw_jX3JQr9oJe UE1irLvJBp4RU1fyzSmo63pIXfmKeYwun2bDkdZhGkacIeLnjgPWq Received: from [112.134.98.156] by web160111.mail.bf1.yahoo.com via HTTP; Sun, 03 Jul 2011 20:48:32 PDT X-Mailer: YahooMailClassic/14.0.3 YahooMailWebService/0.8.112.307740 Message-ID: <1309751312.63288.YahooMailClassic@web160111.mail.bf1.yahoo.com> Date: Sun, 3 Jul 2011 20:48:32 -0700 (PDT) From: Unga To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: ipfw: getsockopt(IP_FW_ADD): Invalid argument X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 04 Jul 2011 03:48:34 -0000 Hi all Following ipfw rule develop error indicated in the subject line: ipfw add 100 fwd 127.0.0.1,1234 tcp from any to any 1234 out via wlan0 What I want to do is forward any packet going to port 1234 to 127.0.0.1:1234. I have built the kernel with "options IPFIREWALL_FORWARD". What's the error here? Is the rule incorrect? This is FreeBSD 8.1. Many thanks in advance. Unga From owner-freebsd-questions@FreeBSD.ORG Mon Jul 4 05:44: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 E42411065670 for ; Mon, 4 Jul 2011 05:44:25 +0000 (UTC) (envelope-from jrisom@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 B04FD8FC14 for ; Mon, 4 Jul 2011 05:44:25 +0000 (UTC) Received: by iyb11 with SMTP id 11so5637123iyb.13 for ; Sun, 03 Jul 2011 22:44:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=8WXzLLDU/ZcQ3yB0lV9MXhqTRQ0ruDdRqhk3N9uKyuw=; b=ieatO5nTfnyGcYPWM9m798oqVkVRBi4JCclt6nR8/XhrP4F9ATDmUu4yWsaDS8onia OpKHio2P3hHull89Dnb4gaFSSmk94BLcjb+PtQCjULTbCi3hBntzhwJEq351+tw05vgo u3CZXaml5jBTmrHn1SdYPncDkDE6JbtIF8HPI= Received: by 10.42.72.193 with SMTP id p1mr1141214icj.244.1309758264874; Sun, 03 Jul 2011 22:44:24 -0700 (PDT) Received: from [192.168.1.3] (c-98-212-201-29.hsd1.il.comcast.net [98.212.201.29]) by mx.google.com with ESMTPS id ft12sm3396301ibb.53.2011.07.03.22.44.23 (version=SSLv3 cipher=OTHER); Sun, 03 Jul 2011 22:44:24 -0700 (PDT) Message-ID: <4E115312.4030504@gmail.com> Date: Mon, 04 Jul 2011 00:43:46 -0500 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.18) Gecko/20110616 Lightning/1.0b2 Thunderbird/3.1.11 MIME-Version: 1.0 To: "freebsd-questions@freebsd.org" Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Making an mbr boot usb on 8.2-stable X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 04 Jul 2011 05:44:26 -0000 I recently changed my raid0 into two raid1's so I can have redundancy. Getting a disk to boot was harder than I ever remember. Part of the problem, my gigabyte bios locks up hard if there's a gpt usb drive plugged in, not even scanning the memory. It seems to be a little known problem. Some of the stuff I read on the internet mentions fdisk being somewhat broken because of geom changes, and I couldn't get a usb disk to boot that I made with fdisk or gpart. I ended up just dd'ing a memstick image from freebsd.org onto a drive and booting that. Annoyingly, the only one supporting zfs v28 is the 9-current image judging by the timestamps. I'm still wanting a rescue disk, and gpt is out of the question. I don't want a cd because I want a full install and to be able to periodically update it. I can partition the drive, install freebsd on it, but it won't boot. I've tried gpart, fdisk, and sade but I can't seem to be able to make it actually boot or even reach loader. I think the furthest I got was boot1. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 4 08:52: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 ABFD6106564A; Mon, 4 Jul 2011 08:52:11 +0000 (UTC) (envelope-from vermaden@interia.pl) Received: from smtpo.poczta.interia.pl (smtpo.poczta.interia.pl [217.74.65.206]) by mx1.freebsd.org (Postfix) with ESMTP id 0BC648FC17; Mon, 4 Jul 2011 08:52:10 +0000 (UTC) Date: Mon, 04 Jul 2011 10:35:28 +0200 From: vermaden To: freebsd-current@freebsd.org X-Mailer: interia.pl/pf09 X-Originating-IP: 194.0.181.128 Message-Id: MIME-Version: 1.0 X-EMID: aeb9e484 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Cc: freebsd-stable@freebsd.org, freebsd-questions@freebsd.org Subject: 8.2-STABLE: audio stopped working properly after upgrade to today's sources X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 04 Jul 2011 08:52:11 -0000 Hi, I have just upgraded to 8.2-STABLE (sources from today) and now my audio does not work as it should, its all very, very quiet, even at levels 100/100 for PCM/VOL with mixer, also when I plug in the headphones they are deaf and sound still plays on the speakers, below are some details of my hardware. I did not done any modifications to GENERIC config, just build it 'as is'. Thanks in advance for any help, vermaden Generally: Dell Latitude E6400 (laptop) % uname -a FreeBSD e6400 8.2-STABLE FreeBSD 8.2-STABLE #0: Mon Jul 4 09:34:04 CEST 2011 root@e6400:/usr/obj/usr/src/sys/GENERIC amd64 % cat /dev/sndstat=20 FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) Installed devices: pcm0: (play/rec) default pcm1: (play) pcm2: (play) pcm3: (play) % mixer =20 Mixer vol is currently set to 100:100 Mixer bass is currently set to 50:50 Mixer treble is currently set to 50:50 Mixer pcm is currently set to 100:100 Mixer mic is currently set to 0:0 Recording source: mic % pciconf -lv hostb0@pci0:0:0:0: class=3D0x060000 card=3D0x02331028 chip=3D0x2a408086 rev= =3D0x07 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Mobile Memory Controller Hub' class =3D bridge subclass =3D HOST-PCI vgapci0@pci0:0:2:0: class=3D0x030000 card=3D0x02331028 chip=3D0x2a428086 re= v=3D0x07 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Intel Mobile Graphic (Mobile Intel 4 Series Chipset Family)' class =3D display subclass =3D VGA vgapci1@pci0:0:2:1: class=3D0x038000 card=3D0x02331028 chip=3D0x2a438086 re= v=3D0x07 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Intel Mobile Graphic (Mobile Intel 4 Series Chipset Family)' class =3D display em0@pci0:0:25:0: class=3D0x020000 card=3D0x02331028 chip=3D0x10f58086 rev= =3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Intel 82567LM-2 Gigabit Network Connection (82567LM)' class =3D network subclass =3D ethernet uhci0@pci0:0:26:0: class=3D0x0c0300 card=3D0x02331028 chip=3D0x29378086 rev= =3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) USB Universal Host Controller' class =3D serial bus subclass =3D USB uhci1@pci0:0:26:1: class=3D0x0c0300 card=3D0x02331028 chip=3D0x29388086 rev= =3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) USB Universal Host Controller' class =3D serial bus subclass =3D USB uhci2@pci0:0:26:2: class=3D0x0c0300 card=3D0x02331028 chip=3D0x29398086 rev= =3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) USB Universal Host Controller' class =3D serial bus subclass =3D USB ehci0@pci0:0:26:7: class=3D0x0c0320 card=3D0x02331028 chip=3D0x293c8086 rev= =3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) USB2 Enhanced Host Controller' class =3D serial bus subclass =3D USB hdac0@pci0:0:27:0: class=3D0x040300 card=3D0x02331028 chip=3D0x293e8086 rev= =3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) HD Audio Controller' class =3D multimedia subclass =3D HDA pcib1@pci0:0:28:0: class=3D0x060400 card=3D0x02331028 chip=3D0x29408086 rev= =3D0x03 hdr=3D0x01 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) PCIe Root Port 1' class =3D bridge subclass =3D PCI-PCI pcib2@pci0:0:28:1: class=3D0x060400 card=3D0x02331028 chip=3D0x29428086 rev= =3D0x03 hdr=3D0x01 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) PCIe Root Port 2' class =3D bridge subclass =3D PCI-PCI pcib3@pci0:0:28:2: class=3D0x060400 card=3D0x02331028 chip=3D0x29448086 rev= =3D0x03 hdr=3D0x01 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) PCIe Root Port 3' class =3D bridge subclass =3D PCI-PCI uhci3@pci0:0:29:0: class=3D0x0c0300 card=3D0x02331028 chip=3D0x29348086 rev= =3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) USB Universal Host Controller' class =3D serial bus subclass =3D USB uhci4@pci0:0:29:1: class=3D0x0c0300 card=3D0x02331028 chip=3D0x29358086 rev= =3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) USB Universal Host Controller' class =3D serial bus subclass =3D USB uhci5@pci0:0:29:2: class=3D0x0c0300 card=3D0x02331028 chip=3D0x29368086 rev= =3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) USB Universal Host Controller' class =3D serial bus subclass =3D USB ehci1@pci0:0:29:7: class=3D0x0c0320 card=3D0x02331028 chip=3D0x293a8086 rev= =3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) USB2 Enhanced Host Controller' class =3D serial bus subclass =3D USB pcib4@pci0:0:30:0: class=3D0x060401 card=3D0x02331028 chip=3D0x24488086 rev= =3D0x93 hdr=3D0x01 vendor =3D 'Intel Corporation' device =3D '82801 Family (ICH2/3/4/5/6/7/8/9-M) Hub Interface to PCI Bridge' class =3D bridge subclass =3D PCI-PCI isab0@pci0:0:31:0: class=3D0x060100 card=3D0x02331028 chip=3D0x29178086 rev= =3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'ICH9M-E LPC Interface Controller' class =3D bridge subclass =3D PCI-ISA ahci0@pci0:0:31:2: class=3D0x010601 card=3D0x02331028 chip=3D0x29298086 rev= =3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D '82801IB/IR/IH (ICH9 Family) Mobile SATA AHCI Controller' class =3D mass storage subclass =3D SATA none0@pci0:0:31:3: class=3D0x0c0500 card=3D0x02331028 chip=3D0x29308086 rev= =3D0x03 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Intel(R) ICH9 Family SMBus Controller working fine with http://download.cnet.com/Chipset-Driver-Inte (8086)' class =3D serial bus subclass =3D SMBus iwn0@pci0:12:0:0: class=3D0x028000 card=3D0x11218086 chip=3D0x42358086 rev= =3D0x00 hdr=3D0x00 vendor =3D 'Intel Corporation' device =3D 'Intel WiFi Link 5300 AGN (5300AGN)' class =3D network ---------------------------------------------------------------- Najwieksza baza samochodow nowych i uzywanych Sprawdz >> http://linkint.pl/f29e3 From owner-freebsd-questions@FreeBSD.ORG Mon Jul 4 09:47: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 8C97F106566B for ; Mon, 4 Jul 2011 09:47:08 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 25DB38FC14 for ; Mon, 4 Jul 2011 09:47:07 +0000 (UTC) Received: by wyg24 with SMTP id 24so4552380wyg.13 for ; Mon, 04 Jul 2011 02:47:07 -0700 (PDT) Received: by 10.227.176.72 with SMTP id bd8mr5108763wbb.72.1309772826968; Mon, 04 Jul 2011 02:47:06 -0700 (PDT) Received: from dfleuriot-at-hi-media.com ([83.167.62.196]) by mx.google.com with ESMTPS id p14sm81777wbh.47.2011.07.04.02.47.05 (version=SSLv3 cipher=OTHER); Mon, 04 Jul 2011 02:47:06 -0700 (PDT) Message-ID: <4E118C18.1010405@my.gd> Date: Mon, 04 Jul 2011 11:47:04 +0200 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <41EDF508-557C-4582-9E2C-0179BA3FDB7E@gmail.com> In-Reply-To: <41EDF508-557C-4582-9E2C-0179BA3FDB7E@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: LSI MegaRAID 9260 on FreeBSD 8.2 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, 04 Jul 2011 09:47:08 -0000 On 7/4/11 3:20 AM, Sam Vaughan wrote: > Hi, > > I want to use an LSI MegaRAID 9260 on FreeBSD 8.2 amd64 using mfi and I have two quick questions: > > LSI's MegaRaid SAS documentation [1] states that "Currently, the FreeBSD driver is supported only on 32-bit FreeBSD". On the other hand the FreeBSD 8.2 hardware compatibility page [2] states that the mfi driver supports the MegaRaid 9260 in all three of the i386, ia64, amd64 ports. > > Is LSI's documentation simply out of date or is there some issue with the mfi driver on amd64? > Most likely LSI's out of date. > Lastly, they describe the installation process including rebuilding the kernel. Is the mfi driver not built in and active by default? > Yes it is :) > Thanks, > > Sam > > [1] http://www.lsi.com/downloads/Public/MegaRAID%20Common%20Files/80-00163-01_Rev_E_SAS_driver_ug.pdf > [2] http://www.FreeBSD.org/releases/8.2R/hardware.html > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Mon Jul 4 11:43: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 D996A106564A for ; Mon, 4 Jul 2011 11:43:58 +0000 (UTC) (envelope-from onemda@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 93E178FC13 for ; Mon, 4 Jul 2011 11:43:58 +0000 (UTC) Received: by vws18 with SMTP id 18so4887794vws.13 for ; Mon, 04 Jul 2011 04:43:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=qSBb6Dv3f37fMXHpVqn2qz1482x7Zn6Wcs/nyxSQgTg=; b=m3Kje9qERvJ6tU/+VQUIbL71/686ZWr0Qe9KO/96JoZiaF6ZhhG9rWSjTHgy7Uo2wa YfQg/kJCxRfJWZtEqvftnN9A+w/QXPioatmi252/j6zB84X2FBWA8Vts1TR9ZUfYQaLv sBCkNhCdh1W5fL5xnCkZoVAWgHW8NJYFRynAI= MIME-Version: 1.0 Received: by 10.52.164.136 with SMTP id yq8mr4654483vdb.102.1309776847944; Mon, 04 Jul 2011 03:54:07 -0700 (PDT) Received: by 10.220.194.133 with HTTP; Mon, 4 Jul 2011 03:54:07 -0700 (PDT) In-Reply-To: References: Date: Mon, 4 Jul 2011 10:54:07 +0000 Message-ID: From: "Paul B. Mahol" To: _ Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: WLAN issue X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 04 Jul 2011 11:43:58 -0000 On 7/3/11, _ wrote: > Hi List, > > I can't get my WLAN (WPA) to work and I am somewhat at a loss, as to what > else to try... > > > The /etc/rc.conf portion looks like this: > > ifconfig_wi0="WPA DHCP" > > > My /etc/wpa_supplicant.conf looks like this: > > network={ > ssid="my_ssid" > psk="my_psk" > } > > The above should be fine in terms of how it is set up. > > > Invoking ifconfig on the interface tells me that it is connected, however, > there's still no internet connection. > > # ifconfig wi0 > wi0: flags=8843 metric 0 mtu 1500 > ether 00:02:2d:0f:4f:99 > inet 0.0.0.0 netmask 0xff000000 broadcast 255.255.255.255 > media: IEEE 802.11 Wireless Ethernet autoselect (DS/2Mbps) > status: associated > ssid WLAN-5C7E88 channel 11 (2462 Mhz 11b) bssid 88:25:2c:5c:7e:38 > stationname "FreeBSD WaveLAN/IEEE node" > authmode WPA1+WPA2/802.11i privacy MIXED deftxkey UNDEF bmiss 7 > scanvalid 60 roaming MANUAL > > > My OS is FreeBSD 7.0. Why you do not update to 8.2 This way it is far more likely if bug is still present to be fixed. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 4 12:56: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 631DF106566B for ; Mon, 4 Jul 2011 12:56:58 +0000 (UTC) (envelope-from tethys.ocean@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 407958FC0C for ; Mon, 4 Jul 2011 12:56:58 +0000 (UTC) Received: by pzk27 with SMTP id 27so3029459pzk.13 for ; Mon, 04 Jul 2011 05:56:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=PRzWQKimgVH55YwsCS1Thqv7MjjUR+UlppUl7u6JAPQ=; b=jxuMrUzFQPLHRu2CwEVhI22pP/sAKlAoPTUBrxYBEBKrmx+L45sZS+FSaloh+WOA91 98NzxtjsIqTyAGuexL1GftJFtR2i+5+6o6aCtt5EVxlJNzYpq3YAau9nsvAyySeK/xOO UZ3GrCScEUyYB3/MvzNTUzLADr8cJB4qWtFhs= MIME-Version: 1.0 Received: by 10.68.34.202 with SMTP id b10mr7658225pbj.105.1309782496325; Mon, 04 Jul 2011 05:28:16 -0700 (PDT) Received: by 10.68.65.229 with HTTP; Mon, 4 Jul 2011 05:28:16 -0700 (PDT) Date: Mon, 4 Jul 2011 15:28:16 +0300 Message-ID: From: tethys ocean To: FreeBSD_Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: mount /unmount X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 04 Jul 2011 12:56:58 -0000 Hi, I have 3 question is FreeBSD can boot and run all service while one of slice is not mount for example /usr slice.. and second question is my mysql is in /var slice if /var is not mout can I access mysql being root and chek all databases also can read log file on /var third question is can I mount any unmount slice by using just fsck :) thx -- Share now a pigeon's flight Bluebound along the ancient skies, Its women forever hair and mammal, A Mediterranean town may arise If you rip apart a pigeon's heart. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 4 12:57: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 A3F451065676 for ; Mon, 4 Jul 2011 12:57:35 +0000 (UTC) (envelope-from elon@emmi.physik-pool.tu-berlin.de) Received: from emmi.physik-pool.tu-berlin.de (emmi.physik-pool.tu-berlin.de [130.149.58.146]) by mx1.freebsd.org (Postfix) with ESMTP id 24E318FC13 for ; Mon, 4 Jul 2011 12:57:34 +0000 (UTC) Received: from emmi.physik-pool.tu-berlin.de (localhost.physik-pool.tu-berlin.de [127.0.0.1]) by emmi.physik-pool.tu-berlin.de (8.14.4/8.14.4) with ESMTP id p64CvXrY054308 for ; Mon, 4 Jul 2011 14:57:33 +0200 (CEST) (envelope-from elon@emmi.physik-pool.tu-berlin.de) Received: (from elon@localhost) by emmi.physik-pool.tu-berlin.de (8.14.4/8.14.4/Submit) id p64CvX8f054307 for freebsd-questions@freebsd.org; Mon, 4 Jul 2011 14:57:33 +0200 (CEST) (envelope-from elon) Date: Mon, 4 Jul 2011 14:57:32 +0200 From: Leon =?iso-8859-15?Q?Me=DFner?= To: freebsd-questions@freebsd.org Message-ID: <20110704125732.GL74606@emmi.physik-pool.tu-berlin.de> Mail-Followup-To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Subject: 8.3Release status? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 04 Jul 2011 12:57:35 -0000 Hi, is there already any information regarding the release process of 8.3 available ? On http://www.freebsd.org/releng/index.html 8.2 is still listed under the "Upcoming release schedule" section. I'm too curious to see which work/project made the release (like http://wiki.freebsd.org/Releng/8.2TODO for 8.2). cherio, Leon From owner-freebsd-questions@FreeBSD.ORG Sat Jul 2 16:04: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 EE1BA106564A for ; Sat, 2 Jul 2011 16:04:13 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from nm19.bullet.mail.bf1.yahoo.com (nm19.bullet.mail.bf1.yahoo.com [98.139.212.178]) by mx1.freebsd.org (Postfix) with SMTP id 84BAD8FC0C for ; Sat, 2 Jul 2011 16:04:13 +0000 (UTC) Received: from [98.139.212.149] by nm19.bullet.mail.bf1.yahoo.com with NNFMP; 02 Jul 2011 16:04:12 -0000 Received: from [98.139.212.209] by tm6.bullet.mail.bf1.yahoo.com with NNFMP; 02 Jul 2011 16:04:12 -0000 Received: from [127.0.0.1] by omp1018.mail.bf1.yahoo.com with NNFMP; 02 Jul 2011 16:04:12 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 837807.79979.bm@omp1018.mail.bf1.yahoo.com Received: (qmail 21018 invoked by uid 60001); 2 Jul 2011 16:04:12 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1309622652; bh=HM0zyLO9eEA4XNKXME/F+LF3Ktk8n6uLPDzvIRIBZVg=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=TwYkptM+bbXK6sTGv9ksBrnmK2iDTVa7OtZM1MrRUzjdFFyWFFU2h7+szlWWKi6pOWUJir9xGAsfelgaGvvwEbm+d8PyW9ytazClj+jGMbnncFzHvxkuOeqWKRsQmHylH+PiDaP07QG2csxuH7PLvX9nrxfrkPEYJvz1LRvYoKQ= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=GyFmmf5XpI9jaX1T9UZz21ofsjmiuU6I+uRzDLefCbpRgDx+ECTYp190ao6+b5kQYco9LsymgrqUmw1D5ivyhZ7Y1vE5HY9V3S+1k6HUmRewqMdtR+iXR1/LCrC8fk6WTP+pm9lp8c5FooVgahIHa7LpME3GDUc8BxUROyRvrmo=; X-YMail-OSG: e9ohGMIVM1ntN8wl28NqI7dAMVK1VdHt4UHPhZ7g0WKsQFb EoZuLPbM8jZjEmQ8Vf4_elvG0vCQMcKDjXUsn_xWPdRkgvD7PWpOEN1VsKWj PUawAJOwOR7ueQZ1Y1tKLUKHQmM.7Hl39LtOhS8kAkUrQbZ8hRR9NWMXY7yL lSkB9yprqk0Z3mvJehl.x_J9oG01eG.rcu0iRxekzyga1ZiRgKrzI287FpU2 wVo8ocvfAtnNfp_v9M3e20AT..zWcEuxS7E9uO0E_rtwphfNCuEBUNbZ11hv IgCQrhQknXI8ZdIILh9QGLLLfZRFwwmHMFnzWXIecNAOB6EORtmqEJNpUSLX czUh5ENfCSn15LumKdW_Ot8d5WaSSpibaNI1LR1W_J0eL2biuFbOfXmod5zX DWCqgW5hWPLBA4gaRektIvaeo5QOI10CHqlEXl7JPUWKrYT3KwhDj Received: from [112.134.100.178] by web160117.mail.bf1.yahoo.com via HTTP; Sat, 02 Jul 2011 09:04:12 PDT X-Mailer: YahooMailClassic/14.0.3 YahooMailWebService/0.8.112.307740 Message-ID: <1309622652.12815.YahooMailClassic@web160117.mail.bf1.yahoo.com> Date: Sat, 2 Jul 2011 09:04:12 -0700 (PDT) From: Unga To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailman-Approved-At: Mon, 04 Jul 2011 13:14:47 +0000 Subject: ipfw: getsockopt(IP_FW_ADD): Invalid argument X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 02 Jul 2011 16:04:14 -0000 Hi all Following ipfw rule develop error indicated in the subject line: ipfw add 100 fwd 127.0.0.1,1234 tcp from any to any 1234 out via ath0 What I want to do is forward any packet going to port 1234 to 127.0.0.1:1234. I have built the kernel with "options IPFIREWALL_FORWARD". What's the error here? Is the rule incorrect? Many thanks in advance. Unga From owner-freebsd-questions@FreeBSD.ORG Mon Jul 4 13:15: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 34E92106566B for ; Mon, 4 Jul 2011 13:15:09 +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 E8F3E8FC1D for ; Mon, 4 Jul 2011 13:15:08 +0000 (UTC) Received: from r55.edvax.de (port-92-195-180-180.dynamic.qsc.de [92.195.180.180]) by mx01.qsc.de (Postfix) with ESMTP id 50F1C3D220; Mon, 4 Jul 2011 15:15:06 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p64DF5j7005097; Mon, 4 Jul 2011 15:15:05 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 4 Jul 2011 15:15:05 +0200 From: Polytropon To: tethys ocean Message-Id: <20110704151505.99e0ed4d.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 Subject: Re: mount /unmount X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jul 2011 13:15:09 -0000 On Mon, 4 Jul 2011 15:28:16 +0300, tethys ocean wrote: > Hi, > > I have 3 question > > is FreeBSD can boot and run all service while one of slice is not mount for > example /usr slice.. Check the corresponding entry in /etc/fstab where all file systems should be mentioned that you want to be mounted at system startup. For example, a proper line would look like this: # Device Mountpoint FStype Options Dump Pass# # ----------- --------------------- ------ ------------- ----- ----- /dev/ad0s1f /usr ufs rw 2 2 Check device names. Depending on how you're accessing disks, the name could also be ad0f, ada0f, da0f or something else. Also keep the correct terminology: FreeBSD mounts UFS partitions, not slices. A slice contains a partition carrying a file system, usually UFS. > and second question is my mysql is in /var slice if /var is not mout can I > access mysql being root and chek all databases also can read log file on > /var No. You can't access files inside a file system that isn't mounted (exceptions: forensic analysis, or performing a device dump). > third question is can I mount any unmount slice by using just fsck :) No. You can only mount file system that are marked clean. To accomplish this - yes - running fsck for the device (or the mount point, if listed in /etc/fstab) is required when the device has been uncleanly mounted previously. To mount all file systems, use "mount -a". Also you should _not_ fsck a mounted partition. Unmount them first (if required), run fsck, then mount. In worst case, boot from a live system CD or DVD or USB stick and issue the fsck command from there (really, just worst case scenario, you shouldn't need this in the first place). -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Jul 4 13:30: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 437F01065673 for ; Mon, 4 Jul 2011 13:30:28 +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 A097D8FC15 for ; Mon, 4 Jul 2011 13:30:27 +0000 (UTC) Received: from russet.local (reflex.squiz.co.uk [83.217.109.164]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id p64DU8Ar045237 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Mon, 4 Jul 2011 14:30:15 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk p64DU8Ar045237 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1309786216; bh=S74zm0iO7IabUrPgkTbnuGJsrOKTTEiTfKDWXkmqwZk=; 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<4E11C059.3090708@infracaninophile.co.uk>|Date:=20M on,=2004=20Jul=202011=2014:30:01=20+0100|From:=20Matthew=20Seaman= 20|User-Agent:=20Mozilla/5.0=20(M acintosh=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20rv:5.0)=20Gecko/201 10624=20Thunderbird/5.0|MIME-Version:=201.0|To:=20freebsd-question s@freebsd.org|Subject:=20Re:=20mount=20/unmount|References:=20 |In-Reply-To:=20|X-Enigmail-Version:=201.2|Content-Type:=20mul tipart/signed=3B=20micalg=3Dpgp-sha1=3B=0D=0A=20protocol=3D"applic ation/pgp-signature"=3B=0D=0A=20boundary=3D"------------enigF564CF 5FB5CDF66C6719C280"; b=Imk/vmbnNXC0eFilQjkCyv+sv9ZozoOM0no0BeR5olna49yS4eGCJn2GdeCPV1Umy LmJfvSDfhxLnjOo8J6FKIwNvKGXxJENaXBjvtCXYtvmXitKlg9DTRMnjRvBF+l8Io9 sMo/3hYp6LdPxh3nsuP0H4DnhSg5RjNdxVUuc5go= X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host reflex.squiz.co.uk [83.217.109.164] claimed to be russet.local Message-ID: <4E11C059.3090708@infracaninophile.co.uk> Date: Mon, 04 Jul 2011 14:30:01 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: X-Enigmail-Version: 1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF564CF5FB5CDF66C6719C280" X-Virus-Scanned: clamav-milter 0.97 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: mount /unmount X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 04 Jul 2011 13:30:28 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF564CF5FB5CDF66C6719C280 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 04/07/2011 13:28, tethys ocean wrote: > is FreeBSD can boot and run all service while one of slice is not mount= for > example /usr slice.. You can't run a program unless the partition containing it is mounted. Neither can you run a program if any command interpreter (eg. perl, php, bash) it uses, or any shared library is similarly not on a mounted partition. In order to facilitate working in single user mode, where just about every partition except the root is usually unmounted, there is a selection of useful applications in /rescue -- these are statically linked so no problems with unavailable shlibs. > and second question is my mysql is in /var slice if /var is not mout ca= n I > access mysql being root and chek all databases also can read log file o= n > /var MySQL's default data directory location is /var/db/mysql on FreeBSD. No, you need to mount /var to verify the information you require. > third question is can I mount any unmount slice by using just fsck :) If a partition was not unmounted cleanly (eg. the machine crashed, or the power was cut off suddenly) then fsck(8) should be used to check and fix any problems on the filesystem. If you've booted into single-user mode, then definitely fsck any partitions before trying to mount them. However, any fsck'ing that the system requires should happen automatically if you just let the system reboot itself. It's only occasionally when there are certain problems that fsck needs human input to resolve that you will be instructed to get onto the console and run fsck by hand[*]. Generally you'ld then use mount(8) to mount any partitions. Cheers, Matthew [*] This is dependent on what sort of filesystems you are using. For instance, ZFS never needs to stop and fsck in this way. UFS+Journal won't need it either[+]. [+] Sysinstall doesn't support installing a system using these filesystem technologies: it can be done manually, but that isn't for the faint of heart. --=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 --------------enigF564CF5FB5CDF66C6719C280 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/ iEYEARECAAYFAk4RwF8ACgkQ8Mjk52CukIxdswCffCmMrtVYN8inufJpcVuHKkMp PU0An25s5Sd52JBXr1/S41Z4mGWqjPvZ =AQ+M -----END PGP SIGNATURE----- --------------enigF564CF5FB5CDF66C6719C280-- From owner-freebsd-questions@FreeBSD.ORG Mon Jul 4 13:35:01 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 AF862106566C for ; Mon, 4 Jul 2011 13:35:01 +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 20B4D8FC17 for ; Mon, 4 Jul 2011 13:35:00 +0000 (UTC) Received: from russet.local (reflex.squiz.co.uk [83.217.109.164]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id p64DYvV6045326 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Mon, 4 Jul 2011 14:34:57 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk p64DYvV6045326 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1309786497; bh=xF6NIs1ztpaeEY8KaGebIzTZlwxeLGJdFBRP5Wkzyjg=; 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<4E11C180.5010506@infracaninophile.co.uk>|Date:=20M on,=2004=20Jul=202011=2014:34:56=20+0100|From:=20Matthew=20Seaman= 20|User-Agent:=20Mozilla/5.0=20(M acintosh=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20rv:5.0)=20Gecko/201 10624=20Thunderbird/5.0|MIME-Version:=201.0|To:=20freebsd-question s@freebsd.org|Subject:=20Re:=208.3Release=20status?|References:=20 <20110704125732.GL74606@emmi.physik-pool.tu-berlin.de>|In-Reply-To :=20<20110704125732.GL74606@emmi.physik-pool.tu-berlin.de>|X-Enigm ail-Version:=201.2|Content-Type:=20multipart/signed=3B=20micalg=3D pgp-sha1=3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0 A=20boundary=3D"------------enig6968CA0EEA362EEA50D362A2"; b=snyDyaR9G/OLV+jTyt+8BRI0fcNFJIfY2CXf1SEE4P5xlMnZgX4ZfPK58YibZ926E 9e2uGnRKvf7fUvpPdcnxbI6N7kwwX7hnnxhulPvp9A9jigu/C+lcmrKmuRvkupCu6K 8ZtYABPlYr7L2cl83W5zr2frbj6kvtLz/2d7Hpl4= X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host reflex.squiz.co.uk [83.217.109.164] claimed to be russet.local Message-ID: <4E11C180.5010506@infracaninophile.co.uk> Date: Mon, 04 Jul 2011 14:34:56 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20110704125732.GL74606@emmi.physik-pool.tu-berlin.de> In-Reply-To: <20110704125732.GL74606@emmi.physik-pool.tu-berlin.de> X-Enigmail-Version: 1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig6968CA0EEA362EEA50D362A2" X-Virus-Scanned: clamav-milter 0.97 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.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: 8.3Release status? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 04 Jul 2011 13:35:01 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig6968CA0EEA362EEA50D362A2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 04/07/2011 13:57, Leon Me=DFner wrote: > is there already any information regarding the release process of 8.3 > available ? On http://www.freebsd.org/releng/index.html 8.2 is still > listed under the "Upcoming release schedule" section. I'm too curious t= o > see which work/project made the release (like=20 > http://wiki.freebsd.org/Releng/8.2TODO for 8.2). The next release will be 9.0-RELEASE which is what everyone is preparing for at the moment. The release process for that is still in the early stages, and it isn't yet clear exactly what new stuff will be in 9.0. 8.3-RELEASE would happen in the cycle following 9.0-RELEASE. Release cycles tend to be spaced 4+ months apart, at least. Also, releases will be held up to fix show-stopper bugs or other problems, so the schedule may well slip 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 --------------enig6968CA0EEA362EEA50D362A2 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/ iEYEARECAAYFAk4RwYAACgkQ8Mjk52CukIz24ACfdpojz8Fs8lTceAjLXdDathzH C+cAmwVFgfIYqBdNwb4MwpUNPIKOqnVk =HtuE -----END PGP SIGNATURE----- --------------enig6968CA0EEA362EEA50D362A2-- From owner-freebsd-questions@FreeBSD.ORG Mon Jul 4 13:37: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 6D916106564A for ; Mon, 4 Jul 2011 13:37:51 +0000 (UTC) (envelope-from subhro@80386.org) Received: from oproxy1-pub.bluehost.com (oproxy1-pub.bluehost.com [66.147.249.253]) by mx1.freebsd.org (Postfix) with SMTP id 4025F8FC0A for ; Mon, 4 Jul 2011 13:37:51 +0000 (UTC) Received: (qmail 23701 invoked by uid 0); 4 Jul 2011 13:11:11 -0000 Received: from unknown (HELO box761.bluehost.com) (66.147.244.61) by cpoproxy1.bluehost.com with SMTP; 4 Jul 2011 13:11:11 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=80386.org; h=Received:Subject:Mime-Version:Content-Type:From:In-Reply-To:Date:Cc:Message-Id:References:To:X-Mailer:X-Identified-User; b=x7Lwr4ctovh7aGXmOvm3gUxIFEQ6G9ezF1aLTA3mL08SnVlzPe3fXwQ/lzxe6ojsatMU1FOKWqkmThFaLDs+NK/YOFJSfUM4KfSzvn7SiRdpXudxHIrSGN0J0DTa6M9Z; Received: from ggn.ixigo.net ([123.201.26.114] helo=[192.168.0.15]) by box761.bluehost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69) (envelope-from ) id 1Qdive-0006m1-B6; Mon, 04 Jul 2011 07:11:11 -0600 Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: multipart/signed; boundary="Apple-Mail=_0A008E37-6562-4F43-A414-611D47F4FFD3"; protocol="application/pkcs7-signature"; micalg=sha1 From: Subhro Kar In-Reply-To: Date: Mon, 4 Jul 2011 18:41:05 +0530 Message-Id: <1E138D93-6FF1-4B48-A9DF-F1E9FCA9964A@80386.org> References: To: tethys ocean X-Mailer: Apple Mail (2.1244.3) X-Identified-User: {1190:box761.bluehost.com:pixelpa2:80386.org} {sentby:smtp auth 123.201.26.114 authed with subhro@80386.org} X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD_Questions Subject: Re: mount /unmount X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 04 Jul 2011 13:37:51 -0000 --Apple-Mail=_0A008E37-6562-4F43-A414-611D47F4FFD3 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=iso-8859-1 Hello, You seem to be new to FreeBSD. In that case , I would recommend you to = read the Handbook. It is very very good documentation. On 04-Jul-2011, at 5:58 PM, tethys ocean wrote: > Hi, >=20 > I have 3 question >=20 > is FreeBSD can boot and run all service while one of slice is not = mount for > example /usr slice.. Yes, FreeBSD can run off a single filesystem. >=20 > and second question is my mysql is in /var slice if /var is not mout = can I > access mysql being root and chek all databases also can read log file = on > /var If /var is on separate filesystem, then there is no way you can access = anything inside /var without mounting /var first. >=20 > third question is can I mount any unmount slice by using just fsck :) fsck is a utility which is used to check filesystem for consistency. For = mounting a filesystem you should be using /sbin/mount and for unmounting = you should use /sbin/unmount. Thanks Subhro= --Apple-Mail=_0A008E37-6562-4F43-A414-611D47F4FFD3-- From owner-freebsd-questions@FreeBSD.ORG Mon Jul 4 13:50:10 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 3D5B7106567B for ; Mon, 4 Jul 2011 13:50:10 +0000 (UTC) (envelope-from deeptech71@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 658768FC1B for ; Mon, 4 Jul 2011 13:50:07 +0000 (UTC) Received: by yic13 with SMTP id 13so591071yic.13 for ; Mon, 04 Jul 2011 06:50:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Q7sOozCDM/tpbrvQ18py/G2CzvCvF7E5dmAzba8OEEo=; b=e2TIUn7RxTrF91aRmtwnurt9gTUGGZcCcG3Tq5FEdaX88kIv7YaT0M9gm/BTQAt6v/ Xr1nfQZOTdsLcIEoWZ8T7loN1Y6M34gtwhEHR/UkjA8gLyMYgOURTJDbQo96LZkBboWF l56fjQHTwwaEjDukmwZiz+TcSYJXN4UPADv6Y= MIME-Version: 1.0 Received: by 10.236.78.233 with SMTP id g69mr7723657yhe.298.1309787406763; Mon, 04 Jul 2011 06:50:06 -0700 (PDT) Received: by 10.236.203.6 with HTTP; Mon, 4 Jul 2011 06:50:06 -0700 (PDT) In-Reply-To: References: Date: Mon, 4 Jul 2011 15:50:06 +0200 Message-ID: From: "deeptech71@gmail.com" To: freebsd-questions@freebsd.org, freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: what is the RIGHT(TM) way to configure background DHCP? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 04 Jul 2011 13:50:10 -0000 moving [ http://lists.freebsd.org/pipermail/freebsd-questions/2011-June/231301.html ] to the freebsd-hackers list, as there doesn't seem to be enough 1337 people in the freebsd-questions list. :< From owner-freebsd-questions@FreeBSD.ORG Mon Jul 4 14:47: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 DAD4A1065670 for ; Mon, 4 Jul 2011 14:47:08 +0000 (UTC) (envelope-from Lowell@Be-Well.Ilk.Org) Received: from mail2.sea5.speakeasy.net (mail2.sea5.speakeasy.net [69.17.117.41]) by mx1.freebsd.org (Postfix) with ESMTP id B2CBD8FC08 for ; Mon, 4 Jul 2011 14:47:08 +0000 (UTC) Received: (qmail 4693 invoked from network); 4 Jul 2011 14:20:28 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail2.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 4 Jul 2011 14:20:28 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.8]) by be-well.ilk.org (Postfix) with ESMTP id 5FC4E5C60; Mon, 4 Jul 2011 10:20:20 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id 312E239847; Mon, 4 Jul 2011 10:20:18 -0400 (EDT) From: Lowell Gilbert To: "deeptech71\@gmail.com" References: Date: Mon, 04 Jul 2011 10:20:17 -0400 In-Reply-To: (deeptech's message of "Mon, 4 Jul 2011 15:50:06 +0200") Message-ID: <44k4byunz2.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-hackers@freebsd.org, freebsd-questions@freebsd.org Subject: Re: what is the RIGHT(TM) way to configure background DHCP? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 04 Jul 2011 14:47:08 -0000 "deeptech71@gmail.com" writes: > moving [ http://lists.freebsd.org/pipermail/freebsd-questions/2011-June/231301.html > ] to the freebsd-hackers list, as there doesn't seem to be enough 1337 > people in the freebsd-questions list. :< You might want to try rewording your question, because it didn't make any sense the first time. [All of your examples were commented out, so it was no surprise that they didn't work.] I considered trying to use my chrystal ball to guess that you needed "SYNCDHCP" in your interface config, but you had obviously read the manual for rc.conf(5), so that seemed unlikely... From owner-freebsd-questions@FreeBSD.ORG Mon Jul 4 14:50: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 A7E64106566C for ; Mon, 4 Jul 2011 14:50:37 +0000 (UTC) (envelope-from tethys.ocean@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 80E758FC08 for ; Mon, 4 Jul 2011 14:50:37 +0000 (UTC) Received: by pzk27 with SMTP id 27so3140543pzk.13 for ; Mon, 04 Jul 2011 07:50:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=+capYYq9XqRjnMjfEZAI/6RYRSVYx8qNT2id4tB7WGk=; b=ukMOsIvbgT60peK/dsPg0xwZaih0OUfda4bizd+aifi9GM10ag6RUdh5yp3BqGcqH+ wIt8TEoxj0wCNBREU4CQukttj7ymZeKCiRNey1LDoGz0Xq+tBE9Nzk5yvQenhVTyRC2j YSkSGYIsCnhDgT8blWZ3UjdFpwzr6naigZbA4= MIME-Version: 1.0 Received: by 10.68.34.202 with SMTP id b10mr7778275pbj.105.1309791036932; Mon, 04 Jul 2011 07:50:36 -0700 (PDT) Received: by 10.68.65.229 with HTTP; Mon, 4 Jul 2011 07:50:36 -0700 (PDT) In-Reply-To: <20110704151505.99e0ed4d.freebsd@edvax.de> References: <20110704151505.99e0ed4d.freebsd@edvax.de> Date: Mon, 4 Jul 2011 17:50:36 +0300 Message-ID: From: tethys ocean To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD_Questions Subject: Re: mount /unmount X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 04 Jul 2011 14:50:37 -0000 so thx :) I have a question again in below On Mon, Jul 4, 2011 at 4:15 PM, Polytropon wrote: > On Mon, 4 Jul 2011 15:28:16 +0300, tethys ocean wrote: > > Hi, > > > > I have 3 question > > > > is FreeBSD can boot and run all service while one of slice is not mount > for > > example /usr slice.. > > Check the corresponding entry in /etc/fstab where all file systems > should be mentioned that you want to be mounted at system startup. > For example, a proper line would look like this: > > # Device Mountpoint FStype Options Dump > Pass# > # ----------- --------------------- ------ ------------- ----- > ----- > /dev/ad0s1f /usr ufs rw 2 2 > > Check device names. Depending on how you're accessing disks, the > name could also be ad0f, ada0f, da0f or something else. > > * Also keep the correct terminology: FreeBSD mounts UFS partitions, > not slices. A slice contains a partition carrying a file system, > usually UFS.* *Means that /usr is not slice ?? or /var is not slice? are all these are UFS ?* > > > and second question is my mysql is in /var slice if /var is not mout can > I > > access mysql being root and chek all databases also can read log file on > > /var > > No. You can't access files inside a file system that isn't mounted > (exceptions: forensic analysis, or performing a device dump). > > > > > third question is can I mount any unmount slice by using just fsck :) > > No. You can only mount file system that are marked clean. To > accomplish this - yes - running fsck for the device (or the > mount point, if listed in /etc/fstab) is required when the > device has been uncleanly mounted previously. To mount all > file systems, use "mount -a". > > Also you should _not_ fsck a mounted partition. Unmount them > first (if required), run fsck, then mount. In worst case, boot > from a live system CD or DVD or USB stick and issue the fsck > command from there (really, just worst case scenario, you > shouldn't need this in the first place). > > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > -- Share now a pigeon's flight Bluebound along the ancient skies, Its women forever hair and mammal, A Mediterranean town may arise If you rip apart a pigeon's heart. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 4 14:53: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 517731065674 for ; Mon, 4 Jul 2011 14:53:50 +0000 (UTC) (envelope-from tethys.ocean@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 297198FC1B for ; Mon, 4 Jul 2011 14:53:49 +0000 (UTC) Received: by pzk27 with SMTP id 27so3143500pzk.13 for ; Mon, 04 Jul 2011 07:53:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=+MG/q6OJP379tPfRtxjtIe3QCarKcGNW62n1L/qmE9c=; b=Qn+xPME0fz1Q9pPModzeH29Occr1O0sPI3L6rnLDzOGVOpvGwLn/YksfthQMGhdTXz 2bYBmLsMwAkaqdqLLqGuXaqhsp2gcWVznUosFXdbW7cqH5jjgCdounO4QGbcRuVmiAX4 KgqYuXQmTHLMo5ib7A1lwgGCT47VB7xirINEE= MIME-Version: 1.0 Received: by 10.68.33.133 with SMTP id r5mr7424058pbi.507.1309791229610; Mon, 04 Jul 2011 07:53:49 -0700 (PDT) Received: by 10.68.65.229 with HTTP; Mon, 4 Jul 2011 07:53:49 -0700 (PDT) In-Reply-To: <4E11C059.3090708@infracaninophile.co.uk> References: <4E11C059.3090708@infracaninophile.co.uk> Date: Mon, 4 Jul 2011 17:53:49 +0300 Message-ID: From: tethys ocean To: Matthew Seaman Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: mount /unmount X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 04 Jul 2011 14:53:50 -0000 so so thx :) On Mon, Jul 4, 2011 at 4:30 PM, Matthew Seaman < m.seaman@infracaninophile.co.uk> wrote: > On 04/07/2011 13:28, tethys ocean wrote: > > is FreeBSD can boot and run all service while one of slice is not mount > for > > example /usr slice.. > > You can't run a program unless the partition containing it is mounted. > Neither can you run a program if any command interpreter (eg. perl, php, > bash) it uses, or any shared library is similarly not on a mounted > partition. > > In order to facilitate working in single user mode, where just about > every partition except the root is usually unmounted, there is a > selection of useful applications in /rescue -- these are statically > linked so no problems with unavailable shlibs. > > > and second question is my mysql is in /var slice if /var is not mout can > I > > access mysql being root and chek all databases also can read log file on > > /var > > MySQL's default data directory location is /var/db/mysql on FreeBSD. > No, you need to mount /var to verify the information you require. > > > third question is can I mount any unmount slice by using just fsck :) > > If a partition was not unmounted cleanly (eg. the machine crashed, or > the power was cut off suddenly) then fsck(8) should be used to check and > fix any problems on the filesystem. If you've booted into single-user > mode, then definitely fsck any partitions before trying to mount them. > *I guess If I can do fsck without unmount partition I can lost all my data isn't it?* > However, any fsck'ing that the system requires should happen > automatically if you just let the system reboot itself. It's only > occasionally when there are certain problems that fsck needs human input > to resolve that you will be instructed to get onto the console and run > fsck by hand[*]. > > Generally you'ld then use mount(8) to mount any partitions. > > Cheers, > > Matthew > > [*] This is dependent on what sort of filesystems you are using. For > instance, ZFS never needs to stop and fsck in this way. UFS+Journal > won't need it either[+]. > > [+] Sysinstall doesn't support installing a system using these > filesystem technologies: it can be done manually, but that isn't for the > faint of heart. > > -- > 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 > > -- Share now a pigeon's flight Bluebound along the ancient skies, Its women forever hair and mammal, A Mediterranean town may arise If you rip apart a pigeon's heart. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 4 15:03: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 77FD11065673 for ; Mon, 4 Jul 2011 15:03:44 +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 DE4688FC0A for ; Mon, 4 Jul 2011 15:03:43 +0000 (UTC) Received: from russet.local (reflex.squiz.co.uk [83.217.109.164]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id p64F3dam046428 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Mon, 4 Jul 2011 16:03:40 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk p64F3dam046428 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1309791820; bh=b1MqmXiqQC1AYftsm3bRbZyLxJVNZjJlFNdMAPUVGms=; 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<4E11D64B.70307@infracaninophile.co.uk>|Date:=20Mon ,=2004=20Jul=202011=2016:03:39=20+0100|From:=20Matthew=20Seaman=20 |User-Agent:=20Mozilla/5.0=20(Mac intosh=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20rv:5.0)=20Gecko/20110 624=20Thunderbird/5.0|MIME-Version:=201.0|To:=20freebsd-questions@ freebsd.org|Subject:=20Re:=20mount=20/unmount|References:=20=2 0<20110704151505.99e0ed4d.freebsd@edvax.de>=20|In-Reply-To:=20 |X-Enigmail-Version:=201.2|Content-Type:=20multipart/signed=3B=20m icalg=3Dpgp-sha1=3B=0D=0A=20protocol=3D"application/pgp-signature" =3B=0D=0A=20boundary=3D"------------enig090BAA61A48D80878EFC0419"; b=GOlr7RMjCZGZh04EOjG/Qt2urZQaSVgU9ohVc40N+tmDBEOp+AfdZRyLmppMamKrc iUsF/G/Fux5jciVtwDMjVebIM6uKXgZ5GpfFJl78+0OINEbftWbaNc/DDvAbMVE1wC j1Xqs8XhMydinVvf3AvhrHHjGcpcxTaKIoo0VFnw= X-Authentication-Warning: lucid-nonsense.infracaninophile.co.uk: Host reflex.squiz.co.uk [83.217.109.164] claimed to be russet.local Message-ID: <4E11D64B.70307@infracaninophile.co.uk> Date: Mon, 04 Jul 2011 16:03:39 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20110704151505.99e0ed4d.freebsd@edvax.de> In-Reply-To: X-Enigmail-Version: 1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig090BAA61A48D80878EFC0419" X-Virus-Scanned: clamav-milter 0.97 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=0.7 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: mount /unmount X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 04 Jul 2011 15:03:44 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig090BAA61A48D80878EFC0419 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 04/07/2011 15:50, tethys ocean wrote: >> * Also keep the correct terminology: FreeBSD mounts UFS partitions, >> > not slices. A slice contains a partition carrying a file system, >> > usually UFS.* >=20 >=20 > *Means that /usr is not slice ?? or /var is not slice? are all these = are > UFS ?* It's just nomenclature. To look like a cool and savvy FreeBSD user, talk about /partitions/ rather than /slices/. UFS is the 'Unix File System' -- it describes the way the data are formatted and managed on the disk. As opposed to, eg. ext3 (Linux) or NTFS (Windows). 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 --------------enig090BAA61A48D80878EFC0419 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/ iEYEARECAAYFAk4R1ksACgkQ8Mjk52CukIw3owCaAoF/w7hOuWc8O/TAHpupXr3c LJIAnicnYCH243xLyKtSA64ZlywrMcaN =8akR -----END PGP SIGNATURE----- --------------enig090BAA61A48D80878EFC0419-- From owner-freebsd-questions@FreeBSD.ORG Mon Jul 4 15: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 B4824106564A for ; Mon, 4 Jul 2011 15:05:03 +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 718D58FC17 for ; Mon, 4 Jul 2011 15:05:03 +0000 (UTC) Received: from r55.edvax.de (port-92-195-180-180.dynamic.qsc.de [92.195.180.180]) by mx01.qsc.de (Postfix) with ESMTP id 3E6723CEB7; Mon, 4 Jul 2011 17:05:02 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p64F5118005970; Mon, 4 Jul 2011 17:05:01 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 4 Jul 2011 17:05:01 +0200 From: Polytropon To: tethys ocean Message-Id: <20110704170501.b9479535.freebsd@edvax.de> In-Reply-To: References: <20110704151505.99e0ed4d.freebsd@edvax.de> 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 Subject: Re: mount /unmount X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jul 2011 15:05:03 -0000 On Mon, 4 Jul 2011 17:50:36 +0300, tethys ocean wrote: > *Means that /usr is not slice ?? or /var is not slice? are all these are > UFS ?* In traditional FreeBSD disk partitioning, a disk can hold 4 slices. In MICROS~1 land, those are called "DOS primary partitions". Unlike there, FreeBSD usually just needs one slice to install into. The FreeBSD slice is divided into partitions. Each partition carries a UFS file system - except the swap partition. Those partitions are then mounted. This means that in default installs /usr and /var are the mountpoints of the corresponding partitions (to be fully correct in terminology) that have a UFS file system. Example: ad0 = the 1st DISK ad0s1 = the 1st SLICE on the 1st disk ad0s1a = the 1st PARTITION on the 1st slice on the 1st disk, formatted with UFS Each partition is assigned a mountpoint. This is the "connection" used by the mount command: It mounts the device specifying a partition to the given mountpoint directory. A common method of partitioning is this: # Device Mountpoint FStype Options Dump Pass# # ----------- -------------- ------ ------------- ----- ----- /dev/ad0s1b none swap sw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1d /tmp ufs rw 2 2 /dev/ad0s1e /var ufs rw 2 2 /dev/ad0s1f /usr ufs rw 2 2 /dev/ad0s1g /home ufs rw 2 2 (In the _default_ install, /home is symlinked to /usr/home which means it's not a separate partition.) However, it's possible to just create one partition and install all the system's functional parts into that one partition. Mounting it will give access to all subtrees. Basically, my comment was about the correct terminology which is important to use in order to avoid misinterpretations. There is also a mechanism called "dedicated partitioning"; it's the same as above, just omitting the slicing part, i. e. partitions are created directly on the disk (ad0a, ad0d, ad0e, ad0f and so on). Other partitioning mechanisms do also exist, like GPT (using gpart instead of traditional MBR tools fdisk + bsdlabel), here partition names are ad0p1, ad0p2 and so on. It's also possible to identify partition devices with labels instead of "bare numbers", this can be done by labeling them. And of course there's ZFS. :-) You can find more information in the FreeBSD handbook. 3.5 Disk Organization http://www.freebsd.org/doc/handbook/disk-organization.html 18.3 Adding Disks http://www.freebsd.org/doc/handbook/disks-adding.html 19.6 Labeling Disk Devices http://www.freebsd.org/doc/handbook/geom-glabel.html -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Jul 4 16:11: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 022F71065670 for ; Mon, 4 Jul 2011 16:11:09 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from nm17.bullet.mail.bf1.yahoo.com (nm17.bullet.mail.bf1.yahoo.com [98.139.212.176]) by mx1.freebsd.org (Postfix) with SMTP id 8BD378FC13 for ; Mon, 4 Jul 2011 16:11:08 +0000 (UTC) Received: from [98.139.212.144] by nm17.bullet.mail.bf1.yahoo.com with NNFMP; 04 Jul 2011 16:11:07 -0000 Received: from [98.139.212.203] by tm1.bullet.mail.bf1.yahoo.com with NNFMP; 04 Jul 2011 16:11:07 -0000 Received: from [127.0.0.1] by omp1012.mail.bf1.yahoo.com with NNFMP; 04 Jul 2011 16:11:07 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 906266.8422.bm@omp1012.mail.bf1.yahoo.com Received: (qmail 33377 invoked by uid 60001); 4 Jul 2011 16:11:07 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1309795867; bh=tr4Q4uR2/HUlyx2vLnU2C/2jYFWyuGkGNCtB/cUSAvo=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=D/jYIaNOnbHChLKbzrWZV9RuThWVHT5xZEBSb+j5n9js/BIdH19/YcGZ1ff95QDXC+soVkq/Zz9FssWU6F1qyctL/XwE2sO2V+uHYpb4Sa43GA3CQjpZn0V/tU/TIGsaF+vgGTaoD3b5iJJcs9b23bX38nHxGTGXUj0qTbknhCM= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=tQ9g0TfVIgJ+4AxEs6MO2mSp3PSaa3rWoDwZeJlRbUXo0sCl7Kk8jnJjLowT4xcwA8/CtR2o7W6+/7g6f2oKfkPwMeR50aD5HSOyobDNS5VMqEKFcp7pQ5teOQ+JRqKyUsK39WI1+92Y7Gq4KPCAwovv12syGjtikHhFUK+/o08=; X-YMail-OSG: yl9AWp8VM1lTZK4y.gwCjPi9Xq_SM8shBmzpf5YbfEQq6c3 VwtNPl0Qro1BDxkaDpZr9JLOEe.4ZDNjHGgT6a.qA8WLIi3keHrmioUzysPv YaJ1dEJNdTflfO9nTNDc.G3j1NqzPUYZLz0OZqNqwxtgb3dONzDl.RXb9cPb O7ZiWw.H2EzGd0pcrioMV0_CF8BHRiXD2fQRIHN2HAzAqtQiV40QEDsB.8eg X8hTf5Oy3Vs1s_hSgC87gH8wleBZG1kSpwlVxtf_75ds0QOS.zYNNg7FzzIm huvkKs4No4Z8jXvIFbksgEwBQd_i8Z2ZFmSVKMVijXKN0MuTppME_Q8ZJ.WB l5PKqGqVMVuH4amkU_9ToDuUlsxJe9Wqj2v12Kvpud5jxt7fD9Hg5C5Y_31m s3KBpuPQZaH1Ns5ZefAO0LbCh40nfMbr.Knwf.dFhrUxaSj6t_7OPXHeKArk MMflGAIdaWIhOrSg- Received: from [112.134.101.160] by web160114.mail.bf1.yahoo.com via HTTP; Mon, 04 Jul 2011 09:11:07 PDT X-Mailer: YahooMailClassic/14.0.3 YahooMailWebService/0.8.112.307740 Message-ID: <1309795867.32790.YahooMailClassic@web160114.mail.bf1.yahoo.com> Date: Mon, 4 Jul 2011 09:11:07 -0700 (PDT) From: Unga To: freebsd-questions@freebsd.org In-Reply-To: <1309751312.63288.YahooMailClassic@web160111.mail.bf1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: ipfw: getsockopt(IP_FW_ADD): Invalid argument X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 04 Jul 2011 16:11:09 -0000 --- On Mon, 7/4/11, Unga wrote:=0A=0A> From: Unga =0A> Subject: ipfw: getsockopt(IP_FW_ADD): Invalid argument= =0A> To: freebsd-questions@freebsd.org=0A> Date: Monday, July 4, 2011, 11:4= 8 AM=0A> Hi all=0A> =0A> Following ipfw rule develop error indicated in the= subject=0A> line:=0A> ipfw add 100 fwd 127.0.0.1,1234 tcp from any to any = 1234=0A> out via wlan0=0A> =0A> What I want to do is forward any packet goi= ng to port 1234=0A> to 127.0.0.1:1234.=0A> =0A> I have built the kernel wit= h "options=A0 =A0 =A0=0A> =A0=A0=A0IPFIREWALL_FORWARD".=0A> =0A> What's the= error here? Is the rule incorrect?=0A> =0A> This is FreeBSD 8.1.=0A> =0A> = Many thanks in advance.=0A> =0A> Unga=0A> =0A=0ADoes anybody successfully u= se the "ipfw fwd"? If so in which FreeBSD version?=0A=0AUnga=0A=0A From owner-freebsd-questions@FreeBSD.ORG Mon Jul 4 18:05: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 176FF1065678 for ; Mon, 4 Jul 2011 18:05:29 +0000 (UTC) (envelope-from seyyedahmad.javadi@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 DD0568FC15 for ; Mon, 4 Jul 2011 18:05:28 +0000 (UTC) Received: by iwr19 with SMTP id 19so6204925iwr.13 for ; Mon, 04 Jul 2011 11:05:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=L6/Ga+n5VZx8kYebrvddtXlga8PqJo30oDTWIpBd+eE=; b=W6GbVzifT7oUZr4nmBLKFT8mQuezUtcROeoaztSj6XuwVOSbBLb40yUedzsGk0+o0F E5pdljC06uLT9cpb2NSfM4/5ZQ9Yt7nB+4U8kjbSsULXWqH+vubcVpRgfvz2LwdyGMuB 7AoeQi3j/zrLxQaIq7LBEMKDybx+HvySj5nN8= MIME-Version: 1.0 Received: by 10.43.46.6 with SMTP id um6mr2992197icb.204.1309802728325; Mon, 04 Jul 2011 11:05:28 -0700 (PDT) Received: by 10.42.227.134 with HTTP; Mon, 4 Jul 2011 11:05:28 -0700 (PDT) Date: Mon, 4 Jul 2011 22:35:28 +0430 Message-ID: From: ahmad javadi To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: the alternative function for inet_aton X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 04 Jul 2011 18:05:29 -0000 hi I use " inet_aton" function in the kernel socket programming but i have the following warrning: "crypto.c:63: warning: implicit declaration of function 'inet_aton' crypto.c:63: warning: nested extern declaration of 'inet_aton' " this function required that "" be included but this folder did not exit in the my freebsd. Please help me to find solution or to use alternative function. thanks From owner-freebsd-questions@FreeBSD.ORG Mon Jul 4 18:30: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 B59CA106566B for ; Mon, 4 Jul 2011 18:30:03 +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 7475C8FC12 for ; Mon, 4 Jul 2011 18:30:03 +0000 (UTC) Received: from r55.edvax.de (port-92-195-180-180.dynamic.qsc.de [92.195.180.180]) by mx01.qsc.de (Postfix) with ESMTP id 145D93D04B; Mon, 4 Jul 2011 20:30:01 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p64IU0QK006613; Mon, 4 Jul 2011 20:30:01 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 4 Jul 2011 20:30:00 +0200 From: Polytropon To: ahmad javadi Message-Id: <20110704203000.c5b9f30f.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: the alternative function for inet_aton X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jul 2011 18:30:03 -0000 On Mon, 4 Jul 2011 22:35:28 +0430, ahmad javadi wrote: > hi > I use " inet_aton" function in the kernel socket programming but i have the > following warrning: > "crypto.c:63: warning: implicit declaration of function 'inet_aton' > crypto.c:63: warning: nested extern declaration of 'inet_aton' > " > this function required that "" be included but this folder did > not exit in the my freebsd. Does the directory /usr/include/arpa _not_ exist, or just the file inet.h in that directory? (If this is, your system include files are incomplete.) I also assume that "inet comma h" is a typo, and you've used #include ("inet dot h") correctly. I also assume you didn't modify the settings from where header files included with #include <...> should be imported (cc -I). Which FreeBSD version do you use? I'm using 7-STABLE here and the file is present, it also contains the function prototype. #define inet_aton __inet_aton int inet_aton(const char *, struct in_addr *); If you've installed the sources (at the correct version of the OS you're using), you can find /usr/src/include/arpa with the file, and you should be able to "make install" (not tested here) from there to install arpa/inet.h into the correct location. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Jul 4 18:31: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 45B891065672 for ; Mon, 4 Jul 2011 18:31:44 +0000 (UTC) (envelope-from bill.varney@teleca.com) Received: from mx02.teleca.com (mx02.teleca.com [212.114.200.91]) by mx1.freebsd.org (Postfix) with ESMTP id E79448FC1B for ; Mon, 4 Jul 2011 18:31:43 +0000 (UTC) Received: from denuas029.global.ad.teleca.com (denuas029.global.ad.teleca.com [10.20.2.29]) by mx02.teleca.com (Postfix) with ESMTP id 8828F3A1 for ; Mon, 4 Jul 2011 20:09:15 +0200 (CEST) Received: from usdaas005.global.ad.teleca.com ([10.30.100.16]) by denuas029.global.ad.teleca.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 4 Jul 2011 20:09:15 +0200 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.4862 Content-class: urn:content-classes:message MIME-Version: 1.0 Date: Mon, 4 Jul 2011 13:07:36 -0500 Importance: normal Message-ID: Priority: normal X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Is there a Thread-Index: Acw6dUFJkhTSRZTdTFuhLkc31LZVnA== From: "Bill Varney" To: X-OriginalArrivalTime: 04 Jul 2011 18:09:15.0272 (UTC) FILETIME=[7BFDD880:01CC3A75] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Is there a X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 04 Jul 2011 18:31:44 -0000 Repository of supported devices within FreeBSD? I'm looking to map linux drivers to truly open BSD drivers for a 'conversion' project from Linux to an OS requiring non-GPL-like drivers. I see the i2c and spi, etc., but browsing the BSD sites, don't see any vendor specific drivers. =20 Thanks, Bill Bill Varney =20 Teleca 420 Stevens Ave., Suite 230 Solana Beach, CA 92075 Phone: +96192181876, Fax: +19726966999 Mobile: +96192181876 Bill.Varney@teleca.com http://www.teleca.com/ Follow what's going on at Teleca's blog on = http://www.whatsyourideaoftomorrow.blogspot.com/. The information contained in this message is confidential and is = intended for the addressee(s) only. If you have received this message in = error please notify the sender immediately. The unauthorized use, = disclosure, copying or alteration of this message is strictly = prohibited. From owner-freebsd-questions@FreeBSD.ORG Mon Jul 4 18: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 CD621106566B for ; Mon, 4 Jul 2011 18:44:00 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1-6.sentex.ca [IPv6:2607:f3e0:0:1::12]) by mx1.freebsd.org (Postfix) with ESMTP id 925F08FC21 for ; Mon, 4 Jul 2011 18:44:00 +0000 (UTC) Received: from [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a] (saphire3.sentex.ca [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a]) by smarthost1.sentex.ca (8.14.4/8.14.4) with ESMTP id p64IhwtG059378; Mon, 4 Jul 2011 14:43:59 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: <4E1209D9.9050203@sentex.net> Date: Mon, 04 Jul 2011 14:43:37 -0400 From: Mike Tancsa Organization: Sentex Communications User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Bill Varney References: In-Reply-To: X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on IPv6:2607:f3e0:0:1::12 Cc: freebsd-questions@freebsd.org Subject: Re: Is there a X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 04 Jul 2011 18:44:00 -0000 On 7/4/2011 2:07 PM, Bill Varney wrote: > Repository of supported devices within FreeBSD? For whats in the tree itself, take a look at the tree http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/ There are also a few drivers in the ports tree (/usr/ports). There are some vendors who distribute the odd driver from their website, but those tend to be few and far between. The source code and the ports are your best bet to look through. Some drivers support many vendor devices under one driver (e.g. Intel's em supports a wide variety of nics). If you are interested in seeing specifically what is supported, install a copy of FreeBSD along with the source and grep through for specific device IDs you are looking for. ---Mike -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/ From owner-freebsd-questions@FreeBSD.ORG Mon Jul 4 19:43: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 5CFA81065673 for ; Mon, 4 Jul 2011 19:43:44 +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 BA7B78FC0A for ; Mon, 4 Jul 2011 19:43:43 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id p64JhUIQ049912 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 4 Jul 2011 20:43:40 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk p64JhUIQ049912 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1309808620; bh=GfhgOotdHFwPiNonj5o26n1dfT+rcLXqip4aYHj0IFI=; 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<4E1217DB.1090809@infracaninophile.co.uk>|Date:=20M on,=2004=20Jul=202011=2020:43:23=20+0100|From:=20Matthew=20Seaman= 20|User-Agent:=20Mozilla/5.0=20(M acintosh=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20rv:5.0)=20Gecko/201 10624=20Thunderbird/5.0|MIME-Version:=201.0|To:=20tethys=20ocean=2 0|CC:=20freebsd-questions@freebsd.org|Subj ect:=20Re:=20mount=20/unmount|References:=20=20<4E11C059.30907 08@infracaninophile.co.uk>=20|In-Reply-To:=20|X-Enigmail-V ersion:=201.2|OpenPGP:=20id=3D60AE908C|Content-Type:=20multipart/s igned=3B=20micalg=3Dpgp-sha1=3B=0D=0A=20protocol=3D"application/pg p-signature"=3B=0D=0A=20boundary=3D"------------enig81A417D03DA005 E951662DC8"; b=LiJr+J/8YXvPJuxWosaTkPrNDQmxHSlrkarA7ypfJVkJVUoCBR1bH8rbZYoD/q8aN vdt7X2MSRGeigAf5oNl4P5Qkp/EMCLvTz54G0RvyRoE0w+0GcjmRgnur6T7MH8Q5fH blW82xTRPdB6V+Z1gu3ZI1WC68fMJGiRstOJz0cA= Message-ID: <4E1217DB.1090809@infracaninophile.co.uk> Date: Mon, 04 Jul 2011 20:43:23 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: tethys ocean References: <4E11C059.3090708@infracaninophile.co.uk> In-Reply-To: X-Enigmail-Version: 1.2 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig81A417D03DA005E951662DC8" X-Virus-Scanned: clamav-milter 0.97 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.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: mount /unmount X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 04 Jul 2011 19:43:44 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig81A417D03DA005E951662DC8 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 04/07/2011 15:53, tethys ocean wrote: >> If a partition was not unmounted cleanly (eg. the machine crashed, or >> > the power was cut off suddenly) then fsck(8) should be used to check= and >> > fix any problems on the filesystem. If you've booted into single-us= er >> > mode, then definitely fsck any partitions before trying to mount the= m. >> > > *I guess If I can do fsck without unmount partition I can lost all my d= ata > isn't it?* fsck on an unmounted partition will change on-disk data structures in ways that the kernel doesn't expect. So, yes, one consequence is that you can lose or corrupt data. You probably wouldn't lose everything in the partition -- but you would tend to cause corruption predominantly in files that are more actively used. So don't do that. 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 --------------enig81A417D03DA005E951662DC8 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/ iEYEARECAAYFAk4SF+IACgkQ8Mjk52CukIx+XACgjqGCxbZtQvU1zt13rrBYEOMT EREAnjpj7abxJXlJCm9wDLP7tBHCqqEw =hOdF -----END PGP SIGNATURE----- --------------enig81A417D03DA005E951662DC8-- From owner-freebsd-questions@FreeBSD.ORG Mon Jul 4 19:56: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 754AB1065674 for ; Mon, 4 Jul 2011 19:56:12 +0000 (UTC) (envelope-from bernt@bah.homeip.net) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) by mx1.freebsd.org (Postfix) with ESMTP id 9987F8FC17 for ; Mon, 4 Jul 2011 19:56:10 +0000 (UTC) Received: from kw.homeip.net (c80-217-64-49.bredband.comhem.se [80.217.64.49]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id p64Ju6dY015891; Mon, 4 Jul 2011 21:56:08 +0200 (CEST) (envelope-from bernt@bah.homeip.net) Message-ID: <4E121AD6.1080807@bah.homeip.net> Date: Mon, 04 Jul 2011 21:56:06 +0200 From: Bernt Hansson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; sv-SE; rv:1.9.2.17) Gecko/20110508 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: Tim Dunphy References: <80784e59-447e-4581-b8f6-a50a758ceebe@li289-212> In-Reply-To: <80784e59-447e-4581-b8f6-a50a758ceebe@li289-212> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Questions Subject: Re: backing up 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: Mon, 04 Jul 2011 19:56:12 -0000 2011-07-03 13:56, Tim Dunphy skrev: > hello list!! Hello Tim. > Could someone please provide a tip on how I can go about backing up the FreeBSD client? http://www.se.freebsd.org/doc/en_US.ISO8859-1/books/handbook/backup-basics.html From owner-freebsd-questions@FreeBSD.ORG Mon Jul 4 19:59: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 56AC41065670 for ; Mon, 4 Jul 2011 19:59:47 +0000 (UTC) (envelope-from sterling@camdensoftware.com) Received: from wh1.interactivevillages.com (ca.2e.7bae.static.theplanet.com [174.123.46.202]) by mx1.freebsd.org (Postfix) with ESMTP id 1DE178FC13 for ; Mon, 4 Jul 2011 19:59:46 +0000 (UTC) Received: from 184-78-197-203.war.clearwire-wmx.net ([184.78.197.203] helo=_HOSTNAME_) by wh1.interactivevillages.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1QdpJ1-0004jK-Js for freebsd-questions@freebsd.org; Mon, 04 Jul 2011 12:59:20 -0700 Received: by _HOSTNAME_ (sSMTP sendmail emulation); Mon, 04 Jul 2011 12:59:41 -0700 Date: Mon, 4 Jul 2011 12:59:41 -0700 From: Chip Camden To: freebsd-questions@freebsd.org Message-ID: <20110704195941.GD2419@libertas.local.camdensoftware.com> Mail-Followup-To: freebsd-questions@freebsd.org References: <4E11C059.3090708@infracaninophile.co.uk> <4E1217DB.1090809@infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LTeJQqWS0MN7I/qa" Content-Disposition: inline In-Reply-To: <4E1217DB.1090809@infracaninophile.co.uk> User-Agent: Mutt/1.4.2.3i Company: Camden Software Consulting URL: http://camdensoftware.com X-PGP-Key: http://pgp.mit.edu:11371/pks/lookup?search=0xD6DBAF91 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - wh1.interactivevillages.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - camdensoftware.com X-Source: X-Source-Args: X-Source-Dir: Subject: Re: mount /unmount X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 04 Jul 2011 19:59:47 -0000 --LTeJQqWS0MN7I/qa Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoth Matthew Seaman on Monday, 04 July 2011: > On 04/07/2011 15:53, tethys ocean wrote: > >> If a partition was not unmounted cleanly (eg. the machine crashed, or > >> > the power was cut off suddenly) then fsck(8) should be used to check= and > >> > fix any problems on the filesystem. If you've booted into single-us= er > >> > mode, then definitely fsck any partitions before trying to mount the= m. > >> > > > *I guess If I can do fsck without unmount partition I can lost all my d= ata > > isn't it?* >=20 > fsck on an unmounted partition will change on-disk data structures in > ways that the kernel doesn't expect. So, yes, one consequence is that > you can lose or corrupt data. You probably wouldn't lose everything in > the partition -- but you would tend to cause corruption predominantly in > files that are more actively used. >=20 > So don't do that. >=20 > Cheers, >=20 > Matthew >=20 > --=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 >=20 I presume you meant to say "on a mounted partition"...? --=20 =2EO. | Sterling (Chip) Camden | http://camdensoftware.com =2E.O | sterling@camdensoftware.com | http://chipsquips.com OOO | 2048R/D6DBAF91 | http://chipstips.com --LTeJQqWS0MN7I/qa Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iQEcBAEBAgAGBQJOEhutAAoJEIpckszW26+RehkH/1YDRqlox6zSIi4gManxrIWS iWO31i+DPpFIqx2/2F9CZhSQdGMNaabGPYW12An0VVHOK6Vsb5Xq0Kx59ykqFO0c KXDcsOo/FLKbiLB8/7yuO5iHqc7y4voo3UCts+U0nlBE9zhXQLlL6zuxQ3c/HJuH gTiaHVfm+JgXsqLcsfU0M9bldQjH3HFnpqPyjC4tvwxkNpKRBBwmVhgXF3OI6OSe l/dhGNH2lJN0kERmYb/W9/2F4gpxa3I3TJwDzSQwD3BoMQR1qVUT2178O57Jf1GE L1JukF1d9u0owtCnmwZ1LPpaJRESikWoL1+pduBgZR2E7Wrk/vOlNHUGveLwNZs= =+8uz -----END PGP SIGNATURE----- --LTeJQqWS0MN7I/qa-- From owner-freebsd-questions@FreeBSD.ORG Mon Jul 4 20:12: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 3AC1C106564A for ; Mon, 4 Jul 2011 20:12:17 +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 BD68C8FC0C for ; Mon, 4 Jul 2011 20:12:16 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id p64KC8mG050293 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Mon, 4 Jul 2011 21:12:08 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk p64KC8mG050293 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1309810328; bh=WOS8ikSUf7jZYVCSxbHYyeVetctV4CyAV4NlZd1pz28=; 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<4E121E93.5060809@infracaninophile.co.uk>|Date:=20M on,=2004=20Jul=202011=2021:12:03=20+0100|From:=20Matthew=20Seaman= 20|User-Agent:=20Mozilla/5.0=20(M acintosh=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20rv:5.0)=20Gecko/201 10624=20Thunderbird/5.0|MIME-Version:=201.0|To:=20freebsd-question s@freebsd.org|Subject:=20Re:=20mount=20/unmount|References:=20 =20<4E11C059.3090708@infracaninophile.co.uk>=20=20<4E1217DB.10 90809@infracaninophile.co.uk>=20<20110704195941.GD2419@libertas.lo cal.camdensoftware.com>|In-Reply-To:=20<20110704195941.GD2419@libe rtas.local.camdensoftware.com>|X-Enigmail-Version:=201.2|OpenPGP:= 20id=3D60AE908C|Content-Type:=20multipart/signed=3B=20micalg=3Dpgp -sha1=3B=0D=0A=20protocol=3D"application/pgp-signature"=3B=0D=0A=2 0boundary=3D"------------enig842D9E49D013D6E2A40CF09A"; b=FOG7n7kW1IYBFUGkqHKxcRMOWrzv08XC5gRGpgl8EMo19GDOBNxD8Xtczd/WgGr07 LQUtru2wHGmqdSnS/eg1l26SJ7kvlCoa36SF9L8FQmHDf99PzdLMjPacoLWupDGQ6d vgwOy4EhPlDpPmu4tNIrErmLA6x0JvjU2ytQFYHY= Message-ID: <4E121E93.5060809@infracaninophile.co.uk> Date: Mon, 04 Jul 2011 21:12:03 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4E11C059.3090708@infracaninophile.co.uk> <4E1217DB.1090809@infracaninophile.co.uk> <20110704195941.GD2419@libertas.local.camdensoftware.com> In-Reply-To: <20110704195941.GD2419@libertas.local.camdensoftware.com> X-Enigmail-Version: 1.2 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig842D9E49D013D6E2A40CF09A" X-Virus-Scanned: clamav-milter 0.97 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.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: mount /unmount X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 04 Jul 2011 20:12:17 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig842D9E49D013D6E2A40CF09A Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 04/07/2011 20:59, Chip Camden wrote: > I presume you meant to say "on a mounted partition"...? Yep. Glad to see you're all alert. Carry on now, nothing to see here... 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 --------------enig842D9E49D013D6E2A40CF09A 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/ iEYEARECAAYFAk4SHpgACgkQ8Mjk52CukIyFkQCfQJZ0vP77Qgc0YyRIEJ7VESRW 8/0AoI57I8eVnlXljy0fwjG+lxslQqo8 =TX9n -----END PGP SIGNATURE----- --------------enig842D9E49D013D6E2A40CF09A-- From owner-freebsd-questions@FreeBSD.ORG Mon Jul 4 20:19: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 3DF6A106564A for ; Mon, 4 Jul 2011 20:19:11 +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 F1A748FC0C for ; Mon, 4 Jul 2011 20:19:10 +0000 (UTC) Received: from r55.edvax.de (port-92-195-180-180.dynamic.qsc.de [92.195.180.180]) by mx01.qsc.de (Postfix) with ESMTP id BD0E13CE8B; Mon, 4 Jul 2011 22:19:09 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p64KJ8WH006954; Mon, 4 Jul 2011 22:19:08 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Mon, 4 Jul 2011 22:19:08 +0200 From: Polytropon To: ahmad javadi Message-Id: <20110704221908.0ba6a5e6.freebsd@edvax.de> In-Reply-To: References: <20110704203000.c5b9f30f.freebsd@edvax.de> 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 Subject: Re: the alternative function for inet_aton X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jul 2011 20:19:11 -0000 On Mon, 4 Jul 2011 23:57:34 +0430, ahmad javadi wrote: > the /usr/include/arpa is exit but i dont know how install it . > so how can i install this header file? If /usr/include/arpa exists and contains the following files, everything is okay (7-STABLE here, may have different content on 8): % ls /usr/include/arpa ftp.h nameser.h telnet.h inet.h nameser_compat.h tftp.h There is no need to install something. Just make sure you don't override cc's -I parameter (in cc call or Makefile). If you need to install the files - i. e. they are NOT present in /usr/include/arpa, get the sources matching your OS version (from the DVD, per FTP or via CVS - consult the FreeBSD Handbook for the respective procedures, e. g. installing the "src-all" install set from the CD if you're using RELEASE). Then do: # cd /usr/src/include/arpa # make install I've _not_ tested that, but it should install the files mentioned above to the correct location. Okay, basically you could simply cope the files if it fails... :-) PS. I've re-included the list, hope that's okay. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Mon Jul 4 22: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 862E4106564A for ; Mon, 4 Jul 2011 22:30:43 +0000 (UTC) (envelope-from bugReporter@Haakh.de) Received: from mo-p00-ob6.rzone.de (mo-p00-ob6.rzone.de [IPv6:2a01:238:20a:202:53f0::1]) by mx1.freebsd.org (Postfix) with ESMTP id A04F18FC19 for ; Mon, 4 Jul 2011 22:30:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; t=1309818640; l=4954; s=domk; d=haakh.de; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References: Subject:To:MIME-Version:From:Date:X-RZG-CLASS-ID:X-RZG-AUTH; bh=COR2WRysMBSEeRgjbidSuA+CHgk=; b=pb5bA5soVVHQFsY4xpJQBxvoXaf1vwAKg77MwXSt3ZvMZsdhQo1NTjWbthwMwA9nJl1 v7Yo320y0Gp4Nqo8JnnNZi4p+QMO7kex7saTeM+u/P/k+/IuE7MqlaXAy5UA+gtP640W9 +gWhjt5XVczzLy7JZ//RyxLxuXbm+6v2Yd4= X-RZG-AUTH: :LWQcbViwW/e6OTbW0dHzwKkCepY3+zAQY9KdRPw9VcHc3bN9H/f8Wy7P0fQ= X-RZG-CLASS-ID: mo00 Received: from abaton.Haakh.de (p57A72385.dip.t-dialin.net [87.167.35.133]) by post.strato.de (mrclete mo33) (RZmta 26.0) with ESMTPA id c014c4n64M4bGO ; Tue, 5 Jul 2011 00:30:38 +0200 (MEST) Received: from Crabberio.Haakh.de (crabberio.haakh.de [IPv6:2001:5c0:1508:1500:213:d4ff:fed0:bb7f]) by abaton.Haakh.de (8.14.4/8.14.4) with ESMTP id p64MUDCv021805; Tue, 5 Jul 2011 00:30:14 +0200 (CEST) (envelope-from bugReporter@Haakh.de) Message-ID: <4E123EF5.9030406@Haakh.de> Date: Tue, 05 Jul 2011 00:30:13 +0200 From: "Dr. A. Haakh" User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; de; rv:1.9.1.19) Gecko/20110607 Lightning/1.0b1 SeaMonkey/2.0.14 MIME-Version: 1.0 To: Kurt Buff , freebsd-questions@freebsd.org References: <4E08558A.7000101@my.gd> <20110628052446.89911e0a.freebsd@edvax.de> <4E09DC21.6070903@Haakh.de> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_HK_NAME_DR, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on abaton.Haakh.de Cc: Subject: Re: fubar'ed it good this time... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 04 Jul 2011 22:30:43 -0000 Kurt Buff schrieb: > On Thu, Jun 30, 2011 at 17:31, Kurt Buff wrote: > >> On Tue, Jun 28, 2011 at 06:50, Dr. A. Haakh wrote: >> >>> Polytropon schrieb: >>> >>>> On Mon, 27 Jun 2011 06:40:27 -0700, Kurt Buff wrote: >>>> >>>> >>>>> Your advice sounds reasonable, but that site seems devoted to zfs >>>>> bootables. >>>>> >>>>> I wonder if an 8.1 livefs iso will do the trick... >>>>> >>>>> >>>> Check if you can download FreeSBIE somewhere. It's a live system >>>> using the 5.x and 6.x kernel which should be fine. Next to two >>>> GUI modes (light, heavy) it also has a versatile "maintenance mode" >>>> for such operations. I have already successfully used this system >>>> for solving similar situations, for diagnostics, and for data >>>> recovery preparation. >>>> >>> The loader obviously knows how to deal with the filesystem because he loads >>> the failing new kernel. So the easiest solution would be to boot an older >>> kernel if available. I don't know how freebsd-update deals with older >>> kernels, >>> he should still be around. First guess is /boot/kernel.old/kernel. >>> So get the loader-prompt, "unload kernel" and try "load >>> /boot/kernel.old/kernel". >>> >>> Andreas >>> >> OK - to continue, while I have a few free minutes. >> >> I have been able to load the old kernel by going to the loader prompt >> from the boot menu, and doing >> unload kernel >> load /boot/kernel.old/kernel >> >> That barked about linproc in fstab, so I edited that out. >> >> Then, the next go-round: It complained about mismatches on >> daemon_saver.ko - a version mismatch, so I've commented that out of >> /etc/rc.conf. It also complained about linux.ko, so that's been >> commented out in /etc/rc.conf as well. >> >> I'm now able to reboot cleanly with the old kernel. >> >> After doing 'freebsd-update install' for the second time, I still >> can't get 8.2 to boot - same issue, only acd0 is recognized. However, >> I'm logged in as root under the old kernel, though I haven't start >> XFCE4, and don't have wireless running. >> >> This one is getting to be fun... >> >> Kurt >> > So, I tried booting from the old kernel again, and then did a > 'freebsd-update rollback', and that worked just fine. I thought I'd > try again, but first did a 'freebsd-update fetch' and 'freebsd-update > install' to get the latest 8.1 updates. > > That worked just fine, so I did a 'freebsd-update -r 8.2-RELEASE > fetch' again, then a 'freebsd-update install', which went just fine, > and after that rebooted as directed to attempt the second > 'freebsd-update install'. > > That's when the same thing happened - i got dumped into the mountroot > prompt again. And, again, rebooting and escaping to the loader prompt > allows me to unload the kernel, load /boot/kernel.old/kernel then > autoboot, and boot up. Same as before. > > Any thoughts? > Redo the rollback to 8.1 and install the 8.2-STABLE source-tree. You can install the 8.1-sources from cd and update them to 8.2-STABLE using csup. Put the following lines in /etc/make.conf SUP_UPDATE= YES SUP= /usr/bin/csup SUPHOST= cvsup2.de.freebsd.org SUPFILE= /usr/share/examples/cvsup/stable-supfile Make sure that stable-supfile contains the right tag *default release=cvs tag=RELENG_8 Then goto /usr/src and "make update |tee _Update.log" Once the source-tree is up-to-date: Have a look at the FreeBSD Handbook: Chapter 8 - Configuring the FreeBSD Kernel. Copy GENERIC to e.g. MYKERNEL, edit MYKERNEL and add some debug-flags. See /sys/conf/NOTES for additional debug-options. You may as well try GENERIC - maybe your problem is gone... Then go to /usr/src and do s.th. like "make buildkernel KERNCONF=MYKERNEL" and if the kernel built fine install it: "make KERNCONF=YOURKERNEL installkernel". You can also add KERNCONF=MYKERNEL to /etc/make.conf instead of adding it to the make command. Installing the new kernels moves /boot/kernel to /boot/kernel.old and installs the new one in /boot/kernel. If the new kernel fails again, you can delete it: "rm -rf /boot/kernel && mv /boot/kernel.old /boot/kernel" thus putting the previous kernel in the right place. If the new kernel fails again, then press the Scroll-key and navigate to the disk-probe usind page-up-key. Write down the messages or take a photo and post it to this list. If the STABLE kernel boots fine you will probably want to remove all the debugging stuff and rebuild it. If you intend to keep the 8.1-kernel move it to e.g /boot/kernel-8.1 so it will not be deleted, when you install new ones and you can always "load /boot/kernel-8.1/kernel" from the loader Once the new kernel boots fine, cd /usr/src and follow the instructions in Makefile how to build and install a new kernel and a new world. At this point there is no more need for kernel-8.1: delete it. Andreas From owner-freebsd-questions@FreeBSD.ORG Mon Jul 4 23:45: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 06FF5106566C for ; Mon, 4 Jul 2011 23:45:51 +0000 (UTC) (envelope-from freebsd@penx.com) Received: from Elmer.dco.penx.com (elmer.dco.penx.com [174.46.214.165]) by mx1.freebsd.org (Postfix) with ESMTP id BA20B8FC19 for ; Mon, 4 Jul 2011 23:45:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by Elmer.dco.penx.com (8.14.5/8.14.4) with ESMTP id p64Njld2060039 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 4 Jul 2011 17:45:49 -0600 (MDT) (envelope-from freebsd@penx.com) Date: Mon, 4 Jul 2011 17:45:47 -0600 (MDT) From: Dennis Glatting X-X-Sender: dennisg@Elmer.dco.penx.com To: freebsd-questions@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Subject: make delete-old files always coming back X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 04 Jul 2011 23:45:51 -0000 Whenever I do an update these files keep getting reinstalled. Taz# mk delete-old >>> Removing old files (only deletes safe to delete libs) remove /usr/include/nfs/krpc.h? y remove /usr/include/nfs/nfsdiskless.h? y >>> Old files removed >>> Removing old directories >>> Old directories removed To remove old libraries run 'make delete-old-libs'. From owner-freebsd-questions@FreeBSD.ORG Tue Jul 5 00:04: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 CDAB21065677 for ; Tue, 5 Jul 2011 00:04:48 +0000 (UTC) (envelope-from perrin@apotheon.com) Received: from oproxy1-pub.bluehost.com (oproxy1-pub.bluehost.com [66.147.249.253]) by mx1.freebsd.org (Postfix) with SMTP id 97CD08FC19 for ; Tue, 5 Jul 2011 00:04:48 +0000 (UTC) Received: (qmail 24108 invoked by uid 0); 5 Jul 2011 00:04:48 -0000 Received: from unknown (HELO box543.bluehost.com) (74.220.219.143) by cpoproxy1.bluehost.com with SMTP; 5 Jul 2011 00:04:48 -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=Xpe9r6aAkjDLrGLjdX0llVNPw/a8uGWqwHIyr3MGillQdi7FQ1B07zlkmbpYwva977PcOwjDmsSP6JqQUJN8cgskfpkViI34Cj1uPJdXFh+GzjueE+saddW7jhpMEy1W; 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 1Qdt8B-00075D-04 for freebsd-questions@FreeBSD.org; Mon, 04 Jul 2011 18:04:48 -0600 Received: by kukaburra.hydra (sSMTP sendmail emulation); Mon, 04 Jul 2011 17:48:49 -0600 Date: Mon, 4 Jul 2011 17:48:49 -0600 From: Chad Perrin To: freebsd-questions@FreeBSD.org Message-ID: <20110704234849.GB60130@guilt.hydra> Mail-Followup-To: freebsd-questions@FreeBSD.org References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="ZfOjI3PrQbgiZnxM" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Identified-User: {2737:box543.bluehost.com:apotheon:apotheon.org} {sentby:smtp auth 24.8.180.234 authed with ren@apotheon.org} Cc: Subject: Re: Is there a X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Jul 2011 00:04:48 -0000 --ZfOjI3PrQbgiZnxM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 04, 2011 at 01:07:36PM -0500, Bill Varney wrote: > Repository of supported devices within FreeBSD? >=20 > I'm looking to map linux drivers to truly open BSD drivers for a > 'conversion' project from Linux to an OS requiring non-GPL-like drivers. > I see the i2c and spi, etc., but browsing the BSD sites, don't see any > vendor specific drivers. I find what you say you're doing interesting, even if I'm not entirely clear on what it is in all its particulars. Would you please clarify the aim of your efforts? --=20 Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] --ZfOjI3PrQbgiZnxM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk4SUWEACgkQ9mn/Pj01uKVJbgCg78qYZBneAFjf1S3wSqo3V1Wm wCEAoKKmzBuW7ctD14TqU45he4j1BUWq =jMme -----END PGP SIGNATURE----- --ZfOjI3PrQbgiZnxM-- From owner-freebsd-questions@FreeBSD.ORG Tue Jul 5 00:42: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 EBEF91065670 for ; Tue, 5 Jul 2011 00:42:56 +0000 (UTC) (envelope-from timo.bsdmail@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 7BC908FC0C for ; Tue, 5 Jul 2011 00:42:56 +0000 (UTC) Received: by bwa20 with SMTP id 20so6341563bwa.13 for ; Mon, 04 Jul 2011 17:42:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=wRlgUSPGyyT4okwSNMSfF4zzfJHzEBVOhvk3w3CkdVs=; b=KbtahkpqOKOw9DWbJn8XCG+B7n1TnlSSpVzkWQBj+c55KOgW2q76DinmlxhCKT6siY FH1VYKJv2SJPxplNyp6T2TzOwRp1O2Sib5k4RsPQUSqVzZNvxy1zagdcE7CODzBMVnaK ctshP3aewnwKf4wXlvjvCsLYtsMP0Bwds7Bag= Received: by 10.204.42.15 with SMTP id q15mr6141289bke.72.1309826574431; Mon, 04 Jul 2011 17:42:54 -0700 (PDT) Received: from [192.168.1.112] (78.156.198.173.bredband.tre.se [78.156.198.173]) by mx.google.com with ESMTPS id l24sm6034140bkw.3.2011.07.04.17.42.53 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 04 Jul 2011 17:42:54 -0700 (PDT) Message-ID: <4E125E12.9050308@gmail.com> Date: Tue, 05 Jul 2011 02:42:58 +0200 From: Timo User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Fwd: Re: why desktop apps are able to kill my freebsd box? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: timo.bsdmail@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jul 2011 00:42:57 -0000 In other words, I don's think, It's about software at all In my opinion -------- Original Message -------- Subject: Re: why desktop apps are able to kill my freebsd box? Date: Tue, 05 Jul 2011 02:29:11 +0200 From: Timo Reply-To: timo.bsdmail@gmail.com To: freebsd-questions@freebsd.org Who decided to run any privileged application, in terms of doing what you didn't want it to? Did you at all try to implement anything you were not sure of? Or what did you ask again? What do you want to employ in the first place, and what security risks are negotiable? (firefox/freezings? try to reseat every piece of hardware until no freeze is found, including cpu, then complain about software) On 2011-07-01 11:00, Michael wrote: > Why a faulty desktop application run as unprivileged user is able to > crash my system? > > I mean, I know programs have bugs and sometimes they lead to crashes. > I'm fine with that. But why a crashing program (for example firefox or > banshee) is able to kill the whole system? > > And by 'crash' or 'kill' i mean that for whatever reason the system is > frozen and doesn't reply to anything but a hard reset. > > It just doesn't make much sense so I'm assuming that I must be doing > something wrong. Where and what kind of restrictions should I set up to > make sure that a buggy unprivileged program cannot freeze my box? > > Thank you in advance. Michael. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Tue Jul 5 00:59: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 E96A4106564A for ; Tue, 5 Jul 2011 00:59:20 +0000 (UTC) (envelope-from timo.bsdmail@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 7844A8FC0C for ; Tue, 5 Jul 2011 00:59:20 +0000 (UTC) Received: by bwa20 with SMTP id 20so6348104bwa.13 for ; Mon, 04 Jul 2011 17:59:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=dG1Agh6V9OZbzVyjKYxYOQJ2wrbyNtqfV7IJf055AeQ=; b=cQmBzIlggSz/yPUCk8MgBP+iTcqGeOfzSCkFBB7ZJCGpobQPX6DnoFHIdcSU2zwo9I ih2Tm4RrpWAPDftugzVUQmvZExpDLbh/ptOREmZlnvmCVBD5ZDCq5Js9w4MXwqQZBesX I1CBQqsrxlKiTlBwWWAJ2sJ7CTXkxG4KMaCIs= Received: by 10.204.42.11 with SMTP id q11mr5910347bke.131.1309825761269; Mon, 04 Jul 2011 17:29:21 -0700 (PDT) Received: from [192.168.1.112] (78.156.198.173.bredband.tre.se [78.156.198.173]) by mx.google.com with ESMTPS id f16sm239012bke.4.2011.07.04.17.29.19 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 04 Jul 2011 17:29:20 -0700 (PDT) Message-ID: <4E125AD7.4060401@gmail.com> Date: Tue, 05 Jul 2011 02:29:11 +0200 From: Timo User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4E0D8CCB.1000004@gmail.com> In-Reply-To: <4E0D8CCB.1000004@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: why desktop apps are able to kill my freebsd box? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: timo.bsdmail@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Jul 2011 00:59:21 -0000 Who decided to run any privileged application, in terms of doing what you didn't want it to? Did you at all try to implement anything you were not sure of? Or what did you ask again? What do you want to employ in the first place, and what security risks are negotiable? (firefox/freezings? try to reseat every piece of hardware until no freeze is found, including cpu, then complain about software) On 2011-07-01 11:00, Michael wrote: > Why a faulty desktop application run as unprivileged user is able to > crash my system? > > I mean, I know programs have bugs and sometimes they lead to crashes. > I'm fine with that. But why a crashing program (for example firefox or > banshee) is able to kill the whole system? > > And by 'crash' or 'kill' i mean that for whatever reason the system is > frozen and doesn't reply to anything but a hard reset. > > It just doesn't make much sense so I'm assuming that I must be doing > something wrong. Where and what kind of restrictions should I set up to > make sure that a buggy unprivileged program cannot freeze my box? > > Thank you in advance. Michael. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From owner-freebsd-questions@FreeBSD.ORG Tue Jul 5 04:27: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 55E2A1065670 for ; Tue, 5 Jul 2011 04:27:16 +0000 (UTC) (envelope-from invalid.pointer@gmail.com) Received: from mail-gw0-f45.google.com (mail-gw0-f45.google.com [74.125.83.45]) by mx1.freebsd.org (Postfix) with ESMTP id 156BA8FC18 for ; Tue, 5 Jul 2011 04:27:15 +0000 (UTC) Received: by gwb19 with SMTP id 19so3112271gwb.18 for ; Mon, 04 Jul 2011 21:27:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=w933UYqQC5XYJ7wsNW9R0ht5v1jeefbojAjKMfWUq+g=; b=mnzgXJ31cRSgYNLBc21jrq45QYo6OPZaF/4ZTWhyQ74CzqBlTlRh0xPvPFGZyVPyJ7 CmdLM4t0BNNPlDeNCB2U/4x9ecSthRYQBYX7ZKohOWOjcrj+XNrsz18ZBzpEwGX7GtnR NvNyGDkj2IR2PyjZK+PhV65JK/BEocovDQjAw= MIME-Version: 1.0 Received: by 10.150.99.2 with SMTP id w2mr5499793ybb.305.1309840035223; Mon, 04 Jul 2011 21:27:15 -0700 (PDT) Received: by 10.151.15.19 with HTTP; Mon, 4 Jul 2011 21:27:15 -0700 (PDT) In-Reply-To: <20110630045559.GD44024@dan.emsphone.com> References: <4E0BF66F.9080800@gmail.com> <20110630045559.GD44024@dan.emsphone.com> Date: Tue, 5 Jul 2011 09:57:15 +0530 Message-ID: From: manish jain To: Dan Nelson Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: PID 11 using 400% CPU X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Jul 2011 04:27:16 -0000 Hello Dan, It looks like ppp is doing a lot of read and write operations, which keeps the disk spinning. How do I set this right ? Is there something wrong with my ppp.conf (see below) ? ppp.conf : default: set log Phase Chat LCP IPCP CCP tun command allow users bourne # ident user-ppp VERSION (built COMPILATIONDATE) set device /dev/cuaU0.0 set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK AT&FE0V1X1&D2&C1S0=0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set timeout 180 # 3 minute idle timer (the default) enable dns # request DNS info (for resolv.conf) huawei: set phone "#777" set login set authname "internet" set authkey "" set timeout 180 disable ipv6cp set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR accept CHAP On 30 June 2011 10:26, Dan Nelson wrote: > In the last episode (Jun 30), Manish Jain said: > > > > Hello All, > > I have a strange problem with my 8.1 box. After booting, the hard disk > > goes into a full-speed never-ending spin. > > To see what disk I/O is being done, try running "ktrace -dip 0 ; sleep 10 ; > ktrace -C", to capture all syscalls done on the entire system (pid 0 plus > children) for 10 seconds, then run "kdump -m64 | less" to view the results. > Look for read or write calls. > > > 'ps waux' always shows pid > > 11 as taking 400% CPU utilization : > > /root # ps -up 11 > > USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND > > root 11 400.0 0.0 0 32 ?? RL 7:22PM 166:35.46 [idle] > > I have tried multiple tweaks to resolve this - all to no effect. The > > As for this, what's to resolve? The idle process is a placeholder with one > thread per CPU that accounts for time the CPU isn't doing any work. If you > want to reduce it's "CPU use", run other CPU-intensive processes :) BTW, > Windows has the same thing if you look at task manager; it's called "System > Idle Process" there. > > -- > Dan Nelson > dnelson@allantgroup.com > From owner-freebsd-questions@FreeBSD.ORG Tue Jul 5 05:04: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 B920B106566C for ; Tue, 5 Jul 2011 05:04:41 +0000 (UTC) (envelope-from timp87@gmail.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 96CA68FC14 for ; Tue, 5 Jul 2011 05:04:41 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1QdxoO-0006lp-VW for freebsd-questions@freebsd.org; Mon, 04 Jul 2011 22:04:40 -0700 Date: Mon, 4 Jul 2011 22:04:40 -0700 (PDT) From: timp To: freebsd-questions@freebsd.org Message-ID: <1309842280949-4552169.post@n5.nabble.com> In-Reply-To: <4E0D8CCB.1000004@gmail.com> References: <4E0D8CCB.1000004@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: why desktop apps are able to kill my freebsd box? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Jul 2011 05:04:41 -0000 Which video card do you use? -- View this message in context: http://freebsd.1045724.n5.nabble.com/why-desktop-apps-are-able-to-kill-my-freebsd-box-tp4541545p4552169.html Sent from the freebsd-questions mailing list archive at Nabble.com. From owner-freebsd-questions@FreeBSD.ORG Tue Jul 5 05:30: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 6AA5A106566C for ; Tue, 5 Jul 2011 05:30:44 +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 BB77E8FC0A for ; Tue, 5 Jul 2011 05:30:43 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id p655UdVx027061; Tue, 5 Jul 2011 15:30:41 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Tue, 5 Jul 2011 15:30:39 +1000 (EST) From: Ian Smith To: Matthew Seaman In-Reply-To: <20110705042728.409431065745@hub.freebsd.org> Message-ID: <20110705150337.N84785@sola.nimnet.asn.au> References: <20110705042728.409431065745@hub.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: tethys ocean , freebsd-questions@freebsd.org Subject: Re: mount /unmount X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Jul 2011 05:30:44 -0000 In freebsd-questions Digest, Vol 370, Issue 2, Message: 19 On Mon, 04 Jul 2011 20:43:23 +0100 Matthew Seaman wrote: > On 04/07/2011 15:53, tethys ocean wrote: > >> If a partition was not unmounted cleanly (eg. the machine crashed, or > >> > the power was cut off suddenly) then fsck(8) should be used to check and > >> > fix any problems on the filesystem. If you've booted into single-user > >> > mode, then definitely fsck any partitions before trying to mount them. > >> > > > *I guess If I can do fsck without unmount partition I can lost all my data > > isn't it?* > > fsck on an unmounted partition will change on-disk data structures in > ways that the kernel doesn't expect. So, yes, one consequence is that > you can lose or corrupt data. You probably wouldn't lose everything in > the partition -- but you would tend to cause corruption predominantly in > files that are more actively used. > > So don't do that. Actually fsck is smarter than to damage data on mounted partitions; it forces the -n switch (NO WRITE) on a mounted partition so is perfectly safe to use, as long as you're aware that it can't correct any errors, and indeed will most often list some apparent errors that are merely temporary inconsistencies in the present state of the filesystem such as open files, viz: sola# mount -p /dev/ad0s2a / ufs rw 1 1 devfs /dev devfs rw 0 0 /dev/ad0s2d /var ufs rw,noatime 2 2 /dev/ad0s2e /usr ufs rw,noatime 2 2 devfs /var/named/dev devfs rw 0 0 sola# fsck /var ** /dev/ad0s2d (NO WRITE) ** Last Mounted on /var ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts UNREF FILE I=24 OWNER=mysql MODE=100600 SIZE=0 MTIME=Feb 6 23:59 2011 CLEAR? no UNREF FILE I=60 OWNER=mysql MODE=100600 SIZE=0 MTIME=Feb 6 23:59 2011 CLEAR? no UNREF FILE I=86 OWNER=mysql MODE=100600 SIZE=0 MTIME=Feb 6 23:59 2011 CLEAR? no UNREF FILE I=24830 OWNER=root MODE=140666 SIZE=0 MTIME=Mar 2 03:32 2011 CLEAR? no ** Phase 5 - Check Cyl groups 2579 files, 96883 used, 29956 free (1132 frags, 3603 blocks, 0.9% fragmentation) sola# fsck /usr ** /dev/ad0s2e (NO WRITE) ** Last Mounted on /usr ** Phase 1 - Check Blocks and Sizes ** Phase 2 - Check Pathnames ** Phase 3 - Check Connectivity ** Phase 4 - Check Reference Counts UNREF FILE I=804237 OWNER=smithi MODE=100640 SIZE=0 MTIME=Jun 29 20:29 2011 CLEAR? no ** Phase 5 - Check Cyl groups 401132 files, 8584016 used, 3155190 free (88926 frags, 383283 blocks, 0.8% fragmentation) cheers, Ian From owner-freebsd-questions@FreeBSD.ORG Tue Jul 5 08:46: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 6D247106566B for ; Tue, 5 Jul 2011 08:46:51 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2FACE8FC19 for ; Tue, 5 Jul 2011 08:46:50 +0000 (UTC) Received: by vxg33 with SMTP id 33so5540830vxg.13 for ; Tue, 05 Jul 2011 01:46:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.176.3 with SMTP id bc3mr2707025vcb.26.1309855610269; Tue, 05 Jul 2011 01:46:50 -0700 (PDT) Received: by 10.220.7.146 with HTTP; Tue, 5 Jul 2011 01:46:50 -0700 (PDT) X-Originating-IP: [93.221.166.63] In-Reply-To: <4E125E12.9050308@gmail.com> References: <4E125E12.9050308@gmail.com> Date: Tue, 5 Jul 2011 10:46:50 +0200 Message-ID: From: "C. P. Ghost" To: timo.bsdmail@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: Re: why desktop apps are able to kill my freebsd box? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Jul 2011 08:46:51 -0000 On Tue, Jul 5, 2011 at 2:42 AM, Timo wrote: >> Why a faulty desktop application run as unprivileged user is able to >> crash my system? >> >> I mean, I know programs have bugs and sometimes they lead to crashes. >> I'm fine with that. But why a crashing program (for example firefox or >> banshee) is able to kill the whole system? >> >> And by 'crash' or 'kill' i mean that for whatever reason the system is >> frozen and doesn't reply to anything but a hard reset. Can you still log in via ssh from another box? Or at least, can you ping the "frozen" box from the outside? Usually, a frozen system isn't really frozen, it's just Xorg which is. And that's often related to buggy graphics drivers. -cpghost. -- Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Tue Jul 5 08:50: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 326431065676 for ; Tue, 5 Jul 2011 08:50:05 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id E5D5A8FC20 for ; Tue, 5 Jul 2011 08:50:04 +0000 (UTC) Received: by vxg33 with SMTP id 33so5542781vxg.13 for ; Tue, 05 Jul 2011 01:50:04 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.27.193 with SMTP id v1mr5812984vdg.31.1309855804149; Tue, 05 Jul 2011 01:50:04 -0700 (PDT) Received: by 10.220.7.146 with HTTP; Tue, 5 Jul 2011 01:50:04 -0700 (PDT) X-Originating-IP: [93.221.166.63] In-Reply-To: References: <4E0BF66F.9080800@gmail.com> <20110630045559.GD44024@dan.emsphone.com> Date: Tue, 5 Jul 2011 10:50:04 +0200 Message-ID: From: "C. P. Ghost" To: manish jain Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Dan Nelson , freebsd-questions@freebsd.org Subject: Re: PID 11 using 400% CPU X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Jul 2011 08:50:05 -0000 On Tue, Jul 5, 2011 at 6:27 AM, manish jain wro= te: > Hello Dan, > > It looks like ppp is doing a lot of read and write operations, which keep= s > the disk spinning. How do I set this right ? Is there something wrong wit= h > my ppp.conf (see below) ? > > ppp.conf : > > default: > =A0set log Phase Chat LCP IPCP CCP tun command Maybe reduce the amount of logging? But look at the logs before turning logging off: maybe there's something wrong with your setup, perhaps you have a flaky line etc...? -cpghost. --=20 Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Tue Jul 5 08:54: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 1D4A31065709 for ; Tue, 5 Jul 2011 08:54:15 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id CF8228FC1B for ; Tue, 5 Jul 2011 08:54:14 +0000 (UTC) Received: by vws18 with SMTP id 18so5521314vws.13 for ; Tue, 05 Jul 2011 01:54:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.118.193 with SMTP id w1mr2691349vcq.96.1309856050223; Tue, 05 Jul 2011 01:54:10 -0700 (PDT) Received: by 10.220.7.146 with HTTP; Tue, 5 Jul 2011 01:54:10 -0700 (PDT) X-Originating-IP: [93.221.166.63] In-Reply-To: References: Date: Tue, 5 Jul 2011 10:54:10 +0200 Message-ID: From: "C. P. Ghost" To: ahmad javadi Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: the alternative function for inet_aton X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Jul 2011 08:54:15 -0000 On Mon, Jul 4, 2011 at 8:05 PM, ahmad javadi wrote: > hi > I use " inet_aton" =A0function in the kernel socket programming but i hav= e the > following warrning: > "crypto.c:63: warning: implicit declaration of function 'inet_aton' > crypto.c:63: warning: nested extern declaration of =A0'inet_aton' > " > this function required that "" be included but this folder d= id > not exit in the my freebsd. There's probably a typo in your #include: replace the "," with a "." and try again. On my 8.2-STABLE system, /usr/include/arpa/inet.h exists, and defines inet_aton() just fine: % grep 'inet_aton' /usr/include/arpa/inet.h #define inet_aton __inet_aton int inet_aton(const char *, struct in_addr *); > Please help me to find solution or to use alternative function. > thanks -cpghost. --=20 Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Tue Jul 5 09:14: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 58B5B106564A for ; Tue, 5 Jul 2011 09:14:35 +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 CBF868FC16 for ; Tue, 5 Jul 2011 09:14:34 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id p659EWoa038809; Tue, 5 Jul 2011 19:14:33 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Tue, 5 Jul 2011 19:14:32 +1000 (EST) From: Ian Smith To: Unga In-Reply-To: <20110705042728.409431065745@hub.freebsd.org> Message-ID: <20110705184236.U84785@sola.nimnet.asn.au> References: <20110705042728.409431065745@hub.freebsd.org> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-1870234500-1309857272=:84785" Cc: freebsd-questions@freebsd.org Subject: Re: ipfw: getsockopt(IP_FW_ADD): Invalid argument X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Jul 2011 09:14:35 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1870234500-1309857272=:84785 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT In freebsd-questions Digest, Vol 370, Issue 2, Message: 14 On Mon, 4 Jul 2011 09:11:07 -0700 (PDT) Unga wrote: > --- On Mon, 7/4/11, Unga wrote: > > > From: Unga > > Subject: ipfw: getsockopt(IP_FW_ADD): Invalid argument > > To: freebsd-questions@freebsd.org > > Date: Monday, July 4, 2011, 11:48 AM > > Hi all > > > > Following ipfw rule develop error indicated in the subject > > line: > > ipfw add 100 fwd 127.0.0.1,1234 tcp from any to any 1234 > > out via wlan0 > > > > What I want to do is forward any packet going to port 1234 > > to 127.0.0.1:1234. > > > > I have built the kernel with "options      > >    IPFIREWALL_FORWARD". > > > > What's the error here? Is the rule incorrect? > > > > This is FreeBSD 8.1. > > > > Many thanks in advance. > > > > Unga > > > > Does anybody successfully use the "ipfw fwd"? If so in which FreeBSD version? Not I, but many do. On the face of it the rule looks correct. Do you have a TCP service running on localhost:1234 ? Does wlan0 exist? You may do better posting to the freebsd-ipfw list, with more information. cheers, Ian --0-1870234500-1309857272=:84785-- From owner-freebsd-questions@FreeBSD.ORG Tue Jul 5 10:10: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 10CCB106564A for ; Tue, 5 Jul 2011 10:10:14 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from nm26-vm0.bullet.mail.bf1.yahoo.com (nm26-vm0.bullet.mail.bf1.yahoo.com [98.139.213.74]) by mx1.freebsd.org (Postfix) with SMTP id AFBAC8FC08 for ; Tue, 5 Jul 2011 10:10:13 +0000 (UTC) Received: from [98.139.212.152] by nm26.bullet.mail.bf1.yahoo.com with NNFMP; 05 Jul 2011 10:10:12 -0000 Received: from [98.139.212.240] by tm9.bullet.mail.bf1.yahoo.com with NNFMP; 05 Jul 2011 10:10:12 -0000 Received: from [127.0.0.1] by omp1049.mail.bf1.yahoo.com with NNFMP; 05 Jul 2011 10:10:12 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 683914.61473.bm@omp1049.mail.bf1.yahoo.com Received: (qmail 12228 invoked by uid 60001); 5 Jul 2011 10:10:12 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1309860612; bh=6di94mdV3QNnrRBs8HdXUbSUChAaVqX05AWpd6xh/cM=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=LnjFO/uI6HnKIdxFn4Kb1QnqWGMTRihVzRAxnnUdRBy45umA35T8Sj3Ikkm3D2a0J+36Gg9G3fGg5e0ZdKvtSZPKIxhRq0kxxw+5MH22HTRuz13GGvAC+SoVgSGEYIWpaqMWazHah15FedJGKctC8Q6AhvTwBgLB2LLZCqNvN3g= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=rl3Cur1Fo3+/phsb3F43E6hCYMjvwBxB7Uq0wn7kQzHQq3rXM4Sf6aYj4Qj77/PPDElQ1d6/2cK5Kao05qr9g1HB8+aCusnhl6+O0JEBFeecii4s8EMNElAcwdutPYKVtb6xwP4r1cZOVHSBupEn5rD8FgTrKY1/FBZ2tq5qqYs=; X-YMail-OSG: ptwV1R8VM1lgqi2l31o9sdGhNNdY.MENu_vsy8BWHlpC4b0 Q6875rfQtHE8F2fP8m7pTW0Rj4.4HU6QqxNec3Wq19nqB_WlzwGVJuVLPG3l FyixPoi22I_i3vg5ImUuQ5HZqZtVm8xn50IhcIt.jZBLx.71zDmppGUtMAp3 bfd0oOCesOleZ0MDdRnof7i1mURXPTy3C1Ul7DyAGkj.ZgNyYBz0ryKFoK2l XZeF88ttk6T1lFDWoVbOpOg7CfEWvK.DTVpnThA0iG82abJ_rI2p867l9Zod z_J6x61Df3amCd1tMIOwSCmsCGW9z38IT7M95k.fvk0r56f0ZHwyN.1Z0Tir YVSdix3AVHYX1zmKMmzBnIqRMovnr_bvIc.do2AcUN0NPTZ.AHg2wu5BlcRL .Ul0uE7tn7SCUHqMilikSZm2YVqg0d32_HDpVtfGqSBOtCeNN13t6X9qN3yh ZXZVizYK9HFUVLlI- Received: from [112.134.99.185] by web160117.mail.bf1.yahoo.com via HTTP; Tue, 05 Jul 2011 03:10:12 PDT X-Mailer: YahooMailClassic/14.0.3 YahooMailWebService/0.8.112.307740 Message-ID: <1309860612.6391.YahooMailClassic@web160117.mail.bf1.yahoo.com> Date: Tue, 5 Jul 2011 03:10:12 -0700 (PDT) From: Unga To: Ian Smith In-Reply-To: <20110705184236.U84785@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: ipfw: getsockopt(IP_FW_ADD): Invalid argument X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Jul 2011 10:10:14 -0000 --- On Tue, 7/5/11, Ian Smith wrote:=0A=0A> From: Ia= n Smith =0A> Subject: Re: ipfw: getsockopt(IP_FW_ADD)= : Invalid argument=0A> To: "Unga" =0A> Cc: freebsd-quest= ions@freebsd.org=0A> Date: Tuesday, July 5, 2011, 5:14 PM=0A> In freebsd-qu= estions Digest, Vol 370,=0A> Issue 2, Message: 14=0A> On Mon, 4 Jul 2011 09= :11:07 -0700 (PDT) Unga =0A> wrote:=0A> > --- On Mon, 7= /4/11, Unga =0A> wrote:=0A> > =0A> > > From: Unga =0A> > > Subject: ipfw: getsockopt(IP_FW_ADD): Invalid=0A> = argument=0A> > > To: freebsd-questions@freebsd.org=0A> > > Date: Monday, = July 4, 2011, 11:48 AM=0A> > > Hi all=0A> > > =0A> > > Following ipfw ru= le develop error indicated in=0A> the subject=0A> > > line:=0A> > > ipfw = add 100 fwd 127.0.0.1,1234 tcp from any to=0A> any 1234=0A> > > out via wl= an0=0A> > > =0A> > > What I want to do is forward any packet going to=0A>= port 1234=0A> > > to 127.0.0.1:1234.=0A> > > =0A> > > I have built the = kernel with "options=A0 =A0 =A0=0A> > > =A0=A0=A0IPFIREWALL_FORWARD".=0A> = > > =0A> > > What's the error here? Is the rule incorrect?=0A> > > =0A> = > > This is FreeBSD 8.1.=0A> > > =0A> > > Many thanks in advance.=0A> >= > =0A> > > Unga=0A> > > =0A> > =0A> > Does anybody successfully use th= e "ipfw fwd"? If so=0A> in which FreeBSD version?=0A> =0A> Not I, but many = do.=A0 On the face of it the rule looks=0A> correct.=A0 Do you =0A> have a = TCP service running on localhost:1234 ?=A0 Does=0A> wlan0 exist?=A0 You =0A= > may do better posting to the freebsd-ipfw list, with more=0A> information= .=0A> =0A> cheers, Ian=0A=0AHi Ian=0A=0AThanks for the reply.=0A=0AI do hav= e a daemon listening to the port 1234 on the local machine.=0A=0AThe wlan0 = exists and ip number 192.168.1.3 assigned.=0A=0AI'll write the freebsd-ipfw= .=0A=0AThank you.=0A=0AUnga=0A=0A=0A=0A From owner-freebsd-questions@FreeBSD.ORG Tue Jul 5 14:20: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 41E9C106564A for ; Tue, 5 Jul 2011 14:20:07 +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 0144B8FC16 for ; Tue, 5 Jul 2011 14:20:06 +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 p65EK5C0021845 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 5 Jul 2011 09:20:06 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.5/8.14.5) with ESMTP id p65EK5u3074271 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 5 Jul 2011 09:20:05 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.5/8.14.5/Submit) id p65EK54i074264; Tue, 5 Jul 2011 09:20:05 -0500 (CDT) (envelope-from dan) Date: Tue, 5 Jul 2011 09:20:05 -0500 From: Dan Nelson To: manish jain Message-ID: <20110705142004.GB6611@dan.emsphone.com> References: <4E0BF66F.9080800@gmail.com> <20110630045559.GD44024@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 8.2-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97 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]); Tue, 05 Jul 2011 09:20:06 -0500 (CDT) X-Scanned-By: MIMEDefang 2.68 on 199.67.51.78 Cc: freebsd-questions@freebsd.org Subject: Re: PID 11 using 400% CPU X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Jul 2011 14:20:07 -0000 In the last episode (Jul 05), manish jain said: > On 30 June 2011 10:26, Dan Nelson wrote: > > In the last episode (Jun 30), Manish Jain said: > > > > > > I have a strange problem with my 8.1 box. After booting, the hard > > > disk goes into a full-speed never-ending spin. > > > > To see what disk I/O is being done, try running "ktrace -dip 0 ; sleep > > 10 ; ktrace -C", to capture all syscalls done on the entire system (pid > > 0 plus children) for 10 seconds, then run "kdump -m64 | less" to view > > the results. Look for read or write calls. > > It looks like ppp is doing a lot of read and write operations, which keeps > the disk spinning. How do I set this right ? Is there something wrong > with my ppp.conf (see below) ? I bet that if you ran fstat or lsof on the ppp process, all the writes are actually to your serial device or a tun device, not to disk. ppp is unlikely to cause much disk I/O. You'll have to filter out the ppp process and check your kdump output again. -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Tue Jul 5 19:37: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 6CF80106564A for ; Tue, 5 Jul 2011 19:37:12 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id 447178FC15 for ; Tue, 5 Jul 2011 19:37:12 +0000 (UTC) Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id p65JbBjJ078486 for ; Tue, 5 Jul 2011 12:37:11 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <4E1367E7.3050205@rawbw.com> Date: Tue, 05 Jul 2011 12:37:11 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:5.0) Gecko/20110701 Thunderbird/5.0 MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Tool to show the recent disk space consumers? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Jul 2011 19:37:12 -0000 Hi, I hit this problem periodically when a lot of disk space is gone and it's hard to tell where did it go. Once it was thunderbird writing huge index file as a consequence of some bug, on another occasion it was the bug in KDE writing some huge index somewhere in ~/.kde4. Is there a tool slowly indexing the file system and showing where exactly did the sudden growth of consumed space occur? I know about du(1) but I am looking for some program that can detect the dynamics and pinpoint the offending files. Yuri From owner-freebsd-questions@FreeBSD.ORG Tue Jul 5 21:16: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 73CA41065673 for ; Tue, 5 Jul 2011 21:16:16 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by mx1.freebsd.org (Postfix) with ESMTP id 0D1B48FC12 for ; Tue, 5 Jul 2011 21:16:15 +0000 (UTC) Received: by fxe6 with SMTP id 6so5301434fxe.17 for ; Tue, 05 Jul 2011 14:16:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=LrIQE0YqFF1R+s8UnCS69H3wFubkQ8Og5g9RbvQ0WRU=; b=ocA1dAwy1p4lx326tH8xt4LnE5VECTES/u/E0N4GPqcwnoWuU17E8btYwIBDP+ktLW VH6ocxBCpR2P0JHJwf1O83/SC2okHphrGGLWF7MFCyCpP+Bj8UfO23RhWVAeCikSUBu6 O83iMRqzgwNuHby9x9XBijJrWlfixJh891obs= MIME-Version: 1.0 Received: by 10.223.144.136 with SMTP id z8mr12059858fau.31.1309900574815; Tue, 05 Jul 2011 14:16:14 -0700 (PDT) Received: by 10.223.113.129 with HTTP; Tue, 5 Jul 2011 14:16:14 -0700 (PDT) In-Reply-To: <4E1367E7.3050205@rawbw.com> References: <4E1367E7.3050205@rawbw.com> Date: Tue, 5 Jul 2011 16:16:14 -0500 Message-ID: From: Adam Vande More To: Yuri Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Questions Subject: Re: Tool to show the recent disk space consumers? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Jul 2011 21:16:16 -0000 > > I hit this problem periodically when a lot of disk space is gone and it's > hard to tell where did it go. Once it was thunderbird writing huge index > file as a consequence of some bug, on another occasion it was the bug in KDE > writing some huge index somewhere in ~/.kde4. > > Is there a tool slowly indexing the file system and showing where exactly > did the sudden growth of consumed space occur? > > I know about du(1) but I am looking for some program that can detect the > dynamics and pinpoint the offending files. > A lot of the monitoring applications can do this such as zabbix and opennms, but they don't necessarily monitor file size on every file so I don't know how efficient it would be if it's not integrated into kqueue. One of the security applications such as samhain may be able to do a better job of it. -- Adam Vande More From owner-freebsd-questions@FreeBSD.ORG Tue Jul 5 22:31: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 2E2EC106566C for ; Tue, 5 Jul 2011 22:31:37 +0000 (UTC) (envelope-from Lowell@Be-Well.Ilk.Org) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.39]) by mx1.freebsd.org (Postfix) with ESMTP id 0971C8FC12 for ; Tue, 5 Jul 2011 22:31:36 +0000 (UTC) Received: (qmail 23330 invoked from network); 5 Jul 2011 22:31:36 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 5 Jul 2011 22:31:36 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.8]) by be-well.ilk.org (Postfix) with ESMTP id 60C4E5C60; Tue, 5 Jul 2011 18:31:29 -0400 (EDT) Received: by lowell-desk.lan (Postfix, from userid 1147) id 4861B39847; Tue, 5 Jul 2011 18:31:27 -0400 (EDT) From: Lowell Gilbert To: Yuri References: <4E1367E7.3050205@rawbw.com> Date: Tue, 05 Jul 2011 18:31:27 -0400 In-Reply-To: <4E1367E7.3050205@rawbw.com> (yuri@rawbw.com's message of "Tue, 05 Jul 2011 12:37:11 -0700") Message-ID: <44r564jr5s.fsf@lowell-desk.lan> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Questions Subject: Re: Tool to show the recent disk space consumers? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Jul 2011 22:31:37 -0000 Yuri writes: > I hit this problem periodically when a lot of disk space is gone and > it's hard to tell where did it go. Once it was thunderbird writing > huge index file as a consequence of some bug, on another occasion it > was the bug in KDE writing some huge index somewhere in ~/.kde4. > > Is there a tool slowly indexing the file system and showing where > exactly did the sudden growth of consumed space occur? > > I know about du(1) but I am looking for some program that can detect > the dynamics and pinpoint the offending files. A quick-and-rough approach that I sometimes use is to look at the incremental backups... From owner-freebsd-questions@FreeBSD.ORG Tue Jul 5 23:05: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 E80D2106566B for ; Tue, 5 Jul 2011 23:05:09 +0000 (UTC) (envelope-from notification+F34709933@netlogmail.com) Received: from mx01-1.netlogmail.com (mx01-1.netlogmail.com [193.164.158.70]) by mx1.freebsd.org (Postfix) with ESMTP id 566F38FC08 for ; Tue, 5 Jul 2011 23:05:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; d=netlogmail.com; s=netlog; c=relaxed/simple; q=dns/txt; i=netlogmail.com; t=1309907035; h=From:Subject:Date:To:MIME-Version:Content-Type; bh=cnmkjHHAq7XGHVxjS2AvOA3HWTc=; b=fIw/lgt9bgXg3aR1uzjUB2xBDAB2/+eQTYqCK9eNYOd5JMGp7cjIhFQeasbKdcIQ PRdWzXiB7W++JoHDx1ygnBzIY0nkiy4T1QuLvyJsW1cVHsu4D5gnag8mDICM9/fn UEnRdN9G/f9MYUm1N7oqbw9pf+upHKesqZQdqJWqDlU=; DomainKey-Signature: q=dns; a=rsa-sha1; c=nofws; s=netlog; d=netlogmail.com; h=Received:Message-ID:From:To:Sender:Subject:Date:X-MM-ID:MIME-Version:Content-Type; b=gVuDkh1xgS5dGPWRoGKTOXXn3x/o6DRgL+Bn98qSBYExmUidE16JkfGR25CITH4q U7r5LBII4uyfJmfM9KL7kN+T2aYlQRs+6SKVAbPnipAS9nexIZ+k6GkNoX5S9luY 3T5SnJrRIJuCBASU+Q5vqWLKhDfMCE26kuyCWrhbRBk= Received: from [192.168.10.5] ([192.168.10.5:52358] helo=web) by mx19.netlogmail.com (envelope-from ) (ecelerity 3.0.26.37820 r(37820)) with ESMTP id FB/0E-11521-A58931E4; Tue, 05 Jul 2011 23:03:54 +0000 Message-ID: From: Netlog To: Elias Shashati Sender: notification+F34709933@netlogmail.com Date: Tue, 05 Jul 2011 23:05:07 +0000 X-MM-ID: -3aWQ9RjM0NzA5OTMzLHR5cGU9NTEsZGlzdHJvPWVuLGRpc3Ryb2lkPTE5NTgzNTIwNTUsZGF0ZT0xMzA5OTA3MTA3LHN1YnR5cGU9MCx2ZXJzaW9uPTcsY3Y9djYuMDAsdWlkPTE1NzM2MDk0MSxtaWQ9MCxpdD1iCgkJ MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: New games for you X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 05 Jul 2011 23:05:10 -0000 Hi Elias! Try out these new games! Happy Town, played 63 272 times Let's play! http://en.netlog.com/go/mailurl/-YT04NjQ5MzUyM2MzZDRjYTZlY2FjMTkxMzA1ZDhmNWQ2YSZtPTE5NTgzNTIwNTUmbD0xJmdtPTUxJnU9JTJGcGxheSUyRmdhbWUlMkZoYXBweV90b3du You no longer want to receive these updates by e-mail? Change your settings. http://en.netlog.com/go/mailurl/-YT04NjQ5MzUyM2MzZDRjYTZlY2FjMTkxMzA1ZDhmNWQ2YSZtPTE5NTgzNTIwNTUmbD0yJmdtPTUxJnU9JTJGZ28lMkZzZXR0aW5ncyUyRmVtYWls Your Netlog account: http://www.netlog.com/shashatielias ---------------------------------------------------------------- Massive Media NV E. Braunplein 18. B-9000 Gent. Belgium BE0859635972. abuse-en@netlog.com From owner-freebsd-questions@FreeBSD.ORG Wed Jul 6 00:13: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 71FA6106564A for ; Wed, 6 Jul 2011 00:13:20 +0000 (UTC) (envelope-from kurt.buff@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 C23F68FC08 for ; Wed, 6 Jul 2011 00:13:19 +0000 (UTC) Received: by wwe6 with SMTP id 6so6252912wwe.31 for ; Tue, 05 Jul 2011 17:13:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Y7vBcbw38juKhH3gjIkT0qxkpxqBxAg4G3XTQT7jceU=; b=ecqLfpXM/KlDpl/QLlduBNKrjMOXBe+nTC24XIBClPz2YPF2CArGZZvZR7MM8ID/+1 3Ouk1af6v3DnHvoErk0S+n0y5qx9JRBa1/AEtZ9vCZrDatx5j2q6VTI7CluCmvou3Fby ymsdoHuCxPp1rVKSOnbeXWtbku9eabg9C0g9M= MIME-Version: 1.0 Received: by 10.216.237.8 with SMTP id x8mr5204293weq.37.1309911198507; Tue, 05 Jul 2011 17:13:18 -0700 (PDT) Received: by 10.216.91.69 with HTTP; Tue, 5 Jul 2011 17:13:18 -0700 (PDT) In-Reply-To: <4E1367E7.3050205@rawbw.com> References: <4E1367E7.3050205@rawbw.com> Date: Tue, 5 Jul 2011 17:13:18 -0700 Message-ID: From: Kurt Buff To: FreeBSD Questions Content-Type: text/plain; charset=UTF-8 Subject: Re: Tool to show the recent disk space consumers? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Jul 2011 00:13:20 -0000 On Tue, Jul 5, 2011 at 12:37, Yuri wrote: > Hi, > > I hit this problem periodically when a lot of disk space is gone and it's > hard to tell where did it go. Once it was thunderbird writing huge index > file as a consequence of some bug, on another occasion it was the bug in KDE > writing some huge index somewhere in ~/.kde4. > > Is there a tool slowly indexing the file system and showing where exactly > did the sudden growth of consumed space occur? > > I know about du(1) but I am looking for some program that can detect the > dynamics and pinpoint the offending files. > > Yuri kdirstat might prove useful, if it's run periodically. Kurt From owner-freebsd-questions@FreeBSD.ORG Wed Jul 6 03:25: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 BFE32106564A for ; Wed, 6 Jul 2011 03:25:40 +0000 (UTC) (envelope-from kurt.buff@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 421608FC25 for ; Wed, 6 Jul 2011 03:25:39 +0000 (UTC) Received: by wyg24 with SMTP id 24so6017980wyg.13 for ; Tue, 05 Jul 2011 20:25:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=U5b4sxjC/Hlpm28z1bqRHiiy9NtFSv8GS8kW9ynH0zw=; b=waSygrCpnogfQjw/WkaRrIWorTgdhSh0VuCiFfT2pR/5/aafJ5P27O0tRoHwI5LrjU 5cJy0GmxabuQXSoL+RKE9MQ2Xzi1Z0DcSp2Hfxs5zthBx0HghoyTDw0P2guAlA2tdIJe JDi4ijGGctFJOk41Gr1Lx6x9uWIdZV9/+6gRs= MIME-Version: 1.0 Received: by 10.216.221.163 with SMTP id r35mr5216977wep.22.1309922738511; Tue, 05 Jul 2011 20:25:38 -0700 (PDT) Received: by 10.216.91.69 with HTTP; Tue, 5 Jul 2011 20:25:38 -0700 (PDT) In-Reply-To: <4E123EF5.9030406@Haakh.de> References: <4E08558A.7000101@my.gd> <20110628052446.89911e0a.freebsd@edvax.de> <4E09DC21.6070903@Haakh.de> <4E123EF5.9030406@Haakh.de> Date: Tue, 5 Jul 2011 20:25:38 -0700 Message-ID: From: Kurt Buff To: "Dr. A. Haakh" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: fubar'ed it good this time... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Jul 2011 03:25:40 -0000 On Mon, Jul 4, 2011 at 15:30, Dr. A. Haakh wrote: > Kurt Buff schrieb: >> >> On Thu, Jun 30, 2011 at 17:31, Kurt Buff =C2=A0wrot= e: >> >>> >>> On Tue, Jun 28, 2011 at 06:50, Dr. A. Haakh =C2= =A0wrote: >>> >>>> >>>> Polytropon schrieb: >>>> >>>>> >>>>> On Mon, 27 Jun 2011 06:40:27 -0700, Kurt Buff wrote: >>>>> >>>>> >>>>>> >>>>>> Your advice sounds reasonable, but that site seems devoted to zfs >>>>>> bootables. >>>>>> >>>>>> I wonder if an 8.1 livefs iso will do the trick... >>>>>> >>>>>> >>>>> >>>>> Check if you can download FreeSBIE somewhere. It's a live system >>>>> using the 5.x and 6.x kernel which should be fine. Next to two >>>>> GUI modes (light, heavy) it also has a versatile "maintenance mode" >>>>> for such operations. I have already successfully used this system >>>>> for solving similar situations, for diagnostics, and for data >>>>> recovery preparation. >>>>> >>>> >>>> The loader obviously knows how to deal with the filesystem because he >>>> loads >>>> the failing new kernel. So the easiest solution would be to boot an >>>> older >>>> kernel if available. I don't know how freebsd-update deals with older >>>> kernels, >>>> he should still be around. First guess is /boot/kernel.old/kernel. >>>> So get the loader-prompt, "unload kernel" and try "load >>>> /boot/kernel.old/kernel". >>>> >>>> Andreas >>>> >>> >>> OK - to continue, while I have a few free minutes. >>> >>> I have been able to load the old kernel by going to the loader prompt >>> from the boot menu, and doing >>> =C2=A0 =C2=A0 unload kernel >>> =C2=A0 =C2=A0 load /boot/kernel.old/kernel >>> >>> That barked about linproc in fstab, so I edited that out. >>> >>> Then, the next go-round: It complained about mismatches on >>> daemon_saver.ko - a version mismatch, so I've commented that out of >>> /etc/rc.conf. It also complained about linux.ko, so that's been >>> commented out in /etc/rc.conf as well. >>> >>> I'm now able to reboot cleanly with the old kernel. >>> >>> After doing 'freebsd-update install' for the second time, I still >>> can't get 8.2 to boot - same issue, only acd0 is recognized. However, >>> I'm logged in as root under the old kernel, though I haven't start >>> XFCE4, and don't have wireless running. >>> >>> This one is getting to be fun... >>> >>> Kurt >>> >> >> So, I tried booting from the old kernel again, and then did a >> 'freebsd-update rollback', and that worked just fine. I thought I'd >> try again, but first did a 'freebsd-update fetch' and 'freebsd-update >> install' to get the latest 8.1 updates. >> >> That worked just fine, so I did a 'freebsd-update -r 8.2-RELEASE >> fetch' again, then a 'freebsd-update install', which went just fine, >> and after that rebooted as directed to attempt the second >> 'freebsd-update install'. >> >> That's when the same thing happened - i got dumped into the mountroot >> prompt again. And, again, rebooting and escaping to the loader prompt >> allows me to unload the kernel, load /boot/kernel.old/kernel then >> autoboot, and boot up. Same as before. >> >> Any thoughts? >> > > Redo the rollback to 8.1 and install the 8.2-STABLE source-tree. You can > install the 8.1-sources from cd and update them to 8.2-STABLE using csup. > > Put the following lines in /etc/make.conf > SUP_UPDATE=3D =C2=A0 =C2=A0 YES > SUP=3D =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/usr/bin/csup > SUPHOST=3D =C2=A0 =C2=A0 =C2=A0 =C2=A0cvsup2.de.freebsd.org > SUPFILE=3D =C2=A0 =C2=A0 =C2=A0 =C2=A0/usr/share/examples/cvsup/stable-su= pfile > > Make sure that stable-supfile contains the right tag > *default release=3Dcvs tag=3DRELENG_8 > > Then goto /usr/src and "make update |tee _Update.log" > > Once the source-tree is up-to-date: > > Have a look at the FreeBSD Handbook: Chapter 8 - Configuring the FreeBSD > Kernel. > > Copy GENERIC to e.g. MYKERNEL, edit MYKERNEL and add some debug-flags. Se= e > /sys/conf/NOTES for additional debug-options. You may as well try GENERIC= - > maybe your problem is gone... > Then go to /usr/src and do s.th. like "make buildkernel KERNCONF=3DMYKERN= EL" > and if the kernel built fine install it: "make KERNCONF=3DYOURKERNEL > installkernel". You can also add KERNCONF=3DMYKERNEL to /etc/make.conf in= stead > of adding it to the make command. > Installing the new kernels moves /boot/kernel to /boot/kernel.old and > installs the new one in /boot/kernel. If the new kernel fails again, you = can > delete it: "rm -rf /boot/kernel && mv /boot/kernel.old /boot/kernel" thus > putting the previous kernel in the right place. > If the new kernel fails again, then press the Scroll-key and navigate to = the > disk-probe usind page-up-key. Write down the messages or take a photo and > post it to this list. > > If the STABLE kernel boots fine you will probably want to remove all the > debugging stuff and rebuild it. > > If you intend to keep the 8.1-kernel move it to e.g /boot/kernel-8.1 so i= t > will not be deleted, when you install new ones and you can always "load > /boot/kernel-8.1/kernel" from the loader > > Once the new kernel boots fine, cd /usr/src and follow the instructions i= n > Makefile how to build and install a new kernel and a new world. > > At this point there is no more need for kernel-8.1: delete it. > > Andreas That is roughly the direction I was thinking of heading next. I'll try this out, and get back to the list with results. Thanks! Kurt From owner-freebsd-questions@FreeBSD.ORG Wed Jul 6 05:33: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 5C8211065670 for ; Wed, 6 Jul 2011 05:33:37 +0000 (UTC) (envelope-from invalid.pointer@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 31BF58FC08 for ; Wed, 6 Jul 2011 05:33:37 +0000 (UTC) Received: by pvg11 with SMTP id 11so8169381pvg.13 for ; Tue, 05 Jul 2011 22:33:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; 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; bh=uq4+ojfVQFmXgWVZwSoZ0AxXPuyUfUrlUE3Go1khsQ4=; b=OIGN+ArFxXwdT1cvoOZ1ktLDR1LgVh9iguvgOA8h3NyBNoC8xoBae4JWdJpfuxYyo0 d1v99iF/oqyLm3wtvmruRuOiEqQSDQyNF5uqAn9E2ohFAhs1TbKONokD7BoW144nfCnl qmX1dwPEOlt1mve0HE+XrYB2WRmD/QV9d2Si8= Received: by 10.68.51.162 with SMTP id l2mr5722671pbo.100.1309930416644; Tue, 05 Jul 2011 22:33:36 -0700 (PDT) Received: from [127.0.0.1] ([14.99.22.76]) by mx.google.com with ESMTPS id p7sm2949497pbn.33.2011.07.05.22.33.32 (version=SSLv3 cipher=OTHER); Tue, 05 Jul 2011 22:33:34 -0700 (PDT) Message-ID: <4E13F3CE.8000703@gmail.com> Date: Wed, 06 Jul 2011 11:04:06 +0530 From: Manish Jain User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 To: Dan Nelson References: <4E0BF66F.9080800@gmail.com> <20110630045559.GD44024@dan.emsphone.com> <20110705142004.GB6611@dan.emsphone.com> In-Reply-To: <20110705142004.GB6611@dan.emsphone.com> Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: PID 11 using 400% CPU X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Jul 2011 05:33:37 -0000 Hello Dan, I was having multiple problems with my x86 installation, apart from the disc spinning continuously. Despite tuning many sysctl parameters, X clients would not open for non-root users ("max number of clients reached"); for root, they would open, but after about 30 minutes of playing xboard (gnuchess), the computer would simply shut down (without even a proper shut down sequence; worse that DOS BSOD - power off in a flash); while up, the speed and performance of the system was abysmal. I therefore yesterday downloaded the iso for amd64, which is the architecture of my system. I am going to install it and try it out over the weekend. Hope things will be better this time around. Thanks for all your suggestions and advice though. Regards Manish Jain [1]invalid.pointer@gmail.com On 05-Jul-11 19:50, Dan Nelson wrote: In the last episode (Jul 05), manish jain said: On 30 June 2011 10:26, Dan Nelson [2] wrote: In the last episode (Jun 30), Manish Jain said: I have a strange problem with my 8.1 box. After booting, the hard disk goes into a full-speed never-ending spin. To see what disk I/O is being done, try running "ktrace -dip 0 ; sleep 10 ; ktrace -C", to capture all syscalls done on the entire system (pid 0 plus children) for 10 seconds, then run "kdump -m64 | less" to view the results. Look for read or write calls. It looks like ppp is doing a lot of read and write operations, which keeps the disk spinning. How do I set this right ? Is there something wrong with my ppp.conf (see below) ? I bet that if you ran fstat or lsof on the ppp process, all the writes are actually to your serial device or a tun device, not to disk. ppp is unlikely to cause much disk I/O. You'll have to filter out the ppp process and check your kdump output again. References 1. mailto:invalid.pointer@gmail.com 2. mailto:dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Wed Jul 6 08:05: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 43EA81065673 for ; Wed, 6 Jul 2011 08:05:26 +0000 (UTC) (envelope-from todor.dragnev@gmail.com) Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by mx1.freebsd.org (Postfix) with ESMTP id C00168FC16 for ; Wed, 6 Jul 2011 08:05:25 +0000 (UTC) Received: by fxe6 with SMTP id 6so5581583fxe.17 for ; Wed, 06 Jul 2011 01:05:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=eTlE0UxJeZufH7JLh3cutlRYLTJYeXXsFbX9mE880WE=; b=nkev1atmgwxG1Q5WhoU2iK+4Y3CGBinMfr/QK4L+WQzsKeVDwaLYRI0UiEpTIPxLJF k4bAdAaZTTU3f1v7dS2NfvpBa/af4Z9qXYkrif1IDi6ClJlMjZJaB43+mf5p2+rFg4JL 9GOUuA/2B/b9wMA0A1XX688qyoBa5au1GJDP8= Received: by 10.223.13.10 with SMTP id z10mr12620508faz.69.1309938200344; Wed, 06 Jul 2011 00:43:20 -0700 (PDT) Received: from [192.168.1.100] (ip-218-193.interbild.net [94.190.193.218]) by mx.google.com with ESMTPS id r10sm5816492fah.26.2011.07.06.00.43.18 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 06 Jul 2011 00:43:19 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Todor Dragnev In-Reply-To: <20110623130813.GA29180@gmail.com> Date: Wed, 6 Jul 2011 10:43:17 +0300 Content-Transfer-Encoding: 7bit Message-Id: <42630ADE-0620-4132-82A5-547B42CF324B@gmail.com> References: <20110621201553.GA29153@gmail.com> <4E01344B.4020902@snap.net.nz> <20110622004535.GA29715@gmail.com> <4E031B83.5010708@snap.net.nz> <20110623130813.GA29180@gmail.com> To: Chris Brennan X-Mailer: Apple Mail (2.1084) Cc: freebsd-questions@freebsd.org Subject: Re: ZFS on Root X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Jul 2011 08:05:26 -0000 On 23.06.2011, at 16:08, Chris Brennan wrote: > * Peter Toth [2011-06-23 22:54:59 +1200]: > >> Did you set the mount point properly for your ZFS root? My previous post >> was intended as an example only, you need to tailor it to your setup. >> Also, you can use mfsbsd for installation very easy and straightforward >> http://mfsbsd.vx.sk/ . > > This looks great, but my foggy brain isn't understanding how to use it? > Do I just burn the iso to media and boot it? Or is there some track that > involves a wand (sorry for my sarcasm lol) Hi Chris I just installed ZFS on ROOT on two 1TB SATA disks: First you need to download freebsd 8.2 memstick release http://www.freebsd.org/releases/8.2R/announce.html After booting from memstick you must enter in Fixit shell and then to follow step by step instructions from post in Dan's blog: https://www.dan.me.uk/blog/2010/02/08/booting-from-zfs-raid0156-in-freebsd/ > > > -- >> Chris Brennan >> -- From owner-freebsd-questions@FreeBSD.ORG Wed Jul 6 08: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 95E0F1065672; Wed, 6 Jul 2011 08:50:34 +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 558758FC15; Wed, 6 Jul 2011 08:50:34 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1QeNoX-0000ve-5b>; Wed, 06 Jul 2011 10:50:33 +0200 Received: from telesto.geoinf.fu-berlin.de ([130.133.86.198]) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1QeNoX-0001CJ-3Y>; Wed, 06 Jul 2011 10:50:33 +0200 Message-ID: <4E1421D9.7080808@zedat.fu-berlin.de> Date: Wed, 06 Jul 2011 10:50:33 +0200 From: "O. Hartmann" Organization: Freie =?ISO-8859-1?Q?Universit=E4t_Berlin?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:5.0) Gecko/20110701 Thunderbird/5.0 MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG, FreeBSD Current Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 130.133.86.198 Cc: Subject: Heavy I/O blocks FreeBSD box for several seconds X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Jul 2011 08:50:34 -0000 When performing an update on the ports tree via "portsnap fetch update" or when checking out (or) large Subversion repositories or when copying large data files (~ 50 to 250 GB in size, results from numerical modelings) or when compiling world, FreeBD 9.0 and FreeBSD 8.2-STABLE tend to "freeze" for several seconds or drop overall performance dramatically for seconds. On boxes with only console- or terminal access (no GUI) a running 'vi' gets stuck for seconds while one of the processes producing heavy I/O is running, or the output of a 'cat' of a large file stops for several seconds. Using X11, this phenomenon gets even worse and the 'freezing' tends to persist sometimes for more than 10 or 15 seconds. The boxes in question are all 64Bit, do have 2 to 8 CPUs/cores (no SMT) and not less than 8 GB of RAM (the 8 core box is a dual socket Dell server with two 4-core C2D-type XEON CPUs and 16 GB of RAM). All these boxes uses ZFS filesystems for data along with UFS2 for the OS. On a notebook with a relative modern Core-5 dual core CPU and 4 GB RAM (running FreeBSD 9.0-CURRENT/amd64), not ZFS, all UFS, with a 500GB harddrive at 5400 upm (Dell Latitude E6510), this phenomenon is even worse. Heavy disk I/O blocks the GUI for nearly half a minute, even when no X11 is activated, the console gets stuck for a while. First I thought this could be a problem with the "slow" harddrive, but I tried also a Linux Ubuntu 11.04 on the box and forcing heavy I/O by copying the large files in question from one location on the disk to another is performed even faster and without any freezing of a console or GUI (used EXT4 filesystem). I'm curious about this behavior. I use FreeBSD as my favourite HPC platform as far as this is possible with FreeBSD, but I realized this bottleneck when it comes to heavy I/O and I'd like to know whether this is only a "superficial" phenomenon (like caused by the outdated X11 version FreeBSD use or a low priorized tty handling, means only the observer "realize" a performance drop). I've got not the time to investigate this deeper (I'd like to perform some benchmarks on the notebook if it is available again, but my knowledge on Linux/Ubuntu is very limited and the how-to setting up FreeBSD and Linux to match each other on the same hardware could be tricky). My kernel setups on FreeBSD are mostly the GENERIC kernel with extracted drivers I do not use (like some USB devices, SAS/SCSI adaptors etc. we do not use, et cetera), nothing special. Either way I follow the tips presented in "tuning(7)" or not, the phenomenon is present. Thanks, Oliver From owner-freebsd-questions@FreeBSD.ORG Wed Jul 6 09:45: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 2EFCB106566C for ; Wed, 6 Jul 2011 09:45:30 +0000 (UTC) (envelope-from christer.solskogen@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 DF7DA8FC1A for ; Wed, 6 Jul 2011 09:45:29 +0000 (UTC) Received: by vxg33 with SMTP id 33so6566119vxg.13 for ; Wed, 06 Jul 2011 02:45:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=ivHSALzoX6tVE8TxkFLLxqF/I0+dcPu0ADWciI+8AeU=; b=voEucPOLBk6DZTwjfqN3aFajM9h3U9bLpXj0kQILTHeuBalGylk9fLPt7AaDgVDq7A wIotm3PVVZTqR736iiiPXcGNQJmm9vz24WBhhRGe5CPkXwJvOMbhaVqtBw8R9uQc7Nm6 p3laxRzKmF/0Wd8NpAAICMnXG+HKrKHanr85A= Received: by 10.52.99.67 with SMTP id eo3mr2544918vdb.89.1309945529055; Wed, 06 Jul 2011 02:45:29 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.116.74 with HTTP; Wed, 6 Jul 2011 02:45:09 -0700 (PDT) In-Reply-To: <4E1421D9.7080808@zedat.fu-berlin.de> References: <4E1421D9.7080808@zedat.fu-berlin.de> From: Christer Solskogen Date: Wed, 6 Jul 2011 11:45:09 +0200 Message-ID: To: "O. Hartmann" Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Current , freebsd-questions@freebsd.org Subject: Re: Heavy I/O blocks FreeBSD box for several seconds X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Jul 2011 09:45:30 -0000 2011/7/6 O. Hartmann : Could you post /etc/sysctl.conf and /boot/loader.conf? Also, the output of uname -a on all machines would be nice. And since you don't use GENERIC, could you also tell us what difference your setup is from a GENERIC kernel? -- chs, From owner-freebsd-questions@FreeBSD.ORG Wed Jul 6 11:01: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 E8B48106566B; Wed, 6 Jul 2011 11:01:48 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 8374C8FC1C; Wed, 6 Jul 2011 11:01:48 +0000 (UTC) Received: by pvg11 with SMTP id 11so8441311pvg.13 for ; Wed, 06 Jul 2011 04:01:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=MrflcYng5AKSefEZJoq0SdFWDIyIuNpeFo1YWsjf+WI=; b=jMeGqmivS9a9J8Wuies+iRAnn45SMFs3Qo6MN2skiUrg6ZyVfbyWDMurhQ4S5HeEEE Bf9BWzrN2v9DdAGHUj4aczHsPuU0/GMycx99IJXqltTJm2qHVsqwQMW6H9hfteoq7xlg nHt7DWilGrYFbf6QTnc+X6c+cpwKKjXMAdX8I= Received: by 10.142.242.12 with SMTP id p12mr3808209wfh.346.1309948672321; Wed, 06 Jul 2011 03:37:52 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.186.20 with HTTP; Wed, 6 Jul 2011 03:37:32 -0700 (PDT) In-Reply-To: <4E1421D9.7080808@zedat.fu-berlin.de> References: <4E1421D9.7080808@zedat.fu-berlin.de> From: arrowdodger <6yearold@gmail.com> Date: Wed, 6 Jul 2011 14:37:32 +0400 Message-ID: To: freebsd-questions@freebsd.org, FreeBSD Current Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Heavy I/O blocks FreeBSD box for several seconds X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Jul 2011 11:01:49 -0000 2011/7/6 O. Hartmann > When performing an update on the ports tree via "portsnap fetch update" or > when checking out (or) large Subversion repositories or when copying large > data files (~ 50 to 250 GB in size, results from numerical modelings) or > when compiling world, FreeBD 9.0 and FreeBSD 8.2-STABLE tend to "freeze" for > several seconds or drop overall performance dramatically for seconds. On > boxes with only console- or terminal access (no GUI) a running 'vi' gets > stuck for seconds while one of the processes producing heavy I/O is running, > or the output of a 'cat' of a large file stops for several seconds. > > Using X11, this phenomenon gets even worse and the 'freezing' tends to > persist sometimes for more than 10 or 15 seconds. > I've also had (and still having) this problem on FreeBSD 7.2-RELEASE and 8-STABLE with both UFS and ZFS. Though, i've been running FreeBSD not on powerful servers, but on laptops (2-core CPU's, 2 GB of RAM). But still, KDE4 on Linux performs much better during high disk IO. From owner-freebsd-questions@FreeBSD.ORG Wed Jul 6 13:33:37 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id C9438106566B; Wed, 6 Jul 2011 13:33:37 +0000 (UTC) Date: Wed, 6 Jul 2011 13:33:37 +0000 From: Alexander Best To: arrowdodger <6yearold@gmail.com> Message-ID: <20110706133337.GA89910@freebsd.org> References: <4E1421D9.7080808@zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: FreeBSD Current , freebsd-questions@freebsd.org Subject: Re: Heavy I/O blocks FreeBSD box for several seconds X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Jul 2011 13:33:37 -0000 On Wed Jul 6 11, arrowdodger wrote: > 2011/7/6 O. Hartmann > > > When performing an update on the ports tree via "portsnap fetch update" or > > when checking out (or) large Subversion repositories or when copying large > > data files (~ 50 to 250 GB in size, results from numerical modelings) or > > when compiling world, FreeBD 9.0 and FreeBSD 8.2-STABLE tend to "freeze" for > > several seconds or drop overall performance dramatically for seconds. On > > boxes with only console- or terminal access (no GUI) a running 'vi' gets > > stuck for seconds while one of the processes producing heavy I/O is running, > > or the output of a 'cat' of a large file stops for several seconds. this might be a scheduling issue. iirc i/o intensive tasks have higher priority than cpu intensive tasks, because they are expected to only issue a i/o request and then free the processor, while cpu intensive tasks occupy the cpu a lot longer. so maybe a process whith cyclic i/o requests blocks processes which aren't doing i/o. maybe playing with ULE's options can improve the situation. since you're running GENERIC, preemption *should* be enabled. however you should double check. i once tried running ULE without preemption and experienced exactly the same situation you described in your mail. for ULE preemption is pretty much mandatory. for the old 4bsd scheduler, running without preemtion doesn't really make that much of a difference, compared to running with preemption. you might also want to try enabling options IPI_PREEMPTION. no idea, if this improves your situation, though. cheers. alex > > > > Using X11, this phenomenon gets even worse and the 'freezing' tends to > > persist sometimes for more than 10 or 15 seconds. > > > > I've also had (and still having) this problem on FreeBSD 7.2-RELEASE and > 8-STABLE with both UFS and ZFS. Though, i've been running FreeBSD not on > powerful servers, but on laptops (2-core CPU's, 2 GB of RAM). But still, > KDE4 on Linux performs much better during high disk IO. From owner-freebsd-questions@FreeBSD.ORG Wed Jul 6 14:06: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 6718F1065674 for ; Wed, 6 Jul 2011 14:06:42 +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 EE0018FC14 for ; Wed, 6 Jul 2011 14:06:41 +0000 (UTC) Received: from park.js.berklix.net (p5DCBE0C8.dip.t-dialin.net [93.203.224.200]) (authenticated bits=0) by tower.berklix.org (8.14.2/8.14.2) with ESMTP id p66E6cNE087423; Wed, 6 Jul 2011 14:06:39 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 p66E6R1P072490; Wed, 6 Jul 2011 16:06:29 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.4/8.14.4) with ESMTP id p66E66ob052183; Wed, 6 Jul 2011 14:06:11 GMT (envelope-from jhs@fire.js.berklix.net) Message-Id: <201107061406.p66E66ob052183@fire.js.berklix.net> To: Kurt Buff , Yuri , wrote: ; 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 "Tue, 05 Jul 2011 17:13:18 PDT." Date: Wed, 06 Jul 2011 16:06:06 +0200 Sender: jhs@berklix.com Cc: FreeBSD Questions Subject: Re: Tool to show the recent disk space consumers? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Jul 2011 14:06:42 -0000 Kurt Buff wrote: > On Tue, Jul 5, 2011 at 12:37, Yuri wrote: > > Hi, > > > > I hit this problem periodically when a lot of disk space is gone and it's > > hard to tell where did it go. Once it was thunderbird writing huge index > > file as a consequence of some bug, on another occasion it was the bug in KDE > > writing some huge index somewhere in ~/.kde4. > > > > Is there a tool slowly indexing the file system and showing where exactly > > did the sudden growth of consumed space occur? > > > > I know about du(1) but I am looking for some program that can detect the > > dynamics and pinpoint the offending files. > > > > Yuri > > kdirstat might prove useful, if it's run periodically. /usr/ports/sysutils/kdirstat Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below, not above; Indent with "> "; Cumulative like a play script. Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. From owner-freebsd-questions@FreeBSD.ORG Wed Jul 6 14:14: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 580091065670 for ; Wed, 6 Jul 2011 14:14:09 +0000 (UTC) (envelope-from unga888@yahoo.com) Received: from nm17-vm0.bullet.mail.bf1.yahoo.com (nm17-vm0.bullet.mail.bf1.yahoo.com [98.139.213.157]) by mx1.freebsd.org (Postfix) with SMTP id E6EF68FC19 for ; Wed, 6 Jul 2011 14:14:08 +0000 (UTC) Received: from [98.139.212.151] by nm17.bullet.mail.bf1.yahoo.com with NNFMP; 06 Jul 2011 14:14:07 -0000 Received: from [98.139.212.209] by tm8.bullet.mail.bf1.yahoo.com with NNFMP; 06 Jul 2011 14:14:07 -0000 Received: from [127.0.0.1] by omp1018.mail.bf1.yahoo.com with NNFMP; 06 Jul 2011 14:14:07 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 932715.79422.bm@omp1018.mail.bf1.yahoo.com Received: (qmail 9164 invoked by uid 60001); 6 Jul 2011 14:14:07 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1309961647; bh=lodWye/jtGr/I0OB92fDfR0jrATxGLJGDuIcOJQY32E=; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=URPfP7axbzzu0cVs3zdvYtVDhq6+EC4atuRPeBLU4uYAX6xjpB079ZrjHih197KzWg9nOYa27nERbXITgHjZTwi3uP7pwPZRhoyLsQrwSGsTII/Dpbnu+L/VascKRu48l7pae5JYzNvy6lEe4cARFgFa0IKzOgQnt6jVDHahquQ= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Message-ID:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=stYWcsYWUb/SUJr4Mgj3/bZvr4UyNhdmYl4zfoLemYKJY8EINyyM+q18BFNLQe/wjnUQ35LoBExhIDhWI/H0ZuMkzQSdnZhMdbGWRtb112iXzvxiHzy4x/2/+vQX7+JMMnuzHlA5w40NW0/xvwSTZcqvRSVaAjjFl5df+D3RkEg=; X-YMail-OSG: 2LyLrv8VM1ngogtV559ArP_i4w.fO5SzNpjvHjw_fX34zms EIEivk3Oz2DJRZjacCdCoxm9BercWj0lSKlsGtxaR0RnCHIuVE6l15it95EE LZ5zjpPQKp9dTw6infBm.IuvHYZfNuoZ9WPaOp2mlYE4_AYYLuEXIKys7pmT 68uCLcE3668Lva6DE0wgKbxMChK1RW6pr0gH8juuiufLziq9QkBdXnluHmlX 0czggFtKpn4KJ7CfT.2fVFbhw2erv.7uKikSqjHeJ_uVbbpQpjQlwEUOId.R jQFPgcQjUBKCfg8HnsDA713UyaxwXEUUYLYW06MmoNpAfsyaVqqk3FidMIe8 bjlrQdjTcCO4CcBaKJ7J8o93.96D96PN_amQ9Ru91ZWky8bQKY4WoLZJ8vCQ OfkXfTHtioM6txCWJqQ-- Received: from [112.134.100.26] by web160105.mail.bf1.yahoo.com via HTTP; Wed, 06 Jul 2011 07:14:07 PDT X-Mailer: YahooMailClassic/14.0.3 YahooMailWebService/0.8.112.307740 Message-ID: <1309961647.1837.YahooMailClassic@web160105.mail.bf1.yahoo.com> Date: Wed, 6 Jul 2011 07:14:07 -0700 (PDT) From: Unga To: Ian Smith In-Reply-To: <20110705184236.U84785@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: ipfw: getsockopt(IP_FW_ADD): Invalid argument X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Jul 2011 14:14:09 -0000 =0A=0A--- On Tue, 7/5/11, Ian Smith wrote:=0A=0A> >= Does anybody successfully use the "ipfw fwd"? If so=0A> in which FreeBSD v= ersion?=0A> =0A> Not I, but many do.=A0 On the face of it the rule looks=0A= > correct.=A0 Do you =0A> have a TCP service running on localhost:1234 ?=A0= Does=0A> wlan0 exist?=A0 You =0A> may do better posting to the freebsd-ipf= w list, with more=0A> information.=0A> =0A> cheers, Ian=0A=0AHi Ian=0A=0AI = have added 'options IPFIREWALL' and rebuilt all, now 'ipfw fwd' works well.= =0A=0ASo the 'options IPFIREWALL_FORWARD' alone is insufficient, the 'optio= ns IPFIREWALL' is also required.=0A=0AThank you and all others who helped m= e in this regard.=0A=0ACheers=0AUnga From owner-freebsd-questions@FreeBSD.ORG Wed Jul 6 14:44: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 D0711106564A for ; Wed, 6 Jul 2011 14:44:39 +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 400B48FC13 for ; Wed, 6 Jul 2011 14:44:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id p66EibPi033106; Thu, 7 Jul 2011 00:44:37 +1000 (EST) (envelope-from smithi@nimnet.asn.au) Date: Thu, 7 Jul 2011 00:44:37 +1000 (EST) From: Ian Smith To: Unga In-Reply-To: <1309961647.1837.YahooMailClassic@web160105.mail.bf1.yahoo.com> Message-ID: <20110707003258.F84785@sola.nimnet.asn.au> References: <1309961647.1837.YahooMailClassic@web160105.mail.bf1.yahoo.com> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-477406475-1309963477=:84785" Cc: freebsd-questions@freebsd.org Subject: Re: ipfw: getsockopt(IP_FW_ADD): Invalid argument X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Jul 2011 14:44:39 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-477406475-1309963477=:84785 Content-Type: TEXT/PLAIN; charset=iso-8859-1 Content-Transfer-Encoding: 8BIT On Wed, 6 Jul 2011, Unga wrote: > On Tue, 7/5/11, Ian Smith wrote: > > > Does anybody successfully use the "ipfw fwd"? If so > > > in which FreeBSD version? > > > Not I, but many do.  On the face of it the rule looks > > correct.  Do you > > have a TCP service running on localhost:1234 ?  Does > > wlan0 exist?  You > > may do better posting to the freebsd-ipfw list, with more > > information. > > > cheers, Ian > > Hi Ian > > I have added 'options IPFIREWALL' and rebuilt all, now 'ipfw fwd' > works well. > > So the 'options IPFIREWALL_FORWARD' alone is insufficient, the > 'options IPFIREWALL' is also required. Right; I guess if you're building it into kernel you have to configure all relevant options there too. That could be more explicitly stated. > Thank you and all others who helped me in this regard. Glad it's working. Another win for the collective wisdom .. cheers, Ian --0-477406475-1309963477=:84785-- From owner-freebsd-questions@FreeBSD.ORG Wed Jul 6 15:01: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 6E39F106566B for ; Wed, 6 Jul 2011 15:01:30 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id E67F48FC16 for ; Wed, 6 Jul 2011 15:01:29 +0000 (UTC) Received: from [0.0.0.0] (ozzie.tundraware.com [75.145.138.73]) (authenticated bits=0) by ozzie.tundraware.com (8.14.5/8.14.5) with ESMTP id p66F1LNG015081 (version=TLSv1/SSLv3 cipher=DHE-DSS-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 6 Jul 2011 10:01:21 -0500 (CDT) (envelope-from tundra@tundraware.com) Message-ID: <4E1478C1.3020302@tundraware.com> Date: Wed, 06 Jul 2011 10:01:21 -0500 From: Tim Daneliuk Organization: TundraWare Inc. User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: FreeBSD Mailing List X-Enigmail-Version: 1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (ozzie.tundraware.com [75.145.138.73]); Wed, 06 Jul 2011 10:01:21 -0500 (CDT) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: p66F1LNG015081 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No Subject: Perl Problem After Upgrade to 5.12.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Jul 2011 15:01:30 -0000 Ideas anyone? I am trying to rebuild SpamAssassin after a perl upgrade to 5.12.4 and get this (I DID run perl-after-upgrade prior to this): ===> p5-Encode-Detect-1.01 depends on file: /usr/local/lib/perl5/site_perl/5.12.4/Module/Build.pm - not found ===> Verifying install for /usr/local/lib/perl5/site_perl/5.12.4/Module/Build.pm in /usr/ports/devel/p5-Module-Build ===> License check disabled, port has not defined LICENSE ===> Extracting for p5-Module-Build-0.3800_1 => SHA256 Checksum OK for Module-Build-0.3800.tar.gz. ===> p5-Module-Build-0.3800_1 depends on file: /usr/local/bin/perl5.12.4 - found ===> Patching for p5-Module-Build-0.3800_1 ===> p5-Module-Build-0.3800_1 depends on file: /usr/local/bin/perl5.12.4 - found ===> p5-Module-Build-0.3800_1 depends on package: p5-CPAN-Meta>=2.110420 - found ===> p5-Module-Build-0.3800_1 depends on package: p5-Module-Metadata>=1.000002 - found ===> p5-Module-Build-0.3800_1 depends on package: p5-Parse-CPAN-Meta>=1.44.01 - found ===> p5-Module-Build-0.3800_1 depends on package: p5-Perl-OSType>=1.000 - found ===> p5-Module-Build-0.3800_1 depends on package: p5-version>=0.87 - found ===> p5-Module-Build-0.3800_1 depends on file: /usr/local/bin/perl5.12.4 - found ===> Configuring for p5-Module-Build-0.3800_1 *** BOOTSTRAPPING Perl::OSType *** *** BOOTSTRAPPING version *** *** BOOTSTRAPPING Module::Metadata *** Checking prerequisites... requires: ! CPAN::Meta is not installed build_requires: ! Parse::CPAN::Meta (1.40) is installed, but we need version >= 1.4401 ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions of the modules indicated above before proceeding with this installation Could not create MYMETA files Creating new 'Build' script for 'Module-Build' version '0.3800' Copied META.yml to MYMETA.yml for bootstrapping These additional prerequisites must be installed: requires: ! Perl::OSType (we need version 1.00) ! version (we need version 0.87) ! Module::Metadata (we need version 1.000002) ===> Building for p5-Module-Build-0.3800_1 Can't locate Perl/OSType.pm in @INC (@INC contains: t/lib t/bundled lib /usr/local/lib/perl5/5.12.4/BSDPAN /usr/local/lib/perl5/site_perl/5.12.4/mach /usr/local/lib/perl5/site_perl/5.12.4 /usr/local/lib/perl5/5.12.4/mach /usr/local/lib/perl5/5.12.4 .) at lib/Module/Build.pm line 13. BEGIN failed--compilation aborted at lib/Module/Build.pm line 13. Compilation failed in require at Build line 42. BEGIN failed--compilation aborted at Build line 42. *** Error code 2 Stop in /usr1/ports/devel/p5-Module-Build. *** Error code 1 Stop in /usr1/ports/converters/p5-Encode-Detect. *** Error code 1 Stop in /usr1/ports/mail/p5-Mail-SpamAssassin. *** Error code 1 Stop in /usr1/ports/mail/p5-Mail-SpamAssassi -- ------------------------------------------------------------------------ Tim Daneliuk tundra@tundraware.com From owner-freebsd-questions@FreeBSD.ORG Wed Jul 6 15:29: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 2C583106566B; Wed, 6 Jul 2011 15:29:25 +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 DD2E58FC19; Wed, 6 Jul 2011 15:29:24 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1QeU2W-0004p4-5t>; Wed, 06 Jul 2011 17:29:24 +0200 Received: from telesto.geoinf.fu-berlin.de ([130.133.86.198]) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1QeU2W-0007a1-3s>; Wed, 06 Jul 2011 17:29:24 +0200 Message-ID: <4E147F54.40908@zedat.fu-berlin.de> Date: Wed, 06 Jul 2011 17:29:24 +0200 From: "O. Hartmann" Organization: Freie =?ISO-8859-1?Q?Universit=E4t_Berlin?= User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:5.0) Gecko/20110701 Thunderbird/5.0 MIME-Version: 1.0 To: arrowdodger <6yearold@gmail.com> References: <4E1421D9.7080808@zedat.fu-berlin.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 130.133.86.198 Cc: FreeBSD Current , freebsd-questions@freebsd.org Subject: Re: Heavy I/O blocks FreeBSD box for several seconds X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Jul 2011 15:29:25 -0000 On 07/06/11 12:37, arrowdodger wrote: > 2011/7/6 O. Hartmann > >> When performing an update on the ports tree via "portsnap fetch update" or >> when checking out (or) large Subversion repositories or when copying large >> data files (~ 50 to 250 GB in size, results from numerical modelings) or >> when compiling world, FreeBD 9.0 and FreeBSD 8.2-STABLE tend to "freeze" for >> several seconds or drop overall performance dramatically for seconds. On >> boxes with only console- or terminal access (no GUI) a running 'vi' gets >> stuck for seconds while one of the processes producing heavy I/O is running, >> or the output of a 'cat' of a large file stops for several seconds. >> >> Using X11, this phenomenon gets even worse and the 'freezing' tends to >> persist sometimes for more than 10 or 15 seconds. >> > > I've also had (and still having) this problem on FreeBSD 7.2-RELEASE and > 8-STABLE with both UFS and ZFS. Though, i've been running FreeBSD not on > powerful servers, but on laptops (2-core CPU's, 2 GB of RAM). But still, > KDE4 on Linux performs much better during high disk IO. I read about issues with the old codebase of X11 in FreeBSD's ports used, which could be the cause of some performance problems, but I wouldn't expect those I/O-triggered blockings on boxes without any GUI. I saw Linux very often performing tremendously better when used as a workstation or desktop, but this is often gained on the costs of other subsystems. I followed a very hard-to-understand discussion about grouping threads related to ttys which seems to get higher priorized in Linux to make the GUI more fluent, but this is definitely on cost of other subsystems, which in consequence gets less priorized. But even without GUI, Linux seems to perform I/O much better on multicore-/multiprocessor boxes than FreeBSD *.X and 9.X). Today I looked at some benchmarks performed by Phoronix/openbenchmark.org (http://www.phoronix.com/scan.php?page=article&item=freebsd8_ubuntu910&num=9) and it seems that threaded I/O is an issue in FreeBSD (compared to Linux). I have no glue how to "tune" those bottlenecks away in FBSD. I use SCHED_ULE on all machines, since it is supposed to be performing better on multicore boxes, but there are lots of suggestions switching back to the old SCHED_4BSD scheduler. Oliver From owner-freebsd-questions@FreeBSD.ORG Wed Jul 6 16:28: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 474CC1065675; Wed, 6 Jul 2011 16:28:12 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) by mx1.freebsd.org (Postfix) with ESMTP id 279F38FC1B; Wed, 6 Jul 2011 16:28:12 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.4/8.14.4) with ESMTP id p66GSBxi068608; Wed, 6 Jul 2011 09:28:11 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.4/8.14.4/Submit) id p66GSBCU068607; Wed, 6 Jul 2011 09:28:11 -0700 (PDT) (envelope-from sgk) Date: Wed, 6 Jul 2011 09:28:11 -0700 From: Steve Kargl To: "O. Hartmann" Message-ID: <20110706162811.GA68436@troutmask.apl.washington.edu> References: <4E1421D9.7080808@zedat.fu-berlin.de> <4E147F54.40908@zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E147F54.40908@zedat.fu-berlin.de> User-Agent: Mutt/1.4.2.3i Cc: FreeBSD Current , arrowdodger <6yearold@gmail.com>, freebsd-questions@freebsd.org Subject: Re: Heavy I/O blocks FreeBSD box for several seconds X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Jul 2011 16:28:12 -0000 On Wed, Jul 06, 2011 at 05:29:24PM +0200, O. Hartmann wrote: > > I use SCHED_ULE on all machines, since it is supposed to be performing > better on multicore boxes, but there are lots of suggestions switching > back to the old SCHED_4BSD scheduler. > If you are using MPI in numerical codes, then you want to use SCHED_4BSD. I've posted numerous times about ULE and its very poor performance when using MPI. http://lists.freebsd.org/pipermail/freebsd-hackers/2008-October/026375.html -- Steve From owner-freebsd-questions@FreeBSD.ORG Wed Jul 6 16:38: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 F3A421065679; Wed, 6 Jul 2011 16:38:26 +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 AD7368FC1F; Wed, 6 Jul 2011 16:38:26 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1QeV7J-00017N-Cf>; Wed, 06 Jul 2011 18:38:25 +0200 Received: from e178039240.adsl.alicedsl.de ([85.178.39.240] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1QeV7J-0003jY-8v>; Wed, 06 Jul 2011 18:38:25 +0200 Message-ID: <4E148F7F.5020209@zedat.fu-berlin.de> Date: Wed, 06 Jul 2011 18:38:23 +0200 From: "Hartmann, O." User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:5.0) Gecko/20110630 Thunderbird/5.0 MIME-Version: 1.0 To: Steve Kargl References: <4E1421D9.7080808@zedat.fu-berlin.de> <4E147F54.40908@zedat.fu-berlin.de> <20110706162811.GA68436@troutmask.apl.washington.edu> In-Reply-To: <20110706162811.GA68436@troutmask.apl.washington.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.39.240 Cc: FreeBSD Current , arrowdodger <6yearold@gmail.com>, freebsd-questions@freebsd.org Subject: Re: Heavy I/O blocks FreeBSD box for several seconds X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Jul 2011 16:38:27 -0000 On 07/06/11 18:28, Steve Kargl wrote: > On Wed, Jul 06, 2011 at 05:29:24PM +0200, O. Hartmann wrote: >> I use SCHED_ULE on all machines, since it is supposed to be performing >> better on multicore boxes, but there are lots of suggestions switching >> back to the old SCHED_4BSD scheduler. >> > If you are using MPI in numerical codes, then you want > to use SCHED_4BSD. I've posted numerous times about ULE > and its very poor performance when using MPI. > > http://lists.freebsd.org/pipermail/freebsd-hackers/2008-October/026375.html > Worth a try, but most of my code I use is OpenMP, not MPI. The post is of 2008, that's three years ago and 9.0 is on the brink to become released ... From owner-freebsd-questions@FreeBSD.ORG Wed Jul 6 16: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 DBE641065675 for ; Wed, 6 Jul 2011 16:40:42 +0000 (UTC) (envelope-from ndhertbsd@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 A80D28FC18 for ; Wed, 6 Jul 2011 16:40:42 +0000 (UTC) Received: by iwr19 with SMTP id 19so98905iwr.13 for ; Wed, 06 Jul 2011 09:40:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=VF6gtig1y5m+rJpn/EHB8yL/cBwK+0bE1KG7RAxKK6Y=; b=oz1mfGgcsfcLlIl+uAR9ABpA67faivbLtOwxG8HP5dgYb4sAehMlotxDibHDeEO4Re shObfbZ5i+ReyiNU5W0caUx5ywjJ3A+0k++pFLAMNoJuDx68ScEQcmszmbWnatrPCbNo NKSJ6x5z2JZi3nirt01m9o48GCofhpJdqrnVI= MIME-Version: 1.0 Received: by 10.231.10.138 with SMTP id p10mr8224346ibp.84.1309970442071; Wed, 06 Jul 2011 09:40:42 -0700 (PDT) Received: by 10.231.205.134 with HTTP; Wed, 6 Jul 2011 09:40:42 -0700 (PDT) Date: Wed, 6 Jul 2011 18:40:42 +0200 Message-ID: From: n dhert To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: p5-ExtUtils-MakeMaker-6.56_1 and p5-ExtUtils-Install-1.54_1 conflict X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Jul 2011 16:40:43 -0000 Hi, p5-ExtUtils-MakeMaker-6.56_1 and p5-ExtUtils-Install-1.54_1 conflict both telling that the other one should be deleted. So which one of the two to keep so far, I opted for keeping p5-ExtUtils-Install-1.54_1, deleting p5-ExtUtils-MakeMaker-6.56_1, is this wise or should it be the other way round? or what? There's nothing in /usr/ports/UPDATING about that.. From owner-freebsd-questions@FreeBSD.ORG Wed Jul 6 16:49: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 3B2EB106566B for ; Wed, 6 Jul 2011 16:49:54 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id EDF8F8FC12 for ; Wed, 6 Jul 2011 16:49:53 +0000 (UTC) Received: by gyf3 with SMTP id 3so76907gyf.13 for ; Wed, 06 Jul 2011 09:49:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; 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; bh=wWI9eMscC1XLzrTPEmedbTrWNHA1CNtlfDAJNQPzrbQ=; b=h1/o7xStsfnSJM8cdvS/gBhdUyIRwAfBtskxuqJyAjpO5tlKYwYfaRvDOgKPa5xOrR yZ4xTvhHylGFz5yVwHceNN6BnWWF7armrtC9V756hUyzKgN4RFmx1GOS+caeJT+Uo5LQ 0cwvmnTXtZEJwohTbdqBhB/tgiwuSLcifVR/g= MIME-Version: 1.0 Received: by 10.150.179.2 with SMTP id b2mr7152186ybf.410.1309969543074; Wed, 06 Jul 2011 09:25:43 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.151.45.11 with HTTP; Wed, 6 Jul 2011 09:25:43 -0700 (PDT) In-Reply-To: <4E147F54.40908@zedat.fu-berlin.de> References: <4E1421D9.7080808@zedat.fu-berlin.de> <4E147F54.40908@zedat.fu-berlin.de> Date: Thu, 7 Jul 2011 00:25:43 +0800 X-Google-Sender-Auth: 8nObOuO4iMSAsoX23760fo-XSf8 Message-ID: From: Adrian Chadd To: "O. Hartmann" Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Current , arrowdodger <6yearold@gmail.com>, freebsd-questions@freebsd.org Subject: Re: Heavy I/O blocks FreeBSD box for several seconds X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Jul 2011 16:49:54 -0000 Has anyone re-run those IO benchmarks? Something smells fishy there.. (with the benchmarking.) adrian 2011/7/6 O. Hartmann : > On 07/06/11 12:37, arrowdodger wrote: >> >> 2011/7/6 O. Hartmann >> >>> When performing an update on the ports tree via "portsnap fetch update" >>> or >>> when checking out (or) large Subversion repositories or when copying >>> large >>> data files (~ 50 to 250 GB in size, results from numerical modelings) or >>> when compiling world, FreeBD 9.0 and FreeBSD 8.2-STABLE tend to "freeze" >>> for >>> several seconds or drop overall performance dramatically for seconds. On >>> boxes with only console- or terminal access (no GUI) a running 'vi' gets >>> stuck for seconds while one of the processes producing heavy I/O is >>> running, >>> or the output of a 'cat' of a large file stops for several seconds. >>> >>> Using X11, this phenomenon gets even worse and the 'freezing' tends to >>> persist sometimes for more than 10 or 15 seconds. >>> >> >> I've also had (and still having) this problem on FreeBSD 7.2-RELEASE and >> 8-STABLE with both UFS and ZFS. Though, i've been running FreeBSD not on >> powerful servers, but on laptops (2-core CPU's, 2 GB of RAM). But still, >> KDE4 on Linux performs much better during high disk IO. > > I read about issues with the old codebase of X11 in FreeBSD's ports used, > which could be the cause of some performance problems, but I wouldn't expect > those I/O-triggered blockings on boxes without any GUI. > > I saw Linux very often performing tremendously better when used as a > workstation or desktop, but this is often gained on the costs of other > subsystems. I followed a very hard-to-understand discussion about grouping > threads related to ttys which seems to get higher priorized in Linux to make > the GUI more fluent, but this is definitely on cost of other subsystems, > which in consequence gets less priorized. > But even without GUI, Linux seems to perform I/O much better on > multicore-/multiprocessor boxes than FreeBSD *.X and 9.X). > > Today I looked at some benchmarks performed by Phoronix/openbenchmark.org > (http://www.phoronix.com/scan.php?page=article&item=freebsd8_ubuntu910&num=9) > and it seems that threaded I/O is an issue in FreeBSD (compared to Linux). I > have no glue how to "tune" those bottlenecks away in FBSD. > > I use SCHED_ULE on all machines, since it is supposed to be performing > better on multicore boxes, but there are lots of suggestions switching back > to the old SCHED_4BSD scheduler. > > Oliver > > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Wed Jul 6 17:01: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 103B2106566C; Wed, 6 Jul 2011 17:01:33 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) by mx1.freebsd.org (Postfix) with ESMTP id E2C888FC08; Wed, 6 Jul 2011 17:01:32 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.4/8.14.4) with ESMTP id p66H1W9s068818; Wed, 6 Jul 2011 10:01:32 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.4/8.14.4/Submit) id p66H1Wgc068817; Wed, 6 Jul 2011 10:01:32 -0700 (PDT) (envelope-from sgk) Date: Wed, 6 Jul 2011 10:01:32 -0700 From: Steve Kargl To: "Hartmann, O." Message-ID: <20110706170132.GA68775@troutmask.apl.washington.edu> References: <4E1421D9.7080808@zedat.fu-berlin.de> <4E147F54.40908@zedat.fu-berlin.de> <20110706162811.GA68436@troutmask.apl.washington.edu> <4E148F7F.5020209@zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E148F7F.5020209@zedat.fu-berlin.de> User-Agent: Mutt/1.4.2.3i Cc: FreeBSD Current , arrowdodger <6yearold@gmail.com>, freebsd-questions@freebsd.org Subject: Re: Heavy I/O blocks FreeBSD box for several seconds X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Jul 2011 17:01:33 -0000 On Wed, Jul 06, 2011 at 06:38:23PM +0200, Hartmann, O. wrote: > On 07/06/11 18:28, Steve Kargl wrote: > >On Wed, Jul 06, 2011 at 05:29:24PM +0200, O. Hartmann wrote: > >>I use SCHED_ULE on all machines, since it is supposed to be performing > >>better on multicore boxes, but there are lots of suggestions switching > >>back to the old SCHED_4BSD scheduler. > >> > >If you are using MPI in numerical codes, then you want > >to use SCHED_4BSD. I've posted numerous times about ULE > >and its very poor performance when using MPI. > > > >http://lists.freebsd.org/pipermail/freebsd-hackers/2008-October/026375.html > > > > Worth a try, > but most of my code I use is OpenMP, not MPI. It may impact OpenMP. I don't have any OpenMP to test. But, if OpenMP is spawning as many or more threads than the number of available processors/cores, then I think you will have problems. > The post is of 2008, that's three years ago and 9.0 is on the brink to > become released ... I periodically ran the same type test in the 2008 post over the last three years. Nothing has changed. I even set up an account on one node in my cluster for jeffr to use. He was too busy to investigate at that time. -- Steve From owner-freebsd-questions@FreeBSD.ORG Wed Jul 6 17:22: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 42AD2106566C for ; Wed, 6 Jul 2011 17:22:21 +0000 (UTC) (envelope-from phk@critter.freebsd.dk) Received: from phk.freebsd.dk (phk.freebsd.dk [130.225.244.222]) by mx1.freebsd.org (Postfix) with ESMTP id 01FE48FC15 for ; Wed, 6 Jul 2011 17:22:20 +0000 (UTC) Received: from critter.freebsd.dk (critter-phk.freebsd.dk [192.168.48.2]) by phk.freebsd.dk (Postfix) with ESMTP id E6BA45E20; Wed, 6 Jul 2011 17:05:42 +0000 (UTC) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.14.4/8.14.4) with ESMTP id p66H5fU9005081; Wed, 6 Jul 2011 17:05:42 GMT (envelope-from phk@critter.freebsd.dk) To: Steve Kargl From: "Poul-Henning Kamp" In-Reply-To: Your message of "Wed, 06 Jul 2011 10:01:32 MST." <20110706170132.GA68775@troutmask.apl.washington.edu> Content-Type: text/plain; charset=ISO-8859-1 Date: Wed, 06 Jul 2011 17:05:41 +0000 Message-ID: <5080.1309971941@critter.freebsd.dk> Sender: phk@critter.freebsd.dk Cc: FreeBSD Current , "Hartmann, O." , arrowdodger <6yearold@gmail.com>, freebsd-questions@freebsd.org Subject: Re: Heavy I/O blocks FreeBSD box for several seconds X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Jul 2011 17:22:21 -0000 In message <20110706170132.GA68775@troutmask.apl.washington.edu>, Steve Kargl w rites: >I periodically ran the same type test in the 2008 post over the >last three years. Nothing has changed. I even set up an account >on one node in my cluster for jeffr to use. He was too busy to >investigate at that time. Isn't this just the lemming-syncer hurling every dirty block over the cliff at the same time ? To find out: Run gstat and keep and eye on the leftmost column The road map for fixing that has been known for years... -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence. From owner-freebsd-questions@FreeBSD.ORG Wed Jul 6 18:00: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 3722E106564A; Wed, 6 Jul 2011 18:00:02 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) by mx1.freebsd.org (Postfix) with ESMTP id 174C98FC1F; Wed, 6 Jul 2011 18:00:02 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.4/8.14.4) with ESMTP id p66I01CY069240; Wed, 6 Jul 2011 11:00:01 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.4/8.14.4/Submit) id p66I01sb069239; Wed, 6 Jul 2011 11:00:01 -0700 (PDT) (envelope-from sgk) Date: Wed, 6 Jul 2011 11:00:01 -0700 From: Steve Kargl To: Poul-Henning Kamp Message-ID: <20110706180001.GA69157@troutmask.apl.washington.edu> References: <20110706170132.GA68775@troutmask.apl.washington.edu> <5080.1309971941@critter.freebsd.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5080.1309971941@critter.freebsd.dk> User-Agent: Mutt/1.4.2.3i Cc: FreeBSD Current , "Hartmann, O." , arrowdodger <6yearold@gmail.com>, freebsd-questions@freebsd.org Subject: Re: Heavy I/O blocks FreeBSD box for several seconds X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Jul 2011 18:00:02 -0000 On Wed, Jul 06, 2011 at 05:05:41PM +0000, Poul-Henning Kamp wrote: > In message <20110706170132.GA68775@troutmask.apl.washington.edu>, Steve Kargl w > rites: > > >I periodically ran the same type test in the 2008 post over the > >last three years. Nothing has changed. I even set up an account > >on one node in my cluster for jeffr to use. He was too busy to > >investigate at that time. > > Isn't this just the lemming-syncer hurling every dirty block over > the cliff at the same time ? I don't know the answer. Of course, having no experience in processing scheduling, I don't understand the question either ;-) AFAICT, it is a cpu affinity issue. If I launch n+1 MPI images on a system with n cpus/cores, then 2 (and sometimes 3) images are stuck on a cpu and those 2 (or 3) images ping-pong on that cpu. I recall trying to use renice(8) to force some load balancing, but vaguely remember that it did not help. > To find out: Run gstat and keep and eye on the leftmost column > > The road map for fixing that has been known for years... I'll keep this in mind, the next time I upgrade the cluster. It's currently running a Feb 10th vintage kernel, and is under fairly heavy use at the moment. -- Steve From owner-freebsd-questions@FreeBSD.ORG Wed Jul 6 19:36: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 ED44B106566B; Wed, 6 Jul 2011 19:36:37 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) by mx1.freebsd.org (Postfix) with ESMTP id C906E8FC14; Wed, 6 Jul 2011 19:36:37 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.4/8.14.4) with ESMTP id p66Jabi4069729; Wed, 6 Jul 2011 12:36:37 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.4/8.14.4/Submit) id p66Jaa3d069728; Wed, 6 Jul 2011 12:36:36 -0700 (PDT) (envelope-from sgk) Date: Wed, 6 Jul 2011 12:36:36 -0700 From: Steve Kargl To: Arnaud Lacombe Message-ID: <20110706193636.GA69550@troutmask.apl.washington.edu> References: <4E1421D9.7080808@zedat.fu-berlin.de> <4E147F54.40908@zedat.fu-berlin.de> <20110706162811.GA68436@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: FreeBSD Current , "O. Hartmann" , arrowdodger <6yearold@gmail.com>, freebsd-questions@freebsd.org Subject: Re: Heavy I/O blocks FreeBSD box for several seconds X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Jul 2011 19:36:38 -0000 On Wed, Jul 06, 2011 at 03:18:35PM -0400, Arnaud Lacombe wrote: > Hi, > > On Wed, Jul 6, 2011 at 12:28 PM, Steve Kargl > wrote: > > On Wed, Jul 06, 2011 at 05:29:24PM +0200, O. Hartmann wrote: > >> > >> I use SCHED_ULE on all machines, since it is supposed to be performing > >> better on multicore boxes, but there are lots of suggestions switching > >> back to the old SCHED_4BSD scheduler. > >> > > > > If you are using MPI in numerical codes, then you want > > to use SCHED_4BSD. ?I've posted numerous times about ULE > > and its very poor performance when using MPI. > > > > http://lists.freebsd.org/pipermail/freebsd-hackers/2008-October/026375.html > > > [sarcasm] > It is rather funny to see that the post you point out has generated > exactly 0 meaningful follow-up then and as you mention later in this > thread, the issue still remains today :-) > [/sarcasm] > Apparently, you are privy to my private email exchanges with jeffr. I'm also not sure why you're being sarcastic here. The issue was and AFAIK still is a problem for anyone using FreeBSD in a HPC cluster. ULE simply performs worse than 4BSD. -- Steve From owner-freebsd-questions@FreeBSD.ORG Wed Jul 6 19:44: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 2B327106566B for ; Wed, 6 Jul 2011 19:44:09 +0000 (UTC) (envelope-from lacombar@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 01D2F8FC12 for ; Wed, 6 Jul 2011 19:44:08 +0000 (UTC) Received: by pzk27 with SMTP id 27so319486pzk.13 for ; Wed, 06 Jul 2011 12:44:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=+NLBUqwjXrBnZSYeoXGQdLtf3ZkYyKFEU/GVbuye4TY=; b=qPvT83nmcgyjM6Xnxf65YcjeHtvx0CG1GzGx2kmInwkBXniwxcmpTXPMHruHKgFYGn z1F7iXG1jMtQFUCtKwN0ZNCrryXY0s9+jz1kcdMCqu5t7NnN/RUfJAblpR6JLXRMzaW0 OlsFkh2IbEzb3zb059xkW3rRxAidSkLKyykuc= MIME-Version: 1.0 Received: by 10.68.15.67 with SMTP id v3mr3198321pbc.5.1309979915391; Wed, 06 Jul 2011 12:18:35 -0700 (PDT) Received: by 10.68.64.200 with HTTP; Wed, 6 Jul 2011 12:18:35 -0700 (PDT) In-Reply-To: <20110706162811.GA68436@troutmask.apl.washington.edu> References: <4E1421D9.7080808@zedat.fu-berlin.de> <4E147F54.40908@zedat.fu-berlin.de> <20110706162811.GA68436@troutmask.apl.washington.edu> Date: Wed, 6 Jul 2011 15:18:35 -0400 Message-ID: From: Arnaud Lacombe To: Steve Kargl Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Current , "O. Hartmann" , arrowdodger <6yearold@gmail.com>, freebsd-questions@freebsd.org Subject: Re: Heavy I/O blocks FreeBSD box for several seconds X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Jul 2011 19:44:09 -0000 Hi, On Wed, Jul 6, 2011 at 12:28 PM, Steve Kargl wrote: > On Wed, Jul 06, 2011 at 05:29:24PM +0200, O. Hartmann wrote: >> >> I use SCHED_ULE on all machines, since it is supposed to be performing >> better on multicore boxes, but there are lots of suggestions switching >> back to the old SCHED_4BSD scheduler. >> > > If you are using MPI in numerical codes, then you want > to use SCHED_4BSD. =A0I've posted numerous times about ULE > and its very poor performance when using MPI. > > http://lists.freebsd.org/pipermail/freebsd-hackers/2008-October/026375.ht= ml > [sarcasm] It is rather funny to see that the post you point out has generated exactly 0 meaningful follow-up then and as you mention later in this thread, the issue still remains today :-) [/sarcasm] - Arnaud From owner-freebsd-questions@FreeBSD.ORG Wed Jul 6 20:45: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 EB2F6106564A for ; Wed, 6 Jul 2011 20:45:34 +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 4EF9E8FC12 for ; Wed, 6 Jul 2011 20:45:34 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id p66KjU6R002848 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Wed, 6 Jul 2011 21:45:30 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk p66KjU6R002848 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1309985130; bh=S1OqsI+ToYtPFR3gzOvZfVhvKBCfH1EzbySimfuGE9U=; 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<4E14C963.1010604@infracaninophile.co.uk>|Date:=20W ed,=2006=20Jul=202011=2021:45:23=20+0100|From:=20Matthew=20Seaman= 20|User-Agent:=20Mozilla/5.0=20(M acintosh=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20rv:5.0)=20Gecko/201 10624=20Thunderbird/5.0|MIME-Version:=201.0|To:=20freebsd-question s@freebsd.org|Subject:=20Re:=20p5-ExtUtils-MakeMaker-6.56_1=20and= 20p5-ExtUtils-Install-1.54_1=20conflict|References:=20|In-Reply- To:=20|X-Enigmail-Version:=201.2|OpenPGP:=20id=3D60AE908C|Conten t-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha1=3B=0D=0A=20proto col=3D"application/pgp-signature"=3B=0D=0A=20boundary=3D"--------- ---enigD0FB79543D066A37F2DC263C"; b=cep6ZHQCcL8CI2iUhdHl3DYyUHv/mbik0zTZHjUEPfn9KKeIcIldh1856Vx6D9bYy mpUQbKb3x58x8QohT08rg98E7M99BlcnA7FjHlBIQCAFUpXFOioAZ8Ixeu4VUa+M4n KoSCrZu1XCOuT5/AjbEv0mfShdR4DteAJJDVxM0w= Message-ID: <4E14C963.1010604@infracaninophile.co.uk> Date: Wed, 06 Jul 2011 21:45:23 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: In-Reply-To: X-Enigmail-Version: 1.2 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigD0FB79543D066A37F2DC263C" X-Virus-Scanned: clamav-milter 0.97 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.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: p5-ExtUtils-MakeMaker-6.56_1 and p5-ExtUtils-Install-1.54_1 conflict X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Jul 2011 20:45:35 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigD0FB79543D066A37F2DC263C Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 06/07/2011 17:40, n dhert wrote: > p5-ExtUtils-MakeMaker-6.56_1 and p5-ExtUtils-Install-1.54_1 conflict > both telling that the other one should be deleted. > So which one of the two to keep > so far, I opted for keeping p5-ExtUtils-Install-1.54_1, deleting > p5-ExtUtils-MakeMaker-6.56_1, is this wise or should it be the other > way round? > or what? These modules by their nature tend to be required just for building other ports. Therefore, keep whichever one is required for the port you're installing at the moment, and delete the other one. To save work, consider creating packages of both ports, so that you can just pkg_add whichever one you need. It might get tricky if you're installing a big complicated port with loads of perl module dependencies, where some of the dependencies want one, and some want the other. It's possible that having ExtUtils::MakeMaker will actually satisfy the BUILD_DEPENDS for most ports -- it's older and fairly unix-specific, whereas ExtUtils::Install does the same sort of thing for a wider range of OSes. But FreeBSD is unix, so we don't actually need the extra fiddly bits from ExtUtils::Install. However, I only intuit this from reading the docco. I haven't tested it, so it may be a load of old baloney... 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 --------------enigD0FB79543D066A37F2DC263C 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/ iEYEARECAAYFAk4UyWoACgkQ8Mjk52CukIwT9ACffvlfCGGTRckqX/Rh53hxqfDM O/0AnRCj59XTh+DQyTs0gqa27mYAN6HN =dYHw -----END PGP SIGNATURE----- --------------enigD0FB79543D066A37F2DC263C-- From owner-freebsd-questions@FreeBSD.ORG Wed Jul 6 21:00: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 ED7DC106566C; Wed, 6 Jul 2011 21:00:23 +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 A5C4A8FC16; Wed, 6 Jul 2011 21:00:23 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1QeZCo-0004VZ-18>; Wed, 06 Jul 2011 23:00:22 +0200 Received: from e178039240.adsl.alicedsl.de ([85.178.39.240] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1QeZCn-00026K-Tt>; Wed, 06 Jul 2011 23:00:22 +0200 Message-ID: <4E14CCE5.4050906@zedat.fu-berlin.de> Date: Wed, 06 Jul 2011 23:00:21 +0200 From: "Hartmann, O." User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:5.0) Gecko/20110630 Thunderbird/5.0 MIME-Version: 1.0 To: Steve Kargl References: <4E1421D9.7080808@zedat.fu-berlin.de> <4E147F54.40908@zedat.fu-berlin.de> <20110706162811.GA68436@troutmask.apl.washington.edu> <20110706193636.GA69550@troutmask.apl.washington.edu> In-Reply-To: <20110706193636.GA69550@troutmask.apl.washington.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.39.240 Cc: FreeBSD Current , arrowdodger <6yearold@gmail.com>, Arnaud Lacombe , freebsd-questions@freebsd.org Subject: Re: Heavy I/O blocks FreeBSD box for several seconds X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Jul 2011 21:00:24 -0000 On 07/06/11 21:36, Steve Kargl wrote: > On Wed, Jul 06, 2011 at 03:18:35PM -0400, Arnaud Lacombe wrote: >> Hi, >> >> On Wed, Jul 6, 2011 at 12:28 PM, Steve Kargl >> wrote: >>> On Wed, Jul 06, 2011 at 05:29:24PM +0200, O. Hartmann wrote: >>>> I use SCHED_ULE on all machines, since it is supposed to be performing >>>> better on multicore boxes, but there are lots of suggestions switching >>>> back to the old SCHED_4BSD scheduler. >>>> >>> If you are using MPI in numerical codes, then you want >>> to use SCHED_4BSD. ?I've posted numerous times about ULE >>> and its very poor performance when using MPI. >>> >>> http://lists.freebsd.org/pipermail/freebsd-hackers/2008-October/026375.html >>> >> [sarcasm] >> It is rather funny to see that the post you point out has generated >> exactly 0 meaningful follow-up then and as you mention later in this >> thread, the issue still remains today :-) >> [/sarcasm] >> > Apparently, you are privy to my private email exchanges > with jeffr. > > I'm also not sure why you're being sarcastic here. The > issue was and AFAIK still is a problem for anyone using > FreeBSD in a HPC cluster. ULE simply performs worse than > 4BSD. > Well, I know only very little people using FreeBSD within a HPC cluster or even for scientific purposes, except myself and some people around here. From owner-freebsd-questions@FreeBSD.ORG Wed Jul 6 18:36: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 C8DC91065741 for ; Wed, 6 Jul 2011 18:36:25 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from mail.icecube.wisc.edu (trout.icecube.wisc.edu [128.104.255.119]) by mx1.freebsd.org (Postfix) with ESMTP id 848608FC20 for ; Wed, 6 Jul 2011 18:36:25 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.icecube.wisc.edu (Postfix) with ESMTP id B0F9358139; Wed, 6 Jul 2011 13:11:22 -0500 (CDT) X-Virus-Scanned: amavisd-new at icecube.wisc.edu Received: from mail.icecube.wisc.edu ([127.0.0.1]) by localhost (trout.icecube.wisc.edu [127.0.0.1]) (amavisd-new, port 10030) with ESMTP id X5dPG3QJKonj; Wed, 6 Jul 2011 13:11:22 -0500 (CDT) Received: from wanderer.tachypleus.net (i3-dhcp-172-16-223-128.icecube.wisc.edu [172.16.223.128]) by mail.icecube.wisc.edu (Postfix) with ESMTP id 8FA315811D; Wed, 6 Jul 2011 13:11:22 -0500 (CDT) Message-ID: <4E14A54A.4050106@freebsd.org> Date: Wed, 06 Jul 2011 13:11:22 -0500 From: Nathan Whitehorn User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.18) Gecko/20110624 Thunderbird/3.1.11 MIME-Version: 1.0 To: Steve Kargl References: <20110706170132.GA68775@troutmask.apl.washington.edu> <5080.1309971941@critter.freebsd.dk> <20110706180001.GA69157@troutmask.apl.washington.edu> In-Reply-To: <20110706180001.GA69157@troutmask.apl.washington.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Wed, 06 Jul 2011 21:43:53 +0000 Cc: Poul-Henning Kamp , FreeBSD Current , "Hartmann, O." , arrowdodger <6yearold@gmail.com>, freebsd-questions@freebsd.org Subject: Re: Heavy I/O blocks FreeBSD box for several seconds X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Jul 2011 18:36:25 -0000 On 07/06/11 13:00, Steve Kargl wrote: > On Wed, Jul 06, 2011 at 05:05:41PM +0000, Poul-Henning Kamp wrote: >> In message<20110706170132.GA68775@troutmask.apl.washington.edu>, Steve Kargl w >> rites: >> >>> I periodically ran the same type test in the 2008 post over the >>> last three years. Nothing has changed. I even set up an account >>> on one node in my cluster for jeffr to use. He was too busy to >>> investigate at that time. >> >> Isn't this just the lemming-syncer hurling every dirty block over >> the cliff at the same time ? > > I don't know the answer. Of course, having no experience in > processing scheduling, I don't understand the question either ;-) > > AFAICT, it is a cpu affinity issue. If I launch n+1 MPI images > on a system with n cpus/cores, then 2 (and sometimes 3) images > are stuck on a cpu and those 2 (or 3) images ping-pong on that > cpu. I recall trying to use renice(8) to force some load > balancing, but vaguely remember that it did not help. I've seen exactly this problem with multi-threaded math libraries, as well. Using parallel GotoBLAS on FreeBSD gives terrible performance because the threads keep migrating between CPUs, causing frequent cache misses. -Nathan From owner-freebsd-questions@FreeBSD.ORG Wed Jul 6 22: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 94AD2106566B; Wed, 6 Jul 2011 22:13:21 +0000 (UTC) (envelope-from oliver.pntr@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 025EC8FC0A; Wed, 6 Jul 2011 22:13:20 +0000 (UTC) Received: by wyg24 with SMTP id 24so366252wyg.13 for ; Wed, 06 Jul 2011 15:13:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=XY+VmAoMpY+1O8UkR/S28RxGOdNlEaBvSuOhmPwartU=; b=E6YxG2RT4AUrKkuNacez7AoSbYlLsoXPnKJxUu3kzT8ZWM6IshlC+cL2qpUZu5um0K L+N6ctlmDJaERYT5Paj3kZyICk/s+u/zNDCEiu+BcVBubgv1WL3DN0XTnk1nOVHThP0f VHdTSPsCEdRuoAKCTOhcNn1mgRlzLQQy2iOnM= MIME-Version: 1.0 Received: by 10.227.32.76 with SMTP id b12mr61518wbd.45.1309988997612; Wed, 06 Jul 2011 14:49:57 -0700 (PDT) Received: by 10.227.209.209 with HTTP; Wed, 6 Jul 2011 14:49:57 -0700 (PDT) In-Reply-To: <4E14CCE5.4050906@zedat.fu-berlin.de> References: <4E1421D9.7080808@zedat.fu-berlin.de> <4E147F54.40908@zedat.fu-berlin.de> <20110706162811.GA68436@troutmask.apl.washington.edu> <20110706193636.GA69550@troutmask.apl.washington.edu> <4E14CCE5.4050906@zedat.fu-berlin.de> Date: Wed, 6 Jul 2011 23:49:57 +0200 Message-ID: From: Oliver Pinter To: "Hartmann, O." Content-Type: text/plain; charset=ISO-8859-1 X-Mailman-Approved-At: Wed, 06 Jul 2011 22:52:48 +0000 Cc: Arnaud Lacombe , FreeBSD Current , arrowdodger <6yearold@gmail.com>, Steve Kargl , freebsd-questions@freebsd.org Subject: Re: Heavy I/O blocks FreeBSD box for several seconds X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Jul 2011 22:13:21 -0000 On 7/6/11, Hartmann, O. wrote: > On 07/06/11 21:36, Steve Kargl wrote: >> On Wed, Jul 06, 2011 at 03:18:35PM -0400, Arnaud Lacombe wrote: >>> Hi, >>> >>> On Wed, Jul 6, 2011 at 12:28 PM, Steve Kargl >>> wrote: >>>> On Wed, Jul 06, 2011 at 05:29:24PM +0200, O. Hartmann wrote: >>>>> I use SCHED_ULE on all machines, since it is supposed to be performing >>>>> better on multicore boxes, but there are lots of suggestions switching >>>>> back to the old SCHED_4BSD scheduler. >>>>> >>>> If you are using MPI in numerical codes, then you want >>>> to use SCHED_4BSD. ?I've posted numerous times about ULE >>>> and its very poor performance when using MPI. >>>> >>>> http://lists.freebsd.org/pipermail/freebsd-hackers/2008-October/026375.html >>>> >>> [sarcasm] >>> It is rather funny to see that the post you point out has generated >>> exactly 0 meaningful follow-up then and as you mention later in this >>> thread, the issue still remains today :-) >>> [/sarcasm] >>> >> Apparently, you are privy to my private email exchanges >> with jeffr. >> >> I'm also not sure why you're being sarcastic here. The >> issue was and AFAIK still is a problem for anyone using >> FreeBSD in a HPC cluster. ULE simply performs worse than >> 4BSD. >> > Well, I know only very little people using FreeBSD within a HPC cluster > or even for scientific purposes, except myself and some people around here. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > http://lists.freebsd.org/pipermail/freebsd-stable/2010-September/thread.html#58537 From owner-freebsd-questions@FreeBSD.ORG Wed Jul 6 23: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 7380A106564A for ; Wed, 6 Jul 2011 23:10:48 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 36DB98FC17 for ; Wed, 6 Jul 2011 23:10:43 +0000 (UTC) Received: by qwc9 with SMTP id 9so259678qwc.13 for ; Wed, 06 Jul 2011 16:10:42 -0700 (PDT) Received: by 10.224.205.202 with SMTP id fr10mr87779qab.327.1309993842403; Wed, 06 Jul 2011 16:10:42 -0700 (PDT) Received: from gmail.com (ool-435056c7.dyn.optonline.net [67.80.86.199]) by mx.google.com with ESMTPS id u15sm6768913qcq.36.2011.07.06.16.10.40 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 06 Jul 2011 16:10:41 -0700 (PDT) Date: Wed, 6 Jul 2011 19:10:38 -0400 From: Chris Brennan To: Todor Dragnev Message-ID: <20110706231036.GB21898@gmail.com> References: <20110621201553.GA29153@gmail.com> <4E01344B.4020902@snap.net.nz> <20110622004535.GA29715@gmail.com> <4E031B83.5010708@snap.net.nz> <20110623130813.GA29180@gmail.com> <42630ADE-0620-4132-82A5-547B42CF324B@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <42630ADE-0620-4132-82A5-547B42CF324B@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org Subject: Re: ZFS on Root X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 06 Jul 2011 23:10:48 -0000 * Todor Dragnev [2011-07-06 10:43:17 +0300]: Inline reply: > > Hi Chris > > I just installed ZFS on ROOT on two 1TB SATA disks: > > First you need to download freebsd 8.2 memstick release > > http://www.freebsd.org/releases/8.2R/announce.html I did this via VirtualBox first, so the livefs iso or the DVD was more approprite here, I choose the dvd so I had quick install times. > After booting from memstick you must enter in Fixit shell and then to > follow step by step instructions from post in Dan's blog: > > https://www.dan.me.uk/blog/2010/02/08/booting-from-zfs-raid0156-in-freebsd/ A most excellent guide to follow, I made some slight adjustments for my environment and desire, even scripted the process a little bit (with my tastes of course) and it went without error. The problem came when I went to reboot. The system just hangs, I'm going on 7min now with it just sitting at what I would presume should be the loader prompt. No import moves things along. The last post on the link you provided pretty much sums up my issue currently. If you or anyone else has some advise on this, I would be greatly appreciated. -- > Chris Brennan > -- > A: Yes. > >Q: Are you sure? > >>A: Because it reverses the logical flow of conversation. > >>>Q: Why is top posting frowned upon? > http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/ > GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C) ------------------------------------------------------------------------ From owner-freebsd-questions@FreeBSD.ORG Thu Jul 7 01:17: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 5B392106566B; Thu, 7 Jul 2011 01:17:53 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 042418FC12; Thu, 7 Jul 2011 01:17:52 +0000 (UTC) Received: by yxl31 with SMTP id 31so267877yxl.13 for ; Wed, 06 Jul 2011 18:17:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=E9XOMdszKKqzGK1cYgELmkkcyQ8dYw5WfyPvaQqN5Ac=; b=ay/AoGRovVGYdFiDsXbpGfaTLQhBVId3nyN2nSfrMvW5VGp1KgwMFNB4QRsZYVcMlx irdLZ1qCeMzOJYPP+4zJqEycjOQjVJc4y6lwpngWwSGs1dSypbNpyjpgCUltEByqk/xF LFmY0Ov9Z5IQoQ2nJKrTx0Act3beit73p0TFA= MIME-Version: 1.0 Received: by 10.151.50.15 with SMTP id c15mr422480ybk.285.1310001471988; Wed, 06 Jul 2011 18:17:51 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.151.45.11 with HTTP; Wed, 6 Jul 2011 18:17:51 -0700 (PDT) In-Reply-To: <4E14CCE5.4050906@zedat.fu-berlin.de> References: <4E1421D9.7080808@zedat.fu-berlin.de> <4E147F54.40908@zedat.fu-berlin.de> <20110706162811.GA68436@troutmask.apl.washington.edu> <20110706193636.GA69550@troutmask.apl.washington.edu> <4E14CCE5.4050906@zedat.fu-berlin.de> Date: Thu, 7 Jul 2011 09:17:51 +0800 X-Google-Sender-Auth: EVssv602mp82_wZrdzCfA3SfsQU Message-ID: From: Adrian Chadd To: "Hartmann, O." Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Mailman-Approved-At: Thu, 07 Jul 2011 03:31:30 +0000 Cc: Arnaud Lacombe , FreeBSD Current , arrowdodger <6yearold@gmail.com>, Steve Kargl , freebsd-questions@freebsd.org Subject: Re: Heavy I/O blocks FreeBSD box for several seconds X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 07 Jul 2011 01:17:53 -0000 Offer a bounty for getting it fixed? thanks, Adrian On 7 July 2011 05:00, Hartmann, O. wrote: > On 07/06/11 21:36, Steve Kargl wrote: >> >> On Wed, Jul 06, 2011 at 03:18:35PM -0400, Arnaud Lacombe wrote: >>> >>> Hi, >>> >>> On Wed, Jul 6, 2011 at 12:28 PM, Steve Kargl >>> =A0wrote: >>>> >>>> On Wed, Jul 06, 2011 at 05:29:24PM +0200, O. Hartmann wrote: >>>>> >>>>> I use SCHED_ULE on all machines, since it is supposed to be performin= g >>>>> better on multicore boxes, but there are lots of suggestions switchin= g >>>>> back to the old SCHED_4BSD scheduler. >>>>> >>>> If you are using MPI in numerical codes, then you want >>>> to use SCHED_4BSD. ?I've posted numerous times about ULE >>>> and its very poor performance when using MPI. >>>> >>>> >>>> http://lists.freebsd.org/pipermail/freebsd-hackers/2008-October/026375= .html >>>> >>> [sarcasm] >>> It is rather funny to see that the post you point out has generated >>> exactly 0 meaningful follow-up then and as you mention later in this >>> thread, the issue still remains today :-) >>> [/sarcasm] >>> >> Apparently, you are privy to my private email exchanges >> with jeffr. >> >> I'm also not sure why you're being sarcastic here. =A0The >> issue was and AFAIK still is a problem for anyone using >> FreeBSD in a HPC cluster. =A0ULE simply performs worse than >> 4BSD. >> > Well, I know only very little people using FreeBSD within a HPC cluster o= r > even for scientific purposes, except myself and some people around here. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org= " > From owner-freebsd-questions@FreeBSD.ORG Thu Jul 7 01:51: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 7FE4C1065673; Thu, 7 Jul 2011 01:51:51 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) by mx1.freebsd.org (Postfix) with ESMTP id 5A27F8FC13; Thu, 7 Jul 2011 01:51:51 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.4/8.14.4) with ESMTP id p671ppfF072019; Wed, 6 Jul 2011 18:51:51 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.4/8.14.4/Submit) id p671ppc6072018; Wed, 6 Jul 2011 18:51:51 -0700 (PDT) (envelope-from sgk) Date: Wed, 6 Jul 2011 18:51:51 -0700 From: Steve Kargl To: Adrian Chadd Message-ID: <20110707015151.GB71966@troutmask.apl.washington.edu> References: <4E1421D9.7080808@zedat.fu-berlin.de> <4E147F54.40908@zedat.fu-berlin.de> <20110706162811.GA68436@troutmask.apl.washington.edu> <20110706193636.GA69550@troutmask.apl.washington.edu> <4E14CCE5.4050906@zedat.fu-berlin.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Mailman-Approved-At: Thu, 07 Jul 2011 03:38:47 +0000 Cc: FreeBSD Current , "Hartmann, O." , arrowdodger <6yearold@gmail.com>, Arnaud Lacombe , freebsd-questions@freebsd.org Subject: Re: Heavy I/O blocks FreeBSD box for several seconds X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 07 Jul 2011 01:51:51 -0000 On Thu, Jul 07, 2011 at 09:17:51AM +0800, Adrian Chadd wrote: > Offer a bounty for getting it fixed? > steve == ENOMONEY && jeffr == ENOTIME And, 4BSD works. -- Steve From owner-freebsd-questions@FreeBSD.ORG Thu Jul 7 02:39:01 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 F1787106566C; Thu, 7 Jul 2011 02:39:01 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 99A1C8FC0C; Thu, 7 Jul 2011 02:39:01 +0000 (UTC) Received: by yxl31 with SMTP id 31so287878yxl.13 for ; Wed, 06 Jul 2011 19:39:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; 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; bh=ZMMmTYRUdB9tn45ZZ5ycagUvejDkmGHryKBxk6isIeY=; b=RGPnEjM1G+p5qlPjcAwkvt77J4+6z/UU3mMGLnqaAqSFudNG5Fd9AE7UOpetP+rZ1c UkQF0Vny1URXw7oeJ9SiO461/z2HPNwz4OREIC2l+AjCW4nvg8/ATOa3FYhCxU5sLWhS 5N9oMcCMtnxDKSLZnyBdo0oKW3h6S8YV6tNQU= MIME-Version: 1.0 Received: by 10.151.92.3 with SMTP id u3mr466501ybl.114.1310006340739; Wed, 06 Jul 2011 19:39:00 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.151.45.11 with HTTP; Wed, 6 Jul 2011 19:39:00 -0700 (PDT) In-Reply-To: <20110707015151.GB71966@troutmask.apl.washington.edu> References: <4E1421D9.7080808@zedat.fu-berlin.de> <4E147F54.40908@zedat.fu-berlin.de> <20110706162811.GA68436@troutmask.apl.washington.edu> <20110706193636.GA69550@troutmask.apl.washington.edu> <4E14CCE5.4050906@zedat.fu-berlin.de> <20110707015151.GB71966@troutmask.apl.washington.edu> Date: Thu, 7 Jul 2011 10:39:00 +0800 X-Google-Sender-Auth: SLcDSWBOnmLhpclo9BZmTY6XPPw Message-ID: From: Adrian Chadd To: Steve Kargl Content-Type: text/plain; charset=ISO-8859-1 X-Mailman-Approved-At: Thu, 07 Jul 2011 03:38:56 +0000 Cc: FreeBSD Current , "Hartmann, O." , arrowdodger <6yearold@gmail.com>, Arnaud Lacombe , freebsd-questions@freebsd.org Subject: Re: Heavy I/O blocks FreeBSD box for several seconds X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 07 Jul 2011 02:39:02 -0000 On 7 July 2011 09:51, Steve Kargl wrote: > On Thu, Jul 07, 2011 at 09:17:51AM +0800, Adrian Chadd wrote: >> Offer a bounty for getting it fixed? >> > > steve == ENOMONEY && jeffr == ENOTIME > > And, 4BSD works. I meant it as a more general observation. If something doesn't work as needed, consider either diving in to fix it, or offering a bounty to someone to do so. It sounds like these scheduler issues (IO and threads) are well-known and reasonably well-understood. All that's lacking is the last bit of the puzzle - the actual developer to develop it. :) Adrian From owner-freebsd-questions@FreeBSD.ORG Thu Jul 7 03: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 A446E106564A; Thu, 7 Jul 2011 03:11:52 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) by mx1.freebsd.org (Postfix) with ESMTP id 5DB0C8FC15; Thu, 7 Jul 2011 03:11:52 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.4/8.14.4) with ESMTP id p673BpFc072517; Wed, 6 Jul 2011 20:11:51 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.4/8.14.4/Submit) id p673BpWr072516; Wed, 6 Jul 2011 20:11:51 -0700 (PDT) (envelope-from sgk) Date: Wed, 6 Jul 2011 20:11:51 -0700 From: Steve Kargl To: Adrian Chadd Message-ID: <20110707031151.GA72452@troutmask.apl.washington.edu> References: <4E1421D9.7080808@zedat.fu-berlin.de> <4E147F54.40908@zedat.fu-berlin.de> <20110706162811.GA68436@troutmask.apl.washington.edu> <20110706193636.GA69550@troutmask.apl.washington.edu> <4E14CCE5.4050906@zedat.fu-berlin.de> <20110707015151.GB71966@troutmask.apl.washington.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i X-Mailman-Approved-At: Thu, 07 Jul 2011 03:39:05 +0000 Cc: FreeBSD Current , "Hartmann, O." , arrowdodger <6yearold@gmail.com>, Arnaud Lacombe , freebsd-questions@freebsd.org Subject: Re: Heavy I/O blocks FreeBSD box for several seconds X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 07 Jul 2011 03:11:52 -0000 On Thu, Jul 07, 2011 at 10:39:00AM +0800, Adrian Chadd wrote: > On 7 July 2011 09:51, Steve Kargl wrote: > > On Thu, Jul 07, 2011 at 09:17:51AM +0800, Adrian Chadd wrote: > >> Offer a bounty for getting it fixed? > >> > > > > steve == ENOMONEY && jeffr == ENOTIME > > > > And, 4BSD works. > > I meant it as a more general observation. > > If something doesn't work as needed, consider either diving in to fix > it, or offering a bounty to someone to do so. > Or take the path of least resistance, use 4BSD, and get my actual work. I diagnosed the problem. I gave a fairly easy method for reproducing the problem (including providing a statically linked MPI program, and a script and data files to launch it). I offered access to one of the nodes in my cluster (including root access to install new kernels and to reboot the node). Unfortunately, I have neither the brain capacity and time nor the money to fix the issue. To solve OP's problem in the short, the simplest solution may be to switch to 4BSD. Let's face, ULE is not a silver bullet. -- Steve From owner-freebsd-questions@FreeBSD.ORG Thu Jul 7 04:08: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 89C00106566B; Thu, 7 Jul 2011 04:08:02 +0000 (UTC) (envelope-from lacombar@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 4F19D8FC1B; Thu, 7 Jul 2011 04:08:02 +0000 (UTC) Received: by pvg11 with SMTP id 11so209578pvg.13 for ; Wed, 06 Jul 2011 21:08:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=5lJBqCpfDhmwKFUhwaniqUZuWibxK/gh36hFKntMvXc=; b=gc2hkDTezcB7jPWC8igmrBAUN2fyXF58gLZaYimnqkQ4NaXiiK17WOclFHi+hCcA7x vQ3cKAM0sIxCFbQHvEk7dXr13JgdLOFVy1CmYyEGphM2Loqxnvr05KLCunp5zaZJFeSg 7Ov548iWqGg/eSo1/KvAdTZJrUddN4bCzOlqg= MIME-Version: 1.0 Received: by 10.68.15.67 with SMTP id v3mr524039pbc.5.1310011681685; Wed, 06 Jul 2011 21:08:01 -0700 (PDT) Received: by 10.68.64.200 with HTTP; Wed, 6 Jul 2011 21:08:01 -0700 (PDT) In-Reply-To: References: <4E1421D9.7080808@zedat.fu-berlin.de> <4E147F54.40908@zedat.fu-berlin.de> <20110706162811.GA68436@troutmask.apl.washington.edu> <20110706193636.GA69550@troutmask.apl.washington.edu> <4E14CCE5.4050906@zedat.fu-berlin.de> <20110707015151.GB71966@troutmask.apl.washington.edu> Date: Thu, 7 Jul 2011 00:08:01 -0400 Message-ID: From: Arnaud Lacombe To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 X-Mailman-Approved-At: Thu, 07 Jul 2011 04:15:34 +0000 Cc: FreeBSD Current , "Hartmann, O." , arrowdodger <6yearold@gmail.com>, Steve Kargl , freebsd-questions@freebsd.org Subject: Re: Heavy I/O blocks FreeBSD box for several seconds X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 07 Jul 2011 04:08:02 -0000 Hi, On Wed, Jul 6, 2011 at 10:39 PM, Adrian Chadd wrote: > On 7 July 2011 09:51, Steve Kargl wrote: >> On Thu, Jul 07, 2011 at 09:17:51AM +0800, Adrian Chadd wrote: >>> Offer a bounty for getting it fixed? >>> >> >> steve == ENOMONEY && jeffr == ENOTIME >> >> And, 4BSD works. > > I meant it as a more general observation. > > If something doesn't work as needed, consider either diving in to fix > it, or offering a bounty to someone to do so. > What would be the point to even start looking at an issue? You guys (by "you", I mean "official" committers on public list) don't care about people providing patches, might it be for trivial, obvious, fixes. I'm not even talking about complex patches ... When you eventually ends up providing a patch, you ends up being slammed a door at by maintainers asserting their code is perfect, until logic and user complaints prove them wrong. That said, this comment is off-topic, but I will certainly re-state this next month when I'll be ping'ing trivial patches. - Arnaud > It sounds like these scheduler issues (IO and threads) are well-known > and reasonably well-understood. > All that's lacking is the last bit of the puzzle - the actual > developer to develop it. :) > > > Adrian > From owner-freebsd-questions@FreeBSD.ORG Thu Jul 7 07:57: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 EC2F01065670 for ; Thu, 7 Jul 2011 07:57:31 +0000 (UTC) (envelope-from mubeeshalivm@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 BE7498FC0C for ; Thu, 7 Jul 2011 07:57:31 +0000 (UTC) Received: by iyb11 with SMTP id 11so839772iyb.13 for ; Thu, 07 Jul 2011 00:57:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=PKJAG9f+hJSmSgaUfpj57xrNcfQnOijgsiQzDokzOyY=; b=xGNXsGD10A8O4Bjd7iRGgrpQ7wv9Lk/qbD6bO8gXeXVRH/2NRRwLdRgosYtxMHwMLk GBOt/lKfNinDrtvCXHMUL5vmFAkK8dn08uzCsmhkoFwj16Y8/1M6XebuuP5J4nhelU0w V0qRuMJDaqaXASCgup2WBe+h0yXHQg9UGJ3aw= MIME-Version: 1.0 Received: by 10.42.152.195 with SMTP id j3mr510004icw.514.1310023868860; Thu, 07 Jul 2011 00:31:08 -0700 (PDT) Received: by 10.42.223.9 with HTTP; Thu, 7 Jul 2011 00:31:06 -0700 (PDT) Date: Thu, 7 Jul 2011 13:01:06 +0530 Message-ID: From: Mubeesh ali To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Mouse Problems. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jul 2011 07:57:32 -0000 Hi List, I have freebsd 8.2 installed on a windows host with virtualbox and have xfce4. From sysinstall i was able to enable and move the mouse. But as soon as i do a startx it gets frozen(pointer is visible at center of the screen ) Freebsd# cat /root/xorg.conf.new Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/lib/X11/fonts/misc/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/OTF" FontPath "/usr/local/lib/X11/fonts/Type1/" FontPath "/usr/local/lib/X11/fonts/100dpi/" FontPath "/usr/local/lib/X11/fonts/75dpi/" EndSection Section "Module" Load "dbe" Load "dri" Load "dri2" Load "extmod" Load "glx" Load "record" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "Emulate3Buttons" "true" Option "EmulateWheeel" "true" Option "EmulateWheelButton" "2" Option "ZAxisMapping" "4 5" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz" ### [arg]: arg optional Identifier "Card0" Driver "vboxvideo" VendorName "InnoTek Systemberatung GmbH" BoardName "VirtualBox Graphics Adapter" BusID "PCI:0:2:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Viewport 0 0 Depth 1 EndSubSection SubSection "Display" Viewport 0 0 Depth 4 EndSubSection SubSection "Display" Viewport 0 0 Depth 8 EndSubSection SubSection "Display" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection reebsd# cat /etc/rc.conf # -- sysinstall generated deltas -- # Tue Jul 5 16:03:57 2011 # Created: Tue Jul 5 16:03:57 2011 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. check_quotas=3D"NO" hostname=3D"Freebsd.merunetworks.com" ifconfig_em0=3D"DHCP" inetd_enable=3D"YES" ipv6_enable=3D"YES" keymap=3D"us.iso" moused_enable=3D"YES" moused_port=3D"/dev/psm0" moused_flags=3D"-z 4" moused_type=3D"auto" ntpdate_enable=3D"YES" ntpdate_hosts=3D"asia.pool.ntp.org" sshd_enable=3D"YES" # -- sysinstall generated deltas -- # Wed Jul 6 11:35:07 2011 #moused_flags=3D"" #moused_port=3D"/dev/psm0" #moused_type=3D"microsoft" #moused_enable=3D"YES" --=20 Best=A0 Regards, Mubeesh Ali.V.M From owner-freebsd-questions@FreeBSD.ORG Thu Jul 7 09:07: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 33893106564A for ; Thu, 7 Jul 2011 09:07:37 +0000 (UTC) (envelope-from fbt-bounces@it-inwent.org) Received: from mail.it-inwent.net (it-inwent.org [78.46.108.68]) by mx1.freebsd.org (Postfix) with ESMTP id EF6858FC0C for ; Thu, 7 Jul 2011 09:07:36 +0000 (UTC) Received: from inwent.it-inwent.org (inwent.it-inwent.org [127.0.0.1]) by mail.it-inwent.net (Postfix) with ESMTP id CAE892A64051 for ; Thu, 7 Jul 2011 10:51:55 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit From: fbt-bounces@it-inwent.org To: freebsd-questions@freebsd.org Message-ID: Date: Thu, 07 Jul 2011 10:51:54 +0200 Precedence: bulk X-BeenThere: fbt@it-inwent.org X-Mailman-Version: 2.1.9 X-List-Administrivia: yes Sender: fbt-bounces@it-inwent.org Errors-To: fbt-bounces@it-inwent.org Subject: Your message to FBT awaits moderator approval X-BeenThere: freebsd-questions@freebsd.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jul 2011 09:07:37 -0000 Your mail to 'FBT' with the subject Returned mail: Data format error Is being held until the list moderator can review it for approval. The reason it is being held: Post by non-member to a members-only list Either the message will get posted to the list, or you will receive notification of the moderator's decision. If you would like to cancel this posting, please visit the following URL: http://lists.it-inwent.org/confirm/fbt/08127deaa26a508082e365329ef23fac4a788b69 From owner-freebsd-questions@FreeBSD.ORG Thu Jul 7 10:37: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 BFB961065675 for ; Thu, 7 Jul 2011 10:37:02 +0000 (UTC) (envelope-from steveayre@gmail.com) Received: from mail-fx0-f44.google.com (mail-fx0-f44.google.com [209.85.161.44]) by mx1.freebsd.org (Postfix) with ESMTP id 540D08FC0C for ; Thu, 7 Jul 2011 10:37:01 +0000 (UTC) Received: by fxe6 with SMTP id 6so821948fxe.17 for ; Thu, 07 Jul 2011 03:37:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=rdwkqaeTuGQbimsbWZ4zin5bprqkUFwlnhFUn99uYC4=; b=jylAInvd/5QE9DdT2HsiOTwRLJm6U3me8TUXlWCErN4refL3zWnQYSdUtQfWcarMXD qI8hD75j1Ttl/SEtRVXauKyXBTer972yFiMfjf32Hjnqxgz6ZM8DqWqi9hDQdjbgejwa XSl+0WYQiSgiUqTe/E9oCLIa9Yup7v6pZGB7A= Received: by 10.223.60.7 with SMTP id n7mr1005493fah.51.1310033241071; Thu, 07 Jul 2011 03:07:21 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.126.195 with HTTP; Thu, 7 Jul 2011 03:06:51 -0700 (PDT) From: Steven Ayre Date: Thu, 7 Jul 2011 11:06:51 +0100 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: kqueue + EVFILT_TIMER unreliable timing problems X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Jul 2011 10:37:02 -0000 Hi everyone, I'm trying to use kqueue with EVFILT_TIMER to create an interval timer. However, I'm getting very unreliable results. The code for a test case is at: http://pastebin.com/ratK0AXL I'm finding that regardless of the number of ticks I wait for, it takes around 50% longer than it should. For a 20ms interval, 200 ticks takes 6s not 4s, 2000 takes 60s not 40s. I am running FreeBSD within a virtualbox VM (Windows host, no load) so I know timing may not be as reliable as if I was on the bare metal, but this still much higher than expected. -Steve From owner-freebsd-questions@FreeBSD.ORG Thu Jul 7 05:52: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 29D3F106564A; Thu, 7 Jul 2011 05:52:44 +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 D46018FC12; Thu, 7 Jul 2011 05:52:43 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1QehVy-0000hP-PP>; Thu, 07 Jul 2011 07:52:42 +0200 Received: from e178008197.adsl.alicedsl.de ([85.178.8.197] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1QehVy-0001x6-Lm>; Thu, 07 Jul 2011 07:52:42 +0200 Message-ID: <4E1549AA.4060404@zedat.fu-berlin.de> Date: Thu, 07 Jul 2011 07:52:42 +0200 From: "Hartmann, O." User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:5.0) Gecko/20110630 Thunderbird/5.0 MIME-Version: 1.0 To: Oliver Pinter References: <4E1421D9.7080808@zedat.fu-berlin.de> <4E147F54.40908@zedat.fu-berlin.de> <20110706162811.GA68436@troutmask.apl.washington.edu> <20110706193636.GA69550@troutmask.apl.washington.edu> <4E14CCE5.4050906@zedat.fu-berlin.de> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: 85.178.8.197 X-Mailman-Approved-At: Thu, 07 Jul 2011 11:01:40 +0000 Cc: FreeBSD Current , Steve Kargl , arrowdodger <6yearold@gmail.com>, Arnaud Lacombe , freebsd-questions@freebsd.org Subject: Re: Heavy I/O blocks FreeBSD box for several seconds X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 07 Jul 2011 05:52:44 -0000 On 07/06/11 23:49, Oliver Pinter wrote: > On 7/6/11, Hartmann, O. wrote: >> On 07/06/11 21:36, Steve Kargl wrote: >>> On Wed, Jul 06, 2011 at 03:18:35PM -0400, Arnaud Lacombe wrote: >>>> Hi, >>>> >>>> On Wed, Jul 6, 2011 at 12:28 PM, Steve Kargl >>>> wrote: >>>>> On Wed, Jul 06, 2011 at 05:29:24PM +0200, O. Hartmann wrote: >>>>>> I use SCHED_ULE on all machines, since it is supposed to be performing >>>>>> better on multicore boxes, but there are lots of suggestions switching >>>>>> back to the old SCHED_4BSD scheduler. >>>>>> >>>>> If you are using MPI in numerical codes, then you want >>>>> to use SCHED_4BSD. ?I've posted numerous times about ULE >>>>> and its very poor performance when using MPI. >>>>> >>>>> http://lists.freebsd.org/pipermail/freebsd-hackers/2008-October/026375.html >>>>> >>>> [sarcasm] >>>> It is rather funny to see that the post you point out has generated >>>> exactly 0 meaningful follow-up then and as you mention later in this >>>> thread, the issue still remains today :-) >>>> [/sarcasm] >>>> >>> Apparently, you are privy to my private email exchanges >>> with jeffr. >>> >>> I'm also not sure why you're being sarcastic here. The >>> issue was and AFAIK still is a problem for anyone using >>> FreeBSD in a HPC cluster. ULE simply performs worse than >>> 4BSD. >>> >> Well, I know only very little people using FreeBSD within a HPC cluster >> or even for scientific purposes, except myself and some people around here. >> _______________________________________________ >> freebsd-current@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-current >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >> > > http://lists.freebsd.org/pipermail/freebsd-stable/2010-September/thread.html#58537 The problem is not only related to desktop boxes, it involves servers with "big" hardware as well. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 7 07:11: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 C80AB106566C; Thu, 7 Jul 2011 07:11:43 +0000 (UTC) (envelope-from perryh@pluto.rain.com) Received: from agora.rdrop.com (agora.rdrop.com [IPv6:2607:f678:1010::34]) by mx1.freebsd.org (Postfix) with ESMTP id 9E5C98FC08; Thu, 7 Jul 2011 07:11:43 +0000 (UTC) Received: from agora.rdrop.com (66@localhost [127.0.0.1]) by agora.rdrop.com (8.13.1/8.12.7) with ESMTP id p677Bckc071604 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 7 Jul 2011 00:11:38 -0700 (PDT) (envelope-from perryh@pluto.rain.com) Received: (from uucp@localhost) by agora.rdrop.com (8.13.1/8.12.9/Submit) with UUCP id p677BcDO071603; Thu, 7 Jul 2011 00:11:38 -0700 (PDT) Received: from fbsd81 ([192.168.200.81]) by pluto.rain.com (4.1/SMI-4.1-pluto-M2060407) id AA23084; Thu, 7 Jul 11 00:04:54 PDT Date: Thu, 07 Jul 2011 07:05:41 -0700 From: perryh@pluto.rain.com To: sgk@troutmask.apl.washington.edu Message-Id: <4e15bd35.r2TPH7JSMoyDg2ic%perryh@pluto.rain.com> References: <4E1421D9.7080808@zedat.fu-berlin.de> <4E147F54.40908@zedat.fu-berlin.de> <20110706162811.GA68436@troutmask.apl.washington.edu> <20110706193636.GA69550@troutmask.apl.washington.edu> <4E14CCE5.4050906@zedat.fu-berlin.de> <20110707015151.GB71966@troutmask.apl.washington.edu> <20110707031151.GA72452@troutmask.apl.washington.edu> In-Reply-To: <20110707031151.GA72452@troutmask.apl.washington.edu> User-Agent: nail 11.25 7/29/05 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Thu, 07 Jul 2011 11:16:41 +0000 Cc: adrian@freebsd.org, 6yearold@gmail.com, freebsd-current@freebsd.org, lacombar@gmail.com, ohartman@zedat.fu-berlin.de, freebsd-questions@freebsd.org Subject: Re: Heavy I/O blocks FreeBSD box for several seconds X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 07 Jul 2011 07:11:43 -0000 Steve Kargl wrote: > Let's face, ULE is not a silver bullet. Or perhaps it is, but this particular problem is so heavily armored as to demand depleted uranium :) From owner-freebsd-questions@FreeBSD.ORG Thu Jul 7 12:11: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 2F0111065676 for ; Thu, 7 Jul 2011 12:11:33 +0000 (UTC) (envelope-from martin@mullet.se) Received: from smtp.mullet.se (smtp.mullet.se [94.247.168.122]) by mx1.freebsd.org (Postfix) with ESMTP id D84408FC29 for ; Thu, 7 Jul 2011 12:11:32 +0000 (UTC) Received: from martin-nilssons-macbook-pro-2.local (213-64-247-243-no34.business.telia.com [213.64.247.243]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mullet.se (Postfix) with ESMTPSA id 0013F627000B for ; Thu, 7 Jul 2011 13:53:45 +0200 (CEST) Message-ID: <4E159E45.6010204@mullet.se> Date: Thu, 07 Jul 2011 13:53:41 +0200 From: Martin Nilsson User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <41EDF508-557C-4582-9E2C-0179BA3FDB7E@gmail.com> In-Reply-To: <41EDF508-557C-4582-9E2C-0179BA3FDB7E@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: LSI MegaRAID 9260 on FreeBSD 8.2 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: Thu, 07 Jul 2011 12:11:33 -0000 On 2011-07-04 03.20, Sam Vaughan wrote: > Hi, > > I want to use an LSI MegaRAID 9260 on FreeBSD 8.2 amd64 using mfi and I have two quick questions: > > LSI's MegaRaid SAS documentation [1] states that "Currently, the FreeBSD driver is supported only on 32-bit FreeBSD". On the other hand the FreeBSD 8.2 hardware compatibility page [2] states that the mfi driver supports the MegaRaid 9260 in all three of the i386, ia64, amd64 ports. > > Is LSI's documentation simply out of date or is there some issue with the mfi driver on amd64? There are two different diverged mfi drivers! One that comes with FreeBSD and works well with the 9260 cards both under i386 and amd64. Then we have the LSI driver, this one works under i386 and some versions also works under amd64 but the latest one on LSI:s web is i386 only. The current LSI driver supports the 9240 budget cards "skinny" and also the new fast 9265/9285 cards "Thunderbolt" these are not supported by the FreeBSD driver. /Martin -- Martin Nilsson, CEO, Mullet Scandinavia AB, Malmö, SWEDEN E-mail: martin@mullet.se, Phone: +46-(0)708-59 99 91, Web: www.mullet.se Our business is well engineered servers optimised for FreeBSD& Linux From owner-freebsd-questions@FreeBSD.ORG Thu Jul 7 12:30: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 998F5106566B for ; Thu, 7 Jul 2011 12:30:07 +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 4AD718FC20 for ; Thu, 7 Jul 2011 12:30:07 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QeniY-00030E-4C for freebsd-questions@freebsd.org; Thu, 07 Jul 2011 14:30:06 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Jul 2011 14:30:06 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 07 Jul 2011 14:30:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Thu, 07 Jul 2011 14:21:27 +0200 Lines: 8 Message-ID: References: <20110706170132.GA68775@troutmask.apl.washington.edu> <5080.1309971941@critter.freebsd.dk> <20110706180001.GA69157@troutmask.apl.washington.edu> <4E14A54A.4050106@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.12) Gecko/20101102 Thunderbird/3.1.6 In-Reply-To: <4E14A54A.4050106@freebsd.org> X-Enigmail-Version: 1.1.2 Cc: freebsd-current@freebsd.org Subject: Re: Heavy I/O blocks FreeBSD box for several seconds X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 07 Jul 2011 12:30:07 -0000 On 06/07/2011 20:11, Nathan Whitehorn wrote: > I've seen exactly this problem with multi-threaded math libraries, as > well. Using parallel GotoBLAS on FreeBSD gives terrible performance > because the threads keep migrating between CPUs, causing frequent cache > misses. On both schedulers? From owner-freebsd-questions@FreeBSD.ORG Thu Jul 7 13:44: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 331931065675 for ; Thu, 7 Jul 2011 13:44:43 +0000 (UTC) (envelope-from hunci@hunci.sk) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id E75198FC16 for ; Thu, 7 Jul 2011 13:44:42 +0000 (UTC) Received: by vws18 with SMTP id 18so955695vws.13 for ; Thu, 07 Jul 2011 06:44:42 -0700 (PDT) Received: by 10.220.38.70 with SMTP id a6mr325395vce.1.1310046282137; Thu, 07 Jul 2011 06:44:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.220.46.131 with HTTP; Thu, 7 Jul 2011 06:44:22 -0700 (PDT) X-Originating-IP: [15.195.185.82] From: =?UTF-8?B?UGV0ZXIgSHVuxI3DoXI=?= Date: Thu, 7 Jul 2011 15:44:22 +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: ZFSRoot on ProLiant DL360 G3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 07 Jul 2011 13:44:43 -0000 Hello list I have by a change a couple of currently unused old ProLiant DL360 G3 1U servers. With default 8.2-RELEASE the box works nicely. But I was wondering if I would be able to boot it from ZFSRoot, as I did with other boxes and after following: http://wiki.freebsd.org/RootOnZFS/ZFSBootPartition After rebooting, the system just hangs after boot prompt. ---- F1 FreeBSD - ---- Could you please tell me what's could be wrong? I assume it has something to do with the ciss RAID (da0) which is currently configured as RAID1. Thank you very much! dmesg follows $ dmesg Copyright (c) 1992-2011 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 root@almeida.cse.buffalo.edu:/ usr/obj/usr/src/sys/GENERIC i386 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(TM) CPU 3.06GHz (3065.82-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf29 Family = f Model = 2 Stepping = 9 Features=0xbfebfbff Features2=0x4400 real memory = 2147483648 (2048 MB) avail memory = 2091102208 (1994 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 4 package(s) x 1 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 6 cpu3 (AP): APIC ID: 7 ACPI Warning: Invalid length for Pm1aControlBlock: 32, using default 16 (20101013/tbfadt-707) ACPI Warning: Invalid length for Pm1bControlBlock: 32, using default 16 (20101013/tbfadt-707) MADT: Forcing active-low polarity and level trigger for SCI ioapic0 irqs 0-15 on motherboard ioapic1 irqs 16-31 on motherboard ioapic2 irqs 32-47 on motherboard ioapic3 irqs 48-63 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x920-0x923 on acpi0 cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 pcib0: on acpi0 pci0: on pcib0 vgapci0: port 0x2400-0x24ff mem 0xf6000000-0xf6ffffff,0xf5ff0000-0xf5ff0fff at device 3.0 on pci0 ciss0: port 0x2800-0x28ff mem 0xf5f80000-0xf5fbffff,0xf5df0000-0xf5df3fff irq 31 at device 4.0 on pci0 ciss0: PERFORMANT Transport ciss0: [ITHREAD] pci0: at device 5.0 (no driver attached) pci0: at device 5.2 (no driver attached) isab0: at device 15.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x2000-0x200f at device 15.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] ohci0: mem 0xf5e70000-0xf5e70fff irq 10 at device 15.2 on pci0 ohci0: [ITHREAD] usbus0: on ohci0 pcib1: on acpi0 pci1: on pcib1 bge0: mem 0xf7ef0000-0xf7efffff irq 30 at device 2.0 on pci1 bge0: CHIP ID 0x00001002; ASIC REV 0x01; CHIP REV 0x10; PCI-X miibus0: on bge0 brgphy0: PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bge0: Ethernet address: 00:0f:20:d1:7c:61 bge0: [ITHREAD] pcib2: on acpi0 pci4: on pcib2 bge1: mem 0xf7ff0000-0xf7ffffff irq 29 at device 2.0 on pci4 bge1: CHIP ID 0x00001002; ASIC REV 0x01; CHIP REV 0x10; PCI-X miibus1: on bge1 brgphy1: PHY 1 on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bge1: Ethernet address: 00:0f:20:d1:7c:5f bge1: [ITHREAD] acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model Generic PS/2 mouse, device ID 0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: [FILTER] fdc0: port 0x3f2-0x3f5 irq 6 drq 2 on acpi0 fdc0: [FILTER] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xcbfff,0xee000-0xeffff pnpid ORM0000 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atrtc0: at port 0x70 irq 8 on isa0 ppc0: parallel port not found. p4tcc0: on cpu0 p4tcc1: on cpu1 p4tcc2: on cpu2 p4tcc3: on cpu3 Timecounters tick every 1.000 msec usbus0: 12Mbps Full Speed USB v1.0 ugen0.1: <(0x1166)> at usbus0 uhub0: <(0x1166) OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0 uhub0: 4 ports with 4 removable, self powered acd0: CDROM at ata0-master PIO4 da0 at ciss0 bus 0 scbus0 target 0 lun 0 da0: Fixed Direct Access SCSI-4 device da0: 135.168MB/s transfers da0: Command Queueing enabled da0: 34727MB (71122560 512 byte sectors: 255H 32S/T 8716C) SMP: AP CPU #3 Launched! SMP: AP CPU #1 Launched! SMP: AP CPU #2 Launched! Trying to mount root from ufs:/dev/da0s1a bge0: link state changed to DOWN bge0: link state changed to UP From owner-freebsd-questions@FreeBSD.ORG Thu Jul 7 16:25: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 8EF171065673 for ; Thu, 7 Jul 2011 16:25:49 +0000 (UTC) (envelope-from parv@pair.com) Received: from hrndva-omtalb.mail.rr.com (hrndva-omtalb.mail.rr.com [71.74.56.124]) by mx1.freebsd.org (Postfix) with ESMTP id 4F4898FC16 for ; Thu, 7 Jul 2011 16:25:49 +0000 (UTC) X-Authority-Analysis: v=1.1 cv=5asQ6euaRPJxDdFxwvXsn6JDb7fmFbz8qWDLMfa45gU= c=1 sm=0 a=A3915DuVMb0A:10 a=R5FhY6rjjCMA:10 a=kj9zAlcOel0A:10 a=ihdCVQocfTjEhADgW3QxCA==:17 a=pGLkceISAAAA:8 a=_IEhM8lNAAAA:8 a=wrEAJjPjKC47_NZfQCAA:9 a=PDPM0PvDpo1o9kH5c5YA:7 a=CjuIK1q_8ugA:10 a=ihdCVQocfTjEhADgW3QxCA==:117 X-Cloudmark-Score: 0 X-Originating-IP: 98.155.227.43 Received: from [98.155.227.43] ([98.155.227.43:51292] helo=localhost.hawaii.res.rr.com) by hrndva-oedge03.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id 93/B1-24893-C0ED51E4; Thu, 07 Jul 2011 16:25:48 +0000 Received: by localhost.hawaii.res.rr.com (Postfix, from userid 1000) id DD29A5D51; Thu, 7 Jul 2011 06:29:44 -1000 (HST) Date: Thu, 7 Jul 2011 06:29:44 -1000 From: parv@pair.com To: n dhert Message-ID: <20110707162944.GA2024@holstein.holy.cow> Mail-Followup-To: n dhert , freebsd-questions@freebsd.org References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: freebsd-questions@freebsd.org Subject: Re: p5-ExtUtils-MakeMaker-6.56_1 and p5-ExtUtils-Install-1.54_1 conflict X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 07 Jul 2011 16:25:49 -0000 in message , wrote n dhert thusly... > > p5-ExtUtils-MakeMaker-6.56_1 and p5-ExtUtils-Install-1.54_1 > conflict both telling that the other one should be deleted. ... > so far, I opted for keeping p5-ExtUtils-Install-1.54_1, deleting > p5-ExtUtils-MakeMaker-6.56_1, is this wise or should it be the > other way round? or what? I would say keep EU::MM, delete EU::I for now (see below & other recent message by Matthew S). > There's nothing in /usr/ports/UPDATING about that.. For background refer to ... http://cpansearch.perl.org/dist/ExtUtils-Install/Changes ... which, in short, shows the EU::I extracted from EU::MM is slowly diverging from its origin; work is ongoing to keep it compatible with the EU::MM version of the installed files. - parv -- From owner-freebsd-questions@FreeBSD.ORG Thu Jul 7 16:34: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 7F17A106566C for ; Thu, 7 Jul 2011 16:34:52 +0000 (UTC) (envelope-from hugo@barafranca.com) Received: from mail.barafranca.com (mail.barafranca.com [67.213.67.47]) by mx1.freebsd.org (Postfix) with ESMTP id 509D28FC08 for ; Thu, 7 Jul 2011 16:34:52 +0000 (UTC) Received: from localhost (unknown [172.16.100.24]) by mail.barafranca.com (Postfix) with ESMTP id EDF6C3ED for ; Thu, 7 Jul 2011 16:09:34 +0000 (UTC) X-Virus-Scanned: amavisd-new at barafranca.com Received: from mail.barafranca.com ([172.16.100.24]) by localhost (mail.barafranca.com [172.16.100.24]) (amavisd-new, port 10024) with ESMTP id 56Jtqa9cy8dS for ; Thu, 7 Jul 2011 16:08:54 +0000 (UTC) Received: from [192.168.1.1] (a89-152-172-232.cpe.netcabo.pt [89.152.172.232]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.barafranca.com (Postfix) with ESMTPSA id 1E8A83EB for ; Thu, 7 Jul 2011 16:08:53 +0000 (UTC) Message-ID: <4E15DA15.2090803@barafranca.com> Date: Thu, 07 Jul 2011 17:08:53 +0100 From: Hugo Silva User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Requesting assistance: IPsec-configured FreeBSD system sends unencrypted packets on the wrong 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, 07 Jul 2011 16:34:52 -0000 Hello, I'm setting up an IPsec tunnel between a OpenBSD/isakmpd box and a FreeBSD 8.2-STABLE/ipsec-tools racoon. It looks something like this: [lan a(OPENBSD_NET)]-->[openbsd]--i-p-s-e-c-->[freebsd]-->[lan b(FREEBSD_NET)] The FreeBSD server also runs OpenVPN, for end-user VPN. The ipv4 range is FREEBSD_USERVPN/24. The situation is the following: - I can ssh in from FREEBSD_USERVPN to OPENBSD_NET (laptop -> (openvpn udp) -> freebsd-ipsec-machine -> (ipsec-tunnel) -> openbsd-ipsec-machine -> target-machine). - I can't ssh/ping from machines in FREEBSD_NET to machines OPENBSD_NET, even though setkey on FreeBSD reports what appear to be correct settings. - In fact, tcpdump shows packets destined for OPENBSD_NET (coming from FREEBSD_NET; from FREEBSD_USERVPN it works, that is part of the mystery) leaving the external interface (@FreeBSD-ipsec), unencrypted, with target MAC set to FREEBSD's default gateway. FreeBSD's setkey -DP with the tunnel up looks something like: OPENBSD_NET/24[any] FREEBSD_NET/24[any] any in ipsec esp/tunnel/OPENBSD_EXTERNAL_IP-FREEBSD_EXTERNAL_IP/require created: Jul 7 15:20:16 2011 lastused: Jul 7 15:20:16 2011 lifetime: 1200(s) validtime: 0(s) spid=373 seq=5 pid=87182 refcnt=1 OPENBSD_EXTERNAL_IP[any] FREEBSD_EXTERNAL_IP[any] any in ipsec ah/transport//require created: Jul 7 15:21:24 2011 lastused: Jul 7 15:21:24 2011 lifetime: 1200(s) validtime: 0(s) spid=375 seq=4 pid=87182 refcnt=1 OPENBSD_NET/24[any] FREEBSD_USERVPN/24[any] any in ipsec esp/tunnel/OPENBSD_EXTERNAL_IP-FREEBSD_EXTERNAL_IP/require created: Jul 7 15:22:15 2011 lastused: Jul 7 15:22:15 2011 lifetime: 1200(s) validtime: 0(s) spid=377 seq=3 pid=87182 refcnt=1 FREEBSD_NET/24[any] OPENBSD_NET/24[any] any out ipsec esp/tunnel/FREEBSD_EXTERNAL_IP-OPENBSD_EXTERNAL_IP/require created: Jul 7 15:20:16 2011 lastused: Jul 7 15:20:16 2011 lifetime: 1200(s) validtime: 0(s) spid=374 seq=2 pid=87182 refcnt=1 FREEBSD_EXTERNAL_IP[any] OPENBSD_EXTERNAL_IP[any] any out ipsec ah/transport//require created: Jul 7 15:21:24 2011 lastused: Jul 7 15:21:24 2011 lifetime: 1200(s) validtime: 0(s) spid=376 seq=1 pid=87182 refcnt=1 FREEBSD_USERVPN/24[any] OPENBSD_NET/24[any] any out ipsec esp/tunnel/FREEBSD_EXTERNAL_IP-OPENBSD_EXTERNAL_IP/require created: Jul 7 15:22:15 2011 lastused: Jul 7 15:22:15 2011 lifetime: 1200(s) validtime: 0(s) spid=378 seq=0 pid=87182 refcnt=1 OpenBSD's ipsecctl -sa: FLOWS: flow ah in from FREEBSD_EXTERNAL_IP to OPENBSD_EXTERNAL_IP peer FREEBSD_EXTERNAL_IP srcid OPENBSD_EXTERNAL_IP/32 dstid FREEBSD_EXTERNAL_IP/32 type use flow ah out from OPENBSD_EXTERNAL_IP to FREEBSD_EXTERNAL_IP peer FREEBSD_EXTERNAL_IP srcid OPENBSD_EXTERNAL_IP/32 dstid FREEBSD_EXTERNAL_IP/32 type require flow esp in from FREEBSD_NET to OPENBSD_NET/24 peer FREEBSD_EXTERNAL_IP srcid OPENBSD_EXTERNAL_IP/32 dstid FREEBSD_EXTERNAL_IP/32 type use flow esp out from OPENBSD_NET/24 to FREEBSD_NET peer FREEBSD_EXTERNAL_IP srcid OPENBSD_EXTERNAL_IP/32 dstid FREEBSD_EXTERNAL_IP/32 type require flow esp in from FREEBSD_USERVPN/24 to OPENBSD_NET/24 peer FREEBSD_EXTERNAL_IP srcid OPENBSD_EXTERNAL_IP/32 dstid FREEBSD_EXTERNAL_IP/32 type use flow esp out from OPENBSD_NET/24 to FREEBSD_USERVPN/24 peer FREEBSD_EXTERNAL_IP srcid OPENBSD_EXTERNAL_IP/32 dstid FREEBSD_EXTERNAL_IP/32 type require SAD: esp tunnel from OPENBSD_EXTERNAL_IP to FREEBSD_EXTERNAL_IP spi 0x08ae310d auth hmac-sha2-256 enc aes ah transport from OPENBSD_EXTERNAL_IP to FREEBSD_EXTERNAL_IP spi 0x08d6347a auth hmac-sha2-256 esp tunnel from OPENBSD_EXTERNAL_IP to FREEBSD_EXTERNAL_IP spi 0x09ec838b auth hmac-sha2-256 enc aes esp tunnel from FREEBSD_EXTERNAL_IP to OPENBSD_EXTERNAL_IP spi 0x3ab91daa auth hmac-sha2-256 enc aes ah transport from FREEBSD_EXTERNAL_IP to OPENBSD_EXTERNAL_IP spi 0x44eaed5b auth hmac-sha2-256 esp tunnel from FREEBSD_EXTERNAL_IP to OPENBSD_EXTERNAL_IP spi 0xbfd25ead auth hmac-sha2-256 enc aes ---- racoon is passive, isakmpd is active; OpenBSD's ipsec.conf: myself = "OPENBSD_EXTERNAL_IP" mypeer = "FREEBSD_EXTERNAL_IP" if ="em0" local_net = "OPENBSD_NET/24" remote_net = "{ FREEBSD_USERVPN/24, FREEBSD_NET/24 }" ike esp tunnel from $local_net to $remote_net peer $mypeer main auth hmac-sha1 enc aes group modp1024 quick auth hmac-sha2-256 enc aes group modp1024 psk "verysecret" ike ah transport from $myself to $mypeer main auth hmac-sha1 group modp1024 quick auth hmac-sha2-256 group modp1024 psk "verysecret" I have: - Tried without AH. - Tried $remote_net = FREEBSD_NET. (the packets will still go out on the wrong interface) - Disabling PF. (on one end, on both ends) When I ping a machine on FREEBSD_NET from a machine on OPENBSD_NET, I can see the packet arriving on FREEBSD_NET_MACHINE (and enc0 on OpenBSD-ipsec-router, enc0 on freebsd-ipsec-router), and a icmp echo reply going out from the target machine. At the same time, on the FreeBSD IPsec machine, I'll see the echoreq arriving on enc0, and then the echorep going out on $ext_if .. needless to say the machine on the other end never sees it. Trying the opposite (ping a machine on OpenBSD's network from a machine on the FreeBSD-router side) results in the packet immediately going out on the wrong interface @ the FreeBSD IPsec machine.. it never reaches enc0 on the OpenBSD side. With pf active, FreeBSD shows: 15:36:24.695261 rule 0/0(match): block out on bce1: SOME_FREEBSD-SIDE_MACHINE > SOME_OPENBSD-SIDE_MACHINE: ICMP echo request, id 28959, seq 1, length 64 I've tried passing all, thinking it could be some strange pf artifact, but even then there's nothing on OpenBSD enc0. And as far as one can trust tcpdump, it really is trying to send the packet unencrypted out on the external interface; The dst MAC is FreeBSD's default gateway. I can't for the life of me understand WHY it works from OpenVPN, but not from the LAN. As shown above, the ipsec.conf file includes both in $remote_net (I've tried inverting the order of the declaration and declaring only the freebsd network (then trying to ping from a freebsd-side machine to a openbsd-side machine), to no avail). It seems to me that pretty much the same thing is happening: A packet arrives on an interface (tun0 for openvpn, bce0 for packets from FreeBSD's internal network) with a destination address that's reachable over the IPsec tunnel. The difference is that for some reason packets coming from OpenVPN will be IPsec processed, and there's connectivity, while packets from the LAN won't, and they're sent to the default gateway on $ext_if(bce1) -- even though, to the best of my understanding, both should be matching ! That both should match is defined in the same ipsec.conf rule on OpenBSD's side (racoon has generate_policy on), as demonstrated earlier. Furthermore, if setkey -DP's timestamps are to be trusted: (3:44pm) freebsd/pts/1 root:/root# setkey -DP | grep lastused created: Jul 7 15:43:34 2011 lastused: Jul 7 15:43:34 2011 created: Jul 7 15:43:34 2011 lastused: Jul 7 15:43:34 2011 created: Jul 7 15:43:34 2011 lastused: Jul 7 15:43:34 2011 created: Jul 7 15:43:34 2011 lastused: Jul 7 15:44:34 2011 created: Jul 7 15:43:34 2011 lastused: Jul 7 15:43:34 2011 created: Jul 7 15:43:34 2011 lastused: Jul 7 15:44:34 2011 (logged in from my laptop (goes through OpenVPN) to a machine on OpenBSD's side) laptop --> (openvpn udp) --> freebsd-ipsec --> (ipsec ah/esp) --> openbsd-ipsec --> some-openbsd-side-machine (3:44pm) freebsd/pts/1 root:/root# setkey -DP | grep lastused created: Jul 7 15:43:34 2011 lastused: Jul 7 15:43:34 2011 created: Jul 7 15:43:34 2011 lastused: Jul 7 15:43:34 2011 created: Jul 7 15:43:34 2011 lastused: Jul 7 15:43:34 2011 created: Jul 7 15:43:34 2011 lastused: Jul 7 15:44:41 2011 <- created: Jul 7 15:43:34 2011 lastused: Jul 7 15:43:34 2011 created: Jul 7 15:43:34 2011 lastused: Jul 7 15:44:41 2011 <- Trying to ping from a freebsd-side machine to a openbsd-side machine doesn't update lastused. I have been troubleshooting this for some days now, and running out of ideas fast. Either it's something so simple and obvious that I'm not seeing it, or something very fishy is going on. As far as I understand it, packets coming from FREEBSD_NET should match. They should update the lastused shown in setkey -DP, and be IPsec processed. The one other thing that occurs to me is trying to get this running over gif(4) interfaces.. but as far as I understand, this is not required (and indeed, packets coming from FREEBSD_USERVPN do reach OPENBSD_NET, which proves that connectivity is working) Finally, racoon's config is nothing special; The relevant bits are: remote OPENBSD_EXTERNAL_IP { exchange_mode main,aggressive; passive on; generate_policy on; doi ipsec_doi; situation identity_only; #my_identifier asn1dn; #certificate_type x509 "my.cert.pem" "my.key.pem"; nonce_size 16; initial_contact on; proposal_check strict; # obey, strict, or claim proposal { encryption_algorithm aes; hash_algorithm sha1; authentication_method pre_shared_key; dh_group modp1024; } } sainfo anonymous { pfs_group modp1024; encryption_algorithm aes; authentication_algorithm hmac_sha256; compression_algorithm deflate; } Hopefully enough information has been provided to spot an error in the configuration/logic. Can you see something obviously wrong with this? Thanks for reading. From owner-freebsd-questions@FreeBSD.ORG Thu Jul 7 18:51:01 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 83BFA1065675 for ; Thu, 7 Jul 2011 18:51:01 +0000 (UTC) (envelope-from doug@safeport.com) Received: from oceanpt.safeport.com (oceanpt.safeport.com [65.122.17.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4BE4D8FC1A for ; Thu, 7 Jul 2011 18:51:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by oceanpt.safeport.com (8.14.2/8.14.2) with ESMTP id p67Ip0cH053934 for ; Thu, 7 Jul 2011 14:51:00 -0400 (EDT) (envelope-from doug@safeport.com) Date: Thu, 7 Jul 2011 14:50:59 -0400 (EDT) From: doug@safeport.com To: freebsd-questions@FreeBSD.ORG Message-ID: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (oceanpt.safeport.com [127.0.0.1]); Thu, 07 Jul 2011 14:51:00 -0400 (EDT) Cc: Subject: mergemaster confusion X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 07 Jul 2011 18:51:01 -0000 I have a mergemaster question. I assume this is my error but do not see what I did. I am testing remote update procedures so I started with a 7.0 IS0 and updated it to 7.4. My mergemaster.rc has the following directives: FREEBSD_ID=yes AUTO_UPGRADE=yes AUTO_INSTALL=yes DELETE_STALE_RC_FILES=yes COMP_CONFS=yes plus some diff options. As this was a system with nothing changed except for group, passwd, and csh.cshrc, I expected mergemaster to update all the other files. I think from the code the value does not matter for the first three so yes would be ok (if I am correct). As this did not work (as I expected), I retried with mergemaster -rFUi getting the same result. What did I do wrong? _____ Douglas Denault http://www.safeport.com doug@safeport.com Voice: 301-217-9220 Fax: 301-217-9277 From owner-freebsd-questions@FreeBSD.ORG Thu Jul 7 18:57: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 0CA16106566B for ; Thu, 7 Jul 2011 18:57:53 +0000 (UTC) (envelope-from tobias.rehbein@web.de) Received: from fmmailgate03.web.de (fmmailgate03.web.de [217.72.192.234]) by mx1.freebsd.org (Postfix) with ESMTP id BD68A8FC1A for ; Thu, 7 Jul 2011 18:57:52 +0000 (UTC) Received: from smtp05.web.de ( [172.20.4.166]) by fmmailgate03.web.de (Postfix) with ESMTP id 45CB019496423 for ; Thu, 7 Jul 2011 20:33:19 +0200 (CEST) Received: from [95.88.152.38] (helo=sushi.pseudo.local) by smtp05.web.de with asmtp (TLSv1:AES256-SHA:256) (WEB.DE 4.110 #2) id 1QetO3-000322-00 for freebsd-questions@freebsd.org; Thu, 07 Jul 2011 20:33:19 +0200 Received: from sushi.pseudo.local (localhost [127.0.0.1]) by sushi.pseudo.local (8.14.4/8.14.4) with ESMTP id p67IXIHu004191 for ; Thu, 7 Jul 2011 20:33:18 +0200 (CEST) (envelope-from tobi@sushi.pseudo.local) Received: (from tobi@localhost) by sushi.pseudo.local (8.14.4/8.14.4/Submit) id p67IXI2r004190 for freebsd-questions@freebsd.org; Thu, 7 Jul 2011 20:33:18 +0200 (CEST) (envelope-from tobi) Date: Thu, 7 Jul 2011 20:33:18 +0200 From: Tobias Rehbein To: freebsd-questions@freebsd.org Message-ID: <20110707183318.GA4157@sushi.pseudo.local> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Sender: tobias.rehbein@web.de X-Sender: tobias.rehbein@web.de X-Provags-ID: V01U2FsdGVkX1/QZk2RZmGWrCtzFez53VmvoGLJEA7ofF3UR7Lx h9XtxnpFTgAEjBxileEp0/j2wvGBp+y78ywEbLsfL689stYR9w ZQa/IRaZ9H8artMMoeKQ== Subject: ncal(1) prints control sequences on stdout if stdout is not a tty X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 07 Jul 2011 18:57:53 -0000 Hi list, being the maintainer of www/nanoblogger, which uses cal(1) to generate the blog calendar, I noticed that ncal(1), and therefore cal(1), prints control sequences to stdout in order to highlight the current date. This scrambles the calendar generated by nanoblogger. I fixed this issue in the port but talking to one of the folks of our local unix user group I was asked why I am not fixing this in ncal(1) as the sane behaviour would be to omit control sequences if stdout is not a tty. Thinking about that I decided to create a patch: http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/158580 I just wanted to ask you fellow FreeBSD users what you think about this issue as feedback in PRs tends to be slow. Regards Tobias From owner-freebsd-questions@FreeBSD.ORG Thu Jul 7 20:31: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 DD50A106564A for ; Thu, 7 Jul 2011 20:31:28 +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 9879B8FC1F for ; Thu, 7 Jul 2011 20:31:28 +0000 (UTC) Received: from localhost (tor-proxy.vm.31173.se [193.138.216.101]) by mx1.skyriver.ru (Postfix) with ESMTPSA id B3ABF5A88 for ; Fri, 8 Jul 2011 00:02:53 +0400 (MSD) Date: Fri, 8 Jul 2011 00:31:07 +0400 From: Peter Vereshagin To: freebsd-questions@freebsd.org Message-ID: <20110707203107.GD5425@external.screwed.box> References: <4E1367E7.3050205@rawbw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <4E1367E7.3050205@rawbw.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: Tool to show the recent disk space consumers? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 07 Jul 2011 20:31:28 -0000 God love is hard to find. You got lucky freebsd-questions! 2011/07/05 12:37:11 -0700 Yuri => To FreeBSD Questions : Y> I hit this problem periodically when a lot of disk space is gone and Y> it's hard to tell where did it go. Once it was thunderbird writing huge I think you can create a file system snapshots periodically and compare states thereafter at the any moment you wish... Y> index file as a consequence of some bug, on another occasion it was the Y> bug in KDE writing some huge index somewhere in ~/.kde4. Y> Y> Is there a tool slowly indexing the file system and showing where Y> exactly did the sudden growth of consumed space occur? Y> Y> I know about du(1) but I am looking for some program that can detect the Y> dynamics and pinpoint the offending files. 73! Peter pgp: A0E26627 (4A42 6841 2871 5EA7 52AB 12F8 0CE1 4AAC A0E2 6627) -- http://vereshagin.org From owner-freebsd-questions@FreeBSD.ORG Thu Jul 7 21: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 70C0D106564A for ; Thu, 7 Jul 2011 21:05:51 +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 2EC308FC14 for ; Thu, 7 Jul 2011 21:05:51 +0000 (UTC) Received: from localhost (raskin.torservers.net [74.120.15.150]) by mx1.skyriver.ru (Postfix) with ESMTPSA id 0310C5AB1 for ; Fri, 8 Jul 2011 00:37:15 +0400 (MSD) Date: Fri, 8 Jul 2011 01:05:07 +0400 From: Peter Vereshagin To: freebsd-questions@freebsd.org Message-ID: <20110707210506.GE5425@external.screwed.box> References: <4E1478C1.3020302@tundraware.com> MIME-Version: 1.0 Content-Type: text/plain; charset=koi8-r Content-Disposition: inline In-Reply-To: <4E1478C1.3020302@tundraware.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: Perl Problem After Upgrade to 5.12.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 07 Jul 2011 21:05:51 -0000 God love is hard to find. You got lucky freebsd-questions! 2011/07/06 10:01:21 -0500 Tim Daneliuk => To FreeBSD Mailing List : TD> ===> p5-Module-Build-0.3800_1 depends on package: p5-Parse-CPAN-Meta>=1.44.01 - found TD> ! Parse::CPAN::Meta (1.40) is installed, but we need version >= 1.4401 if you use to updatedb(8) try to search for dupes: locate Parse/CPAN/Meta.pm If there is no dupes, look at the $VERSION inside that module 73! Peter pgp: A0E26627 (4A42 6841 2871 5EA7 52AB 12F8 0CE1 4AAC A0E2 6627) -- http://vereshagin.org From owner-freebsd-questions@FreeBSD.ORG Thu Jul 7 22:44: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 C2FC6106564A for ; Thu, 7 Jul 2011 22:44:37 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id 7D5648FC19 for ; Thu, 7 Jul 2011 22:44:37 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirj.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1QexJE-00019K-12 for freebsd-questions@freebsd.org; Thu, 07 Jul 2011 23:44:36 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1QexJD-0004JU-TQ for freebsd-questions@freebsd.org; Thu, 07 Jul 2011 23:44:35 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4) with ESMTP id p67MiZn9027664 for ; Thu, 7 Jul 2011 23:44:35 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4/Submit) id p67MiZeA027663 for freebsd-questions@freebsd.org; Thu, 7 Jul 2011 23:44:35 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Thu, 7 Jul 2011 23:44:35 +0100 From: Anton Shterenlikht To: freebsd-questions@freebsd.org Message-ID: <20110707224435.GA27624@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Subject: tftp - bad checksum error? can't transfer file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 07 Jul 2011 22:44:37 -0000 I'm trying to troubleshoot tftpd(8). % grep boot /etc/inetd.conf tftp dgram udp wait root /usr/libexec/tftpd tftpd -dd -l -s /tftpboot tftp dgram udp wait root /usr/libexec/tftpd tftpd -dd -l -s /tftpboot bootps dgram udp wait root /usr/libexec/bootpd bootpd -d4 -t0 /etc/bootptab % I'm trying to boot another node via bootp/tftp. I'm monitoring what's going on with tcpdump -vv. bootpd starts fine, and seems to read /etc/bootptab correctly. But after that nothing happens, and after a few minutes I get on the console of the host which I want to boot: > bootp()/bsd.rd.IP32 Unable to execute bootp()/bsd.rd.IP32: invalid argument > Does this tcpdump fragment help to understand where the problem is: 192.168.232.10.15388 > buzi.tftp: [no cksum] 25 RRQ "/bsd.rd.IP32" octet ( o 23:25:21.024160 IP (tos 0x0, ttl 64, id 56, offset 0, flags [none], proto UDP (1 7), length 30, bad cksum 0 (->293a)!) buzi.19330 > 192.168.232.10.15388: [udp sum ok] UDP, length 2 23:25:51.013759 IP (tos 0x0, ttl 255, id 256, offset 0, flags [none], proto UDP (17), length 53) I'm happy to provide more detailed information on the settings I use and a longer tcpdump output, if this helps. Many thanks Anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Thu Jul 7 22:54: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 25AFC106566B for ; Thu, 7 Jul 2011 22:54:41 +0000 (UTC) (envelope-from Ggatten@waddell.com) Received: from mailhost0.waddell.com (mailhost0.waddell.com [67.130.252.61]) by mx1.freebsd.org (Postfix) with ESMTP id E69F78FC0A for ; Thu, 7 Jul 2011 22:54:40 +0000 (UTC) Received: from mailhost3.waddell.com (mailhost3.waddell.com [10.1.10.28]) by mailhost0.waddell.com (Postfix) with ESMTP id 5B0DA5084D; Thu, 7 Jul 2011 17:54:40 -0500 (CDT) Received: from mailhost3.waddell.com (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 576553C344; Thu, 7 Jul 2011 17:54:40 -0500 (CDT) Received: from WADPHTCAS0.waddell.com (wadphtcas0.waddell.com [192.168.203.229]) by mailhost3.waddell.com (Postfix) with ESMTP id 4BC933C338; Thu, 7 Jul 2011 17:54:40 -0500 (CDT) Received: from WADPMBXV0.waddell.com ([169.254.2.30]) by WADPHTCAS0.waddell.com ([192.168.203.229]) with mapi; Thu, 7 Jul 2011 17:54:40 -0500 From: Gary Gatten To: "'mexas@bristol.ac.uk'" , "'freebsd-questions@freebsd.org'" Date: Thu, 7 Jul 2011 17:54:38 -0500 Thread-Topic: tftp - bad checksum error? can't transfer file Thread-Index: Acw894eKw8DfB2xJSrqVPK6FpTx58wAAVFOD Message-ID: <9104_1310079280_4E163930_9104_2159_1_D9B37353831173459FDAA836D3B43499C2309D2D@WADPMBXV0.waddell.com> In-Reply-To: <20110707224435.GA27624@mech-cluster241.men.bris.ac.uk> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: Subject: Re: tftp - bad checksum error? can't transfer file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 07 Jul 2011 22:54:41 -0000 >From my experience tcpdump is misleading re udp fragments and chksums. If = the packet gets fragmented, udp will report bad chksums at some point. Check your file names (case), perms, etc. 90% of time I typo a name or for= get to chmod the files; or when using tftp to write I forget to create a fi= le with the correct name (and perms) first. ----- Original Message ----- From: Anton Shterenlikht [mailto:mexas@bristol.ac.uk] Sent: Thursday, July 07, 2011 05:44 PM To: freebsd-questions@freebsd.org Subject: tftp - bad checksum error? can't transfer file I'm trying to troubleshoot tftpd(8). % grep boot /etc/inetd.conf tftp dgram udp wait root /usr/libexec/tftpd tftpd -dd -l -s /tftpboot tftp dgram udp wait root /usr/libexec/tftpd tftpd -dd -l -s /tftpboot bootps dgram udp wait root /usr/libexec/bootpd bootpd -d4 -t0 /etc/bootptab % I'm trying to boot another node via bootp/tftp. I'm monitoring what's going on with tcpdump -vv. bootpd starts fine, and seems to read /etc/bootptab correctly. But after that nothing happens, and after a few minutes I get on the console of the host which I want to boot: > bootp()/bsd.rd.IP32 Unable to execute bootp()/bsd.rd.IP32: invalid argument > Does this tcpdump fragment help to understand where the problem is: 192.168.232.10.15388 > buzi.tftp: [no cksum] 25 RRQ "/bsd.rd.IP32" oct= et ( o 23:25:21.024160 IP (tos 0x0, ttl 64, id 56, offset 0, flags [none], proto U= DP (1 7), length 30, bad cksum 0 (->293a)!) buzi.19330 > 192.168.232.10.15388: [udp sum ok] UDP, length 2 23:25:51.013759 IP (tos 0x0, ttl 255, id 256, offset 0, flags [none], proto= UDP (17), length 53) I'm happy to provide more detailed information on the settings I use and a longer tcpdump output, if this helps. Many thanks Anton --=20 Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
"This email is intended to be reviewed by only the intended recipient and may contain information that is privileged and/or confidential. If you are not the intended recipient, you are hereby notified that any review, use, dissemination, disclosure or copying of this email and its attachments, if any, is strictly prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system."
From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 01:10:39 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 C3ABB106566B for ; Fri, 8 Jul 2011 01:10:39 +0000 (UTC) (envelope-from mailreturn@smtp.ymlp17.net) Received: from smtp.ymlp17.net (smtp.ymlp17.net [87.237.8.248]) by mx1.freebsd.org (Postfix) with SMTP id D24338FC13 for ; Fri, 8 Jul 2011 01:10:38 +0000 (UTC) Received: (qmail 23408 invoked by uid 0); 8 Jul 2011 01:10:26 -0000 Date: Fri, 8 Jul 2011 03:10:26 +0200 To: questions@freebsd.org From: Improved Attitude To Work Message-ID: <7ef06086a7eb2365f090cef233dfd27a@smtp.ymlp17.net> X-YMLPcode: p82a+1603+240915 MIME-Version: 1.0 Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Management Training on "Attitudinal Re-Orientation" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: invitation@thewodia.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jul 2011 01:10:39 -0000 --------------------------------------------------------------------------= ------ This email newsletter was sent to you in graphical HTML format. If you're seeing this version, your email program prefers plain text = emails. You can read the original version online: http://ymlp147.net/z7PsdW --------------------------------------------------------------------------= ------ WODIA Training Institute (WOTI) Management Training andSkills Development The Boat House, 21, Ogunnusi Road, Ogba, Ikeja, Lagos.www.thewodia.org/woti.html ( http://www.thewodia.org/woti.html ), Email : support@thewodia.org,invitation@thewodia.org Telephone : +234 802 307 9485, +234 813 375 4358 INVITATION TO MANAGEMENT TRAINING PROGRAM Investment in People- TOPIC:Attitudinal Re-orientation And Best Practices In Work Environment . Date : JULY 19-20, 2011 (2 days) Venue : WODIA Training Institute (WOTI) The Boat House, 21, Ogunnusi Road, (AVIS Petrol Station Bus-Stop), Ogba, Ikeja, Lagos. Nigeria. Fee : N20,000:00 (Twenty thousand Naira only)per Head. Fees include Tuition, Resource Materials, Tea/Coffee Break,Lunch, Certificate of Participation and Group Photograph. Time : 9.00a.m daily Participation:Confirm Space Availabilitybefore payment by calling +234 802 307 9485 OR +234 813 375 4358. You could also send an Email to:support@thewodia.org, invitation@thewodia.org ------------------------- Payment Instructions : After confirmation of space availability, payment should be made into any Branch of Zenith Bank PLC. account number 6011822855 in favour of WODIA Training Institute (WOTI) before program date. TRAINING DETAILS: Objectives: The Two-day Intensive Management Training Program on Attitudinal re-orientation and Best Practices in Work Environment is intended to : - -encouragepositive attitude to work and discourage non-challant attitude towards organizational goals; - educate the participants on the benefits of loyalty to their organizations; -promote learning skills of the attendees and update their ethical standards at work place; -enhance human capital output; -boost personal development and improve workers' enthusiasm towards their official responsibilities; -discourage conflict of interest that diverts worker's concentration from official work; and - distinguish official behaviour from informal attitude that diminishes productivity. COURSE OUTLINES : * Developing Positive Attitude To Work * Meeting Organization=E2=80=99s Expectations and Targets * Work Orientation and Employment Contract * Conflict of Interest and Ethical issues at Work Place * Work Ethics, Mental Alertness and Commitment to organizational Goals. WHO SHOULD ATTEND: Attendance open to both Male and Female who are Middle-Level Officers in Public, Private, Corporate and Voluntary Establishments. Accreditation : WOTI is Certified by the Centre for Management Development (CMD), Nigeria as an Accredited Management Training Institution. Recource Persons will be WOTI Training Consultants and others to be invited from the Industrial Training Fund (ITF), Centre for Management Development (CMD) and other National and International Consulting Agencies. Training Aids will include but not limited to projectors and screen, flip charts, magic boards, computers and other multi-media and audio-visual aids. Methodology will involve lecture, role play, demonstration, discussion and other methods suitable for the target audience. Program will be highly inclusive and participatory. Thanks for Reading, ------------------------- Gladys Osagie, Program Coordinator, WODIA Training Institute (WOTI), www.thewodia.org/woti.html, EMAIL : support@thewodia.org +234 802 307 9485 Forward this email to a friend ( = http://ymlp147.net/forward.php?id=3D7PsdW&e=3Dquestions@freebsd.org ) _____________________________ Unsubscribe / Change Profile: = http://ymlp147.net/u.php?id=3Dgewmweugsgejsyubguhsm Powered by YourMailingListProvider From owner-freebsd-questions@FreeBSD.ORG Thu Jul 7 23:45: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 83E24106566B; Thu, 7 Jul 2011 23:45:51 +0000 (UTC) (envelope-from adrian.chadd@gmail.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 E43B58FC13; Thu, 7 Jul 2011 23:45:50 +0000 (UTC) Received: by ywf7 with SMTP id 7so735936ywf.13 for ; Thu, 07 Jul 2011 16:45:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; 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; bh=jVjQUkH04ea3unW0HU8dW+DNAZkXaeu98Yg+m86GVrI=; b=j1RDX9t90XgTjVsVVQ64nI2JStye4SQFMyrUo/EodkJWGXqnJ0hF35fhiQx+v4UH0L my4azAtkXNFgKAK0+ymeoRL3osl+BcCKKukj1+mEorhM8rNY3Gd9mzw8GqkuL6Ul6twM X0sS3t6NsWLo1tqhtzi4bav3DQ1XBsezOnHFY= MIME-Version: 1.0 Received: by 10.151.50.15 with SMTP id c15mr1509604ybk.285.1310082350186; Thu, 07 Jul 2011 16:45:50 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.151.45.11 with HTTP; Thu, 7 Jul 2011 16:45:50 -0700 (PDT) In-Reply-To: References: <4E1421D9.7080808@zedat.fu-berlin.de> <4E147F54.40908@zedat.fu-berlin.de> <20110706162811.GA68436@troutmask.apl.washington.edu> <20110706193636.GA69550@troutmask.apl.washington.edu> <4E14CCE5.4050906@zedat.fu-berlin.de> <20110707015151.GB71966@troutmask.apl.washington.edu> Date: Fri, 8 Jul 2011 07:45:50 +0800 X-Google-Sender-Auth: QiFqO3AlDiZ1icJvGKpMKp-le5o Message-ID: From: Adrian Chadd To: Arnaud Lacombe Content-Type: text/plain; charset=ISO-8859-1 X-Mailman-Approved-At: Fri, 08 Jul 2011 05:40:24 +0000 Cc: FreeBSD Current , "Hartmann, O." , arrowdodger <6yearold@gmail.com>, Steve Kargl , freebsd-questions@freebsd.org Subject: Re: Heavy I/O blocks FreeBSD box for several seconds X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 07 Jul 2011 23:45:51 -0000 (OT, yes, but I'd like to take a stab at explaining "why" these things fall to the wayside..) On 7 July 2011 12:08, Arnaud Lacombe wrote: > What would be the point to even start looking at an issue? You guys > (by "you", I mean "official" committers on public list) don't care When someone who has an active interest takes ownership of the problem. > about people providing patches, might it be for trivial, obvious, > fixes. I'm not even talking about complex patches ... When you > eventually ends up providing a patch, you ends up being slammed a door > at by maintainers asserting their code is perfect, until logic and > user complaints prove them wrong. > > That said, this comment is off-topic, but I will certainly re-state > this next month when I'll be ping'ing trivial patches. The problem is that someone doesn't own the problem. If I commit someone's fix to the tree without really understanding what's going on, I take ownership of that change and any issues/breakages/changes that it creates. The people responsible for these areas are likely very busy with other things. It's not that they don't want to help! It's much more likely that they don't have the time. Trivial patches aren't always so trivial. You can change the behaviour of something subtle which works great for you and not for others. This is very likely what's going on with IO/CPU scheduling. It's a tricky area. A simple fix isn't always as simple. So if there's a diagnosed problem, with reproducable test cases and some patches which fix it, I suggest doing something like the following: * create a webpage, even if it's a wiki somewhere (even wiki.freebsd.org if you ask someone nicely) * dump all the information you can in there. Having stuff in emails is great - but it's only really helpful for tracking the 'flow' of a discussion. Having a summarised analysis of all of that on a webpage is much more helpful. * Add the patches there. * Encourage people who aren't in your immediate community to try them too - to try and find if your changes mess up other configurations somehow. * Be persistent trying to get your changes in. If you've done the background research, done some wide-spread testing and show you've not caused any obvious regressions, you're much more likely to get your changes in. With all of that done, you can likely find a committer who will help you get your fixes into the tree. Please just try not to interpret a lack of response as a lack of interest. There's only so much time in the day and committers tend to be a busy bunch, with day jobs that may in no way reflect their FreeBSD interests. Finally, if people do enough of the above and begin to take ownership of parts of the tree, you'll find someone will likely sponsor you for a commit bit. HTH, Adrian From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 05:58: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 C9C2D106566B for ; Fri, 8 Jul 2011 05:58:39 +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 9B66E8FC13 for ; Fri, 8 Jul 2011 05:58:39 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 18FA8E8048C; Thu, 7 Jul 2011 22:58:38 -0700 (PDT) Date: Thu, 7 Jul 2011 22:58:37 -0700 From: Gary Kline To: Gary Kline Message-ID: <20110708055837.GA21564@thought.org> References: <20110707180041.GA90387@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110707180041.GA90387@thought.org> Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 24++ years of service to the Unix community. User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD Mailing List Subject: Re: DNS and file system messed up... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Jul 2011 05:58:39 -0000 On Thu, Jul 07, 2011 at 06:00:42PM +0000, Gary Kline wrote: > Date: Thu, 7 Jul 2011 18:00:42 +0000 > From: Gary Kline > Subject: DNS and file system messed up... > To: FreeBSD Mailing List > > > Guys, > > I'd be much obliged to learn why /etc/rc.named start fails. This has been going > on for months. For some reason freebsd.org doesn't recognize part of my > domain, so I'm writing from my backup site, magnesium net. > > I did *somrthing* that keeps /etc/rc.d/named from working correctly. On the > second line below the ^+++++, you'll see a "none:0:/etc/named.conf" from > messages. The only way I can exec bind9 is by first doing a kill -9, then > explicitly starting named and then, with the -c switch , aiming it at my > *real* named.conf. > > I don't want to finish my new/latest install of 7.3 until I understand > this screwup. > Nobody has any clues to the capture output? I'm surprised. -g > > > > # sh /etc/rc.d/named start > Starting named. > > +++++ > # tail /var/log/messages > Jul 7 10:16:33 ethic named[54366]: starting BIND 9.3.6-P1 -t /var/named -u bind > Jul 7 10:16:33 ethic named[54366]: none:0: open: /etc/named.conf: file not found > Jul 7 10:16:33 ethic named[54366]: loading configuration: file not found > Jul 7 10:16:33 ethic named[54366]: exiting (due to fatal error) > > > # tail /var/log/messages > # kill -9 `head -1 /var/run/named/pid` > # /usr/local/sbin/named -c /var/named/etc/namedb/named.conf > > Jul 7 10:17:56 ethic named[54371]: starting BIND 9.3.6-P1 -c /var/named/etc/namedb/named.conf > Jul 7 10:17:56 ethic named[54371]: command channel listening on > 127.0.0.1#953 > Jul 7 10:17:56 ethic named[54371]: command channel listening on ::1#953 > Jul 7 10:17:56 ethic named[54371]: running > > +++++ > > > -- > Gary Kline Seattle BSD Users' Group (seabug) | kline@magnesium.net > Thought Unlimited Org's Alternate Email Site > http://www.magnesium.net/~kline > To live is not a necessity; but to live honorably...is a necessity. -Kant > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.51a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 07: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 F1B461065672 for ; Fri, 8 Jul 2011 07:20:42 +0000 (UTC) (envelope-from wooh@wooh.hu) Received: from mail.netidea.hu (netwarehouse.netidea.hu [195.228.254.126]) by mx1.freebsd.org (Postfix) with ESMTP id 81E1F8FC12 for ; Fri, 8 Jul 2011 07:20:42 +0000 (UTC) Received: from radon (localhost [127.0.0.1]) by mail.netidea.hu (Postfix) with ESMTP id C62BFC89902 for ; Fri, 8 Jul 2011 08:55:39 +0200 (CEST) X-Virus-Scanned: amavisd-new at netidea.hu Received: from mail.netidea.hu ([127.0.0.1]) by radon (mail.netidea.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Z-EctDdcyJKf for ; Fri, 8 Jul 2011 08:55:37 +0200 (CEST) Received: from helium-2.local (catv-80-99-86-247.catv.broadband.hu [80.99.86.247]) by mail.netidea.hu (Postfix) with ESMTPA id E7AA6C8984E for ; Fri, 8 Jul 2011 08:55:36 +0200 (CEST) Message-ID: <4E16AB2F.6050109@wooh.hu> Date: Fri, 08 Jul 2011 09:01:03 +0200 From: Adam PAPAI User-Agent: Postbox 2.5.0 (Macintosh/20110628) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: RELEASE-8.1 with heavy network activity (nginx + php-fpm) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Jul 2011 07:20:43 -0000 I have a FreeBSD box with 8.1. It seems we hit the limits for the maximum network connections, because I always see this message in the nginx-error.log: 2011/07/08 08:48:40 [error] 40438#0: *30564045 kevent() reported that connect() failed (54: Connection reset by peer) while connecting to upstream, client: 188.36.171.27, server: netadclick.com, request: "GET /hirdetes/148 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.netadclick.com", referrer: "http://www.netadclick.com/hirdetes/148" 2011/07/08 08:48:41 [error] 40438#0: *30564021 writev() failed (54: Connection reset by peer) while sending request to upstream, client: 95.171.73.72, server: netadclick.com, request: "GET /hirdetes/1051/0505 HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.netadclick.com", referrer: "http://www.freespirit.hu/szex/durva_ezert_ne_hordj_tangat" The Box has approximately: 35,000 - 65,000 connections at the same time: In the early morning it has 45,564 connections: netstat -n | grep '^tcp4' | wc -l 45564 The system runs correctly for a few minutes, and after it's reaching "some" limits, all connections are reset (Connection reset by peer, the error log is filled with thousands of Connection reset by peer message) and it starts working correctly again for another few minutes. I've tuned some variables like: kern.ipc.shmall=32768 kern.ipc.shmmax=134217728 kern.ipc.semmap=256 net.inet.ip.maxfragpackets=1600 kern.threads.max_threads_per_proc=4096 kern.maxfiles=204800 kern.maxfilesperproc=200000 kern.maxvnodes=200000 net.inet.tcp.maxtcptw=200000 kern.ipc.nmbjumbo9=24000 kern.ipc.nmbjumbo16=10240 kern.ipc.maxsockets=65536 net.inet.tcp.fast_finwait2_recycle=1 net.inet.tcp.recvbuf_auto=0 net.inet.tcp.recvspace=65535 net.inet.ip.portrange.randomized=0 net.inet.ip.intr_queue_maxlen=4096 net.inet.tcp.finwait2_timeout=30000 kern.ipc.somaxconn=2048 /boot/loader.conf kern.ipc.semmni=1024 kern.ipc.semmns=2048 kern.ipc.semmnu=1024 kern.ipc.maxsockets=65536 kern.maxproc=12328 kern.ipc.shmmax=2147483648 kern.ipc.somaxconn=4096 net.inet.tcp.hostcache.cachelimit=65532 What should I do? Any ideas? Any tuning tips? Thanks in advance, -- Adam PAPAI From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 08:00: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 F3697106566B for ; Fri, 8 Jul 2011 08:00:58 +0000 (UTC) (envelope-from bc979@lafn.org) Received: from zoom.lafn.org (zoom.lafn.org [75.101.116.66]) by mx1.freebsd.org (Postfix) with ESMTP id A50858FC16 for ; Fri, 8 Jul 2011 08:00:58 +0000 (UTC) Received: from [10.0.1.2] (pool-108-23-64-87.lsanca.fios.verizon.net [108.23.64.87]) (authenticated bits=0) by zoom.lafn.org (8.14.3/8.14.2) with ESMTP id p687PdSX092602 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Fri, 8 Jul 2011 00:25:40 -0700 (PDT) (envelope-from bc979@lafn.org) Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Doug Hardie In-Reply-To: <20110708055837.GA21564@thought.org> Date: Fri, 8 Jul 2011 00:25:34 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20110707180041.GA90387@thought.org> <20110708055837.GA21564@thought.org> To: Gary Kline X-Mailer: Apple Mail (2.1084) X-Virus-Scanned: clamav-milter 0.97 at zoom.lafn.org X-Virus-Status: Clean Cc: FreeBSD Mailing List Subject: Re: DNS and file system messed up... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Jul 2011 08:00:59 -0000 On 7 July 2011, at 22:58, Gary Kline wrote: >> Jul 7 10:16:33 ethic named[54366]: none:0: open: /etc/named.conf: = file not found >> Jul 7 10:17:56 ethic named[54371]: starting BIND 9.3.6-P1 -c = /var/named/etc/namedb/named.conf The first one that fails is looking for /etc/named.conf. The second one = shows its in /var/named/etc/named/named.conf Those are different locations. I suspect you have named_flags setup in = rc.conf pointing to /etc/namedb/named.conf rather than the right = location. Its also possible that its not set in rc.conf but defaults in = either the rc script or /etc/rc.d/named. On my system it appears to = default in /etc/rc.d/named.= From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 09:01: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 DA4FA106566B for ; Fri, 8 Jul 2011 09:01: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 436408FC16 for ; Fri, 8 Jul 2011 09:01:49 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id p6891jLm081835 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 8 Jul 2011 10:01:45 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk p6891jLm081835 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1310115705; bh=60SPAgFcKACLs/YPYz6kQ/DuPbMbr102jy5+v3hLBIY=; 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<4E16C779.6000607@infracaninophile.co.uk>|Date:=20F ri,=2008=20Jul=202011=2010:01:45=20+0100|From:=20Matthew=20Seaman= 20|User-Agent:=20Mozilla/5.0=20(M acintosh=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20rv:5.0)=20Gecko/201 10624=20Thunderbird/5.0|MIME-Version:=201.0|To:=20freebsd-question s@freebsd.org|Subject:=20Re:=20DNS=20and=20file=20system=20messed= 20up...|References:=20<20110707180041.GA90387@thought.org>=20<2011 0708055837.GA21564@thought.org>=20|In-Reply-To:=20|X-Enigmail-Version:=201.2|OpenPGP:=20id=3D60AE908C|Co ntent-Type:=20multipart/signed=3B=20micalg=3Dpgp-sha1=3B=0D=0A=20p rotocol=3D"application/pgp-signature"=3B=0D=0A=20boundary=3D"----- -------enigF0EC9228353100C5462CFDCF"; b=D6+3mo2uH8U35MnH3BB+SZEZHUB/oIXNrfaCfSqv7pY7COymgOozbvNwPOn4KSZ+U SYYDCYK1m/KeabA7Y3+Jf/twiUdcDU+SQvU8kTPisZcqpRTHdok2vId8NgwuJNTD5a 7EA0uM6blzW/wHnlwmyy1z2XDqSIWMkFj7yDqY2c= Message-ID: <4E16C779.6000607@infracaninophile.co.uk> Date: Fri, 08 Jul 2011 10:01:45 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20110707180041.GA90387@thought.org> <20110708055837.GA21564@thought.org> In-Reply-To: X-Enigmail-Version: 1.2 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigF0EC9228353100C5462CFDCF" X-Virus-Scanned: clamav-milter 0.97 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Subject: Re: DNS and file system messed up... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Jul 2011 09:01:49 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigF0EC9228353100C5462CFDCF Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 08/07/2011 08:25, Doug Hardie wrote: > On 7 July 2011, at 22:58, Gary Kline wrote: >=20 >>> >> Jul 7 10:16:33 ethic named[54366]: none:0: open: /etc/named.conf:= file not found >>> >> Jul 7 10:17:56 ethic named[54371]: starting BIND 9.3.6-P1 -c /var= /named/etc/namedb/named.conf > The first one that fails is looking for /etc/named.conf. The second > one shows its in /var/named/etc/named/named.conf > Those are different locations. I suspect you have named_flags setup > in rc.conf pointing to /etc/namedb/named.conf rather than the right > location. Its also possible that its not set in rc.conf but defaults > in either the rc script or /etc/rc.d/named. On my system it appears > to default in /etc/rc.d/named. FreeBSD defaults to running named chrooted. /etc/namedb is actually a symbolic link: % ls -la /etc/namedb lrwxr-xr-x 1 root wheel 21 Jul 6 06:24 /etc/namedb@ -> /var/named/etc/namedb so the files referenced are in fact exactly the same file. However, the flags from the log extract don't look like the defaults to me. (I'm running the dns/bind98 port, and the equivalent info from the log line is '-t /var/named -u bind') Gary, what named related settings do you have in /etc/rc.conf? You almost certainly don't need anything more than: named_enable=3D"YES" and perhaps syslogd_flags=3D"-ss -l /var/named/var/run/log" so named can log to the system syslog. 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 --------------enigF0EC9228353100C5462CFDCF 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/ iEYEARECAAYFAk4Wx3kACgkQ8Mjk52CukIzqkwCfeROV89zopb3W193ReU/9XE9e dhEAnRkntFbpaJ1Gu0epnqx5+TjRDlga =2N11 -----END PGP SIGNATURE----- --------------enigF0EC9228353100C5462CFDCF-- From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 09:08: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 E25D71065670 for ; Fri, 8 Jul 2011 09:08:47 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 9DA8B8FC17 for ; Fri, 8 Jul 2011 09:08:47 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1Qf730-0005Qa-4N; Fri, 08 Jul 2011 10:08:40 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Qf72g-00043I-LX; Fri, 08 Jul 2011 10:08:10 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4) with ESMTP id p6898AbJ034632; Fri, 8 Jul 2011 10:08:10 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4/Submit) id p6898AHs034631; Fri, 8 Jul 2011 10:08:10 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Fri, 8 Jul 2011 10:08:10 +0100 From: Anton Shterenlikht To: Gary Gatten Message-ID: <20110708090810.GA34533@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: Gary Gatten , freebsd-questions@freebsd.org References: <20110707224435.GA27624@mech-cluster241.men.bris.ac.uk> <9104_1310079280_4E163930_9104_2159_1_D9B37353831173459FDAA836D3B43499C2309D2D@WADPMBXV0.waddell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <9104_1310079280_4E163930_9104_2159_1_D9B37353831173459FDAA836D3B43499C2309D2D@WADPMBXV0.waddell.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: tftp - bad checksum error? can't transfer file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Jul 2011 09:08:48 -0000 > ----- Original Message ----- > From: Anton Shterenlikht [mailto:mexas@bristol.ac.uk] > Sent: Thursday, July 07, 2011 05:44 PM > To: freebsd-questions@freebsd.org > Subject: tftp - bad checksum error? can't transfer file > > I'm trying to troubleshoot tftpd(8). > > % grep boot /etc/inetd.conf > tftp dgram udp wait root /usr/libexec/tftpd tftpd -dd -l -s /tftpboot > tftp dgram udp wait root /usr/libexec/tftpd tftpd -dd -l -s /tftpboot > bootps dgram udp wait root /usr/libexec/bootpd bootpd -d4 -t0 /etc/bootptab > % > > I'm trying to boot another node via bootp/tftp. > > I'm monitoring what's going on with tcpdump -vv. > > bootpd starts fine, and seems to read /etc/bootptab > correctly. > > But after that nothing happens, and after a few minutes > I get on the console of the host which I want to boot: > > > bootp()/bsd.rd.IP32 > Unable to execute bootp()/bsd.rd.IP32: invalid argument > > > > > Does this tcpdump fragment help to understand where > the problem is: > > 192.168.232.10.15388 > buzi.tftp: [no cksum] 25 RRQ "/bsd.rd.IP32" octet ( > o > 23:25:21.024160 IP (tos 0x0, ttl 64, id 56, offset 0, flags [none], proto UDP (1 > 7), length 30, bad cksum 0 (->293a)!) > buzi.19330 > 192.168.232.10.15388: [udp sum ok] UDP, length 2 > 23:25:51.013759 IP (tos 0x0, ttl 255, id 256, offset 0, flags [none], proto UDP > (17), length 53) > > I'm happy to provide more detailed information > on the settings I use and a longer tcpdump output, > if this helps. > On Thu, Jul 07, 2011 at 05:54:38PM -0500, Gary Gatten wrote: > >From my experience tcpdump is misleading re udp fragments and chksums. > If the packet gets fragmented, udp will report bad chksums at some point. > > Check your file names (case), perms, etc. > 90% of time I typo a name or forget to chmod the files; % ls -al /tftpboot/bsd.rd.IP32 -rwxrwxrwx 1 root wheel 9646005 Jul 7 21:02 /tftpboot/bsd.rd.IP32 % % cat /etc/bootptab o2:\ :ht=ether:\ :ha=0800690c0e3f:\ :sm=255.255.255.0:\ :ip=192.168.232.10:\ :td=/tftpboot:bf=bsd.rd.IP32: % Does this look ok? Many thanks Anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 10:05: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 350D3106566C for ; Fri, 8 Jul 2011 10:05:39 +0000 (UTC) (envelope-from cpghost@cordula.ws) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id EEFFE8FC1E for ; Fri, 8 Jul 2011 10:05:38 +0000 (UTC) Received: by vxg33 with SMTP id 33so1735715vxg.13 for ; Fri, 08 Jul 2011 03:05:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.24.74 with SMTP id s10mr2505496vdf.111.1310119537395; Fri, 08 Jul 2011 03:05:37 -0700 (PDT) Received: by 10.220.7.146 with HTTP; Fri, 8 Jul 2011 03:05:37 -0700 (PDT) X-Originating-IP: [93.221.178.105] In-Reply-To: <20110707224435.GA27624@mech-cluster241.men.bris.ac.uk> References: <20110707224435.GA27624@mech-cluster241.men.bris.ac.uk> Date: Fri, 8 Jul 2011 12:05:37 +0200 Message-ID: From: "C. P. Ghost" To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: tftp - bad checksum error? can't transfer file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Jul 2011 10:05:39 -0000 On Fri, Jul 8, 2011 at 12:44 AM, Anton Shterenlikht w= rote: > I'm trying to troubleshoot tftpd(8). (...) > =A0 =A0192.168.232.10.15388 > buzi.tftp: [no cksum] =A025 RRQ "/bsd.rd.IP= 32" octet ( > o > 23:25:21.024160 IP (tos 0x0, ttl 64, id 56, offset 0, flags [none], proto= UDP (1 > 7), length 30, bad cksum 0 (->293a)!) > =A0 =A0buzi.19330 > 192.168.232.10.15388: [udp sum ok] UDP, length 2 > 23:25:51.013759 IP (tos 0x0, ttl 255, id 256, offset 0, flags [none], pro= to UDP > (17), length 53) I've had some trouble netbooting / jumpstaring recently with a similar pattern (using RARP/BOOTP/TFTP/NFS). It turned out to be a dying port on the switch whose errors were masked by TCP in day to day use, but alas were too frequent for UDP. -cpghost. --=20 Cordula's Web. http://www.cordula.ws/ From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 10:14:09 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id B5740106566C; Fri, 8 Jul 2011 10:14:09 +0000 (UTC) Date: Fri, 8 Jul 2011 10:14:09 +0000 From: Alexander Best To: Tobias Rehbein Message-ID: <20110708101409.GA18776@freebsd.org> References: <20110707183318.GA4157@sushi.pseudo.local> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110707183318.GA4157@sushi.pseudo.local> Cc: freebsd-questions@freebsd.org Subject: Re: ncal(1) prints control sequences on stdout if stdout is not a tty X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Jul 2011 10:14:09 -0000 On Thu Jul 7 11, Tobias Rehbein wrote: > Hi list, > > being the maintainer of www/nanoblogger, which uses cal(1) to generate the blog > calendar, I noticed that ncal(1), and therefore cal(1), prints control sequences > to stdout in order to highlight the current date. This scrambles the calendar > generated by nanoblogger. > > I fixed this issue in the port but talking to one of the folks of our local unix > user group I was asked why I am not fixing this in ncal(1) as the sane behaviour > would be to omit control sequences if stdout is not a tty. Thinking about that I > decided to create a patch: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/158580 > > I just wanted to ask you fellow FreeBSD users what you think about this issue as > feedback in PRs tends to be slow. hi there, i've assigned your PR to Edwin Groothuis, who has been dealing with ncal(1) a lot lately. I think chances are pretty high he's going to commit your patch this month. cheers. alex > > Regards Tobias From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 11:00: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 E45271065781 for ; Fri, 8 Jul 2011 11:00:50 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 9DE0E8FC13 for ; Fri, 8 Jul 2011 11:00:50 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1Qf8nN-000625-Ca; Fri, 08 Jul 2011 12:00:39 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Qf8n0-0000se-1e; Fri, 08 Jul 2011 12:00:06 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4) with ESMTP id p68B05TL034967; Fri, 8 Jul 2011 12:00:05 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4/Submit) id p68B050b034966; Fri, 8 Jul 2011 12:00:05 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Fri, 8 Jul 2011 12:00:05 +0100 From: Anton Shterenlikht To: "C. P. Ghost" Message-ID: <20110708110005.GD34870@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: "C. P. Ghost" , freebsd-questions@freebsd.org References: <20110707224435.GA27624@mech-cluster241.men.bris.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-questions@freebsd.org Subject: Re: tftp - bad checksum error? can't transfer file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Jul 2011 11:00:51 -0000 On Fri, Jul 08, 2011 at 12:05:37PM +0200, C. P. Ghost wrote: > On Fri, Jul 8, 2011 at 12:44 AM, Anton Shterenlikht wrote: > > I'm trying to troubleshoot tftpd(8). > > (...) > > > ? ?192.168.232.10.15388 > buzi.tftp: [no cksum] ?25 RRQ "/bsd.rd.IP32" octet ( > > o > > 23:25:21.024160 IP (tos 0x0, ttl 64, id 56, offset 0, flags [none], proto UDP (1 > > 7), length 30, bad cksum 0 (->293a)!) > > ? ?buzi.19330 > 192.168.232.10.15388: [udp sum ok] UDP, length 2 > > 23:25:51.013759 IP (tos 0x0, ttl 255, id 256, offset 0, flags [none], proto UDP > > (17), length 53) > > I've had some trouble netbooting / jumpstaring recently with a similar > pattern (using RARP/BOOTP/TFTP/NFS). It turned out to be a dying > port on the switch whose errors were masked by TCP in day to day > use, but alas were too frequent for UDP. I just have a direct ethernet connection between my FreeBSD laptop with bootpd/tftpd servers (one ethernet port only) and a node which I want to boot (also a single ethernet port). Is there way for me to check whether either of these ports are "dying"? Any further diagnostics I can do? Many thanks Anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423 From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 11:19: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 05026106564A for ; Fri, 8 Jul 2011 11:19:06 +0000 (UTC) (envelope-from freebsd-questions@socruel.nu) Received: from irm.socruel.nu (irm.socruel.nu [80.127.130.248]) by mx1.freebsd.org (Postfix) with ESMTP id 7BA0A8FC16 for ; Fri, 8 Jul 2011 11:19:05 +0000 (UTC) Received: from irm.socruel.nu (irm.socruel.nu [127.0.0.1]) by irm.socruel.nu (Postfix) with ESMTP id 04235B842; Fri, 8 Jul 2011 13:00:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=socruel.nu; h= user-agent:message-id:references:in-reply-to:organization :subject:subject:to:from:from:date:date :content-transfer-encoding:content-type:content-type :mime-version; s=dkim; t=1310122826; x=1310986826; bh=hFglU8U+ay YYvuo7Mo5nVisCAsH3/MpF1NfNWh6H0XU=; b=WzQmLaebSjdZAgGtG2csTnfT04 GKgpokCuOlDe3rE2MaDp309V/rd7psNM8C4PnmOYCuV4AYJqBcUQkxwO/tE7kf58 otLJv1A15CG+m5vxtpOMKhDzrhmqru1nS9W/B46rAOPcRy4hcWk3Jc5QheX2x2Pl 1WaHAHi1njgqiwhHM= X-Virus-Scanned: amavisd-new at irm.socruel.nu Received: from irm.socruel.nu ([127.0.0.1]) by irm.socruel.nu (irm.socruel.nu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VktOdAR1H4i8; Fri, 8 Jul 2011 13:00:26 +0200 (CEST) Received: from irm.socruel.nu (irm.socruel.nu [127.0.0.1]) by irm.socruel.nu (Postfix) with ESMTPA id 3A8FCB841; Fri, 8 Jul 2011 13:00:24 +0200 (CEST) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 08 Jul 2011 13:00:24 +0200 From: "SoCruel.NU FreeBSD Questions Mailbox" To: Tim Daneliuk Organization: SoCruel.NU In-Reply-To: <4E1478C1.3020302@tundraware.com> References: <4E1478C1.3020302@tundraware.com> Message-ID: <80442ff8a0c0f582e6134bde1566a2e8@socruel.nu> X-Sender: freebsd-questions@socruel.nu User-Agent: RoundCube WebMail Cc: FreeBSD Mailing List Subject: Re: Perl Problem After Upgrade to 5.12.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Jul 2011 11:19:06 -0000 On Wed, 06 Jul 2011 10:01:21 -0500, Tim Daneliuk wrote: > Ideas anyone? > > I am trying to rebuild SpamAssassin after a perl upgrade to 5.12.4 > and > get this (I DID run perl-after-upgrade prior to this): > > ===> p5-Encode-Detect-1.01 depends on file: > /usr/local/lib/perl5/site_perl/5.12.4/Module/Build.pm - not found > ===> Verifying install for > /usr/local/lib/perl5/site_perl/5.12.4/Module/Build.pm in > /usr/ports/devel/p5-Module-Build > ===> License check disabled, port has not defined LICENSE > ===> Extracting for p5-Module-Build-0.3800_1 > => SHA256 Checksum OK for Module-Build-0.3800.tar.gz. > ===> p5-Module-Build-0.3800_1 depends on file: > /usr/local/bin/perl5.12.4 - found > ===> Patching for p5-Module-Build-0.3800_1 > ===> p5-Module-Build-0.3800_1 depends on file: > /usr/local/bin/perl5.12.4 - found > ===> p5-Module-Build-0.3800_1 depends on package: > p5-CPAN-Meta>=2.110420 - found > ===> p5-Module-Build-0.3800_1 depends on package: > p5-Module-Metadata>=1.000002 - found > ===> p5-Module-Build-0.3800_1 depends on package: > p5-Parse-CPAN-Meta>=1.44.01 - found > ===> p5-Module-Build-0.3800_1 depends on package: > p5-Perl-OSType>=1.000 - found > ===> p5-Module-Build-0.3800_1 depends on package: p5-version>=0.87 > - found > ===> p5-Module-Build-0.3800_1 depends on file: > /usr/local/bin/perl5.12.4 - found > ===> Configuring for p5-Module-Build-0.3800_1 > *** BOOTSTRAPPING Perl::OSType *** > *** BOOTSTRAPPING version *** > *** BOOTSTRAPPING Module::Metadata *** > Checking prerequisites... > requires: > ! CPAN::Meta is not installed > build_requires: > ! Parse::CPAN::Meta (1.40) is installed, but we need version >= > 1.4401 > > ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the > versions > of the modules indicated above before proceeding with this > installation > > Could not create MYMETA files > Creating new 'Build' script for 'Module-Build' version '0.3800' > Copied META.yml to MYMETA.yml for bootstrapping > > These additional prerequisites must be installed: > requires: > ! Perl::OSType (we need version 1.00) > ! version (we need version 0.87) > ! Module::Metadata (we need version 1.000002) > ===> Building for p5-Module-Build-0.3800_1 > Can't locate Perl/OSType.pm in @INC (@INC contains: t/lib t/bundled > lib /usr/local/lib/perl5/5.12.4/BSDPAN > /usr/local/lib/perl5/site_perl/5.12.4/mach > /usr/local/lib/perl5/site_perl/5.12.4 > /usr/local/lib/perl5/5.12.4/mach > /usr/local/lib/perl5/5.12.4 .) at lib/Module/Build.pm line 13. > BEGIN failed--compilation aborted at lib/Module/Build.pm line 13. > Compilation failed in require at Build line 42. > BEGIN failed--compilation aborted at Build line 42. > *** Error code 2 > > Stop in /usr1/ports/devel/p5-Module-Build. > *** Error code 1 > > Stop in /usr1/ports/converters/p5-Encode-Detect. > *** Error code 1 > > Stop in /usr1/ports/mail/p5-Mail-SpamAssassin. > *** Error code 1 > > Stop in /usr1/ports/mail/p5-Mail-SpamAssassi Hello Tim, list, I have the same problem on one of my boxes. Cannot upgrade p5-Module-Build-0.3800 port because of this. Cheers, Lars. From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 11:52: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 E1A13106566B for ; Fri, 8 Jul 2011 11:52:47 +0000 (UTC) (envelope-from jerry@seibercom.net) Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by mx1.freebsd.org (Postfix) with ESMTP id 96BB18FC0C for ; Fri, 8 Jul 2011 11:52:47 +0000 (UTC) Received: by gyf3 with SMTP id 3so930503gyf.13 for ; Fri, 08 Jul 2011 04:52:47 -0700 (PDT) Received: by 10.236.200.200 with SMTP id z48mr2124626yhn.261.1310125966872; Fri, 08 Jul 2011 04:52:46 -0700 (PDT) Received: from scorpio.seibercom.net (twdp-174-109-142-001.nc.res.rr.com [174.109.142.1]) by mx.google.com with ESMTPS id k8sm971934yhm.59.2011.07.08.04.52.45 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 08 Jul 2011 04:52:46 -0700 (PDT) Received: from scorpio (zeus [192.168.1.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3R9Z243SDHz2CG44 for ; Fri, 8 Jul 2011 07:52:44 -0400 (EDT) Date: Fri, 8 Jul 2011 07:52:43 -0400 From: Jerry To: FreeBSD Message-ID: <20110708075243.5493e0b1@scorpio> In-Reply-To: <80442ff8a0c0f582e6134bde1566a2e8@socruel.nu> References: <4E1478C1.3020302@tundraware.com> <80442ff8a0c0f582e6134bde1566a2e8@socruel.nu> Organization: seibercom.net X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.1; amd64-portbld-freebsd8.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: Perl Problem After Upgrade to 5.12.4 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: Fri, 08 Jul 2011 11:52:48 -0000 On Fri, 08 Jul 2011 13:00:24 +0200 SoCruel.NU FreeBSD Questions Mailbox articulated: > On Wed, 06 Jul 2011 10:01:21 -0500, Tim Daneliuk wrote: > > Ideas anyone? > > > > I am trying to rebuild SpamAssassin after a perl upgrade to 5.12.4 > > and > > get this (I DID run perl-after-upgrade prior to this): > > > > ===> p5-Encode-Detect-1.01 depends on file: > > /usr/local/lib/perl5/site_perl/5.12.4/Module/Build.pm - not found > > ===> Verifying install for > > /usr/local/lib/perl5/site_perl/5.12.4/Module/Build.pm in > > /usr/ports/devel/p5-Module-Build > > ===> License check disabled, port has not defined LICENSE > > ===> Extracting for p5-Module-Build-0.3800_1 > > => SHA256 Checksum OK for Module-Build-0.3800.tar.gz. > > ===> p5-Module-Build-0.3800_1 depends on file: > > /usr/local/bin/perl5.12.4 - found > > ===> Patching for p5-Module-Build-0.3800_1 > > ===> p5-Module-Build-0.3800_1 depends on file: > > /usr/local/bin/perl5.12.4 - found > > ===> p5-Module-Build-0.3800_1 depends on package: > > p5-CPAN-Meta>=2.110420 - found > > ===> p5-Module-Build-0.3800_1 depends on package: > > p5-Module-Metadata>=1.000002 - found > > ===> p5-Module-Build-0.3800_1 depends on package: > > p5-Parse-CPAN-Meta>=1.44.01 - found > > ===> p5-Module-Build-0.3800_1 depends on package: > > p5-Perl-OSType>=1.000 - found > > ===> p5-Module-Build-0.3800_1 depends on package: > > p5-version>=0.87 > > - found > > ===> p5-Module-Build-0.3800_1 depends on file: > > /usr/local/bin/perl5.12.4 - found > > ===> Configuring for p5-Module-Build-0.3800_1 > > *** BOOTSTRAPPING Perl::OSType *** > > *** BOOTSTRAPPING version *** > > *** BOOTSTRAPPING Module::Metadata *** > > Checking prerequisites... > > requires: > > ! CPAN::Meta is not installed > > build_requires: > > ! Parse::CPAN::Meta (1.40) is installed, but we need version > > >= 1.4401 > > > > ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install > > the versions > > of the modules indicated above before proceeding with this > > installation > > > > Could not create MYMETA files > > Creating new 'Build' script for 'Module-Build' version '0.3800' > > Copied META.yml to MYMETA.yml for bootstrapping > > > > These additional prerequisites must be installed: > > requires: > > ! Perl::OSType (we need version 1.00) > > ! version (we need version 0.87) > > ! Module::Metadata (we need version 1.000002) > > ===> Building for p5-Module-Build-0.3800_1 > > Can't locate Perl/OSType.pm in @INC (@INC contains: t/lib t/bundled > > lib /usr/local/lib/perl5/5.12.4/BSDPAN > > /usr/local/lib/perl5/site_perl/5.12.4/mach > > /usr/local/lib/perl5/site_perl/5.12.4 > > /usr/local/lib/perl5/5.12.4/mach > > /usr/local/lib/perl5/5.12.4 .) at lib/Module/Build.pm line 13. > > BEGIN failed--compilation aborted at lib/Module/Build.pm line 13. > > Compilation failed in require at Build line 42. > > BEGIN failed--compilation aborted at Build line 42. > > *** Error code 2 > > > > Stop in /usr1/ports/devel/p5-Module-Build. > > *** Error code 1 > > > > Stop in /usr1/ports/converters/p5-Encode-Detect. > > *** Error code 1 > > > > Stop in /usr1/ports/mail/p5-Mail-SpamAssassin. > > *** Error code 1 > > > > Stop in /usr1/ports/mail/p5-Mail-SpamAssassi > > Hello Tim, list, > > I have the same problem on one of my boxes. Cannot upgrade > p5-Module-Build-0.3800 port because of this. Has anyone filed a PR against this problem? -- Jerry ✌ jerry+fbsd@seibercom.net Disclaimer: off-list followups get on-list replies or ignored. Do not CC this poster. Please do not ignore the "Reply-To" header. http://www.catb.org/~esr/faqs/smart-questions.html From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 12:12: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 C7246106566B for ; Fri, 8 Jul 2011 12:12:34 +0000 (UTC) (envelope-from mktg@strategicinfomark.com) Received: from mail01-a.dakghar.in (mail01-a.dakghar.in [96.31.69.117]) by mx1.freebsd.org (Postfix) with ESMTP id 8D49E8FC0C for ; Fri, 8 Jul 2011 12:12:34 +0000 (UTC) Received: from PrashantPC [122.102.122.35] by mail01-a.dakghar.in with ESMTP (SMTPD-8.22) id A1AE04C8; Fri, 08 Jul 2011 17:31:50 +0530 From: "Marketing" To: "freebsd-questions@freebsd.org" Date: Fri, 08 Jul 2011 17:29:19 +0530 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: X-Antivirus: avast! (VPS 110708-0, 07/08/2011), Outbound message X-Antivirus-Status: Clean Subject: School Management Software (School ERP) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mktg@ngplweb.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jul 2011 12:12:34 -0000 Hello Sir/Madam,=0D=0A=0D=0AGreetings,=0D=0A=0D=0AI am Amrish Patel from = NGPL(Nem=2ECon Grandeur Pvt=2E Ltd=2E),Ahmedabad, India=2E=0D=0A=0D=0ABas= ically we are in development field since year 2001=2E=0D=0A=0D=0AWe offer= the complete set of web development services from requirement specificat= ions to prototyping, copy writing, graphic design and development=2E=0D=0A= =0D=0AWe also offer custom software programming services, from software d= evelopment to support and enhancement=2EWe have also our ready to use sof= tware like School Management, Document Management, Appointment Scheduler,= Complaint Management Software, Farming ERP, Hospital Management Software= , Booking Scheduler etc=2E=0D=0A=0D=0AThe prime features of our School Ma= nagement Software are as under=2E=0D=0A=0D=0AAdministrative Module=0D=0A=0D= =0AOther Module: =0D=0A=0D=0A1=2E Notice Board =0D=0A2=2E SMS Module: Jus= t to keep the parents update about their child status ESM provide the SMS= service where admin can send the information like the scheduled meeting = or exam result etc=2E to the parents=2E =0D=0A3=2E Backup: Backup of the = database as and when required=2E =0D=0A4=2E Permission: Create users and = assign different level of access permission=2E =0D=0A5=2E Change Password= : User can change the password=2E =0D=0A6=2E Mail: Internal mailing syst= em where teachers can communicate with the admin=2E=0D=0A=0D=0ATeacher Mo= dule=0D=0A=0D=0A=2E One of the key stakeholders is the Teacher and we giv= e the teacher a new media of interaction with the Student=2E ESMS simplif= ies laborious and routine functions by automating pertinent data collecti= on, generation and management=2E=0D=0A=2E Profile: The Teacher can view h= is/her profile=0D=0A=2E Attendance: The module enables the Teacher to vie= w status of attendance as well as generate attendance reports for Student= s=0D=0A=2E Time Table: A unique media that allows you to view and edit th= e class timetable and disseminate the information to the stakeholders in = Real time=0D=0A=2E Library: Teacher can search the database and reserve a= book online=0D=0A=2E Leave Status: Teacher can view Leave status as well= as submit leave requests online=0D=0A=2E Salary: Teacher can view his/he= r salary details=0D=0A=2E Mail: Teacher can mail to Principal, Vice-Princ= ipal and Head Master=0D=0A=2E Assignment: Teacher can submit assignments = and review completed assignments by students=0D=0A=2E Exam Schedule: Teac= her can upload and view Examination Schedules=0D=0A=2E Progress Report: T= he cumbersome process of recording marks in ledgers is done away with=2E = With the use of navigational aids such as graphical icons, the Teacher ca= n easily update and generate Progress Reports=0D=0A=2E Search Student: Te= acher can view relevant Student details=0D=0A=2E Feedback: The Teacher no= w has a timesaving media for constantly updating Parents and students as = well as sending mail or receiving feedback from other key stakeholders=0D= =0A=2E Leave Application: The Teacher can Submit Leave Application to the= Administrator online=0D=0A=0D=0AStudent Module=0D=0A=0D=0A=2E We live in= the Information Age where computers have become inevitable in educationa= l institution, with more than 90=25 of students being computer savvy=2E=0D= =0A=2E Profile: The Student can view his/her profile, Class Time Tables, = attendance record, check examination schedules, see test scores and acces= s subject syllabus=0D=0A=2E Homework and Assignments: Using ESM, Students= have a new platform to increase their knowledge base as well as receive = and submit assignments=0D=0A=2E Leave application: The student can submit= leave applications online=2E=0D=0A=2E Feedback: Students can keep channe= ls of communication open with the administrator and teaching faculty and = can give and receive feedback=0D=0A=2E Transport: Students can access det= ails regarding bus routes, bus timings and bus fares=0D=0A=2E Hostel: Stu= dents can get online information about hostel details such as room availa= bility and booking, mess details and other facilities offered=0D=0A=2E Pr= ogress Reports: Students can access their performance scores and print Pr= ogress Reports=0D=0A=2E Library: Students can access Library records for = availability of books as well as reserve a book online=0D=0A=2E Fee struc= ture: Students can view fee structure and payment schedules=2E=0D=0A=0D=0A= Technology:=0D=0A=0D=0AFront End: PHP=0D=0ABack End Database: MySQL=0D=0A= =0D=0AYou can have the demo of our software on www=2Engplarena=2Ecom/demo= /newschool1=0D=0A=0D=0AFor Admin=0D=0A=0D=0AUser Name :admin=0D=0APasswor= d : winadminwin=0D=0A=0D=0AFor Teachers=0D=0A=0D=0AUser name : ramya =0D=0A= Password : ramya=0D=0A=0D=0AFor Students =0D=0A=0D=0AUser Name : diya2005= =0D=0APassword : diya2005=0D=0A=0D=0APlease feel free to contact us for a= ny further query =0D=0A=0D=0AAwaiting for your favorable reply=2E=0D=0A=0D= =0AThanking you,=0D=0A=0D=0AFor NGPL,=0D=0AAmrish Patel=0D=0A(Business De= velopment)=0D=0A(M)9824523645 From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 12:24: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 2EC371065675 for ; Fri, 8 Jul 2011 12:24:46 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id E12628FC20 for ; Fri, 8 Jul 2011 12:24:45 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.4/8.14.4) with ESMTP id p68COTaT030553; Fri, 8 Jul 2011 06:24:29 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.4/8.14.4/Submit) with ESMTP id p68COTOT030550; Fri, 8 Jul 2011 06:24:29 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 8 Jul 2011 06:24:29 -0600 (MDT) From: Warren Block To: Anton Shterenlikht In-Reply-To: <20110707224435.GA27624@mech-cluster241.men.bris.ac.uk> Message-ID: References: <20110707224435.GA27624@mech-cluster241.men.bris.ac.uk> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Fri, 08 Jul 2011 06:24:29 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: tftp - bad checksum error? can't transfer file X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Jul 2011 12:24:46 -0000 On Thu, 7 Jul 2011, Anton Shterenlikht wrote: > I'm trying to troubleshoot tftpd(8). > > % grep boot /etc/inetd.conf > tftp dgram udp wait root /usr/libexec/tftpd tftpd -dd -l -s /tftpboot > tftp dgram udp wait root /usr/libexec/tftpd tftpd -dd -l -s /tftpboot > bootps dgram udp wait root /usr/libexec/bootpd bootpd -d4 -t0 /etc/bootptab > % > > I'm trying to boot another node via bootp/tftp. > > I'm monitoring what's going on with tcpdump -vv. > > bootpd starts fine, and seems to read /etc/bootptab > correctly. > > But after that nothing happens, and after a few minutes > I get on the console of the host which I want to boot: > >> bootp()/bsd.rd.IP32 > Unable to execute bootp()/bsd.rd.IP32: invalid argument How big is bsd.rd.IP32? Does the BUGS section of tftpd(8) apply? If so, try ftp/tftp-hpa. It's faster, too, AFAIR. From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 13:13: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 5FAC81065670 for ; Fri, 8 Jul 2011 13:13:05 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id 2F72E8FC19 for ; Fri, 8 Jul 2011 13:13:04 +0000 (UTC) Received: from [0.0.0.0] (ozzie.tundraware.com [75.145.138.73]) (authenticated bits=0) by ozzie.tundraware.com (8.14.5/8.14.5) with ESMTP id p68DCGMq092269 (version=TLSv1/SSLv3 cipher=DHE-DSS-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 8 Jul 2011 08:12:16 -0500 (CDT) (envelope-from tundra@tundraware.com) Message-ID: <4E170230.1070901@tundraware.com> Date: Fri, 08 Jul 2011 08:12:16 -0500 From: Tim Daneliuk Organization: TundraWare Inc. User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: FreeBSD References: <4E1478C1.3020302@tundraware.com> <80442ff8a0c0f582e6134bde1566a2e8@socruel.nu> <20110708075243.5493e0b1@scorpio> In-Reply-To: <20110708075243.5493e0b1@scorpio> X-Enigmail-Version: 1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (ozzie.tundraware.com [75.145.138.73]); Fri, 08 Jul 2011 08:12:16 -0500 (CDT) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: p68DCGMq092269 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No Subject: Re: Perl Problem After Upgrade to 5.12.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Jul 2011 13:13:05 -0000 On 7/8/2011 6:52 AM, Jerry said this: > On Fri, 08 Jul 2011 13:00:24 +0200 > SoCruel.NU FreeBSD Questions Mailbox articulated: > >> On Wed, 06 Jul 2011 10:01:21 -0500, Tim Daneliuk wrote: >>> Ideas anyone? >>> >>> I am trying to rebuild SpamAssassin after a perl upgrade to 5.12.4 >>> and >>> get this (I DID run perl-after-upgrade prior to this): >>> >>> ===> p5-Encode-Detect-1.01 depends on file: >>> /usr/local/lib/perl5/site_perl/5.12.4/Module/Build.pm - not found >>> ===> Verifying install for >>> /usr/local/lib/perl5/site_perl/5.12.4/Module/Build.pm in >>> /usr/ports/devel/p5-Module-Build >>> ===> License check disabled, port has not defined LICENSE >>> ===> Extracting for p5-Module-Build-0.3800_1 >>> => SHA256 Checksum OK for Module-Build-0.3800.tar.gz. >>> ===> p5-Module-Build-0.3800_1 depends on file: >>> /usr/local/bin/perl5.12.4 - found >>> ===> Patching for p5-Module-Build-0.3800_1 >>> ===> p5-Module-Build-0.3800_1 depends on file: >>> /usr/local/bin/perl5.12.4 - found >>> ===> p5-Module-Build-0.3800_1 depends on package: >>> p5-CPAN-Meta>=2.110420 - found >>> ===> p5-Module-Build-0.3800_1 depends on package: >>> p5-Module-Metadata>=1.000002 - found >>> ===> p5-Module-Build-0.3800_1 depends on package: >>> p5-Parse-CPAN-Meta>=1.44.01 - found >>> ===> p5-Module-Build-0.3800_1 depends on package: >>> p5-Perl-OSType>=1.000 - found >>> ===> p5-Module-Build-0.3800_1 depends on package: >>> p5-version>=0.87 >>> - found >>> ===> p5-Module-Build-0.3800_1 depends on file: >>> /usr/local/bin/perl5.12.4 - found >>> ===> Configuring for p5-Module-Build-0.3800_1 >>> *** BOOTSTRAPPING Perl::OSType *** >>> *** BOOTSTRAPPING version *** >>> *** BOOTSTRAPPING Module::Metadata *** >>> Checking prerequisites... >>> requires: >>> ! CPAN::Meta is not installed >>> build_requires: >>> ! Parse::CPAN::Meta (1.40) is installed, but we need version >>>> = 1.4401 >>> >>> ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install >>> the versions >>> of the modules indicated above before proceeding with this >>> installation >>> >>> Could not create MYMETA files >>> Creating new 'Build' script for 'Module-Build' version '0.3800' >>> Copied META.yml to MYMETA.yml for bootstrapping >>> >>> These additional prerequisites must be installed: >>> requires: >>> ! Perl::OSType (we need version 1.00) >>> ! version (we need version 0.87) >>> ! Module::Metadata (we need version 1.000002) >>> ===> Building for p5-Module-Build-0.3800_1 >>> Can't locate Perl/OSType.pm in @INC (@INC contains: t/lib t/bundled >>> lib /usr/local/lib/perl5/5.12.4/BSDPAN >>> /usr/local/lib/perl5/site_perl/5.12.4/mach >>> /usr/local/lib/perl5/site_perl/5.12.4 >>> /usr/local/lib/perl5/5.12.4/mach >>> /usr/local/lib/perl5/5.12.4 .) at lib/Module/Build.pm line 13. >>> BEGIN failed--compilation aborted at lib/Module/Build.pm line 13. >>> Compilation failed in require at Build line 42. >>> BEGIN failed--compilation aborted at Build line 42. >>> *** Error code 2 >>> >>> Stop in /usr1/ports/devel/p5-Module-Build. >>> *** Error code 1 >>> >>> Stop in /usr1/ports/converters/p5-Encode-Detect. >>> *** Error code 1 >>> >>> Stop in /usr1/ports/mail/p5-Mail-SpamAssassin. >>> *** Error code 1 >>> >>> Stop in /usr1/ports/mail/p5-Mail-SpamAssassi >> >> Hello Tim, list, >> >> I have the same problem on one of my boxes. Cannot upgrade >> p5-Module-Build-0.3800 port because of this. > > Has anyone filed a PR against this problem? > I was able to work around this by: 1) Uninstalling spamassassin and perl 5.12 2) Upgrading to perl 5.14 3) Running perl-after-upgrade 4) Reinstalling spamassassin I still cannot build remmina. There seems to be some hocus pocus having to do with missing dependent perl XML parser libs. Sigh. I can't wait until the planet either: a) Migrates 100% to python or b) Learns to do batteries included packaging like python. -- ------------------------------------------------------------------------ Tim Daneliuk tundra@tundraware.com From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 13:39: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 440171065675 for ; Fri, 8 Jul 2011 13:39:29 +0000 (UTC) (envelope-from jerry@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 EBEE18FC12 for ; Fri, 8 Jul 2011 13:39:28 +0000 (UTC) Received: by yxl31 with SMTP id 31so980442yxl.13 for ; Fri, 08 Jul 2011 06:39:28 -0700 (PDT) Received: by 10.150.60.1 with SMTP id i1mr1993149yba.58.1310132367158; Fri, 08 Jul 2011 06:39:27 -0700 (PDT) Received: from scorpio.seibercom.net (twdp-174-109-142-001.nc.res.rr.com [174.109.142.1]) by mx.google.com with ESMTPS id e24sm1551922yhk.51.2011.07.08.06.39.25 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 08 Jul 2011 06:39:26 -0700 (PDT) Received: from scorpio (zeus [192.168.1.1]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: jerry@scorpio.seibercom.net) by scorpio.seibercom.net (Postfix) with ESMTPSA id 3R9cP85Mc1z2CG44 for ; Fri, 8 Jul 2011 09:39:24 -0400 (EDT) Date: Fri, 8 Jul 2011 09:39:24 -0400 From: Jerry To: FreeBSD Message-ID: <20110708093924.51ce6916@scorpio> In-Reply-To: <4E170230.1070901@tundraware.com> References: <4E1478C1.3020302@tundraware.com> <80442ff8a0c0f582e6134bde1566a2e8@socruel.nu> <20110708075243.5493e0b1@scorpio> <4E170230.1070901@tundraware.com> Organization: seibercom.net X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.1; amd64-portbld-freebsd8.2) Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUAAABYRlwJCw4FAgAIBwKprDkBAQFQLR0BAgCir7VRttp8AAACAUlEQVQ4jZWUTYvbMBCGTVl8V2hX6Gg5G5FbWQdBj0lEfE7BhN4cyzi5Wt1E5L70roWy6N92xok/skkP+5IYrMcz78xIduDWpNM3vFzuA/jX5EY1AI6KHFwW/CzFuQAwqUBbV12p+CzIh6Awq7sg33pn5D64SQXAexffeuQlA/L35RrkaB551OjGfP/cAO8mCNaDcgvfky5ijoD0pAXlCQCnljiAjsJD9Ax05Ko5sZxbnLQcmM+dZg5IjREfZrWIHK0JuwU68pAGwHvfRxBundRzTxxz3r9dNUikPsEihjz2Dc4kjp1hKsJGuot4EDxaxzMoC7XqhxhOSfZrTS6gSX1JVdjp+o1PvWfekXgw3WL0g70nDEwA0H0HQsEZc8sTmFMTkWUfYWC/vdR1zQy3xLQgLwzu90QnlnFLjeiGWBjwhb4Sa42IqOg2qqS4O1/zhKokFUb1Q8Rj4Eb69WVflXEehJ35DgChVTE5n50eaGyMLOfH8AOodoSM4PVYAQgQdBulOa+knklYks3vAuQ+uX492lTl+A+e8qBV2AKoXalVKFfyuUp0pUp1ARaUHh82lv9MN+Ig7CZtgE6FNYvjlywT2VP2dMgOG46gTIWcqdfvuwyXNz0oMJNd/N5lh1YNiJt19ADTUo3VuFSNeQwVqRSrGjSCp53fk2g+Mvfk/gfoPxHeUS8MH9vRAAAAAElFTkSuQmCC Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: Perl Problem After Upgrade to 5.12.4 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: Fri, 08 Jul 2011 13:39:29 -0000 On Fri, 08 Jul 2011 08:12:16 -0500 Tim Daneliuk articulated: > I was able to work around this by: > > 1) Uninstalling spamassassin and perl 5.12 > 2) Upgrading to perl 5.14 > 3) Running perl-after-upgrade > 4) Reinstalling spamassassin That is not exactly the method prescribed in UPDATING: 20110517: AFFECTS: users of lang/perl* AUTHOR: skv@FreeBSD.org lang/perl5.14 is out. If you want to switch to it from, for example lang/perl5.12, that is: Portupgrade users: 0) Fix pkgdb.db (for safety): pkgdb -Ff 1) Reinstall new version of Perl (5.14): env DISABLE_CONFLICTS=1 portupgrade -o lang/perl5.14 -f perl-5.12.\* 2) Reinstall everything that depends on Perl: portupgrade -fr perl Portmaster users: portmaster -o lang/perl5.14 lang/perl5.12 Conservative: portmaster p5- Comprehensive (but perhaps overkill): portmaster -r perl- Note: If the "perl-" glob matches more than one port you will need to specify the name of the Perl directory in /var/db/pkg explicitly. I used the "portupgrade" method without incident. From what I have been told, "perl-after-upgrade" != "env DISABLE_CONFLICTS=1 portupgrade -o lang/perl5.14 -f perl-5.12.\*" As always, YMMV! -- Jerry ✌ jerry+fbsd@seibercom.net Disclaimer: off-list followups get on-list replies or ignored. Do not CC this poster. Please do not ignore the "Reply-To" header. http://www.catb.org/~esr/faqs/smart-questions.html From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 14:03: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 445C71065670 for ; Fri, 8 Jul 2011 14:03:15 +0000 (UTC) (envelope-from dan@buildingonline.com) Received: from capistrano.beach.net (ns.beach.net [12.130.64.129]) by mx1.freebsd.org (Postfix) with ESMTP id 1055D8FC0A for ; Fri, 8 Jul 2011 14:03:14 +0000 (UTC) Received: from [192.168.1.227] (host114.beach.net [206.127.77.114]) by capistrano.beach.net (8.14.3/8.14.3) with ESMTP id p68DRC4I098875 for ; Fri, 8 Jul 2011 06:27:13 -0700 (PDT) (envelope-from dan@buildingonline.com) Mime-Version: 1.0 (Apple Message framework v753.1) In-Reply-To: <4E16C779.6000607@infracaninophile.co.uk> References: <20110707180041.GA90387@thought.org> <20110708055837.GA21564@thought.org> <4E16C779.6000607@infracaninophile.co.uk> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <2A8AFE06-FC2C-4FCC-A4B1-4FEE8689E958@buildingonline.com> Content-Transfer-Encoding: 7bit From: Dan Busarow Date: Fri, 8 Jul 2011 07:27:12 -0600 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.753.1) Subject: Re: DNS and file system messed up... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Jul 2011 14:03:15 -0000 On Jul 8, 2011, at 3:01 AM, Matthew Seaman wrote: > On 08/07/2011 08:25, Doug Hardie wrote: >> On 7 July 2011, at 22:58, Gary Kline wrote: >> >>>>>> Jul 7 10:16:33 ethic named[54366]: none:0: open: /etc/ >>>>>> named.conf: file not found >>>>>> Jul 7 10:17:56 ethic named[54371]: starting BIND 9.3.6-P1 -c / >>>>>> var/named/etc/namedb/named.conf > >> The first one that fails is looking for /etc/named.conf. The second >> one shows its in /var/named/etc/named/named.conf > >> Those are different locations. I suspect you have named_flags setup >> in rc.conf pointing to /etc/namedb/named.conf rather than the right >> location. Its also possible that its not set in rc.conf but defaults >> in either the rc script or /etc/rc.d/named. On my system it appears >> to default in /etc/rc.d/named. > > FreeBSD defaults to running named chrooted. /etc/namedb is actually a > symbolic link: > > % ls -la /etc/namedb > lrwxr-xr-x 1 root wheel 21 Jul 6 06:24 /etc/namedb@ -> > /var/named/etc/namedb > > so the files referenced are in fact exactly the same file. Actually /etc/named.conf is NOT the same as /etc/namedb/named.conf ergo it is not the same as /var/named/etc/ namedb/named.conf Gary, add named_flags="-c /etc/namedb/named.conf" to /etc/rc.conf. Or change /etc/namedb/named.conf to the /var version if you like/there is no symlink. Dan > However, the > flags from the log extract don't look like the defaults to me. (I'm > running the dns/bind98 port, and the equivalent info from the log line > is '-t /var/named -u bind') > > Gary, what named related settings do you have in /etc/rc.conf? You > almost certainly don't need anything more than: > > named_enable="YES" > > and perhaps > > syslogd_flags="-ss -l /var/named/var/run/log" > > so named can log to the system syslog. > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > JID: matthew@infracaninophile.co.uk Kent, CT11 9PW > From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 14:26: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 6BB361065674 for ; Fri, 8 Jul 2011 14:26:57 +0000 (UTC) (envelope-from f.bonnet@esiee.fr) Received: from hp9.esiee.fr (hp9.esiee.fr [147.215.1.4]) by mx1.freebsd.org (Postfix) with ESMTP id 26CD68FC0C for ; Fri, 8 Jul 2011 14:26:57 +0000 (UTC) Received: from mail.esiee.fr (mail.esiee.fr [147.215.1.3]) by hp9.esiee.fr (Postfix) with ESMTP id 789DA14E9787 for ; Fri, 8 Jul 2011 16:25:15 +0200 (CEST) X-DKIM: OpenDKIM Filter v2.4.1 hp9.esiee.fr 789DA14E9787 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=esiee.fr; s=MAILOUT; t=1310135115; bh=voVx6sEZoMjSJuACn/CM9qZfxzYWsC05UHjWrOhFgG0=; h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type: Content-Transfer-Encoding; b=c2d118VIslsx0I8MM7HsIGcBfDBZ1UXw1IiAa6ZQGjshJHook7AL0C2KmvJYAgASD 61qcMy/48dE0PQo85bhZfA8M//yqOBMomFPqn2O+BQeLcyvOo4KiUXhj+TOgQ0Gj74 tUE2koDZi0C7I+chJcqnT9Ez2C5MJvTSXmGgYHD0= Received: from mail.esiee.fr (localhost [127.0.0.1]) by VAMS.dummy (Postfix) with SMTP id C96233C3CB6 for ; Fri, 8 Jul 2011 16:25:29 +0200 (CEST) Received: from [147.215.1.21] (lisa.esiee.fr [147.215.1.21]) by mail.esiee.fr (Postfix) with ESMTP id 896623C3AAC for ; Fri, 8 Jul 2011 16:25:29 +0200 (CEST) Message-ID: <4E1713AF.7000806@esiee.fr> Date: Fri, 08 Jul 2011 16:26:55 +0200 From: Frank Bonnet User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: FreeBSD Mailing List Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: import users from LDAP to local password file (pwd.db) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Jul 2011 14:26:57 -0000 Hello I need to import the necessary users's data from an OpenLDAP directory server to put them in the local password files , anyone has done this before ? The machine use nss_ldap and pam_ldap to authenticate users but for robustness during the holidays I would like to have a local password file on this machine which is our mailhub. The OpenLDAP server runs on another machine and if it fails during holidays I want my mailhub to be standalone for authentication in order to let email service running even the directory server crash. Thanks From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 14:41: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 C0795106566B for ; Fri, 8 Jul 2011 14:41:23 +0000 (UTC) (envelope-from SADM-IT_Officer@HollandAmerica.com) Received: from mail02.halw.com (mail02.halw.com [199.245.127.26]) by mx1.freebsd.org (Postfix) with ESMTP id 9E1B08FC15 for ; Fri, 8 Jul 2011 14:41:23 +0000 (UTC) Received: from HALPCAS2.flagship.hal.com (unknown [10.194.46.154]) by mail02.halw.com (Postfix) with ESMTP id B5B9D38867 for ; Fri, 8 Jul 2011 07:23:45 -0700 (PDT) Received: from StatendamEx01.STDMDOMAIN.hal.com (10.9.64.25) by HALPCAS2.flagship.hal.com (10.194.46.154) with Microsoft SMTP Server (TLS) id 8.3.106.1; Fri, 8 Jul 2011 07:23:46 -0700 Received: from StatendamEx01.STDMDOMAIN.hal.com ([fe80::55da:47c:57de:cd2]) by StatendamEx01.STDMDOMAIN.hal.com ([fe80::55da:47c:57de:cd2%14]) with mapi; Fri, 8 Jul 2011 06:23:34 -0800 From: "SADM-IT Officer (HAL)" To: "'freebsd-questions@FreeBSD.org'" Date: Fri, 8 Jul 2011 06:23:33 -0800 Thread-Topic: Just a quick note/correction for whomever edits the web page: Thread-Index: Acw9ep4mqJZb8e5FTPa3JUxdOCN3AQ== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US MIME-Version: 1.0 X-Mailman-Approved-At: Fri, 08 Jul 2011 14:44:09 +0000 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Just a quick note/correction for whomever edits the web page: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Jul 2011 14:41:23 -0000 On the installation pages describing the process to make a USB installation= , you reference downloading win32-image-writer for making a USB from Window= s. Your link points to http://launchpad.net/win32-image-writer/, which is a= ctually (or is now) https://launchpad.net/win32-image-writer/. I'm not sure= why it would change to HTTPS, but I thought it might be worth changing on = the web site. :) Cheers, __________ Scott Lucas IT Officer, m.s. Statendam Holland America Line 300 Elliot Avenue West, Seattle, WA 98119 From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 14:57: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 884B7106566B for ; Fri, 8 Jul 2011 14:57:29 +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 F2F648FC15 for ; Fri, 8 Jul 2011 14:57:28 +0000 (UTC) Received: from park.js.berklix.net (p5DCBE5C2.dip.t-dialin.net [93.203.229.194]) (authenticated bits=0) by tower.berklix.org (8.14.2/8.14.2) with ESMTP id p68EvR7O022303; Fri, 8 Jul 2011 14:57:27 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 p68EvLhx089054; Fri, 8 Jul 2011 16:57:21 +0200 (CEST) (envelope-from jhs@berklix.com) Received: from fire.js.berklix.net (localhost [127.0.0.1]) by fire.js.berklix.net (8.14.4/8.14.4) with ESMTP id p68EvAWH021403; Fri, 8 Jul 2011 14:57:16 GMT (envelope-from jhs@fire.js.berklix.net) Message-Id: <201107081457.p68EvAWH021403@fire.js.berklix.net> To: "SADM-IT Officer (HAL)" 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 "Fri, 08 Jul 2011 06:23:33 -0800." Date: Fri, 08 Jul 2011 16:57:10 +0200 Sender: jhs@berklix.com Cc: "'freebsd-questions@FreeBSD.org'" Subject: Re: Just a quick note/correction for whomever edits the web page: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Jul 2011 14:57:29 -0000 Hi, Reference: > From: "SADM-IT Officer (HAL)" > Date: Fri, 8 Jul 2011 06:23:33 -0800 > Message-id: "SADM-IT Officer (HAL)" wrote: > On the installation pages describing the process to make a USB installation, you reference downloading win32-image-writer for making a USB from Windows. Your link points to http://launchpad.net/win32-image-writer/, which is actually (or is now) https://launchpad.net/win32-image-writer/. I'm not sure why it would change to HTTPS, but I thought it might be worth changing on the web site. :) > > > > Cheers, > __________ > > Scott Lucas > IT Officer, m.s. Statendam > Holland America Line > 300 Elliot Avenue West, Seattle, WA 98119 > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Hi, Nice of you to try to file a bug report, but writing to this list will not get it fixed, as you'r just writing to list Please: 1 give precise web ref = URL of bug you refer to 2 choose correct list to write to (if you even need a list) Look at list of mail lists http://lists.freebsd.org/mailman/listinfo Maybe you want USB list or some other ? Or ... 3 Main Thing, Do file a bug report Either use send-pr or http://www.freebsd.org/support/bugreports.html Cheers, Julian -- Julian Stacey, BSD Unix Linux C Sys Eng Consultants Munich http://berklix.com Reply below, not above; Indent with "> "; Cumulative like a play script. Format: Plain text. Not HTML, multipart/alternative, base64, quoted-printable. From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 15:54: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 ABDCB1065673 for ; Fri, 8 Jul 2011 15:54:39 +0000 (UTC) (envelope-from zhongyb@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 7AF4C8FC1B for ; Fri, 8 Jul 2011 15:54:39 +0000 (UTC) Received: by iyb11 with SMTP id 11so2504758iyb.13 for ; Fri, 08 Jul 2011 08:54:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=K3DT7BayQrl3y+u6KTBFJFxcoHWH9FOuc3Y81T2bOHg=; b=vAhbMP2L1Eg9LmfSODEOWAvz+VxdZuUzdfZ8Ev18PDqn991rm6XCIBIouqsbhdbrWt y1ummsP2DRTYg2rE88YzQ2PgzBC+fcXFbj+fAvmQazfO0VwyLFdte33J7uaCBU5tQQRb mn6YFdzdUIdZ4H+ZD1/73tgFAomI2pY7uFsGo= MIME-Version: 1.0 Received: by 10.43.50.1 with SMTP id vc1mr2306356icb.435.1310138606195; Fri, 08 Jul 2011 08:23:26 -0700 (PDT) Received: by 10.42.228.71 with HTTP; Fri, 8 Jul 2011 08:23:25 -0700 (PDT) Date: Fri, 8 Jul 2011 23:23:25 +0800 Message-ID: From: Zhong Yubin To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: error in installation of uwsgi X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Jul 2011 15:54:39 -0000 Hi, I'm going to setup machine for developing web application in python. But some errors appear when I install uwsgi using ports. The following is the first I met: *cc -c -O2 -Wall -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -fno-strict-aliasing -fno-strict-aliasing -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -DUWSGI_BUILD_DATE="\"08 July 2011 23:09:03\"" -DUWSGI_HAS_IFADDRS -DUWSGI_LOCK_USE_UMTX -DUWSGI_EVENT_USE_KQUEUE -DUWSGI_EVENT_TIMER_USE_KQUEUE -DUWSGI_EVENT_FILEMONITOR_USE_KQUEUE -DUWSGI_EMBEDDED -DUWSGI_UDP -DUWSGI_VERSION="\"0.9.8.1\"" -DUWSGI_VERSION_BASE="0" -DUWSGI_VERSION_MAJOR="9" -DUWSGI_VERSION_MINOR="8" -DUWSGI_VERSION_REVISION="1" -DUWSGI_VERSION_CUSTOM="\"\"" -DUWSGI_ASYNC -DUWSGI_MULTICAST -DUWSGI_MINTERPRETERS -DUWSGI_INI -DUWSGI_YAML -DUWSGI_SNMP -DUWSGI_THREADING -DUWSGI_SENDFILE -I/usr/local/include/libxml2 -I/usr/local/include -DUWSGI_XML -DUWSGI_XML_LIBXML2 -DUWSGI_SQLITE3 -DUWSGI_PLUGIN_DIR=\".\" -DUWSGI_SPOOLER -DUWSGI_DECLARE_EMBEDDED_PLUGINS="UDEP(python);UDEP(ping);UDEP(cache);UDEP(nagios);UDEP(rpc);UDEP(fastrouter);UDEP(http);UDEP(ugreen);" -DUWSGI_LOAD_EMBEDDED_PLUGINS="ULEP(python);ULEP(ping);ULEP(cache);ULEP(nagios);ULEP(rpc);ULEP(fastrouter);ULEP(http);ULEP(ugreen);" -In file included from plugins/python/uwsgi_python.h:2,* * from plugins/python/python_plugin.c:1:* */usr/local/include/python2.7/Python.h:166:17: error: pth.h: No such file or directory* *o spooler.o spooler.c* **** uWSGI compiling embedded plugins **** * * After sort of searching in google, I used following command to solve this problem. *ln -s /usr/local/include/pth/pth.h /usr/local/include/python2.7/pth.h* Then I rebuilt this port again. The second error appeared. *cc -c -O2 -Wall -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -fno-strict-aliasing -fno-strict-aliasing -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -DUWSGI_BUILD_DATE="\"08 July 2011 23:18:14\"" -DUWSGI_HAS_IFADDRS -DUWSGI_LOCK_USE_UMTX -DUWSGI_EVENT_USE_KQUEUE -DUWSGI_EVENT_TIMER_USE_KQUEUE -DUWSGI_EVENT_FILEMONITOR_USE_KQUEUE -DUWSGI_EMBEDDED -DUWSGI_UDP -DUWSGI_VERSION="\"0.9.8.1\"" -DUWSGI_VERSION_BASE="0" -DUWSGI_VERSION_MAJOR="9" -DUWSGI_VERSION_MINOR="8" -DUWSGI_VERSION_REVISION="1" -DUWSGI_VERSION_CUSTOM="\"\"" -DUWSGI_ASYNC -DUWSGI_MULTICAST -DUWSGI_MINTERPRETERS -DUWSGI_INI -DUWSGI_YAML -DUWSGI_SNMP -DUWSGI_THREADING -DUWSGI_SENDFILE -I/usr/local/include/libxml2 -I/usr/local/include -DUWSGI_XML -DUWSGI_XML_LIBXML2 -DUplugins/python/wsgi_handlers.c: In function 'uwsgi_Input_getline':* *plugins/python/wsgi_handlers.c:54: error: 'struct wsgi_request' has no member named 'pth_poll'* *plugins/python/wsgi_handlers.c:60: error: 'struct wsgi_request' has no member named 'pth_poll'* *plugins/python/wsgi_handlers.c:63: error: 'struct wsgi_request' has no member named 'pth_poll'* *plugins/python/wsgi_handlers.c: In function 'uwsgi_Input_read':* *plugins/python/wsgi_handlers.c:162: error: 'struct wsgi_request' has no member named 'pth_poll'* *plugins/python/wsgi_handlers.c:168: error: 'struct wsgi_request' has no member named 'pth_poll'* *plugins/python/wsgi_handlers.c: In function 'uwsgi_request_wsgi':* *plugins/python/wsgi_handlers.c:584: error: 'struct wsgi_request' has no member named 'pth_poll'* *WSGI_SQLITE3 -DUWSGI_PLUGIN_DIR=\".\" -DUWSGI_SPOOLER -DUWSGI_DECLARE_EMBEDDED_PLUGINS="UDEP(python);UDEP(ping);UDEP(cache);UDEP(nagios);UDEP(rpc);UDEP(fastrouter);UDEP(http);UDEP(ugreen);" -DUWSGI_LOAD_EMBEDDED_PLUGINS="ULEP(python);ULEP(ping);ULEP(cache);ULEP(nagios);ULEP(rpc);ULEP(fastrouter);ULEP(http);ULEP(ugreen);" -I/usr/local/include/python2.7 -I/usr/local/include/python2.7 -o plugins/python/pyloader.o plugins/python/pyloader.c* * * I checked every file mentioned in the message, but nothing can not be find. Anybody can help me? Cheers Frank From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 16:01: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 A51C4106566C for ; Fri, 8 Jul 2011 16:01:12 +0000 (UTC) (envelope-from sdb@ssr.com) Received: from mailhost.ssr.com (mailhost.ssr.com [199.4.235.5]) by mx1.freebsd.org (Postfix) with SMTP id 21A848FC12 for ; Fri, 8 Jul 2011 16:01:11 +0000 (UTC) Received: (qmail 47423 invoked from network); 8 Jul 2011 15:30:56 -0000 Received: from pool-71-167-224-193.nycmny.east.verizon.net (HELO irelay.ssr.com) (sdb@71.167.224.193) by 199.4.235.5 with SMTP; 8 Jul 2011 15:30:56 -0000 Received: (qmail 74808 invoked by uid 103); 8 Jul 2011 15:21:35 -0000 Date: 8 Jul 2011 15:21:35 -0000 Message-ID: <20110708152135.74807.qmail@irelay.ssr.com> From: Scott Ballantyne To: freebsd-questions@freebsd.org Subject: EXABYTE 8200 on FreeBSD 5.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Jul 2011 16:01:12 -0000 I know this is ancient technology, but we have a pile of exabyte tapes made on an 8200 and would like to recover some of the data on them. We have an old 5.3 machine which has an adaptec 2120S, and the Exabyte is connected to that. The kernel identifies the Exabyte on boot, but it's all downhill after that. The driver sometimes spits out a pile of errors (I'll append a sample at the end) and mt doesn't seem to do simple commands (like a retension). I note that the MT page for 5.3 says that not all SCSI-1 devices are supported. So before I invest more time in this, I am wondering if anyone can tell if the support is there for this configuration? If not, what (inexpensive) options do I have for possibly retrieving this data? Thanks a lot, Scott -- sdb@ssr.com An "mt status" causes the driver to report: (sa0:aacp0:0:4:0): MODE SENSE(06). CDB: 1a 0 f 0 1c 0 (sa0:aacp0:0:4:0): ILLEGAL REQUEST asc:0,0 (sa0:aacp0:0:4:0): No additional sense information (sa0:aacp0:0:4:0): MODE SENSE(06). CDB: 1a 0 f 0 1c 0 (sa0:aacp0:0:4:0): ILLEGAL REQUEST asc:0,0 (sa0:aacp0:0:4:0): No additional sense information (sa0:aacp0:0:4:0): MODE SENSE(06). CDB: 1a 0 f 0 1c 0 (sa0:aacp0:0:4:0): ILLEGAL REQUEST asc:0,0 (sa0:aacp0:0:4:0): No additional sense information (sa0:aacp0:0:4:0): MODE SENSE(06). CDB: 1a 0 f 0 1c 0 (sa0:aacp0:0:4:0): ILLEGAL REQUEST asc:0,0 (sa0:aacp0:0:4:0): No additional sense information (sa0:aacp0:0:4:0): MODE SENSE(06). CDB: 1a 0 f 0 1c 0 (sa0:aacp0:0:4:0): ILLEGAL REQUEST asc:0,0 (sa0:aacp0:0:4:0): No additional sense information (sa0:aacp0:0:4:0): MODE SENSE(06). CDB: 1a 0 f 0 1c 0 (sa0:aacp0:0:4:0): ILLEGAL REQUEST asc:0,0 (sa0:aacp0:0:4:0): No additional sense information While mt reports: Mode Density Blocksize bpi Compression Current: default variable 0 unsupported ---------available modes--------- 0: default variable 0 unsupported 1: default variable 0 unsupported 2: default variable 0 unsupported 3: default variable 0 unsupported --------------------------------- Current Driver State: at rest. --------------------------------- File Number: 0 Record Number: 0 Residual Count 0 From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 16:14: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 783C2106566C for ; Fri, 8 Jul 2011 16:14:08 +0000 (UTC) (envelope-from m2o7i1@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 0A3028FC18 for ; Fri, 8 Jul 2011 16:14:07 +0000 (UTC) Received: by ewy1 with SMTP id 1so918899ewy.13 for ; Fri, 08 Jul 2011 09:14:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Lqeangq8pgkPCcL1c+ee/Kztaskp5F4fxYlZLnlkznM=; b=BaBWbbn3taQYgbUiLDpPbCyE9OVKUGh6b86VNvM3j1AIwfJhr7G5pevUtcHdTkrtFo bC5FZM7/2VYHDZjFHkL4ob3h4k/t/i1ZLsjxk0n/mJ5zejc3atAIoNxf6udd3+cvHCT0 Fc/BxGZZiuatUwEFKGgA1s5f78x1z8LIf/NrY= MIME-Version: 1.0 Received: by 10.213.27.141 with SMTP id i13mr746462ebc.134.1310139799410; Fri, 08 Jul 2011 08:43:19 -0700 (PDT) Received: by 10.213.4.15 with HTTP; Fri, 8 Jul 2011 08:43:19 -0700 (PDT) In-Reply-To: <4E1713AF.7000806@esiee.fr> References: <4E1713AF.7000806@esiee.fr> Date: Fri, 8 Jul 2011 11:13:19 -0430 Message-ID: From: Moises Castellanos To: Frank Bonnet Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: FreeBSD Mailing List Subject: Re: import users from LDAP to local password file (pwd.db) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Jul 2011 16:14:08 -0000 Hi You can try with getent(1) passwd and see if you can work with the output Regards On Fri, Jul 8, 2011 at 9:56 AM, Frank Bonnet wrote: > Hello > > I need to import the necessary users's data from an OpenLDAP directory > server > to put them in the local password files , anyone has done this before ? > > The machine use nss_ldap and pam_ldap to authenticate users but for > robustness > during the holidays I would like to have a local password file on this > machine which > is our mailhub. > > The OpenLDAP server runs on another machine and if it fails during holidays > I want > my mailhub to be standalone for authentication in order to let email > service running > even the directory server crash. > > Thanks > > ______________________________**_________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions > To unsubscribe, send any mail to "freebsd-questions-** > unsubscribe@freebsd.org " > From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 16:18: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 C242B106566C for ; Fri, 8 Jul 2011 16:18:43 +0000 (UTC) (envelope-from f.bonnet@esiee.fr) Received: from hp9.esiee.fr (hp9.esiee.fr [147.215.1.4]) by mx1.freebsd.org (Postfix) with ESMTP id 6CC8C8FC0C for ; Fri, 8 Jul 2011 16:18:43 +0000 (UTC) Received: from mail.esiee.fr (mail.esiee.fr [147.215.1.3]) by hp9.esiee.fr (Postfix) with ESMTP id 5C72014E9B31 for ; Fri, 8 Jul 2011 18:17:01 +0200 (CEST) X-DKIM: OpenDKIM Filter v2.4.1 hp9.esiee.fr 5C72014E9B31 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=esiee.fr; s=MAILOUT; t=1310141821; bh=rcqi1lZqdzc3ANRruLxF8kEENN8kDc1ctvDCrHe/eeg=; h=Message-ID:Date:From:MIME-Version:To:Subject:References: In-Reply-To:Content-Type; b=MD7rKIaIpfOK0dwOoma02I8X7gUpq85N2cevuiZreaZ11BOu3OeJZwqDXFF0GB2s7 zLl4othEVMutkWGffYgHvjG80DVji32Na1jNsS+WT8VCAhhLH+kNaRew/9mDD7tjiw qI4R/WZu4cqWW+D3qLAdHXpGDicOBtqpw9geGo0o= Received: from mail.esiee.fr (localhost [127.0.0.1]) by VAMS.dummy (Postfix) with SMTP id A59233C3CB8 for ; Fri, 8 Jul 2011 18:17:15 +0200 (CEST) Received: from [147.215.1.21] (lisa.esiee.fr [147.215.1.21]) by mail.esiee.fr (Postfix) with ESMTP id 9B9B53C3CB6 for ; Fri, 8 Jul 2011 18:17:15 +0200 (CEST) Message-ID: <4E172DE2.1000308@esiee.fr> Date: Fri, 08 Jul 2011 18:18:42 +0200 From: Frank Bonnet User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Lightning/1.0b2 Thunderbird/3.1.10 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4E1713AF.7000806@esiee.fr> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: import users from LDAP to local password file (pwd.db) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Jul 2011 16:18:43 -0000 getent does not show the encrypted password field On 07/08/2011 05:43 PM, Moises Castellanos wrote: > Hi > You can try with getent(1) passwd and see if you can work with the ou= tput > > Regards > > On Fri, Jul 8, 2011 at 9:56 AM, Frank Bonnet wrote: > >> Hello >> >> I need to import the necessary users's data from an OpenLDAP director= y >> server >> to put them in the local password files , anyone has done this before = ? >> >> The machine use nss_ldap and pam_ldap to authenticate users but for >> robustness >> during the holidays I would like to have a local password file on this >> machine which >> is our mailhub. >> >> The OpenLDAP server runs on another machine and if it fails during hol= idays >> I want >> my mailhub to be standalone for authentication in order to let email >> service running >> even the directory server crash. >> >> Thanks >> >> ______________________________**_________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions >> To unsubscribe, send any mail to "freebsd-questions-** >> unsubscribe@freebsd.org" >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd= .org" --=20 Frank BONNET 01.45.92.66.17 Service des Moyens Informatiques Generaux ESIEE PARIS Cit=E9 Descartes / BP 99 93162 NOISY-LE-GRAND Cedex http://www.esiee.fr From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 16:48: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 C12311065670 for ; Fri, 8 Jul 2011 16:48:43 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from ozzie.tundraware.com (ozzie.tundraware.com [75.145.138.73]) by mx1.freebsd.org (Postfix) with ESMTP id 61E608FC14 for ; Fri, 8 Jul 2011 16:48:43 +0000 (UTC) Received: from [0.0.0.0] (ozzie.tundraware.com [75.145.138.73]) (authenticated bits=0) by ozzie.tundraware.com (8.14.5/8.14.5) with ESMTP id p68GmY86023657 (version=TLSv1/SSLv3 cipher=DHE-DSS-CAMELLIA256-SHA bits=256 verify=NO) for ; Fri, 8 Jul 2011 11:48:35 -0500 (CDT) (envelope-from tundra@tundraware.com) Message-ID: <4E1734E2.2040204@tundraware.com> Date: Fri, 08 Jul 2011 11:48:34 -0500 From: Tim Daneliuk Organization: TundraWare Inc. User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: FreeBSD References: <4E1478C1.3020302@tundraware.com> <80442ff8a0c0f582e6134bde1566a2e8@socruel.nu> <20110708075243.5493e0b1@scorpio> <4E170230.1070901@tundraware.com> <20110708093924.51ce6916@scorpio> In-Reply-To: <20110708093924.51ce6916@scorpio> X-Enigmail-Version: 1.2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (ozzie.tundraware.com [75.145.138.73]); Fri, 08 Jul 2011 11:48:35 -0500 (CDT) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: p68GmY86023657 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No Subject: Re: Perl Problem After Upgrade to 5.12.4 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Jul 2011 16:48:43 -0000 On 7/8/2011 8:39 AM, Jerry said this: > On Fri, 08 Jul 2011 08:12:16 -0500 > Tim Daneliuk articulated: > >> I was able to work around this by: >> >> 1) Uninstalling spamassassin and perl 5.12 >> 2) Upgrading to perl 5.14 >> 3) Running perl-after-upgrade >> 4) Reinstalling spamassassin > > That is not exactly the method prescribed in UPDATING: You're right, of course - I ordinarily do this when I upgrade perl ... somehow it slipped my tiny and aging mind. Thanks for the reminder :) > > > 20110517: > AFFECTS: users of lang/perl* > AUTHOR: skv@FreeBSD.org > > lang/perl5.14 is out. If you want to switch to it from, for example > lang/perl5.12, that is: > > Portupgrade users: > 0) Fix pkgdb.db (for safety): > pkgdb -Ff > > 1) Reinstall new version of Perl (5.14): > env DISABLE_CONFLICTS=1 portupgrade -o lang/perl5.14 -f perl-5.12.\* > > 2) Reinstall everything that depends on Perl: > portupgrade -fr perl > > Portmaster users: > portmaster -o lang/perl5.14 lang/perl5.12 > > Conservative: > portmaster p5- > > Comprehensive (but perhaps overkill): > portmaster -r perl- > > Note: If the "perl-" glob matches more than one port you will need to > specify the name of the Perl directory in /var/db/pkg explicitly. > > > > I used the "portupgrade" method without incident. From what I have been > told, "perl-after-upgrade" != "env DISABLE_CONFLICTS=1 portupgrade -o lang/perl5.14 -f perl-5.12.\*" > > As always, YMMV! > -- ------------------------------------------------------------------------ Tim Daneliuk tundra@tundraware.com From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 16:57: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 211211065670 for ; Fri, 8 Jul 2011 16:57:06 +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 8917D8FC14 for ; Fri, 8 Jul 2011 16:57:05 +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 p68Gv2xh041757 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 8 Jul 2011 11:57:03 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.5/8.14.5) with ESMTP id p68Gv2kR070280 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 8 Jul 2011 11:57:02 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.5/8.14.5/Submit) id p68Gv2hi070279; Fri, 8 Jul 2011 11:57:02 -0500 (CDT) (envelope-from dan) Date: Fri, 8 Jul 2011 11:57:02 -0500 From: Dan Nelson To: Frank Bonnet Message-ID: <20110708165701.GD6611@dan.emsphone.com> References: <4E1713AF.7000806@esiee.fr> <4E172DE2.1000308@esiee.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E172DE2.1000308@esiee.fr> X-OS: FreeBSD 8.2-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97 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]); Fri, 08 Jul 2011 11:57:03 -0500 (CDT) X-Scanned-By: MIMEDefang 2.68 on 199.67.51.78 Cc: freebsd-questions@freebsd.org Subject: Re: import users from LDAP to local password file (pwd.db) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Jul 2011 16:57:06 -0000 In the last episode (Jul 08), Frank Bonnet said: > On 07/08/2011 05:43 PM, Moises Castellanos wrote: > > On Fri, Jul 8, 2011 at 9:56 AM, Frank Bonnet wrote: > >> I need to import the necessary users's data from an OpenLDAP directory > >> server to put them in the local password files , anyone has done this > >> before ? > >> > >> The machine use nss_ldap and pam_ldap to authenticate users but for > >> robustness during the holidays I would like to have a local password > >> file on this machine which is our mailhub. > >> > >> The OpenLDAP server runs on another machine and if it fails during > >> holidays I want my mailhub to be standalone for authentication in order > >> to let email service running even the directory server crash. > > > You can try with getent(1) passwd and see if you can work with the > > output > > getent does not show the encrypted password field LDAP servers usually don't allow clients to see the raw password hash. Authentication checks are done by binding as the requested user, so the calling app doesn't have a chance to grab the hash and do an offline brute-force attack on it. To ensure LDAP availability, the usual thing to do is set up multiple servers with LDAP replication between them, and configure your client's ldap.conf to use all of them (or use carp or some other IP management app to provide a single "always-up" IP address). -- Dan Nelson dnelson@allantgroup.com From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 16:58: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 2B3801065677 for ; Fri, 8 Jul 2011 16:58:40 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout019.mac.com (asmtpout019.mac.com [17.148.16.94]) by mx1.freebsd.org (Postfix) with ESMTP id 128DB8FC16 for ; Fri, 8 Jul 2011 16:58:39 +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 asmtp019.mac.com (Oracle Communications Messaging Exchange Server 7u4-20.01 64bit (built Nov 21 2010)) with ESMTPSA id <0LO0008UUXTD0V90@asmtp019.mac.com> for freebsd-questions@freebsd.org; Fri, 08 Jul 2011 09:58:26 -0700 (PDT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.4.6813,1.0.211,0.0.0000 definitions=2011-07-08_07:2011-07-08, 2011-07-08, 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-1107080111 From: Chuck Swiger In-reply-to: Date: Fri, 08 Jul 2011 09:58:25 -0700 Message-id: <7B999ABD-27B9-4E95-91DB-BCBC11B01F15@mac.com> References: To: Zhong Yubin X-Mailer: Apple Mail (2.1084) Cc: freebsd-questions@freebsd.org Subject: Re: error in installation of uwsgi X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Jul 2011 16:58:40 -0000 On Jul 8, 2011, at 8:23 AM, Zhong Yubin wrote: > Hi, I'm going to setup machine for developing web application in python. > But some errors appear when I install uwsgi using ports. The following is > the first I met: Evidently, this uwsgi software wants a threaded Python. You likely need to rebuild Python with threading enabled.... Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 17: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 E9A42106564A for ; Fri, 8 Jul 2011 17:21:32 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 6C2268FC08 for ; Fri, 8 Jul 2011 17:21:32 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id p68HLV5l002157; Fri, 8 Jul 2011 11:21:31 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id p68HLVrC002154; Fri, 8 Jul 2011 11:21:31 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 8 Jul 2011 11:21:31 -0600 (MDT) From: Warren Block To: "SADM-IT Officer (HAL)" In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Fri, 08 Jul 2011 11:21:31 -0600 (MDT) Cc: "'freebsd-questions@FreeBSD.org'" Subject: Re: Just a quick note/correction for whomever edits the web page: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Jul 2011 17:21:33 -0000 On Fri, 8 Jul 2011, SADM-IT Officer (HAL) wrote: > On the installation pages describing the process to make a USB > installation, you reference downloading win32-image-writer for making > a USB from Windows. Your link points to > http://launchpad.net/win32-image-writer/, which is actually (or is > now) https://launchpad.net/win32-image-writer/. I'm not sure why it > would change to HTTPS, but I thought it might be worth changing on the > web site. :) As Julian Stacey notes, an exact pointer to the mistake helps. There's a lot of FreeBSD docs, and a lot of people working on them. I'm familiar with this one, so I entered a PR for it. http://www.freebsd.org/cgi/query-pr.cgi?pr=158739 Thanks! From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 17:23: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 D8D761065678 for ; Fri, 8 Jul 2011 17:23:06 +0000 (UTC) (envelope-from michael.ross@gmx.net) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by mx1.freebsd.org (Postfix) with SMTP id 4A9A98FC14 for ; Fri, 8 Jul 2011 17:23:05 +0000 (UTC) Received: (qmail invoked by alias); 08 Jul 2011 16:56:25 -0000 Received: from dslb-092-076-077-144.pools.arcor-ip.net (EHLO michael-think) [92.76.77.144] by mail.gmx.net (mp061) with SMTP; 08 Jul 2011 18:56:25 +0200 X-Authenticated: #11429267 X-Provags-ID: V01U2FsdGVkX1/yeUVqrLTyIVilmu/YV0TskQt7SXhrj819g+27z7 LX7QVnd3r81c4t Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: freebsd-questions@freebsd.org References: Date: Fri, 08 Jul 2011 18:56:21 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Michael Ross" Message-ID: In-Reply-To: User-Agent: Opera Mail/11.50 (Win32) X-Y-GMX-Trusted: 0 Subject: Re: error in installation of uwsgi X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Jul 2011 17:23:06 -0000 Am 08.07.2011, 17:23 Uhr, schrieb Zhong Yubin : > Hi, I'm going to setup machine for developing web application in python. > But some errors appear when I install uwsgi using ports. The following is > the first I met: > > *cc -c -O2 -Wall -Werror -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 > -pipe -fno-strict-aliasing -fno-strict-aliasing -Wextra > -Wno-unused-parameter -Wno-missing-field-initializers > -DUWSGI_BUILD_DATE="\"08 July 2011 23:09:03\"" -DUWSGI_HAS_IFADDRS > -DUWSGI_LOCK_USE_UMTX -DUWSGI_EVENT_USE_KQUEUE > -DUWSGI_EVENT_TIMER_USE_KQUEUE -DUWSGI_EVENT_FILEMONITOR_USE_KQUEUE > -DUWSGI_EMBEDDED -DUWSGI_UDP -DUWSGI_VERSION="\"0.9.8.1\"" > -DUWSGI_VERSION_BASE="0" -DUWSGI_VERSION_MAJOR="9" > -DUWSGI_VERSION_MINOR="8" > -DUWSGI_VERSION_REVISION="1" -DUWSGI_VERSION_CUSTOM="\"\"" -DUWSGI_ASYNC > -DUWSGI_MULTICAST -DUWSGI_MINTERPRETERS -DUWSGI_INI -DUWSGI_YAML > -DUWSGI_SNMP -DUWSGI_THREADING -DUWSGI_SENDFILE > -I/usr/local/include/libxml2 > -I/usr/local/include -DUWSGI_XML -DUWSGI_XML_LIBXML2 -DUWSGI_SQLITE3 > -DUWSGI_PLUGIN_DIR=\".\" -DUWSGI_SPOOLER > -DUWSGI_DECLARE_EMBEDDED_PLUGINS="UDEP(python);UDEP(ping);UDEP(cache);UDEP(nagios);UDEP(rpc);UDEP(fastrouter);UDEP(http);UDEP(ugreen);" > -DUWSGI_LOAD_EMBEDDED_PLUGINS="ULEP(python);ULEP(ping);ULEP(cache);ULEP(nagios);ULEP(rpc);ULEP(fastrouter);ULEP(http);ULEP(ugreen);" > -In file included from plugins/python/uwsgi_python.h:2,* > * from plugins/python/python_plugin.c:1:* > */usr/local/include/python2.7/Python.h:166:17: error: pth.h: No such > file or > directory* > *o spooler.o spooler.c* > **** uWSGI compiling embedded plugins **** > * > * > After sort of searching in google, I used following command to solve this > problem. > > *ln -s /usr/local/include/pth/pth.h /usr/local/include/python2.7/pth.h* > > > Then I rebuilt this port again. The second error appeared. I hit that one a few days ago. Haven't solved it. If it's an option for you, you can compile Python without GNU Pth support. This will solve your uwsgi installation problem. Regards, Michael From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 17:41: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 4362A1065675 for ; Fri, 8 Jul 2011 17:41:58 +0000 (UTC) (envelope-from lokadamus@gmx.de) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.23]) by mx1.freebsd.org (Postfix) with SMTP id 8C5D58FC08 for ; Fri, 8 Jul 2011 17:41:57 +0000 (UTC) Received: (qmail invoked by alias); 08 Jul 2011 17:41:56 -0000 Received: from c137058.adsl.hansenet.de (EHLO [213.39.137.58]) [213.39.137.58] by mail.gmx.net (mp015) with SMTP; 08 Jul 2011 19:41:56 +0200 X-Authenticated: #3333826 X-Provags-ID: V01U2FsdGVkX19OE7hSk9NO3/crfwLoEIgGHZbtz4tIVTCQz/telp c7Ke0RpJzj5VOb Message-ID: <4E174164.5030105@gmx.de> Date: Fri, 08 Jul 2011 19:41:56 +0200 From: Lokadamus User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: Mubeesh ali References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Cc: FreeBSD Questions Subject: Re: Mouse Problems. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jul 2011 17:41:58 -0000 Put in your rc.conf this: dbus_enable="YES" hald_enable="YES" reboot your system or start it with: # /usr/local/etc/rc.d/hald start # /usr/local/etc/rc.d/dbus start then your mouse and keybord should working. Am 07.07.2011 09:31, schrieb Mubeesh ali: > Hi List, > > I have freebsd 8.2 installed on a windows host with virtualbox and > have xfce4. From sysinstall i was able to enable and move the mouse. > But as soon as i do a startx it gets frozen(pointer is visible at > center of the screen ) > > reebsd# cat /etc/rc.conf > > # -- sysinstall generated deltas -- # Tue Jul 5 16:03:57 2011 > # Created: Tue Jul 5 16:03:57 2011 > # Enable network daemons for user convenience. > # Please make all changes to this file, not to /etc/defaults/rc.conf. > # This file now contains just the overrides from /etc/defaults/rc.conf. > check_quotas="NO" > hostname="Freebsd.merunetworks.com" > ifconfig_em0="DHCP" > inetd_enable="YES" > ipv6_enable="YES" > keymap="us.iso" > moused_enable="YES" > moused_port="/dev/psm0" > moused_flags="-z 4" > moused_type="auto" > ntpdate_enable="YES" > ntpdate_hosts="asia.pool.ntp.org" > sshd_enable="YES" > # -- sysinstall generated deltas -- # Wed Jul 6 11:35:07 2011 > #moused_flags="" > #moused_port="/dev/psm0" > #moused_type="microsoft" > #moused_enable="YES" > From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 18:14: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 2F801106564A for ; Fri, 8 Jul 2011 18:14:29 +0000 (UTC) (envelope-from freebsd@penx.com) Received: from Elmer.dco.penx.com (elmer.dco.penx.com [174.46.214.165]) by mx1.freebsd.org (Postfix) with ESMTP id 01DB38FC18 for ; Fri, 8 Jul 2011 18:14:28 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by Elmer.dco.penx.com (8.14.5/8.14.4) with ESMTP id p68IEPAK037189 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 8 Jul 2011 12:14:27 -0600 (MDT) (envelope-from freebsd@penx.com) Date: Fri, 8 Jul 2011 12:14:25 -0600 (MDT) From: Dennis Glatting X-X-Sender: dennisg@Elmer.dco.penx.com To: Brandon Gooch In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: venture37@geeklan.co.uk, freebsd-questions@freebsd.org Subject: Re: OpenNMS under 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, 08 Jul 2011 18:14:29 -0000 On Wed, 29 Jun 2011, Brandon Gooch wrote: > On Wed, Jun 29, 2011 at 12:03 PM, Dennis Glatting wrote: >> I am looking at OpenNMS under FreeBSD but it isn't in the ports tree >> although there are various discussions of OpenNMS under FreeBSD. >> >> Is there a reason why OpenNMS isn't in the ports tree, such as it doesn't >> port, no one is willing to step up as a maintainer, or there are licensing >> issues? >> > > There is a port here, created by Sevan Janiyan: > > http://www.geeklan.co.uk/files/opennms/ > > I don't know whether or not it's been submitted to ports yet, but I'd > be interested to see if you get it up and running. Report back with > your findings! > Status report. I don't have it working yet but: 1) My NMS requires the use of a proxy to access the web. Configuring the proxy is an adventure which I didn't find well documented. The key proxy configuration point is in the Java installation but it appears not to be the only configuration point. Consequently, after humming along downloading and installing Java files the process hit another snag. I haven't had the chance to chase down which tool and which configuration point needs to change. This is a show stopper. 2) OpenNMS requires Postgres. I have a SQL infrastructure and I am loath to install yet-another SQL server regardless of its wonderfulness, but I have installed it. From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 18:36: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 1B1771065672 for ; Fri, 8 Jul 2011 18:36:00 +0000 (UTC) (envelope-from m2o7i1@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 8DCA28FC0C for ; Fri, 8 Jul 2011 18:35:59 +0000 (UTC) Received: by ewy1 with SMTP id 1so969647ewy.13 for ; Fri, 08 Jul 2011 11:35:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=TE0vh0YmAbxoHb3+8tLcSk0Xt5TdaU61/uR20VV9Z2c=; b=TfGG+36QSArkVLcs8qJe7S/Zaog/9+kAluOLhBomMBjmqZSISzDILU7fRDJAms9nIV VhXMOi/ORuHv4xhwU2vnMQlyC6S06/Tt0uGB7XcVlC5SiyvPmN9KurrGE29+1eXBhf8C fZAB1K8h6Cj7wVHZ6U0GWzqX2a1ampMXffKzc= MIME-Version: 1.0 Received: by 10.213.27.141 with SMTP id i13mr795761ebc.134.1310150157916; Fri, 08 Jul 2011 11:35:57 -0700 (PDT) Received: by 10.213.4.15 with HTTP; Fri, 8 Jul 2011 11:35:57 -0700 (PDT) In-Reply-To: <4E172DE2.1000308@esiee.fr> References: <4E1713AF.7000806@esiee.fr> <4E172DE2.1000308@esiee.fr> Date: Fri, 8 Jul 2011 14:05:57 -0430 Message-ID: From: Moises Castellanos To: Frank Bonnet Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: import users from LDAP to local password file (pwd.db) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Jul 2011 18:36:00 -0000 On Fri, Jul 8, 2011 at 11:48 AM, Frank Bonnet wrote: > getent does not show the encrypted password field > > > You could use perl with Net::LDAP to generate the passwd file, something like http://bit.ly/p6bWwI Regards > On 07/08/2011 05:43 PM, Moises Castellanos wrote: > >> Hi >> You can try with getent(1) passwd and see if you can work with the outp= ut >> >> Regards >> >> On Fri, Jul 8, 2011 at 9:56 AM, Frank Bonnet wrote: >> >> Hello >>> >>> I need to import the necessary users's data from an OpenLDAP directory >>> server >>> to put them in the local password files , anyone has done this before ? >>> >>> The machine use nss_ldap and pam_ldap to authenticate users but for >>> robustness >>> during the holidays I would like to have a local password file on this >>> machine which >>> is our mailhub. >>> >>> The OpenLDAP server runs on another machine and if it fails during >>> holidays >>> I want >>> my mailhub to be standalone for authentication in order to let email >>> service running >>> even the directory server crash. >>> >>> Thanks >>> >>> ______________________________****_________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/****mailman/listinfo/freebsd-****questions >>> >>> > >>> >>> To unsubscribe, send any mail to "freebsd-questions-** >>> unsubscribe@freebsd.org >>> >" >>> >>> ______________________________**_________________ >> 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 " >> > > > -- > > Frank BONNET > > 01.45.92.66.17 > > Service des Moyens Informatiques Generaux > > ESIEE PARIS > Cit=E9 Descartes / BP 99 > 93162 NOISY-LE-GRAND Cedex > http://www.esiee.fr > > > ______________________________**_________________ > 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 Fri Jul 8 20:04: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 149D91065674 for ; Fri, 8 Jul 2011 20:04:07 +0000 (UTC) (envelope-from kingedgar@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id E467C8FC18 for ; Fri, 8 Jul 2011 20:04:06 +0000 (UTC) Received: by pzk27 with SMTP id 27so2224203pzk.13 for ; Fri, 08 Jul 2011 13:04:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=N2cTMx0VkmalY6IoTtITcjZdAhA/FwM8rDsTkbKTeHQ=; b=UsrDCr5hDDxKSyli5C7MOgOtvW+9G3Gs+6l4NLENy3b7cpPn5/Joq0WcVGzHTclMXC yD20KGc/3UcFnrD0A8IawS/ci73o96F6ts29iC5jdPFEwVini9azS/VnjJIi0WXqEArn SRB5TXvR/jdnWCwTaczdmVH0FwQAjgg1XUABw= MIME-Version: 1.0 Received: by 10.142.221.20 with SMTP id t20mr436134wfg.259.1310153729720; Fri, 08 Jul 2011 12:35:29 -0700 (PDT) Received: by 10.142.116.5 with HTTP; Fri, 8 Jul 2011 12:35:29 -0700 (PDT) Date: Fri, 8 Jul 2011 14:35:29 -0500 Message-ID: From: Jason Garrett To: FreeBSD-Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: openldap24-sasl-client preventing kde4 from installing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Jul 2011 20:04:07 -0000 Even after I pkg_delete -f openldap-sasl-client* trying to compile kde4, or in this case I narrowed it down to kdepimlibs4, I always end up with this. How do I get myself out of this dependency? ===>>> Starting check for runtime dependencies ===>>> Gathering dependency list for net/openldap24-sasl-client from ports ===>>> Starting dependency check ===>>> Checking dependency: security/cyrus-sasl2 ===>>> Dependency check complete for net/openldap24-sasl-client deskutils/kdepimlibs4 >> net/openldap24-sasl-client ===> Installing for openldap-sasl-client-2.4.25_2 ===> Generating temporary packing list ===> Checking if net/openldap24-sasl-client already installed ===> openldap-sasl-client-2.4.25_2 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of net/openldap24-sasl-client without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. *** Error code 1 Stop in /usr/ports/net/openldap24-sasl-client. *** Error code 1 Stop in /usr/ports/net/openldap24-sasl-client. ===>>> Installation of openldap-sasl-client-2.4.25_2 (net/openldap24-sasl-client) failed ===>>> Aborting update ===>>> Update for net/openldap24-sasl-client failed ===>>> Aborting update ===>>> You can restart from the point of failure with this command line: portmaster deskutils/kdepimlibs4 From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 20:45: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 9AB39106564A for ; Fri, 8 Jul 2011 20:45:17 +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 76E7E8FC16 for ; Fri, 8 Jul 2011 20:45:17 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 95766E8161D; Fri, 8 Jul 2011 13:45:16 -0700 (PDT) Date: Fri, 8 Jul 2011 13:45:16 -0700 From: Gary Kline To: Doug Hardie Message-ID: <20110708204516.GA26712@thought.org> References: <20110707180041.GA90387@thought.org> <20110708055837.GA21564@thought.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 24++ years of service to the Unix community. User-Agent: Mutt/1.5.21 (2010-09-15) Cc: FreeBSD Mailing List Subject: Re: DNS and file system messed up... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Jul 2011 20:45:17 -0000 On Fri, Jul 08, 2011 at 12:25:34AM -0700, Doug Hardie wrote: > Date: Fri, 8 Jul 2011 00:25:34 -0700 > From: Doug Hardie > Subject: Re: DNS and file system messed up... > To: Gary Kline > Cc: FreeBSD Mailing List > X-Mailer: Apple Mail (2.1084) > > > On 7 July 2011, at 22:58, Gary Kline wrote: > > >> Jul 7 10:16:33 ethic named[54366]: none:0: open: /etc/named.conf: file not found > > >> Jul 7 10:17:56 ethic named[54371]: starting BIND 9.3.6-P1 -c /var/named/etc/namedb/named.conf > > The first one that fails is looking for /etc/named.conf. The second one shows its in /var/named/etc/named/named.conf > > > Those are different locations. I suspect you have named_flags setup in rc.conf pointing to /etc/namedb/named.conf rather than the right location. Its also possible that its not set in rc.conf but defaults in either the rc script or /etc/rc.d/named. On my system it appears to default in /etc/rc.d/named. Hm.. i understand most of this. grep -r from /etc found something i've never uderstood. "chroot" stuff. to me, root is always / and root's home is /rrot. I've never dug deeper. here is the named stuff in /etc/defaults dir: named_enable="NO" # Run named, the DNS server (or NO). named_program="/usr/sbin/named" # Path to named, if you want a different one. #named_flags="-c /etc/namedb/named.conf" # Uncomment for named not in /usr/sbin named_pidfile="/var/run/named/pid" # Must set this in named.conf as well named_uid="bind" # User to run named as named_chrootdir="/var/named" # Chroot directory (or "" not to auto-chroot it) named_chroot_autoupdate="YES" # Automatically install/update chrooted # components of named. See /etc/rc.d/named. named_symlink_enable="YES" # Symlink the chrooted pid file in my /etc/rc.conf file are the 3 named lines: named_enable="YES" named_program="/usr/local/sbin/named" named_pidfile="/var/run/named/pid" I dont see anything here that could be messing me up unless by using the default lines, something is going waaay South. Lastly, has the /etc/rc.d/named script changed in the past year or two? thankee -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.51a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 22:04: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 7051C106566C for ; Fri, 8 Jul 2011 22:04:54 +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 38DCB8FC0C for ; Fri, 8 Jul 2011 22:04:53 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 1FC57E80681; Fri, 8 Jul 2011 15:04:53 -0700 (PDT) Date: Fri, 8 Jul 2011 15:04:52 -0700 From: Gary Kline To: Matthew Seaman Message-ID: <20110708220452.GB26712@thought.org> References: <20110707180041.GA90387@thought.org> <20110708055837.GA21564@thought.org> <4E16C779.6000607@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E16C779.6000607@infracaninophile.co.uk> Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 24++ years of service to the Unix community. User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org Subject: Re: DNS and file system messed up... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Jul 2011 22:04:54 -0000 On Fri, Jul 08, 2011 at 10:01:45AM +0100, Matthew Seaman wrote: > Date: Fri, 08 Jul 2011 10:01:45 +0100 > From: Matthew Seaman > Subject: Re: DNS and file system messed up... > To: freebsd-questions@freebsd.org > > On 08/07/2011 08:25, Doug Hardie wrote: > > On 7 July 2011, at 22:58, Gary Kline wrote: > > > >>> >> Jul 7 10:16:33 ethic named[54366]: none:0: open: /etc/named.conf: file not found > >>> >> Jul 7 10:17:56 ethic named[54371]: starting BIND 9.3.6-P1 -c /var/named/etc/namedb/named.conf > > > The first one that fails is looking for /etc/named.conf. The second > > one shows its in /var/named/etc/named/named.conf > > > Those are different locations. I suspect you have named_flags setup > > in rc.conf pointing to /etc/namedb/named.conf rather than the right > > location. Its also possible that its not set in rc.conf but defaults > > in either the rc script or /etc/rc.d/named. On my system it appears > > to default in /etc/rc.d/named. > > FreeBSD defaults to running named chrooted. /etc/namedb is actually a > symbolic link: hi matthew, i found an in-depth post you wrote re mtree yesterday ( 07july ), but i figured it was over my head in resetting anything i might need to reset. i was going to write you offlist. decided to ask the entire list. > > % ls -la /etc/namedb > lrwxr-xr-x 1 root wheel 21 Jul 6 06:24 /etc/namedb@ -> > /var/named/etc/namedb > > so the files referenced are in fact exactly the same file. However, the > flags from the log extract don't look like the defaults to me. (I'm > running the dns/bind98 port, and the equivalent info from the log line > is '-t /var/named -u bind') i was using bind98 rather than the earlier bind9 which is out of date. but bind98 gave me troubles with the rndc.key and other, so i chose to go back with what worked. --first thing is to get this working with the older bind9. FWIW, both bind9's given me the same error and failure. i have walked thru the named script to the point where it creates the symlink. regardless, i cannot understand the error and failure messages. i only know that my kill -9 and my initialization "by hand" work. > > Gary, what named related settings do you have in /etc/rc.conf? You > almost certainly don't need anything more than: > > named_enable="YES" > > and perhaps > > syslogd_flags="-ss -l /var/named/var/run/log" > > so named can log to the system syslog. Hmmm [&c]. as you may have seen in my post to Doug H. i only have -- named_enable="YES" named_program="/usr/local/sbin/named" named_pidfile="/var/run/named/pid" > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > JID: matthew@infracaninophile.co.uk Kent, CT11 9PW > -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix Journey Toward the Dawn, E-Book: http://www.thought.org The 8.51a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Sat Jul 9 00:40: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 2C6FE106567A for ; Sat, 9 Jul 2011 00:40:34 +0000 (UTC) (envelope-from william@skybluecircles.com) Received: from out5.smtp.messagingengine.com (out5.smtp.messagingengine.com [66.111.4.29]) by mx1.freebsd.org (Postfix) with ESMTP id DCE3D8FC2E for ; Sat, 9 Jul 2011 00:40:33 +0000 (UTC) Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.messagingengine.com (Postfix) with ESMTP id B1903209FD; Fri, 8 Jul 2011 20:25:32 -0400 (EDT) Received: from web1.messagingengine.com ([10.202.2.211]) by compute3.internal (MEProxy); Fri, 08 Jul 2011 20:25:32 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=message-id:from:to:cc:mime-version:content-transfer-encoding:content-type:in-reply-to:references:subject:date; s=smtpout; bh=/q65JROJiXx5qKb17SAfbZPxcrY=; b=PCkFG76zxW7e1jdfWFcInztvB4fuq2Y4EjLz+4dwB440w4TtCZUzjNckb0PGMCLMfhfCGru53TNIm8QfqhRFyB2tJDd46g0i8SXAMu+2Ap1eCM7Ue9v0xQL4mM09iebK3ntfAH6PAzAwz2N26ZgdkxOSMBvucA62u7kQCJ4EuQY= Received: by web1.messagingengine.com (Postfix, from userid 99) id 920DB3DCD52; Fri, 8 Jul 2011 20:25:32 -0400 (EDT) Message-Id: <1310171132.14237.2149790385@webmail.messagingengine.com> X-Sasl-Enc: w2xnP40LeBcIQqnuWbaLpRsrfTcJioiSdw4Bb/SVWH4O 1310171132 From: "William Stevenson" To: "Scott Ballantyne" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii" X-Mailer: MessagingEngine.com Webmail Interface In-Reply-To: <20110708152135.74807.qmail@irelay.ssr.com> References: <20110708152135.74807.qmail@irelay.ssr.com> Date: Fri, 08 Jul 2011 20:25:32 -0400 Cc: freebsd-questions@freebsd.org Subject: Re: EXABYTE 8200 on FreeBSD 5.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Jul 2011 00:40:34 -0000 On Fri, 08 Jul 2011 15:21 +0000, "Scott Ballantyne" wrote: > I know this is ancient technology, but we have a pile of exabyte tapes > made on an 8200 and would like to recover some of the data on them. > > We have an old 5.3 machine which has an adaptec 2120S, and the Exabyte > is connected to that. The kernel identifies the Exabyte on boot, but > it's all downhill after that. > > The driver sometimes spits out a pile of errors (I'll append a sample > at the end) and mt doesn't seem to do simple commands (like a retension). > > I note that the MT page for 5.3 says that not all SCSI-1 devices are > supported. So before I invest more time in this, I am wondering if > anyone can tell if the support is there for this configuration? > > If not, what (inexpensive) options do I have for possibly retrieving > this data? > > Thanks a lot, > Scott > -- > sdb@ssr.com > > An "mt status" causes the driver to report: > > (sa0:aacp0:0:4:0): MODE SENSE(06). CDB: 1a 0 f 0 1c 0 > (sa0:aacp0:0:4:0): ILLEGAL REQUEST asc:0,0 > (sa0:aacp0:0:4:0): No additional sense information > (sa0:aacp0:0:4:0): MODE SENSE(06). CDB: 1a 0 f 0 1c 0 > (sa0:aacp0:0:4:0): ILLEGAL REQUEST asc:0,0 > (sa0:aacp0:0:4:0): No additional sense information > (sa0:aacp0:0:4:0): MODE SENSE(06). CDB: 1a 0 f 0 1c 0 > (sa0:aacp0:0:4:0): ILLEGAL REQUEST asc:0,0 > (sa0:aacp0:0:4:0): No additional sense information > (sa0:aacp0:0:4:0): MODE SENSE(06). CDB: 1a 0 f 0 1c 0 > (sa0:aacp0:0:4:0): ILLEGAL REQUEST asc:0,0 > (sa0:aacp0:0:4:0): No additional sense information > (sa0:aacp0:0:4:0): MODE SENSE(06). CDB: 1a 0 f 0 1c 0 > (sa0:aacp0:0:4:0): ILLEGAL REQUEST asc:0,0 > (sa0:aacp0:0:4:0): No additional sense information > (sa0:aacp0:0:4:0): MODE SENSE(06). CDB: 1a 0 f 0 1c 0 > (sa0:aacp0:0:4:0): ILLEGAL REQUEST asc:0,0 > (sa0:aacp0:0:4:0): No additional sense information > > > While mt reports: > > Mode Density Blocksize bpi Compression > Current: default variable 0 unsupported > ---------available modes--------- > 0: default variable 0 unsupported > 1: default variable 0 unsupported > 2: default variable 0 unsupported > 3: default variable 0 unsupported > --------------------------------- > Current Driver State: at rest. > --------------------------------- > File Number: 0 Record Number: 0 Residual Count 0 > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > Hi Scott, Do any of these links help? http://cis.kutztown.edu/~frye/cgi-bin/unixManPages.cgi?st+7D http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&taskId=115&prodSeriesId=63988&prodTypeId=12169&objectID=lpg51061 http://www.sunmanagers.org/archives/1995/0984.html There were also a couple hits to the drivers if those would help. Thanks, William From owner-freebsd-questions@FreeBSD.ORG Sat Jul 9 03:54: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 D43A31065672 for ; Sat, 9 Jul 2011 03:54:32 +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 8EFF48FC15 for ; Sat, 9 Jul 2011 03:54:32 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 34CC3E818F7; Fri, 8 Jul 2011 20:54:31 -0700 (PDT) Date: Fri, 8 Jul 2011 20:54:30 -0700 From: Gary Kline To: Dan Busarow Message-ID: <20110709035430.GA31019@thought.org> References: <20110707180041.GA90387@thought.org> <20110708055837.GA21564@thought.org> <4E16C779.6000607@infracaninophile.co.uk> <2A8AFE06-FC2C-4FCC-A4B1-4FEE8689E958@buildingonline.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2A8AFE06-FC2C-4FCC-A4B1-4FEE8689E958@buildingonline.com> Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 24++ years of service to the Unix community. User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Gary Kline , freebsd-questions@freebsd.org, Gary Kline Subject: Re: DNS and file system messed up... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Jul 2011 03:54:32 -0000 On Fri, Jul 08, 2011 at 07:27:12AM -0600, Dan Busarow wrote: > Date: Fri, 8 Jul 2011 07:27:12 -0600 > From: Dan Busarow > Subject: Re: DNS and file system messed up... > To: freebsd-questions@freebsd.org > X-Mailer: Apple Mail (2.753.1) > > > On Jul 8, 2011, at 3:01 AM, Matthew Seaman wrote: > > >On 08/07/2011 08:25, Doug Hardie wrote: > >>On 7 July 2011, at 22:58, Gary Kline wrote: > >> > >>>>>>Jul 7 10:16:33 ethic named[54366]: none:0: open: /etc/named.conf: > >>>>>>file not found > >>>>>>Jul 7 10:17:56 ethic named[54371]: starting BIND > >>>>>>9.3.6-P1 -c /var/named/etc/namedb/named.conf > > > >>The first one that fails is looking for /etc/named.conf. The second > >>one shows its in /var/named/etc/named/named.conf > > > >>Those are different locations. I suspect you have named_flags setup > >>in rc.conf pointing to /etc/namedb/named.conf rather than the right > >>location. Its also possible that its not set in rc.conf but defaults > >>in either the rc script or /etc/rc.d/named. On my system it appears > >>to default in /etc/rc.d/named. > > > >FreeBSD defaults to running named chrooted. /etc/namedb is actually a > >symbolic link: > > > >% ls -la /etc/namedb > >lrwxr-xr-x 1 root wheel 21 Jul 6 06:24 /etc/namedb@ -> > >/var/named/etc/namedb > > > >so the files referenced are in fact exactly the same file. > > Actually > > /etc/named.conf > > is NOT the same as > > /etc/namedb/named.conf ergo it is not the same as /var/named/etc/namedb/named.conf > > Gary, add > > named_flags="-c /etc/namedb/named.conf" > > to /etc/rc.conf. Or change /etc/namedb/named.conf to the /var > version if you like/there is no symlink. > > Dan > Dan! I think you fixed something. I haven't figured this out yet, and would be grateful if you could decode this in /var/log/messages:: Jul 8 20:39:32 ethic named[83003]: stopping command channel on ::1#953 Jul 8 20:39:32 ethic named[83003]: exiting Jul 8 20:39:37 ethic named[84090]: starting BIND 9.3.6-P1 -c /etc/namedb/named.conf -t /var/named -u bind Jul 8 20:39:37 ethic named[84090]: none:0: open: /etc/rndc.key: file not found Jul 8 20:39:37 ethic named[84090]: couldn't add command channel 127.0.0.1#953: file not found Jul 8 20:39:37 ethic named[84090]: none:0: open: /etc/rndc.key: file not found Jul 8 20:39:37 ethic named[84090]: couldn't add command channel ::1#953: file not found Jul 8 20:39:37 ethic named[84090]: the working directory is not writable Jul 8 20:39:37 ethic named[84090]: running This, after I added your named_flags line into /etc/rc.conf. Where I get lost is *what* gives me that "none:0" lines?? I see the same or worse err when I drop in bind98. IIRC, named does run, but the messages log is fulll of rndc.key error messages that I just cannot understand. _Now_, having dropped in your named_flags line, I am seeing something similar. I haved grepped thru the entire /etc/ tree and haven't found anything that explains where I messed up.... Ideas? thanks to you or anybody else onlist. gary > > > > However, the > >flags from the log extract don't look like the defaults to me. (I'm > >running the dns/bind98 port, and the equivalent info from the log line > >is '-t /var/named -u bind') > > > >Gary, what named related settings do you have in /etc/rc.conf? You > >almost certainly don't need anything more than: > > > >named_enable="YES" > > > >and perhaps > > > >syslogd_flags="-ss -l /var/named/var/run/log" > > > >so named can log to the system syslog. > > > > Cheers, > > > > Matthew > > > >-- > >Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > > Flat 3 > >PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > >JID: matthew@infracaninophile.co.uk Kent, CT11 9PW > > > > _______________________________________________ > 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 8.51a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Fri Jul 8 18:15: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 164711065687 for ; Fri, 8 Jul 2011 18:15:22 +0000 (UTC) (envelope-from SADM-IT_Officer@HollandAmerica.com) Received: from mail02.halw.com (mail02.halw.com [199.245.127.26]) by mx1.freebsd.org (Postfix) with ESMTP id E7FC68FC12 for ; Fri, 8 Jul 2011 18:15:21 +0000 (UTC) Received: from HALPCAS2.flagship.hal.com (unknown [10.194.46.154]) by mail02.halw.com (Postfix) with ESMTP id 915D43886E; Fri, 8 Jul 2011 11:15:21 -0700 (PDT) Received: from StatendamEx01.STDMDOMAIN.hal.com (10.9.64.25) by HALPCAS2.flagship.hal.com (10.194.46.154) with Microsoft SMTP Server (TLS) id 8.3.106.1; Fri, 8 Jul 2011 11:15:17 -0700 Received: from StatendamEx01.STDMDOMAIN.hal.com ([fe80::55da:47c:57de:cd2]) by StatendamEx01.STDMDOMAIN.hal.com ([fe80::55da:47c:57de:cd2%14]) with mapi; Fri, 8 Jul 2011 10:15:03 -0800 From: "SADM-IT Officer (HAL)" To: 'Warren Block' Date: Fri, 8 Jul 2011 10:15:02 -0800 Thread-Topic: Just a quick note/correction for whomever edits the web page: Thread-Index: Acw9k4XeMNJUZw8UQQ+Ps5VnI352ewAB0jUQ Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailman-Approved-At: Sat, 09 Jul 2011 04:37:42 +0000 Cc: "'freebsd-questions@FreeBSD.org'" Subject: RE: Just a quick note/correction for whomever edits the web page: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 08 Jul 2011 18:15:22 -0000 I actually made it general (although I definitely should have pointed out t= he instance I was looking at) on purpose; I find that in instruction sets s= uch as these there are often multiple sets of instructions. Either way, I'm= glad you were able to see it, just trying to help. :) Cheers, __________ Scott Lucas IT Officer, m.s. Statendam Holland America Line 300 Elliot Avenue West, Seattle, WA 98119 -----Original Message----- From: Warren Block [mailto:wblock@wonkity.com]=20 Sent: Friday, July 08, 2011 9:22 AM To: SADM-IT Officer (HAL) Cc: 'freebsd-questions@FreeBSD.org' Subject: Re: Just a quick note/correction for whomever edits the web page: On Fri, 8 Jul 2011, SADM-IT Officer (HAL) wrote: > On the installation pages describing the process to make a USB=20 > installation, you reference downloading win32-image-writer for making=20 > a USB from Windows. Your link points to=20 > http://launchpad.net/win32-image-writer/, which is actually (or is=20 > now) https://launchpad.net/win32-image-writer/. I'm not sure why it=20 > would change to HTTPS, but I thought it might be worth changing on the=20 > web site. :) As Julian Stacey notes, an exact pointer to the mistake helps. There's=20 a lot of FreeBSD docs, and a lot of people working on them. I'm=20 familiar with this one, so I entered a PR for it. http://www.freebsd.org/cgi/query-pr.cgi?pr=3D158739 Thanks! From owner-freebsd-questions@FreeBSD.ORG Sat Jul 9 04:38: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 A0BBB106564A for ; Sat, 9 Jul 2011 04:38:05 +0000 (UTC) (envelope-from david.krauser@gmail.com) Received: from mail-yx0-f182.google.com (mail-yx0-f182.google.com [209.85.213.182]) by mx1.freebsd.org (Postfix) with ESMTP id 5F7A48FC22 for ; Sat, 9 Jul 2011 04:38:05 +0000 (UTC) Received: by yxl31 with SMTP id 31so1274116yxl.13 for ; Fri, 08 Jul 2011 21:38:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:x-x-sender:to:subject:message-id:user-agent:mime-version :content-type; bh=CudyYn3ce2zNQDc6VNKTicTLQjy7bt3VM5lEq5QXQwc=; b=ZZ7UEvPztu+aqAYhwAZWwKDhDrJ4oEzwlr5J64UOEySdztj5mfj38w/VcaOv+vpwY0 EAwRotLozgID2TCorwPosTAnSyXYJoHgGa/UQh4QAEKxvcDKPPn6MQ+QhxU8KCPXOpqM s7goWQIMi2ARsKTZ2F/Iip0CanGKiRukEn4Xo= Received: by 10.236.185.134 with SMTP id u6mr3347025yhm.76.1310184480592; Fri, 08 Jul 2011 21:08:00 -0700 (PDT) Received: from devio.us (devio.us [66.7.199.108]) by mx.google.com with ESMTPS id c69sm1622996yhm.43.2011.07.08.21.07.59 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 08 Jul 2011 21:08:00 -0700 (PDT) Date: Sat, 9 Jul 2011 00:07:43 -0400 (EDT) From: David Krauser X-X-Sender: davidkrauser@wolfman.devio.us To: freebsd-questions@freebsd.org Message-ID: User-Agent: Alpine 2.00 (BSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII Subject: Color Spills Over From SSH Session X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Jul 2011 04:38:05 -0000 Hello everybody, I've tried to setup a kind of 'dedicated ssh client' using FreeBSD, and I'm having some issues with the terminal colors. I have a basic install of FreeBSD 8.2-RELEASE (I only had kernel-dev packages checked at installation) and I rebuilt the GENERIC kernel with the VESA and SC_PIXEL_MODE options enabled (for a high resolution terminal). Now here's the problem: when I ssh into another box and issue a command with colors (like vim's syntax hilighting or a colored ls) the primary color of the terminal will change. I'm often left with a crazy colored and hard to read bash prompt (all in the ssh session). When I exit the session back to FreeBSD, the colors persist. I have to use the command 'reset' to fix the issue. I believe my primary FreeBSD shell is csh (it's whatever the default is in FreeBSD) and I'm not sure if it can handle colors or if it has them enabled. I generally ssh into a bash shell. I'm really a newcomer with FreeBSD, and any help would be greatly appreciated. Thanks a bunch, David Krauser david.krauser@gmail.com From owner-freebsd-questions@FreeBSD.ORG Sat Jul 9 05:33: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 F39DF1065670 for ; Sat, 9 Jul 2011 05:33:52 +0000 (UTC) (envelope-from f.bonnet@esiee.fr) Received: from hp9.esiee.fr (hp9.esiee.fr [147.215.1.4]) by mx1.freebsd.org (Postfix) with ESMTP id A79278FC0A for ; Sat, 9 Jul 2011 05:33:52 +0000 (UTC) Received: from mail.esiee.fr (mail.esiee.fr [147.215.1.3]) by hp9.esiee.fr (Postfix) with ESMTP id C97AB14E9B7B; Sat, 9 Jul 2011 07:32:09 +0200 (CEST) X-DKIM: OpenDKIM Filter v2.4.1 hp9.esiee.fr C97AB14E9B7B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=esiee.fr; s=MAILOUT; t=1310189529; bh=sRb8zFC8Z1xXXp8Q/gVNRawKsKtMgAmxEZ17JNxpp6w=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=kVEN4/3bY5uiWEoffv2qCjyDMxoa3NT0M0hOpa6obWp0O7fcNCOenw4zQ7Qk5bwVc aC0dhEjIceUyIeOwRIFxF986J/txQpjh/BW51lPi7rpqTULRenl2lyPIm9sde4InfG z4w4BtomP7wbDy61yXs1+46zRjQKJ2DeyDUat78I= Received: from mail.esiee.fr (localhost [127.0.0.1]) by VAMS.dummy (Postfix) with SMTP id DB1363C3CB6; Sat, 9 Jul 2011 07:32:23 +0200 (CEST) Received: from secure.esiee.fr (secure.esiee.fr [147.215.1.19]) by mail.esiee.fr (Postfix) with ESMTP id AB4D03C3CB3; Sat, 9 Jul 2011 07:32:23 +0200 (CEST) Received: from [127.0.0.1] (chs77-1-82-238-8-126.fbx.proxad.net [82.238.8.126]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: bonnetf) by secure.esiee.fr (Postfix) with ESMTPSA id F41BBEAC8F; Sat, 9 Jul 2011 07:34:06 +0200 (CEST) Message-ID: <4E17E834.1080201@esiee.fr> Date: Sat, 09 Jul 2011 07:33:40 +0200 From: Frank Bonnet User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: Moises Castellanos References: <4E1713AF.7000806@esiee.fr> <4E172DE2.1000308@esiee.fr> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Cc: freebsd-questions@freebsd.org Subject: Re: import users from LDAP to local password file (pwd.db) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Jul 2011 05:33:53 -0000 Thanks for the pointer , I gonna try this Le 08/07/2011 20:35, Moises Castellanos a =E9crit : > On Fri, Jul 8, 2011 at 11:48 AM, Frank Bonnet wrote= : > >> getent does not show the encrypted password field >> >> >> > You could use perl with Net::LDAP to generate the passwd file, someth= ing > like http://bit.ly/p6bWwI > > Regards > > > >> On 07/08/2011 05:43 PM, Moises Castellanos wrote: >> >>> Hi >>> You can try with getent(1) passwd and see if you can work with the = output >>> >>> Regards >>> >>> On Fri, Jul 8, 2011 at 9:56 AM, Frank Bonnet wro= te: >>> >>> Hello >>>> >>>> I need to import the necessary users's data from an OpenLDAP direct= ory >>>> server >>>> to put them in the local password files , anyone has done this befor= e ? >>>> >>>> The machine use nss_ldap and pam_ldap to authenticate users but for >>>> robustness >>>> during the holidays I would like to have a local password file on th= is >>>> machine which >>>> is our mailhub. >>>> >>>> The OpenLDAP server runs on another machine and if it fails during >>>> holidays >>>> I want >>>> my mailhub to be standalone for authentication in order to let email >>>> service running >>>> even the directory server crash. >>>> >>>> Thanks >>>> >>>> ______________________________****_________________ >>>> freebsd-questions@freebsd.org mailing list >>>> http://lists.freebsd.org/****mailman/listinfo/freebsd-****questions<= 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" >>> >> >> >> -- >> >> Frank BONNET >> >> 01.45.92.66.17 >> >> Service des Moyens Informatiques Generaux >> >> ESIEE PARIS >> Cit=E9 Descartes / BP 99 >> 93162 NOISY-LE-GRAND Cedex >> http://www.esiee.fr >> >> >> ______________________________**_________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions >> To unsubscribe, send any mail to "freebsd-questions-** >> unsubscribe@freebsd.org" >> > From owner-freebsd-questions@FreeBSD.ORG Sat Jul 9 06:57: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 62554106566B for ; Sat, 9 Jul 2011 06:57:35 +0000 (UTC) (envelope-from jrisom@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 2C4698FC08 for ; Sat, 9 Jul 2011 06:57:34 +0000 (UTC) Received: by iwr19 with SMTP id 19so3043268iwr.13 for ; Fri, 08 Jul 2011 23:57:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=V6X/2RLg9wGWMRc3jEdV9hDV73JDGBfzZcMO0BARzWw=; b=Ie0xtluYhr75CubotIa0ioaasX4o/NVwExFBrMEkTCcNGknW4TDpjIITwudp/4/ufD +vCdFwF+TpCuCpAvkvKe/+/abVnguBV7jURW0SpI5sCbeJulPk3A11sKOH05iAo4ju6J zNHeKZ8kFfRYTNqqll2/cnreoSoiocVowImnI= Received: by 10.42.19.69 with SMTP id a5mr2717984icb.69.1310194653949; Fri, 08 Jul 2011 23:57:33 -0700 (PDT) Received: from [192.168.1.9] (c-98-212-201-29.hsd1.il.comcast.net [98.212.201.29]) by mx.google.com with ESMTPS id m18sm2458286ibc.28.2011.07.08.23.57.32 (version=SSLv3 cipher=OTHER); Fri, 08 Jul 2011 23:57:33 -0700 (PDT) Message-ID: <4E17FBDD.6050008@gmail.com> Date: Sat, 09 Jul 2011 01:57:33 -0500 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.18) Gecko/20110616 Lightning/1.0b2 Thunderbird/3.1.11 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: Color Spills Over From SSH Session X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Jul 2011 06:57:35 -0000 On 7/8/2011 11:07 PM, David Krauser wrote: > > Hello everybody, > > I've tried to setup a kind of 'dedicated ssh client' using FreeBSD, and > I'm having some issues with the terminal colors. > > I have a basic install of FreeBSD 8.2-RELEASE (I only had kernel-dev > packages checked at installation) and I rebuilt the GENERIC kernel with > the VESA and SC_PIXEL_MODE options enabled (for a high resolution > terminal). > > Now here's the problem: when I ssh into another box and issue a command > with colors (like vim's syntax hilighting or a colored ls) the primary > color of the terminal will change. I'm often left with a crazy colored > and hard to read bash prompt (all in the ssh session). When I exit the > session back to FreeBSD, the colors persist. I have to use the command > 'reset' to fix the issue. > > I believe my primary FreeBSD shell is csh (it's whatever the default is > in FreeBSD) and I'm not sure if it can handle colors or if it has them > enabled. I generally ssh into a bash shell. > > I'm really a newcomer with FreeBSD, and any help would be greatly > appreciated. > > Thanks a bunch, > > David Krauser > david.krauser@gmail.com Are you sshing from the console or an xterm? If it's from the console, it should be cons25, and if it's from an xterm it should be xterm or xterm-color. You might have the .cshrc on the other box forcing it to something that it's not. On the FreeBSD box, run `echo $TERM` and note what it says, then ssh into the other box and run it again. They're probably different. It's probably not the FreeBSD box, but the other box doesn't know what you're using. From owner-freebsd-questions@FreeBSD.ORG Sat Jul 9 08:14: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 4A7451065677 for ; Sat, 9 Jul 2011 08:14: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 77FDE8FC16 for ; Sat, 9 Jul 2011 08:14: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.5/8.14.5) with ESMTP id p698ETYw070281 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sat, 9 Jul 2011 09:14:30 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: Sendmail DKIM Filter v2.8.3 smtp.infracaninophile.co.uk p698ETYw070281 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1310199270; bh=lzpBZweDsRywOxPK8POCip8lpu7BB1ho5MhrQWMrmoE=; 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<4E180DDD.1020505@infracaninophile.co.uk>|Date:=20S at,=2009=20Jul=202011=2009:14:21=20+0100|From:=20Matthew=20Seaman= 20|User-Agent:=20Mozilla/5.0=20(M acintosh=3B=20Intel=20Mac=20OS=20X=2010.6=3B=20rv:5.0)=20Gecko/201 10624=20Thunderbird/5.0|MIME-Version:=201.0|To:=20Gary=20Kline=20< kline@thought.org>|CC:=20freebsd-questions@freebsd.org|Subject:=20 Re:=20DNS=20and=20file=20system=20messed=20up...|References:=20<20 110707180041.GA90387@thought.org>=20<20110708055837.GA21564@though t.org>=20=20<4E16C7 79.6000607@infracaninophile.co.uk>=20<20110708220452.GB26712@thoug ht.org>|In-Reply-To:=20<20110708220452.GB26712@thought.org>|X-Enig mail-Version:=201.2|OpenPGP:=20id=3D60AE908C|Content-Type:=20multi part/signed=3B=20micalg=3Dpgp-sha1=3B=0D=0A=20protocol=3D"applicat ion/pgp-signature"=3B=0D=0A=20boundary=3D"------------enigB97BE1B9 88345B56FF64DF20"; b=B3O+qGCMZtPphCtGSMfV+J+O/ong5LcWJ6SDArIadrCYAfs+BO80QdLXOhHRG5GJn 5g42LUqwYg1z7rg+sBbNjjMqnyhN2hJUHr62tsQFvSLNq47ql7YveQWEW0SCaeDKBU RHiTx5MJLGRImSkekvNLL2rxkg3OPvgzcuFu2ZiE= Message-ID: <4E180DDD.1020505@infracaninophile.co.uk> Date: Sat, 09 Jul 2011 09:14:21 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: Gary Kline References: <20110707180041.GA90387@thought.org> <20110708055837.GA21564@thought.org> <4E16C779.6000607@infracaninophile.co.uk> <20110708220452.GB26712@thought.org> In-Reply-To: <20110708220452.GB26712@thought.org> X-Enigmail-Version: 1.2 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigB97BE1B988345B56FF64DF20" X-Virus-Scanned: clamav-milter 0.97 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_20,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,SPF_FAIL autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-questions@freebsd.org Subject: Re: DNS and file system messed up... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Jul 2011 08:14:41 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB97BE1B988345B56FF64DF20 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 08/07/2011 23:04, Gary Kline wrote: > On Fri, Jul 08, 2011 at 10:01:45AM +0100, Matthew Seaman wrote: >> Date: Fri, 08 Jul 2011 10:01:45 +0100 >> From: Matthew Seaman >> Subject: Re: DNS and file system messed up... >> To: freebsd-questions@freebsd.org >> >> On 08/07/2011 08:25, Doug Hardie wrote: >>> On 7 July 2011, at 22:58, Gary Kline wrote: >>> >>>>>>> Jul 7 10:16:33 ethic named[54366]: none:0: open: /etc/named.conf= : file not found >>>>>>> Jul 7 10:17:56 ethic named[54371]: starting BIND 9.3.6-P1 -c /va= r/named/etc/namedb/named.conf >> >>> The first one that fails is looking for /etc/named.conf. The second >>> one shows its in /var/named/etc/named/named.conf >> >>> Those are different locations. I suspect you have named_flags setup >>> in rc.conf pointing to /etc/namedb/named.conf rather than the right >>> location. Its also possible that its not set in rc.conf but defaults= >>> in either the rc script or /etc/rc.d/named. On my system it appears >>> to default in /etc/rc.d/named. >> >> FreeBSD defaults to running named chrooted. /etc/namedb is actually a= >> symbolic link: >=20 >=20 > hi matthew, >=20 > i found an in-depth post you wrote re mtree yesterday ( 07july ), > but i figured it was over my head in resetting anything i might need > to reset. i was going to write you offlist. decided to ask the > entire list. >=20 >=20 >> >> % ls -la /etc/namedb >> lrwxr-xr-x 1 root wheel 21 Jul 6 06:24 /etc/namedb@ -> >> /var/named/etc/namedb >> >> so the files referenced are in fact exactly the same file. However, t= he >> flags from the log extract don't look like the defaults to me. (I'm >> running the dns/bind98 port, and the equivalent info from the log line= >> is '-t /var/named -u bind') >=20 >=20 > i was using bind98 rather than the earlier bind9 which is out of > date. but bind98 gave me troubles with the rndc.key and other, so i > chose to go back with what worked. --first thing is to get this > working with the older bind9. FWIW, both bind9's given me the same=20 > error and failure. i have walked thru the named script to the point > where it creates the symlink. regardless, i cannot understand the > error and failure messages. i only know that my kill -9 and my=20 > initialization "by hand" work. =20 >> >> Gary, what named related settings do you have in /etc/rc.conf? You >> almost certainly don't need anything more than: >> >> named_enable=3D"YES" >> >> and perhaps >> >> syslogd_flags=3D"-ss -l /var/named/var/run/log" >> >> so named can log to the system syslog. >=20 >=20 > Hmmm [&c]. as you may have seen in my post to Doug H. i only have=20 >=20 >=20 > -- >=20 > named_enable=3D"YES" > named_program=3D"/usr/local/sbin/named" > named_pidfile=3D"/var/run/named/pid" OK. The good news is that the configuration that works for the system built-in version of named will work for the dns/bind98 port with very minor changes, if any. First: where everything should live /etc/namedb/named.conf --- named's config file /etc/namedb/master --- zone files this server is master for /etc/namedb/slave --- zone files this server slaves from another master (rw by named) /etc/named/working --- named's working directory (rw by named) /etc/rndc.conf --- config file for rndc There are various other files and directories under /etc/namedb which you may or may not need depending on how you configure named; in any case, just leave them in their default locations and with the permissions the system gives them. (You can use mtree(8) to fix them up if necessary -- but that's a whole other posting) Now, although named defaults to running chrooted into /var/namedb, you don't need to mention that path explicitly anywhere in the config. In fact, you should think about the configuration as if there was no chrooting happening at all. Second: rc.conf settings named_enable=3D"YES" syslogd_flags=3D"-ss -l /var/named/var/run/log" should be all you need to use the built-in version of named. Third: rndc configuration Generate a new rndc key and a config file by: # rndc-confgen > /etc/named/rndc.conf This should create a new file /etc/namedb/rndc.conf preconfigured to work with the named instance on the localhost. Look at the text of the file -- commented out there's a chunk of stuff to copy into named.conf So let's do that. If the file contains: # key "rndc-key" { # algorithm hmac-md5; # secret "0ABCDE123+45+67890=3D=3D"; # }; # # controls { # inet 127.0.0.1 port 953 # allow { 127.0.0.1; } keys { "rndc-key"; }; # }; Then copy that without the '#' quotes into named.conf In fact, I find it helps to add a control for access to ::1 as well. So add this text to /etc/namedb/named.conf: key "rndc-key" { algorithm hmac-md5; secret "0ABCDE123+45+67890=3D=3D"; }; controls { inet 127.0.0.1 port 953 allow { 127.0.0.1; } keys { "rndc-key"; }; inet ::1 port 953 allow { ::1; } keys { "rndc-key"; }; }; Fourth: set up named.conf As I don't no much about the config you want, I'm going to have to keep this to generalities. In the options section you should have some standard boiler-plate: options { directory "/etc/namedb/working"; pid-file "/var/run/named/pid"; dump-file "/var/dump/named_dump.db"; statistics-file "/var/stats/named.stats"; memstatistics-file "/var/stats/named.memstats"; For security purposes you can turn off named's built-in version display e= tc. version none; hostname none; server-id none; Also for security purposes, configure named to use as many UDP ports as possible: use-v4-udp-ports { range 1024 65535; }; use-v6-udp-ports { range 1024 65535; }; There's a bunch of other stuff I could talk about to go into options, but that's a matter of individual choice and this message is long enough already. One of the more important things I'm glossing over is the 'recursion' setting -- this needs to be carefully restricted to only being available to your own network, as there are plenty of nasty attacks that are enabled by opening recursion to the world. When it comes to zone file statements, on slight gotcha is that you should give /absolute/ filenames -- that's a consequence of the 'directory' setting above. Remember the bit about pretending that chrooting isn't happening? It applies here. So, for instance, you'ld want something like this for localhost: zone "localhost" { type master; file "/etc/namedb/master/localhost-forward"; }; zone "127.in-addr.arpa" { type master; file "/etc/namedb/master/localhost-reverse"; }; // RFC 1912-style zone for IPv6 localhost address zone "0.ip6.arpa" { type master; file "/etc/namedb/master/localhost-reverse"; }; Those zone files should be present as part of the standard system. Note: you can use ACLs and/or views to control access to these localhost zones. It's only your local trusted clients that need any access. For zones that you are serving to the general public -- ie. the zones you are authoritative for, you'ld have something like this: zone "infracaninophile.co.uk" { type master; file "/etc/namedb/master/infracaninophile.co.uk"; allow-query { any; }; allow-transfer { secondaries; }; }; Fifth: testing Use named-checkconf to test that your config is going to work: # named-checkconf /etc/namedb/named.conf && echo "Everything is OK" If named-checkconf prints anything out, that's a problem which needs to be fixed. named-checkconf remaining silent is a good sign. Sixth: start named up # /etc/rc.d/named start Look at the logging output in /var/log/messages to check everything is running OK, and test that rndc works by 'rndc status' Seventh: there is no seventh. Well, actually, changes you would need to make to use the dns/bind98 port. Very few. Check that /usr/local/etc/rndc.conf is a symlink to /etc/named/rndc.conf -- this should be created automatically when you install the port. Use /usr/local/sbin/named-checkconf to verify that your named.conf is OK with the newer named version. Unless you're using DNSSEC it almost certainly will be. Stop named running and add named_program=3D"/usr/local/sbin/named" to /etc/rc.conf Restart named. Done. 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 --------------enigB97BE1B988345B56FF64DF20 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/ iEYEARECAAYFAk4YDeQACgkQ8Mjk52CukIxWxgCfWoMZn77MV24GSQJ7OswENzgd VucAnAt8ZreeYmAo4D/7y5BzF80z0ww4 =JpML -----END PGP SIGNATURE----- --------------enigB97BE1B988345B56FF64DF20-- From owner-freebsd-questions@FreeBSD.ORG Sat Jul 9 10:53: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 62889106564A for ; Sat, 9 Jul 2011 10:53:06 +0000 (UTC) (envelope-from invalid.pointer@gmail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3A6A78FC0A for ; Sat, 9 Jul 2011 10:53:05 +0000 (UTC) Received: by pvg11 with SMTP id 11so2151139pvg.13 for ; Sat, 09 Jul 2011 03:53:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=PB1qfT2zQpPVTDWVp6jQ+eW54RNgCkpaHAaABsbh3Dg=; b=I1riidHkZ6rc/Si/3585f+OC55Qc8LS5ZIi3X4j9T1xDR5WN+BOOH0Apg0mO21KLqh MpbhbwMtMaYG5t83V68+AwysgfhuivAPERhQKA9wFUWJ5cTohvDenvKWqjpYivByQMCF 4tCuyDMPF5BDHlAsy1+XPZbbXtRYb7Bh1b8q4= Received: by 10.68.0.170 with SMTP id 10mr4212131pbf.244.1310208785613; Sat, 09 Jul 2011 03:53:05 -0700 (PDT) Received: from [127.0.0.1] ([14.96.209.244]) by mx.google.com with ESMTPS id d3sm3604471pbh.53.2011.07.09.03.53.02 (version=SSLv3 cipher=OTHER); Sat, 09 Jul 2011 03:53:04 -0700 (PDT) Message-ID: <4E18332F.1040805@gmail.com> Date: Sat, 09 Jul 2011 16:23:35 +0530 From: Manish Jain User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 To: freebsd-questions@freebsd.org References: <20110709053404.B1FC910656AE@hub.freebsd.org> In-Reply-To: <20110709053404.B1FC910656AE@hub.freebsd.org> Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: disk spinning continuously + cpu possibly overheating = sudden death X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Jul 2011 10:53:06 -0000 Hello all, I am running FreeBSD-8.2-amd64 on a Western Digital 320 GD disk and a quad-core AMD Phenom processor. After booting, the disk keeps continuously (meaning continuous I/O) and after a couple of hours (on the console with the X server not running), suddenly the whole system dies, powering off in a flash. I suspect the continuous I/O is causing is a CPU overheat which results in this behaviour. The strange thing is when I ran a script to ktrace and kdump, there is no sign of any unwarranted I/O. Can anyone suggest what possibly be wrong with my system ? I have disabled as much as possible in rc.conf and syslog.conf to prevent I/O. My script and the output are pasted below. BTW, the system runs flawlessly both on Win XP and FreeBSD-8.0-amd64. The reason I do not want to install FreeBSD-8.0-amd64 is that its Logo saver, one of my al-time favourites, does not work. In 8.2, it does work. One thing I should mention is that, apart from swap, I have only one partition / (35 GB). No other mountpoints. BTW, does FreeBSD have anything like Linux badblocks to check for any bad sectors in hard disks ? Thanks for any help. Regards Manish Jain [1]invalid.pointer@gmail.com #!/usr/local/bin/bash ktrace -dip 0 sleep 10 ktrace -C kdump -m64 | egrep '\|\' > ~/diskio.log exit 0 Here are the results : 1640 bash CALL read(0xff,0x800e23080,0x77) 1640 bash GIO fd 255 read 82 bytes 1640 bash RET read 82/0x52 1642 sleep CALL read(0x3,0x7fffffffe170,0x80) 1642 sleep GIO fd 3 read 128 bytes 1642 sleep RET read 128/0x80 1642 sleep CALL read(0x3,0x800533000,0xb4) 1642 sleep GIO fd 3 read 180 bytes 1642 sleep RET read 180/0xb4 1642 sleep GIO fd 3 read 4096 bytes 858 ppp CALL read(0,0x801420140,0x800) 858 ppp GIO fd 0 read 18 bytes 858 ppp RET read 18/0x12 858 ppp CALL read(0,0x801420140,0x800) 858 ppp GIO fd 0 read 53 bytes 858 ppp RET read 53/0x35 858 ppp CALL write(0x6,0x7fffffffd980,0x34) 858 ppp RET write 52/0x34 858 ppp CALL read(0x6,0x7fffffffe320,0x804) 858 ppp GIO fd 6 read 44 bytes 858 ppp RET read 44/0x2c 858 ppp CALL write(0,0x80145b138,0x2d) 858 ppp RET write 45/0x2d 858 ppp CALL read(0,0x801420140,0x800) 858 ppp GIO fd 0 read 53 bytes 858 ppp RET read 53/0x35 858 ppp CALL write(0x6,0x7fffffffd980,0x34) 858 ppp RET write 52/0x34 858 ppp CALL read(0x6,0x7fffffffe320,0x804) 858 ppp GIO fd 6 read 44 bytes 858 ppp RET read 44/0x2c 858 ppp CALL write(0,0x80145b338,0x2e) 858 ppp RET write 46/0x2e 1640 bash CALL read(0xff,0x800e23080,0x77) 1640 bash GIO fd 255 read 73 bytes kdump -m64 | egrep '\\|\\' > ~/diskio.log" 1640 bash RET read 73/0x49 1643 ktrace CALL read(0x3,0x7fffffffe140,0x80) 1643 ktrace GIO fd 3 read 128 bytes 1643 ktrace RET read 128/0x80 1643 ktrace CALL read(0x3,0x800534000,0xb4) 1643 ktrace GIO fd 3 read 180 bytes 1643 ktrace RET read 180/0xb4 1643 ktrace GIO fd 3 read 4096 bytes References 1. mailto:invalid.pointer@gmail.com From owner-freebsd-questions@FreeBSD.ORG Sat Jul 9 13:39: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 AB5CA106564A for ; Sat, 9 Jul 2011 13:39:31 +0000 (UTC) (envelope-from kingedgar@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 851208FC19 for ; Sat, 9 Jul 2011 13:39:31 +0000 (UTC) Received: by pzk27 with SMTP id 27so2641432pzk.13 for ; Sat, 09 Jul 2011 06:39:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=EU/fXbl9zEPEgl1A8CL+UhAgMUjnPMtV90VwDPx8BLk=; b=Hvi7nzLsj75zdTPCXUNGT7azLnFfDmnOZ2bmMAm+0CMW/5eZNyWmOabGqmH8vKwjls GzWZIrdUcdFLjXNbGCq8pQDDZJdtHHh71WER6w0RixHeQeK6RqcjBEiDweWgZj3DF26h 7fgahuyiTdj+4ufUtoi80ws/hBQGC6oM1JsFQ= MIME-Version: 1.0 Received: by 10.142.149.31 with SMTP id w31mr982693wfd.31.1310218771066; Sat, 09 Jul 2011 06:39:31 -0700 (PDT) Received: by 10.142.116.5 with HTTP; Sat, 9 Jul 2011 06:39:31 -0700 (PDT) In-Reply-To: References: Date: Sat, 9 Jul 2011 08:39:31 -0500 Message-ID: From: Jason Garrett To: FreeBSD-Questions Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: openldap24-sasl-client preventing kde4 from installing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Jul 2011 13:39:31 -0000 On Fri, Jul 8, 2011 at 14:35, Jason Garrett wrote: > Even after I pkg_delete -f openldap-sasl-client* trying to compile kde4, or > in this case I narrowed it down to kdepimlibs4, I always end up with this. > How do I get myself out of this dependency? > > ===>>> Starting check for runtime dependencies > ===>>> Gathering dependency list for net/openldap24-sasl-client from ports > ===>>> Starting dependency check > ===>>> Checking dependency: security/cyrus-sasl2 > ===>>> Dependency check complete for net/openldap24-sasl-client > deskutils/kdepimlibs4 >> net/openldap24-sasl-client > ===> Installing for openldap-sasl-client-2.4.25_2 > ===> Generating temporary packing list > ===> Checking if net/openldap24-sasl-client already installed > ===> openldap-sasl-client-2.4.25_2 is already installed > You may wish to ``make deinstall'' and install this port again > by ``make reinstall'' to upgrade it properly. > If you really wish to overwrite the old port of > net/openldap24-sasl-client > without deleting it first, set the variable "FORCE_PKG_REGISTER" > in your environment or the "make install" command line. > *** Error code 1 > > Stop in /usr/ports/net/openldap24-sasl-client. > *** Error code 1 > > Stop in /usr/ports/net/openldap24-sasl-client. > > ===>>> Installation of openldap-sasl-client-2.4.25_2 > (net/openldap24-sasl-client) failed > ===>>> Aborting update > > ===>>> Update for net/openldap24-sasl-client failed > ===>>> Aborting update > ===>>> You can restart from the point of failure with this command line: > portmaster deskutils/kdepimlibs4 > > Setting FORCE_PKG_REGISTER in root's .cshrc did the trick, but I'm not sure that was the best way of doing things. For now x11/kde4 is installing again. From owner-freebsd-questions@FreeBSD.ORG Sat Jul 9 13:49: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 A2E26106564A for ; Sat, 9 Jul 2011 13:49:46 +0000 (UTC) (envelope-from dan@buildingonline.com) Received: from capistrano.beach.net (ns.beach.net [12.130.64.129]) by mx1.freebsd.org (Postfix) with ESMTP id 6D62F8FC0C for ; Sat, 9 Jul 2011 13:49:46 +0000 (UTC) Received: from [192.168.1.227] (host114.beach.net [206.127.77.114]) by capistrano.beach.net (8.14.3/8.14.3) with ESMTP id p69Dnhs3016381; Sat, 9 Jul 2011 06:49:44 -0700 (PDT) (envelope-from dan@buildingonline.com) In-Reply-To: <20110709035430.GA31019@thought.org> References: <20110707180041.GA90387@thought.org> <20110708055837.GA21564@thought.org> <4E16C779.6000607@infracaninophile.co.uk> <2A8AFE06-FC2C-4FCC-A4B1-4FEE8689E958@buildingonline.com> <20110709035430.GA31019@thought.org> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <46E4A1B3-12D7-42B1-8D34-4F6B2BEC6693@buildingonline.com> Content-Transfer-Encoding: 7bit From: Dan Busarow Date: Sat, 9 Jul 2011 07:49:43 -0600 To: Gary Kline X-Mailer: Apple Mail (2.753.1) Cc: freebsd-questions@freebsd.org, Gary Kline Subject: Re: DNS and file system messed up... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Jul 2011 13:49:46 -0000 On Jul 8, 2011, at 9:54 PM, Gary Kline wrote: > On Fri, Jul 08, 2011 at 07:27:12AM -0600, Dan Busarow wrote: >> >> >> Gary, add >> >> named_flags="-c /etc/namedb/named.conf" >> >> to /etc/rc.conf. Or change /etc/namedb/named.conf to the /var >> version if you like/there is no symlink. >> >> Dan >> > > > Dan! I think you fixed something. I haven't figured this > out yet, and would be grateful if you could decode this in > /var/log/messages:: > > > Jul 8 20:39:32 ethic named[83003]: stopping command channel on :: > 1#953 > Jul 8 20:39:32 ethic named[83003]: exiting > Jul 8 20:39:37 ethic named[84090]: starting BIND 9.3.6-P1 > -c /etc/namedb/named.conf -t /var/named -u bind > Jul 8 20:39:37 ethic named[84090]: none:0: open: /etc/rndc.key: > file not found Gary, Theres probably an /etc/rc.conf line to fix these but what I always do is simply symlink /etc/namedb/rndc.key to /etc/rndc.key # ln -s /etc/namedb/rndc.key /etc/rndc.key I actually use rndc.conf on my systems but I think the names and files are interchangeable. Dan > Jul 8 20:39:37 ethic named[84090]: couldn't add command channel > 127.0.0.1#953: file not found > Jul 8 20:39:37 ethic named[84090]: none:0: open: /etc/rndc.key: > file not found > Jul 8 20:39:37 ethic named[84090]: couldn't add command channel :: > 1#953: file not found > Jul 8 20:39:37 ethic named[84090]: the working directory is not > writable > Jul 8 20:39:37 ethic named[84090]: running > > This, after I added your named_flags line into /etc/rc.conf. > Where I get lost is *what* gives me that "none:0" lines?? > I see the same or worse err when I drop in bind98. IIRC, > named does run, but the messages log is fulll of rndc.key > error messages that I just cannot understand. _Now_, having > dropped in your named_flags line, I am seeing something > similar. > > I haved grepped thru the entire /etc/ tree and haven't found > anything that explains where I messed up.... > > Ideas? > > thanks to you or anybody else onlist. > > gary > From owner-freebsd-questions@FreeBSD.ORG Sat Jul 9 14:29: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 2DE1B106566B for ; Sat, 9 Jul 2011 14:29:38 +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 078FE8FC08 for ; Sat, 9 Jul 2011 14:29:37 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from [17.153.27.94] by asmtp023.mac.com (Oracle Communications Messaging Exchange Server 7u4-20.01 64bit (built Nov 21 2010)) with ESMTPSA id <0LO2004IQLLDVZ80@asmtp023.mac.com> for freebsd-questions@freebsd.org; Sat, 09 Jul 2011 07:29:37 -0700 (PDT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.4.6813,1.0.211,0.0.0000 definitions=2011-07-08_09:2011-07-08, 2011-07-08, 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-1107090099 From: Chuck Swiger In-reply-to: <4E18332F.1040805@gmail.com> Date: Sat, 09 Jul 2011 07:29:37 -0700 Message-id: <0C3600E5-1324-4852-894A-D29F3445660C@mac.com> References: <20110709053404.B1FC910656AE@hub.freebsd.org> <4E18332F.1040805@gmail.com> To: Manish Jain X-Mailer: Apple Mail (2.1084) Cc: freebsd-questions@freebsd.org Subject: Re: disk spinning continuously + cpu possibly overheating = sudden death X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Jul 2011 14:29:38 -0000 On Jul 9, 2011, at 3:53 AM, Manish Jain wrote: > I am running FreeBSD-8.2-amd64 on a Western Digital 320 GD disk and a > quad-core AMD Phenom processor. After booting, the disk keeps > continuously (meaning continuous I/O) and after a couple of hours (on > the console with the X server not running), suddenly the whole system > dies, powering off in a flash. I suspect the continuous I/O is causing > is a CPU overheat which results in this behaviour. While you probably do have flaky hardware causing problems, even under the worst case situation, a modern hard drive doesn't use more than about 10W even under full load (ie, continuous writes). Compare that with the 125W thermal design rating of a 4-core Phenom. If your system is overheating, it's not because of what a hard drive is doing. It should be easy to tell if thermals are an issue-- is the CPU heat sink getting too hot to touch just before this shutdown? If so, it's likely to be a problem with a cooling fan or heatsink attachment. Also, what is it that makes you think your disk is doing continuous I/O? What does "iostat 5" or similar show? Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Sat Jul 9 16:05: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 8BABF106566C for ; Sat, 9 Jul 2011 16:05:19 +0000 (UTC) (envelope-from david.krauser@gmail.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 498D78FC08 for ; Sat, 9 Jul 2011 16:05:19 +0000 (UTC) Received: by ywf7 with SMTP id 7so1363094ywf.13 for ; Sat, 09 Jul 2011 09:05:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:x-x-sender:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version:content-type; bh=FLKWKV+wRp2gvYP/KK5B4vDsbTJHoyqJ+0+67dnAUDY=; b=UPLVlzSk/XXV+7o7k3VY1BHFpoqu5JiWHaqZMFCNC2M1Qn9QWz+rgGX086pX42gUFM gmiO6RmR4YgjiEgw8JcChpxPsKMKKlNjS4agh0y4NWZQ4oSZ22ORnP9Uq/uk+NYcD3rs KP2cyOE4Ncapt4BDbcMOoQyG2DcbbIbwew1mc= Received: by 10.236.183.194 with SMTP id q42mr3793450yhm.43.1310227517985; Sat, 09 Jul 2011 09:05:17 -0700 (PDT) Received: from devio.us (devio.us [66.7.199.108]) by mx.google.com with ESMTPS id j65sm5417827yhm.68.2011.07.09.09.05.17 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 09 Jul 2011 09:05:17 -0700 (PDT) Date: Sat, 9 Jul 2011 12:05:02 -0400 (EDT) From: David Krauser X-X-Sender: davidkrauser@wolfman.devio.us To: Joshua Isom In-Reply-To: <4E17FBDD.6050008@gmail.com> Message-ID: References: <4E17FBDD.6050008@gmail.com> User-Agent: Alpine 2.00 (BSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Color Spills Over From SSH Session X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Jul 2011 16:05:19 -0000 I echoed $TERM on both boxes, and they are both cons25. I figured out, though, that I'm only seeing the color spillover issue when I run GNU Screen on the remote box (which is OpenBSD). GNU Screen is not installed on the FreeBSD box. How can I get screen's colors to work in my FreeBSD ssh sessions? I can connect to the remote box from other computers (using putty, xterm, linux console, etc.) without issue. Maybe I need to have screen installed in FreeBSD? On Sat, 9 Jul 2011, Joshua Isom wrote: > On 7/8/2011 11:07 PM, David Krauser wrote: >> >> Hello everybody, >> >> I've tried to setup a kind of 'dedicated ssh client' using FreeBSD, and >> I'm having some issues with the terminal colors. >> >> I have a basic install of FreeBSD 8.2-RELEASE (I only had kernel-dev >> packages checked at installation) and I rebuilt the GENERIC kernel with >> the VESA and SC_PIXEL_MODE options enabled (for a high resolution >> terminal). >> >> Now here's the problem: when I ssh into another box and issue a command >> with colors (like vim's syntax hilighting or a colored ls) the primary >> color of the terminal will change. I'm often left with a crazy colored >> and hard to read bash prompt (all in the ssh session). When I exit the >> session back to FreeBSD, the colors persist. I have to use the command >> 'reset' to fix the issue. >> >> I believe my primary FreeBSD shell is csh (it's whatever the default is >> in FreeBSD) and I'm not sure if it can handle colors or if it has them >> enabled. I generally ssh into a bash shell. >> >> I'm really a newcomer with FreeBSD, and any help would be greatly >> appreciated. >> >> Thanks a bunch, >> >> David Krauser >> david.krauser@gmail.com > > > Are you sshing from the console or an xterm? If it's from the console, it > should be cons25, and if it's from an xterm it should be xterm or > xterm-color. You might have the .cshrc on the other box forcing it to > something that it's not. On the FreeBSD box, run `echo $TERM` and note what > it says, then ssh into the other box and run it again. They're probably > different. > > It's probably not the FreeBSD box, but the other box doesn't know what you're > using. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Sat Jul 9 16:10: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 E39B1106566B for ; Sat, 9 Jul 2011 16:10:05 +0000 (UTC) (envelope-from david.krauser@gmail.com) Received: from mail-gx0-f182.google.com (mail-gx0-f182.google.com [209.85.161.182]) by mx1.freebsd.org (Postfix) with ESMTP id 99E4A8FC08 for ; Sat, 9 Jul 2011 16:10:05 +0000 (UTC) Received: by gxk28 with SMTP id 28so1378884gxk.13 for ; Sat, 09 Jul 2011 09:10:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=date:from:x-x-sender:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version:content-type; bh=CVbsTDnIrmn3TMfJu2Q8ceK9D27Byk9LZO3o6eUfgjM=; b=Cn6IALFHsF0XtRfBz8tgUZZjyoaeQguGFJpB+2RkTG8CHzJ44u8dpb8cItFWH8l7FH saXMW2HyNfSwGE+2+nUvLwS8vny6kKQ9emc5i42nYwVcvNeG3stXrzaz+HnnINZpa9KE wJt3eBwf44EpXDYMhnXwmxrD0rzXOPViF+BIU= Received: by 10.236.187.104 with SMTP id x68mr3954015yhm.394.1310227804923; Sat, 09 Jul 2011 09:10:04 -0700 (PDT) Received: from devio.us (devio.us [66.7.199.108]) by mx.google.com with ESMTPS id c63sm2212235yhe.32.2011.07.09.09.10.04 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 09 Jul 2011 09:10:04 -0700 (PDT) Date: Sat, 9 Jul 2011 12:09:53 -0400 (EDT) From: David Krauser X-X-Sender: davidkrauser@wolfman.devio.us To: Joshua Isom In-Reply-To: <4E17FBDD.6050008@gmail.com> Message-ID: References: <4E17FBDD.6050008@gmail.com> User-Agent: Alpine 2.00 (BSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-questions@freebsd.org Subject: Re: Color Spills Over From SSH Session X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Jul 2011 16:10:06 -0000 Figured it out. I just needed screen installed on the FreeBSD box. Thanks for all your help! On Sat, 9 Jul 2011, Joshua Isom wrote: > On 7/8/2011 11:07 PM, David Krauser wrote: >> >> Hello everybody, >> >> I've tried to setup a kind of 'dedicated ssh client' using FreeBSD, and >> I'm having some issues with the terminal colors. >> >> I have a basic install of FreeBSD 8.2-RELEASE (I only had kernel-dev >> packages checked at installation) and I rebuilt the GENERIC kernel with >> the VESA and SC_PIXEL_MODE options enabled (for a high resolution >> terminal). >> >> Now here's the problem: when I ssh into another box and issue a command >> with colors (like vim's syntax hilighting or a colored ls) the primary >> color of the terminal will change. I'm often left with a crazy colored >> and hard to read bash prompt (all in the ssh session). When I exit the >> session back to FreeBSD, the colors persist. I have to use the command >> 'reset' to fix the issue. >> >> I believe my primary FreeBSD shell is csh (it's whatever the default is >> in FreeBSD) and I'm not sure if it can handle colors or if it has them >> enabled. I generally ssh into a bash shell. >> >> I'm really a newcomer with FreeBSD, and any help would be greatly >> appreciated. >> >> Thanks a bunch, >> >> David Krauser >> david.krauser@gmail.com > > > Are you sshing from the console or an xterm? If it's from the console, it > should be cons25, and if it's from an xterm it should be xterm or > xterm-color. You might have the .cshrc on the other box forcing it to > something that it's not. On the FreeBSD box, run `echo $TERM` and note what > it says, then ssh into the other box and run it again. They're probably > different. > > It's probably not the FreeBSD box, but the other box doesn't know what you're > using. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From owner-freebsd-questions@FreeBSD.ORG Sat Jul 9 16:21: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 F22E8106564A for ; Sat, 9 Jul 2011 16:21:46 +0000 (UTC) (envelope-from jrisom@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 BA2528FC15 for ; Sat, 9 Jul 2011 16:21:46 +0000 (UTC) Received: by iyb11 with SMTP id 11so3351588iyb.13 for ; Sat, 09 Jul 2011 09:21:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; 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; bh=TwYecFQukVEHE5gwvfuw0iSjzBpGl9iWtjjEF83Iius=; b=YE71AWL3R8h9ZOuS/kDcJ8iUP373KqH8Ac4UMdZf+7LK14VDz41EpjigrsejzKXKTm /aTnOGVg9ELgfb4iFqERJK+xdVHtPXO/1Bc9klHsTw9sXKBOZffpuMfNwp4l4dpltq0x JugAOf92nLyFZE335P1ntt3cytpmzBFL0yaNo= Received: by 10.42.157.138 with SMTP id d10mr3191939icx.490.1310228506106; Sat, 09 Jul 2011 09:21:46 -0700 (PDT) Received: from [192.168.1.3] (c-98-212-201-29.hsd1.il.comcast.net [98.212.201.29]) by mx.google.com with ESMTPS id x13sm6657824ibh.50.2011.07.09.09.21.45 (version=SSLv3 cipher=OTHER); Sat, 09 Jul 2011 09:21:45 -0700 (PDT) Message-ID: <4E188019.2010700@gmail.com> Date: Sat, 09 Jul 2011 11:21:45 -0500 From: Joshua Isom User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.18) Gecko/20110616 Lightning/1.0b2 Thunderbird/3.1.11 MIME-Version: 1.0 To: David Krauser References: <4E17FBDD.6050008@gmail.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Color Spills Over From SSH Session X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Jul 2011 16:21:47 -0000 Screen uses it's own $TERM, screen, so you'll have to make sure it's correct. If you're not committed to GNU screen, you could try tmux which is part of OpenBSD, and ported to FreeBSD. If you use tmux, you'll have to make sure the $TERM inside the screen session is 'screen' and not something else. Most terminals are similar enough to just work until you do something special. On 7/9/2011 11:05 AM, David Krauser wrote: > > I echoed $TERM on both boxes, and they are both cons25. I figured out, > though, that I'm only seeing the color spillover issue when I run GNU > Screen on the remote box (which is OpenBSD). GNU Screen is not installed > on the FreeBSD box. > > How can I get screen's colors to work in my FreeBSD ssh sessions? I can > connect to the remote box from other computers (using putty, xterm, > linux console, etc.) without issue. Maybe I need to have screen > installed in FreeBSD? > > On Sat, 9 Jul 2011, Joshua Isom wrote: > >> On 7/8/2011 11:07 PM, David Krauser wrote: >>> >>> Hello everybody, >>> >>> I've tried to setup a kind of 'dedicated ssh client' using FreeBSD, and >>> I'm having some issues with the terminal colors. >>> >>> I have a basic install of FreeBSD 8.2-RELEASE (I only had kernel-dev >>> packages checked at installation) and I rebuilt the GENERIC kernel with >>> the VESA and SC_PIXEL_MODE options enabled (for a high resolution >>> terminal). >>> >>> Now here's the problem: when I ssh into another box and issue a command >>> with colors (like vim's syntax hilighting or a colored ls) the primary >>> color of the terminal will change. I'm often left with a crazy colored >>> and hard to read bash prompt (all in the ssh session). When I exit the >>> session back to FreeBSD, the colors persist. I have to use the command >>> 'reset' to fix the issue. >>> >>> I believe my primary FreeBSD shell is csh (it's whatever the default is >>> in FreeBSD) and I'm not sure if it can handle colors or if it has them >>> enabled. I generally ssh into a bash shell. >>> >>> I'm really a newcomer with FreeBSD, and any help would be greatly >>> appreciated. >>> >>> Thanks a bunch, >>> >>> David Krauser >>> david.krauser@gmail.com >> >> >> Are you sshing from the console or an xterm? If it's from the console, >> it should be cons25, and if it's from an xterm it should be xterm or >> xterm-color. You might have the .cshrc on the other box forcing it to >> something that it's not. On the FreeBSD box, run `echo $TERM` and note >> what it says, then ssh into the other box and run it again. They're >> probably different. >> >> It's probably not the FreeBSD box, but the other box doesn't know what >> you're using. >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> From owner-freebsd-questions@FreeBSD.ORG Sat Jul 9 16:22: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 348691065673 for ; Sat, 9 Jul 2011 16:22:33 +0000 (UTC) (envelope-from invalid.pointer@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 0AAFA8FC20 for ; Sat, 9 Jul 2011 16:22:32 +0000 (UTC) Received: by pwi7 with SMTP id 7so2270965pwi.13 for ; Sat, 09 Jul 2011 09:22:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; 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; bh=THwDo/ckmTK2IzI8qeZTU857X9LvefsS/dF//dm7b4k=; b=OE/zmlV3K52rr3PwYQsqvetFA6BJE8xIXBQAAD6A92RXHpWxzkG/LfOvbSiMiq4t77 RQ7+wU1pY36RIdwvG7S7JpJabwDTHgjVyUNBh4zYKLKQxPKPwl+VHP1J5IElt47MxHro tkkMphn/X7DZLPJQPXurM9seP9x4tSfRFbfbY= Received: by 10.68.17.5 with SMTP id k5mr4232473pbd.92.1310228552450; Sat, 09 Jul 2011 09:22:32 -0700 (PDT) Received: from [127.0.0.1] ([14.99.114.168]) by mx.google.com with ESMTPS id d1sm7125231pbj.40.2011.07.09.09.22.28 (version=SSLv3 cipher=OTHER); Sat, 09 Jul 2011 09:22:30 -0700 (PDT) Message-ID: <4E18805F.2000401@gmail.com> Date: Sat, 09 Jul 2011 21:52:55 +0530 From: Manish Jain User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 To: Chuck Swiger References: <20110709053404.B1FC910656AE@hub.freebsd.org> <4E18332F.1040805@gmail.com> <0C3600E5-1324-4852-894A-D29F3445660C@mac.com> In-Reply-To: <0C3600E5-1324-4852-894A-D29F3445660C@mac.com> Content-Transfer-Encoding: 7bit MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: disk spinning continuously + cpu possibly overheating = sudden death X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Jul 2011 16:22:33 -0000 Hi Chuck, What do I make of it when the system runs flawlessly both on Win XP and FreeBSD-8.0-amd64 ? BTW, 8.2 does NOT - for reasons unfathomable to me - install /usr/sbin/apmd. I don't know how significant that is, but I have had to insert into rc.conf : apm_enable="NO" apmd_enable="NO" Thanks for any help. Regards Manish Jain [1]invalid.pointer@gmail.com On 09-Jul-11 19:59, Chuck Swiger wrote: On Jul 9, 2011, at 3:53 AM, Manish Jain wrote: I am running FreeBSD-8.2-amd64 on a Western Digital 320 GD disk and a quad-core AMD Phenom processor. After booting, the disk keeps continuously (meaning continuous I/O) and after a couple of hours (on the console with the X server not running), suddenly the whole system dies, powering off in a flash. I suspect the continuous I/O is causing is a CPU overheat which results in this behaviour. While you probably do have flaky hardware causing problems, even under the wors t case situation, a modern hard drive doesn't use more than about 10W even unde r full load (ie, continuous writes). Compare that with the 125W thermal design rating of a 4-core Phenom. If your system is overheating, it's not because of what a hard drive is doing. It should be easy to tell if thermals are an issue-- is the CPU heat sink getti ng too hot to touch just before this shutdown? If so, it's likely to be a prob lem with a cooling fan or heatsink attachment. Also, what is it that makes you think your disk is doing continuous I/O? What does "iostat 5" or similar show? Regards, References 1. mailto:invalid.pointer@gmail.com From owner-freebsd-questions@FreeBSD.ORG Sat Jul 9 16:54: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 355351065673 for ; Sat, 9 Jul 2011 16:54:15 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout020.mac.com (asmtpout020.mac.com [17.148.16.95]) by mx1.freebsd.org (Postfix) with ESMTP id 1C2C98FC13 for ; Sat, 9 Jul 2011 16:54:14 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from [17.153.27.94] by asmtp020.mac.com (Oracle Communications Messaging Exchange Server 7u4-20.01 64bit (built Nov 21 2010)) with ESMTPSA id <0LO2004VXSA0YU70@asmtp020.mac.com> for freebsd-questions@freebsd.org; Sat, 09 Jul 2011 09:54:01 -0700 (PDT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.4.6813,1.0.211,0.0.0000 definitions=2011-07-09_06:2011-07-08, 2011-07-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-1107090132 From: Chuck Swiger In-reply-to: <4E18805F.2000401@gmail.com> Date: Sat, 09 Jul 2011 09:54:00 -0700 Message-id: <64F2085C-AC27-4498-8E33-48E7FE92CC9F@mac.com> References: <20110709053404.B1FC910656AE@hub.freebsd.org> <4E18332F.1040805@gmail.com> <0C3600E5-1324-4852-894A-D29F3445660C@mac.com> <4E18805F.2000401@gmail.com> To: Manish Jain X-Mailer: Apple Mail (2.1084) Cc: freebsd-questions@freebsd.org Subject: Re: disk spinning continuously + cpu possibly overheating = sudden death X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Jul 2011 16:54:15 -0000 On Jul 9, 2011, at 9:22 AM, Manish Jain wrote: > What do I make of it when the system runs flawlessly both on Win XP and FreeBSD-8.0-amd64 ? That's interesting but inconclusive. Can you run prime95 testing overnight under WinXP without issues? Or memtest86? > BTW, 8.2 does NOT - for reasons unfathomable to me - install /usr/sbin/apmd. I don't know how significant that is, but I have had to insert into rc.conf : > > apm_enable="NO" > apmd_enable="NO" ACPI replaced APM around 2000. (I'm assuming you don't have a 11-year-old quad-core Phenom system, since AMD didn't make such processors until 2007 or 2008.) Regards, -- -Chuck From owner-freebsd-questions@FreeBSD.ORG Sat Jul 9 17:40: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 496B7106566B for ; Sat, 9 Jul 2011 17:40:43 +0000 (UTC) (envelope-from tomdean@speakeasy.org) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.52]) by mx1.freebsd.org (Postfix) with ESMTP id 2F89C8FC13 for ; Sat, 9 Jul 2011 17:40:43 +0000 (UTC) Received: (qmail 20392 invoked from network); 9 Jul 2011 17:14:03 -0000 Received: from 24-113-112-30.wavecable.com (HELO [192.168.2.2]) (tomdean@[24.113.112.30]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 9 Jul 2011 17:14:03 -0000 From: "Thomas D. Dean" To: freebsd-questions@freebsd.org Content-Type: text/plain; charset="UTF-8" Organization: Home Date: Sat, 09 Jul 2011 10:14:03 -0700 Message-ID: <1310231643.10903.15.camel@asus> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit Subject: Portupgrade Package Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: tomdean@speakeasy.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2011 17:40:43 -0000 As root, I attempted to use portupgrade -PPRv m4 which attempted to access ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.2-release/All/m4-1.4.16,1.tbz but failed - File unavailable (e.g. file not found, no access) I changed etc/pkgtools.conf OS_PKGBRANCH="8-STABLE" and portupgrade -PPRv m4 which attempted to access ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/All/m4-1.4.16,1.tbz failed with the same message. I can ftp either file. I get the same error with any out-of-date port. What am I doing wrong? tomdean From owner-freebsd-questions@FreeBSD.ORG Sat Jul 9 18:16: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 2240C106566C for ; Sat, 9 Jul 2011 18:16:44 +0000 (UTC) (envelope-from xaero@xaerolimit.net) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id D2BE28FC0A for ; Sat, 9 Jul 2011 18:16:43 +0000 (UTC) Received: by qwc9 with SMTP id 9so1818572qwc.13 for ; Sat, 09 Jul 2011 11:16:42 -0700 (PDT) Received: by 10.229.73.35 with SMTP id o35mr2518287qcj.13.1310235402770; Sat, 09 Jul 2011 11:16:42 -0700 (PDT) Received: from [192.168.0.9] (ool-435056c7.dyn.optonline.net [67.80.86.199]) by mx.google.com with ESMTPS id g7sm8951306qck.8.2011.07.09.11.16.40 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 09 Jul 2011 11:16:41 -0700 (PDT) Message-ID: <4E189ACC.1090101@xaerolimit.net> Date: Sat, 09 Jul 2011 14:15:40 -0400 From: Chris Brennan User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <1310231643.10903.15.camel@asus> In-Reply-To: <1310231643.10903.15.camel@asus> X-Enigmail-Version: 1.2 OpenPGP: id=D5B20C0C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigDA7D2F7AE27C2CD22EE54CA1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Re: Portupgrade Package Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Jul 2011 18:16:44 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigDA7D2F7AE27C2CD22EE54CA1 Content-Type: multipart/mixed; boundary="------------080106070309040701010907" This is a multi-part message in MIME format. --------------080106070309040701010907 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 7/9/2011 1:14 PM, Thomas D. Dean wrote: > As root, I attempted to use > portupgrade -PPRv m4 > which attempted to access=20 > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.2-release/All/m= 4-1.4.16,1.tbz > but failed - File unavailable (e.g. file not found, no access) >=20 > I changed etc/pkgtools.conf=20 > OS_PKGBRANCH=3D"8-STABLE" > and > portupgrade -PPRv m4 > which attempted to access > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/All/m4-1= =2E4.16,1.tbz > failed with the same message. >=20 > I can ftp either file. >=20 > I get the same error with any out-of-date port. >=20 > What am I doing wrong? Have you made sure you updated ports? 'portsnap fetch extract' should be sufficient. --=20 > Chris Brennan > -- > A: Yes. > >Q: Are you sure? > >>A: Because it reverses the logical flow of conversation. > >>>Q: Why is top posting frowned upon? > http://xkcd.com/84/ | http://xkcd.com/149/ | http://xkcd.com/549/ > GPG: D5B20C0C (6741 8EE4 6C7D 11FB 8DA8 9E4A EECD 9A84 D5B2 0C0C) ------------------------------------------------------------------------ --------------080106070309040701010907-- --------------enigDA7D2F7AE27C2CD22EE54CA1 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.17 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQEcBAEBAgAGBQJOGJraAAoJEO7NmoTVsgwMpJ4IALG9P9oeAhJKS8ZRw1mt+w9B kZckB2hTu/VEq+rjD21+vdOVne9dJyUkw6Ui/TQDZVqF0NkSjQMc4P3PlwPrPPXJ vMuRWXIUAbE3RAvwLtdRwuniWhxkR3bvVw1h1JqDoON7Ab19vHI2J8MLRvGAfDtX VMMsV3itBy6qznt74QBJaoRy5lOg1V3BTCsc7Rh4OwqTIVraWGs1yatvvE+rDsCl vfv3XmR8+o/7Ljb8z7i8Q0QKWWD+gBrVf+SzUWjFYmcYI79JtCpi/Xy66jqEoxFB byWh214ogXvOX+de73dHgo9JsezTebgcxvFUShoOfJ0s80eR4f/Jep2HPAGlwiQ= =Ztl4 -----END PGP SIGNATURE----- --------------enigDA7D2F7AE27C2CD22EE54CA1-- From owner-freebsd-questions@FreeBSD.ORG Sat Jul 9 18:33:01 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 DDAA21065674 for ; Sat, 9 Jul 2011 18:33:01 +0000 (UTC) (envelope-from tomdean@speakeasy.org) Received: from mail1.sea5.speakeasy.net (mail1.sea5.speakeasy.net [69.17.117.39]) by mx1.freebsd.org (Postfix) with ESMTP id 841058FC14 for ; Sat, 9 Jul 2011 18:33:01 +0000 (UTC) Received: (qmail 10514 invoked from network); 9 Jul 2011 18:33:00 -0000 Received: from 24-113-112-30.wavecable.com (HELO [192.168.2.2]) (tomdean@[24.113.112.30]) (envelope-sender ) by mail1.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 9 Jul 2011 18:33:00 -0000 From: "Thomas D. Dean" To: freebsd-questions@freebsd.org In-Reply-To: <4E189ACC.1090101@xaerolimit.net> References: <1310231643.10903.15.camel@asus> <4E189ACC.1090101@xaerolimit.net> Content-Type: text/plain; charset="UTF-8" Organization: Home Date: Sat, 09 Jul 2011 11:33:00 -0700 Message-ID: <1310236380.10903.22.camel@asus> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit Subject: Re: Portupgrade Package Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: tomdean@speakeasy.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2011 18:33:01 -0000 On Sat, 2011-07-09 at 14:15 -0400, Chris Brennan wrote: > On 7/9/2011 1:14 PM, Thomas D. Dean wrote: > > As root, I attempted to use > > portupgrade -PPRv m4 > > which attempted to access > > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.2-release/All/m4-1.4.16,1.tbz > > but failed - File unavailable (e.g. file not found, no access) > > > > I changed etc/pkgtools.conf > > OS_PKGBRANCH="8-STABLE" > > and > > portupgrade -PPRv m4 > > which attempted to access > > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/All/m4-1.4.16,1.tbz > > failed with the same message. > > > > I can ftp either file. > > > > I get the same error with any out-of-date port. > > > > What am I doing wrong? > > > Have you made sure you updated ports? 'portsnap fetch extract' should be > sufficient. > > Sorry, I did not reply to the list. Yes, I did update ports. > /usr/bin/fetch -v 'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8-STABLE/All/m4-1.4.16,1.tbz' looking up ftp.FreeBSD.org connecting to ftp.FreeBSD.org:21 fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8-STABLE/All/m4-1.4.16,1.tbz: File unavailable (e.g., file not found, no access) tomdean From owner-freebsd-questions@FreeBSD.ORG Sat Jul 9 18: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 193571065672 for ; Sat, 9 Jul 2011 18:33:56 +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 D35C58FC17 for ; Sat, 9 Jul 2011 18:33:55 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 01CAAE8067E; Sat, 9 Jul 2011 11:33:54 -0700 (PDT) Date: Sat, 9 Jul 2011 11:33:54 -0700 From: Gary Kline To: Dan Busarow Message-ID: <20110709183354.GA3798@thought.org> References: <20110707180041.GA90387@thought.org> <20110708055837.GA21564@thought.org> <4E16C779.6000607@infracaninophile.co.uk> <2A8AFE06-FC2C-4FCC-A4B1-4FEE8689E958@buildingonline.com> <20110709035430.GA31019@thought.org> <46E4A1B3-12D7-42B1-8D34-4F6B2BEC6693@buildingonline.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46E4A1B3-12D7-42B1-8D34-4F6B2BEC6693@buildingonline.com> Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 24++ years of service to the Unix community. User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org, Gary Kline Subject: Re: DNS and file system messed up... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Jul 2011 18:33:56 -0000 On Sat, Jul 09, 2011 at 07:49:43AM -0600, Dan Busarow wrote: > Date: Sat, 9 Jul 2011 07:49:43 -0600 > From: Dan Busarow > Subject: Re: DNS and file system messed up... > To: Gary Kline > Cc: freebsd-questions@freebsd.org, Gary Kline > X-Mailer: Apple Mail (2.753.1) > > > On Jul 8, 2011, at 9:54 PM, Gary Kline wrote: > > >On Fri, Jul 08, 2011 at 07:27:12AM -0600, Dan Busarow wrote: > >> > >> > >>Gary, add > >> > >>named_flags="-c /etc/namedb/named.conf" > >> > >>to /etc/rc.conf. Or change /etc/namedb/named.conf to the /var > >>version if you like/there is no symlink. > >> > >>Dan > >> > > > > > > Dan! I think you fixed something. I haven't figured this > > out yet, and would be grateful if you could decode this in > > /var/log/messages:: > > > > > >Jul 8 20:39:32 ethic named[83003]: stopping command channel on ::1#953 > >Jul 8 20:39:32 ethic named[83003]: exiting > >Jul 8 20:39:37 ethic named[84090]: starting BIND 9.3.6-P1 > >-c /etc/namedb/named.conf -t /var/named -u bind > >Jul 8 20:39:37 ethic named[84090]: none:0: open: /etc/rndc.key: > >file not found > > Gary, > > Theres probably an /etc/rc.conf line to fix these but what I always > do is simply symlink /etc/namedb/rndc.key to /etc/rndc.key > > # ln -s /etc/namedb/rndc.key /etc/rndc.key > > I actually use rndc.conf on my systems but I think the names and > files are interchangeable. > > Dan No joy. I just tried that from /etc: lrwxr-xr-x 1 root wheel 21 Jul 9 11:18 namedb -> /var/named/etc/namedb lrwxr-xr-x 1 root wheel 20 Jul 9 11:17 rndc.key -> /etc/namedb/rndc.key and I find the same warnings/complainnts as earlier. The good news, still, is that bin9 works. But I still get a lookup error from the -questions list in /var/log/maillog, so nothing is getting thru to the list from here at thought.org. FWIW: Yesterday, I got the latest 7.3 upgrade and compiled it. I habe NOT yet installed anything new because the last thing i want to do is lose my own link with the "real world" ..... :-) * 0.5 your thoughts what I should try next, please? gary > > > >Jul 8 20:39:37 ethic named[84090]: couldn't add command channel > >127.0.0.1#953: file not found > >Jul 8 20:39:37 ethic named[84090]: none:0: open: /etc/rndc.key: > >file not found > >Jul 8 20:39:37 ethic named[84090]: couldn't add command channel > >::1#953: file not found > >Jul 8 20:39:37 ethic named[84090]: the working directory is not > >writable > >Jul 8 20:39:37 ethic named[84090]: running > > > > This, after I added your named_flags line into /etc/rc.conf. > > Where I get lost is *what* gives me that "none:0" lines?? > > I see the same or worse err when I drop in bind98. IIRC, > > named does run, but the messages log is fulll of rndc.key > > error messages that I just cannot understand. _Now_, having > > dropped in your named_flags line, I am seeing something > > similar. > > > > I haved grepped thru the entire /etc/ tree and haven't found > > anything that explains where I messed up.... > > > > Ideas? > > > > thanks to you or anybody else onlist. > > > > gary > > > > _______________________________________________ > 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 8.51a release of Jottings: http://jottings.thought.org From owner-freebsd-questions@FreeBSD.ORG Sat Jul 9 18:47: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 0E57B106564A for ; Sat, 9 Jul 2011 18:47: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 C51148FC14 for ; Sat, 9 Jul 2011 18:47:39 +0000 (UTC) Received: from r55.edvax.de (port-92-195-180-180.dynamic.qsc.de [92.195.180.180]) by mx01.qsc.de (Postfix) with ESMTP id 036D83CCD5; Sat, 9 Jul 2011 20:47:37 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p69IlbbP002971; Sat, 9 Jul 2011 20:47:37 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 9 Jul 2011 20:47:37 +0200 From: Polytropon To: tomdean@speakeasy.org Message-Id: <20110709204737.0155d911.freebsd@edvax.de> In-Reply-To: <1310236380.10903.22.camel@asus> References: <1310231643.10903.15.camel@asus> <4E189ACC.1090101@xaerolimit.net> <1310236380.10903.22.camel@asus> 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: Portupgrade Package Question 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, 09 Jul 2011 18:47:40 -0000 On Sat, 09 Jul 2011 11:33:00 -0700, Thomas D. Dean wrote: > > /usr/bin/fetch -v > 'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8-STABLE/All/m4-1.4.16,1.tbz' > looking up ftp.FreeBSD.org > connecting to ftp.FreeBSD.org:21 > fetch: > ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8-STABLE/All/m4-1.4.16,1.tbz: File unavailable (e.g., file not found, no access) It's quite simple if you investigate the content of the FTP server. :-) Doesn't work: ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-STABLE/All/m4-1.4.16,1.tbz Works: ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/All/m4-1.4.16,1.tbz Just change "packages-8-STABLE" to "packages-8-stable" and try again. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Jul 9 19:05: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 4018410656D0 for ; Sat, 9 Jul 2011 19:05:56 +0000 (UTC) (envelope-from tomdean@speakeasy.org) Received: from mail5.sea5.speakeasy.net (mail5.sea5.speakeasy.net [69.17.117.49]) by mx1.freebsd.org (Postfix) with ESMTP id 1C5628FC2D for ; Sat, 9 Jul 2011 19:05:55 +0000 (UTC) Received: (qmail 23557 invoked from network); 9 Jul 2011 19:05:55 -0000 Received: from 24-113-112-30.wavecable.com (HELO [192.168.2.2]) (tomdean@[24.113.112.30]) (envelope-sender ) by mail5.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 9 Jul 2011 19:05:55 -0000 From: "Thomas D. Dean" To: freebsd-questions@freebsd.org In-Reply-To: <20110709204737.0155d911.freebsd@edvax.de> References: <1310231643.10903.15.camel@asus> <4E189ACC.1090101@xaerolimit.net> <1310236380.10903.22.camel@asus> <20110709204737.0155d911.freebsd@edvax.de> Content-Type: text/plain; charset="UTF-8" Organization: Home Date: Sat, 09 Jul 2011 12:05:55 -0700 Message-ID: <1310238355.10903.36.camel@asus> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit Subject: Re: Portupgrade Package Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: tomdean@speakeasy.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2011 19:05:56 -0000 On Sat, 2011-07-09 at 20:47 +0200, Polytropon wrote: > On Sat, 09 Jul 2011 11:33:00 -0700, Thomas D. Dean wrote: > > > /usr/bin/fetch -v > > 'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8-STABLE/All/m4-1.4.16,1.tbz' > > looking up ftp.FreeBSD.org > > connecting to ftp.FreeBSD.org:21 > > fetch: > > ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8-STABLE/All/m4-1.4.16,1.tbz: File unavailable (e.g., file not found, no access) > > It's quite simple if you investigate the content of the FTP server. :-) > > Doesn't work: > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-STABLE/All/m4-1.4.16,1.tbz > > Works: > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/All/m4-1.4.16,1.tbz > > Just change "packages-8-STABLE" to "packages-8-stable" and try again. > > > Yes. My error. I did not completely remove 8.2-RELEASE when I edited pkgtools.conf the 2nd time. I introduced this error when I typed the fetch command. Sorry. My original problem still exists: portupgrade fails with any out-of-date package. I should have sent the console output the first time... I restored pkgtools.conf to the original version, from the initial installation. Here is the output of the portupgrade attempt: > uname -a FreeBSD toshiba.tddhome 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > portupgrade --version portupgrade 2.4.8 > portupgrade -PPv m4 ---> Session started at: Sat, 09 Jul 2011 11:55:55 -0700 ---> Checking for the latest package of 'devel/m4' ---> Found a package of 'devel/m4': /usr/ports/packages/All/m4-1.4.15,1.tbz (m4-1.4.15,1) ---> Fetching the package(s) for 'm4-1.4.16,1' (devel/m4) ---> Fetching m4-1.4.16,1 ++ Will try the following sites in the order named: ftp://ftp.FreeBSD.org//pub/FreeBSD/ports/i386/packages-8.2-release/ ---> Invoking a command: /usr/bin/fetch -o '/var/tmp/portupgrademXjhTdVX/m4-1.4.16,1.tbz' 'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8.2-release/All/m4-1.4.16,1.tbz' fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8.2-release/All/m4-1.4.16,1.tbz: File unavailable (e.g., file not found, no access) ** The command returned a non-zero exit status: 1 ** Failed to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8.2-release/All/m4-1.4.16,1.tbz ---> Invoking a command: /usr/bin/fetch -o '/var/tmp/portupgrademXjhTdVX/m4-1.4.16,1.txz' 'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8.2-release/All/m4-1.4.16,1.txz' fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8.2-release/All/m4-1.4.16,1.txz: File unavailable (e.g., file not found, no access) ** The command returned a non-zero exit status: 1 ** Failed to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8.2-release/All/m4-1.4.16,1.txz ---> Invoking a command: /usr/bin/fetch -o '/var/tmp/portupgrademXjhTdVX/m4-1.4.16,1.tgz' 'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8.2-release/All/m4-1.4.16,1.tgz' fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8.2-release/All/m4-1.4.16,1.tgz: File unavailable (e.g., file not found, no access) ** The command returned a non-zero exit status: 1 ** Failed to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8.2-release/All/m4-1.4.16,1.tgz ** Failed to fetch m4-1.4.16,1 ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) ! m4-1.4.16,1 (fetch error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed ---> Fetching the latest package(s) for 'm4' (devel/m4) ---> Fetching m4 ++ Will try the following sites in the order named: ftp://ftp.FreeBSD.org//pub/FreeBSD/ports/i386/packages-8.2-release/ ---> Invoking a command: /usr/bin/fetch -o '/var/tmp/portupgradeyQuqTSRB/m4.tbz' 'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386/packages-8.2-release/Latest/m4.tbz' /var/tmp/portupgradeyQuqTSRB/m4.tbz 100% of 185 kB 144 kBps ---> Downloaded as m4.tbz ---> Identifying the package /var/tmp/portupgradeyQuqTSRB/m4.tbz ---> Saved as /usr/ports/packages/All/m4-1.4.15,1.tbz ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) + m4@ ---> Packages processed: 1 done, 0 ignored, 0 skipped and 0 failed ---> Found a package of 'devel/m4': /usr/ports/packages/All/m4-1.4.15,1.tbz (m4-1.4.15,1) ---> Located a package version 1.4.15,1 (/usr/ports/packages/All/m4-1.4.15,1.tbz) ---> ** Upgrade tasks 1: 0 done, 0 ignored, 0 skipped and 1 failed ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) ! devel/m4 (m4-1.4.15,1) (package not found) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed ---> Session ended at: Sat, 09 Jul 2011 11:56:29 -0700 (consumed 00:00:33) tomdean From owner-freebsd-questions@FreeBSD.ORG Sat Jul 9 19:32: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 BC2DA106566B for ; Sat, 9 Jul 2011 19:32:13 +0000 (UTC) (envelope-from tomdean@speakeasy.org) Received: from mail8.sea5.speakeasy.net (mail8.sea5.speakeasy.net [69.17.117.53]) by mx1.freebsd.org (Postfix) with ESMTP id 995F38FC22 for ; Sat, 9 Jul 2011 19:32:13 +0000 (UTC) Received: (qmail 14330 invoked from network); 9 Jul 2011 19:32:12 -0000 Received: from 24-113-112-30.wavecable.com (HELO [192.168.2.2]) (tomdean@[24.113.112.30]) (envelope-sender ) by mail8.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 9 Jul 2011 19:32:12 -0000 From: "Thomas D. Dean" To: freebsd-questions@freebsd.org In-Reply-To: <1310238355.10903.36.camel@asus> References: <1310231643.10903.15.camel@asus> <4E189ACC.1090101@xaerolimit.net> <1310236380.10903.22.camel@asus> <20110709204737.0155d911.freebsd@edvax.de> <1310238355.10903.36.camel@asus> Content-Type: text/plain; charset="UTF-8" Organization: Home Date: Sat, 09 Jul 2011 12:32:12 -0700 Message-ID: <1310239932.10903.46.camel@asus> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit Subject: Re: Portupgrade Package Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: tomdean@speakeasy.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2011 19:32:13 -0000 On Sat, 2011-07-09 at 12:05 -0700, Thomas D. Dean wrote: Sorry to answer my own post. The packages that are out-of-date on the system I was updating are in relationship to 8.2-release. A couple days ago, I cvsup'd the port tree with *default release-cvs tag=. ports-all Today, portsnap fetch extract ... portsnap fetch update ... portupgrade -PPRva Does the portsnap update the port tree relative to 8.2-release or 8-stable? Or, did cvsup get ports from 8-stable? Looks like 8-stable. 8-stable m4-1.4.16,1.tbz 8.2-release m4-1.4.15,1.tbz Anyway, I can get there from here Thanks. tomdean From owner-freebsd-questions@FreeBSD.ORG Sat Jul 9 19:45: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 359BD106564A for ; Sat, 9 Jul 2011 19:45:02 +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 E8DE88FC14 for ; Sat, 9 Jul 2011 19:45:01 +0000 (UTC) Received: from r55.edvax.de (port-92-195-180-180.dynamic.qsc.de [92.195.180.180]) by mx01.qsc.de (Postfix) with ESMTP id 37CF93CAC1; Sat, 9 Jul 2011 21:45:01 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id p69Jj0n5003170; Sat, 9 Jul 2011 21:45:00 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 9 Jul 2011 21:45:00 +0200 From: Polytropon To: tomdean@speakeasy.org Message-Id: <20110709214500.19c7c774.freebsd@edvax.de> In-Reply-To: <1310239932.10903.46.camel@asus> References: <1310231643.10903.15.camel@asus> <4E189ACC.1090101@xaerolimit.net> <1310236380.10903.22.camel@asus> <20110709204737.0155d911.freebsd@edvax.de> <1310238355.10903.36.camel@asus> <1310239932.10903.46.camel@asus> 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: Portupgrade Package Question 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, 09 Jul 2011 19:45:02 -0000 On Sat, 09 Jul 2011 12:32:12 -0700, Thomas D. Dean wrote: > On Sat, 2011-07-09 at 12:05 -0700, Thomas D. Dean wrote: > > Sorry to answer my own post. > > The packages that are out-of-date on the system I was updating are in > relationship to 8.2-release. > > A couple days ago, I cvsup'd the port tree with > *default release-cvs tag=. > ports-all > > Today, > portsnap fetch extract > ... > portsnap fetch update > ... > portupgrade -PPRva > > Does the portsnap update the port tree relative to 8.2-release or > 8-stable? Or, did cvsup get ports from 8-stable? > > Looks like 8-stable. > > 8-stable m4-1.4.16,1.tbz > 8.2-release m4-1.4.15,1.tbz > > Anyway, I can get there from here If I understood everything correctly, CVS (csup) and portsnap do both follow "the one tree" which gets frequently updated, and by the tag specified above you'll always get the current version of the tree. Getting older versions (e. g. the RELEASE tree) involves specifying a different tag, or loading it from the installation media directly. The difference is that changes in the ports tree are reflected much faster in the CVS method than in the portsnap approach, which may "lag" a bit. However, portsnap seems to work faster and to perform better than CVS. It's also worth mentioning that it seems to fit better to the "building cycle" of the -stable ports to become precompiled packages (that you request using the -PP parameter, similar to the use of pkg_add -r in case of installation instead of update). But if you require the most recent ports tree, using CVS seems to be the better method. As you're updating binary, but with using the ports tree (portupgrade relies on that, pkg_add for example doesn't), you should make sure to always have the current version if you follow the stable OS branch. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From owner-freebsd-questions@FreeBSD.ORG Sat Jul 9 20:04: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 19552106564A for ; Sat, 9 Jul 2011 20:04:18 +0000 (UTC) (envelope-from tomdean@speakeasy.org) Received: from mail6.sea5.speakeasy.net (mail6.sea5.speakeasy.net [69.17.117.50]) by mx1.freebsd.org (Postfix) with ESMTP id AFF1A8FC08 for ; Sat, 9 Jul 2011 20:04:18 +0000 (UTC) Received: (qmail 766 invoked from network); 9 Jul 2011 20:04:18 -0000 Received: from 24-113-112-30.wavecable.com (HELO [192.168.2.2]) (tomdean@[24.113.112.30]) (envelope-sender ) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 9 Jul 2011 20:04:17 -0000 From: "Thomas D. Dean" To: freebsd-questions@freebsd.org In-Reply-To: <20110709214500.19c7c774.freebsd@edvax.de> References: <1310231643.10903.15.camel@asus> <4E189ACC.1090101@xaerolimit.net> <1310236380.10903.22.camel@asus> <20110709204737.0155d911.freebsd@edvax.de> <1310238355.10903.36.camel@asus> <1310239932.10903.46.camel@asus> <20110709214500.19c7c774.freebsd@edvax.de> Content-Type: text/plain; charset="UTF-8" Organization: Home Date: Sat, 09 Jul 2011 13:04:17 -0700 Message-ID: <1310241857.10903.63.camel@asus> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit Subject: Re: Portupgrade Package Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: tomdean@speakeasy.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2011 20:04:19 -0000 On Sat, 2011-07-09 at 21:45 +0200, Polytropon wrote: > > If I understood everything correctly, CVS (csup) and portsnap > do both follow "the one tree" which gets frequently updated, > and by the tag specified above you'll always get the current > version of the tree. Getting older versions (e. g. the RELEASE > tree) involves specifying a different tag, or loading it from > the installation media directly. > > The difference is that changes in the ports tree are reflected > much faster in the CVS method than in the portsnap approach, > which may "lag" a bit. However, portsnap seems to work faster > and to perform better than CVS. It's also worth mentioning that > it seems to fit better to the "building cycle" of the -stable > ports to become precompiled packages (that you request using > the -PP parameter, similar to the use of pkg_add -r in case of > installation instead of update). > > But if you require the most recent ports tree, using CVS seems > to be the better method. As you're updating binary, but with > using the ports tree (portupgrade relies on that, pkg_add for > example doesn't), you should make sure to always have the > current version if you follow the stable OS branch. > I have always built ports from the source. I decided to try binary ports for things I have not modified. I cannot seem to get portupgrade to use the definitions I set in etc/pkgtools.conf. For the most recent try, I have ... # OS_PATCHLEVEL: "" "-p8" # OS_PLATFORM: "i386" "amd64" # OS_PKGBRANCH: "7-current" "6.1-release" OS_RELEASE="8-STABLE" OS_BRANCH="STABLE" OS_PKGBRANCH="8-stable" # Useful predefined functions: # # localbase() # Returns LOCALBASE. ... But, portupgrade still tries to fetch from 8.2-release. If I want to use binary ports it looks like I need to zap the ports tree and recreate it with portsnap. tomdean From owner-freebsd-questions@FreeBSD.ORG Sat Jul 9 20:05: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 5A217106566C for ; Sat, 9 Jul 2011 20:05:52 +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 171F28FC1B for ; Sat, 9 Jul 2011 20:05:51 +0000 (UTC) Received: by thought.org (Postfix, from userid 1001) id 3F647E8067E; Sat, 9 Jul 2011 13:05:51 -0700 (PDT) Date: Sat, 9 Jul 2011 13:05:51 -0700 From: Gary Kline To: Matthew Seaman Message-ID: <20110709200551.GB3798@thought.org> References: <20110707180041.GA90387@thought.org> <20110708055837.GA21564@thought.org> <4E16C779.6000607@infracaninophile.co.uk> <20110708220452.GB26712@thought.org> <4E180DDD.1020505@infracaninophile.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4E180DDD.1020505@infracaninophile.co.uk> Organization: Thought Unlimited. Public service Unix since 1986. Of_Interest: With 24++ years of service to the Unix community. User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-questions@freebsd.org Subject: Re: DNS and file system messed up... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-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, 09 Jul 2011 20:05:52 -0000 On Sat, Jul 09, 2011 at 09:14:21AM +0100, Matthew Seaman wrote: > Date: Sat, 09 Jul 2011 09:14:21 +0100 > From: Matthew Seaman > Subject: Re: DNS and file system messed up... > To: Gary Kline > CC: freebsd-questions@freebsd.org > > On 08/07/2011 23:04, Gary Kline wrote: > > On Fri, Jul 08, 2011 at 10:01:45AM +0100, Matthew Seaman wrote: > >> Date: Fri, 08 Jul 2011 10:01:45 +0100 > >> From: Matthew Seaman > >> Subject: Re: DNS and file system messed up... > >> To: freebsd-questions@freebsd.org > >> > >> On 08/07/2011 08:25, Doug Hardie wrote: > >>> On 7 July 2011, at 22:58, Gary Kline wrote: > >>> > >>>>>>> Jul 7 10:16:33 ethic named[54366]: none:0: open: /etc/named.conf: file not found > >>>>>>> Jul 7 10:17:56 ethic named[54371]: starting BIND 9.3.6-P1 -c /var/named/etc/namedb/named.conf > >> > >>> The first one that fails is looking for /etc/named.conf. The second > >>> one shows its in /var/named/etc/named/named.conf > >> > >>> Those are different locations. I suspect you have named_flags setup > >>> in rc.conf pointing to /etc/namedb/named.conf rather than the right > >>> location. Its also possible that its not set in rc.conf but defaults > >>> in either the rc script or /etc/rc.d/named. On my system it appears > >>> to default in /etc/rc.d/named. > >> > >> FreeBSD defaults to running named chrooted. /etc/namedb is actually a > >> symbolic link: > > > > > > hi matthew, > > > > i found an in-depth post you wrote re mtree yesterday ( 07july ), > > but i figured it was over my head in resetting anything i might need > > to reset. i was going to write you offlist. decided to ask the > > entire list. > > > > > >> > >> % ls -la /etc/namedb > >> lrwxr-xr-x 1 root wheel 21 Jul 6 06:24 /etc/namedb@ -> > >> /var/named/etc/namedb > >> > >> so the files referenced are in fact exactly the same file. However, the > >> flags from the log extract don't look like the defaults to me. (I'm > >> running the dns/bind98 port, and the equivalent info from the log line > >> is '-t /var/named -u bind') > > > > > > i was using bind98 rather than the earlier bind9 which is out of > > date. but bind98 gave me troubles with the rndc.key and other, so i > > chose to go back with what worked. --first thing is to get this > > working with the older bind9. FWIW, both bind9's given me the same > > error and failure. i have walked thru the named script to the point > > where it creates the symlink. regardless, i cannot understand the > > error and failure messages. i only know that my kill -9 and my > > initialization "by hand" work. > >> > >> Gary, what named related settings do you have in /etc/rc.conf? You > >> almost certainly don't need anything more than: > >> > >> named_enable="YES" > >> > >> and perhaps > >> > >> syslogd_flags="-ss -l /var/named/var/run/log" > >> > >> so named can log to the system syslog. > > > > > > Hmmm [&c]. as you may have seen in my post to Doug H. i only have > > > > > > -- > > > > named_enable="YES" > > named_program="/usr/local/sbin/named" > > named_pidfile="/var/run/named/pid" > > OK. The good news is that the configuration that works for the system > built-in version of named will work for the dns/bind98 port with very > minor changes, if any. > > First: where everything should live > > /etc/namedb/named.conf --- named's config file > /etc/namedb/master --- zone files this server is master for > /etc/namedb/slave --- zone files this server slaves from > another master (rw by named) > /etc/named/working --- named's working directory (rw by named) > /etc/rndc.conf --- config file for rndc > > There are various other files and directories under /etc/namedb which > you may or may not need depending on how you configure named; in any > case, just leave them in their default locations and with the > permissions the system gives them. (You can use mtree(8) to fix them up > if necessary -- but that's a whole other posting) > > Now, although named defaults to running chrooted into /var/namedb, you > don't need to mention that path explicitly anywhere in the config. In > fact, you should think about the configuration as if there was no > chrooting happening at all. > > Second: rc.conf settings > > named_enable="YES" > syslogd_flags="-ss -l /var/named/var/run/log" > > should be all you need to use the built-in version of named. > > Third: rndc configuration > > Generate a new rndc key and a config file by: > > # rndc-confgen > /etc/named/rndc.conf > > This should create a new file /etc/namedb/rndc.conf preconfigured to > work with the named instance on the localhost. Look at the text of > the file -- commented out there's a chunk of stuff to copy into > named.conf So let's do that. > > If the file contains: > > # key "rndc-key" { > # algorithm hmac-md5; > # secret "0ABCDE123+45+67890=="; > # }; > # > # controls { > # inet 127.0.0.1 port 953 > # allow { 127.0.0.1; } keys { "rndc-key"; }; > # }; > > Then copy that without the '#' quotes into named.conf In fact, I find > it helps to add a control for access to ::1 as well. So add this text > to /etc/namedb/named.conf: > > key "rndc-key" { > algorithm hmac-md5; > secret "0ABCDE123+45+67890=="; > }; > > controls { > inet 127.0.0.1 port 953 > allow { 127.0.0.1; } keys { "rndc-key"; }; > inet ::1 port 953 > allow { ::1; } keys { "rndc-key"; }; > }; > > Fourth: set up named.conf > > As I don't no much about the config you want, I'm going to have to keep > this to generalities. > > In the options section you should have some standard boiler-plate: > > options { > directory "/etc/namedb/working"; > pid-file "/var/run/named/pid"; > dump-file "/var/dump/named_dump.db"; > statistics-file "/var/stats/named.stats"; > memstatistics-file "/var/stats/named.memstats"; > > For security purposes you can turn off named's built-in version display etc. > > version none; > hostname none; > server-id none; > > Also for security purposes, configure named to use as many UDP ports as > possible: > > use-v4-udp-ports { range 1024 65535; }; > use-v6-udp-ports { range 1024 65535; }; > > There's a bunch of other stuff I could talk about to go into options, > but that's a matter of individual choice and this message is long enough > already. One of the more important things I'm glossing over is the > 'recursion' setting -- this needs to be carefully restricted to only > being available to your own network, as there are plenty of nasty > attacks that are enabled by opening recursion to the world. > > When it comes to zone file statements, on slight gotcha is that you > should give /absolute/ filenames -- that's a consequence of the > 'directory' setting above. Remember the bit about pretending that > chrooting isn't happening? It applies here. So, for instance, > you'ld want something like this for localhost: > > zone "localhost" > { > type master; > file "/etc/namedb/master/localhost-forward"; > }; > zone "127.in-addr.arpa" > { > type master; > file "/etc/namedb/master/localhost-reverse"; > }; > > // RFC 1912-style zone for IPv6 localhost address > zone "0.ip6.arpa" > { > type master; > file "/etc/namedb/master/localhost-reverse"; > }; > > Those zone files should be present as part of the standard system. > Note: you can use ACLs and/or views to control access to these localhost > zones. It's only your local trusted clients that need any access. > > For zones that you are serving to the general public -- ie. the zones > you are authoritative for, you'ld have something like this: > > zone "infracaninophile.co.uk" { > type master; > file "/etc/namedb/master/infracaninophile.co.uk"; > allow-query { > any; > }; > allow-transfer { > secondaries; > }; > }; > > Fifth: testing > > Use named-checkconf to test that your config is going to work: > > # named-checkconf /etc/namedb/named.conf && echo "Everything is OK" > > If named-checkconf prints anything out, that's a problem which needs to > be fixed. named-checkconf remaining silent is a good sign. > > Sixth: start named up > > # /etc/rc.d/named start > > Look at the logging output in /var/log/messages to check everything is > running OK, and test that rndc works by 'rndc status' > > Seventh: there is no seventh. > > Well, actually, changes you would need to make to use the dns/bind98 > port. Very few. > > Check that /usr/local/etc/rndc.conf is a symlink to /etc/named/rndc.conf > -- this should be created automatically when you install the port. > > Use /usr/local/sbin/named-checkconf to verify that your named.conf is OK > with the newer named version. Unless you're using DNSSEC it almost > certainly will be. > > Stop named running and add > > named_program="/usr/local/sbin/named" > > to /etc/rc.conf Restart named. Done. > > Cheers, > > Matthew > > -- > Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard > Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate > JID: matthew@infracaninophile.co.uk Kent, CT11 9PW > Matthew, Adding the new rndc.conf (and adjusting for the two "options { }" seems to have fixed things. From the messages file, where before, an individual shell script got things going, looks like so: Jul 9 12:32:44 ethic named[14181]: starting BIND 9.3.6-P1 -c /etc/namedb/named.conf -t /var/named -u bind Jul 9 12:32:44 ethic named[14181]: /etc/namedb/named.conf:107: 'options' redefined near 'options' Jul 9 12:32:44 ethic named[14181]: loading configuration: already exists Jul 9 12:32:44 ethic named[14181]: exiting (due to fatal error) Jul 9 12:34:32 ethic named[14264]: starting BIND 9.3.6-P1 -c /etc/namedb/named.conf -t /var/named -u bind Jul 9 12:34:33 ethic named[14264]: command channel listening on 127.0.0.1#953 Jul 9 12:34:33 ethic named[14264]: the working directory is not writable Jul 9 12:34:33 ethic named[14264]: running The pid 14181 was with the options{} that rndc.conf had. There was an earlier bracketed list with the same name. Once I yanked that and fired off /etc/rc.d/named restart, the pid == 14264 actually worked. Bear in mind that I'm used FBSD as my server and Ubuntu as my desktop. ...I'Ll attach/append my amed.conf and if you have time I would be very grateful for any feedback you care to offer, time permitting. --For my next trick, I'll build bind98 and see what breaks. . There were a boatload of error haveing to do with some type of key information. bing98 listed the key number in /var/log/messages. That was why I went back to my elderly [and outdated bind9-3.6. DO I=1, ZILLION write "thanks much! END gary Attached: ./named.conf // $FreeBSD: src/etc/namedb/named.conf,v 1.26 2007/08/17 04:37:02 dougb Exp $ // // Refer to the named.conf(5) and named(8) man pages, and the documentation // in /usr/share/doc/bind9 for more details. // // If you are going to set up an authoritative server, make sure you // understand the hairy details of how DNS works. Even with // simple mistakes, you can break connectivity for affected parties, // or cause huge amounts of useless Internet traffic. acl "thoughts" { 10.47.0.0/24; # network addresses of thought.org 10.47.47.0/24; # inbound remote vpn network 127.0.0.1; # allow loop back }; // // Access Control Lists // acl "dfwlp" { 192.168.125.0/24; # Jonathan Horne's Network (DFW) }; acl "daniel bye" { 69.55.236.116/24; # Daniel Bye's Network (N. England) }; acl "puck.nether.net" { 204.42.254.5; # Chicago Secondary IP; }; //acl "twisted4life.com" { ////202.157.182.142; # Net Secondary IP; //}; acl "ns2.afraid.org" { 174.37.196.55; # FreeDNS Site. }; options { directory "/etc/namedb"; # try again; this must be this, obviously pid-file "/var/run/named/pid"; dump-file "/var/dump/named_dump.db"; statistics-file "/var/stats/named.stats"; listen-on { 10.47.0.230; 127.0.0.1; }; allow-transfer { any;}; }; view "internal" { match-clients { thoughts; dfwlp; }; recursion yes; allow-transfer { any; }; #also-notify { 192.168.125.61; 192.168.125.52; }; zone "." { type hint; file "named.root"; }; zone "0.0.127.IN-ADDR.ARPA" { type master; file "master/localhost.rev"; }; zone "thought.org" { type master; file "master/thought.org.i.hosts"; notify yes; }; zone "0.47.10.in-addr.arpa" { type master; file "/etc/namedb/master/10.47.0.i.rev"; notify yes; }; zone "anacondabuilders.us" { type master; file "/etc/namedb/master/anacondabuilders.us.i.hosts"; notify yes; }; }; view "external" { match-clients { any; }; recursion no; zone "thought.org" { type master; file "/etc/namedb/master/thought.org.e.hosts"; allow-transfer { any;}; notify yes; }; zone "213.180.209.in-addr.arpa" { type master; file "/etc/namedb/master/213.180.209.e.rev"; allow-transfer {any;}; notify yes; }; zone "anacondabuilders.us" { type master; file "/etc/namedb/master/anacondabuilders.us.e.hosts"; allow-transfer { any; }; notify yes; }; }; # Start of rndc.conf {09 july 11} key "rndc-key" { algorithm hmac-md5; secret "oQlBFUkww47vpieGZ68DcA=="; }; ###options { ###default-key "rndc-key"; ###default-server 127.0.0.1; ###default-port 953; ###}; controls { inet 127.0.0.1 port 953 allow { 127.0.0.1; } keys { "rndc-key"; }; }; # End of named.conf From owner-freebsd-questions@FreeBSD.ORG Sat Jul 9 23:54: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 5768A1065672 for ; Sat, 9 Jul 2011 23:54:39 +0000 (UTC) (envelope-from bf1783@googlemail.com) Received: from mail-pv0-f182.google.com (mail-pv0-f182.google.com [74.125.83.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3622A8FC08 for ; Sat, 9 Jul 2011 23:54:38 +0000 (UTC) Received: by pvg11 with SMTP id 11so2424284pvg.13 for ; Sat, 09 Jul 2011 16:54:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:reply-to:date:message-id:subject:from:to:content-type; bh=8qdo+9YtIXxrZB0zxn4r2it04xcX+gEUeBszxBuFqWE=; b=T+r/xYgnmAoqzWBPsZupHq4bkoK76DaHTNpPZMN94QdkDx6wwdmzB1W4Uc8Qel55Ya rVir5czhR8c0WczV8Sgtr358/Q6OWyHZdXYZoQlEg905e4FmT1CcGvPhpPxSxj1yxoZo qns1p4sXo/J0kFmRVmsBo+RSwdrLaBJCqgLWI= MIME-Version: 1.0 Received: by 10.68.6.73 with SMTP id y9mr5248275pby.290.1310255678567; Sat, 09 Jul 2011 16:54:38 -0700 (PDT) Received: by 10.68.64.104 with HTTP; Sat, 9 Jul 2011 16:54:38 -0700 (PDT) Date: Sat, 9 Jul 2011 19:54:38 -0400 Message-ID: From: "b. f." To: "Thomas D. Dean" , freebsd-questions@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: Portupgrade Package Question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: bf1783@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Jul 2011 23:54:39 -0000 Thomas D. Dean wrote: ... > For the most recent try, I have > > ... > # OS_PATCHLEVEL: "" "-p8" > # OS_PLATFORM: "i386" "amd64" > # OS_PKGBRANCH: "7-current" "6.1-release" > OS_RELEASE="8-STABLE" > OS_BRANCH="STABLE" > OS_PKGBRANCH="8-stable" The comments above were not intended as an invitation to try to define these constants here, but merely describe typical values that the constants may have. The constants are computed from parsing your 'uname -rm' output in $LOCALBASE/$RUBY_SITELIBDIR/pkgtools.rb (usually /usr/local/lib/ruby/site_ruby/1.8/pkgtools.rb), so you cannot set them in pkgtools.conf. They were only mentioned so that users would know that they were available for defining other procedures and variables (for an example, see below). > > # Useful predefined functions: > # > # localbase() > # Returns LOCALBASE. > ... > > But, portupgrade still tries to fetch from 8.2-release. If you are running 8.2-RELEASE, and yet wish to obtain "8-stable" packages (which are actually built on recent versions of 8.1-STABLE, with recent versions of the ports tree), then set PKG_SITES appropriately in pkgtools.conf. In this case, I think (untested) that you could substitute sprintf('%s/pub/FreeBSD/ports/%s/packages-%s-stable/', ENV['PACKAGEROOT'] || 'ftp://ftp.FreeBSD.org', OS_PLATFORM, OS_MAJOR) for the default pkg_site_mirror(root) in PKG_SITES. (It might be better to upgrade your base system to 8-STABLE, in which case the defaults will be correct without any need for these changes, and other problems will also be fixed). > > If I want to use binary ports it looks like I need to zap the ports tree > and recreate it with portsnap. This should not be necessary. You should be able to use any method to update the tree (anonymous cvs, csup/cvsup, portsnap, http/ftp, rsync, ctm, etc.). Of course, if your tree and index file do not correspond to the version of the binary packages that you want to use, you will occasionally trip over problems that will require intervention. (Note that in the section of the csup file that you reproduced in an earlier message, 'release-cvs' should be 'release=cvs'.) PKG_SITES will only be used by the ports-mgmt/portupgrade scripts; if you want to use pkg_add(1) manually, and obtain the 8-stable packages, then you should define PACKAGESITE in your environment, or provide a full URL. The ports-mgmt/portupgrade scripts also respect PACKAGESITE, which will override PACKAGEROOT and PKG_SITES in those scripts. b.